Summary of the invention
The main object of the present invention is to provide a kind of smart lock to lock based reminding method and device, so that smart lock is locking it
Afterwards, when there is user to want to open the door by input authentication information outdoors, smart lock can be reminded to have locked in time.
The present invention proposes that smart lock locks based reminding method, comprising:
Obtain the authentication information for opening smart lock;
The instruction of the smart lock current state is judged according to authentication information triggering;
Judge whether smart lock is in the state of locking according to described instruction;
Prompt action is generated if so, not verifying authentication information and controlling specified parts.
Further, described to judge whether smart lock is in the step of locking state and includes: according to described instruction
Judge whether the detection switch being set on smart lock is pushed down by the lock tongue in back locking structure;
If so, determining that smart lock is in locks state.
Further, the smart lock includes communication apparatus, and the smart lock passes through the communication apparatus and mobile terminal
Communication connection, it is described not verify authentication information and control the step of specified parts generate prompt action, further includes:
Prompting message is sent to the mobile terminal by communication apparatus.
Further, before described the step of sending prompting message to mobile terminal by communication apparatus, comprising:
Judge whether the communication apparatus connect with the mobile terminal communication;
If it is not, then sending connection request to the mobile terminal;
The agreement connection request of the mobile terminal feedback is received by communication apparatus;
It controls the communication apparatus and mobile terminal establishes communication connection.
Further, after described the step of not verifying authentication information and controlling specified parts generation prompt action,
Include:
Judge whether to receive the instruction for releasing state of locking;
If so, controlling the smart lock releasing locks state.
Smart lock proposed by the present invention locks alarm set, comprising:
Acquiring unit, for obtaining the authentication information for opening smart lock;
Trigger unit, for judging the instruction of the smart lock current state according to authentication information triggering;
First judging unit, for judging whether smart lock is in the state of locking according to described instruction;
First execution unit refers to for when smart lock is in and locks state, then not verifying authentication information and controlling
Determine component and generates prompt action.
Further, the smart lock locks alarm set, and first judging unit includes:
Judgment module, for judging whether the detection switch being set on smart lock is pushed down by the lock tongue in back locking structure;
Determination module, when the detection switch for being set on smart lock when judgement is pushed down by the lock tongue in back locking structure,
Then determine that smart lock is in and locks state.
Further, the smart lock locks alarm set, and the smart lock includes communication apparatus, and the smart lock passes through
The communication apparatus is connect with mobile terminal communication, and first execution unit is also used to send prompting message by communication apparatus
To the mobile terminal.
Further, the smart lock locks alarm set, further includes:
Second judgment unit, for judging whether the communication apparatus connect with the mobile terminal communication;
Transmission unit, for when judging that the communication apparatus and the mobile terminal communication are not connected, then sending connection
It requests to the mobile terminal;
Receiving unit, for receiving the agreement connection request of the mobile terminal feedback by communication apparatus;
Second execution unit establishes communication connection for controlling the communication apparatus and mobile terminal.
Further, the smart lock locks alarm set, further includes:
Third judging unit receives the instruction for releasing state of locking for judging whether;
Third execution unit, for when receive release lock the instruction of state when, then control the smart lock release it is anti-
Lock status.
The invention has the benefit that when microprocessor judge smart lock be in lock state when, microprocessor will not
Authentication information is verified, but also control specified parts are generated into prompt action, wherein the specified parts include at least language
Sound equipment, the prompt action can play speech messages such as " door have been locked, and can not be unlocked " for speech ciphering equipment.In addition, described
Designated equipment further includes signal lamp, when microprocessor judge smart lock be in lock state when, control signal lamp is become red
And flash always, state is locked convenient for further reminding the user's smart lock for having inputted authentication information to be in, at this time will
Can not unlock so that smart lock is after locking, when there is user to want to open the door by input authentication information outdoors, can and
When remind smart lock locked.
Specific 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.
Referring to Fig.1, the smart lock in the present embodiment locks based reminding method, comprising:
Step S1 obtains the authentication information for opening smart lock;
Step S2 judges the instruction of the smart lock current state according to authentication information triggering;
Step S3 judges whether smart lock is in the state of locking according to described instruction;
Step S4 generates prompt action if so, not verifying authentication information and controlling specified parts.
In step sl, the equipment that smart lock includes microprocessor and captured identity verification information, above-mentioned microprocessor
It is connected with the equipment of captured identity verification information, when user inputs authentication information by the equipment of captured identity verification information
When opening smart lock, microprocessor will acquire the above-mentioned authentication information for being used to open smart lock.
In step s 2, after microprocessor acquires the above-mentioned authentication information for being used to open smart lock, by root
Judge that the instruction of above-mentioned smart lock current state will specifically be sentenced according to above-metioned instruction according to the triggering of above-mentioned authentication information
Whether disconnected smart lock is in the state of locking.
In step s3, microprocessor will judge whether smart lock is in the state of locking, and specifically, microprocessor will be sentenced
Whether the back locking structure that indoor side is set in disconnected smart lock has been locked.
In step s 4, when microprocessor judge smart lock be in lock state when, microprocessor will not verify identity
Verification information, but also control specified parts are generated into prompt action, wherein above-mentioned specified parts include at least speech ciphering equipment, on
Speech messages such as " door have been locked, and can not be unlocked " can be played for speech ciphering equipment by stating prompt action.In addition, above-mentioned designated equipment is also
Including signal lamp, when microprocessor judge smart lock be in lock state when, control signal lamp is become red and flashed always,
State is locked convenient for further reminding the user's smart lock for having inputted authentication information to be in, will be unable to unlock at this time, make
Smart lock is obtained after locking, when there is user to want to open the door by input authentication information outdoors, intelligence can be reminded in time
Lock has been locked.
Smart lock in the present embodiment locks based reminding method, described to judge whether smart lock is according to described instruction and lock
The step S3 of state includes:
Step S31, judges whether the detection switch being set on smart lock is pushed down by the lock tongue in back locking structure;
Step S32, if so, determining that smart lock is in locks state.
The back locking structure of smart lock in the present embodiment is set to side in door, by the lock tongue in back locking structure come real
Now smart lock is locked, is provided with and is connect in the detection switch on smart lock with microprocessor, when above-mentioned back locking structure
In lock tongue when smart lock is locked, above-mentioned detection switch can be pushed down, the judgement of above-mentioned microprocessor is set to intelligence
Whether the detection switch locked is pushed down by the lock tongue in back locking structure, when above-mentioned detection switch is pushed down by the lock tongue in back locking structure
When, then determine that smart lock is in and locks state.
Referring to Fig. 2, the smart lock in another embodiment locks based reminding method, and the smart lock includes communication apparatus, described
Smart lock is connect by the communication apparatus with mobile terminal communication, described not verify authentication information and control specified parts
Generate the step S4 of prompt action, further includes:
Step S41 sends prompting message to the mobile terminal by communication apparatus.
In step S41, the smart lock in the present embodiment further includes communication apparatus, and above-mentioned communication apparatus is specifically as follows indigo plant
Tooth equipment, smart lock carries out communication connection by communication apparatus and the mobile terminal of user, when microprocessor judges at smart lock
When locking state, microprocessor will not verify authentication information, and microprocessor will also send prompting by communication apparatus
Message is to mobile terminal, and wherein the mobile terminal is generally the mobile terminal that communication connection was carried out with smart lock, wherein moving
Terminal needs to carry out authentication with smart lock when first time carrying out communication connection with smart lock.For user outdoors, when
Smart lock has been locked, even if user inputs authentication information by the equipment of captured identity verification information to open smart lock
When, smart lock also will be unable to unlock at this time, and the specified parts such as speech ciphering equipment and signal lamp in smart lock damage
In the case where, will be unable to the user of informing outdoors at this time, smart lock is in the case where locking state, can not opening the door at this time, leads at this time
Cross will " door has been locked, can not unlock, authentication it is invalid " etc. prompting messages be sent to mobile terminal in user hand, to make
It obtains user and obtains the information that smart lock has been locked.In addition, when some family members of the user lock smart lock in door, it is micro-
Processor can also be sent by communication apparatus " door has been locked, can not unlock, authentication it is invalid " etc. prompting messages to the use
On the mobile terminal of some family members at family, the information is obtained in time convenient for the family members of the user, is opened the door in time.
Smart lock in the present embodiment locks based reminding method, described to send prompting message to mobile terminal by communication apparatus
Step S41 before, comprising:
Step S301, judges whether the communication apparatus connect with the mobile terminal communication;
Step S302, if it is not, then sending connection request to the mobile terminal;
Step S303 receives the agreement connection request of the mobile terminal feedback by communication apparatus;
Step S304, controls the communication apparatus and mobile terminal establishes communication connection.
Microprocessor before sending prompting message to mobile terminal, will judge above-mentioned communication apparatus whether with mobile terminal
Communication connection will send connection request to mobile terminal when above-mentioned communication apparatus and not connected mobile terminal communication;Work as user
When agreeing to establish communication connection with smart lock, feedback is agreed into connection request, microprocessor will receive above-mentioned by communication apparatus
The agreement connection request of mobile terminal feedback, and control above-mentioned communication apparatus and establish communication connection with mobile terminal, convenient for passing through
Communication apparatus sends prompting message to above-mentioned mobile terminal.
Preferably, when not in use, microprocessor is by communication control equipment for the communication apparatus of the smart lock in the present embodiment
It is in close state, convenient for saving electric energy.When microprocessor needs to send prompting message to mobile terminal, will first judge above-mentioned
Whether communication apparatus is opened, and when above-mentioned communication apparatus is not opened, microprocessor will open above-mentioned communication apparatus.
Referring to Fig. 3, the smart lock in another embodiment locks based reminding method, described not verify authentication information and control
Specified parts generate after the step S4 of prompt action, comprising:
Step S5 judges whether to receive the instruction for releasing state of locking;
Step S6, if so, controlling the smart lock releasing locks state.
When smart lock, which is in, locks state, smart lock is that purely mechanic back locking structure is anti-by door by side in door at this time
Lock, will be unable to open the door by authentication at this time.It preferably, can be that purely mechanic back locking structure can be with by side in door
It is set as releasing the back locking structure for the state of locking by microprocessor, can be carried out by inputting unlock instruction in smart lock
Unlock, wherein unlock instruction is some numerical ciphers, or by passing through after mobile terminal and smart lock communication connection
Mobile terminal inputs unlock instruction to smart lock.Microprocessor judges whether to receive the instruction for releasing state of locking, and works as judgement
Releasing is received when locking the instruction of state, above-mentioned smart lock releasing will be controlled at this time and lock state, convenient for passing through authentication
Information is unlocked.
Referring to Fig. 4, the smart lock in the present embodiment locks alarm set, comprising:
Acquiring unit 10, for obtaining the authentication information for opening smart lock;
Trigger unit 20, for judging the instruction of the smart lock current state according to authentication information triggering;
First judging unit 30, for judging whether smart lock is in the state of locking according to described instruction;
First execution unit 40, for when smart lock is in and locks state, then not verifying authentication information and controlling
Specified parts generate prompt action.
The equipment that smart lock includes microprocessor and captured identity verification information, above-mentioned microprocessor and captured identity are tested
The equipment connection for demonstrate,proving information, when user inputs authentication information by the equipment of captured identity verification information to open smart lock
When, acquiring unit 10 will acquire the above-mentioned authentication information for being used to open smart lock.
After acquiring unit 10 acquires the above-mentioned authentication information for being used to open smart lock, trigger unit 20 is by root
Judge that the instruction of above-mentioned smart lock current state will specifically be sentenced according to above-metioned instruction according to the triggering of above-mentioned authentication information
Whether disconnected smart lock is in the state of locking.
First judging unit 30 will judge whether smart lock is in the state of locking, and specifically, microprocessor will judge intelligence
Whether the back locking structure that indoor side is set in capable of locking has been locked.
When the first judging unit 30 judge smart lock be in lock state when, the first execution unit 40 will not verify identity
Verification information, but also control specified parts are generated into prompt action, wherein above-mentioned specified parts include at least speech ciphering equipment, on
Speech messages such as " door have been locked, and can not be unlocked " can be played for speech ciphering equipment by stating prompt action.In addition, above-mentioned designated equipment is also
Including signal lamp, when microprocessor judge smart lock be in lock state when, control signal lamp is become red and flashed always,
State is locked convenient for further reminding the user's smart lock for having inputted authentication information to be in, will be unable to unlock at this time, make
Smart lock is obtained after locking, when there is user to want to open the door by input authentication information outdoors, intelligence can be reminded in time
Lock has been locked.
Referring to Fig. 5, the smart lock in the present embodiment locks alarm set, and first judging unit 30 includes:
Judgment module 31, for judging the detection switch being set on smart lock whether by the lock tongue pressure in back locking structure
Firmly;
Determination module 32, the detection switch for being set on smart lock when judgement are pushed down by the lock tongue in back locking structure
When, then determine that smart lock is in and locks state.
The back locking structure of smart lock in the present embodiment is set to side in door, by the lock tongue in back locking structure come real
Now smart lock is locked, is provided with and is connect in the detection switch on smart lock with microprocessor, when above-mentioned back locking structure
In lock tongue when smart lock is locked, above-mentioned detection switch can be pushed down, judgment module 31 judgement be set to smart lock
On detection switch whether pushed down by the lock tongue in back locking structure, when above-mentioned detection switch is pushed down by the lock tongue in back locking structure
When, determination module 32 then determines that smart lock is in and locks state.
Referring to Fig. 6, the smart lock in another embodiment locks alarm set, and the smart lock includes communication apparatus, described
Smart lock is connect by the communication apparatus with mobile terminal communication, and first execution unit 40 is used to send out by communication apparatus
Send prompting message to the mobile terminal.
Smart lock in the present embodiment further includes communication apparatus, and above-mentioned communication apparatus is specifically as follows bluetooth equipment, intelligence
Lock carries out communication connection by communication apparatus and the mobile terminal of user, locks state when microprocessor judges that smart lock is in
When, microprocessor will not verify authentication information, and the first execution unit 40 will also send reminder message by communication apparatus
To mobile terminal, wherein the mobile terminal is generally the mobile terminal that communication connection is carried out with smart lock, and wherein mobile terminal exists
When carrying out communication connection with smart lock for the first time, need to carry out authentication with smart lock.For user outdoors, work as intelligence
Lock has been locked, even if user inputs authentication information by the equipment of captured identity verification information to open smart lock,
Smart lock also will be unable to unlock at this time, and the feelings damaged occur in the specified parts such as speech ciphering equipment and signal lamp in smart lock
Under condition, will be unable to inform that smart lock is in the case where locking state, can not opening the door at this time by user outdoors at this time, pass through at this time by
" door has been locked, can not unlock, authentication it is invalid " etc. prompting messages be sent to mobile terminal in user hand, use so that with
Family obtains the information that smart lock has been locked.In addition, when some family members of the user lock smart lock in door, micro process
Device can also be sent by communication apparatus " door has been locked, can not unlock, authentication it is invalid " etc. prompting messages to the user's
On the mobile terminal of some family members, the information is obtained in time convenient for the family members of the user, is opened the door in time.
Smart lock in the present embodiment locks alarm set, further includes:
Second judgment unit 301, for judging whether the communication apparatus connect with the mobile terminal communication;
Transmission unit 302 is used for when judging that the communication apparatus and the mobile terminal communication are not connected, then the company of transmission
Request is connect to the mobile terminal;
Receiving unit 303, for receiving the agreement connection request of the mobile terminal feedback by communication apparatus;
Second execution unit 304 establishes communication connection for controlling the communication apparatus and mobile terminal.
For microprocessor before sending prompting message to mobile terminal, second judgment unit 301 will judge that above-mentioned communication is set
Whether standby to connect with mobile terminal communication, when above-mentioned communication apparatus and not connected mobile terminal communication, transmission unit 302 will be sent out
Send connection request to mobile terminal;When user agrees to establish communication connection with smart lock, feedback is agreed into connection request, is received
Unit 303 will receive the agreement connection request of above-mentioned mobile terminal feedback by communication apparatus, in the control of the second execution unit 304
It states communication apparatus and mobile terminal establishes communication connection, convenient for sending prompting message to above-mentioned mobile terminal by communication apparatus.
Preferably, when not in use, microprocessor is by communication control equipment for the communication apparatus of the smart lock in the present embodiment
It is in close state, convenient for saving electric energy.When microprocessor needs to send prompting message to mobile terminal, will first judge above-mentioned
Whether communication apparatus is opened, and when above-mentioned communication apparatus is not opened, microprocessor will open above-mentioned communication apparatus.
Referring to Fig. 7, the smart lock in the present embodiment locks alarm set, further includes:
Third judging unit 50 receives the instruction for releasing state of locking for judging whether;
Third execution unit 60, for when receive release lock the instruction of state when, then control the smart lock and release
Lock state.
When smart lock, which is in, locks state, smart lock is that purely mechanic back locking structure is anti-by door by side in door at this time
Lock, will be unable to open the door by authentication at this time.It preferably, can be that purely mechanic back locking structure can be with by side in door
It is set as releasing the back locking structure for the state of locking by microprocessor, can be carried out by inputting unlock instruction in smart lock
Unlock, wherein unlock instruction is some numerical ciphers, or by passing through after mobile terminal and smart lock communication connection
Mobile terminal inputs unlock instruction to smart lock.Third judging unit 50 judges whether to receive the instruction for releasing state of locking,
When judgement, which receives releasing, locks the instruction of state, third execution unit 60 will control above-mentioned smart lock releasing and lock state,
Convenient for being unlocked by authentication information.
In conclusion when microprocessor judge smart lock be in lock state when, microprocessor will not verify identity and test
Information is demonstrate,proved, but also control specified parts are generated into prompt action, wherein above-mentioned specified parts include at least speech ciphering equipment, it is above-mentioned
Prompt action can play speech messages such as " door have been locked, and can not be unlocked " for speech ciphering equipment.In addition, above-mentioned designated equipment also wraps
Include signal lamp, when microprocessor judge smart lock be in lock state when, control signal lamp is become red and flashed always, just
It is in user's smart lock that further prompting has inputted authentication information and locks state, will be unable to unlock at this time, so that
Smart lock, when there is user to want to open the door by input authentication information outdoors, can remind smart lock after locking in time
It has locked.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations
Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations
Technical field, be included within the scope of the present invention.