This paper analyzes two existing protocols, points out that they cannot resist off-line dictionary attack.And considering most of protocols cannot meet the personalized requirements, this paper presents a personalized key exchange protocol, users can choose the number of generated session keys according to their own requirements. And through safety analysis, the protocol can resist various common attacks.