A short message processing method, device, equipment and readable storage medium
Patent Information
- Application Number
- CN202210231135.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-10
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2042-03-10
AI Technical Summary
[0003]在实现本申请的过程中发明人发现,对于任何开通短消息发送业务的流程,例如,对于将一卡多号平台RNM(Roaming Number Management,漫游号码管理)放置于非副号网络的组网设计,都存在通过篡改SMSC(Short Message Service Center,短消息服务中心)地址而导致短消息被非法获取的风险
[0082]在本申请实施例中,当短消息中的目的地址未位于本网号段中且发送号码位于本网号段中时,如果确定所述发送号码未位于白名单中,则可拦截所述短消息。由此,利用本申请实施例的方案,通过对目的地址以及发送号码是否位于本网号段的判断,以及,在得到的判断结果的基础上对发送号码是否位于白名单中的判断,可避免通过篡改短消息服务中心地址而获取短消息内容的问题,从而提高了短消息的安全性。
Smart Images

Figure CN116782161B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a short message processing method, apparatus, device, and readable storage medium. Background Technology
[0002] Multiple numbers on a single SIM card refers to a service where a user can have multiple MSISDN (Mobile Station International ISDN) mobile phone numbers using a single SIM (Subscriber Identity Module) card. One number is called the primary number, and the others are called secondary numbers. Currently, domestic operators in China mainly offer this service to users who have a primary number abroad and roam into China, where the domestic operator provides one number as a secondary number. After providing the secondary number, the user can send text messages through it.
[0003] In the process of developing this application, the inventors discovered that for any process of activating SMS sending service, such as for a network design that places the roaming number management (RNM) platform on a non-sub-number network, there is a risk that SMS messages may be illegally obtained by tampering with the SMSC (Short Message Service Center) address. Summary of the Invention
[0004] This application provides a method, apparatus, device, and readable storage medium for processing short messages to improve the security of short messages.
[0005] In a first aspect, embodiments of this application provide a short message processing method applied to an ISTP (International Signalling Transfer Point), including:
[0006] Receive SMS messages;
[0007] Obtain the sender's number and destination address from the short message;
[0008] If the destination address is not in this network number segment and the sending number is in this network number segment, determine whether the sending number is in the whitelist;
[0009] If the sending number is not in the whitelist, the SMS message will be blocked.
[0010] The step of determining whether the sending number is in the whitelist includes:
[0011] Send a query request to the query device, the query request including the sending number;
[0012] Receive the query results from the query device;
[0013] Based on the query results, determine whether the sending number is in the whitelist.
[0014] The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
[0015] If the indication information indicates that the sending number has activated the one-card-multiple-numbers function service, the query result also includes: the global code SCCP (Signaling Connection Control Part) GT (Global Title) of the one-card-multiple-numbers platform, wherein the one-card-multiple-numbers platform includes the one-card-multiple-numbers platform that has activated the one-card-multiple-numbers function service for the sending number.
[0016] The step of determining whether the sending number is in the whitelist based on the query result includes:
[0017] If the indication information indicates that the sending number has not activated the one-card-multiple-numbers-service, it is determined that the sending number is not in the whitelist; if the indication information indicates that the sending number has activated the one-card-multiple-numbers-service, it is determined that the sending number is in the whitelist.
[0018] The method further includes:
[0019] If the sending number is in the whitelist, determine whether the SCCP GT is a signaling point code of this network;
[0020] If the SCCP GT is a local signaling point code, the short message will be filtered to the local RMN platform; otherwise, routing will be performed.
[0021] Secondly, embodiments of this application provide a short message processing method applied to a query device, including:
[0022] Receive a query request from ISTP, the query request including the sender number in the short message received by ISTP;
[0023] Based on the query request, the query result is sent to the ISTP, so that the ISTP can determine whether to block the short message based on the query result.
[0024] The step of sending the query result to the ISTP according to the query request includes:
[0025] The sending number is queried in the database to obtain the query results;
[0026] Send the query results to the ISTP.
[0027] The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
[0028] If the indication information indicates that the sending number has activated the one-card-multiple-numbers function service, the query result also includes: the SCCP GT of the one-card-multiple-numbers platform, wherein the one-card-multiple-numbers platform includes the one-card-multiple-numbers platform that has activated the one-card-multiple-numbers function service for the sending number.
[0029] The method further includes:
[0030] User data information is obtained from the local RNM and / or non-local RNM, including user data information of users who have activated the one-card-multiple-numbers-function service.
[0031] Thirdly, embodiments of this application provide a short message processing apparatus applied to ISTP, comprising:
[0032] The first receiving module is used to receive short messages;
[0033] The first acquisition module is used to acquire the sender number and destination address from the short message;
[0034] The first determining module is used to determine whether the sending number is in the whitelist if the destination address is not in the local number segment and the sending number is in the local number segment;
[0035] The first processing module is used to intercept the short message if the sending number is not in the whitelist.
[0036] The first determining module includes:
[0037] The sending submodule is used to send a query request to the query device, wherein the query request includes the sending number;
[0038] A receiving submodule is used to receive the query results from the query device;
[0039] The determination submodule is used to determine whether the sending number is in the whitelist based on the query results.
[0040] The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
[0041] If the indication information indicates that the sending number has activated the one-card-multiple-numbers function service, the query result also includes: the SCCP GT of the one-card-multiple-numbers platform, wherein the one-card-multiple-numbers platform includes the one-card-multiple-numbers platform that has activated the one-card-multiple-numbers function service for the sending number.
[0042] The determining submodule is used for:
[0043] If the indication information indicates that the sending number has not activated the one-card-multiple-numbers-service, it is determined that the sending number is not in the whitelist; if the indication information indicates that the sending number has activated the one-card-multiple-numbers-service, it is determined that the sending number is in the whitelist.
[0044] The device further includes:
[0045] The second determining module is used to determine whether the SCCP GT is a signaling point code of this network if the sending number is in the whitelist;
[0046] The second processing module is used to filter the short message to the local roaming number management (RNM) platform if the SCCP GT is a local signaling point code; otherwise, it performs routing addressing.
[0047] Fourthly, embodiments of this application provide a short message processing apparatus, applied to a query device, comprising:
[0048] The first receiving module is used to receive a query request from ISTP, the query request including the sending number in the short message received by ISTP;
[0049] The first sending module is used to send the query result to the ISTP according to the query request, so that the ISTP can determine whether to intercept the short message based on the query result.
[0050] The first sending module includes:
[0051] The acquisition submodule is used to query the sending number in the database and obtain the query result;
[0052] The sending submodule is used to send the query results to the ISTP.
[0053] The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
[0054] If the indication information indicates that the sending number has activated the one-card-multiple-numbers function service, the query result also includes: the SCCP GT of the one-card-multiple-numbers platform, wherein the one-card-multiple-numbers platform includes the one-card-multiple-numbers platform that has activated the one-card-multiple-numbers function service for the sending number.
[0055] The device further includes:
[0056] The acquisition module is used to acquire user data information from the local network RMN and / or non-local network RMN, the user data information including user data information of users who have activated the one-card-multiple-numbers function service.
[0057] Fifthly, embodiments of this application provide a short message processing apparatus for use with ISTP, comprising: a processor and a transceiver;
[0058] The transceiver is used to receive short messages;
[0059] The processor is configured to obtain the sending number and destination address from the short message; if the destination address is not in the local number segment and the sending number is in the local number segment, determine whether the sending number is in the whitelist; if the sending number is not in the whitelist, intercept the short message.
[0060] The processor is further configured to:
[0061] Send a query request to the query device, the query request including the sending number;
[0062] Receive the query results from the query device;
[0063] Based on the query results, determine whether the sending number is in the whitelist.
[0064] The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
[0065] If the indication information indicates that the sending number has activated the one-card-multiple-numbers function service, the query result also includes: the signaling connection control part global code SCCP GT of the one-card-multiple-numbers platform, wherein the one-card-multiple-numbers platform includes the one-card-multiple-numbers platform that has activated the one-card-multiple-numbers function service for the sending number.
[0066] The processor is further configured to:
[0067] If the indication information indicates that the sending number has not activated the one-card-multiple-numbers-service, it is determined that the sending number is not in the whitelist; if the indication information indicates that the sending number has activated the one-card-multiple-numbers-service, it is determined that the sending number is in the whitelist.
[0068] The processor is further configured to:
[0069] If the sending number is in the whitelist, determine whether the SCCP GT is a signaling point code of this network;
[0070] If the SCCP GT is a local signaling point code, the short message will be filtered to the local roaming number management (RNM) platform; otherwise, routing will be performed.
[0071] Sixthly, embodiments of this application provide a short message processing apparatus for use in a query device, comprising: a processor and a transceiver;
[0072] The transceiver is configured to receive a query request from the ISTP, the query request including the sender number in the short message received by the ISTP; and send the query result to the ISTP according to the query request, so that the ISTP can determine whether to block the short message based on the query result.
[0073] The processor is further configured to:
[0074] The sending number is queried in the database to obtain the query results;
[0075] Send the query results to the ISTP.
[0076] The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
[0077] If the indication information indicates that the sending number has activated the one-card-multiple-numbers function service, the query result also includes: the SCCP GT of the one-card-multiple-numbers platform, wherein the one-card-multiple-numbers platform includes the one-card-multiple-numbers platform that has activated the one-card-multiple-numbers function service for the sending number.
[0078] The processor is further configured to:
[0079] User data information is obtained from the local RNM and / or non-local RNM, including user data information of users who have activated the one-card-multiple-numbers-function service.
[0080] In a seventh aspect, embodiments of this application also provide a communication device, including: a transceiver, a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps in the short message processing method described above.
[0081] Eighthly, embodiments of this application also provide a readable storage medium storing a program that, when executed by a processor, implements the steps in the short message processing method described above.
[0082] In this embodiment of the application, when the destination address in a short message is not within the local network number segment but the sending number is within the local network number segment, if it is determined that the sending number is not in the whitelist, the short message can be intercepted. Therefore, by using the solution of this embodiment of the application to determine whether the destination address and the sending number are within the local network number segment, and based on the determined results, to determine whether the sending number is in the whitelist, the problem of obtaining short message content by tampering with the short message service center address can be avoided, thereby improving the security of short messages. Attached Figure Description
[0083] Figure 1 This is one of the flowcharts of the short message processing method provided in the embodiments of this application;
[0084] Figure 2 This is the second flowchart of the SMS processing method provided in the embodiments of this application;
[0085] Figure 3 This is the network diagram provided in the embodiments of this application after adding the RNM_DB network element for a multi-SIM card database;
[0086] Figure 4 This is the third flowchart of the short message processing method provided in the embodiments of this application;
[0087] Figure 5 This is one of the structural diagrams of the short message processing device provided in the embodiments of this application;
[0088] Figure 6 This is a second structural diagram of the short message processing device provided in the embodiments of this application;
[0089] Figure 7 This is the third structural diagram of the short message processing device provided in the embodiments of this application;
[0090] Figure 8 This is the fourth structural diagram of the short message processing device provided in the embodiments of this application. Detailed Implementation
[0091] In the embodiments of this application, the term "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.
[0092] In the embodiments of this application, the term "multiple" refers to two or more, and other quantifiers are similar.
[0093] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0094] This application proposes a short message processing method to ensure the security of short messages.
[0095] See Figure 1 , Figure 1 This is a flowchart of a short message processing method provided in an embodiment of this application, applied to ISTP. For example... Figure 1 As shown, it includes the following steps:
[0096] Step 101: Receive SMS messages.
[0097] The short message refers to the message sent.
[0098] Step 102: Obtain the sender number and destination address from the short message.
[0099] The sending number can be obtained from the TP-OA parameter, and the destination address can be obtained from the RP-DA parameter.
[0100] Step 103: If the destination address is not in this network number segment and the sending number is in this network number segment, determine whether the sending number is in the whitelist.
[0101] The ISTP can query the destination address and sending number within the current network number segment based on stored information, such as a database. If the destination address or sending number is located in the database, it can be assumed that the destination address or sending number is located within the current network number segment. The destination address includes the destination number, etc.
[0102] If the destination address is not in the local number segment but the sending number is in the local number segment, ISTP can send a query request to the query device, the query request including the sending number, and receive the query result from the query device. Based on the query result, ISTP determines whether the sending number is in the whitelist.
[0103] The query device can be a multi-SIM card platform database (RNM_DB network element). The query result includes indication information indicating whether the sending number has activated the multi-SIM card service. If the indication information indicates that the sending number has activated the multi-SIM card service, the query result also includes the SCCP GT of the multi-SIM card platform, where the multi-SIM card platform includes the multi-SIM card platform that activated the multi-SIM card service for the sending number. The local network number segment includes the number segment corresponding to the network to which the multi-SIM card platform that activated the multi-SIM card service for the user belongs.
[0104] Accordingly, in this step, if the indication information indicates that the sending number has not activated the one-card-multiple-numbers-service, ISTP determines that the sending number is not in the whitelist; if the indication information indicates that the sending number has activated the one-card-multiple-numbers-service, ISTP determines that the sending number is in the whitelist.
[0105] Step 104: If the sending number is not in the whitelist, intercept the SMS message.
[0106] As can be seen from the above, in this embodiment of the application, when the destination address in the short message is not within the local network number segment but the sending number is within the local network number segment, if it is determined that the sending number is not in the whitelist, the short message can be intercepted. Therefore, by using the solution of this embodiment of the application to determine whether the destination address and the sending number are within the local network number segment, and based on the determined results, to determine whether the sending number is in the whitelist, the problem of obtaining short message content by tampering with the short message service center address can be avoided, thereby improving the security of short messages.
[0107] In this embodiment of the application, to ensure the delivery of short messages, if the sending number is in the whitelist, ISTP determines whether the SCCP GT is a local network signaling point code. If the SCCP GT is a local network signaling point code, the short message is filtered to the local network's RNM platform; otherwise, routing is performed.
[0108] Specifically, the ISTP can query its database based on the sending number to determine if the sending number is a local network signaling point code. If the SCCP GT is a local network signaling point code, the short message is filtered and sent to the local network's RMN platform; otherwise, routing is performed. For example, routing can be performed based on the SCCP GT to a non-local network STP (Signalling Transfer Point), where the non-local network STP filters short messages belonging to different networks and sends them to a non-local network's multi-SIM RMN platform.
[0109] See Figure 2 , Figure 2 This is a flowchart of a short message processing method provided in an embodiment of this application, applied to a query device. For example... Figure 2 As shown, the method in this application embodiment includes the following steps:
[0110] Step 201: Receive a query request from ISTP, the query request including the sending number in the short message received by ISTP.
[0111] The query device can be a multi-SIM card platform database (RNM_DB network element). The RNM_DB network element has the following functions:
[0112] Function 1: Collect user data information of users who have activated the One SIM Multiple Number service from both the local and non-local One SIM Multiple Number platforms' RNMs. When there is a single or batch of new user activation data operations in either the local or non-local One SIM Multiple Number platform RNM, after the user data addition operation is successful, the local or non-local One SIM Multiple Number platform RNM will promptly send the newly added user data information to the One SIM Multiple Number database RNM_DB network element. Correspondingly, the RNM_DB network element can obtain the full set of user data information of users who have activated the One SIM Multiple Number service from either the local or non-local One SIM Multiple Number platform RNM, or the data information of newly added users who have activated the One SIM Multiple Number service. Alternatively, the RNM_DB network element may also proactively request full user data information of users who have activated the one-card-multiple-number service function from the local one-card-multiple-number platform RNM or a non-local one-card-multiple-number platform RNM, or newly added user data information of users who have activated the one-card-multiple-number service function.
[0113] Among them, "One Card, Multiple Numbers Platform (RNM)" refers to the RNM of the network that enables secondary numbers, while "One Card, Multiple Numbers Platform (RNM)" refers to other RNM platforms.
[0114] Function 2: Provides the ISTP network with the ability to query whether a user has activated the multi-SIM card service. The multi-SIM card database RNM_DB network element receives query requests from ISTP to check whether a user has activated the multi-SIM card service. This query request may include user number parameters (such as the sending number). The RNM_DB network element queries its own database to determine whether the number has activated the multi-SIM card service and returns the query result to the ISTP network element. The result returned to ISTP not only includes an indication of whether the queried user's multi-SIM card service is activated, but also, if it is confirmed that the number has activated the multi-SIM card service, includes the corresponding SCCP GT of the multi-SIM card platform in the query result.
[0115] Step 202: Based on the query request, send the query result to the ISTP, so that the ISTP can determine whether to block the short message based on the query result.
[0116] In this step, the query device queries the database for the sending number, obtains the query result, and sends the query result to the ISTP.
[0117] The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers service. If the indication information indicates that the sending number has activated the one-card-multiple-numbers service, the query result also includes: the SCCP GT of the one-card-multiple-numbers platform, which includes the one-card-multiple-numbers platform that activated the one-card-multiple-numbers service for the sending number.
[0118] Specifically, if the sending number is located in the database, the query result includes indication information indicating that the sending number has activated the one-card-multiple-numbers service, and the corresponding SCCP GT of the one-card-multiple-numbers platform. Otherwise, the query result only includes indication information indicating that the sending number has not activated the one-card-multiple-numbers service.
[0119] As can be seen from the above, in this embodiment of the application, when the destination address in the short message is not within the local network number segment but the sending number is within the local network number segment, if it is determined that the sending number is not in the whitelist, the short message can be intercepted. Therefore, by using the solution of this embodiment of the application to determine whether the destination address and the sending number are within the local network number segment, and based on the determined results, to determine whether the sending number is in the whitelist, the problem of obtaining short message content by tampering with the short message service center address can be avoided, thereby improving the security of short messages.
[0120] See Figure 3 As shown, Figure 3 The network diagram after adding the One SIM Multiple Number Database RNM_DB network element. When there are single or batch data operations for adding users to activate the One SIM Multiple Number service on both the local One SIM Multiple Number Platform RNM (local RNM) and the non-local One SIM Multiple Number Platform RNM (non-local RNM), after the user data addition operation is successful, the local One SIM Multiple Number Platform RNM or the non-local One SIM Multiple Number Platform RNM will promptly send the newly added user data information to the One SIM Multiple Number Database RNM_DB network element.
[0121] To avoid the security risk of illegally obtaining users' SMS content without their knowledge by illegally modifying the SMSC address parameter RP-DA in sent SMS messages to a non-local address, combined with... Figure 3 and Figure 4 The ISTP processing procedure in this embodiment may include the following steps:
[0122] Step 401: ISTP receives the MO_FSM (Mobile originating forward short message) message and extracts the TP (Transfer protocol)-OA (Originating Address) parameter and the RP (Reply Path)-DA (Destination Address) parameter.
[0123] Step 402: ISTP determines whether the RP-DA parameter is located within the current network segment. If yes, the MO_FSM procedure is executed. Otherwise, step 403 is executed.
[0124] Step 403: ISTP determines whether the TP-OA parameter is within the current network segment. If not, the MO_FSM procedure is executed. Otherwise, step 404 is executed.
[0125] Step 404: ISTP sends a query request, including the TP-OA parameter, to the RNM_DB network element of the One SIM Multiple Number platform, and determines whether the TP-OA parameter has enabled the One SIM Multiple Number function based on the result returned by the RNM_DB network element. If yes, proceed to step 406; otherwise, proceed to step 405.
[0126] Step 405: Intercept the short message.
[0127] Step 406: ISTP determines whether the SCCP GT in the query result is a local network signaling point code. If yes, proceed to step 407; otherwise, proceed to step 408.
[0128] Step 407: Filter the short messages to the network's One Card Multiple Number RMN platform.
[0129] Step 408: ISTP directly executes SCCP GT routing to a non-local STP, which then filters short messages from users who do not belong to the same network and directs them to a non-local SIM card multi-number RMN platform.
[0130] By utilizing the solution of this application embodiment, by determining whether the TP-OA parameter and RP-DA parameter are located in the same network number segment, and based on the determination result, determining whether the TP-OA parameter has enabled the one-card-multiple-numbers function service, the problem of obtaining SMS content by tampering with the SMS service center address can be avoided, thereby improving the security of SMS.
[0131] This application also provides a short message processing device for use with ISTP. See also Figure 5 , Figure 5 This is a structural diagram of the short message processing device provided in an embodiment of this application. For example... Figure 5 As shown, the short message processing device 500 includes:
[0132] The first receiving module 501 is used to receive short messages; the first obtaining module 502 is used to obtain the sending number and destination address from the short message; the first determining module 503 is used to determine whether the sending number is in the whitelist if the destination address is not in the local number segment and the sending number is in the local number segment; the first processing module 504 is used to intercept the short message if the sending number is not in the whitelist.
[0133] The first determining module includes:
[0134] The sending submodule is used to send a query request to the query device, wherein the query request includes the sending number;
[0135] A receiving submodule is used to receive the query results from the query device;
[0136] The determination submodule is used to determine whether the sending number is in the whitelist based on the query results.
[0137] The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
[0138] If the indication information indicates that the sending number has activated the one-card-multiple-numbers function service, the query result also includes: the SCCP GT of the one-card-multiple-numbers platform, wherein the one-card-multiple-numbers platform includes the one-card-multiple-numbers platform that has activated the one-card-multiple-numbers function service for the sending number.
[0139] The determining submodule is used for:
[0140] If the indication information indicates that the sending number has not activated the one-card-multiple-numbers-service, it is determined that the sending number is not in the whitelist; if the indication information indicates that the sending number has activated the one-card-multiple-numbers-service, it is determined that the sending number is in the whitelist.
[0141] The device further includes:
[0142] The second determining module is used to determine whether the SCCP GT is a signaling point code of this network if the sending number is in the whitelist;
[0143] The second processing module is used to filter the short message to the local roaming number management (RNM) platform if the SCCP GT is a local signaling point code; otherwise, it performs routing addressing.
[0144] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0145] This application also provides a short message processing device for use with ISTP. See also Figure 6 , Figure 6 This is a structural diagram of the short message processing device provided in an embodiment of this application. For example... Figure 6 As shown, the short message processing device 600 includes:
[0146] The first receiving module 601 is used to receive a query request from ISTP, the query request including the sending number in the short message received by ISTP; the first sending module 602 is used to send the query result to ISTP according to the query request, so that ISTP can determine whether to intercept the short message based on the query result.
[0147] The first sending module includes:
[0148] The acquisition submodule is used to query the sending number in the database and obtain the query result;
[0149] The sending submodule is used to send the query results to the ISTP.
[0150] The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
[0151] If the indication information indicates that the sending number has activated the one-card-multiple-numbers function service, the query result also includes: the SCCP GT of the one-card-multiple-numbers platform, wherein the one-card-multiple-numbers platform includes the one-card-multiple-numbers platform that has activated the one-card-multiple-numbers function service for the sending number.
[0152] The device further includes:
[0153] The acquisition module is used to acquire user data information from the local network RMN and / or non-local network RMN, the user data information including user data information of users who have activated the one-card-multiple-numbers function service.
[0154] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0155] This application also provides a short message processing device for use with ISTP. See also Figure 7 , Figure 7 This is a structural diagram of the short message processing device provided in an embodiment of this application. For example... Figure 7 As shown, the short message processing device includes: a processor 701 and a transceiver 702;
[0156] The transceiver is used to receive short messages;
[0157] The processor is configured to obtain the sending number and destination address from the short message; if the destination address is not in the local number segment and the sending number is in the local number segment, determine whether the sending number is in the whitelist; if the sending number is not in the whitelist, intercept the short message.
[0158] The processor is further configured to:
[0159] Send a query request to the query device, the query request including the sending number;
[0160] Receive the query results from the query device;
[0161] Based on the query results, determine whether the sending number is in the whitelist.
[0162] The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
[0163] If the indication information indicates that the sending number has activated the one-card-multiple-numbers function service, the query result also includes: the signaling connection control part global code SCCP GT of the one-card-multiple-numbers platform, wherein the one-card-multiple-numbers platform includes the one-card-multiple-numbers platform that has activated the one-card-multiple-numbers function service for the sending number.
[0164] The processor is further configured to:
[0165] If the indication information indicates that the sending number has not activated the one-card-multiple-numbers-service, it is determined that the sending number is not in the whitelist; if the indication information indicates that the sending number has activated the one-card-multiple-numbers-service, it is determined that the sending number is in the whitelist.
[0166] The processor is further configured to:
[0167] If the sending number is in the whitelist, determine whether the SCCP GT is a signaling point code of this network;
[0168] If the SCCP GT is a local signaling point code, the short message will be filtered to the local roaming number management (RNM) platform; otherwise, routing will be performed.
[0169] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0170] This application also provides a short message processing device for use in query devices. See also... Figure 8 , Figure 8 This is a structural diagram of the short message processing device provided in an embodiment of this application. For example... Figure 8 As shown, the short message processing device includes: a processor 801 and a transceiver 802;
[0171] The transceiver is configured to receive a query request from the ISTP, the query request including the sender number in the short message received by the ISTP; and send the query result to the ISTP according to the query request, so that the ISTP can determine whether to block the short message based on the query result.
[0172] The processor is further configured to:
[0173] The sending number is queried in the database to obtain the query results;
[0174] Send the query results to the ISTP.
[0175] The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
[0176] If the indication information indicates that the sending number has activated the one-card-multiple-numbers function service, the query result also includes: the SCCP GT of the one-card-multiple-numbers platform, wherein the one-card-multiple-numbers platform includes the one-card-multiple-numbers platform that has activated the one-card-multiple-numbers function service for the sending number.
[0177] The processor is further configured to:
[0178] User data information is obtained from the local RNM and / or non-local RNM, including user data information of users who have activated the one-card-multiple-numbers-function service.
[0179] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0180] It should be noted that the division of units in the embodiments of this application is illustrative and only represents one logical functional division. In actual implementation, other division methods may be used. 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 units described above can be implemented in hardware or as software functional units.
[0181] 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 processor-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.) or processor 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 USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0182] This application provides a communication device, including: a memory, a processor, and a program stored in the memory and executable on the processor; the processor is configured to read the program from the memory to implement the steps in the information processing method described above.
[0183] This application also provides a readable storage medium storing a program. When executed by a processor, this program implements the various processes of the above-described information processing method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here. The readable storage medium can be any available medium or data storage device that the processor can access, including but not limited to magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).
[0184] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0185] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0186] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A short message processing method, applied to the International Signalling Point (ISTP), characterized in that, include: Receive SMS messages; Obtain the sender's number and destination address from the short message; If the destination address is not in this network number segment and the sending number is in this network number segment, determine whether the sending number is in the whitelist; If the sending number is not in the whitelist, the SMS message will be blocked. The step of determining whether the sending number is in the whitelist includes: Send a query request to the query device, the query request including the sending number; Receive the query results from the query device; Based on the query results, determine whether the sending number is in the whitelist; The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
2. The method according to claim 1, characterized in that, If the indication information indicates that the sending number has activated the one-card-multiple-numbers function service, the query result also includes: the signaling connection control part global code SCCPGT of the one-card-multiple-numbers platform, wherein the one-card-multiple-numbers platform includes the one-card-multiple-numbers platform that has activated the one-card-multiple-numbers function service for the sending number.
3. The method according to claim 1, characterized in that, The step of determining whether the sending number is in the whitelist based on the query result includes: If the indication information indicates that the sending number has not activated the one-card-multiple-numbers-service, it is determined that the sending number is not in the whitelist; if the indication information indicates that the sending number has activated the one-card-multiple-numbers-service, it is determined that the sending number is in the whitelist.
4. The method according to claim 2, characterized in that, The method further includes: If the sending number is in the whitelist, determine whether the SCCP GT is a signaling point code of this network; If the SCCP GT is a local signaling point code, the short message will be filtered to the local roaming number management (RNM) platform; otherwise, routing will be performed.
5. A short message processing method, applied to a query device, characterized in that, include: Receive a query request from ISTP, the query request including the sender number in the short message received by ISTP; Based on the query request, a query result is sent to the ISTP, so that the ISTP can determine whether to block the short message based on the query result; The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
6. The method according to claim 5, characterized in that, Sending the query result to the ISTP according to the query request includes: The sending number is queried in the database to obtain the query results; Send the query results to the ISTP.
7. The method according to claim 5, characterized in that, If the indication information indicates that the sending number has activated the one-card-multiple-numbers service, the query result also includes: the SCCP GT of the one-card-multiple-numbers platform, wherein the one-card-multiple-numbers platform includes the one-card-multiple-numbers platform that has activated the one-card-multiple-numbers service for the sending number.
8. The method according to claim 5, characterized in that, The method further includes: User data information is obtained from the local RNM and / or non-local RNM, including user data information of users who have activated the one-card-multiple-numbers-function service.
9. A short message processing device, applied to ISTP, characterized in that, include: The first receiving module is used to receive short messages; The first acquisition module is used to acquire the sender number and destination address from the short message; The first determining module is used to determine whether the sending number is in the whitelist if the destination address is not in the local number segment and the sending number is in the local number segment; The first processing module is used to intercept the SMS message if the sending number is not in the whitelist; The first determining module includes: The sending submodule is used to send a query request to the query device, wherein the query request includes the sending number; A receiving submodule is used to receive the query results from the query device; The determination submodule is used to determine whether the sending number is in the whitelist based on the query results; The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
10. A short message processing device, applied to a query device, characterized in that, include: The first receiving module is used to receive a query request from ISTP, the query request including the sending number in the short message received by ISTP; The first sending module is used to send a query result to the ISTP according to the query request, so that the ISTP can determine whether to block the short message based on the query result; The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
11. A short message processing device, applied to ISTP, characterized in that, include: Processor and transceiver; The transceiver is used to receive short messages; The processor is configured to obtain the sender's number and destination address from the short message; if the destination address is not in the local number segment but the sender's number is in the local number segment, determine whether the sender's number is in the whitelist; if the sender's number is not in the whitelist, intercept the short message; The processor is further configured to: send a query request to a query device, the query request including the sending number; receive the query result from the query device; and determine, based on the query result, whether the sending number is in a whitelist. The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
12. A short message processing device, applied to a query device, characterized in that, include: Processor and transceiver; The transceiver is configured to receive a query request from the ISTP, the query request including the sender number in the short message received by the ISTP; and send a query result to the ISTP according to the query request, so that the ISTP can determine whether to block the short message based on the query result. The query result includes indication information, which indicates whether the sending number has activated the one-card-multiple-numbers function.
13. A communication device, comprising: A memory, a processor, and a program stored in the memory and executable on the processor; characterized in that the processor is configured to read the program from the memory to implement the steps of the short message processing method as described in any one of claims 1 to 8.
14. A readable storage medium for storing a program, characterized in that, When the program is executed by the processor, it implements the steps of the short message processing method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Monitoring system for inter-provincial roaming message and realizing method
CN101616397A
Sending method and apparatus, and receiving method and apparatus of mobile terminal, and mobile terminal
CN106231571A