Summary of the invention
Embodiment of the present invention technical matters to be solved is, there is provided a kind of electron key opening gate method and device, system, when the terminal of unblanking is trusted and encrypted message is correct, this terminal has access permission, just open intelligent door lock, improve the security of intelligent door lock.
A kind of electron key opening gate method, is applied to intelligent door lock, comprises:
Receive the control signal that first terminal sends, described control signal comprises the identification code information of encrypted message and described first terminal, and described first terminal is the launch terminal of described control signal;
Judge that whether the identification code information of described first terminal is the item by trusting in account list, and judge that whether described encrypted message is correct;
When above-mentioned judged result is all for being, open described intelligent door lock.
Alternatively, by NFC, Wi-Fi, bluetooth and infrared at least one mode receive described control signal, described control signal is generated according to grant instruction of unblanking by described first terminal, described in grant instruction of unblanking comprise described encrypted message.
Alternatively, described grant instruction of unblanking is the instruction of the second terminal transmission that described first terminal receives, described grant instruction of unblanking also comprises the identification code information of described second terminal, after the control signal that described reception first terminal sends, described open described intelligent door lock before, described method also comprises:
Judge that whether the identification code information of described second terminal is the item in keeper's account list.
Alternatively, grant instruction of unblanking described in is that the encrypted message that described second terminal inputs according to user generates.
Alternatively, described encrypted message comprises one or more combinations in character string, image information, voice messaging, finger print information, Quick Response Code, bar code.
Alternatively, described grant instruction of unblanking also comprises: authority information, described authority information comprises: one or more combinations in effective time, effective degree, effective range, described effective time for described in unblank use effective time of grant instruction, described effective degree for described in unblank the use effective degree of grant instruction, described effective range for described in unblank the intelligent door lock be suitable for of grant instruction;
After the control signal of described reception first terminal, before opening described intelligent door lock, also comprise: judge that whether described authority information is effective.
A kind of intelligent door lock, comprising:
First receiving element, for the reception control signal that first terminal sends, described control signal comprises the identification code information of encrypted message and described first terminal;
Judging unit, for judging whether the identification code information of described first terminal is by the item in trust account list, and judges that whether described encrypted message is correct;
Performance element, for when above-mentioned judged result is all for being, opens described intelligent door lock.
Alternatively, described intelligent door lock comprises one or more combinations of NFC module, Wi-Fi module, bluetooth module or infrared module, described control signal is received by one or more combinations in NFC module, Wi-Fi module, bluetooth module and infrared module, described control signal is generated according to grant instruction of unblanking by described first terminal, described in grant instruction of unblanking comprise described encrypted message.
Alternatively, described in grant instruction of unblanking be the instruction that the second terminal that described first terminal receives sends, described in grant instruction of unblanking also comprise the identification code information of described second terminal, described judging unit also for,
Judge that whether the identification code information of described second terminal is the item in keeper's account list.
Alternatively, grant instruction of unblanking described in is that the encrypted message that described second terminal inputs according to user generates.
Alternatively, described encrypted message comprises one or more combinations in character string, image information, voice messaging, finger print information, Quick Response Code, bar code.
Alternatively, described grant instruction of unblanking also comprises: authority information, described authority information comprises: one or more combinations in effective time, effective degree, effective range, described effective time for described in unblank use effective time of grant instruction, described effective degree for described in unblank the use effective degree of grant instruction, described effective range for described in unblank the intelligent door lock be suitable for of grant instruction;
Described judging unit also for, judge that whether described authority information effective.
A kind of electron key opening gate method, is applied to first terminal, it is characterized in that, comprising:
Obtain identification code information and encrypted message, and generate control signal according to described identification code information and described encrypted message, described identification code information is used for intelligent door lock and judges whether described identification code information is that described encrypted message is for unlocking described intelligent door lock by the item in trust account list;
Send described control signal to described intelligent door lock, described control signal comprises described identification code information and encrypted message.
Alternatively, by NFC, Wi-Fi, bluetooth and infrared at least one mode send described control signal, describedly generate control signal according to described identification code information and described encrypted message and specifically also comprise: generate control signal according to described identification code information and grant instruction of unblanking, described in grant instruction of unblanking comprise described encrypted message.
Alternatively, described acquisition identification code information and encrypted message, and also comprise before generating control signal according to described identification code information and described encrypted message: receive the second terminal send described in unblank grant instruction, described grant instruction of unblanking also comprises the identification code information of described second terminal, the identification code information of described second terminal is used for described intelligent door lock and judges that whether the identification code information of described second terminal is the item in keeper's account list, described in grant instruction of unblanking be the encrypted message generation that described second terminal inputs according to user.
Alternatively, described encrypted message comprises one or more combinations in character string, image information, voice messaging, finger print information, Quick Response Code, bar code.
Alternatively, described unblank grant instruction and described control information also comprise: authority information, described authority information comprises: one or more combinations in effective time, effective degree, effective range, described effective time for described in unblank use effective time of grant instruction, described effective degree for described in unblank the use effective degree of grant instruction, described effective range for described in unblank grant instruction be suitable for intelligent door lock, described authority information be used for described intelligent door lock judge that whether described authority information effective.
A kind of terminal, is characterized in that, comprising:
First acquiring unit, for obtaining identification code information and encrypted message;
First generation unit, for generating control signal according to described identification code information and described encrypted message, described identification code information is used for intelligent door lock and judges whether described identification code information is that described encrypted message is for unlocking intelligent door lock by the item in trust account list;
First transmitting element, for sending described control signal to described intelligent door lock, described control signal comprises described identification code information and encrypted message.
Alternatively, described terminal comprises one or more combinations of NFC module, Wi-Fi module, bluetooth module or infrared module, described control signal is sent to described intelligent door lock by one or more combinations in NFC module, Wi-Fi module, bluetooth module and infrared module, described first generation unit also comprises: generate control signal according to described identification code information and grant instruction of unblanking, described in grant instruction of unblanking comprise described encrypted message.
Alternatively, described terminal also comprises: the second receiving element, for receive the second terminal send described in unblank grant instruction, described grant instruction of unblanking also comprises the identification code information of described second terminal, the identification code information of described second terminal is used for described intelligent door lock and judges that whether the identification code information of described second terminal is the item in keeper's account list, described in grant instruction of unblanking be the encrypted message generation that described second terminal inputs according to user.
Alternatively, described encrypted message comprises one or more combinations in character string, image information, voice messaging, finger print information, Quick Response Code, bar code.
Alternatively, described grant instruction and the described control signal of unblanking also comprises: authority information, described authority information comprises: one or more combinations in effective time, effective degree, effective range, described effective time for described in unblank use effective time of grant instruction, described effective degree for described in unblank the use effective degree of grant instruction, described effective range for described in unblank grant instruction be suitable for intelligent door lock, described authority information be used for described intelligent door lock judge that whether described authority information effective.
A kind of electron key opening gate method, is applied to the second terminal, it is characterized in that, comprising:
Obtain the encrypted message of user's input and obtain identification code information, described encrypted message is for unlocking intelligent door lock, and described identification code information is used for described intelligent door lock and judges that whether the identification code information of described second terminal is the item in keeper's account list;
Generate according to described encrypted message and described identification code information grant instruction of unblanking, described in grant instruction of unblanking comprise described encrypted message and described identification code information;
Described grant instruction of unblanking is sent to first terminal, described first terminal is used for transmitting control signal to intelligent door lock, described control signal for described first terminal according to described in unblank grant instruction and first terminal identification code information generate, described control signal comprises the identification code information of described encrypted message, described identification code information and described first terminal, and the identification code information of described first terminal is used for described intelligent door lock and judges whether described identification code information is by the item in trust account list.
Alternatively, described encrypted message comprises one or more combinations in character string, image information, voice messaging, finger print information, Quick Response Code, bar code.
Alternatively, described unblank grant instruction and described control information also comprise: authority information, described authority information comprises: one or more combinations in effective time, effective degree, effective range, described effective time for described in unblank use effective time of grant instruction, described effective degree for described in unblank the use effective degree of grant instruction, described effective range for described in unblank grant instruction be suitable for intelligent door lock, described authority information be used for described intelligent door lock judge that whether described authority information effective.
A kind of terminal, is characterized in that, comprising:
Second acquisition unit, for obtaining the encrypted message of user's input and obtaining identification code information, described encrypted message is for unlocking intelligent door lock, and described identification code information is used for described intelligent door lock and judges that whether the identification code information of described second terminal is the item in keeper's account list;
Second generation unit, for generating according to described encrypted message and described identification code information grant instruction of unblanking, described in grant instruction of unblanking comprise described encrypted message and described identification code information;
Second transmitting element, for described grant instruction of unblanking is sent to first terminal, described first terminal is used for transmitting control signal to intelligent door lock, described control signal for described first terminal according to described in unblank grant instruction and first terminal identification code information generate, described control signal comprises the identification code information of described encrypted message, described identification code information and described first terminal, and the identification code information of described first terminal is used for described intelligent door lock and judges whether described identification code information is by the item in trust account list.
Alternatively, described encrypted message comprises one or more combinations in character string, image information, voice messaging, finger print information, Quick Response Code, bar code.
Alternatively, described unblank grant instruction and described control information also comprise: authority information, described authority information comprises: one or more combinations in effective time, effective degree, effective range, described effective time for described in unblank use effective time of grant instruction, described effective degree for described in unblank the use effective degree of grant instruction, described effective range for described in unblank grant instruction be suitable for intelligent door lock, described authority information be used for described intelligent door lock judge that whether described authority information effective.
A kind of electron key opening gate system, is characterized in that, comprising: intelligent door lock, first terminal and the second terminal, wherein,
Described intelligent door lock is the intelligent door lock as described in claim as arbitrary in claim 7-12, described first terminal is the terminal as described in claim as arbitrary in claim 18-22, and described second terminal is the terminal as described in claim as arbitrary in claim 26-28.
Foregoing invention, transmitted control signal to intelligent door lock by first terminal, this control signal comprises identification code information and the encrypted message of first this terminal, intelligent door lock receives this control signal, and judge whether identification code information is by the item in trust account list, and judge that whether encrypted message is correct, only have when judged result is all for being, this terminal has access permission, just opens intelligent door lock.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
It should be noted that, the term used in embodiments of the present invention is only for the object describing specific embodiment, and not intended to be limiting the present invention." one ", " described " and " being somebody's turn to do " of the singulative used in the embodiment of the present invention and appended claims is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
Refer to Fig. 1, Fig. 1 is the process flow diagram of a kind of electron key opening gate method that the embodiment of the present invention provides.The method is applied to intelligent door lock and terminal, as mobile phone, panel computer, wearable intelligent terminal etc., and composition system, the method comprises:
Step S101: first terminal transmits control signal to intelligent door lock.
Short-distance wireless communication refer to communicating pair in less region (tens of rice) by the communication technology of radio wave transmissions information.At present, wireless communication technology is more widely used to comprise: bluetooth (Bluetooth), WLAN (wireless local area network) (Wi-Fi), infrared data transmission (IrDA), purple honeybee (ZigBee), ultra-wideband (UltraWideBand) and short-range communication (NFC) etc.When two terminals are all configured with the function of a certain short haul connection, just can realize short haul connection between them, such as, the terminal both with NFC function can be intercomed by NFC phase.
Terminal electronic key is a typically application of short haul connection, utilize terminal as mobile phone, panel computer, wearable device etc., by adding module and the application of short haul connection in terminal, communicate with between the intelligent door lock with identical short-range communications functionality, thus control intelligent door lock is opened.The built-in NFC module of such as NFC mobile phone can be used as the read write line terminal of contact type intelligent card, smart card and equipment to the data transmission link of equipment, if with the intelligent door lock with NFC function with the use of, can realize the electron key of mobile phone as intelligent door lock, control opening of Intelligent door number.
Particularly, first terminal obtains the encrypted message of user's input, also can be receive other-end, such as, second terminal, the encrypted message of transmission or grant instruction of unblanking, this grant instruction of unblanking is the instruction that license other-end carries out unblanking, be that the second terminal generates according to encrypted message, and comprise this encrypted message.Usually, this second terminal is the terminal of binding with intelligent door lock, after first terminal receives grant instruction of unblanking, according to this grant instruction of unblanking, obtain identification code, generate control signal, this identification code is the identification code information of first terminal, it should be noted that, each terminal has unique identification code, also claims " identify label ", this identification code information be this terminal specific, can as the data of the authentication information of this terminal, such as, if terminal is mobile phone, then identification code information can be the IMEI code of mobile phone.This control signal comprises the identification code information of encrypted message and first terminal.Such as, when first terminal is NFC mobile phone electron key, the identification code information of first this terminal acquisition self and encrypted message, by NFC module to intelligent door lock emissioning controling signal.
It should be noted that, intelligent terminal by NFC, Wi-Fi, bluetooth and infrared at least one mode reception control signal, communication between intelligent door lock and first terminal is one or more combinations by NFC module, Wi-Fi module, bluetooth module or infrared module in their functional module, when first terminal is transmitted control signal to intelligent door lock by NFC module, intelligent door lock is by NFC module reception control signal; When first terminal is transmitted control signal to intelligent door lock by Wi-Fi module, bluetooth module or infrared module, intelligent door lock is respectively by Wi-Fi module, bluetooth module or infrared module reception control signal.Second terminal can send to first terminal grant instruction of unblanking by network or mobile radio network etc.
Also it should be noted that, above-mentioned encrypted message can be character string, image information, voice messaging, finger print information, Quick Response Code, bar code etc., and the present invention is not restricted.
Step S102: intelligent door lock reception control signal.
Particularly, intelligent door lock receives the control signal that first terminal sends.Such as, NFC module that intelligent terminal passes through receives the control signal that other-end is launched, and obtains encrypted message and first terminal identification code information that this control signal comprises.
Step S103: judge that whether the identification code information of first terminal is the item by trusting in account list.
Particularly, an intelligent door lock can be appointed and had multiple electron key, namely multiple terminal can beat this Intelligent unlocking, in order to increase security, can arrange by trusting account list in intelligent door lock, this list comprises user by the identification code information of trusting terminal, and when the identification code information of first terminal is the item by trusting in account list, then this terminal is the terminal of being trusted.
Step S104: judge that whether encrypted message is correct.
Particularly, arrange the encrypted message of intelligent door lock, judge that whether this encrypted message is one in this intelligent door lock unlocking cipher storehouse, if so, then this encrypted message is correct.
It should be noted that, when first terminal to the control signal that intelligent door lock sends be according to reception second terminal send unblank grant instruction generate time, if this is unblanked, grant instruction also comprises authority information, this authority information comprises: effective time, effective degree, one or more combinations in effective range etc., effective time is the use effective time of grant instruction of unblanking, effective degree is the use effective degree of grant instruction of unblanking, effective range be unblank grant instruction be suitable for intelligent door lock, then control signal also comprises authority information, step S103 also comprises, judge that whether authority information is effective, particularly, whether the time that intelligent door lock judges its reception control signal is within effective time scope, this terminal of intelligent door lock record is the number of times using this control signal, and judge whether its number of times receiving this control signal is less than effective degree, first terminal also can arrange the intelligent door lock scope worked of grant instruction of unblanking, the identification code identification intelligent door lock of intelligent door lock can be utilized, intelligent door lock also needs to judge its identification code whether within effective range, only have when all judge all as being time, then authority information is effective.
Also it should be noted that, judge the identification code information of first terminal be whether by the item of trusting in account list step S103, judge the step S104 whether encrypted message correct and judge whether authority information accords with effective step and can perform with any order, and the present invention is not construed as limiting.
Step S105: open intelligent door lock.
Particularly, when judging all as being in step S103 and step S104, that is, only have when first terminal is the terminal that intelligent door lock is trusted, and when encrypted message is correct, intelligent door lock is by controlling the relay module of establishing in intelligent door lock, open intelligent door lock, otherwise, if having one to be judged as otherwise, intelligent door lock keep lock-out state.
It should be noted that, the unlocking cipher of intelligent door lock can have multiple, in usual one family, there is multiple door, thus unlocking authority terminal can not allowed corresponding by Password Management, such as, can arrange all intelligent door locks of family has identical by trusting account list, but the unlocking cipher storehouse of the corresponding intelligent door lock in each room is inconsistent, such as, the unlocking cipher at gate comprises unlocking cipher one, unlocking cipher two, unlocking cipher three, unlocking cipher four, the unlocking cipher in the bedroom of user one comprises unlocking cipher one, the unlocking cipher in the bedroom of user two comprises unlocking cipher two, the unlocking cipher in study comprises unlocking cipher one, unlocking cipher three, now, under the identification code of terminal is the prerequisite of each intelligent door lock by the item of trusting in account list, the terminal of unlocking cipher one can be obtained, have and open gate, the bedroom door of user one and the authority of study door, the terminal of unlocking cipher two can be obtained, have and open gate, the bedroom door of user two and the authority of study door, the terminal of unlocking cipher three can be obtained, there is the authority opening gate and book door, the terminal of unlocking cipher three can be obtained, only there is the authority opening gate.
Foregoing invention, transmitted control signal to intelligent door lock by first terminal, this control signal comprises identification code information and the encrypted message of first this terminal, intelligent door lock receives this control signal, and judge whether identification code information is by the item in trust account list, and judge that whether encrypted message is correct, only have when judged result is all for being, this terminal has access permission, just opens door lock.
Refer to Fig. 2, Fig. 2 is the process flow diagram of a kind of electron key opening gate method that another embodiment of the present invention provides.The method is applied to intelligent door lock and terminal, as mobile phone, panel computer, wearable intelligent terminal etc., and composition system, the method comprises:
Step S201: the second terminal obtains encrypted message and identification code, and generates grant instruction of unblanking.
When user stays out, when guest comes to visit, the terminal of guest can be authorized, such as mobile phone, open intelligent door lock.Particularly, the terminal of user, the second terminal, takes encrypted message and the identification code information of itself of family input, the IMEI code of such as mobile phone, and generates according to this encrypted message and identification code information grant instruction of unblanking.
It should be noted that, above-mentioned encrypted message can be character string, image information, voice messaging, finger print information, Quick Response Code, bar code etc., and the present invention is not restricted.
Also it should be noted that, this grant instruction of unblanking can also comprise authority information, this authority information comprises: one or more combinations in effective time, effective degree, effective range etc., effective time is the use effective time of grant instruction of unblanking, effective degree is the use effective degree of grant instruction of unblanking, and effective range is the intelligent door lock be suitable for of grant instruction of unblanking.
Step S202: the second terminal sends to first terminal grant instruction of unblanking.
Particularly, the second terminal can send to first terminal grant instruction of unblanking by network or mobile radio network.
Step S203: first terminal receives grant instruction of unblanking, and generate control signal according to grant instruction of unblanking.
Particularly, first terminal receives the grant instruction of unblanking that the second terminal sends, and generate control signal according to this grant instruction of unblanking, it should be noted that, in control signal, comprise the identification code information of the encrypted message of unblanking in grant instruction, the second host ID information, authorization message etc. and first terminal.
Step S204: first terminal transmits control signal to intelligent door lock.
Particularly, first terminal by NFC, Wi-Fi, bluetooth and infrared at least one mode transmit control signal to intelligent door lock, such as, when first terminal is NFC mobile phone electron key, first this terminal by NFC module to intelligent door lock emissioning controling signal.
Step S205: intelligent door lock reception control signal.
Particularly, intelligent door lock receives the control signal that first terminal sends.Such as, the NFC module that intelligent terminal passes through receives the control signal that other-end is launched, and obtains encrypted message, first terminal identification code information, the second host ID information that this control signal comprises.
It should be noted that, when comprising authority information in the grant instruction of unblanking that first terminal receives, in control signal, also comprising authority information.
Also it should be noted that, communication between intelligent door lock and first terminal is one or more combinations by NFC module, Wi-Fi module, bluetooth module or infrared module in their functional module, when first terminal is transmitted control signal to intelligent door lock by NFC module, intelligent door lock is by NFC module reception control signal; When first terminal is transmitted control signal to intelligent door lock by Wi-Fi module, bluetooth module or infrared module, intelligent door lock is respectively by Wi-Fi module, bluetooth module or infrared module reception control signal.
Step S206: judge that whether the identification code information of the second terminal is the item in keeper's account list.
An intelligent door lock can be appointed and had multiple electron key, namely multiple terminal can beat this Intelligent unlocking, in order to increase security, keeper's account list can be set in intelligent door lock and be subject to trust account list, comprise user by the identification code information of trusting terminal by trusting account list, and keeper's account list can manage the intelligent door lock of its binding.
Particularly, judge that whether the identification code of the second terminal comprised in control signal is the item in keeper's account list, if so, then this second terminal is administrator terminal.
Step S207: judge that whether the identification code information of first terminal is the item by trusting in account list.
Particularly, when the identification code information of first terminal is the item by trusting in account list, then this terminal is the terminal of being trusted.
Step S208: judge that whether encrypted message is correct.
Particularly, arrange the encrypted message of intelligent door lock, judge that whether this encrypted message is one in this intelligent door lock unlocking cipher storehouse, if so, then this encrypted message is correct.
It should be noted that, if this is unblanked, grant instruction also comprises authority information, this authority information comprises: effective time, effective degree, one or more combinations in effective range etc., then control signal also comprises authority information, step S206 also comprises, judge that whether authority information is effective, particularly, whether the time that intelligent door lock judges its reception control signal is within effective time scope, this terminal of intelligent door lock record is the number of times using this control signal, and judge whether its number of times receiving this control signal is less than effective degree, first terminal also can arrange the intelligent door lock scope worked of grant instruction of unblanking, the identification code identification intelligent door lock of intelligent door lock can be utilized, intelligent door lock also needs to judge its identification code whether within effective range, only have when all judge all as being time, authority information is effective.
Also it should be noted that, judge the identification code information of the second terminal be whether item in keeper's account list step S206, judge the identification code information of first terminal be whether by the item of trusting in account list step S207, judge the step S208 whether encrypted message correct and judge authority information whether effectively step can perform with any order, the present invention is not construed as limiting.
Step S209: open intelligent door lock.
Particularly, only have when first terminal is the terminal of being trusted, and its grant instruction of unblanking received is sent by the terminal in keeper's account list, and when the encrypted message comprised in control signal is correct, first terminal just can open intelligent door lock, otherwise as long as wherein there is one to be judged as NO, then door lock keeps lock-out state.Particularly, intelligent door lock judges that whether the identification code information of the second terminal is the item in keeper's account list, whether the identification code information of first terminal is by the item in trust account list, and judge that whether encrypted message is correct, if judge to be all yes above-mentioned, then the relay module by controlling to establish in intelligent door lock opens intelligent door lock.Otherwise as long as one of them is judged as NO, then intelligent door lock keeps gained state.
It should be noted that, the unlocking cipher of intelligent door lock can have multiple, in usual one family, there is multiple door, thus unlocking authority terminal can not allowed corresponding by Password Management, such as, can arrange all intelligent door locks of family has identical by trusting account list, but the unlocking cipher storehouse of the corresponding intelligent door lock in each room is inconsistent, such as, the unlocking cipher at gate comprises unlocking cipher one, unlocking cipher two, unlocking cipher three, unlocking cipher four, the unlocking cipher in the bedroom of user one comprises unlocking cipher one, the unlocking cipher in the bedroom of user two comprises unlocking cipher two, the unlocking cipher in study comprises unlocking cipher one, unlocking cipher three, now, under the identification code of terminal is the prerequisite of each intelligent door lock by the item of trusting in account list, the terminal of unlocking cipher one can be obtained, have and open gate, the bedroom door of user one and the authority of study door, the terminal of unlocking cipher two can be obtained, have and open gate, the bedroom door of user two and the authority of study door, the terminal of unlocking cipher three can be obtained, there is the authority opening gate and book door, the terminal of unlocking cipher three can be obtained, only there is the authority opening gate.Second terminal can, by sending the grant instruction of unblanking comprising the encrypted message with corresponding authority to first terminal, authorize first terminal to have the authority opening those intelligent door locks.
Foregoing invention, obtains encrypted message and identification code by the second terminal, generates grant instruction of unblanking, and sends it to the second terminal; Second terminal receives this grant instruction of unblanking, and generates control signal, and send it to intelligent door lock according to this basis grant instruction of unblanking, and this control signal comprises the second host ID information, the identification code information of first this terminal and encrypted message; Intelligent door lock receives this control signal, and judges that whether the identification code information of the second terminal is the item in keeper's account list, and whether the identification code information of first terminal is the item by trusting in account list, and judges that whether encrypted message is correct.Only have when judged result is all for being, this terminal has access permission, just opens intelligent door lock.
And the second terminal can arrange the unlocking authority of first terminal to intelligent door lock multiple in family by the different encrypted message of input, protection individual privacy.
Refer to Fig. 3, Fig. 3 is the structural representation of a kind of intelligent door lock that the embodiment of the present invention provides, and this intelligent door lock 300 comprises:
First receiving element 301, for receiving the control signal that first terminal 400 sends, control signal comprises the identification code information of encrypted message and first terminal 400;
Judging unit 302, for judging whether identification code information is by the item in trust account list, and judges that whether encrypted message is correct;
Performance element 303, for when above-mentioned judged result is all for being, opens intelligent door lock 300.
Alternatively, intelligent door lock comprises one or more combinations of NFC module, Wi-Fi module, bluetooth module or infrared module, described control signal is received by one or more combinations in NFC module, Wi-Fi module, bluetooth module and infrared module, control signal is generated according to grant instruction of unblanking by first terminal 400, and grant instruction of unblanking comprises encrypted message.
Alternatively, grant instruction of unblanking is the instruction of the second terminal 500 transmission that first terminal 400 receives, grant instruction of unblanking also comprises the identification code information of the second terminal 500, judging unit 302 also for, judge that whether the identification code information of the second terminal 500 is the item in keeper's account list.
Alternatively, grant instruction of unblanking is that the encrypted message that the second terminal 500 inputs according to user generates.
Alternatively, encrypted message comprises one or more combinations in character string, image information, voice messaging, finger print information, Quick Response Code, bar code.
Alternatively, grant instruction of unblanking also comprises: authority information, authority information comprises: one or more combinations in effective time, effective degree, effective range, effective time is the use effective time of grant instruction of unblanking, effective degree is the use effective degree of grant instruction of unblanking, and effective range is the intelligent door lock 300 be suitable for of grant instruction of unblanking;
Judging unit 302 also for, judge that whether authority information effective.
It should be noted that, intelligent door lock 300 in each embodiment of the present invention can including but not limited to the first receiving element 301, judging unit 302, performance element 303, said units can be integrated in each functional modules such as NFC module, Wi-Fi module, bluetooth module or the infrared module that a chip comprises with intelligent door lock 300 and be connected, or is partly or entirely integrated in the functional module such as NFC module, Wi-Fi module, bluetooth module or infrared module comprised in intelligent door lock 300.Also it should be noted that, the function of each functional module of intelligent door lock 300 in the embodiment of the present invention can according to the method specific implementation in said method embodiment, and its specific implementation process with reference to the associated description of said method embodiment, can repeat no more herein.
Refer to Fig. 4, Fig. 4 is the structural representation of a kind of first terminal that the embodiment of the present invention provides, and this first terminal 400 can be mobile phone, panel computer, wearable intelligent terminal etc., and this first terminal 400 comprises:
First acquiring unit 401, for obtaining identification code information and encrypted message;
First generation unit 402, for generating control signal according to described identification code information and described encrypted message, described identification code information is used for intelligent door lock 300 and judges whether described identification code information is that described encrypted message is for unlocking intelligent door lock 300 by the item in trust account list;
First transmitting element 403, for sending described control signal to described intelligent door lock 300, described control signal comprises described identification code information and encrypted message.
Alternatively, first terminal 400 comprises one or more combinations of NFC module, Wi-Fi module, bluetooth module or infrared module, transmitted control signal to intelligent door lock 300 by one or more combinations in NFC module, Wi-Fi module, bluetooth module and infrared module, described first generation unit 402 also comprises: generate control signal according to described identification code information and grant instruction of unblanking, described in grant instruction of unblanking comprise described encrypted message.
Alternatively, described first terminal 400 also comprises: the second receiving element 404, for receiving the grant instruction of unblanking that the second terminal sends, described grant instruction of unblanking also comprises the identification code information of described second terminal 500, the identification code information of described second terminal 500 is used for described intelligent door lock 300 and judges that whether the identification code information of described second terminal 500 is the item in keeper's account list, described in grant instruction of unblanking be the encrypted message generation that described second terminal input according to user.
Alternatively, described encrypted message comprises one or more combinations in character string, image information, voice messaging, finger print information, Quick Response Code, bar code.
Alternatively, described grant instruction and the described control signal of unblanking also comprises: authority information, described authority information comprises: one or more combinations in effective time, effective degree, effective range, described effective time for described in unblank use effective time of grant instruction, described effective degree for described in unblank the use effective degree of grant instruction, described effective range for described in unblank grant instruction be suitable for intelligent door lock 300, this authority information be used for intelligent door lock 300 judge that whether this authority information effective.
It should be noted that, first terminal 400 in each embodiment of the present invention can including but not limited to the first acquiring unit 401, first generation unit 402, first transmitting element 403, second receiving element 404, said units can be integrated in a chip or be integrated on the primary processor of first terminal 400 with the NFC module that comprises in first terminal 400, Wi-Fi module, a functional module such as bluetooth module or infrared module is connected, or be partly or entirely integrated in the NFC module that first terminal 400 comprises, Wi-Fi module, a functional module such as bluetooth module or infrared module.
Also it should be noted that, the function of each functional module of first terminal 400 in the embodiment of the present invention can according to the method specific implementation in said method embodiment, and its specific implementation process with reference to the associated description of said method embodiment, can repeat no more herein.
Refer to Fig. 5, Fig. 5 is the structural representation of a kind of second terminal that the embodiment of the present invention provides, and this second terminal 500 can be mobile phone, panel computer, wearable intelligent terminal etc., and this second terminal 500 comprises:
Second acquisition unit 501, for obtaining the encrypted message of user's input and obtaining identification code information, described encrypted message is for unlocking intelligent door lock 300, and described identification code information is used for described intelligent door lock 300 and judges that whether the identification code information of described second terminal is the item in keeper's account list;
Second generation unit 502, for generating according to described encrypted message and described identification code information grant instruction of unblanking, described in grant instruction of unblanking comprise described encrypted message and described identification code information;
Second transmitting element 503, for described grant instruction of unblanking is sent to first terminal 400, described first terminal 400 is for transmitting control signal to intelligent door lock 300, described control signal is that described first terminal 400 generates according to the identification code information of described unblank grant instruction and first terminal 400, described control signal comprises described encrypted message, the identification code information of described identification code information and described first terminal 400, the identification code information of described first terminal 400 is used for intelligent door lock 300 and judges whether described identification code information is by the item in trust account list.
Alternatively, described encrypted message comprises one or more combinations in character string, image information, voice messaging, finger print information, Quick Response Code, bar code.
Alternatively, described unblank grant instruction and described control information also comprise: authority information, described authority information comprises: one or more combinations in effective time, effective degree, effective range, described effective time for described in unblank use effective time of grant instruction, described effective degree for described in unblank the use effective degree of grant instruction, described effective range for described in unblank grant instruction be suitable for intelligent door lock 300, this authority information be used for intelligent door lock 300 judge that whether this authority information effective.
It should be noted that, the second terminal 500 in each embodiment of the present invention can including but not limited to second acquisition unit 501, second generation unit 502, said units can be integrated in a chip or be integrated on the primary processor of the second terminal 500 and be connected with NFC module, Wi-Fi module, bluetooth module or the infrared module etc. that comprise in the second terminal 500 functional module, or is partly or entirely integrated in the functional module such as NFC module, Wi-Fi module, bluetooth module or infrared module that the second terminal 500 comprises.
Also it should be noted that, the function of each functional module of the second terminal 500 in the embodiment of the present invention can according to the method specific implementation in said method embodiment, and its specific implementation process with reference to the associated description of said method embodiment, can repeat no more herein.
Refer to Fig. 6, Fig. 6 is the structural representation of a kind of electron key opening gate system that the embodiment of the present invention provides, and this system comprises: intelligent door lock 300, first terminal 400 and the second terminal 500, wherein,
Intelligent door lock 300 is intelligent door lock as described in Figure 3; First terminal 400 is first terminal as described in Figure 4, and the second terminal 500 is the second terminal as described in Figure 5.
It should be noted that, first terminal 400 is connected by network, mobile radio network etc. with the second terminal 500, that is, first terminal 400 can be communicated with the second terminal 500 by network, mobile radio network etc.First terminal 400 and intelligent door lock 300 by Wi-Fi, bluetooth, NFC, infrared etc. to be connected, that is, communication between intelligent door lock 300 and first terminal 400 is combined by one or more of NFC module, Wi-Fi module, bluetooth module or infrared module in their functional module, when first terminal 400 is transmitted control signal to intelligent door lock 300 by NFC module, intelligent door lock 300 is by NFC module reception control signal; When first terminal 400 is transmitted control signal to intelligent door lock 300 by Wi-Fi module, bluetooth module or infrared module, intelligent door lock 300 is respectively by Wi-Fi module, bluetooth module or infrared module reception control signal.
Also it should be noted that, the function of each module of electron key opening gate system in the embodiment of the present invention can according to the method specific implementation in said method embodiment, its specific implementation process with reference to the associated description of said method embodiment, can repeat no more herein.
In sum, transmitted control signal to intelligent door lock by first terminal, this control signal comprises identification code information and the encrypted message of first this terminal, intelligent door lock receives this control signal, and judge whether identification code information is by the item in trust account list, and judge that whether encrypted message is correct, only have when judged result is all for being, this terminal has access permission, just opens intelligent door lock.When first terminal to intelligent door lock transmit control signal be according to second terminal send unblank grant instruction generate time; whether intelligent door lock also needs the identification code information judging the second terminal correct; further increase the security of intelligent door lock; and; second terminal can arrange the unlocking authority of first terminal to intelligent door lock multiple in family by the different encrypted message of input, protection individual privacy.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.