A security verification method, device, equipment and computer-readable storage medium

By collecting and analyzing the change acceleration of pressure data on the client side for security verification, it solves the problem that existing security verification methods are easily cracked, and improves the security of user passwords and the accuracy of verification results.

CN112149074BActive Publication Date: 2024-09-13BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202011025456.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-25
Publication Date
2024-09-13
Estimated Expiration
2040-09-25

AI Technical Summary

Technical Problem

Existing security verification methods are easily cracked and cannot effectively guarantee the security of user passwords.

Method used

By monitoring pressure touch events on the client and collecting valid pressure data that lasts for a preset length of time, it is sent to the server for analysis, and security verification is performed based on the acceleration of pressure changes to ensure the accuracy and difficulty of the verification results.

Benefits of technology

It improves the accuracy and difficulty of security verification, prevents machine simulation operations, enhances the security of user passwords, and reduces the risk of illegal cracking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112149074B
    Figure CN112149074B
Patent Text Reader

Abstract

The present invention discloses a security verification method, device, equipment and computer-readable storage medium. The method comprises: the client monitors a pressure touch event in a pressure detection area; when a pressure touch event is monitored, effective pressure data for a preset time length is collected in the pressure detection area; the effective pressure data is sent to a server; a security verification result returned by the server is received and an operation corresponding to the security verification result is performed. The server receives the effective pressure data from the client; in the effective pressure data, multiple parts of effective pressure data are extracted; the pressure change acceleration corresponding to each part of the effective pressure data is determined; according to the pressure change acceleration corresponding to each part of the effective pressure data, the client is security verified and the security verification result is sent to the client. The effective pressure data of the present invention cannot be simulated by a machine, and the security of the client can be verified based on the effective pressure data, thereby ensuring the security of the user's password.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a security verification method, device, equipment and computer-readable storage medium. Background Art

[0002] At present, in order to prevent illegal users from cracking user passwords through network means and then continuously logging into user accounts to perform illegal operations, verification codes are often used for security verification when users log into their accounts, so as to determine whether the login behavior is human or machine control. Only when it is determined that the login behavior is human, the user is allowed to log in.

[0003] Traditional verification is to send a verification image to the client on the user side. The verification image contains an image of a string or expression. The user can enter the string or expression result in the input box according to the string or expression image. However, with the continuous development of image analysis technology, this traditional image verification method is becoming easier and easier to crack, especially when simply entering numbers or letters, which is very easy for ordinary hackers to crack.

[0004] In order to further strengthen the protection of user passwords, the number of slider verification methods has gradually increased. The slider verification method is to instruct the user to slide the slider to the specified target area. The slider verification method is more secure than the traditional verification method, but it only slightly increases the cost of cracking, because in the slider verification method, the target area generally has a large color difference with the surrounding image. As image analysis technology becomes more and more powerful, the identification of the target area is becoming easier and easier, making the slider verification easy to crack.

[0005] In summary, the current security verification method is easy to be cracked and cannot guarantee the security of user passwords. Summary of the invention

[0006] The main purpose of the embodiments of the present invention is to provide a security verification method, device, equipment and computer-readable storage medium to solve the problem that the existing security verification method is easily cracked.

[0007] In view of the above technical problems, the embodiments of the present invention are solved by the following technical solutions:

[0008] An embodiment of the present invention provides a security verification method, and the steps performed on the client include: monitoring pressure touch events in a preset pressure detection area; when the pressure touch event is monitored, collecting valid pressure data that lasts for a preset time length in the pressure detection area; sending the valid pressure data to a preset server, so that the server can extract multiple partial valid pressure data from the valid pressure data, and perform a security verification operation on the client according to the pressure change acceleration corresponding to each partial valid pressure data; receiving the security verification result returned by the server, and performing the operation corresponding to the security verification result.

[0009] Among them, the effective pressure data includes multiple effective pressure values ​​collected at different collection times; the effective pressure data collected in the pressure detection area for a preset time length includes: starting from the detection of the pressure touch event, collecting a pressure value every preset time period; when the collected pressure value is greater than a preset pressure threshold, determining that the pressure value is a valid pressure value, and allowing the next pressure value to be collected until the collection time continues for a preset time length; when the collected pressure value is less than or equal to the pressure threshold, stopping collecting the next pressure value and performing a preset re-collection operation.

[0010] Among them, the security verification result is security verification passed or security verification failed; the execution of the operation corresponding to the security verification result includes: when the security verification result is security verification passed, obtaining the security token carried in the security verification result, and using the security token to communicate data with the server; when the security verification result is security verification failed, executing a preset re-collection operation or executing a preset security warning operation.

[0011] Before sending the effective pressure data to a preset server, the method further includes: encrypting the effective pressure data using a preset data encryption algorithm.

[0012] An embodiment of the present invention also provides a security verification method, and the steps executed on the server include: receiving valid pressure data from a client; wherein the valid pressure data is valid pressure data collected by the client in a pressure detection area for a preset time length; extracting multiple partial valid pressure data from the valid pressure data; determining the pressure change acceleration corresponding to each of the partial valid pressure data; and performing security verification on the client based on the pressure change acceleration corresponding to each of the partial valid pressure data and sending the security verification result to the client.

[0013] Wherein, the effective pressure data includes multiple effective pressure values ​​collected at different collection times; and extracting multiple partial effective pressure data from the effective pressure data includes: dividing the multiple effective pressure values ​​into multiple sets in order from the earliest to the latest collection time; extracting the first set, the last set and at least one set of the remaining sets from the multiple sets in order from the earliest to the latest collection time, and taking each of the extracted sets as a partial effective pressure data.

[0014] Wherein, determining the pressure change acceleration corresponding to each of the partial effective pressure data includes: for each of the partial effective pressure data, in the order of collection time from first to last, according to the first effective pressure value, the last effective pressure value and the collection time difference between the first effective pressure value and the last effective pressure value in the partial effective pressure data, determining the pressure change acceleration corresponding to the pressure area data.

[0015] Wherein, the security verification of the client is performed according to the pressure change acceleration corresponding to each of the partial valid pressure data, and the security verification result is sent to the client, including: comparing the pressure change acceleration corresponding to each of the partial valid pressure data with a preset acceleration threshold interval respectively; if the number of pressure change accelerations in the acceleration threshold interval is greater than the preset number threshold, it is determined that the security verification of the client has passed, and a security verification result indicating that the security verification has passed is sent to the client; wherein the security verification result carries a security token so that the client can use the security token to communicate data with the server; if the number of pressure change accelerations in the acceleration threshold interval is less than or equal to the number threshold, it is determined that the security verification of the client has failed, and a security verification result indicating that the security verification has failed is sent to the client, so that the client can perform a preset re-acquisition operation or a preset security warning operation.

[0016] Wherein, before extracting a plurality of partial effective pressure data from the effective pressure data, the method further includes: utilizing a preset data decryption algorithm to perform decryption processing on the effective pressure data.

[0017] An embodiment of the present invention also provides a security verification device, which is arranged on the client side, and includes: a monitoring module, which is used to monitor pressure touch events in a preset pressure detection area; a collection module, which is used to collect valid pressure data that lasts for a preset time length in the pressure detection area when the pressure touch event is monitored; a sending module, which is used to send the valid pressure data to a preset server, so that the server can extract multiple partial valid pressure data from the valid pressure data, and perform a security verification operation on the client according to the pressure change acceleration corresponding to each partial valid pressure data; a receiving and execution module, which is used to receive the security verification result returned by the server, and perform the operation corresponding to the security verification result.

[0018] An embodiment of the present invention also provides a security verification device, which is arranged on the server side, and includes: a receiving module, used to receive valid pressure data from a client; wherein the valid pressure data is valid pressure data collected by the client in a pressure detection area for a preset time length; an extraction module, used to extract multiple partial valid pressure data from the valid pressure data; a determination module, used to determine the pressure change acceleration corresponding to each of the partial valid pressure data; a verification and sending module, used to perform security verification on the client according to the pressure change acceleration corresponding to each of the partial valid pressure data and send the security verification result to the client.

[0019] An embodiment of the present invention also provides a security verification device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of any one of the security verification methods described above executed on the client, or implements the steps of any one of the security verification methods described above executed on the server.

[0020] An embodiment of the present invention also provides a computer-readable storage medium, on which a security verification program is stored. When the security verification program is executed by a processor, the steps of any one of the security verification methods described above are executed on the client, or the steps of any one of the security verification methods described above are executed on the server.

[0021] The beneficial effects of the embodiments of the present invention are as follows:

[0022] In the embodiment of the present invention, effective pressure data for a preset time length is collected on the pressure detection area, and the effective pressure formed by the external force is constantly changing, so the effective pressure data for a preset time length cannot be simulated by the machine, so that the client can be verified to be safe based on the effective pressure data for a preset time length, thereby ensuring the security of the user password on the client side. Furthermore, the embodiment of the present invention divides the effective pressure data into multiple parts, judges the security of each part separately, and then comprehensively verifies the security of the client, thereby increasing the accuracy of the verification result. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0024] Figure 1 is a flow chart of a security verification method according to an embodiment of the present invention;

[0025] Figure 2 is a schematic diagram of the effect of pressure data collection according to an embodiment of the present invention;

[0026] Figure 3 is a flow chart of a security verification method performed on a server according to an embodiment of the present invention;

[0027] Figure 4 is a flow chart of a security verification method according to an embodiment of the present invention;

[0028] Figure 5 is a structural diagram of a security verification device disposed on a client according to an embodiment of the present invention;

[0029] Figure 6 is a structural diagram of a security verification device disposed on a server according to an embodiment of the present invention;

[0030] Figure 7 is a structural diagram of a security verification device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0032] According to an embodiment of the present invention, a security verification method performed on a client is provided. Figure 1 FIG. 4 is a flow chart of a security verification method according to an embodiment of the present invention.

[0033] Step S110: monitoring pressure touch events in a preset pressure detection area.

[0034] The pressure detection area is an effective area for detecting pressure changes, that is, an effective area for applying pressure for safety verification. For example, the pressure detection area is a verification button corresponding to safety verification.

[0035] The pressure touch event is used to trigger the client to collect effective pressure data. Furthermore, when the user applies pressure in the pressure detection area, a pressure touch event will be triggered.

[0036] Step S120: When the pressure touch event is monitored, effective pressure data lasting for a preset time length is collected in the pressure detection area.

[0037] Valid pressure data refers to the data used to verify whether the pressure data is valid data formed by the application of external force.

[0038] The preset time length is an empirical value or a value obtained through experiments. Figure 2 FIG. 1 is a schematic diagram of the effect of pressure data collection according to an embodiment of the present invention. The user presses his finger on Figure 2 The user presses the verification button and holds it for 6 seconds. The user triggers a pressure touch event on the verification button. The client monitors the pressure touch event and starts to collect pressure data in the verification button area.

[0039] In this embodiment, the effective pressure data includes a plurality of effective pressure values ​​collected at different collection times. A preset time period is spaced between two adjacent collection times, that is, the preset time period is the collection interval.

[0040] Specifically, starting from the detection of the pressure touch event, a pressure value is collected every preset time period (collection interval); when the collected pressure value is greater than a preset pressure threshold, the pressure value is determined to be a valid pressure value, and the next pressure value is allowed to be collected until the collection time lasts for a preset time length; when the collected pressure value is less than or equal to the pressure threshold, the collection of the next pressure value is stopped and a preset re-collection operation is performed.

[0041] The preset pressure threshold may be an empirical value or a value obtained by experiment. For example, the pressure threshold is 0.

[0042] The re-collection operation is used to prevent security verification failures caused by improper user operations.

[0043] The re-collection operation includes, but is not limited to: displaying a preset reset collection prompt message, resetting the accumulated collection time to zero, and restarting to collect pressure values ​​and accumulate collection time; or, displaying a preset interruption collection prompt message and pausing the accumulation of collection time, and when the pressure value to be collected is greater than a preset pressure threshold, continuing to collect pressure values ​​and continuing to accumulate collection time until the accumulated collection time reaches a preset time length.

[0044] The zeroing collection prompt information is used to prompt the user that the time for applying effective pressure has not reached a preset time length, for example, "The pressing time is not enough, please press the verification button again."

[0045] The interruption collection prompt message is used to prompt the user that the effective pressure applied has been interrupted and to continue to apply effective pressure. For example, the interruption collection prompt message is "Pressing is interrupted, please continue to apply pressure."

[0046] In this embodiment, the external force from the user is applied to the display device of the terminal device where the client is located, and the pressure detection control corresponding to the pressure detection area can be called to collect the pressure value applied to the display device. Among them, the area of ​​the pressure detection control completely overlaps or partially overlaps with the pressure detection area, and the area of ​​the pressure detection control is greater than or equal to the area of ​​the pressure detection area. When the area of ​​the pressure detection control is greater than the area of ​​the pressure detection area, the pressure detection control detects the pressure value of the pressure detection area.

[0047] Step S130, sending the effective pressure data to a preset server, so that the server extracts a plurality of partial effective pressure data from the effective pressure data, and performs a security verification operation on the client according to the pressure change acceleration corresponding to each of the partial effective pressure data.

[0048] Security verification operation is used to verify the security of the client, that is, to verify whether the client is controlled by humans or machines.

[0049] How the server extracts multiple partial effective pressure data from the effective pressure data and performs a security verification operation on the client according to the pressure change acceleration corresponding to each partial effective pressure data will be described later, so it will not be repeated here.

[0050] Step S140, receiving the security verification result returned by the server, and performing an operation corresponding to the security verification result.

[0051] The security verification result is security verification passed or security verification failed.

[0052] The security verification indicates that the valid pressure data is generated by the external force applied by the user to the display device corresponding to the client, so the user password on the client side is safe.

[0053] Failure of security verification means that the valid pressure data is not generated by external forces, such as: an illegal user remotely controls the client, causing the client to generate valid pressure data in the pressure detection area. At this time, the user password on the client side is not secure.

[0054] In this embodiment, if the security verification result is that the security verification is passed, the security token carried in the security verification result is obtained, and the security token is used to communicate data with the server; if the security verification result is that the security verification fails, a preset re-collection operation or a preset security warning operation is performed. The re-collection operation can be performed with reference to the above steps to prevent the problem of security verification failure caused by improper user operation.

[0055] The security token is used to indicate that the client has passed the security verification of the server. When the client communicates normally with the server, the server only processes the communication information carrying the security token.

[0056] The security warning operation includes: sending a security warning message to a preset user device. The security warning message is used to prompt the client to be illegally invaded. Further, in the case of a security verification failure, the client may be illegally invaded. At this time, in order to ensure the property safety and information security of the user, the security warning message can be sent to the preset user device so that the user can take security measures on the client.

[0057] In this embodiment, in order to improve the security of effective pressure data during transmission, before sending the effective pressure data to a preset server, it also includes: using a preset data encryption algorithm to perform encryption processing on the effective pressure data. Furthermore, the client and the server can negotiate in advance whether to encrypt the effective pressure data, as well as the data encryption algorithm used to encrypt the effective pressure data and the data decryption algorithm used to decrypt the effective pressure data. Among them, the data encryption algorithm and the data decryption algorithm can be symmetric algorithms.

[0058] In the embodiment of the present invention, effective pressure data for a preset time length is collected on the pressure detection area, and the effective pressure formed by the external force is constantly changing, so the effective pressure data for a preset time length cannot be simulated by the machine, so that the client can be determined to be safe based on the effective pressure data for a preset time length, thereby ensuring the security of the user password on the client side. Machine simulation refers to generating pressure data at a preset position through a computer script.

