Short message sending method and device based on gateway function aggregation, equipment and medium

By interacting with the SMS sharing service platform and the service capability status control network element, and optimizing the SMS sending process using a preset session initiation protocol, the problems of low efficiency and resource waste in the existing technology are solved, and efficient and accurate SMS sending is achieved.

CN119521148BActive Publication Date: 2026-05-19CHINA TELECOM CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA TELECOM CORP LTD
Filing Date
2024-11-25
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

The existing SMS sending process is cumbersome, resulting in low efficiency and high resource consumption, and it cannot accurately match the target terminal.

Method used

By interacting with several service capability status control network elements through the SMS sharing service platform, obtaining signaling call detail records using a preset session initiation protocol, determining the service capability status control network element corresponding to the phone number, and sending SMS messages directly through these network elements, the business process is reduced and the sending efficiency and accuracy are improved.

Benefits of technology

It effectively improves SMS sending efficiency, reduces system resource consumption, and ensures that SMS messages accurately reach the target device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119521148B_ABST
    Figure CN119521148B_ABST
Patent Text Reader

Abstract

The application discloses a short message sending method and device based on gateway function aggregation, equipment and medium, which can be applied to the technical field of communication. The method of the application is applied to a short message sharing service platform, the short message sharing service platform interacts with a plurality of first service capability state control network elements through a preset session initiation protocol, and the method comprises the following steps: determining a second service capability state control network element corresponding to a first telephone number from the plurality of first service capability state control network elements according to first signaling session data; determining a third service capability state control network element corresponding to a short message delivery task from the second service capability state control network element; and sending a target short message corresponding to the short message delivery task to the third service capability state control network element through the preset session initiation protocol, and then sending the target short message to a terminal corresponding to a short message receiving number. The application can improve the short message sending efficiency, reduce the system resource consumption, and improve the accuracy of sending the short message to the target terminal object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a method, apparatus, device and medium for sending text messages based on gateway function aggregation. Background Technology

[0002] In related technologies, with the development of science and technology and the advancement of communication technology, SMS still plays an important role in the information transmission process. Currently, the SMS sending process requires initiation from the SMS service platform, passing through the SMS gateway and SMS center, then to the VoLTE core network, and finally being sent to the base station where the target terminal is located before reaching the terminal. This SMS sending process, due to the need for multiple business processes to complete the delivery, results in slow delivery efficiency and consumes significant system resources. Furthermore, existing technologies cannot effectively match the target object, thus preventing SMS from being accurately delivered to the intended target terminal.

[0003] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the Invention

[0004] The main objective of this application is to propose a method, apparatus, device, and medium for sending SMS messages based on gateway function aggregation, which can effectively improve SMS sending efficiency, reduce system resource consumption, and improve the accuracy of SMS messages being sent to the target means.

[0005] To achieve the above objectives, one aspect of this application proposes a method for sending SMS messages based on gateway function aggregation. The method is applied to an SMS sharing service platform, which interacts with several first service capability status control network elements through a preset session initiation protocol. The method includes the following steps:

[0006] Acquire several first signaling call detail records (CDRs), each of which includes a first telephone number;

[0007] Based on the first signaling call detail record data, determine the second service capability status control network element corresponding to the first telephone number from several first service capability status control network elements;

[0008] Receive SMS messages and assign tasks;

[0009] The third service capability status control network element corresponding to the SMS delivery task is determined from the second service capability status control network element;

[0010] The target SMS message corresponding to the SMS delivery task is sent to the third service capability status control network element through the preset session initiation protocol, so that the target SMS message is sent to the terminal corresponding to the SMS receiving number through the third service capability status control network element.

[0011] In some embodiments, determining the second service capability status control network element corresponding to the first telephone number from a plurality of the first service capability status control network elements based on the first signaling call detail record data includes:

[0012] Extract the first phone number from the first signaling call detail record (CDR) data;

[0013] Preprocessing the first signaling call detail data based on the first telephone number yields a first processing result. The preprocessing includes data indexing and data retrieval. The first processing result includes the index result and the first domain name information of the second service capability status control network element.

[0014] Based on the first processing result, the second service capability status control network element corresponding to the first phone number is determined from a plurality of the first service capability status control network elements.

[0015] In some embodiments, the preprocessing of the first signaling call detail record data based on the first telephone number includes:

[0016] The first signaling call detail record data is hashed and indexed based on the first phone number to obtain the index result.

[0017] Based on the index results and the first telephone number, the first signaling call detail record data is supplemented and retrieved to obtain the first domain name information of the second service capability status control network element.

[0018] In some embodiments, determining the third service capability status control network element corresponding to the SMS delivery task from the second service capability status control network element includes:

[0019] The SMS receiving number is determined based on the SMS delivery task;

[0020] Obtain the second domain name information corresponding to the SMS receiving number;

[0021] Based on the second domain name information and the first domain name information, the third service capability status control network element corresponding to the SMS receiving number is determined from the second service capability status control network element.

[0022] In some embodiments, determining the third service capability status control network element corresponding to the SMS delivery task from the second service capability status control network element includes:

[0023] The SMS receiving area is determined based on the SMS delivery task;

[0024] Obtain all SMS receiving numbers within the SMS receiving area;

[0025] Obtain the second domain name information corresponding to the SMS receiving number;

[0026] Based on the second domain name information and the first domain name information, the third service capability status control network element corresponding to the SMS receiving number is determined from the second service capability status control network element.

[0027] In some embodiments, obtaining all SMS receiving numbers within the SMS receiving area includes:

[0028] Obtain the cell values ​​of all base stations within the SMS receiving area;

[0029] The cell base station is determined based on the cell value of the base station;

[0030] Obtain all SMS receiving numbers under the cell base station.

[0031] In some embodiments, sending the target SMS message to the terminal corresponding to the SMS receiving number via the third service capability state control network element includes:

[0032] The target SMS message is sent to the target base station through the third service capability status control network element;

[0033] The target SMS message is sent to the terminal corresponding to the SMS receiving number via the target base station.

[0034] To achieve the above objectives, another aspect of this application proposes a text message sending device based on gateway function aggregation. The device is configured on a text message sharing service platform, which interacts with several first service capability status control network elements through a preset session initiation protocol. The device includes:

[0035] The first module is used to acquire several first signaling call detail records (CDRs), each of which includes a first telephone number.

[0036] The second module is used to determine the second service capability status control network element corresponding to the first telephone number from a plurality of the first service capability status control network elements based on the first signaling call detail record data.

[0037] The third module is used to obtain SMS delivery tasks;

[0038] The fourth module is used to determine the third service capability status control network element corresponding to the SMS delivery task from the second service capability status control network element;

[0039] The fifth module is used to send the target SMS message corresponding to the SMS delivery task to the third service capability status control network element through the preset session initiation protocol, so that the target SMS message can be sent to the terminal corresponding to the SMS receiving number through the third service capability status control network element.

[0040] To achieve the above objectives, another aspect of this application provides an electronic device, comprising:

[0041] At least one processor;

[0042] At least one memory for storing at least one program;

[0043] When the at least one program is executed by the at least one processor, the at least one processor performs the method described above.

[0044] To achieve the above objectives, another aspect of the embodiments of this application proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.

[0045] The embodiments of this application include at least the following beneficial effects: This application provides a method, apparatus, device, and medium for sending SMS messages based on gateway function aggregation. This solution, by being set up on an SMS sharing service platform, interacts with several first service capability status control network elements through the SMS sharing service platform using a preset session initialization protocol. This effectively reduces the business processes involved in SMS sending, thereby effectively improving SMS sending efficiency and reducing system resource consumption. Furthermore, after acquiring several first signaling call detail records (CDRs), the second service capability status control network element corresponding to the first phone number is determined from the several first service capability status control network elements based on the first signaling CDRs. Then, after acquiring the SMS delivery task, the third service capability status control network element corresponding to the SMS delivery task is determined from the second service capability status control network elements. The target SMS message corresponding to the SMS delivery task is then sent to the third service capability status control network element through the preset session initialization protocol. The target SMS message is then sent to the terminal corresponding to the SMS receiving number through the third service capability status control network element, thereby effectively improving the accuracy of SMS message delivery to the target target. Attached Figure Description

[0046] Figure 1 This is a flowchart of the SMS sending method based on gateway function aggregation provided in the embodiments of this application;

[0047] Figure 2 This is a flowchart of the interaction process for sending SMS messages in existing technology;

[0048] Figure 3This is an application interaction flowchart of the SMS sending method based on gateway function aggregation provided in the embodiments of this application;

[0049] Figure 4 This is a schematic diagram comparing the SMS sending process of the prior art and the method of this application according to the embodiments of this application;

[0050] Figure 5 This is a schematic diagram of the interface for the number of objects connected to a base station according to an embodiment of this application;

[0051] Figure 6 This is a screenshot of the SMS sending effect interface provided in the embodiment of this application;

[0052] Figure 7 This is a schematic diagram of the statistical results of high-throughput SMS sending task tests provided in an embodiment of this application;

