Summary of the invention
Technical problem to be solved by this invention is the deficiency that overcomes prior art, provides a more perfect user images recognition methods to come effectively to carry out authentification of user.
This technical scheme realizes that through subscription client, camera head, recording device and background server this method may further comprise the steps:
A. the user starts authentication procedure through subscription client;
B. subscription client inserts the user password dish through interactive interface prompting user, and after the load operation that detects the user password dish, subscription client is entered password through interactive interface prompting user; After the user correctly entered password, subscription client read the ID stored in the user password dish, user contact method, user base image and user's commonly used elementary audio, set up with background server between be connected; And the information that reads sent to background server, background server is searched corresponding record according to ID in database, and whether consistent in the more above-mentioned information that reads and the respective record; If it is consistent; Then accomplish authentication operations, return authentication success response message, execution in step C to subscription client; If inconsistent, execution in step G then
C. subscription client is after receiving authentication success response message; Start camera head; And the prompting user faces pick-up lens, subscription client extract institute take a picture in facial parts and send to background server, background server compares the base image of take a picture with the user; If both are inconsistent; Then background server returns inconsistent response message to subscription client, and execution in step D, if both are consistent; Then return consistent response message, and execution in step E;
D. subscription client is after receiving inconsistent response message; Start recording device, and a word that explicit user need be said on screen, after accomplishing recording; Subscription client sends to background server with voice data; Background server compares the elementary audio of record frequency with the user, if both are inconsistent, then background server returns inconsistent response message to subscription client; And execution in step G; If both are consistent, then return consistent response message, and execution in step E;
E. subscription client is after receiving consistent response message; The prompting user faces camera and closes left eye; After taking pictures; Point out the user to face camera once more and cover left eye with hand; And take pictures once more, subscription client sends to background server with the photo and the corresponding action instruction of taking, and background server is discerned according to the action command comparison film; If consistent, then return consistent response message;
F. subscription client is after receiving consistent response message, and the prompting authentification of user is successful;
G. finish authentication procedure.
The invention has the beneficial effects as follows: accomplish the contrast identification work to image owing to introduced the strong background server of data-handling capacity, solved tional identification and depended on artificial judgement, workload is big, and the judgement cycle is long, the slow-footed shortcoming of authentication; Simultaneously,, overcome the user and caused the change of appearance, and can't accomplish the problem of identification because of subjectivity or objective reason make through contrast that image and audio frequency are combined, raising further the reliability of authentication.
Step D in the said method further comprises:
If D1. consistent, then upgrade the information in the background server database, user's face-image of taking is preserved as user's base image, return the renewal response message to subscription client simultaneously;
D2. subscription client is after receiving the renewal response message, and the prompting user upgrades the user's in the user password dish base image;
Step e in the said method further comprises:
If E1. inconsistent, repeated execution of steps E then, if the result of three execution in step E is inconsistent, execution in step G then.
Step G in the said method further comprises:
G1. trigger corresponding early warning mechanism, according to user's contact method commonly used, send SMS to the user, the authentication operation from non-user has taken place in prompting.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, the present invention is made further detailed description below in conjunction with accompanying drawing.
Referring to Fig. 1 and Fig. 2, the present invention is a kind of user images recognition methods, mainly realizes associative operation through subscription client, camera head, recording device and background server:
A. the user starts authentication procedure through subscription client;
The user can open the camera head of installing in the subscription client earlier before starting authentication procedure, regulate the various parameters of this camera head, guaranteed the quality of taking pictures;
B. subscription client inserts the user password dish by interactive interface prompting user, and after the load operation that detects the user password dish, subscription client is entered password by interactive interface prompting user; After the user correctly enters password; Subscription client reads the ID of storing in the user password dish; The user uses contact method always; User base image and user's elementary audio; Set up with background server between be connected; And the information that reads sent to background server; Background server is searched corresponding record according to ID in database; And whether consistent in the more above-mentioned information that reads and the respective record; If it is consistent; Then accomplish authentication operations; Return authentication success response message to subscription client; Execution in step C, if inconsistent, execution in step G then;
C. subscription client is after receiving authentication success response message; Start camera head; And the prompting user faces pick-up lens; The user can repeat to take this photo; To obtain the most satisfied photo effect; Then; Subscription client extract institute take a picture in facial parts and send to background server; Background server compares the base image of take a picture with the user, if both are inconsistent, then background server returns inconsistent response message to subscription client; And execution in step D; If both are consistent, then return consistent response message, and execution in step E;
In practical application, above-mentioned camera head can adopt the video capture camera based on Flash, also can adopt other video capture instrument, control or software.Above-mentioned size of taking pictures can be set at 240*240 or bigger, thereby farthest obtains user profile.
Background server judges at first whether the quality of above-mentioned photo is qualified after obtaining the user picture of taking, mainly be to distinguish through the exposure of analyzing this initial photo whether photo is clear, and over-exposed photo or dark excessively photo will be regarded as defective.After judging that above-mentioned photo is defective, background server can notify the user to take a clear photograph again through subscription client.
D. subscription client is after receiving inconsistent response message; Start recording device; And a word that explicit user need be said on screen; Content in the user base audio frequency of this content in short and preservation is identical; After accomplishing recording; Subscription client sends to background server with voice data; The user can repeat to record this audio frequency, and to obtain the most satisfied audio frequency effect, background server compares the elementary audio of record frequency with the user; If both are inconsistent; Then background server returns inconsistent response message to subscription client, and execution in step G, if both are consistent; Then return consistent response message, and execution in step E;
Background server judges at first whether the quality of this audio frequency is qualified after obtaining the audio frequency of recording, mainly be the background noise through analyzing audio, and the audio frequency that background noise is strong excessively will be regarded as defective.After judging that above-mentioned audio frequency is defective, background server can notify the user to record a section audio again through subscription client.
If D1. consistent, then upgrade the information in the background server database, user's face-image of taking is preserved as user's base image, return the renewal response message to subscription client simultaneously;
D2. subscription client is after receiving the renewal response message, and the prompting user upgrades the user's in the user password dish base image; The user can comment effective certificate to handle the business of upgrading base image to the sales counter or the site of appointment;
E. subscription client is after receiving consistent response message; The prompting user faces camera and closes left eye; After taking pictures; Point out the user to face camera once more and cover left eye with hand; And take pictures once more, subscription client sends to background server with the photo and the corresponding action instruction of taking, and background server is discerned according to the action command comparison film; If consistent, then return consistent response message;
If E1. inconsistent, repeated execution of steps E then, if the result of three execution in step E is inconsistent, execution in step G then;
F. subscription client is after receiving consistent response message, and the prompting authentification of user is successful;
G. finish authentication procedure;
G1. trigger corresponding early warning mechanism, according to user's contact method commonly used, send SMS to the user, the authentication operation from non-user has taken place in prompting.
In practical application, can many people carry out the image recognition operation simultaneously, and, can the user number of request authentication be limited in order to guarantee the speed of user images authentication.Subscription client total number to submitting authentication request to is provided with a threshold value, and when reaching this threshold value, subscription client can't submit to authentication request to arrive background server.At this moment, subscription client will be reminded the current peak hours/period just of user, have many people waiting for image authentication, please try after a while again.The number of above-mentioned subscription client is corresponding with number of users.
Obviously, it is apparent to those skilled in the art that above-mentioned each step of the present invention can realize with the general calculation device; They can concentrate on the single calculation element; Perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element; Thereby; Can they be stored in the storage device and carry out, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize by calculation element.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.