CN113822763A - Block chain integral chain-crossing method and system based on intelligent contract - Google Patents

Block chain integral chain-crossing method and system based on intelligent contract Download PDF

Info

Publication number
CN113822763A
CN113822763A CN202111183036.4A CN202111183036A CN113822763A CN 113822763 A CN113822763 A CN 113822763A CN 202111183036 A CN202111183036 A CN 202111183036A CN 113822763 A CN113822763 A CN 113822763A
Authority
CN
China
Prior art keywords
integral
block chain
chain
intelligent contract
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.)
Pending
Application number
CN202111183036.4A
Other languages
Chinese (zh)
Inventor
王蕊
郝玉琨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Wanxiang Blockchain Inc
Original Assignee
Shanghai Wanxiang Blockchain Inc
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 Shanghai Wanxiang Blockchain Inc filed Critical Shanghai Wanxiang Blockchain Inc
Priority to CN202111183036.4A priority Critical patent/CN113822763A/en
Publication of CN113822763A publication Critical patent/CN113822763A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a block chain integral chain-crossing method and a block chain integral chain-crossing system based on an intelligent contract, which comprise the following steps: the enterprise issues the same score T on two blockchains A and B respectively with compatible virtual machines, and the score T issued on the blockchain A is the score TAThe integral T issued on the block chain B is the integral TB(ii) a Respectively creating block chain integral addresses; setting n monitoring nodes in an intelligent contract; when the chain is needed to be crossed, a certain amount of points T of the user is lockedAIssuing event information of integral locking; when the nodes all monitor the event, voting is carried out, and after the event passes, the casting integral function of the intelligent contract on the block chain B is called; integral of casting TBIt will be assigned to the user's address on blockchain B, completing the credit stride. The invention can quickly transfer to each other on the block chain with the compatible virtual machine, is confirmed by multiple nodes, and has the advantages of simplicity, high efficiency, low cost, no dependence on manpower and a central clearing mechanism and high reliability.

Description

Block chain integral chain-crossing method and system based on intelligent contract
Technical Field
The invention relates to the technical field of block chains, in particular to a block chain integral chain-crossing method and system based on an intelligent contract.
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.
The invention patent with the publication number of CN112527913A discloses a method, a device, an electronic device and a system for sharing block chain cross-chain points, which realize the credible point sharing (namely the credible coexistence of the same point on a plurality of block chain networks) of a cross-block chain network and the credible point transfer of the cross-block chain network without a third party by introducing a cross-chain transfer intelligent contract and a cross-chain transfer state database module in a point transfer-out chain, introducing a cross-chain transfer intelligent contract and a cross-chain transfer state database in a point transfer-in chain, and confirming the transfer-in transaction of the transfer-in chain with the transfer-out transaction of the transfer-out chain, the execution result and the confirmation state in the execution process.
As the use of blockchains has become widespread, many business enterprises will distribute points over blockchains. However, the different block chains are connected with each other, so that the points issued on different block chains are difficult to communicate with each other, and the low liquidity, the ecological block and the insufficient functional effect are caused.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a block chain integral chain-crossing method and system based on an intelligent contract.
According to the block chain integral chain-crossing method and system based on the intelligent contract, the scheme is as follows:
in a first aspect, a method for block chain integral cross-chain based on an intelligent contract is provided, the method comprising:
step S1: respectively issuing the same type of integral on two block chains A and B with compatible virtual machines, wherein the integral T issued on the block chain A is the integral TAThe integral T issued on the block chain B is the integral TB
Step S2: respectively creating corresponding integral addresses on a block chain A and a block chain B for a user needing to carry out chain crossing on the integral T;
step S3: setting n monitoring nodes in an intelligent contract, wherein n > is 2;
step S4: when the chain is needed to be crossed, the user calls the locking function of the intelligent contract on the block chain A to lock a certain amount of points T of the userAAnd issuing event information of integral locking to the block chain;
step S5: monitoring nodes jointly supervise an integral locking event on the block chain A, voting is carried out when the nodes monitor the event, and the casting integral function of an intelligent contract on the block chain B is called after the vote passes;
step S6: casting and locking the integral T on the blockchain BAIntegral T of equal amountBIntegral of casting TBIt will be assigned to the user's address on blockchain B, completing the credit stride.
Preferably, the step S3 includes: all monitoring nodes will get the calling integral T before crossing the chainAAnd integral TBThe authority of the intelligent contract.
Preferably, the conditions satisfied by the voting in step S5 are:
when n is 2, the agreement of 2 monitoring nodes is required;
when n > is 3, 2/3 and more monitoring node agrees.
Preferably, the method further comprises:
step S7: when a user needs to cross the integral T from the block chain B to the block chain A, the destruction function of the intelligent contract on the block chain B needs to be called, a destruction event is sent to the block chain, and a certain amount of integral T is destroyedB
It is preferable thatThe step S7 further includes: after the monitoring nodes complete voting confirmation, the unlocking functions of the intelligent contracts on the block chain A are respectively called, and the integral T of the locks with the same number is obtainedAWill be assigned to the user's address on blockchain a.
In a second aspect, there is provided a blockchain score cross-linking system based on intelligent contracts, the system comprising:
module M1: respectively issuing the same type of integral on two block chains A and B with compatible virtual machines, wherein the integral T issued on the block chain A is the integral TAThe integral T issued on the block chain B is the integral TB
Module M2: respectively creating corresponding integral addresses on a block chain A and a block chain B for a user needing to carry out chain crossing on the integral T;
module M3: setting n monitoring nodes in an intelligent contract, wherein n > is 2;
module M4: when the chain is needed to be crossed, the user calls the locking function of the intelligent contract on the block chain A to lock a certain amount of points T of the userAAnd issuing event information of integral locking to the block chain;
module M5: monitoring nodes jointly supervise an integral locking event on the block chain A, voting is carried out when the nodes monitor the event, and the casting integral function of an intelligent contract on the block chain B is called after the vote passes;
module M6: casting and locking the integral T on the blockchain BAIntegral T of equal amountBIntegral of casting TBIt will be assigned to the user's address on blockchain B, completing the credit stride.
Preferably, the module M3 includes: all monitoring nodes will get the calling integral T before crossing the chainAAnd integral TBThe authority of the intelligent contract.
Preferably, the conditions met by the voting in the module M5 are:
when n is 2, the agreement of 2 monitoring nodes is required;
when n > is 3, 2/3 and more monitoring node agrees.
Preferably, the system further comprises:
module M7: when a user needs to cross the integral T from the block chain B to the block chain A, the destruction function of the intelligent contract on the block chain B needs to be called, a destruction event is sent to the block chain, and a certain amount of integral T is destroyedB
Preferably, the module M7 further includes: after the monitoring nodes complete voting confirmation, the unlocking functions of the intelligent contracts on the block chain A are respectively called, and the integral T of the locks with the same number is obtainedAWill be assigned to the user's address on blockchain a.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention completes block chain integral chain crossing through a full-flow intelligent contract, has high transparency, high efficiency and low cost, is suitable for integral high-frequency use scenes such as user marketing and the like, and solves the problems of insufficient integral flow, ecological closure and low efficiency;
2. by the method for confirming the integral cross-link by setting multiple supervision nodes, the problems of complex operation, repeated charge collection, single-point failure, low reliability and the like of the traditional centralized clearing mechanism for block link integral mutual conversion are solved.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments with reference to the following drawings:
fig. 1 is a block diagram of the overall structure of the present invention.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.
The embodiment of the invention provides a block chain integral chain-crossing method based on an intelligent contract, which specifically comprises the following steps of:
step S1: the enterprise issues the same score T on two blockchains A and B with compatible virtual machines respectively, and the score T issued on the blockchain A is the score TAThe integral T issued on the block chain B is the integral TB
Step S2: the blockchain credit address is created on blockchain a and blockchain B, respectively, for a user who needs to cross the credit T.
Step S3: setting n (n) in intelligent contract>2) monitoring nodes, which are usually credit issuers and other units with public trust, have no mutual interest relationship with each other. All monitoring nodes will get the calling integral T before crossing the chainAAnd integral TBThe authority of the intelligent contract.
Step S4: the above-mentioned steps S1 to S3 are pre-steps of block chain integration chaining. When the chain is needed to be crossed, the user calls the locking function of the intelligent contract on the block chain A to lock a certain amount of points T of the userAAnd issues credit locked event information to the blockchain.
Step S5: monitoring nodes jointly supervise integral locking events on a block chain A, voting is carried out when the nodes monitor the events, and when n is 2, 2 monitoring nodes need to agree; when n > is 3, the agreement of 2/3 and more monitoring nodes is required, and after the vote passes, the casting integral function of the intelligent contract on the block chain B is called.
Step S6: casting and locking the integral T on the blockchain BAIntegral T of equal amountBIntegral of casting TBIt will be assigned to the user's address on blockchain B, completing the credit stride.
Step S7: when a user needs to cross the integral T from the block chain B to the block chain A, the destruction function of the intelligent contract on the block chain B needs to be called, a destruction event is sent to the block chain, and a certain amount of integral T is destroyedB. After the monitoring nodes complete voting confirmation, the unlocking functions of the intelligent contracts on the block chain A are respectively called, and the integral T of the locks with the same number is obtainedAWill be assigned to the user's address on blockchain a.
The invention also provides a block chain integral chain-crossing system based on the intelligent contract, which is characterized by comprising the following steps:
module M1: the enterprise issues the same score T on two blockchains A and B respectively with compatible virtual machines, and the score T issued on the blockchain A is the score TAThe integral T issued on the block chain B is the integral TB
Module M2: respectively creating block chain integral addresses on a block chain A and a block chain B for a user needing to carry out chain crossing on the integral T;
module M3: setting n monitoring nodes in an intelligent contract, wherein n > is 2, and the credit issuer and other units with public trust have no mutual interest relationship;
module M4: when the chain is needed to be crossed, the user calls the locking function of the intelligent contract on the block chain A to lock a certain amount of points T of the userAAnd issuing event information of integral locking to the block chain;
module M5: monitoring nodes jointly supervise an integral locking event on the block chain A, voting is carried out when the nodes monitor the event, and the casting integral function of an intelligent contract on the block chain B is called after the vote passes;
module M6: casting and locking the integral T on the blockchain BAIntegral T of equal amountBIntegral of casting TBIt will be assigned to the user's address on blockchain B, completing the credit stride.
Module M7: when a user needs to cross the integral T from the block chain B to the block chain A, the destruction function of the intelligent contract on the block chain B needs to be called, a destruction event is sent to the block chain, and a certain amount of integral T is destroyedB. After the monitoring nodes complete voting confirmation, the unlocking functions of the intelligent contracts on the block chain A are respectively called, and the integral T of the locks with the same number is obtainedAWill be assigned to the user's address on blockchain a.
In particular, in module M3, all monitoring nodes will get the call integral T before crossing the chainAAnd integral TBRights of intelligent contractsAnd (4) limiting.
The conditions met by the vote pass in module M5 are:
when n is 2, the agreement of 2 monitoring nodes is required;
when n > is 3, 2/3 and more monitoring node agrees.
The embodiment of the invention provides a block chain integral chain crossing method and system based on an intelligent contract, the block chain integral can be quickly converted on a block chain with a compatible virtual machine through the intelligent contract, and the block chain integral chain crossing method and system are confirmed by multiple nodes, and have the advantages of simplicity, high efficiency, low cost, no dependence on manual work and a central clearing mechanism, high reliability and the like.
Those skilled in the art will appreciate that, in addition to implementing the system and its various devices, modules, units provided by the present invention as pure computer readable program code, the system and its various devices, modules, units provided by the present invention can be fully implemented by logically programming method steps in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Therefore, the system and various devices, modules and units thereof provided by the invention can be regarded as a hardware component, and the devices, modules and units included in the system for realizing various functions can also be regarded as structures in the hardware component; means, modules, units for performing the various functions may also be regarded as structures within both software modules and hardware components for performing the method.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention. The embodiments and features of the embodiments of the present application may be combined with each other arbitrarily without conflict.

Claims (10)

1. A block chain integral chain crossing method based on an intelligent contract is characterized by comprising the following steps:
step S1: is divided intoRespectively issuing the same type of integral on a blockchain A and a blockchain B which have compatible virtual machines, wherein the integral T issued on the blockchain A is the integral TAThe integral T issued on the block chain B is the integral TB
Step S2: respectively creating corresponding integral addresses on a block chain A and a block chain B for a user needing to carry out chain crossing on the integral T;
step S3: setting n monitoring nodes in an intelligent contract, wherein n > is 2;
step S4: when the chain is needed to be crossed, the user calls the locking function of the intelligent contract on the block chain A to lock a certain amount of points T of the userAAnd issuing event information of integral locking to the block chain;
step S5: monitoring nodes jointly supervise an integral locking event on the block chain A, voting is carried out when the nodes monitor the event, and the casting integral function of an intelligent contract on the block chain B is called after the vote passes;
step S6: casting and locking the integral T on the blockchain BAIntegral T of equal amountBIntegral of casting TBIt will be assigned to the user's address on blockchain B, completing the credit stride.
2. The intelligent contract-based blockchain scoring chaining method according to claim 1, wherein the step S3 includes: all monitoring nodes will get the calling integral T before crossing the chainAAnd integral TBThe authority of the intelligent contract.
3. A method for block chain points crossing according to claim 1, wherein the condition satisfied by the voting in the step S5 is:
when n is 2, the agreement of 2 monitoring nodes is required;
when n > is 3, 2/3 and more monitoring node agrees.
4. The intelligent contract-based blockchain credit chaining method according to claim 1, further comprising:
step S7: when a user needs to cross the integral T from the block chain B to the block chain A, the destruction function of the intelligent contract on the block chain B needs to be called, a destruction event is sent to the block chain, and a certain amount of integral T is destroyedB
5. The intelligent contract-based blockchain scoring chaining method according to claim 4, wherein the step S7 further comprises: after the monitoring nodes complete voting confirmation, the unlocking functions of the intelligent contracts on the block chain A are respectively called, and the integral T of the locks with the same number is obtainedAWill be assigned to the user's address on blockchain a.
6. A blockchain scoring cross-chaining system based on intelligent contracts, comprising:
module M1: respectively issuing the same type of integral on two block chains A and B with compatible virtual machines, wherein the integral T issued on the block chain A is the integral TAThe integral T issued on the block chain B is the integral TB
Module M2: respectively creating corresponding integral addresses on a block chain A and a block chain B for a user needing to carry out chain crossing on the integral T;
module M3: setting n monitoring nodes in an intelligent contract, wherein n > is 2;
module M4: when the chain is needed to be crossed, the user calls the locking function of the intelligent contract on the block chain A to lock a certain amount of points T of the userAAnd issuing event information of integral locking to the block chain;
module M5: monitoring nodes jointly supervise an integral locking event on the block chain A, voting is carried out when the nodes monitor the event, and the casting integral function of an intelligent contract on the block chain B is called after the vote passes;
module M6: casting and locking the integral T on the blockchain BAIntegral T of equal amountBIntegral of casting TBWill be allocated to the address of the user on the block chain B to complete the integral cross-chain。
7. The smart contract-based blockchain scoring cross-chain system of claim 6, wherein said module M3 comprises: all monitoring nodes will get the calling integral T before crossing the chainAAnd integral TBThe authority of the intelligent contract.
8. A smart contract-based blockchain credit cross-chain system according to claim 6, wherein the condition satisfied by the voting pass in the module M5 is:
when n is 2, the agreement of 2 monitoring nodes is required;
when n > is 3, 2/3 and more monitoring node agrees.
9. The intelligent contract-based blockchain scoring cross-chain system of claim 6, further comprising:
module M7: when a user needs to cross the integral T from the block chain B to the block chain A, the destruction function of the intelligent contract on the block chain B needs to be called, a destruction event is sent to the block chain, and a certain amount of integral T is destroyedB
10. The smart contract-based blockchain scoring cross-chain system of claim 6, wherein said module M7 further comprises: after the monitoring nodes complete voting confirmation, the unlocking functions of the intelligent contracts on the block chain A are respectively called, and the integral T of the locks with the same number is obtainedAWill be assigned to the user's address on blockchain a.
CN202111183036.4A 2021-10-11 2021-10-11 Block chain integral chain-crossing method and system based on intelligent contract Pending CN113822763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111183036.4A CN113822763A (en) 2021-10-11 2021-10-11 Block chain integral chain-crossing method and system based on intelligent contract

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111183036.4A CN113822763A (en) 2021-10-11 2021-10-11 Block chain integral chain-crossing method and system based on intelligent contract

Publications (1)

Publication Number Publication Date
CN113822763A true CN113822763A (en) 2021-12-21

Family

ID=78916356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111183036.4A Pending CN113822763A (en) 2021-10-11 2021-10-11 Block chain integral chain-crossing method and system based on intelligent contract

Country Status (1)

Country Link
CN (1) CN113822763A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112287029A (en) * 2020-11-17 2021-01-29 北京物资学院 Block chain multi-chain cross-chain system and implementation mechanism thereof
CN112527913A (en) * 2021-02-09 2021-03-19 北京全息智信科技有限公司 Block chain cross-chain integral sharing method, device, electronic equipment and system
CN112633868A (en) * 2019-10-08 2021-04-09 橙载(上海)信息技术有限公司 Cross-chain asset transfer method based on intelligent contract implementation
CN112767043A (en) * 2021-01-26 2021-05-07 中国人寿保险股份有限公司上海数据中心 Multi-platform integration system and method based on block chain and storage medium
CN112837048A (en) * 2020-02-03 2021-05-25 腾讯科技(深圳)有限公司 Cross-block-chain data processing method, device, equipment and computer storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112633868A (en) * 2019-10-08 2021-04-09 橙载(上海)信息技术有限公司 Cross-chain asset transfer method based on intelligent contract implementation
CN112837048A (en) * 2020-02-03 2021-05-25 腾讯科技(深圳)有限公司 Cross-block-chain data processing method, device, equipment and computer storage medium
CN112287029A (en) * 2020-11-17 2021-01-29 北京物资学院 Block chain multi-chain cross-chain system and implementation mechanism thereof
CN112767043A (en) * 2021-01-26 2021-05-07 中国人寿保险股份有限公司上海数据中心 Multi-platform integration system and method based on block chain and storage medium
CN112527913A (en) * 2021-02-09 2021-03-19 北京全息智信科技有限公司 Block chain cross-chain integral sharing method, device, electronic equipment and system

