CN114281224A - Calibration method and device based on sliding block - Google Patents

Calibration method and device based on sliding block Download PDF

Info

Publication number
CN114281224A
CN114281224A CN202111537713.8A CN202111537713A CN114281224A CN 114281224 A CN114281224 A CN 114281224A CN 202111537713 A CN202111537713 A CN 202111537713A CN 114281224 A CN114281224 A CN 114281224A
Authority
CN
China
Prior art keywords
sliding
interference
slider
verification
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111537713.8A
Other languages
Chinese (zh)
Inventor
张维晴
韩永纲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Unionpay Co Ltd
Original Assignee
China Unionpay Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CN202111537713.8A priority Critical patent/CN114281224A/en
Publication of CN114281224A publication Critical patent/CN114281224A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a slider-based calibration method and device. The method comprises the following steps: the terminal equipment displays a first interface, wherein the first interface comprises a target sliding block assembly, N interference assemblies and a sliding block assembly to be matched, and the interference assemblies are composed of the target sliding block assembly and at least one interference element; the terminal equipment responds to the sliding operation of a user on a first interface to obtain sliding data, the sliding operation is used for sliding a target sliding block assembly to the position of the sliding block assembly to be matched, and the sliding data comprises data related to a sliding track; and the terminal equipment determines whether the verification is successful according to the sliding data. The terminal equipment is provided with the N interference components on the first interface, the difficulty of slider verification can be improved on the premise of not increasing the use of a user, machines or programs trying to crack slider verification can be screened out, then machines or programs trying to crack slider verification can be screened out again according to sliding data by the terminal equipment, and the safety of slider verification can be improved.

Description

Calibration method and device based on sliding block
Technical Field
The invention relates to the technical field of calibration, in particular to a calibration method and device based on a sliding block.
Background
With the increasing popularity of computer network technology and information technology, intelligent verification technologies such as short message input verification, sequential word clicking, slider dragging and the like are used by numerous companies to prevent network attacks, wherein slider verification codes are used by more and more systems by virtue of good user experience and artificial intelligence advantages.
However, the existing slider verification method generally involves dragging the slider verification code to the target position on the background picture transversely and rightwards to complete the verification of the slider verification code, which is easily broken by a machine, resulting in lower security of the slider verification method.
In summary, how to prevent the machine from being broken and improve the safety of the slider verification method is a technical problem that needs to be solved urgently at present.
Disclosure of Invention
The embodiment of the invention provides a slider-based checking method and device, which are used for solving the problem of lower safety of the slider checking method in the prior art.
In a first aspect, an embodiment of the present invention provides a slider-based verification method, where the method includes: the method comprises the steps that terminal equipment displays a first interface, wherein the first interface comprises a target sliding block assembly, N interference assemblies and a sliding block assembly to be matched, and the interference assemblies are composed of the target sliding block assembly and at least one interference element; the terminal equipment responds to sliding operation of a user on a first interface, and acquires sliding data, wherein the sliding operation is used for sliding the target sliding block assembly to the position of the sliding block assembly to be matched, and the sliding data comprises data related to a sliding track; and the terminal equipment determines whether the verification is successful according to the sliding data.
According to the technical scheme, the N interference components are arranged on the first interface of the terminal device, the difficulty of cracking the sliding block is improved on the premise that user experience is not influenced, machines or programs trying to crack the sliding block verification can be screened out, then the terminal device can screen out most of machines or programs trying to crack the sliding block verification again according to sliding data, and safety of sliding block verification can be improved.
Optionally, the interference element includes at least one of: geometric thumbnails, special characters, interference points, lines, numbers, words, letters, rotations, twists, or stretch zooms.
In the technical scheme, at least one interference element is arranged in the interference assembly, so that the interference strength of the interference assembly can be improved according to the number of the interference elements, and the safety of slider verification can be improved.
Optionally, the target slider assembly, and/or N interfering assemblies, and/or the slider assembly to be matched are randomly displayed on the first interface.
Among the above-mentioned technical scheme, through with target sliding block set spare, interference component, treat that the random demonstration of matching sliding block set spare is at first interface, can increase the degree of difficulty that the slider was cracked to realize the effectual check-up that prevents maliciously cracked slider such as machine, and then can improve the security of slider check-up.
Optionally, the target slider assembly is any one of a slider atlas, and the slider atlas includes at least two types of slider assemblies.
Among the above-mentioned technical scheme, because target sliding block set is any kind in the slider picture set, so target sliding block set is not only unchangeable through the polytropy of target sliding block set at first interface, has improved the degree of difficulty that sliding block set was deciphered to the realization improves sliding block set's security.
Optionally, the sliding data includes at least one of: the total time of the sliding operation, the total length of the sliding track, the length of the sliding track in the x direction, the length of the sliding track in the y direction, the coordinates of each point on the sliding track, the acceleration of each point on the sliding track, the speed of each point on the sliding track, the direction of the acceleration of each point on the sliding track, the direction of the speed of each point on the sliding track, the time corresponding to each point on the sliding track, the speed difference between two adjacent points on the sliding track in the x direction, the speed difference between two adjacent points on the sliding track in the y direction, the first interface pressing force area, the first interface pressing force degree, the geographic position of the terminal device, or the operation frequency of the sliding operation.
Among the above-mentioned technical scheme, through a plurality of slip data that detect, can comprehensive analysis go out the overall process of user at the sliding block subassembly, whether the follow-up verification of being convenient for is successful or the failure.
Optionally, the determining whether the verification is successful according to the sliding data includes: and inputting the sliding data into a verification model, and outputting a verification result, wherein the verification result comprises verification success or verification failure.
In the technical scheme, the sliding data are input into the verification model, so that a more accurate verification result can be obtained.
Optionally, the method further includes: determining a risk level corresponding to the user; and determining the number of the interference components and/or the number of interference elements included by the interference components according to the risk level.
According to the technical scheme, the interference strength is determined according to the risk level of the user, so that the number of interference elements is determined, the display condition of the first interface corresponding to the design of different users can be pertinently determined, and the accuracy of slider verification is achieved.
In a second aspect, an embodiment of the present invention further provides a slider-based verification apparatus, including: the display unit is used for displaying a first interface by terminal equipment, wherein the first interface comprises a target slider assembly, N interference assemblies and a slider assembly to be matched, and the interference assemblies are composed of the target slider assembly and at least one interference element; the terminal equipment acquires sliding data in response to sliding operation of a user on a first interface, wherein the sliding operation is used for sliding the target sliding block assembly to the position of the sliding block assembly to be matched, and the sliding data comprises data related to a sliding track; and the processing unit is used for determining whether the verification is successful or not by the terminal equipment according to the sliding data.
Optionally, the display unit is specifically configured to enable the interference element to include at least one of the following: geometric thumbnails, special characters, interference points, lines, numbers, words, letters, rotations, twists, or stretch zooms.
Optionally, the display unit is specifically configured to randomly display the target slider assembly, and/or the N interference assemblies, and/or the to-be-matched slider assembly on the first interface.
Optionally, the display unit is specifically configured to enable the target slider assembly to be any one of a slider atlas, where the slider atlas includes at least two types of slider assemblies.
Optionally, the obtaining unit is specifically configured to obtain the sliding data includes at least M items, where M is an integer greater than 1: the total time of the sliding operation, the total length of the sliding track, the length of the sliding track in the x direction, the length of the sliding track in the y direction, the coordinates of each point on the sliding track, the acceleration of each point on the sliding track, the speed of each point on the sliding track, the direction of the acceleration of each point on the sliding track, the direction of the speed of each point on the sliding track, the time when each point on the sliding track corresponds to each point, the speed difference between two adjacent points on the sliding track in the x direction, the speed difference between two adjacent points on the sliding track in the y direction, the first interface pressing force area, the first interface pressing force degree, the geographic position of the terminal device, and the operation frequency of the sliding operation.
Optionally, the processing unit is specifically configured to determine whether the verification is successful according to the sliding data, and includes: and inputting the sliding data into a verification model, and outputting a verification result, wherein the verification result comprises verification success or verification failure.
Optionally, the specific display content of the display unit depends on the risk level corresponding to the user; and determining the number of the interference components and/or the number of interference elements included by the interference components according to the risk level.
In a third aspect, an embodiment of the present invention further provides a computing device, including at least one processor and at least one memory, where the memory stores a computer program, and when the program is executed by the processor, the processor is caused to execute the slider-based checking method according to any of the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the storage medium stores a program, and when the program runs on a computer, the program enables the computer to implement a method for performing a slider-based verification method according to any of the first aspects.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a related art verification method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for a slider-based verification method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a first interface according to an embodiment of the present invention;
FIG. 4a is a schematic structural diagram of a target slider assembly according to an embodiment of the present invention;
FIG. 4b is a schematic structural diagram of another target slider assembly provided in an embodiment of the present invention;
FIG. 4c is a schematic structural diagram of another target slider assembly according to an embodiment of the present invention;
fig. 5a is a schematic diagram of an interference component with an interference element number of 1 according to an embodiment of the present invention;
fig. 5b is a schematic diagram of another interference component with the number of interference elements being 1 according to an embodiment of the present invention;
fig. 5c is a schematic diagram of another interference component with an interference element number of 1 according to an embodiment of the present invention;
fig. 5d is a schematic diagram of another interference component with an interference element number of 1 according to an embodiment of the present invention;
fig. 5e is a schematic diagram of another interference component with an interference element number of 1 according to an embodiment of the present invention;
fig. 5f is a schematic diagram of another interference component with an interference element number of 1 according to an embodiment of the present invention;
fig. 5g is a schematic diagram of another interference component with an interference element number of 1 according to an embodiment of the present invention;
fig. 5h is a schematic diagram of another interference component with an interference element number of 1 according to an embodiment of the present invention;
fig. 5i is a schematic diagram of another interference component with an interference element number of 1 according to an embodiment of the present invention;
fig. 6a is a schematic diagram of an interference component with an interference element number of 2 according to an embodiment of the present invention;
fig. 6b is a schematic diagram of another interference component with the number of interference elements being 2 according to an embodiment of the present invention;
fig. 6c is a schematic diagram of another interference component with an interference element number of 2 according to an embodiment of the present invention;
fig. 6d is a schematic diagram of another interference component with an interference element number of 2 according to an embodiment of the present invention;
fig. 7a is a schematic diagram of an interference component with an interference element number of 3 according to an embodiment of the present invention;
fig. 7b is a schematic diagram of another interference component with the number of interference elements being 3 according to an embodiment of the present invention;
fig. 7c is a schematic diagram of another interference component with an interference element number of 3 according to an embodiment of the present invention;
fig. 7d is a schematic diagram of another interference component with an interference element number of 3 according to an embodiment of the present invention;
fig. 8 is a schematic diagram of an interference component with an interference element number of 4 according to an embodiment of the present invention;
fig. 9 is a schematic diagram of an interference component with an interference element number of 5 according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of a sliding trajectory of a target slider assembly according to an embodiment of the present invention;
FIG. 11 is a schematic structural diagram of a slider-based verification apparatus according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a computing device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic diagram of a verification method in the prior art according to an embodiment of the present invention. The application scenario may be a first interface displayed by a terminal device, where the first interface includes a sliding component and a target sliding region as an example, fig. 1 includes a first interface 100, a sliding component 101, and a target sliding region 102, and generally, when a user needs to input an account password on a web page, the first interface 100 is output after the account password is input, where the first interface 100 is a verification interface, and is intended to determine whether a current user is a machine or a program, so as to prevent the machine or the program from maliciously stealing user information. The verification method generally comprises the steps that a user slides the sliding block assembly 101 into the target sliding block area 102, when the user slides the sliding block assembly 101 into the target sliding block area 102 accurately, verification is successful, at this time, a webpage can jump back to an interface for inputting an account password, when the user does not slide the sliding block assembly 101 into the target sliding block area 102, verification fails, at this time, the verification system can think that a machine or a program is operated at present, the webpage cannot jump back to the interface for inputting the account password again, and therefore the robot can be prevented from maliciously attacking the interface for the account password. However, only one sliding block assembly is arranged on the first interface, so that the sliding block assembly is simple in style and easy to identify by a machine, and the sliding block assembly is not interfered by the assembly, so that a robot can find a rule and then identify a target sliding block area which slides finally.
In view of this, the embodiment of the present invention provides a calibration method based on a slider, which can effectively prevent the problem of robot cracking by adding an interference component.
Fig. 2 is a flowchart of a method of a slider-based verification method according to an embodiment of the present invention. The method comprises the following steps:
step 201, the terminal device displays a first interface.
In an embodiment of the present invention, the first interface may also be referred to as a verification interface, and the first interface may refer to fig. 3. The first interface includes a target slider assembly, N interference assemblies, and a slider assembly to be matched, where fig. 3 takes 3 interference assemblies as an example, which are a first interference assembly, a second interference assembly, and a third interference assembly, respectively.
It should be noted that the layout of the first interface is not fixed and unchanged, and the initial positions of the target slider assembly, the interference assembly and the slider assembly to be matched in the first interface are randomly displayed on the first interface, so that the cracked program can be effectively prevented from finding a rule to crack the slider verification of the first interface.
The shape of the target slider assembly in the first interface may also be randomly varied. Specifically, the target slider assembly in the first interface is arbitrarily selected from a slider map set, where the slider shape in the slider map set has diversity, as shown in fig. 4a, which is a schematic structural diagram of a target slider assembly provided in an embodiment of the present invention, and the slider assembly may be various regular or irregular figures, as shown in fig. 4b, which is a schematic structural diagram of another target slider assembly provided in an embodiment of the present invention, where the slider assembly may be a common article in work and life. The slider components in the slider map set may be preset, or may be determined according to actual situations, or may be correspondingly expanded to increase the difficulty of breaking the slider, for example, a flower pattern may be added as a slider component in the slider map set, as shown in fig. 4c, which is a schematic structural diagram of another target slider component provided in the embodiment of the present invention.
The slider component to be matched in the first interface is a component which is the same as the target slider component, and the purpose of setting the slider component to be matched is to enable a subsequent user to slide the target slider component to the slider component to be matched, so that verification is completed. And the interference component on the first interface is a component similar to but different from the target slide block component, and the purpose of arranging the interference component is to increase the difficulty of cracking the slide block.
The interference component is composed of a target sliding block component and at least one interference element, wherein the interference element comprises a geometric small figure, a special character, an interference point, a line, a number, a character, a letter, a rotation, a distortion, a stretching and zooming and the like. The positions of the interference elements in the interference component may be randomly placed or preset, and are not limited herein.
The following description will be made by taking the interference assembly as an example consisting of a target slider assembly and 1 interference element, wherein the target slider assembly is triangular.
When the interference element is a special character, the interference component is an interference special character with the same or different size, number, type or type added on the basis of the target slider component, as shown in fig. 5a, which is a schematic diagram of an interference component with the interference element number of 1 provided by the embodiment of the present invention.
When the interference element is an interference point, the interference component is to add one or more interference points on the basis of the target slide block component. As shown in fig. 5b, a schematic diagram of another interference component with the number of interference elements being 1 is provided in the embodiment of the present invention.
When the interference elements are lines, the interference components are one or more interference straight lines or curves with consistent or inconsistent lengths added on the basis of the target slide block components. Fig. 5c is a schematic diagram of another interference component with an interference element number of 1 according to an embodiment of the present invention.
When the interference elements are numbers, the interference components are interference numbers which are consistent or inconsistent in size, consistent or inconsistent in number, same or different in color, consistent or inconsistent in type and added on the basis of the target sliding block components. Fig. 5d is a schematic diagram of another interference component with an interference element number of 1 according to an embodiment of the present invention.
When the interference element is Chinese characters, the interference component adds interference Chinese characters with consistent or inconsistent size, consistent or inconsistent number, consistent or different color, consistent or inconsistent content on the basis of the target sliding block component. Fig. 5e is a schematic diagram of another interference component with an interference element number of 1 according to an embodiment of the present invention.
When the interference elements are letters, the interference components are interference upper and lower case letters with the same or different sizes, the same or different numbers, the same or different colors, the same or different types and the same or different types which are added on the basis of the target sliding block component. Fig. 5f is a schematic diagram of another interference component with an interference element number of 1 according to an embodiment of the present invention.
When the disturbing element is a rotating target slider assembly, the disturbing assembly is obtained by rotating different angles on the basis of the target slider assembly, as shown in fig. 5g, which is a schematic diagram of a further disturbing assembly with the number of disturbing elements being 1 provided by the embodiment of the present invention.
When the disturbing element is a distorted target slider assembly, the disturbing assembly is obtained by performing different degrees of distortion on the basis of the target slider assembly, as shown in fig. 5h, which is a schematic diagram of another disturbing assembly with the number of disturbing elements being 1 provided in the embodiment of the present invention.
When the disturbing element is a target slider assembly for stretching and zooming, the disturbing assembly is obtained by enlarging and stretching the target slider assembly by different times or reducing the target slider assembly by different times, as shown in fig. 5i, which is a schematic diagram of another disturbing assembly with the number of disturbing elements being 1 provided in the embodiment of the present invention.
The 8 interference elements can be combined at will, and the interference component generated after combination has stronger interference capability than that generated by a single interference element. If the interference assembly is composed of the target slider assembly and 2 interference elements, there are the following variations. Wherein the target slider assembly is triangular for example. For example, the disturbance assembly is to add a target slider assembly and a letter for stretching and zooming on the basis of the target slider assembly, as shown in fig. 6a, a schematic diagram of a disturbance assembly with the number of disturbance elements being 2 is provided for the embodiment of the present invention.
For example, the disturbance assembly is a geometrical small figure and special characters added on the basis of the target slider assembly, as shown in fig. 6b, a schematic diagram of another disturbance assembly with the number of disturbance elements being 2 is provided for the embodiment of the present invention.
For example, the disturbance assembly is to add geometric small figures and disturbance points on the basis of the target slider assembly, as shown in fig. 6c, which is a schematic diagram of another disturbance assembly with 2 disturbance elements provided in the embodiment of the present invention.
For example, the disturbance assembly is to add geometric figures and lines on the basis of the target slider assembly, as shown in fig. 6d, which is a schematic diagram of another disturbance assembly with 2 disturbance elements provided by the embodiment of the present invention.
The more the number of the interference elements on the interference component is, the higher the difficulty of the slider to be cracked is. If the disturbance assembly is composed of the target slider assembly and 3 disturbance elements, there are the following variations. Wherein the target slider assembly is triangular for example. For example, the disturbance assembly is to add geometric figures, letters and lines on the basis of the target slider assembly, as shown in fig. 7a, an exemplary diagram of the disturbance assembly with the number of disturbance elements being 3 is provided in the embodiment of the present invention.
For example, the disturbance assembly is a geometrical small figure, a special character and a disturbance point added on the basis of the target slider assembly, as shown in fig. 7b, an embodiment of the present invention provides a schematic diagram of another disturbance assembly with a disturbance element number of 3.
For example, the disturbance assembly is a geometrical small figure, special characters and lines added on the basis of the target slider assembly, as shown in fig. 7c, the embodiment of the present invention provides a schematic diagram of another disturbance assembly with a disturbance element number of 3.
For example, the disturbing component is a geometric small figure, special characters and numbers added on the basis of the target slider component, as shown in fig. 7d, the embodiment of the present invention provides a schematic diagram of a further disturbing component with the number of disturbing elements being 3.
If the disturbance assembly is composed of the target slider assembly and more than 3 disturbance elements, there are the following variations. Wherein the target slider assembly is triangular for example. For example, the disturbance assembly is to add geometric small figures, special characters, disturbance points and distorted target slider assemblies on the basis of the target slider assemblies, as shown in fig. 8, which is a schematic diagram of a disturbance assembly with 4 disturbance elements according to an embodiment of the present invention.
For example, the disturbance assembly is to add numbers, lines, special characters, disturbance points and distorted target slider assemblies on the basis of the target slider assemblies, as shown in fig. 9, which is a schematic diagram of a disturbance assembly with the number of disturbance elements being 5 provided in the embodiment of the present invention.
It should be noted that the structure of the interference component described above is only an example, and the embodiment of the present invention does not limit this.
Since the risk levels of different users are different, the number of interfering components and/or the number of interfering elements in the interfering components may be determined according to the risk levels of the users. Therefore, the first interface can be set in a targeted manner, so that the safety of the slider verification is higher, and the accuracy is higher. For example, if the risk level of the user is divided into three levels, which are low risk, medium risk and high risk, respectively, the number of the interference components corresponding to the low risk is 3, and the number of the interference elements in the corresponding interference components is 1. The number of interference components corresponding to the medium risk is 4, and the number of interference elements in the corresponding interference components is 2. The number of interference components corresponding to high risk is 4, and the number of interference elements in the corresponding interference components is 3 or more than 3. When the user a frequently logs in at midnight, the risk level of the user a can be considered as high risk, and then the number of the interference components displayed on the first interface of the user a is 5, and the number of the interference elements in the interference components is 4. When the user B is logged in different places, the risk level of the user B can be considered as medium risk, and then the number of the interference components displayed on the first interface by the user B is 4, and the number of the interference elements in the interference components is 2. When the user C does not have the above-described similar abnormal operation, the risk level of the user C may be considered as low risk, and then the number of the interference components displayed on the first interface by the user C is 3, and the number of the interference elements in the interference components is 1. The risk level may be preset or determined according to specific situations, and is not limited herein. The number of the interference components corresponding to the risk level and/or the number of the interference elements in the interference components may be preset or may be determined according to specific situations, which are only examples and are not limited.
Step 202, the terminal device responds to the sliding operation of the user on the first interface, and obtains sliding data.
In the embodiment of the invention, the user can finish the verification by dragging the target sliding block assembly in the small frame to the position of the sliding block assembly to be matched on the first interface. Fig. 10 is a schematic diagram of a sliding track of a target slider assembly according to an embodiment of the present invention. Because the positions of the target slider assembly and the slider assembly to be matched are randomly displayed on the first interface and are not fixed at a certain position, the sliding track of the target slider assembly is not fixed, and the target slider assembly can slide horizontally, vertically or curvilinearly, which is not limited herein. The terminal equipment responds to the sliding operation of the user on the first interface and can acquire corresponding sliding data.
The sliding data comprises four parts, namely general information, x-axis information of the sliding point, y-axis information of the sliding point and auxiliary characteristic information. The total information comprises the total time of the sliding operation, the total length of the sliding track, the length of the sliding track in the x direction and the length of the sliding track in the y direction.
The x-axis information of the sliding point includes an x-axis coordinate of each point on the sliding track, an x-axis acceleration of each point on the sliding track, an x-axis velocity of each point on the sliding track, a direction of the x-axis acceleration of each point on the sliding track, a direction of the x-axis velocity of each point on the sliding track, a time corresponding to each point on the sliding track, and a velocity difference between two adjacent points on the sliding track in the x direction.
The y-axis information of the sliding point comprises the y-axis coordinate of each point on the sliding track, the y-axis acceleration of each point on the sliding track, the y-axis speed of each point on the sliding track, the direction of the y-axis acceleration of each point on the sliding track, the direction of the y-axis speed of each point on the sliding track, the time corresponding to each point on the sliding track and the speed difference between two adjacent points on the sliding track in the y direction.
The auxiliary characteristic information comprises a first interface pressing force-bearing area, a first interface pressing force degree, a geographic position of the terminal device, or an operation frequency of sliding operation and the like.
And the coordinates of each point on the sliding track comprise the x-axis coordinates of each point and the y-axis coordinates of each point. The acceleration of each point on the sliding track includes the x-axis acceleration of each point and the y-axis acceleration of each point. The speed of each point on the sliding track comprises the x-axis speed of each point and the y-axis speed of each point. The direction of the acceleration of each point on the slide trajectory includes the acceleration of the x-axis of each point and the acceleration of the y-axis of each point. The direction of the speed of each point on the sliding trajectory includes the direction of the speed of the x-axis of each point and the direction of the speed of the y-axis of each point. The corresponding time of each point on the sliding track comprises the time corresponding to the x axis of each point and the time corresponding to the y axis of each point.
The sliding data acquired by the terminal equipment not only acquires original x-axis data information in the existing simple slider technology verification, but also increases y-axis data information and information such as screen pressing stress area, screen pressing pressure degree, geographical position, access operation frequency and the like, wherein the sliding data can be more comprehensive by increasing the y-axis data information, and the sliding track can be more clearly restored according to the sliding data. The information such as the screen pressing force area, the screen pressing force degree, the geographic position and the access operation frequency is increased, so that the terminal equipment can judge whether the sliding block slides in a program or a user more accurately according to the information such as the screen pressing force area, the screen pressing force degree, the geographic position and the access operation frequency. In conclusion, the terminal device can determine the verification result more accurately according to the sliding data, and can effectively prevent malicious programs from verifying by damaging the sliding block. Further, the sliding data has a priority, and the priority may be preset or may be determined according to specific situations. For example, the overall information in the swipe data has the highest priority, followed by the x-axis information of the swipe point and the y-axis information of the swipe point, wherein the x-axis information of the swipe point and the y-axis information of the swipe point have the same priority, and finally followed by the lowest priority of the assist feature information.
Step 203, the terminal device determines whether the verification is successful according to the sliding data, if so, step 204 is executed, and if not, step 205 is executed.
In the embodiment of the invention, the terminal equipment inputs the sliding data into the verification model, and the verification model outputs the verification result. Specifically, the verification model needs to be trained first, then sliding data is input into the trained verification model, and then the verification model outputs a verification result. The verification model is, for example, a neural network model.
The specific step of training the verification model is to input a large amount of positive sample data and a large amount of negative sample data into the verification model, thereby training the verification model so that the verification model can distinguish human from machine or program. Wherein, the positive sample data is the sliding data of artificially sliding the target sliding block assembly into the sliding block assembly to be matched, and the negative sample data is the sliding data of sliding the target sliding block assembly into the sliding block assembly to be matched by a machine or a program. Since the verification model knows whether the sample data is negative sample data or positive sample data before inputting the sample data, the verification model can train different sample data in a targeted manner, so that the difference between the negative sample data and the positive sample data can be found.
The sliding data is input into the trained verification model, and the verification result can be directly obtained, for example, if the verification fails, the first interface displays the verification failure, and further, optionally, prompt information or voice playing prompt information can be displayed to prompt that the sliding operation is a machine or a program. If the verification is successful, the first interface displays that the verification is successful, and further prompts the user how much time is used for successful verification and the like.
The verification model can dynamically adjust various parameter values and characteristic weights of the verification model in the model training process.
And step 204, successfully checking.
In the embodiment of the invention, the successful verification means that the target sliding block assembly slides to the position of the sliding block assembly to be matched by a normal user, and the first interface displays successful verification.
Step 205, the check fails.
In the embodiment of the invention, the verification failure indicates that the verification model considers that the target sliding block assembly slides to the position of the sliding block assembly to be matched by a machine or a program, and the first interface can display the verification failure.
It can be seen from the above steps 201 to 205 that increasing the number of interference components and/or the number of interference elements in the interference components on the first interface can increase the interference difficulty of cracking the slider without increasing the difficulty of using the user, and can effectively prevent the slider from being cracked by a machine or a program for verification.
Based on the same technical concept, the embodiment of the invention also provides a calibration device based on the sliding block, and the calibration device can execute the method in the embodiment of the method. Referring to fig. 11, a structure of a slider-based verification apparatus 1100 according to an embodiment of the present invention includes a display unit 1101 configured to display a first interface on a terminal device, where the first interface includes a target slider assembly, N interference assemblies and a slider assembly to be matched, and the interference assemblies are composed of the target slider assembly and at least one interference element. The obtaining unit 1102 is used for the terminal device to obtain sliding data in response to a sliding operation of a user on a first interface, wherein the sliding operation is used for sliding the target slider assembly to the position of the slider assembly to be matched, and the sliding data comprises data related to a sliding track. The processing unit 1103 is configured to determine, by the terminal device, whether the verification is successful according to the sliding data.
Optionally, the display unit 1101 is specifically configured to enable the interference element to include at least one of the following: geometric thumbnails, special characters, interference points, lines, numbers, words, letters, rotations, twists, or stretch zooms.
Optionally, the display unit 1101 is specifically configured to randomly display the target slider assembly, and/or the N interfering assemblies, and/or the to-be-matched slider assembly on the first interface.
Optionally, the display unit is specifically configured to enable the target slider assembly to be any one of a slider atlas, where the slider atlas includes at least two types of slider assemblies.
Optionally, the obtaining unit 1102 is specifically configured to enable the sliding data to include at least M items, where M is an integer greater than 1: the total time of the sliding operation, the total length of the sliding track, the length of the sliding track in the x direction, the length of the sliding track in the y direction, the coordinates of each point on the sliding track, the acceleration of each point on the sliding track, the speed of each point on the sliding track, the direction of the acceleration of each point on the sliding track, the direction of the speed of each point on the sliding track, the time corresponding to each point on the sliding track, the speed difference between two adjacent points on the sliding track in the x direction, the speed difference between two adjacent points on the sliding track in the y direction, the first interface pressing force area, the first interface pressing force degree, the geographic position of the terminal device, or the operation frequency of the sliding operation.
Optionally, the processing unit 1103 is specifically configured to determine whether the verification is successful according to the sliding data, and includes: and inputting the sliding data into a verification model, and outputting a verification result, wherein the verification result comprises verification success or verification failure.
Optionally, the display unit 1101 is specifically configured to determine a risk level corresponding to the user; and determining the number of the interference components and/or the number of interference elements included by the interference components according to the risk level.
Based on the same technical concept, the embodiment of the present application further provides a computing device, as shown in fig. 12, including at least one processor 1201 and a memory 1202 connected to the at least one processor, where a specific connection medium between the processor 1201 and the memory 1202 is not limited in the embodiment of the present application, and the processor 1201 and the memory 1202 in fig. 12 are connected through a bus as an example. The bus may be divided into an address bus, a data bus, a control bus, etc.
In this embodiment, the memory 1202 stores instructions executable by the at least one processor 1201, and the at least one processor 1201 may execute the steps included in the foregoing slider-based verification method by executing the instructions stored in the memory 1202.
The processor 1201 is a control center of the computing device, and may connect various parts of the computing device by using various interfaces and lines, and implement data processing by executing or executing instructions stored in the memory 1202 and calling data stored in the memory 1202. Optionally, the processor 801 may include one or more processing units, and the processor 1201 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application program, and the like, and the modem processor mainly processes an issued instruction. It will be appreciated that the modem processor described above may not be integrated into the processor 1201. In some embodiments, the processor 1201 and the memory 1202 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
The processor 1201 may be a general-purpose processor, such as a Central Processing Unit (CPU), a digital signal processor, an Application Specific Integrated Circuit (ASIC), a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof, configured to implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present Application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the disclosed method in connection with the embodiments of the slider-based verification method may be embodied directly in a hardware processor, or may be implemented in a combination of hardware and software modules within the processor.
Memory 1202, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory 1202 may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charge Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory 1202 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 1202 in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
Based on the same technical concept, embodiments of the present application further provide a computer-readable storage medium storing a computer program executable by a computing device, where the computer program causes the computing device to execute the steps of the above-mentioned slider-based verification method when the computer program runs on the computing device.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A slider-based verification method, comprising:
the method comprises the steps that terminal equipment displays a first interface, wherein the first interface comprises a target sliding block assembly, N interference assemblies and a sliding block assembly to be matched, and the interference assemblies are composed of the target sliding block assembly and at least one interference element;
the terminal equipment responds to sliding operation of a user on a first interface, and acquires sliding data, wherein the sliding operation is used for sliding the target sliding block assembly to the position of the sliding block assembly to be matched, and the sliding data comprises data related to a sliding track;
and the terminal equipment determines whether the verification is successful according to the sliding data.
2. The method of claim 1, wherein the interfering element comprises at least one of:
geometric thumbnails, special characters, interference points, lines, numbers, words, letters, rotations, twists, or stretch zooms.
3. The method as claimed in claim 1, wherein the target slider assembly, and/or N interfering assemblies, and/or the slider assembly to be matched are randomly displayed on the first interface.
4. The method of claim 1, wherein the target slider assembly is any one of a slider atlas, the slider atlas including at least two types of slider assemblies.
5. The method of claim 1, wherein the sliding data includes at least M terms, M being an integer greater than 1:
the total time of the sliding operation, the total length of the sliding track, the length of the sliding track in the x direction, the length of the sliding track in the y direction, the coordinates of each point on the sliding track, the acceleration of each point on the sliding track, the speed of each point on the sliding track, the direction of the acceleration of each point on the sliding track, the direction of the speed of each point on the sliding track, the time when each point on the sliding track corresponds to each point, the speed difference between two adjacent points on the sliding track in the x direction, the speed difference between two adjacent points on the sliding track in the y direction, the first interface pressing force area, the first interface pressing force degree, the geographic position of the terminal device, and the operation frequency of the sliding operation.
6. The method of claim 5, wherein said determining whether the verification is successful based on the sliding data comprises:
and inputting the sliding data into a verification model, and outputting a verification result, wherein the verification result comprises verification success or verification failure.
7. The method of claim 2, further comprising:
determining a risk level corresponding to the user;
and determining the number of the interference components and/or the number of interference elements included by the interference components according to the risk level.
8. A slider-based verification device, comprising:
the display unit is used for displaying a first interface by terminal equipment, wherein the first interface comprises a target slider assembly, N interference assemblies and a slider assembly to be matched, and the interference assemblies are composed of the target slider assembly and at least one interference element;
the terminal equipment acquires sliding data in response to sliding operation of a user on a first interface, wherein the sliding operation is used for sliding the target sliding block assembly to the position of the sliding block assembly to be matched, and the sliding data comprises data related to a sliding track;
and the processing unit is used for determining whether the verification is successful or not by the terminal equipment according to the sliding data.
9. A computing device comprising at least one processor and at least one memory, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the method of any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the storage medium stores a program which, when run on a computer, causes the computer to carry out the method of any one of claims 1 to 7.
CN202111537713.8A 2021-12-15 2021-12-15 Calibration method and device based on sliding block Pending CN114281224A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111537713.8A CN114281224A (en) 2021-12-15 2021-12-15 Calibration method and device based on sliding block

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111537713.8A CN114281224A (en) 2021-12-15 2021-12-15 Calibration method and device based on sliding block

Publications (1)

Publication Number Publication Date
CN114281224A true CN114281224A (en) 2022-04-05

Family

ID=80872617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111537713.8A Pending CN114281224A (en) 2021-12-15 2021-12-15 Calibration method and device based on sliding block

Country Status (1)

Country Link
CN (1) CN114281224A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957682A (en) * 2011-08-30 2013-03-06 北京百度网讯科技有限公司 Method and equipment for providing picture verification code based on verification security level
CN104065666A (en) * 2014-07-03 2014-09-24 北京齐尔布莱特科技有限公司 Method and device for generating picture identification code
CN104618350A (en) * 2015-01-15 2015-05-13 湘潭大学 Generation method of image checking code
CN104732135A (en) * 2015-02-17 2015-06-24 网易有道信息技术(北京)有限公司 Sliding verification method and device
CN108989269A (en) * 2017-06-02 2018-12-11 阿里巴巴集团控股有限公司 Obtain the methods, devices and systems of identifying code
CN109495275A (en) * 2018-12-27 2019-03-19 北京航天福道高技术股份有限公司 Generate the setting method of random verification code
CN109800559A (en) * 2019-01-02 2019-05-24 平安科技(深圳)有限公司 Generation method, device, computer equipment and the storage medium of sliding block identifying code
WO2020024412A1 (en) * 2018-08-03 2020-02-06 平安科技(深圳)有限公司 User behavior recognition method and apparatus based on sliding block verification code verification
CN112699362A (en) * 2020-12-28 2021-04-23 平安普惠企业管理有限公司 Login verification method and device, electronic equipment and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957682A (en) * 2011-08-30 2013-03-06 北京百度网讯科技有限公司 Method and equipment for providing picture verification code based on verification security level
CN104065666A (en) * 2014-07-03 2014-09-24 北京齐尔布莱特科技有限公司 Method and device for generating picture identification code
CN104618350A (en) * 2015-01-15 2015-05-13 湘潭大学 Generation method of image checking code
CN104732135A (en) * 2015-02-17 2015-06-24 网易有道信息技术(北京)有限公司 Sliding verification method and device
CN108989269A (en) * 2017-06-02 2018-12-11 阿里巴巴集团控股有限公司 Obtain the methods, devices and systems of identifying code
WO2020024412A1 (en) * 2018-08-03 2020-02-06 平安科技(深圳)有限公司 User behavior recognition method and apparatus based on sliding block verification code verification
CN109495275A (en) * 2018-12-27 2019-03-19 北京航天福道高技术股份有限公司 Generate the setting method of random verification code
CN109800559A (en) * 2019-01-02 2019-05-24 平安科技(深圳)有限公司 Generation method, device, computer equipment and the storage medium of sliding block identifying code
CN112699362A (en) * 2020-12-28 2021-04-23 平安普惠企业管理有限公司 Login verification method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10282284B2 (en) Test method, system, and device, and readable storage medium
CN101178768B (en) Image processing apparatus, image processing method and person identification apparatus,
CN104200150B (en) Method and device for processing verification codes
EP3230920B1 (en) Method for recognizing if a user of an electronic terminal is a human or a robot
CN109033772B (en) Verification information input method and device
CN104065666B (en) A kind of method and device for generating picture validation code
CN107274543B (en) A kind of recognition methods of bank note, device, terminal device and computer storage medium
WO2015171702A1 (en) Method and system for generating verification codes
CN112541443B (en) Invoice information extraction method, invoice information extraction device, computer equipment and storage medium
CN107451819A (en) A kind of auth method and device based on user's operation behavior feature
CN108920929A (en) Proof diagram processing method, device, computer equipment and storage medium
CN109933971A (en) A kind of verification method based on identifying code, device, electronic equipment and storage medium
CN111680546A (en) Attention detection method, attention detection device, electronic equipment and storage medium
CN106295620A (en) Hair style recognition methods and hair style identification device
CN107317805A (en) One kind checking code verification method and device
CN105117723A (en) Image identification method and device
CN110188578A (en) A kind of method and apparatus of automatic shield information
CN109871205A (en) GUI code method of adjustment, device, computer installation and storage medium
CN110795706B (en) Hash-based verification method, equipment, storage medium and device
CN114281224A (en) Calibration method and device based on sliding block
CN106599637A (en) Method and device for inputting verification code into verification interface
CN111523106A (en) Input verification method based on Chinese character splitting
CN106878248A (en) A kind of verification method and equipment
CN106096963A (en) The generation method and apparatus of a kind of identifying code and verification method and device
CN106161338A (en) For verifying the method and device of user identity

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination