Method and device for preventing malicious swiping of SMS verification codes

By monitoring the timestamps and coordinates when entering the mobile phone number, we can determine whether the input behavior is human-made, which solves the problem that users in the prior art need to operate additionally to prevent maliciously fetching SMS verification codes, and improves the user experience.

CN113343189BActive Publication Date: 2024-11-26BAIRONG FINANCIAL INFORMATION SERVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110750861.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-01
Publication Date
2024-11-26
Estimated Expiration
2041-07-01

AI Technical Summary

Technical Problem

When verifying the authenticity of mobile phone numbers, the prior art requires additional operations to prevent maliciously swiping SMS verification codes, resulting in poor user experience.

Method used

By popping up the target soft keyboard when receiving the soft keyboard call, monitoring the timestamp and coordinates of the input number, determining whether the input behavior is a human operation, and then determining whether the operation of entering the mobile phone number is a human operation.

Benefits of technology

No additional user operations are required to verify whether the operation of entering the mobile phone number is a human operation, effectively preventing malicious SMS verification code from being retrieved and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113343189B_ABST
    Figure CN113343189B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for preventing malicious swiping of SMS verification codes, and relates to the field of identity authentication technology. The method of the present application includes: when a soft keyboard awakening instruction is received, a target soft keyboard is popped up; a target input behavior for the target soft keyboard is monitored to obtain multiple input numbers and input information corresponding to each input number, wherein the input information corresponding to the input number includes: an input timestamp and / or input coordinate corresponding to the input number; and determining whether the target input behavior is a human input behavior according to the input timestamp and / or input coordinate corresponding to each input number.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of identity authentication technology, and more particularly to a method and device for preventing malicious swiping of SMS verification codes. Background Art

[0002] With the continuous advancement of science and technology and the continuous development of Internet technology, more and more applications are verifying the authenticity of user mobile phone numbers to authenticate users. Among them, verifying the authenticity of mobile phone numbers by sending SMS verification codes has become the mainstream trend today. As sending SMS verification codes to verify mobile phone numbers has become widely known, some problems have arisen, such as malicious SMS verification codes being swiped by competing companies.

[0003] At present, the method of verifying whether the operation of inputting a mobile phone number is a human operation is usually used to prevent malicious swiping of SMS verification codes. The specific process of verifying whether the operation of inputting a mobile phone number is a human operation is as follows: before the step of inputting a mobile phone number, add a step of outputting and displaying a picture containing Chinese characters (or English words), and requesting the input of the Chinese characters (or English words) contained in the picture. When it is detected that the input Chinese characters (or English words) are the same as the Chinese characters (or English words) contained in the picture, enter the step of inputting a mobile phone number, and determine that the operation of inputting a mobile phone number is a human operation. However, in order to verify whether the operation of inputting a mobile phone number is a human operation in the above manner, the user needs to perform additional verification operations in addition to inputting the mobile phone number, which leads to a poor user experience of the user using the application. Summary of the invention

[0004] The embodiment of the present application provides a method and device for preventing malicious swiping of SMS verification codes. The main purpose is to verify whether the operation of entering a mobile phone number is a human operation without the need for additional user operation during the process of verifying the authenticity of the mobile phone number, thereby preventing malicious swiping of SMS verification codes.

[0005] In order to solve the above technical problems, the embodiments of the present application provide the following technical solutions:

[0006] In a first aspect, the present application provides a method for preventing malicious swiping of SMS verification codes, the method comprising:

[0007] When receiving a soft keyboard wake-up command, the target soft keyboard pops up;

[0008] Monitoring the target input behavior for the target soft keyboard to obtain a plurality of input numbers and input information corresponding to each input number, wherein the input information corresponding to the input number includes: an input timestamp and / or input coordinates corresponding to the input number;

[0009] Determine whether the target input behavior is a human input behavior according to the input timestamp and / or input coordinates corresponding to each of the input numbers.

[0010] Optionally, the pop-up target soft keyboard includes:

