Summary of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, it is provided that a kind of based on face knowledge
Other Intelligent Service provides method, system and intelligent terminal, it is intended to by collecting user's face of user's facial information and pre-stored
Facial information in portion data base is compared, thus obtains conventional consumption habit or the behavioural habits of user preset.Then lead to
Crossing analysis user to be accustomed to analyzing the potential demand for services judging that user is possible, finally providing the user Intelligent Service needs in the past
Ask, bring great advantage to the user.
It is as follows that the present invention solves the technical scheme that technical problem used:
A kind of Intelligent Service based on recognition of face provides method, wherein, including step:
S1, it is provided for storing user's facial information and corresponding with described user's facial information in intelligent terminal in advance
User's face data storehouse of users service needs;
S2, when detect unlatching by recognition of face provide service, then intelligent terminal's Real-time Collection active user facial information, and
The active user's facial information collected is mated with user's face data storehouse of pre-stored;
S3, when the match is successful, then read pre-stored the users service needs corresponding with described active user's facial information, and
Corresponding Intelligent Service is provided according to described users service needs.
Described Intelligent Service based on recognition of face provides method, and wherein, described step S1 specifically includes step:
S11, difference in functionality previously according to intelligent terminal set corresponding users service needs keyword;
S12, described intelligent terminal gather user's facial information and users service needs in advance, and store to default user's face
In portion data base.
Described Intelligent Service based on recognition of face provides method, and wherein, described step S3 further comprises the steps of:
S31, in intelligent terminal, arrange and store user's facial information the match is successful number of times and users service needs in advance
Keyword match number of success;
If the match is successful for S32, then by active user's facial information, the match is successful that number of times adds 1, active user is serviced simultaneously and needs
Keyword match number of success is asked to add 1;
S33, according to predetermined period to user's facial information and users service needs keyword according to the match is successful time several rows descending
Update.
Described Intelligent Service based on recognition of face provides method, wherein, further comprises the steps of: after described step S3
If S4 mates unsuccessful, then prompting active user does not exists, simultaneously by active user's facial information and corresponding use
Family demand for services carries out storing and update user's face data storehouse.
Described Intelligent Service based on recognition of face provides method, wherein, sets according to the difference in functionality of intelligent terminal
Corresponding user's face frequency acquisition, in described user's face frequency acquisition, only gathers face once to same user.
A kind of Intelligent Service based on recognition of face offer system, wherein, including:
User's face data storehouse presetting module, for be provided in advance storing in intelligent terminal user's facial information and with
User's face data storehouse of the users service needs that described user's facial information is corresponding;
Active user's face acquisition module, for when detecting that unlatching provides service by recognition of face, then intelligent terminal is real-time
Gather active user's facial information, and user's face data storehouse of the active user's facial information collected with pre-stored is carried out
Coupling;
Face coupling service providing module is for when the match is successful, then that read pre-stored with described active user's facial information
Corresponding users service needs, and provide corresponding service according to described users service needs;
User's face data storehouse more new module, if unsuccessful for mating, then prompting active user does not exists, and will currently use simultaneously
Family facial information and corresponding users service needs carry out storing and update user's face data storehouse.
Described Intelligent Service based on recognition of face provides system, wherein, described user's face data storehouse presetting module
Specifically include:
Unit preset in demand for services keyword, for setting corresponding user's service previously according to the difference in functionality of intelligent terminal
Demand keyword;
User's facial information memory element, gathers user's facial information in advance for described intelligent terminal and user services and needs
Ask, and store to default user's face data storehouse.
Described Intelligent Service based on recognition of face provides system, wherein, described face coupling service providing module tool
Body includes:
The match is successful, and number of times presets unit, for arranging in intelligent terminal in advance and storing user's facial information the match is successful
Number of times and users service needs keyword match number of success;
The match is successful number of times updating block, if for the match is successful, then by active user's facial information, the match is successful that number of times adds
1, active user's demand for services keyword match number of success is added 1 simultaneously;
Descending updating block, for according to predetermined period to user's facial information with users service needs keyword according to mating into
Merit time several rows descending updates.
Described Intelligent Service based on recognition of face provides system, wherein, sets according to the difference in functionality of intelligent terminal
Corresponding user's face frequency acquisition, in described user's face frequency acquisition, only gathers face once to same user.
A kind of intelligent terminal, wherein, provides system including the Intelligent Service based on recognition of face described in any of the above item.
A kind of Intelligent Service based on recognition of face provided by the present invention provides method, system and intelligent terminal, and described method is concrete
Including: it is provided in advance storing user's facial information and the use corresponding with described user's facial information in intelligent terminal
User's face data storehouse of family demand for services;When detecting that unlatching provides service by recognition of face, then intelligent terminal adopts in real time
Collection active user's facial information, and user's face data storehouse of the active user's facial information collected Yu pre-stored is carried out
Join;When the match is successful, then the users service needs corresponding with described active user's facial information of reading pre-stored, and according to
Described users service needs provides corresponding Intelligent Service.The present invention is by collecting the user of user's facial information and pre-stored
Facial information in face data storehouse is compared, thus has obtained conventional consumption habit or the behavioural habits of user preset.Continue
And it is accustomed to analyzing, by analyzing user, the potential demand for services judging that user is possible in the past, finally provide the user Intellectual garment
Business demand, brings great convenience to user.
Detailed description of the invention
The invention discloses a kind of Intelligent Service based on recognition of face and method, system and intelligent terminal are provided, for making this
Purpose, technical scheme and the advantage of invention are clearer, clear and definite, and the embodiment that develops simultaneously referring to the drawings is the most detailed to the present invention
Describe in detail bright.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is the flow process that present invention Intelligent Service based on recognition of face provides the preferred embodiment of method
Figure.Intelligent Service based on recognition of face shown in Fig. 1 provides method, including:
Step S101, in advance be provided in intelligent terminal store user's facial information and with described user's facial information phase
User's face data storehouse of corresponding users service needs.
Further, described step S101 specifically includes step:
S11, difference in functionality previously according to intelligent terminal set corresponding users service needs keyword;
S12, described intelligent terminal gather user's facial information and users service needs in advance, and store to default user's face
In portion data base.
That is, the present invention needs to delimit memory space in advance in the memory headroom of intelligent terminal for storing the face of collection
Information and corresponding user habit (i.e. users service needs) are as user's face data storehouse.Face in this user's face data storehouse
Information is accustomed to the relation for one-to-many with user behavior, and behavioural habits are ranked up from high to low according to the frequency.Use such as Fig. 2
Shown in the face data library storage schematic diagram of family.The behavioural habits of storage user 1 include that afternoon, 07:00 went back home, and turn on light;Storage is used
The behavioural habits at family 2 include that morning, 08:00 went out, and close family power supply;The buying habit of storage user 3 include liking red,
Like skirt.
Further, the present invention is for the sequence 1,2,3 of client ... n is that the number of times according to the face information collected is high
Low sequence, the number of times that i.e. this user's face information is arrived by systematic collection is the most, and the order of arrangement is the most forward.Even user 1 is
Face information frequency acquisition is the highest in systems, then arrange the most forward.The ranking replacement cycle can by user from main separation (as often
My god, weekly, monthly, it is also possible to be the user-defined update cycle), the smart machine of the present invention provides the update cycle to select
Interface is for user setup.
Further, pass in and out repeatedly within the same period owing to being likely to occur a user, or in small area,
Behavioural habits can change repeatedly, as in company, stays at home.Therefore the smart machine in the present invention provides certain time scope
In, set corresponding user's face frequency acquisition according to difference in functionality, in described user's face frequency acquisition, only to same
User gathers face once.User profile frequency acquisition as shown in Figure 3 sets schematic diagram.In hotel, only set every 4 hours
Gather once;And stay at home, can set is to gather once every 10 minutes;In working space, can set is every 30 points
Clock gathers once.It is of course also possible to be configured according to the time period, concrete set of time is independently arranged by user and meets reality
The period of situation, according to the frequency acquisition that different scene settings are different.
Further, the present invention is also closed previously according to the users service needs that the difference in functionality setting of intelligent terminal is corresponding
Key word.Users service needs keyword as shown in Figure 4 arranges schematic diagram.Such as, if the user of this system is family's cloud system,
User can arrange users service needs keyword for going out to work, and goes home, has a meal, amusement, rest etc..If the user of this system
For restaurant, user could be arranged to add peppery, salt adding, fish, Carnis Sus domestica, beef etc..If this system is the business cloud systems such as market, crucial
Word may be configured as such as redness, commercial affairs dress, necktie, skirt etc..If this system user is enterprise's cloud system, keyword may be configured as out
Meeting, working, come off duty, overtime work etc..Keyword thus system user concrete during actual application is configured according to the attribute of commodity.
Step S102, when detect unlatching by recognition of face provide service, then intelligent terminal's Real-time Collection active user
Facial information, and the active user's facial information collected is mated with user's face data storehouse of pre-stored.
During reality application, enter in face information collection owing to being likely to occur many individuals, and only one of which people is carried out
Select.Therefore, in this system, at least 2 face information collecting devices (such as photographic head) are needed.When whole system is opened, intelligence
Terminal can proceed by information gathering work.The opening ways of system can be that the button triggering mode of physics is (as passed through ON/OFF
Button), it is also possible to it is that long-range system trigger mode is (as triggered by other equipment in same system, as touched by mobile phone
Send out).
Step S103, when the match is successful, then read pre-stored the user corresponding with described active user's facial information
Demand for services, and provide corresponding Intelligent Service according to described users service needs.
Further, described step S103 specifically includes step:
S31, in intelligent terminal, arrange and store user's facial information the match is successful number of times and users service needs in advance
Keyword match number of success;
If the match is successful for S32, then by active user's facial information, the match is successful that number of times adds 1, active user is serviced simultaneously and needs
Keyword match number of success is asked to add 1;
S33, according to predetermined period to user's facial information and users service needs keyword according to the match is successful time several rows descending
Update.
Further, mate unsuccessful if further comprising the steps of: S104 after described step S103, then point out active user
Do not exist, carry out storing and update user face by active user's facial information and corresponding users service needs simultaneously
Data base.
That is, the face information that intelligent terminal collects in most initially entering acquisition range with finally carry out the face that selects
Information is analyzed, if contrast is to identical face information, then stores this face information, if do not contrasted accordingly
Face information, i.e. this user the most do not make a choice, it is judged that conclude the business unsuccessful, and the behavioural habits now gathered also differ and fix
Really, and if record the pressure of all of face information increasing system memory space, therefore do not arrive contrast to disappearing accordingly
After taking successful face information, then abandon the face message above recorded, for space releasing memory.
Further, the present invention, can correspondingly after user's facial information and the success of users service needs keyword match
The number of times of user's facial information and users service needs keyword is added 1, thus carries out descending renewal according to predetermined period.Example
As, inquire " working " this key word, then corresponding in this user behavior is accustomed to working inside this result selected of user
The number of times+1 of this attribute.
Below by by concrete Application Example, the present invention will be further described.Fig. 5 is that the present invention knows based on face
Other Intelligent Service provides the Application Example schematic diagram of method.As shown in Figure 4, including:
S201, in the range of user enters photographic head or monitor, start flow process;
S202, judge whether to open and provide, by face information, the service of user's request of meeting, if not turning on into step S209,
If turning on into step S203;
S203, collection currently carry out the face information of the client selected;
S204, contrast collecting face information with the face database in (i.e. user's face data storehouse) in java standard library, if right
Compare corresponding face information and the behavioural habits being associated, if being associated with entrance step S205, if not matching entrance
Step S207;
The face information that S205, basis match, inquires about corresponding user behavior custom;
The user behavior that S206, display are inquired is accustomed to currently used person;
If S207 does not matches corresponding face information, prompting active user do not exist in java standard library;
The current face information selecting this of S208, record and selection result, the action automatically added is added in java standard library,
So that calling when next time contrasts;
S209, prompting user do not open provides the service meeting demand by face information;
S210, call unlatching interface for user choose whether open, if user still selects to be not turned on, then enter step S211 knot
Line journey, if user selects to open, then returns step S203;
S211, end flow process.
Therefore, the present invention believes by collecting the face in user's facial information user's face data storehouse with pre-stored
Breath is compared, thus has obtained conventional consumption habit or the behavioural habits of user preset.Then practised by analysis user in the past
Used analysis judges the potential demand for services that user is possible, has finally provided the user Intelligent Service demand, has brought to user
Great convenience.
Based on above-described embodiment, the present invention also provides for a kind of Intelligent Service based on recognition of face and provides system, such as Fig. 6 institute
Show, including:
User's face data storehouse presetting module 100, for be provided in advance storing in intelligent terminal user's facial information with
And user's face data storehouse of the users service needs corresponding with described user's facial information;As detailed above.
Active user's face acquisition module 200, for when detecting that unlatching provides service by recognition of face, then intelligence is eventually
End Real-time Collection active user's facial information, and by the active user's facial information collected and user's face data of pre-stored
Storehouse is mated;As detailed above.
Face coupling service providing module 300 is for when the match is successful, then that read pre-stored with described active user's face
The users service needs that portion's information is corresponding, and provide corresponding service according to described users service needs;Concrete as above institute
State.
User's face data storehouse more new module 400, if unsuccessful for mating, then prompting active user does not exists, simultaneously
Carry out storing and update user's face data storehouse by active user's facial information and corresponding users service needs;Specifically
As mentioned above.
Further, described user's face data storehouse presetting module 100 specifically includes:
Unit preset in demand for services keyword, for setting corresponding user's service previously according to the difference in functionality of intelligent terminal
Demand keyword;As detailed above.
User's facial information memory element, gathers user's facial information and user's service in advance for described intelligent terminal
Demand, and store to default user's face data storehouse;As detailed above.
Further, described face coupling service providing module 300 specifically includes:
The match is successful, and number of times presets unit, for arranging in intelligent terminal in advance and storing user's facial information the match is successful
Number of times and users service needs keyword match number of success;As detailed above.
The match is successful number of times updating block, if for the match is successful, then by active user's facial information, the match is successful time
Number adds 1, adds 1 by active user's demand for services keyword match number of success simultaneously;As detailed above.
Descending updating block, for according to predetermined period to user's facial information and users service needs keyword according to
Join number of success row descending to update;As detailed above.
Further, corresponding user's face frequency acquisition is set, in described use according to the difference in functionality of intelligent terminal
In the face frequency acquisition of family, only same user is gathered face once.
Further, the present invention also provides for the embodiment of a kind of intelligent terminal, and the intelligent terminal described in the present embodiment includes
Intelligent Service based on recognition of face described above provides system.
In sum, a kind of Intelligent Service based on recognition of face provided by the present invention provides method, system and intelligence
Terminal, described method specifically includes: be provided in intelligent terminal in advance store user's facial information and with described user
User's face data storehouse of the users service needs that facial information is corresponding;When detecting that unlatching provides clothes by recognition of face
Business, then intelligent terminal's Real-time Collection active user facial information, and by the active user's facial information collected and pre-stored
User's face data storehouse is mated;When the match is successful, then read the corresponding with described active user's facial information of pre-stored
Users service needs, and provide corresponding Intelligent Service according to described users service needs.The present invention is by collecting user
Facial information is compared with the facial information in user's face data storehouse of pre-stored, thus has obtained the conventional of user preset
Consumption habit or behavioural habits.Then it is accustomed to analyzing the potential demand for services judging that user is possible by analysis user in the past,
Finally provide the user Intelligent Service demand, bring great convenience to user.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved according to the above description or to convert, all these modifications and variations all should belong to the guarantor of claims of the present invention
Protect scope.