CN109636964A - Smart lock, client, server, system, method and the storage medium controlled for smart lock - Google Patents
Smart lock, client, server, system, method and the storage medium controlled for smart lock Download PDFInfo
- Publication number
- CN109636964A CN109636964A CN201811427908.5A CN201811427908A CN109636964A CN 109636964 A CN109636964 A CN 109636964A CN 201811427908 A CN201811427908 A CN 201811427908A CN 109636964 A CN109636964 A CN 109636964A
- Authority
- CN
- China
- Prior art keywords
- smart lock
- virtual key
- lock control
- client
- control
- 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
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically 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
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00563—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns
Abstract
Client, server, system, method and storage medium the invention proposes smart lock and for controlling smart lock.The described method includes: smart lock controls triggering of the client based on user and starts registration operation;The smart lock control client is triggered based on user after the registration operates and obtains virtual key from the intelligent lock control control server, and the smart lock is written in the virtual key;The smart lock controls triggering of the client based on user and obtains unlock message from the intelligent lock control control server, and the smart lock is written in the unlock message;The smart lock is based on unlock message described in the virtual key authentication to implement unlocking action.Smart lock disclosed in this invention and client, server, system, method and storage medium have high convenience and safety.
Description
Technical field
Client, server, system, method and storage medium the present invention relates to lock and for controlling lock, more specifically
Ground is related to smart lock and client, server, system, method and storage medium for controlling smart lock.
Background technique
Currently, increasingly extensive and different field the type of business applied with computer and networks becomes increasingly abundant,
Smart lock is effectively controlled and is become more and more important.
Existing smart lock control method implements smart lock unlock operation typically with short message password or the mode swiped the card,
Wherein, the basic functional principle of the unlocking mode based on short message password is as follows: (1) user uses mobile terminal (example when unlocking
Such as smart phone) it sends to unlock to server end and request;(2) server end is opened by way of short message to mobile terminal return
Lock cipher;(3) user manually enters unlocking cipher on smart lock to unlock.
However, there are the following problems for above-mentioned existing smart lock control method: being both needed to brush when (1) unlocking every time due to user
Card obtains and inputs password, therefore cumbersome;(2) due to transmitting password by way of short message, therefore there are short messages
The risk (extracting identifying code by modes such as pseudo-base station, virus links) illegally usurped;(3) it is easy to carry unlocking card
In loss, so as to cause inconvenient and potential security risk of unlocking.
Accordingly, there exist following demands: providing the smart lock of safety that is easy to operate and having enhancing and for controlling
Client, server, system, method and the storage medium of smart lock processed.
Summary of the invention
In order to solve the problems existing in the prior art scheme, the invention proposes smart lock and for controlling intelligence
Client, server, system, method and the storage medium that can be locked.
According to an aspect of the present invention, a kind of method for smart lock control is suggested, and the method includes following
Step:
(A1) smart lock control triggering of the client based on user and read the attribute information of smart lock, and based on described
Attribute information simultaneously starts registration operation by the data interaction with intelligent lock control control server;
(A2) smart lock control client be based on user's triggering after the registration operate and from the intelligence
Lock control control server obtains virtual key, and the smart lock is written in the virtual key;
(A3) after obtaining and the virtual key is written, the smart lock control triggering of the client based on user and from
The intelligent lock control control server obtains unlock message, and the smart lock is written in the unlock message;
(A4) smart lock is based on unlock message described in the virtual key authentication to implement unlocking action.
According to another aspect of the present invention, a kind of smart lock control system is suggested, the smart lock control system packet
It includes:
Smart lock controls client, and the smart lock control client reads smart lock for the triggering based on user
Attribute information simultaneously starts registration operation by the data interaction with intelligent lock control control server, and for grasping in the registration
Implement unlock operation after the completion of work based on virtual key and unlock message according to the triggering of user;
Smart lock, the smart lock are used to provide the described attribute information, and for verify and temporarily store it is described virtually
Key simultaneously verifies the unlock message to implement unlocking action;
Intelligent lock control control server, the intelligent lock control control server manage registration for implementing the registration operation
Smart lock, and for generating the virtual key and unlock message.
According to another aspect of the present invention, a kind of smart lock control client is suggested, and the smart lock controls client
The attribute information of smart lock is read for the triggering based on user and by the data interaction with intelligent lock control control server in end
It is operated to start registration, and for being based on virtual key and unlock according to the triggering of user after the completion of registration operation
Message operates to implement unlock, and the smart lock control client includes:
Registering unit, the registering unit are used to read the attribute information of smart lock and construct registration request message, therewith
The registration request message is sent to the intelligent lock control control server to start registration operation, wherein the registration request
Message includes the attribute information;
Virtual key processing unit, the virtual key processing unit are used for the triggering according to user and construct virtual key
The virtual key request message is simultaneously sent to the intelligent lock control control server to control from the smart lock by request message
Server obtains virtual key, stores the virtual key therewith and the virtual key is sent to the intelligence in unlock
Lock;
Unlocking unit, the unlocking unit are used for according to the triggering of user and obtain unlock message and by the unlock message
The smart lock is sent to trigger the smart lock and implement unlocking action.
According to another aspect of the present invention, a kind of intelligent lock control control server is suggested, the intelligent lock control uniform business
Device is used to receive the registration request message from smart lock control client and implements registration and operate and for cooperating the intelligence
Energy lock control client completes unlock operation, and the intelligent lock control control server includes:
Registration module, the registration module generate and the intelligence therewith for receiving and parsing through the registration request message
Energy lock control client requests the associated smart lock identifier of attribute information of the smart lock of registration and believes the attribute
Breath and smart lock identifier associated there are recorded in smart lock registration table as registration information, and by registering result
It is back to the smart lock control client, wherein the registering result includes the smart lock identifier;
Virtual key generation module, the virtual key generation module control client from the smart lock for receiving
The virtual key request message and according to smart lock identifier generate with the smart lock identifier indicated by intelligent locking phase
Associated virtual cryptographic key pair, and virtual key is constructed and signs and issues based on preset root private key, and the virtual key is sent out
Send the smart lock control client back to, wherein the virtual key includes the virtual key of the virtual cryptographic key centering
Public key and registration information associated with smart lock indicated by the smart lock identifier, and the effective time of virtual key
Range.
According to another aspect of the present invention, a kind of smart lock is suggested, and the smart lock is used to control visitor to smart lock
Family end provides the attribute information of itself, and for verifying and temporarily storing the virtual key from smart lock control client
Spoon and based on the virtual key authentication from the smart lock control client unlock message to implement unlocking action, it is described
Smart lock includes:
Virtual key authentication and storage unit, the virtual key authentication and storage unit are for receiving the virtual key
Spoon, and the available time based on the legitimacy of virtual key, the virtual key described in the root public key certification authentication prestored with
And the scope of application of the virtual key, and temporarily store the virtual key in memory in the case where being verified;
Unlocking unit, the unlocking unit are based on solving from the virtual key for receiving the unlock message
The legitimacy of message is unlocked described in the virtual key public key verifications being precipitated, and is executed to unlock in the case where being verified and be moved
Make.
According to another aspect of the present invention, a kind of computer-readable storage medium to storage processor executable instruction
Matter is suggested, and the processor-executable instruction stored in the computer readable storage medium can cause to handle when executed
Device implements the method for smart lock control as described above.
Smart lock disclosed in this invention and client, server, system, method and storage for controlling smart lock
Medium has at least the following advantages: (1) during unlocking, not only verifying the personal identification of unlocking person, while close by signing
Key verifies the legitimacy of intelligent lock device, to significantly enhance safety;(2) without manually entering password or by hand brush
Card, therefore there is high property easy to use.
Detailed description of the invention
In conjunction with attached drawing, technical characteristic of the invention and advantage will be more fully understood by those skilled in the art, in which:
Fig. 1 is the schematic diagram of the smart lock control system of embodiment according to the present invention;
Fig. 2 is the flow chart of the method for smart lock control of embodiment according to the present invention.
Specific embodiment
Fig. 1 is the schematic diagram of the smart lock control system of embodiment according to the present invention.As shown in Figure 1, this hair
Bright disclosed smart lock control system includes smart lock 1, smart lock control client 2 and intelligent lock control control server 3.Its
In, smart lock control client 2 read for the triggering based on user the attribute information of smart lock and by with intelligence
The data interaction of lock control control server 3 operates to start registration, and is used for after the completion of registration operation according to user's
It triggers and implements unlock operation based on virtual key and unlock message.The smart lock 1 is used to provide the described attribute information, with
And it for verifying and temporarily stores the virtual key and verifies the unlock message to implement unlocking action.The intelligent lock control
Control server 3 manages the smart lock of registration, and for generating the virtual key and unlock for implementing the registration operation
Message.
Illustratively, in smart lock control system disclosed in this invention, the smart lock control client 2 is being obtained
User's typing personal information (such as name, identification card number etc.) and/or biological information are prompted before the virtual key
(such as face, fingerprint, iris etc.) is to verify the identity of user.
Illustratively, in smart lock control system disclosed in this invention, the smart lock control client 2 is being obtained
Prompt user's typing biological information (such as face, fingerprint, iris etc.) to verify use again before the unlock message
The identity at family.
Illustratively, in smart lock control system disclosed in this invention, the smart lock control client 2 is resident
And operate in the application program on mobile terminal (such as smart phone).
Illustratively, in smart lock control system disclosed in this invention, the smart lock control client 2 is further
Including registering unit 6, virtual key processing unit 7 and unlocking unit 8.The registering unit 6 is used to read the category of smart lock
Property information (such as by close to smart lock by the communication protocol based on Radio Link the reading attributes information from smart lock)
And registration request message is constructed, the registration request message is sent to the intelligent lock control control server 3 therewith to start note
Volume operation, wherein the registration request message includes the attribute information.The virtual key processing unit 7 be used for according to
The triggering at family and construct virtual key request message and the virtual key request message be sent to the intelligent lock control and subdue
Device 3 be engaged in obtain virtual key from the intelligent lock control control server 3, stores the virtual key therewith and in unlock by institute
It states virtual key and is sent to the smart lock 1.The unlocking unit 8 obtains unlock message for the triggering according to user and will
The unlock message is sent to the smart lock 1 to trigger the smart lock and implement unlocking action.
Illustratively, in smart lock control system disclosed in this invention, the intelligent lock control control server 3 is further
Including registration module 9 and virtual key generation module 10.The registration module 9 is for receiving and parsing through the registration request report
Text, generating smart lock identifier associated with the attribute information of the smart lock 1 therewith, (it is globally unique identifier, table
Show the ID of the smart lock) and be recorded in using the attribute information and smart lock identifier associated there as registration information
In smart lock registration table, and registering result is back to the smart lock and controls client 2, wherein the registering result packet
Include the smart lock identifier.The virtual key generation module 10 is for receiving the virtual key request message and according to intelligence
Identifier can be locked and generate virtual cryptographic key pair associated with smart lock indicated by the smart lock identifier, and based on default
Root private key construct and sign and issue virtual key, and the virtual key is sent back into the smart lock and controls client 2, wherein
The virtual key include the virtual cryptographic key centering virtual key public key and with indicated by the smart lock identifier
The associated registration information of smart lock, and the effective time range of virtual key.
Illustratively, in smart lock control system disclosed in this invention, the virtual cryptographic key centering it is virtual
Key private key is stored in the storage medium of the intelligent lock control control server 3.
Illustratively, in smart lock control system disclosed in this invention, the unlocking unit 8 obtains as follows
And send unlock message: (1) the triggering building unlock message request message based on user and by the unlock message request message
It is sent to the intelligent lock control control server 3, wherein the unlock message request message includes associated with the smart lock 1
Smart lock identifier;(2) the unlock message that the intelligent lock control control server 3 returns is received, and the unlock message is passed
It send into the smart lock to trigger the smart lock and implement unlocking action.
Illustratively, in smart lock control system disclosed in this invention, the intelligent lock control control server 3 is further
Including unlocked state 11, the unlocked state 11 is based on and solution for receiving and parsing through the unlock message request message
The virtual key private key of the associated virtual cryptographic key centering of smart lock indicated by the smart lock identifier of precipitation and should
The registration information of smart lock generates and signs and issues unlock message, and the unlock message is sent back the smart lock therewith and controls client
End 2.
Illustratively, in smart lock control system disclosed in this invention, the smart lock 1 further comprises virtual key
Spoon verifying and storage unit 4 and unlocking unit 5.The virtual key authentication and storage unit 4 are used to receive the virtual key,
And based on the legitimacy of virtual key, the available time of the virtual key described in the root public key certification authentication prestored and institute
The scope of application of virtual key is stated, and temporarily stores the virtual key in memory in the case where being verified.It is described
Unlocking unit 5 is tested for receiving the unlock message based on the virtual key public key parsed from the virtual key
The legitimacy of the unlock message is demonstrate,proved, and executes unlocking action in the case where being verified.
Illustratively, in smart lock control system disclosed in this invention, the attribute information of the smart lock includes intelligence
Energy Lock Factory quotient, smart lock device model, the address smart lock mac, smart lock registion time etc..
Illustratively, in smart lock control system disclosed in this invention, the virtual key request message includes void
Quasi- key comes into effect time field and the effective Duration field of virtual key, wherein the virtual key starts to give birth to
Effect time field and the value of the effective Duration field of virtual key are inputted according to user and are determined.
Illustratively, in smart lock control system disclosed in this invention, the virtual key includes following item: virtual
The applicable facility information (i.e. smart lock attribute information) of key format version, virtual key identification symbol, virtual key, virtual key
At the beginning of coming into force, the virtual key effective duration, virtual cryptographic key centering virtual key public key and signature.
Illustratively, in smart lock control system disclosed in this invention, the unlock message includes lower list: virtual
Key version, virtual key applicable facility information (i.e. smart lock attribute information), challenge code and signature.
Therefore smart lock control system disclosed in this invention have the advantage that (1) during unlocking, no
The personal identification of unlocking person is only verified, while verifying the legitimacy of intelligent lock device by signature key, to significantly enhance
Safety;(2) without manually entering password or swiping the card by hand, therefore there is high property easy to use.
As shown in Figure 1, the invention discloses smart locks to control client 2, the smart lock control client 2 is for being based on
The triggering of user and read the attribute information of smart lock and start registration by the data interaction with intelligent lock control control server
Operation, and for being implemented according to the triggering of user based on virtual key and unlock message after the completion of registration operation
Unlock operation, the smart lock control client 2 includes registering unit 6, virtual key processing unit 7 and unlocking unit 8.Institute
It is (such as logical based on Radio Link by passing through close to smart lock to state attribute information of the registering unit 6 for reading smart lock
Letter agreement reading attributes information from smart lock) and registration request message is constructed, the registration request message is sent to therewith
The intelligent lock control control server 3 is to start registration operation, wherein the registration request message includes the attribute information.Institute
Virtual key processing unit 7 is stated to construct virtual key request message for the triggering according to user and ask the virtual key
It asks message to be sent to the intelligent lock control control server 3 to obtain virtual key from the intelligent lock control control server 3, deposits therewith
It stores up the virtual key and the virtual key is sent to the smart lock 1 in unlock.The unlocking unit 8 is used for basis
The triggering of user and obtain unlock message and the unlock message be sent to the smart lock 1 to trigger smart lock implementation
Unlocking action.
Illustratively, smart lock control client 2 disclosed in this invention prompts to use before obtaining the virtual key
Family typing personal information (name, identification card number etc.) and/or biological information (face, fingerprint, iris etc.
Deng) to verify the identity of user.
Illustratively, smart lock control client 2 disclosed in this invention is before obtaining or generating the unlock message
Prompt user's typing biological information (such as face, fingerprint, iris etc.) to verify the identity of user again.
Illustratively, smart lock disclosed in this invention control client 2 is resident and operates in mobile terminal (such as intelligence
Can mobile phone) on application program.
Illustratively, in smart lock disclosed in this invention control client 2, the virtual key includes the intelligence
The virtual key public key of the virtual cryptographic key centering generated of lock control control server 3 and with indicated by the smart lock identifier
The associated registration information of smart lock.
Illustratively, in smart lock disclosed in this invention control client 2, the unlocking unit 8 is as follows
It obtains and sends unlock message: (1) the triggering building unlock message request message based on user and by the unlock message request
Message is sent to the intelligent lock control control server 3, wherein the unlock message request message includes and 1 phase of smart lock
Associated smart lock identifier;(2) the unlock message that the intelligent lock control control server 3 returns is received, and the unlock is reported
Text is sent in the smart lock to trigger the smart lock and implement unlocking action.
Illustratively, in smart lock disclosed in this invention control client 2, the attribute information of the smart lock includes
Smart lock manufacturer, smart lock device model, the address smart lock mac, smart lock registion time etc..
Illustratively, in smart lock disclosed in this invention control client 2, the virtual key request message includes
Virtual key comes into effect time field and the effective Duration field of virtual key, wherein the virtual key starts
Entry-into-force time field and the value of the effective Duration field of virtual key are inputted according to user and are determined.
Illustratively, in smart lock disclosed in this invention control client 2, the virtual key includes following item:
It is the applicable facility information (i.e. smart lock attribute information) of virtual key format version, virtual key identification symbol, virtual key, virtual
Key come into force at the beginning of, the virtual key effective duration, virtual cryptographic key centering virtual key public key and
Signature.
Illustratively, in smart lock disclosed in this invention control client 2, the unlock message includes lower list:
Virtual key version, virtual key applicable facility information (i.e. smart lock attribute information), challenge code and signature.
As shown in Figure 1, the intelligent lock control control server 3 is for receiving the invention discloses intelligent lock control control server 3
The registration request message of client 2 is controlled from smart lock and is implemented registration and is operated and for cooperating the smart lock control objective
Unlock operation is completed at family end 2, and the intelligent lock control control server 3 includes registration module 9 and virtual key generation module 10.It is described
Registration module 9 generates requested with smart lock control client 2 therewith for receiving and parsing through the registration request message
(it is globally unique identifier to the associated smart lock identifier of the attribute information of the smart lock 1 of registration, indicates the smart lock
ID) and using the attribute information and smart lock identifier associated there as registration information it is recorded in smart lock registration table
In, and registering result is back to the smart lock and controls client 2, wherein the registering result includes the smart lock
Identifier.The virtual key generation module 10 is used to receive the virtual key from smart lock control client 2
Request message simultaneously generates virtual key associated with smart lock indicated by the smart lock identifier according to smart lock identifier
Key pair, and virtual key is constructed and signs and issues based on preset root private key, and the virtual key is sent back into the smart lock
Control client 2, wherein the virtual key include the virtual cryptographic key centering virtual key public key and with the intelligence
The effective time range of the associated registration information of smart lock indicated by identifier and virtual key can be locked.
Illustratively, intelligent lock control control server 3 disclosed in this invention stores the void of the virtual cryptographic key centering
Quasi- key private key.
Illustratively, intelligent lock control control server 3 disclosed in this invention further comprises unlocked state 11, the unlock
Module 11 is used to receive and parse through the unlock message request message from smart lock control client 2, and is based on and solution
The virtual key private key of the associated virtual cryptographic key centering of smart lock indicated by the smart lock identifier of precipitation and should
The registration information of smart lock generates and signs and issues unlock message, and the unlock message is sent back the smart lock therewith and controls client
End 2.
Illustratively, in intelligent lock control control server 3 disclosed in this invention, the attribute information of the smart lock includes
Smart lock manufacturer, smart lock device model, the address smart lock mac, smart lock registion time etc..
Illustratively, in intelligent lock control control server 3 disclosed in this invention, the virtual key request message includes
Virtual key comes into effect time field and the effective Duration field of virtual key, wherein the virtual key starts
Entry-into-force time field and the value of the effective Duration field of virtual key are inputted according to user and are determined.
Illustratively, in intelligent lock control control server 3 disclosed in this invention, the virtual key includes following item:
It is the applicable facility information (i.e. smart lock attribute information) of virtual key format version, virtual key identification symbol, virtual key, virtual
Key come into force at the beginning of, the virtual key effective duration, virtual cryptographic key centering virtual key public key and
Signature.
Illustratively, in intelligent lock control control server 3 disclosed in this invention, the unlock message includes lower list:
Virtual key version, virtual key applicable facility information (i.e. smart lock attribute information), challenge code and signature.
As shown in Figure 1, the smart lock 1 is used to provide to smart lock control client 2 the invention discloses smart lock 1
The attribute information of itself, and for verify and temporarily store from the smart lock control client 2 virtual key and base
In unlock message of the virtual key authentication from smart lock control client 2 to implement unlocking action.The intelligence
Lock 1 includes virtual key authentication and storage unit 4 and unlocking unit 5.The virtual key authentication and storage unit 4 are for receiving
The virtual key, and based on the legitimacy of virtual key, the virtual key described in the root public key certification authentication prestored when
Between validity and the scope of application of the virtual key, and in the case where being verified in memory described in interim storage
Virtual key.The unlocking unit 5 is used to receive the unlock message, and based on the void parsed from the virtual key
The legitimacy of message is unlocked described in quasi- key public key verifications, and executes unlocking action in the case where being verified.
Illustratively, in smart lock disclosed in this invention, the attribute information of the smart lock include smart lock manufacturer,
Smart lock device model, the address smart lock mac, smart lock registion time etc..
Illustratively, in smart lock disclosed in this invention, the virtual key includes following item: virtual key format
What the applicable facility information (i.e. smart lock attribute information) of version, virtual key identification symbol, virtual key, virtual key came into force opens
Begin the time, the virtual key effective duration, virtual cryptographic key centering virtual key public key and signature.
Illustratively, in smart lock disclosed in this invention, the unlock message includes lower list: virtual key version
Originally, virtual key applicable facility information (i.e. smart lock attribute information), challenge code and signature.
Therefore under smart lock disclosed in this invention, smart lock control client, intelligent lock control control server have
Column advantage: (1) unlocking during, the personal identification of unlocking person is not only verified, while smart lock is verified by signature key and is set
Standby legitimacy, to significantly enhance safety;(2) without manually entering password or swiping the card by hand, therefore there is high make
Use convenience.
Fig. 2 is the flow chart of the method for smart lock control of embodiment according to the present invention.As shown in Fig. 2, this hair
The bright disclosed method for smart lock control includes the following steps: that (A1) smart lock controls triggering of the client based on user
And the attribute information of smart lock is read, and based on the attribute information and pass through the data interaction with intelligent lock control control server
And start registration operation;(A2) smart lock control client be based on user's triggering after the registration operate and from institute
It states intelligent lock control control server and obtains virtual key, and the smart lock is written into the virtual key;(A3) it is obtaining and is writing
After entering the virtual key, the smart lock controls triggering of the client based on user and obtains from the intelligent lock control control server
Unlock message is taken, and the smart lock is written into the unlock message;(A4) smart lock is based on the virtual key authentication
The unlock message is to implement unlocking action.
Illustratively, in the method disclosed in this invention for smart lock control, the step (A2) is further wrapped
Include: the smart lock control client prompts user's typing personal information (such as name, body before obtaining the virtual key
Part card number etc.) and/or biological information (such as face, fingerprint, iris etc.) to verify the identity of user.
Illustratively, in the method disclosed in this invention for smart lock control, the step (A3) is further wrapped
Include: the smart lock control client prompts user's typing biological information (all again before obtaining the unlock message
Such as face, fingerprint, iris) to verify the identity of user.
Illustratively, in the method disclosed in this invention for smart lock control, the smart lock controls client
It is resident and operates in the application program on mobile terminal (such as smart phone).
Illustratively, in the method disclosed in this invention for smart lock control, the step (A1) is further wrapped
Include: smart lock control client reads the attribute information of smart lock (such as by passing through close to smart lock based on wireless
The communication protocol of link reading attributes information from smart lock) and registration request message is constructed, therewith by the registration request report
Text is sent to the intelligent lock control control server to start registration operation, wherein the registration request message includes the attribute
Information.
Illustratively, in the method disclosed in this invention for smart lock control, the step (A2) is further wrapped
Include: the smart lock control client constructs virtual key request message according to the triggering of user and asks the virtual key
It asks message to be sent to the intelligent lock control control server to obtain virtual key from the intelligent lock control control server, stores therewith
The virtual key is simultaneously sent to the smart lock in unlock by the virtual key.
Illustratively, in the method disclosed in this invention for smart lock control, the step (A1) is further wrapped
Include: the intelligent lock control control server receives and parses through the registration request message, generates the attribute with the smart lock therewith
The associated smart lock identifier of information (it is globally unique identifier, indicates the ID of the smart lock) and by the attribute information
And smart lock identifier associated there is recorded in smart lock registration table as registration information, and registering result is returned
It is back to the smart lock control client, wherein the registering result includes the smart lock identifier.
Illustratively, in the method disclosed in this invention for smart lock control, the step (A2) is further wrapped
Include: the intelligent lock control control server receives the virtual key request message and is generated and the intelligence according to smart lock identifier
The associated virtual cryptographic key pair of smart lock indicated by identifier is locked, and is constructed and is signed and issued virtual based on preset root private key
Key, and the virtual key is sent back into the smart lock and controls client, wherein the virtual key includes described virtual
The virtual key public key of cryptographic key centering and registration information associated with smart lock indicated by the smart lock identifier
And the effective time range of virtual key.
Illustratively, in the method disclosed in this invention for smart lock control, the intelligent lock control control server
Store the virtual key private key of the virtual cryptographic key centering.
Illustratively, in the method disclosed in this invention for smart lock control, the step (A3) is further wrapped
It includes: (1) triggering building unlock message request message of the smart lock control client based on user and by the unlock message
Request message is sent to the intelligent lock control control server, wherein the unlock message request message includes and the smart lock 1
Associated smart lock identifier;(2) the smart lock control client receives the solution that the intelligent lock control control server returns
Message is locked, and the unlock message is sent in the smart lock to trigger the smart lock and implement unlocking action.
Optionally, in the method disclosed in this invention for smart lock control, the step (A3) further comprises:
The intelligent lock control control server receives and parses through the unlock message request message, and based on the smart lock mark that parses
Know the virtual key private key of the indicated associated virtual cryptographic key centering of smart lock of symbol and the registration letter of the smart lock
Breath generates and signs and issues unlock message, and the unlock message is sent back the smart lock therewith and controls client.
Illustratively, in the method disclosed in this invention for smart lock control, the step (A2) is further wrapped
Include: the smart lock receives the virtual key, and based on the legitimacy of virtual key described in the root public key certification authentication prestored,
The scope of application of the available time of the virtual key and the virtual key, and in the case where being verified including
The virtual key is temporarily stored in depositing.
Illustratively, in the method disclosed in this invention for smart lock control, the step (A4) is further wrapped
Include: the smart lock receives the unlock message, and is tested based on the virtual key public key parsed from the virtual key
The legitimacy of the unlock message is demonstrate,proved, and executes unlocking action in the case where being verified.
Illustratively, in the method disclosed in this invention for smart lock control, the attribute information of the smart lock
Including smart lock manufacturer, smart lock device model, the address smart lock mac, smart lock registion time etc..
Illustratively, in the method disclosed in this invention for smart lock control, the virtual key request message
It comes into effect time field and the effective Duration field of virtual key including virtual key, wherein the virtual key
The time field that comes into effect and the value of the effective Duration field of virtual key are inputted according to user and are determined.
Illustratively, in the method disclosed in this invention for smart lock control, the virtual key includes as follows
: the applicable facility information (i.e. smart lock attribute information) of virtual key format version, virtual key identification symbol, virtual key,
Virtual key come into force at the beginning of, the virtual key effective duration, virtual cryptographic key centering virtual key public key
And signature.
Illustratively, in the method disclosed in this invention for smart lock control, the unlock message includes following
: virtual key version, virtual key applicable facility information (i.e. smart lock attribute information), challenge code and signature.
Therefore the method disclosed in this invention for smart lock control has the advantage that
(1) during unlocking, the personal identification of unlocking person is not only verified, while smart lock is verified by signature key and is set
Standby legitimacy, to significantly enhance safety;(2) without manually entering password or swiping the card by hand, therefore there is high make
Use convenience.
Invention also discloses the computer readable storage mediums to storage processor executable instruction.The computer
The processor-executable instruction stored in readable storage medium storing program for executing can cause processor to implement above with reference to the accompanying drawings 2 when executed
The described method for smart lock control.
Although the invention has been described by way of example and in terms of the preferred embodiments, but it is not for limiting the present invention, any this field
Technical staff without departing from the spirit and scope of the present invention, may be by the methods and technical content of the disclosure above to this hair
Bright technical solution makes possible variation and modification, therefore, anything that does not depart from the technical scheme of the invention, and according to the present invention
Technical spirit any simple modifications, equivalents, and modifications to the above embodiments, belong to technical solution of the present invention
Protection scope.
In addition, it will be understood by those skilled in the art that the various aspects of the application can be by several with patentability
Type or situation are illustrated and described, the combination or right including any new and useful process, machine, product or substance
Their any new and useful improvement.Correspondingly, the various aspects of the application can completely by hardware execute, can be complete
It is executed, can also be executed by combination of hardware by software (including firmware, resident software, microcode etc.).In addition, the application
Various aspects may show as the computer product being located in one or more computer-readable mediums, which includes that computer can
Reader coding.
Computer program code needed for the operation of the application each section can use any one or more programming language,
Including Object-Oriented Programming Language such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C++, C#, VB.NET,
Python etc., conventional procedural programming language for example C language, Visual Basic, 2003 Fortran, Perl, COBOL 2002,
PHP, ABAP, dynamic programming language such as Python, Ruby and Groovy or other programming languages etc..The program coding can be complete
Entirely on the user computer run run on the user computer as independent software package or partially in subscriber computer
Upper operation part runs in remote computer or runs on a remote computer or server completely.In the latter cases, remotely
Computer can be connect by any latticed form with subscriber computer, such as local area network (LAN) or wide area network (WAN), or even
It is connected to outer computer (such as passing through internet), or in cloud computing environment, or is serviced as service using such as software
(SaaS)。
In addition, except clearly stating in non-claimed, the sequence of herein described processing element and sequence, digital alphabet
Using or other titles use, be not intended to limit the sequence of the application process and method.Although by each in above-mentioned disclosure
Kind of example discuss it is some it is now recognized that useful inventive embodiments, but it is to be understood that, such details only plays explanation
Purpose, appended claims are not limited in the embodiment disclosed, on the contrary, claim is intended to cover and all meets the application
The amendment and equivalent combinations of embodiment spirit and scope.For example, although system component described above can be set by hardware
It is standby to realize, but can also be only achieved by the solution of software, such as pacify on existing server or mobile device
Fill described system.
Similarly, it is noted that in order to simplify herein disclosed statement, to help real to one or more invention
Apply the understanding of example, above in the description of the embodiment of the present application, sometimes by various features merger to one embodiment, attached drawing or
In descriptions thereof.But this disclosure method is not meant to mention in aspect ratio claim required for the application object
And feature it is more.In fact, the feature of embodiment will be less than whole features of the single embodiment of above-mentioned disclosure.
Finally, it will be understood that embodiment described herein is only to illustrate the principle of the embodiment of the present application.Other
Deformation may also belong to scope of the present application.Therefore, as an example, not a limit, the alternative configuration of the embodiment of the present application is visual
It is consistent with teachings of the present application.Correspondingly, embodiments herein is not limited only to the implementation that the application is clearly introduced and described
Example.
Claims (10)
1. a kind of method for smart lock control, the method includes the following steps:
(A1) smart lock control triggering of the client based on user and read the attribute information of smart lock, and be based on the attribute
Information simultaneously starts registration operation by the data interaction with intelligent lock control control server;
(A2) smart lock control client be based on user's triggering after the registration operate and from the intelligent lock control
Control server obtains virtual key, and the smart lock is written in the virtual key;
(A3) after obtaining and the virtual key is written, the smart lock control triggering of the client based on user and from described
Intelligent lock control control server obtains unlock message, and the smart lock is written in the unlock message;
(A4) smart lock is based on unlock message described in the virtual key authentication to implement unlocking action.
2. the method according to claim 1 for smart lock control, which is characterized in that the step (A2) is further wrapped
Include: the smart lock control client prompts user's typing personal information and/or biology special before obtaining the virtual key
Reference is ceased to verify the identity of user.
3. the method according to claim 2 for smart lock control, which is characterized in that the step (A3) is further wrapped
Include: the smart lock control client prompts user's typing biological information to test again before obtaining the unlock message
Demonstrate,prove the identity of user.
4. the method according to claim 3 for smart lock control, which is characterized in that the step (A2) is further wrapped
Include: the smart lock control client constructs virtual key request message according to the triggering of user and asks the virtual key
It asks message to be sent to the intelligent lock control control server to obtain virtual key from the intelligent lock control control server, stores therewith
The virtual key is simultaneously sent to the smart lock in unlock by the virtual key.
5. the method according to claim 4 for smart lock control, which is characterized in that the step (A2) is further wrapped
Include: the intelligent lock control control server receives the virtual key request message and is generated and the intelligence according to smart lock identifier
The associated virtual cryptographic key pair of smart lock indicated by identifier is locked, and is constructed and is signed and issued virtual based on preset root private key
Key, and the virtual key is sent back into the smart lock and controls client, wherein the virtual key includes described virtual
The virtual key public key of cryptographic key centering and registration information associated with smart lock indicated by the smart lock identifier
And the effective time range of virtual key.
6. a kind of smart lock control system, the smart lock control system include:
Smart lock controls client, and the smart lock control client reads the attribute of smart lock for the triggering based on user
Information simultaneously starts registration operation by the data interaction with intelligent lock control control server, and for having operated in the registration
Implement unlock operation based on virtual key and unlock message at the rear triggering according to user;
Smart lock, the smart lock are used to provide the described attribute information, and for verifying and temporarily storing the virtual key
And the unlock message is verified to implement unlocking action;
Intelligent lock control control server, the intelligent lock control control server manage the intelligence of registration for implementing the registration operation
Lock, and for generating the virtual key and unlock message.
7. a kind of smart lock controls client, the smart lock control client reads smart lock for the triggering based on user
Attribute information and start registration operation by the data interaction with intelligent lock control control server, and in the registration
Implement unlock operation, the smart lock control after the completion of operation based on virtual key and unlock message according to the triggering of user
Client includes:
Registering unit, the registering unit is used to read the attribute information of smart lock and constructs registration request message, therewith by institute
It states registration request message and is sent to the intelligent lock control control server to start registration operation, wherein the registration request message
Include the attribute information;
Virtual key processing unit, the virtual key processing unit are used for the triggering according to user and construct virtual key and request
The virtual key request message is simultaneously sent to the intelligent lock control control server to subdue business from the intelligent lock control by message
Device obtains virtual key, stores the virtual key therewith and the virtual key is sent to the smart lock in unlock;
Unlocking unit, the unlocking unit are used for the triggering according to user and obtain unlock message and send the unlock message
Implement unlocking action to the smart lock to trigger the smart lock.
8. a kind of intelligent lock control control server, the intelligent lock control control server is used to receive from smart lock control client
Registration request message and implement registration and operate and for cooperating smart lock control client to complete unlock operation, the intelligence
Can lock control control server include:
Registration module, the registration module generate and the smart lock therewith for receiving and parsing through the registration request message
Control client request register smart lock the associated smart lock identifier of attribute information and by the attribute information with
And smart lock identifier associated there is recorded in smart lock registration table as registration information, and registering result is returned
Client is controlled to the smart lock, wherein the registering result includes the smart lock identifier;
Virtual key generation module, the virtual key generation module are used to receive the institute from smart lock control client
It states virtual key request message and is generated according to smart lock identifier associated with smart lock indicated by the smart lock identifier
Virtual cryptographic key pair, and construct and sign and issue virtual key based on preset root private key, and the virtual key is sent back
The smart lock controls client, wherein the virtual key includes the virtual key public key of the virtual cryptographic key centering
And registration information associated with smart lock indicated by the smart lock identifier, and the effective time model of virtual key
It encloses.
9. a kind of smart lock, the smart lock is used to provide the attribute information of itself to smart lock control client, and is used for
Verify and temporarily store the virtual key from smart lock control client and based on the virtual key authentication from institute
The unlock message of smart lock control client is stated to implement unlocking action, the smart lock includes:
Virtual key authentication and storage unit, the virtual key authentication and storage unit are used to receive the virtual key, and
Based on the legitimacy of virtual key, the available time of the virtual key described in the root public key certification authentication prestored and described
The scope of application of virtual key, and temporarily store the virtual key in memory in the case where being verified;
Unlocking unit, the unlocking unit are based on parsing from the virtual key for receiving the unlock message
Virtual key public key verifications described in unlock the legitimacy of message, and unlocking action is executed in the case where being verified.
10. a kind of computer readable storage medium to storage processor executable instruction, the computer-readable storage medium
The processor-executable instruction stored in matter can cause processor to implement such as any one of claim 1-5 when executed
Method described in claim for smart lock control.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811427908.5A CN109636964A (en) | 2018-11-27 | 2018-11-27 | Smart lock, client, server, system, method and the storage medium controlled for smart lock |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811427908.5A CN109636964A (en) | 2018-11-27 | 2018-11-27 | Smart lock, client, server, system, method and the storage medium controlled for smart lock |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109636964A true CN109636964A (en) | 2019-04-16 |
Family
ID=66069718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811427908.5A Pending CN109636964A (en) | 2018-11-27 | 2018-11-27 | Smart lock, client, server, system, method and the storage medium controlled for smart lock |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109636964A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109636965A (en) * | 2018-11-27 | 2019-04-16 | 北京砂信息技术有限公司 | Smart lock, client, server, system, method and the storage medium controlled for smart lock |
CN110211268A (en) * | 2019-06-04 | 2019-09-06 | 北京一砂信息技术有限公司 | A kind of client, server, system, method and the storage medium of timeliness random cipher unlock smart lock |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101583124A (en) * | 2009-06-10 | 2009-11-18 | 大唐微电子技术有限公司 | Authentication method and system of subscriber identity module and terminal |
CN103944736A (en) * | 2014-04-25 | 2014-07-23 | 天地融科技股份有限公司 | Data security interactive method |
CN104978786A (en) * | 2015-07-09 | 2015-10-14 | 厦门城力机电设备有限公司 | Door opening system, door opening method and door opening apparatus |
CN105139499A (en) * | 2015-09-08 | 2015-12-09 | 蔡炜 | Mobile phone door lock system based on asymmetric secret key and realization method thereof |
CN106340087A (en) * | 2015-07-16 | 2017-01-18 | 黄月平 | Intelligent switch lock system based on intelligent mobile terminal |
CN108230503A (en) * | 2017-12-29 | 2018-06-29 | 中国船舶重工集团公司第七八研究所 | A kind of half network type apartment door-locking system based on Bluetooth door lock |
US20180270232A1 (en) * | 2014-07-30 | 2018-09-20 | Master Lock Company Llc | Wireless firmware updates |
CN109636965A (en) * | 2018-11-27 | 2019-04-16 | 北京砂信息技术有限公司 | Smart lock, client, server, system, method and the storage medium controlled for smart lock |
-
2018
- 2018-11-27 CN CN201811427908.5A patent/CN109636964A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101583124A (en) * | 2009-06-10 | 2009-11-18 | 大唐微电子技术有限公司 | Authentication method and system of subscriber identity module and terminal |
CN103944736A (en) * | 2014-04-25 | 2014-07-23 | 天地融科技股份有限公司 | Data security interactive method |
US20180270232A1 (en) * | 2014-07-30 | 2018-09-20 | Master Lock Company Llc | Wireless firmware updates |
CN104978786A (en) * | 2015-07-09 | 2015-10-14 | 厦门城力机电设备有限公司 | Door opening system, door opening method and door opening apparatus |
CN106340087A (en) * | 2015-07-16 | 2017-01-18 | 黄月平 | Intelligent switch lock system based on intelligent mobile terminal |
CN105139499A (en) * | 2015-09-08 | 2015-12-09 | 蔡炜 | Mobile phone door lock system based on asymmetric secret key and realization method thereof |
CN108230503A (en) * | 2017-12-29 | 2018-06-29 | 中国船舶重工集团公司第七八研究所 | A kind of half network type apartment door-locking system based on Bluetooth door lock |
CN109636965A (en) * | 2018-11-27 | 2019-04-16 | 北京砂信息技术有限公司 | Smart lock, client, server, system, method and the storage medium controlled for smart lock |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109636965A (en) * | 2018-11-27 | 2019-04-16 | 北京砂信息技术有限公司 | Smart lock, client, server, system, method and the storage medium controlled for smart lock |
CN110211268A (en) * | 2019-06-04 | 2019-09-06 | 北京一砂信息技术有限公司 | A kind of client, server, system, method and the storage medium of timeliness random cipher unlock smart lock |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105429760B (en) | A kind of auth method and system of the digital certificate based on TEE | |
CN108809659B (en) | Dynamic password generation method, dynamic password verification method, dynamic password system and dynamic password verification system | |
CN110211268B (en) | System and method for unlocking intelligent lock by time-efficient random password and storage medium | |
WO2017032263A1 (en) | Identity authentication method and apparatus | |
CN107196922B (en) | Identity authentication method, user equipment and server | |
CN106850201B (en) | Intelligent terminal multiple-factor authentication method, intelligent terminal, certificate server and system | |
US11811952B2 (en) | Authentication system and working method thereof | |
KR101814079B1 (en) | Method, application, computer program and device for providing authentication service using mobile terminal | |
CN103368928B (en) | Account number cipher reset system and method | |
CN105608621A (en) | Remote account opening method, server and system | |
CN103632436B (en) | A kind of method of the withdrawal based on terminal | |
CN110098932A (en) | A kind of electronic document signature method based on safe electronic notarization technology | |
CN104820944A (en) | Method and system for bank self-service terminal authentication, and device | |
US10938814B2 (en) | Unified authentication software development kit | |
CN109802835A (en) | A kind of safety certifying method, system and API gateway | |
CN114531277B (en) | User identity authentication method based on blockchain technology | |
CN104660412A (en) | Password-less security authentication method and system for mobile equipment | |
CN109600343A (en) | Control method, device, mobile terminal, vehicle and the remote server of vehicle | |
CN115618399A (en) | Identity authentication method and device based on block chain, electronic equipment and readable medium | |
CN109375882A (en) | It is a kind of based on without mark biological identification safe printing method and system | |
CN107784501A (en) | A kind of safe method of payment and system based on recognition of face | |
CN109636964A (en) | Smart lock, client, server, system, method and the storage medium controlled for smart lock | |
CN109636965A (en) | Smart lock, client, server, system, method and the storage medium controlled for smart lock | |
CN104104671B (en) | Establish the unified dynamic authorization code system of business entity's account | |
CN106548338A (en) | The method and system of resource numerical value transfer |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190416 |
|
RJ01 | Rejection of invention patent application after publication |