A door lock management system, method, computer device, and storage medium
By temporarily storing management information in the gateway and allowing the lock to acquire information in a set order, the problems of instant verification and communication information congestion in the prior art are solved, and instant unlock verification and orderly communication of the lock are realized.
Patent Information
- Application Number
- CN202111261933.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-28
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2041-10-28
AI Technical Summary
The prior art is difficult to meet the instant verification of user unlocking information verification and prevent information congestion in the communication process between the gateway and the smart door lock.
By temporarily storing management information in the gateway, including updated unlock verification information, and allowing the lock to obtain management information from the gateway in a set order, orderly communication and instant verification between the lock and the gateway are realized.
Realize instant unlock verification of locks, saves power of locks, avoids network congestion, and improves communication order and efficiency.
Smart Images

Figure CN114038091B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet of Things, and particularly to a door lock management system, method, computer device, and storage medium. Background Art
[0002] An intelligent door lock is an improved version based on the traditional mechanical lock, and is more intelligent and simpler in terms of user security, identification, and management. An intelligent door lock is an execution component for locking the door in an access control system. An intelligent door lock can be opened by means such as a password or fingerprint, not limited to being opened by a key. Multiple intelligent door locks can be managed through an intelligent door lock management system, and intelligent door locks usually transmit information wirelessly to other devices in the outside world or the management system. As an independent device, an intelligent door lock is usually powered by a built-in battery for its electronic components, so an intelligent door lock needs to have low power consumption to improve the user experience.
[0003] In the existing door lock management system, it is necessary to regularly wake up the intelligent door lock for broadcasting and connecting to the gateway to achieve information interaction, and store the unlocking information of the user in the corresponding intelligent door lock in advance. Or when the user performs unlocking verification, after the intelligent door lock reads the unlocking information, it connects to the gateway and uploads the verification information to the server for verification and comparison, and then issues an unlocking instruction after successful comparison.
[0004] The existing solutions are difficult to simultaneously meet the immediate verification of the unlocking information of the user and prevent information congestion during the communication process between the gateway and the intelligent door lock. Summary of the Invention
[0005] Based on this, it is necessary to provide a door lock management system, method, computer device, and storage medium for the above problems.
[0006] In one embodiment, the management system includes:
[0007] A gateway for temporarily storing management information, where the management information includes updated unlocking verification information; and
[0008] A number of locks, each bound to the gateway, and the number of locks obtain the management information from the gateway in a set order.
[0009] In one embodiment, a door lock management method is applied to a lock, and the method includes:
[0010] Sending the broadcast information to the gateway in a set order, where the set order is the set order between different locks bound to the same gateway, and the interval between sending the broadcast information between different locks is a second set duration;
[0011] Send the broadcast information to the gateway at a first set duration, where the first set duration is the period for all the locks bound to the same gateway to send a round of broadcast information;
[0012] Among them, the duration of the broadcast information sent by a lock at a single time is a third set duration.
[0013] In another embodiment, a door lock management method is applied to a gateway, and the method includes:
[0014] Obtain management information;
[0015] Continuously scan and obtain broadcast information;
[0016] Send the management information to the lock according to the broadcast information.
[0017] In one embodiment, a door lock management device is provided, and the device includes:
[0018] A sequential broadcast unit for sending the broadcast information to the gateway in a set order, where the set order is the set order among different locks bound to the same gateway, and the interval between sending the broadcast information among different locks is a second set duration; and
[0019] A periodic broadcast unit for sending the broadcast information to the gateway at a first set duration, where the first set duration is the period for all the locks bound to the same gateway to send a round of broadcast information;
[0020] Among them, the duration of the broadcast information sent by a lock at a single time is a third set duration.
[0021] A computer device includes a memory and a processor. A computer program is stored in the memory. When the computer program is executed by the processor, the processor executes the steps of the above door lock management method.
[0022] A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the processor executes the steps of the above door lock management method.
[0023] In the above door lock management system, method, computer device and storage medium, the lock establishes a connection with the gateway in a set order and transmits data after the connection. If there is management data temporarily stored in the gateway, it can be directly sent to the corresponding lock. After the lock updates the data, it can be immediately verified when the user unlocks the door, saving the power of the lock. The lock obtaining the unlock verification information can save the verification waiting time; and it makes the communication between the gateway and the lock more orderly, prevents network congestion, and can verify the unlock on the lock, which is efficient and convenient. Description of the Drawings
[0024] Figure 1 Schematic diagram of the structure of a door lock management system provided in an embodiment;
[0025] Figure 2 Communication timing diagram of the door lock management system provided in an embodiment;
[0026] Figure 3 Schematic diagram of the structure of a door lock management system provided in another embodiment;
[0027] Figure 4 Flowchart of the door lock management method in an embodiment;
[0028] Figure 5 Flowchart of the door lock management method in another embodiment;
[0029] Figure 6 Flowchart of the door lock management method in yet another embodiment;
[0030] Figure 7 Block diagram of the structure of a door lock management device in an embodiment;
[0031] Figure 8 Internal block diagram of a computer device in an embodiment. Detailed implementation manners
[0032] In order to make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0033] It can be understood that the terms "first", "second", etc. used in the present application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of the present application, the first xx script may be referred to as the second xx script, and similarly, the second xx script may be referred to as the first xx script.
[0034] The specific implementation of the present invention will be described in detail below with reference to specific embodiments.
[0035] As Figure 1 shown, it is a structural diagram of a door lock management system provided in an embodiment. The management system includes:
[0036] A gateway for temporarily storing management information, where the management information includes updated unlocking verification information; and
[0037] A number of locks are respectively bound to the gateway, and the number of locks obtain the management information from the gateway in a set order.
[0038] In one embodiment, in some scenarios, such as banks, government departments, hotels, school dormitories, residential communities, villas, and guesthouses, the security, door opening, and maintenance convenience of door locks are required. To facilitate the management of door locks, it is necessary to verify the unlocking of door locks and communicate with the door locks. The gateway directly communicates with the locks, and the communication between the gateway and the locks can adopt wireless communication methods such as Bluetooth, wireless local area network, and ZigBee. The gateway can also communicate with an external network, so the gateway can manage the locks and play a role in converting communication protocols.
[0039] In one embodiment, the management information is temporarily stored in the gateway, and the management information may include updated unlocking verification information; when the user performs an unlocking action on the lock and inputs unlocking data to the lock, the lock needs to verify the unlocking data to determine whether to open the door lock, that is, the lock makes a judgment based on the unlocking verification information. Sometimes, the unlocking verification information needs to be updated, such as assigning a new unlocking password to the lock, directly changing the password, or assigning a temporary password to the lock. Similarly, the existing legal verification information can also be revoked to make it lose the unlocking permission. The lock needs to update the unlocking verification information in a timely manner so that the lock can unlock or not unlock. The gateway can send the updated unlocking verification information to the lock when communicating with the lock, and directly verify the unlocking data through the unlocking verification information on the lock, which is efficient and convenient.
[0040] In an alternative embodiment, the form in which the lock recognizes the unlocking action can be NFC (Near Field Communication) recognition, face recognition, fingerprint recognition, password recognition, iris recognition, etc., and then the unlocking data is received.
[0041] In one embodiment, a number of locks are bound to one gateway, and each lock has a unique lock number bound to the gateway. Specifically, initialization configuration can be performed when building the system. The gateway can obtain the MAC address (Media Access Control Address) of the lock to achieve communication between the gateway and the lock, and then achieve the binding between the gateway and the lock. When the system is applied to scenarios such as hotels, it can also be matched with the room number where the lock is located to facilitate the correspondence of rooms.
[0042] In one embodiment, since the lock is independently installed and powered by a battery, in order to save the power consumption of the lock, the lock cannot be constantly connected to the gateway. By setting an order for the locks bound to a single gateway, the locks are connected to the gateway in sequence according to the set order and obtain the management data temporarily stored in the gateway after connection. The set order can be initialized and configured when building the system to sort each lock. While saving the power of the lock, it enables orderly communication with the gateway, prevents congestion of the communication channel, and further prevents network congestion and delay.
[0043] In this embodiment, a single gateway is bound to multiple locks. The locks establish connections with the gateway according to the set order and transmit data after connection. If there is management data temporarily stored in the gateway, it can be directly sent to the corresponding lock. After the lock updates the data, it can perform instant verification when the user unlocks the lock, saving the power of the lock, making the communication between the gateway and the lock more orderly, preventing network congestion, and enabling verification of unlocking on the lock, which is efficient and convenient.
[0044] In another embodiment, the gateway is further configured to send configuration information to the lock, and the configuration information includes the serial numbers assigned to the locks. The several locks obtain the management information from the gateway in the order of the serial numbers. It can be configured when building the system, and the gateway assigns unique corresponding serial numbers to all the locks bound to it. The locks communicate with the gateway according to their own serial number order.
[0045] In another embodiment, the lock is configured to compare the unlocking data with the unlocking verification information after obtaining the unlocking data, where the unlocking data is the data directly input into the lock for unlocking.
[0046] If the unlocking data is correct, an unlocking control instruction is issued.
[0047] If the unlocking data is incorrect, a retry instruction or an alarm instruction is issued.
[0048] In one embodiment, the unlocking data received by the lock is the data input by the user into the lock, and the unlocking data is used to unlock the lock. Optionally, a device for recognizing the unlocking action is provided on the lock, such as an NFC antenna, a face recognition module, a fingerprint recognition module, a password keyboard, an iris recognition module, etc. Optionally, a control device is provided in the lock, and the control device can be an MCU (Microcontroller Unit, single-chip microcomputer) for processing data, comparing the unlocking data with the unlocking verification data stored in the lock to determine whether to unlock. The model of the single-chip microcomputer is not specifically limited here.
[0049] In one embodiment, an actuator is also provided in the lock. When the unlocking data input by the user is correct, the control device can issue an unlocking control instruction, and the unlocking is executed by the actuator structure; when the unlocking data input by the user is incorrect, a retry instruction or an alarm instruction can be issued. The retry instruction is used to prompt the user to perform the unlocking action again, and the prompt can be made through the display module or voice information; the alarm instruction can send a warning to the gateway or the external environment after the unlocking data is input incorrectly multiple times. When sending a warning to the external environment, the warning can also be made through the display module or voice information.
[0050] In one embodiment, Bluetooth communication is adopted between the lock and the gateway. The lock includes a first Bluetooth module, and the gateway includes a second Bluetooth module. The first Bluetooth module in each lock sends broadcast information at intervals of a first set duration, and the second Bluetooth module obtains the broadcast information by scanning, so that the first Bluetooth module and the second Bluetooth module establish a communication connection;
[0051] Among them, the first Bluetooth modules of adjacent locks send the broadcast information at intervals of a second set duration, and the third set duration is less than the second set duration for which the first Bluetooth module sends the broadcast information continuously. The "adjacent" here refers to the adjacency in the order of sending the broadcast information.
[0052] In one embodiment, a number of locks carried by one gateway communicate with the gateway in turn, that is, polling the gateway. Therefore, the first Bluetooth module in each lock also communicates with the second Bluetooth module in the gateway in turn. The first Bluetooth module acts as a broadcaster and sends broadcast information all around. The second Bluetooth module acts as a scanning end and continuously scans the surrounding signals. When it receives the broadcast information, it can establish a connection with the first Bluetooth module through the broadcast information. After the connection is established, the second Bluetooth module can send management information to the first Bluetooth module.
[0053] In one embodiment, a number of first Bluetooth modules act as broadcasters in sequence according to a set order. A broadcast cycle is the time cycle for a number of locks to complete one round of polling. Therefore, for a single lock, its broadcast cycle is also a broadcast cycle, and the first set duration is the duration of a broadcast cycle. For two adjacent locks, the interval duration between their broadcasts is the second set duration. When the first Bluetooth module broadcasts, it needs to broadcast continuously for a period of time, and the continuous duration is the third set duration.
[0054] In one embodiment, the first Bluetooth module has a broadcast mode and a transmission mode, and the broadcast mode and the transmission mode can be implemented by different physical units, such as a broadcast unit and a transmission unit. The broadcast unit connects to the second Bluetooth module by sending broadcast information. After the connection is established, the first Bluetooth module can receive or send data through the transmission module. In terms of timing, the first Bluetooth modules of different locks act as broadcastors in sequence to connect to the gateway. After the connection, the data transmission time between the transmission unit and the second Bluetooth module is not restricted, and the broadcast module is turned off after the transmission ends.
[0055] For example Figure 2 , in one embodiment, BLE (Bluetooth Low Energy) communication can be selected, and the following is an exemplary description.
[0056] An RTC (Real Time Clock) circuit is provided in the lock. Several locks can determine the current time by scanning the RTC and unify the current time through the gateway. For the first Bluetooth module to broadcast in sequence, it can be achieved by specifying its broadcast timing. The broadcast opening period is T1, that is, the first set duration. The polling interval time of different locks is T2, that is, the second set duration, and N is the serial number. When performing the initialization settings, the lock sets the timer opening time T3 = N * T2 for the first time. The broadcast time T3 of each lock increases in sequence under the serial number N sorting, and T3 < T1. The current time is T4, and the smart lock obtains T4 by reading the internal RTC. The MCU of the lock sets the timing interruption time as the broadcast period, that is, T1, and takes the remainder between T4 and (T1 + T3). If T4 Mod (T1 + T3) = 0, the timer is turned on to start timing. The above process can be set once during the initialization settings. T1 is the first set duration, which can be set to 1 to 10 seconds, and T2 is the second set duration, which can be set to 50 milliseconds and can be defined by the user.
[0057] When looping, the first Bluetooth module waits for the T1 timer interrupt to occur and then performs Bluetooth wireless broadcasting, which only lasts for T5. T5 is the third set duration and can be set to 7.5 to 15 milliseconds. If the gateway does not respond, or after successful connection communication, the broadcast mode of the first Bluetooth module can be turned off to enter the low-power state, waiting for the next timer interrupt to occur, and then repeating to turn on the broadcast mode of the first Bluetooth module. The lock wakes up from the low-power state to broadcast, regardless of the number of locks connected to the gateway by the gateway. When the lock is successfully connected to the gateway, the lock enters the transmission mode, and the transmission time is not restricted. For example, it can be greater than T5 or greater than T2. The locks under the same gateway can, according to the set order of the serial numbers, turn on the broadcast mode of the first Bluetooth module at intervals of T2 in turn with a period of T1 to complete the access to the gateway. Through the above process, usually only one lock communicates with the gateway within the same time period, maximizing the avoidance of network congestion caused by the concentrated use of the communication channel by the locks.
[0058] After the lock is connected to the gateway, the first Bluetooth module can enter the transmission mode to transmit data with the gateway. The first Bluetooth module usually operates in the broadcast mode. The usage frequency of the broadcast mode is higher than that of the connection mode. Therefore, reducing the working duration of the broadcast mode of the first Bluetooth module can effectively reduce power consumption. At the same time, the first Bluetooth module of the lock is the broadcaster, and the second Bluetooth module of the gateway is the scanner. Therefore, one gateway can be connected to and transmit data with multiple locks at the same time, which can also prevent network congestion. Optionally, one gateway can transmit data with up to seven locks at the same time.
[0059] Such as Figure 3 , in another embodiment, the management system further includes:
[0060] A server, connected to the gateway through a network, for sending the management information to the gateway. The management data further includes reference time information; and
[0061] An intelligent terminal, communicating with the lock or the server, for obtaining management data from the server, sending management data to the server, or sending management data to the lock.
[0062] In one embodiment, the server can be an independent physical server or terminal, or a server cluster composed of multiple physical servers, and can be a cloud server providing basic cloud computing services such as cloud servers, cloud databases, cloud storage, and CDN. The intelligent terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto.
[0063] In one embodiment, the gateway is also connected to the server, and the management data can be sent from the server to the gateway and then from the gateway to the lock. Among them, during the initialization configuration, the allocation of the lock number and serial number can also be sent from the server to the lock.
[0064] In one embodiment, the system further includes a smart terminal, which can be connected to and communicate with the lock or the server; for example, when there is a problem with the gateway or a problem with the network transmission from the gateway to the server, after the lock is manually triggered to wake up, it can be connected to the mobile phone APP via Bluetooth. At this time, the mobile phone is the smart terminal, and the latest management data of the server is obtained through the mobile phone cellular network to ensure that the lock can continue to be used.
[0065] In one embodiment, the smart terminal can be used as a management terminal, and the management terminal can allocate new unlocking verification data, such as a new password, etc., for the lock and send it to the lock through the server and the gateway.
[0066] In one embodiment, the lock is further configured to upload status information to the gateway in the set order, and the status information is information describing the normal working state or abnormal working state of the lock. After the lock is connected to the gateway for communication, the lock can actively upload its own status information to the gateway. The status information can be the power status of the lock, the abnormal unlocking situation, etc., so as to facilitate detecting whether the lock is in a normal working state for convenient maintenance and management.
[0067] In one embodiment, multiple gateways can be connected under one server, and one gateway can be bound to multiple locks, which can be specifically set according to the application scenario.
[0068] Such as Figure 4 shown, in one embodiment, a door lock management method is proposed. This embodiment mainly takes the application of this method to the door lock in the above Figure 1 as an example for illustration. Specifically, it may include the following steps:
[0069] Step S202: Send the broadcast information to the gateway in the set order, where the set order is the set order among different locks bound to the same gateway, and the interval between sending the broadcast information between different locks is the second set duration;
[0070] Step S204: Send the broadcast information to the gateway at a first set duration as a cycle, where the first set duration is the cycle for all locks bound to the same gateway to send a round of broadcast information;
[0071] Among them, the duration of the broadcast information sent by the lock each time is the third set duration.
[0072] In an optional embodiment, the form in which the lock identifies the unlocking action may be NFC identification, face recognition, fingerprint recognition, password recognition, iris recognition, etc., and then unlocking data is received.
[0073] In one embodiment, a number of locks are bound to a gateway, and each lock has a unique lock number bound to the gateway. Specifically, initialization configuration can be performed when building the system. The gateway can obtain the MAC address (Media Access Control Address) of the lock to achieve communication between the gateway and the lock, realize the binding between the gateway and the lock, and can also be matched with the room number where the lock is located to facilitate the correspondence of the room.
[0074] In one embodiment, since the lock is independently installed and powered by a battery, in order to save the power consumption of the lock, the lock cannot be constantly connected to the gateway. By setting an order for the locks bound to a gateway, the locks broadcast with the gateway in sequence according to the set order and obtain the management data temporarily stored in the gateway after connection. The set order can be initialized and configured when building the system to sort each lock. While saving the power of the lock, it enables the locks to communicate with the gateway orderly, prevents the congestion of the communication channel, and thus prevents the congestion and delay of the network.
[0075] Such as Figure 5 , in one embodiment, the management method further includes:
[0076] Step S302, receiving unlocking data, where the unlocking data is the data directly input to the lock for unlocking;
[0077] Step S304, comparing the unlocking verification information with the unlocking data;
[0078] Step S306, if the unlocking data is correct, issuing an unlocking control instruction;
[0079] Step S308, if the unlocking data is incorrect, issuing a retry instruction or an alarm instruction.
[0080] In one embodiment, the unlocking data received by the lock is the data input by the user to the lock, and the unlocking data is used to unlock the lock. Optionally, a device for identifying the unlocking action is provided on the lock, such as an NFC antenna, a face recognition module, a fingerprint recognition module, a password keyboard, an iris recognition module, etc. Optionally, a control device is provided in the lock, and the control device can be an MCU (Microcontroller Unit), which is used to process data and compare the unlocking data with the unlocking verification data stored in the lock to determine whether to unlock. The model of the single-chip microcomputer is not specifically limited here.
[0081] In one embodiment, an execution device is further provided in the lock. When the unlocking data input by the user is correct, the control device can issue an unlocking control instruction, and the unlocking is executed by the execution structure; when the unlocking data input by the user is incorrect, a retry instruction or an alarm instruction can be issued. The retry instruction is used to prompt the user to perform the unlocking action again, and can be prompted through the display module or sound information; the alarm instruction can issue a warning to the gateway or the external environment after multiple incorrect unlocking data inputs. When warning the external environment, it can also be warned through the display module or sound information.
[0082] As Figure 6 shown, in one embodiment, a door lock management method is proposed. In this embodiment, this method is mainly illustrated by applying it to the door lock in the above Figure 1 . Specifically, it may include the following steps:
[0083] Step S402, obtain management information;
[0084] Step S404, continuously scan and obtain broadcast information;
[0085] Step S406, send the management information to the lock according to the broadcast information.
[0086] In one embodiment, in some scenarios, such as banks, government departments, hotels, school dormitories, residential communities, villas, guesthouses, it is necessary to ensure the security of the door lock, the convenience of opening the door and maintenance. In order to facilitate the management of the door lock, it is necessary to verify the unlocking of the door lock and communicate with the door lock. The gateway directly communicates with the lock, and the communication between the gateway and the lock can adopt wireless communication methods such as Bluetooth, wireless local area network, ZigBee. The gateway can also communicate with the external network, so the gateway can manage the lock and play a role in protocol conversion.
[0087] In one embodiment, the gateway temporarily stores management information, which can include updated unlocking verification information; when the user performs an unlocking action on the lock and inputs unlocking data to the lock, the lock needs to verify the unlocking data to determine whether to open the door lock, that is, the lock makes a judgment through the unlocking verification information. Sometimes the unlocking verification information needs to be updated, such as assigning a new unlocking password to the lock, directly changing the password, or assigning a temporary password to the lock. The lock needs to update the unlocking verification information accordingly in a timely manner so that the lock can unlock or not unlock. The gateway can send the updated unlocking verification information to the lock when communicating with the lock, and directly verify the unlocking data through the unlocking verification information on the lock, which is efficient and convenient.
[0088] As Figure 7As shown, in one embodiment, a door lock management device is provided. The door lock management device can be integrated into the above-mentioned door lock and specifically includes:
[0089] A sequential broadcast unit for sending the broadcast information to the gateway in a set order, where the set order is the set order between different locks bound to the same gateway, and the interval for sending the broadcast information between different locks is a second set duration; and
[0090] A periodic broadcast unit for sending the broadcast information to the gateway at a first set duration, where the first set duration is the period for all locks bound to the same gateway to send a round of broadcast information;
[0091] Wherein, the duration of the broadcast information sent by the lock once is a third set duration.
[0092] Figure 8 Shows the internal structure diagram of a computer device in one embodiment. The computer device can specifically be Figure 1 the door lock in. As Figure 8 shown, the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and can also store a computer program. When the computer program is executed by the processor, the processor can implement the door lock management method. The internal memory can also store a computer program. When the computer program is executed by the processor, the processor can execute the door lock management method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, touchpad, or mouse, etc.
[0093] Those skilled in the art can understand that Figure 8 the structure shown in
[0094] is only a block diagram of some structures related to the solution of the present application and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout. Figure 8 Figure 7 Figure 7The sequential broadcast unit and periodic broadcast unit shown. The computer program composed of each program module enables the processor to execute the steps in the lock management method of each embodiment of the present application described in this specification.
[0095] For example, Figure 8 The computer device shown can execute step 202 through the sequential broadcast unit in the lock management device shown as Figure 7 shown. The computer device can execute step 204 through the periodic broadcast unit.
[0096] In one embodiment, a computer device is proposed. The computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:
[0097] Step S202: Send the broadcast information to the gateway in a set order, where the set order is the set order between different locks bound to the same gateway, and the interval between sending the broadcast information between different locks is the second set duration;
[0098] Step S204: Send the broadcast information to the gateway in a cycle with the first set duration, where the first set duration is the cycle for all locks bound to the same gateway to send a round of broadcast information;
[0099] Wherein, the duration of the broadcast information sent by the lock once is the third set duration.
[0100] In one embodiment, a computer-readable storage medium is provided. A computer program is stored on the computer-readable storage medium. When the computer program is executed by the processor, the processor is enabled to execute the following steps:
[0101] Step S202: Send the broadcast information to the gateway in a set order, where the set order is the set order between different locks bound to the same gateway, and the interval between sending the broadcast information between different locks is the second set duration;
[0102] Step S204: Send the broadcast information to the gateway in a cycle with the first set duration, where the first set duration is the cycle for all locks bound to the same gateway to send a round of broadcast information;
[0103] Wherein, the duration of the broadcast information sent by the lock once is the third set duration.
[0104] It should be understood that although the steps in the flowcharts of the embodiments of the present invention are shown in sequence according to the indications of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, there is no strict order limit for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in each embodiment may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or sub-steps or stages of other steps.
[0105] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0106] The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0107] The above-described embodiments merely represent several implementation manners of the present invention. The description thereof is relatively specific and detailed, but it should not be construed as a limitation to the scope of the patent for the present invention. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can still be made, and these all fall within the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention shall be subject to the appended claims.
Claims
1. A door lock management system, the management system comprises: A gateway for temporarily storing management information, the management information including updated unlocking verification information; and A number of door locks, each bound to the gateway, the number of door locks obtaining the management information from the gateway in a set order, the gateway also being used to send configuration information to the door locks, the configuration information including the serial numbers assigned to the door locks, the number of door locks obtaining the management information from the gateway in the order of the serial number arrangement, the door locks including a first Bluetooth module, the gateway including a second Bluetooth module, the first Bluetooth module in each door lock sending broadcast information at intervals of a first set duration, the second Bluetooth module obtaining the broadcast information by scanning, so that the first Bluetooth module and the second Bluetooth module establish a communication connection; Wherein, the first Bluetooth modules of adjacent door locks send the broadcast information at intervals of a second set duration, and a third set duration is less than the second set duration for which the first Bluetooth module sends broadcast information continuously, and the adjacent means adjacent in the order of sending broadcast information.
2. The management system according to claim 1, wherein, The door lock is used for comparing the unlocking verification information with the unlocking data after obtaining the unlocking data, and the unlocking data is the data directly input to the door lock for unlocking; If the unlocking data is correct, an unlocking control instruction is issued; If the unlocking data is incorrect, a retry instruction or an alarm instruction is issued.
3. The management system according to claim 1, wherein, The management system further comprises: A server, connected to the gateway through a network, for sending the management information to the gateway, the management system further including reference time information; and An intelligent terminal, communicating with the door lock or the server, for obtaining management data from the server, sending management data to the server, or sending management data to the door lock.
4. The management system according to claim 1, wherein, The door lock is further used for uploading status information to the gateway in the set order, and the status information is information describing the normal working state or abnormal working state of the door lock.
5. A door lock management method executed based on the door lock management system according to any one of claims 1-4, applied to a door lock, wherein, The method comprises: Sending the broadcast information to the gateway in a set order, the set order being the set order between different door locks bound to the same gateway, and the interval between sending the broadcast information between different door locks being a second set duration; Sending the broadcast information to the gateway at a period of a first set duration, the first set duration being the period for all door locks bound to the same gateway to send a round of broadcast information; Wherein, the duration for which the broadcast information sent by the door lock once lasts is a third set duration.
6. The door lock management method executed by the door lock management system according to claim 5, wherein, The management method further comprises: Receiving unlocking data, the unlocking data being the data directly input to the door lock for unlocking; Comparing the unlocking verification information with the unlocking data; If the unlocking data is correct, an unlocking control instruction is issued; If the unlocking data is incorrect, a retry instruction or an alarm instruction is issued.
7. A computer device, characterized in that, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is caused to execute the steps of the door lock management method according to any one of claims 5 to 6.
8. A computer-readable storage medium, characterized in that, a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the processor is caused to execute the steps of the door lock management method according to any one of claims 5 to 6.
Citation Information
Patent Citations
Method and system for controlling door locks
CN104680630A
Smart door lock control method and device, and related apparatus
WO2019134404A1