A short message deduction detection method, device and storage medium
By injecting detection numbers into the SMS stream and comparing them with query records from the operator's server and sending receipts from the service provider, the problem of low efficiency in SMS deduction detection is solved, and efficient SMS deduction detection is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ALIBABA (CHINA) CO LTD
- Filing Date
- 2022-12-26
- Publication Date
- 2026-04-24
AI Technical Summary
In the process of detecting SMS data deduction, existing technologies require querying data from the operator's gateway, resulting in poor efficiency and a significant waste of manpower and resources.
The detection number is used to construct a detection SMS and inject it into the SMS stream. After the operator's server identifies the detection number, it performs a processing action query and detects SMS data deduction behavior by comparing query record information and sending receipt information.
Without the service provider's server being aware of it, the efficiency of SMS data deduction detection is improved, the dependence on operator servers is reduced, and the accuracy and efficiency of detection are enhanced.
Smart Images

Figure CN115988555B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of cloud communication technology, and in particular to a method, device and storage medium for detecting SMS data deduction. Background Technology
[0002] SMS deduction refers to the fraudulent activity by which SMS service providers, when sending mass SMS messages to businesses, exploit the opportunity of providing SMS services to manipulate the SMS delivery status through computer software programs or manual intervention, to fake the successful delivery of SMS messages and thus falsify the SMS service settlement for the businesses.
[0003] Currently, detecting SMS fraud requires querying gateway data from the mobile carrier to determine whether the SMS was actually sent by the SMS service provider. This query process is lengthy and consumes a lot of manpower and resources, resulting in poor efficiency in detecting SMS fraud. Summary of the Invention
[0004] This application provides a method, device, and storage medium for detecting SMS data deduction, thereby improving the efficiency of SMS data deduction detection.
[0005] This application provides a method for detecting SMS data deduction, the method comprising:
[0006] Use the detection number to construct a detection SMS message;
[0007] The detection SMS is injected into the SMS stream that needs to be detected, so that when the operator server recognizes the detection number, it can perform a query operation on the detection SMS corresponding to the detection number.
[0008] The query record information generated by the action query operation and the sending receipt information corresponding to the detection SMS are compared to detect SMS deduction behavior.
[0009] This application also provides a computing device, including a memory, a processor, and a communication component;
[0010] The memory is used to store one or more computer instructions;
[0011] The processor, coupled to the memory and the communication component, is configured to execute the one or more computer instructions for:
[0012] Use the detection number to construct a detection SMS message;
[0013] The detection SMS is injected into the SMS stream to be detected through the communication component, so that the operator server can perform a query operation on the detection SMS corresponding to the detection number when the detection number is identified.
[0014] The query record information generated by the action query operation and the sending receipt information corresponding to the detection SMS are compared to detect SMS deduction behavior.
[0015] This application also provides a computer-readable storage medium storing computer instructions, which, when executed by a machine or processor, cause the machine or processor to perform the aforementioned SMS deduction detection method.
[0016] In this embodiment, a detection SMS message is constructed using a detection number and injected back into the SMS stream. The detection SMS message is mixed in with the SMS stream and will be processed as a normal SMS message by the service provider's server. After the detection SMS message is sent from the service provider's server to the operator's server, the operator's server can initiate a query operation to determine the appropriate action for the detection SMS message, thereby triggering the generation of query record information corresponding to the detection SMS message. In this embodiment, the query record information generated by the detection SMS message and the sending receipt information returned by the service provider's server can be compared to detect SMS data deduction behavior. Therefore, in this embodiment, the query record information and sending receipt information can be compared to detect SMS data deduction behavior without the service provider's server being aware of it, eliminating the need to query the operator's server's gateway data, thus effectively improving the efficiency of SMS data deduction detection. Attached Figure Description
[0017] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0018] Figure 1 This is a schematic diagram illustrating the existing SMS sending principle.
[0019] Figure 2a This is a flowchart illustrating an exemplary embodiment of the present application of a method for detecting SMS data deduction.
[0020] Figure 2b A schematic diagram illustrating the SMS sending principle under an exemplary embodiment of this application, which is provided by an SMS deduction detection method.
[0021] Figure 3 A logical schematic diagram of an optional implementation scheme for SMS data deduction detection provided for an exemplary embodiment of this application;
[0022] Figure 4 This is a logical diagram illustrating an optional comparison method provided by an exemplary embodiment of this application.
[0023] Figure 5 This is a schematic diagram of the structure of a text message deduction detection device, which is another exemplary embodiment of this application. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0025] Currently, the efficiency of detecting SMS data deduction is poor. To address this, some embodiments of this application propose using a detection number to construct a detection SMS message and injecting it back into the SMS stream. The detection SMS message is mixed in with the SMS stream and will be processed as a normal SMS message by the service provider's server. After the detection SMS message is sent from the service provider's server to the operator's server, the operator's server can initiate a query operation to determine the appropriate action for the detection SMS message, thereby triggering the generation of query record information corresponding to the detection SMS message. In this embodiment, the query record information generated by the detection SMS message and the sending receipt information returned by the service provider's server can be compared to detect SMS data deduction behavior. Therefore, in this embodiment, the query record information and sending receipt information can be compared to detect SMS data deduction behavior without the service provider's server being aware of it, eliminating the need to query the operator's server's gateway data, thus effectively improving the efficiency of SMS data deduction detection.
[0026] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0027] Figure 1 This is a schematic diagram illustrating the existing SMS sending principle. (Reference) Figure 1 First, the SMS stream is submitted to the service provider's server through the SMS gateway. The service provider's server then submits the entire SMS stream to the operator's server. The operator's server can then send SMS messages to the destination numbers indicated by each message in the SMS stream. The SMS data deduction occurs at the service provider's server level. (See reference...) Figure 1If a service provider's server engages in SMS data deduction, the corresponding SMS message will not be submitted to the operator's server. Instead, the service provider's server will directly generate a delivery receipt for the deducted SMS message and record the delivery result in the receipt. Clearly, this delivery receipt is fabricated. This embodiment aims to detect whether a service provider's server is engaging in SMS data deduction. The Short Message Gateway (SMG) provides a secure and fast channel for data exchange during SMS sending and receiving. In this embodiment, the SMG connects to the service provider's server and provides the SMS stream to it. The operator's server can refer to the server used by a network operator for SMS sending; current network operators include China Mobile, China Telecom, and China Unicom. The service provider's server can be a server used by an SMS service provider to provide SMS services. An SMS service provider is a business that provides SMS sending services to customers based on their requests. The SMS service provider obtains the right to use network resources through an agreement with the network operator to send SMS messages. In this embodiment, the service provider's server can initiate an SMS sending request to the operator's server to request the operator's server to use relevant network resources for SMS sending.
[0028] Figure 2a This application provides a flowchart illustrating an exemplary embodiment of a method for detecting SMS data deduction. Figure 2b This is a schematic diagram illustrating the SMS sending principle under an exemplary embodiment of the present application, providing a method for detecting SMS data deduction. The SMS data deduction detection method provided in this embodiment can be executed by a computing device. In this embodiment, the computing device used for SMS data deduction detection is described as an SMS data deduction detection device. The physical implementation of the SMS data deduction detection device can be a conventional server or a cloud server, etc. This embodiment does not limit the physical implementation of the SMS data deduction detection device.
[0029] refer to Figure 2a The method may include:
[0030] Step 201: Construct a detection SMS using the detection number;
[0031] Step 202: Inject the detection SMS into the SMS stream to be detected, so that the operator's server can perform a query operation on the detection SMS corresponding to the detection number when it recognizes the detection number.
[0032] Step 203: Compare the query record information generated by the action query operation with the sending receipt information corresponding to the detection SMS to detect SMS deduction behavior.
[0033] The SMS traffic deduction detection method provided in this embodiment can be applied to various scenarios requiring SMS traffic deduction detection, such as SMS service scenarios in cloud communications. This embodiment does not limit the application scenario. Here, an SMS stream refers to the actual customer traffic that needs to be sent, and the SMS stream contains several SMS messages. For each SMS message, there is a designated destination number, which is the number to be sent to. The SMS messages in the SMS stream should be sent to the corresponding destination number.
[0034] refer to Figure 2a In step 201, a detection SMS can be constructed using a detection number. That is, in this embodiment, the destination number of the detection SMS can be a detection number. This detection number can be identified by the operator's server. In some possible designs, the detection number can be registered in the operator's server so that it can be identified by the operator's server. In other possible designs, special number segment information or other identifying information can be configured in the detection number to allow it to be identified by the operator's server. In this way, the operator's server can identify the detection number by recognizing this identifying information.
[0035] To better prevent service provider servers from evading SMS traffic deduction detection, this embodiment proposes that target SMS messages be obtained from the SMS stream during the sending process; and the destination number of the target SMS message be replaced with a detection number to generate a detection SMS message corresponding to the target SMS message. In this embodiment, multiple target SMS messages can be obtained from the SMS stream, and each obtained target SMS message can be processed separately. Figure 2a The detection logic within the system continuously and comprehensively detects SMS message deduction behavior, thereby improving detection accuracy.
[0036] Figure 3 This is a logical diagram illustrating an optional implementation scheme for SMS data deduction detection provided as an exemplary embodiment of this application. (Reference) Figure 3In this embodiment, considering the large volume of SMS messages, to make the SMS message deduction detection device in this embodiment more lightweight, in a preferred implementation, the target SMS message can be filtered out from the SMS message stream by a direct contact. This direct contact can be a risk control server, an SMS gateway, etc. Taking the filtering of target SMS messages by a risk control server as an example, in this preferred implementation, the identification information of the target SMS message provided by the risk control server can be received; based on the identification information, the target SMS message is obtained from the SMS message stream. The risk control server can be a server used for risk monitoring of the SMS message stream. The risk control server can provide the SMS message stream to a service provider server through an SMS gateway. There can be one or more service provider servers, and as mentioned above, the SMS gateway is responsible for establishing a connection with the service provider server. In this preferred implementation, after filtering out the target SMS message, the risk control server sends the identification information of the target SMS message to the SMS message deduction detection device in this embodiment.
[0037] It should be understood that, in this embodiment, in addition to the above-described implementation method, other implementation methods can also be used to obtain the target SMS from the SMS stream, and it is not limited to this. For example, the SMS deduction detection device in this embodiment can synchronously copy the SMS stream and automatically filter out the target SMS, etc.
[0038] In this embodiment, in order to better cover various sending scenarios of the SMS stream, the target SMS can be filtered out from the SMS stream according to specified rules.
[0039] An exemplary filtering scheme could be as follows: if the number of SMS messages sent within the current statistical period that meet the filtering parameters has already reached a specified threshold, then for subsequent SMS messages to be sent within the current statistical period that meet the filtering parameters, if the current filtering period has not ended and there are remaining target SMS slots within it, or if the current filtering period has ended and a new filtering period has been initiated triggered by the SMS message to be sent, then the SMS message to be sent is identified as a target SMS message; wherein, a specified number of target SMS slots are set within the filtering period. Filtering parameters may include one or more of customer identifiers, template types, and industry dimensions. Customer identifiers can be used to uniquely identify customers, template types may include, but are not limited to, verification code types, notification types, promotion types, etc., and industry dimensions may include, but are not limited to, logistics, e-commerce, finance, etc.
[0040] In this exemplary scheme, if the current SMS to be sent does not meet the conditions that the current filtering period has not ended and there are remaining target SMS slots, or that the current filtering period has ended and a new filtering period has been initiated triggered by the SMS to be sent, then the current SMS to be sent will not be filtered as a target SMS. The subsequent SMS messages to be sent within the current statistical period can continue to be judged until the current statistical period ends. If the current statistical period ends, the next statistical period can begin, and SMS counting restarts in the next statistical period. If the number of SMS messages matching the filtering parameters sent in the next statistical period has reached a specified threshold, the aforementioned judgment logic based on the filtering period will continue to be executed on subsequent SMS messages to be sent within the next statistical period that match the filtering parameters, in order to continue filtering target SMS messages. That is, during the SMS stream sending process, target SMS messages can be continuously filtered out according to the above filtering scheme.
[0041] In this exemplary filtering scheme, the SMS stream can be periodically statistically analyzed. Within the current statistical period, the number of sent SMS messages that meet the filtering parameters can be counted. If this number reaches a specified threshold, then for each subsequent SMS message to be sent that meets the filtering parameters within the current statistical period, the aforementioned judgment logic based on the filtering time period is executed. SMS messages to be sent that meet this judgment logic can be filtered as target SMS messages. A filtering time period can be understood as a period of time that can be created and ends upon expiration. As described above, the creation condition for a filtering time period is that an SMS message meeting the trigger condition appears in the SMS stream after the previous filtering time period ends. This trigger condition means that the number of SMS messages that meet the filtering parameters and have been sent within the current statistical period has reached a specified threshold.
[0042] In this exemplary filtering scheme, a specified number of target SMS messages are set for the filtering period. That is, the number of target SMS messages that can be filtered within the filtering period is limited. Each target SMS message filtered within the filtering period occupies one target SMS message quota. Once the target SMS message quota for the filtering period is exhausted, even if an SMS message that meets the aforementioned other conditions appears during the filtering period, it will not be identified as a target SMS message due to insufficient target SMS message quota.
[0043] For example, you can use "customer ID + verification code template + e-commerce industry" as the filter parameters, set the statistical period to 10 minutes, the specified threshold to 50,000 messages, the filter time period to 3 minutes, and the target SMS quota within the filter time period to 3. Then, within the current statistical period, it can count the SMS messages that match these filter parameters. Once 50,000 such SMS messages have been sent, it continues to wait for the 50,000+1th SMS message that matches the filter parameters within the current statistical period. When this 50,000+1st SMS message is sent, assuming the current filter time period has not ended and there are still remaining target SMS quotas, this SMS message is selected as the target SMS message. Then, the SMS stream is sent to the 50,000+1st SMS message. When the SMS stream reaches 50,000+2 messages, because the current filtering period has not ended and there are still remaining target SMS slots, the 50,000+2 SMS is also filtered as a target SMS. When the SMS stream reaches 50,000+3 messages, because the current filtering period has not ended and there are still remaining target SMS slots, the 50,000+3 SMS is also filtered as a target SMS. When the SMS stream reaches 50,000+4 messages, because the current filtering period has not ended but there are no remaining target SMS slots, the 50,000+4 SMS will not be filtered as a target SMS. The same applies to the subsequent 50,000+5, 50,000+6, and 50,000+7 SMS messages; none of them will be filtered as target SMS. Suppose that when the SMS stream reaches 50,000+8 messages, the current filtering period has ended. Since the 50,000+8 SMS meets the conditions for triggering the creation of a new filtering period, a new filtering period is triggered. In this new filtering period, there are target SMS slots that can be occupied by the 50,000+8 SMS, so the 50,000+8 SMS can be filtered as a target SMS.
[0044] It is important to emphasize that all parameters involved in this exemplary screening scheme are adjustable. In practical applications, these parameters can be flexibly adjusted according to detection needs. It is understood that adjusting these parameters will change the characteristics of the selected target SMS messages. Therefore, by adjusting these parameters, target SMS messages that meet the detection requirements can be selectively filtered. Moreover, this embodiment supports adjusting individual parameters, as well as joint adjustments. For example, if the detection requirement is to detect whether there is SMS message deduction behavior targeting high-traffic customers, the aforementioned specified threshold can be set higher, and the historical duration can be set shorter. This will result in more selected target SMS messages coming from high-traffic customers. Conversely, if the detection requirement is to perform general detection, the aforementioned specified threshold can be set lower, so that the selected target SMS messages may come from any customer. As another example, if the detection requirement is to detect whether there is SMS message deduction behavior targeting promotional SMS messages, the template type in the screening parameters can be restricted to promotional SMS messages. This will result in more selected target SMS messages coming from verification code SMS traffic.
[0045] In the above exemplary filtering scheme, by configuring specified thresholds and filtering parameters, target SMS messages can be filtered out during peak SMS flow periods. This ensures that detection SMS messages generated based on target SMS messages will also be injected into the SMS flow during peak periods, making them less likely to be detected during periods of high traffic. Furthermore, by setting filtering time periods and the number of target SMS messages, the filtering frequency of target SMS messages can be controlled. The filtering frequency should be matched to the peak SMS flow periods as much as possible, and the number of messages filtered each time should be controlled to prevent too many target SMS messages from being filtered out at once, which would result in too many detection SMS messages being injected into the SMS flow, thus avoiding detection.
[0046] Of course, the target SMS filtering scheme in this embodiment is not limited to this. Other filtering schemes can also be used in this embodiment. For example, target SMS messages can be filtered out from the SMS stream periodically or randomly. Other filtering schemes will not be listed exhaustively here.
[0047] After selecting the target SMS message, in this embodiment, preferably, the SMS content and configuration parameters corresponding to the target SMS message can be obtained from the SMS gateway. That is, in this embodiment, after the target SMS message has completed the configuration related to sending, the configured target SMS message can be obtained from the SMS gateway. The configuration parameters can refer to parameters related to SMS sending. The configuration parameters may include, but are not limited to, channel identifier, extension code, signature, template type, etc.
[0048] It should be understood that, in this embodiment, in addition to being able to filter target SMS messages from the SMS stream in real time, the target SMS messages may also come from other channels, such as a regular manually written SMS message, and this embodiment is not limited to this.
[0049] After obtaining the target SMS, in step 201, the detection number can be used as the destination number corresponding to the target SMS to generate the detection SMS corresponding to the target SMS.
[0050] As mentioned earlier, each SMS message should be assigned a destination number. In step 201, the detection number is used as the destination number of the target SMS message. Based on this, a detection SMS message can be generated in step 201. If the target SMS message originates from an SMS stream, using the configuration information of the target SMS message obtained earlier, the generated detection SMS message can be configured with the same configuration information as the target SMS message in step 201. Thus, the detection SMS message has the same SMS content and configuration parameters as the target SMS message, the only difference being that the destination number in the detection SMS message is replaced with the detection number. This makes the detection SMS message less likely to be detected, thereby better preventing service provider servers from evading SMS traffic deduction detection. Furthermore, some parameters in the configuration parameters can also be used as the aforementioned filtering parameters, allowing the selected target SMS messages to have specified configuration parameters. This enables targeted traffic deduction detection of a specific type of SMS message using a certain channel or template, making SMS traffic deduction detection more flexible.
[0051] In this embodiment, a large number of random and unpredictable detection numbers can be used in step 201 to detect SMS call deductions. This prevents the service provider's server from detecting the detection SMS generated in step 201 by exhaustively searching for the target number. Furthermore, the content of the detection SMS can be identical to that of the target SMS. Thus, if the target SMS originates from an SMS stream, the detection SMS generated in step 201 is essentially identical in content to the SMS in the stream. Therefore, the service provider's server also cannot detect the detection SMS based on its content. In other words, the detection SMS in this embodiment effectively avoids detection by the service provider's server from both content and target number perspectives, thereby preventing the service provider's server from evading SMS call deduction detection.
[0052] Additionally, in step 201, the number of detection SMS messages to be sent can be set. In this embodiment, multiple sending schemes can be used to determine the number of detection SMS messages to be sent to the target SMS messages.
[0053] In one exemplary delivery scheme, the aforementioned exemplary target SMS filtering scheme can be adopted:
[0054] Determine the position of the target SMS message within its current filtering time period;
[0055] Based on the total number of SMS messages to be sent during the specified screening period, the number of target SMS slots, and the corresponding ranking position of the target SMS messages, a number of target SMS messages are allocated for delivery. The target SMS messages selected within the screening period are arranged sequentially according to the time they were selected.
[0056] In this exemplary delivery scheme, as mentioned earlier, the filtering period can contain a specified number of target SMS slots. That is, the number of target SMS messages that can be filtered within a single filtering period is limited. This avoids the problem of excessive detection SMS messages being injected into the SMS stream due to the excessive number of target SMS messages filtered in a short period. Furthermore, the target SMS messages filtered within a filtering period have a chronological order. Therefore, each currently filtered target SMS message will have a ranking position within its current filtering period, indicating its order in the filtering process. In addition, this exemplary delivery scheme configures a total number of detection SMS messages to be delivered within the filtering period, further limiting the number of detection SMS messages delivered and preventing excessive delivery. Based on this, a detection SMS delivery quantity can be allocated to each filtered target SMS message within the filtering period according to a "red envelope" mechanism. In this scheme, the specified number of target SMS slots configured within a filtering period can be considered as red envelopes (digital cash rewards). The total number of detection SMS messages allocated for the filtering period can be considered as the total amount of money that can be allocated within those red envelopes. Therefore, the position of a target SMS message within its filtering period determines which red envelope it is in. Thus, the total amount of money that can be allocated within the filtering period, the total number of red envelopes, and the current position of the red envelope being opened all influence the amount within that red envelope. Therefore, in this exemplary distribution scheme, the number of target SMS messages can be allocated based on the total number of detection SMS messages allocated for the filtering period, the number of target SMS slots, and the corresponding position of the target SMS messages. This allocation of the target SMS message quantity will be random, further increasing the difficulty for the service provider's server to detect detection SMS messages.
[0057] In this exemplary delivery scheme, during the process of allocating the delivery quantity of the target SMS based on the total number of detection SMS deliveries specified for the filtering period, the number of target SMS slots, and the corresponding ranking position of the target SMS: it can be determined whether the ranking position of the target SMS is the first position; if so, the initial delivery quantity is allocated based on the total number of detection SMS deliveries specified for the filtering period of the target SMS and the number of target SMS slots, and is set as the delivery quantity of the detection SMS corresponding to the target SMS; if not, the current delivery quantity is allocated based on the remaining delivery quantity for the filtering period and the corresponding ranking position of the target SMS, and is set as the delivery quantity of the detection SMS corresponding to the target SMS.
[0058] In this exemplary process, the number of detection SMS messages to be sent can be calculated in real time for each target SMS quota triggered. This echoes the aforementioned red envelope mechanism, where a red envelope can be claimed for each target SMS message selected during the filtering period, and the number of messages sent in each red envelope can be calculated in real time when the red envelope is claimed. It is worth noting that the above scheme for allocating the number of messages sent to target SMS messages is only exemplary, and other schemes can be used to allocate the number of messages sent to target SMS messages, and are not limited to this. For example, the number of messages sent to each target SMS quota position can be pre-allocated without real-time calculation. Or, for example, the number of messages sent to each target SMS quota position can be directly set to a fixed value or a random value, etc.
[0059] As can be seen, by combining the aforementioned exemplary target SMS filtering scheme and detection SMS delivery scheme, not only can the frequency and timing of detection SMS delivery be effectively controlled, but the randomness of the number of detection SMS messages delivered for each target SMS message can also be achieved. This makes the total number of detection SMS messages delivered controllable, but the number delivered random, making it difficult for the service provider's server to identify the detection SMS messages.
[0060] Continue to refer to Figure 2a In step 202, the detection SMS can be injected into the SMS stream so that the operator server can perform a query operation on the detection SMS corresponding to the detection number when the detection number is identified.
[0061] In this embodiment, an SMS stream can be sent from the service provider's server to the operator's server. During this process, the service provider's server may deduct SMS data usage from the SMS stream. Therefore, the detection SMS injected into the SMS stream in step 202 may have its data usage deducted by the service provider's server. In other words, the service provider's server may not have sent the detection SMS to the operator's server. Consequently, the operator's server may only receive a portion of the detection SMS, not all of them. Since the detection numbers in this embodiment are all registered in the operator's server, the operator's server can identify the detection number upon receiving the detection SMS. For each detection number, the operator's server can initiate a action query operation for the corresponding detection SMS. That is, the operator's server needs to query the action to be taken for the detection SMS. This action query operation can trigger the generation of query record information. Accordingly, in step 202, detection SMS normally sent from the service provider's server to the operator's server can trigger the generation of corresponding query record information, while detection SMS with deducted data usage by the service provider's server will not receive corresponding query record information. The action query can be responded to by the number server, which can return the action to the operator server for processing the detected SMS.
[0062] In this embodiment, the detection number can be an intermediate number provided by a number privacy protection platform. Number privacy protection services are existing industry solutions for hiding numbers based on the operator's communication network capabilities. They provide intermediate numbers to customers and hide the calling or called number based on these intermediate numbers to protect the privacy of both parties. The number privacy protection platform can be a functional module that implements some or all of the functions of the number privacy protection service. This module can be implemented as software, hardware, or a combination of both, and can be configured in a server or other hardware device. The basic principle of the number privacy protection service is as follows: the intermediate number is registered on the operator's server. After an SMS or call arrives at the operator's server, the operator's server will use the intermediate number to query the number privacy protection platform for subsequent actions. The number privacy protection platform can return the corresponding action to the operator's server and generate query record information for the intermediate number. The intermediate number is not different in format from various existing destination numbers used in the SMS stream; therefore, in this embodiment, the service provider's server cannot detect the intermediate number. Accordingly, in this embodiment, the number privacy protection platform can respond to the aforementioned action query operation initiated by the operator's server and generate corresponding query record information.
[0063] refer to Figure 3 In this embodiment, a batch of intermediate numbers can be pre-applied for from the number privacy protection platform as detection numbers to construct a detection number pool. In the aforementioned step 201, usable detection numbers can be selected from the detection number pool to generate detection SMS messages. The size of the detection number pool in this embodiment can be configured as needed. As the number of SMS streams increases, the size of the detection number pool in this embodiment can be in the tens of thousands or even larger. This results in a large number of detection numbers with no obvious pattern, low procurement costs, and the ability to replace a large number of detection numbers in a short time, thereby reducing the possibility of the service provider's server evading SMS traffic reduction detection. Furthermore, considering that the same SMS content will not be sent to the same destination number multiple times in practical applications, in step 201, different detection SMS messages can use different detection numbers to avoid the service provider's server detecting detection SMS messages based on SMS duplication.
[0064] Thus, in this embodiment, the intermediate number provided in the number privacy protection technology can be used to construct detection SMS messages during SMS data deduction detection. This leverages the intermediate number's ability to trigger the generation of query record information, allowing the acquisition of query record information reflecting whether the service provider's server is sending detection SMS messages correctly during the SMS data deduction detection process. It should be understood that this embodiment is not limited to using the intermediate number and number privacy protection platform provided in the number privacy protection service; a number server capable of supporting the processing logic required by this embodiment can also be constructed through independent development or other methods to generate the query record information in this embodiment.
[0065] It should be understood that the service provider's server is unaware of the interaction process between the aforementioned operator's server and the number privacy protection platform. That is, the service provider's server is unaware of the detected numbers, detected SMS messages, and query record information. Therefore, the service provider's server cannot detect that it is being subjected to SMS message deduction detection. The service provider's server will generate a delivery receipt for each SMS message (including the detected SMS message) in the SMS stream. Thus, in this embodiment, in step 202, after injecting the detected SMS message into the SMS stream, the query record information and delivery receipt information generated by the detected SMS message can be obtained.
[0066] refer to Figure 2a In step 203, SMS deduction behavior can be detected by comparing the query record information generated by the handling action query operation and the sending receipt information generated by the service provider server for the detection SMS. Optionally, if the detection SMS has inherited the configuration information of the target SMS, the detection SMS can be directly injected into the SMS gateway corresponding to the risk control server, so that the SMS gateway will send the detection SMS according to the configuration information of the detection SMS, thereby integrating the detection SMS into the SMS stream.
[0067] Figure 4 This is a logical diagram illustrating an optional comparison method provided by an exemplary embodiment of this application. (Reference) Figure 4 The implementation of sending receipt information and querying record information mentioned in step 203 can be in the form of logs. Thus, refer to... Figure 4In step 203, for a single detection SMS message, the status of the SMS message can be determined by monitoring the SMS gateway interface to see if it has been submitted to the service provider's server, and the status of the detection SMS message can be updated locally according to different monitoring results. After determining that the SMS gateway has submitted the detection SMS message to the service provider's server, the SMS logs generated by the service provider's server can be monitored to determine the SMS status of the detection SMS message; on the other hand, the query logs generated by the number server can be monitored to determine the query status of the detection SMS message. All of the above monitoring operations can be performed asynchronously to avoid affecting the SMS stream sending process. Afterwards, based on the determined SMS status and query status for the detection SMS message, it can be determined whether it needs to be submitted for inspection: if the query status indicates no logs and the SMS status indicates successful sending, it is determined that there may be SMS message deduction behavior, requiring submission for inspection, and the detection SMS message is updated to an "inspection submitted" status; if no inspection is required, the detection SMS message is updated to an "no inspection required" status. Submission for inspection refers to manual review. Additionally, Figure 4 The status numbers shown are all examples.
[0068] It is known that after processing the detected SMS message, the service provider's server can generate a delivery receipt, which indicates the SMS delivery result—whether it was successfully sent or failed to send. (Reference) Figure 3 Regarding delivery receipt information, in this embodiment, the service provider server can return delivery receipt information to the aforementioned SMS gateway. Based on this, in step 203, delivery receipt information can be obtained from the SMS gateway. However, detection SMS messages that are not submitted by the service provider server to the operator server will not generate query record information.
[0069] Thus, considering any target detection SMS message, if it doesn't generate a query record but its delivery receipt indicates successful delivery, then SMS data deduction behavior can be confirmed. The delivery receipt indicating successful delivery signifies that the service provider's server has confirmed the target detection SMS message was successfully sent; the absence of a query record indicates that the service provider's server may not have actually submitted the target detection SMS message to the operator, but rather that SMS data deduction behavior has occurred. Therefore, in step 203, the occurrence of SMS data deduction behavior can be detected by comparing the query record information generated by the detection SMS message with the actual delivery receipt information. If they do not match, then SMS data deduction behavior can be confirmed.
[0070] refer to Figure 3To avoid detection errors, this embodiment also proposes an optimization scheme: if the target detection SMS does not generate a query record but its delivery receipt indicates that it has been successfully sent, then a designated connection channel is used to test whether the target detection number used by the target detection SMS normally triggers the generation of query record information; if normal, then it is determined that SMS deduction behavior has been detected. Here, the designated connection channel is a channel that connects directly to the SMS provider without going through the service provider's server.
[0071] In this optimized scheme, if the target detection SMS does not generate query record information but its delivery receipt indicates that it was sent successfully, it will first be confirmed whether the target detection number used by the target detection SMS can normally trigger the generation of query record information. For example, an error in the information return address configured for the target detection number in the number server may cause the query record information to not be sent to the correct location, which may lead to the situation in step 203 where the target detection SMS does not generate the corresponding query record information. In an exemplary scheme, refer to... Figure 3 The system can initiate a review request for the target detection number to the review system, triggering the system to call a designated connection channel to test whether the target detection number can normally generate query record information. The designated connection channel can directly connect to the compliant system and operator servers, and has high reliability, preventing SMS data deduction. The designated connection channel can submit SMS messages directly to the supplier without going through the service provider's server. During the testing of the target detection number using the designated connection channel, the detection SMS in this embodiment can be used directly for testing. Alternatively, test SMS messages can be constructed for the target detection number and used for testing; this is not limited here.
[0072] In this exemplary solution, if it is determined after testing that the target detection number can normally trigger the generation of query record information, then it can be determined that the reason why the target detection SMS did not generate query record information is that the service provider server did not actually submit the target detection SMS to the operator, and the service provider server has SMS deduction behavior.
[0073] Furthermore, this embodiment proposes setting the detection numbers used for detecting SMS messages to interception mode on the number server. In interception mode, the number server instructs the operator server not to send detection SMS messages. In this embodiment, all detection numbers requested from the number server can be set to interception mode. This way, even if the service provider server submits the detection SMS message to the operator server, it will not cause the operator server to actually send the detection SMS message; instead, it will be intercepted. It is worth noting that in interception mode, it is not necessary to configure real numbers for the detection numbers on the number server, because no actual sending is required in interception mode, and therefore, real numbers are not needed. In one implementation, in interception mode, interception indication information can be directly configured for each detection number on the number server. This allows the number server to directly return interception indication information to the operator server after receiving a handling action query operation initiated by the operator server, instructing the operator server not to send detection SMS messages. In another implementation, a callback address can be set on the number server for the detection number applied for in this embodiment. After receiving a handling action query operation initiated by the operator, the number server can send a handling action inquiry message to the callback address set for the detection number corresponding to the handling action query operation. Upon receiving an interception instruction message for the handling action inquiry message, the number server can return interception instruction information to the operator server to instruct the operator server not to send a detection SMS. (Reference) Figure 3 Optionally, the callback address can be set to the address of the aforementioned risk control server, so that the number server will give the decision-making power for the handling action to the risk control server. Of course, the callback address can also be set to other addresses, such as the address of the SMS deduction detection device provided in this embodiment, and is not limited to these. Regardless of who gives the decision-making power for the handling action, in this embodiment, the handling action for the detected number can be indicated as blocking, so that the number server will instruct the operator server not to actually send the detection SMS. In this embodiment, by setting the detection number to blocking mode, the sending fee due to the detection SMS can be avoided, and the SMS deduction detection method provided in this embodiment will not lead to an increase in sending costs.
[0074] Continue to refer to Figure 3 After detecting SMS deduction behavior using the SMS deduction detection method provided in this embodiment, a manual review work order can be created based on the relevant data involved in the detection process as the basis for manual review. If the manual review still confirms that SMS deduction behavior has occurred, penalties can be initiated against the service provider's server.
[0075] The following table more clearly illustrates the superior technical effects of the SMS deduction detection solution provided in this embodiment compared to the traditional manual detection solution:
[0076]
[0077] In summary, this embodiment proposes using detection numbers registered in the operator's server to construct detection SMS messages and injecting these messages back into the SMS stream. These detection SMS messages are mixed in with the SMS stream and will be processed as normal SMS messages by the service provider's server. After the detection SMS message is sent from the service provider's server to the operator's server, the operator's server can initiate a query operation to determine the appropriate action for the detection SMS message, thereby triggering the generation of query record information corresponding to the detection SMS message. In this embodiment, the query record information generated by the detection SMS message and the sending receipt information returned by the service provider's server can be compared to detect SMS data deduction behavior. Therefore, this embodiment can detect SMS data deduction behavior by comparing query record information and sending receipt information without the service provider's server being aware of it, eliminating the need to query the operator's server's gateway data, thus effectively improving the efficiency of SMS data deduction detection.
[0078] It should be noted that some of the processes described in the above embodiments and accompanying drawings include operations that appear in a specific order. However, it should be clearly understood that these operations may not be executed in the order they appear herein, or they may be executed in parallel. The operation numbers, such as 201, 202, etc., are merely used to distinguish different operations and do not represent any execution order. Furthermore, these processes may include more or fewer operations, and these operations may be executed sequentially or in parallel.
[0079] Figure 5 A schematic diagram of the structure of a computing device is provided as another exemplary embodiment of this application, such as... Figure 5 As shown, the computing device may include: memory 50, processor 51, and communication component 52.
[0080] Processor 51, coupled to memory 50 and communication component 52, is used to execute computer programs in memory 50 for:
[0081] Use the detection number to construct a detection SMS message;
[0082] The detection SMS is injected into the SMS stream to be detected, so that the operator's server can perform processing actions and query operations on the detection SMS corresponding to the detection number when the detection number is identified.
[0083] The query records generated by the action query operation are compared with the sending receipt information of the corresponding detection SMS to detect SMS deduction behavior.
[0084] In one optional embodiment, the detection number is an intermediate number provided by the number privacy protection platform, and the number privacy protection platform responds to the action query operation initiated by the operator's server and generates query record information.
[0085] In an optional embodiment, during the process of constructing a detection SMS using the detection number, the processor 51 can be used to:
[0086] During the sending of the SMS stream, the target SMS message is retrieved from the SMS stream;
[0087] Replace the destination number of the target SMS with the detection number to generate a detection SMS corresponding to the target SMS.
[0088] In an optional embodiment, the processor 51, during the process of obtaining the target SMS message from the SMS stream, may:
[0089] Receive the identification information of the target SMS provided by the risk control server. The target SMS is selected by the risk control server from the SMS stream.
[0090] The target SMS message is retrieved from the SMS stream based on the identification information.
[0091] In an optional embodiment, the processor 51, during the process of obtaining the target SMS message from the SMS stream, may:
[0092] Obtain the SMS content and configuration parameters corresponding to the target SMS from the SMS gateway;
[0093] The method also includes: configuring the detection SMS corresponding to the target SMS with the same configuration parameters as the target SMS;
[0094] The configuration parameters include one or more of the following: channel identifier, extension code, signature, and template type.
[0095] In one optional embodiment, the process of obtaining a target SMS message from an SMS stream may include:
[0096] If the number of SMS messages that meet the filtering parameters sent within the current statistical period has reached the specified threshold, then for subsequent SMS messages that meet the filtering parameters within the current statistical period, if the current filtering period has not ended and there are remaining target SMS slots, or if the current filtering period has ended and a new filtering period has been started under the trigger of the SMS message to be sent, then the SMS message to be sent will be identified as the target SMS message.
[0097] The specified number of target SMS slots are set within the filtering period.
[0098] In an alternative embodiment, processor 51 may also be used for:
[0099] Determine the position of the target SMS message within its filtering time period; the target SMS messages within the filtering time period are arranged in order of the time they were filtered.
[0100] Based on the total number of detection SMS messages to be sent during the screening period, the number of target SMS slots, and the corresponding ranking position of the target SMS messages, the number of detection SMS messages to be sent is allocated to the target SMS messages.
[0101] In an optional embodiment, the processor 51, during the process of comparing query record information generated by the number privacy protection platform in response to a query operation and sending receipt information generated by the service provider server for detecting SMS deduction behavior, can be used for:
[0102] If the target detection SMS does not generate query record information but its delivery receipt information indicates that it has been successfully sent, then it is determined that SMS deduction behavior has been detected.
[0103] Among them, the target detection SMS is any one of the detection SMS messages.
[0104] In an optional embodiment, when the processor 51 determines that SMS data deduction behavior has been detected, even though the target detection SMS has not generated query record information but its delivery receipt information indicates that it has been successfully sent, it can be used for:
[0105] If the target detection SMS does not generate query record information but its delivery receipt indicates that it was sent successfully, then
[0106] Use a specified connection channel to test whether the target detection number used by the target detection SMS message can normally trigger the generation of query record information;
[0107] If everything is normal, then SMS data deduction behavior has been detected.
[0108] The direct connection channel is a channel that connects directly to the SMS provider without going through the service provider's server.
[0109] In one optional embodiment, the detection number used for the detection SMS is configured in interception mode in the number privacy protection platform. In interception mode, after receiving a handling action query operation, the number privacy protection platform instructs the operator server not to send the detection SMS.
[0110] In one alternative embodiment, different detection numbers are used for different detection SMS messages.
[0111] In one optional embodiment, the detection number is registered in the operator's server, or the detection number is configured with special identification information that can be recognized by the operator's server.
[0112] Furthermore, such as Figure 5 As shown, the computing device also includes other components such as a power supply component 53. Figure 5 The diagram only shows some components and does not mean that the computing device includes only these components. Figure 5 The components shown.
[0113] It is worth noting that the technical details of the above-mentioned embodiments of the computing device can be referred to the relevant descriptions in the foregoing method embodiments. To save space, they will not be repeated here, but this should not cause any loss to the scope of protection of this application.
[0114] Accordingly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed, can perform the steps that can be executed by a computing device in the above method embodiments.
[0115] The above Figure 5 The memory in a computer is used to store computer programs and can be configured to store various other data to support operation on a computing platform. Examples of this data include instructions for any application or method operating on the computing platform, contact data, phone book data, messages, pictures, videos, etc. The memory can be implemented from 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 disks, or optical disks.
[0116] The above Figure 5 The communication component is configured to facilitate wired or wireless communication between the device containing the communication component and other devices. The device containing the communication component can access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G / LTE, 5G, or combinations thereof. In one exemplary embodiment, the communication component receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component further 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), Infrared Data Association (IrDA) technology, Ultra-Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0117] The above Figure 5 The power supply component provides power to the various components of the device in which it resides. The power supply component may include a power management system, a power source, and other components associated with generating, managing, and distributing power to the device in which it resides.
[0118] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on a computer-usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0119] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 A process or process and / or box Figure 1 A device with a box or a function specified in the box.
[0120] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 A process or process and / or box Figure 1 A box or a function specified in the box.
[0121] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 A process or process and / or box Figure 1 The steps of a box or the function specified in the box.
[0122] In a typical configuration, a computing device includes a processor (CPU), input / output interfaces, a network interface, and memory.
[0123] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0124] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0125] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.
[0126] It should also be noted that 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. Without further limitation, 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 said element.
[0127] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for detecting SMS data deduction, the method comprising: During the transmission of the SMS stream, the identification information of the target SMS provided by the risk control server is received. The target SMS is selected by the risk control server from the SMS stream. The target SMS message is obtained from the SMS stream based on the identification information. Replace the destination number of the target SMS with the detection number to generate a detection SMS corresponding to the target SMS; The detection SMS is injected into the SMS stream so that the operator server can perform a query operation on the detection SMS corresponding to the detection number when the detection number is identified. The query record information generated by the action query operation and the sending receipt information corresponding to the detection SMS are compared to detect SMS deduction behavior.
2. The method according to claim 1, wherein the detection number is an intermediate number provided by the number privacy protection platform, and the number privacy protection platform responds to the action query operation initiated by the operator server and generates the query record information.
3. The method according to claim 1, wherein obtaining the target SMS message from the SMS stream comprises: Obtain the SMS content and configuration parameters corresponding to the target SMS from the SMS gateway; The method further includes: configuring the detection SMS corresponding to the target SMS with the same configuration parameters as the target SMS; The configuration parameters include one or more of the following: channel identifier, extension code, signature, and template type.
4. The method according to claim 1, wherein obtaining the target SMS message from the SMS stream comprises: If the number of SMS messages that meet the filtering parameters sent within the current statistical period has reached the specified threshold, then for subsequent SMS messages that meet the filtering parameters within the current statistical period, if the current filtering period has not ended and there are remaining target SMS slots, or if the current filtering period has ended and a new filtering period has been started under the trigger of the SMS message to be sent, then the SMS message to be sent is obtained from the SMS stream as the target SMS message. The specified number of target SMS slots are set within the filtering period.
5. The method according to claim 4, further comprising: Determine the position of the target SMS message within its filtering time period, wherein the target SMS messages within the filtering time period are arranged sequentially according to the time they were filtered. Based on the total number of detection SMS messages to be sent for the specified screening period, the number of target SMS slots, and the arrangement position of the target SMS messages, the number of detection SMS messages to be sent is allocated to the target SMS messages.
6. The method according to claim 1, wherein comparing the query record information generated by the handling action query operation with the sending receipt information corresponding to the detected SMS message to detect SMS message deduction behavior includes: If the target detection SMS does not generate query record information but its corresponding sending receipt information indicates that it has been sent successfully, then it is determined that SMS deduction behavior has been detected. The target detection SMS message can be any one of the detection SMS messages.
7. The method according to claim 6, wherein determining that SMS deduction behavior has been detected if the target detection SMS does not generate query record information but its corresponding sending receipt information indicates that it has been successfully sent includes: If the target detection SMS does not generate query record information but its corresponding sending receipt information indicates that it has been sent successfully, then use the specified connection channel to test whether the target detection number used by the target detection SMS can normally trigger the generation of query record information; If everything is normal, then SMS data deduction behavior has been detected. The designated connection channel is a channel that connects directly to the operator's server without going through the service provider's server.
8. The method according to claim 2, wherein the detection number used by the detection SMS is configured in the number privacy protection platform as an interception mode, and in the interception mode, the number privacy protection platform instructs the operator server not to send the detection SMS after receiving the action query operation.
9. The method according to claim 1, wherein different detection numbers are used for different detection SMS messages.
10. The method according to claim 1, wherein the detection number is registered in the operator server, or the detection number is configured with special identification information that can be identified by the operator server.
11. A computing device, comprising a memory, a processor, and communication components; The memory is used to store one or more computer instructions; The processor is coupled to the memory and the communication component and is used to execute one or more computer instructions to perform the SMS deduction detection method according to any one of claims 1-10.
12. A computer-readable storage medium storing computer instructions, which, when executed by a processor, cause the processor to perform the SMS deduction detection method according to any one of claims 1-10.
Citation Information
Patent Citations
Server for detecting deduction amount of short messages and method for detecting deduction amount of short messages
CN113965899A