WO2012083775A1 - Method and device for implementing off-site disaster recovery in ims network - Google Patents

Method and device for implementing off-site disaster recovery in ims network Download PDF

Info

Publication number
WO2012083775A1
WO2012083775A1 PCT/CN2011/082481 CN2011082481W WO2012083775A1 WO 2012083775 A1 WO2012083775 A1 WO 2012083775A1 CN 2011082481 W CN2011082481 W CN 2011082481W WO 2012083775 A1 WO2012083775 A1 WO 2012083775A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
service
ass
normal
modulus
Prior art date
Application number
PCT/CN2011/082481
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 中兴通讯股份有限公司
Priority to BR112013015629-5A priority Critical patent/BR112013015629B1/en
Publication of WO2012083775A1 publication Critical patent/WO2012083775A1/en

Links

Classifications

    • 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/1016IP multimedia subsystem [IMS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/90Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]

Definitions

  • the present invention relates to an IP Multimedia Subsystem (IMS), and more particularly to a method and apparatus for implementing remote disaster recovery in an IMS network.
  • IMS IP Multimedia Subsystem
  • IMS In order to meet the needs of multimedia communication, the 3rd Generation Partnership Project (3GPP) organization introduced IMS on the basis of the original packet bearer network. IMS can not only provide traditional voice services to users, but also provide users with rich multimedia experience.
  • 3GPP 3rd Generation Partnership Project
  • FIG. 1 shows the basic architecture of an IMS network.
  • the main network 1 IMS network element comprising: a call session control function (CSCF, Call Session Control Function) , a home subscriber server (HSS, Home Subscriber Server), application servers (AS, Application Server) 0 CSCF divided Three types: Proxy CSCF (P-CSCF, Proxy-Call Session Control Function), Query CSCF (I-CSCF, Interrogating-Call Session Control Function), and Service CSCF (S-CSCF, Serving-Call Session Control Function) 0 P -
  • the CSCF can be in the access network to which the user belongs, as the first contact network element for the user to access the IMS network, and forward the SIP (Session Initiation Protocol) signaling of the user to the IMS core network (in the IMS network).
  • SIP Session Initiation Protocol
  • the IMS core network includes network elements I-CSCF, S-CSCF, HSS, AS).
  • the I-CSCF (not shown) implements information hiding within the network and supports network security.
  • the S-CSCF implements basic call control functions and provides an interface between the S-CSCF and the AS.
  • the AS provides various services to users, such as basic voice services, as well as video services and supplementary services.
  • the HSS records the subscription data of each user in the IMS network (the subscription data includes the user information and service data of the user), cooperates with the CSCF to implement the routing function, and provides the authentication and authorization functions. use
  • the subscriber subscription data is downloaded from the HSS to the S-CSCF when the user registers, and the service data is downloaded to the AS for the AS to complete the user service processing.
  • the user subscription data includes the user's service triggering rule (IFC, Initial Filter Criteria), and the IFC contains the address information of the AS providing the service.
  • IFC Initial Filter Criteria
  • the hardware and software components inside the device adopt the backup mechanism and support large-capacity users and network security through distributed design (meaning that multiple device components with the same function work simultaneously). Not only the important hardware and software components inside the device are backed up locally but also in a distributed design.
  • all important devices often use off-site distributed deployment and remote backup mechanism (often called remote disaster recovery mechanism).
  • IMS technology is an emerging technology, and most telephone users still implement communication services through existing communication networks.
  • Various common communication networks for voice and video communication include: Traditional Public Switched Telephone Network (PSTN), Traditional Public Land Mobile Network (PLMN), Intelligent Network, VOIP (such as H.323 protocol, softswitch technology) and so on.
  • PSTN Public Switched Telephone Network
  • PLMN Traditional Public Land Mobile Network
  • Intelligent Network Intelligent Network
  • VOIP such as H.323 protocol, softswitch technology
  • the 3GPP organization believes that the goal of the development of the IMS core network is to access all users of the existing network, that is, all existing users access the IMS core network to enjoy the communication service. This requirement means that the user capacity that the IMS core network needs to support will be very large. , which is equivalent to the sum of users of all current voice and video communication networks, that is, devices in the IMS core network need to support hundreds of millions of users.
  • a single device supports hundreds of millions of users in the existing computer technology.
  • Equipment vendors and network operators often use multiple devices to support a part of users to achieve the goal of supporting large-capacity users.
  • multiple devices The networking mode also needs to support the remote disaster recovery mechanism.
  • AS is an important device in the IMS core network. Most services in the IMS network need to be processed by the AS. Therefore, the AS needs to consider supporting large-capacity users and complete remote disaster recovery mechanisms on the group network. Most of the services processed by the AS are forwarded by the S-CSCF.
  • AS pool There is a networking mode of AS, called AS pool (POOL) networking, and multiple ASs form a POOL, as shown in Figure 2.
  • POOL networking mode of AS
  • the AS POOL networking mode is characterized in that user services in the IMS network are jointly assumed by multiple ASs, so that large-capacity users can be supported and network security can be improved.
  • the S-CSCF searches for an AS according to the user's IFC to implement user services, and the user's IFC includes an AS name (AS Name).
  • the S-CSCF selects one of the real AS host names and forwards the call request to the selected AS.
  • AS.C0M.CN which is a virtual AS name.
  • DNS Domain Name System
  • the S-CSCF When the S-CSCF receives a registration request or a call request from a certain user, the S-CSCF learns that the AS Name is AS.COM.CN through the IFC of the user, and then learns that the AS.COM.CN corresponds to three hosts by querying the DNS. Name, then the S-CSCF randomly selects an AS and forwards the registration request or call request to the selected AS.
  • the S-CSCF will identify the public user of the user.
  • PUI Public User Identity Maps to an AS using a hashing algorithm.
  • the S-CSCF can automatically generate the correspondence between the AS and the modulus as shown in Table 2.
  • a user can establish a affiliation relationship with an AS (when the algorithm is unchanged), so multiple call requests of the same user must be forwarded to the same AS.
  • One of the starting points of the AS POOL networking is to improve the security of the network.
  • the user services carried by these ASs can be taken over by the other normal ASs. From the perspective of the entire network, Provide business to all users.
  • the S-CSCF distribution algorithm must support the scenario in which the AS in the AS POOL fails. There is a disaster recovery plan as follows:
  • the service of user A is originally handled by AS-1. After the failure of AS-1, the service of user A is taken over by other normal ASs (such as AS-3). The program can meet this requirement.
  • the main purpose of the present invention is to provide a method and device for implementing remote disaster recovery in an IMS network.
  • an AS in an AS POOL fails, the user originally assigned to the normal AS is not affected before and after the disaster recovery. .
  • a method for implementing remote disaster recovery in an IMS network where the IMS network includes a first server and an application server pool, and the method includes:
  • the first server forwards the service of the user that belongs to the failed AS to the normal AS.
  • the service of the user that belongs to the normal AS is forwarded to the AS that the user originally belongs to. .
  • the method specifically includes:
  • the first server When the first server receives the service of the user, the first server modulates the sum of the characteristics of the user to the weights of all the ASs in the application server pool to obtain a first modulus; the first server searches for the first The correspondence table obtains the first AS corresponding to the first modulo value, and forwards the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value, where the first correspondence table includes Correspondence between all ASs and modulus values;
  • the first server After forwarding the user's service, if the first server does not receive the response of the first AS, then The first server confirms that the first AS is faulty, and generates a second correspondence table including the correspondence between all normal ASs and the modulus values, and compares the feature information of the user to the sum of the weights of all normal ASs in the application server pool. Performing modulo to obtain a second modulus value;
  • the first server obtains the second AS corresponding to the second modulus by searching the second correspondence table, and forwards the service of the user corresponding to the second modulus to the second AS corresponding to the second modulus; if the first server does not Upon receiving the response of the second AS, the process of generating the second correspondence table is returned until the user's service is forwarded to the normal AS.
  • the method specifically includes:
  • the first server When the first server receives the service of the user, the first server modifies the sum of the characteristics of the user to the weights of all the ASs in the application server pool to obtain a first modulus; the first server searches for the first Corresponding relationship table obtains a first AS corresponding to the first modulus value, where the first correspondence relationship table includes a correspondence between all ASs and a modulus value;
  • the first server determines whether the first AS is one of the pre-acquired normal AS lists, and if yes, forwards the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value; otherwise,
  • the first server modulates the sum of the feature information of the user to all normal ASs in the application server pool to obtain a second modulus value
  • the first server obtains the second AS corresponding to the second modulo value by searching the second correspondence table, and forwards the service of the user corresponding to the second modulo value to the second AS corresponding to the second modulo value, where the second corresponding
  • the relationship table contains the correspondence between all normal AS and the modulus values.
  • the feature information of the user is the feature information of the calling user; when the called side service is processed, the feature information of the user is the feature information of the called user.
  • the first server is a serving call control entity or a proxy AS.
  • the feature information of the user is a public user identifier of the user or a user belongs to The identity of the access network.
  • An apparatus for implementing remote disaster recovery in an IMS network configured to: when an AS in an application server pool of an IMS network fails, forward the service of the user originally belonging to the failed AS to the normal AS; The service of the user in the normal AS is forwarded to the AS to which the user originally belongs.
  • the device includes: a first calculating module, a forwarding module, and a second computing module; wherein
  • a first calculating module configured to: when receiving a service of a user, modulo the feature information of the user to a sum of weights of all ASs in the application server pool to obtain a first modulo value; and a forwarding module, configured to pass Searching the first correspondence table to obtain the first AS corresponding to the first modulo value, and forwarding the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value, where the first correspondence table The corresponding relationship between all the ASs and the modulo value is included; after the user's service is forwarded, if the response of the first AS is not received, if the first AS fails, the second computing module is triggered;
  • a second calculation module configured to generate a second correspondence table including a correspondence between all normal ASs and a modulus value, and modulate the sum of the characteristics information of the user on all normal ASs in the application server pool, Obtaining a second modulus value;
  • the forwarding module is further configured to: obtain a second AS corresponding to the second modulo value by searching the second correspondence table, and forward the service of the user corresponding to the second modulo value to the second AS corresponding to the second modulo value; If the module does not receive the response from the second AS, the second computing module is triggered until the user's service is forwarded to the normal AS.
  • the device includes: a first calculating module, a searching module, a determining module, a forwarding module, and a second computing module;
  • a first calculating module configured to: when receiving a service of a user, modulo the feature information of the user to a sum of weights of all ASs in the application server pool to obtain a first modulus value; a searching module, configured to obtain a first corresponding to the first modulus by searching the first correspondence table
  • the first correspondence table includes a correspondence between all ASs and a modulus value
  • a judging module configured to determine whether the first AS is one of the pre-obtained normal AS lists, and if yes, the triggering forwarding module forwards the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value ; otherwise, trigger the second calculation module;
  • a second calculating module configured to modulo the sum of the feature information of the user to all normal ASs in the application server pool to obtain a second modulus value
  • the locating module is further configured to obtain a second AS corresponding to the second modulo value by searching the second correspondence table, where the second correspondence table includes a correspondence between all normal ASs and the modulo value;
  • the service of the user corresponding to the second modulus is forwarded to the second AS corresponding to the second modulus.
  • the feature information of the user is a public user identifier of the user or an identifier of the access network to which the user belongs.
  • the original attribution to the failure may be
  • the service of the user of the AS is forwarded to the normal AS; the service of the user originally assigned to the normal AS is forwarded to the AS to which the user originally belongs.
  • FIG. 1 is a basic architecture diagram of an IMS network in the prior art
  • FIG. 2 is a schematic diagram of a POOL networking mode of an AS in an IMS network in the prior art
  • FIG. 3 is a schematic flowchart of a proxy AS selecting an AS in the prior art
  • 4 is a flowchart of a method for implementing remote disaster recovery in an IMS network according to the present invention
  • FIG. 5 is a flowchart of a method for implementing remote disaster recovery in a second IMS network according to the present invention
  • FIG. 6 is a S-CSCF according to the present invention
  • Flowchart for selecting an AS in AS POOL
  • FIG. 7 is a structural diagram of an apparatus for implementing remote disaster recovery in an IMS network according to the present invention
  • FIG. 8 is a structural diagram of an apparatus for implementing remote disaster recovery in a second IMS network according to the present invention.
  • the basic idea of the present invention is that when there is an AS failure in the AS POOL, the first server forwards the service of the user originally belonging to the failed AS to the normal AS; and forwards the service originally attributed to the user of the normal AS to the user. Originally owned by the AS.
  • the first server is an S-CSCF or a proxy AS (Rep AS).
  • the user's characteristic information may be the user's PUI or the identity (ID) of the access network to which the user belongs.
  • the method for implementing remote disaster recovery in the first IMS network of the present invention includes: Step 401: When the S-CSCF receives a service of the user, the S-CSCF pairs the PUI of the user with all ASs in the AS POOL. The sum of the weights is modulo to obtain the first modulus value;
  • Step 402 The S-CSCF obtains a first AS corresponding to the first modulus by searching the first correspondence table, where the first correspondence table includes a correspondence between all ASs and a modulus value.
  • Step 403 The S-CSCF forwards the service of the user corresponding to the first modulus to the first AS corresponding to the first modulus.
  • step 404 If the S-CSCF receives the response from the first AS, the forwarding succeeds, and the process ends; otherwise, the process proceeds to step 404;
  • Step 404 If the S-CSCF does not receive the response of the first AS, the S-CSCF confirms that the first AS is faulty, and generates a second correspondence table including the correspondence between all the normal ASs and the modulus values.
  • Step 405 The S-CSCF modulates the sum of the weights of the user's PUI and all the normal ASs in the AS POOL to obtain a second modulus value.
  • Step 406 the S-CSCF obtains the second AS corresponding to the second modulus by searching the second correspondence table;
  • Step 407 The S-CSCF forwards the service of the user corresponding to the second modulus to the second AS corresponding to the second modulus.
  • the S-CSCF receives the response from the second AS, the forwarding is successful, and the process ends; otherwise, the process returns to step 404.
  • the method for implementing remote disaster recovery in the second IMS network of the present invention includes: Step 501: When the S-CSCF receives a service of the user, the S-CSCF pairs the PUI of the user with all ASs in the AS POOL. The sum of the weights is modulo to obtain the first modulus value;
  • Step 502 The S-CSCF obtains a first modulus value by searching a first correspondence table.
  • the first correspondence table contains the correspondence between all ASs and the modulus values
  • Steps 503-504 the S-CSCF determines whether the first AS is one of the pre-obtained normal AS lists; if yes, forwarding the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value Otherwise, go to step 505;
  • the S-CSCF can obtain the normal AS list in advance by the following methods:
  • the S-CSCF automatically identifies whether the AS is faulty by using a heartbeat message (such as a SIP Option message) between the AS and the AS, or the administrator manually configures the available state of the AS.
  • a heartbeat message such as a SIP Option message
  • Step 505 The S-CSCF modulates the sum of the weights of the user's PUI to all normal ASs in the AS POOL to obtain a second modulus value.
  • Step 506 The S-CSCF obtains a second modulus value by searching a second correspondence table.
  • a second AS the second correspondence table includes a correspondence between all normal ASs and a modulus value, where the second correspondence may be generated after the S-CSCF obtains the normal AS list.
  • Step 507 The S-CSCF forwards the service of the user corresponding to the second modulus to the second AS corresponding to the second modulus.
  • the second method does not need to repeatedly forward the user's service, and can directly forward the user's service to the normal AS, thus improving the forwarding efficiency of the S-CSCF.
  • the S-CSCF receives a call request from User A, and User A's PUI is 52871235.
  • 52871235 mod 3 0, 0 corresponds to AS-1 in Table 2, and the S-CSCF forwards the call request to AS-1.
  • the S-CSCF does not receive a response from AS-1 at the scheduled time, and the S-CSCF confirms that AS-1 has failed and generates Table 3.
  • the S-CSCF then modulo 52871235 to 2 to obtain 1, and the S-CSCF forwards the call request to AS-3.
  • the S-CSCF knows that the user corresponds to AS-1. Since the S-CSCF obtains the normal AS list in advance, it can be known that the AS-1 is unavailable by looking up the normal AS list. The S-CSCF then modulo 52871235 to 2 to obtain 1, and the S-CSCF forwards the call request to AS-3.
  • the method of the present invention is applicable to a disaster recovery scenario in which an AS fails in an AS POOL, and is also applicable to a disaster recovery scenario in which multiple ASs simultaneously fail.
  • an AS fails and its responsible user initiates a call request
  • the S-CSCF needs up to two modulo operations to get a normal AS to process the call request.
  • the S-CSCF needs to perform a maximum of three modulo operations (possibly obtaining a normal AS after two modulo operations).
  • a normal AS handles call requests.
  • the capacity of the AS in the AS POOL can be different, then the weight parameter is required in Table 2, and becomes Table 4.
  • the PUI in the digital format is used, so the PUI is directly subjected to the modulo operation, but the PUI and the ID of the access network to which the user belongs may also be a textual numeric string, so the text numeric string needs to be converted into a number by a special algorithm.
  • the modulo operation is performed again, and the converted number is unique in the IMS network. How to convert a textual numeric string into a number is not the focus of the present invention and will not be described here.
  • proxy AS there is a device in the IMS network called a proxy AS.
  • the process of the proxy AS selecting the AS includes:
  • Step 301 the S-CSCF receives a SIP request from a user (SIP Request); Steps 302-303, the S-CSCF selects a proxy AS according to the IFC of the user, and forwards the SIP request to the proxy AS;
  • Step 304 the proxy AS routes to the AS-1;
  • Step 305-307 the timer expires, the proxy AS reselects the AS-2 and forwards the SIP request to the AS-2.
  • step 308 AS-2 returns a SIP response (SIP Response).
  • the S-CSCF forwards all registration requests and call requests to the proxy AS, and the proxy AS selects the AS.
  • the process of selecting the AS by the proxy AS and the process class of selecting the AS by the S-CSCF Like, no longer repeat here.
  • the process of establishing the correspondence between the ID of the access network to which the user belongs and the AS by the modulo operation is similar to the process of establishing the correspondence between the PUI and the AS, and further, when processing the calling side service, the S-CSCF or The proxy AS extracts the PUI of the calling user from the call signaling to perform a modulo operation; when processing the called side service, the S-CSCF or the proxy AS takes the PUI of the called user from the call signaling to perform a modulo operation.
  • a user can have multiple PUIs at the same time, and the user can perform registration with any PUI, but these P U I will exist in the form of an implicit registration set or an alias group in the user's subscription data.
  • the S-CSCF or the proxy AS may extract the first PUI (ie, the default PUI) in the user implicit registration set or the alias group from the registration signaling, and perform the modulo operation as the feature information of the user. This ensures that multiple registrations by users can be handled by the same AS.
  • a user can have multiple PUIs at the same time, and the user can initiate a call or call any PUI of the called party by using any PUI, but the multiple PUIs of the user may be an implicit registration set or an alias group in the subscription data of the user.
  • the form exists.
  • the S-CSCF or the proxy AS may obtain the first PUI (ie, the default PUI) in the implicit registration set or the alias group of the calling user or the called user from the HSS as the feature information of the user.
  • the modulo operation ensures that multiple calls from the user can be handled by the same AS.
  • S-CSCFs or multiple proxy ASs there are multiple S-CSCFs or multiple proxy ASs in the IMS network. These S-CSCFs or proxy ASs can accept user calls and select ASs for users. As long as the algorithms are consistent, multiple users of the same user can be implemented. The call request is forwarded to the target on the same AS.
  • the S-CSCF or the proxy AS takes the PUI of the calling user from the call signaling to perform a modulo operation; when processing the called side service of the unregistered call, the S-CSCF or The proxy AS removes the called party from the call signaling.
  • the user's PUI performs a modulo operation.
  • the selection process includes:
  • Step 601 The S-CSCF receives a call request from a user.
  • Step 602 The S-CSCF obtains the IFC of the user from the local or HSS, and obtains an AS name from the IFC.
  • Steps 603-604 the S-CSCF queries the DNS according to the AS name. If the mapping between the AS name and the real AS host name shown in Table 1 is configured on the DNS, the DNS returns three host names to the S-CSCF: AS -1.COM.CN, AS-2.COM.CN, AS-3.COM.CN.
  • the mapping between the AS name and the host name in the IFC can be configured in the DNS or configured locally by the administrator in the S-CSCF, so that the S-CSCF does not need to query the DNS.
  • Step 605 The S-CSCF automatically generates the correspondence between the AS and the modulus according to the AS host name returned by the DNS.
  • the table 2 may be generated by using a manual pre-establishment or an automatic establishment manner, as shown in Table 2.
  • the correspondence between the AS and the modulus value can be established by the DNS and returned to the S-CSCF in step 604.
  • Step 606 When processing the calling side service of the call, the S-CSCF takes the PUI of the calling user from the call signaling to perform a modulo operation; when processing the called side service of the call, the S-CSCF receives the call letter. The PUI of the called user is taken out to perform a modulo operation;
  • the S-CSCF is the calling side S-CSCF, and the call request of the calling side is processed, and the PUI of the calling user is 52871235, and the PUI is modulo 3 to obtain 0.
  • the S-CSCF selects AS-1;
  • Step 607 The S-CSCF forwards the call request to the AS-1.
  • Step 608 If the timer expires and the S-CSCF does not receive the response of the AS-1, it is known that the AS-1 fails, and the S-CSCF generates Table 3. In step 609, the S-CSCF modulo 52871235 to 2 to obtain 1, according to Table 3, the S-CSCF selects AS-3.
  • Step 610 The S-CSCF forwards the call request to the AS-3.
  • step 607 and 608 may be skipped, and step 609 is directly executed.
  • the present invention further provides an apparatus for implementing remote disaster recovery in an IMS network.
  • the device is located in the S-CSCF or the proxy AS, and is used to: when an AS in the AS POOL fails, forward the service of the user originally belonging to the failed AS to the normal AS; The user's service is forwarded to the AS to which the user originally belonged.
  • the device includes: a first calculation module, a forwarding module, and a second calculation module;
  • a first calculating module configured to: when receiving a service of a user, modulo the feature information of the user to a sum of weights of all ASs in the application server pool to obtain a first modulo value; and a forwarding module, configured to pass Finding the first correspondence table to obtain the first corresponding to the first modulus value
  • the AS forwards the service of the user corresponding to the first modulo to the first AS corresponding to the first modulo value, where the first correspondence table includes the correspondence between all ASs and the modulo value; After the service, if the response of the first AS is not received, it is confirmed that the first AS fails, and the second calculation module is triggered;
  • a second calculation module configured to generate a second correspondence table including a correspondence between all normal ASs and a modulus value, and modulate the sum of the characteristics information of the user on all normal ASs in the application server pool, Obtaining a second modulus value;
  • the forwarding module is further configured to: obtain a second AS corresponding to the second modulo value by searching the second correspondence table, and forward the service of the user corresponding to the second modulo value to the second AS corresponding to the second modulo value; If the module does not receive the response of the second AS, the second computing module is triggered until Forward the user's service to the normal AS.
  • the device includes: a first calculation module, a search module, a determination module, a forwarding module, and a second calculation module;
  • a first calculating module configured to: when receiving a service of a user, modulo the feature information of the user to a sum of weights of all ASs in the application server pool to obtain a first modulo value; Finding a first correspondence table to obtain a first AS corresponding to the first modulus, where the first correspondence table includes a correspondence between all ASs and a modulus value;
  • a judging module configured to determine whether the first AS is one of the pre-obtained normal AS lists, and if yes, the triggering forwarding module forwards the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value ; otherwise, trigger the second calculation module;
  • a second calculating module configured to modulo the sum of the feature information of the user to all normal ASs in the application server pool to obtain a second modulus value
  • the locating module is further configured to obtain a second AS corresponding to the second modulo value by searching the second correspondence table, where the second correspondence table includes a correspondence between all normal ASs and the modulo value;
  • the service of the user corresponding to the second modulus is forwarded to the second AS corresponding to the second modulus.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed are a method and a device for implementing off-site disaster recovery in an IMS network. The method comprises: when an AS in an application server pool fails, a first server forwarding services of users originally belonging to the failed AS to a normal AS; and forwarding services of users originally belonging to normal ASs to the ASs that the users originally belong to. Through the present invention, when an AS in an AS POOL fails, users originally belonging to normal ASs are not affected before and after disaster recovery.

