CN114299645A - Encryption communication method for padlock of Internet of things - Google Patents
Encryption communication method for padlock of Internet of things Download PDFInfo
- Publication number
- CN114299645A CN114299645A CN202210030078.2A CN202210030078A CN114299645A CN 114299645 A CN114299645 A CN 114299645A CN 202210030078 A CN202210030078 A CN 202210030078A CN 114299645 A CN114299645 A CN 114299645A
- Authority
- CN
- China
- Prior art keywords
- intelligent terminal
- encryption
- intelligent
- data
- ciphertext
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000004891 communication Methods 0.000 title claims abstract description 21
- 238000013475 authorization Methods 0.000 claims abstract description 3
- 238000012423 maintenance Methods 0.000 description 4
- 230000007547 defect Effects 0.000 description 2
- 230000002950 deficient Effects 0.000 description 1
- 238000013467 fragmentation Methods 0.000 description 1
- 238000006062 fragmentation reaction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Images
Landscapes
- Lock And Its Accessories (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an encryption communication method of an Internet of things padlock, which is characterized in that an APP is installed in intelligent terminal equipment, after system authorization, the APP enters the intelligent terminal equipment, and is connected with the Internet of things padlock in a USB (universal serial bus) data line, nfc or Bluetooth mode and the like to control a switch, and meanwhile, data communication between the equipment and a terminal is encrypted to prevent the equipment from being cracked and stolen by people. The system is composed of an intelligent lock, an encryption part, a server and an intelligent terminal APP, wherein the intelligent lock and the intelligent terminal APP are cores of products, and an encryption algorithm and the server are mainly responsible for encryption and decryption and identity authentication of the intelligent lock. The method can open and close the padlock without an entity key through an intelligent terminal, enterprises do not need to manage the entity key, authorized operation can be performed on an unlocking person in real time, and real-time locking and unlocking information can be obtained. Meanwhile, in order to solve the problem that the lock is stolen by others, unlocking communication needs to be carried out in an encryption mode.
Description
Technical Field
The invention relates to an encryption communication method, in particular to an encryption communication method of an Internet of things padlock.
Background
The traditional padlock adopts an entity key to carry out locking and unlocking operation, the management of the entity key becomes a difficult point of enterprises, and the massive traditional mechanical locks have the defects of high key management difficulty, poor safety, high personnel maintenance cost and many management loopholes. The maintenance personnel work load is big, need carry many keys.
The control means is deficient: the locks are distributed in a city in a remarkable fragmentation mode, the box body or the lock body is damaged and moved, and the like, so that the management center cannot update the information of the locks in time. Management is in the form of a tangle that is difficult to manage and maintain, despite insecurity.
The monitoring method is lack: because of constructor, the change of patrolling and examining personnel, the key appears duplicating easily, loses reason leak very big, can't carry out effectual supervision to the personnel of unblanking, time, authority.
The maintenance efficiency is very low: relying on manual maintenance and management, there is a lack of normative support systems.
Therefore, developing an encryption communication method for the padlock of the internet of things becomes a problem to be solved urgently by those skilled in the art.
Disclosure of Invention
In order to solve the defects, the invention provides an encryption communication method of an internet of things padlock.
The above object of the present invention is achieved by the following technical means: an encryption communication method of an Internet of things padlock is characterized in that: the method comprises the following steps:
s1: after the intelligent terminal and the intelligent lock are successfully connected, reading specific data played (plaintext) in the intelligent lock, and encrypting by adopting a CA (conditional access) algorithm to form a ciphertext;
s2: the method comprises the steps that an intelligent terminal APP pushes acquired plain text data to a server, the server encrypts the data to form a ciphertext, and the ciphertext is stored in a database to be used as an encryption and decryption private key;
s3: the method comprises the steps that an intelligent terminal APP sends a command to an intelligent lock, the command data are encrypted according to a ciphertext data private key acquired from a server, an encrypted command string is generated and sent to the intelligent lock;
s4: after receiving the confidential command string, the intelligent lock reads a specific play (plaintext) of the intelligent lock, then performs encryption operation by adopting an encryption algorithm the same as that of the intelligent terminal APP to form a ciphertext (ciphertext), and decrypts the received encrypted string as a private key to obtain a command to be operated and execute the command;
s5: after the command is executed, the intelligent lock encrypts data needing to be transmitted back to the intelligent terminal APP by using a ciphertext (ciphertext) to form a returned encrypted string, and transmits the returned data to the server for encryption operation to obtain actual returned data;
s6: and the intelligent terminal APP displays the execution result of the command according to the returned data.
Further, in step S1, the intelligent terminal and the intelligent lock are linked by installing an APP in the intelligent terminal device, and after the system is authorized, the intelligent terminal and the intelligent lock enter the APP and are connected with the padlock of the internet of things by means of a USB data line, nfc, bluetooth or the like.
Further, the system is composed of an intelligent lock (device), an encryption (encrypt), a server (server) and an intelligent terminal APP (client).
The invention can prevent the data from stealing or leaking. The integrity of the data is guaranteed, and the data transmitted by communication is prevented from being tampered. And the identity of the two communication parties is confirmed to ensure the data source and the legal user.
Compared with the prior art, the invention has the advantages that: the method can open and close the padlock without an entity key through an intelligent terminal, enterprises do not need to manage the entity key, authorized operation can be performed on an unlocking person in real time, and real-time locking and unlocking information can be obtained. Meanwhile, in order to solve the problem that the lock is stolen by others, unlocking communication needs to be carried out in an encryption mode.
Drawings
Fig. 1 is a flow chart illustrating an encrypted communication method according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
According to the invention, the APP is installed in the intelligent terminal equipment, after system authorization, the APP enters and is connected with the padlock of the Internet of things in a USB data line, nfc or Bluetooth mode and the like, the switch is controlled, and meanwhile, data communication between the equipment and the terminal is encrypted, so that the situation that the equipment is cracked and embezzled by people is prevented. The system is composed of an intelligent lock (device), an encryption (encrypt), a server (server) and an intelligent terminal APP (client), wherein the intelligent lock and the intelligent terminal APP are cores of products, and an encryption algorithm and the server are mainly responsible for encryption and decryption and identity authentication of the intelligent lock.
As shown in fig. 1, an encryption communication method for a padlock of the internet of things is characterized in that: the method comprises the following steps:
s1: after the intelligent terminal and the intelligent lock are successfully connected, reading specific data played (plaintext) in the intelligent lock, and encrypting by adopting a CA (conditional access) algorithm to form a ciphertext;
s2: the method comprises the steps that an intelligent terminal APP pushes acquired plain text data to a server, the server encrypts the data to form a ciphertext, and the ciphertext is stored in a database to be used as an encryption and decryption private key;
s3: the method comprises the steps that an intelligent terminal APP sends a command to an intelligent lock, the command data are encrypted according to a ciphertext data private key acquired from a server, an encrypted command string is generated and sent to the intelligent lock;
s4: after receiving the confidential command string, the intelligent lock reads a specific play (plaintext) of the intelligent lock, then performs encryption operation by adopting an encryption algorithm the same as that of the intelligent terminal APP to form a ciphertext (ciphertext), and decrypts the received encrypted string as a private key to obtain a command to be operated and execute the command;
s5: after the command is executed, the intelligent lock encrypts data needing to be transmitted back to the intelligent terminal APP by using a ciphertext (ciphertext) to form a returned encrypted string, and transmits the returned data to the server for encryption operation to obtain actual returned data;
s6: and the intelligent terminal APP displays the execution result of the command according to the returned data.
The invention can prevent the data from stealing or leaking. The integrity of the data is guaranteed, and the data transmitted by communication is prevented from being tampered. And the identity of the two communication parties is confirmed to ensure the data source and the legal user.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (3)
1. An encryption communication method of an Internet of things padlock is characterized in that: the method comprises the following steps:
s1: after the intelligent terminal and the intelligent lock are successfully connected, reading specific data played (plaintext) in the intelligent lock, and encrypting by adopting a CA (conditional access) algorithm to form a ciphertext;
s2: the method comprises the steps that an intelligent terminal APP pushes acquired plain text data to a server, the server encrypts the data to form a ciphertext, and the ciphertext is stored in a database to be used as an encryption and decryption private key;
s3: the method comprises the steps that an intelligent terminal APP sends a command to an intelligent lock, the command data are encrypted according to a ciphertext data private key acquired from a server, an encrypted command string is generated and sent to the intelligent lock;
s4: after receiving the confidential command string, the intelligent lock reads a specific play (plaintext) of the intelligent lock, then performs encryption operation by adopting an encryption algorithm the same as that of the intelligent terminal APP to form a ciphertext (ciphertext), and decrypts the received encrypted string as a private key to obtain a command to be operated and execute the command;
s5: after the command is executed, the intelligent lock encrypts data needing to be transmitted back to the intelligent terminal APP by using a ciphertext (ciphertext) to form a returned encrypted string, and transmits the returned data to the server for encryption operation to obtain actual returned data;
s6: and the intelligent terminal APP displays the execution result of the command according to the returned data.
2. The encryption communication method of the padlock of the internet of things according to claim 1, wherein: in step S1, the intelligent terminal and the intelligent lock are linked by installing an APP in the intelligent terminal equipment, and after the system authorization, the intelligent terminal and the intelligent lock enter the APP and are connected with the padlock of the Internet of things in a USB data line, nfc or Bluetooth mode and the like.
3. The encryption communication method of the padlock of the internet of things according to claim 2, wherein: the system is composed of an intelligent lock (device), an encryption (encrypt), a server (server) and an intelligent terminal APP (client).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210030078.2A CN114299645A (en) | 2022-01-12 | 2022-01-12 | Encryption communication method for padlock of Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210030078.2A CN114299645A (en) | 2022-01-12 | 2022-01-12 | Encryption communication method for padlock of Internet of things |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114299645A true CN114299645A (en) | 2022-04-08 |
Family
ID=80977101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210030078.2A Pending CN114299645A (en) | 2022-01-12 | 2022-01-12 | Encryption communication method for padlock of Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114299645A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116563985A (en) * | 2023-07-10 | 2023-08-08 | 深圳市旭子科技有限公司 | Task processing method and system based on Internet of things lock |
CN116994364A (en) * | 2023-08-29 | 2023-11-03 | 深圳市亲邻科技有限公司 | Entrance guard card-free data loading interaction method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106780917A (en) * | 2017-01-11 | 2017-05-31 | 上海共佰克智能科技有限公司 | The control method and system of lock |
CN108055235A (en) * | 2017-11-01 | 2018-05-18 | 华中科技大学 | A kind of control method of smart lock, relevant device and system |
CN109448197A (en) * | 2018-12-18 | 2019-03-08 | 杭州高锦科技有限公司 | A kind of cloud intelligent lock system and key management method based on multi-enciphering mode |
CN109525391A (en) * | 2018-10-14 | 2019-03-26 | 浙江鸿利锁业有限公司 | A kind of method that server is synchronous with lockset information security |
CN110070650A (en) * | 2019-04-25 | 2019-07-30 | 成都华立达信息技术有限公司 | A kind of intelligent unlocking method and system of intelligent distribution box |
-
2022
- 2022-01-12 CN CN202210030078.2A patent/CN114299645A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106780917A (en) * | 2017-01-11 | 2017-05-31 | 上海共佰克智能科技有限公司 | The control method and system of lock |
CN108055235A (en) * | 2017-11-01 | 2018-05-18 | 华中科技大学 | A kind of control method of smart lock, relevant device and system |
CN109525391A (en) * | 2018-10-14 | 2019-03-26 | 浙江鸿利锁业有限公司 | A kind of method that server is synchronous with lockset information security |
CN109448197A (en) * | 2018-12-18 | 2019-03-08 | 杭州高锦科技有限公司 | A kind of cloud intelligent lock system and key management method based on multi-enciphering mode |
CN110070650A (en) * | 2019-04-25 | 2019-07-30 | 成都华立达信息技术有限公司 | A kind of intelligent unlocking method and system of intelligent distribution box |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116563985A (en) * | 2023-07-10 | 2023-08-08 | 深圳市旭子科技有限公司 | Task processing method and system based on Internet of things lock |
CN116563985B (en) * | 2023-07-10 | 2023-09-05 | 深圳市旭子科技有限公司 | Task processing method and system based on Internet of things lock |
CN116994364A (en) * | 2023-08-29 | 2023-11-03 | 深圳市亲邻科技有限公司 | Entrance guard card-free data loading interaction method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107978047B (en) | Use the methods, devices and systems of password unlocking | |
CN114299645A (en) | Encryption communication method for padlock of Internet of things | |
CN104282061B (en) | Unlocking method for safety intelligent lock system | |
DE102013215303A1 (en) | Mobile electronic device | |
CN112994893B (en) | Secret key burning method in chip production test stage | |
CN104282060B (en) | A kind of method for unlocking of safety intelligent lock system | |
CN105471903A (en) | Method for generating electronic lock activation information and related system, device and unlocking method | |
CN110086864B (en) | Method for offline management and control by using double keys of lock | |
CN108288315A (en) | A kind of smart lock control system, open method and storage medium | |
WO2019204954A1 (en) | Smart lock system | |
CN112002043A (en) | Intelligent lock control method and system based on NB-IOT | |
CN106934886A (en) | A kind of dynamic puzzle-lock OTC keys are set and update method | |
CN114267100A (en) | Unlocking authentication method and device, security chip and electronic key management system | |
CN1953366B (en) | Password management method and system for intelligent secret key device | |
CN112530053B (en) | Control method and system of intelligent lock, lock equipment, server and storage medium | |
CN111236105B (en) | Parking space lock management method, device and system and parking space lock | |
CN114401087B (en) | Passive lock identity authentication and key agreement system based on state cryptographic algorithm | |
CN112668024B (en) | Method for preventing tampering of data at gas meter end | |
CN114255533B (en) | Intelligent lock system and implementation method thereof | |
CN112184960B (en) | Intelligent lock control method and device, intelligent lock system and storage medium | |
CN112906032B (en) | File secure transmission method, system and medium based on CP-ABE and block chain | |
CN111010388B (en) | KMS-based equipment access authentication system and method | |
JP2016040648A (en) | Reservation information management system | |
CN108345801B (en) | Ciphertext database-oriented middleware dynamic user authentication method and system | |
CN113225177A (en) | Quantum intelligent seal system and method |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20220408 |