CN107393107A - A kind of smart lock emergent unlocking method - Google Patents

A kind of smart lock emergent unlocking method Download PDF

Info

Publication number
CN107393107A
CN107393107A CN201710861894.7A CN201710861894A CN107393107A CN 107393107 A CN107393107 A CN 107393107A CN 201710861894 A CN201710861894 A CN 201710861894A CN 107393107 A CN107393107 A CN 107393107A
Authority
CN
China
Prior art keywords
smart lock
cookie
terminal
data
data block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710861894.7A
Other languages
Chinese (zh)
Inventor
陈瑞波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Post Technology Co Ltd
Original Assignee
Shenzhen Post Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Post Technology Co Ltd filed Critical Shenzhen Post Technology Co Ltd
Priority to CN201710861894.7A priority Critical patent/CN107393107A/en
Publication of CN107393107A publication Critical patent/CN107393107A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • G07C2009/00825Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed remotely by lines or wireless communication

Abstract

The embodiment of the present invention provides a kind of smart lock emergent unlocking method, when after smart lock some electronic component Single Point of Faliure general method for unlocking can not be used to realize to unlock, can pass through connecting line mode emergent unlocking.The inventive method is succinctly efficient, and technical requirements are low, solves the puzzlement that can not be unlocked faced during some unit Single Point of Faliure of smart lock.

Description

A kind of smart lock emergent unlocking method
Technical field
The present invention relates to smart lock field, more particularly to smart lock emergent unlocking method.
Background technology
The unlocking mode of smart lock has a password unlocking, and fingerprint recognition is unlocked, and magnetic card swipe is unlocked, general with smart mobile phone And there are smart mobile phone app modes to unlock now.
The general method for unlocking of smart lock is provided in the patent description of application for a patent for invention number 2017108589605.Intelligence Can lock is internal contain numerous electronic components, when only all electronic components are all working properly, mutual cooperation could be realized General method for unlocking.But electronic component has failure, such as aging, as long as the event of one of electronic component Barrier, the smart lock just can not probably work, and people are just faced with the embarrassment that can not be driveed from door.
The content of the invention
In consideration of it, the present invention provides a kind of smart lock emergent unlocking method, including:
Smart lock stores at least one set of data block;
Terminal provides power supply for the smart lock;
The terminal is connected by connecting line with the smart lock and establishes communication;
The smart lock obtains the instruction message of armed state;
The unlocking instruction and cookie, the cookie that the instruction message package contains include one or more data;
One or more groups of in the cookie and the data block of the smart lock are combined calculating, if calculating knot Fruit starts unlocking flow in scope of design, the smart lock.
A kind of smart lock emergent unlocking method, including:
Smart lock stores at least one set of cookie, and the cookie includes one or more data;
Terminal provides power supply for the smart lock;
The terminal is connected by connecting line with the smart lock and establishes communication;
The terminal sends unlocking request message to the smart lock;
The smart lock sends cookie described in one group to the terminal after receiving the unlocking request message;
The terminal obtains one or more groups of data blocks after receiving the cookie, according to the cookie and the data block Calculating is combined, and obtains result of calculation;
The result of calculation is sent back the smart lock by the terminal;
The smart lock receives the result of calculation, if result of calculation starts stream of unlocking in scope of design, the smart lock Journey.
Further, described smart lock emergent unlocking method, including:
The terminal is connected with the smart lock by connecting line, and establishes serial interface communication, or establishes SPI interface communication, Or establish IIC interface communications.
Further, described smart lock emergent unlocking method, including:
The data that the data block or/and cookie are included can be the smart lock in development phase setting or later stage Configuration can be external module by communications to the smart lock, can also be the smart lock according to input letter Breath arranges what is formed.
Further, described smart lock emergent unlocking method, including:
The data block or/and cookie can immobilize, can also periodicity or aperiodicity renewal.
Further, described smart lock emergent unlocking method, including:
The combination calculates, and is data that the cookie is included compared with the data that the data block includes;
Or the cookie data included and the data that the data block includes carry out computing according to the algorithm of design.
The inventive method is succinctly efficient, and technical requirements are low, solve some unit Single Point of Faliure of smart lock when face can not The puzzlement of unlocking.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the embodiment one of the inventive method.
Fig. 2 is the flow chart of the embodiment two of the inventive method.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Embodiment one
Fig. 1 is the flow chart of embodiments of the invention, and method and step includes:
Step 101, smart lock store at least one set of data block.
The data that the data block includes, can be that the smart lock is set in the development phase or the later stage configures, Can be external module by communications to the smart lock, can also be the smart lock according to input finish message and Into.The data block can immobilize, can also periodicity or aperiodicity renewal.Those skilled in the art can adopt Data block as design in any way, here is omitted.
Step 102, exterior terminal provide power supply for the smart lock, and are established and communicated by serial line interface connecting line.
It the terminal, can be smart mobile phone, can be personal computer, can be tablet personal computer.Now, the terminal Common power supply is used with the smart lock, is realized and is in communication with each other by serial line interface.Those skilled in the art, which can use, to be appointed Where formula realizes that terminal is established with smart lock based on connecting line communicates, and here is omitted.
Step 103, the smart lock obtain the instruction message of armed state.
The smart lock includes communication module, and the instruction message can come from the communication module.For example, intelligence Lock includes processing module and serial interface communication module, and the serial interface communication module is responsible for the smart lock and the terminal Exchange data information;It is described serial when the terminal sends instruction message to the serial interface communication module of the smart lock Interface communication module will forward the instruction message to the processing module, the instruction message package containing unlocking instruction and one or Multiple data.Those skilled in the art can design any terminal and the smart lock exchange data information in any manner, Here is omitted.
The unlocking instruction and cookie, the cookie that step 104, the instruction message package contain include one or more numbers Calculating is combined according to one or more groups of in the cookie and the data block of, the smart lock, if calculating knot In scope of design, the smart lock motor rotates to be completed to unlock fruit.
Very clearly, the unlocking instruction that instruction message package contains is exactly to require that the smart lock is unlocked, but the smart lock needs Authenticate whether the unlocking instruction legal, then the information that the cookie is included be exactly for the smart lock authentication according to According to.
The cookie includes one or more data, for example, the data can be a timestamp, Ke Yishi It one password combination, can be user's mark, can be the device id of the smart lock, those skilled in the art, which can use, to be appointed Where formula designs cookie, and here is omitted.
In the data that the processing module of the smart lock includes according to the cookie, with the data block in step 101 It is one or more groups of to be combined calculating, if result of calculation, in preset range, the smart lock motor, which rotates, to be completed to unlock.
For example, the data block of smart lock storage identifies comprising user.Smart lock includes processing module and serial line interface Communication module, power and be connected with the smart lock using serial interface mouth line for the smart lock when terminal and realize that serial line interface leads to After letter, the terminal sends instruction message to the smart lock by serial line interface, the instruction message package containing unlocking instruction and cookie.After the smart lock gets instruction message, parse the instruction message and obtain unlocking instruction and cookie, it is described Cookie includes user's mark after encryption or user's mark without encryption, and the processing module is according to the use of the cookie Calculated compared with user's mark that family identifies with the data block includes, when result of calculation meets scope of design, the intelligence Motor can be locked and rotate completion unlocking.This citing is for readers ' reading it can be readily appreciated that using than more visible simply example, sheet Art personnel can design any algorithm in any manner and realize any result of calculation to meet any scope of design, this Place repeats no more.
Embodiment two
Fig. 2 is the flow chart of embodiments of the invention, and method and step includes:
Step 201, smart lock store at least one set of cookie, and the cookie includes one or more data.
It the data that the cookie is included, can be the data that the smart lock is set in the development phase, can be outside Data of the module by communications to the smart lock, can be the number that the smart lock forms according to input finish message According to can also be timestamp.The cookie can immobilize, can also periodicity or aperiodicity renewal.This area Technical staff can design such data in any manner, and here is omitted.
Step 202, exterior terminal provide power supply for the smart lock, and are established and communicated by serial line interface connecting line.
It the terminal, can be smart mobile phone, can be personal computer, can be tablet personal computer.Now, the terminal Common power supply is used with the smart lock, is realized and is in communication with each other by serial line interface.Those skilled in the art, which can use, to be appointed Where formula realizes that terminal is established with smart lock based on connecting line communicates, and here is omitted.
Step 203, the terminal send unlocking request message to the smart lock.
After terminal is successfully established communication connection with smart lock, the terminal sends unlocking request message to the intelligence first Lock, the smart lock is asked to be unlocked.
Step 204, the smart lock send cookie described in one group to the terminal.
When the smart lock receives the unlocking request message that the terminal is sent, the smart lock is according to the unlocking Request message, one group of cookie is obtained, and send the cookie to the terminal.
The cookie can not differentiate between terminal type, can also be different and different according to terminal type.For example, such as Terminal described in fruit is smart mobile phone, then smart lock sends the cookie of smart mobile phone type;If the terminal is individual calculus The cookie of machine, then smart lock transmission personal computers type.
Step 205, the terminal obtain one or more groups of data blocks after receiving the cookie, according to the cookie Calculating is combined with the data block, and obtains result of calculation.
It is obvious that the result of calculation is directly to determine the key message whether smart lock unlocks.
Terminal includes an application software, for obtaining one or more groups of data blocks, and according to the cookie and The data block is combined calculating.
The data block can be that the application software configures after the development phase is set or installs, and can be service Device can also be that the terminal arranges what is formed according to application message by communications to the terminal.
It is one or more groups of in the data that the application software of the terminal includes according to the cookie, with the data block Data, which are combined, calculates and obtains result of calculation.For example, the cookie includes device id(id), key(key)With Effective degree(times);The data block that terminal is got includes key mask(mask)Function f is calculated with combination(id, key, times, mask).The data that the terminal includes according to the cookie and the data block are calculated and obtained using the function To result of calculation.
For readers ' reading it can be readily appreciated that using than more visible simply example, those skilled in the art can be with for this citing Any algorithm is designed in any manner and realizes any result of calculation, and here is omitted.
Result of calculation is sent back the smart lock by step 206, the terminal.
Step 207, the smart lock receive the result of calculation, if result of calculation is in preset range, the intelligence Lock motor and rotate completion unlocking action.
Those skilled in the art can adjust above-mentioned steps in any manner and realize that smart lock is unlocked, no longer superfluous herein State.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (6)

  1. A kind of 1. smart lock emergent unlocking method, it is characterised in that including:
    Smart lock stores at least one set of data block;
    Terminal provides power supply for the smart lock;
    The terminal is connected by connecting line with the smart lock and establishes communication;
    The smart lock obtains the instruction message of armed state;
    The unlocking instruction and cookie, the cookie that the instruction message package contains include one or more data;
    One or more groups of in the cookie and the data block of the smart lock are combined calculating, if calculating knot Fruit starts unlocking flow in scope of design, the smart lock.
  2. A kind of 2. smart lock emergent unlocking method, it is characterised in that including:
    Smart lock stores at least one set of cookie, and the cookie includes one or more data;
    Terminal provides power supply for the smart lock;
    The terminal is connected by connecting line with the smart lock and establishes communication;
    The terminal sends unlocking request message to the smart lock;
    The smart lock sends cookie described in one group to the terminal after receiving the unlocking request message;
    The terminal obtains one or more groups of data blocks after receiving the cookie, according to the cookie and the data block Calculating is combined, and obtains result of calculation;
    The result of calculation is sent back the smart lock by the terminal;
    The smart lock receives the result of calculation, if result of calculation starts stream of unlocking in scope of design, the smart lock Journey.
  3. 3. the smart lock emergent unlocking method according to claim 1 ~ 2 any claim, it is characterised in that including:
    The terminal is connected with the smart lock by connecting line, and establishes serial interface communication;
    Or,
    Establish SPI interface communication;
    Or,
    Establish IIC interface communications.
  4. 4. the smart lock emergent unlocking method according to claim 1 ~ 2 any claim, it is characterised in that including:
    The data that the data block or/and cookie are included can be the smart lock in development phase setting or later stage Configuration can be external module by communications to the smart lock, can also be the smart lock according to input letter Breath arranges what is formed.
  5. 5. the smart lock emergent unlocking method according to claim 1 ~ 2 any claim, it is characterised in that including:
    The data block or/and cookie can immobilize, can also periodicity or aperiodicity renewal.
  6. 6. the smart lock emergent unlocking method according to claim 1 ~ 2 any claim, it is characterised in that including:
    The combination calculates, and is data that the cookie is included compared with the data that the data block includes;
    Or,
    The data that the cookie is included carry out computing with algorithm of the data that the data block includes according to design.
