Short message control method, system, device and electronic equipment

By applying preset filtering rules and header information checks in the S-CSCF network element, the sending and receiving of short messages can be flexibly controlled, solving the problem of high hardware and software resource consumption under eSMSC control, and achieving cost reduction and efficiency improvement for operators.

CN119584065BActive Publication Date: 2026-05-19CHINA TELECOM CORP LTD
View PDF 2 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-06-28
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In existing technologies, controlling a user's single or double SMS suspension via eSMSC requires a large amount of hardware and software resources, resulting in significant additional investment costs.

Method used

By applying preset filtering rules in the S-CSCF network element of the service call session control function, the sending and receiving of short messages can be flexibly controlled according to the header field information and prefix number information of the short message, avoiding sending short messages to unavailable IP addresses, and realizing single or double suspension of short messages.

Benefits of technology

It enables flexible control over the sending and receiving of SMS messages through preset filtering rules and header information inspection methods, thereby improving the operator's operational efficiency and reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119584065B_ABST
    Figure CN119584065B_ABST
Patent Text Reader

Abstract

The application discloses a short message control method, system and device and electronic equipment. The method comprises the following steps: obtaining a short message corresponding to a user equipment, wherein the short message comprises a to-be-sent message or a to-be-received message of the user equipment; in the case that the user equipment subscribes to a preset filtering rule, sending the short message containing target information in the preset filtering rule to a target address, wherein the target information comprises head field information and prefix number information corresponding to the short message, and the target address comprises an unavailable IP address. The application solves the technical problem that, in the related art, the single stop or double stop effect of the short message is controlled by an eSMSC, a large number of software and hardware device resources are required to support, and the additional investment cost is large.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of network technology and security, and more specifically, to a method, system, device, and electronic device for controlling short messages. Background Technology

[0002] Short message service suspension is configured in the eSMSC (Enhanced Short Message Service Center), which then handles failures based on the user's suspension service attributes. The eSMSC can configure single-suspension and double-suspension attributes separately. For single-suspension users, only the short message initiation process is controlled, allowing the user to receive short messages but not send them. For double-suspension users, not only is the short message initiation process controlled, but the eSMSC can also prevent short messages from being sent to the user based on the double-suspension service attributes, and correctly send a status report message to the sending eSMSC.

[0003] However, controlling single or double suspension of user SMS services through eSMSC requires the support of eSMSC hardware and software. When a large number of user devices need to have their SMS services suspended (e.g., protective single suspension for silent mobile cards, single suspension due to arrears, and double suspension for unregistered users), it not only consumes a lot of eSMSC hardware and software resources, but also requires additional investment, increasing the operator's additional investment costs.

[0004] There is currently no effective solution to the above problems. Summary of the Invention

[0005] This application provides a method, system, device, and electronic device for controlling short messages, in order to at least solve the technical problem that the single or double stop effect of short messages in related technologies is controlled by eSMSC, which requires a large amount of software and hardware resources, resulting in a large additional investment cost.

[0006] According to one aspect of the embodiments of this application, a method for controlling short messages is provided, applied to a Service Call Session Control Function (S-CSCF) network element. The method includes: acquiring a short message corresponding to a user equipment (UE), wherein the short message includes a message to be sent or a message to be received by the UE; and, if the UE has subscribed to preset filtering rules, sending a short message containing target information from the preset filtering rules to a target address, wherein the target information includes header field information and prefix number information corresponding to the short message, and the target address includes an unavailable IP address.

[0007] Optionally, the preset filtering rules include at least one of the following: a single-stop rule for short messages and a double-stop rule for short messages, wherein the single-stop rule for short messages is used to indicate that the user device cannot send short messages, and the double-stop rule for short messages is used to indicate that the user device cannot send or receive short messages.

[0008] Optionally, the short message single-stop rule is used to represent the rule associated with the first header field in the header field information. The short message single-stop rule includes: when the first header field starts with the target prefix number, the short message is sent to the target address, wherein the first header field includes at least one of the following: P-Asserted-Identity header field, From header field, and the target prefix number is the international prefix country code corresponding to the user equipment when sending or receiving the short message.

[0009] Optionally, the short message double-stop rule is used to represent the rule associated with the first header field and the second header field in the header field information. The short message double-stop rule includes: when the first header field starts with the target prefix number, the short message is sent to the target address, wherein the first header field includes at least one of the following: P-Asserted-Identity header field and From header field; when the second header field starts with the target prefix number, the short message is sent to the target address, wherein the second header field includes at least one of the following: Request-URI header field and To header field.

[0010] Optionally, sending a short message containing target information from preset filtering rules to a target address includes: obtaining the header information of the short message, wherein the header information includes at least one of the following: a first header field and a second header field; determining the beginning content of the header information; comparing the beginning content with the target prefix number, and sending the short message to the target address if the beginning content is the same as the target prefix number.

[0011] Optionally, before obtaining the short message sent by the user device, the method further includes: determining a preset filtering rule and a triggering condition for the preset filtering rule, wherein the triggering condition includes: the first header field of the short message starts with the target prefix number; and / or the second header field of the short message starts with the target prefix number.

[0012] Optionally, the method further includes: receiving short messages sent by the user equipment through the edge access control device (BAC) or the proxy call session control function (P-CSCF) network element.

[0013] According to another aspect of the embodiments of this application, a short message control system is also provided. The system includes: a user equipment and a service call session control function (S-CSCF) network element; the user equipment is used to encapsulate short messages into a session initiation protocol (SIP) and send them to the service call session control function (S-CSCF) network element; the service call session control function (S-CSCF) network element is used to obtain short messages corresponding to the user equipment, wherein the short messages include messages to be sent or messages to be received by the user equipment; and, if the user equipment has subscribed to preset filtering rules, sends short messages containing target information from the preset filtering rules to a target address, wherein the target information includes header field information and prefix number information corresponding to the short message, and the target address includes an unavailable IP address.

[0014] According to another aspect of the embodiments of this application, a short message control device is also provided, comprising: an acquisition module, configured to acquire a short message corresponding to a user device, wherein the short message includes a message to be sent or a message to be received by the user device; and a sending module, configured to send a short message containing target information in the preset filtering rules to a target address when the user device has subscribed to preset filtering rules, wherein the target information includes header field information and prefix number information corresponding to the short message, and the target address includes an unavailable IP address.

[0015] According to another aspect of the embodiments of this application, an electronic device is also provided, including: a memory and a processor, wherein the memory is used to store program instructions; and the processor is connected to the memory and used to execute the control method for implementing the above-mentioned short message.

[0016] According to another aspect of the embodiments of this application, a non-volatile storage medium is also provided, the non-volatile storage medium including a stored computer program, wherein the device where the non-volatile storage medium is located executes the above-mentioned short message control method by running the computer program.

[0017] According to another aspect of the embodiments of this application, a computer program product is also provided, including computer instructions that, when executed by a processor, implement the above-described short message control method.

[0018] In this embodiment, by acquiring short messages corresponding to user equipment (SMS), where the SMS includes messages to be sent or received by the user equipment; and when the user equipment has subscribed to preset filtering rules, sending a short message containing target information from the preset filtering rules to a target address, where the target information includes header field information and prefix number information corresponding to the short message, and the target address includes an unavailable IP address, the purpose of flexibly controlling the sending and receiving of short messages through preset filtering rules and header field information checks is achieved. This improves the operator's operational efficiency and reduces costs, thereby solving the technical problem that in related technologies, the single or double suspension effect of short messages is controlled by the eSMSC, requiring a large amount of hardware and software resources, resulting in significant additional investment costs. Attached Figure Description

[0019] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0020] Figure 1 This is a hardware structure diagram of a computer terminal for implementing a short message control method according to an embodiment of this application;

[0021] Figure 2 This is a flowchart of a short message control method according to an embodiment of this application;

[0022] Figure 3 This is a schematic diagram of a NO-MO-SMS iFC according to an embodiment of this application;

[0023] Figure 4 This is a schematic diagram of a NO-MT-SMS iFC according to an embodiment of this application;

[0024] Figure 5 This is a schematic diagram of another NO-MO-SMS iFC according to an embodiment of this application;

[0025] Figure 6 This is a schematic diagram of another NO-MT-SMS iFC according to an embodiment of this application;

[0026] Figure 7 This is a structural diagram of a short message control system according to an embodiment of this application;

[0027] Figure 8 This is a structural diagram of a short message control device according to an embodiment of this application. Detailed Implementation

[0028] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0029] It should be noted that the terms "first," "second," etc., in the specification, claims, 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.

[0030] First, some nouns or terms that appear in the explanation of the embodiments of this application shall be interpreted as follows:

[0031] AS (Application Server): The application layer device at the top of the IMS system, providing basic and supplementary services, multimedia conferencing, converged communications, SMS gateway, standard operator console and other services.

[0032] IMS (IP Multimedia Subsystem) is a new form of multimedia service that can meet the needs of end customers for more innovative and diversified multimedia services. IMS is considered a core technology of next-generation networks and an important way to solve the convergence of mobile and fixed networks and introduce differentiated services such as voice, data, and video triple convergence.

[0033] BAC (Border Access Controller): Also known as SBC (Session Border Controller), it has gradually become a standard configuration product in IMS networks. Positioned as the ABG (access border gateway) of the IMS network, it solves problems such as NAT / FW traversal, security, interoperability, and QoS.

[0034] eSMSC (Enhanced Short Message Service Center): Compared to SMS, its advantage lies in its ability to send simple images, sounds, and animations in addition to text messages like SMS (Short Message Service). Its biggest advantage is that EMS can still operate on the same mobile communication networks as SMS, without any difference in sending methods or operation. The standard is open, so any third-party company or individual interested in EMS can develop applications and services on this platform. It can combine simple ringtones, pictures, and even animations with text, sending them between EMS-enabled mobile phones.

[0035] DNS (Domain Name Service): The Domain Name System assigns domain names and IP addresses to hosts on the network. When a user uses a domain name, the system automatically translates it into an IP address.

[0036] P-CSCF (Proxy Call Session Control Function): This is the unified entry point for IMS access to the network. All session messages initiated and terminated by IMS terminals must pass through P-CSCF. As a session initiation protocol, P-CSCF is responsible for user authentication and Internet Protocol security management independent of the access network, network attack prevention and security protection, SIP signaling compression and decompression to save wireless network resources, user roaming control, and bearer network address translation and quality of service management through PDF (Policy Decision Function).

[0037] S-CSCF (Serving Call Session Control Function): The core of the Serving CSCF multimedia module, which includes terminal registration and authentication, session control, and service triggering.

[0038] I-CSCF (Interrogating Call Session Control Function): The first entry point of the home network for interrogating CSCF users, assigning S-CSCFs, performing route lookups, and providing inter-domain topology hiding functions.

[0039] HSS (Home Subscriber Server): The HSS supports the main user database for IMS network entities that handle calls / sessions. It contains user profiles, performs user authentication and authorization, and provides information about the user's physical location. The entities communicating with the HSS are the Application Server (AS) and the Call Session Control Function Server (CSCF), where the Application Server hosts the IMS environment and executes its services. The user profile contains information about the current user—typically, the S-CSCF (Service-Call Session Control Function) downloads and uses this file when the user registers with the network.

[0040] SIP (Session Initiation Protocol) is an application-layer control protocol for multimedia communication over IP networks. It is used to create, modify, and terminate session processes involving one or more participants.

[0041] UE (User Equipment): Various user equipment that accesses the network, the most common being mobile phones, others such as SIP phones, IP phones, call centers, and generally refers to user communication equipment that can access the IMS network.

[0042] iFC (Initial Filter Criteria): This is a part of the user subscription data stored in HSS. It is downloaded to the S-CSCF assigned to the user during user registration. iFC defines the conditions and target AS for triggering services according to different priorities. When processing user service requests, S-CSCF performs iFC matching and detection. If the triggering conditions are met, it triggers the specified AS, so that the AS can control the service according to the established business logic within the AS.

[0043] A URI (Uniform Resource Identifier) ​​is a string used to identify the name of an internet resource. This identifier allows users to interact with any resource (both local and network-based) using specific protocols. A URI is defined by a scheme that includes a defined syntax and associated protocols.

[0044] IP-SM-GW (IP-Short-Message-Gateway): The IP Short Message Gateway is a server located at the IMS service layer, providing protocol conversion and message forwarding functions for short message communication between the IMS network and the CS network.

[0045] UDM (Unified Data Management): Responsible for the management of user identifiers, subscription data, authentication data, and user service element registration management.

[0046] In point-to-point SMS transactions, message sending is divided into two categories: MO and MT. MO, or message uplink, is the sending of a message (initiated by the terminal, which is the network device, which can be understood as a mobile phone), and it is a process initiated by the mobile phone. MT, or message downlink, is the receiving of a message (initiated by the terminal, which is the network device, which can be understood as a mobile phone), and it is a process from sending to receiving a message.

[0047] In service provider (SP) SMS messages, message sending is also divided into two categories: MO and MT. MO is the message sent from the mobile terminal (phone) to the service provider (SP); MT is the message sent from the service provider (SP) to the mobile terminal (phone).

[0048] In addition to the significant additional investment costs, related technologies also suffer from low operational efficiency for operators. For example, methods that prevent users from sending SMS messages, such as deleting the SMS iFC or storing the user's suspension status on the IP-SM-GW, require additional hardware and software resources, resulting in extra investment. Furthermore, deleting the SMS iFC creates the illusion that the SMS function on the user's device has been removed (the SMS function is not activated), when in fact the intention is to activate the SMS function while simultaneously suspending it. This could easily lead to misunderstandings among relevant personnel (users, sales staff, etc.). Additionally, deleting the SMS iFC only results in a "single suspension" of the SMS service (the user cannot send SMS messages but can still receive them), failing to achieve the effect of a "double suspension" of the SMS service. For example, in the case of a caller subscribing to SMS Single Stop iFC (triggered by conditions including: the SIP message header field does not include the reply parameter of SMS Single Stop iFC, and the reply parameter includes: In ReplyTo), the SMS service can only be "single-stopped" (the user cannot send SMS messages, but can still receive them), and cannot achieve the effect of "double-stopped" SMS service.

[0049] To address the aforementioned problems, this application provides a method for controlling short messages, which can be implemented in... Figure 1 The computer terminal shown is described below.

[0050] The SMS control method embodiments provided in this application can be executed in mobile terminals, computer terminals, or similar computing devices. Figure 1 A hardware block diagram of a computer terminal for implementing a short message control method is shown. Figure 1 As shown, the computer terminal 10 may include one or more processors (shown as 102a, 102b, ..., 102n in the figure) (the processor may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 104 for storing data, and a transmission module 106 for communication functions connected via wired and / or wireless networks. In addition, it may also include: a display, a keyboard, a cursor control device, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, and a BUS bus. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, computer terminal 10 may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0051] It should be noted that the aforementioned one or more processors and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be implemented wholly or partially as software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or may be wholly or partially integrated into any other element in the computer terminal 10. As involved in the embodiments of this application, the data processing circuits serve as processor control (e.g., selection of a variable resistor termination path connected to an interface).

[0052] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the SMS control method in this embodiment. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, thereby realizing the aforementioned SMS control method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor, and these remote memories can be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0053] The transmission module 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the computer terminal 10. In one example, the transmission module 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission module 106 may be a Radio Frequency (RF) module, used for wireless communication with the Internet.

[0054] The display may be, for example, a touchscreen liquid crystal display (LCD) that allows the user to interact with the user interface of the computer terminal 10.

[0055] It should be noted here that, in some optional embodiments, the above... Figure 1 The computer terminal shown may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that... Figure 1 This is only one instance of a specific particular instance, and is intended to illustrate the types of components that may exist in the aforementioned computer terminal.

[0056] In the above operating environment, this application provides an embodiment of a short message control method. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0057] Figure 2 This is a flowchart of a short message control method according to an embodiment of this application, such as... Figure 2 As shown, this method is applied to the Service Call Session Control Function (S-CSCF) network element and includes the following steps:

[0058] Step S202: Obtain the short message corresponding to the user equipment, wherein the short message includes a message to be sent or a message to be received by the user equipment.

[0059] In step S202 above, in order to achieve the technical effect of single or double SMS interruption and save enterprise investment, several SMS messages corresponding to the user equipment can be acquired first, such as messages to be sent or messages to be received by the user equipment, as the data basis for subsequent processing, to ensure that the system has the ability to identify and process SMS messages related to the user equipment. The single SMS interruption effect means that the user equipment (UE) cannot send SMS messages, while the double SMS interruption effect means that it cannot send or receive SMS messages.

[0060] Step S204: If the user equipment has subscribed to preset filtering rules, a short message containing the target information in the preset filtering rules is sent to the target address. The target information includes the header field information and prefix number information corresponding to the short message, and the target address includes an unavailable IP address.

[0061] Optionally, the preset filtering rules include at least one of the following: a single-stop rule for short messages and a double-stop rule for short messages, wherein the single-stop rule for short messages is used to indicate that the user device cannot send short messages, and the double-stop rule for short messages is used to indicate that the user device cannot send or receive short messages.

[0062] In step S204 above, the preset filtering rules can include single-stop SMS rules and double-stop SMS rules. The rule preventing SMS sending is named NO-MO-SMS iFC, and the rule preventing SMS receiving is named NO-MT-SMS iFC. Therefore, the single-stop SMS rules include NO-MO-SMS iFC, and the double-stop SMS rules include NO-MO-SMSiFC and NO-MT-SMS iFC. User equipment can subscribe to the NO-MO-SMS iFC rule to achieve the technical effect of preventing SMS sending (single-stop SMS effect); or it can subscribe to both NO-MO-SMS iFC and NO-MT-SMSiFC rules simultaneously to achieve the technical effect of preventing both SMS sending and receiving (double-stop SMS effect).

[0063] Furthermore, by checking and judging the header information of the short message, the sending or receiving of the short message can be effectively prevented by sending the short message to an unavailable target address, thereby achieving the purpose of controlling the short message function of the user device. The target address can be, for example, an unavailable IP address, a black hole route, a certain type of unavailable device, or a certain type of device that does not support MESSAGE messages, etc.

[0064] Through steps S202 to S204, the goal of flexibly controlling the sending and receiving of short messages through preset filtering rules and header information checking methods is achieved. This improves the operator's operational efficiency and reduces costs, thereby solving the technical problem that in related technologies, the single or double suspension effect of short messages is controlled by the eSMSC, requiring a large amount of hardware and software resources, resulting in significant additional investment costs. A detailed explanation follows.

[0065] Optionally, before obtaining the short message sent by the user device, the method further includes: determining a preset filtering rule and a triggering condition for the preset filtering rule, wherein the triggering condition includes: the first header field of the short message starts with the target prefix number; and / or the second header field of the short message starts with the target prefix number.

[0066] Optionally, the short message single-stop rule is used to represent the rule associated with the first header field in the header field information. The short message single-stop rule includes: when the first header field starts with the target prefix number, the short message is sent to the target address, wherein the first header field includes at least one of the following: P-Asserted-Identity header field, From header field, and the target prefix number is the international prefix country code corresponding to the user equipment when sending or receiving the short message.

[0067] Optionally, the short message double-stop rule is used to represent the rule associated with the first header field and the second header field in the header field information. The short message double-stop rule includes: when the first header field starts with the target prefix number, the short message is sent to the target address, wherein the first header field includes at least one of the following: P-Asserted-Identity header field and From header field; when the second header field starts with the target prefix number, the short message is sent to the target address, wherein the second header field includes at least one of the following: Request-URI header field and To header field.

[0068] In this embodiment of the application, preset filtering rules and triggering conditions for preset filtering rules can be configured in the S-CSCF network element in advance to ensure that the system has identified and adapted to the corresponding filtering rules and triggering conditions before the short message processing process, so as to achieve the best service control effect.

[0069] Specifically, NO-MO-SMS iFC and NO-MT-SMS iFC are preset, using the first and second header fields in the SMS header information, as well as the target prefix number, to set the preset filtering rules' SPT (Service Point Trigger). The first header field may include the P-Asserted-Identity header field and the From header field; the second header field may include the Request-URI header field and the To header field; and the target prefix number represents the international prefix corresponding to the Chinese country code when the user device sends or receives the SMS, i.e., "+86".

[0070] Meanwhile, since the single-stop rule for short messages includes NO-MO-SMS iFC, the single-stop rule for short messages mainly involves the rule corresponding to the first header field in the short message header information; while the double-stop rule for short messages includes NO-MO-SMS iFC and NO-MT-SMS iFC, the double-stop rule for short messages involves both the rule associated with the first header field in the short message header information and the rule associated with the second header field in the short message header information.

[0071] The specific triggering rules are shown in Table 1. The combination relationships of the triggering rules in Table 1 are presented in the form of "1 and / or 2" and "3 and / or 4". This is because different operators use different header fields for the "calling number" (i.e., the first header field mentioned above). Some operators use the P-Asserted-Identity header field, while others use the From header field, or they set different priorities for the P-Asserted-Identity header field and the From header field to obtain the "calling number". Similarly, different operators use different header fields for the "called number" (i.e., the second header field mentioned above). Some operators use the Request-URI header field, while others use the To header field, or they set different priorities for the Request-URI header field and the To header field to obtain the "called number".

[0072] Table 1. Triggering Rules for NO-MO-SMS iFC and NO-MT-SMS iFC

[0073]

[0074] Optionally, sending a short message containing target information from preset filtering rules to a target address includes: obtaining the header information of the short message, wherein the header information includes at least one of the following: a first header field and a second header field; determining the beginning content of the header information; comparing the beginning content with the target prefix number, and sending the short message to the target address if the beginning content is the same as the target prefix number.

[0075] Optionally, the method further includes: receiving short messages sent by the user equipment through the edge access control device (BAC) or the proxy call session control function (P-CSCF) network element.

[0076] In this embodiment, by identifying the header information of the short message corresponding to the user equipment, preset filtering rules can be flexibly applied to achieve the technical effect of single or double message blocking. Specifically, the header information of the short message is obtained, and the beginning content of the header information is matched with the target prefix number (+86). If the beginning content of the header information starts with +86, the match is successful, and the short message is sent to a specific target address, such as an unavailable IP address, a black hole route, a certain type of unavailable device, or a certain type of device that does not support MESSAGE messages, etc., to prevent the spread of the short message.

[0077] Figure 3 This is a schematic diagram of a NO-MO-SMS iFC according to an embodiment of this application. Figure 4 This is a schematic diagram of a NO-MT-SMS iFC according to an embodiment of this application, which is described below in conjunction with... Figure 3 and Figure 4 The single-stop rule for short messages (including only NO-MO-SMS iFC) and the double-stop rule for short messages (including NO-MO-SMS iFC and NO-MT-SMS iFC) are explained separately.

[0078] For SMS single-stop rules, such as Figure 3 As shown, when User Equipment UE_A subscribes to NO-MO-SMS iFC and sends a short message to User Equipment UE_B or a Service Provider (SP), within the IMS domain, the number format of User Equipment UE_A is sip:+86XXXXXXXXXXX@home network domain name and / or tel:+86XXXXXXXXXXX.

[0079] In the first header field (P-Asserted-Identity and / or From header field) of the Session Initiation Protocol message (SIP MESSAGE), the O side ( Figure 3 The S-CSCF network element on the left side of UE_B determines, according to the triggering rules of NO-MO-SMSiFC and NO-MO-SMS iFC subscribed by UE_A, whether the first header field (P-Asserted-Identity and / or From header field) of the SIP MESSAGE message starts with the target prefix number +86. If the first header field starts with +86, the SIP MESSAGE message is transferred to a preset unavailable IP address, namely the aforementioned target address, causing UE_A to fail to send the short message. The entire process ends on the O-side network, thereby achieving the technical effect of short message single-stop.

[0080] It should be noted that during this process, the User Equipment (UE_A) pre-encapsulates the short message into the Session Initiation Protocol (SIP MESSAGE) message and sends the short message to the S-CSCF network element through the Edge Access Control (BAC) or the P-CSCF network element of the proxy call session control function. Simultaneously, the S-CSCF network element pre-sets the trigger conditions for NO-MO-SMSiFC and NO-MO-SMS iFC, namely, "the first header field of the SIP MESSAGE message (P-Asserted-Identity and / or From header field) begins with the target prefix number +86, thus transferring the SIP MESSAGE message to a pre-defined unavailable IP address."

[0081] For the dual-stop rule for short messages, when user equipment UE_B subscribes to NO-MO-SMS iFC and sends a short message to user equipment UE_A or a service provider (SP), the principle of single-stop short message is the same as above, and the process is as follows: Figure 3 As shown, it will not be elaborated further here.

[0082] When User Equipment (UE_B) attempts to receive a short message from User Equipment (UE_A) (in which case there is no SMS dual-stop or SMS single-stop) or a Service Provider (SP), such as Figure 4 As shown, short messages sent by user equipment UE_A or a service provider (SP) are encapsulated in a session initiation protocol message (SIP MESSAGE message), and the SIP MESSAGE message is sent to the T side ( Figure 4 On the right side of the O-side network, the S-CSCF network element on the T side will determine whether the second header field (Request-URI and / or To header field) of the SIP MESSAGE message begins with the target prefix number +86, based on the UE_B's subscribed NO-MT-SMS iFC and NO-MT-SMS iFC trigger rules. In this case, the second header field (Request-URI and / or To header field) is the called number UE_B, with the format sip:+86XXXXXXXXXXX@home network domain name and / or tel:+86XXXXXXXXXXX. Further, if the second header field begins with +86, the SIP MESSAGE message will be forwarded to a preset unavailable IP address, i.e., the aforementioned target address, causing UE_B to fail to receive the short message. The entire process ends on the T-side network, thus achieving the technical effect of dual-stop short message reception.

[0083] Similarly, during this process, the S-CSCF network element will pre-set the trigger conditions for NO-MT-SMS iFC and NO-MT-SMS iFC, namely, "the second header field (Request-URI and / or To header field) of the SIP MESSAGE message starts with the target prefix number +86, and the SIP MESSAGE message is transferred to a pre-set unavailable IP address."

[0084] It should be noted that NO-MT-SMS iFC triggering rules "3 and / or 4" can only be determined by whether the second header field (Request-URI and / or To header field) contains a number starting with +86, and cannot be determined by whether the first header field (P-Asserted-Identity and / or From header field) contains a number starting with +86. The reason is that when the originating SIP MESSAGE message arrives at the T-side eSMC, the T-side eSMC may replace the P-Asserted-Identity and / or From header field content with the T-side eSMC's (domain name) information instead of the specific number, thus eliminating the +86 prefix. Secondly, even if the T-side eSMC does not replace the P-Asserted-Identity and / or From header field content and keeps it unchanged, the originating SIP... The message may originate from a Service Provider (SP), and SP codes typically begin with 106. The P-Asserted-Identity and / or From header fields will also contain numbers starting with 106. Therefore, you cannot use the presence of a +86-prefixed number in the P-Asserted-Identity and / or From header fields to determine if the message originates from a Service Provider (SP). Thus, for NO-MT-SMS iFC triggering rules "3 and / or 4," you can only determine the origin by checking if the second header field (Request-URI and / or To header field) contains a +86-prefixed number.

[0085] Figure 5 This is a schematic diagram of another NO-MO-SMS iFC according to an embodiment of this application. Figure 6 This is a schematic diagram of another NO-MT-SMS iFC according to an embodiment of this application, which is described below in conjunction with... Figure 5 , Figure 6 The above-mentioned single-stop rule and double-stop rule for short messages are explained with specific examples.

[0086] First, preset NO-MO-SMS iFC and NO-MT-SMS iFC. For example, the preset NO-MO-SMS iFC is 333, and the triggering rules are set according to the iFC content of "1 and / or 2" in Table 1 above. The preset NO-MT-SMS iFC is 444, and the triggering rules are set according to the iFC content of "3 and / or 4" in Table 1 above.

[0087] Secondly, default DNS domain name resolution is configured. For example, for NO-MO-SMS iFC with IP address 333, the default DNS domain name resolution is: S-CSCF network element, HSS and / or UDM default domain name sip:nomosms.jx.ctcims.cn, which resolves to the IP address 10.10.10.10, i.e., the target address mentioned above. Here, sip:nomosms.jx.ctcims.cn can be any string, and 10.10.10.10 can be any specific unavailable IP address (or a black hole route, or an unavailable device, or a device that does not support MESSAGE messages, etc.). The NO-MT-SMS iFC is 444, with default DNS domain name resolution: S-CSCF network element, HSS and / or UDM default domain name sip:nomtsms.jx.ctcims.cn, and the domain name resolves to IP address 11.11.11.11, which is the above target address. Here, sip:nomtsms.jx.ctcims.cn can be any string, and 11.11.11.11 can be any specific unavailable IP address (or black hole route, or an unavailable device, or a device that does not support MESSAGE messages, etc.).

[0088] For SMS single-stop rules, such as Figure 5 As shown, when user equipment 18912345678 subscribes to NO-MO-SMS iFC=333 and sends a short message to user equipment 18987654321, within the IMS domain, the number format of 18912345678 is sip:+86XXXXXXXXXXX@home network domain name and / or tel:+86XXXXXXXXXXX.

[0089] In the first header field (P-Asserted-Identity and / or From header field) of the SIP MESSAGE message, the P-Asserted-Identity header field contains the information sip:+8618912345678@home network domain name, and the From header field contains the information tel:+8618912345678. On the O side, the S-CSCF, based on the NO-MO-SMS iFC=333 subscribed by user equipment 18912345678 and the triggering rules, forwards the SIP MESSAGE message to an unavailable IP address (10.10.10.10), i.e., the aforementioned target address. This causes 18912345678 to fail to send the short message, achieving the technical effect of a single-stop short message transmission. The entire process occurs on the O side network (…). Figure 5 (End of left side of UE_B in the middle user equipment).

[0090] It should be noted that during this process, user equipment 18912345678 will pre-encapsulate the short message into the session initiation protocol message (SIP MESSAGE message), and then send the short message to the S-CSCF network element through the edge access control device (BAC) or the proxy call session control function (P-CSCF) network element. Simultaneously, the S-CSCF network element will pre-set the NO-MO-SMS iFC=333 and NO-MO-SMS iFC trigger conditions, namely, "the first header field of the SIP MESSAGE message (P-Asserted-Identity and / or From header field) begins with the destination prefix number +86, and the SIP MESSAGE message is transferred to the pre-unavailable address 10.10.10.10".

[0091] For the SMS double-stop rule, when user equipment 18987654321 subscribes to NO-MO-SMS iFC=333 and sends SMS messages to other user equipment (UE) or a service provider (SP), the SMS single-stop principle is the same as above, and the process is as follows: Figure 5 As shown, it will not be elaborated further here.

[0092] When user equipment 18987654321 attempts to receive short messages sent by other user equipment (UE) or a service provider (SP), such as Figure 6 As shown, short messages sent by other user equipment or a service provider (SP) are encapsulated in a session initiation protocol message (SIP MESSAGE message), and the SIP MESSAGE message is sent to the T side. Figure 6On the right side of the O-side network, the S-CSCF network element on the T side will determine whether the second header field (Request-URI and / or To header field) of the SIP MESSAGE message begins with the target prefix number +86, based on the NO-MT-SMS iFC=444 and triggering rules of 18987654321. In this case, the second header field (Request-URI and / or To header field) is the called number 18987654321, with the format sip:+8618987654321@home network domain name and / or tel:+8618987654321. Therefore, the T-side S-CSCF network element forwards the SIP MESSAGE message to an unavailable IP address (11.11.11.11), causing 18987654321 to fail to receive the short message. The entire process ends on the T-side network, thus achieving the technical effect of a double-stop short message service.

[0093] Similarly, during this process, the S-CSCF network element will pre-set NO-MT-SMS iFC=444 and the trigger condition for NO-MT-SMS iFC, namely, "the second header field (Request-URI and / or To header field) of the SIP MESSAGE message starts with the target prefix number +86, and the SIP MESSAGE message is transferred to a pre-unavailable address 11.11.11.11".

[0094] In this embodiment, two iFCs (Information Functions) are used: one iFC that prevents sending SMS messages and another that prevents receiving SMS messages. This allows for separate control of SMS sending and receiving, or simultaneous control of both. Furthermore, by using the "+86" feature in the relevant header fields of the SIPMESSAGE message (including the first header field P-Asserted-Identity, From, and the second header field Request-URI, To) to set iFC trigger rules, the technical effect of single-stop and double-stop SMS messaging is achieved, saving additional investment and realizing cost reduction and efficiency improvement for enterprises.

[0095] Figure 7 This is a structural diagram of a short message control system provided according to an embodiment of this application. For example... Figure 7 As shown, the system includes: user equipment 70 and service call session control function (S-CSCF) network element 72;

[0096] User equipment 70 is used to encapsulate short messages into Session Initiation Protocol (SIP) and send them to Service Call Session Control Function (S-CSCF) network element 72;

[0097] The Service Call Session Control (S-CSCF) network element 72 is used to obtain short messages corresponding to user equipment 70, wherein the short messages include messages to be sent or messages to be received by the user equipment; if the user equipment has subscribed to preset filtering rules, the short message containing the target information in the preset filtering rules is sent to the target address, wherein the target information includes the header field information and prefix number information corresponding to the short message, and the target address includes: unavailable IP addresses.

[0098] It should be noted that the aforementioned SMS control system is used to execute... Figure 2 The control method for short messages shown above also applies to the control system for this short message, and will not be repeated here.

[0099] According to embodiments of this application, a short message control device is provided. It should be noted that the short message control device of this application embodiment can be used to execute the short message control method provided in this application embodiment. The short message control device provided in this application embodiment is described below.

[0100] Figure 8 This is a structural diagram of a short message control device according to an embodiment of this application. Figure 8 As shown, the device includes:

[0101] The acquisition module 80 is used to acquire short messages corresponding to the user equipment, wherein the short messages include messages to be sent or messages to be received by the user equipment;

[0102] The sending module 82 is used to send a short message containing target information from the preset filtering rules to a target address when the user equipment has subscribed to preset filtering rules. The target information includes the header field information and prefix number information corresponding to the short message, and the target address includes an unavailable IP address.

[0103] By using the acquisition module 80 and the sending module 82 in the aforementioned short message control device, the sending and receiving of short messages can be flexibly controlled through preset filtering rules and header information checking methods. This achieves the technical effect of improving the operator's operating efficiency and reducing cost consumption. It also solves the technical problem that the single or double interruption effect of short messages in related technologies is controlled by the eSMSC, which requires a large amount of software and hardware equipment resources, resulting in a large additional investment cost.

[0104] In the short message control device provided in the embodiments of this application, the acquisition module is further used to receive short messages sent by the user equipment through the edge access control device (BAC) or the proxy call session control function (P-CSCF) network element.

[0105] In the short message control device provided in this application embodiment, the sending module is further configured to obtain the header field information of the short message, wherein the header field information includes at least one of the following: a first header field and a second header field; determine the beginning content of the header field information; compare the beginning content with the target prefix number, and if the beginning content is the same as the target prefix number, send the short message to the target address.

[0106] The SMS control device provided in this application embodiment further includes a determining module 84, used to determine preset filtering rules and triggering conditions for preset filtering rules. The triggering conditions include: the first header field of the SMS message begins with a target prefix number; and / or the second header field of the SMS message begins with a target prefix number. The preset filtering rules include at least one of the following: a single-stop SMS rule and a double-stop SMS rule. The single-stop SMS rule indicates that the user equipment cannot send SMS messages, and the double-stop SMS rule indicates that the user equipment cannot send or receive SMS messages. The single-stop SMS rule indicates a rule associated with the first header field in the header field information. The single-stop SMS rule includes: when the first header field begins with a target prefix number, sending the SMS message to the target address. The first header field includes at least one of the following: a P-Asserted-Identity header field and a From header field. The target prefix number is the international prefix country code corresponding to when the user equipment sends or receives the SMS message. The SMS double-stop rule is used to represent the rule associated with the first header field and the second header field in the header field information. The SMS double-stop rule includes: when the first header field starts with the target prefix number, the SMS is sent to the target address, wherein the first header field includes at least one of the following: P-Asserted-Identity header field and From header field; when the second header field starts with the target prefix number, the SMS is sent to the target address, wherein the second header field includes at least one of the following: Request-URI header field and To header field.

[0107] This application also provides an electronic device, including: a memory and a processor, wherein the memory is used to store program instructions; and the processor is connected to the memory and used to execute the control method for implementing the above-mentioned short message.

[0108] It should be noted that the aforementioned electronic equipment is used to perform Figure 2 The control method for SMS messages shown above also applies to this electronic device, and will not be repeated here.

[0109] This application also provides a non-volatile storage medium, which includes a stored computer program, wherein the device containing the non-volatile storage medium executes the above-mentioned short message control method by running the computer program.

[0110] It should be noted that the aforementioned non-volatile storage media is used for execution. Figure 2 The SMS control method shown above also applies to this non-volatile storage medium, and will not be repeated here.

[0111] This application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the above-described short message control method.

[0112] It should be noted that the above-mentioned computer program product is used to execute Figure 2 The SMS control method shown above also applies to this computer program product, and will not be repeated here.

[0113] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0114] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

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

[0116] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0117] 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.

[0118] 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 several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0119] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for controlling short messages, characterized in that, The method, applied to the S-CSCF network element of the Service Call Session Control Function, includes: Obtain a short message corresponding to a user device, wherein the short message includes a message to be sent or a message to be received by the user device; When the user equipment has subscribed to preset filtering rules, the short message containing the target information in the preset filtering rules is sent to the target address, wherein the target information includes the header field information and prefix number information corresponding to the short message, and the target address includes: an unavailable IP address; Sending the short message containing the target information in the preset filtering rules to the target address includes: obtaining the header field information of the short message, wherein the header field information includes at least one of the following: a first header field and a second header field; determining the beginning content of the header field information; comparing the beginning content with the target prefix number, and if the beginning content is the same as the target prefix number, sending the short message to the target address according to the preset filtering rules, wherein the target prefix number is the international prefix country code corresponding to when the user equipment sends or receives the short message, and the preset filtering rules include at least one of the following: a short message single-stop rule and a short message double-stop rule, wherein the short message single-stop rule is used to indicate that the user equipment cannot send the short message, and the short message double-stop rule is used to indicate that the user equipment cannot send or receive the short message.

2. The method according to claim 1, characterized in that, The short message single-stop rule is used to represent a rule associated with the first header field in the header field information, and the short message single-stop rule includes: If the first header field begins with the target prefix number, the short message is sent to the target address, wherein the first header field includes at least one of the following: P-Asserted-Identity header field and From header field.

3. The method according to claim 2, characterized in that, The short message double-stop rule is used to represent a rule associated with the first header field and the second header field in the header field information. The short message double-stop rule includes: If the first header field begins with the target prefix number, the short message is sent to the target address, wherein the first header field includes at least one of the following: P-Asserted-Identity header field and From header field; If the second header field begins with the target prefix number, the short message is sent to the target address, wherein the second header field includes at least one of the following: Request-URI header field and To header field.

4. The method according to claim 2 or 3, characterized in that, Before obtaining the short message sent by the user equipment, the method further includes: The preset filtering rules and their triggering conditions are determined, wherein the triggering conditions include: the first header field of the short message starts with the target prefix number; and / or the second header field of the short message starts with the target prefix number.

5. The method according to claim 1, characterized in that, The method further includes: Receive the short message sent by the user equipment through the edge access control device (BAC) or the proxy call session control function (P-CSCF) network element.

6. A short message control system, characterized in that, The system includes: User Equipment and Service Call Session Control Function (S-CSCF) network element; The user equipment is used to encapsulate short messages into a Session Initiation Protocol (SIP) and send them to the Service Call Session Control Function (S-CSCF) network element. The Service Call Session Control (S-CSCF) network element is used to acquire short messages corresponding to user equipment (UE), wherein the short message includes a message to be sent or a message to be received by the UE; when the UE has subscribed to preset filtering rules, the short message containing target information from the preset filtering rules is sent to a target address, wherein the target information includes header field information and prefix number information corresponding to the short message, and the target address includes an unavailable IP address; sending the short message containing target information from the preset filtering rules to the target address includes: acquiring the header field information of the short message, wherein the header field information includes at least one of the following The process involves defining a first header field and a second header field; determining the beginning content of the header field information; comparing the beginning content with the target prefix number; and, if the beginning content is the same as the target prefix number, sending the short message to the target address according to the preset filtering rules. The target prefix number is the international prefix country code corresponding to when the user equipment sends or receives the short message. The preset filtering rules include at least one of the following: a single-stop rule for short messages and a double-stop rule for short messages. The single-stop rule indicates that the user equipment cannot send the short message, and the double-stop rule indicates that the user equipment cannot send or receive the short message.

7. A short message control device, characterized in that, include: The acquisition module is used to acquire short messages corresponding to the user equipment, wherein the short messages include messages to be sent or messages to be received by the user equipment; A sending module is configured to, when the user equipment has subscribed to preset filtering rules, send a short message containing target information from the preset filtering rules to a target address, wherein the target information includes header field information and prefix number information corresponding to the short message, and the target address includes an unavailable IP address; sending the short message containing target information from the preset filtering rules to the target address includes: obtaining the header field information of the short message, wherein the header field information includes at least one of the following: a first header field and a second header field; determining the beginning content of the header field information; comparing the beginning content with the target prefix number, and if the beginning content is the same as the target prefix number, sending the short message to the target address according to the preset filtering rules, wherein the target prefix number is the international prefix country code corresponding to when the user equipment sends or receives the short message, and the preset filtering rules include at least one of the following: a single-stop rule for short messages and a double-stop rule for short messages, wherein the single-stop rule for short messages indicates that the user equipment cannot send the short message, and the double-stop rule for short messages indicates that the user equipment cannot send or receive the short message.

8. An electronic device, characterized in that, include: Memory and processor, among which, The memory is used to store program instructions; The processor, connected to the memory, is used to execute the short message control method according to any one of claims 1 to 5.

9. A non-volatile storage medium, characterized in that, The non-volatile storage medium includes a stored computer program, wherein the device containing the non-volatile storage medium executes the short message control method according to any one of claims 1 to 5 by running the computer program.

10. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by the processor, they implement the short message control method according to any one of claims 1 to 5.