[0011] Creating a disordered soft keyboard, wherein the plurality of numeric keys included in the disordered soft keyboard are arranged in disorder;

[0012] The unordered soft keyboard is determined as the target soft keyboard, and the target soft keyboard is popped up.

[0013] Optionally, the pop-up target soft keyboard includes:

[0014] Obtain a preset soft keyboard, wherein the preset soft keyboard comprises a plurality of numeric keys arranged in numerical order;

[0015] The preset soft keyboard is determined as the target soft keyboard, and the target soft keyboard is popped up.

[0016] Optionally, determining whether the target input behavior is a human input behavior according to the input timestamp corresponding to each input number includes:

[0017] Determine the input time interval between any two adjacent input numbers according to the input timestamp corresponding to each input number;

[0018] Get preset rules;

[0019] Determining whether the plurality of input time intervals conform to the preset rule;

[0020] If it is consistent, it is determined that the target input behavior is a human input behavior.

[0021] Optionally, determining whether the target input behavior is a human input behavior according to the input coordinates corresponding to each of the input numbers includes:

[0022] Determining whether the input coordinates corresponding to the plurality of input numbers are the same;

[0023] If different, it is determined that the target input behavior is a human input behavior.

[0024] In a second aspect, the present application also provides a device for preventing malicious swiping of SMS verification codes, the device comprising:

[0025] A pop-up unit, used to pop up a target soft keyboard when receiving a soft keyboard awakening instruction;

[0026] A monitoring unit, configured to monitor a target input behavior for the target soft keyboard to obtain a plurality of input digits and input information corresponding to each input digit, wherein the input information corresponding to the input digits includes: an input timestamp and / or input coordinates corresponding to the input digits;

[0027] A determination unit is used to determine whether the target input behavior is a human input behavior according to an input timestamp and / or input coordinate corresponding to each input number.

[0028] Optionally, the pop-up unit includes:

[0029] A creation module, used for creating a disordered soft keyboard, wherein the plurality of numeric keys included in the disordered soft keyboard are arranged in disorder;

[0030] The first pop-up module is used to determine the unordered soft keyboard as the target soft keyboard and pop up the target soft keyboard.

[0031] Optionally, the pop-up unit includes:

[0032] A first acquisition module is used to acquire a preset soft keyboard, wherein the preset soft keyboard includes a plurality of numeric keys arranged in numerical order;

[0033] The second pop-up module is used to determine the preset soft keyboard as the target soft keyboard and pop up the target soft keyboard.

[0034] Optionally, the determining unit includes:

[0035] A first determining module, configured to determine an input time interval between any two adjacent input numbers according to an input timestamp corresponding to each input number;

[0036] A second acquisition module is used to acquire preset rules;

[0037] A first judging module, used for judging whether a plurality of input time intervals conform to the preset rule;

[0038] The second determination module is configured to determine that the target input behavior is a human input behavior when the first judgment module determines that the plurality of input time intervals conform to the preset rule.

[0039] Optionally, the determining unit includes:

[0040] A second judgment module is used to judge whether the input coordinates corresponding to the multiple input numbers are the same;

[0041] The third determination module is used to determine that the target input behavior is a human input behavior when the second judgment module determines that the input coordinates corresponding to the multiple input numbers are different.

[0042] In a third aspect, an embodiment of the present application provides a storage medium, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the method for preventing malicious swiping of SMS verification codes described in the first aspect.

[0043] In a fourth aspect, an embodiment of the present application provides a device for preventing malicious swiping of SMS verification codes, the device comprising a storage medium; and one or more processors, the storage medium being coupled to the processor, the processor being configured to execute program instructions stored in the storage medium; when the program instructions are executed, the method for preventing malicious swiping of SMS verification codes described in the first aspect is executed.

[0044] By means of the above technical solution, the technical solution provided by this application has at least the following advantages:

[0045] The present application provides a method and device for preventing malicious swiping of SMS verification codes. The present application can control the target application to output and display a user interface including an input box for entering a mobile phone number when the target application needs to verify the authenticity of the mobile phone number. When the input box is clicked, the target application receives a soft keyboard wake-up instruction. At this time, the target application pops up a target soft keyboard and monitors the target input behavior for the target soft keyboard in real time, thereby obtaining multiple input numbers and input information corresponding to each input number (i.e., an input timestamp and / or input coordinates corresponding to the input number). Finally, it is determined whether the target input behavior is a human input behavior based on the input timestamp corresponding to each input number, and / or it is determined whether the target input behavior is a human input behavior based on the input coordinates corresponding to each input number. Because when any user manually inputs each digit contained in a mobile phone number, it is necessary to find the number key corresponding to each digit in the target soft keyboard and click the found number key on the touch screen of the target terminal device. Therefore, when the user manually inputs multiple digits contained in the mobile phone number, it takes a certain amount of time and needs to click the touch screen of the target terminal device multiple times, so that according to the input timestamp and / or input coordinates corresponding to each input digit, it can be determined whether the target input behavior is a manual input behavior, so that without the user's additional operation, it can be verified whether the operation of entering the mobile phone number is a manual operation, thereby effectively improving the user experience of the user using the application.

[0046] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easy to understand. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0048] Figure 1 A flowchart of a method for preventing malicious swiping of SMS verification codes provided by an embodiment of the present application is shown;

[0049] Figure 2 Another method flow chart for preventing malicious SMS verification code swiping provided by an embodiment of the present application is shown;

[0050] Figure 3 A block diagram of a device for preventing malicious SMS verification code swiping provided by an embodiment of the present application is shown;

[0051] Figure 4 A block diagram of another device for preventing malicious swiping of SMS verification codes provided by an embodiment of the present application is shown. DETAILED DESCRIPTION

[0052] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0053] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by technicians in the field to which this application belongs.

[0054] The present application embodiment provides a method for preventing malicious swiping of SMS verification codes, such as Figure 1 As shown, the method includes:

[0055] 101. When a soft keyboard awakening instruction is received, a target soft keyboard is popped up.

[0056] In the embodiment of the present invention, the execution subject in each step is a target application running in a target terminal device, wherein the target terminal device may be, but is not limited to, a terminal device with a touch screen, such as a smart phone and a tablet computer.

[0057] Among them, the target soft keyboard specifically refers to: the soft keyboard that comes with the target terminal device system, the soft keyboard that comes with the input method currently used by the target terminal device, or the soft keyboard created by the target application program itself. The embodiments of the present application do not specifically limit this.

[0058] In an embodiment of the present application, when the target application needs to verify the authenticity of a mobile phone number, the target application first outputs and displays a user interface containing an input box for entering the mobile phone number. When the input box is clicked, the target application receives a soft keyboard wake-up instruction. At this time, the target application needs to pop up the target soft keyboard.

[0059] 102. Monitor a target input behavior for a target soft keyboard to obtain a plurality of input numbers and input information corresponding to each input number.

[0060] Among them, the input information corresponding to the input number includes: an input timestamp and / or input coordinates corresponding to the input number, wherein the input timestamp corresponding to the input number is used to indicate the time point when the input number is input, and the input coordinates corresponding to the input number are used to indicate the coordinates of the touch point when the target terminal device touch screen is clicked when the input number is input relative to the target terminal device touch screen.

[0061] In an embodiment of the present application, after the target soft keyboard pops up, the target application needs to monitor the target input behavior for the target soft keyboard in real time, so as to obtain multiple input numbers and the input information corresponding to each input number (that is, the input timestamp and / or input coordinates corresponding to the input number), wherein the multiple input numbers constitute the mobile phone number that needs to be verified.

[0062] Specifically, in this step, the target application may monitor the target input behavior for the target soft keyboard through a monitoring function, but the present invention is not limited thereto.

[0063] 103. Determine whether the target input behavior is a human input behavior according to the input timestamp and / or input coordinates corresponding to each input number.

[0064] In an embodiment of the present application, after the target application obtains multiple input numbers and the input information corresponding to each input number (i.e., the input timestamp and / or input coordinates corresponding to the input number), it can determine whether the target input behavior is a human input behavior based on the input timestamp corresponding to each input number, and / or determine whether the target input behavior is a human input behavior based on the input coordinates corresponding to each input number.

[0065] Specifically, in this step, when any user manually inputs each number contained in the mobile phone number, it is necessary to find the number key corresponding to each number in the target soft keyboard and click the found number key on the touch screen of the target terminal device. Therefore, when the user manually inputs multiple numbers contained in the mobile phone number, it takes a certain amount of time and needs to click the touch screen of the target terminal device multiple times. Therefore, when the target application determines that the input duration corresponding to the target input behavior is greater than the preset duration threshold according to the input timestamp corresponding to each input number, it can be determined that the target input behavior is a human input behavior; when the target application determines that the target input behavior is generated by clicking the touch screen of the target terminal device multiple times according to the input coordinates corresponding to each input number, it can be determined that the target input behavior is a human input behavior, but it is not limited to this.

[0066] An embodiment of the present application provides a method for preventing malicious swiping of SMS verification codes. When the target application needs to verify the authenticity of the mobile phone number, the embodiment of the present application can control the target application to output and display a user interface including an input box for entering the mobile phone number. When the input box is clicked, the target application receives a soft keyboard wake-up instruction. At this time, the target application pops up a target soft keyboard and monitors the target input behavior for the target soft keyboard in real time, thereby obtaining multiple input numbers and input information corresponding to each input number (i.e., the input timestamp and / or input coordinates corresponding to the input number). Finally, it is determined whether the target input behavior is a human input behavior based on the input timestamp corresponding to each input number, and / or it is determined whether the target input behavior is a human input behavior based on the input coordinates corresponding to each input number. Because when any user manually inputs each digit contained in a mobile phone number, it is necessary to find the number key corresponding to each digit in the target soft keyboard and click the found number key on the touch screen of the target terminal device. Therefore, when the user manually inputs multiple digits contained in the mobile phone number, it takes a certain amount of time and needs to click the touch screen of the target terminal device multiple times, so that according to the input timestamp and / or input coordinates corresponding to each input digit, it can be determined whether the target input behavior is a manual input behavior, so that without the user's additional operation, it can be verified whether the operation of entering the mobile phone number is a manual operation, thereby effectively improving the user experience of the user using the application.

[0067] To explain in more detail below, the present application embodiment provides another method for preventing malicious SMS verification code swiping, specifically as follows: Figure 2 As shown, the method includes:

[0068] 201. When a soft keyboard awakening instruction is received, a target soft keyboard is popped up.

[0069] In an embodiment of the present application, when the target application needs to verify the authenticity of a mobile phone number, the target application first outputs and displays a user interface containing an input box for entering the mobile phone number. When the input box is clicked, the target application receives a soft keyboard wake-up instruction. At this time, the target application needs to pop up the target soft keyboard.

[0070] Specifically, in this step, the target application can pop up the target soft keyboard in the following two ways:

[0071] (1) First, a disordered soft keyboard is created, wherein the created disordered soft keyboard comprises a plurality of numeric keys arranged in disorder; second, the created disordered soft keyboard is determined as a target soft keyboard, and the target soft keyboard is popped up.

[0072] It should be noted that in actual application, the target application can create an unordered soft keyboard each time the authenticity of the mobile phone number is verified, wherein the arrangement order of the multiple numeric keys contained in the unordered soft keyboards created twice adjacently is different; or, in the process of verifying the authenticity of the mobile phone number this time, the unordered soft keyboard created in the last authenticity verification of the mobile phone number can be obtained, and the unordered soft keyboard can be determined as the target soft keyboard. The embodiments of the present application do not specifically limit this.

[0073] (2) First, a preset soft keyboard is obtained, wherein the preset soft keyboard may specifically be: a soft keyboard provided by the target terminal device system or a soft keyboard provided by the input method currently used by the target terminal device, wherein the preset soft keyboard comprises a plurality of numeric keys arranged in numerical order; secondly, the obtained preset soft keyboard is determined as a target soft keyboard, and the target soft keyboard is popped up.

[0074] 202. Monitor a target input behavior for a target soft keyboard to obtain a plurality of input numbers and input information corresponding to each input number.

[0075] Regarding step 202, monitoring the target input behavior of the target soft keyboard to obtain multiple input numbers and input information corresponding to each input number, please refer to Figure 1 The description of the corresponding parts of the embodiments of the present invention will not be repeated here.

[0076] 203a. Determine whether the target input behavior is a human input behavior according to the input timestamp corresponding to each input number.

[0077] In an embodiment of the present application, after the target application obtains multiple input numbers and the input information corresponding to each input number (i.e., the input timestamp corresponding to the input number), it can determine whether the target input behavior is a human input behavior based on the input timestamp corresponding to each input number.

[0078] Specifically, in this step, when any user manually inputs each digit contained in the mobile phone number, it is necessary to find the number key corresponding to each digit in the target soft keyboard and click the found number key on the touch screen of the target terminal device. Therefore, when the user manually inputs multiple digits contained in the mobile phone number, it takes a certain amount of time. Therefore, the target application can determine whether the target input behavior is a human input behavior according to the input timestamp corresponding to each input digit in the following way:

[0079] First, the input time interval between any two adjacent input numbers is determined based on the input timestamp corresponding to each input number; second, a preset rule is obtained, wherein the preset rule may be but is not limited to: (1) any input time interval is greater than a preset time interval threshold; (2) the sum of multiple input time intervals is greater than a preset duration threshold; (3) multiple input time intervals are not any one or any multiple of the same value; third, it is determined whether the multiple input time intervals meet the preset rules; finally, when the multiple input time intervals meet the preset rules, it is determined that the target input behavior is a human input behavior, that is, it is determined that the multiple input numbers are manually input by the user.

[0080] For the embodiment of the present application, step 203b parallel to step 203a determines whether the target input behavior is a human input behavior according to the input coordinates corresponding to each input number.

[0081] In an embodiment of the present application, after the target application obtains multiple input numbers and the input information corresponding to each input number (i.e., the input coordinates corresponding to the input numbers), it can determine whether the target input behavior is a human input behavior based on the input coordinates corresponding to each input number.

[0082] Specifically, in this step, when any user manually inputs each digit contained in the mobile phone number, it is necessary to find the number key corresponding to each digit in the target soft keyboard and click the found number key on the touch screen of the target terminal device. Therefore, when the user manually inputs multiple digits contained in the mobile phone number, it is necessary to click the touch screen of the target terminal device multiple times. Therefore, the target application can determine whether the target input behavior is a human input behavior according to the input coordinates corresponding to each input digit in the following way:

[0083] First, determine whether the input coordinates corresponding to the multiple input numbers are the same; if the input coordinates corresponding to the multiple input numbers are different, determine that the target input behavior is a manual input behavior, that is, determine that the multiple input numbers are manually input by the user.

[0084] It should be noted that, in actual application, when the target input behavior is determined to be a human input behavior according to the input timestamp corresponding to each input number, but the target input behavior is determined to be a non-human input behavior according to the input coordinates corresponding to each input number, the target input behavior can be determined to be a human input behavior, or the target input behavior can be determined to be a non-human input behavior, and the embodiments of the present application do not specifically limit this; similarly, when the target input behavior is determined to be a non-human input behavior according to the input timestamp corresponding to each input number, but the target input behavior is determined to be a human input behavior according to the input coordinates corresponding to each input number, the target input behavior can be determined to be a human input behavior, or the target input behavior can be determined to be a non-human input behavior, and the embodiments of the present application do not specifically limit this.

[0085] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an embodiment of the present application also provides a storage medium, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above-mentioned method for preventing malicious swiping of SMS verification codes.

[0086] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an embodiment of the present application also provides a device for preventing malicious swiping of SMS verification codes, the device comprising a storage medium; and one or more processors, the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are run, the above-mentioned method for preventing malicious swiping of SMS verification codes is executed.

[0087] Furthermore, as a response to the above Figure 1 and Figure 2 In order to realize the method shown, another embodiment of the present application also provides a device for preventing malicious swiping of SMS verification codes. This device embodiment corresponds to the aforementioned method embodiment. For ease of reading, this device embodiment will no longer repeat the details of the aforementioned method embodiment, but it should be clear that the device in this embodiment can correspond to all the contents of the aforementioned method embodiment. This device is used in the process of verifying the authenticity of the mobile phone number. It can verify whether the operation of entering the mobile phone number is a human operation without the need for additional user operation, thereby preventing malicious swiping of SMS verification codes. Specifically, Figure 3 As shown, the device comprises:

[0088] The pop-up unit 31 is used to pop up the target soft keyboard when receiving the soft keyboard awakening instruction;

[0089] A monitoring unit 32 is used to monitor the target input behavior for the target soft keyboard to obtain multiple input numbers and input information corresponding to each input number, wherein the input information corresponding to the input number includes: an input timestamp and / or input coordinates corresponding to the input number;

[0090] The determination unit 33 is used to determine whether the target input behavior is a human input behavior according to the input timestamp and / or input coordinates corresponding to each of the input numbers.

[0091] Further, such as Figure 4 As shown, the pop-up unit 31 includes:

[0092] A creation module 311 is used to create a disordered soft keyboard, wherein the plurality of numeric keys included in the disordered soft keyboard are arranged in disorder;

[0093] The first pop-up module 312 is used to determine the unordered soft keyboard as the target soft keyboard and pop up the target soft keyboard.

[0094] Further, such as Figure 4 As shown, the pop-up unit 31 includes:

[0095] A first acquisition module 313 is used to acquire a preset soft keyboard, wherein the preset soft keyboard includes a plurality of numeric keys arranged in numerical order;

[0096] The second pop-up module 314 is used to determine the preset soft keyboard as the target soft keyboard and pop up the target soft keyboard.

[0097] Further, such as Figure 4 As shown, the determination unit 33 includes:

[0098] A first determining module 331, configured to determine an input time interval between any two adjacent input numbers according to an input timestamp corresponding to each input number;

[0099] A second acquisition module 332, used to acquire preset rules;

[0100] A first judging module 333, configured to judge whether the plurality of input time intervals conform to the preset rule;

[0101] The second determination module 334 is configured to determine that the target input behavior is a human input behavior when the first determination module 333 determines that the plurality of input time intervals conform to the preset rule.

[0102] Further, such as Figure 4 As shown, the determination unit 33 includes:

[0103] The second judgment module 335 is used to judge whether the input coordinates corresponding to the multiple input numbers are the same;

[0104] The third determination module 336 is used to determine that the target input behavior is a human input behavior when the second determination module 335 determines that the input coordinates corresponding to the multiple input numbers are different.

[0105] The embodiments of the present application provide a method and device for preventing malicious swiping of SMS verification codes. The embodiments of the present application can control the target application to output and display a user interface including an input box for entering a mobile phone number when the target application needs to verify the authenticity of the mobile phone number. When the input box is clicked, the target application receives a soft keyboard wake-up instruction. At this time, the target application pops up a target soft keyboard and monitors the target input behavior for the target soft keyboard in real time, thereby obtaining multiple input numbers and input information corresponding to each input number (i.e., the input timestamp and / or input coordinates corresponding to the input number). Finally, determine whether the target input behavior is a human input behavior based on the input timestamp corresponding to each input number, and / or determine whether the target input behavior is a human input behavior based on the input coordinates corresponding to each input number. Because when any user manually inputs each digit contained in a mobile phone number, it is necessary to find the number key corresponding to each digit in the target soft keyboard and click the found number key on the touch screen of the target terminal device. Therefore, when the user manually inputs multiple digits contained in the mobile phone number, it takes a certain amount of time and needs to click the touch screen of the target terminal device multiple times, so that according to the input timestamp and / or input coordinates corresponding to each input digit, it can be determined whether the target input behavior is a manual input behavior, so that without the user's additional operation, it can be verified whether the operation of entering the mobile phone number is a manual operation, thereby effectively improving the user experience of the user using the application.

[0106] The device for preventing malicious swiping of SMS verification codes includes a processor and a memory. The pop-up unit, monitoring unit and determination unit are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.

[0107] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set. By adjusting the kernel parameters, during the process of verifying the authenticity of the mobile phone number, it can verify whether the operation of entering the mobile phone number is a human operation without the user's additional operation, thereby preventing malicious swiping of SMS verification codes.

[0108] An embodiment of the present application provides a storage medium, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above-mentioned method for preventing malicious swiping of SMS verification codes.

[0109] The storage medium may include non-permanent memory 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, and the memory includes at least one storage chip.

[0110] An embodiment of the present application also provides a device for preventing malicious swiping of SMS verification codes, the device comprising a storage medium; and one or more processors, the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the above-mentioned method for preventing malicious swiping of SMS verification codes is executed.

[0111] The embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented:

[0112] When receiving a soft keyboard wake-up command, the target soft keyboard pops up;

[0113] Monitoring the target input behavior for the target soft keyboard to obtain a plurality of input numbers and input information corresponding to each input number, wherein the input information corresponding to the input number includes: an input timestamp and / or input coordinates corresponding to the input number;

[0114] Determine whether the target input behavior is a human input behavior according to the input timestamp and / or input coordinates corresponding to each of the input numbers.

[0115] Furthermore, the pop-up target soft keyboard includes:

[0116] Creating a disordered soft keyboard, wherein the plurality of numeric keys included in the disordered soft keyboard are arranged in disorder;

[0117] The unordered soft keyboard is determined as the target soft keyboard, and the target soft keyboard is popped up.

[0118] Furthermore, the pop-up target soft keyboard includes:

[0119] Obtain a preset soft keyboard, wherein the preset soft keyboard comprises a plurality of numeric keys arranged in numerical order;

[0120] The preset soft keyboard is determined as the target soft keyboard, and the target soft keyboard is popped up.

[0121] Furthermore, determining whether the target input behavior is a human input behavior according to the input timestamp corresponding to each input number includes:

[0122] Determine the input time interval between any two adjacent input numbers according to the input timestamp corresponding to each input number;

[0123] Get preset rules;

[0124] Determining whether the plurality of input time intervals conform to the preset rule;

[0125] If it is consistent, it is determined that the target input behavior is a human input behavior.

[0126] Furthermore, determining whether the target input behavior is a human input behavior according to the input coordinates corresponding to each of the input numbers includes:

[0127] Determining whether the input coordinates corresponding to the plurality of input numbers are the same;

[0128] If different, it is determined that the target input behavior is a human input behavior.

[0129] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing program code that initializes the following method steps: when a soft keyboard wake-up instruction is received, popping up a target soft keyboard; monitoring target input behavior for the target soft keyboard to obtain multiple input numbers and input information corresponding to each input number, wherein the input information corresponding to the input number includes: an input timestamp and / or input coordinates corresponding to the input number; determining whether the target input behavior is a human input behavior based on the input timestamp and / or input coordinates corresponding to each of the input numbers.

[0130] 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.

[0131] 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 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0132] 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.

[0133] 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 The steps for the functions specified in one or more boxes.

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

[0135] The memory may include non-permanent memory 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.

[0136] 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.

[0137] 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.

[0138] 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.

[0139] The above are only embodiments of the present application and are 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 within the scope of the claims of the present application.

Claims

1. A method for preventing malicious swiping of SMS verification codes, characterized in that: The method comprises: When receiving a soft keyboard wake-up command, the target soft keyboard pops up; Monitoring the target input behavior of the target soft keyboard to obtain a plurality of input numbers and input information corresponding to each input number, wherein the input information corresponding to the input number includes: an input timestamp corresponding to the input number; Determining whether the target input behavior is a human input behavior according to the input timestamp corresponding to each input number; The pop-up target soft keyboard includes: Creating a disordered soft keyboard, wherein the plurality of numeric keys contained in the disordered soft keyboard are arranged in disorder, and the arrangement order of keys of the disordered soft keyboard created this time is different from that of the disordered soft keyboard created last time; Determine the unordered soft keyboard as the target soft keyboard, and pop up the target soft keyboard; The determining whether the target input behavior is a human input behavior according to the input timestamp corresponding to each input number includes: Determine the input time interval between any two adjacent input numbers according to the input timestamp corresponding to each input number; Obtaining preset rules, wherein the preset rules include: any input time interval is greater than a preset time interval threshold; the sum of multiple input time intervals is greater than a preset duration threshold; multiple input time intervals are not the same value; Determining whether the plurality of input time intervals conform to the preset rule; If it is consistent, it is determined that the target input behavior is a human input behavior.

2. The method according to claim 1, characterized in that The pop-up target soft keyboard includes: Obtain a preset soft keyboard, wherein the preset soft keyboard comprises a plurality of numeric keys arranged in numerical order; The preset soft keyboard is determined as the target soft keyboard, and the target soft keyboard is popped up.

3. The method according to claim 1, characterized in that The input information corresponding to the input number also includes: input coordinates corresponding to the input number, and the method further includes: Determining whether the target input behavior is a human input behavior according to the input timestamp and input coordinates corresponding to each of the input numbers; wherein determining whether the target input behavior is a human input behavior according to the input coordinates corresponding to each of the input numbers comprises: determining whether the input coordinates corresponding to multiple input numbers are the same; If different, it is determined that the target input behavior is a human input behavior.

4. A device for preventing malicious swiping of SMS verification codes, characterized in that: The device comprises: A pop-up unit, used to pop up a target soft keyboard when receiving a soft keyboard awakening instruction; A monitoring unit, configured to monitor a target input behavior for the target soft keyboard to obtain a plurality of input digits and input information corresponding to each input digit, wherein the input information corresponding to the input digits includes: an input timestamp corresponding to the input digits; A determination unit, configured to determine whether the target input behavior is a human input behavior according to an input timestamp corresponding to each input number; The pop-up unit comprises: A creation module, used for creating a disordered soft keyboard, wherein the plurality of numeric keys included in the disordered soft keyboard are arranged in disorder, and the arrangement order of keys of the disordered soft keyboard created this time is different from that of the disordered soft keyboard created last time; A first pop-up module, used for determining the unordered soft keyboard as the target soft keyboard, and popping up the target soft keyboard; The determining unit comprises: A first determining module, configured to determine an input time interval between any two adjacent input numbers according to an input timestamp corresponding to each input number; A second acquisition module is used to acquire preset rules, wherein the preset rules include: any input time interval is greater than a preset time interval threshold; the sum of multiple input time intervals is greater than a preset duration threshold; multiple input time intervals are not the same value; A first judging module, used for judging whether a plurality of input time intervals conform to the preset rule; The second determination module is configured to determine that the target input behavior is a human input behavior when the first judgment module determines that the plurality of input time intervals conform to the preset rule.

5. The device according to claim 4, characterized in that The pop-up unit comprises: A first acquisition module is used to acquire a preset soft keyboard, wherein the preset soft keyboard includes a plurality of numeric keys arranged in numerical order; The second pop-up module is used to determine the preset soft keyboard as the target soft keyboard and pop up the target soft keyboard.

6. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the method for preventing malicious swiping of SMS verification codes as described in any one of claims 1 to 3.

7. A device for preventing malicious swiping of SMS verification codes, characterized in that: The device includes a storage medium; and one or more processors, the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the method for preventing malicious swiping of SMS verification codes described in any one of claims 1 to 3 is executed.