CN112714430A - Exception handling method and device, storage medium and server - Google Patents
Exception handling method and device, storage medium and server Download PDFInfo
- Publication number
- CN112714430A CN112714430A CN201911017861.XA CN201911017861A CN112714430A CN 112714430 A CN112714430 A CN 112714430A CN 201911017861 A CN201911017861 A CN 201911017861A CN 112714430 A CN112714430 A CN 112714430A
- Authority
- CN
- China
- Prior art keywords
- location register
- home location
- control function
- session control
- call session
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/02—Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
- H04W8/04—Registration at HLR or HSS [Home Subscriber Server]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A10/00—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE at coastal zones; at river basins
- Y02A10/40—Controlling or monitoring, e.g. of flood or hurricane; Forecasting, e.g. risk assessment or mapping
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
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, when the state of the main home location register is detected to be abnormal, a failure response message is sent to the service call session control function; receiving a second server allocation request sent by a service call session control function, wherein the second server allocation request carries a host name of a disaster tolerance home location register; sending a second server allocation request to a disaster tolerance home location register; receiving a server allocation response sent by a disaster tolerance home location register; the server allocation response is sent 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
[ 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 ]
VOLTE is called Voice over Long-Term Evolution (VOLTE) completely, and means a high-speed wireless communication standard facing mobile phones and data terminals. Based on an IP Multimedia Subsystem (IMS) network, the method uses configuration files specially made for a Control plane (Control plane) and a Media plane (Media plane) of voice service on a Long Term Evolution (LTE). In the current technical scheme, when a Routing Agent (Diameter Routing Agent, abbreviated as DRA) detects a failure of a primary HSS, a disaster recovery flow is automatically started, and a service is switched to the disaster recovery HSS. If the user equipment executes the refresh registration process or the subsequent process of initial registration at this time, the Server Assignment Request (SAR) message sent by the S-CSCF to the disaster-tolerant HSS carries the Host name of the primary HSS, and the disaster-tolerant HSS determines that the Destination-Host field is not the Host name of the Host, and if a reply error occurs, the subsequent process of refresh registration or initial registration fails, resulting in an excessively high refresh registration failure rate or during the initial registration process of the UE.
[ 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 UE.
In one aspect, an embodiment of the present invention provides an exception handling method, where the method includes:
when detecting that the state of the main home location register is abnormal, sending a failure response message to the service call session control function so that the service call session control function generates a second server allocation request according to the failure response message;
receiving a second server allocation request sent by a service call session control function, wherein the second server allocation request carries a host name of a disaster tolerance home location register;
sending a second server allocation request to a disaster tolerance home location register;
receiving a server allocation response sent by a disaster tolerance home location register;
and sending the server allocation response to the serving call session control function so that the serving call session control function sends a confirmation message to the user equipment.
Optionally, sending the second server allocation request to the disaster recovery home location register specifically includes:
and sending the second server allocation request to a disaster recovery home location register corresponding to the host name of the disaster recovery home location register.
Optionally, before sending a failure response message to the serving call session control function when detecting that the state of the active home location register is abnormal, the method further includes:
the configuration file records the host name of the main home location register, the state of the main home location register and the disaster tolerance home location register corresponding to the main home location register;
acquiring a host name of a disaster recovery home location register corresponding to a main home location register according to a configuration file;
and encapsulating the host name of the disaster recovery home location register in the failure response message.
Optionally, before obtaining the host name of the disaster recovery home location register corresponding to the primary home location register according to the configuration file, the method further includes:
receiving a first server allocation request sent by a service call session control function, wherein the first server allocation request carries a host name of a main home location register;
and detecting that the state of the main home location register is abnormal according to the host name of the main home location register.
Optionally, detecting that the state of the primary home location register is abnormal according to the host name of the primary home location register specifically includes:
and in the configuration file, detecting the state of the main home location register as abnormal according to the host name of the main home location register.
Optionally, before receiving the first server allocation 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 by the query call session control function after receiving a registration request sent by user equipment;
sending a user authorization request to a main home location register;
receiving a user authorization response message sent by a main home location register, wherein the user authorization response message carries a service call session control function identifier;
and sending the user authorization response message to the inquiry call session control function so that the inquiry call session control function sends the registration request to the service call session control function corresponding to the service call session control function identifier.
Optionally, the registration request comprises a re-registration request or a refresh registration request.
In another aspect, an embodiment of the present invention provides an exception handling apparatus, including:
a sending unit, configured to send a failure response message to the serving call session control function when detecting that the state of the primary home location register is abnormal, so that the serving call session control function generates a second server allocation request according to the failure response message; sending a second server allocation request to a disaster tolerance home location register; sending the server allocation response to the serving call session control function for the serving call session control function to send a confirmation message to the user equipment;
a receiving unit, configured to receive a second server allocation request sent by a service call session control function, where the second server allocation request carries a host name of a disaster tolerance home location register; and receiving a server allocation response sent by the disaster tolerance home location register.
On the other hand, an embodiment of the present invention provides a storage medium, where the storage medium includes a stored program, and when the program runs, a device in which the storage medium is located is controlled to execute the above exception handling method.
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, when the state of the main home location register is detected to be abnormal, a failure response message is sent to the service call session control function, so that the service call session control function generates a second server allocation request according to the failure response message; receiving a second server allocation request sent by a service call session control function, wherein the second server allocation request carries a host name of a disaster tolerance home location register; sending a second server allocation request to a disaster tolerance home location register; receiving a server allocation response sent by a disaster tolerance home location register; the server allocation response is sent to the service call session control function, so that the service call session control function sends a confirmation message to the user equipment, 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 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 examples of the present 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 one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: 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 the set thresholds from each other. 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:
And 102, receiving a second server allocation request sent by the service call session control function, wherein the second server allocation request carries the host name of the disaster tolerance home location register.
And step 103, sending the second server allocation request to the disaster tolerance home location register.
And step 104, receiving a server allocation response sent by the disaster tolerance home location register.
In the scheme of the embodiment of the invention, when the state of the main home location register is detected to be abnormal, a failure response message is sent to the service call session control function, so that the service call session control function generates a second server allocation request according to the failure response message; receiving a second server allocation request sent by a service call session control function, wherein the second server allocation request carries a host name of a disaster tolerance home location register; sending a second server allocation request to a disaster tolerance home location register; receiving a server allocation response sent by a disaster tolerance home location register; the server allocation response is sent to the service call session control function, so that the service call session control function sends a confirmation message to the user equipment, 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, as shown in fig. 2, the method includes:
step 201, a User Equipment (User Equipment, abbreviated as 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 is specifically a set of capabilities that requests multiple Call Session Control functions (Serving Call Session Control functions, abbreviated as S-CSCF).
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-CSCFs (S-CSCF1, S-CSCF2 and S-CSCF3) are available for selection, and the corresponding capability sets of the S-CSCF1 are 1, 2 and 3; the capability set corresponding to the S-CSCF2 is 1, 2, 3, 100; the S-CSCF3 corresponds to capability sets 1, 2, 3, 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 capability set corresponding to the S-CSCF1 is 1, 2, 3; the capability set corresponding to the S-CSCF2 is 1, 2, 3, 100; and if the capability set corresponding to the S-CSCF3 is 1, 2, 3 or 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 the designated 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.
Step 209, the DRA sends the MAR to the primary 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 host name and AV of the master HSS.
Step 211, the DRA sends the MAA message to the S-CSCF.
In this embodiment, the S-CSCF stores the host name of the primary HSS to 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.
In this embodiment, the UAR is specifically a request S-CSCF identifier.
And step 216, the primary 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 a 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.
Step 219, the S-CSCF sends the first SAR to the DRA, where the first SAR carries the host name of the active HSS.
In this embodiment, a Destination-Host field (Destination-Host) of the first SAR is a Host name of the primary HSS.
In this embodiment, the primary HSS stores user subscription data.
Step 220, the DRA detects that the state of the main HSS is abnormal according to the host name of the main HSS.
In this embodiment, the DRA is configured with a configuration file, and the host name of the primary HSS, the state (normal/abnormal) of the primary HSS, and the disaster-tolerant HSS corresponding to the primary HSS are recorded in the configuration file. The DRA detects the state of the main HSS in the configuration file according to the host name of the main HSS, if the state of the main HSS is detected to be normal, the DRA sends the first SAR to the main HSS, receives a Server Assignment Answer (SAA) message sent by the main 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.
Step 221, the DRA sends a failure response message to the S-CSCF, where the failure response message carries the host name of the disaster-tolerant HSS.
In this embodiment, the failure response message indicates that the state of the master HSS is abnormal.
In this embodiment, when the DRA detects that the state of the primary HSS is abnormal in the configuration file, the corresponding disaster-tolerant HSS is allocated to take over the primary HSS, and the host name of the disaster-tolerant HSS is encapsulated in the failure response message.
In this embodiment, the disaster-tolerant HSS stores the same user subscription data as the corresponding primary HSS.
Step 222, the S-CSCF sends a second SAR to the DRA, and the second SAR carries the host name of the disaster recovery HSS.
In this embodiment, after receiving the failure response message, the S-CSCF extracts the Host name of the disaster-tolerant HSS from the failure response message, replaces the Host name of the primary HSS in the Destination-Host field of the first SAR with the Host name of the disaster-tolerant HSS, and repackages the Host name into the second SAR.
Step 223, the DRA sends the second SAR to the disaster recovery HSS.
In this embodiment, the DRA sends the second SAR to the corresponding disaster-tolerant HSS according to the host name of the disaster-tolerant HSS.
Step 224, the disaster-tolerant HSS sends the SAA message to the DRA.
In this embodiment, the SAA message carries user subscription data, that is: and the disaster-tolerant HSS sends the user subscription data to the DRA.
Step 225, 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 226, the S-CSCF sends a confirmation 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, when the state of the main home location register is detected to be abnormal, a failure response message is sent to the service call session control function, so that the service call session control function generates a second server allocation request according to the failure response message; receiving a second server allocation request sent by a service call session control function, wherein the second server allocation request carries a host name of a disaster tolerance home location register; sending a second server allocation request to a disaster tolerance home location register; receiving a server allocation response sent by a disaster tolerance home location register; the server allocation response is sent to the service call session control function, so that the service call session control function sends a confirmation message to the user equipment, 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 sending, by the UE, the refresh registration request to the I-CSCF specifically includes: and the UE sends the refresh registration request to the SBC, and the SBC sends the refresh registration request to the I-CSCF.
In this embodiment, the UAR is specifically a request S-CSCF identifier.
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 refresh registration request to the S-CSCF corresponding to the S-CSCF identifier.
And 307, the S-CSCF sends a first SAR to the DRA, and the first SAR carries the host name of the main HSS.
In this embodiment, the Destination-Host field of the first SAR is the Host name of the primary 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 host name of the active HSS.
In this embodiment, the DRA is configured with a configuration file, and the host name and the corresponding state (normal/abnormal) of the primary HSS are recorded in the configuration file. The DRA detects a corresponding state in the configuration file according to the host name of the main HSS, if the state of the main HSS is detected to be normal, the DRA sends the first SAR to the main HSS, receives the SAA message sent by 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.
Step 309, the DRA sends a failure response message to the S-CSCF, where the failure response message carries the host name of the disaster-tolerant HSS.
And step 310, the S-CSCF sends a second SAR to the DRA, and the second SAR carries the host name of the disaster-tolerant HSS.
And 311, sending the second SAR to the disaster-tolerant HSS by the DRA.
Step 312, the disaster-tolerant HSS sends the SAA message to the DRA.
Step 313, the DRA sends the SAA message to the S-CSCF.
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.
Generally, the user equipment periodically performs the step of refreshing the registration after the initial registration, and optionally, the period is set to be one hour.
In the scheme of the embodiment of the invention, when the state of the main home location register is detected to be abnormal, a failure response message is sent to the service call session control function, so that the service call session control function generates a second server allocation request according to the failure response message; receiving a second server allocation request sent by a service call session control function, wherein the second server allocation request carries a host name of a disaster tolerance home location register; sending a second server allocation request to a disaster tolerance home location register; receiving a server allocation response sent by a disaster tolerance home location register; the server allocation response is sent to the service call session control function, so that the service call session control function sends a confirmation message to the user equipment, 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 transmitting unit 11 and a receiving unit 12.
The sending unit 11 is configured to send a failure response message to the serving call session control function when detecting that the state of the primary home location register is abnormal, so that the serving call session control function generates a second server allocation request according to the failure response message; sending a second server allocation request to a disaster tolerance home location register; and sending the server allocation response to the serving call session control function so that the serving call session control function sends a confirmation message to the user equipment.
The receiving unit 12 is configured to receive a second server allocation request sent by the service call session control function, where the second server allocation request carries a host name of the disaster recovery home location register; and receiving a server allocation response sent by the disaster tolerance home location register.
In this embodiment of the present invention, the sending unit 11 is specifically configured to send the second server allocation request to the disaster recovery home location register corresponding to the host name of the disaster recovery home location register.
In the embodiment of the invention, the method further comprises the following steps: an acquisition unit 13 and a packaging unit 14.
The obtaining unit 13 is configured to obtain a host name of the disaster tolerance home location register corresponding to the main home location register.
The encapsulation unit 14 is configured to encapsulate the hostname of the disaster recovery home location register in the failure response message.
In the embodiment of the invention, the method further comprises the following steps: a detection unit 15.
The receiving unit 12 is further configured to receive a first server allocation request sent by the serving call session control function, where the first server allocation request carries a host name of the primary home location register.
The detecting unit 15 is configured to detect that the state of the primary home location register is abnormal according to the host name of the primary home location register.
In this embodiment of the present invention, the detecting unit 15 is specifically configured to detect, in the configuration file, that the state of the primary home location register is abnormal according to the host name of the primary home location register.
In the embodiment of the present invention, the receiving unit 12 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 after receiving a registration request sent by the user equipment; and receiving a user authorization response message sent by the main home location register, wherein the user authorization response message carries a service call session control function identifier.
The sending unit 11 is further configured to send a user authorization request to the primary home location register; and sending the user authorization response message to the inquiry call session control function so that the inquiry call session control function sends the registration request to the service call session control function corresponding to the service call session control function identifier.
In the scheme of the embodiment of the invention, when the state of the main home location register is detected to be abnormal, a failure response message is sent to the service call session control function, so that the service call session control function generates a second server allocation request according to the failure response message; receiving a second server allocation request sent by a service call session control function, wherein the second server allocation request carries a host name of a disaster tolerance home location register; sending a second server allocation request to a disaster tolerance home location register; receiving a server allocation response sent by a disaster tolerance home location register; the server allocation response is sent to the service call session control function, so that the service call session control function sends a confirmation message to the user equipment, 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. 5 is a schematic diagram of a server according to an embodiment of the present invention. As shown in fig. 5, the server 20 of this embodiment includes: the processor 21, the memory 22, and the computer program 23 stored in the memory 22 and capable of running on the processor 21, where the computer program 23 is executed by the processor 21 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 20 includes, but is not limited to, a processor 21, a memory 22. Those skilled in the art will appreciate that fig. 5 is merely an example of a server 20 and does not constitute a limitation of server 20 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 21 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 22 may be an internal storage unit of the server 20, such as a hard disk or a memory of the server 20. The memory 22 may also be an external storage device of the server 20, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like provided on the server 20. Further, the memory 22 may also include both an internal storage unit of the server 20 and an external storage device. The memory 22 is used for storing computer programs and other programs and data required by the server. The memory 22 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 is not to be construed as limiting the 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 (10)
1. An exception handling method is applied to a routing agent node; the method comprises the following steps:
when detecting that the state of the main home location register is abnormal, sending a failure response message to a service call session control function, so that the service call session control function generates a second server allocation request according to the failure response message;
receiving a second server allocation request sent by the service call session control function, wherein the second server allocation request carries a host name of a disaster tolerance home location register;
sending the second server allocation request to the disaster recovery home location register;
receiving a server allocation response sent by the disaster tolerance home location register;
and sending the server allocation response to the serving call session control function so that the serving call session control function sends a confirmation message to the user equipment.
2. The exception handling method according to claim 1, wherein the sending the second server allocation request to the disaster recovery home location register specifically includes:
and sending the second server allocation request to a disaster recovery home location register corresponding to the host name of the disaster recovery home location register.
3. The method of claim 1, wherein before the sending a failure response message to the serving call session control function when detecting that the state of the active home location register is abnormal, the method further comprises:
a configuration file, in which a host name of the main home location register, a state of the main home location register, and a disaster tolerance home location register corresponding to the main home location register are recorded;
acquiring a host name of a disaster recovery home location register corresponding to the main home location register according to the configuration file;
and encapsulating the host name of the disaster recovery home location register in the failure response message.
4. The exception handling method according to claim 3, wherein before the obtaining, according to the configuration file, the hostname of the disaster recovery home location register corresponding to the active home location register, the method further includes:
receiving a first server allocation request sent by a service call session control function, wherein the first server allocation request carries a host name of a main home location register;
and detecting that the state of the main home location register is abnormal according to the host name of the main home location register.
5. The method according to claim 4, wherein the detecting that the state of the active home location register is abnormal according to the host name of the active home location register specifically comprises:
and detecting the state of the main home location register as abnormal according to the host name of the main home location register in the configuration file.
6. The exception handling method according to claim 4, wherein before said receiving the first server allocation request sent by the serving call session control function, further comprising:
receiving a user authorization request sent by an inquiry call session control function, wherein the user authorization request is sent by the inquiry call session control function after receiving a registration request sent by user equipment;
sending the user authorization request to a main home location register;
receiving a user authorization response message sent by the main home location register, wherein the user authorization response message carries a service call session control function identifier;
and sending the user authorization response message to the inquiry call session control function so that the inquiry call session control function sends the registration request to a service call session control function corresponding to the service call session control function identifier.
7. The exception handling method according to claim 6,
the registration request comprises a re-registration request or a refresh registration request.
8. An exception handling apparatus, the apparatus comprising:
a sending unit, configured to send a failure response message to the serving call session control function when detecting that the state of the primary home location register is abnormal, so that the serving call session control function generates a second server allocation request according to the failure response message; sending the second server allocation request to the disaster recovery home location register; sending the server allocation response to the serving call session control function for the serving call session control function to send a confirmation message to the user equipment;
a receiving unit, configured to receive a second server allocation request sent by the service call session control function, where the second server allocation request carries a host name of a disaster recovery home location register; and receiving a server allocation response sent by the disaster recovery home location register.
9. A storage medium, characterized in that the storage medium includes a stored program, wherein when the program runs, a device in which the storage medium is located is controlled to execute the exception handling method according to any one of claims 1 to 7.
10. 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 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911017861.XA CN112714430B (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 |
---|---|---|---|
CN201911017861.XA CN112714430B (en) | 2019-10-24 | 2019-10-24 | Exception handling method and device, storage medium and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112714430A true CN112714430A (en) | 2021-04-27 |
CN112714430B CN112714430B (en) | 2023-08-15 |
Family
ID=75540808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911017861.XA Active CN112714430B (en) | 2019-10-24 | 2019-10-24 | Exception handling method and device, storage medium and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112714430B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1874264A (en) * | 2006-01-05 | 2006-12-06 | 华为技术有限公司 | Method for implementing backup for user's home server, and IP multimedia network |
CN102487495A (en) * | 2010-12-02 | 2012-06-06 | 中兴通讯股份有限公司 | Method and CSCF (Call Session Control Function) for realizing calling when HSS (Home Subscriber Server) is abnormal |
US20120290871A1 (en) * | 2009-11-27 | 2012-11-15 | France Telecom | Method of changing over from a primary hss to a backup hss in an ip network |
CN106302077A (en) * | 2016-08-18 | 2017-01-04 | 中国联合网络通信集团有限公司 | A kind of disaster tolerance returning method and equipment |
-
2019
- 2019-10-24 CN CN201911017861.XA patent/CN112714430B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1874264A (en) * | 2006-01-05 | 2006-12-06 | 华为技术有限公司 | Method for implementing backup for user's home server, and IP multimedia network |
US20120290871A1 (en) * | 2009-11-27 | 2012-11-15 | France Telecom | Method of changing over from a primary hss to a backup hss in an ip network |
CN102487495A (en) * | 2010-12-02 | 2012-06-06 | 中兴通讯股份有限公司 | Method and CSCF (Call Session Control Function) for realizing calling when HSS (Home Subscriber Server) is abnormal |
CN106302077A (en) * | 2016-08-18 | 2017-01-04 | 中国联合网络通信集团有限公司 | A kind of disaster tolerance returning method and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112714430B (en) | 2023-08-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2075956B1 (en) | A method and apparatus for implementing the disaster recovery of ip ims | |
CN101383725B (en) | IP multimedia subsystem and disaster tolerant resuming method | |
US10555222B2 (en) | Event based eUICC fall-back | |
US10182415B2 (en) | Method for processing message, network element of bearer network, M2M node, system and storage mediums | |
JP2009510960A (en) | Method and system for updating a home location register in a mobile network | |
CN110140393A (en) | Error handle during IMS registration | |
CN103685163B (en) | Disaster recovery method, system and equipment in IMS network | |
CN112423331A (en) | Fault diagnosis method and device | |
CN103138984B (en) | Disaster tolerance refunds the method and system of service call session control function entity | |
CN101090569B (en) | Automatic selecting method for attached user server of IP multimedium subsystem | |
CN103037501A (en) | Registration method, device and system of internet protocol multimedia subsystem terminal | |
CN101090568A (en) | IP multimedium subsystem of automatic selecting attaching user server | |
CN104580781B (en) | Message treatment method, system, Proxy Call Session Control Function device and server | |
CN112714430B (en) | Exception handling method and device, storage medium and server | |
CN112714442B (en) | Exception handling method and device, storage medium and server | |
CN106302077B (en) | Disaster recovery rewinding method and device | |
US10739406B2 (en) | Correlation charging method, charging apparatus, and system | |
EP3878147B1 (en) | Method, apparatus and computer program | |
CN106209473A (en) | The method and system that a kind of disaster tolerance is refunded | |
CN113162886A (en) | PBX registration method, equipment and system | |
CN110635910B (en) | Communication method, device and system | |
CN109951857A (en) | A kind of router SSID collision detection method, device and storage medium | |
CN102045318B (en) | User's processing method of application server and application server | |
CN110312251B (en) | Communication method and system, service call session control function entity and user terminal | |
CN103327023A (en) | Method and device for IP multimedia subsystem logout and login |
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 |