WO2012155629A1 - Network disaster recovery method and system - Google Patents

Network disaster recovery method and system Download PDF

Info

Publication number
WO2012155629A1
WO2012155629A1 PCT/CN2012/072342 CN2012072342W WO2012155629A1 WO 2012155629 A1 WO2012155629 A1 WO 2012155629A1 CN 2012072342 W CN2012072342 W CN 2012072342W WO 2012155629 A1 WO2012155629 A1 WO 2012155629A1
Authority
WO
WIPO (PCT)
Prior art keywords
sip distribution
sip
agent device
distribution agent
network
Prior art date
Application number
PCT/CN2012/072342
Other languages
French (fr)
Chinese (zh)
Inventor
杨敏
罗会平
梅君君
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012155629A1 publication Critical patent/WO2012155629A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1045Proxies, e.g. for session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1046Call controllers; Call servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection

Definitions

  • the present invention relates to the field of IP communications, and more particularly to a network disaster tolerance method and system in a Next Generation Network (NGN) or IP Multimedia Subsystem (IMS) network environment.
  • NTN Next Generation Network
  • IMS IP Multimedia Subsystem
  • the Session Initiation Protocol (SIP) distribution agent device shields the increase in the number of application servers.
  • SIP Session Initiation Protocol
  • the active and standby dual-machines also require a certain switching time or the switching failure due to the failure of the dual-machine itself, resulting in a global network failure, which is not conducive to business development. Summary of the invention
  • the present invention provides a network disaster tolerance method and system, which solves the problem that the network distribution network device is globally paralyzed when a SIP distribution agent device fails.
  • a network disaster recovery method includes:
  • the first SIP distribution agent device When the first SIP distribution agent device is unable to process the received service request, handing over the service request to the second SIP distribution agent device, the first SIP distribution agent device and the second SIP distribution agent device are working normally
  • the rest are backup devices;
  • the second SIP distribution agent device processes the service request handed over by the first SIP distribution agent device.
  • the plurality of application servers under the first SIP distribution proxy device and the second SIP are each a backup device.
  • the service request is an incoming call request sent by the IP Multimedia System (IMS) network or a Next Generation Network (NGN) network to the first SIP distribution proxy device, where the first SIP distribution proxy device cannot process the receiving When the service request arrives, the service request is handed over to the second SIP distribution agent device:
  • IMS IP Multimedia System
  • NTN Next Generation Network
  • the first SIP distribution proxy device When the first SIP distribution proxy device is abnormal, the first SIP distribution proxy device does not respond to the link detection request sent by the IMS network or the NGN network to the first SIP distribution proxy device to indicate the The IMS network or the NGN network sends an incoming call request to the second SIP distribution agent device responsive to the link detection request.
  • the service request is an incoming call request sent by the IMS network or the NGN network to the first SIP distribution proxy device, and the first SIP distribution proxy device sends the service when the received service request cannot be processed.
  • the request to hand over to the second SIP Distribution Agent device is:
  • the incoming call request is switched to the second SIP distribution agent device by softswitch.
  • the service request is an incoming call request sent by the IMS network or the NGN network to the first SIP distribution proxy device, where the service is not processed when the first SIP distribution proxy device cannot process the received service request.
  • the request to hand over to the second SIP Distribution Agent device is:
  • the service request is an active outbound call sent by an application server under the first SIP distribution proxy device, and the service request is handed over when the first SIP distribution proxy device cannot process the received service request.
  • To the second SIP distribution agent device is:
  • the application server When the application server detects that the first SIP distribution agent device is abnormal, the application server sends an outgoing call request to the second SIP distribution agent device.
  • the network disaster tolerance method further includes: the first SIP distribution proxy device detects a connection with a plurality of application servers under the second SIP distribution proxy device by using a link detection mechanism, and the second SIP distribution The proxy device detects a connection with a plurality of application servers under the first SIP distribution agent device through a link detection mechanism.
  • the present invention also provides a network disaster tolerance system, including a first SIP distribution agent device and a second
  • the first SIP distribution agent device and the second SIP distribution agent device are mutually backup devices in normal operation; the first SIP distribution agent device is configured to: fail to process the received service When requested, handing over the service request to the second SIP distribution agent device;
  • the second SIP distribution agent device is configured to: process the service request handed over by the first SIP distribution agent device.
  • the network disaster tolerance system further includes multiple application servers under the first SIP distribution proxy device and multiple application servers under the second SIP distribution proxy device, under the first SIP distribution proxy device.
  • the plurality of application servers and the plurality of application servers under the second SIP distribution agent device are in a one-to-one correspondence with each other as a backup device.
  • the first SIP distribution proxy device is configured to: when the first SIP distribution proxy device is abnormal, the first SIP distribution proxy device does not distribute the IMS network or the NGN network to the first SIP
  • the link detection request sent by the proxy device responds to indicate that the IMS network or the NGN network sends an incoming call request to the second SIP distribution proxy device that responds to the link detection request; or
  • the application server under the first SIP distribution proxy device is configured to: when the application server detects that the first SIP distribution proxy device is abnormal, send an outgoing call request to the second SIP distribution proxy device.
  • the first SIP distribution proxy device is further configured to: detect, by using a link detection mechanism, a connection situation with multiple application servers under the second SIP distribution proxy device;
  • the second SIP distribution proxy device is further configured to: detect a connection with a plurality of application servers under the first SIP distribution proxy device by a link detection mechanism.
  • the embodiment of the present invention provides a network disaster tolerance method and system, when the first SIP distribution proxy device cannot process the received service request, handing over the service request to the second SIP distribution proxy device, the first SIP The distribution agent device and the second SIP distribution agent device are mutually backup devices in normal operation, and the second SIP distribution agent device processes the service request handed over by the first SIP distribution agent device, thereby implementing SIP The distribution agent device responds abnormally quickly, and solves the problem that the network distribution agent device is faulty and causes the network to be globally paralyzed. BRIEF abstract
  • FIG. 1 is a schematic structural diagram of a network disaster tolerance system according to Embodiment 1 of the present invention
  • FIG. 2 is a network disaster tolerance method and a flowchart according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic structural diagram of a network disaster tolerance system according to Embodiment 2 of the present invention
  • FIG. 4 is a flowchart of disaster tolerance when an SS is invoked by a SIP distribution proxy device according to Embodiment 2 of the present invention
  • FIG. 5 is a flowchart of disaster tolerance when an application server actively initiates an outbound call by a SIP distribution proxy device according to Embodiment 2 of the present invention. Preferred embodiment of the invention
  • the SIP distribution agent device fails, the bottleneck is easy to occur. Even if the SIP distribution agent device uses the active/standby dual-system, a certain switching time is required, or the switching failure occurs due to the failure of the dual-machine itself, resulting in a global network failure, which is not conducive to the service. The launch. Therefore, there is an urgent need for a SIP distribution agent device to provide a reliable security backup mechanism to ensure the normal operation of the network to the utmost extent. In the event of a disaster, the service is still guaranteed, and the disaster resistance is strong, and it is possible to have a constant communication in times of crisis. lifeline.
  • an embodiment of the present invention provides a network disaster tolerance method and system. Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of non-conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
  • the incoming and outgoing calls of the SIP message implement the disaster tolerance mechanism, including the disaster tolerance of the SS incoming call implemented by the SIP distribution proxy device and the disaster tolerance of the active outgoing call of the application server implemented by the SIP distribution proxy device.
  • the embodiment of the invention provides a network disaster tolerance system.
  • the structure of the system is as shown in FIG. 1 , which includes:
  • the first SIP distribution agent device 101 and the second SIP distribution agent device 103 are identical to each other.
  • the system further includes a plurality of application servers 102 under the first SIP distribution agent device, and a plurality of application servers 104 under the second SIP distribution agent device.
  • the first SIP distribution proxy device 101 and the second SIP distribution proxy device 103 are mutually backup devices in normal operation, and the plurality of application servers 102 and the second under the first SIP distribution proxy device 101
  • the plurality of application servers 104 under the SIP distribution agent device 103 are corresponding to each other as a backup device. It should be noted that, when the number of application servers under the first SIP distribution proxy device 101 and the second SIP distribution proxy device 103 are different, generally, the first SIP distribution proxy device 101 and the second SIP distribution proxy device 103 are different. In this case, some of the additional application servers do not need to be backed up.
  • the first SIP distribution agent device 101 and the plurality of application servers 102 thereunder constitute one office, and the second SIP distribution agent device 103 and the plurality of application servers 104 under it constitute another site.
  • the first SIP distribution agent device 101 and the second SIP distribution agent device 103 are connected to an IMS network or an NGN network.
  • Both the first SIP distribution agent device 101 and the second SIP distribution agent device 103 always need to maintain a link detection mechanism with the subsequent application server and the backup application server of these application servers, that is, the SIP distribution agent device can know in real time.
  • the link of the application server is good or bad.
  • the SIP distribution agent determines whether the message is sent to the next application server or the backup application server.
  • the application server also performs link detection on the softswitch, that is, the application server can reach the SS through the first SIP distribution agent device or the second SIP distribution agent device, and as long as one of the SIP distribution agent devices is good, it can be considered
  • the SS has no broken links, and also knows which SIP points.
  • the proxy device link is normal, which is abnormal, and the SS is unavailable only when the link of the active and standby SIP distribution proxy devices is abnormal, so that the application server can confirm the SIP distribution through the outbound call.
  • the proxy device calls to the SS.
  • the application server also has an OPTIONS link detection mechanism to maintain the detection of links arriving at all SSs, or the normality of all links.
  • the SIP distribution agent device may be integrated on an application server in the office, and the application server performs the corresponding function; preferably, in order to prevent the application server from malfunctioning, the SIP distribution agent device cannot function, and the SIP distribution may also be performed.
  • the proxy device is integrated on the SIP proxy server to increase system reliability.
  • a network disaster recovery method provided by an embodiment of the present invention is described below in conjunction with the network disaster tolerance system.
  • the embodiment of the present invention provides a network disaster recovery method, and the process for completing the fault processing of the SIP distribution agent device by using the method is as shown in FIG. 2, which includes:
  • Step 201 When the first SIP distribution proxy device is unable to process the received service request, handing over the service request to the second SIP distribution proxy device;
  • the SS sends a SIP message to the first SIP distribution agent device, and at this time, it depends on the main application server to which the distribution policy needs to be distributed (for convenience of description, the first SIP distribution agent is used for convenience of description)
  • the application server under the device is called the main application server, and the application server that is the backup device of the second SIP distribution agent device and the main application server is the backup application server; in fact, the application server under the first SIP distribution agent device
  • the application server under the second SIP distribution agent device is a backup device, and the application server under the first SIP distribution agent device is also the backup application server. If it is normal, it will be distributed to the main application server, otherwise it will be distributed to the backup application server for processing.
  • the SS When the primary SIP distribution agent device is abnormal, the SS sends a SIP message to the second SIP distribution agent device, and at this time, it is normal whether the primary application server to which the distribution policy needs to be distributed is normal, and if it is normal, the primary application server is distributed, otherwise it is distributed to the backup. Application server processing.
  • the service request is specifically an incoming call request sent by the IMS network or the NGN network to the first SIP distribution proxy device, where the first SIP distribution proxy device cannot process the received request.
  • the handover of the service request to the second SIP distribution agent device is specifically: when the first SIP distribution proxy device is abnormal, the first SIP distribution proxy device does not target the IMS network or the NGN network.
  • the link detection request sent by the first SIP distribution proxy device responds to instruct the IMS network or the NGN network to send an incoming call request to the second SIP distribution proxy device that responds to the link detection request
  • the service request is specifically an incoming call request sent by the IMS network or the NGN network to the first SIP distribution proxy device, where the first SIP distribution proxy device fails to process the received service request
  • the request for handover to the second SIP distribution agent device is specifically:
  • the incoming call request is switched to the second SIP distribution agent device by softswitch.
  • the service request is specifically an incoming call request sent by the IMS network or the NGN network to the first SIP distribution proxy device, where the first SIP distribution proxy device cannot process the received service request,
  • the request for handover to the second SIP distribution agent device is specifically:
  • the service request is specifically an active outbound call sent by the application server under the first SIP distribution proxy device, and the service request is handed over when the first SIP distribution proxy device cannot process the received service request.
  • the second SIP distribution agent device is specifically:
  • the application server When the application server detects that the first SIP distribution agent device is abnormal (such as no response to the link detection request), the application server sends an outgoing call request to the second SIP distribution agent device.
  • Step 202 The second SIP distribution proxy device processes the service request handed over by the first SIP distribution proxy device.
  • the second SIP distribution agent device or the application server under it completes the service request handed over by the first SIP distribution agent device.
  • the embodiment of the present invention provides a network disaster tolerance system.
  • the present invention further provides a disaster recovery system implemented by a SIP distribution agent device.
  • the method includes: There are several SIP distribution agent devices and application servers in the two sites.
  • the A site includes the SIP distribution agent device 1, the application server 1 and the application server 2 (in fact, the application server under the SIP distribution agent device is more, here for convenience of description, taking two application servers as an example) to form a system.
  • the business process is completed; another site B has a SIP distribution agent device 2, an application server, and an application server 2, which form a system to complete the business process.
  • the SIP distribution agent device has a SIP distribution agent device link detection module, and the SIP distribution agent device always needs to maintain a link detection mechanism with the subsequent application server and the backup application server of the application server to obtain the normality of the application server. Information.
  • the application server has an OPTIONS link detection mechanism, which maintains information about detecting links to all SSs, or whether all links are normal or not.
  • the backup SIP distribution agent device that can configure the SIP distribution device 1 on the interface A is a SIP distribution device, the backup application server of the application server 1 is configured as an application server, and the backup application server of the application server 2 is configured as an application server. 2';
  • the backup SIP distribution agent device of the SIP distribution device 1' is the SIP distribution device 1, the backup application server of the application server 1' is configured as the application server 1, and the backup application server of the application server 2' is configured as an application.
  • the SIP distribution device 1 corresponds to the first SIP distribution agent device 101 in the first embodiment of the present invention; the SIP distribution device 1 corresponds to the second SIP distribution agent device 103 in the first embodiment of the present invention.
  • the embodiment of the present invention provides a reliable security backup mechanism.
  • the application server and the SIP distribution proxy device of the two sites back up each other, and automatically switch when the disaster occurs, so as to ensure the normal development of the service. In order to maximize the normal operation of the network.
  • a site A has a SIP distribution agent device 1 and an application server 1, the application server 2 forms a system, completes the service processing, and another site B has a SIP distribution agent device 2 and an application server ⁇ , an application server 2, A system that completes business processing.
  • SIP distribution agent device 1 always needs and application server 1, application server 2, application service The application server 2' maintains a link detection mechanism (detecting requests and responses through links). Similarly, the SIP distribution agent device 2 also always needs to maintain a link detection mechanism with the application server 1, the application server 2, the application server, and the application server 2'.
  • the A and B stations work independently and do not interfere with each other; when an abnormality occurs, the message will be processed by another site that is backed up with the failed site.
  • the disaster recovery processing procedure of the SS incoming call implemented by the SIP distribution proxy device in the network disaster tolerance system by using the network disaster tolerance method provided by the embodiment of the present invention is further described:
  • Scenario An IMS or NGN environment call-in request, for example, an incoming call to the A-office point.
  • the equipment at Site A is damaged.
  • the SIP distribution agent device 1 is abnormal, and the application server 1 and 2 may be abnormal.
  • the SIP distribution agent device 1 is normal, and the application server 1 and 2 are all. Abnormal situation; the SIP distribution agent device 1 is normal, and the application server 1 and 2 are partially damaged.
  • 201, 202, 203, 204 are abnormalities of the SIP distribution agent device 1, and the application server 1 and 2 may be abnormal;
  • 201, 205, 206, 207 are normal for the SIP distribution agent device 1, and the application servers 1 and 2 are all abnormal.
  • Cases; 201, 208, 209, 210, 211, 212, 213 are cases where the SIP distribution agent device 1 is normal and the application server 1, 2 is partially damaged.
  • 214, 215 is a case where the SIP distribution agent device 1 is normal, and the application server 1 and 2 are also normal.
  • the SIP distribution agent device 1 is abnormal, and the application servers 1 and 2 may be abnormal:
  • Step 401 an IMS or NGN environment call-in request, and a SIP dispatch agent device 1 that is normally called to the A-office point;
  • Step 402 the core network device SS sends a detection message to the SIP distribution agent device 1, and the SIP distribution agent device 1 does not respond, indicating that the SIP distribution agent device 1 has been damaged and cannot process the service;
  • Step 403 the SS finds that the SIP distribution agent device 1 has been damaged. , automatically switching the message to the SIP distribution agent device 2 of the B office;
  • Step 404 the SIP distribution agent device 2 further transfers the message to the application server or the application server 2 according to the policy allocation, and if it is the application server, the application server is normal. If it is normal, the application server ⁇ , if Abnormal, then its backup, that is, application server 1 processing; for application server 2, the same is true.
  • the SIP distribution agent device 1 is normal and the application servers 1 and 2 are all damaged will be described:
  • Step 401 an IMS or NGN environment call-in request, and a SIP dispatch agent device 1 that is normally called to the A-office point;
  • Step 405 the core network device SS sends a detection message to the SIP distribution agent device 1.
  • the SIP distribution agent device 1 itself is good, but the SIP distribution agent device 1 finds that all subsequent application servers do not have heartbeat messages, so the SIP distribution agent device 1
  • the SS does not respond to the detection message, and the SS finds that there is no response, indicating that all the application servers have been damaged.
  • the situation is equivalent to the SIP distribution agent device 1 being damaged and unable to process the service;
  • Step 406 the softswitch finds that all the application servers behind the SIP distribution proxy device 1 have been damaged, and automatically switches the message to the SIP distribution proxy device 2 of the B site;
  • Step 407 the SIP distribution agent device 2 transfers the message to the application server or the application server 2 according to the capability allocation, and performs processing.
  • Step 401 an IMS or NGN environment call-in request, and a SIP dispatch agent device 1 that is normally called to the A-office point;
  • Step 408 the core network device SS sends a detection message to the SIP distribution agent device 1.
  • the SIP distribution agent device 1 itself is good, but the SIP distribution agent device 1 finds that the subsequent application server 1 has no heartbeat message, and the application server 2 has a heartbeat. Message, so the SIP distribution agent device 1 responds to the SS detection message, tells the SS that itself (the SIP distribution agent device 1) is available, and the SIP distribution agent device 1 itself determines that the application server 1 is damaged, and the application server 2 is normal;
  • Step 409 the softswitch finds that the SIP distribution proxy device 1 is available, and sends the message to the SIP distribution proxy device 1 for processing;
  • Step 410 The SIP distribution proxy device 1 searches for an available application server according to the configured distribution policy, and finds that it needs to be allocated to the application server 1 for processing;
  • Step 411 the SIP distribution proxy device 1 should be distributed to the application server 1 for processing, but the application server 1 has been damaged, so the standby application server 1 is found to process the message;
  • Step 412 The SIP distribution proxy device 1 searches for an available application server according to the configured distribution policy, and finds that it needs to be allocated to the application server 2 for processing;
  • Step 413 If the application server 2 is normal, the application server 2 processes the message.
  • Step 401 an IMS or NGN environment call-in request, and a SIP dispatch agent device 1 that is normally called to the A-office point;
  • Step 414 the core network device SS sends a detection message to the SIP distribution agent device 1.
  • the SIP distribution agent device 1 itself is good, and the SIP distribution agent device 1 finds that the subsequent application server 1 and 2 are also good, that is, the A site. Both are normal, which is the most common scenario when there is no disaster.
  • step 415 the SIP distribution agent device 1 distributes to the application server 1 or 2 according to the policy.
  • Step 501 The core network device SS sends a SIP request message to the SIP distribution proxy device.
  • the primary SIP distribution proxy device that is, the SIP distribution proxy device 1 and the SIP distribution proxy device, should be selected;
  • Step 502 The core network device SS sends a detection message to the SIP distribution proxy device 1, and the SIP distribution proxy device 1 responds, indicating that it is normal;
  • Step 503 The core network device SS sends a detection message to the SIP distribution proxy device 1, and the SIP distribution proxy device 1 does not respond, indicating that it is damaged;
  • Step 504 The core network device SS discovers that the SIP distribution proxy device 1 is normal, and sends a SIP request message to the SIP distribution proxy device 1.
  • Step 505 The core network device SS discovers that the SIP distribution proxy device 1 is damaged, and sends the SIP request message to the SIP distribution proxy device.
  • Step 506 whether the SIP distribution proxy device 1 or the SIP distribution proxy device ⁇ , calls the SIP request message to the IMS or the NGN network, so that the SIP distribution proxy device implements the disaster recovery processing flow when the application server actively calls out.
  • the network disaster tolerance method provided by the embodiment of the present invention may be used to handover the service request when the first SIP distribution proxy device cannot process the received service request in the network disaster tolerance system provided by the embodiment of the present invention.
  • the first SIP distribution agent device and the second SIP distribution agent device are mutually backup devices in normal operation, and the first SIP distribution agent device processes the first
  • the service request handed over by the SIP distribution agent device realizes a quick response to the abnormality of the SIP distribution agent device, and solves the problem that the network distribution network device is globally paralyzed when the SIP distribution agent device fails.
  • the application server and the SIP distribution agent device of the two sites are backed up without any additional equipment. When a disaster occurs, the switchover is automatically performed to ensure the normal operation of the service to ensure the normal operation of the network.
  • all or part of the steps of the foregoing embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the invention is not limited to any particular combination of hardware and software.
  • the various devices/function modules/functional units in the above embodiments may be implemented using a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • Each device/function module/functional unit in the above embodiments can be stored in a computer readable storage medium when implemented in the form of a software function module and sold or used as a standalone product.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the present invention provides a network disaster tolerance method and system, and when the first SIP distribution proxy device cannot process the received service request, handing over the service request to the second SIP distribution proxy device,
  • the first SIP distribution agent device and the second SIP distribution agent device are mutually backup devices in normal operation, and the second SIP distribution agent device processes the service request handed over by the first SIP distribution agent device to implement
  • the quick response to the abnormality of the SIP distribution agent device solves the problem that the network is globally paralyzed when the SIP distribution agent device fails.

Abstract

A network disaster recovery method and a network disaster recovery system relate to the field of IP communications, and solve the problem of global network breakdown due to a failure occurring at a Session Initiation Protocol (SIP) distribution agent device. The method comprises: when failing to process a received service request, a first SIP distribution agent device transferring the service request to a second SIP distribution agent device, where the first SIP distribution agent device and the second SIP distribution agent device not only serve as backup apparatuses for each other but also work normally; and the second SIP distribution agent device processing the service request transferred by the first SIP distribution agent device. The technical solution provided in the present invention is applicable to an SIP network and implements a flexible and reliable backup mechanism.

Description

网络容灾方法和系统  Network disaster recovery method and system
技术领域 Technical field
本发明涉及 IP 通讯领域, 特别是一种下一代网络 ( Next Generation Network, NGN )或 IP多媒体系统( IP Multimedia Subsystem, IMS ) 网络环 境中的网络容灾方法和系统。  The present invention relates to the field of IP communications, and more particularly to a network disaster tolerance method and system in a Next Generation Network (NGN) or IP Multimedia Subsystem (IMS) network environment.
背景技术 Background technique
随着移动通信网络的普及, 用户对移动通信的服务质量要求越来越高, 运营商要求网络节点发生故障后, 网络能够继续提供服务。 同时在话务量不 断增加的趋势下, 单一的应用服务器处理性能有限, 急需扩充应用服务器的 数量来增强应用服务器的处理性能, 会话初始化协议(SIP )分发代理装置将 应用服务器数量的增加屏蔽在网络局点内部, 解决了应用服务器的性能瓶颈 和扩容问题, 但是目前还没有很好的解决网络容灾问题, 当 SIP分发代理装 置出现故障时, 容易出现瓶颈, 即使有 SIP分发代理装置釆用主备双机, 也 需一定的切换时间或由于双机本身故障造成切换失败, 导致网络全局瘫痪, 不利于业务的开展。 发明内容  With the popularity of mobile communication networks, users have higher and higher requirements for the quality of service for mobile communications. After operators require network nodes to fail, the network can continue to provide services. At the same time, under the trend of increasing traffic volume, a single application server has limited processing performance, and it is urgent to expand the number of application servers to enhance the processing performance of the application server. The Session Initiation Protocol (SIP) distribution agent device shields the increase in the number of application servers. Within the network site, the performance bottleneck and capacity expansion of the application server are solved. However, the network disaster recovery problem has not been solved well. When the SIP distribution agent device fails, bottlenecks are likely to occur, even if there is a SIP distribution agent device. The active and standby dual-machines also require a certain switching time or the switching failure due to the failure of the dual-machine itself, resulting in a global network failure, which is not conducive to business development. Summary of the invention
本发明提供了一种网络容灾方法和系统, 解决了 SIP分发代理装置出现 故障时导致网络全局瘫痪的问题。  The present invention provides a network disaster tolerance method and system, which solves the problem that the network distribution network device is globally paralyzed when a SIP distribution agent device fails.
一种网络容灾方法, 包括:  A network disaster recovery method includes:
在第一 SIP分发代理装置无法处理接收到的业务请求时, 将所述业务请 求移交至第二 SIP分发代理装置,所述第一 SIP分发代理装置和所述第二 SIP 分发代理装置在正常工作之余互为备份设备;  When the first SIP distribution agent device is unable to process the received service request, handing over the service request to the second SIP distribution agent device, the first SIP distribution agent device and the second SIP distribution agent device are working normally The rest are backup devices;
所述第二 SIP分发代理装置处理所述第一 SIP分发代理装置移交的业务 请求。  The second SIP distribution agent device processes the service request handed over by the first SIP distribution agent device.
优选的,所述第一 SIP分发代理装置下的多个应用服务器与所述第二 SIP 分发代理装置下的多个应用服务器一一对应互为备份设备。 Preferably, the plurality of application servers under the first SIP distribution proxy device and the second SIP The plurality of application servers under the distribution agent device are each a backup device.
优选的,所述业务请求为 IP多媒体系统( IMS )网络或下一代网络( NGN ) 网络向所述第一 SIP分发代理装置发出的呼入请求, 所述在第一 SIP分发代 理装置无法处理接收到的业务请求时, 将所述业务请求移交至第二 SIP分发 代理装置为:  Preferably, the service request is an incoming call request sent by the IP Multimedia System (IMS) network or a Next Generation Network (NGN) network to the first SIP distribution proxy device, where the first SIP distribution proxy device cannot process the receiving When the service request arrives, the service request is handed over to the second SIP distribution agent device:
在所述第一 SIP分发代理装置异常时, 所述第一 SIP分发代理装置不对 所述 IMS网络或 NGN网络向所述第一 SIP分发代理装置发出的链路检测请 求进行响应, 以指示所述 IMS网络或 NGN网络向响应所述链路检测请求的 所述第二 SIP分发代理装置发送呼入请求。  When the first SIP distribution proxy device is abnormal, the first SIP distribution proxy device does not respond to the link detection request sent by the IMS network or the NGN network to the first SIP distribution proxy device to indicate the The IMS network or the NGN network sends an incoming call request to the second SIP distribution agent device responsive to the link detection request.
优选的, 所述业务请求为 IMS网络或 NGN网络向所述第一 SIP分发代 理装置发出的呼入请求, 所述第一 SIP分发代理装置在无法处理接收到的业 务请求时, 将所述业务请求移交至第二 SIP分发代理装置为:  Preferably, the service request is an incoming call request sent by the IMS network or the NGN network to the first SIP distribution proxy device, and the first SIP distribution proxy device sends the service when the received service request cannot be processed. The request to hand over to the second SIP Distribution Agent device is:
在所述第一 SIP分发代理装置下的全部应用服务器异常时, 通过软交换 将所述呼入请求切换到所述第二 SIP分发代理装置。  When all application servers under the first SIP distribution agent device are abnormal, the incoming call request is switched to the second SIP distribution agent device by softswitch.
优选的, 所述业务请求为 IMS网络或 NGN网络向所述第一 SIP分发代 理装置发出的呼入请求, 所述在第一 SIP分发代理装置无法处理接收到的业 务请求时, 将所述业务请求移交至第二 SIP分发代理装置为:  Preferably, the service request is an incoming call request sent by the IMS network or the NGN network to the first SIP distribution proxy device, where the service is not processed when the first SIP distribution proxy device cannot process the received service request. The request to hand over to the second SIP Distribution Agent device is:
在所述第一 SIP分发代理装置下处理所述呼入请求的应用服务器异常时, 将所述呼入请求转发至所述第二 SIP服务器下所述应用服务器的备用设备。  And when the application server that processes the incoming call request is abnormal under the first SIP distribution proxy device, forwarding the incoming call request to a backup device of the application server under the second SIP server.
优选的, 所述业务请求为所述第一 SIP分发代理装置下的应用服务器发 出的主动外呼,所述在第一 SIP分发代理装置无法处理接收到的业务请求时, 将所述业务请求移交至第二 SIP分发代理装置为:  Preferably, the service request is an active outbound call sent by an application server under the first SIP distribution proxy device, and the service request is handed over when the first SIP distribution proxy device cannot process the received service request. To the second SIP distribution agent device is:
在所述应用服务器检测到所述第一 SIP分发代理装置异常时, 所述应用 服务器向所述第二 SIP分发代理装置发送呼出请求。  When the application server detects that the first SIP distribution agent device is abnormal, the application server sends an outgoing call request to the second SIP distribution agent device.
优选的,上述网络容灾方法还包括: 所述第一 SIP分发代理装置通过链路 检测机制检测与所述第二 SIP分发代理装置下的多个应用服务器的连接情况, 所述第二 SIP分发代理装置通过链路检测机制检测与所述第一 SIP分发代理 装置下的多个应用服务器的连接情况。 本发明还提供了一种网络容灾系统, 包括第一 SIP分发代理装置和第二Preferably, the network disaster tolerance method further includes: the first SIP distribution proxy device detects a connection with a plurality of application servers under the second SIP distribution proxy device by using a link detection mechanism, and the second SIP distribution The proxy device detects a connection with a plurality of application servers under the first SIP distribution agent device through a link detection mechanism. The present invention also provides a network disaster tolerance system, including a first SIP distribution agent device and a second
SIP分发代理装置,所述第一 SIP分发代理装置和所述第二 SIP分发代理装置 在正常工作之余互为备份设备; 所述第一 SIP分发代理装置设置为: 在无法处理接收到的业务请求时, 将所述业务请求移交至所述第二 SIP分发代理装置; a SIP distribution agent device, the first SIP distribution agent device and the second SIP distribution agent device are mutually backup devices in normal operation; the first SIP distribution agent device is configured to: fail to process the received service When requested, handing over the service request to the second SIP distribution agent device;
所述第二 SIP分发代理装置设置为: 处理所述第一 SIP分发代理装置移 交的业务请求。 优选的, 上述网络容灾系统还包括所述第一 SIP分发代理装置下的多个 应用服务器和所述第二 SIP分发代理装置下的多个应用服务器,所述第一 SIP 分发代理装置下的多个应用服务器与所述第二 SIP分发代理装置下的多个应 用服务器一一对应互为备份设备。  The second SIP distribution agent device is configured to: process the service request handed over by the first SIP distribution agent device. Preferably, the network disaster tolerance system further includes multiple application servers under the first SIP distribution proxy device and multiple application servers under the second SIP distribution proxy device, under the first SIP distribution proxy device. The plurality of application servers and the plurality of application servers under the second SIP distribution agent device are in a one-to-one correspondence with each other as a backup device.
优选的, 所述第一 SIP分发代理装置是设置为: 在所述第一 SIP分发代 理装置异常时, 所述第一 SIP分发代理装置不对所述 IMS网络或 NGN网络 向所述第一 SIP分发代理装置发出的的链路检测请求进行响应, 以指示所述 IMS网络或 NGN网络向响应所述链路检测请求的所述第二 SIP分发代理装置 发送呼入请求; 或,  Preferably, the first SIP distribution proxy device is configured to: when the first SIP distribution proxy device is abnormal, the first SIP distribution proxy device does not distribute the IMS network or the NGN network to the first SIP The link detection request sent by the proxy device responds to indicate that the IMS network or the NGN network sends an incoming call request to the second SIP distribution proxy device that responds to the link detection request; or
在所述第一 SIP分发代理装置下的全部应用服务器异常时, 通过软交换 将所述呼入请求切换到所述第二 SIP分发代理装置; 或,  And when the all application servers under the first SIP distribution agent device are abnormal, switching the incoming call request to the second SIP distribution agent device by using a soft switch; or
在所述第一 SIP分发代理装置下处理所述呼入请求的应用服务器异常时, 将所述呼入请求转发至所述第二 SIP服务器下所述应用服务器的备用设备。  And when the application server that processes the incoming call request is abnormal under the first SIP distribution proxy device, forwarding the incoming call request to a backup device of the application server under the second SIP server.
优选的, 所述第一 SIP分发代理装置下的应用服务器设置为: 在所述应 用服务器检测到所述第一 SIP分发代理装置异常时, 向所述第二 SIP分发代 理装置发送呼出请求。  Preferably, the application server under the first SIP distribution proxy device is configured to: when the application server detects that the first SIP distribution proxy device is abnormal, send an outgoing call request to the second SIP distribution proxy device.
优选的, 所述第一 SIP分发代理装置还设置为: 通过链路检测机制检测 与所述第二 SIP分发代理装置下的多个应用服务器的连接情况;  Preferably, the first SIP distribution proxy device is further configured to: detect, by using a link detection mechanism, a connection situation with multiple application servers under the second SIP distribution proxy device;
所述第二 SIP分发代理装置还设置为: 通过链路检测机制检测与所述第 一 SIP分发代理装置下的多个应用服务器的连接情况。 本发明实施例提供了一种网络容灾方法和系统, 在第一 SIP分发代理装 置无法处理接收到的业务请求时, 将所述业务请求移交至第二 SIP分发代理 装置, 所述第一 SIP分发代理装置和所述第二 SIP分发代理装置在正常工作 之余互为备份设备, 并由所述第二 SIP分发代理装置处理所述第一 SIP分发 代理装置移交的业务请求, 实现了对 SIP分发代理装置异常的快速响应, 解 决了 SIP分发代理装置出现故障时导致网络全局瘫痪的问题。 附图概述 The second SIP distribution proxy device is further configured to: detect a connection with a plurality of application servers under the first SIP distribution proxy device by a link detection mechanism. The embodiment of the present invention provides a network disaster tolerance method and system, when the first SIP distribution proxy device cannot process the received service request, handing over the service request to the second SIP distribution proxy device, the first SIP The distribution agent device and the second SIP distribution agent device are mutually backup devices in normal operation, and the second SIP distribution agent device processes the service request handed over by the first SIP distribution agent device, thereby implementing SIP The distribution agent device responds abnormally quickly, and solves the problem that the network distribution agent device is faulty and causes the network to be globally paralyzed. BRIEF abstract
图 1是本发明的实施例一提供的一种网络容灾系统的结构示意图; 图 2是本发明的实施例一提供的一种网络容灾方法和流程图;  1 is a schematic structural diagram of a network disaster tolerance system according to Embodiment 1 of the present invention; FIG. 2 is a network disaster tolerance method and a flowchart according to Embodiment 1 of the present invention;
图 3是本发明的实施例二提供的一种网络容灾系统的结构示意图; 图 4是本发明的实施例二中由 SIP分发代理装置实现的 SS呼入时的容灾 流程图;  3 is a schematic structural diagram of a network disaster tolerance system according to Embodiment 2 of the present invention; FIG. 4 is a flowchart of disaster tolerance when an SS is invoked by a SIP distribution proxy device according to Embodiment 2 of the present invention;
图 5是本发明的实施例二中由 SIP分发代理装置实现的应用服务器主动 外呼时的容灾流程图。 本发明的较佳实施方式  FIG. 5 is a flowchart of disaster tolerance when an application server actively initiates an outbound call by a SIP distribution proxy device according to Embodiment 2 of the present invention. Preferred embodiment of the invention
当 SIP分发代理装置出现故障时, 容易出现瓶颈, 即使有 SIP分发代理 装置釆用主备双机,也需一定的切换时间或由于双机本身故障造成切换失败, 导致网络全局瘫痪, 不利于业务的开展。 所以迫切的需要 SIP分发代理装置 提供可靠的安全备份机制, 以最大限度的保证网络的正常运行, 在出现灾情 时, 仍保证业务的开展, 抗灾能力强, 能在危难时刻拥有一条扯不断的通信 生命线。  When the SIP distribution agent device fails, the bottleneck is easy to occur. Even if the SIP distribution agent device uses the active/standby dual-system, a certain switching time is required, or the switching failure occurs due to the failure of the dual-machine itself, resulting in a global network failure, which is not conducive to the service. The launch. Therefore, there is an urgent need for a SIP distribution agent device to provide a reliable security backup mechanism to ensure the normal operation of the network to the utmost extent. In the event of a disaster, the service is still guaranteed, and the disaster resistance is strong, and it is possible to have a constant communication in times of crisis. lifeline.
为了解决上述问题, 本发明的实施例提供了一种网络容灾方法和系统。 下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在不冲 突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。  In order to solve the above problem, an embodiment of the present invention provides a network disaster tolerance method and system. Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of non-conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
首先结合附图, 对本发明的实施例一进行说明。 本发明实施例中, SIP消息的呼入和呼出都实现容灾机制, 包括 SIP分发 代理装置实现的 SS呼入时的容灾和 SIP分发代理装置实现的应用服务器主动 外呼时的容灾。 First, the first embodiment of the present invention will be described with reference to the accompanying drawings. In the embodiment of the present invention, the incoming and outgoing calls of the SIP message implement the disaster tolerance mechanism, including the disaster tolerance of the SS incoming call implemented by the SIP distribution proxy device and the disaster tolerance of the active outgoing call of the application server implemented by the SIP distribution proxy device.
本发明实施例提供了一种网络容灾系统, 该系统的结构如图 1所示, 包 括:  The embodiment of the invention provides a network disaster tolerance system. The structure of the system is as shown in FIG. 1 , which includes:
第一 SIP分发代理装置 101和第二 SIP分发代理装置 103。  The first SIP distribution agent device 101 and the second SIP distribution agent device 103.
优选的, 该系统还包括该第一 SIP 分发代理装置下的多个应用服务器 102, 以及该第二 SIP分发代理装置下的多个应用服务器 104。  Preferably, the system further includes a plurality of application servers 102 under the first SIP distribution agent device, and a plurality of application servers 104 under the second SIP distribution agent device.
所述第一 SIP分发代理装置 101和所述第二 SIP分发代理装置 103在正 常工作之余互为备份设备, 所述第一 SIP分发代理装置 101下的多个应用服 务器 102与所述第二 SIP分发代理装置 103下的多个应用服务器 104——对 应互为备份设备。 需要说明的是, 在第一 SIP分发代理装置 101与第二 SIP 分发代理装置 103下的应用服务器数量不同时, 一般是由于第一 SIP分发代 理装置 101与第二 SIP分发代理装置 103处于不同的局点, 此时, 多出的部 分应用服务器即不需要进行备份。  The first SIP distribution proxy device 101 and the second SIP distribution proxy device 103 are mutually backup devices in normal operation, and the plurality of application servers 102 and the second under the first SIP distribution proxy device 101 The plurality of application servers 104 under the SIP distribution agent device 103 are corresponding to each other as a backup device. It should be noted that, when the number of application servers under the first SIP distribution proxy device 101 and the second SIP distribution proxy device 103 are different, generally, the first SIP distribution proxy device 101 and the second SIP distribution proxy device 103 are different. In this case, some of the additional application servers do not need to be backed up.
第一 SIP分发代理装置 101和其下的多个应用服务器 102构成了一个局 点, 第二 SIP分发代理装置 103和其下的多个应用服务器 104构成了另一个 局点。  The first SIP distribution agent device 101 and the plurality of application servers 102 thereunder constitute one office, and the second SIP distribution agent device 103 and the plurality of application servers 104 under it constitute another site.
第一 SIP分发代理装置 101和第二 SIP分发代理装置 103与 IMS网络或 NGN网络相连。  The first SIP distribution agent device 101 and the second SIP distribution agent device 103 are connected to an IMS network or an NGN network.
无论是第一 SIP分发代理装置 101和第二 SIP分发代理装置 103 ,均始终 需要和其后的应用服务器以及这些应用服务器的备份应用服务器保持链路检 测机制, 即 SIP分发代理装置可以实时的知道应用服务器的链路好坏状态, 当软交换(Soft Switch, SS )呼入时, SIP分发代理装置就来决定消息是发给 其下应用服务器还是备份应用服务器。  Both the first SIP distribution agent device 101 and the second SIP distribution agent device 103 always need to maintain a link detection mechanism with the subsequent application server and the backup application server of these application servers, that is, the SIP distribution agent device can know in real time. The link of the application server is good or bad. When the soft switch (SS) calls in, the SIP distribution agent determines whether the message is sent to the next application server or the backup application server.
而应用服务器也会对软交换进行链路检测, 即应用服务器通过第一 SIP 分发代理装置或者第二 SIP分发代理装置都可以达到 SS,只要其中有一个 SIP 分发代理装置是好的, 则可以认为该 SS没有断链, 同时也知道了哪个 SIP分 发代理装置链路是正常的, 哪个是异常的, 只有主备 SIP分发代理装置的链 路都异常时,该 SS才是不可用的, 这样应用服务器外呼时就能确认是通过哪 个 SIP分发代理装置外呼到 SS。 应用服务器上亦具有 OPTIONS链路检测机 制, 保持对到达所有 SS的链路进行检测, 或者所有链路的正常与否的信息。 The application server also performs link detection on the softswitch, that is, the application server can reach the SS through the first SIP distribution agent device or the second SIP distribution agent device, and as long as one of the SIP distribution agent devices is good, it can be considered The SS has no broken links, and also knows which SIP points. The proxy device link is normal, which is abnormal, and the SS is unavailable only when the link of the active and standby SIP distribution proxy devices is abnormal, so that the application server can confirm the SIP distribution through the outbound call. The proxy device calls to the SS. The application server also has an OPTIONS link detection mechanism to maintain the detection of links arriving at all SSs, or the normality of all links.
SIP分发代理装置可集成于局点内的某一应用服务器上,由该应用服务器 完成相应功能; 优选的, 为了防止应用服务器故障造成 SIP分发代理装置功 能无法行使的情况出现, 亦可将 SIP分发代理装置集成于 SIP代理服务器上, 以增加系统可靠性。  The SIP distribution agent device may be integrated on an application server in the office, and the application server performs the corresponding function; preferably, in order to prevent the application server from malfunctioning, the SIP distribution agent device cannot function, and the SIP distribution may also be performed. The proxy device is integrated on the SIP proxy server to increase system reliability.
下面结合上述网络容灾系统, 对本发明的实施例提供的一种网络容灾方 法进行说明。  A network disaster recovery method provided by an embodiment of the present invention is described below in conjunction with the network disaster tolerance system.
本发明实施例提供了一种网络容灾方法, 使用该方法完成对 SIP分发代 理装置故障处理的流程如图 2所示, 包括:  The embodiment of the present invention provides a network disaster recovery method, and the process for completing the fault processing of the SIP distribution agent device by using the method is as shown in FIG. 2, which includes:
步骤 201、在第一 SIP分发代理装置无法处理接收到的业务请求时,将所 述业务请求移交至第二 SIP分发代理装置;  Step 201: When the first SIP distribution proxy device is unable to process the received service request, handing over the service request to the second SIP distribution proxy device;
本步骤中,当第一 SIP分发代理装置正常时, SS发出 SIP消息到第一 SIP 分发代理装置, 此时要看分发策略需要分发到的主应用服务器(为了描述方 便,将第一 SIP分发代理装置下的应用服务器称为主应用服务器, 以第二 SIP 分发代理装置下与该主应用服务器互为备份设备的应用服务器为备份的应用 服务器; 实际上, 第一 SIP分发代理装置下的应用服务器和第二 SIP分发代 理装置下的应用服务器互为备份设备, 对于第二 SIP分发代理装置下的应用 服务器来说,第一 SIP分发代理装置下的应用服务器亦为备份的应用服务器) 是否正常, 如果正常则分发到的主应用服务器, 否则分发到备份的应用服务 器处理。  In this step, when the first SIP distribution agent device is normal, the SS sends a SIP message to the first SIP distribution agent device, and at this time, it depends on the main application server to which the distribution policy needs to be distributed (for convenience of description, the first SIP distribution agent is used for convenience of description) The application server under the device is called the main application server, and the application server that is the backup device of the second SIP distribution agent device and the main application server is the backup application server; in fact, the application server under the first SIP distribution agent device The application server under the second SIP distribution agent device is a backup device, and the application server under the first SIP distribution agent device is also the backup application server. If it is normal, it will be distributed to the main application server, otherwise it will be distributed to the backup application server for processing.
当主 SIP分发代理装置异常时, SS发出 SIP消息到第二 SIP分发代理装 置, 此时看分发策略需要分发到的主应用服务器是否正常, 如果正常则分发 到的主应用服务器, 否则分发到备份的应用服务器处理。  When the primary SIP distribution agent device is abnormal, the SS sends a SIP message to the second SIP distribution agent device, and at this time, it is normal whether the primary application server to which the distribution policy needs to be distributed is normal, and if it is normal, the primary application server is distributed, otherwise it is distributed to the backup. Application server processing.
具体的, 所述业务请求具体为 IMS网络或 NGN网络向所述第一 SIP分 发代理装置发出的呼入请求, 所述在第一 SIP分发代理装置无法处理接收到 的业务请求时, 将所述业务请求移交至第二 SIP分发代理装置具体为: 在所述第一 SIP分发代理装置异常时, 所述第一 SIP分发代理装置不对 所述 IMS网络或 NGN网络向所述第一 SIP分发代理装置发出的链路检测请 求进行响应, 以指示所述 IMS网络或 NGN网络向响应所述链路检测请求的 所述第二 SIP分发代理装置发送呼入请求 Specifically, the service request is specifically an incoming call request sent by the IMS network or the NGN network to the first SIP distribution proxy device, where the first SIP distribution proxy device cannot process the received request. When the service request is made, the handover of the service request to the second SIP distribution agent device is specifically: when the first SIP distribution proxy device is abnormal, the first SIP distribution proxy device does not target the IMS network or the NGN network The link detection request sent by the first SIP distribution proxy device responds to instruct the IMS network or the NGN network to send an incoming call request to the second SIP distribution proxy device that responds to the link detection request
或, 所述业务请求具体为 IMS网络或 NGN网络向所述第一 SIP分发代 理装置发出的呼入请求, 所述第一 SIP分发代理装置在无法处理接收到的业 务请求时, 将所述业务请求移交至第二 SIP分发代理装置具体为:  Or the service request is specifically an incoming call request sent by the IMS network or the NGN network to the first SIP distribution proxy device, where the first SIP distribution proxy device fails to process the received service request The request for handover to the second SIP distribution agent device is specifically:
在所述第一 SIP分发代理装置下的全部应用服务器异常时, 通过软交换 将所述呼入请求切换到所述第二 SIP分发代理装置。  When all application servers under the first SIP distribution agent device are abnormal, the incoming call request is switched to the second SIP distribution agent device by softswitch.
或, 所述业务请求具体为 IMS网络或 NGN网络向所述第一 SIP分发代 理装置发出的呼入请求, 所述在第一 SIP分发代理装置无法处理接收到的业 务请求时, 将所述业务请求移交至第二 SIP分发代理装置具体为:  Or the service request is specifically an incoming call request sent by the IMS network or the NGN network to the first SIP distribution proxy device, where the first SIP distribution proxy device cannot process the received service request, The request for handover to the second SIP distribution agent device is specifically:
在所述第一 SIP分发代理装置下处理所述呼入请求的应用服务器异常时, 将所述呼入请求转发至所述第二 SIP服务器下所述应用服务器的备用设备。  And when the application server that processes the incoming call request is abnormal under the first SIP distribution proxy device, forwarding the incoming call request to a backup device of the application server under the second SIP server.
或, 所述业务请求具体为所述第一 SIP分发代理装置下的应用服务器发 出的主动外呼,所述在第一 SIP分发代理装置无法处理接收到的业务请求时, 将所述业务请求移交至第二 SIP分发代理装置具体为:  Or the service request is specifically an active outbound call sent by the application server under the first SIP distribution proxy device, and the service request is handed over when the first SIP distribution proxy device cannot process the received service request. The second SIP distribution agent device is specifically:
在所述应用服务器检测到所述第一 SIP分发代理装置异常时(如对链路 检测请求无响应) , 所述应用服务器向所述第二 SIP分发代理装置发送呼出 请求。  When the application server detects that the first SIP distribution agent device is abnormal (such as no response to the link detection request), the application server sends an outgoing call request to the second SIP distribution agent device.
步骤 202、 所述第二 SIP分发代理装置处理所述第一 SIP分发代理装置 移交的业务请求;  Step 202: The second SIP distribution proxy device processes the service request handed over by the first SIP distribution proxy device.
本步骤中, 第二 SIP分发代理装置或其下的应用服务器完成第一 SIP分 发代理装置移交的业务请求。  In this step, the second SIP distribution agent device or the application server under it completes the service request handed over by the first SIP distribution agent device.
下面结合附图, 对本发明的实施例二进行说明。  Embodiment 2 of the present invention will be described below with reference to the accompanying drawings.
本发明实施例提供了一种网络容灾系统, 为了解决上述问题, 本发明还 提供了一种由 SIP分发代理装置实现的容灾系统, 如图 3所示, 包括: 两地局点的 SIP分发代理装置和应用服务器分别若干。 A局点包括 SIP 分发代理装置 1、 应用服务器 1和应用服务器 2 (实际上 SIP分发代理装置下 的应用服务器会更多, 此处为了方便说明, 以两个应用服务器为例)组成一 个系统,完成业务处理; 另一地 B局点有 SIP分发代理装置 2、应用服务器 Γ 和应用服务器 2,, 组成一个系统, 完成业务处理。 The embodiment of the present invention provides a network disaster tolerance system. To solve the above problem, the present invention further provides a disaster recovery system implemented by a SIP distribution agent device. As shown in FIG. 3, the method includes: There are several SIP distribution agent devices and application servers in the two sites. The A site includes the SIP distribution agent device 1, the application server 1 and the application server 2 (in fact, the application server under the SIP distribution agent device is more, here for convenience of description, taking two application servers as an example) to form a system. The business process is completed; another site B has a SIP distribution agent device 2, an application server, and an application server 2, which form a system to complete the business process.
其中, SIP分发代理装置上有 SIP分发代理装置链路检测模块, SIP分发 代理装置始终需要和其后的应用服务器以及这些应用服务器的备份应用服务 器保持链路检测机制, 获取应用服务器的正常与否的信息。  The SIP distribution agent device has a SIP distribution agent device link detection module, and the SIP distribution agent device always needs to maintain a link detection mechanism with the subsequent application server and the backup application server of the application server to obtain the normality of the application server. Information.
其中, 应用服务器上有 OPTIONS链路检测机制, 保持对到达所有 SS的 链路进行检测, 或者所有链路的正常与否的信息。  The application server has an OPTIONS link detection mechanism, which maintains information about detecting links to all SSs, or whether all links are normal or not.
优选的, 可以在 A地界面上配置 SIP分发设备 1的备份 SIP分发代理装 置是 SIP分发设备 Γ ,应用服务器 1 的备份应用服务器配置成应用服务器 Γ , 应用服务器 2 的备份应用服务器配置成应用服务器 2'; 同时在 B地, SIP分 发设备 1 '的备份 SIP分发代理装置是 SIP分发设备 1 , 应用服务器 1 ' 的备份 应用服务器配置成应用服务器 1 , 应用服务器 2' 的备份应用服务器配置成 应用服务器 2。 SIP分发设备 1对应本发明实施例一中的第一 SIP分发代理装 置 101 ; SIP分发设备 1,对应本发明实施例一中的第二 SIP分发代理装置 103。  Preferably, the backup SIP distribution agent device that can configure the SIP distribution device 1 on the interface A is a SIP distribution device, the backup application server of the application server 1 is configured as an application server, and the backup application server of the application server 2 is configured as an application server. 2'; At the same time, in B, the backup SIP distribution agent device of the SIP distribution device 1' is the SIP distribution device 1, the backup application server of the application server 1' is configured as the application server 1, and the backup application server of the application server 2' is configured as an application. Server 2. The SIP distribution device 1 corresponds to the first SIP distribution agent device 101 in the first embodiment of the present invention; the SIP distribution device 1 corresponds to the second SIP distribution agent device 103 in the first embodiment of the present invention.
本发明实施例提供了可靠的安全备份机制, 在不增加设备的情况下, 两 地局点的应用服务器和 SIP分发代理装置相互备份, 在出现灾情时, 自动进 行切换, 保证业务的正常开展, 以最大限度的保证网络的正常运行。  The embodiment of the present invention provides a reliable security backup mechanism. When the device is not added, the application server and the SIP distribution proxy device of the two sites back up each other, and automatically switch when the disaster occurs, so as to ensure the normal development of the service. In order to maximize the normal operation of the network.
下面结合附图和具体实施详细说明本发明的技术方案, 以更进一步了解 本发明的目的, 方案和功效, 但并非作为对本发明所附权利要求保护范围的 限制。  The technical solutions of the present invention are described in detail below with reference to the accompanying drawings and specific embodiments, which are not to be construed as limiting the scope of the invention.
参考图 1 ,本发明中以简单的组网来说明由 SIP分发代理装置实现业务容 灾。 某地 A局点有 SIP分发代理装置 1和应用服务器 1 , 应用服务器 2组成 一个系统, 完成业务处理, 另一地 B局点有 SIP分发代理装置 2和应用服务 器 Γ , 应用服务器 2,, 组成一个系统, 完成业务处理。  Referring to FIG. 1, in the present invention, a simple networking is used to describe the service disaster recovery by the SIP distribution agent device. A site A has a SIP distribution agent device 1 and an application server 1, the application server 2 forms a system, completes the service processing, and another site B has a SIP distribution agent device 2 and an application server Γ, an application server 2, A system that completes business processing.
SIP分发代理装置 1始终需要和应用服务器 1 , 应用服务器 2, 应用服务 器 Γ , 应用服务器 2'保持链路检测机制(通过链路检测请求和响应)。 同样 地, SIP分发代理装置 2也始终需要和应用服务器 1 , 应用服务器 2, 应用服 务器 Γ , 应用服务器 2'保持链路检测机制。 SIP distribution agent device 1 always needs and application server 1, application server 2, application service The application server 2' maintains a link detection mechanism (detecting requests and responses through links). Similarly, the SIP distribution agent device 2 also always needs to maintain a link detection mechanism with the application server 1, the application server 2, the application server, and the application server 2'.
在一般正常工作时, A、 B局点都各自工作, 互不干扰; 当出现异常时, 消息将由与发生故障的局点互为备份的另一局点处理。  In normal normal operation, the A and B stations work independently and do not interfere with each other; when an abnormality occurs, the message will be processed by another site that is backed up with the failed site.
参考图 4, 进一步说明在上述网络容灾系统中, SIP分发代理装置使用本 发明实施例提供的网络容灾方法实现的 SS呼入时的容灾处理流程:  Referring to FIG. 4, the disaster recovery processing procedure of the SS incoming call implemented by the SIP distribution proxy device in the network disaster tolerance system by using the network disaster tolerance method provided by the embodiment of the present invention is further described:
场景: IMS或者 NGN环境呼入请求, 正常时呼入到 A局点为例。  Scenario: An IMS or NGN environment call-in request, for example, an incoming call to the A-office point.
殳设 A地发生地震, A局点的设备有损坏, 其中, 又分为 SIP分发代理 装置 1异常, 应用服务器 1 , 2可能异常的情况; SIP分发代理装置 1正常, 应用服务器 1 , 2全部异常的情况; SIP分发代理装置 1正常, 应用服务器 1 , 2部分损坏的情况。 其中, 201 , 202, 203 , 204是 SIP分发代理装置 1异常, 应用服务器 1 , 2可能异常的情况; 201 , 205, 206, 207是 SIP分发代理装置 1正常, 应用服务器 1 , 2全部异常的情况; 201 , 208, 209, 210, 211 , 212, 213是 SIP分发代理装置 1正常,应用服务器 1 , 2部分损坏的情况。 214, 215 为 SIP分发代理装置 1正常, 应用服务器 1 , 2也正常时的情况。  In the event of an earthquake in Area A, the equipment at Site A is damaged. Among them, the SIP distribution agent device 1 is abnormal, and the application server 1 and 2 may be abnormal. The SIP distribution agent device 1 is normal, and the application server 1 and 2 are all. Abnormal situation; the SIP distribution agent device 1 is normal, and the application server 1 and 2 are partially damaged. Wherein, 201, 202, 203, 204 are abnormalities of the SIP distribution agent device 1, and the application server 1 and 2 may be abnormal; 201, 205, 206, 207 are normal for the SIP distribution agent device 1, and the application servers 1 and 2 are all abnormal. Cases; 201, 208, 209, 210, 211, 212, 213 are cases where the SIP distribution agent device 1 is normal and the application server 1, 2 is partially damaged. 214, 215 is a case where the SIP distribution agent device 1 is normal, and the application server 1 and 2 are also normal.
首先, 对 SIP分发代理装置 1异常, 应用服务器 1 , 2可能异常的情况进 行说明:  First, the SIP distribution agent device 1 is abnormal, and the application servers 1 and 2 may be abnormal:
步骤 401 , IMS或者 NGN环境呼入请求, 正常时呼入到 A局点的 SIP分 发代理装置 1 ;  Step 401, an IMS or NGN environment call-in request, and a SIP dispatch agent device 1 that is normally called to the A-office point;
步骤 402,核心网设备 SS发送检测消息到 SIP分发代理装置 1 , SIP分发 代理装置 1没有应答, 说明 SIP分发代理装置 1已经损坏, 不能处理业务; 步骤 403 , SS发现 SIP分发代理装置 1 已经损坏, 自动将消息切换到 B 局点的 SIP分发代理装置 2;  Step 402, the core network device SS sends a detection message to the SIP distribution agent device 1, and the SIP distribution agent device 1 does not respond, indicating that the SIP distribution agent device 1 has been damaged and cannot process the service; Step 403, the SS finds that the SIP distribution agent device 1 has been damaged. , automatically switching the message to the SIP distribution agent device 2 of the B office;
步骤 404, SIP分发代理装置 2再按照策略分配把消息转给应用服务器 Γ 或者应用服务器 2,进行处理, 如果是应用服务器 Γ , 则看应用服务器 Γ是否 正常, 如果正常, 则应用服务器 Γ , 如果异常, 则其备份, 也就是应用服务 器 1处理; 对于应用服务器 2,也是如此。 下面, 对 SIP分发代理装置 1正常, 应用服务器 1 , 2全部损坏的情况进 行说明: Step 404, the SIP distribution agent device 2 further transfers the message to the application server or the application server 2 according to the policy allocation, and if it is the application server, the application server is normal. If it is normal, the application server Γ, if Abnormal, then its backup, that is, application server 1 processing; for application server 2, the same is true. Next, the case where the SIP distribution agent device 1 is normal and the application servers 1 and 2 are all damaged will be described:
步骤 401 , IMS或者 NGN环境呼入请求, 正常时呼入到 A局点的 SIP分 发代理装置 1 ;  Step 401, an IMS or NGN environment call-in request, and a SIP dispatch agent device 1 that is normally called to the A-office point;
步骤 405,核心网设备 SS发送检测消息到 SIP分发代理装置 1 , SIP分发 代理装置 1 自己本身是好的, 但是 SIP分发代理装置 1发现其后的应用服务 器全部没有心跳消息, 所以 SIP分发代理装置 1没有应答 SS的检测消息, SS 发现没有应答, 说明所有的应用服务器已经损坏, 情况相当于 SIP分发代理 装置 1已经损坏, 不能处理业务;  Step 405, the core network device SS sends a detection message to the SIP distribution agent device 1. The SIP distribution agent device 1 itself is good, but the SIP distribution agent device 1 finds that all subsequent application servers do not have heartbeat messages, so the SIP distribution agent device 1 The SS does not respond to the detection message, and the SS finds that there is no response, indicating that all the application servers have been damaged. The situation is equivalent to the SIP distribution agent device 1 being damaged and unable to process the service;
步骤 406,软交换发现 SIP分发代理装置 1后面的所有应用服务器已经损 坏, 自动将消息切换到 B局点的 SIP分发代理装置 2;  Step 406, the softswitch finds that all the application servers behind the SIP distribution proxy device 1 have been damaged, and automatically switches the message to the SIP distribution proxy device 2 of the B site;
步骤 407, SIP分发代理装置 2再按照能力分配把消息转给应用服务器 Γ 或者应用服务器 2,进行处理  Step 407, the SIP distribution agent device 2 transfers the message to the application server or the application server 2 according to the capability allocation, and performs processing.
下面, 对 SIP分发代理装置 1正常, 应用服务器 1 , 2部分损坏的情况进 行说明:  Next, the case where the SIP distribution agent device 1 is normal and the application server 1 and 2 are partially damaged is explained:
步骤 401 , IMS或者 NGN环境呼入请求, 正常时呼入到 A局点的 SIP分 发代理装置 1 ;  Step 401, an IMS or NGN environment call-in request, and a SIP dispatch agent device 1 that is normally called to the A-office point;
步骤 408,核心网设备 SS发送检测消息到 SIP分发代理装置 1 , SIP分发 代理装置 1 自己本身是好的, 但是 SIP分发代理装置 1发现其后的应用服务 器 1没有心跳消息, 应用服务器 2有心跳消息, 所以 SIP分发代理装置 1应 答 SS的检测消息, 告诉 SS, 自己 ( SIP分发代理装置 1 )可用, SIP分发代 理装置 1 自己判断出应用服务器 1损坏, 应用服务器 2正常;  Step 408, the core network device SS sends a detection message to the SIP distribution agent device 1. The SIP distribution agent device 1 itself is good, but the SIP distribution agent device 1 finds that the subsequent application server 1 has no heartbeat message, and the application server 2 has a heartbeat. Message, so the SIP distribution agent device 1 responds to the SS detection message, tells the SS that itself (the SIP distribution agent device 1) is available, and the SIP distribution agent device 1 itself determines that the application server 1 is damaged, and the application server 2 is normal;
步骤 409,软交换发现 SIP分发代理装置 1可用,将消息发送给 SIP分发 代理装置 1处理;  Step 409, the softswitch finds that the SIP distribution proxy device 1 is available, and sends the message to the SIP distribution proxy device 1 for processing;
步骤 410, SIP分发代理装置 1按照配置的分发策略进行查找可用的应用 服务器, 发现需要分配到应用服务器 1处理;  Step 410: The SIP distribution proxy device 1 searches for an available application server according to the configured distribution policy, and finds that it needs to be allocated to the application server 1 for processing;
步骤 411 , SIP分发代理装置 1本应该分发给应用服务器 1处理, 但是应 用服务器 1已经损坏, 所以找到备用的应用服务器 1,来处理该消息; 步骤 412, SIP分发代理装置 1按照配置的分发策略进行查找可用的应用 服务器, 发现需要分配到应用服务器 2处理; Step 411, the SIP distribution proxy device 1 should be distributed to the application server 1 for processing, but the application server 1 has been damaged, so the standby application server 1 is found to process the message; Step 412: The SIP distribution proxy device 1 searches for an available application server according to the configured distribution policy, and finds that it needs to be allocated to the application server 2 for processing;
步骤 413 , 应用服务器 2正常, 则应用服务器 2处理该消息。  Step 413: If the application server 2 is normal, the application server 2 processes the message.
下面, 对 SIP分发代理装置 1正常, 应用服务器 1 , 2也正常时的情况进 行说明:  Next, the case where the SIP distribution agent device 1 is normal and the application servers 1 and 2 are also normal is explained:
步骤 401 , IMS或者 NGN环境呼入请求, 正常时呼入到 A局点的 SIP分 发代理装置 1 ;  Step 401, an IMS or NGN environment call-in request, and a SIP dispatch agent device 1 that is normally called to the A-office point;
步骤 414,核心网设备 SS发送检测消息到 SIP分发代理装置 1 , SIP分发 代理装置 1 自己本身是好的, SIP分发代理装置 1发现其后的应用服务器 1 , 2也是好的, 即 A局点都正常, 这也是一般没有灾害时最常见的场景。  Step 414, the core network device SS sends a detection message to the SIP distribution agent device 1. The SIP distribution agent device 1 itself is good, and the SIP distribution agent device 1 finds that the subsequent application server 1 and 2 are also good, that is, the A site. Both are normal, which is the most common scenario when there is no disaster.
步骤 415, SIP分发代理装置 1则按照策略分发给应用服务器 1或者 2处 理。  In step 415, the SIP distribution agent device 1 distributes to the application server 1 or 2 according to the policy.
参考图 5, 进一步说明在本发明实施例提供的网络容灾系统中, SIP分发 代理装置实现应用服务器主动外呼时的容灾处理流程:  Referring to FIG. 5, the disaster recovery processing procedure when the SIP distribution proxy device implements the active outbound call of the application server in the network disaster recovery system provided by the embodiment of the present invention is further described:
步骤 501 , 核心网设备 SS发送 SIP请求消息到 SIP分发代理装置, 原则 上应该选择的是主 SIP分发代理装置, 即 SIP分发代理装置 1 , SIP分发代理 装置 Γ是备份;  Step 501: The core network device SS sends a SIP request message to the SIP distribution proxy device. In principle, the primary SIP distribution proxy device, that is, the SIP distribution proxy device 1 and the SIP distribution proxy device, should be selected;
步骤 502,核心网设备 SS发送检测消息到 SIP分发代理装置 1 , SIP分发 代理装置 1应答, 说明是正常的;  Step 502: The core network device SS sends a detection message to the SIP distribution proxy device 1, and the SIP distribution proxy device 1 responds, indicating that it is normal;
步骤 503 ,核心网设备 SS发送检测消息到 SIP分发代理装置 1 , SIP分发 代理装置 1没有应答, 说明是损坏的;  Step 503: The core network device SS sends a detection message to the SIP distribution proxy device 1, and the SIP distribution proxy device 1 does not respond, indicating that it is damaged;
步骤 504, 核心网设备 SS发现 SIP分发代理装置 1是正常的, 则将 SIP 请求消息发送到 SIP分发代理装置 1。  Step 504: The core network device SS discovers that the SIP distribution proxy device 1 is normal, and sends a SIP request message to the SIP distribution proxy device 1.
步骤 505, 核心网设备 SS发现 SIP分发代理装置 1是损坏的, 则将 SIP 请求消息发送到 SIP分发代理装置 Γ。  Step 505: The core network device SS discovers that the SIP distribution proxy device 1 is damaged, and sends the SIP request message to the SIP distribution proxy device.
步骤 506, 不管是 SIP分发代理装置 1还是 SIP分发代理装置 Γ , 将 SIP 请求消息外呼到 IMS或者 NGN网络, 从而由 SIP分发代理装置实现应用服 务器主动外呼时的容灾处理流程。 本发明的实施例提供的网络容灾方法, 可以在本发明的实施例所提供析 网络容灾系统中, 在第一 SIP分发代理装置无法处理接收到的业务请求时, 将所述业务请求移交至第二 SIP分发代理装置, 所述第一 SIP分发代理装置 和所述第二 SIP分发代理装置在正常工作之余互为备份设备, 并由所述第二 SIP分发代理装置处理所述第一 SIP分发代理装置移交的业务请求,实现了对 SIP分发代理装置异常的快速响应,解决了 SIP分发代理装置出现故障时导致 网络全局瘫痪的问题。在不增加设备的情况下, 两地局点的应用服务器和 SIP 分发代理装置相互备份, 在出现灾情时, 自动进行切换, 保证业务的正常开 展, 以最大限度的保证网络的正常运行。 Step 506, whether the SIP distribution proxy device 1 or the SIP distribution proxy device 外, calls the SIP request message to the IMS or the NGN network, so that the SIP distribution proxy device implements the disaster recovery processing flow when the application server actively calls out. The network disaster tolerance method provided by the embodiment of the present invention may be used to handover the service request when the first SIP distribution proxy device cannot process the received service request in the network disaster tolerance system provided by the embodiment of the present invention. Up to the second SIP distribution agent device, the first SIP distribution agent device and the second SIP distribution agent device are mutually backup devices in normal operation, and the first SIP distribution agent device processes the first The service request handed over by the SIP distribution agent device realizes a quick response to the abnormality of the SIP distribution agent device, and solves the problem that the network distribution network device is globally paralyzed when the SIP distribution agent device fails. The application server and the SIP distribution agent device of the two sites are backed up without any additional equipment. When a disaster occurs, the switchover is automatically performed to ensure the normal operation of the service to ensure the normal operation of the network.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计 算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中, 所述计算机程序在相应的硬件平台上(如系统、 设备、 装置、 器件等)执行, 在执行时, 包括方法实施例的步骤之一或其组合。 It will be understood by those skilled in the art that all or part of the steps of the above embodiments may be implemented using a computer program flow, which may be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地, 上述实施例的全部或部分步骤也可以使用集成电路来实现, 这 些步骤可以被分别制作成一个个集成电路模块, 或者将它们中的多个模块或 步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬 件和软件结合。  Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any particular combination of hardware and software.
上述实施例中的各装置 /功能模块 /功能单元可以釆用通用的计算装置来 实现, 它们可以集中在单个的计算装置上, 也可以分布在多个计算装置所组 成的网络上。  The various devices/function modules/functional units in the above embodiments may be implemented using a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的各装置 /功能模块 /功能单元以软件功能模块的形式实现 并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。 上述提到的计算机可读取存储介质可以是只读存储器, 磁盘或光盘等。  Each device/function module/functional unit in the above embodiments can be stored in a computer readable storage medium when implemented in the form of a software function module and sold or used as a standalone product. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想 到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范 围应以权利要求所述的保护范围为准。 工业实用性 本发明实施例提供了一种网络容灾方法和系统, 在第一 SIP分发代理装 置无法处理接收到的业务请求时, 将所述业务请求移交至第二 SIP分发代理 装置, 所述第一 SIP分发代理装置和所述第二 SIP分发代理装置在正常工作 之余互为备份设备, 并由所述第二 SIP分发代理装置处理所述第一 SIP分发 代理装置移交的业务请求, 实现了对 SIP分发代理装置异常的快速响应, 解 决了 SIP分发代理装置出现故障时导致网络全局瘫痪的问题。 Any changes or substitutions that are readily conceivable within the scope of the present invention are intended to be included within the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims. Industrial Applicability The present invention provides a network disaster tolerance method and system, and when the first SIP distribution proxy device cannot process the received service request, handing over the service request to the second SIP distribution proxy device, The first SIP distribution agent device and the second SIP distribution agent device are mutually backup devices in normal operation, and the second SIP distribution agent device processes the service request handed over by the first SIP distribution agent device to implement The quick response to the abnormality of the SIP distribution agent device solves the problem that the network is globally paralyzed when the SIP distribution agent device fails.

Claims

权 利 要 求 书 Claim
1、 一种网络容灾方法, 包括:  1. A network disaster recovery method, including:
在第一会话初始化协议( SIP )分发代理装置无法处理接收到的业务请求 时, 将所述业务请求移交至第二 SIP分发代理装置, 所述第一 SIP分发代理 装置和所述第二 SIP分发代理装置在正常工作之余互为备份设备;  Handling the service request to a second SIP distribution agent device, the first SIP distribution agent device and the second SIP distribution when the first Session Initiation Protocol (SIP) distribution agent device is unable to process the received service request The proxy devices are backup devices of each other in normal work;
所述第二 SIP分发代理装置处理所述第一 SIP分发代理装置移交的业务 请求。  The second SIP distribution agent device processes the service request handed over by the first SIP distribution agent device.
2、 根据权利要求 1所述的网络容灾方法, 其中, 所述第一 SIP分发代理 装置下的多个应用服务器与所述第二 SIP分发代理装置下的多个应用服务器 ——对应互为备份设备。  The network disaster tolerance method according to claim 1, wherein the plurality of application servers under the first SIP distribution agent device and the plurality of application servers under the second SIP distribution agent device are mutually Backup device.
3、根据权利要求 1或 2所述的网络容灾方法, 其中, 所述业务请求为 IP 多媒体系统(IMS ) 网络或下一代网络(NGN ) 网络向所述第一 SIP分发代 理装置发出的呼入请求, 所述在第一 SIP分发代理装置无法处理接收到的业 务请求时, 将所述业务请求移交至第二 SIP分发代理装置为:  The network disaster tolerance method according to claim 1 or 2, wherein the service request is a call sent by the IP Multimedia System (IMS) network or a Next Generation Network (NGN) network to the first SIP distribution proxy device. In the request, when the first SIP distribution agent device is unable to process the received service request, handing over the service request to the second SIP distribution agent device is:
在所述第一 SIP分发代理装置异常时, 所述第一 SIP分发代理装置不对 所述 IMS网络或 NGN网络向所述第一 SIP分发代理装置发出的链路检测请 求进行响应, 以指示所述 IMS网络或 NGN网络向响应所述链路检测请求的 所述第二 SIP分发代理装置发送呼入请求。  When the first SIP distribution proxy device is abnormal, the first SIP distribution proxy device does not respond to the link detection request sent by the IMS network or the NGN network to the first SIP distribution proxy device to indicate the The IMS network or the NGN network sends an incoming call request to the second SIP distribution agent device responsive to the link detection request.
4、根据权利要求 1或 2所述的网络容灾方法,其中,所述业务请求为 IMS 网络或 NGN网络向所述第一 SIP分发代理装置发出的呼入请求, 所述第一 The network disaster tolerance method according to claim 1 or 2, wherein the service request is an incoming call request sent by the IMS network or the NGN network to the first SIP distribution proxy device, the first
SIP分发代理装置在无法处理接收到的业务请求时,将所述业务请求移交至第 二 SIP分发代理装置为: When the SIP distribution agent device is unable to process the received service request, the service request is handed over to the second SIP distribution agent device as:
在所述第一 SIP分发代理装置下的全部应用服务器异常时, 通过软交换 将所述呼入请求切换到所述第二 SIP分发代理装置。  When all application servers under the first SIP distribution agent device are abnormal, the incoming call request is switched to the second SIP distribution agent device by softswitch.
5、 根据权利要求 2 所述的网络容灾方法, 其中, 所述业务请求为 IMS 网络或 NGN网络向所述第一 SIP分发代理装置发出的呼入请求,所述在第一 SIP分发代理装置无法处理接收到的业务请求时,将所述业务请求移交至第二 SIP分发代理装置为: 在所述第一 SIP分发代理装置下处理所述呼入请求的应用服务器异常时, 将所述呼入请求转发至所述第二 SIP服务器下所述应用服务器的备用设备。 The network disaster tolerance method according to claim 2, wherein the service request is an incoming call request sent by the IMS network or the NGN network to the first SIP distribution proxy device, where the first SIP distribution proxy device When the received service request cannot be processed, the transfer of the service request to the second SIP distribution agent device is: And when the application server that processes the incoming call request is abnormal under the first SIP distribution proxy device, forwarding the incoming call request to a backup device of the application server under the second SIP server.
6、 根据权利要求 1或 2所述的网络容灾方法, 其中, 所述业务请求为所 述第一 SIP分发代理装置下的应用服务器发出的主动外呼, 所述在第一 SIP 分发代理装置无法处理接收到的业务请求时,将所述业务请求移交至第二 SIP 分发代理装置为:  The network disaster tolerance method according to claim 1 or 2, wherein the service request is an active outbound call sent by an application server under the first SIP distribution proxy device, and the first SIP distribution proxy device When the received service request cannot be processed, the service request is handed over to the second SIP distribution agent device:
在所述应用服务器检测到所述第一 SIP分发代理装置异常时, 所述应用 服务器向所述第二 SIP分发代理装置发送呼出请求。  When the application server detects that the first SIP distribution agent device is abnormal, the application server sends an outgoing call request to the second SIP distribution agent device.
7、 根据权利要求 1或 2所述的网络容灾方法, 其中, 该方法还包括: 所述第一 SIP分发代理装置通过链路检测机制检测与所述第二 SIP分发 代理装置下的多个应用服务器的连接情况, 所述第二 SIP分发代理装置通过 链路检测机制检测与所述第一 SIP分发代理装置下的多个应用服务器的连接 情况。  The network disaster tolerance method according to claim 1 or 2, wherein the method further comprises: the first SIP distribution proxy device detecting multiples under the second SIP distribution proxy device by using a link detection mechanism The connection situation of the application server, the second SIP distribution agent device detects a connection with a plurality of application servers under the first SIP distribution agent device by using a link detection mechanism.
8、 一种网络容灾系统, 包括第一 SIP分发代理装置和第二 SIP分发代理 装置, 所述第一 SIP分发代理装置和所述第二 SIP分发代理装置在正常工作 之余互为备份设备;  8. A network disaster tolerance system, comprising: a first SIP distribution agent device and a second SIP distribution agent device, wherein the first SIP distribution agent device and the second SIP distribution agent device are mutually backup devices in normal operation ;
所述第一 SIP分发代理装置设置为: 在无法处理接收到的业务请求时, 将所述业务请求移交至所述第二 SIP分发代理装置;  The first SIP distribution proxy device is configured to: when the unable to process the received service request, hand over the service request to the second SIP distribution proxy device;
所述第二 SIP分发代理装置设置为: 处理所述第一 SIP分发代理装置移 交的业务请求。  The second SIP distribution agent device is configured to: process the service request handed over by the first SIP distribution agent device.
9、 根据权利要求 8所述的网络容灾系统, 其中, 该系统还包括所述第一 SIP分发代理装置下的多个应用服务器和所述第二 SIP分发代理装置下的多 个应用服务器, 所述第一 SIP分发代理装置下的多个应用服务器与所述第二 SIP分发代理装置下的多个应用服务器一一对应互为备份设备。  The network disaster tolerance system according to claim 8, wherein the system further comprises a plurality of application servers under the first SIP distribution agent device and a plurality of application servers under the second SIP distribution agent device, The plurality of application servers under the first SIP distribution agent device and the plurality of application servers under the second SIP distribution agent device are in a one-to-one correspondence with each other as a backup device.
10、 根据权利要求 9所述的网络容灾系统, 其中, 所述第一 SIP分发代 理装置是设置为: 在所述第一 SIP分发代理装置异常时, 所述第一 SIP分发 代理装置不对所述 IMS网络或 NGN网络向所述第一 SIP分发代理装置发出 的的链路检测请求进行响应, 以指示所述 IMS网络或 NGN网络向响应所述 链路检测请求的所述第二 SIP分发代理装置发送呼入请求; 或, 在所述第一 SIP分发代理装置下的全部应用服务器异常时, 通过软交换 将所述呼入请求切换到所述第二 SIP分发代理装置; 或, The network disaster tolerance system according to claim 9, wherein the first SIP distribution proxy device is configured to: when the first SIP distribution proxy device is abnormal, the first SIP distribution proxy device is not correct Reacting to the link detection request sent by the IMS network or the NGN network to the first SIP distribution proxy device to indicate that the IMS network or the NGN network responds to the response The second SIP distribution proxy device of the link detection request sends an incoming call request; or, when all application servers under the first SIP distribution proxy device are abnormal, switching the incoming call request to the a second SIP distribution agent device; or,
在所述第一 SIP分发代理装置下处理所述呼入请求的应用服务器异常时, 将所述呼入请求转发至所述第二 SIP服务器下所述应用服务器的备用设备。  And when the application server that processes the incoming call request is abnormal under the first SIP distribution proxy device, forwarding the incoming call request to a backup device of the application server under the second SIP server.
11、 根据权利要求 9所述的网络容灾系统, 其中,  11. The network disaster tolerance system according to claim 9, wherein
所述第一 SIP分发代理装置下的应用服务器设置为: 在所述应用服务器 检测到所述第一 SIP分发代理装置异常时, 向所述第二 SIP分发代理装置发 送呼出请求。  The application server under the first SIP distribution agent device is configured to: when the application server detects that the first SIP distribution agent device is abnormal, send an outgoing call request to the second SIP distribution agent device.
12、 根据权利要求 8至 11任一所述的网络容灾系统, 其中,  The network disaster tolerance system according to any one of claims 8 to 11, wherein
所述第一 SIP分发代理装置还设置为: 通过链路检测机制检测与所述第 二 SIP分发代理装置下的多个应用服务器的连接情况;  The first SIP distribution proxy device is further configured to: detect, by using a link detection mechanism, a connection with multiple application servers under the second SIP distribution proxy device;
所述第二 SIP分发代理装置还设置为: 通过链路检测机制检测与所述第 一 SIP分发代理装置下的多个应用服务器的连接情况。  The second SIP distribution proxy device is further configured to: detect a connection with a plurality of application servers under the first SIP distribution proxy device by a link detection mechanism.
PCT/CN2012/072342 2011-07-21 2012-03-14 Network disaster recovery method and system WO2012155629A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110204954.0 2011-07-21
CN201110204954.0A CN102891833B (en) 2011-07-21 2011-07-21 Network disaster tolerance method and system

Publications (1)

Publication Number Publication Date
WO2012155629A1 true WO2012155629A1 (en) 2012-11-22

Family

ID=47176238

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/072342 WO2012155629A1 (en) 2011-07-21 2012-03-14 Network disaster recovery method and system

Country Status (2)

Country Link
CN (1) CN102891833B (en)
WO (1) WO2012155629A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653574A (en) * 2020-12-11 2021-04-13 邦彦技术股份有限公司 Service disaster tolerance method and system based on IMS cluster application
CN115065723A (en) * 2022-08-17 2022-09-16 中航信移动科技有限公司 Data processing system for network disaster tolerance

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685501A (en) * 2013-12-06 2014-03-26 北京奇虎科技有限公司 Data processing method, device and system
CN104486305B (en) * 2014-12-03 2017-10-31 中国电子科技集团公司第三十研究所 A kind of sip server state transition sharing method based on business trigger mechanism
CN106452871A (en) * 2016-10-13 2017-02-22 安徽鼎集信息科技有限公司 High-availability disaster recovery system
CN110830753B (en) * 2019-10-16 2021-07-27 浙江华创视讯科技有限公司 Video conference signaling processing method and device, computer equipment and storage medium
CN112804406B (en) * 2019-11-14 2022-12-16 中国移动通信集团广东有限公司 Call bill processing method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043378A (en) * 2006-02-15 2007-09-26 软件股份公司 Fail-safe system for managing of client-server communication
US20080195718A1 (en) * 2007-02-06 2008-08-14 Jin Feng Hu Method, apparatus and system for processing a series of service messages
US20080282254A1 (en) * 2007-05-09 2008-11-13 Radware, Ltd. Geographic Resiliency and Load Balancing for SIP Application Services
CN101345760A (en) * 2008-08-01 2009-01-14 中兴通讯股份有限公司 System and method for implementing dynamic distribution of conversation inceptive protocol message

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7333482B2 (en) * 2000-12-22 2008-02-19 Interactive People Unplugged Ab Route optimization technique for mobile IP
US20060050648A1 (en) * 2004-09-09 2006-03-09 Microsoft Corporation Reducing storage requirement for route information
DE102005009107B3 (en) * 2005-02-28 2006-07-13 Siemens Ag Process for address solution of session initiation protocol SIP proxy in a network has peer to peer protocol with proxy server for information exchange
CN100589488C (en) * 2006-01-11 2010-02-10 华为技术有限公司 Network-grade sparing method and apparatus for conversation primary protocl application system
CN101163139B (en) * 2006-10-11 2010-12-15 国际商业机器公司 Method and equipment for refusing SIP message of redundancy retransmission
CN101277175B (en) * 2007-03-30 2012-02-29 国际商业机器公司 Method and device for improving conversation starting protocol server performance
CN101127766B (en) * 2007-09-24 2010-06-09 中兴通讯股份有限公司 Message processing method, device and IP communication system based on SIP protocol
US9112901B2 (en) * 2007-11-20 2015-08-18 Radware, Ltd. Method and system for providing connection resiliency
CN101183984B (en) * 2007-12-14 2011-11-09 华为技术有限公司 Network management system, management method and equipment
CN102177690B (en) * 2008-07-31 2014-09-03 泰克莱克股份有限公司 Methods, systems, and computer readable media for providing sedation service in a telecommunications network
CN101466109B (en) * 2009-01-14 2011-06-08 北京邮电大学 Communication system and method for WiMAX network management
CN101478571B (en) * 2009-01-19 2014-11-19 北京中星微电子有限公司 Network video monitoring system and system user authentication method thereof
CN102769537A (en) * 2012-04-12 2012-11-07 中兴通讯股份有限公司 Method, equipment and system utilizing broadband intelligent network to call service disaster

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043378A (en) * 2006-02-15 2007-09-26 软件股份公司 Fail-safe system for managing of client-server communication
US20080195718A1 (en) * 2007-02-06 2008-08-14 Jin Feng Hu Method, apparatus and system for processing a series of service messages
US20080282254A1 (en) * 2007-05-09 2008-11-13 Radware, Ltd. Geographic Resiliency and Load Balancing for SIP Application Services
CN101345760A (en) * 2008-08-01 2009-01-14 中兴通讯股份有限公司 System and method for implementing dynamic distribution of conversation inceptive protocol message

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653574A (en) * 2020-12-11 2021-04-13 邦彦技术股份有限公司 Service disaster tolerance method and system based on IMS cluster application
CN112653574B (en) * 2020-12-11 2023-07-04 邦彦技术股份有限公司 Service disaster recovery method and system based on IMS cluster application
CN115065723A (en) * 2022-08-17 2022-09-16 中航信移动科技有限公司 Data processing system for network disaster tolerance
CN115065723B (en) * 2022-08-17 2022-11-04 中航信移动科技有限公司 Data processing system for network disaster tolerance

Also Published As

Publication number Publication date
CN102891833B (en) 2017-03-29
CN102891833A (en) 2013-01-23

Similar Documents

Publication Publication Date Title
WO2012155629A1 (en) Network disaster recovery method and system
US7894334B2 (en) Hierarchical redundancy for a distributed control plane
US8914449B2 (en) Push messaging platform with high scalability and high availability
US20080285438A1 (en) Methods, systems, and computer program products for providing fault-tolerant service interaction and mediation function in a communications network
US20080014961A1 (en) Methods, systems, and computer program products for providing geographically diverse IP multimedia subsystem (IMS) instances
WO2015007096A1 (en) Switching method and apparatus for main and standby devices
EP2661118B1 (en) Communication method, device and system based on base station control apparatus group
TWI410084B (en) Intelligent failover in a load-balanced networking environment
WO2008014696A1 (en) Method and apparatus for realizing communication take-over
CA2743680C (en) Method and system for fail-safe call survival
WO2011110134A2 (en) Method, device and broadband access server system for load share
JP2013511883A (en) System and method for handoff maintenance
US8559940B1 (en) Redundancy mechanisms in a push-to-talk realtime cellular network
CA2745824C (en) Registering an internet protocol phone in a dual-link architecture
KR20200072941A (en) Method and apparatus for handling VRRP(Virtual Router Redundancy Protocol)-based network failure using real-time fault detection
CN111526490B (en) AS service implementation system based on IMS network
KR20130085510A (en) Ip-pbx cluster system and method of implementing thereof
WO2009015613A1 (en) Method and device for implementing disaster recovery
US8089980B2 (en) Method for protection switching of geographically separate switching systems
WO2009139306A1 (en) Communication system and redundant configuration management method
Raza et al. Uninterruptible IMS: Maintaining Users Access During Faults in Virtualized IP Multimedia Subsystem
EP2192743B1 (en) A method and a system for failure protection of layer 2 control connection
EP2456165B1 (en) Server failures in a dual link telephony server architecture
JP2023033935A (en) Communication system, communication method, and communication program
JP2006254111A (en) Ip telephone system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12785274

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12785274

Country of ref document: EP

Kind code of ref document: A1