CN111010394A - Block chain multi-chain management method and device - Google Patents

Block chain multi-chain management method and device Download PDF

Info

Publication number
CN111010394A
CN111010394A CN201911298998.7A CN201911298998A CN111010394A CN 111010394 A CN111010394 A CN 111010394A CN 201911298998 A CN201911298998 A CN 201911298998A CN 111010394 A CN111010394 A CN 111010394A
Authority
CN
China
Prior art keywords
chain
sub
node
block
blockchain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911298998.7A
Other languages
Chinese (zh)
Other versions
CN111010394B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911298998.7A priority Critical patent/CN111010394B/en
Publication of CN111010394A publication Critical patent/CN111010394A/en
Application granted granted Critical
Publication of CN111010394B publication Critical patent/CN111010394B/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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a block chain multi-chain management method and device. The block chain multi-chain management method is applied to a block chain multi-chain system, the block chain multi-chain system comprises a plurality of block chain nodes, a plurality of block chains are stored in each block chain node, the plurality of block chains comprise a main chain and at least one sub chain, and the block chain multi-chain management method comprises the following steps: when a second sub-chain in the plurality of block chains exits from the plurality of block chains, the main chain common node acquires an exit request sent by the second sub-chain common node, wherein the exit request comprises an identity of the second sub-chain; the main chain consensus node verifies the legality of the quit request; and if the quitting request is legal, the main chain common identification node runs a preset multi-chain intelligent contract to realize that the second sub-chain quits the plurality of block chains. The method and the device avoid the problem that the data of the existing block chain multi-chain management is easy to make mistakes, improve the overall performance of the block chain system, and provide a feasible scheme for future block chain multi-chain management.

Description

Block chain multi-chain management method and device
The application is a divisional application of Chinese patent application with the application number of 201910753300.X and the name of 'block chain multi-chain management method and device', which is submitted in 2019, 08, month and 15.
Technical Field
The invention relates to the technical field of computers, in particular to a block chain multi-chain management method and device.
Background
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, common identification mechanism, encryption algorithm, etc., the blockchain is an important concept of the bitcoin, and is essentially a de-mediated database, and simultaneously, as an underlying technology of the bitcoin, the blockchain is a string of data blocks which are generated by correlation through a cryptographic method, each data block contains information of one bitcoin network transaction for verifying the validity of the information and generating a next block, generally speaking, the blockchain multi-chain system is composed of a data layer, a network layer, a common identification layer, an excitation layer, a contract layer and an application layer, narrowly speaking, the blockchain is a chained data structure which is formed by combining the data blocks in a sequential connection mode according to a time sequence, and a distributed account book which is guaranteed in a cryptographic mode and cannot be tampered and forged, the blockchain technology is a brand new distributed infrastructure and computing mode that uses blockchain data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, uses cryptography to secure data transmission and access, and uses intelligent contracts composed of automated script codes to program and manipulate data.
In a blockchain ecosystem, an increasingly unavoidable problem is that there are more and more blockchain networks, and the existence of a multi-chain environment is mainly caused by several factors: 1. many nodes of blockchain can be limited to the participators of certain things or processes, for example, a supply chain, and the problem is that many organizations have a plurality of sub-chains in a sub-scene, and a large organization further has a plurality of sub-scenes, and as a result, a public can unknowingly generate a plurality of scattered blockchain networks which are difficult to uniformly manage; 2. because of the high second flow requirements on the blockchain itself, some blockchains employ data slicing to distribute daily transactions across multiple blockchains, again creating administrative difficulties.
At present, no real solution is available to effectively solve the problems in the multi-chain environment, and a user needs to separately manage different block chains in a plurality of block chain nodes by himself at present, so that the operation is complex, data is prone to error, and the system efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a block chain multi-chain management method and device, which expand the performance of block chain multi-chain management, enrich the diversity of block chain technologies in commercial application and provide a feasible scheme for future block chain multi-chain management.
In a first aspect, the present application provides a blockchain multi-chain management method applied to a blockchain multi-chain system, where the blockchain multi-chain system includes a plurality of blockchain nodes and a plurality of blockchains stored in the plurality of blockchain nodes, the plurality of blockchains includes a main chain and at least one sub-chain, the plurality of blockchain nodes includes a main chain common identification node and at least one sub-chain common identification node, and each sub-chain common identification node stores one sub-chain therein, the blockchain multi-chain management method includes:
when a second sub-chain in the plurality of block chains exits from the plurality of block chains, the main chain common node acquires an exit request sent by a second sub-chain common node, wherein the second sub-chain is one of the plurality of block chains, and the exit request comprises an identity of the second sub-chain;
the main chain consensus node verifies the legality of the quit request;
and if the quit request is legal, the main chain consensus node runs a preset multi-chain intelligent contract to realize that the second sub-chain quits the plurality of block chains.
In some embodiments of the present application, the verifying the validity of the logout request by the backbone consensus node includes:
according to the quit request, verifying the signature validity of the quit request;
detecting whether the identity of the second sub-chain meets a preset generation specification;
whether the registration information of the second sub-chain can be found in the main chain account book or not is judged through the identity of the second sub-chain;
if the status of the second sub-chain is found, detecting whether the status of the second sub-chain is in a to-be-activated or activated status;
and when the signature of the quit request is legal, the identity of the second sub-chain meets a preset generation specification, the main chain account book contains the registration information of the second sub-chain, and the state of the second sub-chain is in a to-be-activated or activated state, determining that the quit request is legal.
In some embodiments of the present application, if the quit request is legal, the running, by the main chain consensus node, the multi-chain intelligent contract to realize that the second sub-chain quits the block chains includes:
and if the quit request is legal, the main chain consensus node runs the multi-chain intelligent contract, marks the processing result of the quit request and sets the state of the second sub-chain as the state to be quitted.
In some embodiments of the present application, the block chain multi-chain management method further includes:
the main chain common identification node broadcasts the processing result of the quit request in the block chain multi-chain system, so that each common identification node in the block chain multi-chain system achieves common identification to the processing result of the quit request;
when the common identification nodes in the block chain multi-chain system achieve common identification on the processing result of the quit request, the processing result of the quit request is written into the main chain book, and the processing result of the quit request is returned to the second sub-chain common identification node.
In some embodiments of the present application, the block chain multi-chain management method further includes:
when the common identification nodes in the blockchain multi-chain system achieve common identification on the processing result of the quit request, the main chain common identification node sets a quit time window for the second sub-chain, so that each sub-chain having the mortgage interest in the main chain in the blockchain multi-chain system can take back the mortgage and the main chain can be complain to punish the second sub-chain.
In some embodiments of the present application, the method further comprises:
when a first sub-chain in a first sub-chain common node is registered and added into the plurality of block chains, a main chain common node acquires a registration request sent by the first sub-chain common node;
the main chain common knowledge node verifies the validity of the first sub-chain common knowledge node according to the registration request;
when the first sub-chain common identification node is verified to be legal, the main chain common identification node manages the first sub-chain common identification node through the multi-chain intelligent contract.
In some embodiments of the present application, the registration request includes creation block data in the first sub-chain, information of a common identification node in the first sub-chain common identification node, a rights and interests size of the first sub-chain to be collated, and an identity of the first sub-chain in the first sub-chain common identification node;
the main chain common knowledge node verifies the validity of the first sub-chain common knowledge node according to the registration request, and the method comprises the following steps:
verifying the validity of the identity of the first sub-chain according to the identity of the first sub-chain;
detecting validity of the chunk data in the first child chain;
detecting the legality of the consensus node information in the first sub-chain consensus node;
detecting the legality of the right and interest size of the first sub-chain to be mortgage;
and when the identity of the first sub-chain, the data of the created blocks in the first sub-chain, the information of the common identification node in the first sub-chain common identification node and the right and benefit size of the first sub-chain to be mortared are all legal, verifying that the first sub-chain common identification node is legal.
In some embodiments of the present application, the verifying the validity of the identity of the first sub-chain according to the identity of the first sub-chain includes:
detecting whether the identity of the first sub-chain meets a preset generation specification;
detecting whether the identity of the first sub-chain has been used by other sub-chains in the blockchain multi-chain system;
and if the identity of the first sub-chain meets a preset generation specification and is not used by other sub-chains in the block chain multi-chain system, determining that the identity of the first sub-chain is legal.
In some embodiments of the present application, the detecting the validity of the equity size of the first sub-chain to be mortgage includes:
determining whether the right to be mortgaged by the first sub-chain meets a minimum value required by the main chain;
and if the right of the first sub-chain to be mortared meets the lowest value required by the main chain, determining that the right of the first sub-chain to be mortared is legal.
In some embodiments of the present application, when verifying that the first child chain common knowledge node is legal, the managing, by the main chain common knowledge node, the first child chain common knowledge node according to a preset multi-chain intelligent contract includes:
when the first sub-chain consensus node is verified to be legal, the main chain consensus node acquires a preset multi-chain intelligent contract;
the main chain consensus node marks the verification result of the first sub-chain through the multi-chain intelligent contract and caches the verification result;
and the main chain consensus node marks the state of the first sub-chain as a state to be activated through the multi-chain intelligent contract and allocates a rights and interests pool for the first sub-chain.
In some embodiments of the present application, when verifying that the first child chain common knowledge node is legal, the main chain common knowledge node manages the first child chain common knowledge node through a preset multi-chain intelligent contract, further including:
when the first sub-chain common identification node is verified to be legal, the main chain common identification node broadcasts the verification result of the first sub-chain in the block chain multi-chain system;
after the common identification nodes in the block chain multi-chain system achieve common identification on the verification result of the first sub-chain, writing the cached verification result of the first sub-chain and the state of the first sub-chain into the main chain account book, and returning the verification result of the first sub-chain to the first sub-chain common identification node.
In some embodiments of the present application, the block chain multi-chain management method further includes:
the main chain common identification node receives a mortgage interest transaction request sent by the first sub-chain common identification node, wherein the request comprises the identity of the first sub-chain;
the main chain common identification node verifies the validity of the mortgage equity transaction according to the request;
and if the mortgage equity transaction is legal, the main chain consensus node operates the multi-chain intelligent contract to execute the mortgage equity transaction.
In some embodiments of the present application, the verifying validity of the mortgage equity transaction by the backbone consensus node according to the request includes:
detecting whether the identity of the first sub-chain meets a preset generation specification;
determining whether the registration information of the first sub-chain exists in the main chain account book or not through the identity of the first sub-chain;
detecting whether the first child chain consensus node has sufficient entitlement mortgage on the main chain;
and when the identity of the first sub-chain meets a preset generation specification, the main chain account book has the registration information of the first sub-chain, and the first sub-chain common identification node has enough interest mortgage on the main chain, determining that the mortgage interest transaction is legal.
In some embodiments of the present application, if the mortgage interest transaction is legal, the running of the multi-chain intelligent contract by the main chain consensus node to execute the mortgage interest transaction includes:
if the mortgage interest transaction is legal, the main chain common identification node deducts the interest to be mortgage from the interest balance of the first sub-chain common identification node on the main chain, and adds the interest to be mortgage into a target interest pool, wherein the target interest pool is the interest pool distributed by the multi-chain intelligent contract on the main chain of the first sub-chain;
checking whether the target interest pool reaches the size of the to-be-mortgage interest of the first sub-chain, if so, marking the state of the first sub-chain as an activated state, and storing a state activation result;
the main chain common identification node broadcasts the state activation result in the block chain multi-chain system, so that each common identification node in the block chain multi-chain system realizes common identification on the state activation result;
when all the common node in the block chain multi-chain system achieves common identification to the state activation result, the state activation result is written into the main chain book, and the state activation result is returned to the first sub-chain common node.
In some embodiments of the present application, the block chain multi-chain management method further includes:
the main chain common node acquires a declaration request sent by the third sub-chain common node, wherein the declaration request comprises non-compliance evidence of the second sub-chain in the blockchain multi-chain system;
the main chain consensus node verifies the validity of the declaration request;
if the claiming request is legal, the main chain consensus node runs the multi-chain intelligent contract and broadcasts the non-compliance evidence in the blockchain multi-chain system, so that each consensus node in the blockchain multi-chain system agrees with the non-compliance evidence;
and when each consensus node in the blockchain multi-chain system agrees with the non-compliance evidence, writing the non-compliance evidence into the main chain book.
In some embodiments of the present application, if each consensus node in the blockchain multi-chain system agrees that the non-compliance evidence is that the second sub-chain is non-compliant in the blockchain multi-chain system, the main chain consensus node penalizes the mortgage right benefit of the second sub-chain in the blockchain multi-chain system.
In some embodiments of the present application, the block chain multi-chain management method further includes:
when a new target block is generated in a fourth sub-chain in the plurality of block chains, the main chain common node receives the target block sent by a sub-chain common node corresponding to the fourth sub-chain;
the main chain consensus node verifies the validity of the target block;
and when the target block is verified to be legal, updating the target block to a fourth sub-chain corresponding to the main chain account book.
In some embodiments of the present application, the verifying the validity of the target block by the backbone consensus node includes:
verifying the signature validity of the target block;
acquiring the identity of the fourth sub-chain according to the target block;
verifying the validity of the identity of the fourth sub-chain;
detecting whether the fourth sub-chain has registration information in the main chain or not according to the identity of the fourth sub-chain;
if the registration information of the fourth sub-chain exists in the main chain, judging whether the state of the fourth sub-chain is in an activated state;
and when the signature of the target block is legal, the identity of the fourth sub-chain is legal, the fourth sub-chain has registration information in the main chain and the state of the fourth sub-chain is in an activated state, determining that the target block is legal.
In a second aspect, the present application provides a blockchain multi-chain management apparatus applied to a blockchain multi-chain system, where the blockchain multi-chain system includes a plurality of blockchain nodes and a plurality of blockchains stored in the plurality of blockchain nodes, the plurality of blockchains includes a main chain and at least one sub-chain, the plurality of blockchain nodes includes a main chain common identification node and at least one sub-chain common identification node, and each sub-chain common identification node stores one sub-chain therein, the blockchain multi-chain management apparatus includes:
an obtaining unit, configured to obtain, when a second sub-chain in the multiple block chains exits from the multiple block chains, an exit request sent by a second sub-chain consensus node, where the second sub-chain is one of the multiple block chains, and the exit request includes an identity of the second sub-chain;
the verifying unit is used for verifying the legality of the quit request;
and the management unit is used for running a preset multi-chain intelligent contract if the quit request is legal, so that the second sub-chain quits the plurality of block chains.
In some embodiments of the present application, the management unit is specifically configured to:
when a second sub-chain in the plurality of block chains exits from the plurality of block chains, the main chain common node acquires an exit request sent by the second sub-chain common node, wherein the exit request comprises an identity of the second sub-chain;
the main chain consensus node verifies the legality of the quit request;
and if the quit request is legal, the main chain consensus node operates the multi-chain intelligent contract to realize that the second sub-chain quits the plurality of block chains.
In some embodiments of the present application, the management unit is specifically configured to:
according to the quit request, verifying the signature validity of the quit request;
detecting whether the identity of the second sub-chain meets a preset generation specification;
whether the registration information of the second sub-chain can be found in the main chain account book or not is judged through the identity of the second sub-chain;
if the status of the second sub-chain is found, detecting whether the status of the second sub-chain is in a to-be-activated or activated status;
and when the signature of the quit request is legal, the identity of the second sub-chain meets a preset generation specification, the main chain account book contains the registration information of the second sub-chain, and the state of the second sub-chain is in a to-be-activated or activated state, determining that the quit request is legal.
In some embodiments of the present application, the management unit is specifically configured to:
and if the quit request is legal, the main chain consensus node runs the multi-chain intelligent contract, marks the processing result of the quit request and sets the state of the second sub-chain as the state to be quitted.
In some embodiments of the present application, the management unit is specifically configured to:
the main chain common identification node broadcasts the processing result of the quit request in the block chain multi-chain system, so that each common identification node in the block chain multi-chain system achieves common identification to the processing result of the quit request;
when the common identification nodes in the block chain multi-chain system achieve common identification on the processing result of the quit request, the processing result of the quit request is written into the main chain book, and the processing result of the quit request is returned to the second sub-chain common identification node.
In some embodiments of the present application, the management unit is specifically configured to:
when the common identification nodes in the blockchain multi-chain system achieve common identification on the processing result of the quit request, the main chain common identification node sets a quit time window for the second sub-chain, so that each sub-chain having the mortgage interest in the main chain in the blockchain multi-chain system can take back the mortgage and the main chain can be complain to punish the second sub-chain.
In some embodiments of the present application, the management unit is specifically further configured to:
an obtaining unit, configured to obtain, when a first sub-chain in a first sub-chain common node registers to join the multiple block chains, a registration request sent by the first sub-chain common node;
the verification unit is used for verifying the validity of the first sub-chain common identification node according to the registration request;
and the management unit is used for managing the first sub-chain common identification node through the multi-chain intelligent contract when the first sub-chain common identification node is verified to be legal.
In some embodiments of the present application, the registration request includes creation block data in the first sub-chain, information of a common identification node in the first sub-chain common identification node, a rights and interests size of the first sub-chain to be collated, and an identity of the first sub-chain in the first sub-chain common identification node;
the verification unit is specifically configured to:
verifying the validity of the identity of the first sub-chain according to the identity of the first sub-chain;
detecting validity of the chunk data in the first child chain;
detecting the legality of the consensus node information in the first sub-chain consensus node;
detecting the legality of the right and interest size of the first sub-chain to be mortgage;
and when the identity of the first sub-chain, the data of the created blocks in the first sub-chain, the information of the common identification node in the first sub-chain common identification node and the right and benefit size of the first sub-chain to be mortared are all legal, verifying that the first sub-chain common identification node is legal.
In some embodiments of the present application, the verification unit is specifically configured to:
detecting whether the identity of the first sub-chain meets a preset generation specification;
detecting whether the identity of the first sub-chain has been used by other sub-chains in the blockchain multi-chain system;
and if the identity of the first sub-chain meets a preset generation specification and is not used by other sub-chains in the block chain multi-chain system, determining that the identity of the first sub-chain is legal.
In some embodiments of the present application, the verification unit is specifically configured to:
determining whether the right to be mortgaged by the first sub-chain meets a minimum value required by the main chain;
and if the right of the first sub-chain to be mortared meets the lowest value required by the main chain, determining that the right of the first sub-chain to be mortared is legal.
In some embodiments of the present application, the management unit is specifically configured to:
when the first sub-chain consensus node is verified to be legal, the main chain consensus node acquires a preset multi-chain intelligent contract;
the main chain consensus node marks the verification result of the first sub-chain through the multi-chain intelligent contract and caches the verification result;
and the main chain consensus node marks the state of the first sub-chain as a state to be activated through the multi-chain intelligent contract and allocates a rights and interests pool for the first sub-chain.
In some embodiments of the present application, the management unit is further specifically configured to:
when the first sub-chain common identification node is verified to be legal, the main chain common identification node broadcasts the verification result of the first sub-chain in the block chain multi-chain system;
after the common identification nodes in the block chain multi-chain system achieve common identification on the verification result of the first sub-chain, writing the cached verification result of the first sub-chain and the state of the first sub-chain into the main chain account book, and returning the verification result of the first sub-chain to the first sub-chain common identification node.
In some embodiments of the present application, the management unit is further specifically configured to:
the main chain common identification node receives a mortgage interest transaction request sent by the first sub-chain common identification node, wherein the request comprises the identity of the first sub-chain;
the main chain common identification node verifies the validity of the mortgage equity transaction according to the request;
and if the mortgage equity transaction is legal, the main chain consensus node operates the multi-chain intelligent contract to execute the mortgage equity transaction.
In some embodiments of the present application, the management unit is specifically configured to:
detecting whether the identity of the first sub-chain meets a preset generation specification;
determining whether the registration information of the first sub-chain exists in the main chain account book or not through the identity of the first sub-chain;
detecting whether the first child chain consensus node has sufficient entitlement mortgage on the main chain;
and when the identity of the first sub-chain meets a preset generation specification, the main chain account book has the registration information of the first sub-chain, and the first sub-chain common identification node has enough interest mortgage on the main chain, determining that the mortgage interest transaction is legal.
In some embodiments of the present application, the management unit is specifically configured to:
if the mortgage interest transaction is legal, the main chain common identification node deducts the interest to be mortgage from the interest balance of the first sub-chain common identification node on the main chain, and adds the interest to be mortgage into a target interest pool, wherein the target interest pool is the interest pool distributed by the multi-chain intelligent contract on the main chain of the first sub-chain;
checking whether the target interest pool reaches the size of the to-be-mortgage interest of the first sub-chain, if so, marking the state of the first sub-chain as an activated state, and storing a state activation result;
the main chain common identification node broadcasts the state activation result in the block chain multi-chain system, so that each common identification node in the block chain multi-chain system realizes common identification on the state activation result;
when all the common node in the block chain multi-chain system achieves common identification to the state activation result, the state activation result is written into the main chain book, and the state activation result is returned to the first sub-chain common node.
In some embodiments of the present application, the management unit is specifically configured to:
the main chain common node acquires a declaration request sent by the third sub-chain common node, wherein the declaration request comprises non-compliance evidence of the second sub-chain in the blockchain multi-chain system;
the main chain consensus node verifies the validity of the declaration request;
if the claiming request is legal, the main chain consensus node runs the multi-chain intelligent contract and broadcasts the non-compliance evidence in the blockchain multi-chain system, so that each consensus node in the blockchain multi-chain system agrees with the non-compliance evidence;
when each consensus node in the blockchain multi-chain system agrees with the non-compliance evidence, writing the non-compliance evidence into the main chain book;
if the consensus nodes in the blockchain multi-chain system agree on the non-compliance evidence that the second sub-chain is non-compliant in the blockchain multi-chain system, the main chain consensus node penalizes the mortgage right benefit of the second sub-chain in the blockchain multi-chain system.
In some embodiments of the present application, the management unit is specifically configured to:
when a new target block is generated in a fourth sub-chain in the plurality of block chains, the main chain common node receives the target block sent by a sub-chain common node corresponding to the fourth sub-chain;
the main chain consensus node verifies the validity of the target block;
and when the target block is verified to be legal, updating the target block to a fourth sub-chain corresponding to the main chain account book.
In some embodiments of the present application, the management unit is specifically configured to:
verifying the signature validity of the target block;
acquiring the identity of the fourth sub-chain according to the target block;
verifying the validity of the identity of the fourth sub-chain;
detecting whether the fourth sub-chain has registration information in the main chain or not according to the identity of the fourth sub-chain;
if the registration information of the fourth sub-chain exists in the main chain, judging whether the state of the fourth sub-chain is in an activated state;
and when the signature of the target block is legal, the identity of the fourth sub-chain is legal, the fourth sub-chain has registration information in the main chain and the state of the fourth sub-chain is in an activated state, determining that the target block is legal.
In a third aspect, the present application provides a terminal device, comprising a processor and a memory, wherein the memory stores a computer program, and the computer program, when executed by the processor, causes the processor to perform the following steps:
when a first sub-chain in a first sub-chain common node is registered and added into the plurality of block chains, a main chain common node acquires a registration request sent by the first sub-chain common node;
the main chain common knowledge node verifies the validity of the first sub-chain common knowledge node according to the registration request;
when the first sub-chain common identification node is verified to be legal, the main chain common identification node manages the first sub-chain common identification node through a preset multi-chain intelligent contract.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program, which is loaded by a processor to perform the steps in the method for block chain multi-chain management according to any one of the first aspect.
When a second sub-chain in a plurality of block chains exits from the plurality of block chains in the blockchain multi-chain system, a main chain common node acquires an exit request sent by the second sub-chain common node, wherein the exit request comprises an identity of the second sub-chain; the main chain consensus node verifies the legality of the quit request; and if the quitting request is legal, the main chain common identification node runs a preset multi-chain intelligent contract to realize that the second sub-chain quits the plurality of block chains. The embodiment of the application provides a decentralized method for governing block chain multilink, a plurality of sub-chains can be registered and registered in a main chain and operated through a multilink intelligent contract, namely the plurality of sub-chains can be managed through a main chain common identification node.
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 view of a block chain multi-chain system according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an embodiment of a block chain multi-chain management method according to the present invention;
FIG. 3 is a flowchart illustrating an embodiment of step 202 in an embodiment of the present invention;
FIG. 4 is a flowchart illustrating an embodiment of step 203 in an embodiment of the present invention;
FIG. 5 is a flowchart illustrating another exemplary embodiment of a block chain multi-chain management method according to the present invention based on the exemplary embodiment in FIG. 2;
FIG. 6 is a flowchart illustrating another exemplary embodiment of a block chain multi-chain management method according to the present invention based on the exemplary embodiment in FIG. 2;
fig. 7 is a schematic structural diagram of an embodiment of a block chain multi-chain management apparatus according to the present invention;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the 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.
In the description that follows, specific embodiments of the present invention are described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the invention have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, but on the contrary, it is to be understood that various steps and operations described hereinafter may be implemented in hardware.
The term "module" or "unit" as used herein may be considered a software object executing on the computing system. The various components, modules, engines, and services described herein may be viewed as objects implemented on the computing system. The apparatus and method described herein are preferably implemented in software, but may also be implemented in hardware, and are within the scope of the present invention.
Some basic concepts involved in the embodiments of the present invention are first described below:
block chains: the blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, common identification mechanism, encryption algorithm, etc., the blockchain is an important concept of the bitcoin, and is essentially a de-mediated database, and simultaneously, as an underlying technology of the bitcoin, the blockchain is a string of data blocks which are generated by correlation through a cryptographic method, each data block contains information of one bitcoin network transaction for verifying the validity of the information and generating a next block, generally speaking, the blockchain multi-chain system is composed of a data layer, a network layer, a common identification layer, an excitation layer, a contract layer and an application layer, narrowly speaking, the blockchain is a chained data structure which is formed by combining the data blocks in a sequential connection mode according to a time sequence, and a distributed account book which is guaranteed in a cryptographic mode and cannot be tampered and forged, the blockchain technology is a brand new distributed infrastructure and computing mode that uses blockchain data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, uses cryptography to secure data transmission and access, and uses intelligent contracts composed of automated script codes to program and manipulate data.
Intelligent contract: is a set of conventions that are defined, propagated, verified, or enforced digitally, including agreements on which contract participants may enforce these conventions. Smart contracts allow trusted transactions to be conducted without third parties, which transactions are traceable and irreversible.
Block chain multi-chain: the block chain multi-chain, namely one block chain node, can operate a plurality of block chains, each block chain has independent account book data (block data), and transactions on different block chains are executed in parallel.
Creating a new appearance block: the first block data in the block chain account book is used as the first block of the block chain.
Referring to fig. 1, fig. 1 is a schematic view of a block chain multi-chain system according to an embodiment of the present invention, the block chain multi-chain system includes a plurality of block chain nodes and a plurality of block chains stored in the plurality of block chain nodes, and the plurality of block chains includes a main chain (main block chain) and at least one sub chain (sub block chain). The plurality of block chain nodes include a main chain common identification node 100 and at least one sub-chain common identification node 200, each sub-chain common identification node stores one sub-chain, the sub-chain is a block chain of a corresponding service in the sub-chain common identification node, and after the sub-chain is added to a block chain multi-chain system, each sub-chain establishes a channel interacting with other sub-chains.
The main chain common node 100 in the embodiment of the present invention is mainly configured to obtain a registration request sent by a first sub-chain common node when the first sub-chain in the first sub-chain common node registers and joins in the plurality of block chains; verifying the validity of the first sub-chain common identification node according to the registration request; and when the first sub-chain common identification node is verified to be legal, managing the first sub-chain common identification node through a preset multi-chain intelligent contract.
The multi-chain intelligent contract is deployed on a main chain of a multi-chain, the life cycle of each sub-chain is managed by the multi-chain intelligent contract, each sub-chain in the multi-chain is an independent block chain, and the multi-chain intelligent contract has a block chain common identification mechanism and account book data of the multi-chain intelligent contract and has a unique identity of the multi-chain intelligent contract.
In this embodiment of the present invention, the block link node may be a terminal device, such as a user terminal or a server, where the server may be an independent server, or may also be a server network or a server cluster composed of servers, for example, the server described in this embodiment of the present invention includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a cloud server composed of a plurality of servers. Among them, the Cloud server is constituted by a large number of computers or web servers based on Cloud Computing (Cloud Computing). In the embodiment of the present invention, the server and the User terminal may implement communication through any communication manner, including but not limited to mobile communication based on the third generation partnership Project (3 GPP), Long Term Evolution (LTE), Worldwide Interoperability for Microwave Access (WiMAX), or computer network communication based on the TCP/IP Protocol Suite (TCP/IP), User Datagram Protocol (UDP) Protocol, and the like.
It will be appreciated that the user terminal used in embodiments of the present invention includes both receiving and transmitting hardware devices, i.e. devices having receiving and transmitting hardware capable of performing bi-directional communications over a bi-directional communications link. Such a user terminal device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display. The specific user terminal may be a desktop terminal or a mobile terminal, and the user terminal may be one of a mobile phone, a tablet computer, a notebook computer, and the like.
Those skilled in the art will understand that the application environment shown in fig. 1 is only one application scenario related to the present invention, and does not constitute a limitation on the application scenario of the present invention, and that other application environments may further include more or less blockchain nodes than those shown in fig. 1, or a server network connection relationship, for example, only a part of blockchain nodes are shown in fig. 1, and it can be understood that the blockchain multi-chain system may further include more blockchain nodes, and is not limited herein.
It should be noted that the scenario diagram of the blockchain multi-chain system shown in fig. 1 is merely an example, and the blockchain multi-chain system and the scenario described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not form a limitation on the technical solution provided in the embodiment of the present invention.
The following is a detailed description of specific embodiments.
In the present embodiment, a description will be made from the perspective of a block chain multi-chain management apparatus, which may be specifically integrated in a terminal device.
As shown in fig. 2, which is a flowchart illustrating an embodiment of a blockchain multi-chain management method according to an embodiment of the present invention, an execution subject of the blockchain multi-chain management method is a blockchain multi-chain management device in a main chain common node, and the blockchain multi-chain management method includes:
201. when a first sub-chain in a first sub-chain common node registers and joins a plurality of block chains, a main chain common node acquires a registration request sent by the first sub-chain common node.
In this embodiment, when a new blockchain is to be added to a multi-chain as a sub-chain, the identity of the new blockchain, the creation block information of the blockbook, the consensus node information for the sub-chain consensus management, and the equity size of the scheduled mortgage need to be packaged into transaction data, and the transaction data is sent to the main chain for registration.
At this time, the first sub-chain is to be added to the multi-chain new block chain, and the registration request may include the creation block data in the first sub-chain, the information of the common node in the first sub-chain common node, the size of the right to be secured by the first sub-chain, and the identity of the first sub-chain in the first sub-chain common node (e.g., the identity ID of the first sub-chain).
202. And the main chain common knowledge node verifies the validity of the first sub-chain common knowledge node according to the registration request.
When the registration request includes the data of the created block in the first sub-chain, the information of the common identification node in the first sub-chain common identification node, the size of the right to be secured by the first sub-chain, and the identity of the first sub-chain in the first sub-chain common identification node, as shown in fig. 3, the verifying the validity of the first sub-chain common identification node by the main chain common identification node according to the registration request may include:
301. and verifying the legality of the identity of the first sub-chain according to the identity of the first sub-chain.
The verifying the validity of the identity of the first sub-chain according to the identity of the first sub-chain specifically may include:
(1) and detecting whether the identity of the first sub-chain meets a preset generation specification.
In the embodiment of the present invention, a specific generation specification, such as a numerical label, a letter, or a combination thereof, is preset for the identifier of the sub-chain of the blockchain in the blockchain multi-chain system.
(2) Detecting whether the identity of the first sub-chain has been used by other sub-chains in the blockchain multi-chain system.
When the identity of the first sub-chain is used by other sub-chains in the blockchain multi-chain system, that is, it indicates that there may be a conflict, the identity of the first sub-chain cannot be the same as the identities of other sub-chains in the blockchain multi-chain system.
(3) And if the identity of the first sub-chain meets a preset generation specification and is not used by other sub-chains in the block chain multi-chain system, determining that the identity of the first sub-chain is legal.
302. The validity of the chunk data in the first child chain is detected.
The first oldest constructed block in the first child chain, called the created block, has a unique id number. In the first sub-chain, except for the created block, each subsequently established block includes two ids, one is the block number of the block itself, and the other is the block number of the preamble block. All blocks are connected in sequence through the front-back direction relation among the block numbers to form a block chain.
303. And detecting the legality of the consensus node information in the first sub-chain consensus node.
Specifically, for example, the information of the common node in the first sub-chain common node is detected to determine whether the first sub-chain common node has a condition for joining the blockchain multilink, for example, the information of the common node in the first sub-chain common node is used to perform identity verification on the first sub-chain common node, and the verification is passed, that is, the information of the common node in the first sub-chain common node is legal.
304. And detecting the legality of the right and interest size of the first sub-chain to be mortgage.
Specifically, the detecting the validity of the amount of the right and interest to be mortgage on the first sub-chain may include: determining whether the right of a first sub-chain to be mortgage meets the lowest value required by the main chain; and if the right of the first sub-chain to be mortared meets the minimum value required by the main chain, determining that the right of the first sub-chain to be mortared is legal.
The rights and interests in the present invention may refer to virtual articles in the blockchain system, such as gifts, virtual money, etc., and the rights and interests size refers to the number or value of the virtual articles.
305. And when the identity of the first sub-chain, the data in the first sub-chain, the information of the common identification node in the first sub-chain common identification node and the right and benefit size of the first sub-chain to be mortgage are all legal, verifying that the first sub-chain common identification node is legal.
Specifically, when one of the identity of the first sub-chain, the data of the created blocks in the first sub-chain, the information of the common identification node in the first sub-chain common identification node and the right and benefit size of the first sub-chain to be mortared is illegal, the first sub-chain common identification node is verified to be illegal.
203. When the first sub-chain common identification node is verified to be legal, the main chain common identification node manages the first sub-chain common identification node through a preset multi-chain intelligent contract.
As shown in fig. 4, when the first child chain common identity node is verified to be legal, the main chain common identity node manages the first child chain common identity node through a preset multi-chain intelligent contract, which may specifically include:
401. when the first sub-chain consensus node is verified to be legal, the main chain consensus node acquires a preset multi-chain intelligent contract;
402. the main chain consensus node marks the verification result of the first sub-chain through a multi-chain intelligent contract and caches the verification result;
403. and the main chain consensus node marks the state of the first sub-chain as a state to be activated through the multi-chain intelligent contract and allocates an equity pool for the first sub-chain.
In some embodiments of the present invention, when verifying that the first child chain common knowledge node is legal, the main chain common knowledge node manages the first child chain common knowledge node through a preset multi-chain intelligent contract, and the method may further include: when the first sub-chain common identification node is verified to be legal, the main chain common identification node broadcasts the verification result of the first sub-chain in the block chain multi-chain system; after the common identification nodes in the block chain multi-chain system achieve common identification on the verification result of the first sub-chain, writing the cached verification result of the first sub-chain and the state of the first sub-chain into the main chain account book, and returning the verification result of the first sub-chain to the first sub-chain common identification node.
In an embodiment of the present invention, each common node in the blockchain multi-chain system agrees with a certain target result (e.g., a verification result of the first sub-chain or a status activation result, a processing result in a subsequent embodiment) or target data (e.g., non-compliance evidence in a subsequent embodiment), which may be broadcast by the main chain common node in the blockchain multi-chain system, so that each common node (which may be each sub-chain common node) in the blockchain multi-chain system receives the target result and the target data and performs verification, and feeds back a verification result, the main chain common node may agree with a majority rule according to a minority of the blockchain technology, in one embodiment, taking 50 sub-chain common nodes in the blockchain multi-chain system as an example, and when the main chain common node broadcasts a data in the blockchain, the 50 sub-chain common nodes receive the a data, and verifying, and feeding back the verification result of the data A after verification, such as legal or illegal, wherein if the verification result of the data A fed back by 45 sub-chain common identification nodes is legal and the verification result of the data A fed back by the other 5 sub-chain common identification nodes is illegal, each common identification node in the block chain multi-chain system achieves common identification on the legal data A according to the principle that a small number of common identification nodes in the block chain technology obey majority.
The embodiment of the invention provides a block chain multi-chain management method and a block chain multi-chain management device in a block chain multi-chain system, when a first sub-chain in a first sub-chain common node is registered and added into a plurality of block chains in the block chain multi-chain system, a main chain common node acquires a registration request sent by the first sub-chain common node; the main chain common knowledge node verifies the validity of the first sub-chain common knowledge node according to the registration request; and when the first sub-chain common identification node is verified to be legal, the main chain common identification node manages the first sub-chain common identification node through a preset multi-chain intelligent contract. The embodiment of the invention provides a decentralized method for managing block chain multilink, a plurality of sub-chains can be registered and registered in a main chain and operated through a multilink intelligent contract, namely, the plurality of sub-chains can be managed through a main chain common identification node.
As shown in fig. 5, in some embodiments of the present invention, after the first sub-chain successfully registers in the blockchain multi-chain application, the first sub-chain common node is required to mortgage the committed equity to the main chain for activating the first sub-chain in the blockchain multi-chain system, where the method for managing the blockchain multi-chain may further include:
501. and the main chain common identification node receives a mortgage interest transaction request sent by the first sub-chain common identification node.
Wherein the request for the mortgage equity transaction includes an identification of the first child chain.
502. And the main chain common identification node verifies the validity of the mortgage equity transaction according to the request.
Specifically, the verifying the validity of the mortgage equity transaction by the main chain consensus node according to the request may include: detecting whether the identity of the first sub-chain meets a preset generation specification; determining whether the registration information of the first sub-chain exists in the main chain account book or not through the identity of the first sub-chain; detecting whether the first child chain consensus node has sufficient entitlement mortgage on the main chain; when the identity of the first sub-chain meets a preset generation specification, the main chain account book contains the registration information of the first sub-chain, and the first sub-chain common identification node has enough equity mortgage on the main chain, determining that the mortgage equity transaction is legal, otherwise, determining that the mortgage equity transaction is illegal.
503. If the mortgage equity transaction is legal, the main chain common identification node runs a multi-chain intelligent contract to execute the mortgage equity transaction.
In some embodiments of the present invention, if the mortgage interest transaction is legal, the running, by the main chain consensus node, of the multi-chain intelligent contract to execute the mortgage interest transaction may include:
(1) if the mortgage interest transaction is legal, the main chain common identification node deducts the interest to be mortgage from the interest balance of the first sub-chain common identification node on the main chain, and adds the interest to be mortgage into a target interest pool, wherein the target interest pool is an interest pool distributed by a multi-chain contract on the main chain of the first sub-chain;
(2) and the main chain common identification node checks whether the target interest pool reaches the size of the to-be-mortgage interest of the first sub-chain, if so, the state of the first sub-chain is marked as an activated state, and the state activation result is stored.
(3) The main chain common node broadcasts the state activation result in the block chain multi-chain system, so that each common node in the block chain multi-chain system achieves common recognition to the state activation result.
(4) And when all the common node in the block chain multi-chain system achieves common identification to the state activation result, writing the state activation result into the main chain account book, and returning the state activation result to the first sub-chain common node.
In this embodiment of the present invention, when a sub-chain in a blockchain multi-chain system wants to quit multiple blockchains, a quit application needs to be submitted to a main chain, specifically, as shown in fig. 6, the blockchain multi-chain management method may further include:
601. and when a second sub-chain in the plurality of block chains exits from the plurality of block chains, the main chain common node acquires an exit request sent by the second sub-chain common node.
The second sub-chain is one of a plurality of block chains, and the exit request includes an identity of the second sub-chain.
602. And the main chain consensus node verifies the legality of the quit request.
The main chain consensus node verifies the legality of the quit request, and the specific process is as follows:
(1) and verifying the signature validity of the quit request according to the quit request.
(2) And detecting whether the identity of the second sub-chain meets a preset generation specification.
(3) Whether the registration information of the second sub-chain can be found in the main chain account book or not is identified through the identity of the second sub-chain.
(4) If the state of the second sub-chain is found, detecting whether the state of the second sub-chain is in a to-be-activated state or an activated state;
(5) when the signature of the quit request is legal, the identity of the second sub-chain meets a preset generation specification, the main chain account book contains the registration information of the second sub-chain, and the state of the second sub-chain is in a to-be-activated or activated state, the quit request is determined to be legal, otherwise, the quit request is determined to be illegal.
603. And if the quitting request is legal, the main chain common identification node runs a multi-chain intelligent contract to realize that the second sub-chain quits the plurality of block chains.
Specifically, if the quit request is legal, the main chain consensus node runs the multi-chain intelligent contract to realize that the second sub-chain quits the block chains, which specifically includes: and if the quit request is legal, the main chain consensus node runs the multi-chain intelligent contract, marks the processing result of the quit request and sets the state of the second sub-chain as the state to be quitted.
In some embodiments of the present invention, the block chain multi-chain management method may further include: the main chain common identification node broadcasts the processing result of the quit request in the block chain multi-chain system, so that each common identification node in the block chain multi-chain system realizes common identification on the processing result of the quit request; when the common identification nodes in the block chain multi-chain system achieve common identification on the processing result of the quit request, the processing result of the quit request is written into the main chain book, and the processing result of the quit request is returned to the second sub-chain common identification node.
In addition, after the common identification nodes in the blockchain multi-chain system achieve common identification on the processing result of the quit request, the main chain common identification node can also set up an quit time window for the second sub-chain, so that each sub-chain node in the blockchain multi-chain system having the benefit of the main chain can retrieve the mortgage and the main chain can complain the punishment on the second sub-chain. The punishing of the second sub-chain may mean not receiving some or all of the benefits of the second sub-chain mortgage in the blockchain system.
Therefore, the rights and interests of the sub-chains in the block chain multi-chain system are managed through the multi-chain intelligent contract, when the sub-chains are malignant, a punishment mechanism in the multi-chain intelligent contract can be operated to avoid the rights and interests of the sub-chains, and the safety and the fairness of the multi-chain are improved.
In some embodiments of the present invention, before a child chain in the blockchain multi-chain system exits, other child chain nodes in the blockchain multi-chain system may issue a complaint to inform the child chain of malicious behavior, which includes the following specific procedures:
(1) a main chain common node acquires a declaration request sent by the third sub-chain common node, wherein the declaration request comprises non-compliance evidence of the second sub-chain in the blockchain multi-chain system;
(2) the main chain common identification node verifies the validity of the declaration request;
(3) if the claiming request is legal, the main chain consensus node runs the multi-chain intelligent contract and broadcasts the non-compliance evidence in the blockchain multi-chain system, so that each consensus node in the blockchain multi-chain system agrees with the non-compliance evidence;
(4) when all consensus nodes in the block chain multi-chain system agree on the non-compliance evidence, writing the non-compliance evidence into the main chain account book;
(5) and if the consensus nodes in the blockchain multi-chain system agree on the non-compliance evidence that the second sub-chain is not compliant in the blockchain multi-chain system, the main chain consensus node penalizes the mortgage right of the second sub-chain in the blockchain multi-chain system.
When a sub-chain in a block chain multi-chain system runs, new blocks can be continuously generated, at the moment, a main chain needs to synchronize the account book state of the sub-chain block chain, and the specific flow is as follows:
(1) when a new target block is generated in a fourth sub-chain in the plurality of block chains, the main chain common node receives the target block sent by a sub-chain common node corresponding to the fourth sub-chain;
(2) and the main chain consensus node verifies the validity of the target block.
The verifying the validity of the target block by the main chain consensus node may include: verifying the signature validity of the target block; acquiring the identity of the fourth sub-chain according to the target block; verifying the validity of the identity of the fourth sub-chain; detecting whether the fourth sub-chain has registration information in the main chain or not according to the identity of the fourth sub-chain; if the registration information of the fourth sub-chain exists in the main chain, judging whether the state of the fourth sub-chain is in an activated state; when the signature of the target block is legal, the identity of the fourth sub-chain is legal, the fourth sub-chain has registration information in the main chain and the state of the fourth sub-chain is in an activated state, determining that the target block is legal, otherwise, determining that the target block is illegal.
(3) And when the target block is verified to be legal, updating the target block to a fourth sub-chain corresponding to the main chain account book.
In order to better implement the block chain multi-chain management method in the embodiment of the present invention, on the basis of the block chain multi-chain management method, an embodiment of the present invention further provides a block chain multi-chain management device, where the block chain multi-chain management device is applied to a terminal device, as shown in fig. 7, the block chain multi-chain management device 700 includes:
an obtaining unit 701, configured to obtain, when a first sub-chain in a first sub-chain common node registers to join the multiple block chains, a registration request sent by the first sub-chain common node;
a verifying unit 702, configured to verify validity of the first child chain common node according to the registration request;
the management unit 703 is configured to manage the first sub-chain common node through a preset multi-chain intelligent contract when the first sub-chain common node is verified to be legal.
In some embodiments of the present application, the registration request includes creation block data in the first sub-chain, information of a common identification node in the first sub-chain common identification node, a rights and interests size of the first sub-chain to be collated, and an identity of the first sub-chain in the first sub-chain common identification node;
the verification unit 702 is specifically configured to:
verifying the validity of the identity of the first sub-chain according to the identity of the first sub-chain;
detecting validity of the chunk data in the first child chain;
detecting the legality of the consensus node information in the first sub-chain consensus node;
detecting the legality of the right and interest size of the first sub-chain to be mortgage;
and when the identity of the first sub-chain, the data of the created blocks in the first sub-chain, the information of the common identification node in the first sub-chain common identification node and the right and benefit size of the first sub-chain to be mortared are all legal, verifying that the first sub-chain common identification node is legal.
In some embodiments of the present application, the verification unit 702 is specifically configured to:
detecting whether the identity of the first sub-chain meets a preset generation specification;
detecting whether the identity of the first sub-chain has been used by other sub-chains in the blockchain multi-chain system;
and if the identity of the first sub-chain meets a preset generation specification and is not used by other sub-chains in the block chain multi-chain system, determining that the identity of the first sub-chain is legal.
In some embodiments of the present application, the verification unit 702 is specifically configured to:
determining whether the right to be mortgaged by the first sub-chain meets a minimum value required by the main chain;
and if the right of the first sub-chain to be mortared meets the lowest value required by the main chain, determining that the right of the first sub-chain to be mortared is legal.
In some embodiments of the present application, the management unit 703 is specifically configured to:
when the first sub-chain consensus node is verified to be legal, the main chain consensus node acquires a preset multi-chain intelligent contract;
the main chain consensus node marks the verification result of the first sub-chain through the multi-chain intelligent contract and caches the verification result;
and the main chain consensus node marks the state of the first sub-chain as a state to be activated through the multi-chain intelligent contract and allocates a rights and interests pool for the first sub-chain.
In some embodiments of the present application, the management unit 703 is further specifically configured to:
when the first sub-chain common identification node is verified to be legal, the main chain common identification node broadcasts the verification result of the first sub-chain in the block chain multi-chain system;
after the common identification nodes in the block chain multi-chain system achieve common identification on the verification result of the first sub-chain, writing the cached verification result of the first sub-chain and the state of the first sub-chain into the main chain account book, and returning the verification result of the first sub-chain to the first sub-chain common identification node.
In some embodiments of the present application, the management unit 703 is further specifically configured to:
the main chain common identification node receives a mortgage interest transaction request sent by the first sub-chain common identification node, wherein the request comprises the identity of the first sub-chain;
the main chain common identification node verifies the validity of the mortgage equity transaction according to the request;
and if the mortgage equity transaction is legal, the main chain consensus node operates the multi-chain intelligent contract to execute the mortgage equity transaction.
In some embodiments of the present application, the management unit 703 is specifically configured to:
detecting whether the identity of the first sub-chain meets a preset generation specification;
determining whether the registration information of the first sub-chain exists in the main chain account book or not through the identity of the first sub-chain;
detecting whether the first child chain consensus node has sufficient entitlement mortgage on the main chain;
and when the identity of the first sub-chain meets a preset generation specification, the main chain account book has the registration information of the first sub-chain, and the first sub-chain common identification node has enough interest mortgage on the main chain, determining that the mortgage interest transaction is legal.
In some embodiments of the present application, the management unit 703 is specifically configured to:
if the mortgage interest transaction is legal, the main chain common identification node deducts the interest to be mortgage from the interest balance of the first sub-chain common identification node on the main chain, and adds the interest to be mortgage into a target interest pool, wherein the target interest pool is the interest pool distributed by the multi-chain intelligent contract on the main chain of the first sub-chain;
checking whether the target interest pool reaches the size of the to-be-mortgage interest of the first sub-chain, if so, marking the state of the first sub-chain as an activated state, and storing a state activation result;
the main chain common identification node broadcasts the state activation result in the block chain multi-chain system, so that each common identification node in the block chain multi-chain system realizes common identification on the state activation result;
when all the common node in the block chain multi-chain system achieves common identification to the state activation result, the state activation result is written into the main chain book, and the state activation result is returned to the first sub-chain common node.
In some embodiments of the present application, the management unit 703 is specifically configured to:
when a second sub-chain in the plurality of block chains exits from the plurality of block chains, the main chain common node acquires an exit request sent by the second sub-chain common node, wherein the exit request comprises an identity of the second sub-chain;
the main chain consensus node verifies the legality of the quit request;
and if the quit request is legal, the main chain consensus node operates the multi-chain intelligent contract to realize that the second sub-chain quits the plurality of block chains.
In some embodiments of the present application, the management unit 703 is specifically configured to:
according to the quit request, verifying the signature validity of the quit request;
detecting whether the identity of the second sub-chain meets a preset generation specification;
whether the registration information of the second sub-chain can be found in the main chain book or not is judged through the identity of the second sub-chain;
if the status of the second sub-chain is found, detecting whether the status of the second sub-chain is in a to-be-activated or activated status;
and when the signature of the quit request is legal, the identity of the second sub-chain meets a preset generation specification, the main chain account book contains the registration information of the second sub-chain, and the state of the second sub-chain is in a to-be-activated or activated state, determining that the quit request is legal.
In some embodiments of the present application, the management unit 703 is specifically configured to:
and if the quit request is legal, the main chain consensus node runs the multi-chain intelligent contract, marks the processing result of the quit request and sets the state of the second sub-chain as the state to be quitted.
In some embodiments of the present application, the management unit is specifically configured to:
the main chain common identification node broadcasts the processing result of the quit request in the block chain multi-chain system, so that each common identification node in the block chain multi-chain system achieves common identification to the processing result of the quit request;
when the common identification nodes in the block chain multi-chain system achieve common identification on the processing result of the quit request, the processing result of the quit request is written into the main chain book, and the processing result of the quit request is returned to the second sub-chain common identification node.
In some embodiments of the present application, the management unit 703 is specifically configured to:
when the main chain common identification node achieves common identification on the processing result of the quit request, the main chain common identification node sets up a quit time window for the second sub-chain, so that each sub-chain node having the mortgage right in the main chain in the block chain multi-chain system can take back the mortgage, and the main chain is complained to punish the second sub-chain.
In some embodiments of the present application, the management unit 703 is specifically configured to:
the main chain common node acquires a declaration request sent by the third sub-chain common node, wherein the declaration request comprises non-compliance evidence of the second sub-chain in the blockchain multi-chain system;
the main chain consensus node verifies the validity of the declaration request;
if the claiming request is legal, the main chain consensus node runs the multi-chain intelligent contract and broadcasts the non-compliance evidence in the blockchain multi-chain system, so that each consensus node in the blockchain multi-chain system agrees with the non-compliance evidence;
when each consensus node in the blockchain multi-chain system agrees with the non-compliance evidence, writing the non-compliance evidence into the main chain book;
if the consensus nodes in the blockchain multi-chain system agree on the non-compliance evidence that the second sub-chain is non-compliant in the blockchain multi-chain system, the main chain consensus node penalizes the mortgage right benefit of the second sub-chain in the blockchain multi-chain system.
In some embodiments of the present application, the management unit 703 is specifically configured to:
when a new target block is generated in a fourth sub-chain in the plurality of block chains, the main chain common node receives the target block sent by a sub-chain common node corresponding to the fourth sub-chain;
the main chain consensus node verifies the validity of the target block;
and when the target block is verified to be legal, updating the target block to a fourth sub-chain corresponding to the main chain account book.
In some embodiments of the present application, the management unit 703 is specifically configured to:
verifying the signature validity of the target block;
acquiring the identity of the fourth sub-chain according to the target block;
verifying the validity of the identity of the fourth sub-chain;
detecting whether the fourth sub-chain has registration information in the main chain or not according to the identity of the fourth sub-chain;
if the registration information of the fourth sub-chain exists in the main chain, judging whether the state of the fourth sub-chain is in an activated state;
and when the signature of the target block is legal, the identity of the fourth sub-chain is legal, the fourth sub-chain has registration information in the main chain and the state of the fourth sub-chain is in an activated state, determining that the target block is legal.
In the embodiment of the present invention, a method and an apparatus for managing a blockchain multi-chain are provided in a blockchain multi-chain system, where when a first sub-chain in a first sub-chain common node registers to join a plurality of blockchains in the blockchain multi-chain system, an obtaining unit 701 obtains a registration request sent by the first sub-chain common node; the verification unit 702 verifies the validity of the first sub-chain common identification node according to the registration request; when the management unit 703 verifies that the first sub-chain common node is legal, the management unit 703 manages the first sub-chain common node through a preset multi-chain intelligent contract. The embodiment of the application provides a decentralized method for governing block chain multilink, a plurality of sub-chains can be registered and registered in a main chain and operated through a multilink intelligent contract, namely the plurality of sub-chains can be managed through a main chain common identification node.
An embodiment of the present invention further provides a terminal device, including a processor and a memory, where the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps:
when a first sub-chain in a first sub-chain common node is registered and added into the plurality of block chains, a main chain common node acquires a registration request sent by the first sub-chain common node;
the main chain common knowledge node verifies the validity of the first sub-chain common knowledge node according to the registration request;
when the first sub-chain common identification node is verified to be legal, the main chain common identification node manages the first sub-chain common identification node through a preset multi-chain intelligent contract.
As shown in fig. 8, it shows a schematic structural diagram of a terminal device according to an embodiment of the present invention, specifically:
the terminal device may include components such as a processor 801 of one or more processing cores, memory 802 of one or more computer-readable storage media, a power supply 803, and an input unit 804. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 8 does not constitute a limitation of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 801 is a control center of the terminal device, connects various parts of the entire terminal device by various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 802 and calling data stored in the memory 802, thereby performing overall monitoring of the terminal device. Alternatively, processor 801 may include one or more processing cores; preferably, the processor 801 may integrate an application processor, which mainly handles operations of storage media, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 801.
The memory 802 may be used to store software programs and modules, and the processor 801 executes various functional applications and data processing by operating the software programs and modules stored in the memory 802. The memory 802 may mainly include a storage program area and a storage data area, wherein the storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for operating a storage medium, at least one function, and the like; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 802 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 802 may also include a memory controller to provide the processor 801 access to the memory 802.
The terminal device further comprises a power supply 803 for supplying power to each component, and preferably, the power supply 803 can be logically connected with the processor 801 through a power management storage medium, so that functions of managing charging, discharging, power consumption management and the like can be realized through the power management storage medium. The power supply 803 may also include any component of one or more dc or ac power sources, rechargeable storage media, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The terminal device may further include an input unit 804, and the input unit 804 may be used to receive input numeric or character information and generate a keyboard, mouse, joystick, optical or trackball signal input in relation to user setting and function control.
Although not shown, the terminal device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 801 in the terminal device loads an executable file corresponding to a process of one or more application programs into the memory 802 according to the following instructions, and the processor 801 runs the application programs stored in the memory 802, thereby implementing various functions as follows:
when a first sub-chain in a first sub-chain common identification node is registered and added into the plurality of block chains, acquiring a registration request sent by the first sub-chain common identification node; verifying the validity of the first sub-chain common identification node according to the registration request; and when the first sub-chain common identification node is verified to be legal, managing the first sub-chain common identification node through a preset multi-chain intelligent contract.
To this end, the embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is loaded by a processor to execute the steps in any block chain multi-chain management method provided by the embodiment of the present invention. For example, the instructions may perform the steps of:
when a first sub-chain in a first sub-chain common identification node is registered and added into the plurality of block chains, acquiring a registration request sent by the first sub-chain common identification node; verifying the validity of the first sub-chain common identification node according to the registration request; and when the first sub-chain common identification node is verified to be legal, managing the first sub-chain common identification node through a preset multi-chain intelligent contract.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in any block chain multi-chain management method provided in the embodiment of the present invention, beneficial effects that can be achieved by any block chain multi-chain management method provided in the embodiment of the present invention may be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The block chain multi-chain management method and apparatus provided by the embodiment of the present invention are described in detail above, and a specific example is applied in the description to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A blockchain multi-chain management method is applied to a blockchain multi-chain system, the blockchain multi-chain system comprises a plurality of blockchain nodes and a plurality of blockchains stored in the plurality of blockchain nodes, the plurality of blockchain nodes comprise a main chain and at least one sub-chain, the plurality of blockchain nodes comprise a main chain common identification node and at least one sub-chain common identification node, and one sub-chain is stored in each sub-chain common identification node, and the blockchain multi-chain management method comprises the following steps:
when a second sub-chain in the plurality of block chains exits from the plurality of block chains, the main chain common node acquires an exit request sent by a second sub-chain common node, wherein the second sub-chain is one of the plurality of block chains, and the exit request comprises an identity of the second sub-chain;
the main chain consensus node verifies the legality of the quit request;
and if the quit request is legal, the main chain consensus node runs a preset multi-chain intelligent contract to realize that the second sub-chain quits the plurality of block chains.
2. The blockchain multi-chain management method according to claim 1, wherein the verifying the validity of the exit request by the main chain consensus node comprises:
according to the quit request, verifying the signature validity of the quit request;
detecting whether the identity of the second sub-chain meets a preset generation specification;
whether the registration information of the second sub-chain can be found in the main chain account book or not is judged through the identity of the second sub-chain;
if the status of the second sub-chain is found, detecting whether the status of the second sub-chain is in a to-be-activated or activated status;
and when the signature of the quit request is legal, the identity of the second sub-chain meets a preset generation specification, the main chain account book contains the registration information of the second sub-chain, and the state of the second sub-chain is in a to-be-activated or activated state, determining that the quit request is legal.
3. A blockchain multi-chain management method according to claim 1, wherein if the exit request is legal, the main chain consensus node executes the multi-chain smart contract to enable the second sub-chain to exit the plurality of blockchains, including:
and if the quit request is legal, the main chain consensus node runs the multi-chain intelligent contract, marks the processing result of the quit request and sets the state of the second sub-chain as the state to be quitted.
4. The blockchain multi-chain management method of claim 1, wherein the blockchain multi-chain management method further comprises:
the main chain common identification node broadcasts the processing result of the quit request in the block chain multi-chain system, so that each common identification node in the block chain multi-chain system achieves common identification to the processing result of the quit request;
when the common identification nodes in the block chain multi-chain system achieve common identification on the processing result of the quit request, the processing result of the quit request is written into the main chain book, and the processing result of the quit request is returned to the second sub-chain common identification node.
5. The blockchain multi-chain management method of claim 4, wherein the blockchain multi-chain management method further comprises:
when the common identification nodes in the blockchain multi-chain system achieve common identification on the processing result of the quit request, the main chain common identification node sets a quit time window for the second sub-chain, so that each sub-chain having the mortgage interest in the main chain in the blockchain multi-chain system can take back the mortgage and the main chain can be complain to punish the second sub-chain.
6. The blockchain multi-chain management method of claim 1, wherein the blockchain multi-chain management method further comprises:
the main chain common node acquires a declaration request sent by a third sub-chain common node, wherein the declaration request comprises non-compliance evidence of the second sub-chain in the block chain multi-chain system;
the main chain consensus node verifies the validity of the declaration request;
if the claiming request is legal, the main chain consensus node runs the multi-chain intelligent contract and broadcasts the non-compliance evidence in the blockchain multi-chain system, so that each consensus node in the blockchain multi-chain system agrees with the non-compliance evidence;
and when each consensus node in the blockchain multi-chain system agrees with the non-compliance evidence, writing the non-compliance evidence into the main chain book.
7. The blockchain multi-chain management method of claim 6, wherein the blockchain multi-chain management method further comprises:
if the consensus nodes in the blockchain multi-chain system agree on the non-compliance evidence that the second sub-chain is non-compliant in the blockchain multi-chain system, the main chain consensus node penalizes the mortgage right benefit of the second sub-chain in the blockchain multi-chain system.
8. The blockchain multi-chain management method of claim 1, wherein the blockchain multi-chain management method further comprises:
when a new target block is generated in a fourth sub-chain in the plurality of block chains, the main chain common node receives the target block sent by a sub-chain common node corresponding to the fourth sub-chain;
the main chain consensus node verifies the validity of the target block;
and when the target block is verified to be legal, updating the target block to a fourth sub-chain corresponding to the main chain account book.
9. The blockchain multi-chain management method of claim 7, wherein the verifying the validity of the target block by the backbone consensus node comprises:
verifying the signature validity of the target block;
acquiring the identity of the fourth sub-chain according to the target block;
verifying the validity of the identity of the fourth sub-chain;
detecting whether the fourth sub-chain has registration information in the main chain or not according to the identity of the fourth sub-chain;
if the registration information of the fourth sub-chain exists in the main chain, judging whether the state of the fourth sub-chain is in an activated state;
and when the signature of the target block is legal, the identity of the fourth sub-chain is legal, the fourth sub-chain has registration information in the main chain and the state of the fourth sub-chain is in an activated state, determining that the target block is legal.
10. A blockchain multi-chain management apparatus applied to a blockchain multi-chain system, the blockchain multi-chain system including a plurality of blockchain nodes and a plurality of blockchains stored in the plurality of blockchain nodes, the plurality of blockchain nodes including a main chain and at least one sub-chain, the plurality of blockchain nodes including a main chain common identification node and at least one sub-chain common identification node, one sub-chain stored in each sub-chain common identification node, the blockchain multi-chain management apparatus comprising:
an obtaining unit, configured to obtain, when a second sub-chain in the multiple block chains exits from the multiple block chains, an exit request sent by a second sub-chain consensus node, where the second sub-chain is one of the multiple block chains, and the exit request includes an identity of the second sub-chain;
the verifying unit is used for verifying the legality of the quit request;
and the management unit is used for running a preset multi-chain intelligent contract if the quit request is legal, so that the second sub-chain quits the plurality of block chains.
CN201911298998.7A 2019-08-15 2019-08-15 Block chain multi-chain management method and device Active CN111010394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911298998.7A CN111010394B (en) 2019-08-15 2019-08-15 Block chain multi-chain management method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910753300.XA CN110505223B (en) 2019-08-15 2019-08-15 Block chain multi-chain management method, block chain multi-chain management device and computer readable storage medium
CN201911298998.7A CN111010394B (en) 2019-08-15 2019-08-15 Block chain multi-chain management method and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201910753300.XA Division CN110505223B (en) 2019-08-15 2019-08-15 Block chain multi-chain management method, block chain multi-chain management device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111010394A true CN111010394A (en) 2020-04-14
CN111010394B CN111010394B (en) 2021-06-08

Family

ID=68586546

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910753300.XA Active CN110505223B (en) 2019-08-15 2019-08-15 Block chain multi-chain management method, block chain multi-chain management device and computer readable storage medium
CN201911298998.7A Active CN111010394B (en) 2019-08-15 2019-08-15 Block chain multi-chain management method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201910753300.XA Active CN110505223B (en) 2019-08-15 2019-08-15 Block chain multi-chain management method, block chain multi-chain management device and computer readable storage medium

Country Status (1)

Country Link
CN (2) CN110505223B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111597268A (en) * 2020-05-21 2020-08-28 昆明大棒客科技有限公司 Block chain expansion method, block chain node and block chain system
CN111901388A (en) * 2020-06-30 2020-11-06 达闼机器人有限公司 Block chain multi-chain system, method for block chain multi-chain system and electronic equipment
CN111953754A (en) * 2020-07-31 2020-11-17 成都质数斯达克科技有限公司 Cross-chain transaction method, electronic device and readable storage medium
CN112685707A (en) * 2020-12-31 2021-04-20 北京存金所贵金属有限公司 Hybrid chain-based cross-domain identity authentication and account management method, device and equipment
CN112839056A (en) * 2021-02-08 2021-05-25 杭州趣链科技有限公司 Cross-chain interactive identity management method, system, equipment and storage medium
CN113067896A (en) * 2021-06-02 2021-07-02 支付宝(杭州)信息技术有限公司 Method for adding node in block chain sub-network and block chain system
CN113382025A (en) * 2021-08-12 2021-09-10 环球数科集团有限公司 Method for checking user identity in process of exchanging certificates
CN113760651A (en) * 2021-08-12 2021-12-07 熵链科技(福建)有限公司 Method, system and storage medium for collecting running state of main sub-chain of block chain
CN114124943A (en) * 2020-08-14 2022-03-01 北京金山云网络技术有限公司 Processing method, device and system for block chain nodes and electronic device
CN115086338A (en) * 2022-04-29 2022-09-20 蚂蚁区块链科技(上海)有限公司 Block chain subnet building method and device

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112907367A (en) * 2019-12-03 2021-06-04 微观(天津)科技发展有限公司 Cross-border trade data management method and device based on block chain and storage medium
CN111010586B (en) * 2019-12-19 2021-03-19 腾讯科技(深圳)有限公司 Live broadcast method, device, equipment and storage medium based on artificial intelligence
CN111158703A (en) * 2019-12-25 2020-05-15 江苏众享金联科技有限公司 Chain based intelligent contract chain management method
CN111147494B (en) * 2019-12-27 2022-11-18 杭州趣链科技有限公司 Multi-center access management method and device for block chain light nodes
CN111262860B (en) * 2020-01-16 2022-10-11 航天信息股份有限公司 Identity authentication method and device in cross-link mode
CN111461885B (en) * 2020-03-31 2024-03-19 财付通支付科技有限公司 Consensus network management method, device, computer and readable storage medium
KR102321204B1 (en) * 2020-04-27 2021-11-03 인제대학교 산학협력단 Smart propertization method for protecting intellectual rights on digital content and system threrof
CN111597228B (en) * 2020-05-13 2023-06-20 山大地纬软件股份有限公司 Multi-chain system and method for improving expansibility of block chain
CN111669267B (en) * 2020-05-15 2024-02-20 西安纸贵互联网科技有限公司 Configuration method for consensus mechanism and endorsement strategy of block chain
CN111683059B (en) * 2020-05-18 2022-08-23 国网浙江省电力有限公司 Method, system, equipment and storage medium for supervising main chain-side chain
CN111598569B (en) * 2020-05-21 2023-09-08 昆明大棒客科技有限公司 Tree block chain expansion method and device
CN112162768B (en) * 2020-10-14 2022-09-30 支付宝(杭州)信息技术有限公司 Block chain upgrading method and system
CN112804310B (en) * 2020-12-31 2023-03-24 河南中盾云安信息科技有限公司 Multi-chain intelligent security gateway for application of Internet of things and implementation method
CN113206851B (en) * 2021-05-06 2022-04-05 杭州复杂美科技有限公司 Parallel chain consensus method, computer device, and storage medium
CN113067894B (en) * 2021-06-02 2021-09-24 支付宝(杭州)信息技术有限公司 Method for node to exit block chain sub-network
CN113067914B (en) * 2021-06-02 2021-08-17 支付宝(杭州)信息技术有限公司 Method and device for distributing subnet identification, electronic equipment and storage medium
CN113382018A (en) * 2021-06-29 2021-09-10 深圳市高德信通信股份有限公司 Multi-chain management method and system based on block chain
CN113569279B (en) * 2021-07-06 2024-03-26 招商银行股份有限公司 Data processing method, apparatus, device, medium and computer program product
CN113837760B (en) * 2021-11-25 2022-08-26 腾讯科技(深圳)有限公司 Data processing method, data processing device, computer equipment and storage medium
CN115545936B (en) * 2022-11-22 2023-03-03 北京共识数信科技有限公司 Multi-chain management method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107464112A (en) * 2017-07-20 2017-12-12 捷德(中国)信息科技有限公司 Exchange management method and system based on block chain
CN107729471A (en) * 2017-10-13 2018-02-23 上海策赢网络科技有限公司 A kind of block chain and its generation method and equipment
CN107767267A (en) * 2017-10-20 2018-03-06 上海策赢网络科技有限公司 The transfer method and device of a kind of virtual resource
CN108389047A (en) * 2018-02-12 2018-08-10 深圳沃链科技有限公司 The method and block chain network of fundamental chain and subchain transaction in block chain
CN108600301A (en) * 2018-03-08 2018-09-28 青岛墨客区块链有限公司 A kind of across chain method between block chain and main block chain
CN108984645A (en) * 2018-06-25 2018-12-11 百度在线网络技术(北京)有限公司 block chain processing method, device, equipment and storage medium
CN109379429A (en) * 2018-10-25 2019-02-22 龚玉环 A kind of multichain management method and system based on block chain
CN109450877A (en) * 2018-10-25 2019-03-08 北京九州云腾科技有限公司 Distributed IDaaS Unified Identification system based on block chain
CN109885264A (en) * 2019-04-16 2019-06-14 北京艾摩瑞策科技有限公司 A kind of the logic sharding method and its system of block chain node
CN110012126A (en) * 2019-04-02 2019-07-12 哈尔滨工业大学(深圳) A kind of DNS system based on block chain technology

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231299A (en) * 2017-06-07 2017-10-03 众安信息技术服务有限公司 A kind of chain route and realized the system that block chain communicates across chain
US11146380B2 (en) * 2017-08-03 2021-10-12 Parity Technologies Ltd. Methods and systems for a heterogeneous multi-chain framework
CN109460530A (en) * 2018-10-18 2019-03-12 尚维斯 A kind of block chain chain address register method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107464112A (en) * 2017-07-20 2017-12-12 捷德(中国)信息科技有限公司 Exchange management method and system based on block chain
CN107729471A (en) * 2017-10-13 2018-02-23 上海策赢网络科技有限公司 A kind of block chain and its generation method and equipment
CN107767267A (en) * 2017-10-20 2018-03-06 上海策赢网络科技有限公司 The transfer method and device of a kind of virtual resource
CN108389047A (en) * 2018-02-12 2018-08-10 深圳沃链科技有限公司 The method and block chain network of fundamental chain and subchain transaction in block chain
CN108600301A (en) * 2018-03-08 2018-09-28 青岛墨客区块链有限公司 A kind of across chain method between block chain and main block chain
CN108984645A (en) * 2018-06-25 2018-12-11 百度在线网络技术(北京)有限公司 block chain processing method, device, equipment and storage medium
CN109379429A (en) * 2018-10-25 2019-02-22 龚玉环 A kind of multichain management method and system based on block chain
CN109450877A (en) * 2018-10-25 2019-03-08 北京九州云腾科技有限公司 Distributed IDaaS Unified Identification system based on block chain
CN110012126A (en) * 2019-04-02 2019-07-12 哈尔滨工业大学(深圳) A kind of DNS system based on block chain technology
CN109885264A (en) * 2019-04-16 2019-06-14 北京艾摩瑞策科技有限公司 A kind of the logic sharding method and its system of block chain node

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111597268B (en) * 2020-05-21 2023-09-12 昆明大棒客科技有限公司 Block chain extension method, block chain node and block chain system
CN111597268A (en) * 2020-05-21 2020-08-28 昆明大棒客科技有限公司 Block chain expansion method, block chain node and block chain system
CN111901388A (en) * 2020-06-30 2020-11-06 达闼机器人有限公司 Block chain multi-chain system, method for block chain multi-chain system and electronic equipment
CN111901388B (en) * 2020-06-30 2022-12-20 达闼机器人股份有限公司 Block chain multi-chain system, method for block chain multi-chain system and electronic equipment
CN111953754A (en) * 2020-07-31 2020-11-17 成都质数斯达克科技有限公司 Cross-chain transaction method, electronic device and readable storage medium
CN111953754B (en) * 2020-07-31 2021-06-08 成都质数斯达克科技有限公司 Cross-chain transaction method, electronic device and readable storage medium
CN114124943A (en) * 2020-08-14 2022-03-01 北京金山云网络技术有限公司 Processing method, device and system for block chain nodes and electronic device
CN112685707A (en) * 2020-12-31 2021-04-20 北京存金所贵金属有限公司 Hybrid chain-based cross-domain identity authentication and account management method, device and equipment
CN112839056A (en) * 2021-02-08 2021-05-25 杭州趣链科技有限公司 Cross-chain interactive identity management method, system, equipment and storage medium
CN113067896B (en) * 2021-06-02 2021-09-24 支付宝(杭州)信息技术有限公司 Method for adding node in block chain sub-network and block chain system
CN113067896A (en) * 2021-06-02 2021-07-02 支付宝(杭州)信息技术有限公司 Method for adding node in block chain sub-network and block chain system
CN113760651A (en) * 2021-08-12 2021-12-07 熵链科技(福建)有限公司 Method, system and storage medium for collecting running state of main sub-chain of block chain
CN113382025B (en) * 2021-08-12 2021-10-08 环球数科集团有限公司 Method for checking user identity in process of exchanging certificates
CN113382025A (en) * 2021-08-12 2021-09-10 环球数科集团有限公司 Method for checking user identity in process of exchanging certificates
CN113760651B (en) * 2021-08-12 2024-04-02 熵链科技(福建)有限公司 Main sub-chain running state collection method, system and storage medium of block chain
CN115086338A (en) * 2022-04-29 2022-09-20 蚂蚁区块链科技(上海)有限公司 Block chain subnet building method and device

Also Published As

Publication number Publication date
CN111010394B (en) 2021-06-08
CN110505223A (en) 2019-11-26
CN110505223B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN111010394B (en) Block chain multi-chain management method and device
CN113711536B (en) Extracting data from a blockchain network
US11431561B2 (en) Internet of things
US10833864B2 (en) Gaming concensus protocol for blockchain
CN110226168B (en) System and method for providing interfaces for blockchain cloud services
US10764070B2 (en) High precision timestamps in blockchain
US11228570B2 (en) Safe-transfer exchange protocol based on trigger-ready envelopes among distributed nodes
US11769156B2 (en) Automated data projection for smart contract groups on a blockchain
CN111324446A (en) Multi-access edge computing node and method for deploying distributed accounting application
US11089094B2 (en) Collaborator network creation using cloud-based metadata
EP4216077A1 (en) Blockchain network-based method and apparatus for data processing, and computer device
CN110830735A (en) Video generation method and device, computer equipment and storage medium
US11556874B2 (en) Block creation based on transaction cost and size
US10068108B2 (en) Method and apparatus for secure signing and utilization of distributed computations
US20200074117A1 (en) Unfalsifiable audit logs for a blockchain
CN109565518A (en) Interchangeable content retrieval
US20230300018A1 (en) Autonomous server agents
WO2020112029A1 (en) System and method for facilitating participation in a blockchain environment
CN111416709A (en) Voting method, device, equipment and storage medium based on block chain system
US9553728B2 (en) Method and apparatus for providing end-to-end security for distributed computations
US20220121466A1 (en) System and method for facilitating participation in a blockchain environment
Fernando Designing Microservices Platforms with NATS: A modern approach to designing and implementing scalable microservices platforms with NATS messaging
CN112734420A (en) Token management method, device, server and storage medium based on big data platform
de Almeida Blockchain Enabled Platforms for the Internet of Things
Yang et al. Analyses of QoS-aware Web services

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant