Short message sending method and device, electronic equipment and storage medium

By querying the IP address of the I-CSCF when the S-CSCF fails and forwarding it to the backup S-CSCF, and obtaining the IP address of the target S-CSCF through DNS when the IP-SM-GW fails, the 5G terminal short message delivery is solved. The problem of failure realizes the reliability of message delivery and the satisfaction of communication needs under failure conditions.

CN118590840APending Publication Date: 2024-09-03CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310219382.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-01
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

When the service call session control function of the 5G terminal fails, short messages cannot be delivered through the CS network, resulting in short message delivery failure.

Method used

In the event of S-CSCF failure, obtain the IP address of I-CSCF by querying the number mapping working group ENUM or domain name server DNS, and send the short message to I-CSCF to forward it to the backup S-CSCF to ensure that the short message can arrive normally. 5G terminal; at the same time, when the main IP-SM-GW fails, the IP address of the target S-CSCF is obtained through DNS and the short message is delivered through the IMS domain.

Benefits of technology

In the S-CSCF failure scenario, the normal delivery of short messages to 5G terminals is achieved to meet communication needs, and the reliability of message delivery is ensured through the backup path when IP-SM-GW fails.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590840A
    Figure CN118590840A
Patent Text Reader

Abstract

The embodiment of the invention discloses a short message sending method and device, electronic equipment and a storage medium, and the short message sending method is applied to an internet protocol short message gateway (IP-SM-GW), and comprises the steps: querying a number mapping work group ENUM or a domain name server DNS for a 5G terminal under the condition that a primary service call session control function (S-CSCF) fails, obtaining an IP address of a query call session control function I-CSCF; according to the IP address of the I-CSCF, the short message is sent to the I-CSCF, so that the short message is forwarded to a standby S-CSCF through the I-CSCF, and the short message is sent to the 5G terminal through the standby S-CSCF; wherein the 5G terminal belongs to the main S-CSCF, the standby S-CSCF and the I-CSCF.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of wireless communication technology, and in particular, to a method, device, electronic device and storage medium for sending a short message. Background Art

[0002] With the continuous development of communication technology, Internet Protocol (IP) short messages have become the main short message service solution for various users.

[0003] At present, the fourth generation mobile communication technology (4th Generation Mobile Communication Technology, 4G) terminal can be jointly attached to the circuit switching (Circuit Switched, CS) network and the IP Multimedia Subsystem (IP Multimedia Subsystem, IMS) network. In this way, if the short message delivery fails due to some reasons, short messages can still be sent and received through the CS network.

[0004] However, since the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) terminal does not support attachment to the CS network, when the serving call session control function (Serving Call Session Control Function, S-CSCF) fails and is in a disaster recovery scenario, the CS domain cannot be selected to send short messages to the 5G terminal, resulting in the failure of short message delivery. Summary of the invention

[0005] The embodiments of the present application provide a short message sending method, device, electronic device and storage medium, which can normally send short messages to 5G terminals in the scenario of S-CSCF failure, thereby meeting communication needs.

[0006] The technical solution of the embodiment of the present application is implemented as follows:

[0007] The present application embodiment provides a short message sending method, which is applied to an Internet Protocol short message gateway IP-SM-GW, and the method includes:

[0008] In the event of a failure of the active service call session control function S-CSCF, query the number mapping working group ENUM or the domain name server DNS for the 5G terminal to obtain the IP address of the query call session control function I-CSCF;

[0009] Sending the short message to the I-CSCF according to the IP address of the I-CSCF, so that the short message is forwarded to the standby S-CSCF through the I-CSCF, and then sent to the 5G terminal through the standby S-CSCF;

[0010] Among them, the 5G terminal belongs to the active S-CSCF, the standby S-CSCF and the I-CSCF.

[0011] In the above method, querying the number mapping working group ENUM or the domain name server DNS for the 5G terminal to obtain the IP address of the call session control function I-CSCF includes:

[0012] Sending a first IP address query request to the ENUM or the DNS; wherein the first IP address query request carries the called number of the 5G terminal;

[0013] The IP address of the I-CSCF is received in response to the first IP address query request and is queried according to the called number and sent by the ENUM or the DNS.

[0014] In the above method, the short message is forwarded to the standby S-CSCF according to the IP address of the standby S-CSCF after the I-CSCF queries the home subscriber server HSS or the home location register HLR to obtain the IP address of the standby S-CSCF.

[0015] In the above method, it also includes:

[0016] In case of a failure of the active S-CSCF, sending the short message to the 4G terminal via the circuit switched CS domain;

[0017] Among them, the 4G terminal belongs to the primary S-CSCF.

[0018] In the above method, the IP-SM-GW is a standby IP-SM-GW, and the method further includes:

[0019] In the event of a failure of the active IP-SM-GW, query the DNS according to the host name of the target S-CSCF to obtain the IP address of the target S-CSCF;

[0020] According to the IP address of the target S-CSCF, the short message is sent to the target S-CSCF, and is sent to the 5G terminal through the Internet Protocol Multimedia Subsystem IMS domain;

[0021] Among them, the 5G terminal belongs to the target S-CSCF.

[0022] In the above method, querying the DNS according to the host name of the target S-CSCF to obtain the IP address of the target S-CSCF includes:

[0023] Sending a second IP address query request to the DNS; wherein the second IP address query request carries the host name of the target S-CSCF;

[0024] Receive the IP address of the target S-CSCF queried according to the host name of the target S-CSCF in response to the second IP address query request sent by the DNS.

[0025] In the above method, before querying the DNS according to the host name of the target S-CSCF to obtain the IP address of the target S-CSCF, the method further includes:

[0026] Obtain the host name of the target S-CSCF from the HSS or HLR.

[0027] The embodiment of the present application provides a short message sending device, the device is an Internet Protocol short message gateway IP-SM-GW, including:

[0028] An acquisition module is used to query the number mapping working group ENUM or the domain name server DNS for the 5G terminal to obtain the IP address of the query call session control function I-CSCF when the primary service call session control function S-CSCF fails;

[0029] A communication module, configured to send a short message to the I-CSCF according to the IP address of the I-CSCF, so that the short message is forwarded to the standby S-CSCF through the I-CSCF, and then sent to the 5G terminal through the standby S-CSCF;

[0030] Among them, the 5G terminal belongs to the active S-CSCF, the standby S-CSCF and the I-CSCF.

[0031] In the above device, the IP-SM-GW is a standby IP-SM-GW.

[0032] The acquisition module is further configured to query the DNS according to the host name of the target S-CSCF to obtain the IP address of the target S-CSCF when the active IP-SM-GW fails;

[0033] The communication module is further configured to send the short message to the target S-CSCF according to the IP address of the target S-CSCF, and send it to the 5G terminal through the Internet Protocol Multimedia Subsystem IMS domain;

[0034] Among them, the 5G terminal belongs to the target S-CSCF.

[0035] An embodiment of the present application provides an electronic device, which is an Internet Protocol Short Message Gateway IP-SM-GW, including: a processor, a memory, and a communication bus;

[0036] The communication bus is used to realize the communication connection between the processor and the memory;

[0037] The processor is used to execute one or more programs stored in the memory to implement the above short message sending method.

[0038] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned short message sending method is implemented.

[0039] The embodiment of the present application provides a method, device, electronic device and storage medium for sending short messages. The method for sending short messages is applied to the Internet Protocol Short Message Gateway IP-SM-GW, including: in the case of a failure of the primary service call session control function S-CSCF, querying the number mapping workgroup ENUM or the domain name server DNS for the 5G terminal to obtain the IP address of the query call session control function I-CSCF; according to the IP address of the I-CSCF, sending the short message to the I-CSCF, so as to forward the short message to the backup S-CSCF through the I-CSCF, and send it to the 5G terminal through the backup S-CSCF; wherein the 5G terminal belongs to the primary S-CSCF, the backup S-CSCF and the I-CSCF. The technical solution provided by the embodiment of the present application can normally send short messages to the 5G terminal in the scenario of S-CSCF failure, thereby meeting the communication needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A flow chart of a method for sending a short message provided in an embodiment of the present application Figure 1 ;

[0041] Figure 2 An exemplary short message delivery process provided in the embodiment of the present application Figure 1 ;

[0042] Figure 3 A flow chart of a method for sending a short message provided in an embodiment of the present application Figure 2 ;

[0043] Figure 4 An exemplary short message delivery process provided in the embodiment of the present application Figure 2 ;