[0053] Figure 8 This is a schematic diagram of the modules of the SMS sharing service platform provided in the embodiments of this application;

[0054] Figure 9 This is a schematic diagram of SMS sending interaction provided in an embodiment of this application;

[0055] Figure 10 This is a schematic diagram of the structure of the SMS sending device based on gateway function aggregation provided in the embodiments of this application;

[0056] Figure 11 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0057] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit it. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application.

[0058] It is understood that the terms “first,” “second,” etc., used in this application may be used herein to describe various concepts, but unless otherwise stated, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words “if,” “when,” or “in response to a determination” as used herein may be interpreted as “when…” or “when…” or “in response to a determination.”

[0059] As used in this application, the terms "at least one", "multiple", "each", "any", etc., "at least one" includes one, two or more, "multiple" includes two or more, "each" refers to each of the corresponding multiples, and "any" refers to any one of the multiples.

[0060] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0061] Before providing a detailed description of the embodiments of this application, some of the nouns and terms used in the embodiments of this application will be explained first. The nouns and terms used in the embodiments of this application shall be interpreted as follows:

[0062] The `deliver_sm_resp` message is a response message in the SMPP (Short Message Peer-to-Peer) protocol used to confirm that a message has been delivered. When a Short Message Center (SMSC) sends a `deliver_sm` command to an ESME (Electronic Short Message Entity) requesting that a short message be delivered to a specified mobile phone or other device, the ESME needs to reply with a `deliver_sm_resp` message to confirm that the message has been received.

[0063] `submit_sm` is a concept in mobile communication networks, particularly in the field of Short Message Service (SMS). It's an interface between Mobile Application Service Providers (MAPs) and Short Message Service Centers (SMSCs) used for sending text messages. `submit_sm` refers to a message submission request used to send a text message from one mobile device to another mobile device or any other service that supports SMS. The basic flow of `submit_sm` is as follows:

[0064] Step 1: The mobile device (ME) or the user initiates an SMS sending request through a mobile application or SMS client;

[0065] Step 2: The Mobile Application Service Provider (MAP) receives the request and forwards it to the corresponding Short Message Service Center (SMSC);

[0066] Step 3: The SMSC processes the request and forwards the SMS content to the target mobile device;

[0067] Step 4: The target mobile device receives the SMS message and displays it to the user.

[0068] Message_200 is typically a specific message in the field of communications. This message may be a data unit used to identify, classify, or process data within a particular communication protocol or system. Specifically, a message is information, a message, or a piece of information; when used as a verb, it means to deliver a message. In communication systems, a message is the basic unit of information transmission, usually referring to a block of information sent or received through some communication means. The number 200 may represent the message's sequence number, serial number, length, or other specific attributes associated with the message. For example, in the HTTP protocol, status code 200 indicates that the request has been successfully processed.

[0069] Volte (Voice over Long-Term Evolution) is a communication technology that uses LTE (Long-Term Evolution) networks to transmit voice. It allows users to transmit voice data over IP networks, providing higher transmission rates, lower latency, and higher sound quality. Compared to traditional 2G / 3G networks, Volte supports real-time audio and video calls, such as video calls, text messages, voice messages, and multi-person calls. The Volte architecture involves the following Service Capability State Control Element (CSCF):

[0070] P-CSCF (Proxy-CSCF): The proxy CSCF is the first node in the IMS network, responsible for user registration and routing requests.

[0071] S-CSCF (Serving-CSCF): The Serving CSCF is responsible for handling registration requests from user devices and acts as the user's SIP server after the user registers.

[0072] I-CSCF (Interrogating-CSCF): Interrogates the CSCF to forward requests to the appropriate S-CSCF during user registration.

[0073] In the TCP / IP protocol, the `accept` function is used by the server to accept connection requests from clients. When a server listens on a port and creates a socket to accept connections, the `accept` function retrieves a connection from the connection queue that has completed the three-way handshake and returns a new socket for data communication with the client. Specifically, the `accept` function performs the following functions:

[0074] First, receiving client connection requests: After the server listens on the port, once a client initiates a connection request, the accept function will handle the request;

[0075] Second, it returns a new socket: the accept function returns a new socket that is specifically used to exchange data with the client that initiated the connection request.

[0076] Third, multi-client support: The server can accept connection requests from multiple clients by continuously calling the accept function and return an independent socket for each connection, thus achieving concurrent processing.

[0077] SIP stands for Session Initiation Protocol, which is used to control the establishment, modification, and termination of multimedia communication sessions.

[0078] PSBC stands for Packet Switched Domain Service Control. In mobile communication networks, the PSBC is the component responsible for controlling service logic.

