A method and system for controlling door locks in non-personnel-linked areas
By building a temporary unlocking encryption function and dynamic key matching mechanism in the door lock control LAN in the unmanned area area, the problem of patrol robots being unable to unlock without network is solved, and fast and secure door lock control is achieved, which improves the non-free door lock control Automated management capabilities of the People's Internet of Things area.
Patent Information
- Application Number
- CN202410928937.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-07-11
AI Technical Summary
In the unmanned area, when the patrol robot sends an unlock request to the remote control end, if offline occurs, it is difficult to achieve active control of the door lock while ensuring safety.
By building a temporary unlocking encryption function in the door lock control LAN, a dynamic door lock key is generated, and data matching with the inspection robot is achieved through wireless signals, ensuring that the key verification and unlocking of the door lock is quickly completed under no network conditions.
It improves the speed and security of door lock unlock verification, ensures that door locks can be effectively controlled without network connection, and enhances the equipment's automation and intelligent management capabilities.
Smart Images

Figure CN118644914B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of equipment control, and in particular relates to a door lock control method and system for a non-personnel interlocked area. Background Art
[0002] A human-free zone refers to a specific area or system that is highly automated and intelligently managed through IoT technology and does not require direct human involvement in daily operations. Such areas are widely used in many fields such as industry, agriculture, logistics, and smart cities, aiming to improve efficiency, reduce labor costs, and enhance data collection and analysis capabilities.
[0003] In areas without people, such as unmanned power stations, patrol robots are often used for patrolling. Access control is set up in areas without people. The common access control unlocking method is that the patrol robot sends an unlocking request to the remote control end. However, if the robot is offline, it is difficult to achieve active control of the door lock while ensuring safety. Summary of the invention
[0004] The purpose of the present invention is to provide a method for controlling door locks in a human-free area, aiming to solve the problem that a common access control unlocking method is that a patrol robot sends an unlocking request to a remote control terminal, but if an offline situation occurs, it is difficult to achieve active control of the door lock while ensuring safety.
[0005] The present invention is implemented as follows: a method for controlling door locks in a non-personnel interlocked area, the method comprising:
[0006] A door lock control local area network is constructed based on the location of the door lock. In the absence of a network, the inspection robot is detected based on the door lock control local area network. The door lock control local area network includes at least a door lock device and at least two groups of IoT devices. Both the inspection robot and the door lock device have a built-in temporary unlocking encryption function.
[0007] When the IoT device detects the inspection robot, data is collected based on the door lock control local area network, and a dynamic key for the door lock is generated based on the collected data;
[0008] When the wireless signal of the inspection robot is detected, a data connection is established with the inspection robot, the identity of the inspection robot is identified, and a door lock opening request sent by the inspection robot is received;
[0009] Based on the door lock opening request, the robot dynamic key sent by the inspection robot is received, the door lock dynamic key and the robot dynamic key are matched with characters, and the door lock device is controlled based on the matching result.
[0010] Preferably, when the IoT device detects the inspection robot, data is collected based on the door lock control local area network, and the step of generating a door lock dynamic key based on the collected data specifically includes:
[0011] Wireless communication signal detection is performed through all devices in the door lock control local area network. When the communication signal of the inspection robot is detected, it is determined that the inspection robot appears in the door lock control local area network. During the inspection process, the inspection robot broadcasts the built-in identity information to the outside through wireless signals;
[0012] Collect data from the IoT device that detects the inspection robot in the door lock control LAN, obtain the IoT device data, and call the built-in temporary unlocking encryption function;
[0013] The generation time value of the IoT device data is imported into the temporary unlocking encryption function to obtain the function calculation value, and the IoT device data is encoded and mutated based on the function calculation value to obtain the dynamic key of the door lock.
[0014] Preferably, the step of establishing a data connection with the inspection robot, identifying the identity of the inspection robot, and receiving a door lock opening request sent by the inspection robot when the wireless signal of the inspection robot is detected specifically includes:
[0015] Detect the wireless signal of the inspection robot and establish a wireless communication connection with the inspection robot;
[0016] Send an identity authentication request to the inspection robot, receive identity authentication data sent by the inspection robot, and authenticate the inspection robot based on the identity authentication data;
[0017] Based on the identity authentication result, it is determined whether to receive the door lock opening request sent by the inspection robot.
[0018] Preferably, the step of receiving a robot dynamic key sent by the inspection robot based on a door lock opening request, performing character matching on the door lock dynamic key and the robot dynamic key, and controlling the door lock device based on the matching result specifically includes:
[0019] Receive the door lock opening request, and continuously receive the robot dynamic key sent by the inspection robot, and extract the time information contained in the robot dynamic key;
[0020] Based on the time information, the door lock dynamic key generated in the door lock device is retrieved, and character statistics are performed on the robot dynamic key and the door lock dynamic key to obtain the character statistics result;
[0021] The number of each character is determined based on the character counting result. If the number of each character included in the door lock dynamic key and the robot dynamic key is the same, the door lock device is unlocked.
[0022] Preferably, the step of encoding and mutating the IoT device data based on the function calculation value includes: calling the function calculation value and multiple groups of IoT device data, aligning the IoT device data, extracting the IoT device data according to each number in the function calculation value based on a preset mapping relationship, splicing the extracted characters, and randomly scrambling the door lock dynamic key to obtain the door lock dynamic key.
[0023] Another object of the present invention is to provide a non-personnel interlocking area door lock control system, the system comprising:
[0024] A local area network construction module is used to construct a door lock control local area network based on the location of the door lock. In the absence of a network, the inspection robot is detected based on the door lock control local area network. The door lock control local area network includes at least a door lock device and at least two groups of IoT devices. The inspection robot and the door lock device are both equipped with a temporary unlocking encryption function.
[0025] The door lock key generation module is used to collect data based on the door lock control local area network when the IoT device detects the inspection robot, and generate a door lock dynamic key based on the collected data;
[0026] The inspection interaction module is used to establish a data connection with the inspection robot, identify the identity of the inspection robot, and receive a door lock opening request sent by the inspection robot when the wireless signal of the inspection robot is detected;
[0027] The unlocking control module is used to receive the robot dynamic key sent by the inspection robot based on the door lock opening request, perform character matching on the door lock dynamic key and the robot dynamic key, and control the door lock device based on the matching result.
[0028] Preferably, the door lock key generation module includes:
[0029] The robot identification unit is used to detect wireless communication signals through all devices in the door lock control local area network. When the communication signal of the inspection robot is detected, it is determined that the inspection robot appears in the door lock control local area network. During the inspection process, the inspection robot broadcasts the built-in identity information to the outside through wireless signals;
[0030] The IoT data collection unit is used to collect data from the IoT device that detects the inspection robot in the door lock control local area network, obtain the IoT device data, and call the built-in temporary unlocking encryption function;
[0031] The key generation unit is used to import the generation time value of the IoT device data into the temporary unlocking encryption function to obtain the function calculation value, encode and mutate the IoT device data based on the function calculation value, and obtain the dynamic key of the door lock.
[0032] Preferably, the inspection interaction module includes:
[0033] A wireless communication unit, used to detect the wireless signal of the inspection robot and establish a wireless communication connection with the inspection robot;
[0034] An identity verification unit, used to send an identity verification request to the inspection robot, receive identity verification data sent by the inspection robot, and authenticate the inspection robot based on the identity verification data;
[0035] The request receiving unit is used to determine whether to receive the door lock opening request sent by the inspection robot based on the identity authentication result.
[0036] Preferably, the unlocking control module includes:
[0037] The key receiving unit is used to receive a door lock opening request, continuously receive a robot dynamic key sent by the inspection robot, and extract the time information contained in the robot dynamic key;
[0038] A character statistics unit is used to retrieve the door lock dynamic key generated in the door lock device based on the time information, perform character statistics on the robot dynamic key and the door lock dynamic key, and obtain a character statistics result;
[0039] The door lock control unit is used to determine the number of each character based on the character statistics result, and if the number of each character contained in the door lock dynamic key and the robot dynamic key is the same, the door lock device is unlocked.
[0040] Preferably, the step of encoding and mutating the IoT device data based on the function calculation value includes: calling the function calculation value and multiple groups of IoT device data, aligning the IoT device data, extracting the IoT device data according to each number in the function calculation value based on a preset mapping relationship, splicing the extracted characters, and randomly scrambling the door lock dynamic key to obtain the door lock dynamic key.
[0041] The present invention provides a method for controlling a door lock in a non-personnel-interconnected area. By constructing a door lock control local area network, the dynamic key of the door lock is preloaded based on the data interaction between the door lock control local area network and the inspection robot in a network-free state. When the inspection robot approaches the door lock device, the key verification of the door lock can be completed quickly, thereby improving the door lock unlocking verification speed while ensuring the safety of the equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A flow chart of a method for controlling a door lock in a non-personnel-interconnected area provided by an embodiment of the present invention;
[0043] Figure 2A flowchart of the steps of collecting data based on a door lock control local area network and generating a door lock dynamic key based on the collected data when an IoT device detects an inspection robot provided by an embodiment of the present invention;
[0044] Figure 3 A flowchart of the steps of establishing a data connection with the inspection robot, identifying the identity of the inspection robot, and receiving a door lock opening request sent by the inspection robot when a wireless signal of the inspection robot is detected, provided in an embodiment of the present invention;
[0045] Figure 4 A flowchart of the steps of receiving a robot dynamic key sent from an inspection robot based on a door lock opening request, performing character matching on the door lock dynamic key and the robot dynamic key, and controlling the door lock device based on the matching result provided by an embodiment of the present invention;
[0046] Figure 5 An architecture diagram of a non-personnel-linked area door lock control system provided by an embodiment of the present invention;
[0047] Figure 6 An architecture diagram of a door lock key generation module provided in an embodiment of the present invention;
[0048] Figure 7 An architectural diagram of an inspection interaction module provided in an embodiment of the present invention;
[0049] Figure 8 An architecture diagram of an unlocking control module provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with 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 intended to limit the present invention.
[0051] It is understood that the terms "first", "second", etc. used in this 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 a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.
[0052] like Figure 1 FIG. 1 is a flowchart of a method for controlling a door lock in a non-personnel interlocked area provided by an embodiment of the present invention, and the method includes:
[0053] S100, construct a door lock control local area network based on the location of the door lock, and detect the inspection robot based on the door lock control local area network under no network conditions. The door lock control local area network includes at least a door lock device and at least two groups of IoT devices. The inspection robot and the door lock device are both equipped with a temporary unlocking encryption function.
[0054] In this step, a door lock control LAN is constructed based on the location of the door lock. In the unattended area, the area that needs to be temporarily locked is locked by the door lock device. The door lock device can control the opening and closing of the door, that is, the unattended area adopts an automatic door, and multiple IoT devices are set in the area that needs inspection. The IoT device can be an image acquisition device such as a camera. The door lock device and the IoT device are connected through WIFI or Bluetooth. When the door lock does not need to be controlled, only the data connection is maintained between the door lock device and the IoT device, and no data transmission is performed. When the door lock needs to be controlled, data is transmitted between the door lock device and the IoT device. At least two groups of IoT devices are set up around the equipment. The inspection robot is used to inspect in unmanned areas. When there is a network connection, the inspection robot, IoT device and door lock device are all connected to the remote control end through the network. The remote control end will send a temporary unlocking encryption function to the door lock device and the inspection robot at a preset time interval. That is, when there is a network connection, the inspection robot can directly send an unlocking request to the remote control end, and the remote control end will send control information to the door lock device according to the unlocking request. The door lock device can unlock the door according to the control information. If there is no network connection, it needs to be controlled through the door lock control LAN.
[0055] S200, when the IoT device detects the inspection robot, data is collected based on the door lock control local area network, and a door lock dynamic key is generated based on the collected data.
[0056] In this step, when the IoT device detects the inspection robot, data collection is performed based on the door lock control LAN. When there is no network connection, each image acquisition device will temporarily store the collected data locally. If there is no network condition, the data will be directly stored locally in a loop. When the inspection robot needs to open an automatic door during the inspection process, the IoT device located near the door lock device and in the door lock control LAN detects the nearby wireless signals. The inspection robot will turn on the wireless broadcast mode during the inspection process to broadcast its identity. When the device in the door lock control LAN detects the inspection robot, it enters the preparatory state, and the door lock device will start data transmission with the IoT device. The image data collected by the IoT device will be transmitted to the door lock device. The door lock device uses the built-in temporary unlocking encryption function to compile the received image data to generate a continuous door lock dynamic key.
[0057] S300, when the wireless signal of the inspection robot is detected, a data connection is established with the inspection robot, the identity of the inspection robot is identified, and a door lock opening request sent by the inspection robot is received.
[0058] In this step, when the wireless signal of the patrol robot is detected, a data connection is established with the patrol robot. At this time, the door lock device detects the patrol robot and establishes a data connection with the patrol robot. Specifically, it can be a Bluetooth connection or a WIFI connection. At this time, the patrol robot uploads the preset identity information, and the door lock device verifies the identity information of the patrol robot. After the verification is passed, it receives the door lock opening request sent by the patrol robot.
[0059] S400, receiving a robot dynamic key sent by the inspection robot based on a door lock opening request, performing character matching on the door lock dynamic key and the robot dynamic key, and controlling the door lock device based on the matching result.
[0060] In this step, the robot dynamic key sent by the inspection robot is received based on the door lock opening request. When the inspection robot detects the door lock device that needs to be opened, it starts to establish a data connection with the door lock control LAN containing the door lock device. After the connection is established, the IoT device sends the collected data to the inspection robot, and the inspection robot converts the data transmitted to the inspection robot by the IoT device into the robot dynamic key in the same way as the door lock device. The characters contained in the robot dynamic key are the same as the characters contained in the door lock dynamic key, but the arrangement order of the characters contained in the two is different. When performing character matching, character statistics are performed, and the door lock device is controlled based on the matching result. When the characters contained in the two are the same, it is determined that unlocking is allowed, otherwise unlocking is refused.
[0061] like Figure 2 As shown, as a preferred embodiment of the present invention, when the IoT device detects the inspection robot, data is collected based on the door lock control local area network, and the step of generating a door lock dynamic key based on the collected data specifically includes:
[0062] S201, wireless communication signal detection is performed through all devices in the door lock control local area network. When the communication signal of the inspection robot is detected, it is determined that the inspection robot appears in the door lock control local area network. During the inspection process, the inspection robot broadcasts its built-in identity information to the outside through wireless signals.
[0063] In this step, wireless communication signal detection is performed through all devices in the door lock control local area network. All devices in the door lock control local area network synchronously detect whether there is a patrol robot. When the patrol robot appears, it means that an unlocking operation may be required. When the wireless signal of the patrol robot is detected, it is determined that the patrol robot appears in the door lock control local area network.
[0064] S202, collect data from the IoT device that detects the inspection robot in the door lock control local area network, obtain IoT device data, and call the built-in temporary unlocking encryption function.
[0065] In this step, data is collected from the IoT device that detects the inspection robot in the door lock control LAN. The IoT device is an image acquisition device. During its operation, it continuously starts to acquire images. The IoT device transmits the acquired images to the inspection robot and also transmits the images to the door lock device synchronously. At this time, the built-in temporary unlock encryption function is called. The temporary unlock encryption function can be a linear function or a multi-time function, such as a cubic polynomial function, f(x)=3x 3 +23x 2 -92x+283, where x is the independent variable.
[0066] S203, importing the generation time value of the IoT device data into the temporary unlocking encryption function to obtain the function calculation value, encoding and mutating the IoT device data based on the function calculation value to obtain the door lock dynamic key.
[0067] In this step, the generation time value of the IoT device data is imported into the temporary unlock encryption function. The IoT device data is the collected image, and the time when the image is generated is the generation time value, such as 18:28:29, which is the generation time value 182829. By importing it into the temporary unlock encryption function, a function calculation value can be obtained. The function calculation value is processed into a decimal number containing a preset number of decimal characters by deleting or adding a preset value. For example, the function calculation value is 2134891245, and the preset number of decimal characters is 9. The preset number of decimal characters is an integer multiple of the number of IoT devices contained in the door lock control local area network. From the function calculation value The tail of is deleted until the function calculation value is 9 digits, 213489124, to identify the number of IoT devices contained in the current door lock control LAN, that is, the number of image acquisition devices M. If M is equal to 3, the function calculation value is divided into three decimal strings, namely, 213, 489 and 124. The size of the three decimal strings is determined according to the size of the numbers, thereby generating a coding mapping relationship. The first decimal string is 213, the second decimal string is 489, and the third decimal string is 124. Then 124<213<489, and the mapping relationship is that the first decimal string corresponds to order 2, and the second decimal string corresponds to Sequence 3, the third decimal string corresponds to sequence 1, so when encoding the IoT device data, first extract a character from the IoT device data numbered 2, then extract a character from the IoT device data numbered 3, and then extract a character from the IoT device data numbered 1, and then repeat the above extraction process, and splice the extracted characters in the extraction order to obtain the initial key, and then use the preset random algorithm to randomly disrupt the order of the characters in the initial key to obtain the door lock dynamic key. The IoT device data is a picture. When extracting characters from it, it must first be converted from binary data to decimal data to obtain a longer length. Long decimal string, after the three groups of images are converted, three groups of IoT device data will be obtained, the tail data of the IoT device data will be deleted, so that all IoT device data contain the same number of decimal characters, and the alignment operation is completed. The length of the door lock dynamic key is constant, such as containing N decimal characters. When the characters extracted from the IoT device data reach N, the door lock dynamic key is updated in a cyclic update manner, such as adding the newly extracted characters to the first bit of the door lock dynamic key, and at the same time deleting the last bit of the door lock dynamic key to ensure that the length of the door lock dynamic key is constant, and the update time interval of the door lock dynamic key is a constant value, such as updating once every 500ms.
[0068] like Figure 3As shown, as a preferred embodiment of the present invention, when the wireless signal of the inspection robot is detected, the steps of establishing a data connection with the inspection robot, identifying the identity of the inspection robot, and receiving the door lock opening request sent by the inspection robot specifically include:
[0069] S301, detecting the wireless signal of the inspection robot and establishing a wireless communication connection with the inspection robot.
[0070] In this step, the wireless signal of the inspection robot is detected. During the inspection process, the inspection robot gradually approaches the door lock device, and the door lock device begins to establish a data connection with the inspection robot. At this time, the inspection robot can start data transmission with the door lock device.
[0071] S302, sending an identity authentication request to the inspection robot, receiving identity authentication data sent by the inspection robot, and authenticating the inspection robot based on the identity authentication data.
[0072] S303: Determine whether to receive a door lock opening request sent by the inspection robot based on the identity authentication result.
[0073] In this step, an identity authentication request is sent to the patrol robot. In order to identify the identity of the patrol robot, an identity authentication request is sent to it. After receiving the above identity authentication request, the patrol robot sends the built-in identity authentication data to the door lock device. The identity authentication data can be a preset verification string. The verification string is sent to the door lock device, and the door lock device verifies it. If the verification is successful, the door lock opening request is received.
[0074] like Figure 4 As shown, as a preferred embodiment of the present invention, the steps of receiving the robot dynamic key sent by the inspection robot based on the door lock opening request, performing character matching on the door lock dynamic key and the robot dynamic key, and controlling the door lock device based on the matching result specifically include:
[0075] S401, receiving a door lock opening request, and continuously receiving a robot dynamic key sent by the inspection robot, and extracting time information contained in the robot dynamic key.
[0076] In this step, a door lock opening request is received, and the door lock opening request contains at least the unique number information of the door lock device. After entering the door lock control LAN, the inspection robot also receives the image collected by the IoT device, and obtains the robot dynamic key in the same data processing method as the door lock device to obtain the initial key, that is, the robot dynamic key is exactly the same as the initial key generated by the door lock device, but the door lock dynamic key has been subjected to random mutation processing, and the arrangement of characters is different from that of the robot dynamic key. If the two are the same, it is determined that there is data leakage and unlocking is prohibited. Only when the two are different, the unlocking verification is continued. The robot dynamic key and the door lock dynamic key both contain time information, and the robot dynamic key and the door lock dynamic key corresponding to the same time are compared.
[0077] S402, based on the time information, retrieve the door lock dynamic key generated in the door lock device, perform character statistics on the robot dynamic key and the door lock dynamic key, and obtain a character statistics result.
[0078] In this step, the door lock dynamic key generated in the door lock device is retrieved based on the time information. At this time, the character types and the number of characters contained in the door lock dynamic key and the robot dynamic key are counted. Taking decimal as an example, the number of ten characters such as 0-9 contained in the door lock dynamic key and the robot dynamic key are counted to obtain the total result of the characters.
[0079] S403, determining the number of each character based on the character statistics result, and if the number of each character included in the door lock dynamic key and the robot dynamic key is the same, unlocking the door lock device.
[0080] In this step, the number of each character is determined based on the character statistics. Only when the corresponding numbers of all types of characters are the same, the verification is considered to be successful. At this time, the door lock device is unlocked and the automatic door opens. After the inspection robot passes through the automatic door, a door closing command is sent to the door lock device, or the automatic door is automatically closed after being opened for a preset period of time.
[0081] like Figure 5 As shown, a non-personnel interlocking area door lock control system provided by an embodiment of the present invention includes:
[0082] The local area network construction module 100 is used to build a door lock control local area network based on the location of the door lock. In the absence of a network, the inspection robot is detected based on the door lock control local area network. The door lock control local area network includes at least a door lock device and at least two groups of IoT devices. The inspection robot and the door lock device are both equipped with a temporary unlocking encryption function.
[0083] In this system, the local area network construction module 100 constructs a door lock control local area network based on the location of the door lock. In the unattended area, the area that needs to be temporarily locked is locked by a door lock device, and the door lock device can control the opening and closing of the door, that is, an automatic door is used in the unattended area, and multiple IoT devices are set in the area that needs to be inspected. The IoT device can be an image acquisition device such as a camera. The door lock device and the IoT device are connected through WIFI or Bluetooth. When the door lock does not need to be controlled, only the data connection is maintained between the door lock device and the IoT device, and no data transmission is performed. When the door lock needs to be controlled, data is transmitted between the door lock device and the IoT device. Transmission, at least two groups of IoT devices are set up around the door lock device. The inspection robot is used to inspect in unmanned areas. When there is a network connection, the inspection robot, IoT device and door lock device are all connected to the remote control end through the network. The remote control end will send a temporary unlocking encryption function to the door lock device and the inspection robot at a preset time interval. That is, when there is a network connection, the inspection robot can directly send an unlocking request to the remote control end, and the remote control end sends control information to the door lock device according to the unlocking request. The door lock device can unlock according to the control information. If there is no network connection, it needs to be controlled through the door lock control LAN.
[0084] The door lock key generation module 200 is used to collect data based on the door lock control local area network when the IoT device detects the inspection robot, and generate a door lock dynamic key based on the collected data.
[0085] In this system, when the IoT device detects the inspection robot, the door lock key generation module 200 collects data based on the door lock control local area network. When there is no network connection, each image acquisition device will temporarily store the collected data locally. If there is no network condition, the data will be directly stored locally in a loop. When the inspection robot needs to open an automatic door during the inspection process, the IoT device located near the door lock device and in the door lock control local area network detects the nearby wireless signals. The inspection robot will turn on the wireless broadcast mode during the inspection process to broadcast its identity. When the device in the door lock control local area network detects the inspection robot, it enters the preparatory state, and the door lock device will start data transmission with the IoT device. The image data collected by the IoT device will be transmitted to the door lock device. The door lock device uses the built-in temporary unlocking encryption function to compile the received image data to generate a continuous door lock dynamic key.
[0086] The inspection interaction module 300 is used to establish a data connection with the inspection robot, identify the identity of the inspection robot, and receive a door lock opening request sent by the inspection robot when the wireless signal of the inspection robot is detected.
[0087] In this system, when the patrol interaction module 300 detects the wireless signal of the patrol robot, it establishes a data connection with the patrol robot. At this time, the door lock device detects the patrol robot and establishes a data connection with the patrol robot. Specifically, it can be a Bluetooth connection or a WIFI connection. At this time, the patrol robot uploads the preset identity information, and the door lock device verifies the identity information of the patrol robot. After the verification is passed, it receives the door lock opening request sent by the patrol robot.
[0088] The unlocking control module 400 is used to receive the robot dynamic key sent by the inspection robot based on the door lock opening request, perform character matching on the door lock dynamic key and the robot dynamic key, and control the door lock device based on the matching result.
[0089] In this system, the unlocking control module 400 receives the robot dynamic key sent by the patrol robot based on the door lock opening request. When the patrol robot detects the door lock device that needs to be opened, it starts to establish a data connection with the door lock control LAN containing the door lock device. After the connection is established, the IoT device sends the collected data to the patrol robot, and the patrol robot converts the data transmitted to the patrol robot by the IoT device into the robot dynamic key in the same way as the door lock device. The characters contained in the robot dynamic key are the same as the characters contained in the door lock dynamic key, but the arrangement order of the characters contained in the two is different. When performing character matching, character statistics are performed, and the door lock device is controlled based on the matching results. When the characters contained in the two are the same, it is determined that unlocking is allowed, otherwise unlocking is refused.
[0090] like Figure 6 As shown, as a preferred embodiment of the present invention, the door lock key generation module 200 includes:
[0091] The robot identification unit 201 is used to detect wireless communication signals through all devices in the door lock control local area network. When the communication signal of the inspection robot is detected, it is determined that the inspection robot appears in the door lock control local area network. During the inspection process, the inspection robot broadcasts its built-in identity information to the outside through wireless signals.
[0092] In this module, the robot identification unit 201 performs wireless communication signal detection through all devices in the door lock control local area network. All devices in the door lock control local area network synchronously detect whether there is a patrol robot. When the patrol robot appears, it means that an unlocking operation may be required. When the wireless signal of the patrol robot is detected, it is determined that a patrol robot appears in the door lock control local area network.
[0093] The IoT data collection unit 202 is used to collect data from the IoT device that detects the inspection robot in the door lock control local area network, obtain IoT device data, and call the built-in temporary unlocking encryption function.
[0094] In this module, the IoT data acquisition unit 202 collects data from the IoT device that detects the inspection robot in the door lock control local area network. The IoT device is an image acquisition device. During its operation, it continuously starts to acquire images. The IoT device transmits the acquired images to the inspection robot and also transmits the images to the door lock device synchronously. At this time, the built-in temporary unlock encryption function is called. The temporary unlock encryption function can be a linear function or a multi-time function, such as a cubic polynomial function, f(x)=3x 3 +23x 2 -92x+283.
[0095] The key generation unit 203 is used to import the generation time value of the IoT device data into the temporary unlocking encryption function to obtain the function calculation value, encode and mutate the IoT device data based on the function calculation value, and obtain the door lock dynamic key.
[0096] In this module, the key generation unit 203 imports the generation time value of the IoT device data into the temporary unlocking encryption function. The IoT device data is the captured image, and the time when the image is generated is the generation time value, such as 18:28:29, which is the generation time value 182829. By importing it into the temporary unlocking encryption function, a function calculation value can be obtained. The function calculation value is processed into a decimal number containing a preset number of decimal characters by deleting or adding a preset value. For example, the function calculation value is 2134891245, and the preset number of decimal characters is 9, which is an integer multiple of the number of IoT devices contained in the door lock control local area network. , delete from the end of the function calculation value until the function calculation value is 9 digits, 213489124, identify the number of IoT devices contained in the current door lock control LAN, that is, the number of image acquisition devices M. If M is equal to 3, divide the function calculation value into three decimal strings, namely, 213, 489 and 124. Determine the size of the three decimal strings according to the size of the numbers, and generate a coding mapping relationship. The first decimal string is 213, the second decimal string is 489, and the third decimal string is 124. Then 124<213<489, and the mapping relationship is that the first decimal string corresponds to order 2, and the second decimal string corresponds to order 124. The first character string corresponds to sequence 3, and the third decimal character string corresponds to sequence 1. When encoding the IoT device data, first extract a character from the IoT device data numbered 2, then extract a character from the IoT device data numbered 3, and then extract a character from the IoT device data numbered 1. Repeat the above extraction process, and concatenate the extracted characters in the extraction order to obtain the initial key. Then, through the preset random algorithm, randomly disrupt the order of the characters in the initial key to obtain the door lock dynamic key. The IoT device data is a picture. When extracting characters from it, first convert it from binary data to decimal data to obtain a long After the three groups of images are converted, three groups of IoT device data will be obtained. The tail data of the IoT device data will be deleted so that all IoT device data contain the same number of decimal characters to complete the alignment operation. The length of the door lock dynamic key is constant, such as containing N decimal characters. When the characters extracted from the IoT device data reach N, the door lock dynamic key is updated in a cyclic update manner, such as adding the newly extracted characters to the first bit of the door lock dynamic key, and at the same time deleting the last bit of the door lock dynamic key to ensure that the length of the door lock dynamic key is constant. The update time interval of the door lock dynamic key is a constant value, such as updating once every 500ms.
[0097] like Figure 7 As shown, as a preferred embodiment of the present invention, the inspection interaction module 300 includes:
[0098] The wireless communication unit 301 is used to detect the wireless signal of the inspection robot and establish a wireless communication connection with the inspection robot.
[0099] In this module, the wireless communication unit 301 detects the wireless signal of the inspection robot. During the inspection process, the inspection robot gradually approaches the door lock device, and the door lock device begins to establish a data connection with the inspection robot. At this time, the inspection robot can start data transmission with the door lock device.
[0100] The identity authentication unit 302 is used to send an identity authentication request to the inspection robot, receive identity authentication data sent by the inspection robot, and authenticate the inspection robot based on the identity authentication data.
[0101] The request receiving unit 303 is used to determine whether to receive the door lock opening request sent by the inspection robot based on the identity authentication result.
[0102] In this module, an identity authentication request is sent to the patrol robot. In order to identify the identity of the patrol robot, an identity authentication request is sent to it. After receiving the above identity authentication request, the patrol robot sends the built-in identity authentication data to the door lock device. The identity authentication data can be a preset verification string. The verification string is sent to the door lock device, and the door lock device verifies it. If the verification is successful, the door lock opening request is received.
[0103] like Figure 8 As shown, as a preferred embodiment of the present invention, the unlocking control module 400 includes:
[0104] The key receiving unit 401 is used to receive a door lock opening request, and continuously receive a robot dynamic key sent from the inspection robot, and extract the time information contained in the robot dynamic key.
[0105] In this module, the key receiving unit 401 receives a door lock opening request, which at least includes the unique number information of the door lock device. After entering the door lock control LAN, the inspection robot also receives the image collected by the IoT device, and obtains the robot dynamic key in the same data processing method as the door lock device to obtain the initial key, that is, the robot dynamic key is exactly the same as the initial key generated by the door lock device, but the door lock dynamic key has been subjected to random mutation processing, in which the arrangement of characters is different from that of the robot dynamic key. If the two are the same, it is determined that there is data leakage and unlocking is prohibited. Only when the two are different, the unlocking verification is continued. The robot dynamic key and the door lock dynamic key both contain time information, and the robot dynamic key and the door lock dynamic key corresponding to the same time are compared.
[0106] The character statistics unit 402 is used to retrieve the door lock dynamic key generated in the door lock device based on the time information, perform character statistics on the robot dynamic key and the door lock dynamic key, and obtain a character statistics result.
[0107] In this module, the character statistics unit 402 retrieves the door lock dynamic key generated in the door lock device based on the time information, and then counts the character types and the number of characters contained in the door lock dynamic key and the robot dynamic key. Taking the decimal system as an example, the number of ten characters such as 0-9 contained in the door lock dynamic key and the robot dynamic key is counted to obtain the character total result.
[0108] The door lock control unit 403 is used to determine the number of each character based on the character statistics result, and if the number of each character included in the door lock dynamic key and the robot dynamic key is the same, the door lock device is unlocked.
[0109] In this module, the door lock control unit 403 determines the number of each character based on the character statistics. Only when the corresponding numbers of all types of characters are the same, the verification is considered to be successful. At this time, the door lock device is unlocked and the automatic door opens. After the inspection robot passes through the automatic door, a door closing command is sent to the door lock device, or the automatic door is automatically closed after being opened for a preset period of time.
[0110] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0111] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and 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-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), 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).
[0112] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0113] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
[0114] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A door lock control method for a non-personnel interlocking area, characterized in that: The method comprises: A door lock control local area network is constructed based on the location of the door lock. In the absence of a network, the inspection robot is detected based on the door lock control local area network. The door lock control local area network includes at least a door lock device and at least two groups of IoT devices. Both the inspection robot and the door lock device have a built-in temporary unlocking encryption function. When the IoT device detects the inspection robot, data is collected based on the door lock control local area network, and a dynamic key for the door lock is generated based on the collected data; When the wireless signal of the inspection robot is detected, a data connection is established with the inspection robot, the identity of the inspection robot is identified, and a door lock opening request sent by the inspection robot is received; Based on the door lock opening request, the robot dynamic key sent by the inspection robot is received, the door lock dynamic key and the robot dynamic key are matched by characters, and the door lock device is controlled based on the matching result; When the IoT device detects the inspection robot, data is collected based on the door lock control local area network, and the step of generating a door lock dynamic key based on the collected data specifically includes: Wireless communication signal detection is performed through all devices in the door lock control local area network. When the communication signal of the inspection robot is detected, it is determined that the inspection robot appears in the door lock control local area network. During the inspection process, the inspection robot broadcasts the built-in identity information to the outside through wireless signals; Collect data from the IoT device that detects the inspection robot in the door lock control LAN, obtain the IoT device data, and call the built-in temporary unlocking encryption function; The generation time value of the IoT device data is imported into the temporary unlocking encryption function to obtain the function calculation value, and the IoT device data is encoded and mutated based on the function calculation value to obtain the dynamic key of the door lock.
2. The method for controlling door locks in non-personnel interlocked areas according to claim 1, characterized in that: The steps of establishing a data connection with the inspection robot, identifying the identity of the inspection robot, and receiving a door lock opening request sent by the inspection robot when the wireless signal of the inspection robot is detected specifically include: Detect the wireless signal of the inspection robot and establish a wireless communication connection with the inspection robot; Sending an identity authentication request to the inspection robot, receiving identity authentication data sent by the inspection robot, and authenticating the inspection robot based on the identity authentication data; Based on the identity authentication result, it is determined whether to receive the door lock opening request sent by the inspection robot.
3. The method for controlling door locks in non-personnel interlocked areas according to claim 1, characterized in that: The steps of receiving the robot dynamic key sent by the inspection robot based on the door lock opening request, performing character matching on the door lock dynamic key and the robot dynamic key, and controlling the door lock device based on the matching result specifically include: Receive the door lock opening request, and continuously receive the robot dynamic key sent by the inspection robot, and extract the time information contained in the robot dynamic key; Based on the time information, the door lock dynamic key generated in the door lock device is retrieved, and character statistics are performed on the robot dynamic key and the door lock dynamic key to obtain the character statistics result; The number of each character is determined based on the character counting result. If the number of each character included in the door lock dynamic key and the robot dynamic key is the same, the door lock device is unlocked.
4. The method for controlling door locks in non-personnel interlocked areas according to claim 1, characterized in that: The step of encoding and mutating the IoT device data based on the function calculation value includes: calling the function calculation value and multiple groups of IoT device data, aligning the IoT device data, extracting the IoT device data according to each number in the function calculation value based on a preset mapping relationship, splicing the extracted characters, and randomly scrambling the door lock dynamic key to obtain the door lock dynamic key.
5. A door lock control system without human interaction, characterized in that: The system comprises: A local area network construction module is used to construct a door lock control local area network based on the location of the door lock. In the absence of a network, the inspection robot is detected based on the door lock control local area network. The door lock control local area network includes at least a door lock device and at least two groups of IoT devices. The inspection robot and the door lock device are both equipped with a temporary unlocking encryption function. The door lock key generation module is used to collect data based on the door lock control local area network when the IoT device detects the inspection robot, and generate a door lock dynamic key based on the collected data; The inspection interaction module is used to establish a data connection with the inspection robot, identify the identity of the inspection robot, and receive a door lock opening request sent by the inspection robot when the wireless signal of the inspection robot is detected; The unlocking control module is used to receive the robot dynamic key sent by the inspection robot based on the door lock opening request, perform character matching on the door lock dynamic key and the robot dynamic key, and control the door lock device based on the matching result; The robot identification unit is used to detect wireless communication signals through all devices in the door lock control local area network. When the communication signal of the inspection robot is detected, it is determined that the inspection robot appears in the door lock control local area network. During the inspection process, the inspection robot broadcasts the built-in identity information to the outside through wireless signals; The IoT data collection unit is used to collect data from the IoT device that detects the inspection robot in the door lock control local area network, obtain the IoT device data, and call the built-in temporary unlocking encryption function; The key generation unit is used to import the generation time value of the IoT device data into the temporary unlocking encryption function to obtain the function calculation value, encode and mutate the IoT device data based on the function calculation value, and obtain the dynamic key of the door lock.
6. The non-personnel interlocking area door lock control system according to claim 5 is characterized in that: The inspection interaction module includes: A wireless communication unit, used to detect the wireless signal of the inspection robot and establish a wireless communication connection with the inspection robot; The identity verification unit is used to send an identity verification request to the inspection robot, receive identity verification data sent by the inspection robot, and verify the identity of the inspection robot based on the identity verification data; The request receiving unit is used to determine whether to receive the door lock opening request sent by the inspection robot based on the identity authentication result.
7. The non-personnel interlocking area door lock control system according to claim 5 is characterized in that: The unlocking control module comprises: The key receiving unit is used to receive a door lock opening request, and continuously receive a robot dynamic key sent by the inspection robot, and extract the time information contained in the robot dynamic key; A character statistics unit is used to retrieve the door lock dynamic key generated in the door lock device based on the time information, perform character statistics on the robot dynamic key and the door lock dynamic key, and obtain a character statistics result; The door lock control unit is used to determine the number of each character based on the character statistics result, and if the number of each character contained in the door lock dynamic key and the robot dynamic key is the same, the door lock device is unlocked.
8. The non-personnel interlocking area door lock control system according to claim 5 is characterized in that: The step of encoding and mutating the IoT device data based on the function calculation value includes: calling the function calculation value and multiple groups of IoT device data, aligning the IoT device data, extracting the IoT device data according to each number in the function calculation value based on a preset mapping relationship, splicing the extracted characters, and randomly scrambling the door lock dynamic key to obtain the door lock dynamic key.
