CN113656495A - Credible edge Internet of things system with deployment of end edge cloud cooperation of block chain - Google Patents

Credible edge Internet of things system with deployment of end edge cloud cooperation of block chain Download PDF

Info

Publication number
CN113656495A
CN113656495A CN202110853374.8A CN202110853374A CN113656495A CN 113656495 A CN113656495 A CN 113656495A CN 202110853374 A CN202110853374 A CN 202110853374A CN 113656495 A CN113656495 A CN 113656495A
Authority
CN
China
Prior art keywords
data
module
edge
terminal
nodes
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.)
Granted
Application number
CN202110853374.8A
Other languages
Chinese (zh)
Other versions
CN113656495B (en
Inventor
陈星宇
环宇翔
邹卓
郑立荣
崔建军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fudan University
Original Assignee
Fudan University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fudan University filed Critical Fudan University
Priority to CN202110853374.8A priority Critical patent/CN113656495B/en
Publication of CN113656495A publication Critical patent/CN113656495A/en
Application granted granted Critical
Publication of CN113656495B publication Critical patent/CN113656495B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/25Manufacturing
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/20Analytics; Diagnosis
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/50Safety; Security of things, users, data or systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Manufacturing & Machinery (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Biomedical Technology (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明属于物联网技术领域,具体为一种部署区块链的端边云协同的可信边缘物联网系统。本发明系统架构分为终端层、边缘层和云服务层,根据各层硬件设备性能不同以及应用场景不同,部署不同的区块链功能节点。终端层部署区块链数据预处理功能模块,负责数据采集、预处理,与边缘层进行通信;边缘层部署区块链应用节点,负责数据进一步处理设备间的通信;云服务层部署区块链共识节点,负责数据存储与处理,数据上链。本发明可以应用在智能工业生产中,既能保证工业生产中数据的安全可信、不可篡改以及可追溯,又可解决边缘物联网中边缘设备在区块链网络中存在的数据处理和存储的性能问题,还能够及时发现风险并预警。

Figure 202110853374

The invention belongs to the technical field of the Internet of Things, and in particular relates to a trusted edge Internet of Things system for deploying a blockchain for terminal-edge-cloud collaboration. The system architecture of the present invention is divided into a terminal layer, an edge layer and a cloud service layer, and different blockchain function nodes are deployed according to different performances of hardware devices and different application scenarios of each layer. The terminal layer deploys the block chain data preprocessing function module, which is responsible for data collection and preprocessing, and communicates with the edge layer; the edge layer deploys blockchain application nodes, which are responsible for the communication between devices for further data processing; the cloud service layer deploys the blockchain The consensus node is responsible for data storage and processing, and the data is uploaded to the chain. The invention can be applied in intelligent industrial production, which can not only ensure the safety, reliability, non-tampering and traceability of data in industrial production, but also solve the problem of data processing and storage existing in the blockchain network of edge devices in the edge Internet of Things. Performance problems can also be detected and early warning of risks in a timely manner.

Figure 202110853374

Description

Credible edge Internet of things system with deployment of end edge cloud cooperation of block chain
Technical Field
The invention belongs to the technical field of Internet of things, and particularly relates to a trusted edge Internet of things system with collaborative end edge clouds of a deployment block chain.
Background
In recent years, the blockchain technology does not need a third-party organization for management, and realizes decentralized trust establishment through a cryptography algorithm and a distributed consensus algorithm, so the blockchain technology has wide application prospects in various industries. The tamper resistance of the block chain ensures the stability and reliability of the data, and the multi-party consensus mechanism ensures the verifiability and credibility of the data and ensures that the electronic data can be efficiently, transparently, safely and trustfully stored and transmitted. However, since the blockchain network is composed of independent nodes, various operations such as transfer transactions occurring at the nodes are broadcast to the network in the form of transaction data, and when the usage amount is large, the problems of network congestion and low communication efficiency are caused.
The internet of things is a new technology appearing at the beginning of the century, and covers information acquisition, information transmission and information storage processing technologies, and articles can be connected through the technologies to exchange information and communicate, so that intelligent management is realized. However, the traditional architecture of the internet of things is a centralized architecture, so that the security and reliability of electronic data of the internet of things are defective, and the data security problem is particularly important when a plurality of devices are connected through a central communication channel.
The existing internet of things integrating the blockchain technology is only to deploy the blockchain on the internet of things equipment, and neglects that as the data volume and the communication demand are higher and higher, the equipment needs to generate and verify a plurality of things very quickly, the generated blockchain transaction blocks are more and more, the limited memory capacity of the internet of things equipment can limit the performance of the equipment, the access speed is lower and slower, and the method cannot be applied to the fields with high data requirements such as intelligent industrial production and the like.
Disclosure of Invention
The invention aims to provide a credible edge Internet of things system with good safety and high communication efficiency and with cooperation of end edge clouds of a deployment block chain.
The whole edge Internet of things system architecture is divided into three layers: the terminal layer comprises a plurality of terminal devices, the edge layer comprises a plurality of edge devices, and the cloud service layer is a built cloud server. According to the method, block chains with different functions are deployed according to different performance characteristics of different layers of the edge Internet of things; the data safety and reliability problem in the Internet of things is solved, the communication efficiency is improved, the data transmission delay is reduced, the maximum utilization of the performance of each device is guaranteed, the data safety and reliability management system can be applied to intelligent industrial production, and the production, management and financing efficiency of enterprises is improved.
The trusted edge Internet of things system with the deployment block chain and the end edge cloud cooperation comprises a plurality of terminal devices, a plurality of edge devices, a cloud server and the block chain deployed on the system. Wherein:
the terminal equipment is provided with a block chain data preprocessing function module, and the data preprocessing function module comprises a data acquisition module, a data preprocessing module, a terminal layer account management module and a communication module; wherein:
the data acquisition module comprises data acquisition, data receiving and data sending and mainly completes tasks of acquiring data and receiving and sending the data by the terminal equipment;
the data preprocessing module comprises an early warning intelligent contract, data classification and data encryption, and has the main functions of configuring different early warning models according to different application scenes, analyzing and labeling data, performing alarm processing on the data conforming to the early warning models and mainly finishing a preprocessing task on equipment; here, the algorithm of data classification may be an SVM (support vector machine) algorithm, an NBC (naive bayes classification) algorithm, a KNN (K nearest neighbor) algorithm, or the like; the data encryption algorithm is a block chain encryption algorithm and comprises the steps of carrying out digital signature and abstract on data to generate a pair of public and private keys; the algorithm of the digital signature may be an RSA, DSA or ECDSA (elliptic curve digital signature) algorithm, and the algorithm of the digest generation may be an MD (message digest) or SHA (secure hash) algorithm;
the terminal layer account management module comprises identity registration and identity management, and has the main functions of registering and chaining terminal equipment, generating a block chain Identification (ID), a public and private key pair and the like;
the communication module is mainly used for realizing communication between the terminal equipment and the edge equipment through a low-power local area network. The supported technologies include at least one of Wi-Fi, ZigBee, NB-loT, LoRa, SigFox.
Furthermore, the terminal equipment can be field acquisition equipment, environment sensing equipment, terminal control equipment and the like, the terminal equipment generates an account of the terminal equipment through a terminal layer account management module, is provided with an independent identification ID and a public and private key, finishes data acquisition through a data acquisition module, analyzes and labels data through a data preprocessing module, packs the data in a data block form and transmits the data to edge equipment through a data communication module.
The edge device is provided with a block chain application node function module, and the application node function module comprises an edge layer account management module, a data processing module, an application node module and a communication module; wherein:
the edge layer account management module comprises identity registration, identity management and account management, and has the main functions of edge equipment registration and chaining, block chain Identification (ID) and public and private key pair generation, management of nearby terminal equipment and allocation of sufficient pass-certificate to the terminal equipment account;
the data processing module comprises data receiving, data analysis, data classification, data sending and early warning intelligent contracts; the edge device receives data transmitted by the terminal device, further processes the data, preferentially processes abnormal data, performs early warning if the data are abnormal, marks the data again, broadcasts the data to other nodes and receives feedback of other nodes;
the application node module comprises a data check label, a data query and a data storage intelligent contract, and has the main functions of verifying whether received data is tampered, querying previous affairs and the data storage intelligent contract, wherein the contract is used for storing data by edge equipment, and the edge equipment only stores staged block data and continuously updates the data;
the communication module has the main function of realizing communication between the terminal equipment and the edge equipment and between the edge equipment and the cloud server through the low-power local area network. The supported technologies comprise at least one of Wi-Fi, ZigBee, NB-loT, LoRa and SigFox;
further, the edge device may be an intelligent router, an intelligent edge gateway, and the like, the edge device generates an account of the edge device through an edge layer account management module, is provided with an independent identification ID and a public and private key, and is allocated to a connected terminal account for sufficient certification for data transmission, receives data transmitted by the terminal device through a data processing module and an application node module, performs verification, preferentially processes abnormal data after the verification is passed, further analyzes, processes and feeds back the data, updates the stored data by calling a data storage intelligent contract, and broadcasts the data to other connected nodes through a communication module.
The cloud server is provided with a block chain consensus node function module, and the consensus node function module comprises a data processing module, a data storage module, a consensus node module and a communication module; wherein:
the data processing module comprises data receiving, data analysis, data feedback and an early warning intelligent contract, and has the functions of mainly receiving data transmitted by edge equipment, further analyzing the data, sequentially processing emergency data and normal data and feeding back the result in time;
the data storage module is mainly used for storing data in a distributed mode, an interplanetary file system (IPFS) is adopted, and NoSQL databases such as LevelDB, CouchDB, RocksDB and the like are selected as bottom storage;
the common identification node module comprises data verification, common identification and uplink, and has the functions of mainly receiving data transmitted by other nodes and then verifying, and performing common identification between common identification nodes after the verification is passed; here, the consensus algorithm may be POW, POS, PBFT, etc., and the distributed ledger is modified after achieving consensus, completing data uplink;
the communication module mainly functions to realize communication between nodes by using a P2P network technology; the consensus nodes are at least four, every two of the four consensus nodes are connected, and the application nodes are connected with 1 to N other nodes;
furthermore, the cloud server receives data transmitted by other nodes through the data processing module and the consensus node module, verifies the data, further analyzes, processes and feeds back the data after the data are verified, performs consensus on the data and other three consensus nodes through the communication module, modifies the distributed account book after the consensus, completes data chaining, and stores and backs up the data through the data storage module.
The trusted edge Internet of things system with collaborative end edge clouds for deploying the block chain can be applied to intelligent industrial production. Can go to gather the data in the industrial production through this system, analyze data through the early warning model, if data are unusual, can early warning the very first time, integrated block chain technology guarantees the tamper-proof nature and the security of data, the enterprise can carry out the financing through the production data, accelerate the expansion of enterprise's scale, also can carry out visual management to data, intelligent industrial production can be furniture production, trades such as automobile parts production, the data of gathering include but not be limited to temperature, humidity, also can be raw and other materials memory space, commodity circulation order volume, warehouse entry delivery list etc..
Drawings
Fig. 1 is a system architecture diagram of a block chain deployment method facing edge cloud coordination of a trusted edge internet of things.
Fig. 2 shows functional modules of the terminal device, the edge device, and the cloud server according to the present invention.
Fig. 3 is a flowchart of a block chain deployment method of end edge cloud cooperation for a trusted edge internet of things.
Detailed Description
The technical scheme is further specifically described by matching the invention with the accompanying drawings.
As shown in fig. 1, a block chain deployment method and system architecture diagram facing edge cloud coordination of a trusted edge internet of things is divided into a terminal layer, an edge layer, and a cloud service layer. The terminal layer comprises a plurality of terminal devices, the edge layer comprises a plurality of edge devices, and the cloud service layer is a built cloud server. As shown in fig. 2, the terminal device, the edge device, and the functional module on the cloud server are deployed with a block chain data preprocessing function, and the functional module includes a data acquisition module, a data preprocessing module, a terminal layer account management module, and a communication module; the edge device is provided with a block chain application node, and the functional module is provided with an edge layer account management module, a data processing module, an application node module and a communication module; the cloud server is provided with four block chain consensus nodes, and the functional modules of the four block chain consensus nodes comprise a data processing module, a data storage module, a consensus node module and a communication module.
The data acquisition module in the terminal equipment comprises data acquisition, data receiving and data sending and mainly completes tasks of acquiring data and receiving and sending the data by the terminal equipment; the data preprocessing module comprises early warning intelligent contracts, data classification and data encryption, and has the main functions of compiling different early warning intelligent contracts according to different application scenes, analyzing and labeling data, performing alarm processing on the data conforming to an early warning model and mainly finishing a preprocessing task of equipment; the terminal layer account management module comprises identity registration and identity management, and has the main functions of registering and winding up terminal equipment, generating a block chain Identifier (ID), a timestamp and the like; the communication module is mainly used for realizing communication between the terminal equipment and the edge equipment through a low-power local area network, and the supported technology comprises at least one of Wi-Fi, ZigBee, NB-loT, LoRa and SigFox;
the edge device is provided with a blockchain application node, an edge layer account management module in the functional module comprises identity registration, identity management and account management, and the main functions of the edge device are that the edge device registers and links a chain, generates a blockchain identification ID and a public and private key pair, manages nearby terminal devices and allocates sufficient pass-certificates for the terminal device accounts; the data processing module comprises data receiving, data analysis, data classification, data sending and early warning intelligent contracts, the edge equipment receives data transmitted by the terminal equipment, further processes the data, preferentially processes abnormal data, if the data is abnormal, early warning is carried out, a label is marked again, the data is broadcasted to other nodes, and the feedback of other nodes is received; the application node module comprises a data check label, a data query and a data storage intelligent contract, and has the main functions of verifying whether received data is tampered, querying previous affairs and the data storage intelligent contract, wherein the contract is used for storing data by edge equipment, and the edge equipment only stores staged block data and continuously updates the data; the communication module is mainly used for realizing communication between the terminal equipment and the edge equipment through a low-power local area network, the supported technology comprises at least one of Wi-Fi, ZigBee, NB-loT, LoRa and SigFox, the edge equipment and the cloud server are in communication, and a P2P network technology is utilized;
the cloud server deploys a block chain consensus node, a data processing module in the functional module comprises data receiving, data analysis, data feedback and an early warning intelligent contract, and the function of the functional module is mainly to receive data transmitted by edge equipment, further analyze the data, sequentially process emergency data and normal data and feed back the result in time; the data storage module has the functions of mainly performing distributed storage on data, applying an interplanetary file system (IPFS), and selecting NoSQL (structured query language) such as LevelDB, CouchDB, RocksDB and the like as bottom storage; the common identification node module comprises data verification, common identification and uplink, and has the functions of mainly receiving data transmitted by other nodes and then verifying, carrying out common identification among common identification nodes after the verification is passed, wherein a common identification algorithm can be POW, POS, PBFT and the like, and modifying a distributed account book after the common identification is achieved to complete the data uplink; the communication module has the main functions of realizing communication among nodes by utilizing a P2P network technology, wherein at least four consensus nodes are required, every two of the four consensus nodes are connected, and the application node is connected with 1 to N other nodes;
the terminal device, the edge device and the cloud server together form a whole system, and as shown in fig. 3, a block chain deployment method flow chart facing end edge cloud cooperation of a trusted edge internet of things is provided.
The terminal equipment can be field acquisition equipment, environment sensing equipment, terminal control equipment and the like, authentication and registration are completed through a terminal layer account management module to become trusted equipment on a chain, registration content comprises a terminal equipment identification ID, a public and private key and the like, and sufficient evidence is distributed to an account of the terminal equipment for transmitting data after the registration is successful. Next, the terminal device acquires data through the data acquisition module, and can acquire different types of data according to different application scenes, for example, the terminal device is applied to industrial production factories, can acquire factory temperature, humidity, raw material entering factory, product leaving factory and other data by using the terminal device, and preprocesses the data through the data preprocessing module after acquiring corresponding data. The data preprocessing module serializes data, converts the data into digital signals, different early warning models are compiled in the data preprocessing module according to different application scenes, the contract comprises early warning threshold values and relevant configurations, the data are classified, the data classification algorithm can be an SVM (support vector machine) algorithm, an NBC (naive Bayesian classification) algorithm, a KNN (K nearest neighbor) algorithm and the like, tags of 'normal data' and 'abnormal data' are marked on the data through different data classification algorithms, when the judgment result is 'abnormal data', the terminal equipment starts an alarm program, and the equipment sends out early warning to remind field workers. The data preprocessing module encrypts the labeled data, a block chain encryption algorithm is used for digitally signing and abstracting the data, the digital signature algorithm can be RSA, DSA or ECDSA (elliptic curve digital signature) algorithm, the abstract algorithm can be MD (message abstraction) or SHA (secure hash) algorithm, a timestamp is covered after the data are encrypted through the digital signature and abstract algorithm, a data block of the block chain is basically formed, then data transmission is carried out through the communication module, the communication module mainly has the function of realizing communication between terminal equipment and edge equipment through a low-power-consumption local area network, and the supported technology comprises at least one of Wi-Fi, ZigBee, NB-loT, LoRa and SigFox.
The edge device can be an intelligent router, an intelligent edge gateway and the like, firstly, the edge device completes authentication and registration through an edge layer account management module to become a trusted device on a chain, the registration content comprises an edge device identification ID, a public and private key and the like, and sufficient evidence is distributed to an account of the edge device for data transmission after the registration is successful. The edge device firstly receives data through the communication module and the data processing module, verifies the data through the data signature verification function of the application node module after receiving the data, if the data is not verified, the data is fed back to the terminal device or the edge device is tampered, the request is sent again, if the data is verified, the received data is further processed through the data processing module, and the priority is that the abnormal data is processed firstly, and then the normal data is processed in idle time. The abnormal data is further compared with the optimized early warning model, if the abnormal data is not in accordance with the early warning model, the abnormal data is indicated to indicate normal data, the normal data is fed back to the terminal equipment, the data is collected again, if the abnormal data is indicated to indicate abnormal data, early warning is carried out, the edge equipment sends out early warning to remind workers, the data is re-labeled with 'emergency data' through a data classification algorithm, then the function of broadcasting the emergency data to other nodes is completed through a communication module, and the other nodes comprise application nodes of the edge equipment and common identification nodes of the cloud server which are connected.
After the application node of the edge device broadcasts data to other nodes, the data is stored by calling a data storage intelligent contract written in the application node module, verified transactions are not stored on the edge device but are centrally and uniformly stored on a cloud server to form a cloud storage copy, the edge device only stores a staged transaction block, and storage space is continuously changed. The application node function module of the block chain deployed on the edge device calls the hash value of the transaction to be queried to find the corresponding data if a manager wants to query the data.
Four cloud hosts are built into a cloud server, each cloud host is a common identification node, and every two common identification nodes are connected with each other, so that the server is ensured to be in a relatively safe environment. The data processing method comprises the steps of firstly receiving data through a data processing module and a communication module, then verifying the data through a consensus node module after the data are received, if the data are not verified, indicating that the data are tampered, feeding the data back to data source equipment, and if the data are verified, further processing the data, wherein the priority is that 'emergency data' is processed firstly and then 'normal data' is processed in idle. And further comparing the data with the more optimized early warning model, feeding the data back to the edge equipment if the data are not in accordance with the early warning model, and directly early warning the data to background management personnel through a cloud if the data are normal, so as to survey related equipment. After the data processing is finished, the affairs are broadcasted to other consensus nodes through the consensus node module and the communication module, consensus is finished among the consensus nodes through a consensus algorithm, the consensus algorithm can be POW, POS, PBFT and the like, the distributed account book is modified after consensus is achieved, and data chaining is finished. The data storage module is used for data storage and applies an interplanetary file system (IPFS).
The utility model provides an edge thing networking of integrated block chain technique application in intelligent industrial production, intelligent industrial production can be toy production, furniture production, equipment parts production etc. for example use in toy production industry, because present many toy manufacturing enterprises are all middle-size and small-size enterprises, face the production data not intelligent, the difficult scheduling problem of enterprise financing, consequently can utilize this system to effectively solve these problems. The method comprises the steps that firstly, data such as factory temperature, humidity, raw material entering, product leaving, order and the like can be acquired by using terminal equipment, the data are further processed, linked up and stored through edge equipment and a cloud server, the safety, credibility, non-falsification and traceability of the data can be guaranteed, the performance of the edge equipment is effectively released, early warning prompt can be carried out when the data are abnormal, the production capacity and potential of an enterprise can be systematically evaluated through the data, the data are digital assets of the enterprise, the method can be used for carrying out intelligent management on production by the enterprise, the asset credibility of the enterprise is enhanced, the product mobility is improved, the financing cost is reduced, and the supervision efficiency is improved.
The edge internet of things with the integrated block chain technology applied to the intelligent industrial production realizes that the block chain technology can be effectively utilized in the intelligent industrial production, the data is guaranteed to be safe and credible and cannot be tampered, and meanwhile, the problem that the block chain occupies a storage space to influence the performance of equipment is solved. The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1.一种部署区块链的端边云协同的可信边缘物联网系统,其特征在于,系统包括多个终端设备、多个边缘设备、云服务器,以及部署在系统上的区块链;其中:1. A trusted edge Internet of Things system for deploying a blockchain with end-edge-cloud collaboration, characterized in that the system includes multiple terminal devices, multiple edge devices, cloud servers, and a blockchain deployed on the system; in: 所述终端设备,部署区块链数据预处理功能模块,该数据预处理功能模块包括数据采集模块、数据预处理模块、终端层账户管理模块和通信模块;其中:The terminal device deploys a block chain data preprocessing function module, and the data preprocessing function module includes a data acquisition module, a data preprocessing module, a terminal layer account management module and a communication module; wherein: 所述的数据采集模块,包括数据采集、数据接收、数据发送,主要完成终端设备采集数据并对数据进行接收发送任务;The data acquisition module includes data acquisition, data reception, and data transmission, and mainly completes the task of collecting data by terminal equipment and receiving and transmitting the data; 所述的数据预处理模块,包括预警智能合约、数据分类、数据加密,主要功能是根据应用场景不同配置不同的的预警模型,对数据进行分析,打标签,符合预警模型的数据进行告警处理,主要完成对设备的预处理任务;The data preprocessing module includes early warning smart contracts, data classification, and data encryption. The main function is to configure different early warning models according to different application scenarios, analyze and label the data, and perform alarm processing on data that conforms to the early warning models. Mainly complete the preprocessing tasks of the equipment; 所述的终端层账户管理模块,包括身份注册、身份管理,主要功能是终端设备注册上链,生成区块链标识ID、公私钥对;The terminal layer account management module includes identity registration and identity management, and the main function is to register the terminal device on the chain, and generate a blockchain identification ID and a public-private key pair; 所述的通信模块,主要是通过低功耗局域网实现终端设备与边缘设备之间的通信;The communication module mainly realizes the communication between the terminal device and the edge device through a low-power local area network; 所述的边缘设备,部署区块链应用节点功能模块,该应用节点功能模块包括边缘层账户管理模块、数据处理模块、应用节点模块和通信模块;其中:The edge device deploys a block chain application node function module, and the application node function module includes an edge layer account management module, a data processing module, an application node module and a communication module; wherein: 所述的边缘层账户管理模块,包括身份注册、身份管理、账户管理,主要功能是边缘设备注册上链,生成区块链标识ID、公私钥对,管理附近的终端设备,给终端设备账户分配充足的通证;The edge layer account management module includes identity registration, identity management, and account management. The main functions are to register edge devices on the chain, generate blockchain identification IDs, public-private key pairs, manage nearby terminal devices, and allocate terminal device accounts. sufficient tokens; 所述的数据处理模块,包括数据接收、数据分析、数据分类、数据发送、预警智能合约;边缘设备接收终端设备传输的数据,对数据进行进一步处理,优先处理非正常数据,若数据异常进行预警,再次打上标签,广播给其他节点,接收其他节点的反馈;The data processing module includes data reception, data analysis, data classification, data transmission, and early warning smart contracts; the edge device receives the data transmitted by the terminal device, further processes the data, prioritizes abnormal data, and gives early warning if the data is abnormal. , label it again, broadcast to other nodes, and receive feedback from other nodes; 所述的应用节点模块,包括数据验签、数据查询、数据存储智能合约,主要功能是负责验证接收到的数据是否被篡改,查询之前的事务,数据存储智能合约,该合约用于边缘设备存储数据,边缘设备只存储阶段性的区块数据,并不断对数据进行更新;The application node module includes data signature verification, data query, and data storage smart contracts. The main functions are to verify whether the received data has been tampered with, query previous transactions, and data storage smart contracts, which are used for edge device storage. Data, edge devices only store periodic block data, and continuously update the data; 所述的通信模块,主要是通过低功耗局域网实现终端设备与边缘设备之间,以及边缘设备与云服务器之间的通信;The communication module mainly realizes the communication between the terminal device and the edge device, and between the edge device and the cloud server through a low-power local area network; 所述的云服务器,部署区块链共识节点功能模块,该共识节点功能模块包括数据处理模块、数据存储模块、共识节点模块和通信模块;其中:The cloud server deploys a blockchain consensus node function module, and the consensus node function module includes a data processing module, a data storage module, a consensus node module and a communication module; wherein: 所述的数据处理模块,包括数据接收、数据分析、数据反馈、预警智能合约,主要是接收边缘设备传输过来的数据,对数据进行进一步分析,依次处理紧急数据、正常数据,把结果及时反馈;The data processing module, including data reception, data analysis, data feedback, and early warning smart contracts, mainly receives data transmitted from edge devices, further analyzes the data, processes emergency data and normal data in turn, and feeds back the results in time; 所述的数据存储模块,是对数据进行分布式存储;The data storage module is for distributed storage of data; 所述的共识节点模块,包括数据验证、共识、上链,其功能主要是接收到其他节点传来的数据后进行验证,验证通过后共识节点之间进行共识;达成共识后修改分布式账本,完成数据上链;The consensus node module includes data verification, consensus, and on-chain, and its functions are mainly to verify after receiving data from other nodes, and to reach consensus between consensus nodes after the verification is passed; to modify the distributed ledger after reaching a consensus, Complete data uploading; 所述的通信模块,主要是利用P2P网络技术实现节点间的通信;共识节点至少需要四个,四个共识节点之间两两连接,应用节点连接1至N个其他节点。The communication module mainly uses the P2P network technology to realize the communication between nodes; at least four consensus nodes are required, and the four consensus nodes are connected in pairs, and the application node is connected with 1 to N other nodes. 2.根据权利要求1所述的系统,其特征在于,所述数据预处理模块中,数据分类的算法采用支持向量机算法、朴素贝叶斯分类算法或K最近邻近算法;数据加密的算法采用区块链加密算法,包括对数据进行数字签名和摘要生成一对公私钥;数字签名的算法为RSA、DSA或ECDSA算法,摘要生成的算法为MD或SHA算法。2. system according to claim 1, is characterized in that, in described data preprocessing module, the algorithm of data classification adopts support vector machine algorithm, naive Bayes classification algorithm or K nearest neighbor algorithm; The algorithm of data encryption adopts Blockchain encryption algorithm, including digital signature and digest to generate a pair of public and private keys; the digital signature algorithm is RSA, DSA or ECDSA algorithm, and the digest generation algorithm is MD or SHA algorithm. 3.根据权利要求1所述的系统,其特征在于,所述终端设备中的通信模块,支持技术为Wi-Fi、ZigBee、NB-loT、LoRa、SigFox中的至少一个。3 . The system according to claim 1 , wherein the communication module in the terminal device supports at least one of Wi-Fi, ZigBee, NB-IoT, LoRa, and SigFox. 4 . 4.根据权利要求1所述的系统,其特征在于,所述边缘设备的通信模块,支持技术为Wi-Fi、ZigBee、NB-loT、LoRa、SigFox中的至少一个。4 . The system according to claim 1 , wherein the communication module of the edge device supports at least one of Wi-Fi, ZigBee, NB-IoT, LoRa, and SigFox. 5 . 5.根据权利要求1所述的系统,其特征在于,所述的终端设备是现场采集设备、环境传感设备或终端控制设备;终端设备通过终端层账户管理模块生成终端设备的账户,配有独立的标识ID和公私钥,通过数据采集模块完成对数据的采集,通过数据预处理模块,对数据进行分析打标签,将数据以数据区块的形式打包通过数据通信模块传输给边缘设备。5. The system according to claim 1, wherein the terminal equipment is an on-site acquisition equipment, an environmental sensing equipment or a terminal control equipment; the terminal equipment generates an account of the terminal equipment through a terminal layer account management module, equipped with The independent identification ID and public and private keys are used to collect data through the data collection module. Through the data preprocessing module, the data is analyzed and labeled, and the data is packaged in the form of data blocks and transmitted to the edge device through the data communication module. 6.根据权利要求1所述的系统,其特征在于,所述的边缘设备是智能路由器或智能边缘网关;边缘设备通过边缘层账户管理模块生成边缘设备的账户,配有独立的标识ID和公私钥,并分配给连接的终端账户足够的通证用于传输数据,通过数据处理模块和应用节点模块接收终端设备传输的数据,进行验证,验证通过后,优先处理非正常数据,对数据进行进一步地分析处理以及反馈,通过调用数据存储智能合约更新存储的数据,再通过通信模块,将数据广播给相连的其他节点。6. The system according to claim 1, wherein the edge device is an intelligent router or an intelligent edge gateway; the edge device generates an account of the edge device through the edge layer account management module, equipped with an independent identification ID and a public-private key, and allocate enough tokens to the connected terminal account for data transmission, receive the data transmitted by the terminal device through the data processing module and the application node module, and verify it. It analyzes, processes and provides feedback, updates the stored data by calling the data storage smart contract, and broadcasts the data to other connected nodes through the communication module. 7.根据权利要求1所述的系统,其特征在于,云服务器通过数据处理模块和共识节点模块,接收其他节点传来的数据,进行验证,验证通过后对数据进行进一步分析处理和反馈,之后通过通信模块与其他三个共识节点进行共识,共识后对分布式账本进行修改,完成数据上链,通过数据存储模块对数据进行存储备份。7. The system according to claim 1, wherein the cloud server receives data from other nodes through the data processing module and the consensus node module, and performs verification. After the verification is passed, the data is further analyzed, processed and fed back. A consensus is reached with the other three consensus nodes through the communication module. After the consensus, the distributed ledger is modified to complete the data on-chain, and the data is stored and backed up through the data storage module.
CN202110853374.8A 2021-07-28 2021-07-28 End Bian Yun collaborative trusted edge Internet of things system for deploying blockchain Active CN113656495B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110853374.8A CN113656495B (en) 2021-07-28 2021-07-28 End Bian Yun collaborative trusted edge Internet of things system for deploying blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110853374.8A CN113656495B (en) 2021-07-28 2021-07-28 End Bian Yun collaborative trusted edge Internet of things system for deploying blockchain

Publications (2)

Publication Number Publication Date
CN113656495A true CN113656495A (en) 2021-11-16
CN113656495B CN113656495B (en) 2023-11-24

Family

ID=78490714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110853374.8A Active CN113656495B (en) 2021-07-28 2021-07-28 End Bian Yun collaborative trusted edge Internet of things system for deploying blockchain

Country Status (1)

Country Link
CN (1) CN113656495B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923054A (en) * 2021-12-10 2022-01-11 中国电子科技集团公司第二十八研究所 Authentication and authorization unified management and control method for hierarchical edge users
CN114124956A (en) * 2021-11-17 2022-03-01 上证所信息网络有限公司 Block chain edge calculation system
CN114141324A (en) * 2021-12-01 2022-03-04 医贝云服(杭州)科技有限公司 Medical data processing method and device based on edge calculation
CN114254976A (en) * 2021-12-20 2022-03-29 江苏波司登科技有限公司 Cloud-edge cooperative logistics equipment control method and system
CN114430413A (en) * 2021-12-20 2022-05-03 青岛鹏海软件有限公司 IIoT intelligent operation and maintenance management method based on block chain
CN114448677A (en) * 2021-12-31 2022-05-06 山东省计算中心(国家超级计算济南中心) Edge server based on block chain, data uplink method and system
CN114500531A (en) * 2022-01-04 2022-05-13 中国人民武装警察部队工程大学 Equipment quality information management and control framework based on alliance block chain
CN114598474A (en) * 2022-01-20 2022-06-07 杭州趣链科技有限公司 Hardware equipment approaching credibility management method and device, computer equipment and medium
CN115277137A (en) * 2022-07-15 2022-11-01 杭州云象网络技术有限公司 Data acquisition supervision method, system and device based on administration chain
CN115297117A (en) * 2022-10-08 2022-11-04 中国人民解放军国防科技大学 Cloud-side-terminal secure and trusted interactive computing system and device based on blockchain
CN115567546A (en) * 2022-08-25 2023-01-03 深圳市海清视讯科技有限公司 Monitoring data transmission method and device, electronic equipment and storage medium
CN116095084A (en) * 2023-04-03 2023-05-09 浙江大学 Smart grid data storage method and system based on blockchain
WO2023093129A1 (en) * 2021-11-23 2023-06-01 广东跃昉科技有限公司 Internet of things architecture and data processing method applied to internet of things architecture
CN116614807A (en) * 2023-07-20 2023-08-18 山东科技大学 Lightweight authenticated key exchange method for wireless local area network and multi-access edge computing
CN117826694A (en) * 2024-03-06 2024-04-05 北京和利时系统集成有限公司 Intelligent electromechanical system
CN117893102A (en) * 2024-03-15 2024-04-16 平潭综合实验区智慧岛投资发展有限公司 Enterprise management system based on block chain
CN117911160A (en) * 2024-01-19 2024-04-19 江苏小微云链金融科技有限公司 Distributed asset management and control method and system based on edge calculation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200087327A (en) * 2018-12-28 2020-07-21 달리웍스 주식회사 System and method for providing data reliability based on blockchain for iot services
CN111478902A (en) * 2020-04-07 2020-07-31 江苏润和智融科技有限公司 Power edge gateway equipment and sensing data uplink storage method based on same
AU2020102193A4 (en) * 2020-09-09 2020-10-22 Tianjin University Structural health monitoring system based on blockchain and smart contract
CN112417037A (en) * 2020-11-05 2021-02-26 杭州云象网络技术有限公司 Block chain construction method for distributed identity authentication in industrial field
CN112600892A (en) * 2020-12-07 2021-04-02 北京邮电大学 Block chain equipment and system for Internet of things and working method
CN112804310A (en) * 2020-12-31 2021-05-14 河南中盾云安信息科技有限公司 Multi-chain intelligent security gateway for application of Internet of things and implementation method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200087327A (en) * 2018-12-28 2020-07-21 달리웍스 주식회사 System and method for providing data reliability based on blockchain for iot services
CN111478902A (en) * 2020-04-07 2020-07-31 江苏润和智融科技有限公司 Power edge gateway equipment and sensing data uplink storage method based on same
AU2020102193A4 (en) * 2020-09-09 2020-10-22 Tianjin University Structural health monitoring system based on blockchain and smart contract
CN112417037A (en) * 2020-11-05 2021-02-26 杭州云象网络技术有限公司 Block chain construction method for distributed identity authentication in industrial field
CN112600892A (en) * 2020-12-07 2021-04-02 北京邮电大学 Block chain equipment and system for Internet of things and working method
CN112804310A (en) * 2020-12-31 2021-05-14 河南中盾云安信息科技有限公司 Multi-chain intelligent security gateway for application of Internet of things and implementation method

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124956A (en) * 2021-11-17 2022-03-01 上证所信息网络有限公司 Block chain edge calculation system
WO2023093129A1 (en) * 2021-11-23 2023-06-01 广东跃昉科技有限公司 Internet of things architecture and data processing method applied to internet of things architecture
CN114141324A (en) * 2021-12-01 2022-03-04 医贝云服(杭州)科技有限公司 Medical data processing method and device based on edge calculation
CN114141324B (en) * 2021-12-01 2022-08-09 医贝云服(杭州)科技有限公司 Medical data processing method and device based on edge calculation
CN113923054A (en) * 2021-12-10 2022-01-11 中国电子科技集团公司第二十八研究所 Authentication and authorization unified management and control method for hierarchical edge users
CN114254976A (en) * 2021-12-20 2022-03-29 江苏波司登科技有限公司 Cloud-edge cooperative logistics equipment control method and system
CN114430413A (en) * 2021-12-20 2022-05-03 青岛鹏海软件有限公司 IIoT intelligent operation and maintenance management method based on block chain
CN114448677A (en) * 2021-12-31 2022-05-06 山东省计算中心(国家超级计算济南中心) Edge server based on block chain, data uplink method and system
CN114448677B (en) * 2021-12-31 2024-03-08 山东省计算中心(国家超级计算济南中心) Edge server based on block chain, data uplink method and system
CN114500531A (en) * 2022-01-04 2022-05-13 中国人民武装警察部队工程大学 Equipment quality information management and control framework based on alliance block chain
CN114500531B (en) * 2022-01-04 2023-10-13 中国人民武装警察部队工程大学 An equipment quality information management and control framework based on alliance blockchain
CN114598474A (en) * 2022-01-20 2022-06-07 杭州趣链科技有限公司 Hardware equipment approaching credibility management method and device, computer equipment and medium
CN114598474B (en) * 2022-01-20 2024-04-19 杭州趣链科技有限公司 Hardware device proximity trusted management method, device, computer device and medium
CN115277137A (en) * 2022-07-15 2022-11-01 杭州云象网络技术有限公司 Data acquisition supervision method, system and device based on administration chain
CN115567546A (en) * 2022-08-25 2023-01-03 深圳市海清视讯科技有限公司 Monitoring data transmission method and device, electronic equipment and storage medium
CN115297117B (en) * 2022-10-08 2022-12-23 中国人民解放军国防科技大学 Blockchain-based secure and trusted interactive computing system and device for cloud-side terminal
CN115297117A (en) * 2022-10-08 2022-11-04 中国人民解放军国防科技大学 Cloud-side-terminal secure and trusted interactive computing system and device based on blockchain
CN116095084A (en) * 2023-04-03 2023-05-09 浙江大学 Smart grid data storage method and system based on blockchain
CN116614807B (en) * 2023-07-20 2023-10-13 山东科技大学 Lightweight authenticated key exchange method for wireless LAN and multi-access edge computing
CN116614807A (en) * 2023-07-20 2023-08-18 山东科技大学 Lightweight authenticated key exchange method for wireless local area network and multi-access edge computing
CN117911160A (en) * 2024-01-19 2024-04-19 江苏小微云链金融科技有限公司 Distributed asset management and control method and system based on edge calculation
CN117911160B (en) * 2024-01-19 2024-06-21 江苏小微云链金融科技有限公司 Distributed asset management and control method and system based on edge calculation
CN117826694A (en) * 2024-03-06 2024-04-05 北京和利时系统集成有限公司 Intelligent electromechanical system
CN117893102A (en) * 2024-03-15 2024-04-16 平潭综合实验区智慧岛投资发展有限公司 Enterprise management system based on block chain

Also Published As

Publication number Publication date
CN113656495B (en) 2023-11-24

Similar Documents

Publication Publication Date Title
CN113656495A (en) Credible edge Internet of things system with deployment of end edge cloud cooperation of block chain
CN108846010B (en) Method, system, computer system and storage medium for tracing product source in network
Rathee et al. A secure communicating things network framework for industrial IoT using blockchain technology
CN110933187B (en) Internet of things data transmission system based on block chain consensus encryption mechanism
Jiang et al. Blockchain-based internet of vehicles: Distributed network architecture and performance analysis
Ali et al. Secure data provenance in cloud-centric internet of things via blockchain smart contracts
CN111949672B (en) Block chain storage method for supporting incremental update of Internet-of-things data
EP3942734B1 (en) Systems and methods for virtual distributed ledger networks
WO2018125989A2 (en) The internet of things
CN110362357A (en) A kind of configuration file management method and device of application program
CN112749969B (en) Data processing method and device, computer equipment and storage medium
CN114445010B (en) Block chain-based multi-mode intermodal system and method
Saia et al. Internet of entities (IoE): A blockchain-based distributed paradigm for data exchange between wireless-based devices
Sangeetha et al. Blockchain for IoT enabled supply chain management-A systematic review
Li et al. Logisticschain: a blockchain‐based secure storage scheme for logistics data
CN114124956A (en) Block chain edge calculation system
CN114401082B (en) Material tracking system based on industrial internet
US12058269B2 (en) Systems and methods for providing secure internet of things data notifications using blockchain
CN111383020A (en) Block chain-based article anti-counterfeiting management method, device, equipment and storage medium
CN113726525A (en) Energy industry cloud network data tracing method and device
CN117979291A (en) Blockchain-based IoT sensor network security device, method, equipment and medium
Bilal et al. A hierarchical anti-counterfeit mechanism: securing the supply chain using RFIDs
WO2023098824A1 (en) Vehicle data management method and apparatus, and server and storage medium
CN116596551A (en) Supply chain product tracing method based on block chain, storage medium and electronic equipment
CN114710796A (en) Sensor abnormity detection method, device and system based on block chain

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