CN109255868A - remote unlocking method and device - Google Patents

remote unlocking method and device Download PDF

Info

Publication number
CN109255868A
CN109255868A CN201810983072.0A CN201810983072A CN109255868A CN 109255868 A CN109255868 A CN 109255868A CN 201810983072 A CN201810983072 A CN 201810983072A CN 109255868 A CN109255868 A CN 109255868A
Authority
CN
China
Prior art keywords
password
door lock
administrator
unlocking
intelligent door
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
CN201810983072.0A
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.)
Qingdao Hisense Smart Home System Ltd By Share Ltd
Original Assignee
Qingdao Hisense Smart Home System Ltd By Share 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 Qingdao Hisense Smart Home System Ltd By Share Ltd filed Critical Qingdao Hisense Smart Home System Ltd By Share Ltd
Priority to CN201810983072.0A priority Critical patent/CN109255868A/en
Publication of CN109255868A publication Critical patent/CN109255868A/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/00182Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with unidirectional 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/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The embodiment of the present invention provides a kind of remote unlocking method and device, this method comprises: intelligent gateway receives the unlocking cipher from server after terminal device sends the corresponding unlocking cipher of intelligent door lock to server;The intelligent gateway verifies the unlocking cipher, and after being proved to be successful to the unlocking cipher, generates the corresponding unlocking instruction of the intelligent door lock;The intelligent gateway sends unlocking instruction to the intelligent door lock, so that the intelligent door lock is unlocked according to the unlocking instruction.Improve remote unlocking efficiency.

Description

Remote unlocking method and device
Technical field
The present embodiments relate to Smart Home technical field more particularly to a kind of remote unlocking method and devices.
Background technique
Currently, intelligent door lock is widely used in smart home system.User can pass through terminal device (such as mobile phone, apparatus such as computer) remotely controls intelligent door lock, for example, user can be by terminal unit remote to intelligence Energy door lock is unlocked.
In actual application, it needs that intelligent door lock is first accessed to intelligent gateway, so that intelligent door lock can pass through Intelligent gateway is communicated with other equipment (such as terminal device).Intelligent door lock generallys use battery power supply, in order to reduce intelligence The power consumption of energy door lock, intelligent door lock carry out periodical suspend mode, and in intelligent door lock sleep procedure, intelligent door lock can not be set with other It is standby to be communicated.In the prior art, when terminal device carries out remote unlocking to intelligent door lock, terminal device is to intelligent gateway Unlocking cipher is sent, intelligent gateway sends unlocking cipher to intelligent door lock, so that intelligent door lock verifies unlocking cipher, in intelligent door After locking dual lock password authentification success, intelligent door lock is proved to be successful information to intelligent gateway transmission, and intelligent gateway is according to verifying Successful information sends unlocking instruction to intelligent door lock, so that intelligent door lock is unlocked according to unlocking instruction.
However, in the prior art, intelligent door lock needs to carry out information exchange twice with intelligent gateway and is just able to achieve remotely It unlocks, information exchange may need to complete in dormancy period twice twice for this, so that the consumption of remote unlocking process time is too long, Lead to remote unlocking low efficiency.
Summary of the invention
The embodiment of the present invention provides a kind of remote unlocking method and device, improves remote unlocking efficiency.
In a first aspect, the embodiment of the present invention provides a kind of remote unlocking method, comprising:
After terminal device sends the corresponding unlocking cipher of intelligent door lock to server, intelligent gateway is received from server The unlocking cipher;
The intelligent gateway verifies the unlocking cipher, and after being proved to be successful to the unlocking cipher, generates the intelligence It can the corresponding unlocking instruction of door lock;
The intelligent gateway sends unlocking instruction to the intelligent door lock, so that the intelligent door lock refers to according to the unlocking Order is unlocked.
In a kind of possible embodiment, the intelligent gateway verifies the unlocking cipher, comprising:
The intelligent gateway obtains corresponding encrypted first administrator's password of the intelligent door lock;
Encrypted first administrator's password is decrypted in the intelligent gateway, and judge the unlocking cipher and Whether first administrator's password is identical;
If so, being proved to be successful to the unlocking cipher;
If it is not, then to the unlocking cipher authentication failed.
In alternatively possible embodiment, the intelligent gateway obtains the intelligent door lock corresponding encrypted the Before one administrator's password, further includes:
After the intelligent door lock accesses the intelligent gateway, the intelligent gateway sends password to the intelligent door lock Acquisition request;
The intelligent gateway receives the first administrator's password that the intelligent door lock is sent;
The intelligent gateway encrypts first administrator's password, and stores encrypted first administrator's password.
In alternatively possible embodiment, after encrypted first administrator's password of storage, also Include:
The intelligent gateway receives the password modification instruction that the intelligent door lock is sent, and the password modification instruction includes the Two administrator's passwords;
Second administrator's password is encrypted in the intelligent gateway;
It is close to update first administrator according to second administrator's password after encryption for the intelligent gateway Code.
It include the unlocking cipher in the unlocking instruction in alternatively possible embodiment;Correspondingly, described open Lock instruction is used for so that the intelligent door lock verifies the unlocking cipher, and opens after being proved to be successful to the unlocking cipher Lock.
Second aspect, the embodiment of the present invention provide a kind of remote unlocking device, including receiving module, authentication module, generation Module and sending module, wherein
The receiving module is used for, the sending module to server send the corresponding unlocking cipher of intelligent door lock it Afterwards, the unlocking cipher is received from server;
The authentication module is used for, and verifies the unlocking cipher;
The generation module is used for, and after the authentication module is proved to be successful the unlocking cipher, generates the intelligence It can the corresponding unlocking instruction of door lock;
The sending module is used for, and unlocking instruction is sent to the intelligent door lock, so that the intelligent door lock is according to Unlocking instruction is unlocked.
In a kind of possible embodiment, the authentication module is specifically used for:
Obtain corresponding encrypted first administrator's password of the intelligent door lock;
Encrypted first administrator's password is decrypted, and judges the unlocking cipher and first management Whether member's password is identical;
If so, being proved to be successful to the unlocking cipher;
If it is not, then to the unlocking cipher authentication failed.
In alternatively possible embodiment, described device further includes encrypting module and memory module, wherein
The sending module is also used to, and obtains corresponding encrypted first administrator of the intelligent door lock in authentication module Before password, password acquisition request is sent to the intelligent door lock;
The receiving module is also used to, and receives the first administrator's password that the intelligent door lock is sent;
The encrypting module is used for, and encrypts first administrator's password;
The memory module is used for, and stores encrypted first administrator's password.
In alternatively possible embodiment, described device further includes update module, wherein
The receiving module is also used to, after the memory module stores encrypted first administrator's password, The password modification instruction that the intelligent door lock is sent is received, the password modification instruction includes the second administrator's password;
The encrypting module is also used to, and second administrator's password is encrypted;
The update module is used for, and according to encrypted second administrator's password, it is close to update first administrator Code.
It include the unlocking cipher in the unlocking instruction in alternatively possible embodiment;Correspondingly, described open Lock instruction is used for so that the intelligent door lock verifies the unlocking cipher, and opens after being proved to be successful to the unlocking cipher Lock.
The third aspect, the embodiment of the present invention provide a kind of intelligent gateway, comprising: processor, the processor and memory Coupling;
The memory is used for, and stores computer program;
The processor is used for, and executes the computer program stored in the memory, so that the intelligent gateway is held The above-mentioned described in any item methods of first aspect of row.
Fourth aspect, the embodiment of the present invention provide a kind of readable storage medium storing program for executing, including program or instruction, when described program or When instruction is run on computers, the method as described in above-mentioned first aspect any one is performed.
Remote unlocking method and device provided in an embodiment of the present invention is carrying out remotely intelligent door lock by terminal device During unlocking, after the unlocking cipher that intelligent gateway receives terminal device transmission, by the split lock cipher of intelligent gateway It is verified, unlocking instruction is sent in intelligent gateway dual lock password authentification success and then to intelligent door lock, so that intelligent door Lock is unlocked according to unlocking instruction.In above process, intelligent door lock and intelligent gateway need to only carry out primary information interaction, i.e., Remote unlocking can be achieved, reduce the interaction times of intelligent door lock and intelligent gateway, not only increase remote unlocking efficiency, also drop The low power consumption of intelligent door lock.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the system architecture diagram of remote unlocking provided in an embodiment of the present invention;
Fig. 2 is the flow diagram one of remote unlocking method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of administrator's password synchronous method provided in an embodiment of the present invention;
Fig. 4 is the flow diagram two of remote unlocking method provided in an embodiment of the present invention;
Fig. 5 is the flow diagram three of remote unlocking method provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram one of remote unlocking device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram two of remote unlocking device provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the system architecture diagram of remote unlocking provided in an embodiment of the present invention.Referring to Figure 1, including intelligent door lock 101, intelligent gateway 102, server 103 and terminal device 104.
Optionally, intelligent door lock 101 is generally arranged at user house outdoors, and user can be directly in intelligent door lock 101 Middle input password, so that intelligent door lock 101 is unlocked according to the password that user inputs.User can also pass through terminal device 104 long-range control intelligent door locks 101 are unlocked, for example, user inputs unlocking cipher in terminal device 104, to realize long-range control Intelligent door lock 101 processed is unlocked.
Optionally, intelligent gateway 102 is generally arranged in user house.Intelligent gateway 102 at least has wireless routing, number According to functions such as processing and centralized controls.Intelligent door lock 101 can access intelligent gateway 102, so that intelligent gateway 102 can be right Intelligent door lock 101 is controlled.Intelligent gateway 102 can be communicated with terminal device 104, and processing terminal equipment 104 is sent out The command information etc. sent.
Server 103 can provide the long-range control page to terminal device 104, for example, remotely the control page may include The page, remote unlocking page etc. is arranged in password.The long-range control page that terminal device 104 can be provided with display server 103, with Allow user according to the long-range control page, intelligent door lock is controlled by terminal device 104.
In this application, it during carrying out remote unlocking to intelligent door lock by terminal device, is connect in intelligent gateway After the unlocking cipher for receiving terminal device transmission, verified by the split lock cipher of intelligent gateway, in intelligent gateway dual lock Password authentification is successful and then sends unlocking instruction to intelligent door lock, so that intelligent door lock is unlocked according to unlocking instruction.? In the above process, intelligent door lock and intelligent gateway need to only carry out primary information interaction, and remote unlocking can be realized, reduce intelligence The interaction times of door lock and intelligent gateway not only increase remote unlocking efficiency, also reduce the power consumption of intelligent door lock.
In the following, technical solution shown in the application is described in detail by specific embodiment.Under it should be noted that The several specific embodiments in face can be combined with each other, and for the same or similar content, no longer carry out weight in various embodiments Multiple explanation.
Fig. 2 is the flow diagram one of remote unlocking method provided in an embodiment of the present invention.Fig. 2 is referred to, this method can To include:
S201, after terminal device sends the corresponding unlocking cipher of intelligent door lock to server, intelligent gateway is from service Device receives unlocking cipher.
The executing subject of the embodiment of the present invention can also be able to be the remote unlocking being arranged in intelligent gateway with intelligent gateway Device.Optionally, remote unlocking device can be by software realization, or being implemented in combination with by software and hardware.
In actual application, a user can remotely control multiple intelligent door locks by terminal device. User can input the mark for the intelligent door lock that can control in terminal device, so that send to server can be with for terminal device The mark of the intelligent door lock of control.
The mark for the intelligent door lock that server can control according to user generates the corresponding long-range control of each intelligent door lock The page processed, and provide each intelligent door lock the corresponding long-range control page to terminal device, so that terminal device can be shown The long-range control page.
When user needs to carry out remote unlocking to some intelligent door lock, user can open the intelligence in terminal device Can the corresponding long-range control page of door lock, and unlocking cipher is inputted in the long-range control page, so that terminal device is to service Device submits the unlocking cipher of input.After the unlocking cipher that server receives terminal device submission, server is to intelligent network It closes and sends unlocking cipher.
S202, intelligent gateway verify unlocking cipher, and after dual lock password authentification success, it is corresponding to generate intelligent door lock Unlocking instruction.
Optionally, the mark that intelligent door lock is carried in the unlocking cipher that server is sent to intelligent gateway, in intelligent network After pass receives the corresponding unlocking cipher of intelligent door lock, intelligent gateway obtains corresponding encrypted first management of intelligent door lock Member's password, encrypted first administrator's password is decrypted in intelligent gateway, and judges that unlocking cipher and the first administrator are close Whether code is identical, if so, dual lock password authentification success;If it is not, then dual lock password authentification fails.
Optionally, corresponding first administrator's password of intelligent door lock in intelligent gateway is that intelligent door lock is being linked into intelligence When gateway to intelligent gateway send, after intelligent gateway receives the first administrator's password, to the first administrator's password into Row encryption, and store encrypted first administrator's password.
In embodiments of the present invention, an intelligent door lock is corresponding with ordinary password and administrator's password.In practical application mistake Cheng Zhong, usual multiple users can hold ordinary password, and user can directly input ordinary password in intelligent door lock, so that intelligence Energy door lock is unlocked according to the ordinary password that user inputs.Usually only administrator can hold administrator's password, administrator Remote unlocking can be carried out to intelligent door lock by administrator's password.The number of users of remote unlocking can be carried out by reducing, The risk of remote unlocking can be reduced, and then improves the safety of remote unlocking.
S203, intelligent gateway send unlocking instruction to intelligent door lock, so that intelligent door lock is unlocked according to unlocking instruction.
Since intelligent gateway verified by split lock cipher, after intelligent door lock receives unlocking instruction, Intelligent door lock can directly unlock according to unlocking instruction.
Further, it in order to further increase the safety of remote unlocking, sends and unlocks to intelligent door lock in intelligent gateway When instruction, unlocking cipher can be carried in unlocking instruction, after intelligent door lock receives unlocking instruction, first split lock cipher It is verified, in dual lock password authentification success and then is unlocked.Double verification is carried out by split lock cipher, in turn Improve the safety of remote unlocking.
Remote unlocking mode provided in an embodiment of the present invention is carrying out remote unlocking to intelligent door lock by terminal device In the process, it after the unlocking cipher that intelligent gateway receives terminal device transmission, is tested by the split lock cipher of intelligent gateway Card, intelligent gateway dual lock password authentification success and then to intelligent door lock send unlocking instruction so that intelligent door lock according to Unlocking instruction is unlocked.In above process, intelligent door lock and intelligent gateway need to only carry out primary information interaction, can be realized Remote unlocking reduces the interaction times of intelligent door lock and intelligent gateway, not only increases remote unlocking efficiency, also reduces intelligence The power consumption of energy door lock.
On the basis of any one above-mentioned embodiment, before intelligent gateway verifies administrator's password, need The administrator's password of synchronous intelligent door lock in intelligent gateway, in the following, same to the administrator's password of intelligent gateway and intelligent door lock Step process is illustrated.Specifically, embodiment shown in Figure 3.
Fig. 3 is the flow diagram of administrator's password synchronous method provided in an embodiment of the present invention.Refer to Fig. 3, the party Method may include:
S301, intelligent door lock send access request to intelligent gateway.
Wherein, access request is for requesting access intelligent gateway.
Optionally, user can input preset instructions in intelligent door lock, so that intelligent door lock is searched for available gateway and set It is standby, after intelligent door lock equipment searches intelligent gateway, access request is sent to gateway.
S302, intelligent gateway send access response and password acquisition request to intelligent door lock.
Wherein, access request, which is used to indicate, allows intelligent door lock to access intelligent gateway.
Wherein, password acquisition request is used for intelligent door lock request administrator's password.
Optionally, after the access request that intelligent gateway device receives intelligent door lock transmission, intelligent gateway can root According to the configuration of user, determine whether that intelligent door lock accesses, when judgement allows intelligent door lock to access, intelligent gateway is to intelligence Door lock sends access response.
Optionally, intelligent gateway device can send access response to intelligent door lock by a piece of news and password acquisition is asked It asks.
Optionally, intelligent gateway device can also send access response and password acquisition request to intelligent door lock respectively.
S303, intelligent door lock send the first administrator's password to intelligent gateway.
After the password acquisition request that intelligent door lock receives intelligent gateway transmission, intelligent door lock obtains the of its storage One administrator's password, and the first administrator's password is sent to intelligent gateway.
Optionally, intelligent door lock can encrypt the first administrator's password when storing the first administrator's password, and Store encrypted first administrator's password.Optionally, encrypted first administrator's password stored in intelligent door lock is usual It is encrypted using the privately owned password of intelligent door lock.
Correspondingly, when intelligent door lock sends the first administrator's password to intelligent gateway, it can be first to the first pipe of encryption Reason person's password is decrypted, then sends the first administrator's password after decryption to intelligent gateway.
Optionally, it in order to improve the safety that the first administrator's password transmits, is sent out in intelligent door lock to intelligent gateway device When sending the first administrator's password, intelligent door lock can be close to the first administrator by the publicly-owned password of intelligent door lock and intelligent gateway Code is encrypted, and sends encrypted first administrator's password to intelligent gateway.
S304, intelligent gateway encrypt the first administrator's password, and store encrypted first administrator's password.
Optionally, after intelligent gateway receives the first administrator's password, the privately owned password of gateway can be passed through First administrator's password is encrypted, and stores encrypted first administrator's password, to improve to the first administrator's password The safety stored.
Optionally, if intelligent gateway is received to pass through the publicly-owned close of intelligent door lock and intelligent gateway to the first administrator's password Code is encrypted, then intelligent gateway can first pass through publicly-owned password and the first administrator's password is decrypted, and then pass through again The privately owned password of gateway encrypts the first administrator's password.
S305, after intelligent door lock determines that its administrator's password is modified, intelligent door lock to intelligent gateway send password Modification instruction, password modification instruction includes the second administrator's password.
Wherein, the second administrator's password is to the modified administrator's password of the first administrator's password.
In actual application, administrator can modify to the administrator's password of intelligent door lock.Optionally, it manages Member can modify to the administrator's password of intelligent door lock by way of remotely controlling in terminal device, and administrator may be used also Directly to modify to administrator's password in intelligent door lock.
After intelligent door lock determines that its administrator's password is modified, in order to enable the pipe in intelligent gateway and intelligent door lock Reason person's cryptosync, intelligent door lock can send the password modification instruction for carrying the second administrator's password to intelligent gateway.
The second administrator's password is encrypted in S306, intelligent gateway.
It should be noted that intelligent gateway is to intelligent gateway pair in the encryption process and S304 of the second administrator's password The encryption process of first administrator's password is similar, is no longer repeated herein.
S307, intelligent gateway update the first administrator's password according to the second administrator's password.
Optionally, corresponding first administrator's password of intelligent door lock directly can be replaced with the second administrator by intelligent gateway Password.
In the embodiment shown in fig. 3, intelligent gateway device can be interacted with intelligent door lock so that intelligent door lock and Administrator's password in intelligent gateway is identical, so that intelligent gateway device, which can replace intelligent door lock, carries out password authentification.
On the basis of any one above-mentioned embodiment, in the following, by interaction diagrams shown in Fig. 4 embodiment, to Fig. 2 Remote unlocking method shown in embodiment is further elaborated.
Fig. 4 is the flow diagram two of remote unlocking method provided in an embodiment of the present invention.Fig. 4 is referred to, this method can To include:
S401, terminal device send the corresponding long-range control page access request of intelligent door lock to server.
Optionally, application program (Application, abbreviation APP) can be set in terminal device, the page in APP by Server provides.
For example, APP can be opened with user, and the corresponding details icon of intelligent door lock is carried out a little in the APP page Operation is hit, the corresponding long-range control page access request of the intelligent door lock is sent to server with triggering terminal equipment.
S402, server send the corresponding long-range control page of intelligent door lock to terminal device.
S403, terminal device show the corresponding long-range control page of intelligent door lock.
Optionally, the page info of the corresponding long-range control page of the available intelligent door lock of server, and set to terminal Preparation gives the page info, so that terminal device carries out page drafting according to page info, to show the long-range control page.
S404, terminal device obtain the unlocking cipher that user inputs in the remotely control page and submit instruction.
It optionally, may include Password Input frame in the remotely control page, user can input in the password input box Password, long-range control can also include submitting icon in the page.After user inputs completion password, user can scheme to submitting Mark carries out clicking operation, to realize the input unlocking cipher in the remotely control page and submit instruction.
S405, terminal device send unlocking cipher to server according to instruction is submitted.
Optionally, while terminal device sends unlocking cipher to server, intelligent door lock also is sent to server Mark.
S406, server send unlocking cipher to intelligent gateway.
Optionally, while server sends unlocking cipher to intelligent gateway, intelligent door lock also is sent to intelligent gateway Mark.
S407, intelligent gateway obtain corresponding first administrator's password of intelligent door lock, and judge unlocking cipher and the first pipe Whether reason person's password is identical.
If so, executing S408-S410.
If it is not, then executing S411-S413.
S408, intelligent gateway generate unlocking instruction.
S409, intelligent gateway send unlocking instruction to intelligent door lock.
S410, intelligent door lock are unlocked according to unlocking instruction.
S411, intelligent gateway send password miscue information to server.
S412, server send miscue information to terminal device.
S413, terminal device show miscue information.
In the embodiment shown in fig. 4, during carrying out remote unlocking to intelligent door lock by terminal device, in intelligence After energy gateway receives the unlocking cipher of terminal device transmission, verified by the split lock cipher of intelligent gateway, in intelligent network Close dual lock password authentification success and then to intelligent door lock send unlocking instruction so that intelligent door lock according to unlocking instruction into Row is unlocked.In above process, intelligent door lock and intelligent gateway need to only carry out primary information interaction, and remote unlocking can be realized, The interaction times for reducing intelligent door lock and intelligent gateway not only increase remote unlocking efficiency, also reduce intelligent door lock Power consumption.
On the basis of any one above-mentioned embodiment, password authentification can also be carried out by intelligent door lock, in intelligent door lock It directly unlocks after password authentification success, to reduce the interaction times of intelligent door lock and intelligent gateway.Specifically, referring to Fig. 5 Shown in embodiment.
Fig. 5 is the flow diagram three of remote unlocking method provided in an embodiment of the present invention.Fig. 5 is referred to, this method can To include:
S501, terminal device send the corresponding long-range control page access request of intelligent door lock to server.
S502, server send the corresponding long-range control page of intelligent door lock to terminal device.
S503, terminal device show the corresponding long-range control page of intelligent door lock.
S504, terminal device receive the unlocking cipher that user inputs in the remotely control page and submit instruction.
S505, terminal device send unlocking cipher to server according to instruction is submitted.
S506, server send unlocking cipher to intelligent gateway.
It should be noted that the implementation procedure of S501-S506 may refer to S401-S406, the embodiment of the present invention is herein not It is repeated again.
S507, intelligent gateway send unlocking cipher to intelligent door lock.
S508, intelligent door lock obtain the first administrator's password, and judge unlocking cipher and the first administrator's password whether phase Together.
If so, executing S509.
If it is not, then executing S510-S513.
S509, intelligent door lock are unlocked.
S510, intelligent door lock send password miscue information to intelligent gateway.
S511, intelligent gateway send password miscue information to server.
S512, server send miscue information to terminal device.
S513, terminal device show miscue information.
In the embodiment shown in fig. 5, after intelligent door lock receives unlocking cipher, the split lock cipher of intelligent door lock into Row verifying, after intelligent door lock dual lock password authentification success, intelligent door lock is directly unlocked, and intelligent door lock is no longer to intelligence Can gateway transmission is proved to be successful message, also no longer need to receive intelligent gateway transmission unlocking instruction, reduce intelligent door lock and The interaction times of intelligent gateway not only increase remote unlocking efficiency, also reduce the power consumption of intelligent door lock.
Fig. 6 is the structural schematic diagram one of remote unlocking device provided in an embodiment of the present invention.Fig. 6 is referred to, which can To include receiving module 11, authentication module 12, generation module 13 and sending module 14, wherein
The receiving module 11 is used for, and sends the corresponding unlocking cipher of intelligent door lock to server in the sending module 14 Later, the unlocking cipher is received from server;
The authentication module 12 is used for, and verifies the unlocking cipher;
The generation module 13 is used for, after the authentication module is proved to be successful the unlocking cipher, described in generation The corresponding unlocking instruction of intelligent door lock;
The sending module 14 is used for, and unlocking instruction is sent to the intelligent door lock, so that the intelligent door lock is according to institute Unlocking instruction is stated to unlock.
Remote unlocking device provided in an embodiment of the present invention can execute technical solution shown in above method embodiment, Realization principle and beneficial effect are similar, are no longer repeated herein.
In a kind of possible embodiment, the authentication module 12 is specifically used for:
Obtain corresponding encrypted first administrator's password of the intelligent door lock;
Encrypted first administrator's password is decrypted, and judges the unlocking cipher and first management Whether member's password is identical;
If so, being proved to be successful to the unlocking cipher;
If it is not, then to the unlocking cipher authentication failed.
Fig. 7 is the structural schematic diagram two of remote unlocking device provided in an embodiment of the present invention.The base of embodiment shown in Fig. 6 On plinth, Fig. 7 is referred to, described device further includes encrypting module 15 and memory module 16, wherein
The sending module 14 is also used to, and obtains the intelligent door lock corresponding encrypted in the authentication module 12 Before one administrator's password, password acquisition request is sent to the intelligent door lock;
The receiving module 11 is also used to, and receives the first administrator's password that the intelligent door lock is sent;
The encrypting module 15 is used for, and encrypts first administrator's password;
The memory module 16 is used for, and stores encrypted first administrator's password.
In alternatively possible embodiment, described device further includes update module 17, wherein
The receiving module 11 is also used to, the memory module 16 store encrypted first administrator's password it Afterwards, the password modification instruction that the intelligent door lock is sent is received, the password modification instruction includes the second administrator's password;
The encrypting module 15 is also used to, and second administrator's password is encrypted;
The update module 17 is used for, and according to encrypted second administrator's password, updates first administrator Password.
It include the unlocking cipher in the unlocking instruction in alternatively possible embodiment;Correspondingly, described open Lock instruction is used for so that the intelligent door lock verifies the unlocking cipher, and opens after being proved to be successful to the unlocking cipher Lock.
Remote unlocking device provided in an embodiment of the present invention can execute technical solution shown in above method embodiment, Realization principle and beneficial effect are similar, are no longer repeated herein.
The embodiment of the present invention provides a kind of intelligent gateway, comprising: processor, the processor are coupled with memory;
The memory is used for, and stores computer program;
The processor is used for, and executes the computer program stored in the memory, so that the intelligent gateway is held Method described in the above-mentioned any means embodiment of row.
The embodiment of the present invention provides a kind of readable storage medium storing program for executing, including program or instruction, when described program or instruction are being counted When running on calculation machine, the method as described in above-mentioned any means embodiment is performed.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than to it Limitation;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, those skilled in the art It is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, either to part of or All technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution this hair The range of bright example scheme.

Claims (10)

1. a kind of remote unlocking method characterized by comprising
After terminal device sends the corresponding unlocking cipher of intelligent door lock to server, intelligent gateway is from described in server reception Unlocking cipher;
The intelligent gateway verifies the unlocking cipher, and after being proved to be successful to the unlocking cipher, generates the intelligent door Lock corresponding unlocking instruction;
The intelligent gateway to the intelligent door lock send unlocking instruction so that the intelligent door lock according to the unlocking instruction into Row is unlocked.
2. the method according to claim 1, wherein the intelligent gateway verifies the unlocking cipher, comprising:
The intelligent gateway obtains corresponding encrypted first administrator's password of the intelligent door lock;
Encrypted first administrator's password is decrypted in the intelligent gateway, and judges the unlocking cipher and described Whether the first administrator's password is identical;
If so, being proved to be successful to the unlocking cipher;
If it is not, then to the unlocking cipher authentication failed.
3. according to the method described in claim 2, it is characterized in that, the intelligent gateway obtains, the intelligent door lock is corresponding to be added Before the first administrator's password after close, further includes:
After the intelligent door lock accesses the intelligent gateway, the intelligent gateway sends password to the intelligent door lock and obtains Request;
The intelligent gateway receives the first administrator's password that the intelligent door lock is sent;
The intelligent gateway encrypts first administrator's password, and stores encrypted first administrator's password.
4. according to the method described in claim 3, it is characterized in that, in encrypted first administrator's password of storage Later, further includes:
The intelligent gateway receives the password modification instruction that the intelligent door lock is sent, and the password modification instruction includes the second pipe Reason person's password;
Second administrator's password is encrypted in the intelligent gateway;
The intelligent gateway updates first administrator's password according to second administrator's password after encryption.
5. method according to claim 1-4, which is characterized in that include that the unlocking is close in the unlocking instruction Code;Correspondingly, the unlocking instruction is used for so that the intelligent door lock verifies the unlocking cipher, and to the unlocking cipher It unlocks after being proved to be successful.
6. a kind of remote unlocking device, which is characterized in that including receiving module, authentication module, generation module and sending module, In,
The receiving module is used for, after the sending module sends the corresponding unlocking cipher of intelligent door lock to server, from Server receives the unlocking cipher;
The authentication module is used for, and verifies the unlocking cipher;
The generation module is used for, and after the authentication module is proved to be successful the unlocking cipher, generates the intelligent door Lock corresponding unlocking instruction;
The sending module is used for, and unlocking instruction is sent to the intelligent door lock, so that the intelligent door lock is according to the unlocking Instruction is unlocked.
7. device according to claim 6, which is characterized in that the authentication module is specifically used for:
Obtain corresponding encrypted first administrator's password of the intelligent door lock;
Encrypted first administrator's password is decrypted, and judges that the unlocking cipher and first administrator are close Whether code is identical;
If so, being proved to be successful to the unlocking cipher;
If it is not, then to the unlocking cipher authentication failed.
8. device according to claim 7, which is characterized in that described device further includes encrypting module and memory module, In,
The sending module is also used to, and obtains corresponding encrypted first administrator of the intelligent door lock in the authentication module Before password, password acquisition request is sent to the intelligent door lock;
The receiving module is also used to, and receives the first administrator's password that the intelligent door lock is sent;
The encrypting module is used for, and encrypts first administrator's password;
The memory module is used for, and stores encrypted first administrator's password.
9. device according to claim 8, which is characterized in that described device further includes update module, wherein
The receiving module is also used to, and after the memory module stores encrypted first administrator's password, is received The password that the intelligent door lock is sent modifies instruction, and the password modification instruction includes the second administrator's password;
The encrypting module is also used to, and second administrator's password is encrypted;
The update module is used for, and according to encrypted second administrator's password, updates first administrator's password.
10. according to the described in any item devices of claim 6-9, which is characterized in that include the unlocking in the unlocking instruction Password;Correspondingly, the unlocking instruction is used for so that the intelligent door lock verifies the unlocking cipher, and to it is described unlock it is close Code is unlocked after being proved to be successful.
CN201810983072.0A 2018-08-27 2018-08-27 remote unlocking method and device Pending CN109255868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810983072.0A CN109255868A (en) 2018-08-27 2018-08-27 remote unlocking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810983072.0A CN109255868A (en) 2018-08-27 2018-08-27 remote unlocking method and device

Publications (1)

Publication Number Publication Date
CN109255868A true CN109255868A (en) 2019-01-22

Family

ID=65050419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810983072.0A Pending CN109255868A (en) 2018-08-27 2018-08-27 remote unlocking method and device

Country Status (1)

Country Link
CN (1) CN109255868A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109983514A (en) * 2019-02-15 2019-07-05 深圳市汇顶科技股份有限公司 Handle chip, main control device, access control system and its unlocking method
CN110148246A (en) * 2019-06-13 2019-08-20 上海钧正网络科技有限公司 A kind of smart lock control device and communication system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106327649A (en) * 2016-08-31 2017-01-11 北京厚文知识产权顾问有限公司 Two-dimensional code based access control system and door opening method
CN107180467A (en) * 2017-05-11 2017-09-19 广东汇泰龙科技有限公司 A kind of network cloud lock management method and its system
US20170301165A1 (en) * 2016-04-14 2017-10-19 Schlage Lock Company Llc Bi-directional access control system
CN107767505A (en) * 2017-09-30 2018-03-06 厦门分享云科技有限公司 A kind of password match device and method of intelligent door lock
CN207458230U (en) * 2017-11-07 2018-06-05 成都全民趣跑科技有限公司 A kind of locker control device and system
CN108140077A (en) * 2015-10-08 2018-06-08 汤姆逊许可公司 For generating the device and method of password in a user device
CN207587042U (en) * 2017-12-25 2018-07-06 义乌控客科技有限公司 A kind of intelligent door lock system based on ZigBee gateways

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108140077A (en) * 2015-10-08 2018-06-08 汤姆逊许可公司 For generating the device and method of password in a user device
US20170301165A1 (en) * 2016-04-14 2017-10-19 Schlage Lock Company Llc Bi-directional access control system
CN106327649A (en) * 2016-08-31 2017-01-11 北京厚文知识产权顾问有限公司 Two-dimensional code based access control system and door opening method
CN107180467A (en) * 2017-05-11 2017-09-19 广东汇泰龙科技有限公司 A kind of network cloud lock management method and its system
CN107767505A (en) * 2017-09-30 2018-03-06 厦门分享云科技有限公司 A kind of password match device and method of intelligent door lock
CN207458230U (en) * 2017-11-07 2018-06-05 成都全民趣跑科技有限公司 A kind of locker control device and system
CN207587042U (en) * 2017-12-25 2018-07-06 义乌控客科技有限公司 A kind of intelligent door lock system based on ZigBee gateways

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109983514A (en) * 2019-02-15 2019-07-05 深圳市汇顶科技股份有限公司 Handle chip, main control device, access control system and its unlocking method
CN110148246A (en) * 2019-06-13 2019-08-20 上海钧正网络科技有限公司 A kind of smart lock control device and communication system

Similar Documents

Publication Publication Date Title
CN104065653B (en) A kind of interactive auth method, device, system and relevant device
CN105027107B (en) Migrate the computer implemented method and computing system of computing resource
CN108347729B (en) Network is sliced interior method for authenticating, slice authentication agent entity and session management entity
CN106533861A (en) Security control system and authentication method of smart home Internet of Things
CN104115464B (en) Control is accessed
CN105684482B (en) The method for establishing trusted identities for agent equipment
CN109741039A (en) Bookkeeping methods, terminal device, digs mine node and mine pond at mine pool server
CN107113315A (en) Identity authentication method, terminal and server
CN108880822A (en) A kind of identity identifying method, device, system and a kind of intelligent wireless device
CN106302502A (en) A kind of secure access authentication method, user terminal and service end
US10133861B2 (en) Method for controlling access to a production system of a computer system not connected to an information system of said computer system
CN104715187A (en) Method and apparatus used for authenticating nodes of electronic communication system
CN101810017B (en) Selective security termination in next generation mobile networks
CN106504391A (en) A kind of control method of intelligent entrance guard, apparatus and system
CN104660583B (en) A kind of cryptographic services method based on Web cryptographic services
CN108055129B (en) A kind of method, equipment and system for realizing the unified management of cellphone shield key
CN104063650B (en) A kind of key storage device and using method thereof
CN101874247A (en) Mobile smartcard based authentication
CN204904392U (en) Intelligent lock system is encrypted in high in clouds
US10686787B2 (en) Use of personal device for convenient and secure authentication
CN102932341A (en) Method, device and equipment for password processing
US20200349566A1 (en) Device control method and related device
Saparkhojayev et al. NFC-enabled access control and management system
CN109714760A (en) A kind of right access control method suitable for smart machine under direct-connected communication environment
CN110247803A (en) A kind of protocol optimization framework and its method for Network Management Protocols SNMP v3

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190122