Short message service control method and device, electronic equipment and storage medium
By judging the iFC parameters of SIP messages in the S-CSCF network element, short message single-stop control is realized, which solves the problem of increased operating costs caused by eSMSC control and achieves the effect of real-time single-stop.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA TELECOM CORP LTD
- Filing Date
- 2023-10-08
- Publication Date
- 2026-08-04
AI Technical Summary
In existing technologies, the single or double suspension of SMS services is controlled by the eSMSC, which requires hardware equipment and software license support, leading to increased operating investment costs.
By determining whether the SIP message in the S-CSCF network element contains the reply parameters for short message single-stop iFC, if it does not contain them, the message is forwarded or discarded. Short message single-stop control is achieved by using the pre-set trigger conditions of iFC, avoiding additional investment and network architecture changes.
It enables one-stop control of short messages, reduces operating investment costs, and does not change the network architecture.
Smart Images

Figure CN117376851B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a method, apparatus, electronic device, and computer-readable storage medium for controlling short message services. Background Technology
[0002] In related technologies, the suspension of a user's short message service is configured by the enhanced short message center (eSMSC). The eSMSC handles failures based on the user's suspension service attributes. That is, the eSMSC can configure a user's short message service to be either single-stop or double-stop. For single-stop service, the user only needs to control the short message sending process, ensuring the user can receive short messages but cannot send them. For double-stop service, the eSMSC can not only control the short message sending process but also prevent the sending of short messages based on the double-stop service attribute, and correctly send status report messages to the sending eSMSC, such as MESSAGE (TP-STATUS) or SMDPP (Deliery Acknowledgement).
[0003] Therefore, in related technologies, the single (or double) suspension of SMS services is controlled by the eSMSC. However, the control of users' single (or double) suspension services by the eSMSC requires the support of eSMSC hardware and software licenses, which requires additional investment and thus increases operating investment costs. Summary of the Invention
[0004] This invention provides a method, apparatus, electronic device, and storage medium for controlling short message services, to at least solve the problem in related technologies where the control of a user's single (or double) suspended service by the eSMSC requires eSMSC hardware and software licenses, leading to increased operational investment costs. The technical solution of this invention is as follows:
[0005] According to a first aspect of the present invention, a short message service control method is provided, the method being applied to a Service Call Session Control Function (S-CSCF) network element, comprising:
[0006] Receive a Session Initiation Protocol (SIP) message sent by a User Equipment (UE), wherein the SIP message encapsulates a short message;
[0007] If the SIP message does not include a reply parameter for the short message single stop iFC, the SIP message will be forwarded to a designated network element on the server for processing or the SIP message will be discarded.
[0008] Optionally, the method further includes:
[0009] Determine whether the SIP message includes the response parameters of the Short Message Single Stop Initial Filtering Rule (iFC), wherein the response parameters include: In-Reply-To;
[0010] When the SIP message includes a reply parameter for a Short Message Single Stop iFC, the SIP message is sent to the Enhanced Message Processing Center (eSMSC) for processing.
[0011] Optionally, the step of determining whether the SIP message includes a short message single stop iFC response parameter includes:
[0012] The SIP message is matched with the triggering conditions of the preset short message single-stop initial filtering rule iFC;
[0013] When the matching result meets the triggering condition of SMS Single Stop iFC, it is identified that the SIP message does not include the reply parameter of SMS Single Stop iFC.
[0014] Optionally, the method includes:
[0015] When a registered user's subscription data changes, the system receives a request from the Home Subscriber Server (HSS) to update the user's subscription via SMS to stop the iFC.
[0016] Update the user's subscribed short message single stop iFC data stored in its own database according to the request;
[0017] The HSS provides a response to the user regarding the updated subscription SMS single stop iFC data.
[0018] Optionally, receiving the Session Initiation Protocol (SIP) message sent by the User Equipment (UE) includes:
[0019] Receive Session Initiation Protocol (SIP) messages sent by the User Equipment (UE) through the Edge Access Control (BAC) or the Proxy Call Session Control Function (P-CSCF) network element.
[0020] Optionally, before receiving the Session Initiation Protocol (SIP) message sent by the User Equipment (UE), the method further includes:
[0021] Short Message Single Stop iFC is pre-configured on the Service Call Session Control Function (S-CSCF) network element, along with the triggering conditions for the Short Message Single Stop iFC. The triggering conditions include: the SIP message header field does not include the reply parameters for the Short Message Single Stop iFC, and the reply parameters include: In-Reply-To.
[0022] According to a second aspect of the present invention, a short message service control method is provided, the method being applied to a user equipment (UE), comprising:
[0023] Encapsulate the short message into a Session Initiation Protocol (SIP) message;
[0024] The SIP message is sent to the S-CSCF network element so that if the SIP message does not include the short message single stop iFC reply parameter, the S-CSCF network element can forward the SIP message to a designated network element on the server side for processing or discard the SIP message.
[0025] Optionally, sending the SIP message to the S-CSCF network element includes:
[0026] The SIP message is sent to the S-CSCF network element through the Edge Access Control (BAC) or the Proxy Call Session Control (P-CSCF) network element; the SIP message does not include the reply parameters for Short Message Single Stop (iFC), and the reply parameters include: In-Reply-To.
[0027] Optionally, before encapsulating the short message into a SIP message, the method further includes:
[0028] Short Message Single Stop (iFC) is pre-configured on the Home Subscriber Server (HSS) and / or Unified Data Management Function (UDM) network element, along with the triggering conditions for the iFC. The triggering conditions include: the SIP message header field does not include the reply parameters for the iFC, and the reply parameters include: In-Reply-To.
[0029] According to a third aspect of the present invention, a short message service control device is provided, the device being applied to a Service Call Session Control Function (S-CSCF) network element, comprising:
[0030] The first receiving module is used to receive a Session Initiation Protocol (SIP) message sent by a User Equipment (UE), wherein the SIP message encapsulates a short message.
[0031] The control processing module is used to forward the SIP message to a designated network element on the server for processing or discard the SIP message when the SIP message does not include the reply parameter of the Short Message Single Stop Initial Filtering Rule (iFC).
[0032] Optionally, the device further includes:
[0033] The judgment module is used to determine whether the SIP message includes a reply parameter for a short message single stop iFC, wherein the reply parameter includes: In-Reply-To;
[0034] The control processing module is further configured to, when the judgment module determines that the SIP message does not include the reply parameter of the short message single stop iFC, transfer the SIP message to a designated network element on the server for processing or discard the SIP message.
[0035] Optionally, the determination module includes:
[0036] The matching module is used to match the SIP message with the preset short message single-stop initial filtering rule iFC;
[0037] The identification module is used to identify that the SIP message does not include the reply parameter of Short Message Single Stop iFC when the matching result of the matching module meets the triggering condition of Short Message Single Stop iFC.
[0038] Optionally, the device includes:
[0039] The second receiving module is used to receive a request from the Home Subscriber Server (HSS) to update the user's subscription short message service (iFC) when the registered user's subscription data changes.
[0040] The update module is used to update the user's subscribed short message single stop iFC data stored in itself according to the request;
[0041] The sending module is used to send a response to the HSS regarding the user's updated subscription short message service (SMS) data.
[0042] Optionally, the first receiving module is specifically used to receive a Session Initiation Protocol (SIP) message sent by the User Equipment (UE) through the Edge Access Control (BAC) or the Proxy Call Session Control Function (P-CSCF) network element.
[0043] Optionally, the device further includes:
[0044] The setting module is used to pre-set the Short Message Single Stop iFC on the Serving Call Session Control Function (S-CSCF) network element before the receiving module receives the Session Initiation Protocol (SIP) message sent by the User Equipment (UE), and the triggering conditions for the Short Message Single Stop iFC. The triggering conditions include: the SIP message header field does not include the reply parameters of the Short Message Single Stop iFC, and the reply parameters include: In-Reply-To.
[0045] According to a fourth aspect of the present invention, a short message service control apparatus is provided, the apparatus being applied to a user equipment (UE), comprising:
[0046] The encapsulation module is used to encapsulate short messages into Session Initiation Protocol (SIP) messages;
[0047] The sending module is used to send the SIP message to the S-CSCF network element so that when the SIP message does not include the short message single stop iFC reply parameter, the S-CSCF network element can forward the SIP message to a designated network element on the server side for processing or discard the SIP message.
[0048] Optionally, the sending module is specifically used to send the SIP message to the S-CSCF network element through the Edge Access Control (BAC) or the Proxy Call Session Control (P-CSCF) network element; the SIP message does not include the short message single-stop iFC reply parameters, and the reply parameters include: In-Reply-To.
[0049] Optionally, the device further includes:
[0050] The configuration module is used to pre-configure the Short Message Single Stop iFC on the Home Subscriber Server (HSS) and / or Unified Data Management Function (UDM) network element before the encapsulation module encapsulates the short message into a SIP message, and to set the triggering conditions for the Short Message Single Stop iFC. The triggering conditions include: the SIP message header field does not include the reply parameters of the Short Message Single Stop iFC, and the reply parameters include: In-Reply-To.
[0051] According to a fifth aspect of the present invention, an electronic device is provided, comprising:
[0052] processor;
[0053] Memory used to store the processor's executable instructions;
[0054] The processor is configured to execute the instructions to implement the short message service control method described above.
[0055] According to a sixth aspect of the present invention, a computer-readable storage medium is provided, wherein when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the short message service control method as described above.
[0056] According to a seventh aspect of the present invention, a computer program product is provided, comprising a computer program or instructions, wherein the computer program or instructions, when executed by a processor of an electronic device, implement the short message service control method as described above. The technical solutions provided by the embodiments of the present invention offer at least the following beneficial effects:
[0057] In this embodiment of the invention, a Session Initiation Protocol (SIP) message sent by a User Equipment (UE) is received, the SIP message encapsulating a short message. If the SIP message does not include a reply parameter for short message single-stop iFC (Instant Message Stop), the SIP message is forwarded to a designated network element on the server side for processing or discarded. In other words, in this embodiment of the invention, the S-CSCF determines the "reply" parameter for "short message single-stop iFC," so that the single-stop of short messages is no longer controlled by the eSMSC, but by the triggering conditions preset by the iFC through the S-CSCF. This is cleverly applied within the "short message single-stop iFC" triggering rules, without adding extra investment or changing the network architecture, thereby achieving the goal of real-time single-stop of short messages.
[0058] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description
[0059] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present invention and, together with the description, serve to explain the principles of the invention. They do not constitute an undue limitation of the invention. To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0060] Figure 1 This is a flowchart of a short message service control method provided in an embodiment of the present invention.
[0061] Figure 2 This embodiment of the invention provides a flowchart of the interaction between the HSS and S-CSCF when updating user subscription data.
[0062] Figure 3 This is an application example diagram of a short message service control method provided in an embodiment of the present invention.
[0063] Figure 4 This is another flowchart of a short message service control method provided in an embodiment of the present invention.
[0064] Figure 5 This is a flowchart of another application example of a short message service control method provided in the embodiments of the present invention.
[0065] Figure 6 This is a block diagram of a short message service control device provided in an embodiment of the present invention.
[0066] Figure 7 This is another block diagram of a short message service control device provided in an embodiment of the present invention.
[0067] Figure 8 This is a block diagram of an electronic device provided in an embodiment of the present invention.
[0068] Figure 9 This is a block diagram of a device for controlling short message services provided in an embodiment of the present invention. Detailed Implementation
[0069] To enable those skilled in the art to better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.
[0070] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention 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 the invention described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0071] First, let's introduce the technical terms involved in the embodiments of this invention:
[0072] AS (Application Server): This is the top-level application layer device in the IMS system, providing basic and supplementary services, multimedia conferencing, unified communications, SMS gateways, standard operator consoles, and other services. The IMS network is an open system based on IP that provides various multimedia services to users. AS network elements and CSCF interact through the standard SIP protocol to trigger and execute various network services.
[0073] 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.
[0074] 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. Its biggest advantage is that EMS can still operate on the same GSM networks used by 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.
[0075] 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.
[0076] HSS (Home Subscriber Server): The HSS supports the main user database for IMS network entities that handle calls / sessions. It includes 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 includes 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.
[0077] 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.
[0078] 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.
[0079] MGCF (Media Gateway Control Function): A component of the IP Multimedia Subsystem (IMS), it communicates with the Call Session Control Function (CSCF) and controls the connection of media channels within an IMS-MGW. It performs protocol conversion between the ISDN Part (ISUP) and the IMS call control protocol.
[0080] 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 SIP proxy, P-CSCF is responsible for user authentication and IPSec 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 NAT and QoS functions through PDF (Policy Decision Function).
[0081] PPR (Push-Profile-Request): The PPR message, represented by command code 305 and the setting command flag "R", is used to request an update to subscription data. The PPR message is sent from the HSS to the S-CSCF. When subscription data is modified, the HSS sends a PPR message to request an update to the user data in the S-CSCF.
[0082] PPA (Push-Profile-Answer): The message is represented by command code 305 and the clear command flag "R". It is used to respond to PPR messages, that is, to respond to the user's subscription data update request command. PPA messages are sent from S-CSCF to HSS.
[0083] 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.
[0084] SMS (Short Message Service): Short messages encapsulated using the SIP protocol, possessing the same service characteristics as traditional short messages. They are initiated or received by IMS users and transmitted or forwarded through the IMS system. Users send or receive text or numeric information directly through mobile phones or other telecommunications terminals. Each short message has a character limit, generally 160 English or numeric characters, or 70 Chinese characters.
[0085] SMSC (Short Message Service Center): A crucial SMS processing center responsible for forwarding, storing, and distributing SMS messages. An SMSC is a software system based on a digital network that uses SMS center routing technology to enable the exchange of SMS messages between different networks. The SMSC is a key component of SMS services and the central foundation of the SMS transmission system. It manages SMS services such as the regular sending and receiving of passive notifications. Globally, the SMSC is an essential infrastructure for every operator because it is the core of SMS communication, providing robust support and assurance for mobile networks.
[0086] UDM (Unified Data Management): Responsible for the management of user identifiers, subscription data, authentication data, and user service element registration management (such as the AMF and SMF currently providing services to the terminal; if a user switches to a different AMF, UDM will also send a deregistration message to the old AMF, requesting the old AMF to delete the user's relevant information).
[0087] 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.
[0088] Based on an understanding of the above technical terms, the embodiments of the present invention will be explained below.
[0089] Figure 1 This is a flowchart of a short message service control method provided in an embodiment of the present invention, such as... Figure 1 As shown, this method is applied to the Service Call Session Control Function (S-CSCF) network element and includes the following steps:
[0090] Step 101: Receive a Session Initiation Protocol (SIP) message sent by the User Equipment (UE), wherein the SIP message encapsulates a short message.
[0091] Step 102: If the SIP message does not include the reply parameters of the Short Message Single Stop Initial Filtering Rule (iFC), the SIP message is forwarded to the designated network element on the server for processing or the SIP message is discarded.
[0092] The SMS service control method described in this invention can be applied to terminals, servers, etc., without limitation. The terminal implementation device can be an electronic device such as a smartphone, laptop, tablet, desktop computer, personal digital assistant (PDA), and wearable device. The server can be an independent server, a server cluster, or a server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, or big data and artificial intelligence platforms, etc., without limitation.
[0093] The following is combined with Figure 1 The specific implementation steps of a short message service control method provided in the embodiments of the present invention will be described in detail.
[0094] In step 101, a Session Initiation Protocol (SIP) message sent by the User Equipment (UE) is received, wherein the SIP message encapsulates a short message.
[0095] In this step, the Service Call Session Control Function (S-CSCF) network element receives a Session Initiation Protocol (SIP) message sent by the User Equipment (UE). This SIP message encapsulates a Short Message Service (SMS). The encapsulation process of encapsulating the SMS message into the SIP message is well-known to those skilled in the art and will not be described in detail here.
[0096] Specifically, it can receive Session Initiation Protocol (SIP) messages sent by the User Equipment (UE) through the Edge Access Control (BAC) or the Proxy Call Session Control Function (P-CSCF) network element.
[0097] The key parameters carried in a short message include, but are not limited to, the following:
[0098] Request URI: Sender eSMSC PSI
[0099] To: Sender eSMSC PSI;
[0100] From / P-Preferred-Identity: Sender's tel URI or SIP URI;
[0101] Content-Type: application / vnd.3gpp.sms (indicating SMS service);
[0102] Message body: GSM MAP encapsulation format;
[0103] In step 102, if the SIP message does not include a reply parameter for Short Message Single Stop iFC, the SIP message is forwarded to a designated network element on the server for processing or the SIP message is discarded.
[0104] The "Reply" parameter of "Short Message Single Stop iFC" can be the string In-Reply-To. The line containing In-Reply-To may include information such as Call-Id from MESSAGE(RP-DATA), or it may not include any information and only contain the string In-Reply-To. Of course, in actual applications, it can also be other parameters with the same or similar functions, and this embodiment is not limited to this.
[0105] In this step, the network element configured on the server side can be a Media Gateway Control Function (MGCF) network element, etc. Since MGCF does not support message requests, it will return error or unsupported information, thereby achieving the purpose of controlling the short message to stop.
[0106] In this embodiment of the invention, the S-CSCF network element receives a Session Initiation Protocol (SIP) message sent by a User Equipment (UE), which encapsulates a short message. If the SIP message does not include a "response" parameter for "Short Message Single Stop iFC," the SIP message is forwarded to a designated network element on the server side for processing or discarded. In other words, in this embodiment, by determining the "response" parameter for "Short Message Single Stop iFC" through the S-CSCF, the single stop of short messages is no longer controlled by the eSMSC, but rather by the triggering conditions preset by the iFC through the S-CSCF. This is cleverly applied within the "Short Message Single Stop iFC" triggering rules, without adding extra investment or changing the network architecture, thereby achieving the goal of real-time single stop of short messages.
[0107] Optionally, in another embodiment, based on the above embodiments, the method may further include:
[0108] 1) Determine whether the SIP message includes a short message single stop iFC reply parameter, the reply parameter including: In-Reply-To.
[0109] The judgment process in this embodiment includes: first, matching the SIP message with the preset short message single stop initial filtering rule iFC; when the matching result meets the triggering condition of short message single stop iFC, identifying that the SIP message does not contain the reply parameter of short message single stop iFC.
[0110] In this embodiment of the invention, when the S-CSCF network element receives a SIP message, it first determines whether the SIP message sent by the UE includes a short message stop reply parameter. If it does not include a short message stop reply parameter, the SIP message is forwarded to a designated network element (such as MGCF) on the server side for processing or the SIP message is discarded. The MGCF does not support MESSAGE requests and will reply with an error or unsupported response message to the received SIP message. It will not send the SIP message to the called party normally, thereby achieving the purpose of controlling short message stop.
[0111] Optionally, in another embodiment, based on the above embodiments, the method includes: receiving a request from the Home Subscriber Server (HSS) / or UDM for the user to update their subscription short message single stop (iFC); updating the user's stored iFC data according to the request; and sending a response to the HSS regarding the updated iFC data.
[0112] In this embodiment, when a UE is already registered on the network, and some UE numbers require SMS service suspension, the "Short Message Service Suspension iFC" service is subscribed to on the HSS and / or UDM. When the registered user's subscription data changes, the HSS and / or UDM send a PPR request to the S-CSCF network element, requesting an update of the user's subscription data for that UE in the S-CSCF network element. The S-CSCF network element updates the user's subscription data for that UE according to the PPR request. After the update, the S-CSCF network element sends a PPA response to the HSS and / or UDM. This PPA is used to respond to the PPR message, i.e., to respond to the user subscription data update request command. The PPA message is sent from the S-CSCF network element to the HSS and / or UDM. Specifically, as follows... Figure 2 The diagram shows a flowchart illustrating the interaction between the HSS and S-CSCF when updating user subscription data, as provided in this embodiment of the invention. It should be noted that this embodiment uses the interaction between the S-CSCF network element and the HSS as an example, but in practical applications, it is not limited to this.
[0113] Optionally, in another embodiment, based on the above embodiment, before the S-CSCF receives the Session Initiation Protocol (SIP) message sent by the User Equipment (UE), the method may further include: pre-setting a Short Message Single Stop (iFC) in the Serving Call Session Control Function (S-CSCF) network element, and a triggering condition for the iFC, wherein the triggering condition includes: the SIP message header field does not include a reply parameter for the iFC, and the reply parameter includes: In-Reply-To.
[0114] In this embodiment, by planning a "Short Message Single Stop iFC", the single stop of short messages is no longer controlled by the eSMSC, but by the trigger conditions preset by the iFC through the S-CSCF. The specific steps are as follows:
[0115] 1) Set "Short Message Single Stop iFC". The iFC trigger condition is: the SIP header field does not include In-Reply-To; that is, the SIP header field must include In-Reply-To in order to send short messages normally.
[0116] 2) UEs requiring SMS service suspension subscribe to "SMS Suspension iFC". When certain UE numbers require SMS service suspension, they subscribe to "SMS Suspension iFC". That is, the UE obtains its iFC information from the Home Subscriber Server (HSS) and / or Unified Data Management (UDM) network element through the P-CSCF, S-CSCF, and I-CSCF network elements. This iFC information includes the SMS suspension iFC, and the SMS suspension iFC is saved to the S-CSCF network element. Afterwards, the UE completes the registration process through initial registration, secondary registration, and third-party registration. The specific registration process is well known to those skilled in the art and will not be described in detail here.
[0117] In other words, in this embodiment of the invention, "Short Message Single Stop iFC" is first set, and the iFC triggering condition is: the SIP header field does not include In-Reply-To; only when the SIP header field includes In-Reply-To can short messages be sent normally.
[0118] Subsequently, UEs that need to suspend SMS services individually will sign up for "Short Message Service Suspension iFC". In other words, when certain UE numbers of UEs already registered on the network need to suspend SMS services individually, they will sign up for "Short Message Service Suspension iFC" on the HSS and / or UDM.
[0119] Finally, UEs subscribed to "Single-Terminal Short Message Service (iFC)" fail to send SMS messages. When a UE sends a SIP Message to the S-CSCF network element via BAC / P-CSCF, the SIP Message does not include In-Reply-To. The S-CSCF pre-stores the trigger condition for "Single-Terminal Short Message Service (iFC)" for this UE number, which is that the SIP header field does not include In-Reply-To. Therefore, when the S-CSCF network element receives the SIP Message sent by the UE, it first checks whether the header field of the SIP Message includes In-Reply-To. If it does not include In-Reply-To, it forwards the SIP Message sent by the UE to the designated network element on the server side (such as the MGCF network element). In other words, UEs subscribed to "Single-Terminal Short Message Service (iFC)" will fail to send SMS messages, thus achieving the purpose of real-time single-terminal suspension of SMS service.
[0120] Please also see Figure 3 This diagram illustrates an application example of a short message service control method provided in this invention, showcasing the short message (SMS) initiation process, specifically including:
[0121] Step 301: The UE sends a SIP Message encapsulated with a short message to the S-CSC F network element via BAC / P-CSCF, carrying the following key parameters:
[0122] Request URI: Sender's eSMSC PSI;
[0123] To: Sender eSMSC PSI;
[0124] From / P-Asserted-Identity: Sender's tel URI or SIP URI;
[0125] Content-Type: application / vnd.3gpp.sms (indicating SMS service);
[0126] Message body: GSM MAP encapsulation format.
[0127] It should be noted that the SIP Message does not include In-Reply-To, and the trigger condition for the UE's "Short Message Single Stop iFC" to be pre-stored on the S-CSCF network element is that the SIP header field does not include In-Reply-To.
[0128] Step 302: The S-CSCF network element determines whether the SIP Message includes the In-Reply-To parameter of the short message single-stop iFC.
[0129] Step 303: If it is determined that the SIP Message does not include the In-Reply-To reply parameter of the Short Message Single Stop iFC, the SIP Message is forwarded to the designated network element (such as MGCF) on the server side.
[0130] Step 304: The MGCF replies that it does not support SIP messages; or the MGCF reports an error or discards the SIP message.
[0131] In this embodiment of the invention, since the MGCF does not support SIP Message messages, it cannot send the short message received from the UE to the called side, thereby achieving the purpose of controlling the single-stop short message.
[0132] Please also see Figure 4 This is another flowchart of a short message service control method provided by an embodiment of the present invention. The method is used for a user equipment (UE) and includes:
[0133] Step 401: Encapsulate the short message into a SIP message.
[0134] In this step, short messages encapsulated using the SIP protocol and possessing the same business characteristics as traditional short messages are initiated or received by IMS users and transmitted or forwarded through the IMS system. The encapsulation process is well-known to those skilled in the art and will not be elaborated upon here.
[0135] Step 402: Send the SIP message to the S-CSCF network element so that when the S-CSCF network element does not include the short message single stop iFC reply parameter in the SIP message, it can forward the SIP message to the designated network element on the server side for processing or discard the SIP message.
[0136] In this step, the SIP message is sent to the S-CSCF network element through the Edge Access Control (BAC) or the Proxy Call Session Control (P-CSCF) network element; the SIP message does not include the reply parameters for Short Message Single Stop (iFC), and the reply parameters include: In-Reply-To.
[0137] In this embodiment of the invention, the short message is first encapsulated into a SIP message; then, the SIP message is sent to the S-CSCF network element, so that the S-CSCF network element can perform different control processing depending on whether the SIP message includes the short message single-stop iFC reply parameter. That is, if the SIP message does not include the short message single-stop iFC reply parameter, the SIP message is forwarded to a designated network element on the server side for processing or discarded. In other words, when the S-CSCF network element receives a SIP message sent by the UE, it first checks whether the SIP message includes the short message single-stop iFC reply parameter, such as In-Reply-To; if it does not include it, the SIP message is forwarded to a designated network element on the server side for processing or discarded, thereby achieving the purpose of controlling short message single-stop.
[0138] Optionally, in another embodiment, based on the above embodiment, before encapsulating the short message into a SIP message, the method further includes: setting up a short message single-stop iFC in advance on the Home Subscriber Server (HSS) and / or Unified Data Management Function (UDM) network element, and the triggering condition of the short message single-stop iFC, wherein the triggering condition includes: the SIP message header field does not include the reply parameter of the short message single-stop iFC, and the reply parameter includes: In-Reply-To.
[0139] Please also see Figure 5 The flowchart below shows another application example of a short message service control method provided by an embodiment of the present invention, including:
[0140] Step 501: Pre-configure the Short Message Single Stop iFC in the Service Call Session Control Function (S-CSCF) network element, Home Subscriber Server (HSS) and / or Unified Data Management Function (UDM) network element, and the triggering conditions for the Short Message Single Stop iFC. The triggering conditions include: the SIP message header field does not include the reply parameter of the Short Message Single Stop iFC. The reply parameter includes: In-Reply-To. That is, the iFC triggering condition is: the SIP header field does not include In-Reply-To.
[0141] Step 502: When the subscription data of the registered user equipment (UE) changes, the home subscriber server (HSS) sends a request to the S-CSCF network element to update the UE's subscription short message service (SMSS) and stop the iFC.
[0142] Step 503: The S-CSCF network element updates the stored UE-subscribed short message single stop iFC data according to the request.
[0143] Step 504: The S-CSCF network element sends a response to the HSS regarding the user's update of the subscribed short message single stop iFC data.
[0144] Step 505: The UE encapsulates the short message into a SIP message.
[0145] Step 506: The UE sends the SIP message to the S-CSCF network element through the Edge Access Control (BAC) or the Proxy Call Session Control (P-CSCF) network element.
[0146] Step 507: The S-CSCF network element determines whether the SIP message includes a short message single stop iFC reply parameter, the reply parameter including: In-Reply-To; if not, proceed to step 508.
[0147] The judgment process is to match the SIP message with the preset short message single-stop initial filtering rule iFC.
[0148] Step 508: When the S-CSCF network element does not include the short message single stop iFC reply parameter in the SIP message, it forwards the SIP message to the designated network element on the server side. In this embodiment, the designated network element is MGCF, but in actual applications, it is not limited to this.
[0149] Step 509: The MGCF replies to the S-CSCF network element that it does not support SIP Messag messages; or the MGCF reports an error or discards the SIP message.
[0150] In this embodiment, a trigger condition for "Short Message Single Stop iFC" is pre-set on the S-CSCF network element. That is, the header field of the SIP message does not include the reply parameter of Short Message Single Stop iFC. For example, the reply parameter includes In-Reply-To. Therefore, the S-CSCF network element will judge the SIP message sent by the UE and determine whether the SIP message includes the reply parameter of Short Message Single Stop iFC. The judgment process is to match the SIP message with the preset Short Message Single Stop iFC. When the matching result meets the preset trigger condition of Short Message Single Stop iFC, the SIP message is forwarded to the set network element on the server for processing or the SIP message is discarded. That is, the SIP message will not be sent to the called side normally, thus achieving the purpose of real-time single stop of short message service.
[0151] The present invention involves setting a response parameter for "Single Stop Short Message iFC" and cleverly incorporating the In-Reply-To response parameter within the "Single Stop Short Message iFC" triggering rule. The UE sends a SIP message encapsulated with a short message to the S-CSCF network element via the Edge Access Control (BAC) or the Proxy Call Session Control Function (P-CSCF) network element. The S-CSCF network element, after evaluation, determines that the SIP message encapsulated with the short message does not include the In-Reply-To response parameter. Therefore, the SIP message is sent to the designated network element (e.g., MGCF), thus achieving the purpose of single stop short message communication.
[0152] It should be noted that the triggering condition for short message single-stop iFC in this embodiment of the invention is: the SIP header field does not include the reply parameter In-Reply-To. Here, the reply parameter In-Reply-To is a parameter recognized by the S-CSCF network element (normally, if other string parameters are used, the S-CSCF network element may not be able to recognize them, and the S-CSCF network element will report an error. When a large number of UEs stop short messages, a large number of error messages will be generated, which may cause network problems or even congestion). In this embodiment, when the UE sends a SIPMessage to the S-CSCF network element, the S-CSCF network element immediately matches the received SIPMessage with the pre-stored short message single-stop iFC rules. When the S-CSCF network element recognizes that the SIPMessage header field does not include In-Reply-To, it discards the SIPMessage or transfers it to other network element devices (such as MGCF) for processing according to the set short message single-stop iFC triggering rules, thereby achieving the purpose of controlling short message single-stop.
[0153] For ease of understanding, please refer to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0154] First, on the S-CSCF, HSS, and / or UDM network elements, set the short message single-stop iFC=4444. Based on the iFC triggering rules for short message services based on the IMS network, add triggering conditions, as shown in the bold italicized portion of the following code segment. The iFC triggering rules and settings for short message services based on the IMS network are well-known to those skilled in the art and will not be elaborated upon here.
[0155]
[0156] or
[0157]
[0158] As can be seen from the above code segment, the triggering condition can be understood as: the SIP header field contains In-Reply-To, and the S-CSCF network element forwards the short message to the eSMSC. In reality, the SIPMESSAGE sent by the UE and forwarded by the P-CSCF network element to the S-CSCF network element does not contain In-Reply-To. This achieves the goal of the S-CSCF network element not forwarding the short message to the eSMSC, but instead sending it to a designated network element on the server side (such as the MGCF) for processing or discarding the SIP message.
[0159] In other words, the triggering condition can also be understood as: the SIP header field does not include In-Reply-To, and the S-CSCF network element sends the short message to a designated network element (such as MGCF) on the server side for processing or discarding the SIP message.
[0160] Secondly, UE_A signed iFC=4444.
[0161] Next, UE_A sends a short message, that is, the UE encapsulates the short message in a SIP MESSAGE and sends it to the S-CSCF via BAC / P-CS CF.
[0162] Finally, the S-CSCF determines that the SIP MESSAGE header field does not contain the reply parameter In-Reply-To, which does not meet the triggering rule iFC=4444. Therefore, the calling S-CSCF network element does not forward the SIP MESSAGE to the eSMSC. Instead, it routes the request containing the short message SIP MESSAGE to the MGCF through DNS preset resolution. However, the MGCF does not support the SIP MESSAGE request. That is, the MGCF replies to the S-CSCF network element with an unsupported message, or reports an error or discards the SIP MESSAGE, thus achieving the purpose of not being able to send short messages normally (short message service is suspended in real time).
[0163] It should be noted that, in this embodiment of the invention, in order to better achieve the technical effect of single-stop short message service, UE_A can simultaneously / sequentially delete short message service iFC and add a subscription to "single-stop short message iFC".
[0164] This invention is based on iFC, which sets up "Short Message Single Stop iFC" and cleverly uses the reply parameter In-Reply-To within the triggering rule of "Short Message Single Stop iFC". Since the reply parameter In-Reply-To is originally a parameter in the Message (RP_ACK) sent by the eSMSC to the S-CSCF, the reply parameter In-Reply-To is recognized by the S-CSCF. Therefore, without increasing additional investment or changing the network architecture, the purpose of real-time single stop of short messages is achieved.
[0165] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that this disclosure is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the present invention.
[0166] Figure 6 This is a block diagram of a short message service control device provided in an embodiment of the present invention. Referring to the figure, the device includes: the device is applied to a Service Call Session Control Function (S-CSCF) network element, including: a first receiving module 401 and a control processing module 402, wherein,
[0167] The first receiving module 401 is used to receive a Session Initiation Protocol (SIP) message sent by a User Equipment (UE), wherein the SIP message encapsulates a short message.
[0168] The control processing module 402 is used to, when the SIP message does not include the reply parameters of the Short Message Single Stop Initial Filtering Rule (iFC), transfer the SIP message to a designated network element on the server for processing (e.g., replying with "not supported" or "error") or discard the SIP message.
[0169] Optionally, in another embodiment, based on the above embodiments, the device further includes: a determining module, wherein,
[0170] This judgment module is used to determine whether the SIP message includes a short message single stop iFC reply parameter, the reply parameter including: In-Reply-To.
[0171] The control processing module is further configured to, when the judgment module determines that the SIP message does not include the reply parameter of the short message single stop iFC, transfer the SIP message to a designated network element on the server for processing or discard the SIP message.
[0172] Optionally, in another embodiment, based on the above embodiments, the determination module includes: a matching module and an identification module, wherein,
[0173] The matching module is used to match the SIP message with the preset Short Message Single Stop Initial Filtering Rule (iFC). The identification module is used to identify that the SIP message does not contain a reply parameter for Short Message Single Stop iFC when the matching result of the matching module meets the triggering condition of Short Message Single Stop iFC.
[0174] Optionally, in another embodiment, based on the above embodiments, the apparatus includes: a second receiving module, an updating module, and a sending module, wherein,
[0175] The second receiving module is used to receive a request from the Home Subscriber Server (HSS) to update the user's subscription short message service (ISFS) when the registered user's subscription data changes.
[0176] This update module is used to update the user's subscribed short message single stop iFC data stored in itself according to the request.
[0177] The sending module is used to send a response to the Home Subscriber Server (HSS) regarding the user's updated subscription short message service (ISS) data.
[0178] Optionally, in another embodiment, based on the above embodiments, the first receiving module is specifically used to receive a Session Initiation Protocol (SIP) message sent by the User Equipment (UE) through the Edge Access Control (BAC) or the Proxy Call Session Control Function (P-CSCF) network element.
[0179] Optionally, in another embodiment, based on the above embodiments, the device further includes: a setting module, wherein,
[0180] This setting module is used to pre-set the Short Message Single Stop iFC in the Serving Call Session Control Function (S-CSCF) network element before the receiving module receives the Session Initiation Protocol (SIP) message sent by the User Equipment (UE), and the triggering conditions for the Short Message Single Stop iFC. The triggering conditions include: the SIP message header field does not include the reply parameters of the Short Message Single Stop iFC, and the reply parameters include: In-Reply-To.
[0181] Please also see Figure 7 This invention provides a short message service control device, applied to a user equipment (UE), comprising: an encapsulation module 701 and a sending module 702, wherein...
[0182] The encapsulation module 701 is used to encapsulate short messages into SIP messages.
[0183] The sending module 702 is used to send the SIP message to the S-CSCF network element, so that when the S-CSCF network element receives a reply parameter including the short message single stop iFC in the SIP message, it can forward the SIP message to a designated network element on the server side for processing or discard the SIP message.
[0184] Optionally, in another embodiment, based on the above embodiment, the sending module is specifically used to send the SIP message to the S-CSCF network element through the Edge Access Control (BAC) or the Proxy Call Session Control (P-CSCF) network element; the SIP message does not include the short message single-stop iFC reply parameters, and the reply parameters include: In-Reply-To.
[0185] Optionally, in another embodiment, based on the above embodiments, the device further includes: a setting module, wherein,
[0186] This setting module is used to pre-configure the Short Message Single Stop iFC on the Home Subscriber Server (HSS) and / or Unified Data Management Function (UDM) network element before the encapsulation module encapsulates the short message into a SIP message, and to set the triggering conditions for the Short Message Single Stop iFC. The triggering conditions include: the SIP message header field does not include the reply parameters of the Short Message Single Stop iFC, and the reply parameters include: In-Reply-To.
[0187] Optionally, embodiments of the present invention also provide an electronic device, comprising:
[0188] processor;
[0189] Memory used to store the processor's executable instructions;
[0190] The processor is configured to execute the instructions to implement the short message service control method described above.
[0191] Optionally, embodiments of the present invention also provide a computer-readable storage medium, wherein when the instructions in the computer-readable storage medium are executed by the processor of an electronic device, the electronic device is able to execute the short message service control method as described above.
[0192] Optionally, embodiments of the present invention also provide a computer program product, including a computer program or instructions, which, when executed by a processor of an electronic device, implement the short message service control method described above.
[0193] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0194] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0195] Figure 8 This is a block diagram of an electronic device 800 provided in an embodiment of the present invention. For example, the electronic device 800 can be a mobile terminal or a server; in this embodiment, a mobile terminal is used as an example for explanation. For example, the electronic device 800 can be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0196] Reference Figure 8 The electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0197] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0198] Memory 804 is configured to store various types of data to support the operation of device 800. Examples of this data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0199] Power supply component 806 provides power to various components of electronic device 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.
[0200] Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0201] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0202] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0203] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 may detect the on / off state of device 800, the relative positioning of components such as the display and keypad of electronic device 800, changes in position of electronic device 800 or a component of electronic device 800, the presence or absence of user contact with electronic device 800, orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0204] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as WiFi, carrier networks (such as 2G, 3G, 4G, or 5G), or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0205] In the embodiments, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the short message service control method described above.
[0206] In this embodiment, a computer-readable storage medium is also provided, which, when executed by a processor of an electronic device, enables the electronic device 800 to perform the short message service control method described above. For example, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, or optical data storage device, etc.
[0207] In this embodiment, a computer program product is also provided, including a computer program or instructions that, when executed by the processor 820 of the electronic device 800, cause the electronic device 800 to perform the short message service control method described above.
[0208] Figure 9 This is a block diagram of an apparatus 900 for short message service control according to an embodiment of the present invention. For example, apparatus 900 can be provided as a server. (Refer to...) Figure 9 The apparatus 900 includes a processing component 922, which further includes one or more processors, and memory resources represented by memory 932 for storing instructions, such as application programs, that can be executed by the processing component 922. The application programs stored in memory 932 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 922 is configured to execute instructions to perform the methods described above.
[0209] The device 900 may also include a power supply component 926 configured to perform power management of the device 900, a wired or wireless network interface 950 configured to connect the device 900 to a network, and an input / output (I / O) interface 958. The device 900 can operate on an operating system stored in memory 932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.
[0210] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.
[0211] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A method for controlling short message services, characterized in that, The method is applied to the Service Call Session Control Function (S-CSCF) network element, on which a Short Message Single Stop Initial Filtering Rule (iFC) is set, along with triggering conditions for the iFC. The triggering conditions include: the SIP message header field does not include the reply parameters for the iFC, and the reply parameters include In-Reply-To. The method includes: Receive a Session Initiation Protocol (SIP) message sent by a User Equipment (UE), wherein the SIP message encapsulates a short message; Determine whether the SIP message includes a reply parameter for a short message single stop iFC, wherein the reply parameter includes: In-Reply-To; If the SIP message does not include the response parameters of the Short Message Single Stop Initial Filtering Rule (iFC), the SIP message will be forwarded to a designated network element on the server that does not support SIP message requests for processing or the SIP message will be discarded.
2. The short message service control method according to claim 1, characterized in that, The step of determining whether the SIP message includes a reply parameter for a short message single stop iFC includes: The SIP message is matched with a preset short message single stop iFC; When the matching result meets the preset triggering conditions for SMS Single Stop iFC, it is identified that the SIP message does not include the reply parameter of SMS Single Stop iFC.
3. The short message service control method according to claim 1 or 2, characterized in that, The method includes: When a registered user's subscription data changes, the system receives a request from the home subscriber server (HSS) to update the user's subscription via SMS to stop the iFC. Update the user's subscribed short message single stop iFC data stored in its own database according to the request; The HSS receives a response regarding the user's updated subscription SMS single stop iFC data.
4. The short message service control method according to claim 1 or 2, characterized in that, The receipt of the Session Initiation Protocol (SIP) message sent by the User Equipment (UE) includes: Receive Session Initiation Protocol (SIP) messages sent by the User Equipment (UE) through the Edge Access Control (BAC) or the Proxy Call Session Control Function (P-CSCF) network element.
5. A method for controlling short message services, characterized in that, The method pre-configures Short Message Single Stop (iFC) on the Service Call Session Control Function (S-CSCF) network element, the Home Subscriber Server (HSS) and / or the Unified Data Management Function (UDM) network element, and sets the triggering conditions for the iFC. The triggering conditions include: the SIP message header field does not contain a reply parameter for the iFC, and the reply parameter includes: In-Reply-To. The method is applied to the User Equipment (UE) and includes: Encapsulate the short message into a Session Initiation Protocol (SIP) message; The SIP message is sent to the S-CSCF network element so that if the S-CSCF network element does not include the short message single stop iFC reply parameter in the SIP message, it will forward the SIP message to a designated network element on the server that does not support SIP message requests for processing or discard the SIP message. The step of sending the SIP message to the S-CSCF network element includes: sending the SIP message to the S-CSCF network element through the Edge Access Control (BAC) device or the Proxy Call Session Control (P-CSCF) network element; the SIP message does not include the reply parameters of the Short Message Single Stop iFC, and the reply parameters include: In-Reply-To.
6. A short message service control device, characterized in that, The device is applied to the Service Call Session Control Function (S-CSCF) network element and includes: The configuration module is used to pre-configure the Short Message Single Stop Initial Filtering Rule (iFC) and the triggering conditions of the Short Message Single Stop iFC on the Service Call Session Control Function (S-CSCF) network element. The triggering conditions include: the SIP message header field does not include the reply parameters of the Short Message Single Stop iFC, and the reply parameters include: In-Reply-To. The first receiving module is used to receive a Session Initiation Protocol (SIP) message sent by a User Equipment (UE), wherein the SIP message encapsulates a short message. The judgment module is used to determine whether the SIP message includes a reply parameter for a short message single stop iFC, wherein the reply parameter includes: In-Reply-To; The control processing module is used to, when the judgment module determines that the SIP message does not include the reply parameters of the Short Message Single Stop Initial Filtering Rule (iFC), transfer the SIP message to a designated network element on the server that does not support SIP message requests for processing or discard the SIP message.
7. A short message service control device, characterized in that, The device is applied to a user equipment (UE) and includes: The configuration module is used to pre-configure the Short Message Single Stop iFC on the Service Call Session Control Function (S-CSCF) network element, the Home Subscriber Server (HSS) and / or the Unified Data Management Function (UDM) network element, as well as the triggering conditions for the Short Message Single Stop iFC. The triggering conditions include: the SIP message header field does not include the reply parameters of the Short Message Single Stop iFC, and the reply parameters include: In-Reply-To. The encapsulation module is used to encapsulate short messages into SIP messages; The first sending module is used to send the SIP message to the S-CSCF network element, so that when the S-CSCF network element does not include the short message single stop iFC reply parameter in the SIP message, it will forward the SIP message to a designated network element on the server side that does not support SIP message requests for processing or discard the SIP message.
8. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the short message service control method as described in any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the short message service control method as described in any one of claims 1 to 5.