CN110233761B - Redundancy switching method and system based on relay server - Google Patents
Redundancy switching method and system based on relay server Download PDFInfo
- Publication number
- CN110233761B CN110233761B CN201910506379.6A CN201910506379A CN110233761B CN 110233761 B CN110233761 B CN 110233761B CN 201910506379 A CN201910506379 A CN 201910506379A CN 110233761 B CN110233761 B CN 110233761B
- Authority
- CN
- China
- Prior art keywords
- server
- service
- information
- state
- network
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/22—Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1013—Network architectures, gateways, control or user entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1101—Session protocols
- H04L65/1104—Session initiation protocol [SIP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Environmental & Geological Engineering (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a redundancy switching method and a redundancy switching system based on a relay server, which are used for the main-standby switching among a plurality of servers. The system is used for realizing the method. The method provided by the invention can ensure that the calling and the calling services of the enterprise can be recovered in a short time so as to meet the requirements of the enterprise on the stability and the reliability of communication.
Description
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of sip relay service, in particular to a redundancy switching method based on a relay server and a system applied to the method.
[ background of the invention ]
With the enterprise access to the operator NGN (Next Generation Network), IMS (IP Multimedia Subsystem) networks are becoming popular. The converged communication of an enterprise needs to access an operator network through a sip (Session Initiation Protocol), and since the converged communication system is different from the operator network, the converged communication system generally communicates with the operator network through an sip relay gateway.
Currently, an operator IMS or an NGN network generally serves as a sip server, some sip accounts are allocated to an access user, and a sip relay server of an access system serves as a client to register the allocated accounts with the operator network. An operator network generally supports simultaneous registration of only one client, and old registered nodes are deleted when new clients are registered. Therefore, only one sip relay server can be provided for accessing the system, a call from an operator to an enterprise can be called in the enterprise's sip system only through the unique sip relay server, and the enterprise can also be called out only through the unique sip relay server when calling the operator network.
Under the condition, when the unique sip relay server is down or the server is abnormally disconnected with the network channel of the operator, the incoming and outgoing services of the enterprise are stopped, so that the normal services of the enterprise are greatly influenced, and even huge economic loss is caused.
[ summary of the invention ]
The invention mainly aims to provide a redundancy switching method based on a relay server, which can realize automatic switching of relay services after a sip relay server is down or a network between the sip relay server and an operator is disconnected.
Another object of the present invention is to provide a redundant switching system based on relay servers, which can automatically switch the relay services after the sip relay servers are down or the network between the sip relay servers and the operator is disconnected.
In order to achieve the above main object, the present invention provides a redundancy switching method based on a relay server, which is used for active/standby switching among a plurality of servers, and the method includes periodically detecting a network state of an operator server; after the network state is determined to be normal, judging whether the priority of the server A is the highest priority; if yes, the server A inquires the sip relay service to the cache server and judges whether the information of the service provider exists or not, and if yes, the server A enters a service detection state; if the judgment result is negative, the server A enters a service providing state and provides the sip relay service, wherein the server B is continuously in a service detection state during the period that the server A is in the service providing state.
The further scheme is that after the server A and the server B are determined to be started, the relay server information of the server A and the server B is loaded, wherein the information comprises the priority of the server, the address and the sip account information which are related to the operator system, and the relay service information which is related to the converged communication system.
If the priority of the server A is not the highest priority, the server A enters a service detection state and judges whether the priority of the server B is the highest priority, if so, the server B inquires the cache server about the sip relay service and judges whether the information of a service provider exists, and if not, the server B enters a service providing state and provides the sip relay service.
In the service detection state, periodically inquiring the cache server for the sip relay service and judging whether the service provider information exists; and/or periodically detecting whether the network states between the server A, the server B and the operator server are normal or not in the service state detection.
Further, after entering the service providing state, setting the effective time of the service provider information, and periodically updating the effective time of the service provider information in the cache server; and/or after entering the service providing state, periodically detecting whether the network state between the server A and the operator server is normal, if not, deleting the information of the service provider in the cache server, stopping periodically updating the effective time of the information of the service provider in the cache server, and judging whether the server B meets the condition of entering the service providing state.
Therefore, the redundancy switching method provided by the invention has the advantages that a plurality of sip relay servers are deployed, each server detects the network state between the server and the operator network in real time, when one sip relay server is abnormal or the network connected with the operator is interrupted, the sip relay service can be switched to other redundancy sip relay servers, the redundancy sip relay servers register sip account numbers with the operator network, the calling and calling services of enterprises can be ensured to be recovered in a short time, and the requirements of the enterprises on the stability and reliability of communication are met.
Therefore, the method can quickly switch the sip relay service to the sip relay server with the next highest priority under the condition that the sip relay server with the high priority is down or the network between the sip relay server and the operator is disconnected, and can recover the outgoing call and the incoming call of the enterprise in a short time.
In order to achieve another object, the present invention further provides a redundant switching system based on a relay server, for active/standby switching between a plurality of servers, the system including a network detection module, configured to periodically detect a network state of an operator server; the first judgment module is used for judging whether the priority of the server A is the highest priority or not after the network state is determined to be normal; the second judgment module is used for judging whether the information of the service provider exists or not after the server A inquires the sip relay service from the cache server, and if so, the server A enters a service detection state; and the service providing module is used for providing the sip relay service after the server A enters the service providing state, wherein the server B is continuously in the service detecting state during the period that the server A is in the service providing state.
The further scheme is that after the server A and the server B are determined to be started, the relay server information of the server A and the server B is loaded, wherein the information comprises the priority of the server, the address and the sip account information which are related to the operator system, and the relay service information which is related to the converged communication system.
If the priority of the server A is not the highest priority, the server A enters a service detection state and judges whether the priority of the server B is the highest priority, if so, the server B inquires the cache server about the sip relay service and judges whether the information of a service provider exists, and if not, the server B enters a service providing state and provides the sip relay service.
The system also comprises a detection service module which is used for periodically inquiring the cache server for the sip relay service and judging whether the service provider information exists or not in the detection service state; and/or in detecting the service state, periodically detecting whether the network state between the server A, the server B and the operator server is normal.
Further, after entering the service providing state, setting the effective time of the service provider information, and periodically updating the effective time of the service provider information in the cache server; and/or after entering the service providing state, periodically detecting whether the network state between the server A and the operator server is normal, if not, deleting the information of the service provider in the cache server, stopping periodically updating the effective time of the information of the service provider in the cache server, and judging whether the server B meets the condition of entering the service providing state.
Therefore, the redundancy switching system provided by the invention can be used for detecting the network state between the redundancy switching system and the operator network in real time by deploying a plurality of sip relay servers, when one sip relay server is abnormal or the network connected with the operator is interrupted, the sip relay service can be switched to other redundancy sip relay servers, the redundancy sip relay servers register sip account numbers with the operator network, and the calling and calling services of enterprises can be ensured to be recovered in a short time, so that the requirements of the enterprises on the stability and reliability of communication can be met.
Therefore, the method can quickly switch the sip relay service to the sip relay server with the next highest priority under the condition that the sip relay server with the high priority is down or the network between the sip relay server and the operator is disconnected, and can recover the outgoing call and the incoming call of the enterprise in a short time.
[ description of the drawings ]
Fig. 1 is a flowchart diagram of an embodiment of a redundancy switching method based on a relay server according to the present invention.
Fig. 2 is a schematic block diagram of an interactive system in an embodiment of a redundancy switching method based on a relay server according to the present invention.
Fig. 3 is a schematic block diagram of an embodiment of a relay server based redundancy switching system according to the present invention.
[ detailed description ] embodiments
The embodiment of a redundancy switching method based on a relay server comprises the following steps:
referring to fig. 1, the redundancy switching method based on relay servers of the present embodiment is used for primary/standby switching between a plurality of servers, such as a server a and a server B, when performing redundancy switching between a plurality of sip relay servers, first, step S1 is executed to periodically detect the network status of an operator server. After determining that the server A and the server B are started, loading relay server information of the server A and the server B, wherein the information comprises the priority of the server, address and sip account information related to interaction with an operator system, and relay service information related to interaction with a converged communication system. Wherein, the operator server is an operator sip server.
After determining that the network status is normal, step S2 is executed to determine whether the priority of server a is the highest priority. If the priority of the server a is the highest priority, step S3 is executed, and the server a queries the cache server for the sip relay service.
Then, step S4 is executed, and it is determined whether or not there is information of the service provider. If the information of the service provider exists, step S5 is executed, and the server a enters a detection service state. In the detection of the service state, step S7 is further executed to determine whether information of the service provider exists, and server a periodically queries the cache server for the sip relay service and determines whether information of the service provider exists; and/or, in the process of detecting the service state, the step S8 is further executed to determine whether the network state is normal, and periodically detect whether the network state between the server a, the server B and the operator server is normal.
If there is no service provider information, step S6 is executed, and the server a enters the service providing state and provides the sip relay service. Wherein, the server B is continuously in the detection service state during the period that the server A is in the service providing state.
In the above step S3, if it is determined that the priority of the server a is not the highest priority, the server a enters the service detection state and determines whether the priority of the server B is the highest priority, if so, the server B queries the cache server for the sip relay service and determines whether information of the service provider exists, and if not, the server B enters the service provision state and provides the sip relay service.
In the above step S7, after entering the service providing state, the validity time of the service provider information is set, and the validity time of the service provider information in the cache server is periodically updated; and/or after entering the service providing state, periodically detecting whether the network state between the server A and the operator server is normal, if not, deleting the information of the service provider in the cache server, stopping periodically updating the effective time of the information of the service provider in the cache server, and judging whether the server B meets the condition of entering the service providing state.
In this embodiment, the server a and the server B are both sip relay servers. In the specific application, the sip relay server is started and then loads the relay service information, and then the sip relay server enters a network detection state, and in the network detection state, the sip relay server starts to periodically detect whether the network state between the sip relay server and the operator server is normal or not. Of course, the above detection methods include, but are not limited to, options method detection using the sip protocol.
In the network detection state, when the sip relay server detects that the network with the operator server is normal, whether the priority of the server is the highest is checked, such as the server a described above, and if the priority of the sip relay server is the highest, the cache server is inquired whether the sip relay service already has information of the service provider. If the service provider information does not exist, writing the information of the sip relay server into the cache server, wherein the information is the service provider information, indicating that the sip relay server provides the sip relay service currently, setting the effective time of the service provider information, and then changing the state of the sip relay server into a service providing state; if the information of the service provider exists in the cache server, the sip relay server enters a detection service state.
In the network detection state, when the network is detected to be normal, if the priority of the sip relay server is not the highest, the state of the sip relay server is changed into a detection service state.
In the network detection state, when the network abnormality of the sip relay server and the operator server is detected, no processing is performed.
And after entering the service providing state, the sip relay server starts to register the sip account number with the operator sip server, and after the sip account number is successfully registered, the sip relay server registers the sip relay service with the fusion communication sip server. Then, the sip relay service module can process the sip call request from the operator and the converged communication sip server, and enters a normal working state.
In the service-providing state, the sip relay service needs to do two things periodically: firstly, periodically updating the effective time of the service provider information to indicate that the current server works normally; second, whether the network with the operator server is normal is detected. If the server is normal, the server is not processed, if the server is abnormal, the information of the service provider in the cache server is deleted, which indicates that the current server can not normally provide the sip relay service, and the periodic updating of the effective time of the service provider in the cache server is stopped, and the state of the server is changed into a network detection state.
In detecting the service state, the sip relay server needs to do two things periodically: firstly, the sip relay server can periodically inquire whether the service provider information exists in the cache server, and if so, no processing is carried out; if the service provider does not exist, the previous service provider is down or the network is disconnected with the operator server, and the service cannot be continuously provided, at the moment, the information of the sip relay server is written into the cache server, namely the information of the server is taken as the service provider information, which indicates that the sip relay service is currently provided by the server, and the service providing state is entered; secondly, whether the network between the server and the operator is normal is detected, if the network is normal, no processing is carried out, if the network is not normal, whether the service provider information exists in the cache server or not is stopped to be inquired periodically, and the state of the sip relay server is changed into a network detection state.
In the service state detection, the period value of whether the service provider information exists in the cache server is inquired to be related to the priority of the sip relay server, the period is shorter as the priority is higher, and the service is ensured to be provided by the server with the higher priority as much as possible.
In this embodiment, the present invention mainly comprises two parts, namely a plurality of redundant sip relay servers and a service status cache server, and the system interacting with the sip relay servers comprises an operator system and a converged communication system, and the interaction protocol is an sip protocol. The sip relay server is used for realizing communication service between the converged communication sip server and the operator sip server; the cache server is a server for storing the information of the provider of the sip relay service, can store the information of the provider of the sip relay service, and can also detect whether the information of the provider of the sip relay service is overtime, if the information of the provider of the sip relay service is overtime, the information of the provider of the sip relay service is indicated to be down, and the information of the service provider is deleted.
The invention sets different service priorities for a plurality of sip relay servers providing sip relay service, and the sip relay server with high priority provides the sip relay service preferentially.
Specifically, referring to fig. 2, the present embodiment further provides an interactive system, where the system includes a converged communication sip server, a cache server, a sip relay server, and an operator sip server, where the converged communication sip server is vos service module 1, the cache server is a redis server 2, the sip relay server is a sink service module, and the docked operator sip server is an IMS system 3 of an operator.
In this embodiment, the sink service module deploys two servers, server a and server B, respectively, and generates different host IDs for the two hosts, which are denoted by hostld _1 and hostld _2 hereinafter. The two servers are connected to the IMS system 3 through different network channels.
In practical application, a user creates a relay service interfacing with an IMS network, named as 'SIPT _ IMS', configures the IMS to address information such as an allocated IMS account, a server domain name, an Outbound and the like, and a sink server providing services for the SIPT _ IMS is a server A and a server B, wherein the priority of the server A is the highest, and the priority of the server B is lower.
And after the server A and the server B are started, loading configuration information of the SIPT _ IMS, and respectively detecting whether the network connection between the server A and the IMS system 3 is normal by using options information of the sip protocol. Under normal conditions, if the priority of the server a is the highest, it will be queried whether provider information of the SIPT _ IMS exists in the redis server 2 (data key in the redis server 2 is set to trunGroupProvider: SIPT _ IMS), and the result is null at this time. The server A writes the host ID of the server into the redis server 2 (as a result, the value of the TrunkGroupProvider: SIPT _ IMS in the redis server 2 is hostId _1), after the writing is successful, the TrunkGroupProvider: the timeout time of the SIPT _ IMS is set, and the server A enters a service providing state; and the server B enters a detection service state due to low priority.
After entering the service providing state, the server a registers an account number to the IMS system 3, and after the registration is successful, the server a registers the SIPT _ IMS service to the vos service module 1. After the above work is completed, the mobile cooperative office platform (such as a mobile banking system) may initiate an sip call to the IMS system 3 through the server a, and the IMS system 3 may also initiate an sip call to the mobile cooperative office platform through the server a. In the service providing state, the server A can periodically update the key to the TrunkGroupProvider, namely the timeout time of the SIPT _ IMS; periodically send options information of the sip protocol to the IMS system 3 to check whether the network is normal.
After entering the service detection state, the server B periodically queries whether data with key of trunk group provider: SIPT _ IMS exists in the redis server 2, and then periodically sends options information of the sip protocol to the IMS system to check whether the network is normal.
If the server A goes down at a certain time, the server A cannot update the timeout time of the TronkGroupProvider (SIPT _ IMS) in the redis server 2, and the Redis server deletes the TronkGroupProvider (SIPT _ IMS) after the timeout.
Then, when the server B periodically checks whether there is the trunggroupprovider: SIPT _ IMS data in the redis server 2, if it is found that there is no data, the server B writes the host ID of the server into the redis server 2 (as a result, the value of the trunggroupprovider: SIPT _ IMS in the redis server is hostId _2), sets the timeout time of the trunggroupprovider: SIPT _ IMS after the writing is successful, and the server B enters the service providing state.
After entering the service providing state, the server B registers an account number to the IMS system 3, and after the registration is successful, the server B registers the SIPT _ IMS service to the vos service module 1.
Therefore, the redundancy switching method provided by the invention has the advantages that a plurality of sip relay servers are deployed, each server detects the network state between the server and the operator network in real time, when one sip relay server is abnormal or the network connected with the operator is interrupted, the sip relay service can be switched to other redundancy sip relay servers, the redundancy sip relay servers register sip account numbers with the operator network, the calling and calling services of enterprises can be ensured to be recovered in a short time, and the requirements of the enterprises on the stability and reliability of communication are met.
Therefore, the method can quickly switch the sip relay service to the sip relay server with the next highest priority under the condition that the sip relay server with the high priority is down or the network between the sip relay server and the operator is disconnected, and can recover the outgoing call and the incoming call of the enterprise in a short time.
The embodiment of the redundancy switching system based on the relay server comprises the following steps:
as shown in fig. 3, the present invention further provides a redundant switching system based on a relay server, which is used for active/standby switching between a plurality of servers, and the system includes a network detection module 10, a first determination module 20, a second determination module 30, and a service providing module 40.
The network detection module 10 is used for periodically detecting the network status of the operator server.
The first judging module 20 is configured to judge whether the priority of the server a is the highest priority after determining that the network status is normal.
The second determination module 30 is configured to determine whether there is information about a service provider after the server a queries the cache server for the sip relay service, and if so, the server a enters the service detection state.
The service providing module 40 is configured to provide the sip relay service after the server a enters the service providing state, wherein the server B is continuously in the detection service state during the period when the server a is in the service providing state.
Further, after determining that the server A and the server B are started, loading relay server information of the server A and the server B, wherein the information comprises the priority of the server, the address and the sip account information related to interaction with an operator system, and relay service information related to interaction with a converged communication system.
Further, if the priority of the server A is determined not to be the highest priority, the server A enters a service detection state and judges whether the priority of the server B is the highest priority, if so, the server B inquires the cache server about the sip relay service and judges whether the information of a service provider exists, and if not, the server B enters a service providing state and provides the sip relay service.
Further, the system also comprises a detection service module which is used for periodically inquiring the cache server about the sip relay service and judging whether the service provider information exists or not in the detection service state; and/or in detecting the service state, periodically detecting whether the network state between the server A, the server B and the operator server is normal.
Further, after entering the service providing state, setting the effective time of the service provider information, and periodically updating the effective time of the service provider information in the cache server; and/or after entering the service providing state, periodically detecting whether the network state between the server A and the operator server is normal, if not, deleting the information of the service provider in the cache server, stopping periodically updating the effective time of the information of the service provider in the cache server, and judging whether the server B meets the condition of entering the service providing state.
Therefore, the redundancy switching system provided by the invention can be used for detecting the network state between the redundancy switching system and the operator network in real time by deploying a plurality of sip relay servers, when one sip relay server is abnormal or the network connected with the operator is interrupted, the sip relay service can be switched to other redundancy sip relay servers, the redundancy sip relay servers register sip account numbers with the operator network, and the calling and calling services of enterprises can be ensured to be recovered in a short time, so that the requirements of the enterprises on the stability and reliability of communication can be met.
Therefore, the method can quickly switch the sip relay service to the sip relay server with the next highest priority under the condition that the sip relay server with the high priority is down or the network between the sip relay server and the operator is disconnected, and can recover the outgoing call and the incoming call of the enterprise in a short time.
It should be noted that the above is only a preferred embodiment of the present invention, but the design concept of the present invention is not limited thereto, and any insubstantial modifications made by using the design concept also fall within the protection scope of the present invention.
Claims (6)
1. A redundancy switching method based on a relay server is used for main-standby switching among a plurality of servers, and is characterized by comprising the following steps:
periodically detecting a network status of an operator server;
after the network state is determined to be normal, judging whether the priority of the server A is the highest priority;
if yes, the server A inquires the sip relay service to the cache server and judges whether the information of the service provider exists or not, and if yes, the server A enters a service detection state;
if the judgment result is negative, the server A enters a service providing state and provides the sip relay service, wherein the server B is continuously in a service detection state during the period that the server A is in the service providing state;
if the priority of the server A is determined not to be the highest priority, the server A enters a service detection state and judges whether the priority of the server B is the highest priority, if so, the server B inquires the sip relay service for the cache server and judges whether the information of a service provider exists, and if not, the server B enters a service providing state and provides the sip relay service;
in the service detection state, periodically inquiring the cache server for the sip relay service and judging whether the service provider information exists or not, and if so, not performing any processing; if the server does not exist, the previous service provider is down or the network is disconnected with the operator server, and the service cannot be continuously provided, at the moment, the information of the server is written into the cache server, namely the information of the server is taken as the information of the service provider, the service provider indicates that the server currently provides the sip relay service, and the service provider enters a service providing state; and/or
In the service detection state, periodically detecting whether the network states between the server A, the server B and the operator server are normal, if the network is normal, not processing, if not, stopping periodically inquiring whether the service provider information exists in the cache server, and changing the state of the server into the network detection state;
in the service state detection, whether a period value of service provider information exists in the cache server or not is inquired to be related to the priority of the server, and the period is shorter as the priority is higher, so that the service is ensured to be provided by the server with the higher priority.
2. The redundancy switching method according to claim 1, further performing, before periodically detecting the network status of the operator server:
after determining that the server A and the server B are started, loading relay server information of the server A and the server B, wherein the information comprises the priority of the server, address and sip account information which are related to the operator system, and relay service information which is related to the converged communication system.
3. The redundancy switching method according to claim 1 or 2, wherein the server a enters a service providing state and provides a sip relay service, further comprising:
after entering a service providing state, setting the effective time of the service provider information, and periodically updating the effective time of the service provider information in the cache server; and/or after entering the service providing state, periodically detecting whether the network state between the server A and the operator server is normal, if not, deleting the information of the service provider in the cache server, stopping periodically updating the effective time of the information of the service provider in the cache server, and judging whether the server B meets the condition of entering the service providing state.
4. A redundancy switching system based on a relay server, which is used for the main-standby switching between a server A and a server B, and is characterized in that the system comprises:
the network detection module is used for periodically detecting the network state of the operator server;
the first judgment module is used for judging whether the priority of the server A is the highest priority or not after the network state is determined to be normal;
the second judgment module is used for judging whether the information of the service provider exists or not after the server A inquires the sip relay service from the cache server, and if so, the server A enters a service detection state;
the service providing module is used for providing the sip relay service after the server A enters a service providing state, wherein the server B is continuously in a detection service state during the period that the server A is in the service providing state;
if the priority of the server A is determined not to be the highest priority, the server A enters a service detection state and judges whether the priority of the server B is the highest priority, if so, the server B inquires the sip relay service for the cache server and judges whether the information of a service provider exists, and if not, the server B enters a service providing state and provides the sip relay service;
in the service detection state, the service providing module is used for periodically inquiring the sip relay service from the cache server and judging whether the service provider information exists or not, and if so, no processing is carried out; if the server does not exist, the previous service provider is down or the network is disconnected with the operator server, and the service cannot be continuously provided, at the moment, the information of the server is written into the cache server, namely the information of the server is taken as the information of the service provider, the service provider indicates that the server currently provides the sip relay service, and the service provider enters a service providing state; and/or
In the service detection state, periodically detecting whether the network states between the server A, the server B and the operator server are normal, if the network is normal, not processing, if not, stopping periodically inquiring whether the service provider information exists in the cache server, and changing the state of the server into the network detection state;
in the service state detection, whether a period value of service provider information exists in the cache server or not is inquired to be related to the priority of the server, and the period is shorter as the priority is higher, so that the service is ensured to be provided by the server with the higher priority.
5. The redundant switching system according to claim 4, wherein the network detection module further performs, before periodically detecting the network status of the operator server:
after determining that the server A and the server B are started, loading relay server information of the server A and the server B, wherein the information comprises the priority of the server, address and sip account information which are related to the operator system, and relay service information which is related to the converged communication system.
6. The redundant switching system according to claim 4 or 5, wherein the server A enters a service providing state and provides a sip relay service, further comprising:
after entering a service providing state, setting the effective time of the service provider information, and periodically updating the effective time of the service provider information in the cache server; and/or
After entering the service providing state, periodically detecting whether the network state between the server A and the operator server is normal, if not, deleting the information of the service provider in the cache server, stopping periodically updating the effective time of the information of the service provider in the cache server, and judging whether the server B meets the condition of entering the service providing state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910506379.6A CN110233761B (en) | 2019-06-12 | 2019-06-12 | Redundancy switching method and system based on relay server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910506379.6A CN110233761B (en) | 2019-06-12 | 2019-06-12 | Redundancy switching method and system based on relay server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110233761A CN110233761A (en) | 2019-09-13 |
CN110233761B true CN110233761B (en) | 2022-04-22 |
Family
ID=67858939
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910506379.6A Active CN110233761B (en) | 2019-06-12 | 2019-06-12 | Redundancy switching method and system based on relay server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110233761B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1438790A (en) * | 2002-02-15 | 2003-08-27 | 富士通株式会社 | Upper repeate, lower repeater and network system |
CN101808352A (en) * | 2009-02-13 | 2010-08-18 | 上海贝尔股份有限公司 | Method for realizing double-ownership switching of single trunking gateway in next generation of network |
CN101959220A (en) * | 2009-07-15 | 2011-01-26 | 中兴通讯股份有限公司 | Management method and management system of centralized mobile agent server |
CN103430524A (en) * | 2011-03-15 | 2013-12-04 | 阿尔卡特朗讯公司 | A backup sip server for the survivability of an enterprise network using sip |
CN204190825U (en) * | 2014-07-16 | 2015-03-04 | 国家电网公司 | A dual-service voice service system based on equipment redundancy |
CN105302792A (en) * | 2015-07-29 | 2016-02-03 | 国网山东省电力公司电力科学研究院 | Adjusting method of voice platform architecture |
CN106506875A (en) * | 2016-11-01 | 2017-03-15 | 上海携程商务有限公司 | The data monitoring system of distributed call center speech line connecting time and method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10146525B2 (en) * | 2016-06-02 | 2018-12-04 | Cisco Technology, Inc. | Supporting hitless upgrade of call processing nodes in cloud-hosted telephony system |
-
2019
- 2019-06-12 CN CN201910506379.6A patent/CN110233761B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1438790A (en) * | 2002-02-15 | 2003-08-27 | 富士通株式会社 | Upper repeate, lower repeater and network system |
CN101808352A (en) * | 2009-02-13 | 2010-08-18 | 上海贝尔股份有限公司 | Method for realizing double-ownership switching of single trunking gateway in next generation of network |
CN101959220A (en) * | 2009-07-15 | 2011-01-26 | 中兴通讯股份有限公司 | Management method and management system of centralized mobile agent server |
CN103430524A (en) * | 2011-03-15 | 2013-12-04 | 阿尔卡特朗讯公司 | A backup sip server for the survivability of an enterprise network using sip |
CN204190825U (en) * | 2014-07-16 | 2015-03-04 | 国家电网公司 | A dual-service voice service system based on equipment redundancy |
CN105302792A (en) * | 2015-07-29 | 2016-02-03 | 国网山东省电力公司电力科学研究院 | Adjusting method of voice platform architecture |
CN106506875A (en) * | 2016-11-01 | 2017-03-15 | 上海携程商务有限公司 | The data monitoring system of distributed call center speech line connecting time and method |
Also Published As
Publication number | Publication date |
---|---|
CN110233761A (en) | 2019-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20080037764A1 (en) | Connection recovery in a call center | |
US10027531B1 (en) | Failover system and method for IP telephony | |
US7882391B2 (en) | Computer system, changeover-to-backup-system method, changeover-to-backup-system program, monitoring device, terminal device and backup system | |
US8374079B2 (en) | Proxy server, communication system, communication method and program | |
CN101729290A (en) | Method and device for realizing business system protection | |
CN106657354A (en) | Load balancing device and method | |
US9270558B2 (en) | Method, local gateway, and system for local voice survivability | |
CN112532452B (en) | Method, device, equipment and storage medium for switching main server and standby server of communication terminal | |
US20140258551A1 (en) | Method for Implementing Session Border Controller Pool, and Session Border Controller | |
US7882241B2 (en) | Communication management apparatus and communication management method | |
CN102970160A (en) | Method and device for assisting in rapid communication between monitor terminal and standby server | |
KR101620809B1 (en) | A method for sip proxy failover | |
JP7064132B2 (en) | Fault monitoring system and fault monitoring method | |
CN110233761B (en) | Redundancy switching method and system based on relay server | |
US7738362B2 (en) | System and method for address notification in a network | |
CN106330513A (en) | Method and device for processing tr069 protocol information | |
CN105007143A (en) | Call preservation and recovery method and system | |
EP2815549B1 (en) | Method and apparatus for improved handling of ims node blacklisting | |
CN111817953A (en) | Method and device for electing master equipment based on Virtual Router Redundancy Protocol (VRRP) | |
JP2003078567A (en) | Distributed highly-reliable communication system, control device therefor, fault detection method, program therefor, and recording medium | |
CN103138998B (en) | A kind of detection of proxy-state, device and system | |
JP3821379B2 (en) | Service providing method and service providing system | |
CN104954592B (en) | The communication means and device of the networking telephone | |
WO2024125269A1 (en) | Voice service establishment method, network device, and storage medium | |
US20250112991A1 (en) | Disaster plan implementation for a unified communications network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |