CN112184967A - Unlocking method and system for power distribution net cage - Google Patents

Unlocking method and system for power distribution net cage Download PDF

Info

Publication number
CN112184967A
CN112184967A CN202011106847.XA CN202011106847A CN112184967A CN 112184967 A CN112184967 A CN 112184967A CN 202011106847 A CN202011106847 A CN 202011106847A CN 112184967 A CN112184967 A CN 112184967A
Authority
CN
China
Prior art keywords
information
unlocking
user equipment
intelligent lock
dynamic password
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011106847.XA
Other languages
Chinese (zh)
Inventor
杨爱璜
张运双
海龙
李洋
和磊
柳明贤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lijiang Power Supply Bureau of Yunnan Power Grid Co Ltd)
Original Assignee
Lijiang Power Supply Bureau of Yunnan Power Grid Co Ltd)
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lijiang Power Supply Bureau of Yunnan Power Grid Co Ltd) filed Critical Lijiang Power Supply Bureau of Yunnan Power Grid Co Ltd)
Priority to CN202011106847.XA priority Critical patent/CN112184967A/en
Publication of CN112184967A publication Critical patent/CN112184967A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • G07C2009/0042Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal containing a code which is changed
    • G07C2009/00476Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal containing a code which is changed dynamically
    • G07C2009/00484Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal containing a code which is changed dynamically whereby the code is a variable code
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed
    • G07C2009/00825Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed remotely by lines or wireless communication

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Lock And Its Accessories (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application discloses a method and a system for unlocking a power distribution network box, wherein user equipment encrypts acquired unlocking information by primary coding and secondary coding, generates target information and transmits the target information to a server, the server decodes and verifies the target information, if the verification is passed, the server generates a dynamic password based on a preset dynamic password rule and transmits the dynamic password to an intelligent lock, the intelligent lock generates a standard dynamic password based on a prestored dynamic password rule, and when the dynamic password is consistent with the standard dynamic password, the unlocking action is executed, the method and the system utilize a preset wireless private network to realize the wireless communication among the server, the user equipment and the intelligent lock and encode and encrypt the unlocking information transmitted by the user equipment, thereby solving the problem that the leakage of transmission data is easily caused after a secret key between the power distribution network box and the server is cracked, thereby causing a problem of runaway of the management system.

Description

Unlocking method and system for power distribution net cage
Technical Field
The invention relates to the technical field of power distribution equipment, in particular to a power distribution net cage unlocking method and system.
Background
In the power network, the power distribution net cage is the main power distribution equipment, and along with the continuous development of science and technology, the requirements of users on power supply quality and power supply reliability are higher and higher. In order to improve power supply quality and power supply reliability and realize convenient and efficient management of a power distribution box, the power distribution box, user equipment and a server are generally combined to form a power distribution box management system based on the internet of things, so that the user equipment can communicate with the server and the power distribution box in a wireless mode, a user sends an unlocking instruction to the server in a data transmission mode through the user equipment, and the unlocking instruction is forwarded to the power distribution box by the server to enable the power distribution box to execute unlocking action.
At present, when a power distribution box management system based on the internet of things is managed, an AES (advanced encryption standard) encryption mode is often adopted to encrypt transmission data among a power distribution box, user equipment and a server. But because the secret key of encrypting between distribution box and the server is fixed, so cause the revealing of transmission data easily after the secret key is cracked, and then cause the out of control based on thing networking distribution box management system, the potential safety hazard is very big.
Disclosure of Invention
In order to solve the problem that the encrypted secret key between the power distribution network box and the server is fixed, leakage of transmission data is easily caused after the secret key is cracked, and then the out-of-control problem of the power distribution network box management system based on the internet of things is caused, the application discloses a power distribution network box unlocking method and system through the following embodiments.
The application discloses in a first aspect, a distribution network box unlocking method, which is applied to a distribution network box management system based on the internet of things, the distribution network box management system based on the internet of things comprises a distribution network box, user equipment, an intelligent lock and a server, the intelligent lock is installed on the distribution network box, the user equipment, the intelligent lock and the server are in communication connection through a preset wireless private network, and the method comprises the following steps:
the method comprises the steps that user equipment obtains unlocking information and carries out primary coding on the unlocking information to obtain primary coding information, wherein the unlocking information comprises an unlocking instruction;
the user equipment decodes the primary coding information to obtain decoding information;
the user equipment carries out secondary coding on the decoding information to obtain secondary coding information;
the user equipment encrypts the secondary coding information to generate target information and sends the target information to a server;
the server acquires the target information, decodes the target information and verifies the decoded target information;
if the verification is passed, the server generates a dynamic password based on a preset dynamic password rule and sends the dynamic password to the intelligent lock;
the intelligent lock generates a standard dynamic password based on a pre-stored dynamic password rule, and when the dynamic password is consistent with the standard dynamic password, the intelligent lock executes an unlocking action.
Optionally, the communication protocol corresponding to the communication connection includes: the user equipment adopts an SSL encryption mode to encrypt a channel of the communication protocol.
Optionally, when the user equipment performs primary encoding on the unlocking information and performs secondary encoding on the decoding information, the following encoding method is used: reverse non-return-to-zero encoding, manchester encoding, miller encoding, or modified miller encoding.
Optionally, the encrypting, by the user equipment, the secondary encoding information to generate target information, and sending the target information to a server includes:
the user equipment acquires a preset first secret key, a preset second secret key and a preset third secret key;
the user equipment encrypts the secondary coding information according to the first secret key to obtain a first ciphertext;
the user equipment decrypts the first ciphertext according to the second secret key to obtain a first plaintext;
the user equipment encrypts the first plaintext according to the third secret key to obtain the target information;
and the user equipment sends the target information to a server.
Optionally, after the intelligent lock performs the unlocking action, the method further includes:
the server sends the target information to the intelligent lockset;
the intelligent lock decompresses the target information to obtain the Internet of things data of the intelligent lock;
and the intelligent lock adds the data of the Internet of things to an intelligent lock information database corresponding to the identification according to the identification of the intelligent lock.
The second aspect of the application discloses a power distribution box management system based on the internet of things, the system is applied to the first aspect, and the power distribution box unlocking method comprises the following steps: the intelligent lock is installed on the power distribution net box, and the power distribution net box, the user equipment, the intelligent lock and the server are in communication connection through a preset wireless private network;
wherein the user equipment comprises:
the primary coding module is used for acquiring unlocking information and carrying out primary coding on the unlocking information to obtain primary coding information, wherein the unlocking information comprises an unlocking instruction;
the decoding module is used for decoding the primary coding information to obtain decoding information;
the secondary coding module is used for carrying out secondary coding on the decoding information to obtain secondary coding information;
the encryption module is used for encrypting the secondary coding information to generate target information and sending the target information to a server;
the server includes:
the verification module is used for acquiring the target information, decoding the target information and verifying the decoded target information;
the dynamic password generation module is used for generating a dynamic password based on a preset dynamic password rule and sending the dynamic password to the intelligent lock if the verification is passed;
the intelligent lockset comprises:
and the unlocking module is used for generating a standard dynamic password based on a prestored dynamic password rule, and when the dynamic password is consistent with the standard dynamic password, the intelligent lock executes an unlocking action.
Optionally, the communication protocol corresponding to the communication connection includes: the user equipment adopts an SSL encryption mode to encrypt a channel of the communication protocol.
Optionally, when the user equipment performs primary encoding on the unlocking information and performs secondary encoding on the decoding information, the following encoding method is used: reverse non-return-to-zero encoding, manchester encoding, miller encoding, or modified miller encoding.
Optionally, the encryption module includes:
the key obtaining unit is used for obtaining a preset first key, a preset second key and a preset third key;
a first ciphertext unit, configured to encrypt the secondary encoding information according to the first key to obtain a first ciphertext;
a first plaintext obtaining unit, configured to decrypt the first ciphertext according to the second key to obtain a first plaintext;
a target information obtaining unit, configured to perform encryption processing on the first plaintext according to the third key to obtain the target information;
and the first target information sending unit is used for sending the target information to a server.
Optionally, the server further includes:
the second target information sending module is used for sending the target information to the intelligent lock after the intelligent lock executes unlocking action;
the intelligent lockset further comprises:
the decompression module is used for decompressing the target information to obtain the Internet of things data of the intelligent lock;
and the adding database module is used for adding the Internet of things data into an intelligent lock information database corresponding to the identification according to the identification of the intelligent lock.
The application discloses a method and a system for unlocking a power distribution network box, when user equipment receives input unlocking information, firstly, primary coding and secondary coding are carried out on the unlocking information, then, the secondary coding information is encrypted, target information is generated and sent to a server, the server decodes and verifies the target information, if the verification is passed, the server generates a dynamic password based on a preset dynamic password rule and sends the dynamic password to an intelligent lock, the intelligent lock generates a standard dynamic password based on a prestored dynamic password rule, when the dynamic password is consistent with the standard dynamic password, an unlocking action is executed, the method and the system realize wireless communication among the server, the user equipment and the intelligent lock by utilizing a preset wireless private network, encode and encrypt the unlocking information sent by the user equipment, and solve the problem that the encrypted secret key between the power distribution network box and the server is fixed, the leakage of transmission data is easily caused after the secret key is cracked, and then the problem of out of control based on the Internet of things distribution box management system is caused, so that the safety of data transmission is improved, and the safety of data transmission between user equipment and a server is ensured.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a general working flow of a power distribution network box unlocking method disclosed in the embodiment of the present application;
fig. 2 is a flowchart of a target information generation method in the power distribution network box unlocking method disclosed in the embodiment of the present application;
fig. 3 is a flowchart of another embodiment of a method for unlocking a distribution box according to the present disclosure;
fig. 4 is a schematic structural diagram of an internet of things-based power distribution box management system disclosed in an embodiment of the present application.
Detailed Description
In order to solve the problem that the encrypted secret key between the power distribution network box and the server is fixed, leakage of transmission data is easily caused after the secret key is cracked, and then the out-of-control problem of the power distribution network box management system based on the internet of things is caused, the application discloses a power distribution network box unlocking method and system through the following embodiments.
The first embodiment of the application discloses a distribution net box unlocking method, the method is applied to a distribution net box management system based on the internet of things, the distribution net box management system based on the internet of things comprises a distribution net box, user equipment, an intelligent lock and a server, the intelligent lock is installed on the distribution net box, the user equipment, the intelligent lock and the server are in communication connection through a preset wireless private network, and the method comprises the following steps:
and S1, the user equipment acquires unlocking information, and primary coding is carried out on the unlocking information to obtain primary coding information, wherein the unlocking information comprises an unlocking instruction.
The unlocking information refers to a signal which is sent to a server by a user through user equipment (such as a mobile phone, a tablet and the like) and is used for unlocking an intelligent lock of the power distribution network box. In the process of unlocking information transmission, in order to prevent the unlocking information from being interfered or collided, the unlocking information is coded in the embodiment, and the unlocking information is coded into digital information more suitable for transmission, namely coded information.
And step S2, the user equipment decodes the primary coding information to obtain decoding information.
And step S3, the user equipment carries out secondary coding on the decoding information to obtain secondary coding information.
In steps S2 and S3, the ue decodes the primary encoded information using the repeater and then performs secondary encoding, thereby extending the data transmission distance for subsequent improvement of data transmission efficiency.
And step S4, the user equipment encrypts the secondary coding information to generate target information and sends the target information to a server.
Specifically, the user equipment encrypts the coded information, so that the information on the communication line is effectively prevented from being leaked, and the integrity of the coded information is verified, so that the security of unlocking information transmission is improved.
Step S5, the server acquires the target information, decodes the target information, and verifies the decoded target information.
After receiving the target information, the server needs to decode the encoded target information and convert the signal form of the target information in order to quickly verify the unlocking information, wherein the decoding method corresponds to the encoding method.
And step S6, if the verification is passed, the server generates a dynamic password based on a preset dynamic password rule and sends the dynamic password to the intelligent lock.
The dynamic password is a random code automatically generated by the server. And after the target information passes the verification, the server automatically generates a dynamic password according to a prestored dynamic password rule and sends the dynamic password to an intelligent lock which is communicated with the server through a preset wireless private network.
And step S7, the intelligent lock generates a standard dynamic password based on a pre-stored dynamic password rule, and when the dynamic password is consistent with the standard dynamic password, the intelligent lock executes an unlocking action.
After the intelligent lock receives the dynamic password, the standard dynamic password is generated according to the prestored dynamic password rule, matching verification is carried out by using the standard dynamic password and the dynamic password generated by the server, and when the dynamic password is consistent with the standard dynamic password, namely the matching verification is successful, unlocking action is carried out. The wireless communication among the server, the user equipment and the intelligent lock is realized through the preset wireless private network, and the unlocking information sent by the user equipment is coded and encrypted, so that the error rate of data transmission is reduced, the safety of data transmission is improved, and the safety of data transmission between the user equipment and the server is ensured.
The application discloses a method and a system for unlocking a power distribution network box, when user equipment receives input unlocking information, firstly, primary coding and secondary coding are carried out on the unlocking information, then, the secondary coding information is encrypted, target information is generated and sent to a server, the server decodes and verifies the target information, if the verification is passed, the server generates a dynamic password based on a preset dynamic password rule and sends the dynamic password to an intelligent lock, the intelligent lock generates a standard dynamic password based on a prestored dynamic password rule, when the dynamic password is consistent with the standard dynamic password, an unlocking action is executed, the method and the system realize wireless communication among the server, the user equipment and the intelligent lock by utilizing a preset wireless private network, encode and encrypt the unlocking information sent by the user equipment, and solve the problem that the encrypted secret key between the power distribution network box and the server is fixed, the leakage of transmission data is easily caused after the secret key is cracked, and then the problem of out of control based on the Internet of things distribution box management system is caused, so that the safety of data transmission is improved, and the safety of data transmission between user equipment and a server is ensured.
Further, the preset wireless private network includes: bluetooth, wireless Internet protocol (Wi-Fi), Zigbee protocol (Zigbee), general packet radio service (GPRS/CDMA), and 3G/4G/5G networks.
Further, the communication protocol corresponding to the communication connection includes: the user equipment encrypts a channel of the communication protocol in an SSL encryption mode, and is favorable for guaranteeing the smoothness of a communication channel of the Internet of things by adopting various wireless networks and communication protocols.
The SSL encryption mode is operated above a transmission control protocol (TCP/IP) layer and below an application layer and provides an encryption data channel for an application program, so that an encryption key between user equipment and a server is prevented from being stolen by non-professionals.
It should be noted that SSL encryption is only used to encrypt channels and not data. For example, taking an example that the user equipment sends the login request to the server in a communication manner, the user equipment encrypts the login request by using an AES encryption manner and a public key, and then encrypts the connection channel by using an SSL encryption manner. After receiving the login request, the server firstly decrypts by using an SSL decryption mode, and then encrypts by using an AES decryption mode together with a public key, so as to obtain the login request.
Further, when the user equipment performs primary encoding on the unlocking information and performs secondary encoding on the decoding information, the following encoding method is used: reverse non-return-to-zero encoding, manchester encoding, miller encoding, or modified miller encoding.
In the embodiment, the signal output by the signal source is converted by using the signal source code, and the unlocking information is coded by the user equipment by adopting a coding method of reverse non-return-to-zero coding, Manchester coding, Miller coding and Miller code correction, so that the power distribution box management system based on the Internet of things has certain error correction capability and interference resistance capability, the occurrence of unlocking information error codes can be greatly avoided, and the error rate of data transmission is reduced.
Further, the user equipment encrypts the secondary coded information to generate target information, and sends the target information to a server, referring to a flowchart of a target information generation method in the power distribution network box unlocking method shown in fig. 2, the method includes:
step S41, the user equipment obtains a preset first key, a preset second key, and a preset third key.
And step S42, the user equipment encrypts the secondary encoding information according to the first key to obtain a first ciphertext.
And step S43, the user equipment decrypts the first ciphertext according to the second key to obtain a first plaintext.
Step S44, the user equipment encrypts the first plaintext according to the third key, so as to obtain the target information.
And step S45, the user equipment sends the target information to a server.
In this embodiment, the 3DES encryption algorithm is used to encrypt the encoded information, the 3 56-bit keys are used to encrypt the data three times, and the mode of encrypting first, then decrypting and then encrypting is adopted, so that the target information can be prevented from being decrypted, and the security of data transmission is improved.
Further, after the intelligent lock performs the unlocking action, referring to a flowchart of another embodiment in a method for unlocking an electrical distribution box, shown in fig. 3, the method further includes:
and step S81, the server sends the target information to the intelligent lock.
And S82, decompressing the target information by the intelligent lock to obtain the Internet of things data of the intelligent lock.
And S83, the intelligent lock adds the Internet of things data to an intelligent lock information database corresponding to the identification according to the identification of the intelligent lock.
In this embodiment, the intelligent lock decompresses the target information to obtain the internet of things data of the intelligent lock, and according to the identifier of the intelligent lock, the internet of things data is added to the intelligent lock information database corresponding to the identifier, so that the information of the intelligent lock is further processed based on the internet of things data in the following process, and the functions of data storage and authentication are achieved.
The following are embodiments of the system disclosed herein for performing the above-described method embodiments. For details not disclosed in the system embodiment, refer to the method embodiment.
A second embodiment of the present application discloses a power distribution box management system based on the internet of things, where the system is applied to the power distribution box unlocking method described in the first embodiment, referring to a schematic structural diagram shown in fig. 4, and the system includes: distribution box 10, user equipment 20, intelligent tool to lock 30 and server 40, intelligent tool to lock 30 install in on the distribution box 10, distribution box 10 user equipment 20 intelligent tool to lock 30 and server 40 carries out communication connection through predetermineeing wireless private network.
Wherein the user equipment 20 comprises:
the primary coding module 201 is configured to acquire unlocking information, and perform primary coding on the unlocking information to obtain primary coding information, where the unlocking information includes an unlocking instruction.
The decoding module 202 is configured to decode the primary encoded information to obtain decoded information.
And the secondary encoding module 203 is configured to perform secondary encoding on the decoded information to obtain secondary encoded information.
And the encryption module 204 is configured to encrypt the secondary encoding information, generate target information, and send the target information to the server 40.
The server 40 includes:
the verification module 401 is configured to obtain the target information, decode the target information, and verify the decoded target information.
And the dynamic password generating module 402 is configured to generate a dynamic password based on a preset dynamic password rule if the verification is passed, and send the dynamic password to the intelligent lock 30.
The intelligent lock 30 includes:
the unlocking module 301 is configured to generate a standard dynamic password based on a pre-stored dynamic password rule, and when the dynamic password is consistent with the standard dynamic password, the intelligent lock 30 performs an unlocking action.
Further, the communication protocol corresponding to the communication connection includes: the user equipment adopts an SSL encryption mode to encrypt a channel of the communication protocol.
Further, when the user equipment 20 performs primary encoding on the unlocking information and performs secondary encoding on the decoding information, the following encoding method is used: reverse non-return-to-zero encoding, manchester encoding, miller encoding, or modified miller encoding.
Further characterized in that said encryption module 204 comprises:
the key obtaining unit is used for obtaining a preset first key, a preset second key and a preset third key.
And the first ciphertext unit is used for encrypting the secondary coding information according to the first key to obtain a first ciphertext.
And the first plaintext acquisition unit is used for decrypting the first ciphertext according to the second key to obtain a first plaintext.
And the target information obtaining unit is used for encrypting the first plaintext according to the third secret key to obtain the target information.
And the first target information sending unit is used for sending the target information to a server.
Further, the server 40 further includes:
and a second target information sending module, configured to send the target information to the intelligent lock 30 after the intelligent lock 30 executes an unlocking action.
The intelligent lock 30 further includes:
and the decompression module is used for decompressing the target information to obtain the data of the internet of things of the intelligent lock 30.
And the adding database module is used for adding the Internet of things data into an intelligent lock information database corresponding to the identification according to the identification of the intelligent lock 30.
The present application has been described in detail with reference to specific embodiments and illustrative examples, but the description is not intended to limit the application. Those skilled in the art will appreciate that various equivalent substitutions, modifications or improvements may be made to the presently disclosed embodiments and implementations thereof without departing from the spirit and scope of the present disclosure, and these fall within the scope of the present disclosure. The protection scope of this application is subject to the appended claims.

Claims (10)

1. A power distribution net cage unlocking method is applied to a power distribution net cage management system based on the Internet of things and is characterized in that the power distribution net cage management system based on the Internet of things comprises a power distribution net cage, user equipment, an intelligent lock and a server, the intelligent lock is installed on the power distribution net cage, the user equipment, the intelligent lock and the server are in communication connection through a preset wireless private network, and the method comprises the following steps:
the method comprises the steps that user equipment obtains unlocking information and carries out primary coding on the unlocking information to obtain primary coding information, wherein the unlocking information comprises an unlocking instruction;
the user equipment decodes the primary coding information to obtain decoding information;
the user equipment carries out secondary coding on the decoding information to obtain secondary coding information;
the user equipment encrypts the secondary coding information to generate target information and sends the target information to a server;
the server acquires the target information, decodes the target information and verifies the decoded target information;
if the verification is passed, the server generates a dynamic password based on a preset dynamic password rule and sends the dynamic password to the intelligent lock;
the intelligent lock generates a standard dynamic password based on a pre-stored dynamic password rule, and when the dynamic password is consistent with the standard dynamic password, the intelligent lock executes an unlocking action.
2. The method for unlocking the power distribution network box according to claim 1, wherein the communication protocol corresponding to the communication connection comprises: the user equipment adopts an SSL encryption mode to encrypt a channel of the communication protocol.
3. The power distribution network box unlocking method according to claim 1, wherein when the user equipment performs primary encoding on the unlocking information and performs secondary encoding on the decoding information, the following encoding method is used: reverse non-return-to-zero encoding, manchester encoding, miller encoding, or modified miller encoding.
4. The power distribution network box unlocking method according to claim 1, wherein the user equipment encrypts the secondary coded information, generates target information, and sends the target information to a server, and the method comprises the following steps:
the user equipment acquires a preset first secret key, a preset second secret key and a preset third secret key;
the user equipment encrypts the secondary coding information according to the first secret key to obtain a first ciphertext;
the user equipment decrypts the first ciphertext according to the second secret key to obtain a first plaintext;
the user equipment encrypts the first plaintext according to the third secret key to obtain the target information;
and the user equipment sends the target information to a server.
5. The method of claim 1, wherein after the intelligent lock performs the unlocking action, the method further comprises:
the server sends the target information to the intelligent lockset;
the intelligent lock decompresses the target information to obtain the Internet of things data of the intelligent lock;
and the intelligent lock adds the data of the Internet of things to an intelligent lock information database corresponding to the identification according to the identification of the intelligent lock.
6. An Internet of things-based power distribution box management system, which is applied to the unlocking method of the power distribution box as claimed in any one of claims 1 to 5, and comprises the following steps: the intelligent lock is installed on the power distribution net box, and the power distribution net box, the user equipment, the intelligent lock and the server are in communication connection through a preset wireless private network;
wherein the user equipment comprises:
the primary coding module is used for acquiring unlocking information and carrying out primary coding on the unlocking information to obtain primary coding information, wherein the unlocking information comprises an unlocking instruction;
the decoding module is used for decoding the primary coding information to obtain decoding information;
the secondary coding module is used for carrying out secondary coding on the decoding information to obtain secondary coding information;
the encryption module is used for encrypting the secondary coding information to generate target information and sending the target information to a server;
the server includes:
the verification module is used for acquiring the target information, decoding the target information and verifying the decoded target information;
the dynamic password generation module is used for generating a dynamic password based on a preset dynamic password rule and sending the dynamic password to the intelligent lock if the verification is passed;
the intelligent lockset comprises:
and the unlocking module is used for generating a standard dynamic password based on a prestored dynamic password rule, and when the dynamic password is consistent with the standard dynamic password, the intelligent lock executes an unlocking action.
7. The internet of things-based power distribution box management system according to claim 6, wherein the communication protocol corresponding to the communication connection comprises: the user equipment adopts an SSL encryption mode to encrypt a channel of the communication protocol.
8. The internet of things-based power distribution box management system according to claim 6, wherein when the user equipment performs primary encoding on the unlocking information and performs secondary encoding on the decoding information, the following encoding method is used: reverse non-return-to-zero encoding, manchester encoding, miller encoding, or modified miller encoding.
9. The internet of things-based power distribution box management system according to claim 6, wherein the encryption module comprises:
the key obtaining unit is used for obtaining a preset first key, a preset second key and a preset third key;
a first ciphertext unit, configured to encrypt the secondary encoding information according to the first key to obtain a first ciphertext;
a first plaintext obtaining unit, configured to decrypt the first ciphertext according to the second key to obtain a first plaintext;
a target information obtaining unit, configured to perform encryption processing on the first plaintext according to the third key to obtain the target information;
and the first target information sending unit is used for sending the target information to a server.
10. The internet of things-based power distribution box management system according to claim 6, wherein the server further comprises:
the second target information sending module is used for sending the target information to the intelligent lock after the intelligent lock executes unlocking action;
the intelligent lockset further comprises:
the decompression module is used for decompressing the target information to obtain the Internet of things data of the intelligent lock;
and the adding database module is used for adding the Internet of things data into an intelligent lock information database corresponding to the identification according to the identification of the intelligent lock.
CN202011106847.XA 2020-10-16 2020-10-16 Unlocking method and system for power distribution net cage Pending CN112184967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011106847.XA CN112184967A (en) 2020-10-16 2020-10-16 Unlocking method and system for power distribution net cage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011106847.XA CN112184967A (en) 2020-10-16 2020-10-16 Unlocking method and system for power distribution net cage

Publications (1)

Publication Number Publication Date
CN112184967A true CN112184967A (en) 2021-01-05

Family

ID=73950399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011106847.XA Pending CN112184967A (en) 2020-10-16 2020-10-16 Unlocking method and system for power distribution net cage

Country Status (1)

Country Link
CN (1) CN112184967A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114120535A (en) * 2021-12-15 2022-03-01 广东电网有限责任公司 Electricity selling management device and intelligent lock control system thereof
WO2023221950A1 (en) * 2022-05-18 2023-11-23 阿里云计算有限公司 Electronic lock processing method and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150180661A1 (en) * 2012-08-08 2015-06-25 Kabushiki Kaisha Toshiba Re-encryption key generator, re-encryption device, encryption device, decryption device, and program
CN105827576A (en) * 2015-01-05 2016-08-03 珠海汇金科技股份有限公司 Unlocking method and system based on dynamic cipher lock
US20160359581A1 (en) * 2013-12-20 2016-12-08 Orange Method for transmitting a digital signal for a marc system with a plurality of dynamic half-duplex relays, corresponding program product and relay device
CN108711209A (en) * 2018-07-19 2018-10-26 江苏恒宝智能系统技术有限公司 dynamic password generation and verification method and system
CN109087418A (en) * 2018-07-23 2018-12-25 江苏恒宝智能系统技术有限公司 A kind of intelligent unlocking method and system
CN110535968A (en) * 2019-09-07 2019-12-03 长沙北之辰智能技术有限公司 A kind of cabinet door access control system and method based on dynamic password

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150180661A1 (en) * 2012-08-08 2015-06-25 Kabushiki Kaisha Toshiba Re-encryption key generator, re-encryption device, encryption device, decryption device, and program
US20160359581A1 (en) * 2013-12-20 2016-12-08 Orange Method for transmitting a digital signal for a marc system with a plurality of dynamic half-duplex relays, corresponding program product and relay device
CN105827576A (en) * 2015-01-05 2016-08-03 珠海汇金科技股份有限公司 Unlocking method and system based on dynamic cipher lock
CN108711209A (en) * 2018-07-19 2018-10-26 江苏恒宝智能系统技术有限公司 dynamic password generation and verification method and system
CN109087418A (en) * 2018-07-23 2018-12-25 江苏恒宝智能系统技术有限公司 A kind of intelligent unlocking method and system
CN110535968A (en) * 2019-09-07 2019-12-03 长沙北之辰智能技术有限公司 A kind of cabinet door access control system and method based on dynamic password

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张维鹏: "《3DES加密算法原理》", 7 October 2019, HTTPS://BLOG.CSDN.NET/A745233700/ARTICLE/DETAILS/102316398 *
秦燊: "《基于虚拟化的计算机网络安全技术》", 30 September 2019, 延边大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114120535A (en) * 2021-12-15 2022-03-01 广东电网有限责任公司 Electricity selling management device and intelligent lock control system thereof
WO2023221950A1 (en) * 2022-05-18 2023-11-23 阿里云计算有限公司 Electronic lock processing method and apparatus

Similar Documents

Publication Publication Date Title
CN113038468B (en) Method for distributing and negotiating quantum key of wireless terminal of Internet of things
CN1753359B (en) Method of implementing SyncML synchronous data transmission
TWI418194B (en) Mobile station and base station and method for deriving traffic encryption key
CN108075879B (en) Data encryption and decryption method, device and system
CN105262772A (en) Data transmission method, data transmission system and related apparatus for data transmission method and system
WO2008145059A1 (en) A method for secure data transmission in wireless sensor network
CN101707767B (en) Data transmission method and devices
US7620186B2 (en) Method for establishing an encrypted communication by means of keys
CN105337740A (en) Identity verification method, client, relay device and server
KR101675332B1 (en) Data commincaiton method for vehicle, Electronic Control Unit and system thereof
CN107181584B (en) Asymmetric completely homomorphic encryption and key replacement and ciphertext delivery method thereof
CN112184967A (en) Unlocking method and system for power distribution net cage
CN101562516A (en) Data synchronous method, client, server and system
Armanuzzaman et al. A secure and efficient data transmission technique using quantum key distribution
CN105791258A (en) Data transmission method, terminal and open platform
CN1323523C (en) Method of forming dynamic key in radio local network
CN105007163A (en) Pre-shared key (PSK) transmitting and acquiring methods and transmitting and acquiring devices
CN101883102A (en) Link generation method
KR20180096189A (en) LPWA Module performing Encrypted Communication and method thereof
CN1649295A (en) Device and its method for end-to-end enciphering and deenciphering in clony system
CN104994107A (en) MMS message off-line analysis method based on IEC62351
CN107659405A (en) The encrypting and decrypting method that data communicate between a kind of transformer station boss station
CN111641500A (en) Encryption and decryption method for unmanned aerial vehicle wireless video transmission safety
CN101895878A (en) Dynamic password configuration based mobile communication method and system
CN109410394A (en) A kind of method for sending information and information transmitting system of intelligent door lock

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210105

RJ01 Rejection of invention patent application after publication