CN111355780A - Block chain-based Internet of things monitoring management method and system - Google Patents

Block chain-based Internet of things monitoring management method and system Download PDF

Info

Publication number
CN111355780A
CN111355780A CN202010099556.6A CN202010099556A CN111355780A CN 111355780 A CN111355780 A CN 111355780A CN 202010099556 A CN202010099556 A CN 202010099556A CN 111355780 A CN111355780 A CN 111355780A
Authority
CN
China
Prior art keywords
internet
block
chain
things
monitoring
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
CN202010099556.6A
Other languages
Chinese (zh)
Other versions
CN111355780B (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.)
Hangzhou Yunxiang Network Technology Co Ltd
Original Assignee
Hangzhou Yunxiang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Yunxiang Network Technology Co Ltd filed Critical Hangzhou Yunxiang Network Technology Co Ltd
Priority to CN202010099556.6A priority Critical patent/CN111355780B/en
Publication of CN111355780A publication Critical patent/CN111355780A/en
Application granted granted Critical
Publication of CN111355780B publication Critical patent/CN111355780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a monitoring management method and a system based on a block chain, wherein the monitoring management method comprises the following steps: (1) establishing an Internet of things network based on multiple chains; (2) the environmental deployment of the block chain monitoring system; (3) carrying out cluster management and encapsulation on participating nodes on a network chain of the Internet of things; (4) the packaged block chain Internet of things network is visually monitored, and the corresponding system comprises a deployment module, a construction module, a management module and a monitoring module; the invention designs a convenient integrated block chain Internet of things supervision method and a convenient integrated block chain Internet of things supervision system based on a block chain Internet of things network of a multi-chain architecture, which are used for deploying and supervising the operation of the block chain Internet of things network in real time.

Description

Block chain-based Internet of things monitoring management method and system
Technical Field
The invention belongs to the technical field of block chain Internet of things, and particularly relates to a block chain-based Internet of things monitoring and management method and system.
Background
During the long-term development and evolution process of the internet of things, the following industry pain points are met: device security, individual privacy, architecture rigidity, communication compatibility, and multi-entity coordination. Recent proposals in internet of things access control systems have incorporated blockchains into them to overcome problems inherent in conventional internet of things systems. While internet of things systems have long existed in various forms, security challenges are emerging and will continue to emerge in the foreseeable future. General IT security methods and tools are unable to meet all of the specific requirements of a secure internet of things deployment. Therefore, it is very important to determine an emergency method suitable for a security solution of the internet of things.
At present, many internet of things are self-organizing networks inside operators and enterprises, the characteristics of multi-center and weak centralization of an operation alliance chain can reduce the high operation and maintenance cost of a centralization framework, the characteristics of information encryption and safe communication can be beneficial to protecting privacy, identity authority management and multi-party consensus can be beneficial to identifying illegal nodes, the access and the operation of malicious nodes can be prevented in time, and the core advantages of a block chain structure comprise: any node can create a transaction, after a period of confirmation, whether the transaction is valid can be reasonably confirmed, and the block chain can effectively prevent problems of both parties; the cost of attempting to overwrite or modify a transaction record is very high. The blockchain implements two types of recording: transactions (transactions) and blocks (blocks). Transactions are the actual data stored on the blockchain, and blocks are records that identify when and in what order certain transactions are part of the blockchain database. Transactions are created by participants using the system in the normal course (in the case of encrypted digital currency, a transaction is created by the bob sending tokens to alice), while blocks are created by an entity we call miners (miners). The block chain technology is an architecture design method for realizing a product with public data, transparency and traceability, and is calculated as a generalized block chain.
The combination of the block chain and the internet of things needs to deal with three risks of service provider reliability, authentication safety and legal supervision deficiency. When the internet of things is extended to billions of devices and millions of device owners, it is not possible to maintain ACLs for each internet of things device and rely on a centralized access control server. To enable these internet of things device owners to control the data generated by their devices, blockchain deployment is a possible solution, not including reliance on centralized third parties. However, in the process of applying the blockchain technology to more and more internet of things systems, how to more efficiently remove the centrally supervised internet of things system and how to effectively perform visual monitoring management on various gateway nodes so as to enable a huge internet of things system to efficiently respond and trade under the support of a blockchain underlying network is a problem to be solved currently.
Disclosure of Invention
In order to solve the problems, the invention designs a block chain Internet of things network with a multi-chain architecture, and provides a convenient integrated block chain Internet of things supervision method and system for deploying and supervising the operation of the block chain Internet of things network in real time. The method has the advantages of monitoring and management, realizes data exchange among multiple chains, performs category attribution management on a complex block chain architecture through interface packaging, provides a supervision way, and performs real-time monitoring and display on the state of the Internet of things underlying network by using a block chain technology.
On one hand, the invention discloses a block chain-based Internet of things monitoring and management method, which comprises the following steps:
(1) the method comprises the following steps of establishing an Internet of things network based on a multi-chain architecture, wherein the Internet of things network comprises a main chain and a sub-chain:
1) any participating mechanism creates various gateway nodes and is connected with related equipment, the Internet of things equipment with different functions is connected with the corresponding gateway to form a plurality of sub-chains, the participating mechanism comprises an Internet of things equipment providing mechanism and an equipment operation demand mechanism, and each mechanism is connected with the Internet of things equipment through the gateway.
The attribute information of each internet of things device is stored in each sub-chain, and the attribute information comprises: name, device usage, and index information. Each sub-chain realizes the chaining of the information of the Internet of things equipment with different functions of the Internet of things, and is transparent and can not be tampered.
2) Nodes are provided by each participating mechanism to form a main chain, each sub-chain selects one of the nodes to join the main chain to form a multi-chain Internet of things network architecture, and the main chain synchronizes the aggregation of the sub-chains belonging to the Internet of things equipment with different scene requirements, so that the operation of the whole Internet of things network is controllable. Each participating mechanism provides endorsement nodes, consensus nodes and accounting nodes, any node in a chain of the sublink can be randomly selected by the sublink or a node in a voting chain is voted according to scene requirements and is added into a main chain, the node shares the information of each node of the sublink to which the node belongs, the stored information is shared with other nodes of the main chain by adding the main chain, the information sharing of the internet of things of the whole network is realized, and the sublinks of different scenes serve different requirements through a multi-chain architecture. 3) A cross-chain protocol is set up, digital assets and states need to be transferred between these different chains, and the cross-chain protocol can achieve interoperability from chain to chain. Of course, here too, the impact of cross-chaining on performance and security is required; other demanding entities may choose to join the network via an invitation code.
(2) And carrying out block chain supervision environment deployment on the Internet of things network:
1) uploading the installation package containing the bottom layer of the block chain to a gateway node server, forming a file list, storing an absolute path, importing a rancher related mirror image, starting a rancher deployment cluster environment by using the imported mirror image, and deploying all mirror images depending on the cluster to the corresponding gateway node server through the rancher;
2) building a docker private warehouse in the cluster, and transmitting the related mirror images of the block chain into the private warehouse;
3) and installing a command line operation tool for inquiring and managing cluster resources, configuring a server and starting a block chain monitoring system.
(3) Carrying out cluster management and encapsulation on nodes on a network chain of the Internet of things:
1) the method comprises the steps that nodes in the multi-link Internet of things network are packaged in a set mode according to categories, node deployment is conducted through a cluster, relevant mirror images are pulled from a private warehouse, set operation is started, the relevant nodes are all operated in the cluster, if a certain node fails or crashes, the cluster is provided with a keep-alive mechanism, dynamic drifting of the nodes can be achieved, and data consistency is guaranteed;
2) and a cluster interface and a bottom communication transmission interface are arranged, the cluster interface is used for managing the state of nodes in the cluster, and the network communication transmission interface is used for managing the data information transmission between the monitoring interface and the multi-link Internet of things network.
(4) Carrying out visual monitoring on the packaged block chain Internet of things network, wherein the visual monitoring comprises topology display of the whole network connection and state monitoring of any block chain in each network:
1) establishing a block chain information general view table on an operation interface, connecting a bottom service end and an upper service end of a block chain through a network communication transmission interface, acquiring all block chain information including the running state of the sub-chain Internet of things equipment and main chain block information, and presenting the block chain information in the information general view table; the rear end is connected with a bottom layer server by utilizing a grpc to obtain the latest block of the block chain, and the detailed data of the analyzed block is pushed to the front end by utilizing a websocket;
the WebSocket protocol is a new network protocol based on TCP. It enables full-duplex (full-duplex) browser to server communication-allowing the server to actively send information to the client.
2) The method comprises the steps that WebSocket connection is established between a node state page and a server side and used for receiving and sending requests and responses related to node states, the front end analyzes the response in a JSON format, an interface is updated through React, the latest state data are displayed, and a user can click a stop/start button on the interface to manage the life cycle of each node;
3) calculating the topology map layout according to the nodes and the connecting line data, and rendering a topology map interface; (the specific method is that the position condition of a node and a connecting line is simulated in an svg by calling a function initSimuling, a force layout model of d3 is adopted, the process simulation times are 300, the final simulation result is cached in a browser supporting localStorage and returned to a caller, and a final topological graph interface is rendered according to the simulation result and the style configuration.)
4) And clicking any block chain in the information general look-up table, displaying the name, the block height, the number of executed contracts and the transaction condition of the currently selected block chain, and simultaneously reducing the transparency of nodes and connections which do not belong to the block chain on the topological graph to distinguish, thereby realizing the visual real-time monitoring on the chain of the Internet of things network.
Further, the real-time monitoring state comprises a block state and a node state: the method comprises the steps of respectively obtaining block height, transaction condition, latest block time, TPS, contract execution condition, selected consensus algorithm, block average generation time, node creation joining, node cancellation and node state acquisition, and realizing supervision control on the network state of the Internet of things, the running state of equipment and the calling condition by monitoring the block state and the node state.
On the other hand, the invention provides an internet of things monitoring and management system based on a block chain, which comprises the following components:
the deployment module is used for deploying the block chain Internet of things network environment;
the building module is used for building and joining the network, building and joining the main chain and the sub chain, and completing the basic building of the whole block chain supervision network;
the management module is used for cluster management and interface encapsulation management;
the monitoring module is used for monitoring the state indexes of each block chain and each node and the topology display of the whole network connection.
Further, the building module comprises: the node module is responsible for creating, adding and canceling each participating mechanism node; a contract module: and (4) creation, deployment and updating of intelligent contracts in each blockchain.
Further, the cluster module is responsible for managing block chain physical machines, planning of host nodes, joining and exiting;
and the interface packaging module provides a cluster management interface and a transmission interface of a block chain Internet of things network, and realizes interface conversion and data packaging through packaging.
Further, the block monitoring module: providing a function of monitoring the state of each block in the block chain Internet of things network, and checking the real-time state of the block by a user through a block monitoring module: block height, transaction condition, latest block time, TPS, contract execution condition, selected consensus algorithm, block average generation time, node creation joining, cancellation and node state acquisition; and the monitoring control of the network state of the Internet of things, the running state of the equipment and the calling condition is realized by monitoring the block state and the node state.
A state display module: the module is responsible for displaying various monitoring index data in a user-specified block chain, namely the latest state of the block chain monitored by the block monitoring module, and displaying transaction data generated in the block chain;
a detail list module: the system is responsible for operations related to block state monitoring and related data list display and data storage, and the specific functions comprise block list details, transaction list details, contract calling times, world state checking and the like, and summary information overview lists are displayed;
a block meta-module: through the module, a user can check the currently generated block information, including a block number, a last block hash, the number of successful/failed transactions in the block and transaction details;
a world state module: this module is responsible for displaying the contract currently installed and running and the world state of the contract.
Drawings
FIG. 1: the invention discloses a multi-chain Internet of things network schematic diagram;
FIG. 2: the present invention is a schematic diagram of a multi-chain architecture;
FIG. 3: the invention relates to a block chain-based Internet of things network supervision method;
FIG. 4: the whole block chain Internet of things supervision network architecture diagram is disclosed;
FIG. 5: the invention relates to a flow chart of an internet of things network supervision system based on a block chain.
Detailed Description
In order to more specifically describe the present invention, the following detailed description is provided for the technical solution of the present invention with reference to the accompanying drawings and the specific embodiments.
(1) Referring to fig. 1, the invention designs a blockchain internet of things network with a multi-chain architecture, and fig. 2 is a further supplement to fig. 1, in the network, internet of things participating mechanisms create various gateway nodes and connect with related devices, and internet of things devices with different functions are connected with corresponding gateways to form a plurality of sub-chain networks, and each participating mechanism provides nodes to form a main chain network. As shown in fig. 2, sub-chains 1, 2, and 3 update and recognize blocks according to the internet of things device data on their chains to form new blocks, and after accounting and storing the information of each sub-chain block, a summary is formed on the main chain and a main chain block is formed after broadcast and recognition, so as to form a multi-chain internet of things network.
Through a multi-chain architecture, sub-chains of different scenarios are made to serve different requirements. For example, a child chain running on a device with weak storage capacity may adopt a similar Mimble Wimble architecture to reduce storage; a child chain that focuses on a payment scenario may not need to run an intelligent contract.
And setting a cross-link protocol, namely adopting a cross-link mechanism with bidirectional locking to realize necessary digital asset transmission among the sub-chains, wherein other required mechanisms can choose to join the network through an invitation code issued by a joined uplink mechanism. Fig. 3 is a flowchart of a block chain-based internet of things supervision method according to the present invention.
A convenient integrated block chain Internet of things supervision method and system are provided for deploying and supervising the operation of a block chain Internet of things network in real time.
(2) The block chain Internet of things network environment deployment comprises the following steps:
1) firstly, a server and a client are prepared, a network access relation is opened, a docker is installed, a ran cher related mirror image is imported, a ran cher is started by utilizing the imported mirror image, and a cluster (such as a Kubernetes cluster) environment is deployed through a browser page, wherein the ran cher is a cluster deploying tool.
The method comprises the following specific steps: importing a Rancher image: and (4) importing all images which are relied on by deploying Kubernets through a ran cher to the gateway server of the Internet of things.
For example, on 5 different internet of things gateway servers, decompressing files under a cloud image block chain (yunphant _ bas) docker image directory:
# switch to mirrored compact package directory
cd$yunphant_baas/docker_images
# decompress the File
tar-xvzf rancher.tar.gz
tar-xvzf k8s.tar.gz
Respectively executing on any one server:
# switch to installation script directory
cd$yunphant_baas/script
# execution script import master related mirror
./load_master_images.sh
Executing on the remaining servers:
# switch to installation script directory
cd$yunphant_baas/script
# execution script import master related mirror
./load_slave_images.sh
Secondly, deploying kubernets by a ranker, starting the ranker by the mirror image imported in the previous step, deploying the kubernets by a browser page, starting a ranker server,
2) installing a command line operation tool kubecect which is used for inquiring and managing Kubernets resources, building a docker private warehouse in a cluster, and mainly storing the block chain related mirror images and transmitting the block chain related mirror images into the private warehouse;
3) and configuring a server and starting a block chain Internet of things monitoring system.
(3) Carrying out cluster management and encapsulation on nodes participating in a network link of the Internet of things:
1) referring to fig. 4, a participating organization creates various nodes, including creating nodes such as a peer, an order, a kafka, and a zookeeper, and combines an equipment gateway to construct a multi-chain internet of things network, after a user logs in, a user can create a block chain internet of things network of the user, and can also join other block chain internet of things networks through an invitation code to share basic components such as the order, the kafka, and the zookeeper;
2) the method comprises the steps of carrying out collection encapsulation on nodes according to categories, carrying out node deployment through a cluster, and carrying out block chain Internet of things management on the Kubernets cluster, wherein each type of node is operated in the Kubernets cluster as an independent collection. Pulling a related mirror image from a docker private warehouse, starting collective operation to enable related nodes to operate in a cluster, and if a certain node fails or crashes, the cluster is provided with a keep-alive mechanism to realize dynamic drift of the node and ensure consistency of data;
3) the method comprises the steps that a Kubernetes interface and a block chain Internet of things network communication transmission interface are arranged, the cluster interface is used for managing the state of nodes in a cluster and comprises a creation set and a monitoring set, the network communication transmission interface is used for managing data information transmission between the monitoring interface and the bottom layer of the block chain Internet of things network, and a monitoring and management way is provided through one-layer packaging of the two interfaces.
In addition, a participating mechanism participates in creating a main chain part, a peer is added into the main chain, and each node participates in deploying an intelligent contract; the participating institutions publish the publicable information into the main chain and regularly update the information state through contracts, wherein the information state comprises the publicable data information such as chain organization update, node state, contract deployment, transaction records and the like. Event notification and data exchange are carried out between the bottom platforms of the block chains through contracts on the main chain, the network structure of the block chains is borrowed, the complexity of the network structure is not additionally increased, and the functions of message communication, mail notification, workflow and the like between mechanisms are realized.
(4) Visually monitoring the packaged block chain Internet of things network, reflecting various index states of the whole block chain Internet of things network in real time, including topology display of whole network connection, and monitoring indexes of each block chain:
1) establishing a block chain information general look-up table, establishing a WebSocket protocol connection through a network communication transmission interface, receiving a monitored state and data, connecting a block chain bottom layer server, acquiring a real-time monitoring state of a sub-block chain, and presenting the real-time monitoring state in the information general look-up table; the back end obtains the latest block of the block chain by utilizing grpc to connect with the bottom layer server, the detailed data of the analyzed block is pushed to the front end by utilizing websocket. Sending a message GetOverview to acquire initialized topological graph data, keeping Websocket connection, receiving topological graph change data pushed by an interface terminal until a route changes, and closing the Websocket at a client. The WebSocket protocol is a new network protocol based on TCP. The method and the system realize full-duplex (full-duplex) communication between the browser and the server, and allow the server to actively send information to the client.
And displaying an information summary table of the number of the block chains in the current network according to the data received by the websocket, and displaying each block chain in a clicked list form. Clicking any blockchain list to enter the blockchain information page, displaying the name, the consensus algorithm, the block height, the contract number and the transaction number of the currently selected blockchain, and reducing the transparency of nodes and connections which do not belong to the blockchain on the topological graph for distinguishing. The real-time monitoring state comprises the following steps: block height, transaction amount, latest block time, TPS, contract amount, selected consensus algorithm, block average generation time.
2) The user may click a stop/start button on the interface to manage the life cycle of each node, which specifically includes:
a) the node state page establishes WebSocket connection with the server, is used for receiving and transmitting requests and responses related to the node state, the front end analyzes the response in the JSON format, and the read is used for updating the interface and displaying the latest state data;
b) carrying out user identity authentication, upgrading the http request into WebSocket connection, binding a message processor, and forwarding data received by the connection to a nodeoperationHandler;
c) analyzing data transmitted by the WebSocket, and calling a corresponding processing function;
d) state processing related services, including querying and returning results in the database; polling the node state in the cluster and storing the node state in a database;
e) and storing the state related data.
3) And calculating the topology map layout according to the nodes and the connecting line data, and rendering a topology map interface. The specific method comprises the following steps: and calling a function initSimuling to simulate the position condition of a node and a connecting line in an svg, adopting a force layout model of d3, wherein the process simulation times are 300, the final simulation result is cached in a browser supporting localStorage and returned to a caller, and a final topological graph interface is rendered according to the simulation result and the style configuration.
4) And clicking any block chain in the information general look-up table, displaying the name, the block height, the number of executed contracts and the transaction condition of the currently selected block chain, and simultaneously reducing the transparency of nodes and connections which do not belong to the block chain on the topological graph to distinguish, thereby realizing the visual real-time monitoring on the chain of the Internet of things network.
The real-time monitoring state comprises a block state and a node state: the method comprises the steps of respectively obtaining block height, transaction condition, latest block time, TPS, contract execution condition, selected consensus algorithm, block average generation time, node creation joining, node cancellation and node state acquisition, and realizing supervision control on the network state of the Internet of things, the running state of equipment and the calling condition by monitoring the block state and the node state.
According to the block chain-based supervision method, the block chain link points are subjected to cluster management, monitoring and display are carried out through a block chain information overview and a topological graph, event notification and data exchange among the block chains are carried out through building a main chain, and an ordered and controllable block chain Internet of things network is formed integrally.
In addition, an embodiment of the present application further provides a block chain-based internet of things monitoring system, a computer program for implementing the block chain monitoring method, and a block chain-based internet of things monitoring system, as shown in fig. 5, including:
the deployment module is used for environmental deployment of a block chain Internet of things network, and comprises a server and a client side, a network access relation is opened, a docker is installed on the server and operates, all images which are depended on by a ran-cher deployment cluster are led into the server, the ran-cher is started, the cluster is deployed through a browser page, a corresponding environment is added, a command line operation tool is used, and system environmental deployment is completed.
The building module is used for building a sub-chain and a main chain and completing the building of the whole multi-chain Internet of things network, and comprises: the node module is used for creating a resource part, creating, adding and canceling peer, orderer, kafka and zookeeper nodes, creating a main chain and adding the peer into the main chain;
a contract module: and (4) creating, deploying and instantiating the intelligent contracts in each blockchain for updating.
The management module is used for cluster management and interface encapsulation management, and comprises: and the cluster module is responsible for management of the physical machine, planning of the host node, and joining and quitting. The interface packaging module provides a cluster management interface and a network transmission interface of the block chain Internet of things network, interface conversion and data packaging are realized through packaging, network communication inside a cluster and between clusters is further realized, and the whole block chain Internet of things network communication is ensured.
The monitoring module is used for monitoring the state index of each block chain including the node and the topology display of the whole network connection.
a) Registering a monitoring service according to the request, monitoring a monitoring route of a page access state display module, establishing a WebSocket connection, receiving a monitored state and data, analyzing a JSON format response by a front end, updating an interface by using a React, and displaying the latest state data;
b) forwarding the request to a detail list module class for processing, and calling a corresponding block monitoring module to poll the real-time states of various resources, such as block height, transaction quantity, latest block time, TPS (thermoplastic elastomer), contract quantity, selected consensus algorithm and block average generation time aiming at the requested monitoring block;
c) monitoring data service is carried out, the state of resources is inquired from a database and a memory, and data are returned to a state display module, a block meta-module and a world state module;
d) the detail list module stores monitoring related data.
The monitoring system firstly calls the deployment module to deploy the cluster environment, uses the building module to build the block chain monitoring network, and uses the node building and contract deployment to form the block chain Internet of things network, then calls the management module to carry out the collection attribution and state management on the nodes, sets the management interface, provides a way for the system monitoring display, calls the monitoring module, and checks the real-time state and detail information of any block. The system completes the deployment, the creation and the supervision of the whole life cycle of the block chain Internet of things network, is convenient to deploy, operate and maintain, and meets the block chain service architecture required by different Internet of things scenes.
The embodiments described above are presented to enable a person having ordinary skill in the art to make and use the invention. It will be readily apparent to those skilled in the art that various modifications to the above-described embodiments may be made, and the generic principles defined herein may be applied to other embodiments without the use of inventive faculty. Therefore, the present invention is not limited to the above embodiments, and those skilled in the art should make improvements and modifications to the present invention based on the disclosure of the present invention within the protection scope of the present invention.

Claims (10)

1. A block chain-based Internet of things monitoring and management method is characterized by comprising the following steps:
(1) establishing a multi-chain-based internet of things network, wherein a multi-chain architecture comprises a main chain and a sub chain;
(2) carrying out block chain supervision environment deployment on the Internet of things network;
(3) carrying out clustering management and packaging on the participating nodes on the network chain of the Internet of things;
(4) and carrying out visual monitoring on the packaged block chain Internet of things network, wherein the visual monitoring comprises topology display of the whole network connection and state monitoring of any block chain in each network.
2. The monitoring and management method for the internet of things according to claim 1, wherein the specific implementation steps of the step (1) are as follows:
1.1 any participating mechanism creates various gateway nodes and connects with related equipment, and connects the Internet of things equipment with different functions with corresponding gateways to form a plurality of sub-chain networks;
1.2, nodes are provided by each participating mechanism to form a main chain network, wherein each sub-chain selects the node to join the main chain to form a multi-chain Internet of things network architecture;
1.3 in the main chain, participating mechanisms provide consensus nodes, all the nodes participate in deploying intelligent contracts, all the participating mechanisms perform event notification and data exchange through the main chain contracts, and all the sub-chains realize event response of the Internet of things through the provided main chain nodes and corresponding contracts;
1.4, a cross-chain protocol is established according to requirements, and the digital asset transmission required between chains is realized through the cross-chain protocol investigated by participating mechanisms.
3. The monitoring and management method for the internet of things according to claim 1, wherein the step (2) is realized by:
2.1 importing a ranker related mirror image and starting a ranker deployment cluster environment by utilizing the imported mirror image;
2.2 building a docker private warehouse in the cluster, and transmitting the related mirror images of the block chain into the private warehouse;
and 2.3, installing a command line operation tool for inquiring and managing the cluster resources, configuring a server and starting a block chain monitoring system.
4. The monitoring and management method for the internet of things according to claim 1, wherein the step (3) is realized by:
3.1, carrying out collection packaging on nodes in the multi-chain Internet of things network according to categories, carrying out node deployment through a cluster, pulling relevant mirror images from the private warehouse, and starting collection operation to enable the relevant nodes to operate in the cluster;
and 3.2, a cluster interface and a bottom communication transmission interface are arranged, the cluster interface is used for managing the state of nodes in the cluster, and the network communication transmission interface is used for managing data information transmission between the monitoring interface and the multi-link Internet of things network.
5. The monitoring and management method for the internet of things according to claim 1, wherein the step (4) is realized by:
4.1 establishing a block chain information general view table on an operation interface, connecting a block chain bottom layer service end and an upper layer service end through a network communication transmission interface, acquiring all block chain information including the running state of the sub-chain Internet of things equipment and main chain block information, and presenting the block chain information in the information general view table;
4.2 the node state page establishes WebSocket connection with the server for receiving and sending node state related requests and responses;
4.3, calculating the topology map layout according to the nodes and the connection data, and rendering a topology map interface;
and 4.4 clicking any block chain in the information general browsing table, displaying the name, the block height, the number of executed contracts and the transaction condition of the currently selected block chain, and simultaneously reducing the transparency of nodes and connections which do not belong to the block chain on the topological graph so as to distinguish, thereby realizing the visual real-time monitoring on the chain of the Internet of things network.
6. The internet of things monitoring and management method according to claim 5, wherein the real-time monitoring state comprises a block state and a node state: the method comprises the steps of respectively obtaining block height, transaction condition, latest block time, TPS, contract execution condition, selected consensus algorithm, block average generation time, node creation joining, node cancellation and node state acquisition, and realizing supervision control on the network state of the Internet of things, the running state of equipment and the calling condition by monitoring the block state and the node state.
7. The utility model provides a thing networking control management system based on block chain which characterized in that includes:
the deployment module is used for deploying the block chain Internet of things network environment;
the building module is used for building and joining the network, building and joining the main chain and the sub chain, and completing the basic building of the whole block chain supervision network;
the management module is used for cluster management and interface encapsulation management;
the monitoring module is used for monitoring the state indexes of each block chain and each node and the topology display of the whole network connection.
8. The monitoring and management system of the internet of things of claim 7, wherein the building module comprises: the node module is responsible for creating, adding and canceling each participating mechanism node; a contract module: and (4) creation, deployment and updating of intelligent contracts in each blockchain.
9. The internet of things monitoring and management system of claim 7, wherein the management module comprises:
the cluster module is responsible for managing block chain physical machines, planning of host nodes, joining and exiting;
and the interface packaging module provides a cluster management interface and a transmission interface of a block chain Internet of things network, and realizes interface conversion and data packaging through packaging.
10. The monitoring management system of the internet of things of claim 7, wherein the monitoring module comprises:
a block monitoring module: providing a function of monitoring the state of each block in the block chain Internet of things network, and checking the real-time state of the block by a user through a block monitoring module: block height, transaction condition, latest block time, TPS, contract execution condition, selected consensus algorithm, block average generation time, node creation joining, cancellation and node state acquisition; and the monitoring control of the network state of the Internet of things, the running state of the equipment and the calling condition is realized by monitoring the block state and the node state.
A state display module: the module is responsible for displaying various monitoring index data in a user-specified block chain, namely the latest state of the block chain monitored by the block monitoring module, and displaying transaction data generated in the block chain;
a detail list module: the system is responsible for operations related to block state monitoring and related data list display and data storage, and the specific functions comprise block list details, transaction list details, contract calling times, world state checking and the like, and summary information overview lists are displayed;
a block meta-module: through the module, a user can check the currently generated block information, including a block number, a last block hash, the number of successful/failed transactions in the block and transaction details;
a world state module: this module is responsible for displaying the contract currently installed and running and the world state of the contract.
CN202010099556.6A 2020-02-18 2020-02-18 Internet of things monitoring management method and system based on block chain Active CN111355780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010099556.6A CN111355780B (en) 2020-02-18 2020-02-18 Internet of things monitoring management method and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010099556.6A CN111355780B (en) 2020-02-18 2020-02-18 Internet of things monitoring management method and system based on block chain

Publications (2)

Publication Number Publication Date
CN111355780A true CN111355780A (en) 2020-06-30
CN111355780B CN111355780B (en) 2022-09-13

Family

ID=71197069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010099556.6A Active CN111355780B (en) 2020-02-18 2020-02-18 Internet of things monitoring management method and system based on block chain

Country Status (1)

Country Link
CN (1) CN111355780B (en)

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917865A (en) * 2020-07-29 2020-11-10 成都质数斯达克科技有限公司 Block chain network system, gateway and networking method
CN112055002A (en) * 2020-08-24 2020-12-08 杭州云象网络技术有限公司 Cross-link network supervision method based on public governance link
CN112104665A (en) * 2020-11-02 2020-12-18 腾讯科技(深圳)有限公司 Block chain-based identity authentication method and device, computer and storage medium
CN112101940A (en) * 2020-09-16 2020-12-18 上海万向区块链股份公司 Random verifiable sample selection system implemented with block chains
CN112134932A (en) * 2020-09-04 2020-12-25 上海航翼网络科技有限公司 Block chain technology-based distributed Internet of things implementation method
CN112272113A (en) * 2020-10-23 2021-01-26 上海万向区块链股份公司 Method and system for monitoring and automatically switching based on various block chain nodes
CN112350889A (en) * 2020-10-26 2021-02-09 成都商通时代数字科技有限公司 System and method for monitoring running state of block link point
CN112633706A (en) * 2020-12-25 2021-04-09 中国科学院计算技术研究所 Internet of things terminal data processing method and system based on layered multi-chain
CN112766699A (en) * 2021-01-13 2021-05-07 中国外运股份有限公司 Method and device for realizing electronic bill of lading monitoring, electronic equipment and storage medium
CN112787849A (en) * 2020-12-28 2021-05-11 杭州趣链科技有限公司 Block chain state control method and device, terminal and storage medium
CN112804310A (en) * 2020-12-31 2021-05-14 河南中盾云安信息科技有限公司 Multi-chain intelligent security gateway for application of Internet of things and implementation method
CN113067899A (en) * 2021-06-02 2021-07-02 支付宝(杭州)信息技术有限公司 Method and device for starting/closing block link point service
CN113115315A (en) * 2021-04-02 2021-07-13 青岛科技大学 IOT equipment behavior credible supervision method based on block chain
CN113132455A (en) * 2021-03-01 2021-07-16 唐芮 Distributed industrial Internet of things monitoring method and system
CN113259458A (en) * 2021-06-02 2021-08-13 支付宝(杭州)信息技术有限公司 Method and device for starting/closing block link point service
CN113259119A (en) * 2021-06-02 2021-08-13 支付宝(杭州)信息技术有限公司 Block chain message distribution method and device
CN113268337A (en) * 2021-07-20 2021-08-17 杭州朗澈科技有限公司 Method and system for Pod scheduling in Kubernetes cluster
CN113572643A (en) * 2021-07-24 2021-10-29 上海边界智能科技有限公司 Block chain multi-chain and cross-chain network deployment method based on containerization technology
CN113726819A (en) * 2021-11-01 2021-11-30 杭州未名信科科技有限公司 Local area network data supervision method and system based on block chain
CN113760651A (en) * 2021-08-12 2021-12-07 熵链科技(福建)有限公司 Method, system and storage medium for collecting running state of main sub-chain of block chain
CN113938496A (en) * 2021-10-11 2022-01-14 上海万向区块链股份公司 Block chain network method and system based on Internet of things equipment
CN114020580A (en) * 2021-11-16 2022-02-08 河北幸福消费金融股份有限公司 Method, system, device and storage medium for monitoring performance index of application system
CN114338676A (en) * 2021-12-31 2022-04-12 支付宝(杭州)信息技术有限公司 Block synchronization method and device, electronic equipment and storage medium
CN114650231A (en) * 2022-05-13 2022-06-21 南京金宁汇科技有限公司 Visual containerized union link point deployment method and system
CN114826915A (en) * 2021-01-27 2022-07-29 迪莲娜(上海)大数据服务有限公司 Virtual network interface packaging and calling method, system, medium and management platform
CN116209014A (en) * 2023-04-25 2023-06-02 北京陆天通信技术有限公司 Communication cluster system and communication method
CN112633706B (en) * 2020-12-25 2024-05-17 中国科学院计算技术研究所 Data processing method and system for terminal of Internet of things based on layered multi-chain

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506203A (en) * 2016-10-25 2017-03-15 杭州云象网络技术有限公司 A kind of monitoring nodes system for being applied to block chain
CN108632293A (en) * 2018-05-16 2018-10-09 山东建筑大学 Architectural Equipment Internet of things system based on block chain technology and method
US20180337769A1 (en) * 2017-05-16 2018-11-22 Arm Ltd. Blockchain for securing and/or managing iot network-type infrastructure
US20180337820A1 (en) * 2017-05-16 2018-11-22 Wistron Corporation Monitoring method based on internet of things, fog computing terminal and internet of things system
CN108961643A (en) * 2018-06-12 2018-12-07 深圳市中电数通智慧安全科技股份有限公司 A kind of parameter management method based on block chain, device and terminal device
CN109271799A (en) * 2018-09-17 2019-01-25 深圳市天达国际商业咨询有限公司 A kind of medical monitoring platform based on block chain and Internet of Things
US20190156026A1 (en) * 2017-11-23 2019-05-23 Institute For Information Industry Monitor apparatus, method, and non-transitory computer readable storage medium thereof
CN110024422A (en) * 2016-12-30 2019-07-16 英特尔公司 The name of Internet of Things and block chained record
CN110308962A (en) * 2019-07-04 2019-10-08 明链科技(深圳)有限公司 Manage method, electronic equipment and the medium of block chain network
CN110308903A (en) * 2019-07-04 2019-10-08 明链科技(深圳)有限公司 Create method, electronic equipment and the medium of block chain network
CN110546636A (en) * 2017-04-25 2019-12-06 微软技术许可有限责任公司 Confidentiality in federated blockchain networks
CN110557384A (en) * 2019-08-12 2019-12-10 杭州云象网络技术有限公司 internet of things management control method based on block chain
CN110620777A (en) * 2019-09-24 2019-12-27 北京艾摩瑞策科技有限公司 Smoke monitoring data uplink method and system of Internet of things on block chain
CN110706006A (en) * 2019-10-09 2020-01-17 北京物资学院 Supply chain logistics traceability system with block chain multi-chain cooperation

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506203A (en) * 2016-10-25 2017-03-15 杭州云象网络技术有限公司 A kind of monitoring nodes system for being applied to block chain
CN110024422A (en) * 2016-12-30 2019-07-16 英特尔公司 The name of Internet of Things and block chained record
CN110546636A (en) * 2017-04-25 2019-12-06 微软技术许可有限责任公司 Confidentiality in federated blockchain networks
US20180337769A1 (en) * 2017-05-16 2018-11-22 Arm Ltd. Blockchain for securing and/or managing iot network-type infrastructure
US20180337820A1 (en) * 2017-05-16 2018-11-22 Wistron Corporation Monitoring method based on internet of things, fog computing terminal and internet of things system
US20190156026A1 (en) * 2017-11-23 2019-05-23 Institute For Information Industry Monitor apparatus, method, and non-transitory computer readable storage medium thereof
CN108632293A (en) * 2018-05-16 2018-10-09 山东建筑大学 Architectural Equipment Internet of things system based on block chain technology and method
CN108961643A (en) * 2018-06-12 2018-12-07 深圳市中电数通智慧安全科技股份有限公司 A kind of parameter management method based on block chain, device and terminal device
CN109271799A (en) * 2018-09-17 2019-01-25 深圳市天达国际商业咨询有限公司 A kind of medical monitoring platform based on block chain and Internet of Things
CN110308962A (en) * 2019-07-04 2019-10-08 明链科技(深圳)有限公司 Manage method, electronic equipment and the medium of block chain network
CN110308903A (en) * 2019-07-04 2019-10-08 明链科技(深圳)有限公司 Create method, electronic equipment and the medium of block chain network
CN110557384A (en) * 2019-08-12 2019-12-10 杭州云象网络技术有限公司 internet of things management control method based on block chain
CN110620777A (en) * 2019-09-24 2019-12-27 北京艾摩瑞策科技有限公司 Smoke monitoring data uplink method and system of Internet of things on block chain
CN110706006A (en) * 2019-10-09 2020-01-17 北京物资学院 Supply chain logistics traceability system with block chain multi-chain cooperation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BHABENDU K.: "Trustworthy Management in Decentralized IoT applicaion using blockchain", 《2019 10TH INTERNATIONAL CONFERENCE ON COMPUTING,COMMUNICATION AND NETWORKING TECHNOLOGIES(ICCCNT)》 *
郎为民等: "一种基于区块链的物联网行为监控和活动管理方案", 《信息网络安全》 *

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917865B (en) * 2020-07-29 2022-09-20 成都质数斯达克科技有限公司 Block chain network system, gateway and networking method
CN111917865A (en) * 2020-07-29 2020-11-10 成都质数斯达克科技有限公司 Block chain network system, gateway and networking method
CN112055002A (en) * 2020-08-24 2020-12-08 杭州云象网络技术有限公司 Cross-link network supervision method based on public governance link
CN112055002B (en) * 2020-08-24 2022-07-19 杭州云象网络技术有限公司 Cross-link network supervision method based on public management link
CN112134932A (en) * 2020-09-04 2020-12-25 上海航翼网络科技有限公司 Block chain technology-based distributed Internet of things implementation method
CN112101940A (en) * 2020-09-16 2020-12-18 上海万向区块链股份公司 Random verifiable sample selection system implemented with block chains
CN112272113A (en) * 2020-10-23 2021-01-26 上海万向区块链股份公司 Method and system for monitoring and automatically switching based on various block chain nodes
CN112272113B (en) * 2020-10-23 2021-10-22 上海万向区块链股份公司 Method and system for monitoring and automatically switching based on various block chain nodes
CN112350889A (en) * 2020-10-26 2021-02-09 成都商通时代数字科技有限公司 System and method for monitoring running state of block link point
CN112104665A (en) * 2020-11-02 2020-12-18 腾讯科技(深圳)有限公司 Block chain-based identity authentication method and device, computer and storage medium
CN112104665B (en) * 2020-11-02 2021-02-12 腾讯科技(深圳)有限公司 Block chain-based identity authentication method and device, computer and storage medium
CN112633706A (en) * 2020-12-25 2021-04-09 中国科学院计算技术研究所 Internet of things terminal data processing method and system based on layered multi-chain
CN112633706B (en) * 2020-12-25 2024-05-17 中国科学院计算技术研究所 Data processing method and system for terminal of Internet of things based on layered multi-chain
CN112787849A (en) * 2020-12-28 2021-05-11 杭州趣链科技有限公司 Block chain state control method and device, terminal and storage medium
CN112787849B (en) * 2020-12-28 2022-05-24 杭州趣链科技有限公司 Block chain state control method and device, terminal and storage medium
CN112804310A (en) * 2020-12-31 2021-05-14 河南中盾云安信息科技有限公司 Multi-chain intelligent security gateway for application of Internet of things and implementation method
CN112766699A (en) * 2021-01-13 2021-05-07 中国外运股份有限公司 Method and device for realizing electronic bill of lading monitoring, electronic equipment and storage medium
CN114826915B (en) * 2021-01-27 2024-04-19 迪莲娜(上海)大数据服务有限公司 Virtual network interface encapsulation and calling method, system, medium and management platform
CN114826915A (en) * 2021-01-27 2022-07-29 迪莲娜(上海)大数据服务有限公司 Virtual network interface packaging and calling method, system, medium and management platform
CN113132455A (en) * 2021-03-01 2021-07-16 唐芮 Distributed industrial Internet of things monitoring method and system
CN113115315A (en) * 2021-04-02 2021-07-13 青岛科技大学 IOT equipment behavior credible supervision method based on block chain
CN113259458A (en) * 2021-06-02 2021-08-13 支付宝(杭州)信息技术有限公司 Method and device for starting/closing block link point service
CN113067899A (en) * 2021-06-02 2021-07-02 支付宝(杭州)信息技术有限公司 Method and device for starting/closing block link point service
CN113259119A (en) * 2021-06-02 2021-08-13 支付宝(杭州)信息技术有限公司 Block chain message distribution method and device
CN113067899B (en) * 2021-06-02 2021-07-30 支付宝(杭州)信息技术有限公司 Method and device for starting/closing block link point service
CN113268337A (en) * 2021-07-20 2021-08-17 杭州朗澈科技有限公司 Method and system for Pod scheduling in Kubernetes cluster
CN113572643A (en) * 2021-07-24 2021-10-29 上海边界智能科技有限公司 Block chain multi-chain and cross-chain network deployment method based on containerization technology
CN113572643B (en) * 2021-07-24 2024-04-26 上海边界智能科技有限公司 Block chain multi-chain and cross-chain network deployment method based on containerization technology
CN113760651A (en) * 2021-08-12 2021-12-07 熵链科技(福建)有限公司 Method, system and storage medium for collecting running state of main sub-chain of block chain
CN113760651B (en) * 2021-08-12 2024-04-02 熵链科技(福建)有限公司 Main sub-chain running state collection method, system and storage medium of block chain
CN113938496B (en) * 2021-10-11 2024-04-02 上海万向区块链股份公司 Block chain network method and system based on Internet of things equipment
CN113938496A (en) * 2021-10-11 2022-01-14 上海万向区块链股份公司 Block chain network method and system based on Internet of things equipment
CN113726819B (en) * 2021-11-01 2022-03-11 杭州未名信科科技有限公司 Local area network data supervision method and system based on block chain
CN113726819A (en) * 2021-11-01 2021-11-30 杭州未名信科科技有限公司 Local area network data supervision method and system based on block chain
CN114020580A (en) * 2021-11-16 2022-02-08 河北幸福消费金融股份有限公司 Method, system, device and storage medium for monitoring performance index of application system
CN114338676A (en) * 2021-12-31 2022-04-12 支付宝(杭州)信息技术有限公司 Block synchronization method and device, electronic equipment and storage medium
CN114650231A (en) * 2022-05-13 2022-06-21 南京金宁汇科技有限公司 Visual containerized union link point deployment method and system
CN116209014A (en) * 2023-04-25 2023-06-02 北京陆天通信技术有限公司 Communication cluster system and communication method

Also Published As

Publication number Publication date
CN111355780B (en) 2022-09-13

Similar Documents

Publication Publication Date Title
CN111355780B (en) Internet of things monitoring management method and system based on block chain
CN105653315B (en) A kind of node operating system method for down loading based on block chain technology
CN109559258B (en) Educational resource public service system
CN109510760A (en) A kind of block chain gateway that internet of things oriented is applied and the method with the gateway management Internet of Things
CN109286676B (en) Electric power data safety information system based on block chain
CN111931215B (en) Data management method and device and storage medium
CN110535824A (en) Smart home interlock method, system, terminal device and storage medium
CN106797392A (en) The issue and discovery of M2M IOT services
CN110488617A (en) Intelligent home control system, method and terminal device
CN110266872B (en) Address book data management and control method and device, cloud address book system, computer equipment and computer readable storage medium
CN108833599B (en) Energy internet system and information processing method
CN109478056A (en) Intelligent node for distributed grid network
CN115439249B (en) Method, device and system for realizing business service of cross-region block chain
CN113656824A (en) Intelligent terminal information safety interaction method of Internet of things based on block chain and IPFS technology
CN113129149A (en) Transaction risk identification method and device based on block chain and safe multi-party calculation
CN113011598A (en) Financial data information federal migration learning method and device based on block chain
CN110113406A (en) Based on distributed calculating service cluster frame
Wang Sok: Applying blockchain technology in industrial internet of things
CN109947844B (en) Medical data management system based on medical block chain
CN112699136B (en) Cross-link certificate storage method and related device
CN107911400A (en) Data sharing method, electronic device and computer-readable recording medium
CN115834593A (en) Safety cooperation system and safety cooperation method based on block chain
CN114885012A (en) System access method and system of Internet of things platform
CN104378411A (en) Service exchange system
CN115085794A (en) Block chain credible evidence storing method and system for Beidou short message

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