[0059] With respect to the above-mentioned security verification method executed on the client, an embodiment of the present invention also provides a security verification method executed on the server. Figure 3 FIG. 1 is a flow chart of a security verification method executed on a server according to an embodiment of the present invention.

[0060] Step S310, receiving valid pressure data from the client.

[0061] The effective pressure data is the effective pressure data collected by the client in the pressure detection area and lasting for a preset time length.

[0062] Step S320: extracting a plurality of partial effective pressure data from the effective pressure data.

[0063] Partial effective pressure data refers to partial data in effective pressure data. Effective pressure data can be obtained after a plurality of partial effective pressure data are combined.

[0064] The effective pressure data includes multiple effective pressure values ​​collected at different collection times.

[0065] Specifically, the multiple valid pressure values ​​are divided into multiple sets in the order of collection time from earliest to latest; the first set, the last set and at least one set of the remaining sets are extracted from the multiple sets in the order of collection time from earliest to latest, and each of the extracted sets is used as a partial valid pressure data.

[0066] For example, the valid pressure values ​​within each second are divided into a set in order from the earliest to the latest acquisition time, such as the valid pressure values ​​within the first second are the first set, the valid pressure values ​​within the second second are the second set, the valid pressure values ​​within the third second are the third set, and so on.

[0067] In this embodiment, before extracting a plurality of partial effective pressure data from the effective pressure data, the method further includes: performing decryption processing on the effective pressure data using a preset data decryption algorithm.

[0068] Step S330, determining the pressure change acceleration corresponding to each portion of the effective pressure data.

[0069] Pressure change acceleration, that is, the acceleration of pressure change, is used to indicate how fast the pressure value changes.

[0070] For each part of effective pressure data, the pressure change acceleration corresponding to the part of effective pressure data is determined according to the effective pressure value in the part of effective pressure data. Further, according to the order of acquisition time from first to last, the pressure change acceleration corresponding to the pressure area data is determined according to the first effective pressure value, the last effective pressure value and the acquisition time difference between the first effective pressure value and the last effective pressure value in the part of effective pressure data.

[0071] Furthermore, the following formula can be used to determine the pressure change acceleration corresponding to some effective pressure data:

[0072]

[0073] Where A represents the pressure change acceleration corresponding to some effective pressure data; P e Indicates the last valid pressure value in the partial valid pressure data; P s Indicates the first valid pressure value in the partial valid pressure data; T e Indicates the last effective pressure collection time; T s Indicates the time when the first valid pressure value is collected.

[0074] Step S340: Perform security verification on the client according to the pressure change acceleration corresponding to each of the partial valid pressure data and send a security verification result to the client.

[0075] The pressure change acceleration corresponding to each of the partial valid pressure data is compared with a preset acceleration threshold interval respectively; if the number of pressure change accelerations in the acceleration threshold interval is greater than the preset number threshold, it is determined that the client security verification has passed, and a security verification result indicating that the security verification has passed is sent to the client; wherein the security verification result carries a security token so that the client can use the security token to communicate data with the server; if the number of pressure change accelerations in the acceleration threshold interval is less than or equal to the number threshold, it is determined that the client security verification has failed, and a security verification result indicating that the security verification has failed is sent to the client.

[0076] For each partially valid pressure data, if the pressure change acceleration corresponding to the partially valid pressure data is within the acceleration threshold range, it is determined that the partially valid pressure data has passed the security verification. For multiple partially valid pressure data, if the number of partially valid pressure data that have passed the security verification is greater than the preset data threshold, it is determined that the client has passed the security verification.

[0077] For example: 6 partially valid pressure data can determine 6 pressure change accelerations, and the quantity threshold is 3. If 4 of the 6 pressure change accelerations are within the acceleration threshold range, it can be determined that the client security verification has passed. If 2 of the 6 pressure change accelerations are within the acceleration threshold range, it can be determined that the client security verification has failed.

[0078] In an embodiment of the present invention, after receiving the valid pressure data sent by the client, multiple parts of the valid pressure data are extracted from the valid pressure data, the pressure change acceleration corresponding to each part of the valid pressure data is determined, and security verification is performed on the client based on the multiple pressure change accelerations obtained. Since the machine cannot simulate the valid pressure data, even if the pressure data is generated by remotely controlling the client, the pressure change acceleration of the pressure data is different from the pressure change acceleration when the external force is manually applied. Therefore, it is convenient to judge whether the valid pressure data is generated by the application of external force based on the pressure change acceleration. Moreover, the embodiment of the present invention comprehensively judges whether the valid pressure data is generated by the application of external force based on multiple pressure change accelerations, which can effectively avoid the problem of errors that are prone to occur when judging based on one pressure change acceleration, thereby increasing the accuracy of the verification result.

[0079] A more specific embodiment is given below to further describe the security verification method of the embodiment of the present invention. The embodiment of the present invention is described by taking client login as an example.

[0080] like Figure 4 FIG. 4 is a flow chart of a security verification method according to an embodiment of the present invention.

[0081] Step S410: When the client detects that the verification button is pressed, it starts to collect the pressure value generated on the verification button.

[0082] When the user presses the verification button, a pressure touch event is triggered. The client monitors the pressure touch event and determines that the verification button has been detected to be pressed.

[0083] The pressure value is the pressure that the user's finger presses on the verification button.

[0084] In step S420, the client determines whether the time length for continuously collecting valid pressure values ​​lasts for a preset time length; if yes, execute step S430; if not, execute step S440.

[0085] The client collects a pressure value once every preset collection interval; when it is determined that the pressure value is not a valid pressure value, it stops collecting the pressure value, and of course it can also perform a re-collection operation; when it is determined that the pressure value is a valid pressure value, the collection time is accumulated, and it is determined whether the accumulated collection time reaches the preset time length; if the preset time length has been reached, the pressure value collection is stopped; if the preset time length has not been reached, the next pressure value is collected at the end of the current collection interval.

[0086] In this embodiment, the collection interval (preset time period) is an empirical value or an experimental value.

[0087] For example: In order to make this example easier to understand, the preset time length is 8 seconds. Of course, in the actual production environment, the preset time length is much less than 6 seconds. The pressure value is collected every 0.1 milliseconds (collection interval). Each time a pressure value is collected, the pressure value is compared with a preset pressure threshold (the pressure threshold is, for example, 0). If the pressure value is greater than the pressure threshold, the pressure value is determined to be a valid pressure value, and the next pressure value is allowed to be collected; if the pressure value is less than or equal to the pressure threshold, the pressure value is determined not to be a valid pressure value, and the pressure value collection is stopped, and the preset re-collection prompt message is displayed.

[0088] Step S430: the client uses all valid pressure values ​​collected continuously within a preset time length as valid pressure data, performs data encryption processing on the valid pressure data, and sends the data to the server.

[0089] In step S440, the client performs a preset re-collection operation and jumps to step S410.

[0090] In this embodiment, the number of acquisition failures may also be accumulated, and when the accumulated number is greater than a preset accumulated number threshold, a preset acquisition termination operation is performed.

[0091] Collection failure means that the length of time for continuously collecting valid pressure values ​​is less than the preset time length.

[0092] The collection termination operation includes, but is not limited to: displaying a preset collection termination prompt message. The collection termination prompt message is used to prompt that the number of collection failures has exceeded the cumulative number threshold.

[0093] For example: The collection termination prompt message is "The current collection times have exceeded the upper limit, please try again later."

[0094] Step S450, after receiving the valid pressure data sent by the client, the server performs data decryption processing on the received valid pressure data, extracts multiple groups of valid pressure values ​​from all valid pressure values ​​obtained after the decryption processing, and determines the pressure change acceleration of each group of valid pressure values.

[0095] Each group of valid pressure values ​​is a set, and each group of valid pressure values ​​belongs to the same collection time period. Further, according to different collection moments, the collection time corresponding to all valid pressure values ​​is divided into collection time periods, and the valid pressure values ​​in each collection time period are a set.

[0096] For example, if the effective pressure data is the effective pressure value collected in 8 seconds, all the effective pressure values ​​are divided into 8 groups of effective pressure values ​​according to the duration of each time interval of 1 second, that is, each set is the effective pressure value collected in 1 second. Among multiple combinations, 6 groups of effective pressure values ​​are extracted. The 6 groups of effective pressure values ​​are: the effective pressure value in the first second, the effective pressure value in the last second, and 4 groups of effective pressure values ​​are randomly extracted from the second to the seventh second. In this way, 6 groups of effective pressure values ​​are extracted from 8 seconds of effective pressure data.

[0097] In step S460, the server determines the number of pressure change accelerations within the acceleration threshold interval, and determines whether the number is greater than the number threshold; if yes, execute step S470; if not, execute step S480.

[0098] The acceleration threshold interval may be a range determined according to the pressure change acceleration recorded by the large data.

[0099] For example, collect the pressure changes when users click the verification button 10 million times, and take the common interval of all pressure change accelerations as the acceleration threshold interval. The common interval represents the interval where a preset proportion of all pressure change accelerations are located. For example, if 90% of the pressure change accelerations are between the first value and the second value, the numerical interval between the first value and the second value is used as the acceleration threshold interval.

[0100] Step S470, the server determines that the client security verification has passed, and sends a security verification result indicating that the security verification has passed to the client.

[0101] Step S480, the server determines that the security verification of the client fails, and sends a security verification result indicating the security verification failure to the client.

[0102] Step S490: After receiving the security verification result, the client performs a corresponding operation according to the type of the security verification result.

[0103] When the security verification result is that the security verification is passed, a security token carried in the security verification result is obtained, and the security token is used to perform data communication with the server.

[0104] When the security verification result is a security verification failure, a preset re-collection operation or a preset security warning operation is performed.

[0105] In this embodiment, the server divides the effective pressure data into multiple groups of effective pressure values, and performs security verification on each group of effective pressure values ​​respectively, and determines the security verification result of the client according to the security verification results of the multiple groups of effective pressure values.

[0106] Furthermore, the process of the server verifying each set of valid pressure values ​​can refer to the following steps:

[0107] Step 1: sequentially obtain a set of pressure change accelerations corresponding to effective pressure values.

[0108] Step 2, determine whether the currently acquired pressure change acceleration is within the acceleration threshold range; if yes, execute step 3; if not, execute step 4.

[0109] Step 3, accumulate the number of times the security verification is passed, and then execute step 4.

[0110] Step 4, determine whether multiple groups of valid pressure values ​​have been obtained; if yes, execute step 5, if not, execute step 1.

[0111] Step 5, determine whether the cumulative value of the number of security verification passes is greater than the quantity threshold; if yes, execute step 6; if not, execute step 7.

