Short message sending method and device based on gateway function aggregation, equipment and medium
By aggregating and interacting gateway functions on the SMS sharing service platform, optimizing the SMS sending process, solving the problems of low and inaccurate SMS sending efficiency in the existing technology, and achieving efficient and accurate SMS sending.
Patent Information
- Application Number
- CN202411698554.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-02-25
- Estimated Expiration
- 2044-11-25
AI Technical Summary
In the prior art, the SMS sending process is inefficient and resource consumption is high, so it cannot effectively match the target object, resulting in inaccurate SMS sending.
By implementing gateway function aggregation on the SMS sharing service platform, interacting with multiple service capability status control network elements using preset session initial protocols, optimizing the SMS sending process, determining the service capability status control network elements corresponding to the target SMS reception number, and directly sending SMS.
It improves the efficiency of sending SMS messages, reduces system resource consumption, and enhances the accuracy of sending SMS messages to target objects.
Smart Images

Figure CN119521148A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method and apparatus, device and medium for sending short messages based on gateway function aggregation. Background Art
[0002] In the 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. At present, the SMS sending process needs to be initiated from the SMS service platform, pass through the SMS gateway, SMS center, and then go to the VoLTE core network, and then send the SMS to the base station where the target terminal is located through the core network before it can reach the target terminal. This SMS sending process requires multiple business processes to complete the delivery, resulting in slow delivery efficiency and consumption of more system resources. In addition, the existing technology cannot effectively match the target object, which makes it impossible to accurately send SMS to the target terminal.
[0003] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the invention
[0004] The main purpose of the embodiments of the present application is to propose a method and apparatus, device and medium for sending short messages based on gateway function aggregation, which can effectively improve the efficiency of sending short messages, reduce the consumption of system resources, and improve the accuracy of sending short messages to target objects.
[0005] To achieve the above-mentioned purpose, an embodiment of the present application proposes a method for sending short messages based on gateway function aggregation, the method 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:
[0006] Acquire a plurality of first signaling call record data, each of which includes a first telephone number;
[0007] Determining, according to the first signaling call record data, a 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;
[0008] Get SMS delivery tasks;
[0009] Determine a third service capability status control network element corresponding to the SMS sending task from the second service capability status control network element;
[0010] The target SMS corresponding to the SMS sending task is sent to the third service capability status control network element through the preset session initiation protocol, so that the target SMS 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 according to the first signaling call record data includes:
[0012] Extracting a first telephone number from the first signaling call record data;
[0013] Preprocessing the first signaling call record data according to the first telephone number to obtain a first processing result, wherein the preprocessing includes data indexing and data retrieval, and the first processing result includes an index result and first domain name information of the second service capability status control network element;
[0014] A second service capability status control network element corresponding to the first telephone number is determined from a plurality of first service capability status control network elements according to the first processing result.
[0015] In some embodiments, the pre-processing the first signaling call record data according to the first telephone number includes:
[0016] Performing hash data indexing on the first signaling call record data according to the first telephone number to obtain the index result;
[0017] The first signaling call record data is supplementarily searched according to the index result and the first telephone number 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 sending task from the second service capability status control network element includes:
[0019] Determine the SMS receiving number according to the SMS sending task;
[0020] Obtaining the second domain name information corresponding to the SMS receiving number;
[0021] 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 according to the second domain name information and the first domain name information.
[0022] In some embodiments, 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:
[0023] Determine the SMS receiving area according to the SMS sending task;
[0024] Obtain all SMS receiving numbers within the SMS receiving area;
[0025] Obtaining the second domain name information corresponding to the SMS receiving number;
[0026] 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 according to the second domain name information and the first domain name information.
[0027] In some embodiments, obtaining all SMS receiving numbers in the SMS receiving area includes:
[0028] Obtain all base station cell values within the SMS receiving area;
[0029] Determining a cell base station according to the base station cell value;
[0030] Get all SMS receiving numbers under the cell base station.
[0031] In some embodiments, the sending of the target SMS to the terminal corresponding to the SMS receiving number by controlling the network element through the third service capability state includes:
[0032] Sending the target SMS to the target base station through the third service capability state control network element;
[0033] The target SMS is sent to a terminal corresponding to the SMS receiving number through the target base station.
[0034] To achieve the above-mentioned purpose, another aspect of the embodiment of the present application proposes a short message sending device based on gateway function aggregation, wherein the device is arranged on a short message sharing service platform, and 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 device comprises:
[0035] A first module is used to obtain a plurality of first signaling call record data, each of which includes a first telephone number;
[0036] A second module is used to determine a 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 according to the first signaling call record data;
[0037] The third module is used to obtain SMS sending tasks;
[0038] A fourth module is used to determine a third service capability status control network element corresponding to the SMS sending task from the second service capability status control network element;
[0039] The fifth module is used to send the target SMS corresponding to the SMS sending task to the third service capability status control network element through the preset session initiation protocol, so as to send the target SMS to the terminal corresponding to the SMS receiving number through the third service capability status control network element.
[0040] To achieve the above object, another aspect of an embodiment of the present application provides an electronic device, including:
[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 implements the above method.
[0044] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the above method when executed by a processor.
[0045] The embodiments of the present application include at least the following beneficial effects: The present application provides a method and apparatus, device and medium for sending short messages based on gateway function aggregation. The scheme is set on a short message sharing service platform to interact with several first service capability state control network elements through the short message sharing service platform by using a preset session initiation protocol, thereby effectively reducing the business processes involved in the short message sending process, thereby effectively improving the efficiency of short message sending and reducing the consumption of system resources; and after obtaining several first signaling call list data, according to the first signaling call list data, determining the second service capability state control network element corresponding to the first telephone number from several first service capability state control network elements, and then after obtaining the short message sending task, determining the third service capability state control network element corresponding to the short message sending task from the second service capability state control network element, and then sending the target short message corresponding to the short message sending task to the third service capability state control network element by using the preset session initiation protocol, so as to send the target short message to the terminal corresponding to the short message receiving number through the third service capability state control network element, thereby effectively improving the accuracy of sending the short message to the target means object. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a flowchart of a method for sending short messages based on gateway function aggregation provided in an embodiment of the present application;
[0047] Figure 2 It is an interactive flow chart of SMS sending in the prior art;
[0048] Figure 3It is an application interaction flow chart of a method for sending short messages based on gateway function aggregation provided in an embodiment of the present application;
[0049] Figure 4 It is a schematic diagram comparing the SMS sending process of the prior art provided in the embodiment of the present application and the method of the present application;
[0050] Figure 5 This is a schematic diagram of an interface showing the number of objects connected to a base station provided in an embodiment of the present application;
[0051] Figure 6 This is a diagram of the text message sending effect interface provided by an embodiment of the present application;
[0052] Figure 7 It is a schematic diagram of the statistical results of the high-throughput SMS sending task test provided in the embodiment of the present application;
[0053] Figure 8 It is a module diagram of the SMS sharing service platform provided in the embodiment of the present application;
[0054] Fig. 9 This is a schematic diagram of SMS sending interaction provided in an embodiment of the present application;
[0055] Fig.10 It is a structural diagram of a short message sending device based on gateway function aggregation provided in an embodiment of the present application;
[0056] Fig.11 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the 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 the embodiments of the present application, they are only examples of devices and methods consistent with some aspects of the embodiments of the present application.
[0058] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".
[0059] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.
[0060] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0061] Before describing the embodiments of the present application in detail, some nouns and terms involved in the embodiments of the present application are first described. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations:
[0062] deliver_sm_resp is a response message used in the SMPP (Short Message Peer-to-Peer) protocol to confirm that a message has been delivered. When a short message center (SMSC) sends a deliver_sm command to a short message entity (ESME) to request 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 refers to a concept in mobile communication networks, especially in the field of Short Message Service (SMS). It is based on the interface between Mobile Application Service Provider (MAP) and Short Message Service Center (SMSC) for sending SMS. submit_sm refers to a message submission request used to send SMS from one mobile device to another mobile device or any other SMS-supported service. The following is the basic process of submit_sm:
[0064] Step 1: The mobile device (ME) or user initiates a text message sending request through a mobile application or a text message 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: SMSC processes the request and forwards the SMS content to the target mobile device;
[0067] Step 4: The target mobile device receives the SMS and displays it to the user.
[0068] message_200 is usually a specific message in the field of communication. This message may be a data unit used to identify, classify or process data in a certain communication protocol or system. Specifically, message is information, message or message, and can be used as a verb to indicate the transmission of messages. In a communication system, 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 sequence number, number, length, or other specific attributes related to the message. For example, in the HTTP protocol, the 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) network to transmit voice. It allows users to transmit voice data over IP network, thus providing higher transmission rate, lower latency and higher sound quality. Compared with traditional 2G / 3G networks, Volte supports real-time audio and video calls, such as video calls, text messages, voice messages and multi-person calls. In the Volte architecture, the following service capability state control network elements (CSCF) are involved:
[0070] P-CSCF (Proxy-CSCF): Proxy CSCF is the first node in the IMS network and is responsible for user registration and routing requests.
[0071] S-CSCF (Serving-CSCF): Serving CSCF is responsible for processing registration requests from user devices and acting as the user's SIP server after the user registers.
[0072] I-CSCF (Interrogating-CSCF): Interrogating CSCF, used to forward requests to the appropriate S-CSCF when a user registers.
[0073] In the TCP / IP protocol, the accept function is used by the server to receive the client's connection request 1. When the server listens to a port and creates a socket to accept the connection, the accept function takes 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 includes the following:
[0074] First, receive the client connection request: After the server listens to the port, once a client initiates a connection request, the accept function will process the request;
[0075] Second, return a new socket: The accept function returns a new socket, which is specifically used to exchange data with the client that initiates 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 to achieve concurrent processing.
[0077] SIP refers to the Session Initiation Protocol, which is used to control the establishment, modification and termination of multimedia communication sessions.
[0078] PSBC refers to Packet Switched Domain Service Control. In mobile communication networks, 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 and is often used to verify the integrity of data.
[0080] HTTP protocol refers to Hypertext Transfer Protocol, which is a transmission protocol used to transfer hypertext from the Internet to the local browser.
[0081] A socket interface is an endpoint through which an application can send or receive data.
[0082] An API is an application programming interface that allows different software applications to interact with each other.
[0083] KEY-Value library is a data storage method that stores data in the form of key-value pairs.
[0084] In related technologies, such as Figure 2As shown in the figure, the SMS sending process needs to be initiated from the SMS service platform, pass through the SMS gateway, SMS center, and then to the VoLTE core network, and then send the SMS to the base station where the target terminal is located through the SCSCF in the core network before it can reach the target terminal. This SMS sending process requires multiple business processes to complete the delivery, resulting in slow delivery efficiency and consuming more system resources. In addition, the existing technology cannot effectively match the target object, which makes it impossible to accurately send the SMS to the target terminal of the audience.
[0085] In view of this, an embodiment of the present application provides a method and apparatus, device and medium for sending short messages based on gateway function aggregation. The present application is set on a short message sharing service platform to interact with several first service capability state control network elements through the short message sharing service platform by a preset session initiation protocol, thereby effectively reducing the business processes involved in the short message sending process, thereby effectively improving the efficiency of short message sending and reducing the consumption of system resources; and after obtaining several first signaling call list data, according to the first signaling call list data, determining the second service capability state control network element corresponding to the first telephone number from several first service capability state control network elements, and then after obtaining the short message sending task, determining the third service capability state control network element corresponding to the short message sending task from the second service capability state control network element, and then sending the target short message corresponding to the short message sending task to the third service capability state control network element through the preset session initiation protocol, so as to send the target short message to the terminal corresponding to the short message receiving number through the third service capability state control network element, thereby effectively improving the accuracy of sending the short message to the target means object.
[0086] The SMS sending method based on gateway function aggregation provided in the embodiment of the present application relates to the field of communication technology. The SMS sending method based on gateway function aggregation provided in the embodiment of the present application can be applied to a terminal, can also be applied to a server, and can also be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a car terminal, etc., but is not limited to this; the server side can be configured as an independent physical server, or it can be configured as a server cluster or a distributed system composed of multiple physical servers, and can also be configured to provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms. The server can also be a node server in a blockchain network; the software can be an application that implements a method for sending SMS based on gateway function aggregation, etc., but is not limited to the above forms.
[0087] The present application can be used in many general or special computer system environments or configurations. For example: 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, distributed computing environments including any of the above systems or devices, etc. The present 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. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0088] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user domain name information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.
[0089] Figure 1 This is an optional flow chart of a method for sending short messages based on gateway function aggregation provided in an embodiment of the present application. Figure 1 The method shown can be applied to Figure 3 The short message sharing service platform of the interactive framework shown in the figure. Figure 3 It can be known that the SMS sharing service platform can directly interact with several first service capability state control network elements through a preset session initiation protocol, and then send the SMS to the base station to which the corresponding phone number belongs through the first service capability state control network element to complete the SMS sending process. Among them, the preset session initiation protocol may include but is not limited to the SIP protocol. Figure 4 As shown, by comparing the existing SMS sending process with the SMS sending process of the present application, it can be seen that the present application does not need to go through several business processes such as the SMS gateway and the SMS platform, thereby effectively improving the efficiency of SMS sending and reducing system resource consumption.
[0090] Understandably, Figure 1 The method may include but is not limited to steps S110 to S150:
[0091] Step S110: obtaining a plurality of first signaling call record data, each of which includes a first telephone number;
[0092] Step S120: determining a 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 according to the first signaling call record data;
[0093] Step S130, obtaining the SMS sending task;
[0094] Step S140: determining a third service capability status control network element corresponding to the SMS sending task from the second service capability status control network elements;
[0095] Step S150: Send the target SMS corresponding to the SMS sending task to the third service capability status control network element through the preset session initiation protocol, so as to send the target SMS 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 bill data can be a real-time data stream sent to the SMS capability layer in the SMS sharing service platform through the socket interface after the signaling monitoring system in the SMS sharing service platform collects and analyzes the corresponding data in real time. After obtaining the first signaling call bill data, the present application determines the second service capability state control network element corresponding to the first telephone number from several first service capability state control network elements. Specifically, since the first service capability state control network element in the 5G network may include several, each first service capability state control network element can realize the network access function of one or more telephone numbers. Only when the service capability state control network element corresponding to the telephone number is connected to the network to which it belongs, can the service capability state control network element interact with the terminal where the corresponding number is located.
[0097] In the embodiment of the present 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 according to the first signaling call record data includes but is not limited to steps S210 to S230:
[0098] Step S210, extracting the first telephone number in the first signaling call record data;
[0099] Step S220: pre-process the first signaling call record data according to the first telephone number to obtain a first processing result, wherein the pre-processing includes data indexing and data retrieval, and 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 a second service capability status control network element corresponding to the first telephone number from a plurality of first service capability status control network elements according to the first processing result.
[0101] It can be understood that, after obtaining the first telephone number in the first signaling call sheet data, this embodiment performs hash data indexing on the first signaling call sheet data according to the first telephone number to obtain an index result, and then performs a supplementary search on the first signaling call sheet data according to the index result and the first telephone number to obtain the first domain name information of the second service capability state control network element, and then searches for the corresponding service capability state control network element from multiple first service capability state control network elements through the first domain name information as the second service capability state control network element corresponding to the first telephone number, thereby realizing the network access operation of the first telephone number. Specifically, this embodiment performs hash processing on the first signaling call sheet data, thereby determining the uniqueness of the network access number, and then saves the telephone number to the corresponding number location storage cluster to facilitate the verification operation of the subsequent SMS sending process.
[0102] For example, when the current 5G network includes the first service capability state control network element 1, the first service capability state control network element 2 and the first service capability state control network element 3, when a phone number 1 is turned on for the first time, it is necessary to perform a network access operation on the phone number 1 in order to realize the networking function of the phone number 1. In this embodiment, by using the phone number 1 to send signaling call list data to the 5G network, the 5G network performs a network access operation on the signaling call list data, specifically, selecting a network element that can meet the communication function of the phone number 1 from a number of first service capability state control network elements. For example, when the first service capability state control network element 1, the first service capability state control network element 2 and the first service capability state control network element 3 can all meet the regional requirements of the phone number 1, the three service capability state control network elements can all complete the network access function of the phone number 1. At this time, the service capability state control network element corresponding to the phone number 1 can be determined according to the load capacity in the service capability state control network element. When the total load capacity of the three service capability state control network elements is the same, 50 loads have been connected to the first service capability state control network element 1, 60 loads have been connected to the first service capability state control network element 2, and 30 loads have been connected to the first service capability state control network element 3, from the load status of all the first service capability state control network elements, the first service capability state control network element 3 can be selected as the target service capability state control network element (second service capability state control network element) corresponding to the telephone number 1, thereby improving the communication stability of the telephone number 1. In this embodiment, after the first domain name information of the second service capability state control network element is obtained by performing hash data indexing and supplementary indexing on the signaling call list data corresponding to the telephone number 1, the telephone number 1 can be stored in the storage service of the second service capability state control network element corresponding to the first domain name information, thereby making the telephone number 1 in the service capability state control network element unique, thereby improving the communication stability of the telephone number 1.
[0103] In the embodiment of the present application, when a text message sending task is obtained, the third service capability state control network element corresponding to the text message sending task can be determined from the second service capability state control network element. Specifically, the text message sending task can be to send a text message to a single phone number or to send a group text message to a certain area.
[0104] Specifically, taking a single phone number for sending a text message as an example, the process of determining the third service capability state control network element corresponding to the text message sending task from the second service capability state control network element includes but is not limited to steps S310 to S330:
[0105] Step S310, determining the SMS receiving number according to the SMS sending task;
[0106] Step S320, obtaining the second domain name information corresponding to the SMS receiving number;
[0107] Step S330: Determine a third service capability status control network element corresponding to the SMS receiving number from the second service capability status control network element according to the second domain name information and the first domain name information.
[0108] It can be 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. Among them, the communication network type may include but is not limited to a telecommunications network type, a mobile network type or a Unicom network type. Different communication network types correspond to different domain name information, thereby improving the accuracy of SMS sending. Exemplarily, 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 with the domain name information of the 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 to realize 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, and the target SMS sending process is realized through the target base station, so that the SMS receiving number can accurately receive the target SMS.
[0109] Taking SMS group sending as an example, the process of determining the third service capability state control network element corresponding to the SMS sending task from the second service capability state control network element includes but is not limited to steps S410 to S440:
[0110] Step S410, determining the SMS receiving area according to the SMS sending task;
[0111] Step S420, obtaining all SMS receiving numbers within the SMS receiving area;
[0112] Step S430, obtaining the second domain name information corresponding to the SMS receiving number;
[0113] Step S440: Determine a third service capability status control network element corresponding to the SMS receiving number from the second service capability status control network element according to the second domain name information and the first domain name information.
[0114] Exemplarily, when a disaster warning is required for a certain area, text messages need to be sent to all telephone numbers in the area to remind the objects in the area to take disaster prevention measures. This embodiment determines the SMS receiving area according to the area prompt information carried in the SMS sending task, and then obtains all the SMS receiving numbers in the area. The corresponding service capability status control network element (third service capability status control network element) can be found through the domain name information corresponding to the number, and then the function of SMS group sending can be completed through the third service capability status control network element. Exemplarily, when it is determined according to weather forecast information that area 1 will have heavy rainstorms in the next week, rainstorm reminder information can be sent to all telephone number objects in the area in the form of SMS. At this time, the SMS group sending function can be used to send SMS to improve the real-time nature of the warning SMS and reduce the workload of SMS sending. Based on this scenario, after generating a text message sending task, this embodiment can determine that the text message receiving area is area 1 according to the area identification prompt information carried in the text message sending task, and then obtain all the short call numbers in area 1 as text message receiving numbers, and then obtain the domain name information corresponding to all text message 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, according to the second domain name information and the first domain name information, all third service capability state control network elements corresponding to the text message receiving number are determined from the second service capability state control network element. At this time, the third service capability state control network element can realize the text message sending function of multiple network types, and then the target text message is group-sent through the third service capability state control network element, so that all text message receiving numbers in area 1 can receive the heavy rain warning prompt text message (target text message).
[0115] In the embodiment of the present application, the process of obtaining all SMS receiving numbers in the SMS receiving area includes but is not limited to steps S510 to S530:
[0116] Step S510, obtaining all base station cell values within the SMS receiving area;
[0117] Step S520, determining a cell base station according to the base station cell value;
[0118] Step S530: Obtain all SMS receiving numbers under the cell base station.
[0119] It can be understood that the third service capability state control network element of this embodiment interacts with the terminal where the number is located through the cell base station. Each cell base station can realize the access function of the terminals where several phone numbers are located in 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 state control network element, and then the target SMS is sent to the terminal corresponding to the SMS receiving number through the target base station. For example, when it is necessary to send a group SMS to the area where the cell base station is located, such as Figure 5 As shown in the figure, there are 7 first-time startup objects and 402 regular registration objects under the cell base station (46011775D61D4A), which means that the base station interacts with 409 terminals with different phone numbers. When sending group SMS, after the third service capability state 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 with 409 phone numbers in parallel. Figure 6 As shown in the interface diagram of the SMS sending effect, it can be seen that the terminals to which the SMS should actually be sent are 409, and the number of terminals to which the SMS is successfully sent is 409. This shows that the embodiment of the present application can effectively improve the efficiency of SMS sending and the accuracy of sending SMS to the target means object.
[0120] In the embodiment of the present application, a high-throughput SMS sending task is used as an example to test, and regional SMS group sending tests and designated number SMS sending tests are performed respectively, for a total of 5 tests. Among them, more than 700,000 SMS messages were sent in 5 tests, of which 4 were regional SMS sending and 1 was sent to a designated number, with a sending rate of 10,000 messages per second. After checking the completion time of the sending, Figure 7 It can be seen that the time consumed is between 1.4 minutes and 2.3 minutes, achieving an efficient and large-volume SMS sending function.
[0121] In the embodiments of the present application, Figure 8 The functions of the SMS sharing service platform are demonstrated. The SMS sharing service platform includes a signaling monitoring system, a business layer, and an SMS capability layer. The SMS capability layer includes management services, number location database management services, number location storage clusters, location databases, SMS gateway clusters, and voice gateway clusters. Several nodes are set up in the SMS gateway cluster and the voice gateway cluster, and each node can interact with the service capability state control network element (S-CSCF). Figure 8 Taking the SMS sharing service platform shown as an example, the method of the embodiment of the present application includes but is not limited to the following steps:
[0122] Step S610, after receiving the first signaling call bill data sent by the signaling monitoring system, complete the registration overload of the first signaling call bill data in the SMS capability layer to realize the network access operation process of the telephone number corresponding to the first signaling call bill data, and determine the network connection relationship between the telephone number corresponding to the first signaling call bill data and the second service capability status control network element; during the network access operation process, the first signaling call bill data can be forwarded through the I-CSCF to find a suitable S-CSCF through the I-CSCF as the second service capability status control network element of the signaling call bill data.
[0123] Step S620: When the business layer pushes the SMS sending task through the POST method of the HTTP protocol, the third service capability state control network element (S-CSCF) corresponding to the SMS sending task is determined in the SMS capability layer to implement the SMS sending function through the third service capability state control network element (S-CSCF).
[0124] In the embodiments of the present application, Fig. 9 As shown, when the first signaling call sheet data needs to be accessed, after sending a number location request to the location service in the business capability layer through the SMS interface, the location service returns a number location response based on the number location request, thereby completing the network access operation process of the SMS sending service function of the first signaling call sheet data. Then, during the SMS sending process, after the SMS interface sends the target SMS (MESSAGE) to the third service capability state control network element (S-CSCF) corresponding to the SMS receiving number, the third service capability state control network element (S-CSCF) returns a successful SMS sending response (MESSAGE-200 or MESSAGE-2002) to the SMS interface in the SMS sharing service platform after completing the SMS sending process, to prompt the SMS sharing service platform that the current SMS has been successfully sent.
[0125] From the above content, it can be seen that the embodiment of the present application uses the SIP protocol stack to realize the direct connection between the SMS sharing service platform and the S-CSCF in the core network, thereby effectively shortening the SMS sending business process, improving the efficiency of SMS sending and reducing the system resource consumption, and realizing the SMS precise sending function according to the registration signaling of the core network, thereby effectively improving the accuracy of SMS sending to the target means object.
[0126] Reference Fig.10 The embodiment of the present application provides a short message sending device based on gateway function aggregation, the device is arranged on 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 device includes:
[0127] The first module 1010 is used to obtain a plurality of first signaling call record data, wherein each first signaling call record data includes a first telephone number;
[0128] The second module 1020 is used to determine a 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 according to the first signaling call record data;
[0129] The third module 1030 is used to obtain a text message sending task;
[0130] The fourth module 1040 is used to determine the third service capability status control network element corresponding to the SMS sending task from the second service capability status control network element;
[0131] The fifth module 1050 is used to send the target SMS corresponding to the SMS sending task to the third service capability status control network element through a preset session initiation protocol, so as to send the target SMS to the terminal corresponding to the SMS receiving number through the third service capability status control network element.
[0132] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically 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] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned method for sending short messages based on gateway function aggregation when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0134] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically 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.
[0135] See also Fig.11 , Fig.11 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0136] The processor 1110 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an 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 the present application;
[0137] The memory 1120 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1120 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1120, and the processor 1110 calls and executes the SMS sending method based on gateway function aggregation in the embodiment of this application;
[0138] Input / output interface 1130, used to implement information input and output;
[0139] The communication interface 1140 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0140] bus 1150 , which transmits information between the various components of the device (e.g., processor 1110 , memory 1120 , input / output interface 1130 , and communication interface 1140 );
[0141] The processor 1110 , the memory 1120 , the input / output interface 1130 , and the communication interface 1140 are connected to each other in communication within the device via the bus 1150 .
[0142] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned SMS sending method based on gateway function aggregation.
[0143] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium 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.
[0144] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0145] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0146] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0147] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0148] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0149] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0150] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0151] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0152] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0153] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0154] If the integrated unit is implemented in the form of 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 the present application, 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, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0155] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A method for sending short messages based on gateway function aggregation, characterized in that: The method is applied to a short message sharing service platform, wherein the short message sharing service platform interacts with a plurality of first service capability status control network elements through a preset session initiation protocol, and the method comprises the following steps: Acquire a plurality of first signaling call record data, each of which includes a first telephone number; determining, based on the first signaling call record data, a 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; Get SMS delivery tasks; Determining a third service capability status control network element corresponding to the SMS sending task from the second service capability status control network element; The target SMS corresponding to the SMS sending task is sent to the third service capability status control network element through the preset session initiation protocol, so that the target SMS is sent to the terminal corresponding to the SMS receiving number through the third service capability status control network element.
2. The method according to claim 1, characterized in that The determining, based on the first signaling call record data, a second service capability status control network element corresponding to the first telephone number from a plurality of first service capability status control network elements includes: Extracting a first telephone number from the first signaling call bill data; Preprocessing the first signaling call record data according to the first telephone number to obtain a first processing result, the preprocessing including data indexing and data retrieval, the first processing result including an index result and first domain name information of the second service capability status control network element; A second service capability status control network element corresponding to the first telephone number is determined from a plurality of first service capability status control network elements according to the first processing result.
3. The method according to claim 2, characterized in that The pre-processing of the first signaling call record data according to the first telephone number includes: Performing hash data indexing on the first signaling call record data according to the first telephone number to obtain the index result; A supplementary search is performed on the first signaling call record data according to the index result and the first telephone number to obtain the first domain name information of the second service capability status control network element.
4. The method according to claim 1, wherein The determining, from the second service capability status control network element, a third service capability status control network element corresponding to the SMS sending task includes: Determine the SMS receiving number according to the SMS sending task; Obtaining the second domain name information corresponding to the SMS receiving number; 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 according to the second domain name information and the first domain name information.
5. The method according to claim 1, wherein The determining, from the second service capability status control network element, a third service capability status control network element corresponding to the SMS sending task includes: Determine the SMS receiving area according to the SMS sending task; Obtain all SMS receiving numbers within the SMS receiving area; Obtaining the second domain name information corresponding to the SMS receiving number; 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 according to the second domain name information and the first domain name information.
6. The method according to claim 5, characterized in that The acquiring of all SMS receiving numbers within the SMS receiving area includes: Obtain all base station cell values within the SMS receiving area; Determining a cell base station according to the base station cell value; Get all SMS receiving numbers under the cell base station.
7. The method according to claim 1, characterized in that The sending of the target SMS to the terminal corresponding to the SMS receiving number by controlling the network element through the third service capability state includes: Sending the target SMS to the target base station through the third service capability state control network element; The target short message is sent to a terminal corresponding to a short message receiving number through the target base station.
8. A short message sending device based on gateway function aggregation, characterized in that: The device is provided on a short message sharing service platform, and the short message sharing service platform interacts with a plurality of first service capability status control network elements through a preset session initiation protocol. The device includes: A first module is configured to obtain a plurality of first signaling call record data, each of which includes a first telephone number; A second module is configured to determine, based on the first signaling call record data, a second service capability status control network element corresponding to the first telephone number from a plurality of first service capability status control network elements; The third module is used to obtain SMS sending tasks; A fourth module is configured to determine a third service capability status control network element corresponding to the SMS sending task from the second service capability status control network element; The fifth module is used to send the target SMS corresponding to the SMS sending task to the third service capability status control network element through the preset session initiation protocol, so as to send the target SMS to the terminal corresponding to the SMS receiving number through the third service capability status control network element.
9. 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 according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Short message transmission method, short message transmission device, terminal and application server
CN106535145A
Data processing method, server and network element
CN107105399A
Short message issuing method, DNS server and domain name resolution system
CN111246405A
Equipment registration method and device and storage medium thereof
CN116614478A
Short message processing method and device and storage medium
CN117560636A