CN112714442B - Exception handling method and device, storage medium and server - Google Patents

Exception handling method and device, storage medium and server Download PDF

Info

Publication number
CN112714442B
CN112714442B CN201911018705.5A CN201911018705A CN112714442B CN 112714442 B CN112714442 B CN 112714442B CN 201911018705 A CN201911018705 A CN 201911018705A CN 112714442 B CN112714442 B CN 112714442B
Authority
CN
China
Prior art keywords
host name
response message
location register
home location
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911018705.5A
Other languages
Chinese (zh)
Other versions
CN112714442A (en
Inventor
任中岗
黄杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Shandong Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Shandong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Group Shandong Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201911018705.5A priority Critical patent/CN112714442B/en
Publication of CN112714442A publication Critical patent/CN112714442A/en
Application granted granted Critical
Publication of CN112714442B publication Critical patent/CN112714442B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Abstract

The embodiment of the invention provides an exception handling method, an exception handling device, a storage medium and a server. In the scheme of the embodiment of the invention, a multimedia authentication response request sent by a service call session control function is received, wherein the multimedia authentication response request is sent by the service call session control function through a routing agent node; generating a first host name list according to the host name of the host, the host name of the corresponding disaster recovery home location register and a preset first priority order; and sending a multimedia authentication response message to the routing agent node, wherein the multimedia authentication response message carries the first host name list so that the routing agent node sends the multimedia authentication response message to the service call session control function, so that the user equipment can continue to execute the initial registration process or the refresh registration process even if the main home location register fails in the initial registration process or the refresh registration process, and the success rate of the initial registration and the refresh registration is improved.

Description

Exception handling method and device, storage medium and server
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of communications technologies, and in particular, to an exception handling method and apparatus, a storage medium, and a server.
[ background of the invention ]
In the current technical solution, after a User Equipment (User Equipment, abbreviated as UE) completes an initial registration or receives a Multimedia authentication response (MAA) message returned by a Home location register (HSS) from a Serving Call Session Control Function (S-CSCF), the HSS fails, a Routing Agent (Diameter Routing Agent, abbreviated as DRA) detects a failure of the HSS, a disaster tolerant procedure is automatically started, a service is switched to a disaster tolerant HSS, and if the User Equipment executes a refresh registration procedure or a subsequent procedure of the initial registration at this time, the S-CSCF sends a Server allocation Request (Server allocation Request, abbreviated as SAR) message to the disaster tolerant HSS, the disaster tolerant HSS determines that a Host (Destination-Host) field is not a Host of its own, and the failure of the Host in the refresh or the failure of the initial registration results in a refresh or a high refresh rate of the UE in the initial registration.
[ summary of the invention ]
In view of this, embodiments of the present invention provide an exception handling method, an exception handling apparatus, a storage medium, and a server, so as to solve the problem in the prior art that a failure rate of a refresh registration is too high during an initial registration process of a user equipment.
On one hand, the embodiment of the invention provides an exception handling method, which is applied to a main home location register; the method comprises the following steps:
receiving a multimedia authentication response request sent by a service call session control function, wherein the multimedia authentication response request is sent by the service call session control function through a routing agent node;
generating a first host name list according to the host name of the host, the host name of the corresponding disaster recovery home location register and a preset first priority order;
and sending a multimedia authentication response message to the routing agent node, wherein the multimedia authentication response message carries the first host name list so that the routing agent node sends the multimedia authentication response message to the service call session control function.
Optionally, before receiving the multimedia authentication response request sent by the serving call session control function, the method further includes:
receiving a user authorization request sent by a query call session control function, wherein the user authorization request is sent to a routing agent node by a service call session control function and is sent by the routing agent node;
and sending a user authorization response to the routing agent node, wherein the user authorization response carries a plurality of capability sets corresponding to a plurality of candidate service call session control functions, so that the routing agent node sends the plurality of capability sets to the inquiry call session control function, and the inquiry call session control function sends the received registration request sent by the user equipment to the service call session control function.
Optionally, after sending the multimedia authentication response message to the routing proxy node, the method further includes:
receiving a user authorization request sent by the inquiry call session control function, wherein the user authorization request is sent to the routing agent node by the inquiry call session control function and is sent by the routing agent node;
and sending a user authorization response to the routing agent node, wherein the user authorization response carries a service call session control function identifier, so that the routing agent node sends the user authorization response to the inquiry call session control function.
On the other hand, the embodiment of the invention provides an exception handling method, which is applied to a service call session control function; the method comprises the following steps:
sending a multimedia authentication response request to a routing agent node, so that the routing agent node sends the multimedia authentication response request to a main home location register, and the main home location register generates a first host name list according to the host name of the main home location register, the host name of the corresponding disaster recovery home location register and a preset first priority order;
and receiving a multimedia authentication response message sent by the main home location register, wherein the multimedia authentication response message carries a first host name list and is sent by the main home location register through the routing agent node.
Optionally, after receiving the multimedia authentication response message sent by the active home location register, the method further includes:
receiving a registration request sent by an inquiry call session control function;
sending a server allocation request to the routing agent node;
receiving a server allocation response message sent by a server sent by a routing agent node, wherein the server allocation response message carries a host name of a disaster tolerance home location register and is sent to the routing agent node by the disaster tolerance home location register;
generating a second host name list according to the server distribution response message;
an acknowledgement message is sent to the user equipment.
Optionally, generating the second host name list according to the server allocation response message includes:
judging whether the server allocation response message carries the host name of the main home location register or not;
and if the server allocation response message is judged not to carry the host name of the main home location register, generating a second host name list according to a preset second priority order, the host name of the main home location register and the disaster recovery home location register.
In another aspect, an embodiment of the present invention provides an exception handling apparatus, including:
a first receiving unit, configured to receive a multimedia authentication response request sent by a serving call session control function, where the multimedia authentication response request is sent by the serving call session control function through a routing agent node;
the disaster recovery system comprises a first generation unit, a second generation unit and a disaster recovery unit, wherein the first generation unit is used for generating a first host name list according to a host name of the first generation unit, a host name of a corresponding disaster recovery home location register and a preset first priority order;
and the first sending unit is used for sending a multimedia authentication response message to the routing agent node, wherein the multimedia authentication response message carries the first host name list so that the routing agent node sends the multimedia authentication response message to the service call session control function.
In another aspect, an embodiment of the present invention provides an exception handling apparatus, including:
a second sending unit, configured to send a multimedia authentication response request to the routing agent node, so that the routing agent node sends the multimedia authentication response request to the primary home location register, and the primary home location register generates a first host name list according to its host name, the host name of the corresponding disaster recovery home location register, and a preset first priority order;
and the second receiving unit is used for receiving a multimedia authentication response message sent by the main home location register, wherein the multimedia authentication response message carries the first host name list, and the multimedia authentication response message is sent by the main home location register through the routing agent node.
In another aspect, an embodiment of the present invention provides a server, including a memory and a processor, where the memory is used to store information including program instructions, and the processor is used to control execution of the program instructions, where the program instructions are loaded by the processor and executed to implement the steps of the above-mentioned exception handling method.
In the scheme of the embodiment of the invention, a multimedia authentication response request sent by a service call session control function is received, wherein the multimedia authentication response request is sent by the service call session control function through a routing agent node; generating a first host name list according to the host name of the host, the host name of the corresponding disaster recovery home location register and a preset first priority order; and sending a multimedia authentication response message to the routing agent node, wherein the multimedia authentication response message carries the first host name list so that the routing agent node sends the multimedia authentication response message to the service call session control function, so that the user equipment can continue to execute the initial registration process or the refresh registration process even if the main home location register fails in the initial registration process or the refresh registration process, and the success rate of the initial registration and the refresh registration is improved.
[ description of the drawings ]
Fig. 1 is a flowchart of an exception handling method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another exception handling method according to an embodiment of the present invention;
FIG. 3 is a flowchart of another exception handling method according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an exception handling apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another exception handling apparatus according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a server according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the description of the invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely a relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, etc. may be used to describe the set thresholds in the embodiments of the present invention, the set thresholds should not be limited to these terms. These terms are used only to distinguish set thresholds from one another. For example, the first set threshold may also be referred to as the second set threshold, and similarly, the second set threshold may also be referred to as the first set threshold, without departing from the scope of embodiments of the present invention.
Fig. 1 is a flowchart of an exception handling method according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 101, receiving a multimedia authentication response request sent by a serving call session control function, where the multimedia authentication response request is sent by the serving call session control function through a routing proxy node.
Step 102, generating a first host name list according to the host name of the host, the host name of the corresponding disaster recovery home location register and a preset first priority order.
Step 103, sending a multimedia authentication response message to the routing agent node, where the multimedia authentication response message carries the first host name list, so that the routing agent node sends the multimedia authentication response message to the service call session control function.
In the scheme of the embodiment of the invention, a multimedia authentication response request sent by a service call session control function is received, wherein the multimedia authentication response request is sent by the service call session control function through a routing agent node; generating a first host name list according to the host name of the host, the host name of the corresponding disaster recovery home location register and a preset first priority order; and sending a multimedia authentication response message to the routing agent node, wherein the multimedia authentication response message carries the first host name list so that the routing agent node sends the multimedia authentication response message to the service call session control function, so that the user equipment can continue to execute the initial registration process or the refresh registration process even if the main home location register fails in the initial registration process or the refresh registration process, and the success rate of the initial registration and the refresh registration is improved.
Fig. 2 is a flowchart of another exception handling method according to an embodiment of the present invention, and as shown in fig. 2, the method includes:
step 201, the UE sends an initial registration request to an Interrogating Call Session Control Function (I-CSCF).
In this embodiment, the sending of the initial registration request to the I-CSCF by the UE specifically includes: the UE sends the initial registration request to a Session Border Controller (SBC), and the SBC sends the initial registration request to the I-CSCF.
Step 202, I-CSCF sends User Authorization Request (UAR for short) to DRA.
In this embodiment, the UAR specifically requests multiple capability sets corresponding to multiple S-CSCFs.
Step 203, DRA sends UAR to main HSS.
Step 204, the primary HSS sends a User Authorization Answer (UAA) message to the DRA, where the UAA message carries multiple capability sets corresponding to multiple candidate S-CSCFs.
For example: 3 candidate S-CSCF (S-CSCF 1, S-CSCF2 and S-CSCF 3) can be selected, and the capability sets corresponding to the S-CSCF1 are 1, 2 and 3; the corresponding capability set of the S-CSCF2 is 1, 2, 3 and 100; the corresponding capability sets of the S-CSCF3 are 1, 2, 3 and 4.
Step 205, DRA sends UAA message to I-CSCF.
And step 206, the I-CSCF screens out an appointed capability set meeting the preset capability requirement from the plurality of capability sets and acquires an S-CSCF corresponding to the appointed capability set.
In this embodiment, the I-CSCF filters out a designated capability set meeting a preset capability requirement from a plurality of capability sets, for example: the preset capability requirements of the I-CSCF are 1, 2 and 100; the 3 candidate S-CSCFs and their corresponding capability sets are: the corresponding capability sets of the S-CSCF1 are 1, 2 and 3; the corresponding capability set of the S-CSCF2 is 1, 2, 3 and 100; and if the capability set corresponding to the S-CSCF3 is 1, 2, 3 and 4, the capability set corresponding to the S-CSCF2 is an energy level set meeting the preset capability requirement, and the capability set corresponding to the S-CSCF2 is determined as an appointed capability set.
Step 207, the I-CSCF sends the initial registration request to the S-CSCF.
Step 208, the S-CSCF sends a Multimedia Authentication Request (MAR) to the DRA.
In this embodiment, the MAR is specifically an authentication request Vector (AV).
In this embodiment, the MAR carries the S-CSCF id.
In this embodiment, AV is security data required for authentication.
And step 209, the DRA sends the MAR to the main HSS, and the MAR carries the S-CSCF identification.
In this embodiment, the MAR carries the S-CSCF identifier, that is, the DRA sends the S-CSCF identifier to the master HSS, indicating that the S-CSCF serves the current UE, and the master HSS stores the S-CSCF identifier in the local database, so as to ensure that the user equipment initiates a re-registration request or refreshes a registration request again to reach the same S-CSCF.
Step 210, the master HSS sends a Multimedia authentication response (MAA) message to the DRA, where the MAA message carries the first host name list and the AV.
In this embodiment, the master HSS is configured with a master HSS configuration file, and the host name of the master HSS and the host name of the disaster-tolerant HSS corresponding to the master HSS are recorded in the master HSS configuration file. At this time, the preset first priority order is that the priority of the master HSS is higher than that of the disaster-tolerant HSS, and a first host name list is generated according to the first priority order, the host name of the master HSS and the host name of the disaster-tolerant HSS. The first host name list is: host names of main HSS and disaster-tolerant HSS. Namely: the host names of the main HSS with high priority are ranked in the front, and the host names of the disaster-tolerant HSS with low priority are ranked in the back.
Step 211, the DRA sends the MAA message to the S-CSCF.
In this embodiment, the S-CSCF stores the first host name list in the local database.
Step 212, the S-CSCF sends 401 an authentication challenge message to the UE, and the 401 authentication challenge message carries AV.
In this embodiment, the sending 401 of the authentication challenge message to the UE by the S-CSCF specifically includes: and the S-CSCF sends the 401 authentication challenge message to the I-CSCF, the I-CSCF sends the 401 authentication challenge message to the SBC, and finally the SBC sends the 401 authentication challenge message to the UE.
Further, the UE determines whether the network side is valid according to the AV, if so, continues to perform step 213; if not, the process ends.
Step 213, the UE sends a re-registration request to the I-CSCF.
In this embodiment, the sending, by the UE, the re-registration request to the I-CSCF specifically includes: and the UE sends the re-registration request to the SBC, and the SBC sends the re-registration request to the I-CSCF.
Step 214, the I-CSCF sends the UAR to the DRA.
In this embodiment, the UAR is specifically a request S-CSCF identifier.
And step 215, sending the UAR to the master HSS by the DRA.
And step 216, the master HSS sends UAA information to the DRA, wherein the UAA information carries the S-CSCF identification.
Step 217, DRA sends UAA message to I-CSCF.
Step 218, the I-CSCF sends the re-registration request to the S-CSCF.
In this embodiment, the I-CSCF sends the re-registration request to the S-CSCF corresponding to the S-CSCF identifier.
And step 219, the S-CSCF sends the SAR to the DRA, and the SAR carries the first host name list.
In this embodiment, destination-Host fields of the SAR are a Host name of the primary HSS and a Host name of the disaster-tolerant HSS, that is, contents of the first Host name list.
In this embodiment, the primary HSS stores user subscription data.
Step 220, the DRA detects that the state of the active HSS is abnormal according to the first host name list.
In this embodiment, the DRA detects the state of the active HSS according to the host name of the active HSS, where the state of the active HSS includes: normal or abnormal. If the state of the master HSS is detected to be normal, the DRA sends the SAR to the master HSS, receives a Server Assignment Answer (SAA) message sent by the master HSS, the SAA message carries the host name and the user subscription data of the master HSS, sends the SAA message to the S-CSCF, and continues to execute step 226; if the state of the primary HSS is detected to be abnormal, step 221 is continuously performed.
And step 221, the DRA sends the SAR to a disaster-tolerant HSS according to the DRA configuration file.
In this embodiment, the DRA is configured with a DRA configuration file, and the DRA configuration file records a primary HSS and a disaster-tolerant HSS corresponding to the primary HSS; and the DRA sends the SAR to a disaster-tolerant HSS corresponding to the main HSS according to the DRA configuration file.
Step 222, the disaster tolerance HSS determines that the SAR carries the host name of the disaster tolerance HSS.
In this embodiment, the disaster tolerant HSS determines whether the Destination-Host field content in the SAR includes the Host name of the disaster tolerant HSS, if yes, step 223 is executed continuously; if not, the process ends.
In this embodiment, if the disaster-tolerant HSS determines that the SAR carries the host name of the disaster-tolerant HSS, the disaster-tolerant HSS takes over the primary HSS.
In this embodiment, the disaster-tolerant HSS stores the same user subscription data as the corresponding primary HSS.
Step 223, the disaster tolerance HSS sends SAA message to the DRA, where the SAA message carries the host name of the disaster tolerance HSS.
In this embodiment, an Origin-Host (Origin-Host) field of the SAA message is a Host name of the disaster-tolerant HSS, indicating that the SAA message is sent by the disaster-tolerant HSS.
In this embodiment, the SAA message carries user subscription data, that is: and the disaster tolerance HSS sends the user subscription data to the DRA.
Step 224, the DRA sends the SAA message to the S-CSCF.
In this embodiment, the DRA sends the user subscription data to the S-CSCF.
Step 225, the S-CSCF generates a second list of host names according to the SAA message.
In this embodiment, the S-CSCF detects whether the host name of the primary HSS or the host name of the disaster tolerant HSS is carried in the SAA message. If the host name of the main HSS is detected to be carried, the first host name list in the S-CSCF local database is kept unchanged; if the carried host name of the disaster-tolerant HSS is detected, the S-CSCF adjusts the first host name list, the preset second priority order is that the priority of the disaster-tolerant HSS is higher than that of the main HSS, and the second host name list is generated according to the second priority order, the host name of the main HSS and the host name of the disaster-tolerant HSS. The second host name list is: host names of disaster-tolerant HSS and host names of main HSS.
Further, the S-CSCF saves the second list of host names to a local database.
Further, when the UE sends a refresh registration request to the I-CSCF again, the I-CSCF sends UAR to the main HSS and receives UAA sent by the main HSS; the I-CSCF sends a refresh registration request to the S-CSCF; the S-CSCF sends the SAR to the DRA, the SAR carries a second Host name list at the moment, namely the Destination-Host field of the SAR is the Host name of the disaster-tolerant HSS and the Host name of the main HSS at the moment; the DRA detects whether the state of the master HSS is abnormal or not according to the master name of the master HSS in the second master name list, if so, the SAR is sent to the disaster-tolerant HSS according to the DRA configuration file configured by the DRA, and the steps 221 to 226 are continuously executed; if not, the SAR is sent to the master HSS, the SAA message sent by the master HSS is received, the SAA message is sent to the S-CSCF, and the step 226 is continuously executed.
Step 226, the S-CSCF sends an acknowledgement message to the UE.
In this embodiment, the sending of the confirmation message to the UE by the S-CSCF specifically includes: and the S-CSCF sends the confirmation message to the SBC, and the SBC sends the confirmation message to the UE.
In the scheme of the embodiment of the invention, a multimedia authentication response request sent by a service call session control function is received, wherein the multimedia authentication response request is sent by the service call session control function through a routing agent node; generating a first host name list according to the host name of the host, the host name of the corresponding disaster recovery home location register and a preset first priority order; and sending a multimedia authentication response message to the routing agent node, wherein the multimedia authentication response message carries the first host name list so that the routing agent node sends the multimedia authentication response message to the service call session control function, so that the user equipment can continue to execute the initial registration process or the refresh registration process even if the main home location register fails in the initial registration process or the refresh registration process, and the success rate of the initial registration and the refresh registration is improved.
Fig. 3 is a flowchart of another exception handling method according to an embodiment of the present invention, as shown in fig. 3, the method includes:
step 301, the UE sends a refresh registration request to the I-CSCF.
In this embodiment, the specific step of sending the refresh registration request to the I-CSCF by the UE is: and the UE sends the refresh registration request to the SBC, and the SBC sends the refresh registration request to the I-CSCF.
Step 302, the I-CSCF sends the UAR to the DRA.
In this embodiment, the UAR is specifically a request S-CSCF identifier.
Step 303, DRA sends UAR to main HSS.
And step 304, the primary HSS sends UAA information to the DRA, wherein the UAA information carries the S-CSCF identification.
Step 305, the DRA sends the UAA message to the I-CSCF.
Step 306, the I-CSCF sends a refresh registration request to the S-CSCF.
In this embodiment, the I-CSCF sends the re-registration request to the S-CSCF corresponding to the S-CSCF identifier.
And 307, the S-CSCF sends the SAR to the DRA, and the SAR carries a first host name list.
In this embodiment, the content of the first Host name list is the Host name of the primary HSS and the Host name of the disaster-tolerant HSS, and the Destination-Host field of the SAR is the Host name of the primary HSS and the Host name of the disaster-tolerant HSS.
In this embodiment, the primary HSS stores user subscription data.
Step 308, the DRA detects that the state of the active HSS is abnormal according to the first host name list.
In this embodiment, the DRA detects the state of the primary HSS according to the host name of the primary HSS, where the state of the primary HSS includes: normal or abnormal. If the state of the main HSS is detected to be normal, the DRA sends the SAR to the main HSS, receives a server allocation response SAA message sent by the main HSS, the SAA message carries the host name and the user subscription data of the main HSS, sends the SAA message to the S-CSCF, and continues to execute step 314; if the state of the primary HSS is detected to be abnormal, step 309 is continuously executed.
And 309, sending the SAR to a disaster recovery HSS by the DRA according to the DRA configuration file.
Step 310, the disaster tolerance HSS determines that the SAR carries the host name of the disaster tolerance HSS.
Step 311, the disaster tolerance HSS sends an SAA message to the DRA, where the SAA message carries the host name of the disaster tolerance HSS.
Step 312, the DRA sends the SAA message to the S-CSCF.
Step 313, the S-CSCF generates a second hostname list according to the SAA message.
Step 314, the S-CSCF sends a confirmation message to the UE.
In this embodiment, steps 309 to 314 are the same as steps 221 to 226, and are not described in detail herein.
The exception handling method provided in steps 201 to 226 is an exception handling method in the case that the primary HSS is abnormal when the user equipment performs initial registration; the exception handling method provided in steps 301 to 314 is an exception handling method in the case where the active HSS is abnormal when the user equipment refreshes registration.
Typically, the user equipment performs the step of refreshing the registration periodically after initial registration, and optionally, the period is set to one hour.
In the scheme of the embodiment of the invention, a multimedia authentication response request sent by a service call session control function is received, wherein the multimedia authentication response request is sent by the service call session control function through a routing agent node; generating a first host name list according to the host name of the host, the host name of the corresponding disaster recovery home location register and a preset first priority order; and sending a multimedia authentication response message to the routing agent node, wherein the multimedia authentication response message carries the first host name list so that the routing agent node sends the multimedia authentication response message to the service call session control function, so that the user equipment can continue to execute the initial registration process or the refresh registration process even if the main home location register fails in the initial registration process or the refresh registration process, and the success rate of the initial registration and the refresh registration is improved.
Fig. 4 is a schematic structural diagram of an exception handling apparatus according to an embodiment of the present invention, the apparatus is configured to execute the exception handling method, and as shown in fig. 4, the apparatus includes: a first receiving unit 11, a first generating unit 12 and a first transmitting unit 13.
The first receiving unit 11 is configured to receive a multimedia authentication response request sent by the serving call session control function, where the multimedia authentication response request is sent by the serving call session control function through the routing proxy node.
The first generating unit 12 is configured to generate a first host name list according to the host name of the first generating unit, the host name of the corresponding disaster recovery home location register, and a preset first priority order.
The first sending unit 13 is configured to send a multimedia authentication response message to the routing agent node, where the multimedia authentication response message carries the first host name list, so that the routing agent node sends the multimedia authentication response message to the serving call session control function.
In this embodiment of the present invention, the first receiving unit 11 is further configured to receive a user authorization request sent by the query call session control function, where the user authorization request is sent by the serving call session control function to the routing agent node, so as to be sent by the routing agent node.
The first sending unit 13 is further configured to send a user authorization response to the routing agent node, where the user authorization response carries multiple capability sets corresponding to multiple candidate service call session control functions, so that the routing agent node sends the multiple capability sets to the inquiry call session control function, and the inquiry call session control function sends the received registration request sent by the user equipment to the service call session control function.
In this embodiment of the present invention, the first receiving unit 11 is further configured to receive a user authorization request sent by the query call session control function, where the user authorization request is sent by the query call session control function to the routing agent node, so as to be sent by the routing agent node.
The first sending unit 13 is further configured to send a user authorization response to the routing agent node, where the user authorization response carries a service call session control function identifier, so that the routing agent node sends the user authorization response to the query call session control function.
In the scheme of the embodiment of the invention, a multimedia authentication response request sent by a service call session control function is received, wherein the multimedia authentication response request is sent by the service call session control function through a routing agent node; generating a first host name list according to the host name of the host, the host name of the corresponding disaster recovery home location register and a preset first priority order; and sending a multimedia authentication response message to the routing agent node, wherein the multimedia authentication response message carries the first host name list so that the routing agent node sends the multimedia authentication response message to the service call session control function, so that the user equipment can continue to execute the initial registration process or the refresh registration process even if the main home location register fails in the initial registration process or the refresh registration process, and the success rate of the initial registration and the refresh registration is improved.
Fig. 5 is a schematic structural diagram of an exception handling apparatus according to an embodiment of the present invention, the apparatus is configured to execute the exception handling method, and as shown in fig. 5, the apparatus includes: a second transmitting unit 21 and a second receiving unit 22.
The second sending unit 21 is configured to send a multimedia authentication response request to the routing agent node, so that the routing agent node sends the multimedia authentication response request to the primary home location register, and the primary home location register generates a first host name list according to a host name of the primary home location register, a host name of a corresponding disaster recovery home location register, and a preset first priority order;
the second receiving unit 22 is configured to receive a multimedia authentication response message sent by the active home location register, where the multimedia authentication response message carries the first host name list, and the multimedia authentication response message is sent by the active home location register through the routing agent node.
In the embodiment of the invention, the method further comprises the following steps: a second generating unit 23.
The second receiving unit 22 is further configured to receive a registration request sent by the interrogating call session control function; and receiving a server allocation response message sent by a server sent by the routing agent node, wherein the server allocation response message carries the host name of the disaster tolerance home location register, and the server allocation response message is sent to the routing agent node by the disaster tolerance home location register.
The second sending unit 21 is further configured to send a server allocation request to the routing proxy node; and sending a confirmation message to the user equipment.
The second generating unit 23 is configured to generate a second host name list according to the server assignment response message.
In this embodiment of the present invention, the second generating unit 23 specifically includes: a judgment subunit 231 and a generation subunit 232.
The determining subunit 231 is configured to determine whether the server allocation response message carries the host name of the primary home location register.
The generating subunit 232 is configured to generate a second host name list according to a preset second priority order, the host name of the main home location register, and the disaster tolerance home location register, if it is determined that the server allocation response message does not carry the host name of the main home location register.
In the scheme of the embodiment of the invention, a multimedia authentication response request sent by a service call session control function is received, wherein the multimedia authentication response request is sent by the service call session control function through a routing agent node; generating a first host name list according to the host name of the host, the host name of the corresponding disaster recovery home location register and a preset first priority order; and sending a multimedia authentication response message to the routing agent node, wherein the multimedia authentication response message carries the first host name list so that the routing agent node sends the multimedia authentication response message to the service call session control function, so that the user equipment can continue to execute the initial registration process or the refresh registration process even if the main home location register fails in the initial registration process or the refresh registration process, and the success rate of the initial registration and the refresh registration is improved.
An embodiment of the present invention provides a storage medium, where the storage medium includes a stored program, where, when the program runs, a device on which the storage medium is located is controlled to execute each step of the above-described embodiment of the exception handling method, and for specific description, reference may be made to the above-described embodiment of the exception handling method.
An embodiment of the present invention provides a server, including a memory and a processor, where the memory is used to store information including program instructions, and the processor is used to control execution of the program instructions, and the program instructions are loaded and executed by the processor to implement the steps of the foregoing exception handling method.
Fig. 6 is a schematic diagram of a server according to an embodiment of the present invention. As shown in fig. 6, the server 30 of this embodiment includes: the processor 31, the memory 32, and the computer program 33 stored in the memory 32 and capable of running on the processor 31, where the computer program 33 is executed by the processor 31 to implement the method applied to exception handling in the embodiment, and in order to avoid repetition, the details are not repeated herein. Alternatively, the computer program is executed by the processor 21 to implement the functions of the models/units applied in the exception handling apparatus in the embodiment, which are not described herein again to avoid redundancy.
The server 30 includes, but is not limited to, a processor 31, a memory 32. Those skilled in the art will appreciate that fig. 6 is merely an example of a server 30, and does not constitute a limitation of the server 30, and may include more or fewer components than shown, or some components in combination, or different components, e.g., the server may also include input-output devices, network access devices, buses, etc.
The Processor 31 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 32 may be an internal storage unit of the server 30, such as a hard disk or a memory of the server 30. The memory 32 may also be an external storage device of the server 30, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the server 30. Further, the memory 32 may also include both an internal storage unit of the server 30 and an external storage device. The memory 32 is used for storing computer programs and other programs and data required by the server. The memory 32 may also be used to temporarily store data that has been output or is to be output.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (9)

1. An exception handling method is characterized in that the method is applied to a main home location register; the method comprises the following steps:
receiving a multimedia authentication response request sent by a service call session control function, wherein the multimedia authentication response request is sent by the service call session control function through a routing agent node;
generating a first host name list according to the host name of the host, the host name of the corresponding disaster recovery home location register and a preset first priority order;
sending a multimedia authentication response message to the routing proxy node, where the multimedia authentication response message carries the first host name list, so that the routing proxy node sends the multimedia authentication response message to the serving call session control function, so that the serving call session control function receives a registration request sent by an inquiry call session control function, sends a server allocation request to the routing proxy node, receives the server allocation response message sent by the routing proxy node, where the server allocation response message carries the host name of the disaster tolerance home location register, and the server allocation response message is sent to the routing proxy node by the disaster tolerance home location register, and generates a second host name list according to the server allocation response message, and sends a confirmation message to user equipment.
2. The exception handling method according to claim 1, wherein before said receiving a multimedia authentication response request sent by a serving call session control function, further comprising:
receiving a user authorization request sent by a query call session control function, wherein the user authorization request is sent to a routing agent node by the service call session control function and is sent by the routing agent node;
and sending a user authorization response to the routing agent node, wherein the user authorization response carries a plurality of capability sets corresponding to a plurality of candidate service call session control functions, so that the routing agent node sends the plurality of capability sets to the inquiry call session control function, and the inquiry call session control function sends a received registration request sent by the user equipment to the service call session control function.
3. The exception handling method according to claim 1, further comprising, after said sending a multimedia authentication response message to said routing proxy node:
receiving a user authorization request sent by an inquiry call session control function, wherein the user authorization request is sent to a routing agent node by the inquiry call session control function and is sent by the routing agent node;
and sending a user authorization response to the routing agent node, wherein the user authorization response carries the service call session control function identifier, so that the routing agent node sends the user authorization response to the inquiry call session control function.
4. An exception handling method, characterized by being applied to a serving call session control function; the method comprises the following steps:
sending a multimedia authentication response request to a routing agent node, so that the routing agent node sends the multimedia authentication response request to a main home location register, and the main home location register generates a first host name list according to the host name of the main home location register, the host name of the corresponding disaster recovery home location register and a preset first priority order;
receiving a multimedia authentication response message sent by the main home location register, wherein the multimedia authentication response message carries the first host name list, and the multimedia authentication response message is sent by the main home location register through the routing agent node;
after receiving the multimedia authentication response message sent by the primary home location register, the method further includes:
receiving a registration request sent by an inquiry call session control function;
sending a server allocation request to the routing agent node;
receiving the server allocation response message sent by the routing agent node sending server, wherein the server allocation response message carries the host name of the disaster recovery home location register, and the server allocation response message is sent to the routing agent node by the disaster recovery home location register;
generating a second host name list according to the server distribution response message;
and sending a confirmation message to the user equipment.
5. The exception handling method according to claim 4, wherein the generating a second host name list according to the server assignment response message specifically includes:
judging whether the server allocation response message carries the host name of the main home location register or not;
and if the server allocation response message is judged not to carry the host name of the main home location register, generating a second host name list according to a preset second priority order, the host name of the main home location register and the disaster recovery home location register.
6. An exception handling apparatus, the apparatus comprising:
a first receiving unit, configured to receive a multimedia authentication response request sent by a serving call session control function, where the multimedia authentication response request is sent by the serving call session control function through a routing proxy node;
the disaster recovery system comprises a first generation unit, a second generation unit and a disaster recovery unit, wherein the first generation unit is used for generating a first host name list according to a host name of the first generation unit, a host name of a corresponding disaster recovery home location register and a preset first priority order;
a first sending unit, configured to send a multimedia authentication response message to the routing proxy node, where the multimedia authentication response message carries the first host name list, so that the routing proxy node sends the multimedia authentication response message to the service call session control function, so that the service call session control function receives a registration request sent by an inquiry call session control function, sends a server allocation request to the routing proxy node, receives the server allocation response message sent by the routing proxy node, where the server allocation response message carries a host name of the disaster tolerance home location register, and the server allocation response message is sent by the disaster tolerance home location register to the routing proxy node, and generates a second host name list according to the server allocation response message, and sends a confirmation message to a user equipment.
7. An exception handling apparatus, the apparatus comprising:
a second sending unit, configured to send a multimedia authentication response request to a routing agent node, so that the routing agent node sends the multimedia authentication response request to a primary home location register, so that the primary home location register generates a first host name list according to a host name of the primary home location register, a host name of a corresponding disaster recovery home location register, and a preset first priority order;
a second receiving unit, configured to receive a multimedia authentication response message sent by the primary home location register, where the multimedia authentication response message carries the first host name list, and the multimedia authentication response message is sent by the primary home location register through the routing agent node;
the second receiving unit is further configured to receive a registration request sent by the call session query control function;
the second sending unit is further configured to send a server allocation request to the routing proxy node;
the second receiving unit is further configured to receive a server allocation response message sent by a server sent by the routing agent node, where the server allocation response message carries the host name of the disaster recovery home location register, and the server allocation response message is sent to the routing agent node by the disaster recovery home location register;
a second generating unit, configured to generate a second host name list according to the server allocation response message;
the second sending unit is further configured to send an acknowledgement message to the user equipment.
8. A server comprising a memory for storing information including program instructions and a processor for controlling the execution of the program instructions, characterized in that the program instructions are loaded and executed by the processor to implement the steps of the exception handling method of any one of claims 1 to 3.
9. A server comprising a memory for storing information including program instructions and a processor for controlling the execution of the program instructions, characterized in that the program instructions are loaded and executed by the processor to implement the steps of the exception handling method of any of claims 4 to 5.
CN201911018705.5A 2019-10-24 2019-10-24 Exception handling method and device, storage medium and server Active CN112714442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911018705.5A CN112714442B (en) 2019-10-24 2019-10-24 Exception handling method and device, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911018705.5A CN112714442B (en) 2019-10-24 2019-10-24 Exception handling method and device, storage medium and server

Publications (2)

Publication Number Publication Date
CN112714442A CN112714442A (en) 2021-04-27
CN112714442B true CN112714442B (en) 2023-04-18

Family

ID=75540320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911018705.5A Active CN112714442B (en) 2019-10-24 2019-10-24 Exception handling method and device, storage medium and server

Country Status (1)

Country Link
CN (1) CN112714442B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007041957A1 (en) * 2005-10-14 2007-04-19 Huawei Technologies Co., Ltd. Method and system for checking the name consistency of the serving call state control functions
CN101132407A (en) * 2007-08-13 2008-02-27 中兴通讯股份有限公司 Method for processing exception caused by re-selection service call conversation control function
CN101141483A (en) * 2007-10-16 2008-03-12 中兴通讯股份有限公司 Method and device of implementing called non-login service
WO2008046270A1 (en) * 2006-10-18 2008-04-24 Zte Corporation A home subscriber server automatic selection method of ip multimedia subsystem
WO2015007310A1 (en) * 2013-07-16 2015-01-22 Nokia Solutions And Networks Oy Re-registration in case of hss outage

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170553B (en) * 2006-10-24 2011-07-20 华为技术有限公司 Method and device for realizing Internet protocol multi-media sub-system disaster tolerance
JP4909773B2 (en) * 2007-03-16 2012-04-04 日本電気株式会社 Home subscriber server configuration method, configuration system, program, and storage medium
JP2008236183A (en) * 2007-03-19 2008-10-02 Nec Corp Call session control server assignment method and system
CN101790148B (en) * 2009-01-22 2012-02-22 华为技术有限公司 Register back-up data processing method, device and system
EP2504982B1 (en) * 2009-11-27 2016-04-13 Orange Method for moving a primary hss to a backup hss in an ip network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007041957A1 (en) * 2005-10-14 2007-04-19 Huawei Technologies Co., Ltd. Method and system for checking the name consistency of the serving call state control functions
WO2008046270A1 (en) * 2006-10-18 2008-04-24 Zte Corporation A home subscriber server automatic selection method of ip multimedia subsystem
CN101132407A (en) * 2007-08-13 2008-02-27 中兴通讯股份有限公司 Method for processing exception caused by re-selection service call conversation control function
CN101141483A (en) * 2007-10-16 2008-03-12 中兴通讯股份有限公司 Method and device of implementing called non-login service
WO2015007310A1 (en) * 2013-07-16 2015-01-22 Nokia Solutions And Networks Oy Re-registration in case of hss outage

Also Published As

Publication number Publication date
CN112714442A (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN102204222B (en) IMS restoration procedures for multiple contacts
CN106911728A (en) The choosing method and device of host node in distributed system
US8713351B2 (en) Message processing method and apparatus based on the SIP protocol and an IP communication system
CN111651291B (en) Method, system and computer storage medium for preventing split brain of shared storage cluster
JP2009510960A (en) Method and system for updating a home location register in a mobile network
CN111209578A (en) Application service access method and device
CN102255747B (en) Method and system for processing calling service
CN110876154B (en) Method, apparatus and storage medium for implementing NF proximity selection
CN101536464A (en) Method and apparatus for controlling communications
CN112565168B (en) Information pushing system and method, computing device and interaction system
CN101090568A (en) IP multimedium subsystem of automatic selecting attaching user server
CN101090569B (en) Automatic selecting method for attached user server of IP multimedium subsystem
CN101426261B (en) Method for service handling of multimedia subsystem, P-CSCF, I-CSCF and subsystem
CN112714442B (en) Exception handling method and device, storage medium and server
US8055774B2 (en) Method for improving subscriber data integrity in an IMS network
CN106028389B (en) A kind of method and system that disaster tolerance is refunded
CN103701780A (en) Authenticating method and system
CN112714430B (en) Exception handling method and device, storage medium and server
CN106302077B (en) Disaster recovery rewinding method and device
CN103888415A (en) IMS subscriber nomadism control method and device
CN106209473B (en) A kind of method and system that disaster tolerance is refunded
CN111190754B (en) Block chain event notification method and block chain system
CN114630323A (en) Voice call service processing method and device and computer readable storage medium
US20200041572A1 (en) Correlation charging method, charging apparatus, and system
CN113162886A (en) PBX registration method, equipment and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant