Key box control method, device and system and readable storage medium

By integrating the RS485 communication bus interface in the key box, the problem that the wireless network-based key box in the prior art requires external network support to complete unlocking is solved, and a stable and secure key box unlocking control without external network dependence is achieved.

CN120108074APending Publication Date: 2025-06-06CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510269508.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-07
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

The existing key box unlocking control method based on wireless networks requires external network support to complete unlocking, which can easily lead to lock-opening failure or security risks.

Method used

By integrating the RS485 communication bus interface in the key box, the encrypted remote unlocking instruction sent by the remote terminal unit RTU data acquisition unit through the RS485 communication bus is received using the RS485 communication bus. The encrypted remote unlocking instruction of the key box is controlled according to the instruction.

Benefits of technology

It realizes stable communication between the RTU and the key box, and can receive and respond to remote unlocking instructions encrypted by the power environment monitoring platform without relying on an external network, thereby avoiding the possible unlocking failure and security risks caused by external network dependence, and ensuring the stability and security of computer room door lock control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120108074A_ABST
    Figure CN120108074A_ABST
Patent Text Reader

Abstract

The invention provides a key box control method, device and system and a readable storage medium, and the method comprises the following steps: receiving an encrypted remote unlocking instruction sent by a remote terminal unit (RTU) data acquisition unit through an RS485 communication bus by using an RS485 communication bus interface, the encrypted remote unlocking instruction is generated according to a remote unlocking request after the power environment monitoring platform receives the remote unlocking request triggered by a user based on a front-end interface, and the encrypted remote unlocking instruction is sent to the RTU data acquisition unit through an intranet; and controlling a shell door of the key box to be opened according to the encrypted remote unlocking instruction. According to the method, the device, the system and the readable storage medium, the problem that an unlocking failure or a safety risk is easily caused as unlocking can be completed only by external network support in an existing unlocking control method of a key box based on a wireless network can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a key box control method, device, system and readable storage medium. Background Art

[0002] At present, some fire doors in unmanned computer rooms are opened and closed by mechanical keys. Mechanical keys rely on manual handover and safekeeping, which are prone to security risks such as loss and theft. In addition, remote computer rooms, such as township / village-level computer rooms, are located in remote areas and have old doors. If the door lock structure is forcibly modified or an intelligent access control system is deployed, high construction costs will be incurred.

[0003] In view of the above situation, the industry generally tends to install a wireless network-based key box to store mechanical keys, so as to achieve low-cost management of keys entering and exiting the computer room, while avoiding the need to modify the computer room door. However, this wireless network-based key box unlocking control method has a significant defect: it is highly dependent on the stability of the wireless network. Once the network is unstable or the signal coverage is incomplete, it may lead to unlocking failure, which in turn affects the daily operation and maintenance efficiency of the computer room. More importantly, in the case of extremely strict requirements for internal network security management in the computer room environment, relying on an external network for unlocking control may bring potential security risks. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a key box control method, device, system and readable storage medium in view of the above-mentioned deficiencies in the prior art, so as to solve the problem that the existing wireless network-based key box unlocking control method requires external network support to complete unlocking, which easily leads to unlocking failure or security risks.

[0005] In a first aspect, the present invention provides a key box control method, which is applied to a key box, wherein the key box integrates an RS485 communication bus interface, comprising:

[0006] The encrypted remote unlocking instruction sent by the remote terminal unit RTU data acquisition unit through the RS485 communication bus is received by using the RS485 communication bus interface, wherein the encrypted remote unlocking instruction is generated by the power environment monitoring platform according to the remote unlocking request after receiving the remote unlocking request triggered by the user based on the front-end interface, and sent to the RTU data acquisition unit through the intranet;

[0007] According to the encrypted remote unlocking instruction, the housing door of the key box is controlled to open.

[0008] Furthermore, the encrypted remote unlocking instruction includes: a user identification of the user, a timestamp for triggering the remote unlocking request, a device code of the key box, and a dynamic key;

[0009] The step of controlling the housing door of the key box to open according to the encrypted remote unlocking instruction specifically includes:

[0010] Decrypting the encrypted remote unlocking instruction using a preset decryption key to obtain the user identifier, the timestamp, the device code and the dynamic key;

[0011] Verifying the user identifier, the timestamp, the device code, and the dynamic key;

[0012] In response to the verification result being successful, the housing door of the key box is controlled to open.

[0013] Furthermore, the key box includes: a smart lock controller, an electromagnetic lock, and the control of opening the housing door of the key box specifically includes:

[0014] The smart lock controller generates a digital output DO control signal and sends the DO control signal to the electromagnetic lock;

[0015] After receiving the DO control signal, the electromagnetic lock generates magnetic attraction by energizing the coil, driving the lock tongue to retract, so that the housing door of the key box is opened.

[0016] Furthermore, after controlling the housing door of the key box to open according to the encrypted remote unlocking instruction, the method further includes:

[0017] The RS485 communication bus interface is used to send a status code indicating successful unlocking to the RTU data acquisition unit, so that the RTU data acquisition unit sends the status code to the power environment monitoring platform through the intranet, and the power environment monitoring platform displays information indicating that the key box status is opened in the front-end interface according to the status code, and pops up a prompt for successful operation.

[0018] Furthermore, the method further comprises:

[0019] Receiving, by using the RS485 communication bus interface, a local unlocking command for instructing to open the key box, which is sent by the RTU data acquisition unit via the RS485 communication bus, wherein the local unlocking command is obtained and sent by the RTU data acquisition unit in response to a password input by a user on site being correct;

[0020] According to the local unlocking command, the housing door of the key box is controlled to open.

[0021] In a second aspect, the present invention provides a key box control method, which is applied to a remote terminal unit (RTU) data acquisition unit, comprising:

[0022] Receiving an encrypted remote unlocking instruction sent by the power environment monitoring platform through the intranet, wherein the encrypted remote unlocking instruction is sent after the power environment monitoring platform receives a remote unlocking request triggered by a user based on a front-end interface and generates the encrypted remote unlocking instruction according to the remote unlocking request;

[0023] The encrypted remote unlocking instruction is sent to the key box via the RS485 communication bus, so that the key box controls the opening of the housing door of the key box according to the encrypted remote unlocking instruction, wherein the key box integrates the RS485 communication bus interface.

[0024] Furthermore, after sending the encrypted remote unlocking instruction to the key box via the RS485 communication bus, the method further includes:

[0025] Receiving a status code indicating successful unlocking sent by the key box using the RS485 communication bus interface;

[0026] The status code is sent to the power environment monitoring platform via the intranet, so that the power environment monitoring platform displays information indicating that the key box status is opened in the front-end interface according to the status code, and pops up a prompt indicating that the operation is successful.

[0027] Furthermore, the method further comprises:

[0028] In response to a password input by a user on site being correct, obtaining a local unlocking command for instructing to open the key box;

[0029] The local unlocking command is sent to the key box via the RS485 communication bus, so that the key box controls the housing door of the key box to open according to the local unlocking command.

[0030] In a third aspect, the present invention provides a key box control method, which is applied to a power environment monitoring platform, comprising:

[0031] Receive a remote unlocking request triggered by a user based on a front-end interface, and generate an encrypted remote unlocking instruction according to the remote unlocking request;

[0032] The encrypted remote unlocking instruction is sent to the remote terminal unit RTU data acquisition unit through the intranet, so that the RTU data acquisition unit sends the encrypted remote unlocking instruction to the key box through the RS485 communication bus, and the key box controls the opening of the shell door of the key box according to the encrypted remote unlocking instruction, wherein the key box integrates the RS485 communication bus interface.

[0033] Furthermore, the encrypted remote unlocking instruction includes: a user identification of the user, a timestamp of triggering the remote unlocking request, a device code of the key box, and a dynamic key.

[0034] Furthermore, after sending the encrypted remote unlocking instruction to the remote terminal unit (RTU) data acquisition unit via the intranet, the method further includes:

[0035] Receiving a status code indicating successful unlocking sent by the RTU data acquisition unit through the intranet, wherein the status code is sent by the key box to the RTU data acquisition unit using the RS485 communication bus interface;

[0036] According to the status code, information indicating that the key box is opened is displayed in the front-end interface, and a prompt indicating successful operation is popped up.

[0037] In a fourth aspect, the present invention provides a key box control device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the key box control method described in the first aspect, the second aspect, or the third aspect.

[0038] In a fifth aspect, the present invention provides a key box control system, comprising a key box, a remote terminal unit (RTU) data acquisition unit and a power environment monitoring platform;

[0039] The key box is used to execute the key box control method described in the first aspect above;

[0040] The RTU data acquisition unit is used to execute the key box control method described in the second aspect above;

[0041] The power environment monitoring platform is used to execute the key box control method described in the third aspect above.

[0042] In a sixth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the key box control method described in the first aspect, the second aspect, or the third aspect is implemented.

[0043] The key box control method, device, system and readable storage medium provided by the present invention are based on a key box integrated with an RS485 communication bus interface. The RS485 communication bus interface is first used to receive an encrypted remote unlocking instruction sent by a remote terminal unit RTU data acquisition unit through an RS485 communication bus, wherein the encrypted remote unlocking instruction is generated by a power environment monitoring platform according to the remote unlocking request triggered by the user based on a front-end interface after the power environment monitoring platform receives the remote unlocking request triggered by the user based on the front-end interface, and the encrypted remote unlocking instruction is sent to the RTU data acquisition unit through an intranet; then, according to the encrypted remote unlocking instruction, the outer shell door of the key box is controlled to open. The present invention realizes stable communication between the RTU and the key box by adopting a key box integrated with an RS485 communication bus interface. It can receive and respond to the remote unlocking command sent by the power environment monitoring platform after encryption without relying on an external network, thereby realizing unlocking without relying on an external network, effectively avoiding the unlocking failure and security risks that may be caused by external network dependence, ensuring the stability and security of the computer room door lock control, and solving the problem that the existing unlocking control method of the key box based on the wireless network requires external network support to complete the unlocking, which is easy to cause unlocking failure or security risks. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 This is a flow chart of a key box control method according to Embodiment 1 of the present invention;

[0045] Figure 2 It is a field networking and data acquisition control transmission topology diagram of the key box control method according to an embodiment of the present invention;

[0046] Figure 3 A schematic diagram of the structure of a key box according to an embodiment of the present invention;

[0047] Figure 4 This is a flow chart of remote intranet controlled unlocking according to an embodiment of the present invention;

[0048] Figure 5 A flowchart of unlocking by inputting a password on site according to an embodiment of the present invention;

[0049] Figure 6 This is a flow chart of a key box control method according to Embodiment 2 of the present invention;

[0050] Figure 7 This is a flow chart of a key box control method according to Embodiment 3 of the present invention;

[0051] Figure 8 This is a structural schematic diagram of a key box control device according to Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0052] In order to enable those skilled in the art to better understand the technical solution of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0053] It should be understood that the specific embodiments and drawings described herein are only used to explain the present invention rather than to limit the present invention.

[0054] It can be understood that, in the absence of conflict, the various embodiments of the present invention and the various features in the embodiments can be combined with each other.

[0055] It can be understood that, for the convenience of description, the drawings of the present invention only show the parts related to the present invention, while the parts irrelevant to the present invention are not shown in the drawings.

[0056] It can be understood that each unit and module involved in the embodiments of the present invention may correspond to only one physical structure, or may be composed of multiple physical structures, or multiple units and modules may be integrated into one physical structure.

[0057] It can be understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of the present invention may occur in an order different from that marked in the drawings.

[0058] It is understood that the flowcharts and block diagrams of the present invention illustrate the possible architectures, functions, and operations of the systems, devices, equipment, and methods according to the various embodiments of the present invention. Each box in the flowchart or block diagram may represent a unit, module, program segment, or code, which contains executable instructions for implementing the specified functions. Moreover, each box or combination of boxes in the block diagram and flowchart may be implemented by a hardware-based system that implements the specified functions, or may be implemented by a combination of hardware and computer instructions.

[0059] It can be understood that the units and modules involved in the embodiments of the present invention can be implemented by software or hardware. For example, the units and modules can be located in a processor.

[0060] Application Overview

[0061] At present, there are many key box products based on wireless networks in the prior art, but they mainly have the following problems:

[0062] 1. Insufficient communication capability: Currently, key box products based on wireless networks lack intranet control capabilities and cannot be connected to the computer room digital system (such as the power environment monitoring platform);

[0063] 2. Dependence on external networks: The current operation mode of key box products based on wireless networks (i.e. unlocking control) needs to be run on the Internet (external network), but the current operation and management of the computer room is run in the enterprise intranet. According to the communication industry and the company's computer room network security management specifications, the operation and management system of the computer room is not allowed to be interconnected between the internal and external networks, which does not comply with the intranet security management specifications.

[0064] In response to the above technical problems, the present application provides a key box control method, device, system and readable storage medium. By adopting a key box with an integrated RS485 communication bus interface, stable communication between the RTU and the key box is achieved, and remote unlocking instructions sent after encryption by the power environment monitoring platform can be received and responded to without relying on an external network, thereby achieving unlocking without relying on an external network, effectively avoiding unlocking failures and security risks that may be caused by external network dependence, ensuring the stability and security of the computer room door lock control, and at least solving the problem that the existing unlocking control method of the key box based on the wireless network requires external network support to complete unlocking, which is prone to cause unlocking failures or security risks.

[0065] After introducing the basic principles of the present application, various non-limiting embodiments of the present application will be described in detail with reference to the accompanying drawings.

[0066] Embodiment 1:

[0067] This embodiment provides a key box control method, which is applied to a key box, wherein the key box integrates an RS485 communication bus interface, such as Figure 1 As shown, the method includes:

[0068] Step S101: using the RS485 communication bus interface to receive the encrypted remote unlocking instruction sent by the RTU (Remote Terminal Unit) data acquisition unit via the RS485 communication bus, wherein the encrypted remote unlocking instruction is generated by the power environment monitoring platform according to the remote unlocking request after receiving the remote unlocking request triggered by the user based on the front-end interface, and sent to the RTU data acquisition unit via the intranet.

[0069] Specifically, the user triggers the remote unlocking request by single-clicking, double-clicking, long pressing, or touching the preset object in the front-end interface of the power environment monitoring platform. Preferably, the user triggers the remote unlocking request by single-clicking the preset object, wherein the preset object can be any form such as a button, text, or picture. For example, the preset object can be a button, and the title on the button can be: "Remote Unlocking" and so on, to prompt the user to click the button to achieve remote unlocking. The power environment monitoring platform receives the remote unlocking request triggered by the user, and generates an encrypted remote unlocking instruction according to the remote unlocking request, and sends the encrypted remote unlocking instruction to the RTU data acquisition unit through the intranet.

[0070] Specifically, the RTU data acquisition unit receives the encrypted remote unlocking command sent by the power environment monitoring platform through the intranet, and sends the encrypted remote unlocking command to the key box through the RS485 communication bus. The key box uses the RS485 communication bus interface to receive the encrypted remote unlocking command sent by the RTU data acquisition unit through the RS485 communication bus.

[0071] It is worth mentioning that the present invention integrates an RS485 communication bus (preferably Wiegand26 protocol) interface on the key box, so that during the unlocking control process, encrypted remote unlocking instructions can be transmitted through the intranet platform (that is, the power environment monitoring platform), thereby eliminating the need to rely on an external network and ensuring data security.

[0072] Step S102: According to the encrypted remote unlocking instruction, the housing door of the key box is controlled to open.

[0073] It should be noted that the encrypted remote unlocking instruction includes: the user identification of the user, the timestamp of triggering the remote unlocking request, the device code of the key box and the dynamic key.

[0074] In an optional embodiment, controlling the housing door of the key box to open according to the encrypted remote unlocking instruction specifically includes:

[0075] Decrypting the encrypted remote unlocking instruction using a preset decryption key to obtain the user identifier, the timestamp, the device code and the dynamic key;

[0076] Verifying the user identifier, the timestamp, the device code, and the dynamic key;

[0077] In response to the verification result being successful, the housing door of the key box is controlled to open.

[0078] Specifically, the key box uses a preset decryption key to decrypt the encrypted remote unlocking instruction, obtains the user ID of the user, the timestamp that triggers the remote unlocking request, the device code of the key box, and the dynamic key, and verifies the following contents based on the user ID, the timestamp, the device code, and the dynamic key: a. the validity of the timestamp, b. the user authority, and c. the legitimacy of the dynamic key. After the verification is passed, the outer shell door of the key box is controlled to open.

[0079] In an optional embodiment, the key box includes: a smart lock controller and an electromagnetic lock, and the control of opening the housing door of the key box specifically includes:

[0080] The smart lock controller generates a DO (Digital Output) control signal and sends the DO control signal to the electromagnetic lock;

[0081] After receiving the DO control signal, the electromagnetic lock generates magnetic attraction by energizing the coil, driving the lock tongue to retract, so that the housing door of the key box is opened.

[0082] Specifically, the smart lock controller generates a DO control signal and sends the DO control signal to the electromagnetic lock through the drive circuit. After the electromagnetic lock receives the DO control signal sent by the smart lock controller, the electromagnetic lock coil is energized to generate magnetic attraction, driving the lock tongue to retract, and the key box housing door automatically pops open.

[0083] In an optional embodiment, after controlling the opening of the housing door of the key box according to the encrypted remote unlocking instruction, the method further includes:

[0084] The RS485 communication bus interface is used to send a status code indicating successful unlocking to the RTU data acquisition unit, so that the RTU data acquisition unit sends the status code to the power environment monitoring platform through the intranet, and the power environment monitoring platform displays information indicating that the key box status is opened in the front-end interface according to the status code, and pops up a prompt for successful operation.

[0085] Specifically, the key box uses the RS485 communication bus interface to send a status code to the RTU data acquisition unit, where the status code is used to indicate successful unlocking. The RTU data acquisition unit receives the status code sent by the key box using the RS485 communication bus, and sends the status code to the power environment monitoring platform through the intranet. The power environment monitoring platform receives the status code sent by the RTU data acquisition unit through the intranet, and based on the status code, displays information indicating that the key box status is open in the front-end interface, and pops up a prompt that the operation is successful.

[0086] In an optional embodiment, the method further includes:

[0087] Receiving, by using the RS485 communication bus interface, a local unlocking command for instructing to open the key box, which is sent by the RTU data acquisition unit via the RS485 communication bus, wherein the local unlocking command is obtained and sent by the RTU data acquisition unit in response to a password input by a user on site being correct;

[0088] According to the local unlocking command, the housing door of the key box is controlled to open.

[0089] Specifically, in response to the password input by the user on site being correct, the RTU data acquisition unit obtains a local unlocking command for instructing to open the key box corresponding to the password input by the user on site, and sends the local unlocking command to the key box through the RS485 communication bus. The key box uses the RS485 communication bus interface to receive the local unlocking command sent by the RTU data acquisition unit through the RS485 communication bus, and controls the opening of the outer shell door of the key box based on the local unlocking command.

[0090] In a specific embodiment, Figure 2 As shown, the intelligent controlled key box product of the present invention relies on the dynamic environment monitoring system equipment and the intranet network platform. Through the real-time database acquisition module, Wiegand26 protocol port driver module, remote intelligent metropolitan area network VPN (Virtual Private Network) networking module, and on-site intelligent RTU data acquisition module of the platform, it has the network conditions for connecting to the key box near the computer room door. The key box product of the present invention has an integrated RS485 communication bus (Wiegand26 protocol) interface, which is connected to the 485 port of the on-site intelligent RTU data acquisition unit (four-core network cable).

[0091] like Figure 3 As shown, the key box product of the present invention is composed of an embedded smart lock controller, an electromagnetic lock for realizing door opening control, a key box cabinet (box) and a communication interface bus, wherein:

[0092] The embedded smart lock controller integrates a receiving module and a micro-control unit. The receiving module is used to receive the input password data and transmit it to the micro-control unit. After the micro-control unit processes the data, it is transmitted to the computer room digital system (such as the dynamic environment monitoring platform).

[0093] The door opening control electromagnetic lock uses electric current to generate suction, thereby driving the electromagnetic lock silicon steel sheet to open and close.

[0094] The communication interface bus is a channel for transmitting data. The present invention utilizes the RS485 communication bus (Wiegand26 protocol) interface to connect with the 485 port of the on-site intelligent RTU data acquisition unit, and transmits data through the intranet platform to ensure data security.

[0095] Specifically, the key box product of the present invention provides a dual-control implementation method combining remote intranet control unlocking + on-site password input unlocking, wherein the specific operation steps of the key box control method corresponding to the remote intranet control unlocking are:

[0096] Step 1. User login and permission authentication

[0097] Specifically, the operation portal: the staff accesses the power environment monitoring platform (dynamic environment platform) through the enterprise intranet, enters the personal account and verification code (two-factor authentication) to complete the login. Permission verification: the platform automatically matches the list of operable computer rooms according to the account permissions, and displays the key box devices within the authorized scope.

[0098] Step 2. Target key box selection and command issuance

[0099] Specifically, device positioning: In the dynamic environment platform interface, search for the key box to be unlocked by the room number, geographic location or device ID. Instruction generation: After clicking the "remote unlocking" button, the platform calls the encryption module to generate an unlocking instruction containing the following information:

[0100] a. Operator ID (that is, the user's user ID) and timestamp (that is, the timestamp that triggered the remote unlock request)

[0101] b. Target key box device code

[0102] c. One-time dynamic key (encrypted based on SM4 algorithm)

[0103] Step 3. Command transmission and protocol analysis

[0104] Specifically, the intranet transmission path: the encrypted command is transmitted to the RTU data acquisition unit in the target computer room through the enterprise intranet VPN tunnel. Protocol conversion: after receiving the command, the RTU forwards the command to the embedded smart lock controller of the key box through the RS485 communication bus (supporting Wiegand26 protocol).

[0105] Step 4. Command verification and security processing

[0106] Specifically, decryption and verification: The smart lock controller uses the preset decryption key to decrypt the instruction and verify the following:

[0107] a. Timestamp validity (to prevent replay attacks)

[0108] b. Operator authority (matching the dynamic ring platform authorization list)

[0109] c. Legality of dynamic key (compared with the key generated by the platform)

[0110] Exception handling: If the verification fails, the controller records the exception log and feeds back the "unlocking denied" status code to the RTU via the RS485 bus.

[0111] Step 5. Electromagnetic lock drive and control signal output

[0112] Specifically, signal triggering: after verification, the micro-control unit of the smart lock controller generates a DO control signal, which is sent to the electromagnetic lock module through the drive circuit. Electromagnetic lock action: after the electromagnetic lock coil is energized, it generates magnetic attraction, drives the lock tongue to retract, and the key box housing door automatically pops open (mechanical structure linkage).

[0113] Step 6. Status feedback and logging

[0114] Specifically, real-time feedback: After the electromagnetic lock is opened, the smart lock controller sends the "unlocking success" status code to the RTU through the RS485 bus, and the RTU synchronizes the status to the dynamic ring platform. Platform display: The target key box status in the dynamic ring platform interface is updated to "opened", and a prompt for successful operation pops up. Log archive: Complete operation records (including operator, time, device ID, command ciphertext, verification results) are stored in the platform database to support audit tracing.

[0115] It should be noted that this embodiment also includes abnormal scenario processing, network interruption: if the intranet communication is abnormal, the dynamic environment platform prompts "failed to send the command" and triggers the automatic retry mechanism (up to 3 times). Device offline: when the key box controller is offline, the RTU reports the "device does not respond" alarm, and the platform generates a work order to notify the operation and maintenance personnel to check on site.

[0116] It is worth mentioning that Figure 4 As shown, the staff remotely sends a remote control command (i.e., a remote unlocking instruction) in the internal system, and utilizes the localized network management function innovatively realized by the present invention, with the network conditions of the intranet and the key box near the machine room door being connected to each other, the intelligent door opening password controller (i.e., the intelligent lock controller) can receive the remote unlocking information sent by the internal system through the RS485 communication bus (Wiegand26 protocol), and after verifying that the data inside the system is correct, it outputs a DO control signal to the door opening control electromagnetic lock, and the door opening control electromagnetic lock opens the door opening mechanism, and the user can open the key box housing door and take out the spare key hidden inside.

[0117] Specifically, Figure 5 As shown, the specific operation steps of the key box control method corresponding to the on-site password input unlocking are:

[0118] The staff enters the password on site or scans the QR code on the box. After receiving the password input, the intelligent door opening password controller will securely transmit it to the intranet VPN network platform through the fully physically isolated microsystem gateway of the dynamic environment system platform. After the verification and permission of the intranet monitoring platform are correct, it outputs a DO control signal to the door opening control electromagnetic lock. The door opening control electromagnetic lock opens the door opening mechanism, and the user can open the key box outer door and take out the spare key hidden inside.

[0119] It is worth mentioning that the key box product of the present invention is directly connected to the dynamic environment monitoring system based on the RS485 communication bus (supporting Wiegand26 and other protocols) interface and communication capabilities, without the need for external network interconnection. The present invention supports remote intranet commands + on-site password input dual verification to improve security. The present invention is based on a low-cost modified key box (integrated RS485 communication bus interface), and realizes digital management through intranet remote control of the key box without the need to modify the computer room door. The present invention realizes key box command transmission and verification based on the enterprise intranet to ensure data security. The present invention combines remote commands with on-site passwords to adapt to scenarios without external networks. The present invention is based on RS485 bus integration and is directly connected to the computer room equipment through the Wiegand26 protocol, without the need for additional network modification. The present embodiment has fully physically isolated communications to ensure intranet data security and complies with network security specifications in the communications industry.

[0120] The key box control method provided by the embodiment of the present invention is based on a key box integrated with an RS485 communication bus interface. The method first uses the RS485 communication bus interface to receive an encrypted remote unlocking instruction sent by a remote terminal unit RTU data acquisition unit through an RS485 communication bus, wherein the encrypted remote unlocking instruction is generated by a power environment monitoring platform according to the remote unlocking request triggered by a user based on a front-end interface after the power environment monitoring platform receives the remote unlocking request, and sends it to the RTU data acquisition unit through an intranet; then, according to the encrypted remote unlocking instruction, the outer shell door of the key box is controlled to open. The present invention realizes stable communication between the RTU and the key box by adopting a key box integrated with an RS485 communication bus interface. It can receive and respond to the remote unlocking command sent by the power environment monitoring platform after encryption without relying on an external network, thereby realizing unlocking without relying on an external network, effectively avoiding the unlocking failure and security risks that may be caused by external network dependence, ensuring the stability and security of the computer room door lock control, and solving the problem that the existing unlocking control method of the key box based on the wireless network requires external network support to complete the unlocking, which is easy to cause unlocking failure or security risks.

[0121] Embodiment 2:

[0122] This embodiment provides a key box control method, which is applied to a remote terminal unit (RTU) data acquisition unit, such as Figure 6 As shown, the method includes:

[0123] Step S201: Receive the encrypted remote unlocking instruction sent by the power environment monitoring platform through the intranet, wherein the encrypted remote unlocking instruction is sent after the power environment monitoring platform receives the remote unlocking request triggered by the user based on the front-end interface and generates the encrypted remote unlocking instruction according to the remote unlocking request.

[0124] Specifically, when a user triggers a remote unlocking request by single-clicking, double-clicking, long pressing, or touching a preset object in the front-end interface of the power environment monitoring platform, the power environment monitoring platform receives the remote unlocking request triggered by the user, and generates an encrypted remote unlocking instruction based on the remote unlocking request, and sends the encrypted remote unlocking instruction to the RTU data acquisition unit through the intranet. The RTU data acquisition unit receives the encrypted remote unlocking instruction sent by the power environment monitoring platform through the intranet.

[0125] Step S202: sending the encrypted remote unlocking instruction to the key box via the RS485 communication bus, so that the key box controls the opening of the housing door of the key box according to the encrypted remote unlocking instruction, wherein the key box integrates an RS485 communication bus interface.

[0126] Specifically, the encrypted remote unlocking instruction is sent to the key box via the RS485 communication bus. The key box uses the RS485 communication bus interface to receive the encrypted remote unlocking instruction sent by the RTU data acquisition unit via the RS485 communication bus, and controls the shell door of the key box to open based on the encrypted remote unlocking instruction.

[0127] In an optional embodiment, after sending the encrypted remote unlocking instruction to the key box via the RS485 communication bus, the method further includes:

[0128] Receiving a status code indicating successful unlocking sent by the key box using the RS485 communication bus interface;

[0129] The status code is sent to the power environment monitoring platform via the intranet, so that the power environment monitoring platform displays information indicating that the key box status is opened in the front-end interface according to the status code, and pops up a prompt indicating that the operation is successful.

[0130] Specifically, the key box uses the RS485 communication bus interface to send a status code to the RTU data acquisition unit, where the status code is used to indicate successful unlocking. The RTU data acquisition unit receives the status code sent by the key box using the RS485 communication bus, and sends the status code to the power environment monitoring platform through the intranet. The power environment monitoring platform receives the status code sent by the RTU data acquisition unit through the intranet, and based on the status code, displays information indicating that the key box status is open in the front-end interface, and pops up a prompt that the operation is successful.

[0131] In an optional embodiment, the method further includes:

[0132] In response to a password input by a user on site being correct, obtaining a local unlocking command for instructing to open the key box;

[0133] The local unlocking command is sent to the key box via the RS485 communication bus, so that the key box controls the housing door of the key box to open according to the local unlocking command.

[0134] Specifically, in response to the password input by the user on site being correct, the RTU data acquisition unit obtains a local unlocking command for instructing to open the key box corresponding to the password input by the user on site, and sends the local unlocking command to the key box through the RS485 communication bus. The key box uses the RS485 communication bus interface to receive the local unlocking command sent by the RTU data acquisition unit through the RS485 communication bus, and controls the opening of the outer shell door of the key box based on the local unlocking command.

[0135] Embodiment 3:

[0136] This embodiment provides a key box control method, which is applied to a power environment monitoring platform, such as Figure 7 As shown, the method includes:

[0137] Step S301: receiving a remote unlocking request triggered by a user based on a front-end interface, and generating an encrypted remote unlocking instruction according to the remote unlocking request.

[0138] Specifically, when a user triggers a remote unlocking request by single-clicking, double-clicking, long pressing, or touching a preset object in the front-end interface of the power environment monitoring platform, the power environment monitoring platform receives the remote unlocking request triggered by the user, and generates an encrypted remote unlocking instruction based on the remote unlocking request, wherein the encrypted remote unlocking instruction includes: the user identification of the user, the timestamp that triggers the remote unlocking request, the device code of the key box, and the dynamic key.

[0139] Step S302: Send the encrypted remote unlocking instruction to the remote terminal unit RTU data acquisition unit through the intranet, so that the RTU data acquisition unit sends the encrypted remote unlocking instruction to the key box through the RS485 communication bus, and the key box controls the opening of the shell door of the key box according to the encrypted remote unlocking instruction, wherein the key box integrates the RS485 communication bus interface.

[0140] Specifically, the encrypted remote unlocking instruction is sent to the RTU data acquisition unit through the intranet. The RTU data acquisition unit receives the encrypted remote unlocking instruction sent by the power environment monitoring platform through the intranet, and sends the encrypted remote unlocking instruction to the key box through the RS485 communication bus. The key box uses the RS485 communication bus interface to receive the encrypted remote unlocking instruction sent by the RTU data acquisition unit through the RS485 communication bus, and controls the opening of the outer shell door of the key box based on the encrypted remote unlocking instruction.

[0141] In an optional embodiment, after sending the encrypted remote unlocking instruction to the remote terminal unit RTU data acquisition unit through the intranet, the method further includes:

[0142] Receiving a status code indicating successful unlocking sent by the RTU data acquisition unit through the intranet, wherein the status code is sent by the key box to the RTU data acquisition unit using the RS485 communication bus interface;

[0143] According to the status code, information indicating that the key box is opened is displayed in the front-end interface, and a prompt indicating successful operation is popped up.

[0144] Specifically, the key box uses the RS485 communication bus interface to send a status code to the RTU data acquisition unit, where the status code is used to indicate successful unlocking. The RTU data acquisition unit receives the status code sent by the key box using the RS485 communication bus, and sends the status code to the power environment monitoring platform through the intranet. The power environment monitoring platform receives the status code sent by the RTU data acquisition unit through the intranet, and based on the status code, displays information indicating that the key box status is open in the front-end interface, and pops up a prompt that the operation is successful.

[0145] Embodiment 4:

[0146] refer to Figure 8 This embodiment provides a key box control device, including a memory 11 and a processor 12, wherein the memory 11 stores a computer program, and the processor 12 is configured to run the computer program to execute the key box control method in Example 1, or execute the key box control method in Example 2, or execute the key box control method in Example 3.

[0147] The memory 11 is connected to the processor 12. The memory 11 may be a flash memory, a read-only memory or other memory. The processor 12 may be a central processing unit or a single-chip microcomputer.

[0148] Embodiment 5:

[0149] This embodiment provides a key box control system, including a key box, a remote terminal unit RTU data acquisition unit and a power environment monitoring platform;

[0150] The key box is used to execute the key box control method in embodiment 1;

[0151] The RTU data acquisition unit is used to execute the key box control method in Example 2;

[0152] The power environment monitoring platform is used to execute the key box control method in Example 3.

[0153] Embodiment 6:

[0154] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the key box control method in the above-mentioned embodiment 1, embodiment 2 or embodiment 3 is implemented.

[0155] The computer-readable storage medium includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer.

[0156] To summarize, the key box control method, device, system and readable storage medium provided by the embodiments of the present invention are based on a key box integrated with an RS485 communication bus interface. The RS485 communication bus interface is first used to receive the encrypted remote unlocking instruction sent by the remote terminal unit RTU data acquisition unit through the RS485 communication bus, wherein the encrypted remote unlocking instruction is generated by the power environment monitoring platform according to the remote unlocking request triggered by the user based on the front-end interface after the power environment monitoring platform receives the remote unlocking request triggered by the user based on the front-end interface, and the encrypted remote unlocking instruction is sent to the RTU data acquisition unit through the intranet; then, according to the encrypted remote unlocking instruction, the outer door of the key box is controlled to open. The present invention realizes stable communication between the RTU and the key box by adopting a key box integrated with an RS485 communication bus interface. It can receive and respond to the remote unlocking command sent by the power environment monitoring platform after encryption without relying on an external network, thereby realizing unlocking without relying on an external network, effectively avoiding the unlocking failure and security risks that may be caused by external network dependence, ensuring the stability and security of the computer room door lock control, and solving the problem that the existing unlocking control method of the key box based on the wireless network requires external network support to complete the unlocking, which is easy to cause unlocking failure or security risks.

[0157] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.

Claims

1. A key box control method, characterized in that: Applied to a key box, the key box integrates an RS485 communication bus interface, and the method comprises: The encrypted remote unlocking instruction sent by the remote terminal unit RTU data acquisition unit through the RS485 communication bus is received by using the RS485 communication bus interface, wherein the encrypted remote unlocking instruction is generated by the power environment monitoring platform according to the remote unlocking request after receiving the remote unlocking request triggered by the user based on the front-end interface, and sent to the RTU data acquisition unit through the intranet; According to the encrypted remote unlocking instruction, the housing door of the key box is controlled to open.

2. The method according to claim 1, characterized in that The encrypted remote unlocking instruction includes: the user identification of the user, the timestamp of triggering the remote unlocking request, the device code of the key box and the dynamic key; The step of controlling the housing door of the key box to open according to the encrypted remote unlocking instruction specifically includes: Decrypting the encrypted remote unlocking instruction using a preset decryption key to obtain the user identifier, the timestamp, the device code and the dynamic key; Verifying the user identifier, the timestamp, the device code, and the dynamic key; In response to the verification result being successful, the housing door of the key box is controlled to open.

3. The method according to claim 2, characterized in that The key box includes: a smart lock controller and an electromagnetic lock, and the control of opening the housing door of the key box specifically includes: The smart lock controller generates a digital output DO control signal and sends the DO control signal to the electromagnetic lock; After receiving the DO control signal, the electromagnetic lock generates magnetic attraction by energizing the coil, driving the lock tongue to retract, so that the housing door of the key box is opened.

4. The method according to claim 1, characterized in that After controlling the housing door of the key box to open according to the encrypted remote unlocking instruction, the method further includes: The RS485 communication bus interface is used to send a status code indicating successful unlocking to the RTU data acquisition unit, so that the RTU data acquisition unit sends the status code to the power environment monitoring platform through the intranet, and the power environment monitoring platform displays information indicating that the key box status is opened in the front-end interface according to the status code, and pops up a prompt for successful operation.

5. The method according to claim 1, characterized in that The method further comprises: Receiving, by using the RS485 communication bus interface, a local unlocking command for instructing to open the key box, which is sent by the RTU data acquisition unit via the RS485 communication bus, wherein the local unlocking command is obtained and sent by the RTU data acquisition unit in response to a password input by a user on site being correct; According to the local unlocking command, the housing door of the key box is controlled to open.

6. A key box control method, characterized in that: Applied to a remote terminal unit (RTU) data acquisition unit, the method comprises: Receiving an encrypted remote unlocking instruction sent by the power environment monitoring platform through the intranet, wherein the encrypted remote unlocking instruction is sent after the power environment monitoring platform receives a remote unlocking request triggered by a user based on a front-end interface and generates the encrypted remote unlocking instruction according to the remote unlocking request; The encrypted remote unlocking instruction is sent to the key box via the RS485 communication bus, so that the key box controls the opening of the housing door of the key box according to the encrypted remote unlocking instruction, wherein the key box integrates the RS485 communication bus interface.

7. The method according to claim 6, characterized in that After sending the encrypted remote unlocking instruction to the key box via the RS485 communication bus, the method further includes: Receiving a status code indicating successful unlocking sent by the key box using the RS485 communication bus interface; The status code is sent to the power environment monitoring platform via the intranet, so that the power environment monitoring platform displays information indicating that the key box status is opened in the front-end interface according to the status code, and pops up a prompt indicating that the operation is successful.

8. The method according to claim 6, characterized in that The method further comprises: In response to a password input by a user on site being correct, obtaining a local unlocking command for instructing to open the key box; The local unlocking command is sent to the key box via the RS485 communication bus, so that the key box controls the housing door of the key box to open according to the local unlocking command.

9. A key box control method, characterized in that: Applied to a power environment monitoring platform, the method comprises: Receive a remote unlocking request triggered by a user based on a front-end interface, and generate an encrypted remote unlocking instruction according to the remote unlocking request; The encrypted remote unlocking instruction is sent to the remote terminal unit RTU data acquisition unit through the intranet, so that the RTU data acquisition unit sends the encrypted remote unlocking instruction to the key box through the RS485 communication bus, and the key box controls the opening of the shell door of the key box according to the encrypted remote unlocking instruction, wherein the key box integrates the RS485 communication bus interface.

10. The method according to claim 9, characterized in that The encrypted remote unlocking instruction includes: the user identification of the user, the timestamp of triggering the remote unlocking request, the device code of the key box and the dynamic key.

11. The method according to claim 9, characterized in that After sending the encrypted remote unlocking instruction to the remote terminal unit (RTU) data acquisition unit via the intranet, the method further includes: Receiving a status code indicating successful unlocking sent by the RTU data acquisition unit through the intranet, wherein the status code is sent by the key box to the RTU data acquisition unit using the RS485 communication bus interface; According to the status code, information indicating that the key box is opened is displayed in the front-end interface, and a prompt indicating successful operation is popped up.

12. A key box control device, characterized in that: The invention comprises a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to implement the key box control method as described in any one of claims 1 to 5, or to implement the key box control method as described in any one of claims 6 to 8, or to implement the key box control method as described in any one of claims 9 to 11.

13. A key box control system, characterized in that: Including key box, remote terminal unit RTU data acquisition unit and power environment monitoring platform; The key box is used to execute the key box control method according to any one of claims 1 to 5; The RTU data acquisition unit is used to execute the key box control method according to any one of claims 6 to 8; The power environment monitoring platform is used to execute the key box control method described in any one of claims 9-11.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the key box control method according to any one of claims 1 to 5, or implements the key box control method according to any one of claims 6 to 8, or implements the key box control method according to any one of claims 9 to 11.