Similar Documents

Publication Publication Date Title
CN110012015B (en) Block chain-based Internet of things data sharing method and system
CN109151013A (en) Logistics information platform based on alliance's block chain
CN108573341B (en) Workflow system construction method based on alliance chain
CN110033271B (en) Cross-chain transaction method, system and computer readable storage medium
Hashim et al. Sharding for scalable blockchain networks
CN107733855A (en) A kind of block catenary system and application process that can support publicly-owned chain, alliance's chain and privately owned chain simultaneously
CN110334525B (en) Block chain based multi-layer alliance type account management system and method
CN112311772B (en) Hyperridge-based cross-domain certificate management system and method
CN110019103B (en) Cross-chain system and cross-chain implementation method based on block chain
CN112163950A (en) Block chain network construction method and system convenient for expansion and node resource reuse and terminal equipment
CN111429303A (en) Service platform based on block chain
CN111047329A (en) Industrial chain big data sharing and circulating system based on block chain
CN110309676B (en) Block chain multi-channel technology-based automobile supply chain safety protection method
Li et al. Blockchain technology empowers telecom network operation
Mao et al. A survey on cross-chain technology: Challenges, development, and prospect
Zhong et al. Research on cross-chain technology of blockchain: Challenges and prospects
Ali et al. Ensuring security and transparency in distributed communication in iot ecosystems using blockchain technology: Protocols, applications and challenges
CN111028078A (en) Method for applying block chain intelligent contract technology to bill pool service
CN113822763A (en) Block chain integral chain-crossing method and system based on intelligent contract
CN111310945B (en) Operation and maintenance management method and device and electronic equipment
CN111541547B (en) Federation chain architecture providing multi-tier data privacy
US11121874B2 (en) Method for analyzing data using a blockchain, a data provider and a data customer therefor
CN112037055A (en) Transaction processing method and device, electronic equipment and readable storage medium
CN116579816A (en) Transaction method and system for data element circulation based on hyperlink
CN114024687B (en) Method for realizing NFT detachable and interchangeable through locking reissue

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