Method and device for sending verification text message content, method and device for sending verification text message, electronic device and computer-readable storage medium

A method and device for generating and sending verification SMS content using hash algorithms and QR codes automate the SMS generation process, addressing user complexity and enhancing verification efficiency and security.

CN117097507BActive Publication Date: 2024-12-06成都安易迅科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310817912.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-05
Publication Date
2024-12-06
Estimated Expiration
2043-07-05

AI Technical Summary

Technical Problem

Existing methods for sending verification SMS content are cumbersome and time-consuming, especially when dealing with complex or rare characters, requiring manual editing by users.

Method used

Generate verification content based on preset rules, convert it into a hash value using a hash algorithm, create a unique uniform resource locator, and display a QR code containing this locator, allowing users to automatically generate and send the SMS by scanning the QR code.

Benefits of technology

Reduces user operation complexity, enhances verification efficiency, and supports complex content types including text, pictures, and video, improving security and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117097507B_ABST
    Figure CN117097507B_ABST
Patent Text Reader

Abstract

The present application discloses a method for sending verification SMS content and a method for sending verification SMS content, wherein the method for sending verification SMS content includes: generating verification content according to preset content generation rules, wherein the verification content includes at least a target number and a main body content; converting the verification content into a hash value based on a hash algorithm, and establishing a mapping relationship between the hash value and the verification content; generating a corresponding uniform resource locator according to the target application website and the hash value; generating a QR code according to the uniform resource locator and displaying it on a user terminal for identification by the user terminal. The present application reduces the operation of users sending verification SMS and improves the efficiency of verification; and supports verification content with high complexity and diverse simulation states, significantly improving the security and reliability of verification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and specifically to a method and device for sending verification text message content, a method and device for sending verification text messages, an electronic device, and a computer-readable storage medium. Background Art

[0002] When using an application, there are often scenarios where, in order to verify the authenticity of the user, the user is required to send the content sent by the server to a designated number via text message. In some cases, the verification content is relatively simple, such as a six-digit number; but in other scenarios, the content that the user needs to enter is relatively complicated, and the user needs to spend a lot of time editing it, and the operation is cumbersome. Some content even has problems with editing difficulties, such as rare characters. Summary of the invention

[0003] In response to the above problems, the embodiments of the present application provide a method and device for sending verification SMS content, a method and device for sending verification SMS, an electronic device and a computer-readable storage medium to overcome or partially overcome the shortcomings of the prior art.

[0004] In a first aspect, an embodiment of the present application provides a method for sending a verification SMS content, the method being executed by an application server and comprising:

[0005] Generate verification content according to preset content generation rules, wherein the verification content at least includes a target number and a main body content;

[0006] Based on the hash algorithm, the verification content is converted into a hash value, and a mapping relationship is established between the hash value and the verification content;

[0007] Generate a corresponding uniform resource locator according to the target application URL and the hash value;

[0008] A two-dimensional code is generated according to the uniform resource locator and displayed on a user terminal for identification by the user terminal.

[0009] In a second aspect, an embodiment of the present application further provides a method for sending a verification SMS, the method being executed by a browser and comprising:

[0010] Obtaining a QR code scanned or recognized by a user terminal, wherein the QR code is sent to the user terminal using the above-mentioned method for sending verification SMS content;

[0011] Parsing the QR code to obtain a uniform resource locator contained in the QR code;

[0012] According to the uniform resource locator, redirect to the verification content, the verification content at least includes a target number and a main body content;

[0013] The SMS function of the user terminal is called, and the target number and the main content are filled in the corresponding positions of the SMS for the user to send.

[0014] In a third aspect, an embodiment of the present application further provides a device for sending a verification SMS content, the device comprising:

[0015] A content generation unit, used to generate verification content according to preset content generation rules;

[0016] A hash conversion unit, used to convert the verification content into a hash value based on a hash algorithm, and store the hash value and the verification content in correspondence;

[0017] A locator splicing unit, used to generate a corresponding uniform resource locator according to the target application URL and the hash value;

[0018] The content delivery unit is used to generate and display a QR code according to the generated uniform resource locator for identification by a user terminal.

[0019] In a fourth aspect, an embodiment of the present application further provides a device for sending a verification SMS, the device comprising:

[0020] An acquisition unit, used to acquire a QR code scanned or recognized by a user terminal and a telephone number of the user terminal, wherein the QR code is sent to the user terminal using the above-mentioned method for sending verification SMS content;

[0021] A parsing unit, used for parsing the two-dimensional code to obtain a uniform resource locator contained in the two-dimensional code;

[0022] A relocation unit, used for relocation to the verification content according to the uniform resource locator, wherein the verification content at least includes a target number and a main body content;

[0023] The completion unit is used to call the SMS function of the user terminal and fill the target number and the main content into the corresponding position of the SMS for the user to send.

[0024] In a fifth aspect, an embodiment of the present application further provides an electronic device, comprising: a processor; and a memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes the above-mentioned method for sending verification SMS content or the method for sending verification SMS.

[0025] In the sixth aspect, an embodiment of the present application also provides a computer-readable storage medium, which stores one or more programs. When the one or more programs are executed by an electronic device including multiple application programs, the electronic device executes the above-mentioned method for sending verification SMS content or the method for sending verification SMS.

[0026] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:

[0027] In order to solve the problem of troublesome editing of SMS verification content, this application proposes a method for sending verification SMS content. First, the verification content is generated according to the preset content generation rules, and the verification content includes at least the target number and the main content. Then, based on the hash algorithm, the verification content is converted into a hash value, and a mapping relationship is established between the hash value and the corresponding verification content and stored. Then, according to the target application website where the user is located and the generated hash value, a unique uniform resource locator is generated. Finally, a QR code is generated according to the uniform resource locator, so that the verification content information is included in the QR code. The QR code is displayed on the user terminal, and the user terminal can automatically generate a verification SMS by scanning and identifying. The user only needs to click to send, without editing the SMS content, to send the verification SMS. This application reduces the operation of users sending verification SMS and improves the efficiency of verification; and supports verification content with high complexity and diverse simulation states, which significantly improves the security and reliability of verification. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0029] Figure 1 A schematic diagram showing an application scenario according to an embodiment of the present application is shown;

[0030] Figure 2 A schematic diagram showing a flow chart of a method for sending verification SMS content according to an embodiment of the present application is shown;

[0031] Figure 3 A schematic diagram showing a flow chart of a method for sending a verification SMS according to an embodiment of the present application is shown;

[0032] Figure 4 A schematic diagram of the structure of a device for sending verification SMS content according to an embodiment of the present application is shown;

[0033] Figure 5 A schematic diagram of the structure of a device for sending a verification SMS according to an embodiment of the present application is shown;

[0034] Figure 6 This is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0036] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0037] When using an application, it is often necessary for the user to send text messages to a designated number in order to verify the authenticity of the user or the validity of the account. In some cases, the verification content is relatively simple, such as six digits. However, in other scenarios, the content that the user needs to enter is relatively complicated and the user needs to spend a lot of time editing it. The operation is cumbersome and some content is even difficult to edit, such as rare characters.

[0038] Figure 1 A schematic diagram of an application scenario according to an embodiment of the present application is shown, in which a client is installed on a user terminal, and the client is connected to a server via a network. The server is recorded as an application server, and the user can operate on the client installed on the user terminal to implement specific services or functions.

[0039] In the process of client application, in order to verify the authenticity of the user, the user is often required to send the content sent by the server to a designated number in the form of a text message. In the prior art, the user needs to edit the verification content given by the server on his or her mobile phone, such as a string of characters, and send it to a designated number, such as 10086 of China Mobile, to complete the verification.

[0040] In this regard, this application proposes a method for sending a verification SMS content. Figure 2 A flow chart of a method for sending verification SMS content according to an embodiment of the present application is shown. The method can be executed by an application server. Figure 2 It can be seen that the method for sending the verification SMS content of the present application at least includes steps S210 to S240:

[0041] Step S210: Generate verification content according to preset content generation rules, where the verification content at least includes a target number and main content.

[0042] Please refer to Figure 1 When a user operates on the client, in order to verify the authenticity or legality of certain information, such as when a user performs sensitive operations such as payment or insurance, the user's identity can be verified. Allowing the user to edit the specified content through SMS and send it to a specified number is an effective verification method. In the prior art, users are usually required to manually edit the given content in the SMS and then send it to the specified number to achieve verification.

[0043] If the verification information is just simple text, such as simple characters like 9563, it can be easily deciphered. Therefore, in order to increase the difficulty of deciphering, the verification content becomes more and more complicated. For example, rare characters and other content that are difficult to edit often appear, which makes it more troublesome for users to operate.

[0044] In this regard, the present application provides a method for sending verification SMS content, so that users can automatically generate verification SMS by scanning a QR code, greatly reducing the tediousness of user operations.

[0045] When the user's operation needs to be verified, verification content is generated according to the pre-set content generation rules.

[0046] The verification content at least includes a target number and a main content, wherein the target number is the number to which the SMS message is to be sent, such as 10086, etc., or a designated mobile phone number, etc., which is not limited in this application.

[0047] Usually, the main content is randomly generated under the content generation rules. Simply put, if the content generation rule is to verify that the content is a combination of numbers, uppercase letters, lowercase letters, and special characters, with a total of 16 characters, then the main content in the verification content can be randomly generated under this content generation rule, such as 68239SKTrraa*$$%.

[0048] This application does not limit the content generation rules, which can be set according to business needs.

[0049] It should also be noted that in the present application, the verification content can be multimodal, including but not limited to text, pictures, audio, and even video. Pictures, audio, and even video can be converted into vectors, matrices, etc. that can be recognized by computer language according to the digital-to-analog conversion method of the prior art.

[0050] The verification contents can be combined in a certain format, and different formats can be provided for different operating systems to match different operating systems or different protocols.

[0051] For the convenience of explanation, a simple example is given below. For example, the verification content generated for the IOS system is: sms:187829xxx27&body=I am the content to be sent; for the Android system, the verification content generated is: 187829xxx27? body=I am the content to be sent". Among them, 187829xxx27 is the encrypted target number, and body is the main content.

[0052] Step S220: Based on a hash algorithm, the verification content is converted into a hash value, and a mapping relationship is established between the hash value and the verification content.

[0053] Then, based on the hash algorithm, the above verification content is converted into a hash value, and then a mapping relationship is established between the hash value and the corresponding verification content, and the two are stored accordingly.

[0054] The hash algorithm may adopt any one of the prior art. Preferably, in some embodiments of the present application, the verification content is converted into a hash value based on the hash algorithm, including: converting the verification content into a hash value based on the MD5 algorithm.

[0055] MD5 (Message Digest Algorithm 5) is a commonly used hash algorithm used to irreversibly encrypt data of any length. It generates a 128-bit (16-byte) hash value as the output result after a series of complex operations on the input data.

[0056] The MD5 algorithm has the following characteristics: Irreversibility: the original data cannot be deduced from the hash value; the same input will always result in the same output: for the same input data, the same hash value will be obtained whenever it is run; a slight change in the input data will lead to a huge change in the output result: even if the input data is only changed by one bit, the output result will be completely different; high efficiency: fast calculation speed, suitable for hash calculation of large amounts of data.

[0057] Still using the aforementioned “sms:187829xxx27&body=I want to send the content”, after hashing with MD5, the obtained hash value is “68b329da9893e34099c7d8ad5cb9c940”.

[0058] The mapping relationship between the hash value and the verification content can be understood as a corresponding relationship, which can be reflected in the form of a data table and stored in a designated storage area of ​​the application server.

[0059] Step S230: Generate a corresponding uniform resource locator according to the target application website and the hash value.

[0060] The URL where the user is currently located is recorded as the target application URL. Based on the URL of the target application where the user is currently located and the aforementioned hash value, a unique uniform resource locator is generated by merging and splicing. The uniform resource locator is a URL address that contains or points to the target application URL and the corresponding hash value.

[0061] For example, if the URL the user is currently at is: https: / / ludashi.com / xxx / , the hash value is concatenated to the end of the URL to generate a uniform resource locator corresponding to the hash value, and the uniform resource locator is unique.

[0062] In some embodiments of the present application, generating a corresponding uniform resource locator based on the target application URL and the hash value includes: obtaining the target application URL of the current interface of the user terminal; and splicing the hash value to the target application URL to obtain the corresponding uniform resource locator.

[0063] As in the aforementioned embodiment, the uniform resource locator obtained after splicing is: https: / / ludashi.com / xxx / 68b329da9893e34099c7d8ad5cb9c940.

[0064] Step S240: Generate a QR code according to the uniform resource locator and display it on the user terminal for identification by the user terminal.

[0065] Finally, a QR code is generated according to the uniform resource locator, and the QR code contains the information of the uniform resource locator. After identifying the QR code, the uniform resource locator can be obtained. In some embodiments, a snowflake algorithm can be used to generate a QR code. The snowflake algorithm (Snowflake) is a distributed unique ID generation algorithm, which can generate a globally unique, increasing 64-bit ID, which is suitable for the need to uniquely identify a large amount of data in a distributed system; the advantage of the snowflake algorithm is that the ID generation efficiency is high, and the ID trend is increasing, which is convenient for database indexing, and it also supports distributed deployment.

[0066] After the server generates the QR code, it is displayed on the user terminal for identification by the user terminal.

[0067] From the user's perspective, when a QR code and a prompt to send a verification SMS pop up on the user terminal interface, the user can identify the QR code by scanning it or long pressing the QR code. After identification, a SMS can be automatically generated, which contains the verification content in the QR code. The user only needs to click Send to complete the verification.

[0068] Depend on Figure 2It can be seen from the method shown that this application proposes a method for sending verification SMS content to solve the problem of troublesome editing of SMS verification content. First, the verification content is generated according to the preset content generation rules, and at least the target number and the main content are included in the verification content. Then, based on the hash algorithm, the verification content is converted into a hash value, and a mapping relationship is established between the hash value and the corresponding verification content and stored. Then, according to the target application website where the user is located and the generated hash value, a unique uniform resource locator is generated. Finally, a QR code is generated according to the uniform resource locator, so that the verification content information is included in the QR code. The QR code is displayed on the user terminal, and the user terminal can automatically generate a verification SMS by scanning and identifying. The user only needs to click to send, without editing the SMS content, to achieve the sending of the verification SMS. This application reduces the operation of users sending verification SMS and improves the efficiency of verification; and supports highly complex verification content, including but not limited to text, voice, and even video, which significantly improves the security and reliability of verification.

[0069] Figure 3 A flow chart of a method for sending a verification SMS according to an embodiment of the present application is shown, wherein the method for sending a verification SMS is executed by a browser. Figure 3 It can be seen that the method for sending a verification SMS of the present application at least includes steps S310 to S340:

[0070] Step S310: Obtain a QR code scanned or recognized by a user terminal, wherein the QR code is sent to the user terminal using the above-mentioned method for sending verification SMS content.

[0071] After the server sends the verification SMS content to the user terminal using the above-mentioned method, the user identifies the QR code through the browser by using the scan function of the current application or by long pressing the QR code.

[0072] Step S320: Parse the QR code to obtain the Uniform Resource Locator contained in the QR code.

[0073] After reading the QR code, the browser parses it and obtains the uniform resource locator contained therein. For example, after scanning a QR code, the uniform resource locator obtained therein is:

[0074] https: / / ludashi.com / xxx / 68b329da9893e34099c7d8ad5cb9c940.

[0075] Step S330: Relocate to the verification content according to the uniform resource locator, and the verification content at least includes a target number and a main body content.

[0076] Then, relocation is performed according to the obtained uniform resource locator to obtain the verification content. Specifically, in some embodiments, relocation to the verification content according to the uniform resource locator includes: searching according to the hash value in the mapping relationship established between the hash value and the verification content to obtain the verification content.

[0077] In the designated storage area of ​​the server, there is a mapping relationship between hash values ​​and verification content. By searching in the mapping relationship, the verification content corresponding to the hash value can be obtained. Taking IOS as an example, for example, the aforementioned hash value 68b329da9893e34099c7d8ad5cb9c940, the corresponding verification content can be obtained by searching as sms:187829xxx27&body, where sms: format content is an optional content, or it can be set according to the format requirements, 187829xxx27 is the decrypted target number, and the complete target number can be obtained after decryption, and "body" is the main content of the verification content. The specific content of "body" can be text, pictures, audio, or even video.

[0078] Step S340: calling the SMS function of the user terminal, filling the target number and the main content into the corresponding positions of the SMS for the user to send.

[0079] After obtaining the verification content, the SMS function of the user terminal is called. Specifically, the verification content is input into the address box of the browser to realize the calling of the SMS function of the user terminal. For example, fill in sms:187829xxx27&body=I am the content to be sent in Safari on an iPhone to pull up the SMS sending interface.

[0080] After opening the SMS interface, fill in the target number and body content in the corresponding positions in the SMS, and a sendable SMS is generated. The user can directly click to send.

[0081] Depend on Figure 3 It can be seen from the method shown that in this application, the user terminal can automatically generate a verification SMS by scanning and identifying, and the user only needs to click send without editing the SMS content to send the verification SMS. This application reduces the user's operation of sending verification SMS and improves the efficiency of verification; and supports highly complex verification content, including but not limited to text, voice, and even video, which significantly improves the security and reliability of verification.

[0082] Figure 4 A schematic diagram of the structure of a device for sending verification SMS content according to an embodiment of the present application is shown. Figure 4It can be seen that the sending device 400 for verifying the content of the SMS message includes:

[0083] The content generation unit 410 is used to generate verification content according to preset content generation rules;

[0084] A hash conversion unit 420, configured to convert the verification content into a hash value based on a hash algorithm, and store the hash value and the verification content in correspondence;

[0085] The locator splicing unit 430 is used to generate a corresponding uniform resource locator according to the target application website and the hash value;

[0086] The content delivery unit 440 is used to generate a QR code according to the generated uniform resource locator and display it for identification by the user terminal.

[0087] In some embodiments of the present application, in the above-mentioned device for sending verification SMS content, the hash conversion unit 420 is used to convert the verification content into a hash value based on the MD5 algorithm.

[0088] In some embodiments of the present application, in the above-mentioned verification SMS content sending device, the locator splicing unit 430 is used to obtain the target application URL of the current interface of the user terminal; after splicing the hash value to the target application URL, the corresponding uniform resource locator is obtained.

[0089] In some embodiments of the present application, in the above-mentioned device for sending verification SMS content, the content sending unit 440 is used to generate a QR code according to the uniform resource locator based on the snowflake rule. Figure 5 A schematic diagram of the structure of a device for sending a verification SMS according to an embodiment of the present application is shown. Figure 5 It can be seen that the verification SMS sending device 500 includes:

[0090] The acquisition unit 510 is used to acquire the QR code scanned or recognized by the user terminal and the telephone number of the user terminal, wherein the QR code is sent to the user terminal using the above-mentioned method for sending the verification SMS content;

[0091] A parsing unit 520, configured to parse the two-dimensional code to obtain a uniform resource locator contained in the two-dimensional code;

[0092] A relocation unit 530, configured to relocate to verification content according to the uniform resource locator, wherein the verification content includes at least a target number and a main body content;

[0093] The completion unit 540 is used to call the SMS function of the user terminal and fill the target number and the main content into the corresponding position of the SMS for the user to send.

[0094] In some embodiments of the present application, in the above-mentioned verification SMS sending device, the relocation unit 530 is used to retrieve the mapping relationship established between the hash value and the verification content according to the hash value to obtain the verification content.

[0095] It should be noted that the above-mentioned verification SMS content sending device can implement the above-mentioned verification SMS content sending method one by one; the verification SMS sending device can implement the above-mentioned verification SMS sending method one by one, which will not be repeated here one by one.

[0096] Figure 6 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. Figure 6 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.

[0097] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0098] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0099] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a verification SMS content delivery device or a verification SMS sending device at the logical level. The processor executes the program stored in the memory and is specifically used to execute the above method.

[0100] The above application Figure 4The method performed by the device for sending the verification SMS content or the device for sending the verification SMS disclosed in the embodiment shown in or 5 can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above 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 gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above-mentioned method for sending the verification SMS content or the method for sending the verification SMS in combination with its hardware.

[0101] The electronic device may also perform Figure 4 Or the method executed by the sending device of the verification text message content or the sending device of the verification text message in 5, and realizing the sending device of the verification text message content or the sending device of the verification text message in Figure 4 Or the functions of the embodiment shown in 5, the embodiments of the present application will not be repeated here.

[0102] The present application also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by an electronic device including multiple application programs, enable the electronic device to execute Figure 4 Or the method executed by the device for sending the verification SMS content or the device for sending the verification SMS in the embodiment shown in 5, and is specifically used to execute the aforementioned method.

[0103] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0104] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0105] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0106] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0107] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0108] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0109] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0110] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0111] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0112] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for sending a verification SMS content, characterized in that: The method is executed by an application server and includes: Generate verification content according to preset content generation rules, wherein the verification content at least includes a target number and a main body content; Based on the hash algorithm, the verification content is converted into a hash value, and a mapping relationship is established between the hash value and the verification content; Generate a corresponding uniform resource locator according to the target application website and the hash value; wherein the target application website is the website where the user terminal is currently located; A two-dimensional code is generated according to the uniform resource locator and displayed on a user terminal for identification by the user terminal.

2. The method for sending verification SMS content according to claim 1, characterized in that: The step of converting the verification content into a hash value based on a hash algorithm includes: Based on the MD5 algorithm, the verification content is converted into a hash value.

3. The method for sending verification SMS content according to claim 1, characterized in that: The generating a corresponding uniform resource locator according to the target application website and the hash value includes: Get the target application URL of the current interface of the user terminal; The hash value is concatenated with the target application website to obtain a corresponding uniform resource locator.

4. The method for sending verification SMS content according to claim 1, characterized in that: The generating of the QR code according to the generated uniform resource locator comprises: Based on the snowflake rule, a QR code is generated according to the uniform resource locator.

5. A method for sending a verification SMS, characterized in that: The method is executed by a browser and includes: Obtaining a two-dimensional code scanned or recognized by a user terminal, wherein the two-dimensional code is sent to the user terminal using the method for sending verification SMS content according to any one of claims 1 to 4; Parsing the QR code to obtain a uniform resource locator contained in the QR code; Redirecting to verification content according to the uniform resource locator, the verification content at least including a target number and a main body content; The SMS function of the user terminal is called, and the target number and the main content are filled in the corresponding positions of the SMS for the user to send.

6. The method for sending a verification SMS according to claim 5, characterized in that: The step of relocating to the verification content according to the uniform resource locator comprises: According to the Hash value, a search is performed in the mapping relationship between the Hash value and the verification content to obtain the verification content.

7. A device for sending out verification text message content, characterized in that: The device comprises: A content generation unit, used to generate verification content according to preset content generation rules; A hash conversion unit, used to convert the verification content into a hash value based on a hash algorithm, and store the hash value and the verification content in correspondence; A locator splicing unit, used to generate a corresponding uniform resource locator according to the target application website and the hash value; wherein the target application website is the website where the user terminal is currently located; The content delivery unit is used to generate and display a QR code according to the generated uniform resource locator for identification by a user terminal.

8. A device for sending a verification SMS, characterized in that: The device comprises: An acquisition unit, used to acquire a two-dimensional code scanned or recognized by a user terminal, and a telephone number of the user terminal, wherein the two-dimensional code is sent to the user terminal using the method for sending verification SMS content according to any one of claims 1 to 4; A parsing unit, used for parsing the two-dimensional code to obtain a uniform resource locator contained in the two-dimensional code; A relocation unit, configured to relocate to verification content according to the uniform resource locator, wherein the verification content includes at least a target number and a main body content; The completion unit is used to call the SMS function of the user terminal and fill the target number and the main content into the corresponding position of the SMS for the user to send.

9. An electronic device, comprising: processor; as well as A memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes the method for sending the verification SMS content as described in any one of claims 1 to 4 or the method for sending the verification SMS as described in any one of claims 5 to 6.

10. A computer-readable storage medium storing one or more programs, which, when executed by an electronic device including multiple application programs, enables the electronic device to execute the method for sending verification SMS content as described in any one of claims 1 to 4 or the method for sending verification SMS as described in any one of claims 5 to 6.