Description

IMS网络中实现异地容灾的方法及装置 技术领域  Method and device for realizing remote disaster recovery in IMS network
本发明涉及 IP多媒体子系统( IMS , IP Multimedia Subsystem ), 尤其 涉及一种 IMS网络中实现异地容灾的方法及装置。 背景技术  The present invention relates to an IP Multimedia Subsystem (IMS), and more particularly to a method and apparatus for implementing remote disaster recovery in an IMS network. Background technique
为了满足多媒体通信的需要, 第三代合作伙伴计划 ( 3GPP )组织在原 有分组承载网的基础上引入了 IMS, IMS不仅能向用户提供传统语音业务, 也能向用户提供丰富的多媒体体验。  In order to meet the needs of multimedia communication, the 3rd Generation Partnership Project (3GPP) organization introduced IMS on the basis of the original packet bearer network. IMS can not only provide traditional voice services to users, but also provide users with rich multimedia experience.
图 1为 IMS网络的基本架构图。如图 1所示, IMS网络的主要网元包括: 呼叫会话控制功能(CSCF, Call Session Control Function ), 归属用户服务 器(HSS, Home Subscriber Server )、 应用服务器(AS, Application Server )0 CSCF分为三种类型: 代理 CSCF ( P-CSCF, Proxy-Call Session Control Function )、查询 CSCF ( I-CSCF, Interrogating-Call Session Control Function ) 和服务 CSCF ( S-CSCF, Serving-Call Session Control Function )0 P-CSCF可 处于用户所属的接入网内, 作为用户接入 IMS网络的第一个联系网元, 将 用户的初始会话协议 ( SIP, Session Initiation Protocol )信令转发到 IMS核 心网 ( IMS网络中用 SIP作为呼叫控制的信令协议, IMS核心网包括网元 I-CSCF、 S-CSCF, HSS、 AS )。 I-CSCF (图中未示出)可实现网络内部信 息隐藏的功能, 支持网络安全。 S-CSCF作为核心的呼叫控制实体, 实现基 本的呼叫控制功能, 提供 S-CSCF与 AS间的接口。 Figure 1 shows the basic architecture of an IMS network. As shown, the main network 1 IMS network element comprising: a call session control function (CSCF, Call Session Control Function) , a home subscriber server (HSS, Home Subscriber Server), application servers (AS, Application Server) 0 CSCF divided Three types: Proxy CSCF (P-CSCF, Proxy-Call Session Control Function), Query CSCF (I-CSCF, Interrogating-Call Session Control Function), and Service CSCF (S-CSCF, Serving-Call Session Control Function) 0 P - The CSCF can be in the access network to which the user belongs, as the first contact network element for the user to access the IMS network, and forward the SIP (Session Initiation Protocol) signaling of the user to the IMS core network (in the IMS network). SIP is used as the signaling protocol for call control, and the IMS core network includes network elements I-CSCF, S-CSCF, HSS, AS). The I-CSCF (not shown) implements information hiding within the network and supports network security. As the core call control entity, the S-CSCF implements basic call control functions and provides an interface between the S-CSCF and the AS.
AS向用户提供各种业务, 如基本的语音业务, 以及视频业务和补充业 务。 HSS记录 IMS网络中每个用户的签约数据(签约数据包括用户的用户 信息与业务数据), 配合 CSCF实现路由功能, 并提供认证、 授权功能。 用 户签约数据在用户注册时从 HSS被下载到 S-CSCF, 其中的业务数据被下 载到 AS后, 供 AS完成用户业务处理所用。 用户签约数据中包含有用户的 业务触发规则 (IFC, Initial Filter Criteria, 也称为初始过滤规则), IFC中 包含有提供业务的 AS的地址信息。 The AS provides various services to users, such as basic voice services, as well as video services and supplementary services. The HSS records the subscription data of each user in the IMS network (the subscription data includes the user information and service data of the user), cooperates with the CSCF to implement the routing function, and provides the authentication and authorization functions. use The subscriber subscription data is downloaded from the HSS to the S-CSCF when the user registers, and the service data is downloaded to the AS for the AS to complete the user service processing. The user subscription data includes the user's service triggering rule (IFC, Initial Filter Criteria), and the IFC contains the address information of the AS providing the service.
在实际的网络建设中, 设备内部的软硬件组件都采用备份机制, 并通 过分布式设计(指多个相同功能的设备组件同时工作) 以支持大容量用户 与网络安全。 不仅设备内部的重要软硬件组件在本地有备份且采用分布式 设计, 在网元级别, 所有重要设备都常常采用异地分布式部署与异地备份 机制 (常称为异地容灾机制)。  In the actual network construction, the hardware and software components inside the device adopt the backup mechanism and support large-capacity users and network security through distributed design (meaning that multiple device components with the same function work simultaneously). Not only the important hardware and software components inside the device are backed up locally but also in a distributed design. At the NE level, all important devices often use off-site distributed deployment and remote backup mechanism (often called remote disaster recovery mechanism).
IMS技术属于新兴技术, 目前大部分电话用户还是通过现存的通信网 络实现通信服务。 各种常见的用于语音、 视频通信的通信网络包括: 传统 的公共交换电话网络( PSTN , Public Switched Telephone Network)、 传统的 公众陆地移动电话网(PLMN、 Public Land Mobile Network ),智能网、 VOIP (如 H.323协议, 软交换技术)等等。  IMS technology is an emerging technology, and most telephone users still implement communication services through existing communication networks. Various common communication networks for voice and video communication include: Traditional Public Switched Telephone Network (PSTN), Traditional Public Land Mobile Network (PLMN), Intelligent Network, VOIP (such as H.323 protocol, softswitch technology) and so on.
3GPP组织认为 IMS核心网发展的目标是接入所有现存网络的用户,即 所有现存用户都统一接入 IMS 核心网来享受通信业务, 这种要求意味着 IMS核心网需要支持的用户容量会非常庞大, 相当于目前所有语音、 视频 通信网络的用户之和, 即 IMS核心网中的设备需要支持数亿级别的用户。  The 3GPP organization believes that the goal of the development of the IMS core network is to access all users of the existing network, that is, all existing users access the IMS core network to enjoy the communication service. This requirement means that the user capacity that the IMS core network needs to support will be very large. , which is equivalent to the sum of users of all current voice and video communication networks, that is, devices in the IMS core network need to support hundreds of millions of users.
单个设备支持数亿级别的用户在现有计算机技术中存在难度, 设备厂 商与网络运营商常常采用多个设备分别负担一部分用户的方式来达到全网 支持大容量用户的目标, 另外, 多个设备间的组网方式也需要支持异地容 灾机制。  A single device supports hundreds of millions of users in the existing computer technology. Equipment vendors and network operators often use multiple devices to support a part of users to achieve the goal of supporting large-capacity users. In addition, multiple devices The networking mode also needs to support the remote disaster recovery mechanism.
AS作为 IMS核心网中的重要设备, IMS网络中的大部分业务都需要经 过 AS处理, 所以 AS在组网上需要考虑支持大容量用户与完备的异地容灾 机制。 其中, AS处理的大部分业务是由 S-CSCF转发来的。 目前, 存在一种 AS的组网方式, 称为 AS 池(POOL )组网, 多个 AS 构成一个 POOL, 如图 2所示。 AS POOL组网方式的特点是 IMS网络中的 用户业务由多个 AS共同承担,因此能够支持大容量用户并提高网络的安全 性。 AS is an important device in the IMS core network. Most services in the IMS network need to be processed by the AS. Therefore, the AS needs to consider supporting large-capacity users and complete remote disaster recovery mechanisms on the group network. Most of the services processed by the AS are forwarded by the S-CSCF. Currently, there is a networking mode of AS, called AS pool (POOL) networking, and multiple ASs form a POOL, as shown in Figure 2. The AS POOL networking mode is characterized in that user services in the IMS network are jointly assumed by multiple ASs, so that large-capacity users can be supported and network security can be improved.
根据现有技术可知, 在 IMS网络中, S-CSCF根据用户的 IFC寻找 一个 AS来实现用户业务,用户的 IFC中包含有某个 AS名称( AS Name )。  According to the prior art, in the IMS network, the S-CSCF searches for an AS according to the user's IFC to implement user services, and the user's IFC includes an AS name (AS Name).
在 AS POOL组网方式下, 对网络运营商来说比较方便的一种做法 是在所有用户的 IFC中指定同样的 AS名称。 在 S-CSCF收到呼叫请求 后, S-CSCF在真实的 AS主机名中选择一个, 并将呼叫请求转发给所选 择的 AS。  In the AS POOL networking mode, it is convenient for network operators to specify the same AS name in all users' IFCs. After the S-CSCF receives the call request, the S-CSCF selects one of the real AS host names and forwards the call request to the selected AS.
假设 IMS 网络中存在三个容量相同的 AS , 其主机名分别为 AS-l .COM.CN、 AS-2.C0M.CN、 AS-3.C0M.CN。 但网络运营商向 HSS 发放用户签约数据时, 将所有用户的 IFC 中的 AS Name 均指定为 AS.C0M.CN,这是一个虚拟的 AS名称。另外,在域名系统( DNS, Domain Name System ) 配置虚拟的 AS名称与真实的 AS主机名的对应关系, 如 表 1所示。
Figure imgf000005_0001
Assume that there are three ASs with the same capacity in the IMS network, and their host names are AS-l.COM.CN, AS-2.C0M.CN, AS-3.C0M.CN. However, when the network operator issues user subscription data to the HSS, the AS Name in all users' IFCs is specified as AS.C0M.CN, which is a virtual AS name. In addition, the mapping between the virtual AS name and the real AS host name is configured in the Domain Name System (DNS), as shown in Table 1.
Figure imgf000005_0001
DNS配置示例  DNS configuration example
当 S-CSCF收到某个用户的注册请求或呼叫请求时, S-CSCF通过该 用户的 IFC获知 AS Name 为 AS.COM.CN, 然后通过查询 DNS得知 AS.COM.CN对应三个主机名, 则 S-CSCF随机选择一个 AS并将注册请 求或呼叫请求转发给所选择的 AS。  When the S-CSCF receives a registration request or a call request from a certain user, the S-CSCF learns that the AS Name is AS.COM.CN through the IFC of the user, and then learns that the AS.COM.CN corresponds to three hosts by querying the DNS. Name, then the S-CSCF randomly selects an AS and forwards the registration request or call request to the selected AS.
在实际商用中, 为了保证同一个用户的多次呼叫请求都能由同一个 AS处理以满足部分补充业务的要求, S-CSCF会将用户的公共用户标识 ( PUI, Public User Identity ) 利用散列算法映射到某个 AS上。 In actual commercial use, in order to ensure that multiple call requests of the same user can be processed by the same AS to meet the requirements of some supplementary services, the S-CSCF will identify the public user of the user. (PUI, Public User Identity) Maps to an AS using a hashing algorithm.
以表 1为例, S-CSCF可以自动生成如表 2所示的 AS与模值的对应 关系。
Figure imgf000006_0001
Taking Table 1 as an example, the S-CSCF can automatically generate the correspondence between the AS and the modulus as shown in Table 2.
Figure imgf000006_0001
表 2 AS POOL中 AS与模值的对应关系一 假设 S-CSCF 收到用户 A 的一个呼叫请求, 用户 A 的 PUI 为 52871235 , 则 52871235 mod 3=0, 根据表 2, S-CSCF将该呼叫请求转发 到 AS-1上。  Table 2 Correspondence between AS and Modulus in AS POOL Assuming that the S-CSCF receives a call request from User A, User A's PUI is 52871235, then 52871235 mod 3=0. According to Table 2, the S-CSCF calls the call. The request is forwarded to AS-1.
通过上述方法, 可以使一个用户与一个 AS建立归属关系 (当算法 不变时) , 因此同一个用户的多次呼叫请求一定可以转发到同一个 AS。  Through the above method, a user can establish a affiliation relationship with an AS (when the algorithm is unchanged), so multiple call requests of the same user must be forwarded to the same AS.
AS POOL组网的一个出发点是提高网络的安全性, 当有一个或多个 AS发生故障时, 这些 AS上承担的用户业务能被其余正常 AS所接管, 从全网的角度来说, 仍能向所有用户提供业务。  One of the starting points of the AS POOL networking is to improve the security of the network. When one or more ASs fail, the user services carried by these ASs can be taken over by the other normal ASs. From the perspective of the entire network, Provide business to all users.
S-CSCF的分发算法必须能支持 AS POOL中 AS发生故障的场景。 有一种容灾方案如下:  The S-CSCF distribution algorithm must support the scenario in which the AS in the AS POOL fails. There is a disaster recovery plan as follows:
假设 AS-1发生故障, 则表 2相应变化为表 3:
Figure imgf000006_0002
Assuming that AS-1 fails, Table 2 changes accordingly to Table 3:
Figure imgf000006_0002
表 3 AS POOL中 AS与模值的对应关系二 (容灾场景) 假设 S-CSCF 收到用户 A 的一个呼叫请求, 用户 A 的 PUI 为 52871235 , 则 52871235 mod 2=1 , 根据表 3 , S-CSCF将该呼叫请求转发 到 AS-3上。  Table 3 Correspondence between AS and modulus in AS POOL II (recovery scenario) Suppose the S-CSCF receives a call request from user A. User A's PUI is 52871235, then 52871235 mod 2=1, according to Table 3, S - The CSCF forwards the call request to AS-3.
容灾的一个要求是: 上述用户 A的业务原来由 AS-1处理, 在 AS-1 发生故障后, 用户 A的业务由其它正常 AS (如 AS-3 )接管, 上述容灾 方案能满足这种要求。 One of the requirements for disaster recovery is: The service of user A is originally handled by AS-1. After the failure of AS-1, the service of user A is taken over by other normal ASs (such as AS-3). The program can meet this requirement.
但是上述容灾方案使仍处于正常状态的 AS-2、 AS-3 上的用户也发 生了迁移, 分析如下:  However, the above DR solution also caused users to migrate on AS-2 and AS-3, which are still in normal state. The analysis is as follows:
假设用户 B的 PUI为 52871234,在 AS- 1没有发生故障时, 52871234 mod 3=2 ,因此用户 B的业务由 AS-3负责。在 AS-1发生故障后, 52871234 mod 2=0, 则现在用户 B的业务由 AS-2负责。 这会产生如下问题: 用户 B的前后两次呼叫请求分别在 AS-3、 AS-2在处理, 影响了用户 B的补 充业务的实现, 因此这种容灾方案不是很完善。 发明内容  Assume that User B's PUI is 52871234. When AS-1 does not fail, 52871234 mod 3=2, so User B's service is handled by AS-3. After the failure of AS-1, 52871234 mod 2=0, then user B's service is now the responsibility of AS-2. This causes the following problems: User B's two call requests are processed in AS-3 and AS-2, which affects the implementation of user B's supplementary service. Therefore, this disaster recovery solution is not perfect. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种 IMS网络中实现异地容灾 的方法及装置, 当 AS POOL中有 AS发生故障时, 使原来归属于正常 AS 的用户在容灾前后不受影响。  In view of the above, the main purpose of the present invention is to provide a method and device for implementing remote disaster recovery in an IMS network. When an AS in an AS POOL fails, the user originally assigned to the normal AS is not affected before and after the disaster recovery. .
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
一种 IMS网络中实现异地容灾的方法, 所述 IMS网络中包含有第一服 务器和应用服务器池, 所述方法包括:  A method for implementing remote disaster recovery in an IMS network, where the IMS network includes a first server and an application server pool, and the method includes:
当应用服务器池中有 AS发生故障时, 第一服务器将原来归属于发 生故障的 AS的用户的业务转发到正常 AS上; 将原来归属于正常 AS的 用户的业务转发到用户原来归属的 AS上。  When the AS in the application server pool is faulty, the first server forwards the service of the user that belongs to the failed AS to the normal AS. The service of the user that belongs to the normal AS is forwarded to the AS that the user originally belongs to. .
进一步地, 所述方法具体包括:  Further, the method specifically includes:
当第一服务器收到一个用户的业务时, 第一服务器将所述用户的特 征信息对应用服务器池中所有 AS的权重之和进行取模, 得到第一模值; 第一服务器通过查找第一对应关系表获得第一模值对应的第一 AS , 并将第一模值对应的用户的业务转发到第一模值对应的第一 AS上, 其 中, 所述第一对应关系表中包含有所有 AS与模值的对应关系;  When the first server receives the service of the user, the first server modulates the sum of the characteristics of the user to the weights of all the ASs in the application server pool to obtain a first modulus; the first server searches for the first The correspondence table obtains the first AS corresponding to the first modulo value, and forwards the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value, where the first correspondence table includes Correspondence between all ASs and modulus values;
在转发用户的业务后, 如果第一服务器未收到第一 AS 的响应, 则 第一服务器确认第一 AS发生故障,则生成包含有所有正常 AS与模值的 对应关系的第二对应关系表, 并将所述用户的特征信息对应用服务器池 中所有正常 AS的权重之和进行取模, 得到第二模值; After forwarding the user's service, if the first server does not receive the response of the first AS, then The first server confirms that the first AS is faulty, and generates a second correspondence table including the correspondence between all normal ASs and the modulus values, and compares the feature information of the user to the sum of the weights of all normal ASs in the application server pool. Performing modulo to obtain a second modulus value;
第一服务器通过查找第二对应关系表获得第二模值对应的第二 AS , 并将第二模值对应的用户的业务转发到第二模值对应的第二 AS上; 如果第一服务器未收到第二 AS 的响应, 则返回生成第二对应关系 表的步驟, 直至将用户的业务转发到正常的 AS上。  The first server obtains the second AS corresponding to the second modulus by searching the second correspondence table, and forwards the service of the user corresponding to the second modulus to the second AS corresponding to the second modulus; if the first server does not Upon receiving the response of the second AS, the process of generating the second correspondence table is returned until the user's service is forwarded to the normal AS.
进一步地, 所述方法具体包括:  Further, the method specifically includes:
当第一服务器收到一个用户的业务时, 第一服务器将所述用户的特 征信息对应用服务器池中所有 AS的权重之和进行取模,得到第一模值; 第一服务器通过查找第一对应关系表获得第一模值对应的第一 AS , 所述第一对应关系表中包含有所有 AS与模值的对应关系;  When the first server receives the service of the user, the first server modifies the sum of the characteristics of the user to the weights of all the ASs in the application server pool to obtain a first modulus; the first server searches for the first Corresponding relationship table obtains a first AS corresponding to the first modulus value, where the first correspondence relationship table includes a correspondence between all ASs and a modulus value;
第一服务器判断第一 AS是否是预先获得的正常 AS列表中的一个, 如果是,则将第一模值对应的用户的业务转发到第一模值对应的第一 AS 上; 否则,  The first server determines whether the first AS is one of the pre-acquired normal AS lists, and if yes, forwards the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value; otherwise,
第一服务器将所述用户的特征信息对应用服务器池中所有正常 AS 的权重之和进行取模, 得到第二模值;  The first server modulates the sum of the feature information of the user to all normal ASs in the application server pool to obtain a second modulus value;
第一服务器通过查找第二对应关系表获得第二模值对应的第二 AS , 并将第二模值对应的用户的业务转发到第二模值对应的第二 AS上, 其 中, 第二对应关系表中包含有所有正常 AS与模值的对应关系。  The first server obtains the second AS corresponding to the second modulo value by searching the second correspondence table, and forwards the service of the user corresponding to the second modulo value to the second AS corresponding to the second modulo value, where the second corresponding The relationship table contains the correspondence between all normal AS and the modulus values.
进一步地, 当处理主叫侧业务时, 所述用户的特征信息为主叫用户 的特征信息; 当处理被叫侧业务时, 所述用户的特征信息为被叫用户的 特征信息。  Further, when the calling side service is processed, the feature information of the user is the feature information of the calling user; when the called side service is processed, the feature information of the user is the feature information of the called user.
进一步地, 所述第一服务器为服务呼叫控制实体或代理 AS。  Further, the first server is a serving call control entity or a proxy AS.
进一步地, 所述用户的特征信息为用户的公共用户标识或用户所属 接入网的标识。 Further, the feature information of the user is a public user identifier of the user or a user belongs to The identity of the access network.
一种 IMS网络中实现异地容灾的装置, 用于: 当 IMS网络的应用服 务器池中有 AS发生故障时,将原来归属于发生故障的 AS的用户的业务 转发到正常 AS上;将原来归属于正常 AS的用户的业务转发到用户原来 归属的 AS上。  An apparatus for implementing remote disaster recovery in an IMS network, configured to: when an AS in an application server pool of an IMS network fails, forward the service of the user originally belonging to the failed AS to the normal AS; The service of the user in the normal AS is forwarded to the AS to which the user originally belongs.
进一步地, 所述装置包括: 第一计算模块、 转发模块和第二计算模 块; 其中,  Further, the device includes: a first calculating module, a forwarding module, and a second computing module; wherein
第一计算模块, 用于当收到一个用户的业务时, 将所述用户的特征 信息对应用服务器池中所有 AS的权重之和进行取模, 得到第一模值; 转发模块, 用于通过查找第一对应关系表获得第一模值对应的第一 AS ,并将第一模值对应的用户的业务转发到第一模值对应的第一 AS上, 其中, 所述第一对应关系表中包含有所有 AS与模值的对应关系; 在转 发用户的业务后,如果未收到第一 AS的响应,则确认第一 AS发生故障, 则触发第二计算模块;  a first calculating module, configured to: when receiving a service of a user, modulo the feature information of the user to a sum of weights of all ASs in the application server pool to obtain a first modulo value; and a forwarding module, configured to pass Searching the first correspondence table to obtain the first AS corresponding to the first modulo value, and forwarding the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value, where the first correspondence table The corresponding relationship between all the ASs and the modulo value is included; after the user's service is forwarded, if the response of the first AS is not received, if the first AS fails, the second computing module is triggered;
第二计算模块, 用于生成包含有所有正常 AS与模值的对应关系的 第二对应关系表, 并将所述用户的特征信息对应用服务器池中所有正常 AS的权重之和进行取模, 得到第二模值;  a second calculation module, configured to generate a second correspondence table including a correspondence between all normal ASs and a modulus value, and modulate the sum of the characteristics information of the user on all normal ASs in the application server pool, Obtaining a second modulus value;
转发模块, 还用于通过查找第二对应关系表获得第二模值对应的第 二 AS , 并将第二模值对应的用户的业务转发到第二模值对应的第二 AS 上; 如果转发模块未收到第二 AS 的响应, 则触发第二计算模块, 直至 将用户的业务转发到正常的 AS上。  The forwarding module is further configured to: obtain a second AS corresponding to the second modulo value by searching the second correspondence table, and forward the service of the user corresponding to the second modulo value to the second AS corresponding to the second modulo value; If the module does not receive the response from the second AS, the second computing module is triggered until the user's service is forwarded to the normal AS.
进一步地, 所述装置包括: 第一计算模块、 查找模块、 判断模块、 转发模块和第二计算模块; 其中,  Further, the device includes: a first calculating module, a searching module, a determining module, a forwarding module, and a second computing module;
第一计算模块, 用于当收到一个用户的业务时, 将所述用户的特征 信息对应用服务器池中所有 AS的权重之和进行取模, 得到第一模值; 查找模块, 用于通过查找第一对应关系表获得第一模值对应的第一a first calculating module, configured to: when receiving a service of a user, modulo the feature information of the user to a sum of weights of all ASs in the application server pool to obtain a first modulus value; a searching module, configured to obtain a first corresponding to the first modulus by searching the first correspondence table
AS , 所述第一对应关系表中包含有所有 AS与模值的对应关系; AS, the first correspondence table includes a correspondence between all ASs and a modulus value;
判断模块,用于判断第一 AS是否是预先获得的正常 AS列表中的一 个, 如果是, 则触发转发模块将第一模值对应的用户的业务转发到第一 模值对应的第一 AS上; 否则, 触发第二计算模块;  a judging module, configured to determine whether the first AS is one of the pre-obtained normal AS lists, and if yes, the triggering forwarding module forwards the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value ; otherwise, trigger the second calculation module;
第二计算模块, 用于将所述用户的特征信息对应用服务器池中所有 正常 AS的权重之和进行取模, 得到第二模值;  a second calculating module, configured to modulo the sum of the feature information of the user to all normal ASs in the application server pool to obtain a second modulus value;
查找模块, 还用于通过查找第二对应关系表获得第二模值对应的第 二 AS,其中,第二对应关系表中包含有所有正常 AS与模值的对应关系; 转发模块, 用于将第二模值对应的用户的业务转发到第二模值对应 的第二 AS上。  The locating module is further configured to obtain a second AS corresponding to the second modulo value by searching the second correspondence table, where the second correspondence table includes a correspondence between all normal ASs and the modulo value; The service of the user corresponding to the second modulus is forwarded to the second AS corresponding to the second modulus.
进一步地, 所述用户的特征信息为用户的公共用户标识或用户所属 接入网的标识。  Further, the feature information of the user is a public user identifier of the user or an identifier of the access network to which the user belongs.
由以上技术方案可以看出, 当 AS POOL中有 AS发生故障时, 将原来 归属于正常 AS的用户的业务仍就转发到用户原来归属的 AS上, 因此使原 来归属于正常 AS的用户在容灾前后不受影响, 从而允许在 AS POOL组网 方式下执行各种补充业务,这样有助于 AS的 POOL组网进入实际的商业运 营。 具体地, 通过在 S-CSCF上维护包含所有 AS与模值对应关系的第一对 应关系表、 以及包含所有正常 AS与模值对应关系的第二对应关系表, 可以 将原来归属于发生故障的 AS的用户的业务转发到正常 AS上; 将原来归属 于正常 AS的用户的业务转发到用户原来归属的 AS上。 附图说明  It can be seen from the above technical solution that when an AS in the AS POOL fails, the service of the user originally belonging to the normal AS is still forwarded to the AS that the user originally belongs to, so that the user originally belonging to the normal AS is in the capacity. The disaster is not affected before and after the disaster, thus allowing various supplementary services to be performed in the AS POOL networking mode, which helps the POOL networking of the AS to enter the actual commercial operation. Specifically, by maintaining a first correspondence table including the correspondence between all ASs and the modulus values on the S-CSCF, and a second correspondence table including all the normal ASs and the modulus values, the original attribution to the failure may be The service of the user of the AS is forwarded to the normal AS; the service of the user originally assigned to the normal AS is forwarded to the AS to which the user originally belongs. DRAWINGS
图 1为现有技术中 IMS网络的基本架构图;  1 is a basic architecture diagram of an IMS network in the prior art;
图 2为现有技术中 IMS网络中 AS的 POOL组网方式示意图; 图 3为现有技术中代理 AS选择 AS的流程示意图; 图 4为本发明第一种 IMS网络中实现异地容灾的方法的流程图; 图 5为本发明第二种 IMS网络中实现异地容灾的方法的流程图; 图 6为本发明 S-CSCF在 AS POOL中选择 AS的流程图; 2 is a schematic diagram of a POOL networking mode of an AS in an IMS network in the prior art; FIG. 3 is a schematic flowchart of a proxy AS selecting an AS in the prior art; 4 is a flowchart of a method for implementing remote disaster recovery in an IMS network according to the present invention; FIG. 5 is a flowchart of a method for implementing remote disaster recovery in a second IMS network according to the present invention; FIG. 6 is a S-CSCF according to the present invention; Flowchart for selecting an AS in AS POOL;
图 7为本发明第一种 IMS网络中实现异地容灾的装置的结构图; 图 8为本发明第二种 IMS网络中实现异地容灾的装置的结构图。 具体实施方式  FIG. 7 is a structural diagram of an apparatus for implementing remote disaster recovery in an IMS network according to the present invention; FIG. 8 is a structural diagram of an apparatus for implementing remote disaster recovery in a second IMS network according to the present invention. detailed description
本发明的基本思想是当 AS POOL中有 AS发生故障时,第一服务器 将原来归属于发生故障的 AS的用户的业务转发到正常 AS上;将原来归 属于正常 AS的用户的业务转发到用户原来归属的 AS上。  The basic idea of the present invention is that when there is an AS failure in the AS POOL, the first server forwards the service of the user originally belonging to the failed AS to the normal AS; and forwards the service originally attributed to the user of the normal AS to the user. Originally owned by the AS.
其中, 第一服务器为 S-CSCF或代理 AS ( Rep AS )。 用户的特征信 息可以为用户的 PUI或用户所属接入网的标识 (ID ) 。  The first server is an S-CSCF or a proxy AS (Rep AS). The user's characteristic information may be the user's PUI or the identity (ID) of the access network to which the user belongs.
下面结合附图对本发明 IMS网络中实现异地容灾的方法进行详细说 明。  The method for implementing remote disaster recovery in the IMS network of the present invention will be described in detail below with reference to the accompanying drawings.
如图 4所示, 本发明第一种 IMS网络中实现异地容灾的方法包括: 步驟 401 ,当 S-CSCF收到一个用户的业务时, S-CSCF将用户的 PUI 对 AS POOL中所有 AS的权重之和进行取模, 得到第一模值;  As shown in FIG. 4, the method for implementing remote disaster recovery in the first IMS network of the present invention includes: Step 401: When the S-CSCF receives a service of the user, the S-CSCF pairs the PUI of the user with all ASs in the AS POOL. The sum of the weights is modulo to obtain the first modulus value;
步驟 402, S-CSCF通过查找第一对应关系表获得第一模值对应的第 — AS, 该第一对应关系表中包含有所有 AS与模值的对应关系;  Step 402: The S-CSCF obtains a first AS corresponding to the first modulus by searching the first correspondence table, where the first correspondence table includes a correspondence between all ASs and a modulus value.
步驟 403 , S-CSCF将第一模值对应的用户的业务转发到第一模值对 应的第一 AS上;  Step 403: The S-CSCF forwards the service of the user corresponding to the first modulus to the first AS corresponding to the first modulus.
如果 S-CSCF收到第一 AS的响应, 则转发成功, 流程结束; 否贝' J , 执行步驟 404;  If the S-CSCF receives the response from the first AS, the forwarding succeeds, and the process ends; otherwise, the process proceeds to step 404;
步驟 404, 如果 S-CSCF未收到第一 AS的响应, 则 S-CSCF确认第 一 AS发生故障,则生成包含有所有正常 AS与模值的对应关系的第二对 应关系表; 步驟 405 , S-CSCF将用户的 PUI对 AS POOL中所有正常 AS的权 重之和进行取模, 得到第二模值; Step 404: If the S-CSCF does not receive the response of the first AS, the S-CSCF confirms that the first AS is faulty, and generates a second correspondence table including the correspondence between all the normal ASs and the modulus values. Step 405: The S-CSCF modulates the sum of the weights of the user's PUI and all the normal ASs in the AS POOL to obtain a second modulus value.
步驟 406, S-CSCF通过查找第二对应关系表获得第二模值对应的第 二 AS;  Step 406, the S-CSCF obtains the second AS corresponding to the second modulus by searching the second correspondence table;
步驟 407, S-CSCF将第二模值对应的用户的业务转发到第二模值对 应的第二 AS上;  Step 407: The S-CSCF forwards the service of the user corresponding to the second modulus to the second AS corresponding to the second modulus.
如果 S-CSCF收到第二 AS的响应, 则转发成功, 流程结束; 否贝' J , 返回步驟 404。  If the S-CSCF receives the response from the second AS, the forwarding is successful, and the process ends; otherwise, the process returns to step 404.
由以上流程可以看出, 在 AS POOL中有 AS发生故障后, 根据本发 明的方法, 既能使原来归属于发生故障的 AS 的用户的业务转发到正常 AS上, 又不会影响原来归属于正常 AS的用户。  It can be seen from the above process that after an AS failure occurs in the AS POOL, according to the method of the present invention, the service of the user originally belonging to the failed AS can be forwarded to the normal AS without affecting the original attribution. User of normal AS.
如图 5所示, 本发明第二种 IMS网络中实现异地容灾的方法包括: 步驟 501 ,当 S-CSCF收到一个用户的业务时, S-CSCF将用户的 PUI 对 AS POOL中所有 AS的权重之和进行取模, 得到第一模值;  As shown in FIG. 5, the method for implementing remote disaster recovery in the second IMS network of the present invention includes: Step 501: When the S-CSCF receives a service of the user, the S-CSCF pairs the PUI of the user with all ASs in the AS POOL. The sum of the weights is modulo to obtain the first modulus value;
步驟 502, S-CSCF通过查找第一对应关系表获得第一模值对应的第 Step 502: The S-CSCF obtains a first modulus value by searching a first correspondence table.
— AS, 该第一对应关系表中包含有所有 AS与模值的对应关系; – AS, the first correspondence table contains the correspondence between all ASs and the modulus values;
步驟 503-504, S-CSCF判断第一 AS是否是预先获得的正常 AS列 表中的一个; 如果是, 则将第一模值对应的用户的业务转发到第一模值 对应的第一 AS上; 否则, 执行步驟 505;  Steps 503-504, the S-CSCF determines whether the first AS is one of the pre-obtained normal AS lists; if yes, forwarding the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value Otherwise, go to step 505;
S-CSCF可以通过以下方式预先获得正常 AS列表: S-CSCF通过自 身与 AS间的心跳消息(如 SIP Option消息)来自动识别 AS是否发生 故障, 或管理员手工配置 AS的可用状态;  The S-CSCF can obtain the normal AS list in advance by the following methods: The S-CSCF automatically identifies whether the AS is faulty by using a heartbeat message (such as a SIP Option message) between the AS and the AS, or the administrator manually configures the available state of the AS.
步驟 505 , S-CSCF将用户的 PUI对 AS POOL中所有正常 AS的权 重之和进行取模, 得到第二模值;  Step 505: The S-CSCF modulates the sum of the weights of the user's PUI to all normal ASs in the AS POOL to obtain a second modulus value.
步驟 506, S-CSCF通过查找第二对应关系表获得第二模值对应的第 二 AS , 该第二对应关系表中包含有所有正常 AS与模值的对应关系, 该 第二对应关系可以是在 S-CSCF获得正常 AS列表后生成的; Step 506: The S-CSCF obtains a second modulus value by searching a second correspondence table. a second AS, the second correspondence table includes a correspondence between all normal ASs and a modulus value, where the second correspondence may be generated after the S-CSCF obtains the normal AS list.
步驟 507 , S-CSCF将第二模值对应的用户的业务转发到第二模值对 应的第二 AS上。  Step 507: The S-CSCF forwards the service of the user corresponding to the second modulus to the second AS corresponding to the second modulus.
通过比较两种方法的流程可知, 第二种方法不需要重复转发用户的 业务, 能直接将用户的业务转发到正常 AS上, 因此提高了 S-CSCF的 转发效率。  By comparing the flow of the two methods, the second method does not need to repeatedly forward the user's service, and can directly forward the user's service to the normal AS, thus improving the forwarding efficiency of the S-CSCF.
下面通过实施例对本发明故进一步详细说明。  The present invention will now be described in further detail by way of examples.
承接背景技术中所举的例子, 假设 AS-1瘫痪, S-CSCF收到用户 A 的一个呼叫请求, 用户 A的 PUI为 52871235。  Taking the example given in the background art, assume that AS-1瘫痪, the S-CSCF receives a call request from User A, and User A's PUI is 52871235.
根据第一种方法, 52871235 mod 3=0 , 0对应表 2 中的 AS-1 , 则 S-CSCF将该呼叫请求转发到 AS-1上。 S-CSCF在预定的时间未收到 AS-1 的响应, 则 S-CSCF 确认 AS-1 发生故障, 并生成表 3。 S-CSCF 再将 52871235对 2取模, 得到 1 , 则 S-CSCF将该呼叫请求转发到 AS-3上。  According to the first method, 52871235 mod 3=0, 0 corresponds to AS-1 in Table 2, and the S-CSCF forwards the call request to AS-1. The S-CSCF does not receive a response from AS-1 at the scheduled time, and the S-CSCF confirms that AS-1 has failed and generates Table 3. The S-CSCF then modulo 52871235 to 2 to obtain 1, and the S-CSCF forwards the call request to AS-3.
根据第二种方法, 52871235 mod 3=0 , 则 S-CSCF得知该用户对应 AS-1 , 由于 S-CSCF预先获得了正常 AS列表, 因此通过查找正常 AS列 表可知 AS-1不可用, 则 S-CSCF再将 52871235对 2取模, 得到 1 , 则 S-CSCF将该呼叫请求转发到 AS-3上。  According to the second method, 52871235 mod 3=0, the S-CSCF knows that the user corresponds to AS-1. Since the S-CSCF obtains the normal AS list in advance, it can be known that the AS-1 is unavailable by looking up the normal AS list. The S-CSCF then modulo 52871235 to 2 to obtain 1, and the S-CSCF forwards the call request to AS-3.
本发明所述方法不仅适用于 AS POOL中一个 AS发生故障的容灾场 景, 也适用于多个 AS 同时发生故障的容灾场景。 比如, 假设一个 AS 发生故障, 其负责的用户发起呼叫请求后, S-CSCF 最多需要两次取模 运算,就可得到一个正常的 AS来处理呼叫请求。假设两个 AS发生故障, 任一个发生故障的 AS负责的用户发起呼叫请求后, S-CSCF最多需要三 次取模运算(可能两次取模运算后即可得到一个正常的 AS ) , 就可得到 一个正常的 AS来处理呼叫请求。 -步地, AS POOL中 AS的容量可以是不一样的, 则表 2中需要 权重参数, 变为表 4。The method of the present invention is applicable to a disaster recovery scenario in which an AS fails in an AS POOL, and is also applicable to a disaster recovery scenario in which multiple ASs simultaneously fail. For example, if an AS fails and its responsible user initiates a call request, the S-CSCF needs up to two modulo operations to get a normal AS to process the call request. Suppose two ASs fail. After the user responsible for the faulty AS initiates a call request, the S-CSCF needs to perform a maximum of three modulo operations (possibly obtaining a normal AS after two modulo operations). A normal AS handles call requests. - Step, the capacity of the AS in the AS POOL can be different, then the weight parameter is required in Table 2, and becomes Table 4.
Figure imgf000014_0001
Figure imgf000014_0001
表 4 AS POOL中 AS与模值的对应关系三 (含权重参数) 在这种情况下, 本发明仍能适用, 但是所有 AS的权重之和为 4, 因 此在将 PUI对所有 AS的权重之和取模时, 需要对 4取模。  Table 4 Correspondence between AS and modulus in AS POOL III (including weight parameters) In this case, the invention can still be applied, but the sum of the weights of all ASs is 4, so the weight of the PUI to all ASs is When taking the modulo, you need to take the modulo 4 .
上述实施例中均使用数字格式的 PUI, 因此直接将 PUI进行取模运 算, 但是 PUI、 用户所属接入网的 ID也可为文本数字串, 因此需要将文 本数字串通过特殊算法转化为数字后再进行取模运算, 转化后的数字在 IMS网络中是唯一的。 如何将文本数字串转换为数字不是本发明讨论的 重点, 在此不故说明。  In the above embodiments, the PUI in the digital format is used, so the PUI is directly subjected to the modulo operation, but the PUI and the ID of the access network to which the user belongs may also be a textual numeric string, so the text numeric string needs to be converted into a number by a special algorithm. The modulo operation is performed again, and the converted number is unique in the IMS network. How to convert a textual numeric string into a number is not the focus of the present invention and will not be described here.
另一方面, 在 IMS网络中存在一种设备称为代理 AS。 如图 3所示, 现有技术中当 IMS网络只存在两个 AS时, 代理 AS选择 AS的流程包 括:  On the other hand, there is a device in the IMS network called a proxy AS. As shown in FIG. 3, in the prior art, when there are only two ASs in the IMS network, the process of the proxy AS selecting the AS includes:
步驟 301 , S-CSCF收到一个用户的 SIP请求 ( SIP Request ) ; 步驟 302-303 , S-CSCF根据用户的 IFC选择一个代理 AS, 并将 SIP 请求转发给代理 AS;  Step 301, the S-CSCF receives a SIP request from a user (SIP Request); Steps 302-303, the S-CSCF selects a proxy AS according to the IFC of the user, and forwards the SIP request to the proxy AS;
步驟 304 , 代理 AS路由到 AS- 1;  Step 304, the proxy AS routes to the AS-1;
步驟 305-307, 定时器超时, 代理 AS重新选择 AS-2并将 SIP请求 转发给 AS-2;  Step 305-307, the timer expires, the proxy AS reselects the AS-2 and forwards the SIP request to the AS-2.
步驟 308, AS-2返回 SIP响应 ( SIP Response ) 。  In step 308, AS-2 returns a SIP response (SIP Response).
由以上流程可以看出, S-CSCF 会将所有注册请求、 呼叫请求均转 发给代理 AS, 由代理 AS选择 AS。  It can be seen from the above process that the S-CSCF forwards all registration requests and call requests to the proxy AS, and the proxy AS selects the AS.
在本发明中, 代理 AS选择 AS的过程与 S-CSCF选择 AS的过程类 似, 在此不再赘述。 另外, 通过取模运算建立用户所属接入网的 ID 与 AS的对应关系的过程与上述建立 PUI与 AS的对应关系的过程类似,在 进一步地, 在处理主叫侧业务时, S-CSCF或代理 AS从呼叫信令中 取出主叫用户的 PUI执行取模运算; 在处理被叫侧业务时, S-CSCF或 代理 AS从呼叫信令中取出被叫用户的 PUI执行取模运算。 In the present invention, the process of selecting the AS by the proxy AS and the process class of selecting the AS by the S-CSCF Like, no longer repeat here. In addition, the process of establishing the correspondence between the ID of the access network to which the user belongs and the AS by the modulo operation is similar to the process of establishing the correspondence between the PUI and the AS, and further, when processing the calling side service, the S-CSCF or The proxy AS extracts the PUI of the calling user from the call signaling to perform a modulo operation; when processing the called side service, the S-CSCF or the proxy AS takes the PUI of the called user from the call signaling to perform a modulo operation.
进一步地, 一个用户可以同时拥有多个 PUI, 用户可以用任一 PUI 执行注册, 但这些 P U I在用户的签约数据中会以隐式注册集或别名组的 形式存在。 在用户的注册流程中, S-CSCF或代理 AS可以从注册信令中 取出用户隐式注册集或别名组中的第一个 PUI (即缺省 PUI )作为用户 的特征信息执行取模运算, 从而保证用户的多次注册都能由同一个 AS 处理。  Further, a user can have multiple PUIs at the same time, and the user can perform registration with any PUI, but these P U I will exist in the form of an implicit registration set or an alias group in the user's subscription data. In the registration process of the user, the S-CSCF or the proxy AS may extract the first PUI (ie, the default PUI) in the user implicit registration set or the alias group from the registration signaling, and perform the modulo operation as the feature information of the user. This ensures that multiple registrations by users can be handled by the same AS.
进一步地, 一个用户可以同时拥有多个 PUI, 用户可以用任一 PUI 发起呼叫或呼叫被叫的任一 PUI, 但用户的多个 PUI在用户的签约数据 中会以隐式注册集或别名组的形式存在。 在用户的呼叫流程中, S-CSCF 或代理 AS可以从 HSS得到主叫用户或被叫用户隐式注册集或别名组中 的第一个 PUI (即缺省 PUI )作为用户的特征信息执行取模运算, 从而 保证用户的多次呼叫都能由同一个 AS处理。  Further, a user can have multiple PUIs at the same time, and the user can initiate a call or call any PUI of the called party by using any PUI, but the multiple PUIs of the user may be an implicit registration set or an alias group in the subscription data of the user. The form exists. In the call flow of the user, the S-CSCF or the proxy AS may obtain the first PUI (ie, the default PUI) in the implicit registration set or the alias group of the calling user or the called user from the HSS as the feature information of the user. The modulo operation ensures that multiple calls from the user can be handled by the same AS.
进一步地, 在 IMS网络中存在多个 S-CSCF或多个代理 AS, 这些 S-CSCF或代理 AS均可接受用户呼叫并为用户选择 AS,只要算法一致, 都能实现同一个用户的多次呼叫请求转发到同一个 AS上的目标。  Further, there are multiple S-CSCFs or multiple proxy ASs in the IMS network. These S-CSCFs or proxy ASs can accept user calls and select ASs for users. As long as the algorithms are consistent, multiple users of the same user can be implemented. The call request is forwarded to the target on the same AS.
进一步地, IMS网络中允许某些用户不经过注册就可执行呼叫, 这 种呼叫称为未注册呼叫。 在处理未注册呼叫的主叫侧业务时, S-CSCF 或代理 AS从呼叫信令中取出主叫用户的 PUI执行取模运算; 在处理未 注册呼叫的被叫侧业务时, S-CSCF或代理 AS从呼叫信令中取出被叫用 户的 PUI执行取模运算。 Further, in the IMS network, certain users are allowed to perform calls without registration, and such calls are called unregistered calls. When processing the calling side service of the unregistered call, the S-CSCF or the proxy AS takes the PUI of the calling user from the call signaling to perform a modulo operation; when processing the called side service of the unregistered call, the S-CSCF or The proxy AS removes the called party from the call signaling. The user's PUI performs a modulo operation.
下面通过一个具体实例, 说明在容灾场景下 S-CSCF如何选择 AS, 如图 6所示, 选择流程包括:  The following describes how the S-CSCF selects an AS in a disaster-tolerant scenario. As shown in Figure 6, the selection process includes:
步驟 601 , S-CSCF收到一个用户的呼叫请求。  Step 601: The S-CSCF receives a call request from a user.
步驟 602 , S-CSCF从本地或 HSS获得该用户的 IFC, 并从 IFC得到 一个 AS名称。  Step 602: The S-CSCF obtains the IFC of the user from the local or HSS, and obtains an AS name from the IFC.
步驟 603-604, S-CSCF根据该 AS名称查询 DNS, 假设 DNS上配 置了表 1 所示的 AS名称与真实的 AS主机名的对应关系, 则 DNS向 S-CSCF 返回 三个主机名 : AS-1.COM.CN 、 AS-2.COM.CN 、 AS-3.COM.CN。  Steps 603-604, the S-CSCF queries the DNS according to the AS name. If the mapping between the AS name and the real AS host name shown in Table 1 is configured on the DNS, the DNS returns three host names to the S-CSCF: AS -1.COM.CN, AS-2.COM.CN, AS-3.COM.CN.
IFC中的 AS名称与主机名的对应关系可以配置在 DNS, 也可以由 管理员在 S-CSCF本地进行配置, 这样 S-CSCF就无需查询 DNS。  The mapping between the AS name and the host name in the IFC can be configured in the DNS or configured locally by the administrator in the S-CSCF, so that the S-CSCF does not need to query the DNS.
步驟 605 , S-CSCF根据 DNS返回的 AS主机名自动生成如表 2所 示的 AS与模值的对应关系; 另外, 也可以采用手工预建立、 自动建立 的方式产生表 2, 如表 2中的 AS与模值的对应关系可以由 DNS建立, 并在步驟 604中返回给 S-CSCF。  Step 605: The S-CSCF automatically generates the correspondence between the AS and the modulus according to the AS host name returned by the DNS. Alternatively, the table 2 may be generated by using a manual pre-establishment or an automatic establishment manner, as shown in Table 2. The correspondence between the AS and the modulus value can be established by the DNS and returned to the S-CSCF in step 604.
步驟 606, 当处理该呼叫的主叫侧业务时, S-CSCF从呼叫信令中取 出主叫用户的 PUI 进行取模运算; 当处理该呼叫的被叫侧业务时, S-CSCF从呼叫信令中取出被叫用户的 PUI进行取模运算;  Step 606: When processing the calling side service of the call, the S-CSCF takes the PUI of the calling user from the call signaling to perform a modulo operation; when processing the called side service of the call, the S-CSCF receives the call letter. The PUI of the called user is taken out to perform a modulo operation;
假设该 S-CSCF为主叫侧 S-CSCF, 处理的是主叫侧的呼叫请求, 且 主叫用户的 PUI为 52871235 ,则将 PUI对 3取模得到 0,根据表 2, S-CSCF 选择 AS-1 ;  Assume that the S-CSCF is the calling side S-CSCF, and the call request of the calling side is processed, and the PUI of the calling user is 52871235, and the PUI is modulo 3 to obtain 0. According to Table 2, the S-CSCF selects AS-1;
步驟 607, S-CSCF将呼叫请求转发给 AS-1。  Step 607: The S-CSCF forwards the call request to the AS-1.
步驟 608 , 定时器超时, S-CSCF未收到 AS-1的响应, 则得知 AS-1 发生故障, 则 S-CSCF生成表 3。 步驟 609, S-CSCF将 52871235对 2取模得到 1 , 根据表 3 , S-CSCF 选择 AS-3。 Step 608: If the timer expires and the S-CSCF does not receive the response of the AS-1, it is known that the AS-1 fails, and the S-CSCF generates Table 3. In step 609, the S-CSCF modulo 52871235 to 2 to obtain 1, according to Table 3, the S-CSCF selects AS-3.
步驟 610, S-CSCF将该呼叫请求转发给 AS-3。  Step 610: The S-CSCF forwards the call request to the AS-3.
如果 S-CSCF预先已通过自身与 AS间的心跳消息得知 AS-1发生故 障, 并据此生成了表 3 , 则可以跳过步驟 607和 608, 直接执行步驟 609。  If the S-CSCF has previously learned that the AS-1 has failed through the heartbeat message between itself and the AS, and generates Table 3 accordingly, step 607 and 608 may be skipped, and step 609 is directly executed.
为实现上述 IMS网络中实现异地容灾的方法, 本发明还相应提供一 种 IMS网络中实现异地容灾的装置。该装置位于 S-CSCF或代理 AS中, 且用于: 当 AS POOL 中有 AS发生故障时, 将原来归属于发生故障的 AS的用户的业务转发到正常 AS上; 将原来归属于正常 AS的用户的业 务转发到用户原来归属的 AS上。  To implement the method for implementing remote disaster recovery in the foregoing IMS network, the present invention further provides an apparatus for implementing remote disaster recovery in an IMS network. The device is located in the S-CSCF or the proxy AS, and is used to: when an AS in the AS POOL fails, forward the service of the user originally belonging to the failed AS to the normal AS; The user's service is forwarded to the AS to which the user originally belonged.
如图 7所示, 根据本发明的一个实施例, 所述装置包括: : 第一计 算模块、 转发模块和第二计算模块; 其中,  As shown in FIG. 7, according to an embodiment of the present invention, the device includes: a first calculation module, a forwarding module, and a second calculation module;
第一计算模块, 用于当收到一个用户的业务时, 将所述用户的特征 信息对应用服务器池中所有 AS的权重之和进行取模, 得到第一模值; 转发模块, 用于通过查找第一对应关系表获得第一模值对应的第一 a first calculating module, configured to: when receiving a service of a user, modulo the feature information of the user to a sum of weights of all ASs in the application server pool to obtain a first modulo value; and a forwarding module, configured to pass Finding the first correspondence table to obtain the first corresponding to the first modulus value
AS ,并将第一模值对应的用户的业务转发到第一模值对应的第一 AS上, 其中, 所述第一对应关系表中包含有所有 AS与模值的对应关系; 在转 发用户的业务后,如果未收到第一 AS的响应,则确认第一 AS发生故障, 则触发第二计算模块; AS, and forwards the service of the user corresponding to the first modulo to the first AS corresponding to the first modulo value, where the first correspondence table includes the correspondence between all ASs and the modulo value; After the service, if the response of the first AS is not received, it is confirmed that the first AS fails, and the second calculation module is triggered;
第二计算模块, 用于生成包含有所有正常 AS与模值的对应关系的 第二对应关系表, 并将所述用户的特征信息对应用服务器池中所有正常 AS的权重之和进行取模, 得到第二模值;  a second calculation module, configured to generate a second correspondence table including a correspondence between all normal ASs and a modulus value, and modulate the sum of the characteristics information of the user on all normal ASs in the application server pool, Obtaining a second modulus value;
转发模块, 还用于通过查找第二对应关系表获得第二模值对应的第 二 AS , 并将第二模值对应的用户的业务转发到第二模值对应的第二 AS 上; 如果转发模块未收到第二 AS 的响应, 则触发第二计算模块, 直至 将用户的业务转发到正常的 AS上。 The forwarding module is further configured to: obtain a second AS corresponding to the second modulo value by searching the second correspondence table, and forward the service of the user corresponding to the second modulo value to the second AS corresponding to the second modulo value; If the module does not receive the response of the second AS, the second computing module is triggered until Forward the user's service to the normal AS.
如图 8所示, 根据本发明的另一个实施例, 所述装置包括: 第一计 算模块、 查找模块、 判断模块、 转发模块和第二计算模块; 其中,  As shown in FIG. 8, according to another embodiment of the present invention, the device includes: a first calculation module, a search module, a determination module, a forwarding module, and a second calculation module;
第一计算模块, 用于当收到一个用户的业务时, 将所述用户的特征 信息对应用服务器池中所有 AS的权重之和进行取模, 得到第一模值; 查找模块, 用于通过查找第一对应关系表获得第一模值对应的第一 AS , 所述第一对应关系表中包含有所有 AS与模值的对应关系;  a first calculating module, configured to: when receiving a service of a user, modulo the feature information of the user to a sum of weights of all ASs in the application server pool to obtain a first modulo value; Finding a first correspondence table to obtain a first AS corresponding to the first modulus, where the first correspondence table includes a correspondence between all ASs and a modulus value;
判断模块,用于判断第一 AS是否是预先获得的正常 AS列表中的一 个, 如果是, 则触发转发模块将第一模值对应的用户的业务转发到第一 模值对应的第一 AS上; 否则, 触发第二计算模块;  a judging module, configured to determine whether the first AS is one of the pre-obtained normal AS lists, and if yes, the triggering forwarding module forwards the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value ; otherwise, trigger the second calculation module;
第二计算模块, 用于将所述用户的特征信息对应用服务器池中所有 正常 AS的权重之和进行取模, 得到第二模值;  a second calculating module, configured to modulo the sum of the feature information of the user to all normal ASs in the application server pool to obtain a second modulus value;
查找模块, 还用于通过查找第二对应关系表获得第二模值对应的第 二 AS ,其中,第二对应关系表中包含有所有正常 AS与模值的对应关系; 转发模块, 用于将第二模值对应的用户的业务转发到第二模值对应 的第二 AS上。  The locating module is further configured to obtain a second AS corresponding to the second modulo value by searching the second correspondence table, where the second correspondence table includes a correspondence between all normal ASs and the modulo value; The service of the user corresponding to the second modulus is forwarded to the second AS corresponding to the second modulus.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的 保护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种 IMS网络中实现异地容灾的方法, 所述 IMS网络中包含有 第一服务器和应用服务器池, 其特征在于, 所述方法包括:  A method for implementing remote disaster recovery in an IMS network, where the IMS network includes a first server and an application server pool, where the method includes:
当应用服务器池中有应用服务器 AS发生故障时, 第一服务器将原 来归属于发生故障的 AS的用户的业务转发到正常 AS上;将原来归属于 正常 AS的用户的业务转发到用户原来归属的 AS上。  When the application server AS is faulty in the application server pool, the first server forwards the service of the user that belongs to the failed AS to the normal AS, and forwards the service of the user originally belonged to the normal AS to the original user. On the AS.
2、 根据权利要求 1所述的 IMS网络中实现异地容灾的方法, 其特 征在于, 所述方法具体包括:  The method for implementing the remote disaster recovery in the IMS network according to claim 1, wherein the method specifically includes:
当第一服务器收到一个用户的业务时, 第一服务器将所述用户的特 征信息对应用服务器池中所有 AS的权重之和进行取模, 得到第一模值; 第一服务器通过查找第一对应关系表获得第一模值对应的第一 AS , 并将第一模值对应的用户的业务转发到第一模值对应的第一 AS上, 其 中, 所述第一对应关系表中包含有所有 AS与模值的对应关系;  When the first server receives the service of the user, the first server modulates the sum of the characteristics of the user to the weights of all the ASs in the application server pool to obtain a first modulus; the first server searches for the first The correspondence table obtains the first AS corresponding to the first modulo value, and forwards the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value, where the first correspondence table includes Correspondence between all ASs and modulus values;
在转发用户的业务后, 如果第一服务器未收到第一 AS 的响应, 则 第一服务器确认第一 AS发生故障,则生成包含有所有正常 AS与模值的 对应关系的第二对应关系表, 并将所述用户的特征信息对应用服务器池 中所有正常 AS的权重之和进行取模, 得到第二模值;  After forwarding the user's service, if the first server does not receive the response of the first AS, the first server confirms that the first AS is faulty, and generates a second correspondence table including the correspondence between all the normal ASs and the modulus values. And modulating the sum of the characteristics information of the user to all normal ASs in the application server pool to obtain a second modulus value;
第一服务器通过查找第二对应关系表获得第二模值对应的第二 AS , 并将第二模值对应的用户的业务转发到第二模值对应的第二 AS上; 如果第一服务器未收到第二 AS 的响应, 则返回生成第二对应关系 表的步驟, 直至将用户的业务转发到正常的 AS上。  The first server obtains the second AS corresponding to the second modulus by searching the second correspondence table, and forwards the service of the user corresponding to the second modulus to the second AS corresponding to the second modulus; if the first server does not Upon receiving the response of the second AS, the process of generating the second correspondence table is returned until the user's service is forwarded to the normal AS.
3、 根据权利要求 1所述的 IMS网络中实现异地容灾的方法, 其特 征在于, 所述方法具体包括:  The method for implementing the remote disaster recovery in the IMS network according to claim 1, wherein the method specifically includes:
当第一服务器收到一个用户的业务时, 第一服务器将所述用户的特 征信息对应用服务器池中所有 AS的权重之和进行取模, 得到第一模值; 第一服务器通过查找第一对应关系表获得第一模值对应的第一 AS , 所述第一对应关系表中包含有所有 AS与模值的对应关系; When the first server receives the service of the user, the first server modifies the sum of the feature information of the user to all ASs in the application server pool to obtain a first modulus value; The first server obtains a first AS corresponding to the first modulo value by searching the first correspondence table, where the first correspondence relationship table includes a correspondence between all ASs and a modulus value;
第一服务器判断第一 AS是否是预先获得的正常 AS列表中的一个, 如果是,则将第一模值对应的用户的业务转发到第一模值对应的第一 AS 上; 否则,  The first server determines whether the first AS is one of the pre-acquired normal AS lists, and if yes, forwards the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value; otherwise,
第一服务器将所述用户的特征信息对应用服务器池中所有正常 AS 的权重之和进行取模, 得到第二模值;  The first server modulates the sum of the feature information of the user to all normal ASs in the application server pool to obtain a second modulus value;
第一服务器通过查找第二对应关系表获得第二模值对应的第二 AS , 并将第二模值对应的用户的业务转发到第二模值对应的第二 AS上, 其 中, 第二对应关系表中包含有所有正常 AS与模值的对应关系。  The first server obtains the second AS corresponding to the second modulo value by searching the second correspondence table, and forwards the service of the user corresponding to the second modulo value to the second AS corresponding to the second modulo value, where the second corresponding The relationship table contains the correspondence between all normal AS and the modulus values.
4、 根据权利要求 2或 3所述的 IMS网络中实现异地容灾的方法, 其特征在于, 当处理主叫侧业务时, 所述用户的特征信息为主叫用户的 特征信息; 当处理被叫侧业务时, 所述用户的特征信息为被叫用户的特 征信息。  The method for implementing remote disaster recovery in an IMS network according to claim 2 or 3, wherein when the calling side service is processed, the feature information of the user is the feature information of the calling user; When the side service is called, the feature information of the user is the feature information of the called user.
5、 根据权利要求 2或 3所述的 IMS网络中实现异地容灾的方法, 其特征在于, 所述第一服务器为服务呼叫控制实体或代理 AS。  The method for implementing remote disaster recovery in an IMS network according to claim 2 or 3, wherein the first server is a serving call control entity or a proxy AS.
6、 根据权利要求 2或 3所述的 IMS网络中实现异地容灾的方法, 其特征在于, 所述用户的特征信息为用户的公共用户标识或用户所属接 入网的标识。  The method for implementing remote disaster recovery in an IMS network according to claim 2 or 3, wherein the feature information of the user is a public user identifier of the user or an identifier of the access network to which the user belongs.
7、 一种 IMS 网络中实现异地容灾的装置, 其特征在于, 所述装置 用于: 当 IMS网络的应用服务器池中有 AS发生故障时, 将原来归属于 发生故障的 AS的用户的业务转发到正常 AS上; 将原来归属于正常 AS 的用户的业务转发到用户原来归属的 AS上。  An apparatus for implementing remote disaster recovery in an IMS network, wherein the apparatus is configured to: when an AS in an application server pool of an IMS network fails, the service originally attributed to the user of the failed AS The service is forwarded to the normal AS. The service of the user originally assigned to the normal AS is forwarded to the AS to which the user belongs.
8、 根据权利要求 7所述的 IMS网络中实现异地容灾的装置, 其特 征在于, 所述装置包括: 第一计算模块、 转发模块和第二计算模块; 其 中, The apparatus for implementing the remote disaster recovery in the IMS network according to claim 7, wherein the apparatus comprises: a first computing module, a forwarding module, and a second computing module; Medium,
第一计算模块, 用于当收到一个用户的业务时, 将所述用户的特征 信息对应用服务器池中所有 AS的权重之和进行取模, 得到第一模值; 转发模块, 用于通过查找第一对应关系表获得第一模值对应的第一 AS ,并将第一模值对应的用户的业务转发到第一模值对应的第一 AS上, 其中, 所述第一对应关系表中包含有所有 AS与模值的对应关系; 在转 发用户的业务后,如果未收到第一 AS的响应,则确认第一 AS发生故障, 则触发第二计算模块;  a first calculating module, configured to: when receiving a service of a user, modulo the feature information of the user to a sum of weights of all ASs in the application server pool to obtain a first modulo value; and a forwarding module, configured to pass Searching the first correspondence table to obtain the first AS corresponding to the first modulo value, and forwarding the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value, where the first correspondence table The corresponding relationship between all the ASs and the modulo value is included; after the user's service is forwarded, if the response of the first AS is not received, if the first AS fails, the second computing module is triggered;
第二计算模块, 用于生成包含有所有正常 AS与模值的对应关系的 第二对应关系表, 并将所述用户的特征信息对应用服务器池中所有正常 AS的权重之和进行取模, 得到第二模值;  a second calculation module, configured to generate a second correspondence table including a correspondence between all normal ASs and a modulus value, and modulate the sum of the characteristics information of the user on all normal ASs in the application server pool, Obtaining a second modulus value;
转发模块, 还用于通过查找第二对应关系表获得第二模值对应的第 二 AS , 并将第二模值对应的用户的业务转发到第二模值对应的第二 AS 上; 如果转发模块未收到第二 AS 的响应, 则触发第二计算模块, 直至 将用户的业务转发到正常的 AS上。  The forwarding module is further configured to: obtain a second AS corresponding to the second modulo value by searching the second correspondence table, and forward the service of the user corresponding to the second modulo value to the second AS corresponding to the second modulo value; If the module does not receive the response from the second AS, the second computing module is triggered until the user's service is forwarded to the normal AS.
9、 根据权利要求 7所述的 IMS网络中实现异地容灾的装置, 其特 征在于, 所述装置包括: 第一计算模块、 查找模块、 判断模块、 转发模 块和第二计算模块; 其中,  The device for implementing the remote disaster recovery in the IMS network according to claim 7, wherein the device comprises: a first computing module, a searching module, a determining module, a forwarding module, and a second computing module;
第一计算模块, 用于当收到一个用户的业务时, 将所述用户的特征 信息对应用服务器池中所有 AS的权重之和进行取模, 得到第一模值; 查找模块, 用于通过查找第一对应关系表获得第一模值对应的第一 AS , 所述第一对应关系表中包含有所有 AS与模值的对应关系;  a first calculating module, configured to: when receiving a service of a user, modulo the feature information of the user to a sum of weights of all ASs in the application server pool to obtain a first modulo value; Finding a first correspondence table to obtain a first AS corresponding to the first modulus, where the first correspondence table includes a correspondence between all ASs and a modulus value;
判断模块,用于判断第一 AS是否是预先获得的正常 AS列表中的一 个, 如果是, 则触发转发模块将第一模值对应的用户的业务转发到第一 模值对应的第一 AS上; 否则, 触发第二计算模块; 第二计算模块, 用于将所述用户的特征信息对应用服务器池中所有 正常 AS的权重之和进行取模, 得到第二模值; a judging module, configured to determine whether the first AS is one of the pre-obtained normal AS lists, and if yes, the triggering forwarding module forwards the service of the user corresponding to the first modulo value to the first AS corresponding to the first modulo value ; otherwise, trigger the second calculation module; a second calculating module, configured to modulate a sum of the feature information of the user to all normal ASs in the application server pool to obtain a second modulus value;
查找模块, 还用于通过查找第二对应关系表获得第二模值对应的第 二 AS,其中,第二对应关系表中包含有所有正常 AS与模值的对应关系; 转发模块, 用于将第二模值对应的用户的业务转发到第二模值对应 的第二 AS上。  The locating module is further configured to obtain a second AS corresponding to the second modulo value by searching the second correspondence table, where the second correspondence table includes a correspondence between all normal ASs and the modulo value; The service of the user corresponding to the second modulus is forwarded to the second AS corresponding to the second modulus.
10、 根据权利要求 8或 9所述的 IMS网络中实现异地容灾的装置, 其特征在于, 所述用户的特征信息为用户的公共用户标识或用户所属接 入网的标识。  The apparatus for implementing the remote disaster recovery in the IMS network according to claim 8 or 9, wherein the characteristic information of the user is a public user identifier of the user or an identifier of the access network to which the user belongs.
PCT/CN2011/082481 2010-12-21 2011-11-18 Method and device for implementing off-site disaster recovery in ims network WO2012083775A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
BR112013015629-5A BR112013015629B1 (en) 2010-12-21 2011-11-18 Method for implementing remote claims recovery on an ip multimedia subsystem (ims) and device for implementing remote claims recovery on an ims network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010597943.9A CN102571387B (en) 2010-12-21 2010-12-21 Method and the device of long-distance disaster is realized in IMS network
CN201010597943.9 2010-12-21