[0079] MD5 is a widely used hash function that produces a 128-bit (16-byte) hash value, typically used to verify data integrity.

[0080] HTTP stands for Hypertext Transfer Protocol, which is a protocol used to transfer hypertext from the network to a local browser.

[0081] A socket interface is an endpoint through which an application can send or receive data.

[0082] API stands for Application Programming Interface, which allows different software applications to interact with each other.

[0083] A key-value database is a data storage method that stores data in the form of key-value pairs.

[0084] In related technologies, such as Figure 2As shown, the SMS sending process requires initiation from the SMS service platform, passing through the SMS gateway and SMS center, then to the VoLTE core network. Finally, the SMS is sent to the base station where the target terminal is located via the SSCCF in the core network before reaching the target terminal. This SMS sending process, requiring multiple steps to complete, results in slow delivery efficiency and consumes significant system resources. Furthermore, existing technologies cannot effectively match the target audience, thus preventing accurate delivery of SMS messages to the intended recipient's terminal.

[0085] In view of this, this application provides a method, apparatus, device, and medium for sending SMS messages based on gateway function aggregation. This application, by being set up on an SMS sharing service platform, interacts with several first service capability status control network elements through the SMS sharing service platform using a preset session initialization protocol. This effectively reduces the business processes involved in SMS sending, thereby effectively improving SMS sending efficiency and reducing system resource consumption. Furthermore, after acquiring several first signaling call detail records (CDRs), based on the first CDRs, a second service capability status control network element corresponding to a first phone number is determined from the several first service capability status control network elements. Then, after acquiring the SMS delivery task, a third service capability status control network element corresponding to the SMS delivery task is determined from the second service capability status control network elements. The target SMS message corresponding to the SMS delivery task is then sent to the third service capability status control network element through the preset session initialization protocol. The third service capability status control network element then sends the target SMS message to the terminal corresponding to the SMS receiving number, thereby effectively improving the accuracy of SMS delivery to the target target.

[0086] The SMS sending method based on gateway function aggregation provided in this application relates to the field of communication technology. This SMS sending method based on gateway function aggregation can be applied to a terminal, a server, or software running on a terminal or server. In some embodiments, the terminal can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, or in-vehicle terminal, but is not limited to these. The server can be configured as an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network. The software can be an application implementing the SMS sending method based on gateway function aggregation, but is not limited to the above forms.

[0087] This application can be used in a wide variety of general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0088] It should be noted that in all specific embodiments of this application, when processing data related to user identity or characteristics, such as user information, user behavior data, user historical data, and user domain information, user permission or consent is obtained first. Furthermore, the collection, use, and processing of this data comply with relevant laws, regulations, and standards. In addition, when embodiments of this application require access to sensitive personal information of users, separate permission or consent from the user is obtained through pop-ups or redirects to confirmation pages. Only after obtaining the user's separate permission or consent is the necessary user-related data required for the proper functioning of these embodiments acquired.

[0089] Figure 1 This is an optional flowchart of a text message sending method based on gateway function aggregation provided in this application embodiment. Wherein, Figure 1 The method shown can be applied to Figure 3 The interactive framework shown is for a text messaging sharing service platform. From... Figure 3 It is understood that the SMS sharing service platform can interact directly with several first-service capability status control network elements through a preset session initiation protocol, and then send the SMS to the base station of the corresponding phone number through the first-service capability status control network elements to complete the SMS sending process. The preset session initiation protocol may include, but is not limited to, the SIP protocol. Figure 4 As shown, a comparison between the existing SMS sending process and the SMS sending process of this application shows that this application does not require several business processes such as SMS gateways and SMS platforms, thereby effectively improving SMS sending efficiency and reducing system resource consumption.

[0090] Understandable Figure 1 The method may include, but is not limited to, steps S110 to S150:

[0091] Step S110: Obtain several first signaling call detail records (CDRs), each of which includes a first telephone number;

[0092] Step S120: Based on the first signaling call detail record data, determine the second service capability status control network element corresponding to the first telephone number from several first service capability status control network elements;

[0093] Step S130: Obtain the SMS delivery task;

[0094] Step S140: Determine the third service capability status control network element corresponding to the SMS delivery task from the second service capability status control network element;

[0095] Step S150: Send the target SMS message corresponding to the SMS delivery task to the third service capability status control network element through the preset session initialization protocol, so that the target SMS message can be sent to the terminal corresponding to the SMS receiving number through the third service capability status control network element.

[0096] It is understandable that the first signaling call detail record (CDR) data can be a real-time data stream that is collected and parsed in real time by the signaling monitoring system in the SMS sharing service platform and then sent to the SMS capability layer in the SMS sharing service platform via a socket interface. After obtaining the first signaling CDR data, this application determines the second service capability status control network element corresponding to the first phone number from several first service capability status control network elements. Specifically, since there can be several first service capability status control network elements in a 5G network, each first service capability status control network element can implement the network access function for one or more phone numbers. Only when the network to which the corresponding service capability status control network element belongs can that service capability status control network element interact with the terminal of the corresponding number.

[0097] In this embodiment of the application, the process of determining the second service capability status control network element corresponding to the first telephone number from a plurality of first service capability status control network elements based on the first signaling call detail record data includes, but is not limited to, steps S210 to S230:

[0098] Step S210: Extract the first phone number from the first signaling call detail record (CDR) data;

[0099] Step S220: Preprocess the first signaling call detail record data according to the first telephone number to obtain the first processing result. The preprocessing includes data indexing and data retrieval. The first processing result includes the index result and the first domain name information of the second service capability status control network element.

[0100] Step S230: Determine the second service capability status control network element corresponding to the first telephone number from several first service capability status control network elements based on the first processing result.

[0101] It is understood that in this embodiment, after obtaining the first phone number from the first signaling call detail record (CDR) data, a hash data index is performed on the first CDR data based on the first phone number to obtain an index result. Then, based on the index result and the first phone number, a supplementary retrieval is performed on the first CDR data to obtain the first domain name information of the second service capability status control network element. Then, using the first domain name information, the corresponding service capability status control network element is searched from multiple first service capability status control network elements as the second service capability status control network element corresponding to the first phone number, thereby enabling the first phone number to join the network. Specifically, this embodiment determines the uniqueness of the joining number by hashing the first signaling CDR data, and then saves the phone number to the corresponding number location storage cluster for verification during subsequent SMS sending.

[0102] For example, when a 5G network currently includes a first service capability status control network element 1, a first service capability status control network element 2, and a first service capability status control network element 3, when a phone number 1 is powered on for the first time, a network access operation is required for phone number 1 to achieve network connectivity. This embodiment uses phone number 1 to send signaling call detail records (CDRs) to the 5G network, enabling the 5G network to perform a network access operation on the CDRs. Specifically, it selects a network element from several first service capability status control network elements that can satisfy the communication functions of phone number 1. For instance, when first service capability status control network elements 1, 2, and 3 can all meet the regional requirements of phone number 1, all three network elements can complete the network access function for phone number 1. In this case, the corresponding service capability status control network element for phone number 1 can be determined based on the load capacity of the network elements. When the total load capacity of the three service capability status control network elements is the same, and 50 loads are connected in the first service capability status control network element 1, 60 loads are connected in the first service capability status control network element 2, and 30 loads are connected in the first service capability status control network element 3, based on the load status of all the first service capability status control network elements, the first service capability status control network element 3 can be selected as the target service capability status control network element (second service capability status control network element) corresponding to telephone number 1, thereby improving the communication stability of telephone number 1. In this embodiment, by performing hash data indexing and supplementary indexing on the signaling call detail record data corresponding to telephone number 1, and then obtaining the first domain name information of the second service capability status control network element, telephone number 1 is stored in the storage service of the second service capability status control network element corresponding to the first domain name information, thereby making the uniqueness of telephone number 1 in the service capability status control network element, thereby improving the communication stability of telephone number 1.

[0103] In this embodiment, when an SMS delivery task is obtained, the third service capability status control network element corresponding to the SMS delivery task can be determined from the second service capability status control network element. Specifically, the SMS delivery task can be sending an SMS to a single phone number or performing a bulk SMS operation for a certain area.

[0104] Specifically, taking the sending of an SMS message by a single phone number as an example, the process of determining the third service capability status control network element corresponding to the SMS sending task from the second service capability status control network element includes, but is not limited to, steps S310 to S330:

[0105] Step S310: Determine the SMS receiving number based on the SMS task;

[0106] Step S320: Obtain the second domain name information corresponding to the SMS receiving number;

[0107] Step S330: Based on the second domain name information and the first domain name information, determine the third service capability status control network element corresponding to the SMS receiving number from the second service capability status control network element.

[0108] It is understood that the second domain name information refers to the communication network type of the service capability status control network element to which the SMS receiving number belongs. This communication network type can include, but is not limited to, telecommunications network types, mobile network types, or China Unicom network types. Different communication network types correspond to different domain name information, thereby improving the accuracy of SMS sending. For example, when it is determined that the second domain name information corresponding to the SMS receiving number is a telecommunications network, the service capability status control network element whose domain name information is a telecommunications network is determined as the third service capability status control network element based on the first domain name information of multiple second service capability status control network elements, thereby realizing the communication function of the SMS receiving number. In this embodiment, after obtaining the third service capability status control network element, the target SMS can be sent to the target base station corresponding to the SMS receiving number through the third service capability status control network element. The target base station then implements the target SMS delivery process, thereby enabling the SMS receiving number to accurately receive the target SMS.

[0109] Taking bulk SMS sending as an example, the process of determining the third service capability status control network element corresponding to the SMS sending task from the second service capability status control network element includes, but is not limited to, steps S410 to S440:

[0110] Step S410: Determine the SMS receiving area based on the SMS delivery task;

[0111] Step S420: Obtain all SMS receiving numbers within the SMS receiving area;

[0112] Step S430: Obtain the second domain name information corresponding to the SMS receiving number;

[0113] Step S440: Based on the second domain name information and the first domain name information, determine the third service capability status control network element corresponding to the SMS receiving number from the second service capability status control network element.

[0114] For example, when a disaster warning needs to be issued for a certain area, SMS messages need to be sent to all phone numbers within that area to remind those within the area to take disaster prevention measures. This embodiment determines the SMS receiving area based on the area information carried in the SMS delivery task. After obtaining all SMS receiving numbers within that area, the corresponding service capability status control network element (the third service capability status control network element) can be found through the domain name information corresponding to the number. The third service capability status control network element then completes the mass SMS sending function. For example, when weather forecast information determines that area 1 will experience heavy rainstorms within the next week, a rainstorm warning message can be sent to all phone numbers within that area via SMS. In this case, the mass SMS sending function can be used to send the SMS messages, improving the real-time nature of the warning messages and reducing the workload of SMS sending. Based on this scenario, after generating the SMS delivery task, this embodiment can determine the SMS receiving area as Area 1 based on the area identifier information carried in the SMS delivery task. Then, it obtains all the SMS numbers in Area 1 as SMS receiving numbers and obtains the domain name information corresponding to all SMS receiving numbers as the second domain name information. At this time, the second domain name information can simultaneously include the telecommunications network type, the mobile network type, and the Unicom network type. Then, based on the second domain name information and the first domain name information, it determines all the third service capability status control network elements corresponding to the SMS receiving numbers from the second service capability status control network elements. At this time, the third service capability status control network elements can realize the SMS sending function of multiple network types. Then, the target SMS is sent in bulk through the third service capability status control network elements so that all SMS receiving numbers in Area 1 can receive the rainstorm warning SMS (target SMS).

[0115] In this embodiment of the application, the process of obtaining all SMS receiving numbers within the SMS receiving area includes, but is not limited to, steps S510 to S530:

[0116] Step S510: Obtain the cell values ​​of all base stations within the SMS receiving area;

[0117] Step S520: Determine the cell base station based on the cell value;

[0118] Step S530: Obtain all SMS receiving numbers under the cell base station.

[0119] It is understood that the third service capability status control network element in this embodiment interacts with the terminal where the number is located through the cell base station. Each cell base station can realize the passage function of several terminals where the phone numbers are located within the cell. After the target base station is determined from several cell base stations, the target SMS is sent to the target base station through the third service capability status control network element, and then the target base station sends the target SMS to the terminal corresponding to the SMS receiving number. For example, when it is necessary to send SMS in bulk to the area where the cell base station is located, such as Figure 5 As shown, the cell base station (46011775D61D4A) has 7 newly activated objects and 402 regularly registered objects, indicating that the base station interacts with 409 terminals associated with different phone numbers. When sending mass SMS messages, after the third service capability status control network element sends the target SMS to the cell base station, the cell base station needs to send the target objects to the terminals associated with the 409 phone numbers in parallel. From... Figure 6 As shown in the SMS sending effect interface diagram, the actual number of terminals where the SMS should be sent to 409 phone numbers is 409. The data of the terminals where the phone numbers were successfully sent is 409. It can be seen that the embodiments of this application can effectively improve the efficiency of SMS sending and the accuracy of the SMS to the target means.

[0120] In this embodiment of the application, a high-throughput SMS sending task was used as an example for testing. Regional bulk SMS sending tests and designated number SMS sending tests were conducted, for a total of 5 tests. Over 700,000 SMS messages were sent in the 5 tests, including 4 regional SMS sending tests and 1 designated number sending test, at a sending rate of 10,000 messages per second. The completion time of the sending was verified. Figure 7 It can be seen that the processing time is between 1.4 minutes and 2.3 minutes, achieving a highly efficient function for sending large volumes of text messages.

[0121] In the embodiments of this application, Figure 8 The functionality of the SMS sharing service platform was demonstrated. This platform comprises a signaling monitoring system, a service layer, and an SMS capability layer. The SMS capability layer includes management services, a number location database management service, a number location storage cluster, a location database, an SMS gateway cluster, and a voice gateway cluster. Each of the SMS and voice gateway clusters has several nodes, and each node can interact with the Service Capability Status Control Element (S-CSCF). This is intended for application in... Figure 8 Taking the SMS sharing service platform shown as an example, the method in this application embodiment includes, but is not limited to, the following steps:

[0122] Step S610: After receiving the first signaling call detail record (CDR) data sent by the signaling monitoring system, the registration overload of the first CDR data is completed in the SMS capability layer to realize the network access operation process of the telephone number corresponding to the first CDR data, and to determine the network connection relationship between the telephone number corresponding to the first CDR data and the second service capability status control network element. During the network access operation, the first CDR data can be forwarded through the I-CSCF to find a suitable S-CSCF as the second service capability status control network element of the signaling CDR data.

[0123] Step S620: When the business layer pushes the SMS delivery task through the POST method of the HTTP protocol, the third service capability state control network element (S-CSCF) corresponding to the SMS delivery task is determined in the SMS capability layer, so as to realize the SMS sending function through the third service capability state control network element (S-CSCF).

[0124] In the embodiments of this application, such as Figure 9 As shown, when the first signaling call detail record (CDR) data needs to be added to the network, a number location request is sent to the location service in the service capability layer via the SMS interface. The location service then returns a number location response based on the request, thus completing the network access process for the SMS sending service function of the first signaling CDR data. Then, during the SMS sending process, after the SMS interface sends the target SMS (MESSAGE) to the third service capability status control network element (S-CSCF) corresponding to the SMS receiving number, the third service capability status control network element (S-CSCF), after completing the SMS delivery process, returns a successful SMS sending response (MESSAGE-200 or MESSAGE-2002) to the SMS interface in the SMS sharing service platform to indicate that the SMS has been successfully sent.

[0125] As can be seen from the above, this application embodiment utilizes the SIP protocol stack to achieve direct connection between the SMS sharing service platform and the S-CSCF in the core network, thereby effectively shortening the SMS sending process, improving SMS sending efficiency and reducing system resource consumption. Furthermore, it achieves accurate SMS sending based on the registration signaling of the core network, thereby effectively improving the accuracy of SMS delivery to the target means.

[0126] Reference Figure 10 This application provides an SMS sending device based on gateway function aggregation. The device is installed on an SMS sharing service platform, which interacts with several first service capability status control network elements through a preset session initiation protocol. The device includes:

[0127] The first module 1010 is used to acquire several first signaling call detail records, wherein each first signaling call detail record includes a first telephone number;

[0128] The second module 1020 is used to determine the second service capability status control network element corresponding to the first telephone number from a plurality of first service capability status control network elements based on the first signaling call detail record data.

[0129] The third module, 1030, is used to obtain SMS delivery tasks;

[0130] The fourth module 1040 is used to determine the third service capability status control network element corresponding to the SMS delivery task from the second service capability status control network element;

[0131] The fifth module 1050 is used to send the target SMS message corresponding to the SMS delivery task to the third service capability status control network element through a preset session initiation protocol, so that the target SMS message can be sent to the terminal corresponding to the SMS receiving number through the third service capability status control network element.

[0132] It is understood that the content of the above method embodiments is applicable to the present device embodiments. The specific functions implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0133] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned SMS sending method based on gateway function aggregation. This electronic device can be any smart terminal, including tablet computers, in-vehicle computers, etc.

[0134] It is understood that the content of the above method embodiments is applicable to this device embodiment. The specific functions implemented by this device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0135] Please see Figure 11 , Figure 11 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes:

[0136] The processor 1110 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application.

[0137] The memory 1120 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 1120 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1120 and is called and executed by the processor 1110 to execute the SMS sending method based on gateway function aggregation of the embodiments of this application.

[0138] The input / output interface 1130 is used to implement information input and output;

[0139] The communication interface 1140 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0140] Bus 1150 transmits information between various components of the device (e.g., processor 1110, memory 1120, input / output interface 1130, and communication interface 1140);

[0141] The processor 1110, memory 1120, input / output interface 1130 and communication interface 1140 are connected to each other within the device via bus 1150.

[0142] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described SMS sending method based on gateway function aggregation.

[0143] It is understood that the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.

