CN109118626A - Control method, device, storage medium and the electronic device of lockset - Google Patents

Control method, device, storage medium and the electronic device of lockset Download PDF

Info

Publication number
CN109118626A
CN109118626A CN201810899043.6A CN201810899043A CN109118626A CN 109118626 A CN109118626 A CN 109118626A CN 201810899043 A CN201810899043 A CN 201810899043A CN 109118626 A CN109118626 A CN 109118626A
Authority
CN
China
Prior art keywords
information
target
emotional
lockset
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810899043.6A
Other languages
Chinese (zh)
Other versions
CN109118626B (en
Inventor
崔兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810899043.6A priority Critical patent/CN109118626B/en
Publication of CN109118626A publication Critical patent/CN109118626A/en
Application granted granted Critical
Publication of CN109118626B publication Critical patent/CN109118626B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00563Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns

Abstract

The invention discloses a kind of control method of lockset, device, storage medium and electronic devices.Wherein, this method comprises: obtaining the characteristic information of target object;The first emotional information is extracted from characteristic information, wherein the first emotional information is used to indicate the emotional state that target object is presently in;Determine type of emotion belonging to the first emotional information;The switch state of target lockset is controlled according to type of emotion belonging to the first emotional information.The present invention solves the lower technical problem of safety of intelligent lock in the related technology.

Description

Control method, device, storage medium and the electronic device of lockset
Technical field
The present invention relates to computer field, in particular to a kind of control method of lockset, device, storage medium and Electronic device.
Background technique
Universal with smart machine, intelligent lock has also progressed into the sight of people, but existing intelligent lock Identification dimension it is single, there are loopholes for safety.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of control method of lockset, device, storage medium and electronic devices, at least to solve The certainly lower technical problem of the safety of intelligent lock in the related technology.
According to an aspect of an embodiment of the present invention, a kind of control method of lockset is provided, comprising: obtain target object Characteristic information;The first emotional information is extracted from the characteristic information, wherein first emotional information is used to indicate described The emotional state that target object is presently in;Determine type of emotion belonging to first emotional information;According to first feelings The switch state of the control target lockset of type of emotion belonging to thread information.
According to another aspect of an embodiment of the present invention, a kind of control device of lockset is additionally provided, comprising: module is obtained, For obtaining the characteristic information of target object;Extraction module, for extracting the first emotional information from the characteristic information, In, first emotional information is used to indicate the emotional state that the target object is presently in;Determining module, for determining State type of emotion belonging to the first emotional information;First control module, for the mood according to belonging to first emotional information The switch state of Type Control target lockset.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, which is characterized in that the storage is situated between Computer program is stored in matter, wherein the computer program is arranged to execute described in any of the above-described when operation Method.
According to another aspect of an embodiment of the present invention, a kind of electronic device, including memory and processor are additionally provided, It is characterized in that, computer program is stored in the memory, and the processor is arranged to hold by the computer program Method described in row any of the above-described.
In embodiments of the present invention, using the characteristic information for obtaining target object;The first mood is extracted from characteristic information Information, wherein the first emotional information is used to indicate the emotional state that target object is presently in;It determines belonging to the first emotional information Type of emotion;The mode that the switch state of target lockset is controlled according to type of emotion belonging to the first emotional information, from acquisition To target object characteristic information in extract be used to indicate the emotional state that target object is presently in the first mood letter It ceasing, type of emotion belonging to the current emotional state further according to target object controls the switch state of target lockset, Such as: target object current emotional states are abnormal, are not turned on target lockset etc., so as to carry out to target lockset Using the current emotional state of target object as reference factor when control, the dimension of identification is extended, with information more abundant As the influence factor of control lockset switch state, to realize the technical effect for improving the safety of intelligent lock, in turn Solves the lower technical problem of the safety of intelligent lock in the related technology.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of the control method of optional lockset according to an embodiment of the present invention;
Fig. 2 is a kind of application environment schematic diagram of the control method of optional lockset according to an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of the control method of optional lockset of optional embodiment according to the present invention;
Fig. 4 is the schematic diagram of the control method of the optional lockset of another kind of optional embodiment according to the present invention;
Fig. 5 is the schematic diagram of the control method of the optional lockset of another kind of optional embodiment according to the present invention;
Fig. 6 is a kind of schematic diagram of the control device of optional lockset according to an embodiment of the present invention;
Fig. 7 is a kind of application scenarios schematic diagram of the control method of optional lockset according to an embodiment of the present invention;And
Fig. 8 is a kind of schematic diagram of optional electronic device according to an embodiment of the present invention.
(mentioning in book of telling somebody what one's real intentions are can be connect by cloud with smart machines such as APP and speaker specific embodiment, and be had This example is not provided in body embodiment)
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
According to an aspect of an embodiment of the present invention, a kind of control method of lockset is provided, as shown in Figure 1, this method Include:
S102 obtains the characteristic information of target object;
S104 extracts the first emotional information from characteristic information, wherein the first emotional information is used to indicate target object and works as Preceding locating emotional state;
S106 determines type of emotion belonging to the first emotional information;
S108 controls the switch state of target lockset according to type of emotion belonging to the first emotional information.
It should be noted that the control method of lockset provided in an embodiment of the present invention can be applied to data processing energy The electronic equipment of power, the electronic equipment may be the server of network side setting, it is also possible to PC (individual's meter of user side setting Calculation machine) etc. terminal devices;The electronic equipment can pass through the control method of load function and lockset provided by the embodiments of the present application Corresponding program implements the control method of lockset provided by the embodiments of the present application, which can store depositing in calculating equipment In reservoir, and is called by processor and realize program function.
Optionally, in the present embodiment, above-mentioned terminal device can be, but not limited to as above-mentioned target lockset, or can also be with But it is not limited to the controller for controlling above-mentioned target lockset.
Optionally, in the present embodiment, the control method of above-mentioned lockset can be applied to electronic equipment as shown in Figure 2 In 202 hardware environment constituted.As shown in Fig. 2, electronic equipment 202 obtains the characteristic information of target object;From characteristic information The first emotional information of middle extraction, wherein the first emotional information is used to indicate the emotional state that target object is presently in;Determine Type of emotion belonging to one emotional information;The switch shape of target lockset is controlled according to type of emotion belonging to the first emotional information State.
Optionally, in the present embodiment, the control method of above-mentioned lockset can be, but not limited to be applied to target lockset into In the scene of row control.Wherein, above-mentioned target lockset can be, but not limited to the lockset to assemble in various things, for example, door lock, Safe box lock, drawer-lock, trunk lock etc..Specifically, can be, but not limited to be applied to control to above-mentioned door lock Scene in, or can with but be not limited to be applied in the scene controlled above-mentioned safe box lock, to improve intelligence The safety of lockset.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
Optionally, in the present embodiment, above-mentioned target object can be, but not limited to include: in target lockset detection range Object is try to open the object etc. of target lockset.Above-mentioned target object can be, but not limited to be the mankind or other What biology.
Optionally, in the present embodiment, characteristic information can be, but not limited to include various forms of features.Such as: sound Feature, facial characteristics etc. biological characteristic.
Optionally, in the present embodiment, above-mentioned emotional state can be, but not limited to include: it is happy, happy, sad, frightened, In alarm, anxiety etc..First emotional information be extracted from characteristic information can characterize target object current emotional states Feature.Such as: the information of the speech intonation extracted from sound characteristic, that identifies from sound characteristic is used to indicate feelings The semantic information of not-ready status, expression information extracted from facial characteristics etc..
Optionally, in the present embodiment, above-mentioned target lockset can be, but not limited to unlock by least one following information: Finger print information, voice messaging, iris information, facial information, character information, key etc..Receiving the above-mentioned of target object It can be determined whether to open target lockset for it according to the first emotional information of target object after information.
Optionally, in the present embodiment, type of emotion can be, but not limited to be divided into two classes, and one kind is normal mood, and one Class is improper mood (frightened, alarmed, anxiety etc.), and when the first emotional information is not belonging to improper mood, then it belongs to Normal mood.
Optionally, in the present embodiment, it includes: open state that the switch state of target lockset, which can be, but not limited to, is closed State, alert status, alarm condition etc..Such as: open state can be the lock core of opening target lockset, and closed state can be with To keep the lock core of target lockset to close, alert status can be shape while keeping lock core to close into a pre-alarm State can persistently detect the emotional information of target object in this state, if target object be constantly in it is improper Mood in, then switch to alarm condition and carry out alarm operation, can be with opening lock master if the mood of target object switchs to normally Or carry out confirmation operation.Alarm condition, which can be, carries out alarm operation while keeping lock core to close.
In an optional embodiment, by taking target lockset executes the control method of above-mentioned lockset as an example, such as Fig. 3 institute Show, the equipment such as camera, Mike of target lockset collect the characteristic information of target object, and characteristic information is sent to processing Device, processor extract the first emotional information from characteristic information, determine type of emotion belonging to the first emotional information, and according to Type of emotion belonging to one emotional information generates control information, and processor is sent to lock core module for information is controlled to control lock core The switch state of module.
As it can be seen that through the above steps, being extracted from the characteristic information of the target object got and being used to indicate target pair As the first emotional information of the emotional state being presently in, mood class belonging to the current emotional state further according to target object Type controls the switch state of target lockset, such as: target object current emotional states are abnormal, are not turned on target lock Tool etc., so as to, using the current emotional state of target object as reference factor, expand when controlling target lockset The dimension for having opened up identification, using information more abundant as the influence factor of control lockset switch state, to realize raising The technical effect of the safety of intelligent lock, and then the lower technology of safety for solving intelligent lock in the related technology is asked Topic.
As a kind of optional scheme, the switch shape of target lockset is controlled according to type of emotion belonging to the first emotional information State includes:
S1 in the case that the type of emotion belonging to the first emotional information is the first type of emotion, is controlled at target lockset In closed state.
Optionally, in the present embodiment, the first type of emotion can be, but not limited to as that may indicate that target object is forced out It opens target lockset (for example be held as a hostage, be forced to etc.) or target object malice opens target lockset (such as thief, robber etc. Deng) type of emotion, such as: it is frightened, nervous, alarmed etc..
Through the above steps, it if the first emotional information belongs to the first type of emotion, is closed in control target lockset, from And the safety for the object that lockset is protected is ensured.
As a kind of optional scheme, in the control target lockset of the type of emotion according to belonging to first emotional information After switch state, the method also includes:
S1 obtains the second emotional information of target object, wherein the second emotional information is used to indicate mesh in the given time Mark object locating emotional state in the given time;
S2 detects type of emotion belonging to the second emotional information;
S3 is executed and operation corresponding to type of emotion belonging to the second emotional information.
Optionally, in the present embodiment, the predetermined time can be independently arranged as needed by user.For example it is set as 1 point Clock, 30 seconds, 5 minutes etc..
In above-mentioned optional embodiment, as shown in figure 4, the first emotional information instruction target object is in fear Under emotional state, then type of emotion belonging to first emotional information is the first type of emotion, and processor controls at lock core module In closed state (as shown in runic solid box " closing " printed words in Fig. 4), and the of target object is persistently obtained in one minute Two emotional informations, processor detect type of emotion belonging to the second emotional information, and execute and feelings belonging to the second emotional information Operation corresponding to thread type.
Through the above steps, it if the first emotional information belongs to the first type of emotion, is closed in control target lockset Meanwhile the emotional state of target object is persistently obtained in the given time, and the mood according to target object in the given time Type of emotion belonging to state executes corresponding operation, and alert status can be entered when the mood of target object is abnormal, Corresponding operation is executed according to emotional change of the target object within the next predetermined time, to ensure target lockset Safety.
As a kind of optional scheme, execution includes: with operation corresponding to type of emotion belonging to the second emotional information
S1, the type of emotion belonging to the second emotional information are converted to the second feelings by the first type of emotion in the given time In the case where thread type, the first confirmation message is sent to the corresponding client of target lockset, wherein the first confirmation message is for asking Client is asked to be confirmed whether to open target lockset;
The case where S2, the type of emotion belonging to the second emotional information is always in the given time the first type of emotion Under, warning message is sent to predetermined recipient.
Optionally, in the present embodiment, the second type of emotion can be, but not limited to be the feelings in addition to the first type of emotion Thread, that is to say, that the improper mood such as frightened, nervous, alarmed can be determined as the first type of emotion, then in addition to these feelings Mood except thread, such as: the moods such as happy, happiness, sadness belong to the second type of emotion.
Optionally, in the present embodiment, if the mood of target object is converted by the first type of emotion in the given time For the second type of emotion, then the first confirmation message is sent to the corresponding client of target lockset, determined whether by client for mesh Object is marked to open the door.If target object is constantly in the emotional state of the first type of emotion in the given time, alarm.
Optionally, in the present embodiment, target lockset can be, but not limited to the client corresponding by cloud server End connection.Such as: if the mood of unlocking person is converted to calmness by fear in the given time, cloud server can be passed through The first confirmation message is sent to the corresponding client of target lockset, is determined whether to open target lockset for unlocking person by client.
Optionally, in the present embodiment, predetermined recipient is the scheduled object for receiving alarm.Such as: can with but it is unlimited Then the police, security department, public organization, Property Mgmt Dept etc..
In above-mentioned optional embodiment, as shown in figure 5, being turned in one minute by frightened mood in the second emotional information In the case where being changed to the normal mood such as tranquil mood or happy mood, the first confirmation is sent to the corresponding client of target lockset Information is confirmed whether to open target lockset with requesting client.In the second emotional information always in frightened feelings in one minute Thread or in the case where being converted to the moods such as nervous, flurried by frightened mood, sends warning message to the police.
As a kind of optional scheme, sending the first confirmation message to the corresponding client of target lockset includes:
S1 extracts identity information from characteristic information, wherein identity information is used to indicate identity class belonging to target object Type;
S2, in the case that the identity type belonging to identity information is used to indicate target object is the first identity type, to The corresponding client of target lockset sends the first confirmation message for carrying identity information, wherein the first identity type is for referring to Show that target object and target lockset have binding relationship;
S3, in the case that the identity type belonging to identity information is used to indicate target object is the second identity type, to The corresponding client of target lockset sends the first confirmation message for carrying identity information and the first instruction information, wherein second Identity type is used to indicate target object and target lockset does not have binding relationship, and the first instruction information is used to indicate the second mood The type of emotion of information is converted to the second type of emotion by the first type of emotion in the given time.
Optionally, in the present embodiment, the first identity type is used to indicate target object and target lockset has binding and closes System, for example, the first identity type can be, but not limited to for indicating that target object is the owner of target lockset, the master of target lockset People can be one or more people, user can in the corresponding client of target lockset to target lockset and identity information into Row binding, user input identity information, and selecting the corresponding identity of the identity information is mastership, then completes identity information and mesh Mark the binding of lockset.
Optionally, in the present embodiment, the second identity type is used to indicate target object and target lockset does not have binding Relationship, for example, the second identity type can be, but not limited to for indicating target object not be the owner of target lockset, it may be possible to footpath between fields Friend, the relative etc. of stranger either owner, if it is stranger, then its identity information identified is the label of stranger, It if it is the kith and kin of owner, then will record in the database, the identity information of target object, user can be in target lockset To the identity information of input kith and kin in corresponding client, and label is selected for it, user inputs identity information, selects the identity The corresponding identity of information is that friend perhaps the identity of relative or also can choose more specifical identity label, such as parent, Brother, sister, colleague, classmate etc., database will record the corresponding relationship of identity information and identity label, when target lockset is examined Its identity label is just able to confirm that when measuring these identity informations.Identity information and instruction information can be carried in the first confirmation It is sent to client in information, indicates that identity label, such as stranger, relative, friend etc., client can be carried in information Operator can according to instruction information and identity information be confirmed whether it is target object open target lockset.
Through the above steps, different letters is carried in the first confirmation message according to the different identity types of target object Breath, can make the operator of client understand the identity of current unlocking person, and determine whether pair of really target lockset binding As unlocking, the safety of intelligent lock is thereby further ensured that.
It is also wrapped after sending the first confirmation message to the corresponding client of target lockset as a kind of optional scheme It includes:
S1 receives the first feedback information that the first confirmation message of client end response is sent;
S2, in the case where the first feedback information is used to indicate confirmation and opens target lockset, control target lockset, which is in, to be opened State is opened, and the second indication information for carrying third emotional information is sent to Intelligent target equipment, wherein third mood letter Breath is used to indicate the target object emotional state locating when target lockset is opened, and second indication information is used to indicate Intelligent target Equipment pushes resource to target object according to third emotional information;
S3, in the case where the first feedback information is used to indicate and is not turned on target lockset, control target lockset, which is in, is closed State.
Optionally, in the present embodiment, Intelligent target equipment can be, but not limited to include: intelligent electronic device (intelligent sound Case, smart television, smart projector etc.), smart home device (intelligent sofa, intelligent curtain, Intelligent air purifier, intelligence Energy water purifier etc.).
Optionally, in the present embodiment, target lockset can be, but not limited to through cloud server and Intelligent target equipment Connection.Such as: when opening target lockset, it will carry and be used to indicate the target object mood locating when target lockset is opened The second indication information of the third emotional information of state is sent to Intelligent target equipment by cloud server, to indicate target intelligence Energy equipment pushes resource to target object according to third emotional information.
Optionally, in the present embodiment, Intelligent target equipment can be, but not limited to be obtained from cloud server to target pair As the resource of push.Its corresponding resources bank can be stored for each target object in cloud server, cloud server can also Intelligent target is transmitted to obtain resource from network with the server or the network connection that are used to provide resource with other Equipment.
Optionally, in the present embodiment, when opening target lockset for target object, at the same by target object it is current the Three emotional informations are sent to Intelligent target equipment, so that the emotional state that Intelligent target equipment can be current according to target object Resource is pushed for target object.Such as: if happy when the current mood of target object, intelligent sound box can play for it The resources such as happy music, broadcasting cross-talk, talk show.If the current mood of target object be it is sad, intelligent sound box can be with The TV programme of adjusting mood can be played for it by playing the music cured, smart television for it.
As a kind of optional scheme, the switch shape of target lockset is controlled according to type of emotion belonging to the first emotional information State includes:
S1 is mentioned from characteristic information in the case that the type of emotion belonging to the first emotional information is the second type of emotion Take identity information, wherein identity information is used to indicate identity type belonging to target object;
S2, in the case that the identity type belonging to identity information is used to indicate target object is the first identity type, control Target lockset processed is in the open state, and the third for carrying the first emotional information instruction information is sent to Intelligent target and is set It is standby, wherein the first identity type is used to indicate target object and target lockset has binding relationship, and third instruction information is for referring to Show that Intelligent target equipment pushes resource to target object according to the first emotional information;
S3, in the case that the identity type belonging to identity information is used to indicate target object is the second identity type, to The corresponding client of target lockset sends the second confirmation message for carrying identity information, wherein the second identity type is for referring to Show that target object and target lockset do not have binding relationship, the second confirmation message is confirmed whether to open target for requesting client Lockset.
Optionally, in the present embodiment, the second type of emotion can refer to all emotional states in addition to the first type of emotion. If the type of emotion of the first emotional information of target object is the second type of emotion, carried out according to its identity information corresponding Operation opens target lockset if target object is the first identity type for it, and indicate Intelligent target equipment according to its feelings Thread information pushes resource for it, if target object is the second identity type, notifies client, is confirmed whether it is by client It opens target lockset.
As a kind of optional scheme, the second of identity information is carried really sending to the corresponding client of target lockset Recognize after information, further includes:
S1 receives the second feedback information that the second confirmation message of client end response is sent;
S2, in the case where the second feedback information is used to indicate confirmation and opens target lockset, control target lockset, which is in, to be opened State is opened, and the 4th instruction information for carrying the first emotional information is sent to Intelligent target equipment, wherein the 4th instruction letter Breath is used to indicate Intelligent target equipment and pushes resource to target object according to the first emotional information;
S3, in the case where the second feedback information is used to indicate and is not turned on target lockset, control target lockset, which is in, is closed State
Optionally, in the present embodiment, if client is confirmed as target object and opens target lockset, in control target While lockset is opened, instruction Intelligent target equipment pushes resource according to the current emotional information of target object for it.
Optionally, in the present embodiment, it if client confirmation is not turned on target lockset, controls target lockset and is in pass Closed state.
As a kind of optional scheme, determine that type of emotion belonging to the first emotional information includes:
S1 matches the first emotional information with target emotion information;
S2 is determined belonging to the first emotional information under the first emotional information and the successful situation of target emotion information matches Type of emotion be the first type of emotion;
S3 is determined belonging to the first emotional information in the case where the first emotional information and the failure of target emotion information matches Type of emotion be the second type of emotion.
Optionally, in the present embodiment, target emotion information can be configured, using target emotion information as the first mood class Type is matched using the first emotional information with target emotion information, if successful match, it is determined that the feelings of the first emotional information Thread type is the first type of emotion, if it fails to match, it is determined that the type of emotion of the first emotional information is the second type of emotion.
Such as: the feature that the improper mood such as alarmed, nervous, frightened can be set is target emotion information, uses the One emotional information is matched with target emotion information, if successful match, it is determined that the type of emotion of the first emotional information is First type of emotion, if it fails to match, it is determined that the type of emotion of the first emotional information is the second type of emotion, can also be into One step determines specific emotional state indicated by the first emotional information, to indicate Intelligent target equipment according to specific mood shape State is the resource that target object push meets its emotional state.
As a kind of optional scheme, the characteristic information for obtaining target object includes:
S1, the voiceprint of detected target object and the facial information of target object;
Voiceprint is determined as the characteristic information of target object in the case where detecting voiceprint by S2;
Facial information is determined as the characteristic information of target object in the case where detecting facial information by S3;
Voiceprint and facial information are determined as target in the case where detecting voiceprint and facial information by S4 The characteristic information of object;
S5, in the case where voiceprint is not detected and facial information is not detected, to the corresponding client of target lockset End sends third confirmation message, wherein third confirmation message is confirmed whether to open target lockset for requesting client.
Optionally, in the present embodiment, characteristic information can be, but not limited to include voiceprint and/or facial information, such as Fruit only detects a kind of information, then a kind of information that will test is as characteristic information, will inspection if detecting much information The much information measured is as characteristic information, if failing to detect information, is confirmed whether to open target lockset by client.
As a kind of optional scheme, in the case where voiceprint and facial information are determined as characteristic information, from spy Extracting the first emotional information in reference breath includes:
S1 extracts sound emotional information from voiceprint, and facial emotions information is extracted from facial information;
S2, the emotional state and facial emotions information that the target object indicated by sound emotional information is presently in are signified Under the emotional state unanimous circumstances that the target object shown is presently in, sound emotional information and facial emotions information are determined as First emotional information;
S3, the emotional state and facial emotions information that the target object indicated by sound emotional information is presently in are signified In the case that the emotional state that the target object shown is presently in is inconsistent, the 4th is sent really to the corresponding client of target lockset Recognize information, wherein the 4th confirmation message is confirmed whether to open target lockset for requesting client.
It optionally, in the present embodiment, can be in the case where voiceprint and facial information are determined as characteristic information Confirm whether much information be directed toward by the process of consistency checking is same mood, if it is, by much information Indicate that the content of mood is determined as the first emotional information, if it is not, then being confirmed whether to open target lockset by client.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Other side according to an embodiment of the present invention additionally provides a kind of for implementing the control method of above-mentioned lockset The control device of lockset, as shown in fig. 6, the device includes:
Module 62 is obtained, for obtaining the characteristic information of target object;
Extraction module 64, for extracting the first emotional information from characteristic information, wherein the first emotional information is used to indicate The emotional state that target object is presently in;
Determining module 66, for determining type of emotion belonging to the first emotional information;
First control module 68, the switch shape for the control target lockset of the type of emotion according to belonging to the first emotional information State.
It should be noted that the control device of lockset provided in an embodiment of the present invention can be applied to data processing energy The electronic equipment of power, the electronic equipment may be the server of network side setting, it is also possible to PC (individual's meter of user side setting Calculation machine) etc. terminal devices;The electronic equipment can pass through the control device of load function and lockset provided by the embodiments of the present application Corresponding program implements the control device of lockset provided by the embodiments of the present application, which can store depositing in calculating equipment In reservoir, and is called by processor and realize program function.
Optionally, in the present embodiment, above-mentioned terminal device can be, but not limited to as above-mentioned target lockset, or can also be with But it is not limited to the controller for controlling above-mentioned target lockset.
Optionally, in the present embodiment, the control device of above-mentioned lockset can be applied to electronic equipment as shown in Figure 2 In 202 hardware environment constituted.As shown in Fig. 2, electronic equipment 202 obtains the characteristic information of target object;From characteristic information The first emotional information of middle extraction, wherein the first emotional information is used to indicate the emotional state that target object is presently in;Determine Type of emotion belonging to one emotional information;The switch shape of target lockset is controlled according to type of emotion belonging to the first emotional information State.
Optionally, in the present embodiment, the control device of above-mentioned lockset can be, but not limited to be applied to target lockset into In the scene of row control.Wherein, above-mentioned target lockset can be, but not limited to the lockset to assemble in various things, for example, door lock, Safe box lock, drawer-lock, trunk lock etc..Specifically, can be, but not limited to be applied to control to above-mentioned door lock Scene in, or can with but be not limited to be applied in the scene controlled above-mentioned safe box lock, to improve intelligence The safety of lockset.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
Optionally, in the present embodiment, above-mentioned target object can be, but not limited to include: in target lockset detection range Object is try to open the object etc. of target lockset.Above-mentioned target object can be, but not limited to be the mankind or other What biology.
Optionally, in the present embodiment, characteristic information can be, but not limited to include various forms of features.Such as: sound Feature, facial characteristics etc. biological characteristic.
Optionally, in the present embodiment, above-mentioned emotional state can be, but not limited to include: it is happy, happy, sad, frightened, In alarm, anxiety etc..First emotional information be extracted from characteristic information can characterize target object current emotional states Feature.Such as: the information of the speech intonation extracted from sound characteristic, that identifies from sound characteristic is used to indicate feelings The semantic information of not-ready status, expression information extracted from facial characteristics etc..
Optionally, in the present embodiment, above-mentioned target lockset can be, but not limited to unlock by least one following information: Finger print information, voice messaging, iris information, facial information, character information, key etc..Receiving the above-mentioned of target object It can be determined whether to open target lockset for it according to the first emotional information of target object after information.
Optionally, in the present embodiment, type of emotion can be, but not limited to be divided into two classes, and one kind is normal mood, and one Class is improper mood (frightened, alarmed, anxiety etc.), and when the first emotional information is not belonging to improper mood, then it belongs to Normal mood.
Optionally, in the present embodiment, it includes: open state that the switch state of target lockset, which can be, but not limited to, is closed State, alert status, alarm condition etc..Such as: open state can be the lock core of opening target lockset, and closed state can be with To keep the lock core of target lockset to close, alert status can be shape while keeping lock core to close into a pre-alarm State can persistently detect the emotional information of target object in this state, if target object be constantly in it is improper Mood in, then switch to alarm condition and carry out alarm operation, can be with opening lock master if the mood of target object switchs to normally Or carry out confirmation operation.Alarm condition, which can be, carries out alarm operation while keeping lock core to close.
In an optional embodiment, by taking target lockset is the control device of above-mentioned lockset as an example, as shown in figure 3, The equipment such as camera, the Mike of target lockset collect the characteristic information of target object, and characteristic information is sent to processor, place Reason device extracts the first emotional information from characteristic information, determines type of emotion belonging to the first emotional information, and according to the first feelings Type of emotion belonging to thread information generates control information, and processor is sent to lock core module for information is controlled to control lock core module Switch state.
As it can be seen that being extracted from the characteristic information of the target object got by above-mentioned apparatus and being used to indicate target pair As the first emotional information of the emotional state being presently in, mood class belonging to the current emotional state further according to target object Type controls the switch state of target lockset, such as: target object current emotional states are abnormal, are not turned on target lock Tool etc., so as to, using the current emotional state of target object as reference factor, expand when controlling target lockset The dimension for having opened up identification, using information more abundant as the influence factor of control lockset switch state, to realize raising The technical effect of the safety of intelligent lock, and then the lower technology of safety for solving intelligent lock in the related technology is asked Topic.
As a kind of optional scheme, the first control module includes:
First control unit, for the type of emotion belonging to the first emotional information be the first type of emotion in the case where, Control target lockset is in close state.
Optionally, in the present embodiment, the first type of emotion can be, but not limited to as that may indicate that target object is forced out It opens target lockset (for example be held as a hostage, be forced to etc.) or target object malice opens target lockset (such as thief, robber etc. Deng) type of emotion, such as: it is frightened, nervous, alarmed etc..
By above-mentioned apparatus, if the first emotional information belongs to the first type of emotion, closed in control target lockset, from And the safety for the object that lockset is protected is ensured.
As a kind of optional scheme, the first control module further include:
Acquiring unit, for obtaining the second emotional information of target object in the given time, wherein the second emotional information It is used to indicate target object locating emotional state in the given time;
First detection unit, for detecting type of emotion belonging to the second emotional information;
Execution unit, for executing and operation corresponding to type of emotion belonging to the second emotional information.
Optionally, in the present embodiment, the predetermined time can be independently arranged as needed by user.For example it is set as 1 point Clock, 30 seconds, 5 minutes etc..
In above-mentioned optional embodiment, as shown in figure 4, the first emotional information instruction target object is in fear Under emotional state, then type of emotion belonging to first emotional information is the first type of emotion, and processor controls at lock core module In closed state, and the second emotional information of target object is persistently obtained in one minute, processor detects the second emotional information Affiliated type of emotion, and execute and operation corresponding to type of emotion belonging to the second emotional information.
By above-mentioned apparatus, if the first emotional information belongs to the first type of emotion, closed in control target lockset Meanwhile the emotional state of target object is persistently obtained in the given time, and the mood according to target object in the given time Type of emotion belonging to state executes corresponding operation, and alert status can be entered when the mood of target object is abnormal, Corresponding operation is executed according to emotional change of the target object within the next predetermined time, to ensure target lockset Safety.
As a kind of optional scheme, execution unit includes:
First transmission sub-unit, for the type of emotion belonging to the second emotional information in the given time by the first mood In the case that type is converted to the second type of emotion, the first confirmation message is sent to the corresponding client of target lockset, wherein the One confirmation message is confirmed whether to open target lockset for requesting client;
Second transmission sub-unit is always first for the type of emotion belonging to the second emotional information in the given time In the case where type of emotion, warning message is sent to predetermined recipient.
Optionally, in the present embodiment, the second type of emotion can be, but not limited to be the feelings in addition to the first type of emotion Thread, that is to say, that the improper mood such as frightened, nervous, alarmed can be determined as the first type of emotion, then in addition to these feelings Mood except thread, such as: the moods such as happy, happiness, sadness belong to the second type of emotion.
Optionally, in the present embodiment, if the mood of target object is converted by the first type of emotion in the given time For the second type of emotion, then the first confirmation message is sent to the corresponding client of target lockset, determined whether by client for mesh Object is marked to open the door.If target object is constantly in the emotional state of the first type of emotion in the given time, alarm.
Optionally, in the present embodiment, target lockset can be, but not limited to the client corresponding by cloud server End connection.Such as: if the mood of unlocking person is converted to calmness by fear in the given time, cloud server can be passed through The first confirmation message is sent to the corresponding client of target lockset, is determined whether to open target lockset for unlocking person by client.
Optionally, in the present embodiment, predetermined recipient is the scheduled object for receiving alarm.Such as: can with but it is unlimited Then the police, security department, public organization, Property Mgmt Dept etc..
In above-mentioned optional embodiment, as shown in figure 5, being turned in one minute by frightened mood in the second emotional information In the case where being changed to the normal mood such as tranquil mood or happy mood, the first confirmation is sent to the corresponding client of target lockset Information is confirmed whether to open target lockset with requesting client.In the second emotional information always in frightened feelings in one minute Thread or in the case where being converted to the moods such as nervous, flurried by frightened mood, sends warning message to the police.
As a kind of optional scheme, the first transmission sub-unit is used for:
Identity information is extracted from characteristic information, wherein identity information is used to indicate identity type belonging to target object;
In the case that the identity type belonging to identity information is used to indicate target object is the first identity type, to target The corresponding client of lockset sends the first confirmation message for carrying identity information, wherein the first identity type is used to indicate mesh Mark object and target lockset have binding relationship;
In the case that the identity type belonging to identity information is used to indicate target object is the second identity type, to target The corresponding client of lockset sends the first confirmation message for carrying identity information and the first instruction information, wherein the second identity Type is used to indicate target object and target lockset does not have binding relationship, and the first instruction information is used to indicate the second emotional information Type of emotion the second type of emotion is converted to by the first type of emotion in the given time.
Optionally, in the present embodiment, the first identity type is used to indicate target object and target lockset has binding and closes System, for example, the first identity type can be, but not limited to for indicating that target object is the owner of target lockset, the master of target lockset People can be one or more people, user can in the corresponding client of target lockset to target lockset and identity information into Row binding, user input identity information, and selecting the corresponding identity of the identity information is mastership, then completes identity information and mesh Mark the binding of lockset.
Optionally, in the present embodiment, the second identity type is used to indicate target object and target lockset does not have binding Relationship, for example, the second identity type can be, but not limited to for indicating target object not be the owner of target lockset, it may be possible to footpath between fields Friend, the relative etc. of stranger either owner, if it is stranger, then its identity information identified is the label of stranger, It if it is the kith and kin of owner, then will record in the database, the identity information of target object, user can be in target lockset To the identity information of input kith and kin in corresponding client, and label is selected for it, user inputs identity information, selects the identity The corresponding identity of information is that friend perhaps the identity of relative or also can choose more specifical identity label, such as parent, Brother, sister, colleague, classmate etc., database will record the corresponding relationship of identity information and identity label, when target lockset is examined Its identity label is just able to confirm that when measuring these identity informations.Identity information and instruction information can be carried in the first confirmation It is sent to client in information, indicates that identity label, such as stranger, relative, friend etc., client can be carried in information Operator can according to instruction information and identity information be confirmed whether it is target object open target lockset.
By above-mentioned apparatus, different letters is carried in the first confirmation message according to the different identity types of target object Breath, can make the operator of client understand the identity of current unlocking person, and determine whether pair of really target lockset binding As unlocking, the safety of intelligent lock is thereby further ensured that.
As a kind of optional scheme, after sending the first confirmation message to the corresponding client of target lockset, device Further include:
First receiving module, for receiving the first feedback information of the first confirmation message of client end response transmission;
First processing module, for controlling in the case where the first feedback information is used to indicate confirmation and opens target lockset Target lockset is in the open state, and the second indication information for carrying third emotional information is sent to Intelligent target equipment, Wherein, third emotional information is used to indicate the target object emotional state locating when target lockset is opened, second indication information It is used to indicate Intelligent target equipment and resource is pushed to target object according to third emotional information;
Second control module, for controlling mesh in the case where the first feedback information is used to indicate and is not turned on target lockset Mark lockset is in close state.
Optionally, in the present embodiment, Intelligent target equipment can be, but not limited to include: intelligent electronic device (intelligent sound Case, smart television, smart projector etc.), smart home device (intelligent sofa, intelligent curtain, Intelligent air purifier, intelligence Energy water purifier etc.).
Optionally, in the present embodiment, target lockset can be, but not limited to through cloud server and Intelligent target equipment Connection.Such as: when opening target lockset, it will carry and be used to indicate the target object mood locating when target lockset is opened The second indication information of the third emotional information of state is sent to Intelligent target equipment by cloud server, to indicate target intelligence Energy equipment pushes resource to target object according to third emotional information.
Optionally, in the present embodiment, Intelligent target equipment can be, but not limited to be obtained from cloud server to target pair As the resource of push.Its corresponding resources bank can be stored for each target object in cloud server, cloud server can also Intelligent target is transmitted to obtain resource from network with the server or the network connection that are used to provide resource with other Equipment.
Optionally, in the present embodiment, when opening target lockset for target object, at the same by target object it is current the Three emotional informations are sent to Intelligent target equipment, so that the emotional state that Intelligent target equipment can be current according to target object Resource is pushed for target object.Such as: if happy when the current mood of target object, intelligent sound box can play for it The resources such as happy music, broadcasting cross-talk, talk show.If the current mood of target object be it is sad, intelligent sound box can be with The TV programme of adjusting mood can be played for it by playing the music cured, smart television for it.
As a kind of optional scheme, the first control module includes:
First extraction unit, for the type of emotion belonging to the first emotional information be the second type of emotion in the case where, Identity information is extracted from characteristic information, wherein identity information is used to indicate identity type belonging to target object;
Processing unit is the first identity type for being used to indicate identity type belonging to target object in identity information In the case of, control target lockset is in the open state, and the third for carrying the first emotional information instruction information is sent to mesh Mark smart machine, wherein the first identity type is used to indicate target object and target lockset has binding relationship, third instruction letter Breath is used to indicate Intelligent target equipment and pushes resource to target object according to the first emotional information;
First transmission unit is the second identity class for being used to indicate identity type belonging to target object in identity information In the case where type, the second confirmation message for carrying identity information is sent to the corresponding client of target lockset, wherein the second body Part type is used to indicate target object and target lockset does not have binding relationship, and the second confirmation message confirms for requesting client Whether target lockset is opened.
Optionally, in the present embodiment, the second type of emotion can refer to all emotional states in addition to the first type of emotion. If the type of emotion of the first emotional information of target object is the second type of emotion, carried out according to its identity information corresponding Operation opens target lockset if target object is the first identity type for it, and indicate Intelligent target equipment according to its feelings Thread information pushes resource for it, if target object is the second identity type, notifies client, is confirmed whether it is by client It opens target lockset.
As a kind of optional scheme, the second of identity information is carried really sending to the corresponding client of target lockset Recognize after information, device further include:
Second receiving module, for receiving the second feedback information of the second confirmation message of client end response transmission;
Second processing module, for controlling in the case where the second feedback information is used to indicate confirmation and opens target lockset Target lockset is in the open state, and the 4th instruction information for carrying the first emotional information is sent to Intelligent target equipment, Wherein, the 4th instruction information is used to indicate Intelligent target equipment and pushes resource to target object according to the first emotional information;
Third control module, for controlling mesh in the case where the second feedback information is used to indicate and is not turned on target lockset Mark lockset is in close state.
Optionally, in the present embodiment, if client is confirmed as target object and opens target lockset, in control target While lockset is opened, instruction Intelligent target equipment pushes resource according to the current emotional information of target object for it.
Optionally, in the present embodiment, it if client confirmation is not turned on target lockset, controls target lockset and is in pass Closed state.
As a kind of optional scheme, determining module includes:
Matching unit, for matching the first emotional information with target emotion information;
First determination unit, in the first emotional information and the successful situation of target emotion information matches, determining the Type of emotion belonging to one emotional information is the first type of emotion;
Second determination unit, for determining the in the case where the first emotional information and the failure of target emotion information matches Type of emotion belonging to one emotional information is the second type of emotion.
Optionally, in the present embodiment, target emotion information can be configured, using target emotion information as the first mood class Type is matched using the first emotional information with target emotion information, if successful match, it is determined that the feelings of the first emotional information Thread type is the first type of emotion, if it fails to match, it is determined that the type of emotion of the first emotional information is the second type of emotion.
Such as: the feature that the improper mood such as alarmed, nervous, frightened can be set is target emotion information, uses the One emotional information is matched with target emotion information, if successful match, it is determined that the type of emotion of the first emotional information is First type of emotion, if it fails to match, it is determined that the type of emotion of the first emotional information is the second type of emotion, can also be into One step determines specific emotional state indicated by the first emotional information, to indicate Intelligent target equipment according to specific mood shape State is the resource that target object push meets its emotional state.
As a kind of optional scheme, obtaining module includes:
Second detection unit, for the voiceprint of detected target object and the facial information of target object;
Third determination unit, in the case where detecting voiceprint, voiceprint to be determined as target object Characteristic information;
4th determination unit, in the case where detecting facial information, facial information to be determined as target object Characteristic information;
5th determination unit, in the case where detecting voiceprint and facial information, by voiceprint and face Information is determined as the characteristic information of target object;
Second transmission unit, in the case where voiceprint is not detected and facial information is not detected, to target The corresponding client of lockset sends third confirmation message, wherein third confirmation message is confirmed whether to open for requesting client Target lockset.
Optionally, in the present embodiment, characteristic information can be, but not limited to include voiceprint and/or facial information, such as Fruit only detects a kind of information, then a kind of information that will test is as characteristic information, will inspection if detecting much information The much information measured is as characteristic information, if failing to detect information, is confirmed whether to open target lockset by client.
As a kind of optional scheme, extraction module includes:
Second extraction unit, in the case where voiceprint and facial information are determined as characteristic information, from vocal print Sound emotional information is extracted in information, and facial emotions information is extracted from facial information;
6th determination unit, the emotional state being presently in for the target object indicated by sound emotional information and face Under the emotional state unanimous circumstances that target object indicated by portion's emotional information is presently in, by sound emotional information and face Emotional information is determined as the first emotional information;
Third transmission unit, the emotional state being presently in for the target object indicated by sound emotional information and face In the case that the emotional state that target object indicated by portion's emotional information is presently in is inconsistent, to the corresponding visitor of target lockset Family end sends the 4th confirmation message, wherein the 4th confirmation message is confirmed whether to open target lockset for requesting client.
It optionally, in the present embodiment, can be in the case where voiceprint and facial information are determined as characteristic information Confirm whether much information be directed toward by the process of consistency checking is same mood, if it is, by much information Indicate that the content of mood is determined as the first emotional information, if it is not, then being confirmed whether to open target lockset by client.
The application environment of the embodiment of the present invention can be, but not limited to referring to the application environment in above-described embodiment, the present embodiment In this is repeated no more.The embodiment of the invention provides the optional tools of one kind of the connection method for implementing above-mentioned real time communication Body application example.
As a kind of optional embodiment, the control method of above-mentioned lockset can be, but not limited to be applied to as shown in Figure 7 In the scene controlled intelligent door lock.As shown in fig. 7, intelligent door lock can be corresponding client (APP) led to Letter, intelligent door lock can also be communicated with indoor smart machine, such as intelligent sound box.Intelligent door lock is in smart home Important a member can generate linkage effect with smart machines such as intelligent sound boxes.With popularizing for intelligent door lock, safety is received It is more and more to pay attention to.In this scene, it is based on vocal print/face recognition technology, Emotion identification is dissolved into intelligent door lock application In (if the people to open the door does not start enablings under frightened state, but enter alert status), and by the emotional state recognized and The content of the smart machines such as intelligent sound box is got through, and according to people and the emotional state of entering, the suitable content of active push, and then is promoted The Product Experience of the smart machines such as the safety of intelligent door lock and intelligent sound box.
By that can identify the ID and emotional state of the intelligent door lock of vocal print and face, record owner and its relative friend, In conjunction with personalization preferences, suitable content is pushed, forms a succession of interaction from family's entrance equipment to home.
Firstly, when someone opens the door door interlock switch can be triggered by vocal print/recognition of face enabling people and emotional state. As shown in table 1, if the emotional state for recognizing enabling people is improper state, enter alert status, if recognized The emotional state of enabling people be normal state, then different control is executed according to the different identity of enabling people and operated.
Table 1
Secondly, the emotional state recognized is synchronized to intelligent sound box, intelligent sound box backstage active root after enabling people enters According to emotional state and preference, suitable resource content is pushed.
In addition, if enabling people not instead of owner, relative friend/stranger invites visiting, can pass through master cellular phone APP confirms back pullout (BPO), and according to the emotional state of guest, pushes suitable content, wait owner to family.
Optionally, in the present embodiment, decision rule can be formulated for the identification of vocal print and face, as shown in table 2, such as Fruit only recognizes voiceprint and then determines according to voiceprint, determines if only recognizing face information according to face information, It is opened after being confirmed if vocal print and face all recognize and result is inconsistent or vocal print and face all do not recognize by APP Door.
Table 2
Identification information Determine
Only recognize voiceprint Determine according to voiceprint
Only recognize face information Determine according to face information
Vocal print and face all recognize and result is inconsistent APP confirms back pullout (BPO)
Vocal print and face all do not recognize APP confirms back pullout (BPO)
Optionally, in the present embodiment, for the technology of vocal print and recognition of face ID, technical principle is identical, substantially Matching confirmation is carried out by feature database and the feature recognized, the difference is that, the information of Application on Voiceprint Recognition is that the sound of people is (logical Often identified by audio graphics+intonation), recognition of face be face position characteristic point (recognize characteristic point distribution Information matches in feature and feature database judge).
Optionally, in the present embodiment, when passing through Application on Voiceprint Recognition emotional information, feelings can be identified by keywords semantics Thread judges user's emotion state for happiness if user has cried out sound " heartily today is good happy " on doorway by " happy " keyword.
Optionally, in the present embodiment, when passing through recognition of face mood, by facial expression recognition mood, equally it is By the principle of the distribution characteristics of characteristic point, user's emotion state is judged.
Optionally, in the present embodiment, alarm triggering device can be set in the lockhole of intelligent door lock, is recognizing out Door people doorway but emotional state is abnormal continue 1 minute after, warning device will be triggered, to cause alarm.
Optionally, in the present embodiment, it can also be recognized in conjunction with the user preference content library content and door lock of accumulation User emotion state is the suitable content of user's push by intelligent sound box.As shown in table 3, by taking music content as an example: if opened The emotional state of door people is the normal positive mood such as happy, excitement, then happy music is played for it, can be corresponding from enabling people Music is obtained in music store, and music can also be obtained from network.If the emotional state of enabling people be it is sad, disappointed etc. just Normal negative-morality then plays the music cured for it.
Table 3
Pass through the control process of above-mentioned intelligent door lock, on the one hand, intelligent door can be improved by the way that emotional state identification is added The application ductility of technology can be improved on the other hand by interacting with smart home device in the safety of lock system
Optionally, above-mentioned smart machine is applicable not only to intelligent sound box, it may also be used for smart television, smart projector etc. its His smart home device.
Optionally, in the present embodiment, mood is divided into normal and improper mood, be divided into just again in normal mood Negative-morality.This indicates a kind of example, can also classify according to the moods classification method such as PAD to mood, to intelligent lock Control process is similar to the aforementioned embodiment, repeats no more again.
Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing the electronics of the control of above-mentioned lockset Device, as shown in figure 8, the electronic device include: one or more (one is only shown in figure) processors 802, memory 804, Sensor 806, encoder 808 and transmitting device 810 are stored with computer program in the memory, which is set To execute the step in any of the above-described embodiment of the method by computer program.
Optionally, in the present embodiment, above-mentioned electronic device can be located in multiple network equipments of computer network At least one network equipment.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 obtains the characteristic information of target object;
S2 extracts the first emotional information from characteristic information, wherein it is current that the first emotional information is used to indicate target object Locating emotional state;
S3 determines type of emotion belonging to the first emotional information;
S4 controls the switch state of target lockset according to type of emotion belonging to the first emotional information.
Optionally, it will appreciated by the skilled person that structure shown in Fig. 8 is only to illustrate, electronic device can also To be smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet device The terminal devices such as (Mobile Internet Devices, MID), PAD.Fig. 8 it does not cause to the structure of above-mentioned electronic device It limits.For example, electronic device may also include more or less component (such as network interface, display device than shown in Fig. 8 Deng), or with the configuration different from shown in Fig. 8.
Wherein, memory 802 can be used for storing software program and module, such as the control of the lockset in the embodiment of the present invention Corresponding program instruction/the module of method and apparatus, processor 804 by the software program that is stored in memory 802 of operation with And module realizes the control method of above-mentioned target element thereby executing various function application and data processing.Memory 802 may include high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage device, Flash memory or other non-volatile solid state memories.In some instances, memory 802 can further comprise relative to processing The remotely located memory of device 804, these remote memories can pass through network connection to terminal.The example of above-mentioned network includes But be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 810 is used to that data to be received or sent via a network.Above-mentioned network specific example It may include cable network and wireless network.In an example, transmitting device 810 includes a network adapter (Network Interface Controller, NIC), can be connected by cable with other network equipments with router so as to interconnection Net or local area network are communicated.In an example, transmitting device 810 is radio frequency (Radio Frequency, RF) module, For wirelessly being communicated with internet.
Wherein, specifically, memory 802 is for storing application program.
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
S1 obtains the characteristic information of target object;
S2 extracts the first emotional information from characteristic information, wherein it is current that the first emotional information is used to indicate target object Locating emotional state;
S3 determines type of emotion belonging to the first emotional information;
S4 controls the switch state of target lockset according to type of emotion belonging to the first emotional information.
Optionally, storage medium is also configured to store for executing step included in the method in above-described embodiment Computer program, this is repeated no more in the present embodiment.
Optionally, in the present embodiment, those of ordinary skill in the art will appreciate that in the various methods of above-described embodiment All or part of the steps be that the relevant hardware of terminal device can be instructed to complete by program, the program can store in In one computer readable storage medium, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (14)

1. a kind of control method of lockset characterized by comprising
Obtain the characteristic information of target object;
The first emotional information is extracted from the characteristic information, wherein first emotional information is used to indicate the target pair As the emotional state being presently in;
Determine type of emotion belonging to first emotional information;
The switch state of target lockset is controlled according to type of emotion belonging to first emotional information.
2. the method according to claim 1, wherein the type of emotion control according to belonging to first emotional information The switch state for making the target lockset includes:
In the case that the type of emotion belonging to first emotional information is the first type of emotion, control at the target lockset In closed state.
3. according to the method described in claim 2, it is characterized in that, after controlling the target lockset and being in close state, The method also includes:
The second emotional information of the target object is obtained in the given time, wherein second emotional information is used to indicate Target object emotional state locating within the predetermined time;
Detect type of emotion belonging to second emotional information;
It executes and operation corresponding to type of emotion belonging to second emotional information.
4. according to the method described in claim 3, it is characterized in that, executing and type of emotion belonging to second emotional information Corresponding operation includes:
The type of emotion belonging to second emotional information is converted within the predetermined time by first type of emotion In the case where second type of emotion, the first confirmation message is sent to the corresponding client of the target lockset, wherein described first Confirmation message is for requesting the client to be confirmed whether to open the target lockset;
The type of emotion belonging to second emotional information is always first type of emotion within the predetermined time In the case of, warning message is sent to predetermined recipient.
5. according to the method described in claim 4, it is characterized in that, sending described the to the corresponding client of the target lockset One confirmation message includes:
Identity information is extracted from the characteristic information, wherein the identity information is used to indicate belonging to the target object Identity type;
In the case that the identity type belonging to the identity information is used to indicate the target object is the first identity type, to The corresponding client of the target lockset sends first confirmation message for carrying the identity information, wherein institute State that the first identity type is used to indicate the target object and the target lockset has binding relationship;
In the case that the identity type belonging to the identity information is used to indicate the target object is the second identity type, to The corresponding client of the target lockset, which is sent, carries described the first of the identity information and the first instruction information really Recognize information, wherein second identity type is used to indicate the target object and the target lockset does not have binding relationship, The first instruction information is used to indicate the type of emotion of second emotional information within the predetermined time by described first Type of emotion is converted to second type of emotion.
6. according to the method described in claim 4, it is characterized in that, sending first to the corresponding client of the target lockset After confirmation message, the method also includes:
Receive the first feedback information of the transmission of the first confirmation message described in the client end response;
In the case where first feedback information is used to indicate confirmation and opens the target lockset, control at the target lockset Intelligent target equipment is sent in open state, and by the second indication information for carrying third emotional information, wherein described Three emotional informations are used to indicate the target object emotional state locating when the target lockset is opened, second instruction Information is used to indicate the Intelligent target equipment and pushes resource to the target object according to the third emotional information;
In the case where first feedback information is used to indicate and is not turned on the target lockset, control
The target lockset is made to be in close state.
7. the method according to claim 1, wherein the type of emotion control according to belonging to first emotional information The switch state for making the target lockset includes:
In the case that the type of emotion belonging to first emotional information is the second type of emotion, mentioned from the characteristic information Take identity information, wherein the identity information is used to indicate identity type belonging to the target object;
In the case that the identity type belonging to the identity information is used to indicate the target object is the first identity type, control It makes the target lockset is in the open state, and the third for carrying first emotional information instruction information is sent to target Smart machine, wherein first identity type is used to indicate the target object and the target lockset has binding relationship, The third instruction information is used to indicate the Intelligent target equipment and is pushed away according to first emotional information to the target object Send resource;
In the case that the identity type belonging to the identity information is used to indicate the target object is the second identity type, to The corresponding client of the target lockset sends the second confirmation message for carrying the identity information, wherein second body Part type is used to indicate the target object and the target lockset does not have binding relationship, and second confirmation message is for asking The client is asked to be confirmed whether to open the target lockset.
8. the method according to the description of claim 7 is characterized in that being carried being sent to the corresponding client of the target lockset After having second confirmation message of the identity information, the method also includes:
Receive the second feedback information of the transmission of the second confirmation message described in the client end response;
In the case where second feedback information is used to indicate confirmation and opens the target lockset, control at the target lockset Intelligent target equipment is sent in open state, and by the 4th instruction information for carrying first emotional information, wherein institute It states the 4th and indicates that information is used to indicate the Intelligent target equipment and pushes according to first emotional information to the target object Resource;
In the case where second feedback information is used to indicate and is not turned on the target lockset, control
The target lockset is made to be in close state.
9. the method according to claim 1, wherein determining type of emotion packet belonging to first emotional information It includes:
First emotional information is matched with target emotion information;
Under first emotional information and the successful situation of target emotion information matches, determine belonging to first emotional information Type of emotion be the first type of emotion;
In the case where first emotional information and the failure of target emotion information matches, determine belonging to first emotional information Type of emotion be the second type of emotion.
10. the method according to claim 1, wherein the characteristic information for obtaining the target object includes:
Detect the voiceprint of the target object and the facial information of the target object;
In the case where detecting the voiceprint, the voiceprint is determined as to the characteristic information of the target object;
In the case where detecting the facial information, the facial information is determined as to the characteristic information of the target object;
It is in the case where detecting the voiceprint and the facial information, the voiceprint and the facial information is true It is set to the characteristic information of the target object;
It is corresponding to the target lockset in the case where the voiceprint is not detected and the facial information is not detected Client sends third confirmation message, wherein the third confirmation message is for requesting the client to be confirmed whether to open institute State target lockset.
11. according to the method described in claim 10, it is characterized in that, being determined by the voiceprint and the facial information In the case where for the characteristic information, the first emotional information is extracted from the characteristic information includes:
Sound emotional information is extracted from the voiceprint, and facial emotions information is extracted from the facial information;
The emotional state and the facial emotions that the target object indicated by the sound emotional information is presently in are believed Under the emotional state unanimous circumstances that the indicated target object of breath is presently in, by the sound emotional information and described Facial emotions information is determined as first emotional information;
The emotional state and the facial emotions that the target object indicated by the sound emotional information is presently in are believed In the case that the emotional state that the indicated target object of breath is presently in is inconsistent, to the corresponding visitor of the target lockset Family end sends the 4th confirmation message, wherein the 4th confirmation message is for requesting the client to be confirmed whether described in unlatching Target lockset.
12. a kind of control device of lockset characterized by comprising
Module is obtained, for obtaining the characteristic information of target object;
Extraction module, for extracting the first emotional information from the characteristic information, wherein first emotional information is for referring to Show the emotional state that the target object is presently in;
Determining module, for determining type of emotion belonging to first emotional information;
First control module, the switch shape for the control target lockset of the type of emotion according to belonging to first emotional information State.
13. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer Program is arranged to execute method described in any one of claims 1 to 10 when operation.
14. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory Sequence, the processor are arranged to execute side described in any one of claim 1 to 11 by the computer program Method.
CN201810899043.6A 2018-08-08 2018-08-08 Lock control method and device, storage medium and electronic device Active CN109118626B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810899043.6A CN109118626B (en) 2018-08-08 2018-08-08 Lock control method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810899043.6A CN109118626B (en) 2018-08-08 2018-08-08 Lock control method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN109118626A true CN109118626A (en) 2019-01-01
CN109118626B CN109118626B (en) 2022-09-13

Family

ID=64853006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810899043.6A Active CN109118626B (en) 2018-08-08 2018-08-08 Lock control method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN109118626B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110126723A (en) * 2019-05-08 2019-08-16 浙江大华技术股份有限公司 Lock control system, method, apparatus, storage medium and electronic device
CN111009241A (en) * 2019-07-29 2020-04-14 恒大智慧科技有限公司 Music playing method based on intelligent door lock and storage medium
CN111126244A (en) * 2019-12-20 2020-05-08 南京邮电大学 Security authentication system and method based on facial expressions
CN112634507A (en) * 2020-12-30 2021-04-09 重庆赤木科技有限公司 Safety access control management system for community

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090034522A (en) * 2007-10-04 2009-04-08 에스케이 텔레콤주식회사 Apparatus and method for user emotion status information provision
CN101414348A (en) * 2007-10-19 2009-04-22 三星电子株式会社 Method and system for identifying human face in multiple angles
CN101984453A (en) * 2010-11-02 2011-03-09 中国科学技术大学 Human eye recognition system and method
CN102975690A (en) * 2011-09-02 2013-03-20 上海博泰悦臻电子设备制造有限公司 Automobile locking system and method thereof
CN103079034A (en) * 2013-01-06 2013-05-01 北京百度网讯科技有限公司 Perception shooting method and system
CN103246869A (en) * 2013-04-19 2013-08-14 福建亿榕信息技术有限公司 Crime monitoring method based on face recognition technology and behavior and sound recognition
CN104102346A (en) * 2014-07-01 2014-10-15 华中科技大学 Household information acquisition and user emotion recognition equipment and working method thereof
CN104933827A (en) * 2015-06-11 2015-09-23 广东欧珀移动通信有限公司 Rotary camera-based alarm method and terminal
CN104951434A (en) * 2015-07-10 2015-09-30 沃民高新科技(北京)股份有限公司 Brand emotion determining method and device
CN104966344A (en) * 2015-07-17 2015-10-07 江西洪都航空工业集团有限责任公司 Security entrance guard system based on video
CN105528703A (en) * 2015-12-26 2016-04-27 上海孩子国科教设备有限公司 Method and system for implementing payment verification via expression
CN106730234A (en) * 2017-01-11 2017-05-31 上海北辰软件股份有限公司 A kind of intelligent mood persuasion system
CN106782545A (en) * 2016-12-16 2017-05-31 广州视源电子科技股份有限公司 A kind of system and method that audio, video data is changed into writing record
CN106846578A (en) * 2017-01-20 2017-06-13 贵州财经大学 Face identification system and gate control system
CN107392112A (en) * 2017-06-28 2017-11-24 中山职业技术学院 A kind of facial expression recognizing method and its intelligent lock system of application
CN107992739A (en) * 2017-11-30 2018-05-04 北京旷视科技有限公司 User authentication method, apparatus and system
CN107992199A (en) * 2017-12-19 2018-05-04 广东小天才科技有限公司 A kind of Emotion identification method, system and electronic equipment for electronic equipment
CN108039988A (en) * 2017-10-31 2018-05-15 珠海格力电器股份有限公司 Equipment control process method and device

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090034522A (en) * 2007-10-04 2009-04-08 에스케이 텔레콤주식회사 Apparatus and method for user emotion status information provision
CN101414348A (en) * 2007-10-19 2009-04-22 三星电子株式会社 Method and system for identifying human face in multiple angles
CN101984453A (en) * 2010-11-02 2011-03-09 中国科学技术大学 Human eye recognition system and method
CN102975690A (en) * 2011-09-02 2013-03-20 上海博泰悦臻电子设备制造有限公司 Automobile locking system and method thereof
CN103079034A (en) * 2013-01-06 2013-05-01 北京百度网讯科技有限公司 Perception shooting method and system
CN103246869A (en) * 2013-04-19 2013-08-14 福建亿榕信息技术有限公司 Crime monitoring method based on face recognition technology and behavior and sound recognition
CN104102346A (en) * 2014-07-01 2014-10-15 华中科技大学 Household information acquisition and user emotion recognition equipment and working method thereof
CN104933827A (en) * 2015-06-11 2015-09-23 广东欧珀移动通信有限公司 Rotary camera-based alarm method and terminal
CN104951434A (en) * 2015-07-10 2015-09-30 沃民高新科技(北京)股份有限公司 Brand emotion determining method and device
CN104966344A (en) * 2015-07-17 2015-10-07 江西洪都航空工业集团有限责任公司 Security entrance guard system based on video
CN105528703A (en) * 2015-12-26 2016-04-27 上海孩子国科教设备有限公司 Method and system for implementing payment verification via expression
CN106782545A (en) * 2016-12-16 2017-05-31 广州视源电子科技股份有限公司 A kind of system and method that audio, video data is changed into writing record
CN106730234A (en) * 2017-01-11 2017-05-31 上海北辰软件股份有限公司 A kind of intelligent mood persuasion system
CN106846578A (en) * 2017-01-20 2017-06-13 贵州财经大学 Face identification system and gate control system
CN107392112A (en) * 2017-06-28 2017-11-24 中山职业技术学院 A kind of facial expression recognizing method and its intelligent lock system of application
CN108039988A (en) * 2017-10-31 2018-05-15 珠海格力电器股份有限公司 Equipment control process method and device
CN107992739A (en) * 2017-11-30 2018-05-04 北京旷视科技有限公司 User authentication method, apparatus and system
CN107992199A (en) * 2017-12-19 2018-05-04 广东小天才科技有限公司 A kind of Emotion identification method, system and electronic equipment for electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110126723A (en) * 2019-05-08 2019-08-16 浙江大华技术股份有限公司 Lock control system, method, apparatus, storage medium and electronic device
CN111009241A (en) * 2019-07-29 2020-04-14 恒大智慧科技有限公司 Music playing method based on intelligent door lock and storage medium
CN111126244A (en) * 2019-12-20 2020-05-08 南京邮电大学 Security authentication system and method based on facial expressions
CN112634507A (en) * 2020-12-30 2021-04-09 重庆赤木科技有限公司 Safety access control management system for community

Also Published As

Publication number Publication date
CN109118626B (en) 2022-09-13

Similar Documents

Publication Publication Date Title
CN109118626A (en) Control method, device, storage medium and the electronic device of lockset
US11178275B2 (en) Method and apparatus for detecting abnormality of caller
CN103680497B (en) Speech recognition system and method based on video
CN104933827B (en) A kind of alarm method and terminal based on rotating camera
CN102890776B (en) The method that expression figure explanation is transferred by facial expression
CN110313152A (en) User's registration for intelligent assistant's computer
CN107992739A (en) User authentication method, apparatus and system
CN106504390A (en) Control method for door lock, apparatus and system
CN110598735B (en) Visitor information reminding method and device
CN109243026A (en) A kind of caller management method and system
CN106162073A (en) Communication equipment
CN106251874A (en) A kind of voice gate inhibition and quiet environment monitoring method and system
CN103067460A (en) Corrective biology identification long distance identity checking method towards judicial community
CN105629762B (en) The control device and method of smart home
CN109410386A (en) Unlocking processing method and processing device, storage medium, processor
CN108549848A (en) Method and apparatus for output information
CN110730330B (en) Sound processing method and device, doorbell and computer readable storage medium
Aggarwal et al. Voice based secured smart lock design for internet of medical things: An artificial intelligence approach
CN107958520A (en) The smart lock that a kind of vocal print bluetooth method for unlocking and application this method are opened
CN110930545A (en) Intelligent door lock control method, control device, control equipment and storage medium
CN110148234A (en) Campus brush face picks exchange method, storage medium and system
CN106056063A (en) Recognition and control system of robot
CN112061908B (en) Elevator control method and system
CN109960442A (en) Transmission method, device, storage medium and the electronic device of prompt information
KR20070112928A (en) Method and system to use the facilities using the rfid-tag

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant