Qq protocol analysis