CN102238036A - User session backup handover method and system - Google Patents

User session backup handover method and system Download PDF

Info

Publication number
CN102238036A
CN102238036A CN2011101986141A CN201110198614A CN102238036A CN 102238036 A CN102238036 A CN 102238036A CN 2011101986141 A CN2011101986141 A CN 2011101986141A CN 201110198614 A CN201110198614 A CN 201110198614A CN 102238036 A CN102238036 A CN 102238036A
Authority
CN
China
Prior art keywords
server
global session
backup
instant communication
servers
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.)
Pending
Application number
CN2011101986141A
Other languages
Chinese (zh)
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.)
Suzhou Codyy Network Technology Co Ltd
Original Assignee
Suzhou Codyy Network Technology 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 Suzhou Codyy Network Technology Co Ltd filed Critical Suzhou Codyy Network Technology Co Ltd
Priority to CN2011101986141A priority Critical patent/CN102238036A/en
Publication of CN102238036A publication Critical patent/CN102238036A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a user session backup handover method and system. The method comprises the following steps: when detecting that a global session server works abnormally, instant messaging servers store communication data; when detecting that at least one of two backup global session servers is in a normal state, the instant messaging servers send handover commands to the backup global session server; and after receiving the handover commands, the backup global session server sends the handover commands to the instant messaging servers, and the instant messaging servers send the stored communication data to the backup global session server.

Description

A kind of user conversation backup changing method and system
Technical field
The invention belongs to network communication field, relate in particular to a kind of user conversation backup changing method and system.
Background technology
At present, Chang Yong server backup is designed to active and standby design.A backup server promptly is set, when main service is broken down, then switches and use backup server.Yet owing to only design a backup server, when backup server also broke down, whole system will be collapsed.In addition, when master server breaks down, in the time period that backup server switches as yet, can lose a large amount of user profile, be unfavorable for information integrity.
Summary of the invention
The invention provides a kind of user conversation backup changing method and system, to address the above problem.
The invention provides a kind of user conversation backup changing method, may further comprise the steps.When the instant communication server detected the operation irregularity of global session server, instant communication server was preserved communication data.One of them that detects at least two backup global session servers when the instant communication server is when being in normal condition, and instant communication server sends switching command to described backup global session server.After described backup global session server receives switching command, send switching command to instant communication server, instant communication server is sent to described backup global session server with the communication data of preserving.
The present invention also provides a kind of user conversation backup changing method, may further comprise the steps.When one of them of at least two instant communication servers detects the operation irregularity of global session server, at least two instant communication servers are preserved communication data respectively, and at least two instant communication servers are set one of them be the instant messaging management server.One of them that detects at least two backup global session servers when instant communication management server is when being in normal condition, and the instant messaging management server sends switching command to described backup global session server.After described backup global session server receives switching command, send switching command at least two instant communication servers, at least two instant communication servers are sent to described backup global session server with the communication data of preserving.
The invention provides a kind of user conversation backup switched system, comprise instant communication server, global session server and at least two backup global session servers.Instant communication server connects global session server, and global session server connects at least two backup global session servers.Wherein, when the instant communication server detected the operation irregularity of global session server, instant communication server was preserved communication data.One of them that detects at least two backup global session servers when the instant communication server is when being in normal condition, and instant communication server sends switching command to described backup global session server.After described backup global session server receives switching command, send switching command to instant communication server, instant communication server is sent to described backup global session server with the communication data of preserving.
The present invention also provides a kind of user conversation backup switched system, comprises at least two instant communication servers, global session server and at least two backup global session servers.At least two instant communication servers connect global session server respectively, and global session server connects at least two backup global session servers respectively.When one of them of at least two instant communication servers detects the operation irregularity of global session server, at least two instant communication servers are preserved communication data respectively, and at least two instant communication servers are set one of them be the instant messaging management server.One of them that detects at least two backup global session servers when instant communication management server is when being in normal condition, and the instant messaging management server sends switching command to described backup global session server.Described backup global session server sends described switching command at least two instant communication servers after receiving switching command, and at least two instant communication servers are sent to described backup global session server with the communication data of preserving.
Compared to prior art,, be provided with at least two backup global session servers according to user conversation backup changing method provided by the invention and system.So, when global session server breaks down, there are at least two backup global session servers to switch, help improving the stability of a system.In addition, when global session server broke down, instant communication server was preserved communication data, has avoided the loss of data in handoff procedure, helps keeping information integrity.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Figure 1 shows that the flow chart of the user conversation backup changing method that first preferred embodiment according to the present invention provides;
Figure 2 shows that the schematic diagram of the user conversation backup switched system that first preferred embodiment according to the present invention provides;
Figure 3 shows that the flow chart of the user conversation backup changing method that second preferred embodiment according to the present invention provides;
Figure 4 shows that the schematic diagram of the user conversation backup switched system that second preferred embodiment according to the present invention provides.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Figure 1 shows that the flow chart of the user conversation backup changing method that first preferred embodiment according to the present invention provides.Figure 2 shows that the schematic diagram of the user conversation backup switched system that first preferred embodiment according to the present invention provides.As shown in Figure 1, the user conversation backup changing method that provides of first preferred embodiment of the present invention comprises step 101~103.In step 101, when the instant communication server detected the operation irregularity of global session server, instant communication server was preserved communication data.In step 102, one of them that detects at least two backup global session servers when the instant communication server is when being in normal condition, and instant communication server sends switching command to described backup global session server.In step 103, after described backup global session server receives switching command, send switching command to instant communication server, instant communication server is sent to described backup global session server with the communication data of preserving.
As shown in Figure 2, the user conversation backup switched system that provides of preferred embodiment of the present invention comprises instant communication server 10, global session querying server 11, global session server 12 and at least two backup global session server 13a~13c.In present embodiment, the number of backup global session server for example is 3.Yet the present invention is not limited thereto.
In present embodiment, instant communication server 10 connects global session querying server 11 and global session server 12 respectively, global session querying server 11 connects global session server 12, and global session server 12 connects three backup global session server 13a~13c.
In present embodiment, when global session server 12 was in normal condition, the user conversation that global session server 12 backup instant communication servers 10 send was to backing up global session server 13a~13c and global session querying server 11.In other words, the user conversation of preserving in global session querying server 11, global session server 12 and the backup global session server 13a~13c is consistent.In practical application, global session querying server 11 can be the client that connects by instant communication server 10 the user conversation query manipulation is provided.Global session server 12 can be client other user conversation operations (for example, increase, delete and the modification user conversation) is provided.
Describe the process of the user conversation backup changing method that present embodiment provides in detail below in conjunction with Fig. 1 and Fig. 2.
In step 101, when the instant communication server 10 detected the operation irregularity of global session server 12, instant communication server 10 was preserved communication data.In this, for example when the hardware device of global session server 12 broke down, global session server 12 can't respond the user conversation request that instant communication server 10 sends.At this moment, instant communication server 10 can be preserved communication data to local hard drive.For example, when the instant communication server 10 send increase user conversations ask to global session server 12 time, global session server 12 breaks down, at this moment, the data that instant communication server 10 can increase user conversation be saved to local hard drive earlier.
In step 102, one of them that detects backup global session server 13a~13c when the instant communication server 10 (for example, backup global session server 13a) when being in normal condition, instant communication server 10 sends switching command to backup global session server 13a.Particularly, when the operation irregularity of global session server 12, whether instant communication server 10 is in normal condition successively or with machine testing backup global session server 13a~13c.When the instant communication server 10 detected backup global session server 13a and is in normal condition, instant communication server 10 sent switching command to backup global session server 13a.In addition, whether instant communication server 10 detection backup global session server 13a~13c are in the operational example of normal condition as can be: instant communication server 10 transmission exploration orders or test command are to backing up global session server 13a~13c, if instant communication server 10 receives correctly replying of providing of backup global session server, confirm that then described backup global session server is in normal condition.Yet the present invention does not do any qualification to this.
In step 103, after backup global session server 13a receives switching command, send switching command to instant communication server 10, instant communication server 10 is sent to backup global session server 13a with the communication data of preserving.Particularly, after backup global session server 13a received switching command, backup global session server 13a sent switching command to instant communication server 10.After the instant communication server 10 receives switching command, the communication data of preserving is sent to backup global session server 13a.For example, instant communication server 10 request of the increase user conversation of preservation before resends to backup global session server 13a.At this moment, backup global session server 13a has replaced global session server 12, and the user conversation that backup global session server 13a also needs to upgrade backs up to other backup global session server and global session querying server.So, when guaranteeing to back up global session server 13a and breaking down, still can switch to other backup global session server, thereby help keeping information integrity.
Figure 3 shows that the flow chart of the user conversation backup changing method that second preferred embodiment according to the present invention provides.Figure 4 shows that the schematic diagram of the user conversation backup switched system that improves according to second preferred embodiment of the present invention.As shown in Figure 3, the user conversation backup changing method that provides of the present invention's second preferred embodiment comprises step 201~203.In step 201, when one of them of at least two instant communication servers detects the operation irregularity of global session server, at least two instant communication servers are preserved communication data respectively, and at least two instant communication servers are set one of them be the instant messaging management server.In step 202, one of them that detects at least two backup global session servers when instant communication management server is when being in normal condition, and the instant messaging management server sends switching command to described backup global session server.In step 203, after described backup global session server receives switching command, send switching command to described at least two instant communication servers, described at least two instant communication servers are sent to described backup global session server with the communication data of preserving.
As shown in Figure 4, the user conversation backup switched system that provides of present embodiment comprises at least two instant communication server 20a~20c, at least two global session querying server 21a~21c, global session server 22 and at least two backup global session server 23a~23c.In this, the number of instant communication server, global session querying server and backup global session server is three.Yet the present invention does not do any qualification to this.
In present embodiment, global session querying server 21a~21c links to each other with instant communication server 20a~20c is corresponding one by one.Instant communication server 20a~20c connects global session server 22 respectively, and global session server 22 connects backup global session server 23a~23c and global session querying server 21a~21c.
In present embodiment, when global session server 22 was in normal condition, the global session server 22 backup instant communication server user conversations that 20a~20c sends were to backing up global session server 23a~23c and global session querying server 21a~21c.In other words, the user conversation of preserving in global session querying server 21a~21c, global session server 22 and the backup global session server 23a~23c is consistent.In practical application, global session querying server 21a~21c can be respectively the client that connects by instant communication server 20a~20c the user conversation query manipulation is provided.Global session server 22 can be client other user conversation operations (for example, increase, delete and the modification user conversation) is provided.
Describe the process of the user conversation backup changing method that present embodiment provides in detail below in conjunction with Fig. 3 and Fig. 4.
In step 201, when instant communication server 20a~20c one of them (for example, when instant communication server 20b) detecting the operation irregularity of global session server 22, instant communication server 20a~20c preserves communication data respectively, and one of them (for example, instant communication server 20a) that instant communication server is set is the instant messaging management server.In this, for example, when the hardware device of global session server 22 broke down, global session server 22 can't respond the user conversation request that instant communication server 20a~20c sends.At this moment, instant communication server 20a~20c can preserve communication data to local hard drive.For example, when asking of instant communication server 20a and 20b transmission increase user conversation to global session server 22, and instant communication server 20c send to revise user conversation ask to global session server 22 time, global session server breaks down, at this moment, instant communication server 20a and 20b can be saved to local hard drive with the data that increase user conversation respectively, and instant communication server 20c can be saved to local hard drive with the request of revising user conversation.
In step 202, one of them that detects backup global session server 23a~23c when instant communication management server (instant communication server 20a) (for example, backup global session server 23a) when being in normal condition, instant messaging management server (instant communication server 20a) sends switching command to backup global session server 23a.Particularly, when the operation irregularity of global session server 22, whether instant messaging management server (instant communication server 20a) is in normal condition successively or with machine testing backup global session server 23a~23c.When instant communication management server (instant communication server 20a) detected backup global session server 23a and is in normal condition, instant messaging management server (instant communication server 20a) sent switching command to backup global session server 23a.In addition, the step 102 that detects among the same embodiment of operation whether the backup global session server be in normal condition of instant messaging management server is described.So repeat no more in this.
In step 203, after backup global session server 23a receives switching command, send switching command to instant communication server 20a~20c, instant communication server 20a~20c is sent to backup global session server 23a with the communication data of preserving.Particularly, after backup global session server 23a received switching command, backup global session server 23a sent switching command to instant communication server 20a~20c.After instant communication server 20a~20c receives switching command, the communication data of preserving is sent to backup global session server 23a.For example, instant communication server 20a and 20b resend the request of the increase user conversation of preservation before to backup global session server 23a, and the instant communication server 20c request of the modification user conversation of preservation before resends to backing up global session server 23a.At this moment, backup global session server 23a has replaced global session server 22, and the user conversation that backup global session server 23a also needs to upgrade backs up to other backup global session server and global session querying server.So, when guaranteeing to back up global session server 2a and breaking down, still can switch to other backup global session server, thereby help keeping information integrity.
In sum, preferred embodiment provides according to the present invention user conversation backup changing method and system are provided with at least two backup global session servers.So, when global session server breaks down, there are at least two backup global session servers to switch, help improving the stability of a system.In addition, when global session server sent fault, instant communication server was preserved communication data, has avoided the loss of data in handoff procedure, helps keeping information integrity.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. a user conversation backup changing method is characterized in that, may further comprise the steps:
When the instant communication server detected the operation irregularity of global session server, described instant communication server was preserved communication data;
One of them that detects at least two backup global session servers when described instant communication server is when being in normal condition, and described instant communication server sends switching command to described backup global session server;
After described backup global session server receives described switching command, send described switching command to described instant communication server, described instant communication server is sent to described backup global session server with the communication data of preserving.
2. user conversation backup changing method according to claim 1, it is characterized in that, when described global session server was in normal condition, described global session server backed up extremely described at least two backup global session servers of user conversation and the global session querying server that described instant communication server sends.
3. a user conversation backup changing method is characterized in that, may further comprise the steps:
When one of them of at least two instant communication servers detects the operation irregularity of global session server, described at least two instant communication servers are preserved communication data respectively, and described at least two instant communication servers are set one of them be the instant messaging management server;
One of them that detects at least two backup global session servers when described instant messaging management server is when being in normal condition, and described instant messaging management server sends switching command to described backup global session server;
After described backup global session server receives described switching command, send described switching command to described at least two instant communication servers, described at least two instant communication servers are sent to described backup global session server with the communication data of preserving.
4. user conversation backup changing method according to claim 3, it is characterized in that, when described global session server is in normal condition, the user conversation that described at least two instant communication servers of described global session server backup send is to described a plurality of backup global session servers and at least two global session querying servers, described at least two global session querying servers and described at least two instant communication servers connect one to one, and described at least two global session querying servers link to each other with described global session server.
5. a user conversation backs up switched system, it is characterized in that, comprise instant communication server, global session server and at least two backup global session servers, described instant communication server connects described global session server, described global session server connects described at least two backup global session servers
Wherein, when described instant communication server detects the operation irregularity of described global session server, described instant communication server is preserved communication data, one of them that detects described at least two backup global session servers when described instant communication server is when being in normal condition, described instant communication server sends switching command to described backup global session server, after described backup global session server receives described switching command, send described switching command to described instant communication server, described instant communication server is sent to described backup global session server with the communication data of preserving.
6. user conversation backup switched system according to claim 5, it is characterized in that, described user conversation backup switched system also comprises the global session querying server, described global session querying server connects described instant communication server and described global session server, when described global session server was in normal condition, described global session server backed up extremely described at least two backup global session servers of user conversation and the described global session querying server that described instant communication server sends.
7. a user conversation backs up switched system, it is characterized in that, comprise at least two instant communication servers, global session server and at least two backup global session servers, described at least two instant communication servers connect described global session server respectively, described global session server connects described at least two backup global session servers respectively
When one of them of described at least two instant communication servers detects the operation irregularity of described global session server, described at least two instant communication servers are preserved communication data respectively, and described at least two instant communication servers are set one of them be the instant messaging management server
One of them that detects described at least two backup global session servers when described instant messaging management server is when being in normal condition, and described instant messaging management server sends switching command to described backup global session server,
After described backup global session server receives described switching command, send described switching command to described at least two instant communication servers, described at least two instant communication servers are sent to described backup global session server with the communication data of preserving.
8. user conversation backup switched system according to claim 7, it is characterized in that, described user conversation backup switched system also comprises at least two global session querying servers, described at least two global session querying servers and described at least two instant communication servers connect one to one, and described at least two global session querying servers link to each other with described global session server, when described global session server was in normal condition, the user conversation that described at least two instant communication servers of described global session server backup send was to described at least two backup global session servers and described at least two global session querying servers.
CN2011101986141A 2011-07-15 2011-07-15 User session backup handover method and system Pending CN102238036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101986141A CN102238036A (en) 2011-07-15 2011-07-15 User session backup handover method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101986141A CN102238036A (en) 2011-07-15 2011-07-15 User session backup handover method and system

Publications (1)

Publication Number Publication Date
CN102238036A true CN102238036A (en) 2011-11-09

Family

ID=44888282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101986141A Pending CN102238036A (en) 2011-07-15 2011-07-15 User session backup handover method and system

Country Status (1)

Country Link
CN (1) CN102238036A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427431A (en) * 2011-11-22 2012-04-25 苏州阔地网络科技有限公司 Information shielding method and system
CN102510381A (en) * 2011-11-21 2012-06-20 苏州阔地网络科技有限公司 Information shielding method and system adopting same
CN102571747A (en) * 2011-11-24 2012-07-11 苏州阔地网络科技有限公司 Information shielding method and system
CN109743384A (en) * 2018-12-29 2019-05-10 杭州迪普科技股份有限公司 A kind of method and apparatus of test session no-load speed

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262325A (en) * 2008-04-21 2008-09-10 深圳南瑞科技有限公司 Switching device for monitoring dual hosts at translation station
US7437594B1 (en) * 2000-08-11 2008-10-14 America Online, Inc. Server-side session management
CN101667936A (en) * 2008-09-04 2010-03-10 中国移动通信集团公司 Method, device and system for fault treatment of access session control server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7437594B1 (en) * 2000-08-11 2008-10-14 America Online, Inc. Server-side session management
CN101262325A (en) * 2008-04-21 2008-09-10 深圳南瑞科技有限公司 Switching device for monitoring dual hosts at translation station
CN101667936A (en) * 2008-09-04 2010-03-10 中国移动通信集团公司 Method, device and system for fault treatment of access session control server

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510381A (en) * 2011-11-21 2012-06-20 苏州阔地网络科技有限公司 Information shielding method and system adopting same
CN102510381B (en) * 2011-11-21 2014-06-11 苏州阔地网络科技有限公司 Information shielding method and system adopting same
CN102427431A (en) * 2011-11-22 2012-04-25 苏州阔地网络科技有限公司 Information shielding method and system
CN102427431B (en) * 2011-11-22 2014-07-02 苏州阔地网络科技有限公司 Information shielding method and system
CN102571747A (en) * 2011-11-24 2012-07-11 苏州阔地网络科技有限公司 Information shielding method and system
CN102571747B (en) * 2011-11-24 2014-06-11 苏州阔地网络科技有限公司 Information shielding method and system
CN109743384A (en) * 2018-12-29 2019-05-10 杭州迪普科技股份有限公司 A kind of method and apparatus of test session no-load speed
CN109743384B (en) * 2018-12-29 2021-06-29 杭州迪普科技股份有限公司 Method and device for testing session synchronization rate

Similar Documents

Publication Publication Date Title
US11075795B2 (en) Arbitration method, apparatus, and system used in active-active data centers
CN100362482C (en) Dual-machine back-up realizing method and system
CN100433735C (en) Communication system
CN101110776B (en) Backup method, backup device and backup system for data business
US9189348B2 (en) High availability database management system and database management method using same
CN102411639B (en) Multi-copy storage management method and system of metadata
CN102761528A (en) System and method for data management
CN103795553A (en) Switching of main and standby servers on the basis of monitoring
CN102752093B (en) Based on the data processing method of distributed file system, equipment and system
CN105262633A (en) Application-level disaster tolerant method and application-level disaster system
CN104753987B (en) A kind of distributed conversation management method and system
CN104967691A (en) Distributed storage control method and system
CN104424275A (en) Database system and data synchronization method
CN102238036A (en) User session backup handover method and system
CN103281720B (en) The hot standby changing method of wireless controller and device, wireless controller, connecting system
CN108009239A (en) Data bank access method and system
CN102710438A (en) Node management method, device and system
CN105323271B (en) Cloud computing system and processing method and device thereof
CN202143095U (en) User session backup switching system
CN102571311B (en) Master-slave switching communication system and master-slave switching communication method
CN104821889B (en) A kind of processing method and equipment of backup message
CN102780582B (en) Reset method and device for stack topology member device and network device
CN106534758A (en) Conference backup method and conference backup device
CN106817239B (en) site switching method, related device and system
CN114301763A (en) Distributed cluster fault processing method and system, electronic device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20111109