[0044] Figure 5 A schematic diagram of the structure of a short message sending device provided in an embodiment of the present application;

[0045] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0047] The following will specifically describe the technical solution of the present application and how the technical solution of the present application solves the above technical problems through embodiments and in conjunction with the accompanying drawings. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0048] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0049] The embodiment of the present application provides a short message sending method, which is applied to an Internet Protocol Short Message Gateway (IP-SM-GW). Figure 1 A flow chart of a method for sending a short message provided in an embodiment of the present application Figure 1 .like Figure 1 As shown, in the embodiment of the present application, the short message sending method mainly includes the following steps:

[0050] S101. In the event of a failure of the active S-CSCF, query ENUM or DNS for the 5G terminal to obtain the IP address of the I-CSCF.

[0051] In an embodiment of the present application, when the primary S-CSCF fails, the IP-SM-GW can query the number mapping working group (Telephone Number Mapping working group, ENUM) or the domain name server (Domain Name Server, DNS) of the called number of the 5G terminal to obtain the IP address of the interrogating call session control function (I-CSCF).

[0052] It should be noted that in the embodiment of the present application, the primary S-CSCF may be the S-CSCF that is preferentially used in the current communication scenario, and the 5G terminal belongs to the primary S-CSCF. In addition, the 5G terminal may also belong to the I-CSCF, and the IP-SM-GW may query ENUM or DNS for the 5G terminal to obtain the IP address of the I-CSCF to which it belongs.

[0053] It should be noted that in an embodiment of the present application, the IP-SM-GW can determine whether the primary S-CSCF is faulty. For example, the IP-SM-GW can send a short message to the primary S-CSCF. If, when the set timer expires, the message indicating that the short message was successfully sent from the primary S-CSCF is not received, the primary S-CSCF is determined to be faulty.

[0054] It should be noted that in an embodiment of the present application, when the primary S-CSCF fails, the IP-SM-GW can determine whether the access mode of the called terminal is 5G or 4G, that is, whether the called terminal is a 5G terminal or a 4G terminal, and will send short messages to the 5G terminal and 4G terminal in different ways, that is, sending IP short messages.

[0055] In an embodiment of the present application, the IP-SM-GW queries ENUM or DNS for the 5G terminal to obtain the IP address of the I-CSCF, including: sending a first IP address query request to ENUM or DNS; wherein the first IP address query request carries the called number of the 5G terminal; receiving the IP address of the I-CSCF queried according to the called number in response to the first IP address query request sent by ENUM or DNS.

[0056] It should be noted that in an embodiment of the present application, the called number of the 5G terminal is associated with the IP address of the I-CSCF to which it belongs, and the called number of the 5G terminal, the IP address of the I-CSCF, and the association between the two are pre-stored in ENUM and DNS. In this way, the IP-SM-GW can obtain the IP address of the I-CSCF from ENUM or DNS according to the called number of the 5G terminal.

[0057] It should be noted that in the embodiment of the present application, the IP-SM-GW can choose to send a first IP address query request to one of the ENUM and DNS objects to obtain the IP address of the I-CSCF according to actual needs and application scenarios, and the embodiment of the present application is not limited.

[0058] It should be noted that in the embodiments of the present application, the IP-SM-GW queries ENUM or DNS to obtain not only the IP address of the I-CSCF, but also the host name, port number and other information of the I-CSCF, which can also be used as information for the IP-SM-GW to identify the I-CSCF.

[0059] S102. Send the short message to the I-CSCF according to the IP address of the I-CSCF, so that the short message is forwarded to the standby S-CSCF through the I-CSCF, and then sent to the 5G terminal through the standby S-CSCF.

[0060] In an embodiment of the present application, after obtaining the IP address of the I-CSCF, the IP-SM-GW sends a short message to the I-CSCF, so that the short message is forwarded to the standby S-CSCF through the I-CSCF, and then sent to the 5G terminal via the standby S-CSCF.

[0061] It can be understood that in an embodiment of the present application, when the IP-SM-GW obtains the IP address of the I-CSCF, it can send the short message to the I-CSCF according to the IP address of the I-CSCF, and then forward it to the standby S-CSCF through the I-CSCF, and then send it to the 5G terminal by the standby S-CSCF, thereby realizing the normal sending of short messages to the 5G terminal in the event of a failure of the primary S-CSCF.

[0062] It should be noted that, in an embodiment of the present application, the communication scenario also includes a backup S-CSCF, and the 5G terminal belongs not only to the above-mentioned main S-CSCF and I-CSCF, but also to the backup S-CSCF.

[0063] In an embodiment of the present application, the short message is forwarded to the standby S-CSCF according to the IP address of the standby S-CSCF after the I-CSCF queries the Home Subscriber Server (HSS) or the Home Location Register (HLR) to obtain the IP address of the standby S-CSCF.

[0064] It is understandable that in the embodiment of the present application, the I-CSCF receives a short message sent by the IP-SM-GW and needs to forward it to the standby S-CSCF, so it needs to obtain the IP address of the standby S-CSCF. The I-CSCF can query the HSS to obtain the IP address of the standby S-CSCF.

[0065] It should be noted that in the embodiment of the present application, the I-CSCF queries the HSS to obtain not only the IP address of the standby S-CSCF, but also the host name, port number and other information of the standby S-CSCF, which can also be used as information for the I-CSCF to identify the standby S-CSCF.

[0066] In an embodiment of the present application, the IP-SM-GW may further perform the following steps: in the event of a failure of the primary S-CSCF, a short message is sent to the 4G terminal through the CS domain; wherein the 4G terminal belongs to the primary S-CSCF.

[0067] It can be understood that in the embodiment of the present application, the 4G terminal can also belong to the above-mentioned primary S-CSCF. In the case of a failure of the primary S-CSCF, since the 4G terminal supports attachment to the CS network, the IP-SM-GW can send a short message to the 4G terminal through the CS domain. Among them, the IP-SM-GW can initiate a routing query to the HLR or HSS and send a short message to the 4G terminal through the CS domain.

[0068] Figure 2 An exemplary short message delivery process provided in the embodiment of the present application Figure 1 .like Figure 2 As shown, in an embodiment of the present application, the IP-SM-GW may perform the following steps:

[0069] S1. IP-SM-GW sends a short message to the active S-CSCF. It should be noted that after this, the IP-SM-GW timer times out and does not receive a response from the active S-CSCF, so it is determined that the active S-CSCF is faulty.

[0070] S2. IP-SM-GW sends a first IP address query request to ENUM / DNS; wherein the first IP address query request carries the called number of the 5G terminal;

[0071] S3. ENUM / DNS sends the standby S-CSCF to the IP-SM-GW; wherein ENUM / DNS queries the IP address of the standby I-CSCF to which the 5G terminal belongs according to the called number of the 5G terminal in the first IP address query request;

[0072] S4. The IP-SM-GW sends a short message to the I-CSCF. The IP-SM-GW locates the I-CSCF according to the IP address of the I-CSCF, and sends the short message to the I-CSCF.

[0073] S5. The I-CSCF sends a short message to the standby S-CSCF. It should be noted that the I-CSCF obtains the IP address of the standby S-CSCF by querying the HSS to send the short message to the standby S-CSCF.

[0074] S6. The standby S-CSCF sends a short message to the 5G terminal;

[0075] S7. The 5G terminal sends a 200 message to the standby S-CSCF, wherein the 200 message indicates that the short message is successfully sent.

[0076] S8. The standby S-CSCF sends a 200 message to the I-CSCF.

[0077] S9. I-CSCF sends a 200 message to IP-SM-GW.

[0078] In an embodiment of the present application, the above-mentioned IP-SM-GW can be a backup IP-SM-GW as a backup. In addition, the communication scenario also includes a primary IP-SM-GW. In the event of a failure of the primary IP-SM-GW, the backup IP-SM-GW can also send short messages to the 5G terminal, which is described in detail below.

[0079] Figure 3 A flow chart of a method for sending a short message provided in an embodiment of the present application Figure 2 .like Figure 3 As shown, in an embodiment of the present application, the short message sending method may include the following steps:

[0080] S201. When the active IP-SM-GW fails, query the DNS according to the host name of the target S-CSCF to obtain the IP address of the target S-CSCF.

[0081] In an embodiment of the present application, in the event of a failure of the active IP-SM-GW, the standby IP-SM-GW may query the DNS according to the host name of the target S-CSCF to obtain the IP address of the target S-CSCF.

[0082] It should be noted that in the embodiment of the present application, the 5G terminal belongs to the target S-CSCF. The target S-CSCF can be the above-mentioned primary S-CSCF or the above-mentioned backup S-CSCF. Of course, it can also be any other S-CSCF to which the 5G terminal belongs. The specific target S-CSCF is not limited in the embodiment of the present application.

[0083] In an embodiment of the present application, the standby IP-SM-GW can query the DNS according to the host name of the target S-CSCF, and before obtaining the IP address of the target S-CSCF, it can also perform the following steps: obtain the host name of the target S-CSCF from the HSS or HLR.

[0084] It should be noted that in an embodiment of the present application, the standby IP-SM-GW can first send a user data request (User Data Request, UDR) message to the HSS, the UDR message carries reference data for querying the host name of the target S-CSCF to which the 5G terminal belongs, and then receive a user data answer (User Data Answer, UDA) message from the HSS, the UDA message carries the host name of the target S-CSCF to which the 5G terminal belongs.

[0085] In an embodiment of the present application, the standby IP-SM-GW queries the DNS according to the host name of the target S-CSCF to obtain the IP address of the target S-CSCF, including: sending a second IP address query request to the DNS; wherein the second IP address query request carries the host name of the target S-CSCF; receiving the IP address of the target S-CSCF queried according to the host name of the target S-CSCF in response to the second IP address query request sent by the DNS.

[0086] It should be noted that in an embodiment of the present application, the host name of the target S-CSCF is associated with its IP address, and the host name of the target S-CSCF, its IP address, and the association between the two are pre-stored in the DNS. In this way, the standby IP-SM-GW can obtain the IP address of the target S-CSCF from the DNS according to the host name of the target S-CSCF.

[0087] S202. Send the short message to the target S-CSCF according to the IP address of the target S-CSCF, and send it to the 5G terminal through the IMS domain.

[0088] In an embodiment of the present application, when the standby IP-SM-GW obtains the IP address of the target S-CSCF, it can send the short message to the target S-CSCF according to the IP address of the target S-CSCF, and send it to the 5G terminal through the IMS domain.

[0089] It can be understood that in the embodiment of the present application, since the 5G terminal supports attachment to the IMS network but not to the CS network, in the event of a failure of the primary IP-SM-GW, the backup IP-SM-GW queries the DNS for the IP address of the target S-CSCF to which the 5G terminal belongs, so as to send a short message to the 5G terminal through the IMS domain to ensure that the short message is sent normally.

[0090] Figure 4 An exemplary short message delivery process provided in the embodiment of the present application Figure 2 .like Figure 4 As shown, in an embodiment of the present application, the communication scenario includes network elements such as a short message service center (Short Message Service Center, SMSC), wherein, when the active IP-SM-GW fails, the standby IP-SM-GW as a backup can perform the following steps:

[0091] S1. SMSC sends routing signaling to HSS / HLR;

[0092] S2, HSS / HLR sends routing signaling to the standby IP-SM-GW;

[0093] S3. The standby IP-SM-GW determines that if the called party's global title (GT) address in the routing signaling is not its GT address, it initiates a third-party registration with the HSS / HLR.

[0094] S4. The standby IP-SM-GW sends a UDR message to the HSS / HLR; wherein the UDR message carries reference data for querying the host name of the S-CSCF (i.e., the above-mentioned target S-CSCF) to which the 5G terminal belongs;

[0095] S5, HSS / HLR sends a UDA message to the standby IP-SM-GW; the UDA message carries the host name of the S-CSCF to which the 5G terminal belongs;

[0096] S6. The standby IP-SM-GW sends a Profile Update Request (PUR) to the HSS / HLR. The PUR message carries the IP address of the standby IP-SM-GW.

[0097] S7. The HSS / HLR sends a Profile Update Answer (PUA) message to the standby IP-SM-GW. The PUA message is used to notify the standby IP-SM-GW that the IP-SM-GW address in the HSS / HLR has been updated.

[0098] S8. The standby IP-SM-GW sends a routing signaling to the HSS / HLR;

[0099] S9. HSS / HLR sends a first response message to the standby IP-SM-GW; wherein the first response message carries the IP address or International Mobile Subscriber Identity (IMSI) of the visited mobile switching center (VMSC);

[0100] S10. The standby IP-SM-GW sends a second response message to the SMSC; wherein the second response message carries its IP address or message transmission related identifier;

[0101] S11. SMSC sends a short message to the standby IP-SM-GW;

[0102] S12. The standby IP-SM-GW sends a second IP address query request to the DNS; wherein the second IP address query request carries the host name of the S-CSCF;

[0103] S13. DNS sends the IP address of S-CSCF to the standby IP-SM-GW; wherein DNS queries the IP address of S-CSCF according to the host name of S-CSCF;

[0104] S14. The standby IP-SM-GW forwards the short message to the S-CSCF; wherein the standby IP-SM-GW locates the S-CSCF according to the IP address of the S-CSCF;

[0105] S15. The S-CSCF forwards the short message to a proxy call session control function (P-CSCF).

[0106] S16. P-CSCF forwards the short message to the 5G terminal.

[0107] It should be noted that in the embodiment of the present application, since the 5G terminal does not support attachment to the CS network, the standby IP-SM-GW specifically selects the IMS domain to send short messages for the 5G terminal.

[0108] An embodiment of the present application provides a short message sending device, which is an Internet Protocol Short Message Gateway IP-SM-GW. Figure 5 This is a schematic diagram of the structure of a short message sending device provided in an embodiment of the present application. Figure 5 As shown, the short message sending device includes:

[0109] The acquisition module 301 is used to query the number mapping workgroup ENUM or the domain name server DNS for the 5G terminal to obtain the IP address of the query call session control function I-CSCF when the primary service call session control function S-CSCF fails;

[0110] The communication module 302 is used to send the short message to the I-CSCF according to the IP address of the I-CSCF, so that the short message is forwarded to the standby S-CSCF through the I-CSCF, and sent to the 5G terminal through the standby S-CSCF;

[0111] Among them, the 5G terminal belongs to the active S-CSCF, the standby S-CSCF and the I-CSCF.

[0112] In one embodiment of the present application, the acquisition module 301 is also used to send a first IP address query request to the ENUM or the DNS; wherein the first IP address query request carries the called number of the 5G terminal; and receive the IP address of the I-CSCF queried according to the called number in response to the first IP address query request sent by the ENUM or the DNS.

[0113] In an embodiment of the present application, the short message is forwarded to the standby S-CSCF according to the IP address of the standby S-CSCF after the I-CSCF queries the home subscriber server HSS to obtain the IP address of the standby S-CSCF.

[0114] In an embodiment of the present application, the communication module 302 is further used to send the short message to the 4G terminal through the circuit switched CS domain when the primary S-CSCF fails; wherein the 4G terminal belongs to the primary S-CSCF.

[0115] In an embodiment of the present application, the IP-SM-GW is a standby IP-SM-GW, and the acquisition module 301 is further configured to query the DNS according to the host name of the target S-CSCF to obtain the IP address of the target S-CSCF when the active IP-SM-GW fails;

[0116] The communication module 302 is further configured to send the short message to the target S-CSCF according to the IP address of the target S-CSCF, and send it to the 5G terminal through the Internet Protocol Multimedia Subsystem IMS domain;

[0117] Among them, the 5G terminal belongs to the target S-CSCF.

[0118] In one embodiment of the present application, the communication module 302 is also used to send a second IP address query request to the DNS; wherein the second IP address query request carries the host name of the target S-CSCF; and receive the IP address of the target S-CSCF queried according to the host name of the target S-CSCF in response to the second IP address query request sent by the DNS.

[0119] In an embodiment of the present application, the acquisition module 301 is further configured to acquire the host name of the target S-CSCF from the HSS.

[0120] An embodiment of the present application also provides an electronic device, which is an Internet Protocol Short Message Gateway IP-SM-GW. Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device includes: a processor 401, a memory 402 and a communication bus 403;

[0121] The communication bus 403 is used to realize the communication connection between the processor 401 and the memory 402;

[0122] The processor 401 is configured to execute one or more programs stored in the memory 402 to implement the above short message sending method.

[0123] The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned short message sending method is implemented. The computer-readable storage medium can be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read-Only Memory, ROM), a flash memory (flash memory), a hard disk (Hard Disk Drive, HDD) or a solid-state drive (Solid-State Drive, SSD); or it can be a respective device including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc.

[0124] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0125] The present application is described with reference to implementation flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0126] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0127] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing the steps in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0128] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the utility application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for sending a short message, characterized in that: Applied to an Internet Protocol Short Message Gateway IP-SM-GW, the method comprises: In the event of a failure of the active service call session control function S-CSCF, query the number mapping workgroup ENUM or the domain name server DNS for the 5G terminal to obtain the IP address of the query call session control function I-CSCF; Sending the short message to the I-CSCF according to the IP address of the I-CSCF, so that the short message is forwarded to the standby S-CSCF through the I-CSCF, and then sent to the 5G terminal through the standby S-CSCF; Among them, the 5G terminal belongs to the active S-CSCF, the standby S-CSCF and the I-CSCF.

2. The method according to claim 1, characterized in that The querying of the number mapping working group ENUM or the domain name server DNS for the 5G terminal to obtain the IP address of the query call session control function I-CSCF includes: Sending a first IP address query request to the ENUM or the DNS; wherein the first IP address query request carries the called number of the 5G terminal; The IP address of the I-CSCF is received in response to the first IP address query request and is queried according to the called number and sent by the ENUM or the DNS.

3. The method according to claim 1, characterized in that The short message is forwarded to the standby S-CSCF according to the IP address of the standby S-CSCF after the I-CSCF queries the home subscriber server HSS or the home location register HLR to obtain the IP address of the standby S-CSCF.

4. The method according to claim 1, characterized in that The method further comprises: In case of a failure of the active S-CSCF, sending the short message to the 4G terminal via the circuit switched CS domain; Among them, the 4G terminal belongs to the primary S-CSCF.

5. The method according to claim 1, characterized in that The IP-SM-GW is a standby IP-SM-GW, and the method further includes: In the event of a failure of the active IP-SM-GW, query the DNS according to the host name of the target S-CSCF to obtain the IP address of the target S-CSCF; According to the IP address of the target S-CSCF, the short message is sent to the target S-CSCF, and is sent to the 5G terminal through the Internet Protocol Multimedia Subsystem IMS domain; Among them, the 5G terminal belongs to the target S-CSCF.

6. The method according to claim 5, characterized in that The querying the DNS according to the host name of the target S-CSCF to obtain the IP address of the target S-CSCF includes: Sending a second IP address query request to the DNS; wherein the second IP address query request carries the host name of the target S-CSCF; Receive the IP address of the target S-CSCF queried according to the host name of the target S-CSCF in response to the second IP address query request sent by the DNS.

7. The method according to claim 5, characterized in that Before querying the DNS according to the host name of the target S-CSCF to obtain the IP address of the target S-CSCF, the method further includes: Obtain the host name of the target S-CSCF from the HSS or HLR.

8. A short message sending device, characterized in that: The device is an Internet Protocol Short Message Gateway IP-SM-GW, comprising: An acquisition module is used to query the number mapping working group ENUM or the domain name server DNS for the 5G terminal to obtain the IP address of the query call session control function I-CSCF when the primary service call session control function S-CSCF fails; A communication module, configured to send a short message to the I-CSCF according to the IP address of the I-CSCF, so that the short message is forwarded to the standby S-CSCF through the I-CSCF, and then sent to the 5G terminal through the standby S-CSCF; Among them, the 5G terminal belongs to the active S-CSCF, the standby S-CSCF and the I-CSCF.

9. The device according to claim 8, characterized in that The IP-SM-GW is a standby IP-SM-GW, The acquisition module is further configured to query the DNS according to the host name of the target S-CSCF to obtain the IP address of the target S-CSCF when the active IP-SM-GW fails; The communication module is further configured to send the short message to the target S-CSCF according to the IP address of the target S-CSCF, and send it to the 5G terminal through the Internet Protocol Multimedia Subsystem IMS domain; Among them, the 5G terminal belongs to the target S-CSCF.

10. An electronic device, characterized in that: The electronic device is an Internet Protocol Short Message Gateway IP-SM-GW, including: a processor, a memory and a communication bus; The communication bus is used to realize the communication connection between the processor and the memory; The processor is used to execute one or more programs stored in the memory to implement the short message sending method according to any one of claims 1 to 7.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the short message sending method according to any one of claims 1 to 7 is implemented.