CN101051883B - Service switching method and system after main voice server fault restoring - Google Patents

Service switching method and system after main voice server fault restoring Download PDF

Info

Publication number
CN101051883B
CN101051883B CN2007100973398A CN200710097339A CN101051883B CN 101051883 B CN101051883 B CN 101051883B CN 2007100973398 A CN2007100973398 A CN 2007100973398A CN 200710097339 A CN200710097339 A CN 200710097339A CN 101051883 B CN101051883 B CN 101051883B
Authority
CN
China
Prior art keywords
voice server
voip
main
message
standby
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.)
Expired - Fee Related
Application number
CN2007100973398A
Other languages
Chinese (zh)
Other versions
CN101051883A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2007100973398A priority Critical patent/CN101051883B/en
Publication of CN101051883A publication Critical patent/CN101051883A/en
Application granted granted Critical
Publication of CN101051883B publication Critical patent/CN101051883B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The switching method includes steps: the standby voice server (SVS) detects whether fault of the main voice server (MVS) is recovered; if yes, through triggered message of IP voice (VoIP) protocol, SVS sends information of fault recovery of MVS to voice terminal; voice terminal switches the service to MVS. The invention also discloses a method for synchronizing data between voice servers, which includes steps: through synchronization message in VoIP protocol, first voice server sends self-data needed to synchronize to second voice server; second voice server carries out synchronization for self saved data. Since VoIP protocol is intrinsic protocol for voice server and voice terminal, thus, in the invention, voice server and voice terminal does not need to support other protocol additionally so as to raise versatility of device, increase flexibility to implement service, and enhance capability for constructing network.

Description