[0144] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0145] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0146] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.

[0147] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; 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.

[0148] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0149] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0150] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0151] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0152] The units described above 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 units can be selected to achieve the purpose of this embodiment according to actual needs.

[0153] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0154] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or 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 multiple 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 of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0155] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.

Claims

1. A method for sending SMS messages based on gateway function aggregation, characterized in that, The method is applied to an SMS sharing service platform, which interacts with several first service capability status control network elements through a preset session initiation protocol. The method includes the following steps: Acquire several first signaling call detail records (CDRs), each of which includes a first telephone number; Based on the first signaling call detail record data, determine the second service capability status control network element corresponding to the first telephone number from several first service capability status control network elements; Receive SMS messages and assign tasks; The third service capability status control network element corresponding to the SMS delivery task is determined from the second service capability status control network element; The target SMS message corresponding to the SMS delivery task is sent to the third service capability status control network element through the preset session initialization protocol, so that the target SMS message is sent to the terminal corresponding to the SMS receiving number through the third service capability status control network element. The step of determining the second service capability status control network element corresponding to the first telephone number from a plurality of first service capability status control network elements based on the first signaling call detail record data includes: Extract the first phone number from the first signaling call detail record (CDR) data; The first signaling call detail record data is hashed and indexed based on the first phone number to obtain the index result; Based on the index results and the first telephone number, the first signaling call detail record data is supplemented and retrieved to obtain the first domain name information of the second service capability status control network element; Based on the first processing result, the second service capability status control network element corresponding to the first phone number is determined from a plurality of the first service capability status control network elements; the first processing result includes the index result and the first domain name information of the second service capability status control network element.

2. The method according to claim 1, characterized in that, The step of determining the third service capability status control network element corresponding to the SMS delivery task from the second service capability status control network element includes: The SMS receiving number is determined based on the SMS delivery task; Obtain the second domain name information corresponding to the SMS receiving number; Based on the second domain name information and the first domain name information, the third service capability status control network element corresponding to the SMS receiving number is determined from the second service capability status control network element.

3. The method according to claim 1, characterized in that, The step of determining the third service capability status control network element corresponding to the SMS delivery task from the second service capability status control network element includes: The SMS receiving area is determined based on the SMS delivery task; Obtain all SMS receiving numbers within the SMS receiving area; Obtain the second domain name information corresponding to the SMS receiving number; Based on the second domain name information and the first domain name information, the third service capability status control network element corresponding to the SMS receiving number is determined from the second service capability status control network element.

4. The method according to claim 3, characterized in that, The step of obtaining all SMS receiving numbers within the SMS receiving area includes: Obtain the cell values ​​of all base stations within the SMS receiving area; The cell base station is determined based on the cell value of the base station; Obtain all SMS receiving numbers under the cell base station.

5. The method according to claim 1, characterized in that, Sending the target SMS message to the terminal corresponding to the SMS receiving number via the third service capability status control network element includes: The target SMS message is sent to the target base station through the third service capability status control network element; The target SMS message is sent to the terminal corresponding to the SMS receiving number via the target base station.

6. A text message sending device based on gateway function aggregation, characterized in that, The device is installed on a text messaging sharing service platform, which interacts with several first service capability status control network elements through a preset session initiation protocol. The device includes: The first module is used to acquire several first signaling call detail records (CDRs), each of which includes a first telephone number. The second module is used to determine the second service capability status control network element corresponding to the first telephone number from a plurality of the first service capability status control network elements based on the first signaling call detail record data. The third module is used to obtain SMS delivery tasks; The fourth module is used to determine the third service capability status control network element corresponding to the SMS delivery task from the second service capability status control network element; The fifth module is used to send the target SMS message corresponding to the SMS delivery task to the third service capability status control network element through the preset session initiation protocol, so that the target SMS message can be sent to the terminal corresponding to the SMS receiving number through the third service capability status control network element. The step of determining the second service capability status control network element corresponding to the first telephone number from a plurality of first service capability status control network elements based on the first signaling call detail record data includes: Extract the first phone number from the first signaling call detail record (CDR) data; The first signaling call detail record data is hashed and indexed based on the first phone number to obtain the index result; Based on the index results and the first telephone number, the first signaling call detail record data is supplemented and retrieved to obtain the first domain name information of the second service capability status control network element; Based on the first processing result, the second service capability status control network element corresponding to the first phone number is determined from a plurality of the first service capability status control network elements; the first processing result includes the index result and the first domain name information of the second service capability status control network element.

7. An electronic device, characterized in that, include: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method as described in any one of claims 1 to 5.

8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 5.