The content of the invention
It is a primary object of the present invention to provide a kind of control method of intelligent door lock, intelligent door lock and Intelligent housing
System, it is intended to which the relevance for solving intelligent door lock and intelligent home device is poor, and then reduce the overall peace of user's domestic environment
The technical problem of full property.
To achieve the above object, the present invention provides a kind of control method of intelligent door lock, applied to intelligent domestic system
Intelligent door lock, the intelligent door lock is connected with the intelligent home device communication in intelligent domestic system, the control of the intelligent door lock
Method includes step:
Receive the authority information of user's input, judge the authority information and default security protection link authority information whether
Match somebody with somebody;
If so, security protection open command is then sent to the intelligent home device, to control the intelligent home device connecing
Receive startup security protection pattern after the security protection open command.
Preferably, also include after the step of authority information of the reception user input:
Judge whether the authority information matches with the default user right information for being used to open intelligent door lock;
If so, the clutch for then triggering the intelligent door lock is opened;
The step of whether authority information matches with default security protection linkage authority information judged if it is not, then performing.
Preferably, also include after the step of transmission security protection open command to intelligent home device:
The authority information of user's input is received again;
Judge the default security protection linkage authority information or the default user right for being used to open intelligent door lock
Whether information matches with the authority information received again;
If so, security protection out code is then sent to the intelligent home device, to control the intelligent home device connecing
Receive closing security protection pattern after the security protection out code.
Preferably, it is described to include the step of send security protection out code to the intelligent home device:
Security protection out code is sent to the intelligent home device, and triggers the clutch of the intelligent door lock and is opened.
Preferably, include after the step of intelligent home device starts or closes security protection pattern:
Send voice reminder information.
Preferably, it is described judge the step of whether authority information and default security protection linkage authority information match before
Also include:
Judge current time whether in pre-set interval;
If current time is in pre-set interval, execution judges the authority information and default security protection linkage authority letter
The step of whether breath matches.
Preferably, it is described judge the step of whether authority information and default security protection linkage authority information match before
Also include:
Obtain the operation note that intelligent door lock is performed according to the authority information of user's last time input;
When the operation note is to send security protection out code to the intelligent home device, described in the judgement
The step of whether authority information matches with default security protection linkage authority information;
When the operation note is to send security protection open command to the intelligent home device, security protection out code is sent
To the intelligent home device, to control the smart home to close security protection pattern after the security protection out code is received.
Preferably, the user right information includes:
One or more combinations in finger print information, encrypted message and the card image of user's typing.
In addition, to achieve the above object, the present invention also provides a kind of intelligent door lock, the intelligent door lock includes being used to receive
The information reading module of the authority information of user's input, the intelligent door lock also includes memory, processor and is stored in described
On memory and the control program of intelligent door lock that can run on the processor, the control program of the intelligent door lock is by institute
The step of control method of intelligent door lock as described above is realized when stating computing device.
In addition, to achieve the above object, the present invention also provides a kind of intelligent home control system, including intelligent home device
And intelligent door lock as described above;Wherein, the intelligent door lock is connected with intelligent home device communication.
Control method, intelligent door lock and the intelligent home control system for a kind of intelligent door lock that the embodiment of the present invention is proposed,
By receiving the authority information that user inputs, and judge the authority information and default security protection linkage authority information whether
Match somebody with somebody;If the authority information match with the default security protection linkage authority information, transmission security protection open command is to described
Intelligent home device, to control the intelligent home device to start security protection pattern after the security protection open command is received.
User's triggering intelligent door lock and intelligent door lock with security protection linkage user right communicate the basis being connected with intelligent home device
On, triggering intelligent door lock sends security protection open command to intelligent home device, makes intelligent home device automatic start security protection pattern,
The relevance of intelligent door lock and intelligent home device is enhanced, because overall intelligence house system can be sent according to intelligent door lock
Security protection open command open security protection pattern, therefore also strengthen the overall security of intelligent domestic system.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in figure 1, Fig. 1 is the hardware architecture diagram for the intelligent door lock that scheme of the embodiment of the present invention is related to.
Intelligent door lock 100 described in the embodiment of the present invention is a kind of smart home, in intelligent domestic system, and and intelligence
Intelligent home device communication connection in energy house system.The intelligent door lock 100 includes information reading module 10, communication module
20th, the part such as memory 30 and processor 40.It will be understood by those skilled in the art that the intelligent door lock shown in Fig. 1 may be used also
With including than illustrating more or less parts, either combining some parts or different parts arrangement.Wherein, the place
Reason device 40 is connected with the memory 30 and described information read module 10 respectively, and be stored with computer journey on the memory 30
Sequence, the computer program is performed by processor 40 simultaneously.Described information read module 10 is actively detected or passively receives user
The authority information of input, is then sent to the processor 40 by the authority information.
Communication module 20, can be connected by LAN or internet with intelligent home device and external communications equipment.Communication
Module 20 can send instructions to intelligent home device, can also receive information, instruction and the parameter of external communications equipment.It is described
External communications equipment can be the electronic equipments such as mobile phone, tablet personal computer and monitoring device.The intelligent home device can be empty
Tune, refrigerator, head and door status sensor etc..
Memory 30, available for storage software program and various data.Memory 30 can mainly include storing program area
And storage data field, wherein, the application program that storing program area can be needed for storage program area, at least one function (such as refers to
Make systematic function etc.) etc.;Storage data field can store data (such as key data, clutch required when intelligent door lock 100 is used
Device status data) etc..In addition, memory 30 can include high-speed random access memory, non-volatile memories can also be included
Device, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 40, is the control centre of intelligent door lock 100, utilizes various interfaces and the whole intelligent door lock of connection
100 various pieces, software program and/or module in memory 30 are stored in by operation or execution, and call storage
Data in memory 30, perform the various functions and processing data of intelligent door lock 100, so as to be carried out to intelligent door lock 100
Integral monitoring.Processor 40 may include one or more processing units;It is preferred that, processor 40 can integrated application processor and tune
Demodulation processor processed, wherein, application processor mainly handles operating system, user interface and application program etc., and modulatedemodulate is mediated
Reason device mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 40.
Although Fig. 1 is not shown, above-mentioned intelligent door lock 100 can also include circuit control module, for being connected with power supply,
Realize clutch break-make or realize the reading of authority information.
It will be understood by those skilled in the art that the intelligent door lock structure shown in Fig. 1 does not constitute the limit to intelligent door lock
It is fixed, it can include than illustrating more or less parts, either combine some parts or different parts arrangement.
Based on above-mentioned hardware configuration, each embodiment of the inventive method is proposed.
Reference picture 2, the present invention provides a kind of control method of intelligent door lock, the intelligent door applied to intelligent domestic system
Lock, the intelligent door lock is connected with intelligent home device communication, in the first embodiment, the control method bag of the intelligent door lock
Include:
Step S10, receives the authority information of user's input;
Step S20, judges whether the authority information matches with default security protection linkage authority information;If so, then performing
Step S30;
In the present embodiment, intelligent door lock can be connected by gateway with intelligent home device communication, the intelligent door lock
Directly it can also be connected by built-in communication module with the intelligent home device.The intelligent home device can be monitoring
Camera, door status sensor, humidity sensor, air-conditioning, refrigerator, humidifier, air purifier and coal gas detection device etc.;It is described
Intelligent door lock can support one or more combinations in fingerprint unlocking, password unlocking, card unlocking and key unlocking.Upper
On the basis of stating, the intelligent door lock also advance typing is exclusively used in the user right information of security protection linkage, when user is to intelligent door
Lock input authority information, the information reading module of the intelligent door lock have received the authority information of this user input, then intelligence
The processor of energy door lock will be read according to the default security protection linkage authority information stored in memory with described information read module
The authority information got is matched, specific matching way, can be in default security protection linkage authority information table
The authority information is inquired about to whether there is.
Step S30, sends security protection open command to the intelligent home device, to control the intelligent home device connecing
Receive startup security protection pattern after the security protection open command.
When default security protection linkage authority information is matched with the authority information, then it represents that input the use of the authority information
Family has security protection linkage authority, and after the match is successful, the intelligent door lock will send security protection open command by communication module
To the intelligent home device, the intelligent home device starts security protection pattern after the security protection open command is received.
It is following to be specifically described so that intelligent door lock is unlocked by fingerprint as an example, it is assumed that user A using the fingerprint of forefinger as
Unlocking fingerprint, using the fingerprint of little finger as the fingerprint with the user right for being exclusively used in security protection linkage, user B is by thumb
Fingerprint is as unlocking fingerprint, then accordingly, user A and user B can open intelligent door lock, and wherein user A passes through forefinger
Fingerprint is unlocked, and user B unlocked by thumb fingerprint, but the specifically related to control authority of security protection linkage, and only user A is to described
The fingerprint of intelligent door lock input little finger can just get the authority of the security protection linkage.In addition, when the default security protection
When the authority information that links is encrypted message, when pre-setting the user right information for being exclusively used in security protection linkage, it can set
One group of password for being exclusively used in security protection linkage is individually set again on the basis of door-opening password, the door-opening password and security protection is exclusively used in
The password of linkage is different.
It should be noted that when processor confirms that the authority information is matched with default security protection linkage authority information,
The clutch of intelligent door lock will not be acted, and remain in that original state.In addition, the reception of the authority information can be intelligent door
Lock individually control, its essence can not be connected with communication module, but serve triggering intelligent door lock transmission security protection open command extremely
The effect of intelligent home device.
In the present embodiment, including the security protection pattern of intelligent domestic system of intelligent door lock and intelligent home device can be
Pre-set, the content of specific security protection pattern can need specifically be set according to user, in the present embodiment, can be with
State of deploying troops on garrison duty is started by gateway control intelligent home device, such as user can be selectively by a variety of different household electrical appliances or tool
The equipment of standby safety protection function is added in an Internet of Things, and when security protection pattern is opened, the household electrical appliances or security device chosen will be opened
Open, for monitoring house data, such as environment temperature, ambient gas composition and user register one's residence situation.
The embodiment of the present invention judges the authority information and default security protection by receiving the authority information that user inputs
Whether linkage authority information matches;If so, security protection open command is then sent to the intelligent home device, to control the intelligence
Home equipment starts security protection pattern after the security protection open command is received.Therefore, strengthened by the security protection open command
Intelligent door lock and intelligent home device it is interactive, while individually set the user right information linked with security protection, and
After the match is successful in the default security protection linkage authority information and the authority information, then trigger sending for security protection instruction, energy
User misoperation is prevented, so as to enhance the overall security of user's domestic environment.
Alternatively, in one embodiment, the intelligent door lock can also be carried out by communication module and network with client
The two-way communication of data, for example, when confirming that default security protection linkage authority information is matched with the authority information, can also hold
Row judge whether to receive the client transmission that be connected with the intelligent door lock leave home status information the step of, when receiving
State when leaving home status information, retransmit security protection open command to the intelligent home device.
Specifically implementation procedure is:User can be first on the client by indoor design condition by default house shape before leaving home
State is changed to the state of leaving home manually, and client is after the status information of leaving home of user's modification is received, state that this can be left home letter
Breath is sent to intelligent door lock, when user gos out, after the clutch of intelligent door lock is closed, and user's input joins with default security protection
The authority information of dynamic authority information matching, now intelligent door lock transmission security protection open command makes intelligent family to intelligent home device
Occupy opening of device security protection pattern., whereas if authority information is when the match is successful, but intelligent door lock does not receive the client hair
The status information of leaving home sent, then after the clutch of intelligent door lock is closed, intelligent door lock does not send security protection open command to described
Intelligent home device, i.e., do not deploy troops on garrison duty intelligent home device now.It is to be understood that by judging to connect with intelligent door lock
Whether the client connect, which have sent, is left home status information and performs correlation step, can selectively open the peace of intelligent home device
Anti- pattern.
Further, reference picture 3, intelligent door of the present invention is proposed based on security protection inter-linked controlling method first embodiment of the present invention
The control method second embodiment of lock, in the present embodiment, also includes after the step S10:
Step S40, judge the authority information with it is default be used for open intelligent door lock user right information whether
Match somebody with somebody;If so, then performing step S50;If it is not, performing step S20;
Step S50, the clutch for triggering the intelligent door lock is opened.
It is to be understood that the basis of intelligent door lock security protection coordinated signals is the normally-open of guarantee intelligent door lock clutch
Or close, therefore as one kind of smart home, intelligent door lock also pre-sets the user right for opening intelligent door lock
Information.In the present embodiment, the default user right information and default security protection linkage authority for being used to open intelligent door lock
Information is necessarily different.It can be entered by the authority information for inputting the default authority information for opening intelligent door lock with user
Row matching, the match is successful, then it represents that the authority information is used to open intelligent door lock, is not intended to security protection linkage, intelligent door lock
The clutch of processor triggering intelligent door lock is opened.By judge authority information that user inputs with it is described default for opening
Whether the user right information of intelligent door lock matches and clutch is opened after the match is successful, it is ensured that intelligent door lock basic function
Realization, be that intelligent door lock security protection coordinated signals provide the foundation.
Further, reference picture 4, intelligent door of the present invention is proposed based on security protection inter-linked controlling method second embodiment of the present invention
The control method 3rd embodiment of lock, in the present embodiment, also includes after the step S30:
Step S60, receives the authority information of user's input again;
Step S70, judges the default security protection linkage authority information or described default for opening intelligent door lock
Whether user right information matches with the authority information received again;If so, then performing step S80;
Step S80, sends security protection out code to the intelligent home device, to control the intelligent home device connecing
Receive closing security protection pattern after the security protection out code.
Based on previous embodiment understand, when receive again user input authority information before, the peace of intelligent domestic system
Anti- pattern has been opened, and the security situation in man of resident family can be monitored in real time, when have user propose it is normal register one's residence application when, i.e., described intelligence
Energy door lock receives the authority information of user's input, and the authority information is used to open intelligence with being stored in advance in intelligent door lock
Door lock or be exclusively used in security protection linkage security protection linkage authority information matching when, then the intelligent door lock will send security protection out code
To intelligent home device, intelligent home device is set to release security protection pattern.In addition, sending security protection out code in the intelligent door lock
While to the intelligent home device, the clutch of the intelligent door lock can also be opened.It is this in intelligent domestic system
By receiving the scheme withdrawn a garrison after normal application of registering one's residence, the convenient intelligent family including intelligent door lock after the unlatching of security protection pattern
The timely adjustment modes of system are occupied, flexibility is high.
Alternatively, prompting message can also be sent to user when the security protection pattern is opened or security protection pattern is closed.Example
Such as, carry out closing the operation of security protection pattern after intelligent home device is receiving the security protection out code that the intelligent door lock is sent
When, the feedback of the information that security protection pattern is turned off by intelligent home device is to intelligent door lock, intelligent door lock voice message " security protection pattern
It is turned off ".By sending prompting message to user, user can be helped quickly to understand intelligent home device security protection pattern in time
Unlatching/closing situation.
Further, referring to Fig. 5, the first embodiment of the control method based on intelligent door lock of the present invention proposes intelligence of the present invention
The fourth embodiment of the control method of energy door lock, in the present embodiment, also includes before the step S20:
Whether step S90, judge current time in pre-set interval;If so, then performing S20.
For the control program further linked using the intelligent door lock and intelligent home device security protection, set in advance
Put security protection linkage authority information on the basis of, can also by the intelligent door lock obtain intelligent door lock residing for region when
Between, it is in when the time in pre-set interval, then the intelligent door lock, which will enter, judges that authority information is with security protection linkage authority information
The step of no matching.If current time is not in pre-set interval, the intelligent door lock can be not responding to, and can also keep intelligence
Door lock security protection pattern it is normally opened.Wherein described intelligent door lock obtains the mode of the time in region residing for the intelligent door lock can root
It is configured according to being actually needed, can is that intelligent door lock carries satellite fix, the longitude and latitude according to residing for the intelligent door lock navigated to,
It is determined that the current time, can also be the time for being presently in region for receiving that exterior terminal or client are sent, can also be
User's time set in advance.By the restriction of residing zone time, selectively setting security protection linkage authority information is effective
Property, make Intelligent housing mode more flexible.
Further, reference picture 6, the first embodiment of the control method based on intelligent door lock of the present invention proposes intelligence of the present invention
5th embodiment of the control method of energy door lock, in the present embodiment, the control method of the intelligent door lock includes:
Step S10, receives the authority information of user's input;
Step S100, obtains the operation note that intelligent door lock is performed according to the authority information of user's last time input;
Step S110, when the operation note is to send security protection open command to the intelligent home device, sends peace
Anti- out code is to the intelligent home device, to control the smart home to be closed after the security protection out code is received
Security protection pattern;
Step S21, in the operation note described in when sending security protection out code to the intelligent home device, judging
Whether authority information matches with default security protection linkage authority information;If so, then performing step S30;
Step S30, sends security protection open command to the intelligent home device, to control the intelligent home device connecing
Receive startup security protection pattern after the security protection open command.
In the present embodiment, after the authority information of user is received, the operation of last time intelligent door lock execution is also obtained
Record, the specific security protection state of current intelligent home device can be understood in time, if the operation note that is, last time performs is to send
Security protection out code to intelligent home device, then the security protection pattern of current intelligent home device is closed, and this needs to open security protection
Pattern;If the operation note is to send security protection open command, the security protection pattern of current intelligent home device is opened, this time
Need to close security protection pattern.Recorded by obtaining the command operating that previous door lock sends, the perfect control of security protection linkage pattern.
Referring once again to Fig. 1, in one embodiment, the present invention also proposes a kind of intelligent door lock 100, wherein the intelligent door
Lock 100 includes:Information reading module 10, communication module 20, memory 30, processor 40 and it is stored on the memory 30 simultaneously
The control program for the intelligent door lock that can be run on the processor 40.When the computer program is performed by the processor 40
The step of realizing the control method of intelligent door lock in any of the above-described embodiment, specifically includes:
Receive the authority information of user's input, judge the authority information and default security protection link authority information whether
Match somebody with somebody;
If so, security protection open command is then sent to the intelligent home device, to control the intelligent home device connecing
Receive startup security protection pattern after the security protection open command.
Further, also realized when the computer program is performed by processor 40:
Judge whether the authority information matches with the default user right information for being used to open intelligent door lock;
If so, the clutch for then triggering the intelligent door lock is opened;
The step of whether authority information matches with default security protection linkage authority information judged if it is not, then performing.
Further, also realized when the computer program is performed by processor 40:
The authority information of user's input is received again;
Judge the default security protection linkage authority information or the default user right for being used to open intelligent door lock
Whether information matches with the authority information received again;
If so, security protection out code is then sent to the intelligent home device, to control the intelligent home device connecing
Receive closing security protection pattern after the security protection out code.
Further, the computer program sends security protection out code to the smart home by the execution of processor 40 and set
Also realized during standby step:
Security protection out code is sent to the intelligent home device, and triggers the clutch of the intelligent door lock and is opened.
Further, also realized when the computer program is performed by processor 40:
Send voice reminder information.
Further, also realized when the computer program is performed by processor 40:
Judge current time whether in pre-set interval;
If current time is in pre-set interval, execution judges the authority information and default security protection linkage authority letter
The step of whether breath matches.
Further, also realized when the computer program is performed by processor 40:
Obtain the operation note that intelligent door lock is performed according to the authority information of user's last time input;
When the operation note is to send security protection out code to the intelligent home device, described in the judgement
The step of whether authority information matches with default security protection linkage authority information;
When the operation note is to send security protection open command to the intelligent home device, security protection out code is sent
To the intelligent home device, to control the smart home to close security protection pattern after the security protection out code is received.
Further, when the computer program is performed by processor 40, user right information therein is recorded including user
One or more combinations in the finger print information, encrypted message and the card image that enter.
In addition, to achieve the above object, the present invention also provides a kind of intelligent home control system, including intelligent home device
With intelligent door lock as described above, it is connected wherein the intelligent door lock is communicated with the intelligent home device.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or system including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or system institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the system of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone,
Computer, server, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.