CN112527913A - Block chain cross-chain integral sharing method, device, electronic equipment and system - Google Patents

Block chain cross-chain integral sharing method, device, electronic equipment and system Download PDF

Info

Publication number
CN112527913A
CN112527913A CN202110178337.1A CN202110178337A CN112527913A CN 112527913 A CN112527913 A CN 112527913A CN 202110178337 A CN202110178337 A CN 202110178337A CN 112527913 A CN112527913 A CN 112527913A
Authority
CN
China
Prior art keywords
transaction
out transaction
blockchain
credit
transfer
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.)
Pending
Application number
CN202110178337.1A
Other languages
Chinese (zh)
Inventor
张建钢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Holographic Zhixin Technology Co ltd
Original Assignee
Beijing Holographic Zhixin Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Holographic Zhixin Technology Co ltd filed Critical Beijing Holographic Zhixin Technology Co ltd
Priority to CN202110178337.1A priority Critical patent/CN112527913A/en
Publication of CN112527913A publication Critical patent/CN112527913A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2358Change logging, detection, and notification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Databases & Information Systems (AREA)
  • Finance (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computational Linguistics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Computing Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention provides a block chain cross-chain integral sharing method, a block chain cross-chain integral sharing device, electronic equipment and a block chain cross-chain integral sharing system.

Description

Block chain cross-chain integral sharing method, device, electronic equipment and system
Technical Field
The present invention relates to a block chain technology, and more particularly, to the field of block chain integral cross-chain sharing.
Background
Distributed trust and distributed ledger for blockchains can help to achieve transparent, public, non-tamperable, non-repudiatable, trusted points (also known as vouchers or tokens). Credible points are helpful for realizing commercial ecology based on point incentive.
Different business ecology, such as the ecology for production, supply and marketing of agricultural products and the ecology for health care industry of medical treatment, may have different requirements on the block chain network of the bottom layer in terms of security, privacy, performance trade-off and the like due to different participation parties and business characteristics, and thus may realize independent business ecology in different block chain networks. From the perspective of ecological convergence and incentive, the different business ecosystems (i.e., different blockchain networks) may have a requirement for realizing credible score sharing across chains to form a large cross-business ecology. Even in the same industry, due to different scales, regions and ownership, the system can be supported by a plurality of blockchain networks and has the requirement of realizing cross-chain integral sharing.
A blockchain network may carry multiple integrals (e.g., via ERC 20). Integration of different blockchain networks, unless indirectly achieved by a third party, such as a so-called point exchange platform. The indirect exchange cannot avoid the trouble that the same (large) ecology needs to maintain multiple points, has quite low efficiency, and is difficult to support commercial ecology to realize efficient point excitation and use scenes.
Direct integral sharing of a cross-block chain network without a third party is achieved, and multi-chain commercial ecology based on integral can be constructed in a boosting mode.
Disclosure of Invention
To solve at least one of the above technical problems, the present invention provides a method, an apparatus, an electronic device, a readable storage medium, and a system for block chain cross-chain integral sharing.
In a first aspect of the present invention, a method for sharing a block chain cross-chain integral is provided, including:
a first user submits a credit roll-out transaction to a first blockchain;
the first user determining that the credit roll-out transaction is acknowledged by the first blockchain;
and the first user submits point transfer-in transaction to the second blockchain, wherein the point transfer-in transaction comprises information of the point transfer-out transaction and inquiry information of the point transfer-out transaction.
Optionally, the first user determining that the credit roll-out transaction is confirmed by the first blockchain comprises:
the first user determines that a target block where the credit roll-out transaction is located and a preset number of blocks behind the target block are confirmed by the first block chain.
In the embodiment of the present invention, the first user confirms that the credit roll-out transaction is confirmed by the first blockchain, and it needs to satisfy: the target block of the point transfer-out exchange is confirmed by each node of the first block chain; and after the target block is confirmed by each node of the first block chain, a preset number of blocks pass, so that the target block is ensured not to be rolled back and withdrawn. In addition, the first user may submit the credit to the second blockchain for transfer-in transaction only after confirming that the target blockchain where the credit transfer-out transaction is located is confirmed by the first blockchain.
Optionally, the credit roll-out transaction information includes:
the identification of the second block chain, the integral transfer-out limit and the identification of the second user;
the second user is the point transaction object of the first user.
Optionally, the credit roll-out transaction query information includes:
an identity of the first blockchain and/or a node of the first blockchain.
In an embodiment of the present invention, the query information of the point transfer-out transaction is used to query whether the point transfer-out transaction is confirmed by the first blockchain.
In a second aspect of the present invention, there is provided a client apparatus, including:
the point transfer-out transaction submitting module is used for submitting point transfer-out transaction to the first block chain;
a credit roll-out transaction confirmation module for determining that the credit roll-out transaction is confirmed by the first blockchain;
and the point transfer-in transaction submitting module is used for submitting point transfer-in transaction to the second block chain, and the point transfer-in transaction comprises information of the point transfer-out transaction and inquiry information of the point transfer-out transaction.
Optionally, the credit roll-out transaction confirmation module is specifically configured to:
determining that a target block where the credit is transferred out of the exchange and a preset number of blocks behind the target block are confirmed by the first blockchain.
Optionally, the information of the credit roll-out transaction submitted by the credit roll-out transaction submitting module includes:
the identification of the second block chain, the credit transfer-out limit and the identification of the second user.
Optionally, the query information of the point transfer-out transaction submitted by the point transfer-in transaction submission module includes:
an identity of the first blockchain and/or a node of the first blockchain.
In a third aspect of the present invention, a method for sharing a block chain cross-chain integral is provided, including:
the second block chain receives the credit submitted by the first user and transfers the credit into a transaction; the point transfer-in transaction comprises information of a point transfer-out transaction executed by a first block chain and query information of the point transfer-out transaction;
the second block chain confirms that the credit roll-out transaction is confirmed by the first block chain according to the inquiry information of the credit roll-out transaction;
the second block chain updates a local state database according to the information of the point transfer-in transaction and/or the information of the point transfer-out transaction, and updates the account point of a second user; the second user is the point transaction object of the first user.
Optionally, the credit roll-out transaction query information includes:
an identity of the first blockchain and/or a node of the first blockchain.
Optionally, the second blockchain confirming that the credit roll-out transaction has been confirmed by the first blockchain according to the query information of the credit roll-out transaction includes:
the second block chain inquires the first block chain according to the inquiry information of the point transfer-out transaction, and obtains the execution state of the point transfer-out transaction and/or the height of the current confirmation block of the first block chain;
determining that the credit roll-out transaction has been confirmed by the first blockchain based on an execution status of the credit roll-out transaction and/or a height of a currently confirmed block of the first blockchain.
Optionally, the method further comprises:
the second blockchain determining that the credit roll-out transaction was not confirmed by the first blockchain;
and performing service denial processing on the first user within a preset time period.
Optionally, the method further comprises:
and updating the world state data according to the state database.
In a fourth aspect of the present invention, a node apparatus of a second block chain is provided, including:
the point transfer-in transaction receiving module is used for receiving the point transferred-in transaction submitted by the first user; the point transfer-in transaction comprises information of a point transfer-out transaction executed by a first block chain and query information of the point transfer-out transaction;
the point transfer-out transaction verification module is used for confirming that the point transfer-out transaction is confirmed by the first block chain according to the query information of the point transfer-out transaction;
the point transfer-in transaction execution module is used for updating a local state database according to the point transfer-in transaction information and/or the point transfer-out transaction information and updating the account point of a second user; the second user is the point transaction object of the first user.
Optionally, the query information of the credit transfer-in transaction received by the credit transfer-in transaction receiving module includes:
an identity of the first blockchain and/or a node of the first blockchain.
Optionally, the credit roll-out transaction verification module is specifically configured to:
inquiring the first block chain according to the query information of the point transfer-out transaction, and acquiring the execution state of the point transfer-out transaction and/or the height of the current confirmation block of the first block chain;
determining that the credit roll-out transaction has been confirmed by the first blockchain based on an execution status of the credit roll-out transaction and/or a height of a currently confirmed block of the first blockchain.
In the embodiment of the invention, whether the execution of the credit transfer-out transaction is successful or not is determined by inquiring the execution state of the credit transfer-out transaction, and a target block where the credit transfer-out transaction is located is determined; and/or, determining whether the transaction execution has passed a preset time by querying the height of the current confirmation block of the first blockchain.
Optionally, the credit roll-out transaction verification module is further configured to: determining that the credit roll-out transaction was not confirmed by the first blockchain;
the credit transfer-in transaction execution module is further used for: and performing service denial processing on the first user within preset time.
Optionally, the apparatus further comprises:
and the world state data updating module is used for updating the world state data according to the state database.
In a fifth aspect of the present invention, a system for sharing block chain cross-chain integrals is provided, including:
the system comprises a first user, a second user, a first block chain consisting of a plurality of nodes and a second block chain consisting of a plurality of nodes;
the first user is used for submitting the credit transfer-out transaction to the first block chain; determining that the credit roll-out transaction is acknowledged by the first blockchain; submitting point transfer-in transaction to a second block chain, wherein the point transfer-in transaction comprises information of the point transfer-out transaction and query information of the point transfer-out transaction;
the first block chain is used for updating a local first state database according to the information of the point transfer-out transaction and updating the account point of the first user;
the second block chain is used for receiving points submitted by the first user and transferring the points into a transaction; the point transfer-in transaction comprises information of a point transfer-out transaction executed by a first block chain and query information of the point transfer-out transaction; confirming that the credit roll-out transaction is confirmed by the first block chain according to the inquiry information of the credit roll-out transaction; updating a local second state database according to the information of the credit transfer-in transaction and/or the information of the credit transfer-out transaction, and updating the account credit of a second user;
wherein the second user is a point transaction object of the first user.
Optionally, the first user is configured to, when determining that the credit roll-out transaction is acknowledged by the first blockchain, specifically:
the first user determines that a target block where the credit roll-out transaction is located and a preset number of blocks behind the target block are confirmed by the first block chain.
Optionally, the credit roll-out transaction information includes:
the identification of the second block chain, the credit transfer-out limit and the identification of the second user.
Optionally, the credit roll-out transaction query information includes:
an identity of the first blockchain and/or a node of the first blockchain.
Optionally, the second blockchain is specifically configured to, when it is determined that the credit roll-out transaction is already determined by the first blockchain according to the query information of the credit roll-out transaction:
the second block chain inquires the first block chain according to the inquiry information of the point transfer-out transaction, and obtains the execution state of the point transfer-out transaction and/or the height of the current confirmation block of the first block chain;
determining that the credit roll-out transaction has been confirmed by the first blockchain based on an execution status of the credit roll-out transaction and/or a height of a currently confirmed block of the first blockchain.
Optionally, the second blockchain is further configured to:
determining that the credit roll-out transaction was not confirmed by the first blockchain;
and performing service denial processing on the first user within a preset time period.
Optionally, the first blockchain is further configured to: updating world state data of the first blockchain according to the first state database;
the second blockchain is further to: and updating the world state data of the second block chain according to the second state database.
In a sixth aspect of the invention, there is provided an electronic device comprising a memory and a processor, the memory being arranged to store computer instructions for execution by the processor to implement the method according to the first or third aspect of the invention.
In a seventh aspect of the present invention, there is provided a readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the method of the first or third aspect of the present invention.
The invention realizes the credible score sharing (namely the credible coexistence of the same score on a plurality of block chain networks) of the trans-block chain network without a third party and the credible score transfer of the trans-block chain network by introducing a trans-chain transfer-out intelligent contract and a trans-chain transfer-out state database module in a score transfer-out chain, introducing a trans-chain transfer-in intelligent contract and a trans-chain transfer-in state database in a score transfer-in chain, and confirming the transfer-in transaction of the transfer-in chain, the transfer-out transaction of the transfer-out chain, the execution result and the confirmation state of the transfer-out transaction.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the invention and together with the description serve to explain the principles of the invention.
Fig. 1 illustrates the overall architecture of the entire cross-chain integral sharing.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are for purposes of illustration only and are not to be construed as limitations of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
In addition, the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict. The following detailed description will be made in conjunction with embodiments with reference to the accompanying drawings.
The invention supports the realization of the credible integral sharing of the trans-block chain network without a third party, namely the same integral can be credibly coexisted on a plurality of block chain networks, and the credible integral transfer of the trans-block chain network can be realized. The invention introduces a cross-chain transfer-out intelligent contract and a cross-chain transfer-out state database module in an integral transfer-out chain, and introduces a cross-chain transfer-in intelligent contract and a cross-chain transfer-in state database module in an integral transfer-in chain. If a block chain network is used as both an exit chain support integral exit and a transfer chain support integral transfer, four modules of a cross-chain exit intelligent contract, a cross-chain exit state database, a cross-chain exit intelligent contract and a cross-chain exit state database are required to be deployed at the same time.
Different business ecology realized in different block chain networks may have the requirement of realizing credible score sharing to form cross-industry big ecology from the perspective of ecological integration and unified incentive. Even the same business ecology can be supported by a plurality of blockchain networks due to different scales, regions and ownership, and the requirement of cross-chain integral sharing is met.
Before the invention, a block chain network can simultaneously support and bear a plurality of points, and the two points can be exchanged through a third-party point exchange platform inside or outside the block chain network. But the same score cannot be trusted shared and transferred across blockchain networks without third parties, which is necessary for a business ecological support efficient score incentive and usage scenario composed of different blockchain networks.
First, the overall architecture.
The invention supports the realization of the credible score sharing (namely the credible coexistence of the same score on a plurality of block chain networks) and the score transfer of the cross-block chain network without a third party. As shown in FIG. 1, the present invention introduces a cross-chain roll-out intelligent contract (block 102) and a cross-chain roll-out status database module (block 103) in the credit roll-out chain (block 101), and a cross-chain roll-in intelligent contract (block 106) and a cross-chain roll-in status database (block 105) in the credit roll-out chain (block 104). If a block chain network is used as both an exit chain support integral exit and a transfer chain support integral transfer, four modules of a cross-chain exit intelligent contract, a cross-chain exit state database, a cross-chain exit intelligent contract and a cross-chain exit state database are required to be deployed at the same time.
And (4) configuring an authorized transfer-in chain list (each transfer-in chain is identified by a queriable unique identifier of the chain, such as a hash value of a founder block), wherein the list is maintained by the cross-chain transfer-out intelligent contract and is updated by an authorized updating party (given when the contract is initialized) set by a publisher of the cross-chain transfer-out intelligent contract.
The transfer chain can configure authorized transfer chain lists (each transfer chain is identified by a queriable unique identifier of the chain, such as a hash value of a founder block), and the lists are maintained by the cross-chain transfer intelligent contract and are updated by an authorized updating party (given when the contract is initialized) set by a publisher of the cross-chain transfer intelligent contract.
And the cross-chain roll-out intelligent contract is used for executing the roll-out transaction TX1 when the blocks are generated and verified on the roll-out chain, and recording a roll-out record into the cross-chain roll-out state database after the execution is successful. The cross-link roll-out transaction TX1 includes at least a roll-in link identifier, a roll-out credit, a roll-in recipient address, a roll-out specification, etc.
The cross-chain roll-out state database is a part of the roll-out chain world state and is used for recording the integral roll-out record and providing an on-demand query function.
And the cross-link transfer intelligent contract is used for executing the transfer transaction TX2 when the block generation and verification are carried out on the transfer link, and counting a transfer record into the cross-link transfer state database after the execution is successful. The cross-link forward transaction TX2 includes at least the corresponding forward transaction TX1, forward link id, forward link node(s), etc.
The cross-link transfer-in state database is a part of the transfer-in world state and is used for recording the integral transfer-in records and providing the function of inquiring according to needs.
For the same roll-out and roll-in chain pair, the TX1 on the roll-out chain and the TX2 on the roll-in chain completely correspond, and the total amount of the integrals transferred out of the roll-in chain on the roll-out chain is completely consistent with the total amount of the integrals received from the roll-out chain on the roll-in chain.
And II, performing a cross-chain process.
The credit owner (block 100) implements a cross-chain trusted transfer of its credit through an application, such as an APP, based on the following process:
(1) the credit owner (roll-out originator) submits a roll-out transaction TX1 to the roll-out chain (block 101) containing a roll-in chain identifier, a roll-out credit, a roll-in recipient address, a roll-out description, etc.;
(2) a cross-chain escape intelligent contract (block 102) for the escape chain (block 101), triggered to execute TX1 at block generation and validation: recording a roll-out record (information in TX 1) to a cross-chain roll-out state database, and deducting a roll-out amount from a point account of a point owner;
(3) the credit owner waits for the block where the roll-out transaction TX1 is located and x block transactions following the block are confirmed in the roll-out chain, so as to ensure that the block where TX1 is located is not rolled back and cancelled in the roll-out chain;
(4) the points owner submits a transfer-in transaction TX2 to the transfer-in chain (block 104), which includes a transfer-out transaction TX1, a transfer-out chain identification, and a transfer-out chain node(s);
(5) the branch-to-chain cross-chain branch-to-intelligent contract (block 106), triggered for execution at block generation and validation TX 2: selecting one or more out-link nodes from the listed out-link nodes, inquiring the blockchain nodes of the one or more out-links, and inquiring the execution status (success or failure, confirmation block of transaction account) of TX1 and the height of the current confirmation block of the out-link;
(6) if TX1 is false transaction, the local node in the transfer-in chain refuses the service for a certain time to the credit owner, and the initiator is prevented from carrying out denial-of-service attack on the transfer-in chain. If TX1 confirms no error in the out-link and accords with the transfer-in requirement of the transfer-in link, the cross-link transfer-in intelligent contract of the transfer-in link further counts the transfer-in records (information in TX2 and TX 1) into a cross-link transfer-in state database, and counts the residual amount into the address of the transfer-in receiver after deducting the transaction fee of TX 2;
and the cross-chain transfer-out state of the transfer-out chain and the cross-chain transfer-in state of the transfer-in chain cross-verify the same pair of transfer-out and transfer-in transactions (namely TX1 and TX 2) to realize credible cross-chain credit transfer and sharing.
It should be understood that the various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to perform the various methods of the present invention according to instructions in the program code stored in the memory.
By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer-readable media includes both computer storage media and communication media. Computer storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of computer readable media.
Those skilled in the art will appreciate that the modules or units or components of the apparatus in the examples invented herein may be arranged in an apparatus as described in this embodiment or alternatively may be located in one or more apparatuses different from the apparatus in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features of the invention in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so invented, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature of the invention in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention is to be considered as illustrative and not restrictive in character, with the scope of the invention being indicated by the appended claims.

Claims (27)

1. A method for block chain cross-chain integral sharing, comprising:
a first user submits a credit roll-out transaction to a first blockchain;
the first user determining that the credit roll-out transaction is acknowledged by the first blockchain;
and the first user submits point transfer-in transaction to the second blockchain, wherein the point transfer-in transaction comprises information of the point transfer-out transaction and inquiry information of the point transfer-out transaction.
2. The method of claim 1, wherein the first user determining that the credit roll-out transaction is confirmed by the first blockchain comprises:
the first user determines that a target block where the credit roll-out transaction is located and a preset number of blocks behind the target block are confirmed by the first block chain.
3. The method of claim 1, wherein the credit roll-out transaction information comprises:
the identification of the second block chain, the integral transfer-out limit and the identification of the second user;
the second user is the point transaction object of the first user.
4. The method of claim 3, wherein the credit is transferred out of a query for the transaction, comprising:
an identity of the first blockchain and/or a node of the first blockchain.
5. A client device, comprising:
the point transfer-out transaction submitting module is used for submitting point transfer-out transaction to the first block chain;
a credit roll-out transaction confirmation module for determining that the credit roll-out transaction is confirmed by the first blockchain;
and the point transfer-in transaction submitting module is used for submitting point transfer-in transaction to the second block chain, and the point transfer-in transaction comprises information of the point transfer-out transaction and inquiry information of the point transfer-out transaction.
6. The apparatus of claim 5, wherein the credit roll-out transaction confirmation module is specifically configured to:
determining that a target block where the credit is transferred out of the exchange and a preset number of blocks behind the target block are confirmed by the first blockchain.
7. The apparatus of claim 5, wherein the information for the points roll-out transaction submitted by the points roll-out transaction submission module comprises:
the identification of the second block chain, the credit transfer-out limit and the identification of the second user.
8. The apparatus of claim 7, wherein the query for the credit roll-out transaction submitted by the credit roll-in transaction submission module comprises:
an identity of the first blockchain and/or a node of the first blockchain.
9. A method for block chain cross-chain integral sharing, comprising:
the second block chain receives the credit submitted by the first user and transfers the credit into a transaction; the point transfer-in transaction comprises information of a point transfer-out transaction executed by a first block chain and query information of the point transfer-out transaction;
the second block chain confirms that the credit roll-out transaction is confirmed by the first block chain according to the inquiry information of the credit roll-out transaction;
the second block chain updates a local state database according to the information of the point transfer-in transaction and/or the information of the point transfer-out transaction, and updates the account point of a second user; the second user is the point transaction object of the first user.
10. The method of claim 9, wherein the credit roll-out transaction query information comprises:
an identity of the first blockchain and/or a node of the first blockchain.
11. The method of claim 9 or 10, wherein the second blockchain confirming that the credit roll-out transaction has been confirmed by the first blockchain based on the query information for the credit roll-out transaction comprises:
the second block chain inquires the first block chain according to the inquiry information of the point transfer-out transaction, and obtains the execution state of the point transfer-out transaction and/or the height of the current confirmation block of the first block chain;
determining that the credit roll-out transaction has been confirmed by the first blockchain based on an execution status of the credit roll-out transaction and/or a height of a currently confirmed block of the first blockchain.
12. The method of claim 9, further comprising:
the second blockchain determining that the credit roll-out transaction was not confirmed by the first blockchain;
and performing service denial processing on the first user within a preset time period.
13. The method of claim 9, further comprising:
and updating the world state data according to the state database.
14. A node apparatus of a second blockchain, comprising:
the point transfer-in transaction receiving module is used for receiving the point transferred-in transaction submitted by the first user; the point transfer-in transaction comprises information of a point transfer-out transaction executed by a first block chain and query information of the point transfer-out transaction;
the point transfer-out transaction verification module is used for confirming that the point transfer-out transaction is confirmed by the first block chain according to the query information of the point transfer-out transaction;
the point transfer-in transaction execution module is used for updating a local state database according to the point transfer-in transaction information and/or the point transfer-out transaction information and updating the account point of a second user; the second user is the point transaction object of the first user.
15. The apparatus according to claim 14, wherein the query message of credit transfer transaction received by the credit transfer transaction receiving module comprises:
an identity of the first blockchain and/or a node of the first blockchain.
16. The apparatus of claim 14 or 15, wherein the credit roll-out transaction verification module is specifically configured to:
inquiring the first block chain according to the query information of the point transfer-out transaction, and acquiring the execution state of the point transfer-out transaction and/or the height of the current confirmation block of the first block chain;
determining that the credit roll-out transaction has been confirmed by the first blockchain based on an execution status of the credit roll-out transaction and/or a height of a currently confirmed block of the first blockchain.
17. The apparatus of claim 14,
the credit roll-out transaction verification module is further configured to: determining that the credit roll-out transaction was not confirmed by the first blockchain;
the credit transfer-in transaction execution module is further used for: and performing service denial processing on the first user within preset time.
18. The apparatus of claim 14, further comprising:
and the world state data updating module is used for updating the world state data according to the state database.
19. A system for block chain cross-chain integral sharing, comprising:
the system comprises a first user, a second user, a first block chain consisting of a plurality of nodes and a second block chain consisting of a plurality of nodes;
the first user is used for submitting the credit transfer-out transaction to the first block chain; determining that the credit roll-out transaction is acknowledged by the first blockchain; submitting point transfer-in transaction to a second block chain, wherein the point transfer-in transaction comprises information of the point transfer-out transaction and query information of the point transfer-out transaction;
the first block chain is used for updating a local first state database according to the information of the point transfer-out transaction and updating the account point of the first user;
the second block chain is used for receiving points submitted by the first user and transferring the points into a transaction; the point transfer-in transaction comprises information of a point transfer-out transaction executed by a first block chain and query information of the point transfer-out transaction; confirming that the credit roll-out transaction is confirmed by the first block chain according to the inquiry information of the credit roll-out transaction; updating a local second state database according to the information of the credit transfer-in transaction and/or the information of the credit transfer-out transaction, and updating the account credit of a second user;
wherein the second user is a point transaction object of the first user.
20. The system of claim 19, wherein the first user, when determining that the credit roll-out transaction was acknowledged by the first blockchain, is further configured to:
the first user determines that a target block where the credit roll-out transaction is located and a preset number of blocks behind the target block are confirmed by the first block chain.
21. The system of claim 19, wherein the credit roll-out transaction information comprises:
the identification of the second block chain, the credit transfer-out limit and the identification of the second user.
22. The system of claim 21, wherein the credit roll-out transaction query comprises:
an identity of the first blockchain and/or a node of the first blockchain.
23. The system according to claim 19 or 22, wherein the second blockchain is configured to, upon confirming that the credit roll-out transaction has been confirmed by the first blockchain based on the query information for the credit roll-out transaction, in particular:
the second block chain inquires the first block chain according to the inquiry information of the point transfer-out transaction, and obtains the execution state of the point transfer-out transaction and/or the height of the current confirmation block of the first block chain;
determining that the credit roll-out transaction has been confirmed by the first blockchain based on an execution status of the credit roll-out transaction and/or a height of a currently confirmed block of the first blockchain.
24. The system of claim 19, wherein the second blockchain is further to:
determining that the credit roll-out transaction was not confirmed by the first blockchain;
and performing service denial processing on the first user within a preset time period.
25. The system of claim 19,
the first blockchain is further to: updating world state data of the first blockchain according to the first state database;
the second blockchain is further to: and updating the world state data of the second block chain according to the second state database.
26. An electronic device comprising a memory and a processor, the memory for storing computer instructions, wherein the computer instructions are executable by the processor to implement the method of any one of claims 1-4 or the computer instructions are executable by the processor to implement the method of any one of claims 9-13.
27. A readable storage medium having stored thereon computer instructions, which when executed by a processor implement the method of any of claims 1-4, and which when executed by a processor implement the method of any of claims 9-13.
CN202110178337.1A 2021-02-09 2021-02-09 Block chain cross-chain integral sharing method, device, electronic equipment and system Pending CN112527913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110178337.1A CN112527913A (en) 2021-02-09 2021-02-09 Block chain cross-chain integral sharing method, device, electronic equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110178337.1A CN112527913A (en) 2021-02-09 2021-02-09 Block chain cross-chain integral sharing method, device, electronic equipment and system

Publications (1)

Publication Number Publication Date
CN112527913A true CN112527913A (en) 2021-03-19

Family

ID=74975598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110178337.1A Pending CN112527913A (en) 2021-02-09 2021-02-09 Block chain cross-chain integral sharing method, device, electronic equipment and system

Country Status (1)

Country Link
CN (1) CN112527913A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113822763A (en) * 2021-10-11 2021-12-21 上海万向区块链股份公司 Block chain integral chain-crossing method and system based on intelligent contract

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108470278A (en) * 2018-03-13 2018-08-31 成都零光量子科技有限公司 A kind of block chain Token is across chain and on-line off-line method of commerce
CN109242456A (en) * 2018-09-04 2019-01-18 湖南宸瀚信息科技有限责任公司 Across the chain method of commerce of block chain, system and storage medium
CN109272311A (en) * 2018-09-29 2019-01-25 亚洲数字科技有限公司 A kind of across chain flogic system based on digital wallet
CN111949734A (en) * 2020-08-24 2020-11-17 南京纯白矩阵科技有限公司 Block chain heterogeneous cross-chain information synchronization system
CN112287029A (en) * 2020-11-17 2021-01-29 北京物资学院 Block chain multi-chain cross-chain system and implementation mechanism thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108470278A (en) * 2018-03-13 2018-08-31 成都零光量子科技有限公司 A kind of block chain Token is across chain and on-line off-line method of commerce
CN109242456A (en) * 2018-09-04 2019-01-18 湖南宸瀚信息科技有限责任公司 Across the chain method of commerce of block chain, system and storage medium
CN109272311A (en) * 2018-09-29 2019-01-25 亚洲数字科技有限公司 A kind of across chain flogic system based on digital wallet
CN111949734A (en) * 2020-08-24 2020-11-17 南京纯白矩阵科技有限公司 Block chain heterogeneous cross-chain information synchronization system
CN112287029A (en) * 2020-11-17 2021-01-29 北京物资学院 Block chain multi-chain cross-chain system and implementation mechanism thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113822763A (en) * 2021-10-11 2021-12-21 上海万向区块链股份公司 Block chain integral chain-crossing method and system based on intelligent contract

Similar Documents

Publication Publication Date Title
US11388009B2 (en) Token management system and token management method
CN107332826B (en) The communication means and device of block chain agent node
CN109426949B (en) Cross-chain transaction method and device
CN105976232B (en) Asset transaction method and device
CN109214818B (en) Cross-chain transaction method and device
US20190333057A1 (en) Systems and methods implementing an independent device-based sub-network of a distributed ledger network
WO2020028589A1 (en) Techniques for expediting processing of blockchain transactions
US20200250168A1 (en) Point-to-point distributed decentralized system
CN111052253B (en) Layered recording network
AU2017313687A1 (en) Dynamic cryptocurrency aliasing
CN108256864A (en) Between a kind of block chain across the foundation of chain alliance and communication means, system
KR101837167B1 (en) Method for issuing and paying money in use of merkle tree structure on the basis of unspent transaction output protocol, and server using the same
CN110751468A (en) Multi-directional state channel method, system and medium for block chain expansion
CN108600315B (en) Block link route processing method, device and storage medium
JP2020530958A (en) Computer implementation systems and methods related to binary blockchains that make up a pair of combined blockchains
CN113347164A (en) Block chain-based distributed consensus system, method, device and storage medium
CN110288346A (en) Block chain distributed storage method for down loading, equipment and storage medium
CN114297304A (en) Product information block chain transaction storage method, server and readable medium
CN112527913A (en) Block chain cross-chain integral sharing method, device, electronic equipment and system
EP3792855A1 (en) A method and system for executing fast and safe transactions involving a high-latency blockchain
CN104753903A (en) Authentication method, system and device
CN113010894B (en) Data processing method and device and computer readable storage medium
CN115705601A (en) Data processing method and device, computer equipment and storage medium
CN112788555B (en) Cross-operator telephone charge transfer settlement method, device and computing equipment
Clark et al. Research perspectives and challenges for bitcoin and cryptocurrencies

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