Patent ID: 7844664

Claim:
A client device for initiating, as a communication initiating client device, a connection request to a communication recipient client device via a backstage server, and for receiving, as a communication recipient client device, a connection request from a communication initiating client via a backstage server, comprising an initiating module and a recipient module, wherein the initiating module comprises: a first chat window loading unit, adapted to load a chat window and send data entered by a communication initiating user in the chat window to a communication type selection unit; the communication type selection unit, adapted to pack a corresponding protocol type according to the data entered by the communication initiating user in the chat window, generate the connection request, and instruct, when a type of the connection request is long connection, a first long connection unit to open a network port corresponding to the long connection; a communication transmission unit, adapted to send the connection request from the communication type selection unit to the backstage server; and the first long connection unit, adapted to open the network port corresponding to the long connection according to an instruction of the communication type selection unit; wherein the recipient module comprises: a communication receiving unit, adapted to receive the connection request from the backstage server and forward the connection request to a message management unit; the message management unit, adapted to judge whether a type of the connection request from the backstage server is the long connection or short connection, instruct a message prompting unit to prompt a message and instruct, when the type of the connection request is the long connection, a second long connection unit to establish a long connection channel to a communication initiating client; the second long connection unit, adapted to establish the long connection channel to the communication initiating client; the message prompting unit, adapted to prompt the message and instruct a second chat window loading unit to load a chat window; and the second chat window loading unit, adapted to load the chat window on the client.