CN112866003A - Block chain multi-chain layered collaborative technology system - Google Patents

Block chain multi-chain layered collaborative technology system Download PDF

Info

Publication number
CN112866003A
CN112866003A CN202011425505.4A CN202011425505A CN112866003A CN 112866003 A CN112866003 A CN 112866003A CN 202011425505 A CN202011425505 A CN 202011425505A CN 112866003 A CN112866003 A CN 112866003A
Authority
CN
China
Prior art keywords
network
slave
chain
layer
consensus
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.)
Withdrawn
Application number
CN202011425505.4A
Other languages
Chinese (zh)
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.)
Shenzhen Yihang Network Information Technology Co ltd
Original Assignee
Shenzhen Yihang Network Information 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 Shenzhen Yihang Network Information Technology Co ltd filed Critical Shenzhen Yihang Network Information Technology Co ltd
Priority to CN202011425505.4A priority Critical patent/CN112866003A/en
Publication of CN112866003A publication Critical patent/CN112866003A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/042Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/044Network management architectures or arrangements comprising hierarchical management structures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/354Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention protects a block chain multi-chain layered collaborative technology system, and relates to the technical field of block chains, wherein a master-slave multi-chain model of a block chain is established, different consensus mechanisms are adopted for constructing a master chain and a slave chain, and a base layer, a topology layer, a consensus layer and an application layer of the block chain are processed in a layered mode, so that a more bottom-layer PBFT plus 1^ 1 facing a distributed file system is improved, the system is more suitable for a transaction-facing block chain system, and a high-throughput, low-delay, high-efficiency and energy-saving consensus algorithm is designed.

Description

Block chain multi-chain layered collaborative technology system
Technical Field
The invention relates to the technical field of block chains, in particular to a block chain multi-chain hierarchical collaboration technical system.
Background
Multiple Atomic Chain (MAC for short) is a third type of ecological system at the bottom of a blockchain developed outside bitcoin and etherhouse, and is dedicated to the business application boundary and the technical boundary of expanding blockchain technology, so that a public user can really feel the value of blockchain technology, and the blockchain is not stagnated at an academic theory level but is more directly applied to the practice of development and application, and the development of the Multiple Atomic Chain is a spark of collision between the business application and the blockchain technology and a challenge to the prior art of the blockchain, and the thinking in the prior art is jumped out, and the blockchain is a blockchain 3. 0 pioneer of the ecological application system. In the multi-primitive chain system, point-to-point value transfer can be realized through a value transmission protocol, and the characteristics of high performance, high throughput and rapidness and safety are the characteristics of the multi-primitive chain, so that a decentralized scene application development ecological platform supporting multiple industry fields (finance, Internet of things, supply chain, social contact, game, e-commerce, tracing, transaction and the like) is constructed by using the bottom layer of the multi-primitive chain.
In a public chain of multi-primitive chains (in the public blockchain system, anyone can read all over the world, anyone can send a transaction and the transaction can be validated, a blockchain in which anyone can participate in the consensus process (the consensus process decides which block can be added to the blockchain and makes explicit the current state), as an alternative to centralized or quasi-centralized trust, the security of the public blockchain is by "encrypted digital economy" in the form of a workload attestation mechanism or a rights attestation mechanism, combining economic rewards and encrypted digital authentication, and following the general principle that economic rewards available from everyone are directly proportional to the contribution made to the consensus process.
The discrete conversion is continuously confirmed by voting of a traditional discrete consensus algorithm, the continuous random sampling is upgraded, only one part of all nodes is selected to obtain a result, and the repeated sampling is carried out for multiple times, so that the full coverage is realized. When the result of the random sampling converges to a confidence value, consensus is achieved. The running efficiency of the asynchronous system is improved in a parallel consensus mode, and the concurrency performance of the system is further improved by matching with a multi-node design of the asynchronous system. The method does not need to be connected with most nodes in the consensus process, votes are obtained, system data transmission is saved, the dependence of the nodes on a network body is reduced, the nodes are randomly selected, a random calculable function is used, a user can know whether the nodes are selected or not according to calculation, and the result is fed back and broadcasted to other users.
Among the three phases experienced by the traffic data uplink, the consensus phase requires the participation of other blockchain nodes in the blockchain network. Research shows that when the service data is subjected to consensus processing, as the number of the block link points participating in consensus increases, the time for performing consensus processing on the service data is prolonged, and further the efficiency of the consensus processing on the service data is low.
Disclosure of Invention
In order to solve the problems in the prior art, an embodiment of the present invention provides a block chain multi-chain hierarchical cooperation technology system. The technical scheme is as follows:
a blockchain multi-chain hierarchical collaborative technology system, the system comprising a plurality of network devices communicatively coupled to each other, the system further comprising:
an obtaining device, configured to obtain a network topology structure of the plurality of network devices;
a multi-link establishing device, configured to establish a master link and a slave link according to the network topology, where the master link and the slave link include the multiple network devices, a first consensus mechanism is set for the master link, and a second consensus mechanism is set for the slave link; setting a time threshold for the first consensus mechanism and the second consensus mechanism;
a verification node obtaining device, configured to select a verification node from the multiple network devices;
the verification node acquisition device is further used for selecting a main chain verification node from a plurality of network devices of the main chain;
and a setting device for setting the corresponding relationship between the plurality of network devices and a Multiple atom chain (Multiple atom chain).
Optionally, the obtaining device is specifically configured to:
the method comprises the steps that a plurality of computers or network equipment are connected with network interfaces corresponding to switching units, the topological structures are sent to signal input ends of network isolation transformers of the switching units, the network isolation transformers carry out signal-to-noise filtering processing on the simulated topological structures and send the processed topological structures to physical layer chips connected to the upper ends, the physical layer chips receive the simulated topological structures sent by the network isolation transformers, the simulated topological structures are sampled, corresponding digital topological structures are generated and sent to network switching chips connected to the upper ends.
Optionally, the verification node obtaining apparatus is specifically configured to:
after the main chain nodes are screened, nodes which can participate in the construction of the verification block are called verification nodes, a dynamic construction strategy of a verification node group is ensured, and at least (K +1)/2 credible nodes exist in the initial consensus node set of the main chain;
based on the node computational power, the reputation value and the constraint of times of verifying the nodes, the nodes randomly select part of main chain nodes from the nodes in the whole network as a verification node set of a main chain.
Optionally, the setting device is specifically configured to:
receiving a digital topological structure sent by a physical layer by a network exchange chip of a switching unit, learning a media access control Multiple primitive Chain (Multiple Atomic Chain), maintaining and indexing a corresponding relation table of the media access control Multiple primitive Chain (Multiple Atomic Chain) and a network interface of the switching unit in real time, wherein each network interface has a corresponding VLAN ID value;
inputting a control signal to a microprocessor of a control unit by a topology switching key of a foreground triggering unit, triggering the microprocessor to respectively send information of the corresponding N +1 network topology structure in a register to a liquid crystal display screen of the foreground control triggering unit, and sending the control signal to a network switching chip of the switching unit;
the network switching chip is controlled by a control signal of a control unit, a Virtual Local Area Network (VLAN) technology supported in the network switching chip is applied, each node of the lower layer block chain needs to maintain a common global routing table structure to store a topological structure of the whole block chain cluster, an algorithm protocol of all data consistency in the whole network is coordinated, each node in the block chain verifies and confirms data according to the algorithm protocol, and only after most nodes are approved, real and effective data are calculated and can be written into the block chain to form data which cannot be tampered;
broadcasting the consensus node selected from the local chain to other nodes in the local chain so that the other nodes vote whether to provide the consensus service by the selected consensus node;
and voting the node of the 'consensus accounting representative' by the block chain equity holders according to the share proportion, and adding a 'upgrading and downgrading' rule later to dynamically update the low-grade consensus accounting node.
Optionally, the establishing a master-slave multi-chain model of the block chain, where different consensus mechanisms are adopted for constructing the master chain and the slave chain, and a time threshold is used as a delay boundary to constrain a cooperation process of each consensus mechanism, where the block chain is divided into an upper block chain and a lower block chain, specifically includes:
the upper layer block chain comprises a base layer and a topology layer, and the base layer encapsulates the bottom layer data block ^ type and the related technologies of data encryption, time stamping and the like; the topology layer comprises a distributed networking mechanism, a data transmission mechanism, a data verification mechanism and the like; the subordinate layer block chain comprises a consensus layer and an application layer, wherein the consensus layer mainly encapsulates various consensus algorithms of the network nodes; the application layer integrates economic factors into a block chain technical system and mainly comprises an issuing mechanism, an allocation mechanism and the like of economic application, wherein the contract layer mainly encapsulates various scripts, algorithms and intelligent contracts and is the basis of the programmable characteristic of the block chain, and the application layer encapsulates various application scenes and cases of the block chain.
Optionally, one end of the control unit centralized control interface is connected with a group of input/output control pins of the microprocessor, and the other end of the control unit centralized control interface is interconnected with a centralized control interface application DB-9 interface of the switching device with multiple network topology structures, so as to implement a function of receiving/sending a switching instruction of the centralized network topology structure of the device.
Optionally, the topology structure includes a core topology network (11) and a slave topology network (22), the core topology network (11) includes a core master station 1 and a plurality of core slave stations 1 to n +1, and the slave topology network (22) includes a slave master station 2 and a plurality of slave stations n +2 to 2n + 2;
the core master station 1 and one slave station 2n +2 serve as two core topology nodes and are communicated with each other through a system internal bus to form a core system, the core master station 1 serves as a master station of a core topology network (11), and the slave station 2n +2 serves as a slave station of a slave topology network (22);
the slave master station 2 and one of the core slave stations n +1 are used as two slave topology nodes and are communicated with each other through a system internal bus to form a slave system, the slave master station 2 is used as a master station of a slave topology network (22), and the core slave station n +1 is used as a slave station of a core topology network (11);
each controlled device is provided with at least one core slave station and slave stations at the same time;
a heartbeat count is arranged between a core master station 1 in the core system and a core slave station n +1 in the slave system and is used for monitoring whether a communication line of a core topology network (11) is normal;
and a heartbeat count is set between the slave master station 2 in the slave system and the slave station 2n +2 in the core system to monitor whether the communication line of the slave topology network (22) is normal.
Optionally, the electrically erasable programmable memory of the switching unit stores media access control and other status parameters, and a two-wire serial bus is used to connect the network switch chip, so as to realize information query of the computer by looking up the device identity through the network interface of the switching unit.
Optionally, an asynchronous sorting technology is adopted to convert the consensus, an asynchronous sorting technology is originally created, the consensus is converted into a method for processing large-scale concurrent requests of an asynchronous system and sorting problems of data, the method is superior to the overall connectivity of a network, and the method can normally operate in the environment of a non-fully-connected network even in a system with the network connection ratio of less than 50%;
the multi-hidden layer network approaches any continuous function by using a hidden layer network, a deep layer network replaces a single hidden layer in the framework, and a normalization result can be converged more quickly in the fitting process;
a back propagation algorithm, a multi-layer partition, a fog algorithm, a mode of switching network topology structure between weak centralization and decentralized centralization, and a mode of combining a super node and a supervision node.
Optionally, the dial switch group of the control unit inputs a state setting control signal to the microprocessor, the microprocessor reads the network topology structure included in the corresponding software version mode in the chip, loads the corresponding software version mode into the on-chip register unit, and operates the loaded network topology structure included in the software version mode.
The method provided by the invention has the following beneficial effects:
by establishing a master-slave multi-chain model of the block chain, different consensus mechanisms are adopted for the construction of the master chain and the slave chain, and the basic layer and the topological layer, the consensus layer and the application layer of the block chain are processed in a layered mode, so that the PBFT (basic peripheral component interconnect) plus 1^ 1 facing the lower layer of the distributed file system is improved, the PBFT plus 1^ 1 facing the transaction is more suitable for the block chain system facing the transaction, and a high-throughput, low-delay, high-efficiency and energy-saving consensus algorithm is designed.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a block chain multi-chain hierarchical collaboration system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Preferably, referring to fig. 1, the present invention requests to protect a block chain multi-chain hierarchical collaboration technology system, which includes:
the system includes a plurality of network devices communicatively coupled to each other, the system further comprising:
an obtaining device, configured to obtain a network topology structure of the plurality of network devices;
a multi-link establishing device, configured to establish a master link and a slave link according to the network topology, where the master link and the slave link include the multiple network devices, a first consensus mechanism is set for the master link, and a second consensus mechanism is set for the slave link; setting a time threshold for the first consensus mechanism and the second consensus mechanism;
a verification node obtaining device, configured to select a verification node from the multiple network devices;
the verification node acquisition device is further used for selecting a main chain verification node from a plurality of network devices of the main chain;
and a setting device for setting the corresponding relationship between the plurality of network devices and a Multiple atom chain (Multiple atom chain).
Optionally, the obtaining device is specifically configured to:
the method comprises the steps that a plurality of computers or network equipment are connected with network interfaces corresponding to switching units, the topological structures are sent to signal input ends of network isolation transformers of the switching units, the network isolation transformers carry out signal-to-noise filtering processing on the simulated topological structures and send the processed topological structures to physical layer chips connected to the upper ends, the physical layer chips receive the simulated topological structures sent by the network isolation transformers, the simulated topological structures are sampled, corresponding digital topological structures are generated and sent to network switching chips connected to the upper ends.
Optionally, the verification node obtaining apparatus is specifically configured to:
after the main chain nodes are screened, nodes which can participate in the construction of the verification block are called verification nodes, a dynamic construction strategy of a verification node group is ensured, and at least (K +1)/2 credible nodes exist in the initial consensus node set of the main chain;
based on the node computational power, the reputation value and the constraint of times of verifying the nodes, the nodes randomly select part of main chain nodes from the nodes in the whole network as a verification node set of a main chain.
Optionally, the setting device is specifically configured to:
receiving a digital topological structure sent by a physical layer by a network exchange chip of a switching unit, learning a media access control Multiple primitive Chain (Multiple Atomic Chain), maintaining and indexing a corresponding relation table of the media access control Multiple primitive Chain (Multiple Atomic Chain) and a network interface of the switching unit in real time, wherein each network interface has a corresponding VLAN ID value;
inputting a control signal to a microprocessor of a control unit by a topology switching key of a foreground triggering unit, triggering the microprocessor to respectively send information of the corresponding N +1 network topology structure in a register to a liquid crystal display screen of the foreground control triggering unit, and sending the control signal to a network switching chip of the switching unit;
the network switching chip is controlled by a control signal of a control unit, a Virtual Local Area Network (VLAN) technology supported in the network switching chip is applied, each node of the lower layer block chain needs to maintain a common global routing table structure to store a topological structure of the whole block chain cluster, an algorithm protocol of all data consistency in the whole network is coordinated, each node in the block chain verifies and confirms data according to the algorithm protocol, and only after most nodes are approved, real and effective data are calculated and can be written into the block chain to form data which cannot be tampered;
broadcasting the consensus node selected from the local chain to other nodes in the local chain so that the other nodes vote whether to provide the consensus service by the selected consensus node;
and voting the node of the 'consensus accounting representative' by the block chain equity holders according to the share proportion, and adding a 'upgrading and downgrading' rule later to dynamically update the low-grade consensus accounting node.
Preferably, the establishing a master-slave multi-chain model of the block chain, the constructing of the master chain and the slave chain adopts different consensus mechanisms, and the time threshold is used as a delay boundary to constrain the cooperation process of each consensus mechanism, and the block chain is divided into an upper block chain and a lower block chain, and specifically includes:
the upper layer block chain comprises a base layer and a topology layer, and the base layer encapsulates the bottom layer data block ^ type and the related technologies of data encryption, time stamping and the like; the topology layer comprises a distributed networking mechanism, a data transmission mechanism, a data verification mechanism and the like; the subordinate layer block chain comprises a consensus layer and an application layer, wherein the consensus layer mainly encapsulates various consensus algorithms of the network nodes; the application layer integrates economic factors into a block chain technical system and mainly comprises an issuing mechanism, an allocation mechanism and the like of economic application, wherein the contract layer mainly encapsulates various scripts, algorithms and intelligent contracts and is the basis of the programmable characteristic of the block chain, and the application layer encapsulates various application scenes and cases of the block chain.
Organizing the whole block chain system through a hierarchical structure, indexing the block chain of a topological layer by a base layer block chain of an upper layer block chain to realize layering and customization of different functions, constructing verification nodes, constructing a main chain verification block by using a POW algorithm competition of the set when each group of verification node set is constructed, and adding the verification block into the main chain when the verification is passed after the construction is completed; the common recognition layer and the application layer of the lower layer block chain can realize different processing realization logics to realize different functions, so that the coupling degree of the system is reduced, and meanwhile, more diversified service customization is realized. And then screening a next round of verification node set, and constructing a next verification block. Of course, a malicious node that may exist in the network may construct an illegal verification block, and then the block cannot be verified, the round of consensus is not valid, and the height of the verification block is not changed.
Since the nodes indexed from the upper link to the lower link cannot be guaranteed to be stable (fail or exit), an indexing mechanism must be designed to ensure that the system has sufficient robustness, and the seed nodes recorded by the top link can be correctly indexed to the lower link. After the verification node set is screened out, the subsequent operations of block verification, branching pruning and the like are the same as the POW. The provided verification node set is dynamically constructed, so that the main chain consensus process is always dynamically changed, and the method has stronger safety and reliability. The client does not need to know the distribution organization structure of the chain and the load condition of the chain nodes, and needs to locate the server corresponding to the provided data through the index of the multi-level block chain, so that the whole indexing process is required to be completely transparent to the user. The time complexity of the algorithm used to construct the verification network is such that the time overhead incurred is negligible
Furthermore, one end of the control unit centralized control interface is connected with a group of input/output control pins of the microprocessor, and the other end of the control unit centralized control interface is interconnected with the centralized control interface application DB-9 interfaces of the switching devices with various network topological structures, so that the function of receiving/sending the switching instructions of the centralized network topological structures of the devices is realized.
The method is characterized in that an asynchronous sorting technology is originally created, and common knowledge is converted into the problem of processing large-scale concurrent requests of an asynchronous system and sorting data. The method is superior to the overall connectivity of the network, and can normally operate in the environment of a non-fully connected network even in a system with the network connection ratio of less than 50%. Meanwhile, a hidden layer network is used to approximate any continuous function by matching with a multi-hidden layer network. The framework replaces a single hidden layer by a deep network, and the result can be converged and normalized more quickly in the fitting process. The crowding is judged to reach the balance, the data value is shared and decided, numerous decision individuals form a conducting structure to simulate Neuron neurons, and the resultant force decision is made. The method comprises the steps of back propagation algorithm, multilayer partition and fog algorithm, network topology structure switching between weak centralization and decentralized centralization, and the mode of combining super nodes and supervision nodes, so that an asynchronous communication strategy is free from obstacles.
The Block chain is a single chain consisting of Block blocks and can only be synchronously and sequentially written according to Block time as if the single-core single-thread CPU is available; the DAG is a network formed by transaction units and can asynchronously and concurrently write in transactions as if the multi-core multi-thread CPU;
preferably, the topology structure comprises a core topology network (11) and a slave topology network (22), the core topology network (11) comprises a core master station 1 and a plurality of core slave stations 1 to n +1, and the slave topology network (22) comprises a slave master station 2 and a plurality of slave stations n +2 to 2n + 2;
the core master station 1 and one slave station 2n +2 serve as two core topology nodes and are communicated with each other through a system internal bus to form a core system, the core master station 1 serves as a master station of a core topology network (11), and the slave station 2n +2 serves as a slave station of a slave topology network (22);
the slave master station 2 and one of the core slave stations n +1 are used as two slave topology nodes and are communicated with each other through a system internal bus to form a slave system, the slave master station 2 is used as a master station of a slave topology network (22), and the core slave station n +1 is used as a slave station of a core topology network (11);
each controlled device is provided with at least one core slave station and slave stations at the same time;
a heartbeat count is arranged between a core master station 1 in the core system and a core slave station n +1 in the slave system and is used for monitoring whether a communication line of a core topology network (11) is normal;
and a heartbeat count is set between the slave master station 2 in the slave system and the slave station 2n +2 in the core system to monitor whether the communication line of the slave topology network (22) is normal.
When the account book data stored by the node is incomplete and the transaction content cannot be checked, data retrieval service needs to be requested from other nodes. Since there may be byzantine nodes in the network, make internal disorder or usurp is needed to ensure correctness of data retrieval service. The Merkel root hash value of the MPT-Chain digital asset state tree is stored in the block head of the micro-block, other nodes in the network reconstruct the MPT-Chain by using the transaction set in the block along with the broadcasting of the block to the whole network, the construction of the Merkel tree has uniqueness and irreversibility, and the characteristics can ensure the consistency of the whole network of the MPT-Chain. After the retrieval result is obtained, the data service request service node sends transaction information needing to be verified, other nodes return Merkel proofs after receiving the information, and the data service request service node recalculates Merkel root hash values by using the Merkel proofs received from the nodes and compares the Merkel root hash values to verify the accuracy of the data service.
Preferably, the electrically erasable programmable memory of the switching unit stores media access control and other state parameters, and the two-wire serial bus is connected with the network switching chip to realize information query of looking up device identification by the computer through the network interface of the switching unit.
Asynchronous communication strategy in the parallel processing technology, the information communication between tasks usually adopts 2 strategies, namely an asynchronous communication strategy and a synchronous communication strategy, thereby leading out an asynchronous parallel algorithm and a synchronous parallel algorithm. The synchronous parallel algorithm is a plurality of tasks in the execution process, a certain task is in a waiting state at a certain section and can not be activated until another task finishes a certain section of operation, the phenomenon does not exist in the asynchronous parallel algorithm, the communication among the tasks is carried out through global variables (shared data), the synchronous parallel algorithm does not have the dependency relationship among the tasks, the input among the tasks does not need to be waited, the tasks can be continuously executed and the data can be continuously obtained according to the information obtained from the global variables at present, and therefore the asynchronous algorithm has the advantage of avoiding the synchronous communication overhead among the tasks, and improving the speed-up ratio. However, the blockchain environment only supports a synchronous communication mechanism, the 2 node processes (tasks) connected with the same channel can only communicate when being respectively in an input/output ready state, otherwise the processes (tasks) already in the ready state (whether the input process or the output process) are always in a waiting communication state.
Furthermore, the consensus is converted by adopting an asynchronous sequencing technology, the asynchronous sequencing technology is originally created, the consensus is converted into the consensus for processing large-scale concurrent requests of an asynchronous system and the data sequencing problem, the overall connectivity of the network is superior to that of the network, and the network can normally operate even in a system with the network connection ratio of less than 50% in the environment of a non-fully-connected network;
multiple hidden layer networks, one hidden layer network is used to approach any continuous function, a deep layer network replaces a single hidden layer, and the convergence and normalization result can be faster in the fitting process
A back propagation algorithm, a multi-layer partition, a fog algorithm, a mode of switching network topology structure between weak centralization and decentralized centralization, and a mode of combining a super node and a supervision node.
Preferably, the dial switch group of the control unit is connected with a group of input/output control pins of the microprocessor, and a control signal is input; a Transputer-oeEAM environment realizes RungeKuttata asynchronous parallel algorithm, realizes debugging, updating and programming operation of a flash memory unit program in a microprocessor chip through an integrated development platform (IDE) of a computer operating system, integrates a plurality of functional blocks such as a CPU, a memory, a high-speed interconnection communication link and the like, and is provided with 4 pairs of bidirectional communication links which are used for linking processors to form a multiprocessor system with various topological structures.
Based on a master-slave multi-chain model of Hash anchoring, a plurality of slave chains are constructed to enable different types of digital assets to be processed in a classified mode, and slave chain blocks are constructed in parallel, so that transaction throughput is improved. The structure of the proposed master-slave multi-chain model is described in detail from the block data structure of the master-slave multi-chain model and the data structure of the data in the block; secondly, a main chain anchoring method based on a hash value is described, and in order to ensure the safety of transaction data and prevent the data from being tampered by using a cost calculation mode, the tampering action which is possibly initiated by a Byzantine node is avoided.
Further, the control end computer uses the reverse signal line to send command signals to the RJ-45 connector of the control unit, the serial port communication control chip receives the command signals of the RJ-45 connector, converts the command signals into RS-232 communication protocol signals and sends the RS-232 communication protocol signals to a universal synchronous and asynchronous serial receiving/forwarding interface pin (USART) of the microprocessor, and therefore the remote configuration function is achieved.
The method adopts an OpenFlow protocol, an OpenDaylight controller and a deep packet inspection technology, applies the structure and application scene of a path mapping table, finally uses the controller to perform centralized control on the network and the application path mapping table to realize an application-aware network with a resource scheduling function according to the application, solves the problems of uneven load and congestion in the network after topology switching, and provides a better consensus effect for different users and applications.
Preferably, the dial switch group of the control unit inputs a state setting control signal to the microprocessor, the microprocessor reads the network topology structure contained in the corresponding software version mode in the chip, loads the corresponding software version mode into the on-chip register unit, and runs the loaded network topology structure contained in the software version mode.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application. All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A system for block-chain multi-chain hierarchical collaboration, the system comprising a plurality of network devices communicatively coupled to each other, the system further comprising:
an obtaining device, configured to obtain a network topology structure of the plurality of network devices;
a multi-link establishing device, configured to establish a master link and a slave link according to the network topology, where the master link and the slave link include the multiple network devices, a first consensus mechanism is set for the master link, and a second consensus mechanism is set for the slave link; setting a time threshold for the first consensus mechanism and the second consensus mechanism;
a verification node obtaining device, configured to select a verification node from the multiple network devices;
the verification node acquisition device is further used for selecting a main chain verification node from a plurality of network devices of the main chain;
and a setting device for setting the corresponding relationship between the plurality of network devices and a Multiple atom chain (Multiple atom chain).
2. The method according to claim 1, wherein the obtaining means is specifically configured to:
the method comprises the steps that a plurality of computers or network equipment are connected with network interfaces corresponding to switching units, the topological structures are sent to signal input ends of network isolation transformers of the switching units, the network isolation transformers carry out signal-to-noise filtering processing on the simulated topological structures and send the processed topological structures to physical layer chips connected to the upper ends, the physical layer chips receive the simulated topological structures sent by the network isolation transformers, the simulated topological structures are sampled, corresponding digital topological structures are generated and sent to network switching chips connected to the upper ends.
3. The system according to claim 2, wherein the verification node obtaining means is specifically configured to:
after the main chain nodes are screened, nodes which can participate in the construction of the verification block are called verification nodes, a dynamic construction strategy of a verification node group is ensured, and at least (K +1)/2 credible nodes exist in the initial consensus node set of the main chain;
based on the node computational power, the reputation value and the constraint of times of verifying the nodes, the nodes randomly select part of main chain nodes from the nodes in the whole network as a verification node set of a main chain.
4. System according to claim 3, characterized in that the setting means are in particular adapted to,
receiving a digital topological structure sent by a physical layer by a network exchange chip of a switching unit, learning a media access control Multiple primitive Chain (Multiple Atomic Chain), maintaining and indexing a corresponding relation table of the media access control Multiple primitive Chain (Multiple Atomic Chain) and a network interface of the switching unit in real time, wherein each network interface has a corresponding VLAN ID value;
inputting a control signal to a microprocessor of a control unit by a topology switching key of a foreground triggering unit, triggering the microprocessor to respectively send information of the corresponding N +1 network topology structure in a register to a liquid crystal display screen of the foreground control triggering unit, and sending the control signal to a network switching chip of the switching unit;
the network switching chip is controlled by a control signal of a control unit, a Virtual Local Area Network (VLAN) technology supported in the network switching chip is applied, each node of the lower layer block chain needs to maintain a common global routing table structure to store a topological structure of the whole block chain cluster, an algorithm protocol of all data consistency in the whole network is coordinated, each node in the block chain verifies and confirms data according to the algorithm protocol, and only after most nodes are approved, real and effective data are calculated and can be written into the block chain to form data which cannot be tampered;
broadcasting the consensus node selected from the local chain to other nodes in the local chain so that the other nodes vote whether to provide the consensus service by the selected consensus node;
and voting the node of the 'consensus accounting representative' by the block chain equity holders according to the share proportion, and adding a 'upgrading and downgrading' rule later to dynamically update the low-grade consensus accounting node.
5. The system of claim 4,
according to the master-slave multi-chain model for establishing the block chain, different consensus mechanisms are adopted for the construction of the master chain and the slave chain, and a time threshold is used as a delay boundary to restrict the cooperation process of each consensus mechanism, wherein the block chain is divided into an upper layer block chain and a lower layer block chain, and the master-slave multi-chain model specifically comprises the following steps:
the upper layer block chain comprises a base layer and a topology layer, and the base layer encapsulates the bottom layer data block ^ type and the related technologies of data encryption, time stamping and the like; the topology layer comprises a distributed networking mechanism, a data transmission mechanism, a data verification mechanism and the like; the subordinate layer block chain comprises a consensus layer and an application layer, wherein the consensus layer mainly encapsulates various consensus algorithms of the network nodes; the application layer integrates economic factors into a block chain technical system and mainly comprises an issuing mechanism, an allocation mechanism and the like of economic application, wherein the contract layer mainly encapsulates various scripts, algorithms and intelligent contracts and is the basis of the programmable characteristic of the block chain, and the application layer encapsulates various application scenes and cases of the block chain.
6. The system of claim 5, wherein: one end of the control unit centralized control interface is connected with a group of input/output control pins of the microprocessor, and the other end of the control unit centralized control interface is interconnected with the centralized control interface application DB-9 interfaces of the switching device with various network topological structures, so that the function of receiving/sending the switching instruction of the centralized network topological structures of the device is realized.
7. The system according to claim 6 is implemented,
the topological structure comprises a core topological network (11) and a slave topological network (22), wherein the core topological network (11) comprises a core master station 1 and a plurality of core slave stations 1 to n +1, and the slave topological network (22) comprises a slave master station 2 and a plurality of slave stations n +2 to 2n + 2;
the core master station 1 and one slave station 2n +2 serve as two core topology nodes and are communicated with each other through a system internal bus to form a core system, the core master station 1 serves as a master station of a core topology network (11), and the slave station 2n +2 serves as a slave station of a slave topology network (22);
the slave master station 2 and one of the core slave stations n +1 are used as two slave topology nodes and are communicated with each other through a system internal bus to form a slave system, the slave master station 2 is used as a master station of a slave topology network (22), and the core slave station n +1 is used as a slave station of a core topology network (11);
each controlled device is provided with at least one core slave station and slave stations at the same time;
a heartbeat count is arranged between a core master station 1 in the core system and a core slave station n +1 in the slave system and is used for monitoring whether a communication line of a core topology network (11) is normal;
and a heartbeat count is set between the slave master station 2 in the slave system and the slave station 2n +2 in the core system to monitor whether the communication line of the slave topology network (22) is normal.
8. The system according to claim 7 is implemented,
the electrically erasable programmable memory of the switching unit stores the medium access control and other state parameters, and uses the two-wire serial bus to connect with the network exchange chip, so as to realize the information inquiry of the identity mark of the computer looking up device through the network interface of the switching unit.
9. The system according to claim 8, wherein,
the common knowledge is converted by adopting an asynchronous sorting technology, the asynchronous sorting technology is originally created, the common knowledge is converted into the common knowledge for processing large-scale concurrent requests of an asynchronous system and the sorting problem of data, the common knowledge is superior to the overall connectivity of a network, and the common knowledge can normally operate in the environment of a non-fully-connected network even in a system with the network connection ratio of less than 50%;
the multi-hidden layer network approaches any continuous function by using a hidden layer network, a deep layer network replaces a single hidden layer in the framework, and a normalization result can be converged more quickly in the fitting process;
a back propagation algorithm, a multi-layer partition, a fog algorithm, a mode of switching network topology structure between weak centralization and decentralized centralization, and a mode of combining a super node and a supervision node.
10. The system of claim 9,
the dial switch group of the control unit inputs a state setting control signal to the microprocessor, the microprocessor reads the network topology structure contained in the corresponding software version mode in the chip, loads the corresponding software version mode into the on-chip register unit, and operates the loaded network topology structure contained in the software version mode.
CN202011425505.4A 2020-12-08 2020-12-08 Block chain multi-chain layered collaborative technology system Withdrawn CN112866003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011425505.4A CN112866003A (en) 2020-12-08 2020-12-08 Block chain multi-chain layered collaborative technology system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011425505.4A CN112866003A (en) 2020-12-08 2020-12-08 Block chain multi-chain layered collaborative technology system

Publications (1)

Publication Number Publication Date
CN112866003A true CN112866003A (en) 2021-05-28

Family

ID=75996993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011425505.4A Withdrawn CN112866003A (en) 2020-12-08 2020-12-08 Block chain multi-chain layered collaborative technology system

Country Status (1)

Country Link
CN (1) CN112866003A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086320A (en) * 2022-06-13 2022-09-20 杭州复杂美科技有限公司 Layered block chain network, and consensus method, device and storage medium thereof
CN116432239A (en) * 2023-06-06 2023-07-14 杭州格物智安科技有限公司 Personal information service system based on block chain

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109242685A (en) * 2018-08-29 2019-01-18 众安信息技术服务有限公司 Common recognition and verification method and device based on block chain
CN110138596A (en) * 2019-04-13 2019-08-16 山东公链信息科技有限公司 A kind of block chain common recognition method based on handover network topology mode
CN110147994A (en) * 2019-04-13 2019-08-20 山东公链信息科技有限公司 A kind of instant execution method of the block chain based on homomorphic cryptography

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109242685A (en) * 2018-08-29 2019-01-18 众安信息技术服务有限公司 Common recognition and verification method and device based on block chain
CN110138596A (en) * 2019-04-13 2019-08-16 山东公链信息科技有限公司 A kind of block chain common recognition method based on handover network topology mode
CN110147994A (en) * 2019-04-13 2019-08-20 山东公链信息科技有限公司 A kind of instant execution method of the block chain based on homomorphic cryptography

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086320A (en) * 2022-06-13 2022-09-20 杭州复杂美科技有限公司 Layered block chain network, and consensus method, device and storage medium thereof
CN116432239A (en) * 2023-06-06 2023-07-14 杭州格物智安科技有限公司 Personal information service system based on block chain
CN116432239B (en) * 2023-06-06 2023-11-17 杭州格物智安科技有限公司 Personal information service system based on block chain

Similar Documents

Publication Publication Date Title
US10044552B2 (en) Distributed computation system incorporating agent network, paths and associated probes
CN110138596A (en) A kind of block chain common recognition method based on handover network topology mode
Bal et al. A medium-scale distributed system for computer science research: Infrastructure for the long term
Lu et al. Internet-based virtual computing environment: Beyond the data center as a computer
CN109542611A (en) Database, that is, service system, database dispatching method, equipment and storage medium
CN108170590A (en) A kind of test system and method for block catenary system
CN108196958A (en) Scheduling of resource distribution method, computer system and super fusion architecture system
CN109189751A (en) Method of data synchronization and terminal device based on block chain
CN107133083B (en) Virtual data center resource providing method based on virtualization technology
Ailijiang et al. Dissecting the performance of strongly-consistent replication protocols
CN108681569A (en) A kind of automatic data analysis system and its method
CN112866003A (en) Block chain multi-chain layered collaborative technology system
CN104981781B (en) Distributed computing system and the method for operating distributed computing system
CN113821332B (en) Method, device, equipment and medium for optimizing efficiency of automatic machine learning system
CN103473636A (en) System data components for collecting, analyzing and distributing internet business information
Liu et al. The service architecture of Internet of things terminal connection based on blockchain technology
CN103327116A (en) Dynamic copy storage method for network file
CN109088741A (en) A kind of block catenary system Formal Modeling and verification method
Chen et al. Using virtualization for blockchain testing
Iorio et al. Computing without borders: The way towards liquid computing
Tang et al. Latency-aware task scheduling in software-defined edge and cloud computing with erasure-coded storage systems
CN113873040B (en) Block chain-based power Internet of things cross-domain service function chain arrangement method
Yang et al. Generic-NFT: A generic non-fungible token architecture for flexible value transfer in web3
Costa et al. Large-scale volunteer computing over the Internet
Vicat-Blanc et al. Computing networks: from cluster to cloud computing

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210528

WW01 Invention patent application withdrawn after publication