Short message reach rate verification method and device, server and storage medium

By generating and recording SMS-related sending and verification records in communication between service providers and telecom operators, the problem that service providers cannot verify SMS access rate is solved, and the authenticity verification of SMS access rate is realized. Payment accuracy.

CN119031390APending Publication Date: 2024-11-26BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411227136.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The service provider is unable to verify the authenticity of the SMS reach rate provided by the telecom operator, which makes it impossible to determine the accuracy of the SMS sending volume, which in turn affects the payment problem.

Method used

Through communication between the service provider's server and the telecom operator's server, a transmission record containing the SMS verification code, the signal code and the transmission time is generated and recorded, and a verification record is generated after the verification is passed, based on these records, the SMS contact is determined to reach , realize the verification of SMS reach rate.

Benefits of technology

It realizes the authenticity verification of the SMS reach rate provided by telecom operators, reduces the paid expenses of service providers, and ensures the accuracy and rationality of payments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119031390A_ABST
    Figure CN119031390A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a short message arrival rate verification method and device, a server and a storage medium, and the method comprises the steps: responding to a short message verification code obtaining request sent by a first user terminal, sending a first short message verification code and a communication number to a second server, and enabling the second server to send the first short message verification code; then generating a sending record containing the first short message verification code, the communication number and the sending time; when the verification request is received, recording a receiving moment of the verification request; when the verification request passes the verification, generating a verification record comprising a verified short message verification code, a communication number and a receiving moment; therefore, when the short message arrival rate in the specified time period is received, the short message verification rate in the specified time period is determined based on the acquired sending record and verification record in the specified time period; and on the basis of the short message verification rate, the short message arrival rate in the specified time period is verified. Therefore, the authenticity of the short message reach rate provided by the telecom operator is verified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technologies, and in particular to a method, device, server and storage medium for verifying a text message reach rate. Background Art

[0002] When users use various software, applets or websites provided by service providers, service providers will send SMS verification codes to users through telecom operators for verification. After the telecom operator sends the SMS verification code to the user according to the mobile phone number and SMS verification code provided by the service provider, the telecom operator regularly sends the number of SMS sent and the SMS reach rate to the service provider. The service provider calculates the SMS reach based on the SMS sent and SMS reach rate provided by the telecom operator, and then pays according to the SMS reach.

[0003] However, since SMS reach rates can currently only be provided by telecom operators, service providers do not have any way to determine SMS reach rates, and thus cannot verify the authenticity of the SMS reach rates provided by telecom operators. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a method, device, server and storage medium for verifying the SMS reach rate, so as to verify the authenticity of the SMS reach rate provided by the telecom operator. The specific technical solution is as follows:

[0005] In a first aspect of the implementation of the present invention, a method for verifying the reach rate of a short message is first provided. The method can be applied to a first server, the first server is a server of a service provider, the first server is in communication connection with a second server, the second server is a server of a telecommunications operator, and the method includes:

[0006] In response to the SMS verification code acquisition request sent by the first user terminal, the first SMS verification code and the communication number are sent to the second server, so that the second server sends the first SMS verification code to the second user terminal corresponding to the communication number; wherein the acquisition request carries the communication number for receiving the first SMS verification code;

[0007] Generate a sending record including the first SMS verification code, the communication number and the sending time;

[0008] When receiving the verification request sent by the first user terminal, recording the time of receiving the verification request;

[0009] Verify the SMS verification code to be verified carried in the verification request. When the verification is successful, use the SMS verification code to be verified as the verified SMS verification code; and generate a verification record including the verified SMS verification code, communication number, and receiving time;

[0010] When receiving the SMS reach rate within the specified time period, obtain the sending records and verification records within the specified time period;

[0011] Based on the sending records and verification records within the specified time period, the SMS verification rate within the specified time period is determined; and based on the SMS verification rate, the SMS reach rate within the specified time period is verified.

[0012] In a second aspect of the implementation of the present invention, a device for verifying the SMS reach rate is also provided. The device can be applied to a first server, the first server is a server of a service provider, the first server is communicatively connected to a second server, and the second server is a server of a telecommunications operator. The device includes:

[0013] A sending module, configured to send the first SMS verification code and the communication number to the second server in response to the SMS verification code acquisition request sent by the first user terminal, so that the second server sends the first SMS verification code to the second user terminal corresponding to the communication number; wherein the acquisition request carries the communication number for receiving the first SMS verification code;

[0014] A first generating module, used to generate a sending record including a first SMS verification code, a communication number and a sending time;

[0015] A recording module, configured to record a time of receiving the verification request when receiving the verification request sent by the first user terminal;

[0016] The second generation module is used to verify the SMS verification code to be verified carried in the verification request. When the verification is successful, the SMS verification code to be verified is used as the verified SMS verification code; and a verification record including the verified SMS verification code, the communication number and the receiving time is generated;

[0017] An acquisition module is used to obtain the sending records and verification records within the specified time period when receiving the SMS reach rate within the specified time period;

[0018] The verification module is used to determine the SMS verification rate within the specified time period based on the sending records and verification records within the specified time period; and based on the SMS verification rate, verify the SMS reach rate within the specified time period.

[0019] In a third aspect of an embodiment of the present invention, a server is further provided, the server comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0020] Memory, used to store computer programs;

[0021] The processor is used to implement the steps of the SMS reach rate verification method shown in the first aspect when executing the program stored in the memory.

[0022] In another aspect of the implementation of the present invention, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of the SMS reach rate verification method shown in the first aspect above are implemented.

[0023] In another aspect of the implementation of the present invention, a computer program product comprising instructions is also provided. When the computer program product is run on a computer, the computer executes the steps of the SMS reach rate verification method shown in the first aspect above.

[0024] An embodiment of the present invention provides a method, device, server and storage medium for verifying the reachability of text messages. A first server of a service provider first responds to a text message verification code acquisition request sent by a first user terminal and carrying a communication number for receiving a first text message verification code, and sends the first text message verification code and the communication number to a second server, so that the second server sends the first text message verification code to a second user terminal corresponding to the communication number; then generates a sending record including the first text message verification code, the communication number and the sending time; upon receiving a verification request sent by the first user terminal, records the receiving time of the verification request; and then verifies the verification code carried in the verification request. The SMS verification code is verified, and when the verification is passed, the SMS verification code to be verified is used as the verified SMS verification code; and a verification record including the verified SMS verification code, the communication number, and the receiving time is generated; in this way, by recording the sent SMS verification code and the communication number and recording the received SMS verification code and the communication number, when the SMS reach rate within the specified time period is received, the sending record and the verification record within the specified time period can be obtained; based on the sending record and the verification record within the specified time period, the SMS verification rate within the specified time period is determined; and based on the SMS verification rate, the SMS reach rate within the specified time period is verified. Thereby, the authenticity of the SMS reach rate provided by the telecom operator can be verified. In addition, by recording the sent SMS verification code and the communication number and recording the received SMS verification code and the communication number, the communication operator can be paid based on the sending record and the verification record, thereby reducing the expenses of the service provider. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

[0026] Figure 1 A schematic diagram of the architecture of a server of a service provider and a server of a telecommunications operator in an embodiment of the present invention;

