CN109543393A - Behavior verification method and device - Google Patents
Behavior verification method and device Download PDFInfo
- Publication number
- CN109543393A CN109543393A CN201811240798.1A CN201811240798A CN109543393A CN 109543393 A CN109543393 A CN 109543393A CN 201811240798 A CN201811240798 A CN 201811240798A CN 109543393 A CN109543393 A CN 109543393A
- Authority
- CN
- China
- Prior art keywords
- time series
- series data
- data point
- sliding trace
- sliding
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/36—User authentication by graphic or iconic representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2133—Verifying human interaction, e.g., Captcha
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the present invention provides a kind of behavior verification method and device, the described method includes: obtaining the sliding trace data that user inputs according to slidable puzzle identifying code, if judgement knows that the position of the last one time series data point in the sliding trace data is identical as predeterminated position, the intermediate time series data point between the first time series data point and the last one time series data point in the sliding trace data is traversed;If judgement knows that all intermediate time series data points are legal time series data point, instruction information is verified to interactive interface transmission.Behavior verification method and device provided in an embodiment of the present invention, it is verified by the intermediate time series data point in the sliding trace data that are inputted to user, come the behavior of people when identifying slide or the behavior of machine, avoid the reuse of history sliding trace data, increase the difficulty for cracking identifying code, improves the safety and reliability of identifying code.
Description
Technical field
The present embodiments relate to field of information security technology more particularly to a kind of behavior verification methods and device.
Background technique
With computer, the rapid development and extensive use of network communication, people are infused on network by computer, mobile phone etc.
The various accounts of volume, after criminal has stolen account and the password of people, will serious damage people interests.
In the prior art, criminal passes through calculating after the account for the user for stealing batch and password in order to prevent
The account of the login user of machine program or robot batch, is typically employed in login process, after inputting account and password, also
Inputting correct identifying code could really complete to log in.Identify it is that people is executing register, or meter by identifying code
Calculation machine program or robot are executing, to improve safety.Common verification mode is: one is shown in login interface
It include the picture in sliding block and shadow region, as slidable puzzle identifying code, sliding block is to pluck out from original picture according to preset shape
A part of picture, shadow region is to add the region that shade is formed, the shape in shadow region and the shape of sliding block in the part plucked out
Shape fits like a glove, and is interfered in picture validation code generating process using picture background, and the position in shadow region is random, picture inverse etc.
Technology increases identification difficulty.In verification process, user is needed to identify the operation instruction information in interface, and sliding block is slided
To shadow region, it is overlapped sliding block and shadow region as far as possible, the position and shadow region of sliding block when system identification goes out user's release slider
Position could pass through verifying within the scope of tolerance, complete register.
But sliding behavior is easier to obtain, and one section of track can be slided with true operation, under this section of track record
Coming, cracker can successfully complete behavior verifying by resetting these track datas with a certain amount of track record of true glide,
Cause reliability and the safety of picture validation code low.
Summary of the invention
A kind of overcome the above problem the purpose of the embodiment of the present invention is that providing or at least be partially solved the above problem
Behavior verification method and device.
In order to solve the above-mentioned technical problem, on the one hand, the embodiment of the present invention provides a kind of behavior verification method, comprising:
Obtain the sliding trace data that input according to slidable puzzle identifying code of user, wherein the sliding trace data are
Every first time series data in the collected one group of time series data of preset time, the sliding trace data in sliding process
Point is slides the data point acquired when beginning, at the end of the last one time series data point in the sliding trace data is sliding
The timestamp of the data point of acquisition, each time series data point in the sliding trace data is collected for the time series data point
When acquisition time, the data value of each time series data point in the sliding trace data is collected for the time series data point
When sliding block position;
If judgement knows that the position of the last one time series data point in the sliding trace data is identical as predeterminated position,
Then traverse the intermediate timing between the first time series data point and the last one time series data point in the sliding trace data
Data point, for any intermediate time series data point, if judgement knows that the acquisition time of the intermediate time series data point is greater than first
Time and less than the second time, and the position of sliding block when the intermediate time series data point is collected is in first position and second
On line between setting, then the intermediate time series data point is legal time series data point, if ordinal number when judgement knows described intermediate
The acquisition time at strong point is perhaps less than the first time greater than second time or the intermediate time series data point is adopted
On the line of the position of sliding block when collection not between the first position and the second position, then the intermediate time series data
Point is illegal time series data point, wherein the first time be in the sliding trace data first time series data point when
Between stab, second time be the sliding trace data in the last one time series data point timestamp, the first position
For the position of sliding block when first time series data point is collected in the sliding trace data, the second position is the cunning
The position of sliding block when the last one time series data point is collected in dynamic track data;
If judgement knows that all intermediate time series data points are legal time series data point, sends and verify to interactive interface
By indicating information.
On the other hand, the embodiment of the present invention provides a kind of behavior verifying device, comprising:
Obtain module, the sliding trace data inputted for obtaining user according to slidable puzzle identifying code, wherein the cunning
Dynamic track data is in sliding process every the in the collected one group of time series data of preset time, the sliding trace data
One time series data point is the data point acquired when sliding starts, the last one time series data point in the sliding trace data
The timestamp of the data point that acquires at the end of for sliding, each time series data point in the sliding trace data is the timing
The data value of acquisition time when data point is collected, each time series data point in the sliding trace data is the timing
The position of sliding block when data point is collected;
Spider module, if for judge to know the position of the last one time series data point in the sliding trace data with
Predeterminated position is identical, then traverse first time series data point in the sliding trace data and the last one time series data point it
Between intermediate time series data point, for any intermediate time series data point, if the acquisition of the intermediate time series data point is known in judgement
Time is greater than at the first time and less than the second time, and the position of sliding block when the intermediate time series data point is collected is first
On line between position and the second position, then the intermediate time series data point is legal time series data point, if institute is known in judgement
State intermediate time series data point acquisition time be greater than second time perhaps be less than the first time or it is described intermediate when
It is on the line of the position of sliding block when ordinal number strong point is collected not between the first position and the second position, then described
Intermediate time series data point is illegal time series data point, wherein when the first time is first in the sliding trace data
The timestamp at ordinal number strong point, second time are the timestamp of the last one time series data point in the sliding trace data,
The first position is the position of sliding block when first time series data point is collected in the sliding trace data, described second
Position is the position of sliding block when the last one time series data point is collected in the sliding trace data;
Authentication module, if for judging to know that all intermediate time series data points are legal time series data point, to friendship
Mutual interface, which is sent, is verified instruction information.
In another aspect, the embodiment of the present invention provides a kind of electronic equipment, comprising:
Memory and processor, the processor and the memory complete mutual communication by bus;It is described to deposit
Reservoir is stored with the program instruction that can be executed by the processor, and it is above-mentioned that the processor calls described program instruction to be able to carry out
Method.
Another aspect, the embodiment of the present invention provide a kind of non-transient computer readable storage medium, are stored thereon with calculating
Machine program realizes above-mentioned method when the computer program is executed by processor.
Behavior verification method and device provided in an embodiment of the present invention, by the sliding trace data that are inputted to user
Intermediate time series data point is verified, and come the behavior of people when identifying slide or the behavior of machine, avoids history sliding
The reuse of track data increases the difficulty for cracking identifying code, improves the safety and reliability of identifying code.
Detailed description of the invention
Fig. 1 is behavior verification method schematic diagram provided in an embodiment of the present invention;
Fig. 2 is that schematic device is verified in behavior provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
In order to keep the purposes, technical schemes and advantages of the embodiment of the present invention clearer, implement below in conjunction with the present invention
Attached drawing in example, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment
It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiment of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is behavior verification method schematic diagram provided in an embodiment of the present invention, as shown in Figure 1, the embodiment of the present invention provides
A kind of behavior verification method, executing subject are behavior verifying device, this method comprises:
Step S101, the sliding trace data that user inputs according to slidable puzzle identifying code are obtained, wherein the sliding rail
Mark data are in sliding process every first in the collected one group of time series data of preset time, the sliding trace data
Time series data point is the data point acquired when sliding starts, the last one time series data point in the sliding trace data is to slide
The timestamp of the data point acquired at the end of dynamic, each time series data point in the sliding trace data is the time series data
Acquisition time when being collected is put, the data value of each time series data point in the sliding trace data is the time series data
The position of sliding block when point is collected;
If step S102, judgement is known the position of the last one time series data point in the sliding trace data and is preset
Position is identical, then traverses between the first time series data point and the last one time series data point in the sliding trace data
Intermediate time series data point, for any intermediate time series data point, if the acquisition time of the intermediate time series data point is known in judgement
The position of sliding block greater than at the first time and less than the second time, and when the intermediate time series data point is collected is in first position
On line between the second position, then the intermediate time series data point is legal time series data point, if judgement is known in described
Between time series data point acquisition time be greater than second time perhaps be less than the first time or it is described intermediate when ordinal number
On the line of the position of sliding block when strong point is collected not between the first position and the second position, then the centre
Time series data point is illegal time series data point, wherein the ordinal number when first time is first in the sliding trace data
The timestamp at strong point, second time is the timestamp of the last one time series data point in the sliding trace data, described
First position is the position of sliding block when first time series data point is collected in the sliding trace data, the second position
For the position of sliding block of the last one the time series data point in sliding trace data when collected;
If step S103, judgement knows that all intermediate time series data points are legal time series data point, to interaction circle
Face sends and is verified instruction information.
Specifically, slidable puzzle identifying code and operation instruction information are shown in the user interface of front end, are used
Operation instruction information is identified at family, according to the instruction of operation instruction information, moves the sliding block in slidable puzzle identifying code, completes to slide
Dynamic operation.
Firstly, obtaining the sliding trace data that user inputs according to slidable puzzle identifying code.Wherein, sliding trace data are
It is every first time series data point in the collected one group of time series data of preset time, sliding trace data in sliding process
The data point acquired when starting is slided, the last one time series data point in sliding trace data is the number acquired at the end of sliding
Strong point, the timestamp of each time series data point in sliding trace data is acquisition time when time series data point is collected, sliding
The data value of each time series data point in dynamic track data is the position of sliding block when time series data point is collected.
For example, get the sliding trace data of user's input is indicated with one group of time series data S, S=P1, P2 ...,
Pk ..., Pn }, Pk=(Tk, Zk), Zk=(Xk, Yk), n are positive integer, and P1 is first time series data point in S, and Pn is in S
The last one time series data point, Pk be S in k-th of time series data point, Tk be Pk timestamp, Tk indicate k-th of timing
Acquisition time when data point is collected, Zk are the data value of Pk, and Zk indicates the position of sliding block when k-th of time series data point is collected
It sets, Xk indicates that abscissa, Yk indicate ordinate.
Then, after obtaining the sliding trace data that user inputs according to slidable puzzle identifying code, pass through two steps
User behavior is verified, the position of sliding block, second step verify sliding trace at the end of first step verifying user's sliding behavior
The intermediate time series data point of data, if it is determined that knowing the position of the last one time series data point in sliding trace data and pre-
If position is identical, then traverse between the first time series data point and the last one time series data point in sliding trace data
Between time series data point, for any intermediate time series data point, if judgement knows that the acquisition time of intermediate time series data point is greater than the
One time and less than the second time, and the position of sliding block when intermediate time series data point is collected is in first position and the second position
Between line on, then intermediate time series data point is legal time series data point, if the acquisition of intermediate time series data point is known in judgement
The position of sliding block when time is perhaps collected less than the first time or intermediate time series data point greater than the second time is not
On line between the first position and the second position, then intermediate time series data point is illegal time series data point, wherein when first
Between for first time series data point in sliding trace data timestamp, the second time be in sliding trace data the last one when
The timestamp at ordinal number strong point, first position are the position of sliding block when first time series data point is collected in sliding trace data
It sets, the second position is the position of sliding block when the last one time series data point is collected in sliding trace data.
For example, traversing P2 ..., the intermediate time series data of Pn-1 this n-2 if the value of Zn is identical as predeterminated position in upper example
Point judges whether each intermediate time series data point is legal.The predeterminated position is corresponding with slidable puzzle identifying code, and a sliding is spelled
Only one predeterminated position of figure identifying code corresponds, and predeterminated position is different in different slidable puzzle identifying codes.
After traversal is completed, if it is determined that know that all intermediate time series data points are legal time series data point, then to
The interactive interface transmission of front end is verified instruction information, is verified instruction information so that the interactive interface of front end is shown, uses
Family is identified be verified instruction information after, or passed through the verifying of slidable puzzle identifying code.
Behavior verification method provided in an embodiment of the present invention, when by centre in the sliding trace data that are inputted to user
Ordinal number strong point is verified, and come the behavior of people when identifying slide or the behavior of machine, avoids history sliding trace number
According to reuse, increase and crack the difficulty of identifying code, improve the safety and reliability of identifying code.
On the basis of the above embodiments, further, the cunning for obtaining user and being inputted according to slidable puzzle identifying code
Before dynamic track data, further includes:
The slidable puzzle identifying code is sent to the interactive interface, so that the interactive interface shows the slidable puzzle
Identifying code.
Specifically, before obtaining the sliding trace data that user inputs according to slidable puzzle identifying code, it is necessary first to
According to the solicited message of the interactive interface of front end, the interactive interface of forward end sends slidable puzzle identifying code, for interactive interface
Show slidable puzzle identifying code.
Operation instruction information is also shown in the user interface of front end, user identifies operation instruction information, root
According to the instruction of operation instruction information, the sliding block in slidable puzzle identifying code is moved, completes slide.
Behavior verification method provided in an embodiment of the present invention, when by centre in the sliding trace data that are inputted to user
Ordinal number strong point is verified, and come the behavior of people when identifying slide or the behavior of machine, avoids history sliding trace number
According to reuse, increase and crack the difficulty of identifying code, improve the safety and reliability of identifying code.
It is further, described to obtain what user inputted according to slidable puzzle identifying code on the basis of the above various embodiments
After sliding trace data, further includes:
If judgement know the last one time series data point in the sliding trace data position and the predeterminated position
It is not identical, then new slidable puzzle identifying code is sent to the interactive interface.
Specifically, after obtaining the sliding trace data that user inputs according to slidable puzzle identifying code, pass through two
Step verifies user behavior, the position of sliding block at the end of first step verifying user's sliding behavior, second step verifying sliding
The intermediate time series data point of track data.
If the position of the last one time series data point in institute's sliding trace data is known in judgement in first step verifying
Not identical as predeterminated position, then the interactive interface of direct forward end sends new slidable puzzle identifying code, for the interaction of front end
The new slidable puzzle identifying code of interface display.No longer carry out the verifying of the intermediate time series data point of sliding trace data.
Behavior verification method provided in an embodiment of the present invention, when by centre in the sliding trace data that are inputted to user
Ordinal number strong point is verified, and come the behavior of people when identifying slide or the behavior of machine, avoids history sliding trace number
According to reuse, increase and crack the difficulty of identifying code, improve the safety and reliability of identifying code.
On the basis of the above various embodiments, further, if the judgement is known in the sliding trace data most
The position of the latter time series data point is identical as predeterminated position, then traverses first time series data in the sliding trace data
After intermediate time series data point between point and the last one time series data point, further includes:
If judging to know, there are any intermediate time series data points as illegal time series data point, sends to the interactive interface
New slidable puzzle identifying code.
Specifically, traversal complete after, if it is determined that know there are any intermediate time series data point be it is illegal when ordinal number
Strong point, then this slide does not pass through the verifying of slidable puzzle identifying code, and the interactive interface of forward end sends new sliding and spells
Figure identifying code, so that the interactive interface of front end shows new slidable puzzle identifying code.
Behavior verification method provided in an embodiment of the present invention, when by centre in the sliding trace data that are inputted to user
Ordinal number strong point is verified, and come the behavior of people when identifying slide or the behavior of machine, avoids history sliding trace number
According to reuse, increase and crack the difficulty of identifying code, improve the safety and reliability of identifying code.
Fig. 2 is that schematic device is verified in behavior provided in an embodiment of the present invention, as shown in Fig. 2, the embodiment of the present invention provides
A kind of behavior verifying device specifically includes for executing any of the above-described method as described in the examples and obtains module 201, traversal
Module 202 and authentication module 203, in which:
Module 201 is obtained for obtaining the sliding trace data that user inputs according to slidable puzzle identifying code, wherein described
Sliding trace data are in sliding process every in the collected one group of time series data of preset time, the sliding trace data
First time series data point is the data point acquired when sliding starts, the last one time series data in the sliding trace data
Point is the data point acquired at the end of sliding, when the timestamp of each time series data point in the sliding trace data is described
When the data value of acquisition time when ordinal number strong point is collected, each time series data point in the sliding trace data is described
The position of sliding block when ordinal number strong point is collected;
If spider module 202 is used to judge to know the position of the last one time series data point in the sliding trace data
It is identical as predeterminated position, then traverse first time series data point and the last one time series data point in the sliding trace data
Between intermediate time series data point, for any intermediate time series data point, if adopting for the intermediate time series data point is known in judgement
Collecting the time is greater than at the first time and less than the second time, and the position of sliding block when the intermediate time series data point is collected is the
On line between one position and the second position, then the intermediate time series data point is legal time series data point, if judgement is known
The acquisition time of the intermediate time series data point is greater than second time perhaps less than the first time or the centre
On the line of the position of sliding block when time series data point is collected not between the first position and the second position, then institute
Stating intermediate time series data point is illegal time series data point, wherein the first time is first in the sliding trace data
The timestamp of time series data point, second time are the time of the last one time series data point in the sliding trace data
Stamp, the first position is the position of sliding block when first time series data point is collected in the sliding trace data, described
The second position is the position of sliding block when the last one time series data point is collected in the sliding trace data;
If authentication module 203 is used to judge to know that all intermediate time series data points are legal time series data point, to
Interactive interface transmission is verified instruction information.
Specifically, slidable puzzle identifying code and operation instruction information are shown in the user interface of front end, are used
Operation instruction information is identified at family, according to the instruction of operation instruction information, moves the sliding block in slidable puzzle identifying code, completes to slide
Dynamic operation.
Firstly, obtaining the sliding trace data that user inputs according to slidable puzzle identifying code by obtaining module 201.Its
In, sliding trace data are in sliding process every in the collected one group of time series data of preset time, sliding trace data
First time series data point is the data point acquired when sliding starts, the last one time series data point in sliding trace data is
The data point acquired at the end of sliding, the timestamp of each time series data point in sliding trace data are that time series data point is adopted
Acquisition time when collection, the data value of each time series data point in sliding trace data are cunning when time series data point is collected
The position of block.
For example, get the sliding trace data of user's input is indicated with one group of time series data S, S=P1, P2 ...,
Pk ..., Pn }, Pk=(Tk, Zk), Zk=(Xk, Yk), n are positive integer, and P1 is first time series data point in S, and Pn is in S
The last one time series data point, Pk be S in k-th of time series data point, Tk be Pk timestamp, Tk indicate k-th of timing
Acquisition time when data point is collected, Zk are the data value of Pk, and Zk indicates the position of sliding block when k-th of time series data point is collected
It sets, Xk indicates that abscissa, Yk indicate ordinate.
Then, by spider module 202 obtain sliding trace data that user inputs according to slidable puzzle identifying code it
Afterwards, user behavior is verified by two steps, the position of sliding block at the end of first step verifying user's sliding behavior, second
Step demonstrate,proves the intermediate time series data point of sliding trace data, if it is determined that ordinal number when knowing the last one in sliding trace data
The position at strong point is identical as predeterminated position, then traverses first time series data point and the last one timing in sliding trace data
Intermediate time series data point between data point, for any intermediate time series data point, if intermediate time series data point is known in judgement
Acquisition time is greater than at the first time and less than the second time, and the position of sliding block when intermediate time series data point is collected is first
On line between position and the second position, then intermediate time series data point is legal time series data point, if centre is known in judgement
When the acquisition time at ordinal number strong point is perhaps less than the first time or collected intermediate time series data point greater than the second time
Sliding block position line not between the first position and the second position on, then intermediate time series data point is illegal time series data
Point, wherein be at the first time the timestamp of first time series data point in sliding trace data, the second time was sliding trace number
The timestamp of the last one time series data point in, first position are that first time series data point is collected in sliding trace data
When sliding block position, the second position is the position of sliding block when the last one time series data point is collected in sliding trace data
It sets.
For example, traversing P2 ..., the intermediate time series data of Pn-1 this n-2 if the value of Zn is identical as predeterminated position in upper example
Point judges whether each intermediate time series data point is legal.The predeterminated position is corresponding with slidable puzzle identifying code, and a sliding is spelled
Only one predeterminated position of figure identifying code corresponds, and predeterminated position is different in different slidable puzzle identifying codes.
After traversal is completed, by authentication module 203 if it is determined that knowing that all intermediate time series data points are legal
Time series data point, then the interactive interface transmission of forward end is verified instruction information, so that the interactive interface of front end shows verifying
By indicating information, user identifies be verified instruction information after, or passed through the verifying of slidable puzzle identifying code.
Device is verified in behavior provided in an embodiment of the present invention, when by centre in the sliding trace data that input to user
Ordinal number strong point is verified, and come the behavior of people when identifying slide or the behavior of machine, avoids history sliding trace number
According to reuse, increase and crack the difficulty of identifying code, improve the safety and reliability of identifying code.
On the basis of the above embodiments, further, the device further include:
Generation module, for sending the slidable puzzle identifying code to the interactive interface, so that the interactive interface is aobvious
Show the slidable puzzle identifying code.
Specifically, before obtaining the sliding trace data that user inputs according to slidable puzzle identifying code, it is necessary first to
By generation module according to the solicited message of the interactive interface of front end, the interactive interface of forward end sends slidable puzzle identifying code,
So that interactive interface shows slidable puzzle identifying code.
Operation instruction information is also shown in the user interface of front end, user identifies operation instruction information, root
According to the instruction of operation instruction information, the sliding block in slidable puzzle identifying code is moved, completes slide.
Device is verified in behavior provided in an embodiment of the present invention, when by centre in the sliding trace data that input to user
Ordinal number strong point is verified, and come the behavior of people when identifying slide or the behavior of machine, avoids history sliding trace number
According to reuse, increase and crack the difficulty of identifying code, improve the safety and reliability of identifying code.
On the basis of the above various embodiments, further, if the generation module is also used to judge to know the sliding
The position of the last one time series data point in track data and the predeterminated position be not identical, then sends to the interactive interface
New slidable puzzle identifying code.
Specifically, after obtaining the sliding trace data that user inputs according to slidable puzzle identifying code, pass through two
Step verifies user behavior, the position of sliding block at the end of first step verifying user's sliding behavior, second step verifying sliding
The intermediate time series data point of track data.
If the position of the last one time series data point in institute's sliding trace data is known in judgement in first step verifying
It is not identical as predeterminated position, then new slidable puzzle identifying code is sent by the interactive interface of the direct forward end of generation module, with
New slidable puzzle identifying code is shown for the interactive interface of front end.No longer carry out the intermediate time series data point of sliding trace data
Verifying.
Device is verified in behavior provided in an embodiment of the present invention, when by centre in the sliding trace data that input to user
Ordinal number strong point is verified, and come the behavior of people when identifying slide or the behavior of machine, avoids history sliding trace number
According to reuse, increase and crack the difficulty of identifying code, improve the safety and reliability of identifying code.
On the basis of the above various embodiments, further, if the generation module is also used to judge to know that there are any
Intermediate time series data point is illegal time series data point, then new slidable puzzle identifying code is sent to the interactive interface.
Specifically, traversal complete after, if it is determined that know there are any intermediate time series data point be it is illegal when ordinal number
Strong point, then this slide does not pass through the verifying of slidable puzzle identifying code, is sent out by the interactive interface of generation module forward end
New slidable puzzle identifying code is sent, so that the interactive interface of front end shows new slidable puzzle identifying code.
Device is verified in behavior provided in an embodiment of the present invention, when by centre in the sliding trace data that input to user
Ordinal number strong point is verified, and come the behavior of people when identifying slide or the behavior of machine, avoids history sliding trace number
According to reuse, increase and crack the difficulty of identifying code, improve the safety and reliability of identifying code.
Fig. 3 is the structural schematic diagram of electronic equipment provided in an embodiment of the present invention, as shown in figure 3, the equipment includes: place
Manage device 301, memory 302 and bus 303;
Wherein, processor 301 and memory 302 complete mutual communication by the bus 303;
Processor 301 is used to call the program instruction in memory 302, to execute provided by above-mentioned each method embodiment
Method, for example,
Obtain the sliding trace data that input according to slidable puzzle identifying code of user, wherein the sliding trace data are
Every first time series data in the collected one group of time series data of preset time, the sliding trace data in sliding process
Point is slides the data point acquired when beginning, at the end of the last one time series data point in the sliding trace data is sliding
The timestamp of the data point of acquisition, each time series data point in the sliding trace data is collected for the time series data point
When acquisition time, the data value of each time series data point in the sliding trace data is collected for the time series data point
When sliding block position;
If judgement knows that the position of the last one time series data point in the sliding trace data is identical as predeterminated position,
Then traverse the intermediate timing between the first time series data point and the last one time series data point in the sliding trace data
Data point, for any intermediate time series data point, if judgement knows that the acquisition time of the intermediate time series data point is greater than first
Time and less than the second time, and the position of sliding block when the intermediate time series data point is collected is in first position and second
On line between setting, then the intermediate time series data point is legal time series data point, if ordinal number when judgement knows described intermediate
The acquisition time at strong point is perhaps less than the first time greater than second time or the intermediate time series data point is adopted
On the line of the position of sliding block when collection not between the first position and the second position, then the intermediate time series data
Point is illegal time series data point, wherein the first time be in the sliding trace data first time series data point when
Between stab, second time be the sliding trace data in the last one time series data point timestamp, the first position
For the position of sliding block when first time series data point is collected in the sliding trace data, the second position is the cunning
The position of sliding block when the last one time series data point is collected in dynamic track data;
If judgement knows that all intermediate time series data points are legal time series data point, sends and verify to interactive interface
By indicating information.
The embodiment of the present invention provides a kind of computer program product, and the computer program product is non-transient including being stored in
Computer program on computer readable storage medium, the computer program include program instruction, when described program instructs quilt
When computer executes, computer is able to carry out method provided by above-mentioned each method embodiment, for example,
Obtain the sliding trace data that input according to slidable puzzle identifying code of user, wherein the sliding trace data are
Every first time series data in the collected one group of time series data of preset time, the sliding trace data in sliding process
Point is slides the data point acquired when beginning, at the end of the last one time series data point in the sliding trace data is sliding
The timestamp of the data point of acquisition, each time series data point in the sliding trace data is collected for the time series data point
When acquisition time, the data value of each time series data point in the sliding trace data is collected for the time series data point
When sliding block position;
If judgement knows that the position of the last one time series data point in the sliding trace data is identical as predeterminated position,
Then traverse the intermediate timing between the first time series data point and the last one time series data point in the sliding trace data
Data point, for any intermediate time series data point, if judgement knows that the acquisition time of the intermediate time series data point is greater than first
Time and less than the second time, and the position of sliding block when the intermediate time series data point is collected is in first position and second
On line between setting, then the intermediate time series data point is legal time series data point, if ordinal number when judgement knows described intermediate
The acquisition time at strong point is perhaps less than the first time greater than second time or the intermediate time series data point is adopted
On the line of the position of sliding block when collection not between the first position and the second position, then the intermediate time series data
Point is illegal time series data point, wherein the first time be in the sliding trace data first time series data point when
Between stab, second time be the sliding trace data in the last one time series data point timestamp, the first position
For the position of sliding block when first time series data point is collected in the sliding trace data, the second position is the cunning
The position of sliding block when the last one time series data point is collected in dynamic track data;
If judgement knows that all intermediate time series data points are legal time series data point, sends and verify to interactive interface
By indicating information.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage
Medium storing computer instruction, the computer instruction make the computer execute side provided by above-mentioned each method embodiment
Method, for example,
Obtain the sliding trace data that input according to slidable puzzle identifying code of user, wherein the sliding trace data are
Every first time series data in the collected one group of time series data of preset time, the sliding trace data in sliding process
Point is slides the data point acquired when beginning, at the end of the last one time series data point in the sliding trace data is sliding
The timestamp of the data point of acquisition, each time series data point in the sliding trace data is collected for the time series data point
When acquisition time, the data value of each time series data point in the sliding trace data is collected for the time series data point
When sliding block position;
If judgement knows that the position of the last one time series data point in the sliding trace data is identical as predeterminated position,
Then traverse the intermediate timing between the first time series data point and the last one time series data point in the sliding trace data
Data point, for any intermediate time series data point, if judgement knows that the acquisition time of the intermediate time series data point is greater than first
Time and less than the second time, and the position of sliding block when the intermediate time series data point is collected is in first position and second
On line between setting, then the intermediate time series data point is legal time series data point, if ordinal number when judgement knows described intermediate
The acquisition time at strong point is perhaps less than the first time greater than second time or the intermediate time series data point is adopted
On the line of the position of sliding block when collection not between the first position and the second position, then the intermediate time series data
Point is illegal time series data point, wherein the first time be in the sliding trace data first time series data point when
Between stab, second time be the sliding trace data in the last one time series data point timestamp, the first position
For the position of sliding block when first time series data point is collected in the sliding trace data, the second position is the cunning
The position of sliding block when the last one time series data point is collected in dynamic track data;
If judgement knows that all intermediate time series data points are legal time series data point, sends and verify to interactive interface
By indicating information.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
The various media that can store program code such as disk.
The embodiments such as device and equipment described above are only schematical, wherein described be used as separate part description
Unit may or may not be physically separated, component shown as a unit may or may not be
Physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to the actual needs
Some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying
In the case where creative labor, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. a kind of behavior verification method characterized by comprising
Obtain the sliding trace data that user inputs according to slidable puzzle identifying code, wherein the sliding trace data are sliding
It is every first time series data point in the collected one group of time series data of preset time, the sliding trace data in the process
The data point acquired when starting is slided, the last one time series data point in the sliding trace data is to acquire at the end of sliding
Data point, the timestamp of each time series data point in the sliding trace data is when the time series data point is collected
Acquisition time, the data value of each time series data point in the sliding trace data are when the time series data point is collected
The position of sliding block;
If judgement knows that the position of the last one time series data point in the sliding trace data is identical as predeterminated position, time
Go through the intermediate time series data between first time series data point and the last one time series data point in the sliding trace data
Point, for any intermediate time series data point, if judgement knows that the acquisition time of the intermediate time series data point is greater than at the first time
The position of sliding block and less than the second time, and when the intermediate time series data point is collected first position and the second position it
Between line on, then the intermediate time series data point be legal time series data point, if judgement know the intermediate time series data point
Acquisition time be greater than second time be perhaps less than the first time or the intermediate time series data point it is collected when
Sliding block position line not between the first position and the second position on, then the intermediate time series data point is
Illegal time series data point, wherein the first time is the timestamp of first time series data point in the sliding trace data,
Second time is the timestamp of the last one time series data point in the sliding trace data, and the first position is described
The position of sliding block when first time series data point is collected in sliding trace data, the second position are the sliding trace
The position of sliding block when the last one time series data point is collected in data;
If judgement knows that all intermediate time series data points are legal time series data point, it is verified to interactive interface transmission
Indicate information.
2. the method according to claim 1, wherein described obtain what user inputted according to slidable puzzle identifying code
Before sliding trace data, further includes:
The slidable puzzle identifying code is sent to the interactive interface, so that the interactive interface shows the slidable puzzle verifying
Code.
3. the method according to claim 1, wherein described obtain what user inputted according to slidable puzzle identifying code
After sliding trace data, further includes:
If the position of the last one time series data point in the sliding trace data and the predeterminated position not phase are known in judgement
Together, then new slidable puzzle identifying code is sent to the interactive interface.
4. the method according to claim 1, wherein if the judgement is known in the sliding trace data most
The position of the latter time series data point is identical as predeterminated position, then traverses first time series data in the sliding trace data
After intermediate time series data point between point and the last one time series data point, further includes:
If judging to know, there are any intermediate time series data points as illegal time series data point, sends to the interactive interface new
Slidable puzzle identifying code.
5. device is verified in a kind of behavior characterized by comprising
Obtain module, the sliding trace data inputted for obtaining user according to slidable puzzle identifying code, wherein the sliding rail
Mark data are in sliding process every first in the collected one group of time series data of preset time, the sliding trace data
Time series data point is the data point acquired when sliding starts, the last one time series data point in the sliding trace data is to slide
The timestamp of the data point acquired at the end of dynamic, each time series data point in the sliding trace data is the time series data
Acquisition time when being collected is put, the data value of each time series data point in the sliding trace data is the time series data
The position of sliding block when point is collected;
Spider module, if for judging to know the position of the last one time series data point in the sliding trace data and presetting
Position is identical, then traverses between the first time series data point and the last one time series data point in the sliding trace data
Intermediate time series data point, for any intermediate time series data point, if the acquisition time of the intermediate time series data point is known in judgement
The position of sliding block greater than at the first time and less than the second time, and when the intermediate time series data point is collected is in first position
On line between the second position, then the intermediate time series data point is legal time series data point, if judgement is known in described
Between time series data point acquisition time be greater than second time perhaps be less than the first time or it is described intermediate when ordinal number
On the line of the position of sliding block when strong point is collected not between the first position and the second position, then the centre
Time series data point is illegal time series data point, wherein the ordinal number when first time is first in the sliding trace data
The timestamp at strong point, second time is the timestamp of the last one time series data point in the sliding trace data, described
First position is the position of sliding block when first time series data point is collected in the sliding trace data, the second position
For the position of sliding block of the last one the time series data point in sliding trace data when collected;
Authentication module, if for judging to know that all intermediate time series data points are legal time series data point, to interaction circle
Face sends and is verified instruction information.
6. device according to claim 5, which is characterized in that further include:
Generation module, for sending the slidable puzzle identifying code to the interactive interface, so that the interactive interface shows institute
State slidable puzzle identifying code.
7. device according to claim 6, which is characterized in that if the generation module is also used to judge to know the sliding
The position of the last one time series data point in track data and the predeterminated position be not identical, then sends to the interactive interface
New slidable puzzle identifying code.
8. device according to claim 6, which is characterized in that if the generation module is also used to judge to know that there are any
Intermediate time series data point is illegal time series data point, then new slidable puzzle identifying code is sent to the interactive interface.
9. a kind of electronic equipment characterized by comprising
Memory and processor, the processor and the memory complete mutual communication by bus;The memory
It is stored with the program instruction that can be executed by the processor, the processor calls described program instruction to be able to carry out right such as and wants
Seek 1 to 4 any method.
10. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that when the meter
When calculation machine program is executed by processor, the method as described in Claims 1-4 is any is realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811240798.1A CN109543393A (en) | 2018-10-23 | 2018-10-23 | Behavior verification method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811240798.1A CN109543393A (en) | 2018-10-23 | 2018-10-23 | Behavior verification method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109543393A true CN109543393A (en) | 2019-03-29 |
Family
ID=65845155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811240798.1A Pending CN109543393A (en) | 2018-10-23 | 2018-10-23 | Behavior verification method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109543393A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103034429A (en) * | 2011-10-10 | 2013-04-10 | 北京千橡网景科技发展有限公司 | Identity authentication method and device for touch screen |
CN104023029A (en) * | 2014-06-19 | 2014-09-03 | 百度在线网络技术(北京)有限公司 | Method and device for verifying verification codes |
CN105975823A (en) * | 2016-05-05 | 2016-09-28 | 百度在线网络技术(北京)有限公司 | Verification method and apparatus used for distinguishing man and machine |
CN106815515A (en) * | 2016-12-12 | 2017-06-09 | 微梦创科网络科技(中国)有限公司 | A kind of identifying code implementation method and device based on track checking |
CN107679374A (en) * | 2017-08-23 | 2018-02-09 | 北京三快在线科技有限公司 | A kind of man-machine recognition methods and device based on sliding trace, electronic equipment |
CN108287989A (en) * | 2018-01-18 | 2018-07-17 | 北京科技大学 | A kind of man-machine recognition methods of sliding identifying code based on track |
-
2018
- 2018-10-23 CN CN201811240798.1A patent/CN109543393A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103034429A (en) * | 2011-10-10 | 2013-04-10 | 北京千橡网景科技发展有限公司 | Identity authentication method and device for touch screen |
CN104023029A (en) * | 2014-06-19 | 2014-09-03 | 百度在线网络技术(北京)有限公司 | Method and device for verifying verification codes |
CN105975823A (en) * | 2016-05-05 | 2016-09-28 | 百度在线网络技术(北京)有限公司 | Verification method and apparatus used for distinguishing man and machine |
CN106815515A (en) * | 2016-12-12 | 2017-06-09 | 微梦创科网络科技(中国)有限公司 | A kind of identifying code implementation method and device based on track checking |
CN107679374A (en) * | 2017-08-23 | 2018-02-09 | 北京三快在线科技有限公司 | A kind of man-machine recognition methods and device based on sliding trace, electronic equipment |
CN108287989A (en) * | 2018-01-18 | 2018-07-17 | 北京科技大学 | A kind of man-machine recognition methods of sliding identifying code based on track |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104811428B (en) | Utilize the method, apparatus and system of social networks data verification client identity | |
US9690923B2 (en) | Method, apparatus and system for verifying terminal | |
US11120109B2 (en) | Processing authentication requests to secured information systems based on machine-learned event profiles | |
CN108881126B (en) | Method, device and system for verifying verification code, storage medium and computer terminal | |
CN105141605B (en) | Session method, Website server and browser | |
CN102624677A (en) | Method and server for monitoring network user behavior | |
CN104281794A (en) | Password storing and verifying method and password storing and verifying device | |
CN104753909B (en) | Method for authenticating after information updating, Apparatus and system | |
CN109166040B (en) | Transaction auditing method, device, equipment and storage medium based on block chain | |
CN105337974A (en) | Account authorization method, account login method, account authorization device and client end | |
CN108121906A (en) | A kind of verification method, device and computing device | |
CN106685894B (en) | Risk identification method, device and system | |
CN107451819A (en) | A kind of auth method and device based on user's operation behavior feature | |
CN110138800A (en) | Interface alternation and its verification method, log on request generation and verification method and device | |
CN105337739B (en) | Safe login method, device, server and terminal | |
CN110324344A (en) | The method and device of account information certification | |
CN104486306B (en) | Identity authentication method is carried out based on finger hand vein recognition and cloud service | |
CN109831310A (en) | A kind of auth method, system and relevant apparatus | |
CN110247857A (en) | Current-limiting method and device | |
CN109214221A (en) | A kind of identity card reader verification method, host computer and identity card reader | |
CN104980279A (en) | Identity authentication method, and related equipment and system | |
CN103678983A (en) | Smartphone usage permission verification system and method | |
CN107818102A (en) | data extraction method and device | |
CN104618112A (en) | Method for verifying dynamic password of dynamic token | |
CN109543393A (en) | Behavior verification method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190329 |