[0112] Step 6: Determine whether the client security verification has passed, and send a security verification result indicating that the security verification has passed to the client.

[0113] The client security verification passed, indicating that the operation of the verification button on the client side was a manual operation.

[0114] Step 7: Determine that the client security verification fails, and send a security verification result indicating the security verification failure to the client.

[0115] The client security verification failed, indicating that the operation of the verification button on the client side was a machine operation.

[0116] For example, if 5 of the 6 pressure change accelerations are within the acceleration threshold range, it is determined that the operation of the verification button on the client side is a human operation; otherwise, it is determined that the operation of the verification button on the client side is machine control.

[0117] In the embodiment of the present invention, when a user clicks a verification button displayed on the client, the client continuously collects the pressure of the user touching the verification button, and then sends the valid pressure data to the server through encryption. The server analyzes the pressure change within a preset time length, calculates the acceleration of the pressure change, and then determines through big data whether the acceleration of the pressure change is the result of human operation or machine operation, thereby achieving the purpose of security verification of the customer.

[0118] In the embodiment of the present invention, the user only needs to press a verification button, and does not need to input text information or operate a slider. The operation is simple and convenient, and the verification result is highly accurate.

[0119] The embodiment of the present invention also provides a security verification device arranged at a client. Figure 5 , is a structural diagram of a security verification device disposed at a client according to an embodiment of the present invention.

[0120] The security verification device arranged at the client includes: a monitoring module 510 , a collecting module 520 , a sending module 530 and a receiving and executing module 540 .

[0121] The monitoring module 510 is used to monitor pressure touch events in a preset pressure detection area.

[0122] The collection module 520 is used to collect effective pressure data lasting for a preset time length in the pressure detection area when the pressure touch event is monitored.

[0123] The sending module 530 is used to send the effective pressure data to a preset server so as to extract multiple partial effective pressure data from the effective pressure data, and perform a security verification operation on the client according to the pressure change acceleration corresponding to each partial effective pressure data.

[0124] The receiving and executing module 540 is used to receive the security verification result returned by the server and execute the operation corresponding to the security verification result.

[0125] The functions of the device described in the embodiment of the present invention have been described in the above method embodiment. Therefore, for details not provided in the description of the embodiment of the present invention, reference may be made to the relevant description in the above embodiment and will not be repeated here.

[0126] The embodiment of the present invention also provides a security verification device arranged on a server. Figure 6 , is a structural diagram of a security verification device disposed on a server according to an embodiment of the present invention.

[0127] The security verification device arranged on the server includes: a receiving module 610 , an extracting module 620 , a determining module 630 and a verifying and sending module 640 .

[0128] The receiving module 610 is used to receive valid pressure data from the client; wherein the valid pressure data is valid pressure data collected by the client in the pressure detection area for a preset time period.

[0129] The extraction module 620 is used to extract a plurality of partial effective pressure data from the effective pressure data.

[0130] The determination module 630 is used to determine the pressure change acceleration corresponding to each portion of the effective pressure data.

[0131] The verification and sending module 640 is used to perform security verification on the client according to the pressure change acceleration corresponding to each of the partial valid pressure data and send the security verification result to the client.

[0132] The functions of the device described in the embodiment of the present invention have been described in the above method embodiment. Therefore, for details not provided in the description of the embodiment of the present invention, reference may be made to the relevant description in the above embodiment and will not be repeated here.

[0133] This embodiment provides a security verification device. Figure 7 FIG. 4 is a structural diagram of a security verification device according to an embodiment of the present invention.

[0134] In this embodiment, the security verification device includes, but is not limited to: a processor 710 and a memory 720 .

[0135] The processor 710 is used to execute the security verification program stored in the memory 720 to implement the above-mentioned security verification method executed on the client or the above-mentioned security verification method executed on the server.

[0136] In one embodiment, the processor 710 is used to execute the security verification program stored in the memory 720 to implement the following steps performed on the client: listening for pressure touch events in a preset pressure detection area; when the pressure touch event is listened, collecting valid pressure data for a preset time length in the pressure detection area; sending the valid pressure data to a preset server so as to extract multiple partial valid pressure data from the valid pressure data, and performing a security verification operation on the client according to the pressure change acceleration corresponding to each partial valid pressure data; receiving the security verification result returned by the server, and performing the operation corresponding to the security verification result.

[0137] Among them, the effective pressure data includes multiple effective pressure values ​​collected at different collection times; the effective pressure data collected in the pressure detection area for a preset time length includes: starting from the detection of the pressure touch event, collecting a pressure value every preset time period; when the collected pressure value is greater than a preset pressure threshold, determining that the pressure value is a valid pressure value, and allowing the next pressure value to be collected until the collection time continues for a preset time length; when the collected pressure value is less than or equal to the pressure threshold, stopping collecting the next pressure value and performing a preset re-collection operation.

[0138] Among them, the security verification result is security verification passed or security verification failed; the execution of the operation corresponding to the security verification result includes: when the security verification result is security verification passed, obtaining the security token carried in the security verification result, and using the security token to communicate data with the server; when the security verification result is security verification failed, executing a preset re-collection operation or executing a preset security warning operation.

[0139] Before sending the effective pressure data to a preset server, the method further includes: encrypting the effective pressure data using a preset data encryption algorithm.

[0140] In another embodiment, the processor 710 is used to execute the security verification program stored in the memory 720 to implement the following steps performed on the server: receiving valid pressure data from the client; wherein the valid pressure data is valid pressure data collected by the client in the pressure detection area for a preset time length; extracting multiple partial valid pressure data from the valid pressure data; determining the pressure change acceleration corresponding to each of the partial valid pressure data; and performing security verification on the client based on the pressure change acceleration corresponding to each of the partial valid pressure data and sending the security verification result to the client.

[0141] Wherein, the effective pressure data includes multiple effective pressure values ​​collected at different collection times; and extracting multiple partial effective pressure data from the effective pressure data includes: dividing the multiple effective pressure values ​​into multiple sets in order from the earliest to the latest collection time; extracting the first set, the last set and at least one set of the remaining sets from the multiple sets in order from the earliest to the latest collection time, and taking each of the extracted sets as a partial effective pressure data.

[0142] Wherein, determining the pressure change acceleration corresponding to each of the partial effective pressure data includes: for each of the partial effective pressure data, in the order of collection time from first to last, according to the first effective pressure value, the last effective pressure value and the collection time difference between the first effective pressure value and the last effective pressure value in the partial effective pressure data, determining the pressure change acceleration corresponding to the pressure area data.

[0143] Wherein, the security verification of the client is performed according to the pressure change acceleration corresponding to each of the partial valid pressure data, and the security verification result is sent to the client, including: comparing the pressure change acceleration corresponding to each of the partial valid pressure data with a preset acceleration threshold interval respectively; if the number of pressure change accelerations in the acceleration threshold interval is greater than the preset number threshold, it is determined that the security verification of the client has passed, and a security verification result indicating that the security verification has passed is sent to the client; wherein the security verification result carries a security token so that the client can use the security token to communicate data with the server; if the number of pressure change accelerations in the acceleration threshold interval is less than or equal to the number threshold, it is determined that the security verification of the client has failed, and a security verification result indicating that the security verification has failed is sent to the client, so that the client can perform a preset re-acquisition operation or a preset security warning operation.

[0144] Wherein, before extracting a plurality of partial effective pressure data from the effective pressure data, the method further includes: utilizing a preset data decryption algorithm to perform decryption processing on the effective pressure data.

[0145] The embodiment of the present invention also provides a computer-readable storage medium. The computer-readable storage medium here stores one or more programs. The computer-readable storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.

[0146] When one or more programs in the computer-readable storage medium can be executed by one or more processors, so as to implement the above-mentioned security verification method executed on the client or the above-mentioned security verification method executed on the server.

[0147] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.

Claims

1. A security verification method, characterized in that: The steps performed on the client side include: Listen for pressure touch events in the preset pressure detection area; When the pressure touch event is monitored, collecting effective pressure data in the pressure detection area for a preset time length; The effective pressure data is sent to a preset server so that the server extracts a plurality of partial effective pressure data from the effective pressure data, and performs a security verification operation on the client according to the pressure change acceleration corresponding to each of the partial effective pressure data; wherein the effective pressure data includes a plurality of effective pressure values ​​collected at different collection times; the server extracts a plurality of partial effective pressure data from the effective pressure data, including: dividing the plurality of effective pressure values ​​into a plurality of sets in the order of collection time from first to last; extracting the first set, the last set and at least one set from the remaining sets in the plurality of sets in the order of collection time from first to last, and taking each of the extracted sets as a partial effective pressure data; the server determines the pressure change acceleration corresponding to each of the partial effective pressure data, including: for each of the partial effective pressure data, according to the first effective pressure value, the last effective pressure value and the collection time difference between the first effective pressure value and the last effective pressure value in the partial effective pressure data in the order of collection time from first to last, determining the pressure change acceleration corresponding to the pressure area data; Receive the security verification result returned by the server, and perform an operation corresponding to the security verification result.

2. The method according to claim 1, characterized in that The collecting of effective pressure data for a preset time period in the pressure detection area includes: Starting from detecting the pressure touch event, collecting the pressure value once every preset time period; In the case where the collected pressure value is greater than a preset pressure threshold, the pressure value is determined to be a valid pressure value, and the next pressure value is allowed to be collected until the collection time lasts for a preset time length; When the collected pressure value is less than or equal to the pressure threshold, the collection of the next pressure value is stopped and a preset re-collection operation is performed.

3. The method according to claim 1, characterized in that: The security verification result is security verification passed or security verification failed; The performing of the operation corresponding to the security verification result includes: If the security verification result is that the security verification is passed, obtaining a security token carried in the security verification result, and using the security token to communicate data with the server; When the security verification result is a security verification failure, a preset re-collection operation or a preset security warning operation is performed.

4. The method according to any one of claims 1 to 3, characterized in that Before sending the effective pressure data to a preset server, the method further includes: The effective pressure data is encrypted using a preset data encryption algorithm.

5. A security verification method, characterized in that: The steps performed on the server include: Receive valid pressure data from a client; wherein the valid pressure data is valid pressure data collected by the client in a pressure detection area for a preset time period; the valid pressure data includes multiple valid pressure values ​​collected at different collection times; Extracting multiple parts of effective pressure data from the effective pressure data; wherein, extracting multiple parts of effective pressure data from the effective pressure data comprises: dividing the multiple effective pressure values ​​into multiple sets in the order of acquisition time from the earliest to the latest; extracting at least one set among the first set, the last set and the remaining sets from the multiple sets in the order of acquisition time from the earliest to the latest, and taking each of the extracted sets as a part of effective pressure data; Determine the pressure change acceleration corresponding to each of the partial effective pressure data; wherein, determining the pressure change acceleration corresponding to each of the partial effective pressure data comprises: for each of the partial effective pressure data, in the order of acquisition time from first to last, according to the first effective pressure value, the last effective pressure value and the acquisition time difference between the first effective pressure value and the last effective pressure value in the partial effective pressure data, determine the pressure change acceleration corresponding to the pressure area data; According to the pressure change acceleration corresponding to each of the partial valid pressure data, security verification is performed on the client and a security verification result is sent to the client.

6. The method according to claim 5, characterized in that The performing security verification on the client according to the pressure change acceleration corresponding to each of the partial valid pressure data and sending the security verification result to the client includes: Comparing the pressure change acceleration corresponding to each portion of the effective pressure data with a preset acceleration threshold range respectively; If the number of pressure change accelerations in the acceleration threshold interval is greater than a preset number threshold, it is determined that the client security verification has passed, and a security verification result indicating that the security verification has passed is sent to the client; wherein the security verification result carries a security token so that the client can use the security token to communicate data with the server; If the number of pressure change accelerations within the acceleration threshold interval is less than or equal to the number threshold, it is determined that the client security verification has failed, and a security verification result indicating the security verification failure is sent to the client so that the client performs a preset re-collection operation or a preset security warning operation.

7. The method according to any one of claims 5 to 6, characterized in that In the effective pressure data, before extracting a plurality of partial effective pressure data, the method further includes: The effective pressure data is decrypted using a preset data decryption algorithm.

8. A security verification device, characterized in that: The settings on the client side include: A monitoring module, used for monitoring pressure touch events in a preset pressure detection area; A collection module, configured to collect effective pressure data for a preset time period in the pressure detection area when the pressure touch event is monitored; A sending module, used for sending the effective pressure data to a preset server, so that the server extracts a plurality of partial effective pressure data from the effective pressure data, and performs a security verification operation on the client according to the pressure change acceleration corresponding to each of the partial effective pressure data; wherein the effective pressure data includes a plurality of effective pressure values ​​collected at different collection times; the server extracts a plurality of partial effective pressure data from the effective pressure data, including: dividing the plurality of effective pressure values ​​into a plurality of sets in the order of collection time from first to last; extracting the first set, the last set and at least one set from the remaining sets in the plurality of sets in the order of collection time from first to last, and taking each of the extracted sets as a partial effective pressure data; the server determines the pressure change acceleration corresponding to each of the partial effective pressure data, including: for each of the partial effective pressure data, according to the first effective pressure value, the last effective pressure value and the collection time difference between the first effective pressure value and the last effective pressure value in the partial effective pressure data in the order of collection time from first to last, determining the pressure change acceleration corresponding to the pressure area data; The receiving and executing module is used to receive the security verification result returned by the server and execute the operation corresponding to the security verification result.

9. A security verification device, characterized in that: Settings on the server side include: A receiving module, used to receive effective pressure data from a client; wherein the effective pressure data is effective pressure data collected by the client in a pressure detection area for a preset time period; the effective pressure data includes multiple effective pressure values ​​collected at different collection times; An extraction module, used to extract multiple parts of effective pressure data from the effective pressure data; wherein, extracting multiple parts of effective pressure data from the effective pressure data includes: dividing the multiple effective pressure values ​​into multiple sets according to the order of acquisition time from the earliest to the latest; extracting at least one set among the first set, the last set and the remaining sets from the multiple sets according to the order of acquisition time from the earliest to the latest, and taking each of the extracted sets as a part of effective pressure data; A determination module, used to determine the pressure change acceleration corresponding to each of the partial effective pressure data; wherein, determining the pressure change acceleration corresponding to each of the partial effective pressure data comprises: for each of the partial effective pressure data, in the order of collection time from first to last, according to the first effective pressure value, the last effective pressure value and the collection time difference between the first effective pressure value and the last effective pressure value in the partial effective pressure data, determining the pressure change acceleration corresponding to the pressure area data; The verification and sending module is used to perform security verification on the client according to the pressure change acceleration corresponding to each of the partial valid pressure data and send the security verification result to the client.

10. A security verification device, characterized in that: The security verification device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the security verification method as described in any one of claims 1 to 4 are implemented, or the steps of the security verification method as described in any one of claims 5 to 7 are implemented.

11. A computer-readable storage medium, characterized in that: A security verification program is stored on the computer-readable storage medium, and when the security verification program is executed by the processor, the steps of the security verification method as described in any one of claims 1 to 4 are implemented, or the steps of the security verification method as described in any one of claims 5 to 7 are implemented.

Citation Information

Patent Citations

  • Fingerprint recognition apparatus, fingerprint recognition method and terminal device for same

    CN105404875A

  • Verification method based on pressure touch control, verification device based on pressure touch control, and terminal

    CN105653091A

  • Verification method and mobile terminal

    CN105812397A

  • System startup method and apparatus

    CN108228263A

  • Distributed system for multi-function secure verifiable signer authentication

    US20110072274A1