Summary of the invention
The technical matters that the embodiment of the present invention will solve is to provide a kind of method and apparatus of certification, and the method and device possess good ease for use and security.
For solving the problems of the technologies described above, the embodiment of the method for certification provided by the present invention can be achieved through the following technical solutions:
Received the touch information of user's input by inductive means, described touch information comprises shape information and the positional information of the figure of touch;
Predetermined rule is adopted to carry out efficiency analysis to the figure of the touch that user inputs, if described figure is effective, then using the shape information of described effective figure and positional information as effective touch information, whether the coordinate figure that described pre-defined rule comprises the figure of the predetermined number received continuously has exceeded threshold value, if exceed, then invalid, otherwise effectively;
The preset touch information of described touch information and storage is compared, if consistent, determine that certification is passed through, otherwise determine authentification failure; The described preset touch information by described touch information and storage is compared and is comprised: compared by the preset touch information of described effective touch information and storage.
A device for certification, comprising:
Figure receiving element, for being received the touch information of user's input by inductive means, described touch information comprises shape information and the positional information of the figure of touch;
Efficiency analysis unit, for adopting predetermined rule, efficiency analysis is carried out to the figure of the touch that user inputs, if described figure is effective, then using the shape information of described effective figure and positional information as effective touch information, whether the coordinate figure that described pre-defined rule comprises the figure of the predetermined number received continuously has exceeded threshold value, if exceed, then invalid, otherwise effectively;
Authentication ' unit, for being compared by the preset touch information of described touch information and storage, if consistent, determine that certification is passed through, otherwise determining authentification failure, also for being compared by the preset touch information of described effective touch information and storage.
Technique scheme has following beneficial effect: the mode adopting touch information identification, eliminates the impact of the environmental factors such as light, and eliminate the trouble of multiword symbol Password Input, ease for use is strong.The packets of information of the figure touched contains positional information, individual demand of can being more close to the users, and improves security.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
A method for certification, comprising:
101: the touch information being received user's input by inductive means;
The means of above-mentioned touch can be touch with hand, also can be touch with instrument (such as: pen, seal etc.); The mode touched can be produced by pressing, also can be to draw to produce; Will not limit this embodiment of the present invention.
Above-mentioned touch information can by touching any information of input, can comprise in embodiments of the present invention: the shape information of the figure of touch and positional information, certainly other information can also be had for the figure touched, such as: generation time T, the pressure N etc. of each point of composition figure, if with (X, Y) position of point is represented, so (X can be used, Y, T) time that the point of this position produces is represented, with (X, Y, T, N) represent that the generation point of this position and this time has great pressure.The figure of the multiple compositions touched, if be that point adds new parameter, the such as time then can embody track; If add pressure, embody pressure during picture shape.Certainly, the parameter that can also increase other, to embody the information of figure, will not limit this embodiment of the present invention.In follow-up enforcement, the point of figure is all described for position.
The touch information receiving user's input above by inductive means comprises: the touch information being received user's input by touch-screen.Be understandable that the input receiving touch information by other inductive means (such as: scanner etc.) is also fine, touch-screen should not be construed as the restriction to the embodiment of the present invention as a citing.
Particularly, in order to improve the reliability of figure input further, also comprise after the touch information of above-mentioned reception user input: adopt predetermined rule to carry out efficiency analysis to the figure of the touch that user inputs, if above-mentioned figure is effective, then using the shape information of above-mentioned effective figure and positional information as effective touch information.
Particularly, above-mentioned predetermined rule can comprise one of following or combination: whether the coordinate figure of the figure of the predetermined number received continuously has exceeded threshold value, if exceed, then invalid, otherwise effectively; Or what the frequency that the figure of the predetermined number received continuously occurs was the highest is effective; Or user keeps the time of continuously input whether to reach setting-up time value, if so, then effectively, otherwise invalid.Particularly: the user's tablet pattern receiving predetermined number in official hour continuously, analyze the location coordinate information of each figure, if the difference that there is the maximum X-coordinate value (or maximum Y-coordinate value, minimum X-coordinate value, minimum Y-coordinate value) of certain two figure exceedes the threshold values of setting, then invalid, otherwise effectively; Or in the figure of the predetermined number received continuously, whether the number that position coordinates and the identical figure of shape occur reaches the threshold requirements of setting, reaches then effective, otherwise invalid; Or user keeps the time (such as pressing the time of inductive means) of continuously input whether to reach setting-up time value, and user's tablet pattern remains unchanged always, if all satisfied, then effectively, otherwise invalid.Certainly above several mode is not judge tablet pattern whether effective scheme exhaustive, should not be construed as the restriction to the embodiment of the present invention.
May be had two or more by effective figure in above way of example, the present embodiment additionally provides the solution under this scene, above-mentionedly the shape information of above-mentioned effective figure and positional information is comprised as effective touch information: using the shape information of two or more active graphicals above-mentioned and the common factor of positional information or intersection as effective touch information.
102: the preset touch information of above-mentioned touch information and storage is compared, if consistent, determine that certification is passed through, otherwise determine authentification failure.
If carried out efficiency analysis after 101, then the preset touch information of above-mentioned touch information and storage is compared in 102 for: the preset touch information of above-mentioned effective touch information and storage is compared
Particularly, due to the recognition capability of inductive means and the impact of environmental variance, the preset touch information of touch information and storage may be difficult to accomplish completely the same, the present embodiment additionally provides the implementation of the situation of permissible error, if above-mentioned consistent, determine that certification is passed through, otherwise determine that authentification failure comprises: if the deviation of the preset touch information of above-mentioned touch information and storage is within the threshold value set, then thinks consistent and determine that certification is passed through, otherwise determining authentification failure.
The executive agent of above embodiment can be the equipment may using authentication arbitrarily, in above embodiment, adopts the mode of touch information identification, eliminates the impact of the environmental factors such as light, and eliminate the trouble of multiword symbol Password Input, ease for use is strong.The packets of information of the figure touched contains positional information, individual demand of can being more close to the users, and improves security.
The method of scene to certification providing an embody rule be further detailed below, as shown in Figure 2, wherein touch information is described for graphical information, comprises step:
201 (touch-screen carries out multiple point touching identification and identifies the position touched): touch-screen adopts multi-point touch whole district input (multi-touch all-point) technology, carry out multiple point touching identification, identify the information such as the position of touch, the region of touch, using the graphical information that the touch location recognized and touch area information input as user; Whether touch-screen starts the function obtaining user's input information, and can be controlled by equipment, also self can carry out automatic acquisition after power-up, the embodiment of the present invention will not limit.
As the example of Fig. 3, be the touch-screen of a support 10x10 resolution, touch-screen, by the change of each point of crossing capacitance information on Scanning Detction touch-screen, identifies user's touch action, and is converted to numerical information.By X, the combination of Y-coordinate, and multiple spot information combination, can identify the position of user's multiple point touching when touching and the concrete area information touched, in this, as the graphical information of user's input.Following illustrated example, supposes that circle part A is that user passes through finger and input to the touch of touch-screen, then touch-screen can identify the touch location of user and area information (i.e. user input graphical information) is [(X7, Y5), (X8, Y5), (X7, Y6), (X8, Y6), (X7, Y7), (X8, Y7)]; User also can carry out touch input with two fingers simultaneously, supposes to be input as circle A and circle B two regions to the touch of touch-screen, then touch-screen can identify the graphical information of user's input for { [(X2, Y7), (X3, Y7), (X2, Y8), (X3, Y8)], [(X7, Y5), (X8, Y5), (X7, Y6), (X8, Y6), (X7, Y7), (X8, Y7)] }.Different equipment realizes, and can adopt the touch-screen that resolution is different, and in general, the resolution that touch-screen is supported is higher, then the degree of accuracy of the graphical information of the user's input identified is higher.
202: the information obtaining active graphical, be specifically as follows the information that timing receipt (as every 0.1 second receives once) touch-screen obtains.Here timing receipt can be acquisition initiatively also can be passive reception, will not limit this embodiment of the present invention.Comprehensive analysis processing is carried out to the information obtained and obtains effective graphical information, by judging the situation of change of the input information (in 2 seconds, one has 20 input information) of (as 2 seconds) user within the continuous time of one section of specified length, show that whether user's input information is effective, if within specified length continuous time, in 20 input information of user, there is maximum X-coordinate value (or the maximum Y-coordinate value of certain two input information, minimum X-coordinate value, minimum Y-coordinate value) difference exceed the threshold values of setting, then think that epicycle 20 input information are all invalid, otherwise think that information is effective, and comprehensive this user's input information of continuous 20 times of analysis, draw active graphical information, specific analytical method can have multiple implementation, as select information identical and the highest user's input information of the frequency of occurrences as active graphical information, or the part (common factor of the content) content of these 20 user's input informations intersected is as active graphical information, or the intersection of content of getting 20 user's input informations is as active graphical information.Can also require that the content of all 20 user's input informations keeps completely the same, could in this, as active graphical information.
203: carry out certification by comparison.Equipment can require user's first preset (input mode is inputted by touch-screen) active graphical information, as the graphical information that user is preset, namely as judging the foundation whether active graphical information that subsequent user newly inputs is legal.Graphical information preset to the effective graphical information and the user that obtain is compared, realizes user validation authentication function, determination methods be inspection two graphical informations whether unanimously, unanimously then certification is passed through, otherwise does not pass through.Whether two graphical informations are consistent, can be realized flexibly by software algorithm, can require that two information are completely the same, also certain deviation range can be allowed, position coordinates entirety as graphical information slightly offsets, or the overall size of figure slightly increases or reduces, and can think consistent.
The executive agent of above embodiment can be the equipment may using authentication arbitrarily, in above embodiment, adopts the mode of figure identification, eliminates the impact of the environmental factors such as light, and eliminate the trouble of multiword symbol Password Input, ease for use is strong.Touch graphical information and contain positional information, individual demand of can being more close to the users, and improve security.
A device for certification, as shown in Figure 4, comprising:
Figure receiving element 401, for being received the touch information of user's input by inductive means, above-mentioned touch information comprises shape information and the positional information of the figure of touch;
Authentication ' unit 402, for being compared by the preset touch information of above-mentioned touch information and storage, if consistent, determine that certification is passed through, otherwise determining authentification failure.
Further, above-mentioned figure receiving element 401, for receiving the touch information of user's input, comprising: for receiving the figure of predetermined number with the time set as the cycle;
As shown in Figure 5, also comprise: efficiency analysis unit 501, for adopting predetermined rule to carry out efficiency analysis to the figure of the touch that above-mentioned user inputs, if above-mentioned figure is effective, then using the shape information of above-mentioned effective figure and positional information as effective touch information;
The preset touch information of above-mentioned effective touch information and storage is compared by above-mentioned authentication ' unit 402.
Further, as shown in Figure 6, said apparatus also comprises:
Touch information generation unit 601, if having two or more for effective figure, then using the shape information of two or more active graphicals above-mentioned and the common factor of positional information or intersection as effective touch information.
Further, as shown in Figure 7, said apparatus also comprises:
Error control unit 701, for judging that the deviation of the preset touch information of above-mentioned touch information and storage is within the threshold value set;
Above-mentioned authentication ' unit 402, also for when the deviation of the preset touch information at above-mentioned touch information and storage is within the threshold value set, then thinks that above-mentioned touch information is consistent with the preset touch information of storage and determines that certification is passed through, otherwise determining authentification failure.
In above embodiment, adopt the mode of touch information identification, eliminate the impact of the environmental factors such as light, eliminate the trouble of multiword symbol Password Input, ease for use is strong.The packets of information of the figure touched contains positional information, individual demand of can being more close to the users, and improves security.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program completes, above-mentioned program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
Above the method and apparatus of a kind of certification that the embodiment of the present invention provides is described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, to sum up, this description should not be construed as limitation of the present invention.