CN103516587A - Instant communication client terminal disconnection reconnection method and device - Google Patents

Instant communication client terminal disconnection reconnection method and device Download PDF

Info

Publication number
CN103516587A
CN103516587A CN201210227148.XA CN201210227148A CN103516587A CN 103516587 A CN103516587 A CN 103516587A CN 201210227148 A CN201210227148 A CN 201210227148A CN 103516587 A CN103516587 A CN 103516587A
Authority
CN
China
Prior art keywords
logon
client
server
data
logon server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210227148.XA
Other languages
Chinese (zh)
Other versions
CN103516587B (en
Inventor
刘玎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shenzhou Taiyue Software Co Ltd
Original Assignee
Beijing Shenzhou Taiyue Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Shenzhou Taiyue Software Co Ltd filed Critical Beijing Shenzhou Taiyue Software Co Ltd
Priority to CN201210227148.XA priority Critical patent/CN103516587B/en
Publication of CN103516587A publication Critical patent/CN103516587A/en
Application granted granted Critical
Publication of CN103516587B publication Critical patent/CN103516587B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an instant communication client terminal disconnection reconnection method and device. The log-in speed can be quickened, the user experience is strengthened, and the loads of a database in an IM system are reduced. According to the embodiment, the instant communication client terminal disconnection reconnection method includes the steps of reserving log-in data in an internal storage of a log-in server used when an IM client terminal is disconnected when the IM client terminal is disconnected, reserving log-in data, in an internal storage of a state server, of the IM client terminal, setting the log-in data to be in the unavailable state, receiving a log-in request sent after the IM client terminal is disconnected, obtaining stored data reserved by the log-in server when a system knows that the current log-in state is disconnection reconnection according to the log-in request, setting the log-in data, in the state server, of the IM client terminal to be in an available state, and therefore achieving disconnection reconnection login of the IM client terminal.

Description

The method and apparatus of instant communication client disconnection reconnecting
Technical field
The present invention relates to communication technical field, particularly a kind of method and apparatus of instant communication client disconnection reconnecting.
Background technology
Current Internet era, IM(Instant Messaging, instant messaging) platform is being played the part of a very important role, and login is first link of using IM platform, be the prerequisite that other functions of IM platform represent, in IM link, play the part of a very important role.
In the login link of IM platform, existing login process is: IM client need to send Regl(registration to logon server) request, Regl request comprises the Id(sign of IM client) information etc., logon server returns and carries replying of key 1; And then client can initiate Reg2 request, information after can utilizing above-mentioned key to encryptions such as client Id with user in Reg2 request, after the information of logon server after receiving encryption, be decrypted, then carry out signature verification, be proved to be successful rear notify status server I M client login.State server is from DB(database) extract the various information of this IM client, as user's personal information, friend information etc., then these information are deposited in the buffer memory of state server, and return and reply to logon server, the partial information of logon server during this is replied deposited in the buffer memory of oneself, and to IM client, returns to successfully login and reply.
In IM system, user due to network reason go offline after again the disconnection reconnecting phenomenon of very fast connecting system be more common, such as netting twine is loosening, network switching etc. all can cause the login causing before user, connect unavailablely, need to carry out disconnection reconnecting.Existing scheme, after IM client goes offline, can be released to the Session(session that this client is set up immediately) and various information cache, when IM client reconnects, need to re-execute above-mentioned login process.
At least there is following defect in existing disconnection reconnecting scheme:
During existing IM client disconnection reconnecting, re-execute once complete login process.Because IM client needs repeatedly to carry out alternately with logon server, re-establish session, and the state server in IM system also needs again from database, to read the various information of this IM client, cause login response overlong time, login speed is slow, user experiences poor, and over-burden also to cause in IM system database.
Summary of the invention
The invention provides a kind of method and apparatus of instant communication client disconnection reconnecting, to solve existing disconnection reconnecting scheme, cause client login speed slow, user experiences poor and has increased the weight of the problem of database burden in system.
For achieving the above object, the embodiment of the present invention has adopted following technical scheme:
The embodiment of the present invention provides a kind of method of instant communication client disconnection reconnecting, and described method comprises:
When instant messaging IM client breaks, logon data in the internal memory of the logon server using while retaining described IM client broken string, and, the logon data of IM client described in the internal memory of reserved state server and in state server the logon data of described IM client be set to down state, wherein, described logon data comprises corresponding user data and session data;
Receive the logging request sending after described IM client broken string;
Current while logging on as disconnection reconnecting when knowing according to described logging request, obtain the internal storage data that described logon server retains, and the logon data of the client of IM described in state server is set to upstate, to realize the disconnection reconnecting login of described IM client;
Wherein, in described logging request, comprise indication information, the current disconnection reconnecting that logs on as of described indication information indication is logined.
The embodiment of the present invention also provides a kind of device of instant communication client disconnection reconnecting, and described device comprises:
Logon data stick unit, for when instant messaging IM client breaks, logon data in the internal memory of the logon server using while retaining described IM client broken string, and, the logon data of IM client described in the internal memory of reserved state server and in state server the logon data of described IM client be set to down state, wherein, described logon data comprises corresponding user data and session data;
Login access unit, for receiving the logging request sending after described IM client broken string;
Disconnection reconnecting unit, for current while logging on as disconnection reconnecting when knowing according to described logging request, obtain the internal storage data that described logon server retains, and the logon data of the client of IM described in state server is set to upstate, to realize the disconnection reconnecting login of described IM client;
Wherein, in described logging request, comprise indication information, the current disconnection reconnecting that logs on as of described indication information indication is logined.
The beneficial effect of the embodiment of the present invention is:
The embodiment of the present invention is by when IM client breaks, retain the logon data of IM client in logon server and state server internal memory, and the logon data retaining utilize internal memory when the IM client of broken string is initiated to reconnect in realizes the technological means of disconnection reconnecting login, a kind of novel disconnection reconnecting login scheme that is different from existing login process is provided, the interaction times of IM client and logon server in the time of can reducing disconnection reconnecting login, required various information when quick obtaining is logined to IM client, improved login speed, strengthened user's experience.And, because the present embodiment has adopted the mode of internal memory operation, the speed of data access while not only having improved login, and alleviated the burden of database in IM system.
Accompanying drawing explanation
The method flow diagram of a kind of instant communication client disconnection reconnecting that Fig. 1 provides for the embodiment of the present invention one;
The method flow diagram of a kind of instant communication client disconnection reconnecting that Fig. 2 provides for the embodiment of the present invention two;
The structural representation of the device of a kind of instant communication client disconnection reconnecting that Fig. 3 embodiment of the present invention three provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Referring to Fig. 1, the method for a kind of instant communication client disconnection reconnecting providing for the embodiment of the present invention one, comprising:
11: when instant messaging IM client breaks, logon data in the internal memory of the logon server (being referred to as the first logon server) using while retaining described IM client broken string, and, the logon data of IM client described in the internal memory of reserved state server, and the logon data of described IM client is set to down state in state server, wherein, required data when above-mentioned logon data is IM client login IM platform, this logon data comprises but is not limited to corresponding user data and session data;
12: receive the logging request sending after described IM client broken string;
13: current while logging on as disconnection reconnecting when knowing according to described logging request, obtain the internal storage data that described logon server retains, to realize the disconnection reconnecting login of described IM client;
Wherein, in described logging request, comprise indication information, the current disconnection reconnecting that logs on as of described indication information indication is logined.
Above-mentioned steps 11 to 13 can be realized by the control device with corresponding function being arranged in IM system, and this control device can concentrate on a server and realize, and also can be distributed on a plurality of servers and realize.
The embodiment of the present invention is by when IM client breaks, retain the logon data of IM client in logon server and state server internal memory, and the logon data retaining utilize internal memory when the IM client of broken string is initiated to reconnect in realizes the technological means of disconnection reconnecting login, a kind of novel disconnection reconnecting login scheme that is different from existing login process is provided, the interaction times of IM client and logon server in the time of can reducing disconnection reconnecting login, required various information when quick obtaining is logined to IM client, improved login speed, strengthened user's experience.And, because the present embodiment has adopted the mode of internal memory operation, the speed of data access while not only having improved login, and alleviated the burden of database in IM system.
On basis embodiment illustrated in fig. 1, further, the IP address while also comprising IM client broken string described in the present embodiment in logging request and the sign of IM client.Described indication information is realized by the signaling attribute arranging in logging request packet header.Setting by this indication information makes above-mentioned logging request be different from the logging request in existing login process.IM system can the signaling attribute section in this packet packet header be indicated the type of this packet to used packet, as being Register by the signaling setup of attribute of registration request, be Message etc. by the signaling setup of attribute of short message.Signaling setup of attribute in the logging request packet header that the present embodiment is used disconnection reconnecting is not identical with already present signaling attribute, as is set to Reconnect, thereby the logging request of disconnection reconnecting and the logging request in existing login process are distinguished mutually.
Further, the logon server using during described IM client broken string is the first logon server, when the logon server using while sending logging request after described IM client broken string is the second logon server, in step 13 before obtaining the internal storage data that described logon server retains, described method also comprises: according to described logging request, generate the checking request that comprises the second logon server address, described checking request is sent to state server; After state server is to described checking requests verification success, generate the connection recovery request that comprises the second logon server address, described connection recovery request is sent to the first logon server.Described in step 13, by obtaining the internal storage data that described logon server retains, specifically comprise: the internal storage data retaining according to logon server described in described the second logon server address acquisition.
Further, the above-mentioned internal storage data retaining according to logon server described in described the second logon server address acquisition comprises:
When knowing that according to described the second logon server address the second logon server is with the first logon server when identical, using the logon data of IM client described in the internal memory of described the first logon server directly as described in the internal storage data that gets; When knowing that according to described the second logon server address the second logon server and the first logon server are not identical, the logon data of IM client described in the internal memory of described the first logon server is extracted and write in the internal memory of the second logon server, so that the second logon server gets described internal storage data.
Further, the method of the present embodiment also comprises: after IM client broken string, when memory time of the logon data of IM client described in the internal memory of described the first logon server surpasses the set term of validity, delete the logon data of IM client described in the internal memory of described the first logon server; When memory time of the logon data of IM client described in the internal memory of described state server surpasses the set term of validity, delete the logon data of IM client described in the internal memory of described state server.Above-mentioned state server successfully comprises described checking requests verification: state server confirms that according to the sign of IM client and the IP of IM client in checking request the current interval of logining the moment of the last login of distance constantly of IM client does not exceed the term of validity.The term of validity that retains logon data on above-mentioned logon server is generally identical with the term of validity that retains logon data on above-mentioned state server.On logon server, retain the term of validity of logon data when not identical with the term of validity that retains logon data on above-mentioned state server, after IMS client breaks, logon server and state server can be alternately once, know the term of validity each other, for example, logon server can send message to state server, the term of validity that this logon server is retained to logon data by this message is informed state server, state server returns replys the term of validity of carrying self, state server and logon server all delete according to value less among two terms of validity the logon data retaining.
Further, before the above-mentioned disconnection reconnecting of realizing described IM client is logined, described method also comprises:
Utilize described the first logon server and/or state server to monitor the user data of described IM client; When monitoring described user data variation, upgrade the user data changing on described the first logon server and/or state server;
After step 13, described method also comprises: the user data of the described IM client that occurs on the first logon server and/or state server to upgrade is sent to the second logon server, and the user data that utilizes the second logon server that described generation is upgraded is back to client.This processing is considered, after the second logon server has obtained the user data of IM client from the first logon server, before IM client is not also successfully logined IM platform by the second logon server, there is again variation in the user data of IM client, for example, certain good friend of user is rolled off the production line or has been reached the standard grade, cause the online friend information in user's buddy list that variation has occurred, cause the user data of IM client to change, the second logon server returns to client by the data of these variations that get from the first logon server, so that client obtains user data accurately, improving user experiences.
For the ease of the clear technical scheme of describing the embodiment of the present invention, in inventive embodiment, adopted the printed words such as " first ", " second " to distinguish the essentially identical identical entry of function and efficacy or similar item, it will be appreciated by those skilled in the art that the printed words such as " first ", " second " do not limit quantity and execution order.
The method of a kind of instant communication client disconnection reconnecting that the embodiment of the present invention two provides, comprises following operation:
1:IM client is because network reason breaks.
Due to the broken string that network switches or network flash causes, IM client is the perception of having the ability.At this, to IM client, how perception is because the concrete mode that broken string occurs network failure limits.IM client perceives the automatic login behavior of initiating after broken string and is disconnection reconnecting.
Logon data in the internal memory of the first logon server (as server A) that the present embodiment is used while retaining IM client broken string, this logon data comprises user data and the Session(session of the IM client of storing in the first logon server internal memory) data.And, the logon data of IM client in the internal memory of reserved state server, this logon data comprises user data and the session data of the IM client of storing in state server internal memory.
Further, the present embodiment is also provided with the term of validity (as 5 minutes) by retaining logon data, after IM client broken string, while surpassing the set term of validity memory time of the logon data of IM client described in the internal memory of the first logon server, delete the logon data of IM client described in the internal memory of the first logon server; When in the internal memory of state server, surpass the set term of validity memory time of the logon data of IM client, the logon data of IM client described in the internal memory of deletion state server.This mode is the scene of considering for disconnection reconnecting, after IM client broken string, can again reconnect in a short period of time, when guaranteeing quick disconnection reconnecting, saves memory source.
By upper, the present embodiment is after IM client broken string, and logon server and state server are not removed the logon data of this client in internal memory immediately, but at server end, retain 5 minutes, logon data in delayed release internal memory.The benefit of doing is like this that, in limited period, IM client is probably logined again, if disconnection reconnecting can directly recover the data in internal memory, if secondary login, also can realize by internal memory operation access, checking of data etc., avoid database build-up of pressure.
For an IM client, the user data that the user data that logon server is preserved and state server are preserved is generally not identical, for example, mainly comprises user's personal information in the user data that logon server is preserved, as address name, the pet name, and link information etc.The user data that state server is preserved not only comprises user's personal information, also can comprise user's friend information, state information etc.; And the session data that the session data that logon server is preserved and state server are preserved is generally identical, this session data is for setting up (or recovery) required all data of session.
And the logon data of the present embodiment IM client of broken string in state server is set to down state, as the session of IM client is set to suspended state, thereby makes session data unavailable.
2: the logging request of IM client is sent to the second logon server.
IM client sends logging request to IM system, comprises indication information in logging request, and the current disconnection reconnecting that logs on as of described indication information indication is logined, to distinguish common logging request.IP address while also comprising IM client broken string in described logging request and the sign of IM client.
Concrete, the logging request of IM client is sent to the second logon server according to the principle of load balancing.In IM system, for equally loaded meeting arranges a plurality of logon servers, and according to the principle of load balancing, the logging request of client is sent to one of them logon server by a load equipment.So during login, IM client is first connected to load equipment, is connected to the logon server on backstage by load equipment.Owing to there being many logon servers after load equipment, so that station server connecting when the server that client, when reconnecting, is probably connected to is not last broken string, the second logon server is the server different from the first logon server.Certainly, there is the situation that the second logon server and the first logon server are same server.
3: according to logging request, generate the checking request that comprises the second logon server address, described checking request is sent to state server.
Utilize the second logon server to generate above-mentioned checking request, the IP address in the time of can also comprising IM client broken string in checking request, the sign of IM client.
4: return to connection recovery request.
After state server is to the success of checking requests verification, by state server, generated the connection recovery request that comprises the second logon server address, described connection recovery request is sent to the first logon server.
Further, state server comprises checking requests verification: whether the IM client of sending request according to the sign of IM client in checking request and the judgement of the IP address of IM client is in waiting for the term of validity reconnecting (as 5 minutes), whether this IM client carries out disconnection reconnecting before the deadline, if, be proved to be successful, send and connect recovery request.When authentication failed, end operation, no longer carries out follow-up reconnect procedure.
5: the logon data in the internal memory of the first logon server is transferred in the internal memory of the second logon server.
When instant messaging IM client breaks when knowing that according to described the second logon server address the second logon server is with the first logon server when identical, the logon data that the logon data of IM client described in the internal memory of described the first logon server is used when described IM client disconnection reconnecting is logined the first logon server.
When knowing that according to described the second logon server address the second logon server and the first logon server are not identical, the logon data of IM client described in the internal memory of described the first logon server is extracted and write in the internal memory of the second logon server.
6: to the first logon server, send success response, indication logon data shifts successfully.
The logon data that in 7: the first logon server cleaning internal memories, success is shifted.
Within 8: the first, logon server returns and replys to state server, after state server receives and replys, the logon data of the IM client that can break is set to upstate, thereby the session of IM client recovers upstate from suspended state, and the disconnection reconnecting of IM client logins successfully.
Therefore, in login during disconnection reconnecting that the present embodiment provides, whole process only needs to carry out once alternately between client and server, and the data access between server is all other read-write of internal memory level, efficiency is high, login speed is very fast, the effect of the user that can realize front end to disconnection reconnecting unaware, thus user's experience improved.
The embodiment of the present invention three also provides a kind of device of instant communication client disconnection reconnecting, and referring to Fig. 3, described device comprises:
Logon data stick unit 31, for when instant messaging IM client breaks, logon data in the internal memory of the logon server using while retaining described IM client broken string, and, the logon data of IM client described in the internal memory of reserved state server and in state server the logon data of described IM client be set to down state, wherein, described logon data comprises corresponding user data and session data;
Login access unit 32, for receiving the logging request sending after described IM client broken string;
Disconnection reconnecting unit 33, for current while logging on as disconnection reconnecting when knowing according to described logging request, obtain the internal storage data that described logon server retains, and the logon data of the client of IM described in state server is set to upstate, to realize the disconnection reconnecting login of described IM client;
Wherein, in described logging request, comprise indication information, the current disconnection reconnecting that logs on as of described indication information indication is logined.
IP address while further, also comprising IM client broken string in described logging request and the sign of IM client; Described indication information is realized by the signaling attribute arranging in logging request packet header.
Further, the logon server using during described IM client broken string is the first logon server, and the logon server using while sending logging request after described IM client broken string is the second logon server,
Described disconnection reconnecting unit 33 comprises address acquisition module and internal storage data shift module,
Described address acquisition module, for before obtaining the internal storage data that described logon server retains, generates the checking request that comprises the second logon server address according to described logging request, described checking request is sent to state server; After state server is to described checking requests verification success, generate the connection recovery request that comprises the second logon server address, described connection recovery request is sent to the first logon server.
Described internal storage data shift module, for the internal storage data retaining according to logon server described in described the second logon server address acquisition.
Further, described internal storage data shift module, specifically for when knowing that according to described the second logon server address the second logon server is with the first logon server when identical, using the logon data of IM client described in the internal memory of described the first logon server directly as described in the internal storage data that gets; When knowing that according to described the second logon server address the second logon server and the first logon server are not identical, the logon data of IM client described in the internal memory of described the first logon server is extracted and write in the internal memory of the second logon server, so that the second logon server gets described internal storage data.
The specific works mode of apparatus of the present invention embodiment Zhong Ge unit and module can, referring to embodiment of the method for the present invention, not repeat them here.And said apparatus Zhong unit and module can be integrated in an equipment and realize, and also can be distributed on a plurality of equipment and realize.
From the above mentioned, the embodiment of the present invention is by when IM client breaks, retain the logon data of IM client in logon server and state server internal memory, and the logon data retaining utilize internal memory when the IM client of broken string is initiated to reconnect in realizes the technological means of disconnection reconnecting login, a kind of novel disconnection reconnecting login scheme that is different from existing login process is provided, the interaction times of IM client and logon server in the time of can reducing disconnection reconnecting login, required various information when quick obtaining is logined to IM client, improved login speed, strengthened user's experience.And, because the present embodiment has adopted the mode of internal memory operation, the speed of data access while not only having improved login, and alleviated the burden of database in IM system.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. a method for instant communication client disconnection reconnecting, is characterized in that, described method comprises:
When instant messaging IM client breaks, logon data in the internal memory of the logon server using while retaining described IM client broken string, and, the logon data of IM client described in the internal memory of reserved state server and in state server the logon data of described IM client be set to down state, wherein, described logon data comprises corresponding user data and session data;
Receive the logging request sending after described IM client broken string;
Current while logging on as disconnection reconnecting when knowing according to described logging request, obtain the internal storage data that described logon server retains, and the logon data of the client of IM described in state server is set to upstate, to realize the disconnection reconnecting login of described IM client;
Wherein, in described logging request, comprise indication information, the current disconnection reconnecting that logs on as of described indication information indication is logined.
2. method according to claim 1, is characterized in that,
IP address while also comprising IM client broken string in described logging request and the sign of IM client;
Described indication information is realized by the signaling attribute arranging in logging request packet header.
3. method according to claim 2, is characterized in that, the logon server using during described IM client broken string is the first logon server, and the logon server using while sending logging request after described IM client broken string is the second logon server,
Described obtain the internal storage data that described logon server retains before, described method also comprises:
According to described logging request, generate the checking request that comprises the second logon server address, described checking request is sent to state server; After state server is to described checking requests verification success, generate the connection recovery request that comprises the second logon server address, described connection recovery request is sent to the first logon server;
Describedly obtain the internal storage data that described logon server retains and comprise:
The internal storage data retaining according to logon server described in described the second logon server address acquisition.
4. method according to claim 3, is characterized in that, the described internal storage data retaining according to logon server described in described the second logon server address acquisition comprises:
When knowing that according to described the second logon server address the second logon server is with the first logon server when identical, using the logon data of IM client described in the internal memory of described the first logon server directly as described in the internal storage data that gets;
When knowing that according to described the second logon server address the second logon server and the first logon server are not identical, the logon data of IM client described in the internal memory of described the first logon server is extracted and write in the internal memory of the second logon server, so that the second logon server gets described internal storage data.
5. method according to claim 3, is characterized in that, described method also comprises:
After IM client broken string, when surpass the set term of validity memory time of the logon data of IM client described in the internal memory of described the first logon server, delete the logon data of IM client described in the internal memory of described the first logon server; When memory time of the logon data of IM client described in the internal memory of described state server surpasses the set term of validity, delete the logon data of IM client described in the internal memory of described state server;
Described state server successfully comprises described checking requests verification:
State server does not exceed the term of validity according to the current login of the sign of IM client and the IP Address Confirmation IM client of IM client in the checking request last login of distance constantly interval constantly.
6. according to the method described in claim 1 to 5 any one, it is characterized in that,
Before the disconnection reconnecting login that realizes described IM client, described method also comprises:
Utilize described the first logon server and/or state server to monitor the user data of described IM client;
When monitoring described user data variation, upgrade the user data changing on described the first logon server and/or state server;
After the disconnection reconnecting login that realizes described IM client, described method also comprises:
The user data of the described IM client that occurs on the first logon server and/or state server to upgrade is sent to the second logon server, and the user data that utilizes the second logon server that described generation is upgraded is back to client.
7. a device for instant communication client disconnection reconnecting, is characterized in that, described device comprises:
Logon data stick unit, for when instant messaging IM client breaks, logon data in the internal memory of the logon server using while retaining described IM client broken string, and, the logon data of IM client described in the internal memory of reserved state server and in state server the logon data of described IM client be set to down state, wherein, described logon data comprises corresponding user data and session data;
Login access unit, for receiving the logging request sending after described IM client broken string;
Disconnection reconnecting unit, for current while logging on as disconnection reconnecting when knowing according to described logging request, obtain the internal storage data that described logon server retains, and the logon data of the client of IM described in state server is set to upstate, to realize the disconnection reconnecting login of described IM client;
Wherein, in described logging request, comprise indication information, the current disconnection reconnecting that logs on as of described indication information indication is logined.
8. device according to claim 7, is characterized in that,
IP address while also comprising IM client broken string in described logging request and the sign of IM client;
Described indication information is realized by the signaling attribute arranging in logging request packet header.
9. device according to claim 8, is characterized in that, the logon server using during described IM client broken string is the first logon server, and the logon server using while sending logging request after described IM client broken string is the second logon server,
Described disconnection reconnecting unit comprises address acquisition module and internal storage data shift module,
Described address acquisition module, for described obtain the internal storage data that described logon server retains before, according to described logging request, generate the checking request that comprises the second logon server address, described checking request is sent to state server; After state server is to described checking requests verification success, generate the connection recovery request that comprises the second logon server address, described connection recovery request is sent to the first logon server;
Described internal storage data shift module, for the internal storage data retaining according to logon server described in described the second logon server address acquisition.
10. device according to claim 9, it is characterized in that, described internal storage data shift module, specifically for when knowing that according to described the second logon server address the second logon server is with the first logon server when identical, using the logon data of IM client described in the internal memory of described the first logon server directly as described in the internal storage data that gets; When knowing that according to described the second logon server address the second logon server and the first logon server are not identical, the logon data of IM client described in the internal memory of described the first logon server is extracted and write in the internal memory of the second logon server, so that the second logon server gets described internal storage data.
CN201210227148.XA 2012-06-30 2012-06-30 Instant communication client terminal disconnection reconnection method and device Active CN103516587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210227148.XA CN103516587B (en) 2012-06-30 2012-06-30 Instant communication client terminal disconnection reconnection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210227148.XA CN103516587B (en) 2012-06-30 2012-06-30 Instant communication client terminal disconnection reconnection method and device

Publications (2)

Publication Number Publication Date
CN103516587A true CN103516587A (en) 2014-01-15
CN103516587B CN103516587B (en) 2017-02-15

Family

ID=49898659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210227148.XA Active CN103516587B (en) 2012-06-30 2012-06-30 Instant communication client terminal disconnection reconnection method and device

Country Status (1)

Country Link
CN (1) CN103516587B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580537A (en) * 2015-02-06 2015-04-29 深圳中兴网信科技有限公司 Rapid reconnecting method based on XMPP (extensible messaging and presence protocol) client side, terminal and server
CN105635116A (en) * 2015-12-18 2016-06-01 网易(杭州)网络有限公司 Reconnection methods, apparatuses and system in case of disconnection
CN105740693A (en) * 2016-03-28 2016-07-06 中国建设银行股份有限公司 System login method and device
CN107659492A (en) * 2017-10-31 2018-02-02 珠海信达九州科技有限公司 A kind of high reliability instant communicating system
CN107670275A (en) * 2017-10-26 2018-02-09 广州市雷军游乐设备有限公司 The method and system of game process disconnection reconnecting
CN111245939A (en) * 2020-01-10 2020-06-05 中国建设银行股份有限公司 Data synchronization method, device and system
CN112330845A (en) * 2019-07-19 2021-02-05 珠海汇金科技股份有限公司 Processing method, device and equipment for accessing same equipment
CN114257632A (en) * 2021-12-21 2022-03-29 建信金融科技有限责任公司 Disconnection reconnection method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1261231A1 (en) * 2001-05-21 2002-11-27 Nec Corporation Network connection recovery method and system
US6725290B1 (en) * 2000-11-08 2004-04-20 Enfora, Inc. Persistent modem connection
CN101150541A (en) * 2007-11-07 2008-03-26 北京亿企通信息技术有限公司 A login method in instant communication tool
CN101163113A (en) * 2006-10-12 2008-04-16 阿里巴巴公司 Disconnection reconnecting system and method of instant communication
CN101605108A (en) * 2009-07-15 2009-12-16 阿里巴巴集团控股有限公司 A kind of method, system and device of instant messaging

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6725290B1 (en) * 2000-11-08 2004-04-20 Enfora, Inc. Persistent modem connection
EP1261231A1 (en) * 2001-05-21 2002-11-27 Nec Corporation Network connection recovery method and system
CN101163113A (en) * 2006-10-12 2008-04-16 阿里巴巴公司 Disconnection reconnecting system and method of instant communication
CN101150541A (en) * 2007-11-07 2008-03-26 北京亿企通信息技术有限公司 A login method in instant communication tool
CN101605108A (en) * 2009-07-15 2009-12-16 阿里巴巴集团控股有限公司 A kind of method, system and device of instant messaging

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580537A (en) * 2015-02-06 2015-04-29 深圳中兴网信科技有限公司 Rapid reconnecting method based on XMPP (extensible messaging and presence protocol) client side, terminal and server
CN105635116A (en) * 2015-12-18 2016-06-01 网易(杭州)网络有限公司 Reconnection methods, apparatuses and system in case of disconnection
CN105635116B (en) * 2015-12-18 2019-02-12 网易(杭州)网络有限公司 Disconnection reconnecting method, apparatus and system
CN105740693A (en) * 2016-03-28 2016-07-06 中国建设银行股份有限公司 System login method and device
CN105740693B (en) * 2016-03-28 2019-01-01 中国建设银行股份有限公司 A kind of system login method and device
CN107670275B (en) * 2017-10-26 2020-10-13 广州市雷军游乐设备有限公司 Method and system for disconnection and reconnection of game process
CN107670275A (en) * 2017-10-26 2018-02-09 广州市雷军游乐设备有限公司 The method and system of game process disconnection reconnecting
CN107659492A (en) * 2017-10-31 2018-02-02 珠海信达九州科技有限公司 A kind of high reliability instant communicating system
CN112330845A (en) * 2019-07-19 2021-02-05 珠海汇金科技股份有限公司 Processing method, device and equipment for accessing same equipment
CN111245939A (en) * 2020-01-10 2020-06-05 中国建设银行股份有限公司 Data synchronization method, device and system
CN111245939B (en) * 2020-01-10 2022-07-29 中国建设银行股份有限公司 Data synchronization method, device and system
CN114257632A (en) * 2021-12-21 2022-03-29 建信金融科技有限责任公司 Disconnection reconnection method and device, electronic equipment and readable storage medium
CN114257632B (en) * 2021-12-21 2023-06-02 建信金融科技有限责任公司 Method and device for reconnecting broken wire, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN103516587B (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN103516587A (en) Instant communication client terminal disconnection reconnection method and device
EP2448206B1 (en) Method, system and device for transmitting video data
CN101163113B (en) Disconnection reconnecting system and method of instant communication
JP5693576B2 (en) Managing instant messaging sessions
CN102082733B (en) Portal system and access method thereof
CN101094237B (en) Method for sharing load among net elements in IP multimedia sub system
CN104125141B (en) A kind of method for pushing of notification message, server and system
CN102111419B (en) Message middleware-based client automatic reconnection method
CN103200214B (en) Deferred information focuses on method and system
CN105120005A (en) Game server hot-update method, servers and system
CN111431790B (en) Instant messaging method, device, system and storage medium
CN109391691A (en) The restoration methods and relevant apparatus that NAS is serviced under a kind of single node failure
CN103685357A (en) Account multi-open message processing method and system
CN103685398B (en) Communication connection method for building up and communication system
CN1980232A (en) Telnet session maitenance method, telnet proxy and computer network system
CN103428070B (en) instant group communication method, session management server and client
CN108881200B (en) TCP-based method and system for simultaneously online multiple terminals
CN104243473B (en) A kind of method and device of data transmission
CN109936539B (en) Account information transmission method
CN111756826B (en) Lock information transmission method of DLM and related device
CN111385324A (en) Data communication method, device, equipment and storage medium
CN107733979A (en) Data push method, server and system
JP4718605B2 (en) Message management method and system
CN110890989A (en) Channel connection method and device
CN105391623A (en) Temporary offline session message reservation method, apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 818, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080

Patentee after: BEIJING ULTRAPOWER SOFTWARE Co.,Ltd.

Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building 6 storey block A Room 601

Patentee before: BEIJING ULTRAPOWER SOFTWARE Co.,Ltd.