[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111899380A - Intelligent lock management method and intelligent lock management system - Google Patents

Intelligent lock management method and intelligent lock management system Download PDF

Info

Publication number
CN111899380A
CN111899380A CN202010648209.4A CN202010648209A CN111899380A CN 111899380 A CN111899380 A CN 111899380A CN 202010648209 A CN202010648209 A CN 202010648209A CN 111899380 A CN111899380 A CN 111899380A
Authority
CN
China
Prior art keywords
management
key
lock
intelligent lock
time
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
CN202010648209.4A
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.)
Guangdong Chenjia Intelligent Technology Co Ltd
Original Assignee
Guangdong Chenjia Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Chenjia Intelligent Technology Co Ltd filed Critical Guangdong Chenjia Intelligent Technology Co Ltd
Priority to CN202010648209.4A priority Critical patent/CN111899380A/en
Publication of CN111899380A publication Critical patent/CN111899380A/en
Pending legal-status Critical Current

Links

Images

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
    • 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/00896Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
    • G07C9/00904Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses for hotels, motels, office buildings or the like
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • H04L63/062Network architectures or network communication protocols for network security for supporting key management in a packet data network for key distribution, e.g. centrally by trusted party
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0863Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention discloses an intelligent lock management method, which comprises the following steps: setting an administrator password, a lock number and time on the intelligent lock, and activating the intelligent lock; creating door lock management time information at a management end according to the administrator password and the lock number; the server acquires the administrator password, the lock number and the door lock management time information of the management end, generates a management secret key according to the administrator password, the lock number and the door lock management time information, and sends the management secret key to the management end; sending the management key received by the management terminal to the user; and the user inputs the management secret key into the intelligent lock, the intelligent lock generates a door lock secret key according to the administrator password, the lock number and the time for inputting the management secret key, and when the door lock secret key is consistent with the management secret key, the intelligent lock automatically unlocks. The invention also discloses an intelligent lock management system. The intelligent lock management system can be used for intelligent lock management of places such as hotels, apartments, rental houses and the like.

Description

Intelligent lock management method and intelligent lock management system
Technical Field
The invention relates to an intelligent lock, in particular to an intelligent lock management method and an intelligent lock management system.
Background
The existing intelligent lock is unlocked without carrying a key, so that the intelligent lock is more convenient compared with a traditional mechanical lock. With the development of mobile network technology and the popularization of smart phones, a technology for generating a temporary unlocking password by combining a smart phone installation APP with a network technology appears. However, the intelligent lock needs to be connected with a network, so that the intelligent lock is seriously dependent on an external communication mode, and is required to be stably connected, so that the aim of smoothly sending the temporary password generated by the smart phone to the intelligent lock is fulfilled. However, in addition, this kind of mode complex operation, in case the network is obstructed or other reasons lead to the intelligent lock to connect the network failure, lead to the intelligent lock to obtain the password failure easily, because the intelligent lock is connected the network, have great potential safety hazard moreover, reveal the password easily.
Disclosure of Invention
The invention provides an intelligent lock management method and an intelligent lock management system, aiming at solving the technical problems that an intelligent lock in the prior art needs to be connected with a network, is easy to fail to acquire a password and has potential safety hazards.
In order to solve the technical problems, the technical scheme adopted by the invention is to design an intelligent lock management method, which comprises the following steps:
setting an administrator password, a lock number and time on the intelligent lock, and activating the intelligent lock;
creating door lock management time information at a management end according to the administrator password and the lock number;
the server acquires the administrator password, the lock number and the door lock management time information of the management end, generates a management secret key according to the administrator password, the lock number and the door lock management time information, and sends the management secret key to the management end; the server and the intelligent lock are internally provided with the same key management algorithm;
sending the management key received by the management terminal to the user;
and when the door lock secret key is consistent with the management secret key, the intelligent lock confirms that the management secret key is effective, and the intelligent lock is unlocked automatically.
The administrator password and the lock number of the management end are obtained by inputting the administrator password and the lock number at the management end.
The creating of the door lock management time information may create door lock management time information including: the server-generated management key may generate a management key including a dynamic key corresponding to the short-time dynamic time information, a valid period key corresponding to the valid period information, a reservation key corresponding to the room reservation time information, and a cleaning key corresponding to the room cleaning time information.
The intelligent lock management method further comprises the steps that cancellation information for canceling the management key is created at the management end according to the administrator password and the lock number, the server generates a cancellation secret key according to the administrator password, the lock number and the cancellation information, and the cancellation secret key is sent to the management end; and inputting the cancellation key into the intelligent lock, and enabling the management key corresponding to the cancellation information to be invalid on the intelligent lock by the intelligent lock according to the cancellation key.
The intelligent lock management method further comprises the following steps: the intelligent lock identifies whether the input time of the management key exceeds the set time, and reminds a user to modify the management key after the input time exceeds the set time, and the modified management key is only valid in the valid range of the door lock management time information carried by the original management key.
The intelligent lock management method further comprises the following steps:
the server generates a timing key carrying standard time information and sends the timing key to the management end;
the management end receives the timing secret key and sends the timing secret key to the user;
and the user inputs the timing secret key into the intelligent lock, and the intelligent lock calibrates the time of the intelligent lock according to the standard time information carried by the timing secret key.
The invention also discloses an intelligent lock management system, which comprises:
the intelligent lock can be provided with an administrator password, a lock number and time to activate the intelligent lock;
the management terminal is used for creating door lock management time information according to the administrator password and the lock number;
the server acquires the administrator password, the lock number and the door lock management time information of the management end, generates a management secret key according to the administrator password, the lock number and the door lock management time information, and sends the management secret key to the management end; the server and the intelligent lock are internally provided with the same key management algorithm;
after the management secret key is input into the intelligent lock, the intelligent lock generates a door lock secret key according to the administrator password, the lock number and the time for inputting the management secret key, and when the door lock secret key is consistent with the management secret key, the intelligent lock confirms that the management secret key is valid, and the intelligent lock is unlocked automatically.
The management end comprises a lock information input module used for inputting administrator passwords and lock numbers.
The creating of the door lock management time information may create door lock management time information including: the server-generated management key may generate a management key including a dynamic key corresponding to the short-time dynamic time information, a valid period key corresponding to the valid period information, a reservation key corresponding to the room reservation time information, and a cleaning key corresponding to the room cleaning time information.
The management terminal also comprises a cancellation information generation module which creates cancellation information for canceling the management key according to the administrator password and the lock number, and the server generates a cancellation secret key according to the administrator password, the lock number and the cancellation information and sends the cancellation secret key to the management terminal; and inputting the cancellation key into the intelligent lock, and enabling the management key corresponding to the cancellation information to be invalid on the intelligent lock by the intelligent lock according to the cancellation key.
The intelligent lock also comprises a management key modification module which identifies whether the input time of the management key exceeds the set time, and reminds a user to modify the management key after the input time of the management key exceeds the set time, and the modified management key is only valid within the valid range of the door lock management time information carried by the original management key.
The same key management algorithm is arranged in the server and the intelligent lock, firstly, an administrator password, a lock number and time are arranged on the intelligent lock, the intelligent lock is activated, and then door lock management time information is established at a management end according to the administrator password and the lock number; then the server acquires the administrator password, the lock number and the door lock management time information of the management end, generates a management secret key according to the administrator password, the lock number and the door lock management time information, and sends the management secret key to the management end; the user inputs the management secret key on the intelligent lock after obtaining the management secret key from a management end, the intelligent lock generates a door lock secret key according to a manager password, a lock number and the time of inputting the management secret key, and when the door lock secret key is consistent with the management secret key, the intelligent lock confirms that the management secret key is valid, and the intelligent lock is unlocked automatically. Because the intelligent lock does not need to be connected with a network, the situation that the password is failed to be obtained due to the network problem does not exist, and the potential safety hazard caused by the fact that the intelligent lock is connected with the network is also solved. In addition, the intelligent lock is provided with the lock number, the management end creates the door lock management time information, the server generates the management key and sends the management key to the management end, so that the intelligent lock of a plurality of rooms can be controlled through the management end, and the intelligent lock management system is very convenient for the management of places such as hotels, apartments, rental houses and the like.
Drawings
The invention is described in detail below with reference to examples and figures, in which:
FIG. 1 is a flow chart of the intelligent lock management method of the present invention;
fig. 2 is a schematic diagram of the intelligent lock management system of the present invention.
Detailed Description
The embodiments of the invention are further illustrated in the following figures:
please refer to fig. 1. The intelligent lock management method comprises the following steps:
the first step is as follows: and setting an administrator password, a lock number and time on the intelligent lock, and activating the intelligent lock.
The purpose of setting the administrator password is that an administrator can manage the intelligent lock through the administrator password, and in subsequent management, the administrator password is used as a basis for verifying whether management information of the management end is sent by an authorized administrator.
The purpose of setting the lock number is to facilitate management. It is important to note that the lock number is not equivalent to the physical address of the smart lock. For the management of a plurality of intelligent locks, the management of each intelligent lock can be conveniently carried out subsequently by setting the lock number. Preferably, the lock number is set to a room number, so that it is very intuitive to see which room is being managed at the management side. Of course, the lock number may be set so that other administrators can intuitively know which intelligent lock they manage.
The setting of the lock number is exemplified below by taking the management of one apartment and two apartments as an example. If only one apartment is available, the apartment has 5 floors, each floor has 5 rooms, and each room is provided with one intelligent lock, at the moment, the room number can be used as the lock number, for example, the intelligent lock of the 501 room is numbered 501, and the intelligent lock of the 402 room is numbered 402. If two apartments exist, each apartment has 5 floors, each floor has 5 rooms, each room is provided with one intelligent lock, at the moment, the room number can still be used as the lock number, and the number of the apartment is added into the code of the room number for distinguishing different numbers, for example, the number of the intelligent lock of 1 apartment 501 is 1501, and the number of the intelligent lock of 2 apartment 402 is 2402. Obviously, if the intelligent lock is managed by simply using the physical address of the lock, the intelligent lock in which room is managed cannot be intuitively known, and the intelligent lock in which room is managed can be intuitively known by setting the lock number, so that the intelligent lock is very conveniently managed.
The time setting only needs to set the time of the intelligent lock to be accurate standard time, and if the current time is 11 o 'clock 45 minutes 6/5/2020, the time of the intelligent lock is set to be 45 minutes 11 o' clock 45 minutes 6/5/2020. The time setting aims to synchronize the time of the intelligent lock with the time of the management terminal and the time of the server, so that the generation and the corresponding management of the follow-up door lock secret key are facilitated.
The second step is that: and creating door lock management time information at a management end according to the administrator password and the lock number.
The management end is intelligent terminals such as smart mobile phones, tablet computers and computers generally, and an intelligent lock APP for managing the intelligent lock is installed on the management end. Because the smart phone is convenient to carry about and basically owned by people, the preferred management end of the intelligent lock management system is the smart phone, and an intelligent lock APP for managing the intelligent lock is arranged in the smart phone.
The administrator password and the lock number of the management end can be obtained through the following modes:
1. the method is obtained by directly inputting an administrator password and a lock number at a management end.
This kind of mode sets up administrator's password and lock serial number input interface on intelligent lock APP's interface, and its advantage lies in need not establishing any connection with the management end with the intelligent lock to make the intelligent lock need not realize the management through bluetooth or any external equipment of internet access, easy operation, it is very convenient to use, has avoided the security risk of being attacked that the intelligent lock brought because of the management end carries the virus when being connected with the management end moreover. Therefore, the administrator password and the lock number of the management terminal are preferably obtained by inputting the administrator password and the lock number at the management terminal.
2. Through passing through bluetooth or wired connection with management end and intelligent lock, the management end acquires administrator's password and lock serial number from the intelligent lock.
This kind of mode operation is more loaded down with trivial details, at first need pass through the bluetooth one-to-one with management end and each intelligent lock and establish the connection, wastes time and energy, and has the security risk that the intelligent lock is attacked because of the management end carries the virus and brings. Of course, the smart lock cannot be networked for security reasons.
When creating the door lock management time information, door lock management time information including the following may be created: short-time dynamic time information, validity period information, room reservation time information, and room cleaning time information. The administrator can select and create the door lock management time information according to actual needs. Wherein:
the short-time dynamic time information is mainly used for setting a short-time effective time so as to generate a short-time effective dynamic key for one-time unlocking in the following process, such as time information effective only in 15 minutes. The time of the short-time dynamic time information can be fixed by the intelligent lock APP generally, and only the option of the short-time dynamic time information or the option of the short-time dynamic password is reserved on the display interface of the intelligent lock APP for being selected by the administrator.
The valid period information is mainly used to set a valid period for subsequently generating a valid period key valid for a period. If the resident needs to live from 14 o 'clock at 5/1/2019 to 14 o' clock at 5/3/2019, the valid time period is set from 14 o 'clock at 5/1/2019 to 14 o' clock at 5/3/2019. The effective time period can be selected by an administrator according to actual conditions.
The room reservation time information is mainly used to set a reservation time for the subsequent generation of a reservation key. If the 501 room of the hotel of 1 st 2020 is reserved by the tenant for 2 nd 1 st 14 in 2020 to 2 nd 3 st in 2020, the room reservation time information can be set to be 2 nd 1 st in 2020 to 2 nd 3 st in 2020, and the valid period is from 2 nd 1 st 14 in 2020 to 2 nd 3 st 14 in 2020, and the lock can be unlocked by inputting the reservation key in the time period. Certainly, for convenience of management, whether the tenant is checked in on time or not can be seen, the booking key can also be a disposable key, the booking key is valid in the set check-in time period, and the intelligent lock reminds the checked-in tenant of applying for a new valid time period key to the administrator after receiving the valid booking key for unlocking, so that the administrator can conveniently learn whether the tenant is really checked in the set check-in time period or not. If the 501 room of the hotel is reserved by the tenant in 2020, 1 st and 1 st, 14 in 2020, 2 st and 1 st, and stays in 2020, 2 st and 3 st, the room reservation time information can be set to be 1 st and 2 st in 2020, and the validity period is from 14 in 2020, 2 st and 1 st to 18 in 2020, 2 st and 1 st, and the tenant can be unlocked by inputting the reservation key in the validity period and is reminded to apply for a new valid time period key.
The room cleaning time information is mainly used for cleaning rooms by cleaners so as to generate a cleaning key for the cleaners to unlock. The room cleaning time information may be set to a fixed time of day and the cleaning key is valid only for a set fixed period of time to facilitate sanitation of the room by the cleaner during the fixed period of time of day while preventing the cleaner from entering the room during the rest of the time.
The third step: the server acquires the administrator password, the lock number and the door lock management time information of the management end, generates a management secret key according to the administrator password, the lock number and the door lock management time information, and sends the management secret key to the management end; the server and the intelligent lock are internally provided with the same key management algorithm.
The management terminal is connected with the server through a network, the server obtains the administrator password, the lock number and the door lock management time information from the management terminal, generates a management secret key according to the administrator password, the lock number and the door lock management time information, and sends the management secret key to the management terminal.
The server and the intelligent lock are internally provided with the same key management algorithm so as to ensure that the intelligent lock and the key generated by the server are consistent. The key management algorithm can adopt a common encryption algorithm, and the preferred key management algorithm of the invention is an SHA-1 encryption algorithm.
When creating the door lock management time information, door lock management time information including the following may be created: short-time dynamic time information, validity period information, room reservation time information, and room cleaning time information. Accordingly, when the server generates a management key, a management key including a dynamic key corresponding to the short-time dynamic time information, a valid period key corresponding to the valid period information, a reservation key corresponding to the room reservation time information, and a cleaning key corresponding to the room cleaning time information may be generated.
And fourthly, sending the management secret key received by the management terminal to the user.
There are various ways to send the management key of the management end to the user, such as:
1. and inputting the telephone, the WeChat or the mailbox of the user at the management end, and automatically forwarding the management key to the user in the form of short message, WeChat or mail by the intelligent lock APP at the management end. When the information is transmitted in this way, the room information and the time information of the validity period can be attached to the information, so that the user can know the room where the user stays and the time of the stay. This is the most convenient way and is therefore preferred for sending the management key.
2. And (5) screenshot management keys are acquired at a management end, and the screenshots are sent to the user through WeChat.
3. The management key is directly input through the mobile phone and is sent to the user in a short message form.
Of course, the present invention does not limit the sending method, and only needs the user to obtain the management key of the management terminal.
The fifth step: and when the door lock secret key is consistent with the management secret key, the intelligent lock confirms that the management secret key is effective, and the intelligent lock is unlocked automatically.
Since the management key is generated according to the administrator password, the lock number and the door lock management time information, the server and the smart lock are internally provided with the same key management algorithm, and the smart lock is provided with the administrator password and the lock number, the door lock key generated by the smart lock according to the time of inputting the management key, the administrator password and the lock number and the management key generated by the server have consistency as long as the validity time of the door lock management time information. Therefore, after the effective management key is input into the intelligent lock, the intelligent lock is automatically unlocked.
In order to facilitate the invalidation of the generated management key and realize better management of the intelligent lock, the management method of the intelligent lock further comprises the steps of creating cancellation information for canceling the management key at a management end according to the administrator password and the lock number, generating a cancellation secret key by a server according to the administrator password, the lock number and the cancellation information, and sending the cancellation secret key to the management end; and inputting the cancellation key into the intelligent lock, and enabling the management key corresponding to the cancellation information to be invalid on the intelligent lock by the intelligent lock according to the cancellation key.
The method comprises the steps that cancellation information for canceling a management key is created at a management end, and a server generates the cancellation key, so that the intelligent lock is necessary to disable the management key corresponding to the cancellation information on the intelligent lock according to the cancellation key, and is necessary to manage hotels, apartments or rental houses. For example, a tenant is subscribed to check in for a certain period of time, and the administrator also sends the management key to the tenant, but for various reasons, the tenant does not check in or unsubscribe to a room, and at this time, if the original management key that has been sent out is not invalidated, the tenant can also enter the room by virtue of the original management key, so that potential safety hazards are brought to other checked-in tenants.
In order to facilitate the users who live in, especially the users who live in a long life, to use the unlocking key which is convenient for memorizing by themselves during the live in period, and do not need to use the management key to unlock each time, the intelligent lock management method of the invention also comprises the following steps: the intelligent lock identifies whether the input time of the management key exceeds the set time, and reminds a user to modify the management key after the input time exceeds the set time, and the modified management key is only valid in the valid range of the door lock management time information carried by the original management key.
For example, if the intelligent lock recognizes that the input time of the management key exceeds 5 hours, the intelligent lock reminds the user to modify the management key, modifies the unlocking key into an unlocking key which is convenient for the user to remember, and even modifies the unlocking key into a card or fingerprint unlocking and the like. However, the newly modified key is valid only within the valid range of the door lock management time information carried by the original management key, as with the original management key.
The setting makes the user very convenient of surviving, and it can be revised the secret key that unblanks for it of intelligence lock into the secret key that it was difficult for forgetting, prevents to forget the condition that manages the secret key and can not unblank and appear.
In addition, in order to make the time of the intelligent lock consistent with the time of the server, the invention also includes a method for calibrating the time of the intelligent lock by using the timing key, which comprises the following steps:
1. the server generates a time correction secret key carrying standard time information of the server and sends the time correction secret key to the management end.
And the management terminal sends a timing request to the server, and the server generates a timing key according to the administrator password and the lock number, wherein the timing key carries standard time information.
Of course, the management end may not send the timing request to the server, and the server may send the timing key to the management end at regular time. For example, every month, the server sends a timing key to the management terminal.
2. And the management end receives the timing secret key and sends the timing secret key to the user.
The mode of sending the timing secret key to the user by the management end is the same as the sending mode of the management secret key.
3. And the user inputs the timing secret key into the intelligent lock, and the intelligent lock calibrates the time of the intelligent lock according to the standard time information carried by the timing secret key.
And after receiving the timing secret key, the intelligent lock firstly decompresses the standard time information carried by the timing secret key, then compares the current time of the intelligent lock with the standard time information carried by the timing secret key, and if the current time of the intelligent lock is inconsistent with the standard time carried by the timing secret key, adjusts the current time of the intelligent lock to the standard time carried by the timing secret key.
In this adjustment mode, since there is an uncertain time difference between the time of generating the timing key and the time of inputting the timing key into the smart lock, the user is required to input the timing key in real time, so as to reduce the error caused by the uncertain time difference, otherwise, the timing of the smart lock is not accurate.
When the server generates the timing key, a time difference may be added to the time of the generation as the standard time carried by the timing key, for example, when the generation time is 13 in 6.1.2020, 13 hours and 05 minutes may be used as the standard time carried by the timing key, and a time difference of 5 minutes may be used as the time difference between the time of generating the timing key and the time of inputting the timing key into the smart lock.
Of course, in order to prevent the time calibration from being inaccurate due to too late input, a time threshold may be set on the smart lock, and when the difference between the standard time carried by the time calibration key and the current time of the smart lock exceeds the time threshold, the time for calibrating the smart lock is abandoned, and a warning that the calibration fails is issued. At this time, the administrator needs to obtain a new time correction key by inputting an administrator password or by sending a time correction request to the server again through the administrator terminal. When the calibration fails due to too late non-input, the time of the smart lock can only be calibrated by the administrator inputting the administrator password.
Of course, the administrator may also directly input the timing key on the smart lock according to the timing key of the management end, so as to calibrate the time of the smart lock.
The time of the intelligent lock is calibrated by using the time calibration secret key, so that the time of the intelligent lock can be calibrated by a user, and the condition that the time of the intelligent lock is privately modified when the time of the intelligent lock is calibrated by the user can be prevented, so that the management of the intelligent lock fails.
Referring to fig. 2, the intelligent lock management system of the present invention includes an intelligent lock, a management side and a server, and since there may not be a real connection between the management side and the intelligent lock, the management side and the intelligent lock are connected by a dashed arrow in the figure. Wherein:
an administrator password, lock number and time can be set on the intelligent lock to activate the intelligent lock.
The purpose of setting the administrator password is that an administrator can manage the intelligent lock through the administrator password, and in subsequent management, the administrator password is used as a basis for verifying whether management information of the management end is sent by an authorized administrator.
The purpose of setting the lock number is to facilitate management. It is important to note that the lock number is not equivalent to the physical address of the smart lock. For the management of a plurality of intelligent locks, the management of each intelligent lock can be conveniently carried out subsequently by setting the lock number. Preferably, the lock number is set to a room number, so that it is very intuitive to see which room is being managed at the management side. Of course, the lock number may be set so that other administrators can intuitively know which intelligent lock they manage.
The setting of the lock number is exemplified below by taking the management of one apartment and two apartments as an example. If only one apartment is available, the apartment has 5 floors, each floor has 5 rooms, and each room is provided with one intelligent lock, at the moment, the room number can be used as the lock number, for example, the intelligent lock of the 501 room is numbered 501, and the intelligent lock of the 402 room is numbered 402. If two apartments exist, each apartment has 5 floors, each floor has 5 rooms, each room is provided with one intelligent lock, at the moment, the room number can still be used as the lock number, and the number of the apartment is added into the code of the room number for distinguishing different numbers, for example, the number of the intelligent lock of 1 apartment 501 is 1501, and the number of the intelligent lock of 2 apartment 402 is 2402. Obviously, if the intelligent lock is managed by simply using the physical address of the lock, the intelligent lock in which room is managed cannot be intuitively known, and the intelligent lock in which room is managed can be intuitively known by setting the lock number, so that the intelligent lock is very conveniently managed.
The time setting only needs to set the time of the intelligent lock to be accurate standard time, and if the current time is 11 o 'clock 45 minutes 6/5/2020, the time of the intelligent lock is set to be 45 minutes 11 o' clock 45 minutes 6/5/2020. The time setting aims at synchronizing the time of the intelligent lock, the management terminal and the server, and facilitating the generation and corresponding management of the subsequent door lock secret key
And the management terminal creates door lock management time information according to the administrator password and the lock number.
The management end is intelligent terminals such as smart mobile phones, tablet computers and computers generally, and an intelligent lock APP for managing the intelligent lock is installed on the management end. Because the smart phone is convenient to carry about and basically owned by people, the preferred management end of the intelligent lock management system is the smart phone, and an intelligent lock APP for managing the intelligent lock is arranged in the smart phone.
The administrator password and the lock number of the management end can be obtained through the following modes:
1. the method is obtained by directly inputting an administrator password and a lock number at a management terminal, and the management terminal comprises a lock information input module for inputting the administrator password and the lock number.
This kind of mode sets up administrator's password and lock serial number input interface on intelligent lock APP's interface, and its advantage lies in need not establishing any connection with the management end with the intelligent lock to make the intelligent lock need not realize the management through bluetooth or any external equipment of internet access, easy operation, it is very convenient to use, has avoided the security risk of being attacked that the intelligent lock brought because of the management end carries the virus when being connected with the management end moreover. Therefore, the administrator password and the lock number of the management terminal are preferably obtained by inputting the administrator password and the lock number at the management terminal.
2. Through passing through bluetooth or wired connection with management end and intelligent lock, the management end acquires administrator's password and lock serial number from the intelligent lock.
This kind of mode operation is more loaded down with trivial details, at first need pass through the bluetooth one-to-one with management end and each intelligent lock and establish the connection, wastes time and energy, and has the security risk that the intelligent lock is attacked because of the management end carries the virus and brings. Of course, the smart lock cannot be networked for security reasons.
When creating the door lock management time information, door lock management time information including the following may be created: short-time dynamic time information, validity period information, room reservation time information, and room cleaning time information. The administrator can select and create the door lock management time information according to actual needs. Wherein:
the short-time dynamic time information is mainly used for setting a short-time effective time so as to generate a short-time effective dynamic key for one-time unlocking in the following process, such as time information effective only in 15 minutes. The time of the short-time dynamic time information can be fixed by the intelligent lock APP generally, and only the option of the short-time dynamic time information or the option of the short-time dynamic password is reserved on the display interface of the intelligent lock APP for being selected by the administrator.
The valid period information is mainly used to set a valid period for subsequently generating a valid period key valid for a period. If the resident needs to live from 14 o 'clock at 5/1/2019 to 14 o' clock at 5/3/2019, the valid time period is set from 14 o 'clock at 5/1/2019 to 14 o' clock at 5/3/2019. The effective time period can be selected by an administrator according to actual conditions.
The room reservation time information is mainly used to set a reservation time for the subsequent generation of a reservation key. If the 501 room of the hotel of 1 st 2020 is reserved by the tenant for 2 nd 1 st 14 in 2020 to 2 nd 3 st in 2020, the room reservation time information can be set to be 2 nd 1 st in 2020 to 2 nd 3 st in 2020, and the valid period is from 2 nd 1 st 14 in 2020 to 2 nd 3 st 14 in 2020, and the lock can be unlocked by inputting the reservation key in the time period. Certainly, for convenience of management, whether the tenant is checked in on time or not can be seen, the booking key can also be a disposable key, the booking key is valid in the set check-in time period, and the intelligent lock reminds the checked-in tenant of applying for a new valid time period key to the administrator after receiving the valid booking key for unlocking, so that the administrator can conveniently learn whether the tenant is really checked in the set check-in time period or not. If the 501 room of the hotel is reserved by the tenant in 2020, 1 st and 1 st, 14 in 2020, 2 st and 1 st, and stays in 2020, 2 st and 3 st, the room reservation time information can be set to be 1 st and 2 st in 2020, and the validity period is from 14 in 2020, 2 st and 1 st to 18 in 2020, 2 st and 1 st, and the tenant can be unlocked by inputting the reservation key in the validity period and is reminded to apply for a new valid time period key.
The room cleaning time information is mainly used for cleaning rooms by cleaners so as to generate a cleaning key for the cleaners to unlock. The room cleaning time information may be set to a fixed time of day and the cleaning key is valid only for a set fixed period of time to facilitate sanitation of the room by the cleaner during the fixed period of time of day while preventing the cleaner from entering the room during the rest of the time.
The server acquires the administrator password, the lock number and the door lock management time information of the management end, generates a management secret key according to the administrator password, the lock number and the door lock management time information, and sends the management secret key to the management end; the server and the intelligent lock are internally provided with the same key management algorithm.
After the management secret key is input into the intelligent lock, the intelligent lock generates a door lock secret key according to the administrator password, the lock number and the time for inputting the management secret key, and when the door lock secret key is consistent with the management secret key, the intelligent lock confirms that the management secret key is valid, and the intelligent lock is unlocked automatically.
The server and the intelligent lock are internally provided with the same key management algorithm so as to ensure that the intelligent lock and the key generated by the server are consistent. The key management algorithm can adopt a common encryption algorithm, and the preferred key management algorithm of the invention is an SHA-1 encryption algorithm.
When creating the door lock management time information, door lock management time information including the following may be created: short-time dynamic time information, validity period information, room reservation time information, and room cleaning time information. Accordingly, when the server generates a management key, a management key including a dynamic key corresponding to the short-time dynamic time information, a valid period key corresponding to the valid period information, a reservation key corresponding to the room reservation time information, and a cleaning key corresponding to the room cleaning time information may be generated.
The management key input to the smart lock may be obtained in a variety of ways, such as:
1. and inputting the telephone, the WeChat or the mailbox of the user at the management end, and automatically forwarding the management key to the user in the form of short message, WeChat or mail by the intelligent lock APP at the management end. When the information is transmitted in this way, the room information and the time information of the validity period can be attached to the information, so that the user can know the room where the user stays and the time of the stay. This is the most convenient way and is therefore preferred for sending the management key.
2. And (5) screenshot management keys are acquired at a management end, and the screenshots are sent to the user through WeChat.
3. The management key is directly input through the mobile phone and is sent to the user in a short message form.
Of course, the present invention does not limit the obtaining mode, and only needs the user to obtain the management key of the management end.
In order to facilitate the invalidation of the generated management key and realize better management of the intelligent lock, the management end further comprises a cancellation information generation module, wherein cancellation information for canceling the management key is created according to the administrator password and the lock number, and the server generates a cancellation secret key according to the administrator password, the lock number and the cancellation information and sends the cancellation secret key to the management end; and inputting the cancellation key into the intelligent lock, and enabling the management key corresponding to the cancellation information to be invalid on the intelligent lock by the intelligent lock according to the cancellation key.
The method comprises the steps that cancellation information for canceling a management key is created at a management end, and a server generates the cancellation key, so that the intelligent lock is necessary to disable the management key corresponding to the cancellation information on the intelligent lock according to the cancellation key, and is necessary to manage hotels, apartments or rental houses. For example, a tenant is subscribed to check in for a certain period of time, and the administrator also sends the management key to the tenant, but for various reasons, the tenant does not check in or unsubscribe to a room, and at this time, if the original management key that has been sent out is not invalidated, the tenant can also enter the room by virtue of the original management key, so that potential safety hazards are brought to other checked-in tenants.
In order to facilitate the check-in user, especially the long-lived user, to use the unlocking key which is convenient to remember by the user during the check-in period, and not to use the management key to unlock each time, the intelligent lock also comprises a management key modification module which identifies whether the input time of the management key exceeds the set time, and reminds the user to modify the management key after the set time is exceeded, and the modified management key is only valid within the valid range of the door lock management time information carried by the original management key.
For example, if the intelligent lock recognizes that the input time of the management key exceeds 5 hours, the intelligent lock reminds the user to modify the management key, modifies the unlocking key into an unlocking key which is convenient for the user to remember, and even modifies the unlocking key into a card or fingerprint unlocking and the like. However, the newly modified key is valid only within the valid range of the door lock management time information carried by the original management key, as with the original management key.
The setting makes the user very convenient of surviving, and it can be revised the secret key that unblanks for it of intelligence lock into the secret key that it was difficult for forgetting, prevents to forget the condition that manages the secret key and can not unblank and appear.
The same key management algorithm is arranged in the server and the intelligent lock, firstly, an administrator password, a lock number and time are arranged on the intelligent lock, the intelligent lock is activated, and then door lock management time information is established at a management end according to the administrator password and the lock number; then the server acquires the administrator password, the lock number and the door lock management time information of the management end, generates a management secret key according to the administrator password, the lock number and the door lock management time information, and sends the management secret key to the management end; the user inputs the management secret key on the intelligent lock after obtaining the management secret key from a management end, the intelligent lock generates a door lock secret key according to a manager password, a lock number and the time of inputting the management secret key, and when the door lock secret key is consistent with the management secret key, the intelligent lock confirms that the management secret key is valid, and the intelligent lock is unlocked automatically. Because the intelligent lock does not need to be connected with a network, the situation that the password is failed to be obtained due to the network problem does not exist, and the potential safety hazard caused by the fact that the intelligent lock is connected with the network is also solved. In addition, the intelligent lock is provided with the lock number, the management end creates the door lock management time information, the server generates the management key and sends the management key to the management end, so that the intelligent lock of a plurality of rooms can be controlled through the management end, and the intelligent lock management system is very convenient for the management of places such as hotels, apartments, rental houses and the like.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. An intelligent lock management method is characterized by comprising the following steps:
setting an administrator password, a lock number and time on the intelligent lock, and activating the intelligent lock;
creating door lock management time information at a management end according to the administrator password and the lock number;
the server acquires the administrator password, the lock number and the door lock management time information of the management end, generates a management secret key according to the administrator password, the lock number and the door lock management time information, and sends the management secret key to the management end; the server and the intelligent lock are internally provided with the same key management algorithm;
sending the management key received by the management terminal to the user;
and when the door lock secret key is consistent with the management secret key, the intelligent lock confirms that the management secret key is effective, and the intelligent lock is unlocked automatically.
2. The intelligent lock management method according to claim 1, wherein: the administrator password and the lock number of the management end are obtained by inputting the administrator password and the lock number at the management end.
3. The intelligent lock management method according to claim 1, wherein: the creating of the door lock management time information may create door lock management time information including: the server-generated management key may generate a management key including a dynamic key corresponding to the short-time dynamic time information, a valid period key corresponding to the valid period information, a reservation key corresponding to the room reservation time information, and a cleaning key corresponding to the room cleaning time information.
4. The intelligent lock management method according to claim 1, wherein: the intelligent lock management method further comprises the steps that cancellation information for canceling the management key is created at the management end according to the administrator password and the lock number, the server generates a cancellation secret key according to the administrator password, the lock number and the cancellation information, and the cancellation secret key is sent to the management end; and inputting the cancellation key into the intelligent lock, and enabling the management key corresponding to the cancellation information to be invalid on the intelligent lock by the intelligent lock according to the cancellation key.
5. The intelligent lock management method according to claim 1, wherein: the intelligent lock management method further comprises the following steps: the intelligent lock identifies whether the input time of the management key exceeds the set time, and reminds a user to modify the management key after the input time exceeds the set time, and the modified management key is only valid in the valid range of the door lock management time information carried by the original management key.
6. The intelligent lock management method according to claim 1, wherein: the intelligent lock management method further comprises the following steps:
the server generates a timing key carrying standard time information and sends the timing key to the management end;
the management end receives the timing secret key and sends the timing secret key to the user;
and the user inputs the timing secret key into the intelligent lock, and the intelligent lock calibrates the time of the intelligent lock according to the standard time information carried by the timing secret key.
7. An intelligent lock management system, its characterized in that: the intelligent lock management system comprises:
the intelligent lock can be provided with an administrator password, a lock number and time to activate the intelligent lock;
the management terminal is used for creating door lock management time information according to the administrator password and the lock number;
the server acquires the administrator password, the lock number and the door lock management time information of the management end, generates a management secret key according to the administrator password, the lock number and the door lock management time information, and sends the management secret key to the management end; the server and the intelligent lock are internally provided with the same key management algorithm;
after the management secret key is input into the intelligent lock, the intelligent lock generates a door lock secret key according to the administrator password, the lock number and the time for inputting the management secret key, and when the door lock secret key is consistent with the management secret key, the intelligent lock confirms that the management secret key is valid, and the intelligent lock is unlocked automatically.
8. The intelligent lock management system of claim 7, wherein: the creating of the door lock management time information may create door lock management time information including: the server-generated management key may generate a management key including a dynamic key corresponding to the short-time dynamic time information, a valid period key corresponding to the valid period information, a reservation key corresponding to the room reservation time information, and a cleaning key corresponding to the room cleaning time information.
9. The intelligent lock management system of claim 7, wherein: the management terminal also comprises a cancellation information generation module which creates cancellation information for canceling the management key according to the administrator password and the lock number, and the server generates a cancellation secret key according to the administrator password, the lock number and the cancellation information and sends the cancellation secret key to the management terminal; and inputting the cancellation key into the intelligent lock, and enabling the management key corresponding to the cancellation information to be invalid on the intelligent lock by the intelligent lock according to the cancellation key.
10. The intelligent lock management system of claim 7, wherein: the intelligent lock also comprises a management key modification module which identifies whether the input time of the management key exceeds the set time, and reminds a user to modify the management key after the input time of the management key exceeds the set time, and the modified management key is only valid within the valid range of the door lock management time information carried by the original management key.
CN202010648209.4A 2020-07-07 2020-07-07 Intelligent lock management method and intelligent lock management system Pending CN111899380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010648209.4A CN111899380A (en) 2020-07-07 2020-07-07 Intelligent lock management method and intelligent lock management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010648209.4A CN111899380A (en) 2020-07-07 2020-07-07 Intelligent lock management method and intelligent lock management system