Business switch method behind a kind of main voice server fault restoring and system
Technical field
The present invention relates to the network communications technology, particularly relate to business switch method and system behind a kind of main voice server fault restoring.
Background technology
Ip voice (VoIP) technology is a kind of technology with block exchange mode transmitting audio data in IP network.In voip technology, break down and cause service disruption in order to prevent a voice server, adopted the method for voice server backup to provide service to voice terminal.Fig. 1 utilizes the voice server backup mode that the schematic diagram of service is provided in the prior art.Fig. 2 is a flow chart of realizing the voice server backup in the prior art.Referring to Fig. 1 and Fig. 2, in the prior art, realize that the process of voice server backup may further comprise the steps:
Step 201: main voice server and the standby voice server of supporting proprietary protocol are set.
Step 202: the integrated database of difference on main voice server and standby voice server.
Step 203: main voice server and standby voice server utilize database integrated in self, synchronously the work state information of main voice server and corresponding to the information of voice terminal.
In this step 203, main voice server and standby voice server utilize the synchronization mechanism between the database to realize data sync, this process can be recorded in self integrated database with self working state information with corresponding to the various information of voice terminal for: main voice server, data base manipulation publication-the subscribing mechanism that standby voice server is integrated, subscribe to the database that main voice server is integrated, the work state information that the integrated data base manipulation publishing way of main voice server writes main voice server and corresponding to the various information of voice terminal send to standby voice server integrated database, standby voice server obtains the work state information of main voice server and corresponding to the various information of voice terminal from its integrated database, thereby has finished the data sync between main voice server and the standby voice server.
In addition, for the backup group that main voice server and standby voice server are formed can carry out the mutual of speech data with the third party's voice server in other zones, prior art is an integrated database on this third party's voice server also, third party's voice server is by the synchronization mechanism between the database in its data storehouse and the main voice server, whether the operating state of determining main voice server is normal, thereby determine message is sent to the main voice server of operate as normal, replace the standby voice server of main voice server work when still sending to the main voice server fault.
Step 204: voice terminal detects the main voice server fault, and business is switched to standby voice server.
Step 205: behind main voice server fault restoring, standby voice server is determined main voice server fault restoring according to the work state information of its data storehouse synchronous main voice server from the database of main voice server.
Step 206: the message informing voice terminal main voice server of the proprietary protocol that standby voice server utilization sets in advance has recovered normal.
Step 207: voice terminal switches to business on the main voice server.
Above-mentioned steps 205 to the process prescription of step 207 business switch method of prior art behind main voice server fault restoring; The process prescription of step 202 and step 203 method of data synchronization between the voice server in the prior art.
By the business switch method behind the main voice server fault restoring in the prior art as can be seen, in the prior art, behind main voice server fault restoring, standby voice server utilizes proprietary protocol that main voice server is recovered normal information and is notified to voice terminal, thereby makes voice terminal business can be switched back main voice server.This kind is by the way of proprietary protocol notice voice terminal, require voice server and voice terminal must support proprietary protocol, that is to say, the voice server of the most general support VoIP agreement and voice terminal can't be realized the business switching behind the main voice server fault restoring, therefore, greatly reduce the versatility of equipment, limited the flexibility of business realizing, reduced networking capability.
And, by the method for data synchronization between the voice server in the prior art as can be seen, in the prior art, between the different phonetic server, as main voice server and standby voice server or third party's voice server and main voice server, utilize the synchronization mechanism between the database to realize data synchronization.And this kind utilizes the way of database synchronization, require on the voice server database must integrator used, that is to say, the voice server of the most general support VoIP agreement can't be realized data sync, therefore, greatly reduce the versatility of equipment, limited the flexibility of business realizing, reduced networking capability.
Summary of the invention
In view of this, first purpose of the present invention is to provide the business switch method behind a kind of main voice server fault restoring, second purpose of the present invention is to provide a kind of in method for synchronizing data between voice servers, the 3rd purpose of the present invention is to provide a kind of professional system of switching behind the main voice server fault restoring that realizes, the 4th purpose of the present invention is to provide a kind of standby voice server, the 5th purpose of the present invention is to provide a kind of voice server, so that improve the versatility of equipment.
In order to achieve the above object, technical scheme of the present invention is achieved in that
Business switch method behind a kind of main voice server fault restoring, this method comprises:
Whether standby voice server detects the fault of main voice server and recovers, if, standby voice server triggers message by ip voice VoIP agreement the information of main voice server fault restoring is sent to voice terminal, and the information of described main voice server fault restoring comprises the title and/or the address information of main voice server required when voice terminal is connected to main voice server; Voice terminal switches to main voice server with business;
Third party's voice server sends the VoIP login request message to main voice server, if main voice server is normal, then main voice server returns the VoIP response message that succeeds in registration, third party's voice server judges whether to receive VoIP that main voice server the returns response message that succeeds in registration, if, determine that then main voice server is normal, and main voice server is set to main voice server and standby voice server and forms efficient voice server in the backup group, otherwise, determine the main voice server fault, and to standby voice server transmission VoIP login request message, standby voice server returns the VoIP response message that succeeds in registration, third party's voice server receives VoIP that standby voice server the returns response message that succeeds in registration, and standby voice server is set to the efficient voice server in the described backup group; When the destination address of the voip call request that receives when third party's voice server was the address of described backup group, third party's voice server was sent to efficient voice server current in the described backup group with this voip call request.
The step whether fault that described standby voice server detects main voice server is recovered comprises:
After the main voice server fault, the work state information of integrated in advance database integrated in advance database synchronization main voice server from main voice server in the standby voice server, whether the work state information of the main voice server that standby voice server detection its data storehouse is synchronized to is normal, if then determine main voice server fault restoring;
Perhaps,
After the main voice server fault, standby voice server sends the VoIP login request message to main voice server, judge whether to receive VoIP that main voice server the returns response message that succeeds in registration, if then determine main voice server fault restoring.
This method further comprises: after the main voice server fault, voice terminal sends VoIP agreement probe message to standby voice server;
Described VoIP agreement triggers message: at the refusal response message of described VoIP agreement probe message.
Described VoIP agreement probe message is the VoIP login request message; Described refusal response message at VoIP agreement probe message is a VoIP registration reject response message.
This method further comprises: main voice server will need data in synchronization to be sent to standby voice server by VoIP protocol synchronization message in self; Standby voice server carries out the data of self preserving according to the VoIP protocol synchronization message that receives synchronously.
The described data in synchronization that needs comprises: in the main voice server corresponding to the information of voice terminal.
Described main voice server is after receiving the VoIP agreement request message that standby voice server sends, and carrying out describedly will need data in synchronization to be sent to the step of standby voice server by VoIP protocol synchronization message in self;
Perhaps,
After the voice terminal configuration information of described main voice server in self changed, carrying out describedly will be in self needs data in synchronization to be sent to the step of standby voice server by VoIP protocol synchronization message.
Described VoIP agreement request message is the VoIP login request message, and described VoIP protocol synchronization message is the VoIP response message that succeeds in registration.
A kind ofly realize the professional system of switching behind the main voice server fault restoring, this system comprises: main voice server, standby voice server, voice terminal and third party's voice server, wherein,
Standby voice server, whether the fault that is used to detect main voice server is recovered, if, trigger message by the VoIP agreement information of main voice server fault restoring is sent to voice terminal, the information of described main voice server fault restoring comprises the title and/or the address information of main voice server required when voice terminal is connected to main voice server; Also be used to receive the VoIP login request message that third party's voice server sends, and return the VoIP response message that succeeds in registration to this third party's voice server;
Voice terminal after receiving VoIP agreement triggering message, switches to main voice server with business;
Main use server, be used to receive the VoIP login request message of third party's voice server transmission, and return the VoIP response message that succeeds in registration to this third party's voice server;
Third party's voice server, be used for sending the VoIP login request message to main voice server, judge whether to receive VoIP that main voice server the returns response message that succeeds in registration, if, determine that then main voice server is normal, and main voice server is set to main voice server and standby voice server and forms efficient voice server in the backup group, otherwise, determine the main voice server fault, and to standby voice server transmission VoIP login request message, receive VoIP that standby voice server the returns response message that succeeds in registration, standby voice server is set to the efficient voice server in the described backup group; Also be used for when the destination address of the voip call request of receiving is the address of described backup group, this voip call request being sent to efficient voice server current in the described backup group.
Described standby voice server is further after the main voice server fault, the VoIP login request message is sent to main voice server, after the VoIP that receives the main voice server answer succeeded in registration response message, the fault that detects main voice server was recovered.
Described main voice server further will need data in synchronization to be sent to standby voice server by VoIP protocol synchronization message in self;
Described standby voice server carries out the data of self preserving further according to the VoIP protocol synchronization message that receives synchronously.
Described main voice server comprises: synchrodata processing unit and Transmit-Receive Unit, wherein,
Transmit-Receive Unit, the VoIP agreement request message that is used for standby voice server is sent is sent to the synchrodata processing unit, and the VoIP protocol synchronization message of carrying the need synchrodata that the synchrodata processing unit is sent is sent to described standby voice server;
The synchrodata processing unit is used for receiving VoIP agreement request message or after the configuration information corresponding to voice terminal changes, generating and carry the VoIP protocol synchronization message that needs synchrodata this VoIP protocol synchronization message being sent to Transmit-Receive Unit.
This shows, in the present invention, in the service switch process behind main voice server fault restoring, standby voice server is to utilize the information notice voice terminal of the message of VoIP agreement with main voice server fault restoring, rather than the proprietary protocol message of utilizing of prior art is notified, because the VoIP agreement is the intrinsic agreement of voice server and voice terminal, therefore, voice server among the present invention and voice terminal need not other agreements of extra support, thereby improved the versatility of equipment, increase the flexibility of business realizing, improved networking capability.
And, in the present invention, when between voice server, carrying out synchrodata, voice server can utilize the message of VoIP agreement to finish various data synchronization, rather than utilize newly-increased database to realize in the prior art, because the VoIP agreement is the intrinsic agreement of voice server and voice terminal, therefore, voice server among the present invention and voice terminal need not extra configuration database, thereby improved the versatility of equipment, increase the flexibility of business realizing, improved networking capability.Simultaneously, owing to need not configuration database, therefore, greatly reduce the cost of voice server.
Description of drawings
Fig. 1 utilizes the voice server backup mode that the schematic diagram of service is provided in the prior art.
Fig. 2 is a flow chart of realizing the voice server backup in the prior art.
Fig. 3 realizes the professional flow chart that switches behind the main voice server fault restoring in embodiments of the present invention.
Fig. 4 is a structural representation of realizing the professional system of switching in embodiments of the present invention behind the main voice server fault restoring.
Fig. 5 is the structural representation of standby voice server in the present invention.
Fig. 6 is a structural representation of realizing a kind of voice server of synchrodata in the present invention.
Fig. 7 is a structural representation of realizing the another kind of voice server of synchrodata in the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with drawings and the specific embodiments.
Analyze as can be known at the equipment characteristic of general voice server and voice terminal, in voip technology, all voice servers and voice terminal are all supported the VoIP agreement, therefore, if can utilize the intrinsic VoIP agreement of voice server and voice terminal to realize that business behind the main voice server fault restoring switches and realize data sync between the voice server, then can reduce requirement greatly, improve the versatility of voice server and voice terminal voice server and voice terminal.
At These characteristics, at first, the present invention proposes the business switch method behind a kind of main voice server fault restoring, this method comprises: whether standby voice server detects the fault of main voice server and recovers, if standby voice server triggers message by the VoIP agreement information of main voice server fault restoring is sent to voice terminal; Voice terminal switches to main voice server with business.
In the business switch method behind the main voice server fault restoring that the present invention proposes, voice terminal can be further after the main voice server fault, VoIP agreement probe message is sent to standby voice server, like this, the VoIP agreement triggering message that standby voice server sent then can be the refusal response message at described VoIP agreement probe message.
Fig. 3 realizes the professional flow chart that switches behind the main voice server fault restoring in embodiments of the present invention.Referring to Fig. 3, in a specific embodiment of the present invention, realize that behind main voice server fault restoring the professional process of switching specifically may further comprise the steps:
Step 301: voice terminal detects the main voice server fault, and business is switched to standby voice server.
Step 302: standby voice server detects the main voice server fault.
Here, standby voice server can detect the main voice server fault by following dual mode:
Mode 10, utilize that database synchronization mechanism detects in the prior art.
In this mode 10, same as the prior art, an all integrated database on main voice server and the standby voice server, the data-base recording main voice server current working state information in the main voice server.Like this, after the main voice server fault, database in the main voice server then can be updated to fault with the work state information of record, after this, the work state information of the database synchronization main voice server of the database in the standby voice server from main voice server, the work state information that standby voice server detects the main voice server that its data storehouse is synchronized to is a fault, then can determine the main voice server fault.
Mode 20, utilize the VoIP protocol message to detect.
This mode 20 is for realizing the preferred mode of this step.In this mode 20, all need not integrated data base in main voice server and the standby voice server, but make standby voice server obtain to comprise the various information of main voice server work state information by mutual VoIP agreement request message and VoIP protocol responses message.Concrete process can periodically send the VoIP login request message to main voice server for: standby voice server, if main voice server is in malfunction, then can not return the VoIP response message that succeeds in registration to standby voice server; Like this, standby voice server then can judge whether to receive VoIP that main voice server the returns response message that succeeds in registration after sending the VoIP login request message, if not, then determine the main voice server fault.
Step 303: after voice terminal is determined the main voice server fault, periodically send VoIP agreement probe message to standby voice server.
Step 304: after the main voice server fault, whether standby voice server detects the fault of main voice server and recovers, if then execution in step 306, otherwise, return step 305.
Here, whether standby voice server can recover by the fault that following dual mode detects main voice server:
Mode one, utilize that database synchronization mechanism detects in the prior art.
In this mode one, same as the prior art, an all integrated database on main voice server and the standby voice server, the data-base recording main voice server current working state information in the main voice server.Like this, behind main voice server fault restoring, database in the main voice server then can be updated to the work state information of record normally, after this, the work state information of the database synchronization main voice server of the database in the standby voice server from main voice server, whether the work state information of the main voice server that standby voice server detection its data storehouse is synchronized to is normal, if then determine main voice server fault restoring.
Mode two, utilize the VoIP protocol message to detect.
This mode two is for realizing the preferred mode of this step.In this mode two, all need not integrated data base in main voice server and the standby voice server, but obtain the various information that comprise the main voice server work state information by the VoIP protocol message.Concrete process is: after the main voice server fault, standby voice server periodically sends the VoIP login request message to main voice server, if main voice server fault restoring is in normal condition, then return the VoIP response message that succeeds in registration to standby voice server; Like this, standby voice server then can judge whether to receive VoIP that main voice server the returns response message that succeeds in registration after sending the VoIP login request message, if, then determine main voice server fault restoring, otherwise, determine that the main voice server fault do not recover.
Step 305: standby voice server will be sent to voice terminal at the success response message of VoIP agreement probe message, return execution in step 304.
When carrying out this step, because main voice server is fault still, therefore, standby voice server can be sent to voice terminal with the success response message at VoIP agreement probe message, thereby make voice terminal by this success response message determine current for its service still for standby voice server, and definite main voice server still is in fault.
Step 306: standby voice server is by at the refusal response message of VoIP agreement probe message, and the information of main voice server fault restoring is sent to voice terminal.
When carrying out this step, because main voice server fault restoring, therefore, standby voice server can be sent to voice terminal with the refusal response message at VoIP agreement probe message, thereby make voice terminal determine currently to change main voice server and definite main voice server fault restoring into for its service by this refusal response message.
In this step, the title and/or the address information that can comprise main voice server required when voice terminal is connected to main voice server in the information of described main voice server fault restoring, such as, the IP address of main voice server, port information and server name GK-id.
Step 307: voice terminal switches to main voice server with business.
Voice terminal is identical with the process that business switches to main voice server in the specific implementation of this step and the prior art, that is, voice terminal is registered to main voice server, after succeeding in registration, carries out follow-up service interaction with main voice server.
Need to prove, there is no the sequencing in the fixing execution between above-mentioned steps 301 and the step 302 and between step 303 and the step 304.
In above-mentioned steps 302 and step 304, preferably, can not utilize database synchronization mechanism of the prior art to detect the operating state of main voice server between standby voice server and the main voice server, but, detect the operating state of main voice server by mutual VoIP login request message and the VoIP response message that succeeds in registration.In like manner, in the present invention, third party's voice server that need carry out information interaction with the backup group that standby voice server and main voice server are formed also can not utilize database synchronization mechanism of the prior art to detect effective voice server in the described backup group, and utilize VoIP login request message and the VoIP response message that succeeds in registration to detect, the specific implementation process comprises:
Third party's voice server sends the VoIP login request message to main voice server, if main voice server is normal, then main voice server returns the VoIP response message that succeeds in registration, third party's voice server judges whether to receive VoIP that main voice server the returns response message that succeeds in registration, if, determine that then main voice server is normal, and main voice server is set to main voice server and standby voice server and forms efficient voice server in the backup group, otherwise, determine the main voice server fault, and to standby voice server transmission VoIP login request message, standby voice server returns the VoIP response message that succeeds in registration, third party's voice server receives VoIP that standby voice server the returns response message that succeeds in registration, and standby voice server is set to the efficient voice server in the described backup group; When the destination address of the voip call request that receives when third party's voice server was the address of described backup group, third party's voice server was sent to efficient voice server current in the described backup group with this voip call request.
Correspondingly, the present invention proposes service switchover system behind a kind of main voice server fault restoring.Referring to Fig. 4, this system comprises: main voice server, standby voice server and voice terminal, wherein,
Standby voice server, whether the fault that is used to detect main voice server is recovered, if trigger message by the VoIP agreement information of main voice server fault restoring is sent to voice terminal;
Voice terminal is used for after receiving VoIP agreement triggering message business being switched to main voice server.
In system shown in Figure 4, described standby voice server is further after the main voice server fault, the VoIP login request message is sent to main voice server, succeed in registration behind the response message receiving VoIP that main voice server sends, the fault that detects main voice server is recovered.
Correspondingly, the present invention proposes a kind of standby voice server.Referring to Fig. 5, this standby voice server comprises: state detection unit, VoIP message constructing unit and Transmit-Receive Unit, wherein,
State detection unit, whether the fault that is used to detect main voice server is recovered, if then trigger notice is sent to VoIP message constructing unit;
VoIP message constructing unit, receive trigger notice after, the VoIP agreement that structure carries main voice server fault restoring information triggers message, this VoIP agreement is triggered message be sent to Transmit-Receive Unit;
Transmit-Receive Unit, the VoIP agreement that is used for the main voice server fault restoring information of carrying that will receive triggers message and is sent to voice terminal.
In standby voice server shown in Figure 5, described VoIP message constructing unit is further constructed the VoIP login request message, and is sent to Transmit-Receive Unit;
Transmit-Receive Unit further is sent to main voice server with the VoIP login request message, and the VoIP that main voice server the is sent response message that succeeds in registration is sent to state detection unit;
State detection unit succeeds in registration behind the response message receiving VoIP that Transmit-Receive Unit sends, and the fault that detects main voice server is recovered.
In addition, the invention allows for a kind of method for synchronizing data between voice servers, this method comprises: main voice server will need data in synchronization to be sent to standby voice server by VoIP protocol synchronization message in self; Standby voice server carries out the data of self preserving according to the VoIP protocol synchronization message that receives synchronously.
In the method for synchronizing data between voice servers that the present invention proposes, the need synchrodata that main voice server sends can comprise: in the main voice server corresponding to the information of voice terminal.
And, in the method for synchronizing data between voice servers that the present invention proposes, standby voice server can further be sent to main voice server with VoIP agreement request message, like this, main voice server is after receiving VoIP agreement request message, and carrying out the above-mentioned VoIP protocol synchronization message of passing through will need synchrodata to be sent to the processing of standby voice server in self; Perhaps, main voice server also can be after the configuration information of voice terminal changes in self, and carrying out the above-mentioned VoIP protocol synchronization message of passing through will need synchrodata to be sent to the processing of standby voice server in self.
Correspondingly, in order to realize the process of synchronizing data between voice servers of the present invention, the invention allows for a kind of voice server.Referring to Fig. 6, this voice server comprises: VoIP message constructing unit, data synchronisation unit and Transmit-Receive Unit, wherein,
VoIP message constructing unit is used to construct VoIP agreement request message, and this VoIP agreement request message is sent to Transmit-Receive Unit;
Transmit-Receive Unit is used for VoIP agreement request message is sent to other voice servers, receives the VoIP protocol synchronization message of carrying the need synchrodata that other voice servers are sent, and this VoIP protocol synchronization message is sent to data synchronisation unit;
Data synchronisation unit is used for the data of carrying according to VoIP protocol synchronization message, and the data of preserving are carried out synchronously.
For voice server shown in Figure 6, this voice server is asked the data of preserving in synchronous recipient's voice server by VoIP agreement request message.Particularly, voice server shown in Figure 6 can be standby voice server.
Correspondingly, in order to realize the process of synchronizing data between voice servers of the present invention, the invention allows for a kind of voice server.Referring to Fig. 7, this voice server comprises: synchrodata processing unit and Transmit-Receive Unit, wherein,
Transmit-Receive Unit, the VoIP agreement request message that is used for other voice servers are sent is sent to the synchrodata processing unit, and the VoIP protocol synchronization message of carrying the need synchrodata that the synchrodata processing unit is sent is sent to described other voice servers;
The synchrodata processing unit is used for receiving VoIP agreement request message or after the configuration information corresponding to voice terminal changes, generating and carry the VoIP protocol synchronization message that needs synchrodata this VoIP protocol synchronization message being sent to Transmit-Receive Unit.
For voice server shown in Figure 7, this voice server sends to other servers by VoIP protocol synchronization message with the need data in synchronization.Particularly, voice server shown in Figure 7 can be a main voice server.
Need to prove, behind the main voice server fault restoring that the present invention proposes, realize in the professional process of switching shown in Figure 3, voice terminal sends to the VoIP agreement probe message of standby voice server, can be that any one can trigger the VoIP message that standby voice server is replied response message, such as the server-capabilities query messages that can be VoIP login request message or VoIP agreement.When VoIP agreement probe message was the VoIP login request message, the success response message of described VoIP agreement probe message was the VoIP response message that succeeds in registration, and the refusal response message of described VoIP agreement probe message is a VoIP registration reject response message.
In the method for synchronizing data between voice servers that the invention described above proposes, VoIP agreement request message can be that any one can trigger the VoIP message that the recipient replys response message, such as the server-capabilities query messages that can be VoIP login request message or VoIP agreement; Correspondingly, VoIP protocol synchronization message is the response message to VoIP agreement request message.Such as, when VoIP agreement request message was the VoIP login request message, described VoIP protocol synchronization message was the VoIP response message that succeeds in registration.
Particularly, the VoIP login request message among the present invention can be exemplified as: the REGISTER message of session initiation protocol (SIP) or H.323 the RSIP message or the SVC_CHG_REQ message of agreement H.248 of the rrq message of agreement or MGCP agreement.At this moment, the Dui Ying VoIP response message that succeeds in registration is respectively: 200OK message, RCF message, carry the information of succeeding in registration RSIP_RSP message, carry the SVC_CHG_REPLY message of the information of succeeding in registration.And corresponding VoIP registration reject response message is respectively: 3XX message, RRJ message, carry registration reject information RSIP_RSP message, carry the SVC_CHG_REPLY message of registration reject information.
Also need to prove, realize the professional scheme of switching and the scheme of synchronizing data between voice servers behind the main voice server fault restoring that the present invention proposes, can in the main voice server of realizing VoIP and standby voice server, use simultaneously.Promptly, standby voice server can utilize realizes that the professional scheme of switching notifies the voice terminal main voice server fault restoring behind the main voice server fault restoring that the present invention proposes, simultaneously, the standby voice server method for synchronizing data between voice servers and the main voice server that can also utilize the present invention to propose carries out data synchronization.
In the present invention, voice terminal can be the terminal that any one realization can realize VoIP, such as, can be gateway or IP phone.
In a word, the above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.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 (12)

1. the business switch method behind the main voice server fault restoring is characterized in that this method comprises:
Whether standby voice server detects the fault of main voice server and recovers, if, standby voice server triggers message by ip voice VoIP agreement the information of main voice server fault restoring is sent to voice terminal, and the information of described main voice server fault restoring comprises the title and/or the address information of main voice server required when voice terminal is connected to main voice server; Voice terminal switches to main voice server with business;
Third party's voice server sends the VoIP login request message to main voice server, if main voice server is normal, then main voice server returns the VoIP response message that succeeds in registration, third party's voice server judges whether to receive VoIP that main voice server the returns response message that succeeds in registration, if, determine that then main voice server is normal, and main voice server is set to main voice server and standby voice server and forms efficient voice server in the backup group, otherwise, determine the main voice server fault, and to standby voice server transmission VoIP login request message, standby voice server returns the VoIP response message that succeeds in registration, third party's voice server receives VoIP that standby voice server the returns response message that succeeds in registration, and standby voice server is set to the efficient voice server in the described backup group; When the destination address of the voip call request that receives when third party's voice server was the address of described backup group, third party's voice server was sent to efficient voice server current in the described backup group with this voip call request.
2. method according to claim 1 is characterized in that, the step whether fault that described standby voice server detects main voice server is recovered comprises:
After the main voice server fault, the work state information of integrated in advance database integrated in advance database synchronization main voice server from main voice server in the standby voice server, whether the work state information of the main voice server that standby voice server detection its data storehouse is synchronized to is normal, if then determine main voice server fault restoring;
Perhaps,
After the main voice server fault, standby voice server sends the VoIP login request message to main voice server, judge whether to receive VoIP that main voice server the returns response message that succeeds in registration, if then determine main voice server fault restoring.
3. method according to claim 1 is characterized in that, this method further comprises: after the main voice server fault, voice terminal sends VoIP agreement probe message to standby voice server;
Described VoIP agreement triggers message: at the refusal response message of described VoIP agreement probe message.
4. method according to claim 3 is characterized in that, described VoIP agreement probe message is the VoIP login request message; Described refusal response message at VoIP agreement probe message is a VoIP registration reject response message.
5. according to any described method in the claim 1 to 4, it is characterized in that this method further comprises: main voice server will need data in synchronization to be sent to standby voice server by VoIP protocol synchronization message in self; Standby voice server carries out the data of self preserving according to the VoIP protocol synchronization message that receives synchronously.
6. method according to claim 5 is characterized in that, the described data in synchronization that needs comprises: in the main voice server corresponding to the information of voice terminal.
7. method according to claim 5, it is characterized in that, described main voice server is after receiving the VoIP agreement request message that standby voice server sends, and carrying out describedly will need data in synchronization to be sent to the step of standby voice server by VoIP protocol synchronization message in self;
Perhaps,
After the voice terminal configuration information of described main voice server in self changed, carrying out describedly will be in self needs data in synchronization to be sent to the step of standby voice server by VoIP protocol synchronization message.
8. method according to claim 7 is characterized in that, described VoIP agreement request message is the VoIP login request message, and described VoIP protocol synchronization message is the VoIP response message that succeeds in registration.
9. realize the professional system of switching behind the main voice server fault restoring for one kind, it is characterized in that this system comprises: main voice server, standby voice server, voice terminal and third party's voice server, wherein,
Standby voice server, whether the fault that is used to detect main voice server is recovered, if, trigger message by the VoIP agreement information of main voice server fault restoring is sent to voice terminal, the information of described main voice server fault restoring comprises the title and/or the address information of main voice server required when voice terminal is connected to main voice server; Also be used to receive the VoIP login request message that third party's voice server sends, and return the VoIP response message that succeeds in registration to this third party's voice server;
Voice terminal after receiving VoIP agreement triggering message, switches to main voice server with business;
Main use server, be used to receive the VoIP login request message of third party's voice server transmission, and return the VoIP response message that succeeds in registration to this third party's voice server;
Third party's voice server, be used for sending the VoIP login request message to main voice server, judge whether to receive VoIP that main voice server the returns response message that succeeds in registration, if, determine that then main voice server is normal, and main voice server is set to main voice server and standby voice server and forms efficient voice server in the backup group, otherwise, determine the main voice server fault, and to standby voice server transmission VoIP login request message, receive VoIP that standby voice server the returns response message that succeeds in registration, standby voice server is set to the efficient voice server in the described backup group; Also be used for when the destination address of the voip call request of receiving is the address of described backup group, this voip call request being sent to efficient voice server current in the described backup group.
10. system according to claim 9, it is characterized in that, described standby voice server is further after the main voice server fault, the VoIP login request message is sent to main voice server, after the VoIP that receives the main voice server answer succeeded in registration response message, the fault that detects main voice server was recovered.
11. system according to claim 9 is characterized in that, described main voice server further will need data in synchronization to be sent to standby voice server by VoIP protocol synchronization message in self;
Described standby voice server carries out the data of self preserving further according to the VoIP protocol synchronization message that receives synchronously.
12. system according to claim 11 is characterized in that, described main voice server comprises: synchrodata processing unit and Transmit-Receive Unit, wherein,
Transmit-Receive Unit, the VoIP agreement request message that is used for standby voice server is sent is sent to the synchrodata processing unit, and the VoIP protocol synchronization message of carrying the need synchrodata that the synchrodata processing unit is sent is sent to described standby voice server;
The synchrodata processing unit is used for receiving VoIP agreement request message or after the configuration information corresponding to voice terminal changes, generating and carry the VoIP protocol synchronization message that needs synchrodata this VoIP protocol synchronization message being sent to Transmit-Receive Unit.
CN2007100973398A 2007-05-11 2007-05-11 Service switching method and system after main voice server fault restoring Expired - Fee Related CN101051883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100973398A CN101051883B (en) 2007-05-11 2007-05-11 Service switching method and system after main voice server fault restoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100973398A CN101051883B (en) 2007-05-11 2007-05-11 Service switching method and system after main voice server fault restoring

Publications (2)

Publication Number Publication Date
CN101051883A CN101051883A (en) 2007-10-10
CN101051883B true CN101051883B (en) 2011-04-20

Family

ID=38783100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100973398A Expired - Fee Related CN101051883B (en) 2007-05-11 2007-05-11 Service switching method and system after main voice server fault restoring

Country Status (1)

Country Link
CN (1) CN101051883B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262528B (en) * 2008-02-03 2011-01-05 中兴通讯股份有限公司 A multi-gateway backup method for voice access of network call
CN101668193A (en) * 2008-09-02 2010-03-10 华为技术有限公司 Play switching method and system
CN101640611B (en) * 2009-08-26 2012-05-30 烽火通信科技股份有限公司 Method for synchronous and real-time reversion for VOIP voice service primary and standby modules
CN102111459B (en) * 2009-12-28 2013-11-06 中兴通讯股份有限公司 Call maintenance method and device in active/standby switching of IP voice equipment
CN102083134B (en) * 2011-02-15 2014-07-09 华为技术有限公司 Service processing method and device as well as wireless network controller
CN102523203B (en) * 2011-12-02 2014-07-09 华为技术有限公司 Method, device and system for voice call
CN104065500A (en) * 2013-03-21 2014-09-24 苏州方位通讯科技有限公司 Register server hot backup method realized by SIP terminal
CN103236947A (en) * 2013-04-23 2013-08-07 厦门亿联网络技术股份有限公司 Method for switching main server and standby of VOIP (voice over Internet phone)
CN106559235A (en) * 2015-09-28 2017-04-05 西安艾润物联网技术服务有限责任公司 The switching method and apparatus of embedded server running status
CN109905550A (en) * 2019-03-01 2019-06-18 上海市共进通信技术有限公司 The method for realizing the adaptive handoff functionality of VOIP server
CN110502368B (en) * 2019-08-14 2022-07-26 出门问问(武汉)信息科技有限公司 Dialogue fault tolerance method, central control equipment, system and readable storage medium
CN113114777B (en) * 2021-04-22 2022-07-01 善理通益信息科技(深圳)有限公司 Disaster recovery method and device for multi-node high-availability cluster
CN115604234B (en) * 2022-11-15 2023-03-10 深圳市华曦达科技股份有限公司 VoIP server self-adaptive switching method, system and storage medium
CN117424680B (en) * 2023-12-19 2024-03-15 深圳鼎信通达股份有限公司 Dual-computer hot standby switching circuit, control method and system thereof and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1897561A (en) * 2005-07-12 2007-01-17 中兴通讯股份有限公司 Method for protecting VOIP digital signal processing channel

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1897561A (en) * 2005-07-12 2007-01-17 中兴通讯股份有限公司 Method for protecting VOIP digital signal processing channel

Also Published As

Publication number Publication date
CN101051883A (en) 2007-10-10

Similar Documents

Publication Publication Date Title
CN101051883B (en) Service switching method and system after main voice server fault restoring
CN101035068B (en) Method of providing session mobility
CN103139529B (en) Video call switching method between sip server, video call device
US20100267390A1 (en) Fault-tolerant, multi-network detour router system for text messages, data, and voice
CN101068378B (en) Method, system and equipment for realizing multimedia information service system disaster recovery
CN101766011A (en) Centralized call log for synchronized call protocol information
CN101543117A (en) Handoff of dual mode mobile device between an IP network and a PLMN
CN101667936A (en) Method, device and system for fault treatment of access session control server
CN113727464B (en) Method and device for establishing high concurrent call of SIP streaming media server
CN103138984B (en) Disaster tolerance refunds the method and system of service call session control function entity
CN102255747A (en) Method and system for processing calling service
CN102223248B (en) Calling service processing method and calling service processing system
CN101702712B (en) Detection technology and voice call backup linkage method and device thereof
CN101163029B (en) Multi-point control cell main-slave rearranging method and equipment
CN103891255B (en) Method for sip agent failover
CN101159536B (en) Media gateway node condition synchronizing method in dual-home network
CN101459533B (en) System and method for improved application server disaster tolerance in next generation network
CN101217293B (en) Media operation trusteeship switching system and method
CN101447890B (en) Improved application server disaster tolerance system of next generation network and method thereof
CN100438448C (en) Method and device for implementing network call after network failure
US7664493B1 (en) Redundancy mechanisms in a push-to-talk realtime cellular network
CN101192214B (en) Processing method for EMS memory data-base content variation real time notification task
CN102571310B (en) The disaster recovery method of Voice Mail Service and device
CN115314924A (en) UPF pool intelligent balance system and implementation method
JP5214368B2 (en) Communication monitoring system and communication monitoring method

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
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou science and Technology Industrial Park, high tech Industrial Development Zone, Zhejiang Province, No. six and road, No. 310

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110420

CF01 Termination of patent right due to non-payment of annual fee