CN112395647B - Block chain light node data acquisition system - Google Patents
Block chain light node data acquisition system Download PDFInfo
- Publication number
- CN112395647B CN112395647B CN202011205631.9A CN202011205631A CN112395647B CN 112395647 B CN112395647 B CN 112395647B CN 202011205631 A CN202011205631 A CN 202011205631A CN 112395647 B CN112395647 B CN 112395647B
- Authority
- CN
- China
- Prior art keywords
- blockchain
- service
- light node
- block chain
- platform
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3825—Use of electronic signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- 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]
- G16Y30/00—IoT infrastructure
- G16Y30/10—Security thereof
-
- 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/30—Control
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Accounting & Taxation (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a block chain light node data acquisition system, which is used for controlling block chain light nodes to acquire service data with specific attributes based on a service configuration mode, wherein a service model for carrying out service configuration is stored in a block chain platform, when a service configuration request sent by the block chain light nodes is sent to the block chain platform, the block chain platform sends the service model and a public key for verifying the signature of the service model to the block chain light nodes, and when the block chain light nodes acquire the service model and the public key, the public key is used for verifying whether the service model is tampered or not so as to prevent the service model from being tampered when the service model is transmitted through the Internet of things. Therefore, the method and the system can not only improve the safety of the data of the Internet of things, but also reduce the requirement of the hardware performance of the equipment of the Internet of things.
Description
Technical Field
The invention relates to the technical field of the Internet of things and blockchain, in particular to a blockchain light node data acquisition system.
Background
In the development and evolution process of the Internet of things, equipment safety, personal privacy, architecture rigidification, communication compatibility and multi-main-body cooperation 5 big pain points are met. In terms of personal privacy, the centralized management architecture cannot self-prove, and the related time when personal privacy data is compromised sometimes occurs.
The blockchain has important influence on the Internet of things by virtue of the characteristics of peer-to-peer, public transparency, secure communication, difficulty in tampering, multiparty consensus and the like of a main body: the characteristics of multi-center and weak-centering are capable of reducing high operation and maintenance cost of a centralized architecture, the characteristics of information encryption and safe communication are capable of helping to protect privacy, identity authority management and multiparty consensus are capable of helping to identify illegal nodes and timely prevent access and disuse of malicious nodes, a chain structure is used for helping to construct a provable and traceable electronic evidence storage, and the characteristics of a distributed architecture and a main body peer-to-peer are helpful to break through the existing multiple information island and the existing one-piece game of the Internet of things and promote transverse flow and multiparty cooperation of information.
Although the blockchain application has the advantages in the internet of things, the internet of things equipment is generally low in computing capacity and network security capacity, and important data transmitted through the internet of things are difficult to ensure not to be tampered and even to be acquired by lawbreakers. Therefore, it is necessary to design a scheme which not only can adapt to the blockchain technology, but also can improve the security protection capability of the internet of things for transmitting service data.
Disclosure of Invention
In view of the above-described deficiencies of the prior art, the present invention aims to: the block chain light node data acquisition system can improve the safety of data of the Internet of things and simultaneously can reduce the requirement of hardware performance of equipment of the Internet of things.
In order to achieve the above object, the present invention provides the following technical solutions:
a blockchain light node data acquisition system, comprising: a blockchain platform and a plurality of blockchain light nodes; the block chain platform is communicated with each block chain light node through the Internet of things;
the block chain platform is used for sending a corresponding service model and a public key for verifying the signature of the service model to the block chain light node according to the service configuration request sent by the block chain light node;
the blockchain light node is used for sending the service configuration request, receiving the service model and the public key, and verifying whether the service model is tampered according to the public key; if the service model is not tampered, analyzing the service model to obtain corresponding service configuration;
after the block chain light node obtains the service configuration, the service configuration is installed; when the block chain light node performs data acquisition, acquiring service data with specific attributes according to the service configuration;
and the block chain light node packs the acquired service data to obtain a service data packet, signs the service data packet, and sends the service data packet to the block chain platform after the signing is completed so as to perform the uplink operation.
According to a specific embodiment, in the blockchain light node data collection system of the present invention, the service configuration request includes: client ID and blockchain platform access address; wherein the client ID and blockchain platform access address are obtained by the blockchain light node from an object networking gateway.
According to a specific embodiment, in the blockchain light node data collection system of the present invention, the blockchain light node is configured to send the service configuration request to the blockchain platform at a certain time interval or at a random time interval.
According to a specific embodiment, in the blockchain light node data collection system of the present invention, the blockchain light node is configured to sign the service data packet by using a private key distributed by the blockchain platform.
According to a specific embodiment, in the blockchain light node data collection system of the present invention, the blockchain light node is further configured to poll a blocktransaction result after sending the service data packet to the blockchain platform, and discard the service data packet if the polling frequency exceeds a set threshold value and the blocktransaction result is not returned.
Compared with the prior art, the invention has the beneficial effects that:
in the blockchain light node data acquisition system, the blockchain light node is controlled to acquire service data with specific attributes based on a service configuration mode, a service model for carrying out service configuration is stored in the blockchain platform, when a service configuration request sent by the blockchain light node is sent to the blockchain platform, the blockchain platform sends the service model and a public key for verifying the signature of the service model to the blockchain light node, and after the blockchain light node acquires the service model and the public key, the public key is utilized to verify whether the service model is tampered or not so as to prevent the service model from being tampered when the service model is transmitted through the Internet of things. Therefore, the method and the system can not only improve the safety of the data of the Internet of things, but also reduce the requirement of the hardware performance of the equipment of the Internet of things.
Drawings
FIG. 1 is an interactive timing diagram of a data acquisition system of the present invention;
FIG. 2 is a flow chart of block transaction outcome polling in accordance with the present invention.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present invention with reference to specific examples. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention.
As shown in fig. 1, the blockchain light node data acquisition system of the present invention includes: a blockchain platform and a plurality of blockchain light nodes; the blockchain platform is communicated with each blockchain light node through the Internet of things.
The blockchain light node sends out a service configuration request, and the service configuration request is forwarded to the blockchain platform by the Internet of things. When the method is implemented, the blockchain light node sends an initialization request to the gateway of the Internet of things during initialization, wherein the initialization request comprises the equipment ID of the blockchain light node, and the gateway of the Internet of things determines a returned client ID and a blockchain platform access address according to the equipment ID. It should be noted that, in the present invention, the client ID is the identifier of the SDK on the blockchain light node, and the blockchain platform can determine whether the blockchain light node is authorized according to the client ID.
And then, the blockchain platform responds to the service configuration request, sends a corresponding service model and a public key for verifying the signature of the service model according to the client ID of the blockchain light node, and forwards the public key to the blockchain light node through the Internet of things.
After the block chain light node receives the service model and the public key, the block chain light node verifies whether the service model is tampered according to the public key; if the service model is not tampered, analyzing the service model to obtain corresponding service configuration; if the business model is tampered, the process of the business configuration request is directly ended.
And after the block chain light node acquires the service configuration, the service configuration is installed to the block chain light node, so that the block chain light node acquires service data with specific attributes according to the service configuration.
When the block chain light node collects data, the Internet of things equipment returns service data with specific attributes, and then the block chain light node continuously packs the collected service data to obtain service data packets; specifically, the manner in which the data packets are packed or packaged is determined by the data transmission protocols of the blockchain light node and the blockchain network.
Then, signing the business data packet; and after the signature is completed, the service data packet is sent to a blockchain platform to perform the uplink operation.
In the data acquisition system of the block chain light node, in order to ensure that the service function of the block chain light node is not tampered or maliciously controlled, the block chain light node sends a service configuration request to a block chain platform every certain time or random time. By sending the service configuration request for multiple frequencies, the service configuration of the block chain light node can be refreshed, and the service configuration of the block chain light node is ensured to be consistent with the service configuration in the block chain network.
In the block chain light node data acquisition system, in order to ensure that service data uploaded by the block chain light node is not tampered, the block chain light node signs a service data packet by utilizing a private key distributed by a block chain platform; the blockchain light node registers to the blockchain platform in advance, a pair of public keys and private keys are generated by the blockchain platform, the public keys are reserved by the blockchain platform, and the private keys are distributed to the blockchain light node; the private key is then hardware-cured on the blockchain light node.
As shown in fig. 2, in the blockchain light node data collection system of the present invention, after the blockchain light node sends the packet data to the blockchain network, the blockchain transaction result is also polled. Specifically, the polling process of the blockchain light node on the blockwork result includes:
firstly, a block chain light node sends a signed service data packet to a block chain network;
and a second step of: after the blockchain light node sends out the signed service data packet, whether the blockchain network feeds back the block transaction result needs to be monitored, namely, when the blockchain network finishes the uplink operation on the service data packet, the Hash value is returned. If the block transaction result is received, the uplink is successful, and if the block transaction result is not received, the block transaction result is polled, and the third step is performed.
And a third step of: and polling the block transaction result, and further judging whether the polling times exceed a set threshold value. If the polling times do not exceed the set threshold value, adding one to the polling times, and jumping to the second step; and if the polling times exceed the set threshold, discarding the service data packet by the block chain light node.
It should be understood that the device or system disclosed in the present invention may be implemented in other manners. For example, the modules may be divided into only one logic function, and there may be other manners of dividing the modules when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not performed. In addition, the communication connection between modules may be an indirect coupling or communication connection via some interfaces, devices or units, and may be in electrical or other forms.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each module may exist alone physically, or two or more modules may be integrated in one processing unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Claims (5)
1. A blockchain light node data acquisition system, comprising: a blockchain platform and a plurality of blockchain light nodes; the block chain platform is communicated with each block chain light node through the Internet of things;
the block chain platform is used for sending a corresponding service model and a public key for verifying the signature of the service model to the block chain light node according to the service configuration request sent by the block chain light node;
the blockchain light node is used for sending the service configuration request, receiving the service model and the public key, and verifying whether the service model is tampered according to the public key; if the service model is not tampered, analyzing the service model to obtain corresponding service configuration;
after the block chain light node obtains the service configuration, the service configuration is installed; when the block chain light node performs data acquisition, acquiring service data with specific attributes according to the service configuration;
and the block chain light node packs the acquired service data to obtain a service data packet, signs the service data packet, and sends the service data packet to the block chain platform after the signing is completed so as to perform the uplink operation.
2. The blockchain light node data collection system of claim 1, wherein the service configuration request comprises: client ID and blockchain platform access address; wherein the client ID and blockchain platform access address are obtained by the blockchain light node from an object networking gateway.
3. The blockchain light node data collection system of claim 2, wherein the blockchain light node is configured to send the service configuration request to the blockchain platform at intervals of a certain time or at random times.
4. The blockchain light node data collection system of claim 1, wherein the blockchain light node is configured to sign the service data packet using a private key distributed by the blockchain platform.
5. The blockchain light node data collection system of claim 1, wherein the blockchain light node is further configured to poll a blocktransaction result after sending the service data packet to the blockchain platform, and discard the service data packet if the number of polls exceeds a set threshold value without returning the blocktransaction result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011205631.9A CN112395647B (en) | 2020-11-02 | 2020-11-02 | Block chain light node data acquisition system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011205631.9A CN112395647B (en) | 2020-11-02 | 2020-11-02 | Block chain light node data acquisition system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112395647A CN112395647A (en) | 2021-02-23 |
CN112395647B true CN112395647B (en) | 2023-06-13 |
Family
ID=74597865
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011205631.9A Active CN112395647B (en) | 2020-11-02 | 2020-11-02 | Block chain light node data acquisition system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112395647B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117149769B (en) * | 2023-08-30 | 2024-03-19 | 华中科技大学 | Construction worker occupation archive management method and system based on blockchain |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109635585A (en) * | 2018-12-07 | 2019-04-16 | 深圳市智税链科技有限公司 | Method, agent node and the medium of Transaction Information are inquired in block chain network |
CN109918878A (en) * | 2019-04-24 | 2019-06-21 | 中国科学院信息工程研究所 | A kind of industrial internet of things equipment authentication and safety interacting method based on block chain |
CN110472116A (en) * | 2018-04-28 | 2019-11-19 | 腾讯科技(深圳)有限公司 | Alliance's block chain business network and its federation node, product data storage method |
CN110851510A (en) * | 2019-10-11 | 2020-02-28 | 腾讯云计算(北京)有限责任公司 | Data processing method and device of transaction system based on block chain |
CN111373400A (en) * | 2019-07-02 | 2020-07-03 | 阿里巴巴集团控股有限公司 | System and method for implementing a resolver service for decentralized identity |
CN111405001A (en) * | 2020-03-03 | 2020-07-10 | 安徽高山科技有限公司 | Node monitoring system applied to block chain |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109087190A (en) * | 2018-06-08 | 2018-12-25 | 阿里巴巴集团控股有限公司 | A kind of financing loan method and apparatus |
-
2020
- 2020-11-02 CN CN202011205631.9A patent/CN112395647B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110472116A (en) * | 2018-04-28 | 2019-11-19 | 腾讯科技(深圳)有限公司 | Alliance's block chain business network and its federation node, product data storage method |
CN109635585A (en) * | 2018-12-07 | 2019-04-16 | 深圳市智税链科技有限公司 | Method, agent node and the medium of Transaction Information are inquired in block chain network |
CN109918878A (en) * | 2019-04-24 | 2019-06-21 | 中国科学院信息工程研究所 | A kind of industrial internet of things equipment authentication and safety interacting method based on block chain |
CN111373400A (en) * | 2019-07-02 | 2020-07-03 | 阿里巴巴集团控股有限公司 | System and method for implementing a resolver service for decentralized identity |
CN110851510A (en) * | 2019-10-11 | 2020-02-28 | 腾讯云计算(北京)有限责任公司 | Data processing method and device of transaction system based on block chain |
CN111405001A (en) * | 2020-03-03 | 2020-07-10 | 安徽高山科技有限公司 | Node monitoring system applied to block chain |
Non-Patent Citations (4)
Title |
---|
SecBCS: a secure and privacy-preserving blockchain-based crowdsourcing system;Chao LIN;Debiao HE;Sherali ZEADALLY;Neeraj KUMAR;Kim-Kwang Raymond CHOO;;Science China(Information Sciences)(03);第20-33页 * |
Securing Parked Vehicle Assisted Fog Computing With Blockchain and Optimal Smart Contract Design;Xumin Huang;Dongdong Ye;Rong Yu;Lei Shu;;IEEE/CAA Journal of Automatica Sinica(第02期);第115-130页 * |
基于区块链的物联网节点位置隐私保护模型;佘维;陈建森;顾志豪;田钊;徐力;刘炜;;应用科学学报(第01期);第143-155页 * |
基于区块链的网络数据篡改跟踪防护技术;李军;;北京信息科技大学学报(自然科学版)(第02期);第13-17+29页 * |
Also Published As
Publication number | Publication date |
---|---|
CN112395647A (en) | 2021-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Lu et al. | LEAP: A lightweight encryption and authentication protocol for in-vehicle communications | |
Tan et al. | Comments on “dual authentication and key management techniques for secure data transmission in vehicular ad hoc networks” | |
EP2974118B1 (en) | System and method for mitigation of denial of service attacks in networked computing systems | |
CN106790064B (en) | The method that both sides are communicated in credible root server-cloud computing server model | |
US11303453B2 (en) | Method for securing communication without management of states | |
CN112651037A (en) | Off-chain data access method and system of block chain system | |
US20110320359A1 (en) | secure communication method and device based on application layer for mobile financial service | |
CN112417469B (en) | Block chain light node data acquisition method and device based on hardware encryption | |
CN105553666A (en) | Security authentication system and method for smart power terminal | |
CN112733198B (en) | Block chain light node data acquisition method and device | |
CN112395647B (en) | Block chain light node data acquisition system | |
CN116074000A (en) | Conversation key distribution method and system based on CAN bus | |
Lenard et al. | MixCAN: Mixed and backward-compatible data authentication scheme for controller area networks | |
CN112434341B (en) | Business tampering-resistant blockchain light node data acquisition method and device | |
Harel et al. | Optimizing CAN bus security with in-place cryptography | |
Sun et al. | ECQV-GDH-Based Group Key Exchange Protocol for CAN Bus | |
CN112615721B (en) | Access authentication and authority management control flow method of spatial information network based on block chain | |
KR20090124741A (en) | Method and apparatus of anti-replay attack over wireless network environment | |
Dee et al. | Message integrity and authenticity in secure CAN | |
Pu et al. | liteGAP: Lightweight Group Authentication Protocol for Internet of Drones Systems | |
CN109445328B (en) | Method and device for preventing replay attack of instrument control system of nuclear power station | |
CN111083129A (en) | Data secure transmission method, heterogeneous data transmission layer and system | |
Akhter et al. | A Secured Privacy-Preserving Multi-Level Blockchain Framework for Cluster Based VANET. Sustainability 2021, 13, 400 | |
Wang et al. | An OTA-oriented Protocol for Security Protection | |
Soryal et al. | Byzantine attack isolation in IEEE 802.11 wireless ad-hoc networks |
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 |