Publications (1)

Publication Number Publication Date
CN111899380A true CN111899380A (en) 2020-11-06

Family

ID=73191653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010648209.4A Pending CN111899380A (en) 2020-07-07 2020-07-07 Intelligent lock management method and intelligent lock management system

Country Status (1)

Country Link
CN (1) CN111899380A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113112657A (en) * 2021-04-09 2021-07-13 东莞市友联奕诺生物科技有限公司 Door lock unlocking method and door lock unlocking device
CN114267102A (en) * 2021-12-02 2022-04-01 深圳市皇家金盾智能科技有限公司 Intelligent door lock control method, device and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6981142B1 (en) * 1999-01-28 2005-12-27 International Business Machines Corporation Electronic access control system and method
CN102168509A (en) * 2011-03-23 2011-08-31 袁磊 Dynamic password lock system capable of changing password with date
CN203397412U (en) * 2013-07-24 2014-01-15 江苏晓山信息产业股份有限公司 Intelligent mobile terminal-controlled electronic lock system
US20140195810A1 (en) * 2012-10-11 2014-07-10 Openways Sas Secured method for controlling the opening of lock devices from messages implementing a symmetrical encryption
CN204833402U (en) * 2015-07-21 2015-12-02 杭州晟元数据安全技术股份有限公司 Two -dimensional code developments trick lock
CN106530454A (en) * 2016-10-10 2017-03-22 俞毅 House-renting management system capable of opening locks based on Bluetooth or two-dimensional codes and method thereof
CN107492161A (en) * 2017-01-07 2017-12-19 邓昊晴 A kind of lock management scheme of time-based dynamic token and low-power consumption bluetooth technology
CN108449177A (en) * 2018-03-16 2018-08-24 东莞盛世科技电子实业有限公司 The use control method and system of temporary password
CN110443925A (en) * 2019-08-06 2019-11-12 深圳市沃特沃德股份有限公司 Generation method, device, storage medium and the computer equipment of temporary password

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6981142B1 (en) * 1999-01-28 2005-12-27 International Business Machines Corporation Electronic access control system and method
CN102168509A (en) * 2011-03-23 2011-08-31 袁磊 Dynamic password lock system capable of changing password with date
US20140195810A1 (en) * 2012-10-11 2014-07-10 Openways Sas Secured method for controlling the opening of lock devices from messages implementing a symmetrical encryption
CN203397412U (en) * 2013-07-24 2014-01-15 江苏晓山信息产业股份有限公司 Intelligent mobile terminal-controlled electronic lock system
CN204833402U (en) * 2015-07-21 2015-12-02 杭州晟元数据安全技术股份有限公司 Two -dimensional code developments trick lock
CN106530454A (en) * 2016-10-10 2017-03-22 俞毅 House-renting management system capable of opening locks based on Bluetooth or two-dimensional codes and method thereof
CN107492161A (en) * 2017-01-07 2017-12-19 邓昊晴 A kind of lock management scheme of time-based dynamic token and low-power consumption bluetooth technology
CN108449177A (en) * 2018-03-16 2018-08-24 东莞盛世科技电子实业有限公司 The use control method and system of temporary password
CN110443925A (en) * 2019-08-06 2019-11-12 深圳市沃特沃德股份有限公司 Generation method, device, storage medium and the computer equipment of temporary password

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113112657A (en) * 2021-04-09 2021-07-13 东莞市友联奕诺生物科技有限公司 Door lock unlocking method and door lock unlocking device
CN114267102A (en) * 2021-12-02 2022-04-01 深圳市皇家金盾智能科技有限公司 Intelligent door lock control method, device and system
CN114267102B (en) * 2021-12-02 2023-11-17 深圳市皇家金盾智能科技有限公司 Intelligent door lock control method, device and system

Similar Documents

Publication Publication Date Title
CN109790727B (en) Padlock device, system including the same, and method of operating the same
KR101296863B1 (en) Entry authentication system using nfc door lock
EP3567556A1 (en) Method for generating offline verification code based on smart door lock system, and system thereof
CN104966336B (en) Intelligent lock and authorization management method and device of intelligent lock
WO2019174507A1 (en) Temporary password usage control method and system
CN107093243B (en) Door lock verification alarm method and system and terminal
WO2016169424A1 (en) Networked community area access control system and community area access method based thereon
US10290164B2 (en) Method for controlling door lock of home network system
CN104732636A (en) Bluetooth cellphone-based intelligent community access control system and method
US20240362962A1 (en) Intelligent lock credential validation
JP4822738B2 (en) Service authentication system and service authentication method
KR101963437B1 (en) System and method for doorlock
JP2009257046A (en) Unlocking-locking system using cellular phone
CN105447743A (en) Cloud-based house transaction system and method
KR102108347B1 (en) Method and apparatus for unlocking door-lock using one time password, and system therefor
CN111899380A (en) Intelligent lock management method and intelligent lock management system
CN110570559A (en) Electronic key sharing method in access control system based on mobile terminal
CN113643459A (en) Remote control unlocking method and system for building and Bluetooth intelligent lock
CN104574616A (en) Intelligent electronic door lock control method and control device
KR102459799B1 (en) System and method for managing entrance and exit of common entrance door
US20220108573A1 (en) Remote device interface and telephone entry system
CN111717740B (en) Elevator intelligent management method, system, intelligent terminal and storage medium
CN112767576B (en) Lockset authorization management method and lockset authorization management system
KR102344137B1 (en) System and method for user authentication
TWM629337U (en) Access control management system

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
CB02 Change of applicant information

Address after: A03, 3rd floor, 190 Min'an South Road, Xiaolan Town, Zhongshan City, Guangdong Province, 528400

Applicant after: Guangdong Chenjia Intelligent Technology Co.,Ltd.

Address before: A03, 3rd floor, 190 Min'an South Road, Xiaolan Town, Zhongshan City, Guangdong Province, 528400

Applicant before: Guangdong Chenjia Intelligent Technology Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20201106

RJ01 Rejection of invention patent application after publication