CN201710861894.7A 2017-09-21 2017-09-21 A kind of smart lock emergent unlocking method Pending CN107393107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710861894.7A CN107393107A (en) 2017-09-21 2017-09-21 A kind of smart lock emergent unlocking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710861894.7A CN107393107A (en) 2017-09-21 2017-09-21 A kind of smart lock emergent unlocking method

Publications (1)

Publication Number Publication Date
CN107393107A true CN107393107A (en) 2017-11-24

Family

ID=60350401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710861894.7A Pending CN107393107A (en) 2017-09-21 2017-09-21 A kind of smart lock emergent unlocking method

Country Status (1)

Country Link
CN (1) CN107393107A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021112A (en) * 2007-03-20 2007-08-22 姜君凯 Trick lock mechanism
CN101029546A (en) * 2006-03-02 2007-09-05 黄涛 Electronic coding lock system and its controllable starting method
CN101144349A (en) * 2007-11-12 2008-03-19 陈家辉 Household intelligent door lock system
CN101593380A (en) * 2008-05-28 2009-12-02 北京飞天诚信科技有限公司 A kind of gate control system and authentication method that generates and verify based on dynamic password
CN202131857U (en) * 2011-06-29 2012-02-01 上海伊可夫信息科技有限公司 Intelligent wireless remote control lock
CN103593892A (en) * 2013-11-06 2014-02-19 天津大学 Challenge response and symmetrical encryption based electronic lock unlocking method
CN105813069A (en) * 2016-03-15 2016-07-27 杭州立方控股股份有限公司 Smart lock with MAC address and control method of the smart lock
CN205502775U (en) * 2016-03-31 2016-08-24 陈旗 Passive electronic lock through smart mobile phone power supply
US9531637B2 (en) * 2012-11-08 2016-12-27 Ingersoll-Rand Company System, apparatus, and methods for server and computer interaction via web cookies

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101029546A (en) * 2006-03-02 2007-09-05 黄涛 Electronic coding lock system and its controllable starting method
CN101021112A (en) * 2007-03-20 2007-08-22 姜君凯 Trick lock mechanism
CN101144349A (en) * 2007-11-12 2008-03-19 陈家辉 Household intelligent door lock system
CN101593380A (en) * 2008-05-28 2009-12-02 北京飞天诚信科技有限公司 A kind of gate control system and authentication method that generates and verify based on dynamic password
CN202131857U (en) * 2011-06-29 2012-02-01 上海伊可夫信息科技有限公司 Intelligent wireless remote control lock
US9531637B2 (en) * 2012-11-08 2016-12-27 Ingersoll-Rand Company System, apparatus, and methods for server and computer interaction via web cookies
CN103593892A (en) * 2013-11-06 2014-02-19 天津大学 Challenge response and symmetrical encryption based electronic lock unlocking method
CN105813069A (en) * 2016-03-15 2016-07-27 杭州立方控股股份有限公司 Smart lock with MAC address and control method of the smart lock
CN205502775U (en) * 2016-03-31 2016-08-24 陈旗 Passive electronic lock through smart mobile phone power supply

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
滕智飞等: "《基于NFC的门禁系统》", 《物联网技术》 *

Similar Documents

Publication Publication Date Title
US7597250B2 (en) RFID reader with multiple interfaces
CN102315942B (en) Security terminal with Bluetooth and communication method thereof of security terminal and client end
EP1769419B1 (en) Transaction & payment system securing remote authentication/validation of transactions from a transaction provider
EP1734717B1 (en) Authentication systems, wireless communication terminals and wireless base stations
CN106031087A (en) Method and apparatus for authenticating client credentials
US20120249292A1 (en) Proximity based biometric identification systems and methods
CN101252435B (en) Method for realizing dynamic password generation and judge on smart card
CN101599832B (en) Method and system of authenticating personal identity for logging in a network system
CN105519004A (en) Mechanism for generating a hybrid communication circuitry for facilitating hybrid communication between devices
US20130179944A1 (en) Personal area network (PAN) ID-authenticating systems, apparatus, method
CN104410968A (en) Portable universal integrated circuit card (UICC) subscriber terminal equipment and identity authentication system thereof
EP1883892A2 (en) Rfid reader with multiple interfaces
CN104853354A (en) Bluetooth authentication method and system thereof
CN110239484A (en) Vehicle lock telesecurity control system and method
CN109587142A (en) A kind of the data safety AM access module and equipment of service-oriented stream
JP2005301454A (en) User identification system and charger/radio ic chip reader
CN105072136B (en) A kind of equipment room safety certifying method and system based on virtual drive
CN106295289B (en) A kind of message processing module
CN101132277A (en) Biological authentication method
CN102480724A (en) Software authentication data card, software authentication system and software authentication method
CN107393107A (en) A kind of smart lock emergent unlocking method
CN103020547A (en) Method and device for executing commands, intelligent card and mobile terminal
CN102546540B (en) Data processing method
US20200321090A1 (en) Portable Electronic Medical Record Card and Associated Systems and Methods
CN103186736A (en) Fingerprint key device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171124