Publications (1)

Publication Number Publication Date
WO2012083775A1 true WO2012083775A1 (en) 2012-06-28

Family

ID=46313134

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082481 WO2012083775A1 (en) 2010-12-21 2011-11-18 Method and device for implementing off-site disaster recovery in ims network

Country Status (3)

Country Link
CN (1) CN102571387B (en)
BR (1) BR112013015629B1 (en)
WO (1) WO2012083775A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125591B (en) * 2013-04-27 2017-10-27 中国移动通信集团河南有限公司 A kind of calling-control method based on IMS, apparatus and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094237A (en) * 2007-07-30 2007-12-26 中兴通讯股份有限公司 Method for sharing in load among net elements in IP multimedia sub system
CN101616011A (en) * 2008-06-23 2009-12-30 阿尔卡特朗讯公司 Be used for the method, apparatus and system of endpoint registration to the application server of IMS
WO2009155978A1 (en) * 2008-06-25 2009-12-30 Telefonaktiebolaget Lm Ericsson (Publ) Dynamic application server allocation in an ims network
CN101667936A (en) * 2008-09-04 2010-03-10 中国移动通信集团公司 Method, device and system for fault treatment of access session control server
CN101790247A (en) * 2010-02-26 2010-07-28 华为技术有限公司 Method, device and system for processing called continuation
CN102035798A (en) * 2009-09-25 2011-04-27 中兴通讯股份有限公司 Service processing method, system and device for realizing disaster tolerance

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094237A (en) * 2007-07-30 2007-12-26 中兴通讯股份有限公司 Method for sharing in load among net elements in IP multimedia sub system
CN101616011A (en) * 2008-06-23 2009-12-30 阿尔卡特朗讯公司 Be used for the method, apparatus and system of endpoint registration to the application server of IMS
WO2009155978A1 (en) * 2008-06-25 2009-12-30 Telefonaktiebolaget Lm Ericsson (Publ) Dynamic application server allocation in an ims network
CN101667936A (en) * 2008-09-04 2010-03-10 中国移动通信集团公司 Method, device and system for fault treatment of access session control server
CN102035798A (en) * 2009-09-25 2011-04-27 中兴通讯股份有限公司 Service processing method, system and device for realizing disaster tolerance
CN101790247A (en) * 2010-02-26 2010-07-28 华为技术有限公司 Method, device and system for processing called continuation

Also Published As

Publication number Publication date
CN102571387A (en) 2012-07-11
BR112013015629B1 (en) 2022-06-07
BR112013015629A2 (en) 2016-10-11
CN102571387B (en) 2016-01-20

Similar Documents

Publication Publication Date Title
USRE47773E1 (en) Method for implementing IP multimedia subsystem registration
US9906566B2 (en) Voice session termination for messaging clients in IMS
EP1895803B1 (en) A method for processing the register abnormality during the user register procedure
EP2192742B1 (en) Local session controller, ip multimedia subsystem and session registration method
US9379914B2 (en) Method and system for implementing aggregate endpoints on IMS networks
WO2008052464A1 (en) A method and apparatus for implementing the disaster recovery of ip ims
EP2388970B1 (en) System, method and apparatus for user equipment registration, activation for PNM
EP1816825A1 (en) A method and system for authenticating user terminal
WO2010075689A1 (en) Network disaster tolerant method, terminal and call session control function entity
WO2008083587A1 (en) Method and system and network element for service processing after network element data invalidated and occurring fault
WO2007025480A1 (en) Method of session processing in an ims and interrogating-call state control function
JP2008529331A (en) User identity
WO2006047925A1 (en) A method for selecting the authentication manner at the network side
WO2019120076A1 (en) Communication method, related device and system
WO2007036123A1 (en) A method and communication system for the cs domain user accessing the ims domain
CN101106795B (en) A registration hiding method for IMS domain
CN101667936A (en) Method, device and system for fault treatment of access session control server
WO2017092229A1 (en) Multiservice-based ims registration method and ims registration system
WO2009036629A1 (en) Processing method after core network element restarting or recovering form failure
WO2008134930A1 (en) Method, apparatus and system for message processing in ims network
CN102148739A (en) IMS (IP (Internet Protocol) Multimedia Subsystem) session routing control method and system
EP2119178B1 (en) Method and apparatuses for the provision of network services offered through a set of servers in an ims network
WO2007095796A1 (en) A method for realizing called service and a system thereof
EP2372966A1 (en) Method and device of multimedia subsystem service disposal and multimedia subsystem
WO2008151556A1 (en) Method and system for assigning serving-call session control function

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: 11851979

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112013015629

Country of ref document: BR

122 Ep: pct application non-entry in european phase

Ref document number: 11851979

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 112013015629

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20130620