Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Describe to realize the terminal of each embodiment of the invention referring now to accompanying drawing.In follow-up description, using for
The suffix of such as " module ", " part " or " unit " of element is represented only for being conducive to the explanation of the present invention, itself is not
There is specific meaning.Therefore, " module " can be used mixedly with " part ".
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone,
Smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet personal computer), PMP are (portable
Multimedia player), the mobile terminal and such as fixed terminal of numeral TV, desktop computer etc. of guider etc..
It will be appreciated by those skilled in the art that in addition to being used in particular for moving the element of purpose, according to the embodiment of the present invention
Construction can also apply to the terminal of fixed type.
Fig. 1 is the hardware architecture diagram for realizing the optional terminal of each embodiment one of the invention.
Terminal 100 can include user input unit 110, sensing unit 120, output unit 130, memory 140, control
Device 150 and power subsystem 160 etc..Fig. 1 shows the terminal 100 with various assemblies, it should be understood that being not required for
Implement all components shown, can alternatively implement more or less components, the member of terminal 100 will be discussed in more detail below
Part.
The order generation key input data that user input unit 110 can be inputted according to user is with each of control terminal 100
Plant operation.User input unit 110 allows user to input various types of information, and can include keyboard, metal dome, touch
Plate (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, rocking bar etc.
Deng.Especially, when touch pad is superimposed upon on display sub-module 131 in the form of layer, touch-screen can be formed.
Sensing unit 120 detects the current state of terminal 100, (for example, terminal 100 open or close state), terminal
100 position, user for the presence or absence of contact (that is, touch input) of terminal 100, the orientation of terminal 100, terminal 100 plus
Speed or mobile and direction etc. of slowing down, and generate order or the signal of operation for control terminal 100.For example, working as terminal
100 when being embodied as sliding-type mobile phone, and it is opening or closing that sensing unit 120, which can sense the sliding-type phone,.In addition,
Sensing unit 120 can detect whether power subsystem 160 provides electric power.Sensing unit 120 can include proximity transducer 121.
Output unit 130 can include display sub-module 131 etc..
Display sub-module 131 may be displayed on the information handled in terminal 100.For example, when terminal 100 is in telephone relation
During pattern, display sub-module 131 can show with converse or it is other communicate (for example, text messaging, multimedia file download
Etc.) related user interface (UI) or graphic user interface (GUI).When terminal 100 is in video calling pattern or image
During acquisition mode, display sub-module 131 can show the image of capture and/or the image of reception, video or image are shown and
UI or GUI of correlation function etc..
Meanwhile, when display sub-module 131 and touch pad in the form of layer it is superposed on one another to form touch-screen when, show submodule
Block 131 may be used as input unit and output device.Display sub-module 131 can include liquid crystal display (LCD), film crystal
In pipe LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. extremely
Few one kind.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as
Bright display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to spy
Surely the embodiment wanted, terminal 100 can include two or more display modules (or other display devices), for example, terminal
100 can include outside display module (not shown) and internal display module (not shown).It is defeated that touch-screen can be used for detection to touch
Enter pressure and touch input position and touch input area.
Memory 140 can store software program of the processing performed by controller 150 and control operation etc., Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And, memory 140 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal
Data.
Memory 140 can include the storage medium of at least one type, and storage medium includes flash memory, hard disk, multimedia
Card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access memory
(SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, terminal 100 can be with performing memory 140 by network connection
The network storage device cooperation of store function.
The overall operation of the usual control terminal 100 of controller 150.For example, controller 150 is performed and voice call, data
Communication, video calling, data analysis etc. related control and processing.Controller 150 can be with execution pattern identifying processing, will
The handwriting input performed on the touchscreen or picture draw input and are identified as character or image.
Power subsystem 160 receives external power or internal power and provides operation each member under control of the controller 150
Appropriate electric power needed for part and component.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implemented.Implement for hardware, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 150.
For software implementation, the embodiment of such as process or function can be with allowing to perform the single of at least one function or operation
Software module is implemented.Software code can by the software application (or program) write with any appropriate programming language Lai
Implement, software code can be stored in memory 140 and be performed by controller 150.
So far, oneself according to its function through describing terminal 100.Below, for the sake of brevity, will description such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slider type terminal etc. is used as example.Cause
This, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Based on above-mentioned terminal hardware structure, below by way of specific embodiment, the present invention is described in detail.
First embodiment
A kind of authentication means are present embodiments provided, referring to Fig. 2, Fig. 2 tests for a kind of identity that the present embodiment is provided
The schematic diagram of card device, the authentication means include:Display module 201, receiving module 202, authentication module 203, wherein,
Display module 201, for showing default validation problem according to preset rules;Each default validation problem is pre- to that should have
If correct option, each default validation problem is according to basic data, the historical behavior data of user or user model number in system
According to generation, user model data are that the historical behavior data of user are analyzed and generated.
Optionally, referring to Fig. 3, the schematic diagram for another authentication means that Fig. 3 provides for the present embodiment, the identity is tested
Card device also includes:First acquisition module 204, analysis module 205, problem and answer generation module 206, preserving module 207, its
In,
First acquisition module 204, for before display module 201 shows default validation problem according to preset rules, adopting
Collect the historical behavior data of user, and obtain basic data in system;
Analysis module 205, for analyzing historical behavior data, generates user model data;
Problem and answer generation module 206, for according to basic data, historical behavior data and user model number in system
According to the corresponding default validation problem of generation and default correct option;
Preserving module 207, for the default validation problem of generation and corresponding default correct option to be preserved.
Wherein, basic data includes in system:The intrinsic contact data of system, album data, file data etc..
For example, be stored with the intrinsic contact data of system user A and user A telephone number, do not store use
Family B and user B telephone number, user C and user C telephone number, user D and user D telephone number;According to
The default validation problem of basic data generation can be in system:Which is your contact person in following four optionOption one:
User A;Option two:User B;Option three:User C;Option four:User D.The corresponding default correct option of default validation problem
For option one:User A.
For example, the default validation problem generated according to album data can be:Which photo is that oneself shoots
The historical behavior data of user can obtain original by the user behavior collection procedure being implanted into operating system
Data input, the types of the historical behavior data of collection includes the delta data of geographical location information, the application of user starts
Behavioral data, song listen to behavioral data, web page browsing behavioral data etc., and timestamp is all included in above-mentioned data.
Default validation problem can also be generated according to the historical behavior data of user.
For example, in the default validation problem generated according to the historical behavior data of user, can propose in certain time
The a certain operation behavior of (such as 3 days) in span, for example:User had the telephone number for dialing user A in past 3 days, did not had
There is the telephone number for dialing user B, user C and user D;The default validation problem generated according to the historical behavior data of user
Can be:Which is the telephone number that you go over to dial in 3 days in following four optionOption one:User A phone number
Code;Option two:User B telephone number;Option three:User C telephone number;Option four:User D telephone number.This is pre-
If the corresponding default correct option of validation problem is option one:User A telephone number.
For example, the default validation problem generated according to the historical behavior data of user can also be:Which is that you go over 3 days
The telephone number inside answeredCan also be:Which is the destination that you go over to reach in 3 days
In the default validation problem that display module 201 is shown for when being generated according to the historical behavior data of user, it is desirable to use
Answer and the corresponding default correct option of family input are accurately to match in matching, that is, need user clearly to provide and just firmly believe
Breath, and information source is in the historical behavior data of the user of collection, it is ensured that the deviation that will not be calculated by machine learning algorithm and produce
Raw error.
Default validation problem can also be generated according to user model data, and user model data are the historical behaviors to user
Data are analyzed and generated, specifically, can be the historical behavior data of user are carried out the cleanings of data, processing, conversion,
Training obtains user model data.
Historical behavior data to user are analyzed, can be with spies such as relatively good hobby, age, the sexes of description user
Levy, it can be deduced that user draws a portrait, i.e. user model data;Particularly hobby can be used as relatively abstract but high tendentiousness expression
Feature, the default validation problem that specific aim proposes to generate based on user model data is carried out with this.
For example, the historical behavior data to user are analyzed, the user model data of generation include the song class liked
Type is pop music;Can be according to the default validation problem that user model data are generated:Which is you in following four option
The types of songs likedOption one:Folk song;Option two:Country music;Option three:Pop music;Option four:Children's song.Should
The corresponding default correct option of default validation problem is option three:Pop music.
For example:Can also be according to the default validation problem that user model data are generated:What the game being good at is
After problem and the default validation problem of the generation of answer generation module 206 and corresponding default correct option, preserve
Module 207 is preserved the default validation problem of generation and corresponding default correct option, and preserving module 207 will can be preset
Validation problem and corresponding default correct option are preserved in table form, and when stored, can be asked default checking
Topic classifying type is preserved, the default validation problem that will also be generated according to basic data in system and it is corresponding it is default correctly
Answer is divided into same type, by the default validation problem generated according to the historical behavior data of user and it is corresponding it is default just
True answer is divided into same type, and the default validation problem generated according to user model data and corresponding preset correctly are answered
Case is divided into same type.
Exemplary, default validation problem and corresponding default correct option are stored in table 1, and the content of table 1 is under
Table:
Table 1
Display module 201, for showing default validation problem according to preset rules;
Wherein, specifically for random display, at least one presets validation problem to display module 201;
For example, it may be 3 default validation problems are randomly selected from above-mentioned table 1,3 default validation problems of selection
Type can be with identical, can also be different;3 default validation problems of such as selection can be generated according to user model data
's;Can also be choose 3 default validation problems have 2 be according to user model data generate, 1 is according to user
The generation of historical behavior data;Can also be that the 3 default validation problems 1 chosen are generated according to user model data, 1
Individual generated according to the historical behavior data of user, and 1 is generated according to basic data in system.
Or, display module 201 specifically for:
The default validation problem of the first quantity is selected in the default validation problem that basic data is generated out of according to system;
The default validation problem of the second quantity is selected from the default validation problem generated according to historical behavior data;
The default validation problem of the 3rd quantity is selected from the default validation problem generated according to user model data;
The default validation problem chosen is shown;
First quantity, the second quantity, the value of the 3rd quantity be able to can not also be waited with equal;
Exemplary, referring to Fig. 4, the schematic diagram that Fig. 4 shows for a kind of display interface that the present embodiment is provided, in Fig. 4,
3 default validation problems are shown, first default validation problem is:
Which is your contact person in following four optionOption one:User A;Option two:User B;Option three:User
C;Option four:User D.
Second default validation problem be:
Which is the telephone number that you go over to dial in 3 days in following four optionOption one:User A phone number
Code;Option two:User B telephone number;Option three:User C telephone number;Option four:User D telephone number.
3rd default validation problem be:
Which is the types of songs that you like in following four optionOption one:Folk song;Option two:Country music;Option
Three:Pop music;Option four:Children's song.
Optionally, the authentication means also include:Second acquisition module 208, judge module 209, wherein,
Second acquisition module 208, for before the historical behavior data that the first acquisition module 204 gathers user, obtaining
The timestamp of the historical behavior data of last time collection user;
Judge module 209, for judging that the time interval of historical behavior data of the timestamp and this collection user is
It is no to exceed given threshold, if so, then entering the step of the first acquisition module 204 gathers the historical behavior data of user.
Given threshold can be set according to the actual requirements, and such as given threshold can be half an hour, 1 hour, 1 day, 1
Week etc..
Historical behavior data to user are analyzed, by being continuously increased for data, and iteration updates the user calculated
Model data so that can more accurately match the feature of user.
Receiving module 202, the answer of the default validation problem to each display for receiving user's input;
For a default validation problem, the mode of user's input can provide 4 options to choose for user, and this 4
Only one of which is correct option in individual options.
Authentication module 203, the answer of the default validation problem to each display for user to be inputted verifies,
In the case that each answer of user's input is matched with default correct option, then it is proved to be successful, it is legal just to think the user
User, otherwise it is assumed that the user is inactive users.
Using the scheme of the present embodiment, authentication is carried out using default validation problem, default validation problem is:According to being
Basic data, the historical behavior data of user or the generation of user model data in system, namely the behavioural habits according to user or happiness
Good wait carry out authentication to the user, it is to avoid occurs the generation of authentication failure scenarios due to lost password, improves
The validity of checking, improves Consumer's Experience.
Each user is unique, and his behavior and hobby are a kind of User Identity, this programme in itself
Propose and provide a kind of mode that user identity is recognized by spontaneous manner outside tradition authentication.Individually authentication can be used as
System, also can provide user more a kind of means authenticated after traditional failed authentication.
Second embodiment
The present embodiment provides a kind of terminal, referring to Fig. 5, a kind of schematic diagram for terminal that Fig. 5 provides for the present embodiment, the end
End includes the authentication means in first embodiment.The function that each functional module of above-mentioned authentication means is performed can pass through
Fractional hardware in Fig. 1 realizes that certainly, the function that each hardware is performed can also be realized by above-mentioned functions module.Above-mentioned each function
The function of module is specifically realized by following hardware:
The function of display module 201 can be realized by display sub-module 131.
The function of receiving module 202 can be realized by user input unit 110.
Authentication module 203, the first acquisition module 204, analysis module 205, problem and answer generation module 206, second are obtained
Modulus block 208, the function of judge module 209 can be realized by controller 150.
The function of preserving module 207 can be realized by memory 140.
Display sub-module 131, for showing default validation problem according to preset rules;Each default validation problem is to that should have
Default correct option, each default validation problem is according to basic data, the historical behavior data of user or user model in system
Data are generated, and user model data are that the historical behavior data of user are analyzed and generated.
Controller 150, for before display sub-module 131 shows default validation problem according to preset rules, collection to be used
The historical behavior data at family, and obtain basic data in system;
Controller 150, for analyzing historical behavior data, generates user model data;
Controller 150, for according to basic data, historical behavior data and user model data in system, generation correspondence
Default validation problem and default correct option;
Memory 140, for the default validation problem of generation and corresponding default correct option to be preserved.
Wherein, basic data includes in system:The intrinsic contact data of system, album data, file data etc..
For example, be stored with the intrinsic contact data of system user A and user A telephone number, do not store use
Family B and user B telephone number, user C and user C telephone number, user D and user D telephone number;According to
The default validation problem of basic data generation can be in system:Which is your contact person in following four optionOption one:
User A;Option two:User B;Option three:User C;Option four:User D.The corresponding default correct option of default validation problem
For option one:User A.
For example, the default validation problem generated according to album data can be:Which photo is that oneself shoots
The historical behavior data of user can obtain original by the user behavior collection procedure being implanted into operating system
Data input, the types of the historical behavior data of collection includes the delta data of geographical location information, the application of user starts
Behavioral data, song listen to behavioral data, web page browsing behavioral data etc., and timestamp is all included in above-mentioned data.
Default validation problem can also be generated according to the historical behavior data of user.
For example, in the default validation problem generated according to the historical behavior data of user, can propose in certain time
The a certain operation behavior of (such as 3 days) in span, for example:User had the telephone number for dialing user A in past 3 days, did not had
There is the telephone number for dialing user B, user C and user D;The default validation problem generated according to the historical behavior data of user
Can be:Which is the telephone number that you go over to dial in 3 days in following four optionOption one:User A phone number
Code;Option two:User B telephone number;Option three:User C telephone number;Option four:User D telephone number.This is pre-
If the corresponding default correct option of validation problem is option one:User A telephone number.
For example, the default validation problem generated according to the historical behavior data of user can also be:Which is that you go over 3 days
The telephone number inside answeredCan also be:Which is the destination that you go over to reach in 3 days
In the default validation problem that display sub-module 131 is shown for when being generated according to the historical behavior data of user, it is desirable to
Answer and the corresponding default correct option of user's input are accurately to match in matching, that is, need user clearly to provide and just firmly believe
Breath, and information source is in the historical behavior data of the user of collection, it is ensured that the deviation that will not be calculated by machine learning algorithm and produce
Raw error.
Default validation problem can also be generated according to user model data, and user model data are the historical behaviors to user
Data are analyzed and generated, specifically, can be the historical behavior data of user are carried out the cleanings of data, processing, conversion,
Training obtains user model data.
Historical behavior data to user are analyzed, can be with spies such as relatively good hobby, age, the sexes of description user
Levy, it can be deduced that user draws a portrait, i.e. user model data;Particularly hobby can be used as relatively abstract but high tendentiousness expression
Feature, the default validation problem that specific aim proposes to generate based on user model data is carried out with this.
For example, the historical behavior data to user are analyzed, the user model data of generation include the song class liked
Type is pop music;Can be according to the default validation problem that user model data are generated:Which is you in following four option
The types of songs likedOption one:Folk song;Option two:Country music;Option three:Pop music;Option four:Children's song.Should
The corresponding default correct option of default validation problem is option three:Pop music.
For example:Can also be according to the default validation problem that user model data are generated:What the game being good at is
After the default validation problem of the generation of controller 150 and corresponding default correct option, memory 140 is by generation
Default validation problem and corresponding default correct option are preserved, and memory 140 can be by default validation problem and corresponding
Default correct option is preserved in table form, and when stored, can be preserved default validation problem classifying type,
Also the default validation problem and corresponding default correct option that will be generated according to basic data in system are divided into same class
Type, the default validation problem and corresponding default correct option that are generated according to the historical behavior data of user is divided into same
Type, is divided into same class by the default validation problem generated according to user model data and corresponding default correct option
Type.
Exemplary, default validation problem and corresponding default correct option are stored in table 2, and the content of table 2 is under
Table:
Table 2
Display sub-module 131, for showing default validation problem according to preset rules;
Wherein, specifically for random display, at least one presets validation problem to display sub-module 131;
For example, it may be 3 default validation problems are randomly selected from above-mentioned table 2,3 default validation problems of selection
Type can be with identical, can also be different;3 default validation problems of such as selection can be generated according to user model data
's;Can also be choose 3 default validation problems have 2 be according to user model data generate, 1 is according to user
The generation of historical behavior data;Can also be that the 3 default validation problems 1 chosen are generated according to user model data, 1
Individual generated according to the historical behavior data of user, and 1 is generated according to basic data in system.
Or, display sub-module 131 specifically for:
The default validation problem of the first quantity is selected in the default validation problem that basic data is generated out of according to system;
The default validation problem of the second quantity is selected from the default validation problem generated according to historical behavior data;
The default validation problem of the 3rd quantity is selected from the default validation problem generated according to user model data;
The default validation problem chosen is shown;
First quantity, the second quantity, the value of the 3rd quantity be able to can not also be waited with equal;
Exemplary, referring to Fig. 4, the schematic diagram that Fig. 4 shows for a kind of display interface that the present embodiment is provided, in Fig. 4,
3 default validation problems are shown, first default validation problem is:
Which is your contact person in following four optionOption one:User A;Option two:User B;Option three:User
C;Option four:User D.
Second default validation problem be:
Which is the telephone number that you go over to dial in 3 days in following four optionOption one:User A phone number
Code;Option two:User B telephone number;Option three:User C telephone number;Option four:User D telephone number.
3rd default validation problem be:
Which is the types of songs that you like in following four optionOption one:Folk song;Option two:Country music;Option
Three:Pop music;Option four:Children's song.
Controller 150, the historical behavior for before the historical behavior data of collection user, obtaining last time collection user
The timestamp of data;
Controller 150, for judge the timestamp with this collection user historical behavior data time interval whether
More than given threshold, if so, then entering the step of controller 150 gathers the historical behavior data of user.
Given threshold can be set according to the actual requirements, and such as given threshold can be half an hour, 1 hour, 1 day, 1
Week etc..
Historical behavior data to user are analyzed, by being continuously increased for data, and iteration updates the user calculated
Model data so that can more accurately match the feature of user.
User input unit 110, the answer of the default validation problem to each display for receiving user's input;
For a default validation problem, the mode of user's input can provide 4 options to choose for user, and this 4
Only one of which is correct option in individual options.
Controller 150, the answer of the default validation problem to each display for user to be inputted verifies, with
In the case that each answer of family input is matched with default correct option, then it is proved to be successful, it is legal use just to think the user
Family, otherwise it is assumed that the user is inactive users.
Using the scheme of the present embodiment, authentication is carried out using default validation problem, default validation problem is:According to being
Basic data, the historical behavior data of user or the generation of user model data in system, namely the behavioural habits according to user or happiness
Good wait carry out authentication to the user, it is to avoid occurs the generation of authentication failure scenarios due to lost password, improves
The validity of checking, improves Consumer's Experience.
Each user is unique, and his behavior and hobby are a kind of User Identity, this programme in itself
Propose and provide a kind of mode that user identity is recognized by spontaneous manner outside tradition authentication.Individually authentication can be used as
System, also can provide user more a kind of means authenticated after traditional failed authentication.
3rd embodiment
A kind of auth method is present embodiments provided, referring to Fig. 6, Fig. 6 tests for a kind of identity that the present embodiment is provided
The flow chart of card method, this method comprises the following steps:
S601:Default validation problem is shown according to preset rules;Validation problem is each preset to that there should be default correct option,
Each default validation problem is generated according to basic data, the historical behavior data of user or user model data in system, user
Model data is that the historical behavior data of user are analyzed and generated.
Optionally, before S601 shows default validation problem according to preset rules, in addition to:
The historical behavior data of user are gathered, and obtain basic data in system;
Historical behavior data are analyzed, user model data are generated;
According to basic data, historical behavior data and user model data in system, corresponding default validation problem is generated
With default correct option;
The default validation problem of generation and corresponding default correct option are preserved.
Wherein, basic data includes at least one of following three kinds in system:The intrinsic contact data of system, photograph album
Data, file data.
For example, be stored with the intrinsic contact data of system user A and user A telephone number, do not store use
Family B and user B telephone number, user C and user C telephone number, user D and user D telephone number;According to
The default validation problem of basic data generation can be in system:Which is your contact person in following four optionOption one:
User A;Option two:User B;Option three:User C;Option four:User D.The corresponding default correct option of default validation problem
For option one:User A.
For example, the default validation problem generated according to album data can be:Which photo is that oneself shoots
The historical behavior data of user can obtain original by the user behavior collection procedure being implanted into operating system
Data input, the types of the historical behavior data of collection includes the delta data of geographical location information, the application of user starts
Behavioral data, song listen to behavioral data, web page browsing behavioral data etc., and timestamp is all included in above-mentioned data.
Default validation problem can also be generated according to the historical behavior data of user.
For example, in the default validation problem generated according to the historical behavior data of user, can propose in certain time
The a certain operation behavior of (such as 3 days) in span, for example:User had the telephone number for dialing user A in past 3 days, did not had
There is the telephone number for dialing user B, user C and user D;The default validation problem generated according to the historical behavior data of user
Can be:Which is the telephone number that you go over to dial in 3 days in following four optionOption one:User A phone number
Code;Option two:User B telephone number;Option three:User C telephone number;Option four:User D telephone number.This is pre-
If the corresponding default correct option of validation problem is option one:User A telephone number.
For example, the default validation problem generated according to the historical behavior data of user can also be:Which is that you go over 3 days
The telephone number inside answeredCan also be:Which is the destination that you go over to reach in 3 days
When the default validation problem of display is generates according to the historical behavior data of user, it is desirable to the answer of user's input
In matching it is accurate matching with corresponding default correct option, that is, needs user clearly to provide correct information, and information source
In the historical behavior data of the user of collection, it is ensured that the deviation that will not be calculated by machine learning algorithm and produce error.
Default validation problem can also be generated according to user model data, and user model data are the historical behaviors to user
Data are analyzed and generated, specifically, can be the historical behavior data of user are carried out the cleanings of data, processing, conversion,
Training obtains user model data.
Historical behavior data to user are analyzed, can be with spies such as relatively good hobby, age, the sexes of description user
Levy, it can be deduced that user draws a portrait, i.e. user model data;Particularly hobby can be used as relatively abstract but high tendentiousness expression
Feature, the default validation problem that specific aim proposes to generate based on user model data is carried out with this.
For example, the historical behavior data to user are analyzed, the user model data of generation include the song class liked
Type is pop music;Can be according to the default validation problem that user model data are generated:Which is you in following four option
The types of songs likedOption one:Folk song;Option two:Country music;Option three:Pop music;Option four:Children's song.Should
The corresponding default correct option of default validation problem is option three:Pop music.
For example:Can also be according to the default validation problem that user model data are generated:What the game being good at is
After the default validation problem of generation and corresponding default correct option, by the default validation problem of generation and correspondingly
Default correct option preserved, default validation problem and corresponding default correct option can in table form be carried out
Preserve, and when stored, default validation problem classifying type can be preserved, will also be generated according to basic data in system
Default validation problem and corresponding default correct option be divided into same type, will according to the historical behavior data of user give birth to
Into default validation problem and corresponding default correct option be divided into same type, by what is generated according to user model data
Default validation problem and corresponding default correct option are divided into same type.
Exemplary, default validation problem and corresponding default correct option are stored in table 3, and the content of table 3 is under
Table:
Table 3
Wherein, show that default validation problem includes according to preset rules:
At least one default validation problem of random display;
For example, it may be 3 default validation problems are randomly selected from above-mentioned table 3,3 default validation problems of selection
Type can be with identical, can also be different;3 default validation problems of such as selection can be generated according to user model data
's;Can also be choose 3 default validation problems have 2 be according to user model data generate, 1 is according to user
The generation of historical behavior data;Can also be that the 3 default validation problems 1 chosen are generated according to user model data, 1
Individual generated according to the historical behavior data of user, and 1 is generated according to basic data in system.
Or, the default checking of the first quantity is selected in the default validation problem that basic data is generated out of according to system
Problem;
The default validation problem of the second quantity is selected from the default validation problem generated according to historical behavior data;
The default validation problem of the 3rd quantity is selected from the default validation problem generated according to user model data;
The default validation problem chosen is shown;
First quantity, the second quantity, the value of the 3rd quantity be able to can not also be waited with equal;
Exemplary, referring to Fig. 4, the schematic diagram that Fig. 4 shows for a kind of display interface that the present embodiment is provided, in Fig. 4,
3 default validation problems are shown, first default validation problem is:
Which is your contact person in following four optionOption one:User A;Option two:User B;Option three:User
C;Option four:User D.
Second default validation problem be:
Which is the telephone number that you go over to dial in 3 days in following four optionOption one:User A phone number
Code;Option two:User B telephone number;Option three:User C telephone number;Option four:User D telephone number.
3rd default validation problem be:
Which is the types of songs that you like in following four optionOption one:Folk song;Option two:Country music;Option
Three:Pop music;Option four:Children's song.
Optionally, before the historical behavior data of collection user, in addition to:
Obtain the timestamp of the historical behavior data of last time collection user;
Judge whether the timestamp and the time interval of the historical behavior data of this collection user exceed given threshold, if
It is, then the step of entering the historical behavior data of collection user.
Given threshold can be set according to the actual requirements, and such as given threshold can be half an hour, 1 hour, 1 day, 1
Week etc..
Historical behavior data to user are analyzed, by being continuously increased for data, and iteration updates the user calculated
Model data so that can more accurately match the feature of user.
S602:Receive the answer of the default validation problem to each display of user's input;
For a default validation problem, the mode of user's input can provide 4 options to choose for user, and this 4
Only one of which is correct option in individual options.
S603:The answer for the default validation problem to each display that user is inputted is verified, is inputted in user
In the case that each answer is matched with default correct option, then it is proved to be successful;
Only it is proved to be successful, it is validated user just to think the user, otherwise it is assumed that the user is inactive users.
Using the scheme of the present embodiment, authentication is carried out using default validation problem, default validation problem is:According to being
Basic data, the historical behavior data of user or the generation of user model data in system, namely the behavioural habits according to user or happiness
Good wait carry out authentication to the user, it is to avoid occurs the generation of authentication failure scenarios due to lost password, improves
The validity of checking, improves Consumer's Experience.
Each user is unique, and his behavior and hobby are a kind of User Identity, this programme in itself
Propose and provide a kind of mode that user identity is recognized by spontaneous manner outside tradition authentication.Individually authentication can be used as
System, also can provide user more a kind of means authenticated after traditional failed authentication.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal equipment (can be mobile phone, computer, clothes
It is engaged in device, air conditioner, or network equipment etc.) method that performs each embodiment of the invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.