CN114827150B - Internet of things terminal data uplink adaptation method, system and storage medium - Google Patents
Internet of things terminal data uplink adaptation method, system and storage medium Download PDFInfo
- Publication number
- CN114827150B CN114827150B CN202210467346.7A CN202210467346A CN114827150B CN 114827150 B CN114827150 B CN 114827150B CN 202210467346 A CN202210467346 A CN 202210467346A CN 114827150 B CN114827150 B CN 114827150B
- Authority
- CN
- China
- Prior art keywords
- internet
- terminal
- things
- blockchain
- data
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 230000006978 adaptation Effects 0.000 title claims abstract description 18
- 238000013475 authorization Methods 0.000 claims abstract description 115
- 238000012986 modification Methods 0.000 claims description 7
- 230000004048 modification Effects 0.000 claims description 7
- 238000012795 verification Methods 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 2
- 210000001503 joint Anatomy 0.000 abstract description 5
- 230000009466 transformation Effects 0.000 abstract 2
- 238000002407 reforming Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000006855 networking Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y10/00—Economic sectors
- G16Y10/75—Information technology; Communication
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y40/00—IoT characterised by the purpose of the information processing
- G16Y40/50—Safety; Security of things, users, data or systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Power Engineering (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
A method, a system and a storage medium for adapting the uplink of terminal data of an Internet of things belong to the technical field of Internet of things and blockchain of a power grid system, and the problems of high difficulty and high hardware cost of adapting the reconstruction of the blockchain of the terminal data of the Internet of things are solved; the identity authorization module is matched with authorization module authentication information stored by the blockchain to authorize the access of the terminal of the Internet of things to the blockchain network and upload data, and the authorized terminal of the Internet of things uploads the data to the blockchain, so that the terminal of the Internet of things which is accessed to the blockchain is authorized by the identity authorization module after disconnection, the uploaded data is authorized by the blockchain, and the fact that the data uploaded by the terminal of the Internet of things is authentic is ensured; the identity authorization module can authorize a plurality of terminals of the Internet of things without binding the terminals of the Internet of things, and is removed after successful authentication login, so that the workload of butt joint and transformation of the existing terminals of the Internet of things is reduced, and the hardware cost of transformation and adaptation of the block chain of data uploading of the terminals of the Internet of things is reduced.
Description
Technical Field
The invention belongs to the technical field of Internet of things and blockchain of power grid systems, and relates to an Internet of things terminal data uplink adaptation method, system and storage medium.
Background
The Chinese patent application with publication number CN112487011A discloses that the original data of the Internet of things is obtained and processed, and the processed data is transmitted to a cloud platform for storage; carrying out hash calculation on the processed data to obtain a hash value, and packaging the hash value into a transaction packet; signing the transaction package in the trusted execution environment by using a private key, wherein the private key is stored in the trusted execution environment in an unreadable mode; and combining the signed transaction package with the public key and sending the transaction package to the blockchain cluster. In the invention, the transaction package signature is separated from the package and transmission of the transaction package, and the private key is stored in the trusted execution environment in an unreadable mode, so that the possibility of reading leakage of the private key is avoided. The invention mainly solves the defect that the risk of private key leakage exists in the uplink of the terminal data of the internet of things in the prior art. In the internet of things terminal data chaining system in the prior art, a public key and a private key are directly stored in the internet of things terminal, data collected by a sensor is directly chained after being signed by the private key in the terminal equipment, and the public key and the private key are stored in a manner that once the terminal equipment is broken, the private key is immediately leaked. The invention designs a technical scheme that a private key is used for signing a transaction package in a trusted execution environment, and the private key is stored in the trusted execution environment in an unreadable mode. And the management of the key is mainly focused, so that the risk of private key leakage is reduced, and the reconstruction and adaptation work of the block chain of the Internet of things equipment and the networking mode of the block chain and the Internet of things terminal are not concerned.
The Chinese patent application with publication number CN109391661A discloses that a terminal sends a registration request to an Internet of things cloud platform server; a blockchain module preset in the terminal intercepts the registration request, and meanwhile, a blockchain gateway is selected from a preset seed gateway list, and the blockchain gateway is used for accessing a blockchain network; the block chain module intercepts all output messages of the terminal, performs corresponding output filtration on the output messages according to the content of the output messages, and performs corresponding transmission on the messages needing to be transmitted to other nodes by utilizing the block chain network; the blockchain module intercepts all input messages from the blockchain network, converts the input messages into communication protocols supported by the terminal and then transparently transmits the communication protocols to the terminal. According to the technical scheme, a blockchain network is introduced as an information connection medium, and finally data uploaded by a terminal can still be sent to a centralized internet of things cloud platform server for storage by the blockchain, so that the characteristics of a blockchain decentralization trust mechanism are difficult to develop.
The blockchain has the capability of traceability, credibility and sharability of data, but the blockchain does not verify the data source, so that the authenticity of the data source is difficult to ensure, and the value of the blockchain as a trust base of each participant on the chain is greatly reduced. The chain of trust value of the block chain is extended, and the strategy of root cause control is not realized until the final data uplink is in the whole-process supervision coverage. Therefore, in the face of the data acquisition scene of the Internet of things, the terminal of the Internet of things is directly connected with the block chain link point, and the data of the terminal of the Internet of things is directly linked without being transferred through the centralized database and then linked, so that the reliability of the data can be greatly improved. However, in the face of the demands of a large number of existing internet of things terminals and a large number of internet of things terminals for accessing to the blockchain, the difficulty of successfully docking with the blockchain and uploading data is high, and the updating and the testing of the blockchain can only be performed in a small range.
Disclosure of Invention
The invention aims to design a method, a system and a storage medium for uplink adaptation of terminal data of the Internet of things, so as to solve the problems of high difficulty and high hardware cost of reconstruction and adaptation of the terminal data uploading block chain of the Internet of things in the prior art.
The invention solves the technical problems through the following technical scheme:
a method for adapting uplink of terminal data of the Internet of things comprises the following steps:
s1, an Internet of things terminal is accessed to a blockchain interface server through Ethernet, the Internet of things terminal registers and logs in a blockchain network, and if registration information exists, the Internet of things terminal directly logs in;
s2, inserting an identity authorization module into the Internet of things terminal, and communicating the identity authorization module through Ethernet connection between the Internet of things terminal and the blockchain interface server;
s3, the block chain consensus node performs identity authorization on the terminal of the Internet of things through the identity authorization module;
s4, removing the identity authorization module, and collecting data from the terminal of the Internet of things to the blockchain uploading terminal;
s5, after the connection and reconnection of the terminal of the Internet of things and the blockchain network are disconnected, reinserting the identity authorization module for authorization when the secondary data uploading authorization fails.
According to the technical scheme, the identity authorization module is matched with authorization module authentication information stored by the blockchain to authorize the access of the terminal to the blockchain network and upload data, only the authorized terminal of the Internet of things can upload data to the blockchain, once the connection between the terminal of the Internet of things and the blockchain is disconnected, the authorization is immediately invalid, the identity authorization module is required to be reused for authorization, the terminal of the Internet of things which is accessed to the blockchain is ensured to be authorized by the identity authorization module, and the uploaded data are approved by the blockchain, namely, the data uploaded by the terminal of the Internet of things are ensured to be real and credible; the identity authorization module can authorize a plurality of Internet of things terminals to carry out blockchain uplink authentication login, the Internet of things terminals are not required to be bound, the mobile terminal can be removed after the authentication login is successful, the whole process of connection with the Internet of things terminals is not required to be maintained in the data transmission process, and the hardware cost of the Internet of things terminal data uploading blockchain reconstruction adaptation is reduced; the method comprises the steps of receiving terminal data of the Internet of things by using a block chain interface server, standardizing the received data, and transmitting the standardized data to a block chain consensus node for data uplink; the data butt joint can be completed with the blockchain network without reforming the existing internet of things terminal or only by minimally reforming the existing internet of things terminal, and the work load of butt joint and reforming of the existing internet of things terminal is reduced to the greatest extent.
Further, the method for registering and logging in the blockchain network by the terminal of the internet of things in step S1 specifically includes the following steps: after the block chain network normally operates, the terminal of the Internet of things is accessed into a block chain interface server through Ethernet; the terminal of the Internet of things sends the equipment type, the equipment model, the equipment S/N code and the Ethernet MAC address to a block chain interface server, and the block chain interface server carries out standardized modification on the data and then transmits the standardized modification data to a block chain consensus node for equipment registration; after the registration of the terminal of the Internet of things is completed, the blockchain node sends a one-time login credential to the terminal of the Internet of things through the blockchain interface server, and the terminal of the Internet of things logs in by the one-time login credential.
Further, the identity authorization module in step S2 is connected to the terminal of the internet of things through a USB port.
Further, the method for the blockchain consensus node to perform identity authorization on the terminal of the internet of things through the identity authorization module in step S3 specifically includes the following steps:
the identity authorization module packages the authorization module model, the authorization module identity identification ID, the authorization module private key, the one-time login certificate of the terminal of the Internet of things, the S/N code of the terminal device of the Internet of things, the Ethernet MAC address and the timestamp into blockchain transaction information msg Authentication After signing the transaction information, submitting the transaction information to a blockchain consensus node through a blockchain interface server for terminal identity authorization of the Internet of things;
common-knowledge node check msg Authentication Signing, authorizing module identity identification ID, authorizing module public key come from identity authorizing module, and check whether the terminal of the Internet of things logs in the evidence and equipment S/N code once, ethernet MAC address corresponds to the terminal of the same Internet of things;
if both checks pass, the access of the terminal of the Internet of things to the blockchain network is determined to be safe and reliable, and the terminal of the Internet of things is authorized to acquire data from the terminal of the blockchain uploading;
then, the block chain consensus node sends an authorization passing message to the terminal of the Internet of things and the identity authorization module;
if the verification is not passed at any time, the access of the terminal of the Internet of things to the blockchain network is considered to be possibly unsafe, and the request of the terminal of the Internet of things for acquiring data from the blockchain uploading terminal is refused.
Further, in step S4, the identity authorization module is removed, and the data is collected by the terminal of the internet of things to the terminal of the blockchain uploading, specifically: the internet of things terminal and the identity authorization module receive the authorization passing message, the identity authorization module can remove the identity authorization module by using lamplight flashing prompt, and the internet of things terminal starts to acquire data from the blockchain uploading terminal at the moment.
Further, after the connection between the terminal of the internet of things and the blockchain network is disconnected and reconnected in step S5, when the secondary data uploading authorization fails, reinsertion is performed by the identity authorization module for authorization, specifically: when the network link fluctuation, the block chain node shutdown or the block chain network shutdown causes the disconnection of the connection between the terminal of the Internet of things and the block chain network, after the connection and reconnection of the terminal of the Internet of things and the block chain network are successful, the authorization of the terminal of the Internet of things to the block chain uploading terminal for acquiring data last time fails, the terminal identity authorization operation of the Internet of things is carried out again, and then the terminal side of the Internet of things can continue to acquire data to the block chain uploading terminal.
The uplink adaptation system adopting the Internet of things terminal data uplink adaptation method comprises the following steps: the system comprises an identity authorization module, an Internet of things terminal, a block chain interface server and a block chain consensus node; the identity authorization module is connected with the Internet of things terminal which needs authorization authentication through a USB interface and communicates with the block chain network through Ethernet between the Internet of things terminal and the block chain interface server, the block chain interface server is used for receiving data transmitted by the Internet of things terminal, standardizing the received data and transmitting the data to the block chain consensus node for data uplink.
Further, the internet of things terminal is an embedded internet of things terminal.
Further, the blockchain consensus node adopts a high-performance server host.
A computer readable storage medium, on which a computer program is stored, which when being executed by a processor implements the steps of the internet of things terminal data uplink adaptation method.
The invention has the advantages that:
(1) The identity authorization module is matched with authorization module authentication information stored by the blockchain to authorize the access of the terminal to the blockchain network and upload data, only the authorized terminal of the Internet of things can upload data to the blockchain, once the network connection between the terminal of the Internet of things and the blockchain is disconnected, the authorization is immediately invalid, the identity authorization module is required to be reused for authorization, the fact that the terminal of the Internet of things which is accessed to the blockchain is authorized by the identity authorization module is ensured, and the uploaded data are approved by the blockchain, namely, the fact that the data uploaded by the terminal of the Internet of things are true and credible is ensured; the identity authorization module can authorize a plurality of terminals of the Internet of things to carry out the block chain uplink authentication login, the terminals of the Internet of things are not required to be bound, the terminals of the Internet of things can be removed after the authentication login is successful, the whole process of connection with the terminals of the Internet of things is not required to be maintained in the data transmission process, and the hardware cost of the data uploading block chain reconstruction adaptation of the terminals of the Internet of things is reduced.
(2) And receiving the terminal data of the Internet of things by using the block chain interface server, normalizing the received data, and transmitting the normalized data to the block chain consensus node for data uplink. The data butt joint can be completed with the blockchain network without reforming the existing internet of things terminal or only by minimally reforming the existing internet of things terminal, and the work load of butt joint and reforming of the existing internet of things terminal is reduced to the greatest extent.
Drawings
Fig. 1 is a block diagram of an internet of things terminal data uplink adaptation system according to a first embodiment of the present invention;
fig. 2 is a flowchart of a method for adapting uplink of data of an internet of things terminal according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described in the following in conjunction with the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The technical scheme of the invention is further described below with reference to the attached drawings and specific embodiments:
example 1
As shown in fig. 1, a uplink adaptation system adopting the uplink adaptation method for terminal data of the internet of things includes: the system comprises an identity authorization module, an Internet of things terminal, a block chain interface server and a block chain consensus node; the identity authorization module is connected with the Internet of things terminal which needs authorization authentication through a USB interface and communicates with the block chain network through Ethernet between the Internet of things terminal and the block chain interface server, the block chain interface server is used for receiving data transmitted by the Internet of things terminal, standardizing the received data and transmitting the data to the block chain consensus node for data uplink.
The identity authorization module is a small portable module terminal, is connected with the internet of things terminal which needs authorization authentication through a USB interface, and is connected with the blockchain network through Ethernet between the internet of things terminal and the blockchain network to communicate with the blockchain network. Each identity authorization module needs to be recorded on a blockchain in advance, and information such as the model number, the identity identification ID, the module public key and the like of each identity authorization module is stored on the chain and used for checking information when identity authorization is carried out, so that the safety of identity authorization operation is ensured.
The internet of things terminal can be an embedded internet of things terminal, the inside of the internet of things terminal needs to be composed of a microcontroller MCU, a memory, a storage, an internal bus and other devices, and at least one USB and one Ethernet interface are needed to carry out external communication. The method can be a new type of Internet of things terminal which is redesigned and manufactured and can be communicated with the blockchain through an interface, or an existing Internet of things terminal.
The block link server is used for receiving data transmitted by the terminal of the Internet of things, standardizing the received data and transmitting the data to the block link server for data uplink. Because the data fields and the data formats of the data transmitted by the terminals of the Internet of things of different types are different, the block chain consensus node can not recognize the data directly transmitted by the terminals of the Internet of things, so that the transmitted data is standardized by using the block chain interface server and is converted into the data which can be recognized by the block chain consensus node, and the data uplink is realized.
The blockchain consensus node needs strong computing performance, and is generally acted as a high-performance server host to be responsible for consensus on the data uplink.
As shown in fig. 2, a method for adapting uplink of terminal data of the internet of things comprises the following steps:
step one: the terminal of the Internet of things is accessed to the blockchain interface server through Ethernet, registers and logs in the blockchain network, and if registration information exists, the terminal of the Internet of things directly logs in.
And after the blockchain network normally operates, the terminal of the Internet of things is accessed to the blockchain interface server through the Ethernet. And then the terminal of the Internet of things sends the equipment type, the equipment model, the equipment S/N code and the Ethernet MAC address to the block chain interface server, and the block chain interface server carries out standardized modification on the data and then transmits the standardized modification data to the block chain consensus node for equipment registration. After the registration of the terminal of the Internet of things is completed, the blockchain node sends a one-time login credential to the terminal of the Internet of things through the blockchain interface server, and the terminal of the Internet of things logs in by the one-time login credential.
If the block chain link point searches the registration information of the existing equipment, the block chain interface server directly sends a one-time login credential to the terminal of the Internet of things, and the terminal of the Internet of things logs in by the one-time login credential.
Step two: and inserting the identity authorization module into the terminal of the Internet of things.
Each identity authorization module needs to be recorded on a blockchain in advance, and information such as the model number, the identity identification ID, the module public key and the like of each identity authorization module is stored on the chain and used for checking information when identity authorization is carried out, so that the safety of identity authorization operation is ensured.
And accessing the identity authorization module into the internet of things terminal through the USB port, and communicating the identity authorization module through Ethernet connection between the internet of things terminal and the blockchain interface server.
Step three: and the block chain consensus node performs identity authorization on the terminal of the Internet of things through the identity authorization module.
The identity authorization module packages the authorization module model, the authorization module identity identification ID, the authorization module private key, the one-time login certificate of the terminal of the Internet of things, the S/N code of the terminal device of the Internet of things, the Ethernet MAC address and the timestamp into blockchain transaction information msg Authentication After signing the transaction information, submitting the transaction information to a blockchain consensus node through a blockchain interface server for terminal identity authorization of the Internet of things.
Common-knowledge node check msg Authentication Signature, authorization module identity identification ID, authorization module public key come from same identity authorization module to check whether thing networking terminal one-time login voucher and equipment S/N sign indicating number, ethernet MAC address correspond same thing networking terminal. If both checks pass, the access of the terminal of the Internet of things to the blockchain network is determined to be safe and reliable, and the terminal of the Internet of things is authorized to collect data to the blockchain uploading terminal. And then, the block chain consensus node sends an authorization passing message to the terminal of the Internet of things and the identity authorization module.
If the verification is not passed at any time, the access of the terminal of the Internet of things to the blockchain network is considered to be possibly unsafe, and the request of the terminal of the Internet of things for acquiring data from the blockchain uploading terminal is refused.
Step four: and removing the identity authorization module, and collecting data from the terminal of the Internet of things to the normal uploading terminal of the blockchain.
The internet of things terminal and the identity authorization module receive the authorization passing message, the identity authorization module can remove the identity authorization module by using lamplight flashing prompt, and the internet of things terminal can collect data to the blockchain normal uploading terminal from the moment.
Step five: and after the connection between the terminal of the Internet of things and the blockchain network is disconnected and reconnected, when the secondary data uploading authorization fails, the identity authorization module is required to be reinserted, and authorization is performed again.
And (3) the Internet of things terminal and the blockchain network are disconnected due to any reasons (including network link fluctuation, blockchain link point shutdown and Internet of things terminal shutdown), after the connection and reconnection of the Internet of things terminal and the blockchain network are successful, the authorization of the last time for the Internet of things terminal to acquire data to the blockchain uploading terminal fails, the Internet of things terminal identity authorization operation needs to be re-executed from the step one to the step four, and then the Internet of things terminal can continue to acquire data to the blockchain uploading terminal.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (7)
1. The method for adapting the uplink of the terminal data of the Internet of things is characterized by comprising the following steps of:
s1, an Internet of things terminal is accessed to a blockchain interface server through Ethernet, the Internet of things terminal registers and logs in a blockchain network, and if registration information exists, the Internet of things terminal directly logs in;
the method for registering and logging in the block chain network by the terminal of the Internet of things comprises the following steps: after the block chain network normally operates, the terminal of the Internet of things is accessed into a block chain interface server through Ethernet; the terminal of the Internet of things sends the equipment type, the equipment model, the equipment S/N code and the Ethernet MAC address to a block chain interface server, and the block chain interface server carries out standardized modification on the data and then transmits the standardized modification data to a block chain consensus node for equipment registration; after the registration of the terminal of the Internet of things is completed, the blockchain node sends a one-time login credential to the terminal of the Internet of things through the blockchain interface server, and the terminal of the Internet of things logs in by the one-time login credential;
s2, inserting an identity authorization module into the Internet of things terminal, and communicating the identity authorization module through Ethernet connection between the Internet of things terminal and the blockchain interface server; the identity authorization module is accessed to the terminal of the Internet of things through a USB port;
s3, the block chain consensus node performs identity authorization on the terminal of the Internet of things through an identity authorization module, and the method specifically comprises the following steps: the identity authorization module packages the authorization module model, the authorization module identity identification ID, the authorization module private key, the internet of things terminal one-time login certificate, the internet of things terminal equipment S/N code, the Ethernet MAC address and the timestamp into blockchain transaction informationAfter signing the transaction information, submitting the transaction information to a blockchain consensus node through a blockchain interface server for terminal identity authorization of the Internet of things;
consensus node verificationSigning, authorizing module identity identification ID, authorizing module public key come from identity authorizing module, and check whether the terminal of the Internet of things logs in the evidence and equipment S/N code once, ethernet MAC address corresponds to the terminal of the same Internet of things;
if both checks pass, the access of the terminal of the Internet of things to the blockchain network is determined to be safe and reliable, and the terminal of the Internet of things is authorized to acquire data from the terminal of the blockchain uploading;
then, the block chain consensus node sends an authorization passing message to the terminal of the Internet of things and the identity authorization module;
if the verification is not passed at any time, the terminal of the Internet of things is considered to be possibly unsafe to access the blockchain network, and the request of the terminal of the Internet of things for acquiring data from the blockchain uploading terminal is refused;
s4, removing the identity authorization module, and collecting data from the terminal of the Internet of things to the blockchain uploading terminal;
s5, after the connection and reconnection of the terminal of the Internet of things and the blockchain network are disconnected, reinserting the identity authorization module for authorization when the secondary data uploading authorization fails.
2. The method for adapting uplink of data of an internet of things terminal according to claim 1, wherein the removing the identity authorization module in step S4, the internet of things terminal collects data from a blockchain uploading terminal, specifically: the internet of things terminal and the identity authorization module receive the authorization passing message, the identity authorization module can remove the identity authorization module by using lamplight flashing prompt, and the internet of things terminal starts to acquire data from the blockchain uploading terminal at the moment.
3. The method for adapting data uplink of an internet of things terminal according to claim 2, wherein after the internet of things terminal is disconnected from the blockchain network and reconnected in step S5, when the secondary data uploading authorization fails, reinsertion is performed by an identity authorization module, specifically: when the network link fluctuation, the block chain node shutdown or the block chain network shutdown causes the disconnection of the connection between the terminal of the Internet of things and the block chain network, after the connection and reconnection of the terminal of the Internet of things and the block chain network are successful, the authorization of the terminal of the Internet of things to the block chain uploading terminal for acquiring data last time fails, the terminal identity authorization operation of the Internet of things is carried out again, and then the terminal side of the Internet of things can continue to acquire data to the block chain uploading terminal.
4. A system for uplink adaptation using the method for uplink adaptation of internet of things terminal data according to any one of claims 1-3, comprising: the system comprises an identity authorization module, an Internet of things terminal, a block chain interface server and a block chain consensus node; the identity authorization module is connected with the Internet of things terminal which needs authorization authentication through a USB interface and communicates with the block chain network through Ethernet between the Internet of things terminal and the block chain interface server, the block chain interface server is used for receiving data transmitted by the Internet of things terminal, standardizing the received data and transmitting the data to the block chain consensus node for data uplink.
5. The system of claim 4, wherein the internet of things terminal is an embedded internet of things terminal.
6. The system of claim 4, wherein the blockchain consensus node employs a high performance server host.
7. A computer readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, implements the steps of the internet of things terminal data uplink adaptation method according to any of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210467346.7A CN114827150B (en) | 2022-04-29 | 2022-04-29 | Internet of things terminal data uplink adaptation method, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210467346.7A CN114827150B (en) | 2022-04-29 | 2022-04-29 | Internet of things terminal data uplink adaptation method, system and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114827150A CN114827150A (en) | 2022-07-29 |
CN114827150B true CN114827150B (en) | 2023-11-21 |
Family
ID=82509258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210467346.7A Active CN114827150B (en) | 2022-04-29 | 2022-04-29 | Internet of things terminal data uplink adaptation method, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114827150B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115550376A (en) * | 2022-09-14 | 2022-12-30 | 中化现代农业有限公司 | Internet of things data chaining method and system based on terminal equipment |
CN115277026A (en) * | 2022-09-26 | 2022-11-01 | 国网浙江余姚市供电有限公司 | Block chain-based Internet of things gateway control method, device and medium |
CN118018324A (en) * | 2024-04-07 | 2024-05-10 | 深圳鸿祥源科技有限公司 | Block chain-based terminal management method for Internet of things |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104486087A (en) * | 2014-12-23 | 2015-04-01 | 中山大学 | Digital signature method based on remote hardware security modules |
CN108023894A (en) * | 2017-12-18 | 2018-05-11 | 苏州优千网络科技有限公司 | Visa information system and its processing method based on block chain |
CN109962890A (en) * | 2017-12-25 | 2019-07-02 | 中国科学院信息工程研究所 | A kind of the authentication service device and node access, user authen method of block chain |
CN110086821A (en) * | 2019-05-07 | 2019-08-02 | 国网江苏省电力有限公司无锡供电分公司 | The authentication method of electric power things-internet gateway and the access of electric power internet-of-things terminal based on block chain |
CN110868424A (en) * | 2019-11-26 | 2020-03-06 | 深圳市信联征信有限公司 | Data sharing method and device based on block chain, computer equipment and storage medium |
CN111314172A (en) * | 2020-01-19 | 2020-06-19 | 腾讯科技(深圳)有限公司 | Data processing method, device and equipment based on block chain and storage medium |
CN113014676A (en) * | 2021-04-21 | 2021-06-22 | 联通雄安产业互联网有限公司 | System and method for storing Internet of things data into block chain based on SIM card |
CN113204744A (en) * | 2021-04-07 | 2021-08-03 | 西安西电链融科技有限公司 | Software authorization system and method based on distributed identity |
-
2022
- 2022-04-29 CN CN202210467346.7A patent/CN114827150B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104486087A (en) * | 2014-12-23 | 2015-04-01 | 中山大学 | Digital signature method based on remote hardware security modules |
CN108023894A (en) * | 2017-12-18 | 2018-05-11 | 苏州优千网络科技有限公司 | Visa information system and its processing method based on block chain |
CN109962890A (en) * | 2017-12-25 | 2019-07-02 | 中国科学院信息工程研究所 | A kind of the authentication service device and node access, user authen method of block chain |
CN110086821A (en) * | 2019-05-07 | 2019-08-02 | 国网江苏省电力有限公司无锡供电分公司 | The authentication method of electric power things-internet gateway and the access of electric power internet-of-things terminal based on block chain |
CN110868424A (en) * | 2019-11-26 | 2020-03-06 | 深圳市信联征信有限公司 | Data sharing method and device based on block chain, computer equipment and storage medium |
CN111314172A (en) * | 2020-01-19 | 2020-06-19 | 腾讯科技(深圳)有限公司 | Data processing method, device and equipment based on block chain and storage medium |
CN113204744A (en) * | 2021-04-07 | 2021-08-03 | 西安西电链融科技有限公司 | Software authorization system and method based on distributed identity |
CN113014676A (en) * | 2021-04-21 | 2021-06-22 | 联通雄安产业互联网有限公司 | System and method for storing Internet of things data into block chain based on SIM card |
Non-Patent Citations (1)
Title |
---|
"面向云计算的分布式可信身份认证系统的研究与实现";何昶辉;《中国硕士学位论文全文数据库信息科技辑》(第第5期期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114827150A (en) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114827150B (en) | Internet of things terminal data uplink adaptation method, system and storage medium | |
CN108701039B (en) | Method and device for wirelessly updating software of vehicle | |
CN107846447A (en) | A kind of method of the home terminal access message-oriented middleware based on MQTT agreements | |
CN101094226B (en) | Security framework of managing network, and information processing method | |
CN111145023A (en) | Cross-chain exchange method, system and medium based on trusted prediction machine | |
EP1990958A1 (en) | Method for testing safety access protocol conformity of access point and apparatus thereof | |
US20180124048A1 (en) | Data transmission method, authentication method, and server | |
CN112015769A (en) | Data processing method and device, computer equipment and storage medium | |
CN102932338B (en) | System and method for safe network access of radio-frequency identification system | |
CN105930732A (en) | Credible starting method suitable for service board in VPX device | |
CN114495352A (en) | Electronic fund payment system and method based on payment terminal identity authentication control mechanism | |
CN110958276A (en) | Trusted acquisition and logging method and device based on digital identity of intelligent Internet of things equipment | |
CN113992336B (en) | Encryption network offline data trusted exchange method and device based on block chain | |
US11621952B2 (en) | Remote login processing method, apparatus, device and storage medium for unmanned vehicle | |
CN210157214U (en) | Internet of things information security transmission system for gas appliances | |
CN114157509A (en) | Encryption method and device with SSL and IPsec based on cryptographic algorithm | |
US20200382521A1 (en) | Network security interface component and data transmission method | |
CN115632800B (en) | Internet of things source data storage method and device based on block chain consensus | |
CN116545999B (en) | Telescope readout control system based on B/S architecture | |
CN113849796B (en) | Intelligent communication water affair Internet of things remote monitoring control method, system and block chain system | |
CN113672948B (en) | Encryption UART and integrated chip | |
CN116389032B (en) | SDN architecture-based power information transmission link identity verification method | |
CN108881173B (en) | Bus-based remote unit access authentication and key agreement method for satellite integrated electronic system | |
CN117880326A (en) | Internet of things communication method and cloud server | |
CN118646585A (en) | Security enhancement authentication method, system, medium and equipment based on IEC104 protocol |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |