A safety control method for NFC passive locks in substations
Through the NFC passive lock security management and control method, the combination of smart locks and mobile terminals solves the problems of complex keys and difficult to control permissions in substation equipment lock management, realizes safe management of substation equipment, and reduces the risk of equipment theft and personal injury. Risk of electric shock.
Patent Information
- Application Number
- CN202211013929.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-23
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-08-23
AI Technical Summary
The lock management of existing substation equipment has problems such as complex key management, difficult to control permissions, and poor anti-theft performance. Especially in widely distributed outdoor equipment, it can easily lead to equipment theft and unnecessary personal electric shock accidents.
Adopting the NFC passive lock security management and control method, through the combination of smart locks, mobile terminals and system management background, using NFC near field communication and wireless methods to achieve dynamic authorization and lock control, combined with the situation awareness module for real-time security situation judgment, reducing key management and improve safety.
There is no need to manage a large number of mechanical keys, and the smart lock design does not require battery maintenance. Real-name authentication and centralized management are achieved through the mobile Internet, ensuring the safety of substation equipment and reducing the risk of equipment theft and personal electric shock.
Smart Images

Figure CN115497199B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of substation equipment lock management, and in particular to a substation NFC passive lock security management and control method. Background Art
[0002] The current power transmission network manages a large number of power equipment such as substation access control, ring network cabinets, box-type transformers, branch boxes, distribution stations, and switchgear. For the sake of safe operation and anti-theft, the doors of these equipment have always been managed by traditional mechanical locks of different manufacturers, batches, and types. With the construction of power grid facilities, the number of locks has also increased. Due to the lack of uniformity in lock manufacturers, types, batches, and lock standards, a large number of key management problems have arisen: First, when each team member conducts inspections, they must first find the key of the corresponding lock manufacturer from a large bunch of keys to open and unlock the door, which is time-consuming and laborious; second, in order to facilitate key management, many regions have introduced universal keys, that is, one key can open all locks in a district or the entire city to reduce the number of keys and facilitate on-site work. Key management is simple, but the staff has too much authority on site, and there is a risk of management being out of control; third, the locks currently used are traditional locks that are cheap, simple in structure, very easy to rust and cannot be opened, easy to be forced to open, and have extremely poor anti-theft performance. However, ring main units, box-type transformers, branch boxes, distribution stations and switchgear are all outdoor equipment with a wide distribution range and are mostly located in open environments. If effective monitoring and management cannot be carried out, there will inevitably be frequent equipment thefts and unnecessary personal electric shock accidents. Summary of the invention
[0003] In view of this, an object of the present invention is to provide a method for security management of NFC passive locks in a substation, so as to overcome or at least partially solve the above-mentioned problems existing in the prior art.
[0004] To achieve the above-mentioned purpose, the present invention provides a substation NFC passive lock security management method, which is applied to the substation NFC passive lock management system. The system includes a smart lock, a mobile terminal and a system management background. The smart lock is connected to the mobile terminal through NFC near-field communication technology, and the mobile terminal is connected to the system management background through a wireless method. The method includes the following steps:
[0005] S101, the user brings the mobile terminal close to the smart lock, the mobile terminal powers the smart lock wirelessly, and the user inputs an operation instruction through the mobile terminal;
[0006] S102, the mobile terminal obtains a dynamic authorization instruction from the system management background, wherein the operation instruction includes an information reading instruction, an unlocking instruction, and a locking instruction, and sends the operation instruction and the dynamic authorization instruction to the smart lock;
[0007] S103, the smart lock verifies the dynamic authorization instruction, executes the operation instruction after the verification is passed, and feeds back the instruction execution result to the mobile terminal.
[0008] Furthermore, before step S101, the method further includes the following steps:
[0009] S201, the system management background obtains the MAC address of the smart lock before the smart lock is put into operation, generates a corresponding private key for the smart lock, associates its MAC address with the private key and stores it;
[0010] S202, the user sets identification information for the smart lock through the system management background, or the system management background generates identification information for the smart lock, and stores the identification information of the smart lock in association with its MAC address;
[0011] S203: The system management backend sends the private key to the smart lock for storage.
[0012] Furthermore, the mobile terminal obtains a dynamic authorization instruction from the system management background, which specifically includes the following steps:
[0013] S301, the mobile terminal obtains the identification information of the smart lock through NFC near-field communication, and sends an authorization acquisition request to the system management background, wherein the authorization acquisition request includes the identification information of the user corresponding to the mobile terminal, the identification information of the smart lock and the operation instruction;
[0014] S302, the system management backend queries the user operation authority based on the user identification information, and queries the smart lock operation authority requirement information based on the smart lock identification information;
[0015] S303: The system management background decides whether to send a dynamic authorization instruction to the mobile terminal according to the operation instruction, user operation authority and smart lock operation authority requirement information.
[0016] Furthermore, after sending the dynamic authorization instruction to the mobile terminal, the system management background records the corresponding operation instruction into the historical operation instruction set.
[0017] Furthermore, the steps S302 and S303 further include the following steps:
[0018] S401, the system management backend determines the corresponding location according to the identification information of the smart lock;
[0019] S402, the system management backend connects to the situation awareness module deployed at the corresponding place according to the corresponding place of the smart lock, and obtains the real-time security situation information of the corresponding place;
[0020] S403. The system management background determines whether the access permission of the place corresponding to the smart lock has changed based on the real-time security situation information, and determines whether the user can enter the place corresponding to the smart lock based on the access permission of the place corresponding to the smart lock and the user's operation permission. If so, execute step S303.
[0021] Furthermore, the generation of dynamic authorization instructions is specifically as follows: the system management background obtains the MAC address of the smart lock, as well as the operation instructions and dynamic information of the mobile terminal, integrates them to obtain an integrated string, inputs the integrated string into a preset algorithm for calculation, and uses the calculation result as a dynamic authorization instruction.
[0022] Furthermore, the smart lock verifies the dynamic authorization instruction, specifically including the following steps:
[0023] S501, obtaining a dynamic authorization instruction and an operation instruction sent by a mobile terminal, and obtaining dynamic information from the mobile terminal;
[0024] S502, integrating its own MAC address with the operation instruction and dynamic information to obtain an integrated string, locally inputting the integrated string into a preset algorithm for operation, and using the operation result as an instruction comparison item;
[0025] S503: Compare the instruction comparison item with the dynamic authorization instruction. If they are consistent, the operation instruction is executed; otherwise, the operation instruction is not executed.
[0026] Furthermore, when the mobile terminal used by the user does not have the NFC function, the smart lock is controlled to be turned on or off by executing the following steps:
[0027] S601, the user uses the mobile terminal to send a non-NFC unlocking request to the system management background, and the non-NFC unlocking request includes user identification information, smart lock identification information provided on the surface of the smart lock, and a switch lock instruction;
[0028] S602: The system management backend generates an unlock string according to the non-NFC unlock request and sends it to the mobile terminal;
[0029] S603: The user enters the unlocking string received by the mobile terminal into the smart lock, and the smart lock verifies the unlocking string and executes the switch operation after the verification is passed.
[0030] Furthermore, the system management backend generates an unlock string according to the non-NFC unlock request, specifically including the following steps:
[0031] S701, the system management backend verifies the user identification information, and after the verification is correct, searches for the private key of the corresponding smart lock according to the smart lock identification information;
[0032] S702, the system management backend creates an N×N matrix, randomly selects a write mode from a write mode set, writes each byte of the private key into a different position of the N×N matrix according to the write mode, and fills other positions of the N×N matrix with randomly selected values;
[0033] S703: The system management backend generates an unlocking string according to the sequence number of the used writing mode in the writing mode set, the filled N×N matrix and the switch lock instruction.
[0034] Furthermore, the smart lock verifies the unlock string by specifically including the following steps:
[0035] S801, the smart lock extracts the write mode sequence number, N×N matrix and switch lock instruction in the unlock string;
[0036] S802, the smart lock determines the writing mode according to the writing mode sequence number;
[0037] S803, the smart lock extracts the private key in the N×N matrix according to the write mode, verifies whether the private key is correct, and executes the next step if it is correct;
[0038] S804: The smart lock executes the switch lock instruction.
[0039] Compared with the prior art, the present invention has the following beneficial effects:
[0040] The present invention provides a substation NFC passive lock security management and control method. The user uses the NFC near-field communication method to control the unlocking of the smart lock through a mobile terminal, thereby eliminating the need to manage a large number of mechanical keys. The smart lock adopts a battery-free design, thereby eliminating the need for regular maintenance and battery replacement. Based on the working mode of on-site operators, combined with mobile Internet technology, the system management background is used to implement real-name authentication of personnel operations and centralized management of lock control authorization, thereby ensuring the safety of substation equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only preferred embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0042] Figure 1 It is a schematic diagram of the overall process of a substation NFC passive lock security management method provided by an embodiment of the present invention.
[0043] Figure 2 It is a schematic diagram of the smart lock registration process provided by an embodiment of the present invention.
[0044] Figure 3 It is a schematic diagram of a flow chart of a mobile terminal obtaining a dynamic authorization instruction provided by an embodiment of the present invention.
[0045] Figure 4 It is a schematic diagram of the process of determining the access authority of a place corresponding to a smart lock by a system management background provided in an embodiment of the present invention.
[0046] Figure 5 It is a schematic diagram of the flow of dynamic authorization instructions for smart lock verification provided by an embodiment of the present invention.
[0047] Figure 6 It is a flow chart of controlling a smart lock by a mobile terminal without NFC function provided in an embodiment of the present invention.
[0048] Figure 7 The present invention provides a schematic diagram of a process for generating an unlocking string by a system management background.
[0049] Figure 8 It is a schematic diagram of the process of verifying the unlocking string by the smart lock provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0050] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The enumerated embodiments are only used to explain the present invention and are not used to limit the scope of the present invention.
[0051] Reference Figure 1 This embodiment provides a method for the security management of NFC passive locks in substations. The method is applied to the management system of NFC passive locks in substations. The system includes a smart lock, a mobile terminal and a system management background. The smart lock is connected to the mobile terminal via NFC near-field communication technology, and the mobile terminal is connected to the system management background via wireless communication. The method includes the following steps:
[0052] S101. The user brings the mobile terminal close to the smart lock, the mobile terminal powers the smart lock wirelessly, and the user inputs an operation instruction through the mobile terminal.
[0053] S102, the mobile terminal obtains a dynamic authorization instruction from the system management background, the operation instruction includes an information reading instruction, an unlocking instruction and a locking instruction, and sends the operation instruction and the dynamic authorization instruction to the smart lock. The information reading instruction is used to read the basic information of the smart lock, such as the number, the setting location, etc.
[0054] S103, the smart lock verifies the dynamic authorization instruction, executes the operation instruction after the verification is passed, and feeds back the instruction execution result to the mobile terminal.
[0055] The smart lock described in this embodiment is installed in power equipment such as substation access control, ring network cabinets, box-type transformers, branch boxes, distribution stations, and switchgear. The smart lock adopts a drive mechanism that has been treated with anti-corrosion, and is combined with relevant drive units to complete the lock control function. The unlocking and locking separation must be carried out through command interaction. At the same time, a precise detection method is used to detect the lock status. The smart lock has no lock core and adopts wireless power supply and communication methods. Power supply and communication interaction are realized by mobile terminals. When the user performs the switch lock operation, he only needs to bring the mobile terminal close to the smart lock and enter the operation command, so there is no need to manage a large number of keys.
[0056] Reference Figure 2 , before step S101, further comprising the steps of:
[0057] S201, the system management background obtains the MAC address of the smart lock before the smart lock is put into operation, generates a corresponding private key for the smart lock, associates its MAC address with the private key and stores it;
[0058] S202, the user sets identification information for the smart lock through the system management background, or the system management background generates identification information for the smart lock, and stores the identification information of the smart lock in association with its MAC address;
[0059] S203: The system management backend sends the private key to the smart lock for storage.
[0060] In this embodiment, the smart lock is registered by binding its unique MAC address, private key and identification information before it is put into operation.
[0061] Reference Figure 3 , the mobile terminal obtains the dynamic authorization instruction from the system management background, which specifically includes the following steps:
[0062] S301, the mobile terminal obtains the identification information of the smart lock through NFC near field communication, and sends an authorization acquisition request to the system management background, the authorization acquisition request includes the identification information of the user corresponding to the mobile terminal, the identification information of the smart lock and the operation instruction. The identification information of the user is used to uniquely identify the user; the identification information of the smart lock is used to uniquely identify the smart lock.
[0063] S302, the system management backend queries the user operation authority according to the user identification information query information, and queries the smart lock operation authority requirement information according to the smart lock identification information. The smart lock operation authority requirement information records the corresponding authority information required to perform different operations on the smart lock, and the smart lock operation authority requirement information is pre-associated with the smart lock identification information and stored in the system management backend.
[0064] S303, the system management background decides whether to send a dynamic authorization instruction to the mobile terminal according to the operation instruction, the user's operation authority and the smart lock operation authority requirement information. If the user's operation authority meets the smart lock operation authority requirement, the system management background sends a dynamic authorization instruction to the mobile terminal, otherwise it feedbacks to the mobile terminal that the user's authority is insufficient.
[0065] As a preferred example, after sending the dynamic authorization instruction to the mobile terminal, the system management background records the corresponding operation instruction into the historical operation instruction set, so as to facilitate the later management tracing and realize information management.
[0066] Reference Figure 4 , the steps between step S302 and step S303 also include the following steps:
[0067] S401, the system management backend determines the corresponding place according to the identification information of the smart lock, wherein the corresponding place is the place where the smart lock is deployed.
[0068] S402, the system management backend connects to the situation awareness module deployed in the corresponding place according to the corresponding place of the smart lock, and obtains the real-time security situation information of the corresponding place. The situation awareness module is used to perceive the real-time security situation in the corresponding place, such as whether the equipment is operating normally, whether a fire or other security incidents have occurred, etc., and forms corresponding real-time security situation information and feeds it back to the system management backend.
[0069] S403, the system management background determines whether the access permission of the place corresponding to the smart lock has changed according to the real-time security situation information, and determines whether the user can enter the place corresponding to the smart lock according to the access permission of the place corresponding to the smart lock and the user operation permission, and if so, executes step S303. In this embodiment, as the real-time security situation of different places changes, the required access permission changes accordingly. The system management background adjusts the access permission according to the real-time security situation of each smart lock deployment place, thereby achieving strict security control and preventing security accidents.
[0070] As a preferred example, the generation of dynamic authorization instructions is specifically as follows: the system management background obtains the MAC address of the smart lock, the operation instructions and dynamic information of the mobile terminal, integrates them to obtain an integrated string, inputs the integrated string into a preset algorithm for calculation, and uses the calculation result as a dynamic authorization instruction. Exemplarily, the preset algorithm can be a hash algorithm or other algorithms, and the present invention does not impose specific limitations on this. Exemplarily, the dynamic information can be time information or current weather information. When the dynamic information is weather information, different characters can be used to correspond to different weather.
[0071] Reference Figure 5, the smart lock verifies the dynamic authorization instruction, specifically including the following steps:
[0072] S501. Acquire a dynamic authorization instruction and an operation instruction sent by a mobile terminal, and acquire dynamic information from the mobile terminal.
[0073] S502: Integrate its own MAC address with the operation instruction and dynamic information to obtain an integrated string, locally input the integrated string into a preset algorithm for calculation, and use the calculation result as an instruction comparison item.
[0074] S503: Compare the instruction comparison item with the dynamic authorization instruction. If they are consistent, the operation instruction is executed; otherwise, the operation instruction is not executed.
[0075] As a preferred example, when the mobile terminal used by the user does not have the NFC function, the following steps are performed to control the smart lock to be turned on or off:
[0076] S601. The user uses a mobile terminal to send a non-NFC unlocking request to the system management background. The non-NFC unlocking request includes user identification information, smart lock identification information set on the surface of the smart lock, and a lock switch instruction.
[0077] S602: The system management backend generates an unlock string according to the non-NFC unlock request and sends it to the mobile terminal;
[0078] S603, the user enters the unlock string received by the mobile terminal into the smart lock, and the smart lock verifies the unlock string, and performs the lock opening and closing operation after the verification is passed. Exemplarily, the user enters the unlock string received by the mobile terminal into the smart lock, which can be the unlock string received by the mobile terminal through the screen display, and the smart lock captures the screen image of the mobile terminal through the image acquisition module, and reads the unlock string displayed in the screen image through the image recognition technology; or the user enters the unlock string through the input button on the smart lock. The present invention does not specifically limit the method of entering the unlock string.
[0079] On this basis, refer to Figure 7 The system management backend generates an unlock string based on a non-NFC unlock request, which specifically includes the following steps:
[0080] S701, the system management backend verifies the user identification information, and searches for the private key of the corresponding smart lock according to the smart lock identification information after the verification is correct. Verifying the user identification information specifically verifies whether the user identification information matches any of the user identification information pre-stored by the system management backend.
[0081] S702. The system management background creates an N×N matrix, randomly selects a write mode from the write mode set, and writes each byte of the private key into a different position of the N×N matrix according to the write mode, that is, each write mode corresponds to a way of writing values into different positions of the N×N matrix, and fills the remaining positions of the N×N matrix with randomly selected values.
[0082] S703, the system management backend generates an unlock string according to the sequence number of the used write mode in the write mode set, the filled N×N matrix and the switch lock instruction. Exemplarily, when generating the unlock string, the switch lock instruction is represented by a corresponding character, the sequence of the write mode sequence number, the N×N matrix and the switch lock instruction in the unlock string is fixed, and when writing the N×N matrix, it is converted into a single-line string and written, for example, the matrix can be converted into a single-line string in the order from left to right and from top to bottom.
[0083] Reference Figure 8 , the smart lock verifies the unlock string, including the following steps:
[0084] S801, the smart lock extracts the write mode number, N×N matrix and switch lock instruction in the unlock string. Specifically, the smart lock separates and extracts the write mode number, N×N matrix and switch lock instruction according to their sequence in the unlock string.
[0085] S802. The smart lock determines the writing mode of the private key into the N×N matrix according to the writing mode sequence number.
[0086] S803. The smart lock extracts the private key in the N×N matrix according to the write mode and verifies whether the private key is correct. If correct, the next step is executed.
[0087] S804: The smart lock executes the switch lock instruction.
[0088] 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, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for the safety management and control of NFC passive locks in a substation, characterized in that: The method is applied to the NFC passive lock management system of a substation, the system includes a smart lock, a mobile terminal and a system management background, the smart lock is connected to the mobile terminal through NFC near field communication technology, and the mobile terminal is connected to the system management background in a wireless manner, and the method includes the following steps: S101, the user brings the mobile terminal close to the smart lock, the mobile terminal powers the smart lock wirelessly, and the user inputs an operation instruction through the mobile terminal; S102, the mobile terminal obtains a dynamic authorization instruction from the system management background, wherein the operation instruction includes an information reading instruction, an unlocking instruction, and a locking instruction, and sends the operation instruction and the dynamic authorization instruction to the smart lock; S103, the smart lock verifies the dynamic authorization instruction, executes the operation instruction after the verification is passed, and feeds back the instruction execution result to the mobile terminal; The generation of dynamic authorization instructions is as follows: the system management background obtains the MAC address of the smart lock, the operation instructions and dynamic information of the mobile terminal, integrates them to obtain an integrated string, inputs the integrated string into a preset algorithm for calculation, and uses the calculation result as a dynamic authorization instruction; When the mobile terminal used by the user does not have the NFC function, perform the following steps to control the smart lock to open or close: S601, the user uses the mobile terminal to send a non-NFC unlocking request to the system management background, and the non-NFC unlocking request includes user identification information, smart lock identification information provided on the surface of the smart lock, and a switch lock instruction; S602: The system management backend generates an unlock string according to the non-NFC unlock request and sends it to the mobile terminal; S603: The user enters the unlocking string received by the mobile terminal into the smart lock, and the smart lock verifies the unlocking string and performs the lock opening and closing operation after the verification is passed; The system management backend generates an unlock string based on a non-NFC unlock request, including the following steps: S701, the system management backend verifies the user identification information, and after the verification is correct, searches for the private key of the corresponding smart lock according to the smart lock identification information; S702, the system management backend creates an N×N matrix, randomly selects a write mode from a write mode set, writes each byte of the private key into a different position of the N×N matrix according to the write mode, and fills other positions of the N×N matrix with randomly selected values; S703, the system management backend generates an unlocking string according to the sequence number of the used writing mode in the writing mode set, the filled N×N matrix and the switch lock instruction; The smart lock verifies the unlock string by the following steps: S801, the smart lock extracts the write mode sequence number, N×N matrix and switch lock instruction in the unlock string; S802, the smart lock determines the writing mode according to the writing mode sequence number; S803, the smart lock extracts the private key in the N×N matrix according to the write mode, verifies whether the private key is correct, and executes the next step if it is correct; S804: The smart lock executes the switch lock instruction.
2. A method for safety management and control of NFC passive locks in substations according to claim 1, characterized in that: Before step S101, the method further includes the following steps: S201, the system management background obtains the MAC address of the smart lock before the smart lock is put into operation, generates a corresponding private key for the smart lock, associates its MAC address with the private key and stores it; S202, the user sets identification information for the smart lock through the system management background, or the system management background generates identification information for the smart lock, and stores the identification information of the smart lock in association with its MAC address; S203: The system management backend sends the private key to the smart lock for storage.
3. A method for safety management and control of NFC passive locks in substations according to claim 1, characterized in that: The mobile terminal obtains the dynamic authorization instruction from the system management background, which specifically includes the following steps: S301, the mobile terminal obtains the identification information of the smart lock through NFC near-field communication, and sends an authorization acquisition request to the system management background, wherein the authorization acquisition request includes the identification information of the user corresponding to the mobile terminal, the identification information of the smart lock and the operation instruction; S302, the system management backend queries the user operation authority based on the user identification information, and queries the smart lock operation authority requirement information based on the smart lock identification information; S303: The system management background decides whether to send a dynamic authorization instruction to the mobile terminal according to the operation instruction, user operation authority and smart lock operation authority requirement information.
4. A method for safety management and control of NFC passive locks in substations according to claim 3, characterized in that: After sending the dynamic authorization instruction to the mobile terminal, the system management background records the corresponding operation instruction into the historical operation instruction set.
5. A method for safety management and control of NFC passive locks in substations according to claim 3, characterized in that: The steps between step S302 and step S303 also include the following steps: S401, the system management backend determines the corresponding location according to the identification information of the smart lock; S402, the system management backend connects to the situation awareness module deployed at the corresponding place according to the corresponding place of the smart lock, and obtains the real-time security situation information of the corresponding place; S403. The system management background determines whether the access permission of the place corresponding to the smart lock has changed based on the real-time security situation information, and determines whether the user can enter the place corresponding to the smart lock based on the access permission of the place corresponding to the smart lock and the user's operation permission. If so, execute step S303.
6. A method for safety management and control of NFC passive locks in substations according to claim 5, characterized in that: The smart lock verifies the dynamic authorization instruction, which specifically includes the following steps: S501, obtaining a dynamic authorization instruction and an operation instruction sent by a mobile terminal, and obtaining dynamic information from the mobile terminal; S502, integrating its own MAC address with the operation instruction and dynamic information to obtain an integrated string, locally inputting the integrated string into a preset algorithm for operation, and using the operation result as an instruction comparison item; S503: Compare the instruction comparison item with the dynamic authorization instruction. If they are consistent, the operation instruction is executed; otherwise, the operation instruction is not executed.
Citation Information
Patent Citations
IPA security certification-based access control system
CN101599188A
Passive smart lock system
CN103489245A
Situation awareness system based on intelligent video analysis technology
CN105611253A
Intelligent switch lock system based on intelligent mobile terminal
CN106340087A
Outer lock signal indication system for electric back door lock
CN107448075A
