HSS Full-Resistance IMS Domain Disaster Recovery Methods, Devices, Equipment and Storage Media
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-23
- Publication Date
- 2026-08-14
AI Technical Summary
现有方案存在增加IMS域无用信令消耗、厂家实现不一致导致重注册涉及非标方案、外省IMS用户呼叫故障HSS的VoLTE/VoNR失败等问题
[0040]本发明提供的HSS全阻IMS域容灾方法、装置、设备及存储介质,确定服务呼叫会话控制功能单元S-CSCF发送的请求消息类型;若请求消息类型为第一类型,则根据请求消息值在会话绑定表中添加或者删除S-CSCF主机名记录;若请求消息类型为第二类型且会话绑定表中存在S-CSCF主机名记录,则返回请求应答及其S-CSCF主机名记录;若请求消息类型为第二类型且会话绑定表中不存在S-CSCF主机名记录,则将请求应答转发至归属签约用户服务器HSS,以供HSS根据请求应答返回S-CSCF主机名记录;第一类型为服务器分配请求消息,第二类型为用户鉴权请求消息或/和位置信息请求消息。
Smart Images

Figure CN117675768B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communications, and in particular to a method, apparatus, device, and storage medium for HSS full-block IMS domain disaster recovery. Background Technology
[0002] Numerous HSS (High-Speed Server) outages and IMS (Information Management System) call interruptions have occurred in the current network, necessitating the establishment of IMS domain disaster recovery mechanisms. Currently, the IMS domain disaster recovery solution for HSS outage scenarios is the HSS Bypass solution. This involves the I-CSCF (Information Management System Controller) sending OPTIONS requests to all S-CSCF (Information Management System Controller) network elements within the provincial pool after an HSS failure, attempting to select the S-CSCF where the user registered. However, this existing solution suffers from several drawbacks, including increased unnecessary signaling consumption in the IMS domain, inconsistent vendor implementations leading to non-standard re-registration schemes, and VoLTE / VoNR failures for out-of-province IMS users calling the HSS. Summary of the Invention
[0003] This invention provides a disaster recovery method, apparatus, device, and storage medium for HSS full-block IMS domain, aiming to ensure uninterrupted voice services for users under HSS.
[0004] In a first aspect, the present invention provides an HSS full-resistance IMS domain disaster recovery method, comprising:
[0005] Determine the type of request message sent by the Service Call Session Control Function Unit (S-CSCF);
[0006] If the request message type is the first type, then add or delete the S-CSCF hostname record in the session binding table according to the request message value;
[0007] If the request message type is the second type and an S-CSCF hostname record exists in the session binding table, then return the request response and its S-CSCF hostname record.
[0008] If the request message type is the second type and there is no S-CSCF hostname record in the session binding table, the request response is forwarded to the Home Subscriber Server (HSS) so that the HSS can return the S-CSCF hostname record based on the request response.
[0009] The first type is a server allocation request message, and the second type is a user authentication request message and / or a location information request message.
[0010] In one embodiment, adding or deleting S-CSCF hostname records in the session binding table based on the request message value includes:
[0011] If the value of the request message is the first message value, then add the S-CSCF hostname record to the session binding table;
[0012] If the value of the request message is the second message value, then delete the S-CSCF hostname record in the session binding table;
[0013] The first message value is the registration message value, and the second message value is the deregistration message value.
[0014] Before determining the type of request message sent by the Service Call Session Control Function Unit (S-CSCF), the method further includes:
[0015] Add an S-CSCF hostname field to the session binding table.
[0016] The HSS full-block IMS domain disaster recovery method is applied to the user voice registration process, including:
[0017] If a user initiates an initial registration request, the registration number and its S-CSCF hostname record are added to the session binding table according to the request message value in the server allocation request message.
[0018] The HSS full-block IMS domain disaster recovery method is applied to the user voice registration process, including:
[0019] If a user initiates a re-registration request, the system will determine whether there is an S-CSCF hostname record for the re-registered number in the session binding table based on the user authentication request message.
[0020] If an S-CSCF hostname record for the re-registered number exists, return the user authentication response and its S-CSCF hostname record.
[0021] If no S-CSCF hostname record for the re-registered number exists, the user authentication response is forwarded to the HSS, so that the HSS can return the S-CSCF hostname record based on the user authentication response.
[0022] The HSS full-block IMS domain disaster recovery method is applied to the user voice logout process, including:
[0023] If a user initiates a cancellation request, the S-CSCF hostname record of the registration number is deleted from the session binding table according to the request message value in the server allocation request message;
[0024] If a user initiates a cancellation request, the system will determine whether an S-CSCF hostname record corresponding to the cancellation number exists in the session binding table based on the user authentication request message.
[0025] If an S-CSCF hostname record for the aforementioned cancellation number exists, then return the user authentication response and its S-CSCF hostname record.
[0026] If no S-CSCF hostname record for the cancelled number exists, the user authentication response is forwarded to the HSS, so that the HSS can return the S-CSCF hostname record based on the user authentication response.
[0027] The HSS full-block IMS domain disaster recovery method is applied to the user's call process, including:
[0028] If a user initiates a call request, the location information request message is used to determine whether there is an S-CSCF hostname record for the called number in the session binding table;
[0029] If an S-CSCF hostname record for the called number exists, a location information response and its S-CSCF hostname record are returned.
[0030] If no S-CSCF hostname record exists for the called number, the location information response is forwarded to the HSS, so that the HSS can return the S-CSCF hostname record based on the location information response.
[0031] Secondly, the present invention provides an HSS full-resistance IMS domain disaster recovery device comprising:
[0032] The determination module is used to determine the type of request message sent by the Service Call Session Control Function Unit (S-CSCF).
[0033] The first disaster recovery module is used to add or delete S-CSCF hostname records in the session binding table according to the request message value if the request message type is the first type.
[0034] The second disaster recovery module is used to return a request response and its S-CSCF hostname record if the request message type is the second type and an S-CSCF hostname record exists in the session binding table.
[0035] The third disaster recovery module is used to forward the request response to the Home Subscriber Server (HSS) if the request message type is the second type and there is no S-CSCF hostname record in the session binding table, so that the HSS can return the S-CSCF hostname record according to the request response.
[0036] The first type is a server allocation request message, and the second type is a user authentication request message and / or a location information request message.
[0037] Thirdly, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the HSS full-block IMS domain disaster recovery method described in the first aspect.
[0038] Fourthly, the present invention also provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium comprising a computer program, which, when executed by the processor, implements the HSS full-block IMS domain disaster recovery method described in the first aspect.
[0039] Fifthly, the present invention also provides a computer program product, the computer program product comprising a computer program, which, when executed by the processor, implements the HSS full-block IMS domain disaster recovery method described in the first aspect.
[0040] The HSS full-block IMS domain disaster recovery method, apparatus, device, and storage medium provided by this invention determine the type of request message sent by the Service Call Session Control Function Unit (S-CSCF). If the request message type is a first type, an S-CSCF hostname record is added or deleted in the session binding table according to the request message value. If the request message type is a second type and an S-CSCF hostname record exists in the session binding table, a request response and its S-CSCF hostname record are returned. If the request message type is a second type and an S-CSCF hostname record does not exist in the session binding table, the request response is forwarded to the Home Subscriber Server (HSS) so that the HSS can return the S-CSCF hostname record based on the request response. The first type is a server allocation request message, and the second type is a user authentication request message and / or a location information request message.
[0041] In the process of HSS full-block IMS domain disaster recovery, this invention adds the S-CSCF hostname to the session binding table. When the request message type is the first type, the S-CSCF hostname record is added or deleted in the session binding table according to the request message value. When the request message type is the second type, the S-CSCF hostname record is returned in different ways depending on whether the S-CSCF hostname record exists in the session binding table, thus ensuring that the user's voice service under HSS is not interrupted. Attached Figure Description
[0042] To more clearly illustrate the technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1This is a flowchart illustrating the HSS full-resistance IMS domain disaster recovery method provided by the present invention.
[0044] Figure 2 This is a schematic diagram of the HSS full-resistance IMS domain disaster recovery device provided by the present invention;
[0045] Figure 3 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0046] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0047] For the sake of brevity and intuitiveness, the following description uses several representative embodiments to illustrate the solution of the present invention. Numerous details in the embodiments are only used to aid in understanding the solution of the present invention. However, it is obvious that the technical solution of the present invention can be implemented without being limited to these details. To avoid unnecessarily obscuring the solution of the present invention, some embodiments are not described in detail, but only a framework is given. In the following text, "comprising" means "including but not limited to," and "according to..." means "at least according to..., but not limited to only according to...". Due to Chinese language habits, unless the quantity of a component is specifically indicated below, it means that the component can be one or more, or can be understood as at least one.
[0048] Combination Figures 1 to 3 This invention describes the HSS full-block IMS domain disaster recovery method, apparatus, equipment, and storage medium provided by the present invention. Figure 1 This is a flowchart illustrating the HSS full-resistance IMS domain disaster recovery method provided by the present invention. Figure 2 This is a schematic diagram of the HSS full-resistance IMS domain disaster recovery device provided by the present invention; Figure 3 This is a schematic diagram of the structure of the electronic device provided by the present invention.
[0049] This invention provides an embodiment of the HSS full-block IMS domain disaster recovery method. It should be noted that although the logical order is shown in the flowchart, under certain data conditions, the steps shown or described may be completed in a different order than that shown here.
[0050] This invention uses an electronic device as an example of the execution subject, and a disaster recovery system is used as one of the manifestations of the electronic device, but this is not a limitation.
[0051] Glossary: IP Multimedia Subsystem (IMS); Serving Call Session Control Function (S-CSCF); Home Subscriber Server (HSS); Diameter Routing Agent (DRA); Interrogating-Call Session Control Function (I-CSCF); Server Assignment Request (SAR); User Authentication Request (UAR); Location Information Request (LIR); User Authentication Response (UAA); Location Information Response (LIA).
[0052] Reference Figure 1 , Figure 1 This is a flowchart illustrating the HSS full-resistance IMS domain disaster recovery method provided by the present invention. The HSS full-resistance IMS domain disaster recovery method provided in this embodiment of the invention includes:
[0053] Step 101: Determine the type of request message sent by the Service Call Session Control Function Unit (S-CSCF).
[0054] It should be noted that the disaster recovery system of the HSS full-block IMS domain in this embodiment of the invention includes, but is not limited to, the Serving Call Session Control Function Unit S-CSCF, the Home Subscriber Server (HSS), the Interrogation Call Session Control Function Unit I-CSCF, and the Routing Proxy Node L-DRA. Among them, the Serving Call Session Control Function Unit S-CSCF, the Home Subscriber Server (HSS), the Interrogation Call Session Control Function Unit I-CSCF, and the Routing Proxy Node L-DRA are all important components of the IMS domain.
[0055] First, the routing agent node L-DRA adds the hostname field of the Service Call Session Control Function Unit S-CSCF to the session binding table, as shown in Table 1. Table 1 is the optimized session binding table. This minimizes the changes to the routing agent node L-DRA and also keeps the two routing agent nodes L-DRA synchronized.
[0056] Table 1. Optimized Session Binding Table
[0057] Number IP address PCRF hostname S-CSCF hostname
[0058] Furthermore, the routing agent node L-DRA determines the type of request message sent by the service call session control function unit S-CSCF. The request message type includes a first type and a second type. The first type is a server allocation request SAR message, and the second type is a user authentication request UAR message and / or a location information request LIR message.
[0059] Step 102: If the request message type is the first type, add or delete the S-CSCF hostname record in the session binding table according to the request message value.
[0060] Furthermore, when the routing agent node L-DRA receives a request message of type 1 from the Service Call Session Control Function Unit S-CSCF, that is, when the Service Call Session Control Function Unit S-CSCF sends a Server Assignment Request (SAR) message to the routing agent node L-DRA, the routing agent node L-DRA determines the AVP Server Assignment Type (AAT) request message value carried in the AAT SAR message. The AAT SAR request message value includes, but is not limited to, registration message values and deregistration message values.
[0061] Furthermore, the routing agent node L-DRA, based on the AVP Server Assignment Type request message value (either a registration message value or a deregistration message value), adds an S-CSCF hostname record with the registration number to the session binding table, or deletes an S-CSCF hostname record with the deregistration number from the session binding table.
[0062] Step 103: If the request message type is the second type and there is an S-CSCF hostname record in the session binding table, then return the request response and its S-CSCF hostname record.
[0063] Step 104: If the request message type is the second type and there is no S-CSCF hostname record in the session binding table, then the request response is forwarded to the Home Subscriber Server (HSS) so that the HSS can return the S-CSCF hostname record based on the request response.
[0064] Furthermore, when the routing agent node L-DRA receives a request message of type 2 from the service call session control function unit S-CSCF, that is, when the service call session control function unit S-CSCF sends a user authentication request (UAR) message and / or a location information request (LIR) message to the routing agent node L-DRA, the routing agent node L-DRA first checks whether there is an S-CSCF hostname record for that number in the session binding table.
[0065] If an S-CSCF hostname record for that number is found in the session binding table, the routing agent node L-DRA will directly return the User Authentication Request (UAR) message's User Authentication Response (UAA) and the Location Information Request (LIR) message's Location Information Response (LIA). Both the User Authentication Response (UAA) and the Location Information Response (LIA) carry the S-CSCF hostname from the session binding table.
[0066] If no S-CSCF hostname record for the specified number is found in the session binding table, the routing agent node L-DRA forwards the User Authentication Request (UAR) message's User Authentication Response (UAA) and the Location Information Request (LIR) message's Location Information Response (LIA) to the corresponding Home Subscriber Server (HSS). The HSS then queries the session binding table based on the UAA and LIA, returning the S-CSCF hostname for both the UAA and LIA.
[0067] In the process of HSS full-block IMS domain disaster recovery, this invention adds the S-CSCF hostname to the session binding table. When the request message type is the first type, the S-CSCF hostname record is added or deleted in the session binding table according to the request message value. When the request message type is the second type, the S-CSCF hostname record is returned in different ways depending on whether the S-CSCF hostname record exists in the session binding table, thus ensuring that the user's voice service under HSS is not interrupted.
[0068] Furthermore, the specific analysis of adding or deleting S-CSCF hostname records in the session binding table based on the request message value, as described in step 102, is as follows:
[0069] If the value of the request message is the first message value, then add the S-CSCF hostname record to the session binding table;
[0070] If the value of the request message is the second message value, then delete the S-CSCF hostname record in the session binding table;
[0071] The first message value is the registration message value, and the second message value is the deregistration message value.
[0072] Specifically, if it is determined that the request message value of the server allocation request SAR message is the first message value, that is, the request message value of the server allocation request SAR message is the "registration" message value, the routing agent node L-DRA will add the S-CSCF hostname record of that number to the session binding table.
[0073] If it is determined that the request message value of the server allocation request SAR message is the second message value, that is, the request message value of the server allocation request SAR message is the "deregistration" message value, the routing agent node L-DRA will delete the S-CSCF hostname record for that number in the session binding table.
[0074] In this embodiment of the invention, the S-CSCF hostname is added to the session binding table. When the request message type is the first type, the S-CSCF hostname record is added or deleted in the session binding table according to the request message value, ensuring that the user's voice service under HSS is not interrupted.
[0075] Furthermore, the HSS full-block IMS domain disaster recovery method provided in this embodiment of the invention can be applied to the initial registration process, re-registration process, deregistration process, and called process.
[0076] Furthermore, the application of the HSS full-resistance IMS domain disaster recovery method to the initial registration process is analyzed in detail below:
[0077] If a user initiates an initial registration request, the registration number and its S-CSCF hostname record are added to the session binding table according to the request message value in the server allocation request message.
[0078] If a user initiates an initial registration request, the routing agent node L-DRA determines the value of the AVP Server Assignment Type field carried in the Server Assignment Request SAR message, i.e., the request message value. Since the request is an initial registration request, the AVP Server Assignment Type field value carried in the Server Assignment Request SAR message is the "registration" message value. Therefore, the routing agent node L-DRA adds the registration number and its S-CSCF hostname record to the session binding table.
[0079] This invention applies the HSS full-block IMS domain disaster recovery method to the initial registration process, ensuring that user voice services under the HSS are not interrupted.
[0080] Furthermore, the application of the HSS full-resistance IMS domain disaster recovery method to the re-registration process is analyzed in detail below:
[0081] If a user initiates a re-registration request, the system will determine whether there is an S-CSCF hostname record for the re-registered number in the session binding table based on the user authentication request message.
[0082] If an S-CSCF hostname record for the re-registered number exists, return the user authentication response and its S-CSCF hostname record.
[0083] If no S-CSCF hostname record for the re-registered number exists, the user authentication response is forwarded to the HSS, so that the HSS can return the S-CSCF hostname record based on the user authentication response.
[0084] If a user initiates a re-registration request and queries the Call Session Control Function Unit (I-CSCF) for the address of the Service Call Session Control Function Unit (S-CSCF) via a User Authentication Request (UAR) message, the Routing Agent Node (L-DRA) checks the session binding table to see if there is a record of the S-CSCF hostname for the re-registered number.
[0085] If a record of the S-CSCF hostname with a re-registered number is found in the session binding table, the routing agent node L-DRA will directly return the user authentication response (UAA) and its S-CSCF hostname record.
[0086] If it is determined that no S-CSCF hostname record for the re-registered number is found in the session binding table, the routing agent node L-DRA forwards the User Authentication Response (UAA) to the Home Subscriber Server (HSS). Upon receiving the UAA, the HSS queries the table based on the UAA and returns the corresponding S-CSCF hostname record.
[0087] This invention applies the HSS full-block IMS domain disaster recovery method to the re-registration process, ensuring that user voice services under HSS are not interrupted.
[0088] Furthermore, the application of the HSS full-resistance IMS domain disaster recovery method to the deregistration process is analyzed in detail below:
[0089] If a user initiates a cancellation request, the S-CSCF hostname record of the registration number is deleted from the session binding table according to the request message value in the server allocation request message;
[0090] If a user initiates a cancellation request, the system will determine whether an S-CSCF hostname record corresponding to the cancellation number exists in the session binding table based on the user authentication request message.
[0091] If an S-CSCF hostname record for the aforementioned cancellation number exists, then return the user authentication response and its S-CSCF hostname record.
[0092] If no S-CSCF hostname record for the cancelled number exists, the user authentication response is forwarded to the HSS, so that the HSS can return the S-CSCF hostname record based on the user authentication response.
[0093] If a user initiates a deregistration request, the routing agent node L-DRA determines the value of the AVP Server Assignment Type field carried in the Server Assignment Request SAR message, which is the request message value. Since the request is a deregistration request, the AVP Server Assignment Type field value carried in the Server Assignment Request SAR message is "Deregistration". Therefore, the routing agent node L-DRA deletes the S-CSCF hostname record for the deregistration number from the session binding table.
[0094] If a user initiates a cancellation request, and the Call Session Control Function Unit (I-CSCF) queries the Service Call Session Control Function Unit (S-CSCF) address via the User Authentication Request (UAR), the Routing Agent Node (L-DRA) checks the session binding table to see if there is an S-CSCF hostname record for the cancellation number.
[0095] If a record of the S-CSCF hostname with the deregistration number is found in the session binding table, the routing agent node L-DRA will directly return the user authentication response (UAA) and its S-CSCF hostname record.
[0096] If it is determined that no S-CSCF hostname record for the deregistration number is found in the session binding table, the routing agent node L-DRA forwards the User Authentication Response (UAA) to the Home Subscriber Server (HSS). Upon receiving the UAA, the HSS queries the table based on the UAA and returns the corresponding S-CSCF hostname record.
[0097] In this embodiment of the invention, the HSS full-block IMS domain disaster recovery method is applied to the deregistration process, ensuring that user voice services under the HSS are not interrupted.
[0098] Furthermore, the application of the HSS full-block IMS domain disaster recovery method to the called process is analyzed in detail below:
[0099] If a user initiates a call request, the location information request message is used to determine whether there is an S-CSCF hostname record for the called number in the session binding table;
[0100] If an S-CSCF hostname record for the called number exists, a location information response and its S-CSCF hostname record are returned.
[0101] If no S-CSCF hostname record exists for the called number, the location information response is forwarded to the HSS, so that the HSS can return the S-CSCF hostname record based on the location information response.
[0102] If a user initiates a call request and queries the Call Session Control Function Unit (I-CSCF) to send a Location Information Request (LIR) message to query the address of the Service Call Session Control Function Unit (S-CSCF), the Routing Agent Node (L-DRA) checks the session binding table to see if there is an S-CSCF hostname record for the called number.
[0103] If a record of the S-CSCF hostname for the called number is found in the session binding table, the routing agent node L-DRA will directly return the user authentication response (UAA) and its S-CSCF hostname record.
[0104] If it is determined that no S-CSCF hostname record for the called number is found in the session binding table, the routing agent node L-DRA forwards the Location Information Response (LIA) to the Home Subscriber Server (HSS). Upon receiving the LIA, the HSS performs a query based on it and returns the corresponding S-CSCF hostname record.
[0105] This invention applies the HSS full-block IMS domain disaster recovery method to the called process, ensuring that user voice services under HSS are not interrupted.
[0106] Furthermore, the HSS full-resistance IMS domain disaster recovery device and the HSS full-resistance IMS domain disaster recovery method provided by the present invention correspond to each other.
[0107] Figure 2 As shown, Figure 2 This is a schematic diagram of the HSS full-resistance IMS domain disaster recovery device provided by the present invention. The HSS full-resistance IMS domain disaster recovery device includes:
[0108] The determination module 201 is used to determine the type of request message sent by the Service Call Session Control Function Unit (S-CSCF).
[0109] The first disaster recovery module 202 is used to add or delete S-CSCF hostname records in the session binding table according to the request message value if the request message type is the first type.
[0110] The second disaster recovery module 203 is used to return a request response and its S-CSCF hostname record if the request message type is the second type and there is an S-CSCF hostname record in the session binding table.
[0111] The third disaster recovery module 204 is used to forward the request response to the Home Subscriber Server (HSS) if the request message type is the second type and there is no S-CSCF hostname record in the session binding table, so that the HSS can return the S-CSCF hostname record according to the request response.
[0112] Furthermore, the first disaster recovery module 202 is also used for:
[0113] If the value of the request message is the first message value, then add the S-CSCF hostname record to the session binding table;
[0114] If the value of the request message is the second message value, then delete the S-CSCF hostname record in the session binding table;
[0115] The first message value is the registration message value, and the second message value is the deregistration message value.
[0116] Furthermore, the HSS full-resistance IMS domain disaster recovery device also includes a configuration module for:
[0117] Add an S-CSCF hostname field to the session binding table.
[0118] Furthermore, the HSS full-resistance IMS domain disaster recovery device also includes a registration module for:
[0119] If a user initiates an initial registration request, the registration number and its S-CSCF hostname record are added to the session binding table according to the request message value in the server allocation request message.
[0120] Furthermore, the registration module is also used for:
[0121] If a user initiates a re-registration request, the system will determine whether there is an S-CSCF hostname record for the re-registered number in the session binding table based on the user authentication request message.
[0122] If an S-CSCF hostname record for the re-registered number exists, return the user authentication response and its S-CSCF hostname record.
[0123] If no S-CSCF hostname record for the re-registered number exists, the user authentication response is forwarded to the HSS, so that the HSS can return the S-CSCF hostname record based on the user authentication response.
[0124] Furthermore, the HSS full-resistance IMS domain disaster recovery device also includes a deregistration module, used for:
[0125] If a user initiates a cancellation request, the S-CSCF hostname record of the registration number is deleted from the session binding table according to the request message value in the server allocation request message;
[0126] If a user initiates a cancellation request, the system will determine whether an S-CSCF hostname record corresponding to the cancellation number exists in the session binding table based on the user authentication request message.
[0127] If an S-CSCF hostname record for the aforementioned cancellation number exists, then return the user authentication response and its S-CSCF hostname record.
[0128] If no S-CSCF hostname record for the cancelled number exists, the user authentication response is forwarded to the HSS, so that the HSS can return the S-CSCF hostname record based on the user authentication response.
[0129] Furthermore, the HSS full-resistance IMS domain disaster recovery device also includes a called module, used for:
[0130] If a user initiates a call request, the location information request message is used to determine whether there is an S-CSCF hostname record for the called number in the session binding table;
[0131] If an S-CSCF hostname record for the called number exists, a location information response and its S-CSCF hostname record are returned.
[0132] If no S-CSCF hostname record exists for the called number, the location information response is forwarded to the HSS, so that the HSS can return the S-CSCF hostname record based on the location information response.
[0133] The specific embodiments of the HSS full-resistance IMS domain disaster recovery device provided by the present invention are basically the same as the embodiments of the above-mentioned HSS full-resistance IMS domain disaster recovery method, and will not be described in detail here.
[0134] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330, and a communication bus 340. The processor 310, communication interface 320, and memory 330 communicate with each other via the communication bus 340. The processor 310 can call logical instructions from the memory 330 to execute the HSS full-resistance IMS domain disaster recovery method, which includes:
[0135] Determine the type of request message sent by the Service Call Session Control Function Unit (S-CSCF);
[0136] If the request message type is the first type, then add or delete the S-CSCF hostname record in the session binding table according to the request message value;
[0137] If the request message type is the second type and an S-CSCF hostname record exists in the session binding table, then return the request response and its S-CSCF hostname record.
[0138] If the request message type is the second type and there is no S-CSCF hostname record in the session binding table, the request response is forwarded to the Home Subscriber Server (HSS) so that the HSS can return the S-CSCF hostname record based on the request response.
[0139] The first type is a server allocation request message, and the second type is a user authentication request message and / or a location information request message.
[0140] Furthermore, the logical instructions in the aforementioned memory 330 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0141] On the other hand, the present invention also provides a computer program product, comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions, which, when executed by a computer, enable the computer to execute the HSS full-block IMS domain disaster recovery method provided by the above methods, the method comprising:
[0142] Determine the type of request message sent by the Service Call Session Control Function Unit (S-CSCF);
[0143] If the request message type is the first type, then add or delete the S-CSCF hostname record in the session binding table according to the request message value;
[0144] If the request message type is the second type and an S-CSCF hostname record exists in the session binding table, then return the request response and its S-CSCF hostname record.
[0145] If the request message type is the second type and there is no S-CSCF hostname record in the session binding table, the request response is forwarded to the Home Subscriber Server (HSS) so that the HSS can return the S-CSCF hostname record based on the request response.
[0146] The first type is a server allocation request message, and the second type is a user authentication request message and / or a location information request message.
[0147] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the HSS full-block IMS domain disaster recovery methods provided above, the method comprising:
[0148] Determine the type of request message sent by the Service Call Session Control Function Unit (S-CSCF);
[0149] If the request message type is the first type, then add or delete the S-CSCF hostname record in the session binding table according to the request message value;
[0150] If the request message type is the second type and an S-CSCF hostname record exists in the session binding table, then return the request response and its S-CSCF hostname record.
[0151] If the request message type is the second type and there is no S-CSCF hostname record in the session binding table, the request response is forwarded to the Home Subscriber Server (HSS) so that the HSS can return the S-CSCF hostname record based on the request response.
[0152] The first type is a server allocation request message, and the second type is a user authentication request message and / or a location information request message.
[0153] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0154] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0155] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A disaster recovery method for HSS full-resistance IMS domain, characterized in that, include: Determine the type of request message sent by the Service Call Session Control Function Unit (S-CSCF); If the request message type is a first type, then an S-CSCF hostname record is added or deleted in the session binding table according to the request message value; wherein, adding or deleting the S-CSCF hostname record in the session binding table according to the request message value includes: if the request message value is a first message value, then adding the S-CSCF hostname record in the session binding table; if the request message value is a second message value, then deleting the S-CSCF hostname record in the session binding table; wherein, the first message value is a registration message value, and the second message value is a deregistration message value; If the request message type is the second type and an S-CSCF hostname record exists in the session binding table, then return the request response and its S-CSCF hostname record. If the request message type is the second type and there is no S-CSCF hostname record in the session binding table, the request response is forwarded to the Home Subscriber Server (HSS) so that the HSS can return the S-CSCF hostname record based on the request response. The first type is a server allocation request message, and the second type is a user authentication request message and / or a location information request message.
2. The HSS full-resistance IMS domain disaster recovery method according to claim 1, characterized in that, Before determining the type of request message sent by the Service Call Session Control Function Unit (S-CSCF), the method further includes: Add an S-CSCF hostname field to the session binding table.
3. The HSS full-resistance IMS domain disaster recovery method according to claim 1, characterized in that, The HSS full-block IMS domain disaster recovery method is applied to the user voice registration process, including: If a user initiates an initial registration request, the registration number and its S-CSCF hostname record are added to the session binding table according to the request message value in the server allocation request message.
4. The HSS full-resistance IMS domain disaster recovery method according to claim 1, characterized in that, The HSS full-block IMS domain disaster recovery method is applied to the user voice registration process, including: If a user initiates a re-registration request, the system will determine whether there is an S-CSCF hostname record for the re-registered number in the session binding table based on the user authentication request message. If an S-CSCF hostname record for the re-registered number exists, return the user authentication response and its S-CSCF hostname record. If no S-CSCF hostname record for the re-registered number exists, the user authentication response is forwarded to the HSS, so that the HSS can return the S-CSCF hostname record based on the user authentication response.
5. The HSS full-resistance IMS domain disaster recovery method according to claim 1, characterized in that, The HSS full-block IMS domain disaster recovery method is applied to the user voice logout process, including: If a user initiates a cancellation request, the S-CSCF hostname record of the registration number is deleted from the session binding table according to the request message value in the server allocation request message; If a user initiates a cancellation request, the system will determine whether there is an S-CSCF hostname record corresponding to the cancellation number in the session binding table based on the user authentication request message. If an S-CSCF hostname record for the aforementioned cancellation number exists, then return the user authentication response and its S-CSCF hostname record. If no S-CSCF hostname record for the cancelled number exists, the user authentication response is forwarded to the HSS, so that the HSS can return the S-CSCF hostname record based on the user authentication response.
6. The HSS full-resistance IMS domain disaster recovery method according to claim 1, characterized in that, The HSS full-block IMS domain disaster recovery method is applied to the user's call process, including: If a user initiates a call request, the location information request message is used to determine whether there is an S-CSCF hostname record for the called number in the session binding table; If an S-CSCF hostname record for the called number exists, a location information response and its S-CSCF hostname record are returned. If no S-CSCF hostname record exists for the called number, the location information response is forwarded to the HSS, so that the HSS can return the S-CSCF hostname record based on the location information response.
7. A HSS full-resistance IMS domain disaster recovery device, characterized in that, include: The determination module is used to determine the type of request message sent by the Service Call Session Control Function Unit (S-CSCF). The first disaster recovery module is used to add or delete an S-CSCF hostname record in the session binding table according to the request message value if the request message type is a first type; wherein, adding or deleting the S-CSCF hostname record in the session binding table according to the request message value includes: adding the S-CSCF hostname record in the session binding table if the request message value is a first message value; and deleting the S-CSCF hostname record in the session binding table if the request message value is a second message value; wherein the first message value is a registration message value, and the second message value is a deregistration message value; The second disaster recovery module is used to return a request response and its S-CSCF hostname record if the request message type is the second type and an S-CSCF hostname record exists in the session binding table. The third disaster recovery module is used to forward the request response to the Home Subscriber Server (HSS) if the request message type is the second type and there is no S-CSCF hostname record in the session binding table, so that the HSS can return the S-CSCF hostname record according to the request response. The first type is a server allocation request message, and the second type is a user authentication request message and / or a location information request message.
8. An electronic device, the electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the HSS full-block IMS domain disaster recovery method according to any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the HSS full-block IMS domain disaster recovery method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Exception handling method and device, storage medium and server
CN112714430A