Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
A kind of method of authentication comprises:
101: the touch information that receives user's input by inductive means;
The means of above-mentioned touch can also can be to touch with instrument (for example: pen, seal etc.) for touching with hand; The mode that touches can also can be to draw to produce by pushing generation; Will not limit this embodiment of the invention.
Above-mentioned touch information can be 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, the information that other can also be arranged for the figure that touches certainly, for example: generation time T, the pressure N etc. that form each point of figure, if with (X, Y) position of expression point, can use (X so, Y, T) represent the time that the point of this position produces, with (X, Y, T N) represents that this position and generation point that should the time have great pressure.The figure that a plurality of points that touch are formed, if for point adds new parameter, for example the time then can be embodied track; If add pressure then pressure when embodying picture shape.Certainly, the parameter that can also increase other embodies the information of figure, will not limit this embodiment of the invention.In follow-up enforcement, the point of figure all is that example describes with the position.
Above-mentioned touch information by inductive means reception user input comprises: the touch information that receives user's input by touch-screen.(for example: scanner etc.) input that receives touch information also is fine, and touch-screen is as a qualification that should not be construed as for example the embodiment of the invention to be understandable that inductive means by other.
Particularly, in order further to improve the reliability of figure input, also comprise after the touch information of above-mentioned reception user input: the rule that employing is scheduled to is carried out efficiency analysis to the figure of the touch of user's input, if above-mentioned figure be effectively, then with 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 that receives has surpassed threshold value continuously, then invalid if surpass, otherwise effectively; What perhaps, the frequency of the figure of the predetermined number that receives continuously appearance was the highest is effective; Perhaps, the user keeps the time of input continuously whether to reach the setting-up time value, if, then effective, otherwise invalid.Particularly: the user's tablet pattern that in official hour, receives predetermined number continuously, analyze the location coordinate information of each figure, if exist the difference of the maximum X coordinate figure (or maximum Y coordinate figure, minimum X coordinate figure, minimum Y coordinate figure) of certain two figure to surpass the threshold values of setting, then invalid, otherwise effectively; Perhaps, in the figure of the predetermined number that receives, whether the number that the identical figure of position coordinates and shape occurs reaches the threshold values requirement of setting, reaches then effective, otherwise invalid continuously; Perhaps, the user keeps the time (for example pushing the time of inductive means) of continuously input whether to reach the setting-up time value, and user's tablet pattern remains unchanged always, and is then effective if all satisfy, otherwise invalid.Certainly above several modes are not to judge whether effective scheme exhaustive of tablet pattern, should not be construed as the qualification to the embodiment of the invention.
May two or more be arranged effective figure in the above by way of example, present embodiment also provides the solution under this scene, and above-mentioned shape information and positional information with above-mentioned effective figure comprises as effective touch information: the shape information that will above-mentioned two or more active graphicals and the common factor of positional information or intersection are as effective touch information.
102: the touch information that presets of above-mentioned touch information and storage is compared, if unanimity then determine that authentication passes through, otherwise would determine authentification failure.
If after 101, carried out efficiency analysis, then in 102 with above-mentioned touch information and storage preset touch information compare for: the touch information that presets of above-mentioned effective touch information and storage is compared
Particularly, because the recognition capability of inductive means and the influence of environmental variance, the presetting touch information and may be difficult to accomplish in full accord of touch information and storage, present embodiment also provides the implementation of the situation of permissible error, if it is above-mentioned consistent then determine that authentication passes through, otherwise determine that authentification failure comprises: also determine to authenticate to pass through if the deviation that presets touch information of above-mentioned touch information and storage within preset threshold, then thinks consistent, otherwise determine authentification failure.
The executive agent of above embodiment can be the equipment that may use authentication arbitrarily, among the above embodiment, adopts the touch information identification mode, has got rid of Effect of Environmental such as light, has got rid of the trouble of multiword symbol password input, and ease for use is strong.The information of the figure that touches has comprised positional information, the individual demand of can more being close to the users, and improved security.
Below will provide a concrete applied scene method that authenticates is further detailed, as shown in Figure 2, wherein touch information is that example describes with the graphical information, comprises step:
201 (touch-screen carries out the position of multiple point touching identification and identification touch): touch-screen adopts multi-point touch whole district input (multi-touch all-point) technology, carry out the position that multiple point touching identification, identification touches, the information such as zone of touch, with the touch location that recognizes and touch area information graphical information as user's input; Whether touch-screen starts the function of obtaining user's input information, can be controlled by equipment, also can be from after powering on, obtaining automatically, and the embodiment of the invention will not limit.
As the example of Fig. 3, be the touch-screen of a support 10 * 10 resolution, the variation that touch-screen is gone up each point of crossing capacitance information by scanning senses touch screen is discerned 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 area information of concrete touch, with this graphical information as user's input.Following illustrated example is supposed the touch input that circle A partly gives touch-screen for the user by finger, and then can to identify user's touch location and area information (being the graphical information that the user imports) be [(X7 to touch-screen, Y5), (X8, Y5), (X7, Y6), (X8, Y6), (X7, Y7), (X8, Y7)]; The user also can touch input with two fingers simultaneously, supposes to give the touch of touch-screen to be input as circle A and two zones of circle B, then the touch-screen graphical information that can identify 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 is realized, can adopt the different touch-screen of resolution, and in general, the resolution that touch-screen is supported is high more, and the degree of accuracy of the graphical information of the user's input that then identifies is high more.
202: obtain the information of active graphical, be specifically as follows regularly the information that (receiving once as per 0.1 second) touch-screen obtains that receives.Here regularly receiving can be that obtaining of active also can be passive reception, will not limit this embodiment of the invention.The information of obtaining is carried out comprehensive analysis processing obtain effective graphical information, by judging the situation of change of (as 2 seconds) user's input information (has input information 20 times in 2 seconds) in the continuous time of one section specified length, whether draw user's input information effective, if in specified length in continuous time, in 20 input informations of user, maximum X coordinate figure (or the maximum Y coordinate figure that has certain twice input information, minimum X coordinate figure, minimum Y coordinate figure) difference surpasses the threshold values of setting, think that then 20 input informations of epicycle are all invalid, otherwise think that information is effective, and this continuous 20 times user's input information of analysis-by-synthesis, draw active graphical information; Specific analytical method can have multiple implementation, as select information is identical and the frequency of occurrences is a highest user's input information as active graphical information, perhaps the part (common factor of content) that the content of these 20 user's input informations is intersected is as active graphical information, and the intersection of content of perhaps getting 20 user's input informations is as active graphical information.Can also require the content of all 20 user's input informations to keep in full accord, could be with this as active graphical information.
203: authenticate by comparison.Equipment can require the user at first to preset (input mode is imported by touch-screen) active graphical information, and the graphical information that presets as the user is promptly as the foundation of judging that active graphical information that subsequent user is newly imported is whether legal.The graphical information that the effective graphical information obtained and user are preset compares, and realizes the user validation authentication function, and determination methods is to check whether two graphical informations are consistent, and unanimity then authenticates to be passed through, otherwise does not pass through.Whether two graphical informations are consistent, can realize flexibly by software algorithm, can require two information in full accord, also can allow certain deviation range, position coordinates integral body as graphical information slightly is offset, perhaps the whole size of figure slightly increases or reduces, and can think consistent.
The executive agent of above embodiment can be the equipment that may use authentication arbitrarily, among the above embodiment, adopts the mode of Figure recognition, has got rid of Effect of Environmental such as light, has got rid of the trouble of multiword symbol password input, and ease for use is strong.Touch graphical information and comprised positional information, the individual demand of can more being close to the users, and improved security.
A kind of device of authentication as shown in Figure 4, comprising:
Figure receiving element 401 is used for receiving the touch information that the user imports by inductive means, and above-mentioned touch information comprises the shape information and the positional information of the figure of touch;
Authentication ' unit 402 is used for the touch information that presets of above-mentioned touch information and storage is compared, if unanimity then determine that authentication passes through, otherwise would determine authentification failure.
Further, above-mentioned figure receiving element 401 is used to receive the touch information that the user imports, and comprising: being used for the time of setting is the figure of cycle reception predetermined number;
As shown in Figure 5, also comprise: efficiency analysis unit 501, be used to adopt predetermined rule that the figure of the touch of above-mentioned user's input is carried out efficiency analysis, if above-mentioned figure be effectively, then with the shape information of above-mentioned effective figure and positional information as effective touch information;
Above-mentioned authentication ' unit 402 is compared the touch information that presets of above-mentioned effective touch information and storage.
Further, as shown in Figure 6, said apparatus also comprises:
Touch information generation unit 601 is used for if effectively figure has two or more, and the shape information that then will above-mentioned two or more active graphicals and the common factor of positional information or intersection are as effective touch information.
Further, as shown in Figure 7, said apparatus also comprises:
Error control unit 701 is used to judge that the deviation that presets touch information of above-mentioned touch information and storage is within preset threshold;
Above-mentioned authentication ' unit 402 also is used for the deviation that presets touch information in above-mentioned touch information and storage within preset threshold the time, then think above-mentioned touch information and storage to preset touch information consistent and determine that authentication passes through, otherwise determine authentification failure.
Among the above embodiment, adopt the touch information identification mode, got rid of Effect of Environmental such as light, got rid of the trouble of multiword symbol password input, ease for use is strong.The information of the figure that touches has comprised positional information, the individual demand of can more being close to the users, and improved security.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, above-mentioned program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be a ROM (read-only memory), disk or CD etc.
More than the method and apparatus of a kind of authentication that the embodiment of the invention provided is described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, to sum up, this description should not be construed as limitation of the present invention.