[0027] Figure 2This is a flowchart of a first implementation method of a method for verifying SMS reachability in an embodiment of the present invention;

[0028] Figure 3 This is a flow chart of a second implementation method of a text message reach rate verification method in an embodiment of the present invention;

[0029] Figure 4 This is a flowchart of a third implementation method of a text message reach rate verification method in an embodiment of the present invention;

[0030] Figure 5 This is a flowchart of a fourth implementation method of a text message reach rate verification method in an embodiment of the present invention;

[0031] Figure 6 This is a flowchart of a fifth implementation of a method for verifying SMS reachability in an embodiment of the present invention;

[0032] Figure 7 This is a flowchart of a sixth implementation of a method for verifying SMS reachability in an embodiment of the present invention;

[0033] Figure 8 This is a flow chart of a seventh implementation method of a method for verifying SMS reachability in an embodiment of the present invention;

[0034] Fig. 9 It is an interactive schematic diagram of a method for verifying SMS reachability in an embodiment of the present invention;

[0035] Fig.10 This is a structural schematic diagram of a device for verifying SMS reachability in an embodiment of the present invention;

[0036] Fig.11 The figure is a schematic diagram of the structure of a server in an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0038] In the existing technology, since the SMS reach rate can only be provided by telecom operators, telecom operators can calculate the SMS reach volume based on the SMS reach rate and the SMS sending volume, and then charge according to the SMS reach volume. However, service providers do not have any way to determine the SMS reach rate, and thus cannot verify the authenticity of the SMS reach rate provided by telecom operators. In order to prevent operators from arbitrarily providing SMS sending volume for charging, we need a way to verify the authenticity of the SMS sending volume provided by telecom operators.

[0039] In order to solve the problems existing in the prior art, the embodiments of the present invention provide a text message reach rate verification method, device, server and storage medium to verify the authenticity of the text message reach rate provided by the telecommunications operator.

[0040] Below, we first introduce a method for verifying the SMS reach rate in an embodiment of the present invention. This method can be applied to Figure 1 The first server shown, Figure 1 As shown, the first server 110 is communicatively connected with the second server 120. The first server 110 is a server of a service provider, and the second server 120 is a server of a telecommunication operator. For example, the first server 110 may be a website server, a server of client software, etc., and the second server 120 may be a server of an operator providing telecommunication services, such as China Telecom, China Unicom, and China Mobile.

[0041] like Figure 2 FIG. 1 is a flowchart of a first implementation of a method for verifying a text message reach rate according to an embodiment of the present invention. The method may include:

[0042] S210, in response to the SMS verification code acquisition request sent by the first user terminal, sending the first SMS verification code and the communication number to the second server, so that the second server sends the first SMS verification code to the second user terminal corresponding to the communication number; wherein the acquisition request carries the communication number for receiving the first SMS verification code;

[0043] S220, generating a sending record including the first SMS verification code, the communication number and the sending time;

[0044] S230, when receiving the verification request sent by the first user terminal, recording the time of receiving the verification request;

[0045] S240, verifying the SMS verification code to be verified carried in the verification request, and when the verification is successful, using the SMS verification code to be verified as the verified SMS verification code; and generating a verification record including the verified SMS verification code, the communication number, and the receiving time;

[0046] S250, upon receiving the SMS reach rate within the specified time period, obtaining the sending record and verification record within the specified time period;

[0047] S260, based on the sending records and verification records within the specified time period, determine the SMS verification rate within the specified time period; and based on the SMS verification rate, verify the SMS reach rate within the specified time period.

[0048] In some examples, a browser or application may be installed on a user terminal such as a computer or a mobile phone. The user may log in, register, change passwords, etc. on the web page of the browser or on the application. At this time, the user may first enter the mobile phone number on the web page or on the application, and then click the "Send Verification Code" button. At this time, the user terminal may use the mobile phone number as the communication number and add it to the SMS verification code acquisition request, and then send the SMS verification code acquisition request to the service provider server corresponding to the web page or application.

[0049] After receiving the SMS verification code acquisition request, the service provider server can respond to the SMS verification code acquisition request sent by the first user terminal, first obtain a SMS verification code to be sent as a first SMS verification code; then send the first SMS verification code and the communication number to the telecom operator's second server. After receiving the first SMS verification code and the communication number, the telecom operator's second server can send the first SMS verification code to the second user terminal corresponding to the communication number.

[0050] In some examples, the first user terminal and the second user terminal may be the same device or may not be the same device. For example, when the first user terminal is a desktop computer, a notebook, or a tablet computer without a SIM (Subscriber Identity Module) or an ESIM (Embedded-SIM), and the second user terminal is a smart phone, then the first user terminal and the second user terminal are not the same device; when the user terminal is a smart phone or a tablet computer equipped with a SIM or an ESIM, then the first user terminal and the second user terminal may be the same terminal device.

[0051] In some other examples, the SMS verification code may be pre-generated, or may be generated by a SMS verification code generation technology after receiving the SMS verification code acquisition request, which is possible. It is understandable that the SMS verification code generation technology may be an existing technology, which will not be described in detail here.

[0052] After receiving the first SMS verification code, the second user terminal may display the first SMS verification code; and then the user inputs the first SMS verification code into a web page or application of the first user terminal.

[0053] In some other examples, when the first user terminal and the second user terminal are the same terminal device, after the second user terminal receives the first SMS verification code, the second user terminal can automatically input the first SMS verification code into the web page or application of the first user terminal, which is also possible.

[0054] In some examples, when the first server receives a verification request sent by the first user terminal, it can first record the time when the verification request is received; then verify the SMS verification code to be verified carried in the verification request. When the verification is passed, the user is allowed to register, log in or change the password, etc.

[0055] Specifically, when the user performs a registration operation or a login operation on the first user terminal, the user can click a "register" button or a "login" button. At this time, the first user terminal can send a verification request to the first server, and the first server allows the user to register or log in after the verification is passed.

[0056] When the user is modifying the password on the first user terminal, the user can click the "Submit" button. At this time, the first user terminal can send a verification request to the first server. After the verification is passed, the first server allows the user to modify the password.

[0057] In some other examples, when the verification is passed, the SMS verification code to be verified can also be used as the verified SMS verification code; and a verification record including the verified SMS verification code, the communication number and the receiving time is generated;

[0058] Through the above steps S210 to S240, it is possible to record the sent first SMS verification code and the communication number, and to record the received SMS verification code and the communication number to be verified.

[0059] In some examples, the telecom operator may periodically send the number of SMS verification codes sent and the SMS reach rate to the service provider so that the service provider can pay the usage fee for the telecom service;

[0060] Therefore, after recording, if the SMS reach rate within a specified time period is received from the telecom operator through a third server, the sending record and verification record within the specified time period can be obtained first; then, based on the sending record and verification record within the specified time period, the SMS verification rate within the specified time period can be determined; and based on the SMS verification rate, the SMS reach rate within the specified time period can be verified.

[0061] In some examples, the third server and the second server may be the same server or different servers, which is possible.

[0062] In some other examples, the duration of the specified time period can be one month, three months, half a year, or one year. For example, it can be January 1, 2023 to February 1, 2024, or January 1, 2023 to April 1, 2023, or January 1, 2023 to July 1, 2024, or January 1, 2023 to January 1, 2024.

[0063] In some other examples, after determining the SMS verification rate within a specified time period, the SMS verification rate within the specified time period can be compared with the SMS reach rate to verify the SMS reach rate within the specified time period. For example, when the difference between the SMS verification rate and the SMS reach rate within the specified time period is less than a first preset threshold, it can be considered that the SMS reach rate within the specified time period is normal. The first preset threshold can be set based on experience, which will not be repeated here.

[0064] Furthermore, after the SMS reach rate within the specified time period is verified to be normal, the service quality of the services provided by the telecom operator can also be evaluated based on the SMS reach rate. For example, when the SMS reach rate is between 80% and 90%, the service quality of the telecom operator can be considered good; when the SMS reach rate is between 90% and 95%, the service quality of the telecom operator can be considered excellent.

[0065] A method for verifying a text message reach rate provided by an embodiment of the present invention comprises: a first server of a service provider first responds to a text message verification code acquisition request sent by a first user terminal and carrying a communication number for receiving a first text message verification code, and sends the first text message verification code and the communication number to a second server, so that the second server sends the first text message verification code to the second user terminal corresponding to the communication number; then generates a sending record including the first text message verification code, the communication number and the sending time; upon receiving the verification request sent by the first user terminal, records the receiving time of the verification request; then verifies the text message verification code to be verified carried in the verification request, and when the verification passes, uses the text message verification code to be verified as the verified text message verification code; and generates a verification record including the verified text message verification code, the communication number and the receiving time; in this way, by recording the sent text message verification code and the communication number and recording the received text message verification code and the communication number, when the text message reach rate within a specified time period is received, the sending record and the verification record within the specified time period can be obtained; based on the sending record and the verification record within the specified time period, the text message verification rate within the specified time period is determined; and based on the text message verification rate, the text message reach rate within the specified time period is verified. Thus, the authenticity of the SMS reach rate provided by the telecom operator can be verified. In addition, by recording the sent SMS verification code and the communication number and the received SMS verification code and the communication number, the communication operator can be paid based on the sending record and the verification record, thereby reducing the expenses of the service provider.

[0066] In some examples, Figure 2 Based on the SMS reach rate verification method shown in FIG. , the embodiment of the present invention also provides a possible implementation method, such as Figure 3 FIG. 1 is a flowchart of a second implementation of a method for verifying SMS reachability in an embodiment of the present invention. The method may include:

[0067] S310, in response to the SMS verification code acquisition request sent by the first user terminal, sending the first SMS verification code and the communication number to the second server, so that the second server sends the first SMS verification code to the second user terminal corresponding to the communication number; wherein the acquisition request carries the communication number for receiving the first SMS verification code;

[0068] S320, generating a sending record including the first SMS verification code, the communication number and the sending time;

[0069] S330, when receiving the verification request sent by the first user terminal, record the time of receiving the verification request;

[0070] S340, verifying the SMS verification code to be verified carried in the verification request, and when the verification is successful, using the SMS verification code to be verified as the verified SMS verification code; and generating a verification record including the verified SMS verification code, the communication number, and the receiving time;

[0071] S350, upon receiving the SMS reach rate within the specified time period, obtaining the sending record and verification record within the specified time period;

[0072] S360, counting a first number of sending records within a specified time period and a second number of verification records within the specified time period;

[0073] S370, determining a text message verification rate within a specified time period based on the first number and the second number;

[0074] S380, based on the SMS verification rate, verify the SMS reach rate within the specified time period.

[0075] In some examples, after obtaining the sending records and verification records within a specified time period, in order to verify the SMS reach rate within the specified time period, the first number of sending records within the specified time period and the second number of verification records within the specified time period may be directly counted;

[0076] For example, the first number of sending records and the second number of verification records between January 1, 2023 and February 1, 2024 may be directly counted.

[0077] Then, by dividing the second number by the first number, the SMS verification rate in the specified time period can be obtained, and then based on the SMS verification rate, the SMS reach rate in the specified time period can be verified.

[0078] In this way, the SMS verification rate can be calculated quickly, and then the SMS reach rate within the specified time period can be verified as soon as possible, thereby improving the timeliness of verification.

[0079] In some examples, after generating a sending record including a first SMS verification code, a communication number, and a sending time, the sending record can be stored in a database; after generating a verification record including a verified SMS verification code, a communication number, and a receiving time, the verification record can also be stored in a database; the database is a relational database.

[0080] Therefore, when counting the first number of sending records within a specified time period and the second number of verification records within the specified time period, the sending records and verification records within the specified time period can be first obtained from the database, and then based on the sending records and verification records within the specified time period, the first number of sending records within the specified time period and the second number of verification records within the specified time period can be counted.

[0081] It can be understood that steps S310 to S350 in the embodiment of the present invention are the same as or similar to steps S210 to S250 in the first embodiment, and are not described in detail here.

[0082] In some examples, Figure 2 Based on the SMS reach rate verification method shown in FIG. , the embodiment of the present invention also provides a possible implementation method, such as Figure 4 FIG. 1 is a flowchart of a third implementation of a method for verifying SMS reachability in an embodiment of the present invention. The method may include:

[0083] S410, in response to the SMS verification code acquisition request sent by the first user terminal, sending the first SMS verification code and the communication number to the second server, so that the second server sends the first SMS verification code to the second user terminal corresponding to the communication number; wherein the acquisition request carries the communication number for receiving the first SMS verification code;

[0084] S420, generating a sending record including the first SMS verification code, the communication number and the sending time;

[0085] S430, when receiving the verification request sent by the first user terminal, record the time of receiving the verification request;

[0086] S440, verifying the SMS verification code to be verified carried in the verification request, and when the verification is successful, using the SMS verification code to be verified as the verified SMS verification code; and generating a verification record including the verified SMS verification code, the communication number, and the receiving time;

[0087] S450, upon receiving the SMS reach rate within the specified time period, obtaining the sending record and verification record within the specified time period;

[0088] S460, comparing the first SMS verification code and the communication number in the sending record within the specified time period, and the verified SMS verification code and the communication number in the verification record within the specified time period;

[0089] S470, counting a third number of verification records having the same first SMS verification code and communication number as those in the sending record, and a fourth number of sending records within a specified time period;

[0090] S480, determining a text message verification rate within a specified time period based on the third number and the fourth number;

[0091] S490, based on the SMS verification rate, verify the SMS reach rate within the specified time period.

[0092] In some examples, although the second implementation can quickly calculate the SMS verification rate, this calculation method will have certain errors. In this regard, in an embodiment of the present invention, after obtaining the sending records and verification records within a specified time period, the first SMS verification code and communication number in the sending records within the specified time period can be compared with the verified SMS verification code and communication number in the verification records within the specified time period to determine the third number of verification records with the same SMS verification code and communication number;

[0093] Then count the fourth number of the sending records in the specified time period. Then divide the third number by the fourth number to get the SMS verification rate in the specified time period. Then, based on the SMS verification rate, the SMS reach rate in the specified time period can be verified.

[0094] In an embodiment of the present invention, by comparing the sending records and verification records within a specified time period, it can be seen that the verified SMS verification codes and communication numbers in the statistical verification records are all sent by the first server within the specified time period, and the verified SMS verification codes and communication numbers outside the specified time period are excluded, thereby improving the accuracy of calculating the SMS verification rate, and further improving the accuracy of verifying the SMS reach rate within the specified time period.

[0095] It can be understood that steps S410 to S450 in the embodiment of the present invention are the same as or similar to steps S210 to S250 in the first embodiment, and are not described in detail here.

[0096] In some examples, Figure 2 Based on the SMS reach rate verification method shown in FIG. , the embodiment of the present invention also provides a possible implementation method, such as Figure 5 FIG. 1 is a flowchart of a fourth implementation of a method for verifying SMS reachability in an embodiment of the present invention; the method may include:

[0097] S510, in response to the SMS verification code acquisition request sent by the first user terminal, sending the first SMS verification code and the communication number to the second server, so that the second server sends the first SMS verification code to the second user terminal corresponding to the communication number; wherein the acquisition request carries the communication number for receiving the first SMS verification code;

[0098] S520, generating a sending record including the first SMS verification code, the communication number and the sending time;

[0099] S530, when receiving the verification request sent by the first user terminal, record the time of receiving the verification request;

[0100] S540, when the difference between the receiving time of the verification request corresponding to the same communication number and the sending time in the sending record is less than the preset time length, and the SMS code to be verified in the verification request corresponding to the same communication number is the same as the first SMS verification code, confirming that the verification is successful;

[0101] S550, using the SMS verification code to be verified as the verified SMS verification code; and generating a verification record including the verified SMS verification code, the communication number, and the receiving time;

[0102] S560, upon receiving the SMS reach rate within the specified time period, obtaining the sending record and verification record within the specified time period;

[0103] S570, based on the sending records and verification records within the specified time period, determine the SMS verification rate within the specified time period; and based on the SMS verification rate, verify the SMS reach rate within the specified time period.

[0104] In some examples, the SMS verification code usually has a validity period, during which the SMS verification code is valid, for example, 5 minutes, or 10 minutes, etc. The length of the validity period can be set according to actual needs and is not limited here.

[0105] Therefore, after recording the receiving time of the verification request, the verification code in the verification request can be verified based on the receiving time and the sending time.

[0106] Specifically, the receiving time of the verification request with the same communication number and the sending time in the sending record can be compared. When the difference between the receiving time of the verification request corresponding to the same communication number and the sending time in the sending record is less than the preset time length, it can be said that the SMS verification code to be verified carried in the verification request is within the validity period, and the SMS verification code to be verified in the verification request with the same communication number can be verified. The preset time length is the validity period of the SMS verification code.

[0107] Specifically, when the SMS code to be verified in the verification request corresponding to the same communication number is the same as the first SMS verification code, the verification can be confirmed to be successful. At this time, the SMS verification code to be verified can be used as the verified SMS verification code; and a verification record including the verified SMS verification code, the communication number, and the receiving time is generated.

[0108] Through the embodiments of the present invention, when a text message verification code has a corresponding validity period, only the text message verification codes within the validity period can be counted, thereby more accurately calculating the text message verification rate, and more accurately verifying the text message reach rate within a specified time period, thereby improving the verification accuracy of the text message reach rate.

[0109] It can be understood that steps S510 to S530, S560 and S570 in the embodiment of the present invention are the same as or similar to steps S210 to S230, S250 and S260 in the first embodiment, and are not described in detail here.

[0110] In some examples, Figure 2 Based on the SMS reach rate verification method shown in FIG. , the embodiment of the present invention also provides a possible implementation method, such as Figure 6 FIG. 1 is a flowchart of a fifth implementation of a method for verifying SMS reachability in an embodiment of the present invention; the method may include:

[0111] S610, in response to the SMS verification code acquisition request sent by the first user terminal, sending the first SMS verification code and the communication number to the second server, so that the second server sends the first SMS verification code to the second user terminal corresponding to the communication number; wherein the acquisition request carries the communication number for receiving the first SMS verification code;

[0112] S620, encrypting the first SMS verification code and the communication number using a preset encryption method to obtain first encrypted information, and using the first encrypted information and the sending time as a sending record;

[0113] S630, when receiving the verification request sent by the first user terminal, record the time of receiving the verification request;

[0114] S640, verifying the SMS verification code to be verified carried in the verification request, and when the verification is successful, using the SMS verification code to be verified as the verified SMS verification code; and encrypting the verified SMS verification code and the communication number using a preset encryption method to obtain second encrypted information, and using the second encrypted information and the receiving time as the verification record;

[0115] S650, upon receiving the SMS reach rate within the specified time period, obtaining the sending record and verification record within the specified time period;

[0116] S660, based on the sending records and verification records within the specified time period, determine the SMS verification rate within the specified time period; and based on the SMS verification rate, verify the SMS reach rate within the specified time period.

[0117] In some examples, in order to improve the security of the sending record and the verification record and prevent the criminals from directly viewing the communication number after the sending record and the verification record are stolen, in an embodiment of the present invention, the first SMS verification code and the communication number can be encrypted using a preset encryption method to obtain the first encrypted information, and the first encrypted information and the sending time are used as the sending record;

[0118] Then, after the verification code of the SMS to be verified in the verification request is verified, the verification code of the SMS to be verified is used as the verified SMS verification code; and the verified SMS verification code and the communication number are encrypted using a preset encryption method to obtain a second encrypted message, and the second encrypted message and the receiving time are used as the verification record;

[0119] By verifying the SMS verification code and the communication number, even if the sending record and verification record are stolen, criminals cannot directly view the communication number, thereby better protecting user privacy and improving security.

[0120] After encrypting the first SMS verification code and the communication number, and encrypting the verified SMS verification code and the communication number, the first number of sending records within the specified time period after encryption and the second number of verification records within the specified time period can be directly counted; and then based on the first number and the second number, the SMS verification rate within the specified time period is determined.

[0121] In some other examples, since the SMS verification code and the communication number in the sending record and the verification record are encrypted using the same encryption method, if the SMS verification code and the communication number to be verified in the verification record are the same as the first SMS verification code and the communication number in the sending record, then the encrypted first encrypted information and the encrypted second information must also be the same.

[0122] Therefore, the encrypted first encrypted information and the encrypted second encrypted information can also be compared, and the number of second encrypted information that is the same as the first encrypted information can be counted. Finally, based on the number of second encrypted information that is the same as the first encrypted information and the number of first encrypted information, the SMS verification rate within a specified time period can be calculated.

[0123] It can be understood that steps S610, S630, S650-S660 in the embodiment of the present invention are the same as or similar to steps S210, S230, S250-S260 in the first embodiment, and are not described in detail here.

[0124] In some examples, Figure 6 Based on the SMS reach rate verification method shown in FIG. , the embodiment of the present invention also provides a possible implementation method, such as Figure 7 FIG. 1 is a flowchart of a sixth implementation of a method for verifying SMS reachability in an embodiment of the present invention; the method may include:

[0125] S710, in response to the SMS verification code acquisition request sent by the first user terminal, sending the first SMS verification code and the communication number to the second server, so that the second server sends the first SMS verification code to the second user terminal corresponding to the communication number; wherein the acquisition request carries the communication number for receiving the first SMS verification code;

[0126] S720, encrypting the first SMS verification code and the communication number using a preset encryption method to obtain first encrypted information, and using the first encrypted information and the sending time as a sending record;

[0127] S730, when receiving the verification request sent by the first user terminal, record the time of receiving the verification request;

[0128] S740, verifying the SMS verification code to be verified carried in the verification request, and when the verification is successful, using the SMS verification code to be verified as the verified SMS verification code; and encrypting the verified SMS verification code and the communication number using a preset encryption method to obtain second encrypted information, and using the second encrypted information and the receiving time as the verification record;

[0129] S750, upon receiving the SMS reach rate within the specified time period, obtaining the sending record and verification record within the specified time period;

[0130] S760, using a decryption method corresponding to the preset encryption method, decrypting the first encrypted information in the sending record within the specified time period, and obtaining the first SMS verification code and the communication number in the sending record within the specified time period;

[0131] S770, using a decryption method corresponding to the preset encryption method, decrypting the second encrypted information in the verification record within the specified time period, and obtaining the verified SMS verification code and communication number in the sending record within the specified time period;

[0132] S780, comparing the first SMS verification code and the communication number in the sending record within the specified time period; and the verified SMS verification code and the communication number in the verification record within the specified time period; and counting the fifth number of verification records with the same first SMS verification code and the communication number in the sending record and the sixth number of sending records within the specified time period;

[0133] S790: Determine a text message verification rate within a specified time period based on the fifth number and the sixth number, and verify the text message reach rate within the specified time period based on the text message verification rate.

[0134] In some examples, after encrypting the first SMS verification code and the communication number, and encrypting the verified SMS verification code and the communication number, the embodiment of the present invention further provides a possible implementation method, specifically:

[0135] The first encrypted information in the sending record within the specified time period can be decrypted by using the decryption method corresponding to the preset encryption method, and the first SMS verification code and communication number in the sending record within the specified time period can be obtained; and the second encrypted information in the verification record within the specified time period can be decrypted by using the decryption method corresponding to the preset encryption method, and the verified SMS verification code and communication number in the sending record within the specified time period can be obtained; in this way, the first SMS verification code, communication number and verified SMS verification code before encryption can be decrypted. That is, the plain text before encryption can be obtained.

[0136] Then, the SMS verification rate within the specified time period is obtained by comparing the plain text. Specifically, the first SMS verification code and the communication number in the sending record within the specified time period can be compared; and the verified SMS verification code and the communication number in the verification record within the specified time period can be compared; and then based on the comparison results, the fifth number of verification records with the same first SMS verification code and communication number in the sending record and the sixth number of sending records within the specified time period are counted; finally, based on the fifth number and the sixth number, the SMS verification rate within the specified time period is determined. And based on the SMS verification rate, the SMS reach rate within the specified time period is verified.

[0137] By decrypting the encrypted ciphertext to obtain the plaintext before encryption, the first SMS verification code and communication number before encryption can be conveniently used to compare with the verified SMS verification code and communication number before encryption.

[0138] It can be understood that steps S710 to S750 in the embodiment of the present invention are the same as or similar to steps S610 to S650 in the first embodiment, and are not described in detail here.

[0139] In some examples, Figure 2 Based on the SMS reach rate verification method shown in FIG. , the embodiment of the present invention also provides a possible implementation method, such as Figure 8 FIG. 1 is a flowchart of a seventh implementation of a method for verifying SMS reachability in an embodiment of the present invention; the method may include:

[0140] S810, in response to the SMS verification code acquisition request sent by the first user terminal, sending the first SMS verification code and the communication number to the second server, so that the second server sends the first SMS verification code to the second user terminal corresponding to the communication number; wherein the acquisition request carries the communication number for receiving the first SMS verification code;

[0141] S820, generating a sending record including the first SMS verification code, the communication number and the sending time;

[0142] S830, when receiving the verification request sent by the first user terminal, record the time of receiving the verification request;

[0143] S840, verifying the SMS verification code to be verified carried in the verification request, and when the verification is successful, using the SMS verification code to be verified as the verified SMS verification code; and generating a verification record including the verified SMS verification code, the communication number, and the receiving time;

[0144] S850, upon receiving the SMS reach rate within the specified time period, obtaining the sending record and verification record within the specified time period;

[0145] S860, determining a text message verification rate within the specified time period based on the sending records and verification records within the specified time period;

[0146] S870, obtaining a first historical verification rate and a first historical SMS reach rate in the previous historical period of a specified time period;

[0147] S880, determining a verification rate change rate within the specified time period based on the first historical verification rate and the SMS verification rate within the specified time period; and determining a SMS reach rate change rate within the specified time period based on the SMS reach rate within the specified time period and the first historical SMS reach rate;

[0148] S890, when the verification rate change rate within the specified time period and the SMS reach rate change rate within the specified time period meet preset conditions, determine that the SMS reach rate within the specified time period is normal.

[0149] In some examples, after determining the SMS verification rate within a specified time period, in order to verify the SMS verification rate within the specified time period, you can first obtain the first historical verification rate and the first historical SMS reach rate in the previous historical period of the specified time period; wherein, the previous historical period of the specified time period is the time period before the specified time period and has the same length as the specified time period. For example, assuming that the specified time period is January 1, 2023-February 1, 2024, then the previous historical period of the specified time period is December 1, 2022-January 1, 2023.

[0150] Then, based on the first historical verification rate and the SMS verification rate in the specified time period, the verification rate change rate in the specified time period is calculated; and based on the SMS reach rate in the specified time period and the first historical SMS reach rate, the SMS reach rate change rate in the specified time period is determined;

[0151] Among them, the verification rate change rate within the specified time period = (SMS verification rate within the specified time period - the first historical verification rate) ÷ the first historical verification rate, the SMS reach rate change rate within the specified time period = (SMS reach rate within the specified time period - the first historical SMS reach rate) ÷ the first historical SMS reach rate.

[0152] When the verification rate change rate within the specified time period and the SMS reach rate change rate within the specified time period meet preset conditions, it is determined that the SMS reach rate within the specified time period is normal.

[0153] In some examples, the preset condition may be: the difference between the verification rate change rate within the specified time period and the SMS reach rate change rate within the specified time period is less than a second preset threshold; the preset condition may also be: the verification rate change rate within the specified time period is less than the preset change rate threshold, and the SMS reach rate change rate within the specified time period is less than the preset change rate threshold.

[0154] Through the SMS reach rate verification method of the embodiment of the present invention, verification can be performed based on historical SMS reach rates and historical SMS verification rates, making the verification result more accurate.

[0155] It can be understood that steps S810 to S850 in the embodiment of the present invention are the same as or similar to steps S210 to S250 in the first embodiment, and are not described in detail here.

[0156] In order to more clearly illustrate the embodiments of the present invention, Fig. 9 The interactive schematic diagram shown in FIG. 1 illustrates the SMS reachability verification method of an embodiment of the present invention. Fig. 9 , which is an interactive schematic diagram of a method for verifying SMS reachability in an embodiment of the present invention;

[0157] exist Fig. 9 When a user needs to log in, register, or retrieve a password, they can enter their mobile phone number in the app (application), browser page, or mini-program, and then click the button to send a text message verification code to receive the text message verification code;

[0158] Then the app, browser webpage or applet can submit the user's mobile phone number to the background server (that is, the first server mentioned above), and the background server can use the existing SMS verification code generation technology to generate the SMS verification code. Then send the SMS verification code and mobile phone number to the operator's server or the operator's agent's server. At the same time, the background server can also generate a sending record containing the sent SMS verification code, mobile phone number and sending time; and asynchronously deliver the sending record to the kafka open source stream processing platform, so that the kafka open source stream processing platform can save the sending record to the Hive database.

[0159] After receiving the SMS verification code and the mobile phone number, the operator's server or the operator's agent's server may send the SMS verification code to the mobile phone or tablet computer corresponding to the mobile phone number.

[0160] In this way, the user can view the SMS verification code and enter the SMS verification code into the app, browser webpage or applet, and the app, browser webpage or applet will submit the input SMS verification code and mobile phone number to the backend server so that the backend server can verify the SMS verification code and mobile phone number. At the same time, the backend server can also generate a verification record including the input SMS verification code, mobile phone number and the time when the SMS verification code was received; and asynchronously deliver the verification record to the kafka open source stream processing platform so that the kafka open source stream processing platform can save the verification record to the Hive database.

[0161] Finally, when the SMS reach rate within the specified time period is received, the sending record and verification record within the specified time period are obtained; based on the sending record and verification record within the specified time period, the SMS verification rate within the specified time period is determined; and based on the SMS verification rate, the SMS reach rate within the specified time period is verified.

[0162] This makes it possible to verify the authenticity of the SMS reach rate provided by telecom operators.

[0163] Corresponding to the above method embodiment, the embodiment of the present invention further provides a text message reach rate verification device, which can be applied to a first server, the first server is a server of a service provider, the first server is connected to a second server in communication, and the second server is a server of a telecommunications operator, such as Fig.10 FIG. 1 is a schematic diagram of a structure of a device for verifying the reachability of a short message according to an embodiment of the present invention, and the device includes:

[0164] The sending module 1010 is used to send the first SMS verification code and the communication number to the second server in response to the SMS verification code acquisition request sent by the first user terminal, so that the second server sends the first SMS verification code to the second user terminal corresponding to the communication number; wherein the acquisition request carries the communication number for receiving the first SMS verification code;

[0165] The first generating module 1020 is used to generate a sending record including a first SMS verification code, a communication number and a sending time;

[0166] The recording module 1030 is configured to record the time of receiving the verification request when receiving the verification request sent by the first user terminal;

[0167] The second generating module 1040 is used to verify the SMS verification code to be verified carried in the verification request, and when the verification is successful, use the SMS verification code to be verified as the verified SMS verification code; and generate a verification record including the verified SMS verification code, the communication number and the receiving time;

[0168] The acquisition module 1050 is used to acquire the sending records and verification records within the specified time period upon receiving the SMS reach rate within the specified time period;

[0169] The verification module 1060 is used to determine the SMS verification rate within the specified time period based on the sending records and verification records within the specified time period; and based on the SMS verification rate, verify the SMS reach rate within the specified time period.

[0170] An embodiment of the present invention provides a device for verifying a text message reach rate. A first server of a service provider first responds to a text message verification code acquisition request sent by a first user terminal and carrying a communication number for receiving a first text message verification code, and sends the first text message verification code and the communication number to a second server, so that the second server sends the first text message verification code to the second user terminal corresponding to the communication number; then generates a sending record including the first text message verification code, the communication number and the sending time; when receiving the verification request sent by the first user terminal, records the receiving time of the verification request; then verifies the text message verification code to be verified carried in the verification request, and when the verification passes, uses the text message verification code to be verified as the verified text message verification code; and generates a verification record including the verified text message verification code, the communication number and the receiving time; in this way, by recording the sent text message verification code and the communication number and recording the received text message verification code and the communication number, when the text message reach rate within a specified time period is received, the sending record and the verification record within the specified time period can be obtained; based on the sending record and the verification record within the specified time period, the text message verification rate within the specified time period is determined; and based on the text message verification rate, the text message reach rate within the specified time period is verified. Thus, the authenticity of the SMS reach rate provided by the telecom operator can be verified. In addition, by recording the sent SMS verification code and the communication number and the received SMS verification code and the communication number, the communication operator can be paid based on the sending record and the verification record, thereby reducing the expenses of the service provider.

[0171] In some examples, the verification module 1060 is specifically configured to:

[0172] Counting a first number of sending records within a specified time period and a second number of verification records within the specified time period;

[0173] Based on the first number and the second number, a text message verification rate within a specified time period is determined.

[0174] In some examples, the verification module 1060 is specifically configured to:

[0175] Compare the first SMS verification code and the communication number in the sending record within the specified time period, and the verified SMS verification code and the communication number in the verification record within the specified time period;

[0176] Counting a third number of verification records having the same first SMS verification code and communication number as those in the sending record, and a fourth number of sending records within a specified time period;

[0177] Based on the third number and the fourth number, a text message verification rate within a specified time period is determined.

[0178] In some examples, the second generating module 1040 is configured to:

[0179] When the difference between the receiving time of the verification request corresponding to the same communication number and the sending time in the sending record is less than the preset time length, and the SMS code to be verified in the verification request corresponding to the same communication number is the same as the first SMS verification code, the verification is confirmed to be successful;

[0180] The SMS verification code to be verified is used as the verified SMS verification code; and a verification record including the verified SMS verification code, communication number and receiving time is generated.

[0181] In some examples, the first generating module 1020 is specifically configured to:

[0182] The first SMS verification code and the communication number are encrypted using a preset encryption method to obtain first encrypted information, and the first encrypted information and the sending time are used as a sending record;

[0183] In some examples, the second generating module 1040 is specifically configured to:

[0184] The verified SMS verification code and communication number are encrypted using a preset encryption method to obtain a second encrypted message, and the second encrypted message and the receiving time are used as a verification record.

[0185] In some examples, the verification module 1060 is specifically configured to:

[0186] Decrypting the first encrypted information in the sending record within the specified time period using a decryption method corresponding to the preset encryption method, and obtaining the first SMS verification code and the communication number in the sending record within the specified time period;

[0187] Decrypt the second encrypted information in the verification record within the specified time period using a decryption method corresponding to the preset encryption method to obtain the verified SMS verification code and communication number in the sending record within the specified time period;

[0188] Compare the first SMS verification code and the communication number in the sending record within the specified time period; and the verified SMS verification code and the communication number in the verification record within the specified time period;

[0189] Counting the fifth number of verification records with the same first SMS verification code and communication number as those in the sending record and the sixth number of sending records within a specified time period;

[0190] Based on the fifth quantity and the sixth quantity, a text message verification rate within a specified time period is determined.

[0191] In some examples, the verification module 1060 is specifically configured to:

[0192] Get the first historical verification rate and the first historical SMS reach rate in the previous historical period of the specified time period;

[0193] Determine the verification rate change rate within the specified time period based on the first historical verification rate and the SMS verification rate within the specified time period; and determine the SMS reach rate change rate within the specified time period based on the SMS reach rate within the specified time period and the first historical SMS reach rate;

[0194] When the verification rate change rate within the specified time period and the SMS reach rate change rate within the specified time period meet preset conditions, it is determined that the SMS reach rate within the specified time period is normal.

[0195] The embodiment of the present invention also provides a server, such as Fig.11 As shown, it includes a processor 1101, a communication interface 1102, a memory 1103 and a communication bus 1104, wherein the processor 1101, the communication interface 1102, and the memory 1103 communicate with each other through the communication bus 1104.

[0196] Memory 1103, used for storing computer programs;

[0197] The processor 1101 is used to implement the steps of the SMS reach rate verification method shown in any of the above embodiments when executing the program stored in the memory 1103. For example, the following steps can be implemented:

[0198] In response to the SMS verification code acquisition request sent by the first user terminal, the first SMS verification code and the communication number are sent to the second server, so that the second server sends the first SMS verification code to the second user terminal corresponding to the communication number; wherein the acquisition request carries the communication number for receiving the first SMS verification code;

[0199] Generate a sending record including the first SMS verification code, the communication number and the sending time;

[0200] When receiving the verification request sent by the first user terminal, recording the time of receiving the verification request;

[0201] Verify the SMS verification code to be verified carried in the verification request. When the verification is successful, use the SMS verification code to be verified as the verified SMS verification code; and generate a verification record including the verified SMS verification code, communication number, and receiving time;

[0202] When receiving the SMS reach rate within the specified time period, obtain the sending records and verification records within the specified time period;

[0203] Based on the sending records and verification records within the specified time period, the SMS verification rate within the specified time period is determined; and based on the SMS verification rate, the SMS reach rate within the specified time period is verified.

[0204] A server provided by an embodiment of the present invention comprises a first server of a service provider, in which a first server of the service provider first responds to a request for obtaining a text message verification code sent by a first user terminal and carrying a communication number for receiving a first text message verification code, and sends the first text message verification code and the communication number to a second server, so that the second server sends the first text message verification code to the second user terminal corresponding to the communication number; then generates a sending record including the first text message verification code, the communication number and the sending time; upon receiving the verification request sent by the first user terminal, records the receiving time of the verification request; then verifies the text message verification code to be verified carried in the verification request, and when the verification passes, uses the text message verification code to be verified as the verified text message verification code; and generates a verification record including the verified text message verification code, the communication number and the receiving time; in this way, by recording the sent text message verification code and the communication number and recording the received text message verification code and the communication number, when the text message reach rate within the specified time period is received, the sending record and the verification record within the specified time period can be obtained; based on the sending record and the verification record within the specified time period, the text message verification rate within the specified time period is determined; and based on the text message verification rate, the text message reach rate within the specified time period is verified. Thus, the authenticity of the SMS reach rate provided by the telecom operator can be verified. In addition, by recording the sent SMS verification code and the communication number and the received SMS verification code and the communication number, the communication operator can be paid based on the sending record and the verification record, thereby reducing the expenses of the service provider.

[0205] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0206] The communication interface is used for communication between the above terminal and other devices.

[0207] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0208] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0209] In another embodiment provided by the present invention, a computer-readable storage medium is further provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of the SMS reach rate verification method shown in any of the above embodiments are implemented. For example, the following steps can be implemented:

[0210] In response to the SMS verification code acquisition request sent by the first user terminal, the first SMS verification code and the communication number are sent to the second server, so that the second server sends the first SMS verification code to the second user terminal corresponding to the communication number; wherein the acquisition request carries the communication number for receiving the first SMS verification code;

[0211] Generate a sending record including the first SMS verification code, the communication number and the sending time;

[0212] When receiving the verification request sent by the first user terminal, recording the time of receiving the verification request;

[0213] Verify the SMS verification code to be verified carried in the verification request. When the verification is successful, use the SMS verification code to be verified as the verified SMS verification code; and generate a verification record including the verified SMS verification code, communication number, and receiving time;

[0214] When receiving the SMS reach rate within the specified time period, obtain the sending records and verification records within the specified time period;

[0215] Based on the sending records and verification records within the specified time period, the SMS verification rate within the specified time period is determined; and based on the SMS verification rate, the SMS reach rate within the specified time period is verified.

[0216] A computer-readable storage medium is provided in an embodiment of the present invention. A first server of a service provider first responds to a text message verification code acquisition request sent by a first user terminal and carrying a communication number for receiving a first text message verification code, and sends the first text message verification code and the communication number to a second server, so that the second server sends the first text message verification code to the second user terminal corresponding to the communication number; then generates a sending record including the first text message verification code, the communication number and the sending time; when receiving the verification request sent by the first user terminal, records the receiving time of the verification request; then verifies the text message verification code to be verified carried in the verification request, and when the verification passes, uses the text message verification code to be verified as the verified text message verification code; and generates a verification record including the verified text message verification code, the communication number and the receiving time; in this way, by recording the sent text message verification code and the communication number and recording the received text message verification code and the communication number, when the text message reach rate within the specified time period is received, the sending record and the verification record within the specified time period can be obtained; based on the sending record and the verification record within the specified time period, the text message verification rate within the specified time period is determined; and based on the text message verification rate, the text message reach rate within the specified time period is verified. Thus, the authenticity of the SMS reach rate provided by the telecom operator can be verified. In addition, by recording the sent SMS verification code and the communication number and the received SMS verification code and the communication number, the communication operator can be paid based on the sending record and the verification record, thereby reducing the expenses of the service provider.

[0217] In another embodiment provided by the present invention, a computer program product including instructions is further provided. When the computer program product is run on a computer, the computer executes the steps of the SMS reach rate verification method shown in any of the above embodiments. For example, the following steps may be executed:

[0218] In response to the SMS verification code acquisition request sent by the first user terminal, the first SMS verification code and the communication number are sent to the second server, so that the second server sends the first SMS verification code to the second user terminal corresponding to the communication number; wherein the acquisition request carries the communication number for receiving the first SMS verification code;

[0219] Generate a sending record including the first SMS verification code, the communication number and the sending time;

[0220] When receiving the verification request sent by the first user terminal, recording the time of receiving the verification request;

[0221] Verify the SMS verification code to be verified carried in the verification request. When the verification is successful, use the SMS verification code to be verified as the verified SMS verification code; and generate a verification record including the verified SMS verification code, communication number, and receiving time;

[0222] When receiving the SMS reach rate within the specified time period, obtain the sending records and verification records within the specified time period;

[0223] Based on the sending records and verification records within the specified time period, the SMS verification rate within the specified time period is determined; and based on the SMS verification rate, the SMS reach rate within the specified time period is verified.

[0224] A computer program product provided by an embodiment of the present invention comprises: a first server of a service provider first responds to a request for obtaining a text message verification code sent by a first user terminal and carrying a communication number for receiving a first text message verification code, and sends the first text message verification code and the communication number to a second server, so that the second server sends the first text message verification code to the second user terminal corresponding to the communication number; then generates a sending record including the first text message verification code, the communication number and the sending time; upon receiving the verification request sent by the first user terminal, records the receiving time of the verification request; then verifies the text message verification code to be verified carried in the verification request, and when the verification passes, uses the text message verification code to be verified as the verified text message verification code; and generates a verification record including the verified text message verification code, the communication number and the receiving time; in this way, by recording the sent text message verification code and the communication number and recording the received text message verification code and the communication number, when the text message reach rate within the specified time period is received, the sending record and the verification record within the specified time period can be obtained; based on the sending record and the verification record within the specified time period, the text message verification rate within the specified time period is determined; and based on the text message verification rate, the text message reach rate within the specified time period is verified. Thus, the authenticity of the SMS reach rate provided by the telecom operator can be verified. In addition, by recording the sent SMS verification code and the communication number and the received SMS verification code and the communication number, the communication operator can be paid based on the sending record and the verification record, thereby reducing the expenses of the service provider.

[0225] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0226] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0227] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiments of the device, server, computer-readable storage medium, and computer program product containing instructions, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0228] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A method for verifying SMS reachability, characterized in that: Applied to a first server, the first server is a server of a service provider, the first server is in communication connection with a second server, the second server is a server of a telecommunications operator, the method comprises: In response to the SMS verification code acquisition request sent by the first user terminal, sending the first SMS verification code and the communication number to the second server, so that the second server sends the first SMS verification code to the second user terminal corresponding to the communication number; wherein the acquisition request carries the communication number for receiving the first SMS verification code; Generate a sending record including the first SMS verification code, the communication number and the sending time; When receiving the verification request sent by the first user terminal, recording the time of receiving the verification request; Verifying the SMS verification code to be verified carried in the verification request, and when the verification is successful, using the SMS verification code to be verified as the verified SMS verification code; and generating a verification record including the verified SMS verification code, the communication number, and the receiving time; Upon receiving the SMS reach rate within a specified time period, obtaining the sending record and verification record within the specified time period; Based on the sending records and the verification records within the specified time period, the SMS verification rate within the specified time period is determined; and based on the SMS verification rate, the SMS reach rate within the specified time period is verified.

2. The method according to claim 1, characterized in that: The determining the SMS verification rate within the specified time period based on the sending record and the verification record within the specified time period includes: Counting a first number of the sending records within the specified time period and a second number of the verification records within the specified time period; Based on the first number and the second number, a text message verification rate within the specified time period is determined.

3. The method according to claim 1, characterized in that The determining the SMS verification rate within the specified time period based on the sending record and the verification record within the specified time period includes: Comparing the first SMS verification code and the communication number in the sending record within the specified time period, and the verified SMS verification code and the communication number in the verification record within the specified time period; Counting a third number of verification records having the same first SMS verification code and communication number as those in the sending record, and a fourth number of the sending records within the specified time period; Based on the third number and the fourth number, a text message verification rate within the specified time period is determined.

4. The method according to claim 1, characterized in that: The verification code of the SMS to be verified carried in the verification request is verified, and when the verification is successful, the SMS verification code to be verified is used as the verified SMS verification code; And generate a verification record including the verified SMS verification code, the communication number and the receiving time, including: When the difference between the receiving time of the verification request corresponding to the same communication number and the sending time in the sending record is less than the preset time length, and the SMS code to be verified in the verification request corresponding to the same communication number is the same as the first SMS verification code, the verification is confirmed to be successful; The SMS verification code to be verified is used as the verified SMS verification code; and a verification record including the verified SMS verification code, the communication number and the receiving time is generated.

5. The method according to claim 1, characterized in that The generating of a sending record including the first SMS verification code, the communication number and the sending time includes: Encrypting the first SMS verification code and the communication number using a preset encryption method to obtain first encrypted information, and using the first encrypted information and the sending time as the sending record; The generating of the verification record including the verified SMS verification code, the communication number and the receiving time includes: The verified SMS verification code and the communication number are encrypted using the preset encryption method to obtain second encrypted information, and the second encrypted information and the receiving time are used as the verification record.

6. The method according to claim 5, characterized in that The determining the SMS verification rate within the specified time period based on the sending record and the verification record within the specified time period includes: Decrypting the first encrypted information in the sending record within the specified time period using a decryption method corresponding to the preset encryption method to obtain the first SMS verification code and the communication number in the sending record within the specified time period; Decrypting the second encrypted information in the verification record within the specified time period using a decryption method corresponding to the preset encryption method, and obtaining the verified SMS verification code and the communication number in the sending record within the specified time period; Comparing the first SMS verification code and the communication number in the sending record within the specified time period; and the verified SMS verification code and the communication number in the verification record within the specified time period; Counting a fifth number of verification records having the same first SMS verification code and communication number as those in the sending record and a sixth number of sending records within the specified time period; Based on the fifth number and the sixth number, a text message verification rate within the specified time period is determined.

7. The method according to claim 1, characterized in that The verifying the SMS reach rate within the specified time period based on the SMS verification rate includes: Obtaining the first historical verification rate and the first historical SMS reach rate in the previous historical period of the specified time period; Based on the first historical verification rate and the SMS verification rate in the specified time period, determining the verification rate change rate in the specified time period; and based on the SMS reach rate in the specified time period and the first historical SMS reach rate, determining the SMS reach rate change rate in the specified time period; When the verification rate change rate within the specified time period and the SMS reach rate change rate within the specified time period meet preset conditions, it is determined that the SMS reach rate within the specified time period is normal.

8. A device for verifying SMS reachability, characterized in that: Applied to a first server, the first server is a server of a service provider, the first server is in communication connection with a second server, the second server is a server of a telecommunications operator, the device comprises: a sending module, configured to send the first SMS verification code and the communication number to the second server in response to the SMS verification code acquisition request sent by the first user terminal, so that the second server sends the first SMS verification code to the second user terminal corresponding to the communication number; wherein the acquisition request carries the communication number for receiving the first SMS verification code; A first generating module, used to generate a sending record including the first SMS verification code, the communication number and the sending time; a recording module, configured to record a time of receiving the verification request sent by the first user terminal when the verification request is received; A second generating module is used to verify the SMS verification code to be verified carried in the verification request, and when the verification is passed, use the SMS verification code to be verified as the verified SMS verification code; and generate a verification record including the verified SMS verification code, the communication number and the receiving time; An acquisition module, configured to acquire the sending record and verification record within a specified time period upon receiving the SMS reach rate within the specified time period; The verification module is used to determine the SMS verification rate within the specified time period based on the sending records and the verification records within the specified time period; and based on the SMS verification rate, verify the SMS reach rate within the specified time period.

9. A server, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the steps of any one of the methods described in claims 1-7 when executing a program stored in a memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the methods of claims 1-7 are implemented.

11. A computer program product comprising instructions, characterized in that When the method is executed on a computer, the computer is enabled to execute the steps of the method according to any one of claims 1 to 7.