CN112565368B - Block chain based offshore equipment ad hoc network system, method and medium - Google Patents

Block chain based offshore equipment ad hoc network system, method and medium Download PDF

Info

Publication number
CN112565368B
CN112565368B CN202011356463.3A CN202011356463A CN112565368B CN 112565368 B CN112565368 B CN 112565368B CN 202011356463 A CN202011356463 A CN 202011356463A CN 112565368 B CN112565368 B CN 112565368B
Authority
CN
China
Prior art keywords
blockchain
node
network
sub
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011356463.3A
Other languages
Chinese (zh)
Other versions
CN112565368A (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.)
Xi'an Zhigui Internet Technology Co ltd
China Shipbuilding Corp System Engineering Research Institute
Original Assignee
Xi'an Zhigui Internet Technology Co ltd
China Shipbuilding Corp System Engineering Research Institute
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 Xi'an Zhigui Internet Technology Co ltd, China Shipbuilding Corp System Engineering Research Institute filed Critical Xi'an Zhigui Internet Technology Co ltd
Priority to CN202011356463.3A priority Critical patent/CN112565368B/en
Publication of CN112565368A publication Critical patent/CN112565368A/en
Application granted granted Critical
Publication of CN112565368B publication Critical patent/CN112565368B/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/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • 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
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The invention provides a block chain-based offshore equipment ad hoc network system, a block chain-based offshore equipment ad hoc network method and a block chain-based offshore equipment ad hoc network medium. Wherein the system comprises: a blockchain network creation unit configured to: creating a blockchain network, nodes in the blockchain network representing offshore equipment, initiating a request by the node to create a sub-blockchain network; a cross-chain interaction unit configured to: triggering communication interaction among different blockchains, and monitoring the communication interaction, wherein the communication interaction comprises interaction between a supervision blockchain and a directory blockchain, interaction between the supervision blockchain and a subarea blockchain, and interaction between the subarea blockchain and another subarea blockchain; and a dynamic networking adjustment unit configured to: dynamically adjusting the sub-blockchain to join the blockchain network by using a consensus algorithm, selecting a replacement node of the silent node, and determining the admittance of the sub-blockchain by using the consensus algorithm based on an intelligent contract; and utilizing the distributed identity to reject the silent node from the blockchain network.

Description

Block chain based offshore equipment ad hoc network system, method and medium
Technical Field
The invention relates to the technical field of networking, in particular to a block chain-based offshore equipment ad hoc network system, a block chain-based offshore equipment ad hoc network method and a block chain-based offshore equipment ad hoc network medium.
Background
In complex marine environments, communication and co-operation between devices is important. In the prior art, a centralized information system construction scheme is often adopted, a communication hub service is used as a center, communication individuals are connected to the communication hub for information interaction and collaboration, and the information interaction among the communication individuals needs to be forwarded by the communication hub. Such a centralized system can realize complex environmental communication, but is faced with great potential safety hazards, and once the centralized communication hub is attacked maliciously, the whole system is faced with the risk of paralysis. The adoption of the blockchain technology can solve the trust reconstruction and the trusted interaction in the unequal trust mode in the complex environment, and solve the security problem faced by the centralized communication hub.
Networking technology is network construction technology. There are many types of computer networks, and different classification bases are available according to different networking technologies. The network can be divided into according to the switching technology: circuit switched networks, packet switched networks. The transmission technology can be divided into: broadcast network, non-broadcast multiple access network, point-to-point network. Topology can be divided into bus, star, ring, tree, full mesh, and partial mesh networks. The transmission medium can be divided into wired network and wireless network. The wired network refers to a network formed by connecting coaxial cables, twisted pair wires and optical fibers. Wireless networks refer to a type of network that uses an electromagnetic wave as a carrier to effect data transmission. Offshore equipment is mainly a wireless broadcast network and is in security considerations, typically a local area network.
As shown in fig. 1, the conventional offshore equipment networking system mostly adopts a tree structure, an upper-level processing unit is a root node, and a lower-level processing unit is a leaf node. A typical networking system is shown in the figures above. The root node is responsible for collecting and summarizing data and is connected with each leaf node; and on the other hand, the land terminal is connected, and the land terminal is fed back according to the data acquisition and analysis results to carry out decision support of related actions.
The offshore equipment networking system of the tree model has obvious advantages of centralized rights, clear instructions, smooth information and clear responsibilities, can clearly define the structure of the whole system, and is easy to increase and reduce certain organization. However, the system has obvious defects, and in the weak-connection and weak-cooperative offshore complex environment, once a node fails or a cooperative link is blocked, the subsystem corresponding to the root node serving as the failed node loses an upper command unit, so that the system cannot work normally. The problem that the whole system works normally after a single node fails can be well solved based on the distributed consensus blockchain technology.
Disclosure of Invention
The invention aims to provide an offshore equipment ad hoc network scheme based on a blockchain so as to solve the technical problems in the prior art. Aiming at the characteristics of limited network resources, easy interference and attack and the like of the offshore equipment ad hoc network, the scheme explores the comprehensive design technology integrating the multiparty elements of communication, security, confidentiality and the like. Constructing a distributed trust and security foundation by researching a blockchain network architecture; and researching a data security technology based on a block chain, and realizing data security and trusted interaction between offshore equipment.
The first aspect of the present invention provides a blockchain-based offshore equipment ad hoc network system, the system comprising: a blockchain network creation unit configured to: creating a blockchain network, nodes in the blockchain network representing the offshore equipment, by which requests are initiated to create a sub-blockchain network; a cross-chain interaction unit configured to: triggering communication interaction among different blockchains and monitoring the communication interaction, wherein the communication interaction comprises interaction between a supervision blockchain and a directory blockchain, interaction between the supervision blockchain and the sub-blockchain and interaction between the sub-blockchain and another sub-blockchain; and a dynamic networking adjustment unit configured to: dynamically adjusting the sub-blockchain to join the blockchain network by using a consensus algorithm, selecting a replacement node of a silent node, and determining the admittance of the sub-blockchain based on an intelligent contract by the consensus algorithm; and utilizing a distributed identity to reject the silent node from the blockchain network.
According to the system provided by the first aspect of the invention, the blockchain network creation unit is further configured to determine an admission of the node and to determine a termination of the blockchain.
According to the system provided by the first aspect of the present invention, the dynamic networking adjustment unit is further configured to select, according to task priority, a candidate replacement node from among the candidate replacement nodes based on a time when the candidate replacement node arrives at the mute node.
According to the system provided by the first aspect of the present invention, the dynamic networking adjustment unit is further configured to initiate, by a non-silent node, an effective declaration of the silent node in the case where the silent node appears in the blockchain network, and reject the silent node from the blockchain network when the number of the effective declarations reaches a threshold.
The second aspect of the invention provides a blockchain-based offshore equipment ad hoc network method, which comprises the following steps: step S1, creating a blockchain network, wherein nodes in the blockchain network represent offshore equipment, and a request is initiated through the nodes to create a sub-blockchain network; step S2, triggering communication interaction among different blockchains and monitoring the communication interaction, wherein the communication interaction comprises interaction between a supervision blockchain and a catalogue blockchain, interaction between the supervision blockchain and the subarea blockchain and interaction between the subarea blockchain and another subarea blockchain; and step S3, eliminating the silent node from the blockchain network by using a distributed identity, dynamically adjusting the sub-blockchain to join the blockchain network by using a consensus algorithm, selecting a replacement node of the silent node, and determining the admittance of the sub-blockchain by using the consensus algorithm based on an intelligent contract.
According to the method provided by the second aspect of the present invention, the step S1 further comprises determining an admission of the node and determining a termination of the sub-block chain.
According to the method provided in the second aspect of the present invention, in the step S3, the intelligent contract selects a candidate replacement node from the candidate replacement nodes based on the time when the candidate replacement node arrives at the silent node according to the task priority.
According to the method provided by the second aspect of the present invention, in the step S3, in the case that the silent node appears in the blockchain network, an effective declaration of the silent node is initiated by a non-silent node, and when the number of the effective declarations reaches a threshold value, the silent node is removed from the blockchain network.
A third aspect of the invention provides a non-transitory computer readable medium storing instructions which, when executed by a processor, perform the steps of a blockchain-based offshore equipment ad hoc networking method according to the second aspect of the invention.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings which are required in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are some embodiments of the invention and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a tree structure of a conventional offshore equipment networking system;
FIG. 2 is a block chain architecture according to an embodiment of the present invention;
FIG. 3 is a block chain based architecture diagram of an offshore equipment ad hoc network system in accordance with an embodiment of the present invention; and
FIG. 4 is a flow chart of a blockchain-based offshore equipment ad hoc network method in accordance with an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made apparent and fully in view of the accompanying drawings, in which some, but not all embodiments of the invention are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The first aspect of the invention provides an offshore equipment ad hoc network system based on a blockchain. FIG. 2 is a block chain architecture according to an embodiment of the present invention; as shown in FIG. 2, a blockchain system may be divided into infrastructure, infrastructure components, ledgers, consensus, intelligent contracts, interfaces, applications, operations, and system management.
The infrastructure layer provides an operating environment and hardware facilities (physical machines, clouds, etc.) required for the normal running of the blockchain system, and specifically includes network resources (network cards, switches, routers, etc.), storage resources (hard disks, cloud disks, etc.), and computing resources (chips such as CPU, GPU, ASIC). The infrastructure layer provides physical resources and drivers for the upper layers, which is the underlying support for the blockchain system.
The base component layer may enable recording, verification and propagation of information in a blockchain system network. In the basic component layer, the blockchain is a distributed system based on a propagation mechanism, a verification mechanism and a storage mechanism, the whole network has no centralized hardware or management mechanism, any equipment node has the opportunity to participate in the record and verification of the general ledger, the calculation result is broadcast and sent to other equipment nodes, and the damage or the exit of any equipment node does not influence the operation of the whole system. Specifically, the system mainly comprises five types of modules of network discovery, data transceiving, password library, data storage and message notification. The network discovery block chain system is formed by connecting a plurality of equipment nodes through a network, and a plurality of links in the cipher library block chain use a cipher algorithm. The cipher library provides basic cryptographic algorithm support for the upper layer components, including various commonly used coding algorithms, hash algorithms, signature algorithms, privacy protection algorithms, and the like. At the same time, the cryptographic libraries are also involved in functions such as maintenance and storage of keys, data storage uses different data storage modes for data in the blockchain system depending on the data type and system architecture design. The storage schema includes a relational database (e.g., mySQL) and a non-relational database (e.g., leverldb). Typically, the data that needs to be saved includes public data (e.g., transaction data, status data, etc.), local private data, etc. The message notification module provides message notification services between different components in the blockchain and between different equipment nodes. After a transaction is successful, the customer typically needs to track records during the execution of the transaction and obtain the results of the execution of the transaction. The message notification module may perform the generation, distribution, storage, and other functions of the message to meet the needs of the blockchain system.
The ledger layer is responsible for information storage of the blockchain system, and comprises the steps of collecting transaction data, generating data blocks, performing validity check on local data, and adding the checked blocks to the chain. The account book layer embeds the signature of the previous block into the next block to form a block chain type data structure, so that the data integrity and the authenticity are ensured, which is the source of tamper-proof and traceable characteristics of the block chain system.
The consensus layer is responsible for coordinating and ensuring the consistency of data records of all equipment nodes of the whole network. The data in the block chain system is independently stored by all the equipment nodes, and under the coordination of a consensus mechanism, the consensus layer synchronizes the account book of each equipment node, so that the functions of equipment node election, data consistency verification, data synchronization control and the like are realized. The data synchronization and consistency coordination enable the blockchain system to have the characteristics of information transparency and data sharing.
The intelligent contract layer is responsible for realizing, compiling and deploying business logic of the blockchain system in a code form, completing condition triggering and automatic execution of established rules, and reducing manual intervention to the greatest extent. The operating objects of the intelligent contracts are mostly digital assets, the characteristics of difficult modification after data are uploaded, strong triggering conditions and the like determine that the use of the intelligent contracts has high value and high risk, and the difficulty of the large-scale application of the current intelligent contracts is how to avoid the risk and exert the value.
The system management layer is responsible for managing other parts of the blockchain architecture and mainly comprises two functions of authority management and equipment node management. Rights management is a key part of blockchain technology, especially for license chains that have more requirements for data access. Rights management may be achieved in several ways: 1) Submitting the authority list to an account layer and realizing decentralized authority control; 2) Implementing access control using the access control list; 3) Rights control, e.g. scoring/sub-region, is used.
The interface layer is mainly used for completing the encapsulation of the functional module and providing a concise calling mode for the application layer. The application layer communicates with other equipment nodes by calling the RPC interface, and accesses, writes and other operations are performed on the local account data by calling the SDK toolkit. Meanwhile, RPC and SDK should adhere to the following rules: firstly, the system has complete functions, can complete transaction and maintain a distributed account book, and has perfect intervention strategy and authority management mechanism. Secondly, the portability is good, and the method can be used for various applications in various environments, and is not limited to certain absolute software or hardware platforms. Thirdly, the system is extensible and compatible, and the system is compatible forwards and backwards as far as possible, and the extensibility is considered in design. Fourthly, the method is easy to use, and the structural design and the good naming method are convenient for developers to use. Common implementation techniques include invoking control and serializing objects, etc.
The application layer is used as a part which is finally presented to the user, and the main function is to call the interface of the intelligent contract layer, adapt to various application scenes of the blockchain and provide various services and applications for the user.
The operation and maintenance layer is responsible for daily operation and maintenance work of the blockchain system and comprises a log library, a monitoring library, a management library, an expansion library and the like.
FIG. 3 is a block chain based architecture diagram of an offshore equipment ad hoc network system in accordance with an embodiment of the present invention; as shown in fig. 3, the system includes: a blockchain network creation unit 301 configured to: creating a blockchain network, nodes in the blockchain network representing the offshore equipment, by which requests are initiated to create a sub-blockchain network; a cross-chain interaction unit 302 configured to: triggering communication interaction among different blockchains and monitoring the communication interaction, wherein the communication interaction comprises interaction between a supervision blockchain and a directory blockchain, interaction between the supervision blockchain and the sub-blockchain and interaction between the sub-blockchain and another sub-blockchain; and a dynamic networking adjustment unit 303 configured to: dynamically adjusting the sub-blockchain to join the blockchain network by using a consensus algorithm, selecting a replacement node of a silent node, and determining the admittance of the sub-blockchain based on an intelligent contract by the consensus algorithm; and utilizing a distributed identity to reject the silent node from the blockchain network.
For the blockchain network creation unit 301, it is further configured to determine the admission of the node and to determine the termination of the blockchain.
Each equipment node represents an offshore installation, has a unique distributed identity, and is interconnected by a blockchain into a chain-like blockchain network. The equipment nodes agree on the acquired data and the analysis result through a consensus algorithm, and the dynamic adjustment of the network structure is completed through a consensus mechanism. All offshore equipment is used as a data node to form a blockchain network based on a P2P protocol, different equipment has different attributes and functions, equipment nodes of the same function type are used for building a sub-blockchain based on different equipment types, therefore, different sub-blockchains are built by the equipment nodes of the same function type, a directory blockchain is needed for connecting the sub-blockchains, the directory blockchain stores information of all the sub-blockchains, the attribute and the function of each sub-blockchain are known, the distributed identity of each equipment node is stored, and the directory chain is built by some equipment nodes with a relay function. In order to realize the supervision of the sub-blockchains and the directory blockchains, one supervision blockchain is needed, when the equipment nodes A in the sub-blockchains fail or are out of connection, other unworked equipment nodes judge whether the equipment nodes can be quickly added into the current sub-blockchain through a networking scheme, and the task of the equipment nodes A is continuously completed, wherein the supervision blockchain is built by the supervision equipment nodes. Therefore, in the invention, in order to meet the complex marine environment, the offshore equipment node network model is designed, and dynamic networking can still be realized under emergency conditions. The offshore equipment node network is composed of an entry blockchain, a supervision blockchain and a plurality of sub blockchains. The catalog blockchain is responsible for communication and positioning of the whole blockchain network, and the tasks are completed based on the distributed identity of the equipment node; the supervision blockchain is responsible for monitoring and managing a blockchain network and mainly comprises creation of sub-blockchains, addition of the sub-blockchains, authorization of directory blockchains, inter-blockchain communication among blockchains and the like; the sub-blockchain is responsible for different offshore operation requirements and can be an attack and defense blockchain and the like.
Creation of blockchain networks
The plurality of equipment nodes respectively start network application locally, when more than two thirds of all the equipment nodes start the network, the network formal operation of the equipment nodes is indicated, the start of the network of the nodes comprises the start of a directory blockchain and the start of a supervision blockchain, the corresponding equipment nodes are automatically added into the directory blockchain and the supervision blockchain, and the public keys and the identification information of the equipment nodes are written into the directory blockchain.
After the creation of the blockchain network is completed, the running chain includes: a supervision blockchain responsible for managing the network; the directory blockchain responsible for managing the identity of the equipped nodes. All nodes will maintain a common set of account book information together, and sequentially submit blocks, vote verification blocks, write the block information into the account book according to the improved Bayesian fault-tolerant consensus algorithm.
Creation of sub-blockchain
Any equipment node can initiate a creation request of the sub-blockchain, and can register in the directory blockchain, and then the equipment node starts to run the sub-blockchain based on different attributes, functions and tasks and is managed by the supervision blockchain. The sub-block chains of the ad hoc network application system based on the block chain technology correspond to offshore operation requirements in different scenes, equipment data can be classified and layered according to the offshore operation requirements, different certificate-storing sub-block chains are created, different data are stored, and the effect of data splitting is achieved.
Joining of equipped nodes
Any equipped node can apply for joining an existing sub-blockchain, but the equipped node is required to provide signature information corresponding to the sub-blockchain, and the directory blockchain of the equipped blockchain network is used for checking, and the checking is performed by starting the sub-blockchain.
Termination of sub-block chains
The equipment node running the sub-blockchain may initiate a sub-blockchain termination vote that terminates the running sub-blockchain at the specified block height by stopping the running of the sub-blockchain that would not be generating new equipment data but still provide a query service for the equipment data.
For the cross-chain interaction unit 302, data communication can be performed between sub-blockchains, and the equipment node applies for mutual monitoring between sub-blockchains in the supervision blockchain, and once the sub-blockchain initiates a cross-chain request, the monitoring is triggered by the main blockchain to perform cross-chain communication. In the requirement of the ad hoc network, the subarea block chain can be a certification storage chain, the mutually isolated equipment data certification storage chain can be established according to different offshore operation requirements, and meanwhile, the equipment data can be ensured to be communicated through an equipment block chain network. Node cross-chain interactions in the equipment blockchain network include interactions of supervisory blockchains and directory blockchains, interactions of supervisory blockchains and sub-blockchains, and interactions of sub-blockchains and sub-blockchains.
Supervision blockchain and directory blockchain interactions
The node joining of the supervisory blockchain requires the supervisory blockchain to communicate with the directory blockchain. The equipment node applies to join the supervision block chain, the supervision block chain needs the catalogue block chain to check signature information provided by the equipment node, the catalogue block chain informs the supervision block chain of a check result, and the supervision block chain can only determine whether the equipment node has rights to join the network. Meanwhile, the equipped node is added into the supervision blockchain, and the supervision blockchain needs to write public key information of the equipped node into the equipped node member list of the directory blockchain through the directory blockchain.
Creation of sub-blockchains and joining of equipment nodes requires the supervision blockchains to communicate with the directory blockchains. The equipment node sends a creating request of a starter blockchain in a supervision blockchain, the supervision blockchain needs to communicate with a directory blockchain, and a corresponding public key list is created in the directory blockchain; the equipment node applies for adding the existing sub-blockchain request in the supervision blockchain, the supervision blockchain needs to communicate with the catalogue blockchain, signature information provided by the equipment node is checked, the supervision blockchain only allows the equipment node to add the existing sub-blockchain after the verification is passed, and the catalogue blockchain is informed to write the public key of the equipment node into the corresponding public key list.
Supervising interactions of blockchains and blockchains
In the equipment block chain network, an equipment node applies for creating a sub block chain on a supervision block chain, after the creation is successful, the sub block chain notifies the supervision block chain of the state hash of the sub block chain after each block is generated, and chain anchoring is performed. And the interaction between the sub-blockchains applies for relay monitoring on the supervision blockchain to trigger the communication between the supervision blockchain and the sub-blockchain.
Interaction of sub-blockchains and sub-blockchains
The interaction of the sub-blockchain and the sub-blockchain is a complex process, and monitoring management needs to be established and relay processing is performed by the supervision blockchain. Assuming that the sub-blockchain A needs to trigger the transaction processing of the sub-blockchain B, the general flow is as follows:
the sub-blockchain A applies for interception in the supervisory area blockchain and deploys the intercepted dynamic code. When the sub-blockchain generates transaction, the execution of dynamic codes is triggered by the blockchain of the monitoring area, and the dynamic codes can be subjected to screening processing, for example, the transaction meeting the specified condition triggers the cross-chain; the dynamic code may perform data transformations such as transforming transactions of the sub-blockchain a into transaction formats of the sub-blockchain B, and so on. The sub-blockchain B agrees to snoop at the monitor block chain and deploys the dynamic code executing across chains. When the cross-chain transaction triggers execution, the dynamic code may trigger execution of the transaction on the sub-blockchain B after performing the formulation operation. After the transaction execution on the sub-blockchain B is completed, the supervision blockchain is notified, and then the supervision blockchain notifies the sub-blockchain A of the cross-chain interaction flow completion. The inter-chain interaction can ensure information communication between chains, and can also ensure that single-chain information is independent and isolated and avoid information island of the chains.
For the dynamic networking adjustment unit 303, the intelligent contract is further configured to select a candidate replacement node from the candidate replacement nodes based on a time when the candidate replacement node arrives at the mute node according to task priority. And under the condition that the silent node appears in the blockchain network, initiating an effective declaration to the silent node by a non-silent node, and eliminating the silent node from the blockchain network when the number of the effective declarations reaches a threshold value.
The dynamic networking of the equipment nodes is realized based on a networking model of offshore equipment, and the problems of dynamic networking of the equipment nodes in complex offshore operation are solved by a distributed identity identification technology and a consensus algorithm. In the equipment block chain network, no matter whether the equipment nodes perform offshore operation or not, the identifiers of the equipment nodes are different, only the equipment nodes performing normal operation can be in the equipment block chain network, and when a certain equipment node is out of line or fails, the directory block chain whole network broadcasts a replacement task, and equipment which does not perform offshore operation judges whether to join the network or not. For the same equipment node, two or more functional task requirements may be met, and when two or more task requirements occur, the sub-block chain to be added is determined according to the priority of the job task. The specific dynamic networking flow is as follows:
the equipment block chain network continuously transmits offshore operation conditions to the equipment nodes and stores offshore data in a distributed mode;
the equipment node receiving the broadcasted offshore data stores the data locally, performs local calculation, parameterization and standardized output, and provides a trusted data source for other equipment nodes.
When a plurality of equipment nodes are out of order (silent), adjacent equipment nodes do not respond after a plurality of requests, and request new equipment nodes are sent to the supervision block chain link points, and offshore operation tasks are continued. Assuming that the offshore tasks corresponding to the fault equipment nodes are A1, A2 and A3, the priorities of the three tasks are A1> A2> A3, the priorities of the other offshore operation tasks being executed are B1, B2 and B3, the priorities of the six tasks are B2< B3, the priorities of the six tasks are all ordered as A1> B3> A2> A3> B2, and the regulatory block link points broadcast the demand information in the whole network.
Searching all equipment nodes by the intelligent contract, and determining the equipment nodes which are executing tasks and the nodes which are not executing tasks; for the equipment node executing the task, comparing the priority of the required task with the priority of the current task, and if the priority of the new task is lower, not intervening the current equipment node to enable the current task to be continuously executed; if the new task has higher priority or the task is not executed, the next step is continued.
The intelligent contract judges whether other equipment nodes meet task demands or not based on the attribute and the function of the equipment nodes, if not, other responses are not carried out, and if the task demands can be met, the next step is continued.
The intelligent contract judges whether all the equipment nodes meeting the task demands can reach the area where the connection of the failed equipment node fails within the appointed time T, and the time required for reaching the task execution area is determined by the target equipment node and the current position. Assuming that the coordinates of the current equipment node are (x 1, y 1), the area for executing the demand task is a primitive area with a radius d, and the coordinates of the circle center are (x 0, y 0), the time for the equipment node to reach the target area is:
Figure BDA0002802696020000131
where v represents the offshore speed of the equipped node. If T is less than or equal to T, the new demand task can be executed, the new task network can be entered, and the next operation is continued; otherwise it will not respond to the equipment node.
The intelligent contracts collect all the distributed identities of the equipment nodes which can enter the network, order the navigation duration of the equipment nodes and order the offshore operation capability. Then judging the urgency and importance of the target demand task, and if the task is the urgency task, selecting the equipment node with the shortest navigation duration as an admission node; and if the task is an importance task, selecting the equipment node with the strongest job capability as the admission. The intelligent contract initiates an admission notification to the admission equipment node and continues the next operation.
The supervision block chain node and the directory chain block chain node determine the current access node, broadcast in the whole network after consensus, prepare the node to enter the target task network, become a new member of the network, and continue to execute tasks.
The distributed identity (Decentralized Identifiers, DID) is a de-centralized verifiable digital identifier. It is independent of any centralized authority and can autonomously complete registration, resolution, update or revocation operations without requiring centralized registration and authorization. The DID is specifically parsed into a DID description file (DID Document), which mainly contains two contents, namely, an encrypted material (such as a public key, an anonymous identity recognition protocol, etc.), and an attribute (including information for identity authentication and a service endpoint). The authentication information and the encryption material can be combined to provide a set of mechanism as a DID body for authentication, and the service endpoint supports trusted interaction with the DID body.
Verifiable claim (Verifiable Credential) technology provides a specification to describe certain attributes an entity has. It can represent the same information that a credential in the physical world can express. The DID holder can prove to other entities that certain properties of himself are authentic by means of a verifiable statement. Meanwhile, by combining multiple signature and zero knowledge proof and other cryptography technologies, the statement can be safer and more reliable, and the privacy of the user is further ensured not to be violated.
The dynamic adjustment of the identity of the main body is completed by adopting a distributed identity identification technology, namely, the decentralised complex environment equipment nodes are added and removed in real time. When an existing equipment node in the network is found to be invalid, a single equipment node can initiate the declaration of the identity invalidation of the specific equipment node, and if the invalidation declaration collects enough signature endorsements of other equipment nodes, the equipment node is removed from the network. Meanwhile, the trusted collaboration of the information and the protection of the privacy and the safety of the information can be realized.
In a device networking system in an offshore complex environment, a centralized information system construction scheme is often adopted, a communication hub serves as a center, communication individuals are connected to the communication hub for information interaction, and the information interaction among the communication individuals needs to be forwarded by the communication hub. Such a centralized system can implement communication in a complex environment, but is subject to a great safety hazard, and once the centralized communication hub fails, the whole system is subject to a risk of paralysis. The adoption of the blockchain technology can solve the trust reconstruction and the trusted interaction in the unequal trust mode in the complex environment, and solve the security problem faced by the centralized communication hub.
The block chain-based offshore equipment ad hoc network system adopts a distributed network, and each equipment node is equal, so that the system is not caused by the failure of a single equipment node, and the system is not only used as a data information supply end, but also used as a data information user. In such a distributed network, it is important to ensure that the system can be ensured to operate normally and safely between the nodes of the whole network equipment, and to ensure the consistency of data. The block chain-based offshore equipment self-organizing network system consensus mechanism is a consensus algorithm for solving the problem of data consistency in a multi-equipment node environment.
The invention provides an improved practical Bayesian fault-tolerant consensus algorithm, which adds rights and interests evidence on the basis of the practical Bayesian fault-tolerant algorithm so as to improve the system performance. Under the condition that no more than one third of equipment nodes are failed, the system can still work normally (fault tolerance); meanwhile, when no more than one third of malicious equipment nodes exist in the system, all non-malicious equipment nodes agree on real data, and the spread and interference of false data (Bayesian fault tolerance) are avoided. The improved version of the bayer based algorithm can achieve target consistency for all offshore installations.
The dynamic configuration of the offshore equipment network can be realized by the distributed identity identification technology in the blockchain system, and the terminal connection requirement of the instantaneous change under the offshore environment can be met. When the failure of the existing equipment nodes in the network (such as terminal failure and long-term silence of the terminal) is found, any equipment node can initiate the declaration of the identity failure of the specific terminal equipment node and write the declaration on a chain for auditing other offshore equipment in the whole blockchain network. If other equipment nodes confirm that the declaration is trusted, the hardware can be saved by using the private key of the equipment nodes, and the signature supports the declaration; if the declaration is deemed not authentic, a declaration may be written on the chain to revoke the declaration. If the invalidation declaration collects enough signature endorsements (such as 2/3 of the number of nodes of the whole network equipment, and a threshold value is required to be agreed in advance), the operation can be automatically executed through an intelligent contract, the invalidation equipment corresponds to a public key, invalidation processing is carried out on a directory blockchain, and offshore equipment is removed from the network. Meanwhile, other network dynamic adjustment operations such as equipment node joining, equipment node authority change, equipment node connection relation change, system configuration adjustment and the like can be realized through the distributed identity.
A second aspect of the present invention provides a block chain based offshore equipment ad hoc network method, and fig. 4 is a flowchart of a block chain based offshore equipment ad hoc network method according to an embodiment of the present invention, as shown in fig. 4, the method includes: step S1, creating a blockchain network, wherein nodes in the blockchain network represent offshore equipment, and a request is initiated through the nodes to create a sub-blockchain network; step S2, triggering communication interaction among different blockchains and monitoring the communication interaction, wherein the communication interaction comprises interaction between a supervision blockchain and a catalogue blockchain, interaction between the supervision blockchain and the subarea blockchain and interaction between the subarea blockchain and another subarea blockchain; and step S3, eliminating the silent node from the blockchain network by using a distributed identity, dynamically adjusting the sub-blockchain to join the blockchain network by using a consensus algorithm, selecting a replacement node of the silent node, and determining the admittance of the sub-blockchain by using the consensus algorithm based on an intelligent contract.
According to the method provided by the second aspect of the present invention, the step S1 further comprises determining an admission of the node and determining a termination of the sub-block chain.
According to the method provided in the second aspect of the present invention, in the step S3, the intelligent contract selects a candidate replacement node from the candidate replacement nodes based on the time when the candidate replacement node arrives at the silent node according to the task priority.
According to the method provided by the second aspect of the present invention, in the step S3, in the case that the silent node appears in the blockchain network, an effective declaration of the silent node is initiated by a non-silent node, and when the number of the effective declarations reaches a threshold value, the silent node is removed from the blockchain network.
A third aspect of the invention provides a non-transitory computer readable medium storing instructions which, when executed by a processor, perform the steps of a blockchain-based offshore equipment ad hoc networking method according to the second aspect of the invention.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (9)

1. A blockchain-based offshore equipment ad hoc network system, the system comprising:
a blockchain network creation unit configured to: creating a blockchain network, nodes in the blockchain network representing the offshore equipment, by which requests are initiated to create a sub-blockchain network;
a cross-chain interaction unit configured to: triggering communication interaction among different blockchains and monitoring the communication interaction, wherein the communication interaction comprises interaction between a supervision blockchain and a directory blockchain, interaction between the supervision blockchain and the sub-blockchain and interaction between the sub-blockchain and another sub-blockchain; and
a dynamic networking adjustment unit configured to:
dynamically adjusting the sub-blockchain to join the blockchain network by using a consensus algorithm, selecting a replacement node of a silent node, and determining the admittance of the sub-blockchain based on an intelligent contract by the consensus algorithm; and
and eliminating the silent node from the blockchain network by using a distributed identity.
2. The blockchain-based offshore equipment ad hoc network system of claim 1, wherein the blockchain network creation unit is further configured to determine admission of the node and determine termination of the blockchain.
3. The blockchain-based offshore equipment ad hoc network system of claim 1, wherein the dynamic networking adjustment unit is further configured to select a candidate replacement node from the candidate replacement nodes based on a time the candidate replacement node arrives at the mute node according to task priority.
4. The blockchain-based offshore equipment ad hoc network system according to claim 1, wherein said dynamic networking adjustment unit is further configured to initiate an actual declaration of said silent node by a non-silent node in case of occurrence of said silent node in said blockchain network, said silent node being rejected from said blockchain network when the number of said actual declarations reaches a threshold.
5. A blockchain-based offshore equipment ad hoc network method, the method comprising:
step S1, creating a blockchain network, wherein nodes in the blockchain network represent offshore equipment, and a request is initiated through the nodes to create a sub-blockchain network;
step S2, triggering communication interaction among different blockchains and monitoring the communication interaction, wherein the communication interaction comprises interaction between a supervision blockchain and a catalogue blockchain, interaction between the supervision blockchain and the subarea blockchain and interaction between the subarea blockchain and another subarea blockchain; and
and S3, removing the silent node from the blockchain network by using the distributed identity, dynamically adjusting the sub-blockchain to join the blockchain network by using a consensus algorithm, selecting a replacement node of the silent node, and determining the admittance of the sub-blockchain by using the consensus algorithm based on an intelligent contract.
6. The blockchain-based offshore equipment ad hoc network method according to claim 5, wherein said step S1 further comprises determining an admission of said node and determining a termination of said blockchain.
7. The blockchain-based offshore equipment ad hoc network method according to claim 5, wherein in said step S3, said intelligent contract selects candidate replacement nodes from among said candidate replacement nodes based on the time at which said candidate replacement nodes reach said silent node according to task priorities.
8. The blockchain-based offshore equipment ad hoc network method according to claim 5, wherein in said step S3, in the case that said silent node is present in said blockchain network, an effective declaration of said silent node is initiated by a non-silent node, and when the number of said effective declarations reaches a threshold, said silent node is removed from said blockchain network.
9. A non-transitory computer readable medium storing instructions which, when executed by a processor, perform the steps of the blockchain-based offshore equipment ad hoc network method according to any of claims 5-8.
CN202011356463.3A 2020-11-26 2020-11-26 Block chain based offshore equipment ad hoc network system, method and medium Active CN112565368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011356463.3A CN112565368B (en) 2020-11-26 2020-11-26 Block chain based offshore equipment ad hoc network system, method and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011356463.3A CN112565368B (en) 2020-11-26 2020-11-26 Block chain based offshore equipment ad hoc network system, method and medium

Publications (2)

Publication Number Publication Date
CN112565368A CN112565368A (en) 2021-03-26
CN112565368B true CN112565368B (en) 2023-05-19

Family

ID=75046318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011356463.3A Active CN112565368B (en) 2020-11-26 2020-11-26 Block chain based offshore equipment ad hoc network system, method and medium

Country Status (1)

Country Link
CN (1) CN112565368B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113627809A (en) * 2021-08-17 2021-11-09 山东大学 Medical waste supervision system and method based on block chain
CN114254395B (en) * 2022-03-01 2022-05-06 南开大学 Content-publishing-oriented consensus formation method for autonomous network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734502A (en) * 2017-09-07 2018-02-23 京信通信系统(中国)有限公司 Micro-base station communication management method, system and equipment based on block chain
WO2019021107A1 (en) * 2017-07-24 2019-01-31 nChain Holdings Limited Computer-implemented system and method for managing a large distributed memory pool in a blockchain network
CN110115001A (en) * 2018-11-07 2019-08-09 阿里巴巴集团控股有限公司 Promote practical Byzantine failure tolerance block chain common recognition synchronous with node
CN110741372A (en) * 2017-06-07 2020-01-31 区块链控股有限公司 Computer-implemented system and method for managing transactions on a blockchain network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190251199A1 (en) * 2018-02-14 2019-08-15 Ivan Klianev Transactions Across Blockchain Networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110741372A (en) * 2017-06-07 2020-01-31 区块链控股有限公司 Computer-implemented system and method for managing transactions on a blockchain network
WO2019021107A1 (en) * 2017-07-24 2019-01-31 nChain Holdings Limited Computer-implemented system and method for managing a large distributed memory pool in a blockchain network
CN107734502A (en) * 2017-09-07 2018-02-23 京信通信系统(中国)有限公司 Micro-base station communication management method, system and equipment based on block chain
CN110115001A (en) * 2018-11-07 2019-08-09 阿里巴巴集团控股有限公司 Promote practical Byzantine failure tolerance block chain common recognition synchronous with node
EP3542514A2 (en) * 2018-11-07 2019-09-25 Alibaba Group Holding Limited Facilitating practical byzantine fault tolerance blockchain consensus and node synchronization

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
区块链理论研究进展;单进勇等;《密码学报》;20181015(第05期);34-50 *
基于区块链的高速铁路监测数据安全存储方案;张利华等;《计算机工程与设计》;20200416(第04期);41-46 *

Also Published As

Publication number Publication date
CN112565368A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN109191124B (en) Block chain network, deployment method and storage medium
CN111539750A (en) Commodity traceability system based on block chain and big data technology
CN110599095B (en) Block chain network-based hazardous waste treatment method and node of block chain network
JP2020515092A (en) Blockchain monitoring and management
CN105247529A (en) Synchronizing credential hashes between directory services
CN111444277B (en) Anti-terrorism information cooperative sharing platform and method based on blockchain technology
CN109919771B (en) Industrial internet transaction device applying hierarchical block chain technology
WO2020186807A1 (en) System and method for power data linking based on blockchain technology
CN106911648B (en) Environment isolation method and equipment
CN112565368B (en) Block chain based offshore equipment ad hoc network system, method and medium
CN112702402A (en) System, method, device, processor and storage medium for realizing government affair information resource sharing and exchange based on block chain technology
CN111737735A (en) BDChrain block chain service platform
CN112527912A (en) Data processing method and device based on block chain network and computer equipment
CN111400112A (en) Writing method and device of storage system of distributed cluster and readable storage medium
CN112422621A (en) Multi-station fusion power data consensus method and device based on PBFT block chain technology
CN113067901B (en) Method for creating block chain subnet
CN113034857A (en) Urban natural disaster monitoring emergency management scheduling platform based on block chain
WO2023050966A1 (en) Blockchain data verification
Jiang et al. A cross-chain solution to integration of iot tangle for data access management
Shao et al. Blockchain-based SDN security guaranteeing algorithm and analysis model
CN116888595A (en) Qualification consensus for blockchain networks
CN111695856A (en) Ship information registration method based on block chain intelligent contract
CN113067898B (en) Method for scheduling computing services for business process contracts
Liu et al. Using blockchain technology in IoT manufacture environment for intelligence prediction
CN112988852B (en) Block chain-based data management method, device and medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100094 No.1, Fengxian East Road, Haidian District, Beijing

Applicant after: China Shipbuilding Corporation System Engineering Research Institute

Applicant after: XI'AN ZHIGUI INTERNET TECHNOLOGY Co.,Ltd.

Address before: 100094 No.1, Fengxian East Road, Haidian District, Beijing

Applicant before: China Shipbuilding Industry System Engineering Research Institute

Applicant before: XI'AN ZHIGUI INTERNET TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant