CN108074081A - The transfer method and device of a kind of virtual resource - Google Patents

The transfer method and device of a kind of virtual resource Download PDF

Info

Publication number
CN108074081A
CN108074081A CN201711294728.XA CN201711294728A CN108074081A CN 108074081 A CN108074081 A CN 108074081A CN 201711294728 A CN201711294728 A CN 201711294728A CN 108074081 A CN108074081 A CN 108074081A
Authority
CN
China
Prior art keywords
virtual resource
trustship
main chain
chain
side chain
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
CN201711294728.XA
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 Win Win Network Technology Co Ltd
Original Assignee
Shanghai Win Win Network 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 Shanghai Win Win Network Technology Co Ltd filed Critical Shanghai Win Win Network Technology Co Ltd
Priority to CN201711294728.XA priority Critical patent/CN108074081A/en
Publication of CN108074081A publication Critical patent/CN108074081A/en
Pending legal-status Critical Current

Links

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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • G06Q20/0855Payment architectures involving remote charge determination or related payment systems involving a third party
    • 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/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3276Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device
    • 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/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present invention provides a kind of virtual resource transfer methods, and applied to the decentralization system for including block chain side chain and main chain, this method includes:Issue has trustship intelligence contract on the main chain;When the virtual resource is transferred to the side chain from the main chain, trustship intelligence contract described in virtual resource sending direction sends transfer instructions;When the virtual resource is transferred to the main chain from the side chain, the miner for obtaining main chain block book keeping operation power sends the Transaction Information to the trustship intelligence contract, and the Transaction Information is included to the block of main chain, voting mechanism is set in the trustship intelligence contract, after the miner for obtaining block book keeping operation power meets the ballot of same transaction, trustship intelligence contract initiates payment.Issue can effectively be managed the virtual resource remaining sum on side chain for the intelligent contract of trustship side chain virtual resource on main chain.

Description

The transfer method and device of a kind of virtual resource
Technical field
It is virtually provided the present invention relates to information technology field more particularly in the decentralization system based on block chain The method and apparatus of source transfer.
Background technology
Side chain is a kind of special block chain, and the technology that it is called " SPV wedgings " usually using one kind is realized and other areas Assets transfer between block chain, this enables a user to use new encryption money-system with existing assets.By inherit and It is multiplexed powerful block chain main chain (such as bit coin block chain), it is thus also avoided that mobility shortage and market fluctuation of new money etc. are asked Topic;And since side chain is independent, isolation a system, the serious problems occurred in side chain only can influence side chain in itself, This greatly reduces the risk and costs of innovation.
However the now existing decentralization system comprising block chain main chain and side chain, majority are only capable of completing assets from master Unidirectional transfer of the chain to side chain;Moreover, because the monitoring of assets transfer process on side chain from main chain, easily produced on side chain The fraud of raw assets transfer especially when rollback occurs for side chain, is easy to generate the transaction of " honeysuckle " on side chain.
The content of the invention
For it is mentioned above the problem of, the present invention provides a kind of virtual resource transfer method, applied to including block The decentralization system of chain side chain and main chain, this method include:
Issue has trustship intelligence contract on the main chain, and the trustship intelligence contract is used for the main chain of block chain described in trustship The virtual resource shifted between side chain;
When the virtual resource is transferred to the side chain from the main chain, trustship intelligence described in virtual resource sending direction Contract sends transfer instructions, and the transfer instructions include the virtual resource quantity of transfer, virtual resource recipient in the side chain Account information;
When the virtual resource is transferred to the main chain from the side chain, virtual resource sender sends out on side chain first The transfer instructions that virtual resource described in cloth shifts, and the transfer instructions are included by Transaction Information, the transaction by the side chain Information include transfer virtual resource quantity, virtual resource recipient the main chain account information,
It obtains the miner of main chain block book keeping operation power and sends the Transaction Information to the trustship intelligence contract, and by the friendship Easy information is included to the block of main chain,
Voting mechanism is set in the trustship intelligence contract, the support is sent in the miner of the acquisition main chain block book keeping operation power After the Transaction Information of pipe intelligence contract reaches the number of voting mechanism setting of the trustship intelligence contract, the support Pipe intelligence contract initiates payment, and the virtual resource is sent to the address of the virtual resource recipient.
More preferably, side chain is set to be transferred in the block of the main chain and includes area, the side chain, which is transferred to, includes area for including The miner for obtaining main chain block book keeping operation power is sent to the Transaction Information of the trustship intelligence contract.
More preferably, when the Transaction Information has been included to the block of main chain, acquisition main chain block afterwards is kept accounts The miner of power, can be only to trustship intelligence when initiating the ballot on the Transaction Information to the trustship intelligence contract Contract issues unique identification's code of the Transaction Information, and unique identification's code of the Transaction Information is included to main chain In block.
More preferably, the trustship intelligence contract is issued in a side chain after main chain registration, the trustship intelligence Contract is exclusively used in the virtual resource transfer trustship of the main chain and a side chain.
More preferably, the address of the trustship intelligence contract uses independent coded format, and the absolute coding form includes Hash operation is carried out based on the relevant Digital ID of the side chain identity.
Correspondingly, the present invention also provides a kind of virtual resource transfer device, applied to including block chain main chain and side The decentralization system of chain, which is characterized in that described device includes:
First release module, for issuing trustship intelligence contract on the main chain, the trustship intelligence contract is used to hold in the palm Manage the virtual resource shifted between the main chain and side chain of the block chain;
Second shift module, for the virtual resource to be transferred to the side chain from the main chain, including virtual resource Trustship intelligence contract described in sending direction sends transfer instructions, and the transfer instructions include the virtual resource quantity, virtual of transfer Resource recipient is in the account information of the side chain;
3rd shift module, for the virtual resource to be transferred to the main chain, second transfer from the side chain Module includes the 4th acquiring unit, and to obtain the Transaction Information that the side chain is included, virtual resource sender is first in side chain The transfer instructions of the upper issue virtual resource transfer, and the transfer instructions are included by Transaction Information by the side chain, it is described Transaction Information include transfer virtual resource quantity, virtual resource recipient the main chain account information,
5th sends and includes unit, and the miner to obtain main chain block book keeping operation power sends to the trustship intelligence contract The Transaction Information, and the Transaction Information is included to the block of main chain,
6th ballot and payment unit, set voting mechanism in the trustship intelligence contract, in the acquisition main chain block note The Transaction Information that the miner of account power is sent to the trustship intelligence contract reaches the voting machine of the trustship intelligence contract After setting up fixed number, the trustship intelligence contract initiates payment, and the virtual resource is sent to the virtual resource and receives The address of side.
More preferably, the 3rd shift module further includes the 7th and includes unit, for being set into the block of the main chain Side chain be transferred to include area and include the miner of the acquisition main chain block book keeping operation power and be sent to the friendship of the trustship intelligence contract Easy information.
In the present invention, issue, can be effectively to side chain for the intelligent contract of trustship side chain virtual resource on main chain On virtual resource remaining sum be managed, side chain node by the synchronization and verification to main chain block content, can understand in real time and The virtual resource transfer case to follow up on the side chain, prevents the transaction swindling on side chain;Simultaneously because the virtual resource on side chain Disengaging all recorded in the block of main chain, when block rollback occurs for main chain, the transaction on side chain can also be sent out accordingly Raw rollback, therefore can effectively prevent the transaction of " honeysuckle ".Further, can be that different side chains set different trustship intelligence Contract connects intelligent contract and side chain identity, can be convenient for being managed the assets of different side chains.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments described in application, for those of ordinary skill in the art, can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is that can occur to set on the block chain main chain that virtual resource mutually shifts with side chain shown in one embodiment of the invention Put the schematic diagram of trustship intelligence contract;
Fig. 2 is the block structure that the block chain main chain that virtual resource mutually shifts occurs shown in one embodiment of the invention Schematic diagram;
Fig. 3 is a kind of logic diagram of carrying virtual resource transfer device shown in one embodiment of the invention.
Specific embodiment
In order to more specifically describe the present invention, below in conjunction with the accompanying drawings and specific embodiment is to technical scheme It is described in detail.
To solve the two-way transfer of the assets between main chain side chain, and transaction swindling on side chain or dual payment is avoided to ask Topic, the present invention provides a kind of method and devices of block chain interchain assets transfer.Fig. 1 is shown can occur virtual money with side chain A kind of embodiment of trustship intelligence contract on the block chain main chain that source is mutually shifted is set, is that different side chains is set up accordingly Trustship intelligence contract, such as trustship intelligence and about 1 are set for side chain 1 on main chain, for side chain 2, trustship intelligence and about 2 are set.It closes In the foundation and issue of the trustship intelligence contract, it can register to finish in side chain and get after side chain identity ID by the negative of the side chain Duty direction management trustship intelligence contract template intelligent contract transmission establishes template instruction, in the instruction can include side chain title, The attribute informations such as side chain identity ID, address, the intelligent contract of the management trustship intelligence contract template are established according to the content of instruction New trustship intelligence contract, and independent coding mode is used to the address (ID of intelligent contract) of the trustship intelligence contract, from And the address (ID of intelligent contract) with other intelligent contracts is avoided to repeat.The independent coding mode can be special volume Code plus random number carry out the mode of Hash operation again, the specific coding can select the title such as side chain, side chain identity ID or build The forms such as the address of sender of instruction of vertical intelligence contract, are not construed as limiting in the present invention.Certainly, those skilled in the art It is known, for different side chains, a kind of preferably embodiment that different trustship intelligence contracts is the present invention, institute of the present invention are set The technical solution of offer also contemplated the implementation set up same trustship intelligence contract for a plurality of side chain and carry out virtual resource transfer Mode does not repeat in this application.
Can be by being issued on the block chain main chain in registration on the acquisition methods of above-mentioned side chain identity ID Hold and obtain.Similar to the issue transaction of fixed form is used on block chain, block chain main chain designer can be in block chain Format content used in upper structure registration side chain identity, is filled in, signed electronically and is submitted by the node users of main chain It to block catenary system, propagates from being generated to, then to by proof of work, whole network node verification, finally remembers in a network Record block chain main chain.Block chain main chain can authorize the user with trusted public keys identity by building trusted public keys list Above-mentioned side chain identity registration operation can be carried out, the structure of above-mentioned trusted public keys list can such as exist there are many realization method Trusted public keys white list is added in block chain main chain bottom-layer design, after user's filling registration information and electronic signature, judges to test Sign whether the public key used in the electronic signature is listed in above-mentioned credible white list;It is public that mandate can also be added in block chain main chain Key (such as public key of ca authentication mechanism or the public key of block chain main chain operator) has side chain with the mandate public key signature certification The public key or public key certificate of identity registration qualification.
On the format content used in above-mentioned registration side chain identity, it specifically may be employed such as to register in block chain and go The form of centralization domain name, with the body of the corresponding side chain of Data Identification pointed by the decentralization domain name or the decentralization domain name Part.The generating mode of decentralization domain name addressing applies for domain name, such as issue one on block chain main chain first for user Block chain domain name registration information, by protocol format registered domain name, in block chain, decentralization domain name is typically to have uniqueness , such as a domain name is registered as ceying, pass through in the domain-name information and propagated in a network from being generated to, then to passing through work Amount proves, whole network node verification, and after final entry to block chain main chain is so as to be included, the user can be then to block chain Main chain issues domain name redirection, that is, the other information that domain name association is directed toward is issued, such as side chain identification information A.Subsequently, User eventually points to side chain identification information A therefrom to obtain side chain identification information A by domain name ceying.Due to Decentralization domain name has uniqueness, thus the decentralization domain name or the decentralization domain name weight are used in block chain main chain The pointed data message of orientation can uniqueness mark side chain identity.
Fig. 2 illustrates to carry the embodiment of the block structure of the block chain main chain of above-mentioned trustship intelligence contract, the block knot Structure includes block head and block body, block body using Tx as unit, include and transaction on main chain, instruction issued by the node of main chain And other information, block head generally comprises the cryptographic Hash of previous block, the block body of this block is included the single data of content and plucked Will and this block the contents such as difficulty, timestamp, random number, do not limit particularly herein.
When being intended to shift virtual resource from main chain to side chain, the above-mentioned trustship intelligence contract of virtual resource sending direction, which is sent, to be turned Account instruct, the transfer instructions include transfer virtual resource quantity, virtual resource recipient the side chain account information, Under normal circumstances for the ease of verifying that the instruction also includes the account information of virtual resource sender.In the trustship intelligence contract Record have on corresponding side chain circulation virtual resource quantity overall balance, be verified in the content of above-metioned instruction on main chain logical Later (Transaction Information (Tx) is included by afterwards by main chain), the trustship intelligence contract income respective numbers virtual resource (according to Main chain specifically know together agreement virtual resource sender may need the certain service charge or fuel cost of supplementary payments), and The virtual resource increment of the respective numbers is included in the remaining sum of corresponding side chain.All nodes on side chain can synchronous main chain institute There is content, therefore after the virtual resource of this respective numbers enters in the side chain remaining sum of trustship intelligence contract, on the side chain Virtual resource recipient's account obtains the virtual resource of this respective numbers.
When virtual resource need to be transferred to main chain from side chain, the virtual resource sender on side chain issues on side chain first The transfer instructions of virtual resource, the transfer instructions are included in side chain block as Transaction Information after side chain miner verifies (Tx), which, which includes, virtual resource quantity, virtual resource reciever to be transferred the account information on main chain, generally In the case of for the ease of verifying that the instruction also includes the account information of virtual resource sender.Miner on main chain can be synchronous And the content included on verification side chain, after that is issued on side chain is got is sent to the Transaction Information of block chain main chain, led The Transaction Information is sent to trustship intelligence contract by the miner of chain block book keeping operation power, since above-mentioned sent to trustship intelligence contract is handed over Easy information carries out on main chain, and the miner for obtaining main chain block book keeping operation power stills need to include the Transaction Information to main chain Block in, to participate in the verification that main chain includes information.The trustship intelligence contract is provided with voting mechanism, is obtaining not same district The number that the miner of block book keeping operation power is sent to same transaction information the trustship intelligence contract reaches the ballot of the intelligence contract After the number of mechanism setting, the condition set in the trustship intelligence contract meets, i.e., can initiate to pay, the void into the Transaction Information Intend resource recipient account transfer respective numbers virtual resource, while in the trustship intelligence contract corresponding side chain account it is total Remaining sum can also deduct corresponding quantity, complete the transfer of this virtual resource.
More preferably, in order to save block the space occupied on main chain, the friendship of main chain account is transferred to by side chain when one Easy information is included by the miner of an acquisition block book keeping operation power to the block of main chain, other obtain block book keeping operation power afterwards When miner sends this transaction information to trustship intelligence contract again, the original text of the Transaction Information can not be retransmited, and is used Unique identification's code (i.e. by the cryptographic Hash TxID of Transaction Information original text) that the Transaction Information is obtained when being issued on side chain, and will Unique identification code (TxID) is included to the block of main chain.Since intelligent contract usually there is instruction-hash to be worth mapping table Function is established, can hash conversion be made into the instruction received automatically, and instruction original text is created as mapping table with its hash value, So in time later miner to trustship intelligence contract sends be same Transaction Information TxID, i.e. original Transaction Information Hash Value, the trustship intelligence contract also can rapidly find former Transaction Information, complete count of votes.
More preferably, in order to facilitate the management of main chain block content, " side chain turn can be specially set in the block body of main chain Enter to include area ", for obtain block book keeping operation power miner include Transaction Information being sent on different side chains, being transferred to main chain or The TxID of the Transaction Information assists to complete the verification to the side chain overall balance of corresponding trustship intelligence contract, if shifted from side chain Quantity to the fictitious assets of main chain is more than the account balance that is recorded in corresponding trustship intelligence contract of the side chain, and main chain can be straight It connects and judges that the transaction content is invalid, not include.
It is worth noting that, the type of the virtual resource to circulate on the virtual resource and side chain that circulate on main chain can phase It together, can not also be same.A kind of virtual resource form that circulates is only capable of on usual main chain, as being only capable of circulation bit on bit coin block chain Coin, on side chain the resource form of compatible main chain and circulation have the virtual resource form of other forms, trustship intelligence contract should at this time Have the function of to convert number by the exchange rate, after receiving transfer instructions that main chain sender sends and being verified, by turn side The virtual resource of chain account changes the virtual resource form of the side chain circulation of respective numbers into, and is recorded in trustship intelligence contract In account detail and overall balance;After the Transaction Information and ballot sent in the side chain for receiving miner's transmission are verified, first should It is exchanged accordingly according to the conversion exchange rate of virtual resource, then the virtual resource that the main chain of respective numbers is circulated pays master Chain account.
Based on same inventive concept, the present invention also provides a kind of virtual resource transfer device, applied to including block The decentralization system 30 of chain main chain and side chain, which is characterized in that described device includes:
First release module 301, for issuing trustship intelligence contract on the main chain, the trustship intelligence contract is used for The virtual resource shifted between the main chain and side chain of block chain described in trustship;
Second shift module 302, for the virtual resource to be transferred to the side chain from the main chain, including virtually providing Trustship intelligence contract described in the sending direction of source sends transfer instructions, and the transfer instructions include the virtual resource quantity of transfer, void Intend account information of the resource recipient in the side chain;
3rd shift module 303, for the virtual resource to be transferred to the main chain from the side chain, described 3rd turn Shifting formwork block includes the 4th acquiring unit 3034, and to obtain the Transaction Information that the side chain is included, virtual resource sender is first The transfer instructions of the virtual resource transfer are issued on side chain, and the transfer instructions are included by transaction letter by the side chain Breath, the Transaction Information include transfer virtual resource quantity, virtual resource recipient the main chain account information,
5th sends and includes unit 3035, to obtain the miner of main chain block book keeping operation power to the trustship intelligence contract The Transaction Information is sent, and the Transaction Information is included to the block of main chain,
6th votes and payment unit 3036, and voting mechanism is set in the trustship intelligence contract, in the acquisition main chain area The Transaction Information that the miner of block book keeping operation power is sent to the trustship intelligence contract reaches the throwing of the trustship intelligence contract After the number of ticket mechanism setting, the trustship intelligence contract initiates payment, and the virtual resource is sent to the virtual resource The address of recipient.
More preferably, the 3rd shift module further includes the 7th and includes unit 3037, for into the block of the main chain The side chain of setting, which is transferred to include area and include the miner of the acquisition main chain block book keeping operation power, is sent to the institute of the trustship intelligence contract State Transaction Information.
In addition, the part of the application can be applied to computer program product, such as computer program instructions, when its quilt When computer performs, by the operation of the computer, it can call or provide according to the present processes and/or technical solution. And the program instruction of the present processes is called, be possibly stored in fixed or moveable recording medium and/or is passed through Broadcast or the data flow in other signal bearing medias and be transmitted and/or be stored according to program instruction run calculating In the working storage of machine equipment.Here, including an equipment according to one embodiment of the application, which includes storing The memory of computer program instructions and the processor for executing program instructions, wherein, when the computer program instructions are by this When processor performs, trigger the equipment and perform based on the methods and/or techniques scheme in aforesaid plurality of embodiment.
It should be noted that the application can be carried out in the assembly of software and/or software and hardware, for example, can adopt With application-specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment In, the software program of the application can perform to realize above step or function by processor.Similarly, the software of the application Program can be stored in computer readable recording medium storing program for performing (including relevant data structure), for example, RAM memory, magnetic or CD-ROM driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the application, for example, As the circuit for coordinating to perform each step or function with processor.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned exemplary embodiment, Er Qie In the case of without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and scope of the present application is by appended power Profit requirement rather than above description limit, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims Variation is included in the application.Any reference numeral in claim should not be considered as to the involved claim of limitation.This Outside, it is clear that one word of " comprising " is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in device claim is multiple Unit or device can also be realized by a unit or device by software or hardware.The first, the second grade words are used for table Show title, and do not represent any particular order.

Claims (7)

1. a kind of virtual resource transfer method, applied to the decentralization system for including block chain main chain and side chain,
It is characterized in that, the described method includes:
Issue has trustship intelligence contract on the main chain, and the trustship intelligence contract is used for the main chain of block chain and side described in trustship The virtual resource shifted between chain;
When the virtual resource is transferred to the side chain from the main chain, trustship intelligence contract described in virtual resource sending direction Send transfer instructions, the transfer instructions include transfer virtual resource quantity, virtual resource recipient the side chain account Family information;
When the virtual resource is transferred to the main chain from the side chain, virtual resource sender issues institute on side chain first The transfer instructions of virtual resource transfer are stated, and the transfer instructions are included by Transaction Information, the Transaction Information by the side chain Virtual resource quantity, virtual resource recipient comprising transfer the main chain account information,
The miner for obtaining main chain block book keeping operation power sends the Transaction Information to the trustship intelligence contract, and the transaction is believed Breath is included to the block of main chain,
Voting mechanism is set in the trustship intelligence contract, the trustship intelligence is sent in the miner of the acquisition main chain block book keeping operation power After the Transaction Information of energy contract reaches the number of voting mechanism setting of the trustship intelligence contract, the trustship intelligence Energy contract initiates payment, and the virtual resource is sent to the address of the virtual resource recipient.
2. virtual resource transfer method according to claim 1, which is characterized in that side chain is set in the block of the main chain It is transferred to and includes area, the side chain is transferred to the miner for including area for including the acquisition main chain block book keeping operation power and is sent to the trustship The Transaction Information of intelligent contract.
3. virtual resource transfer method according to claim 1 or 2, which is characterized in that when the Transaction Information by Include to the block of main chain, the miner for obtaining main chain block book keeping operation power afterwards to the trustship intelligence contract initiate on During the ballot of the Transaction Information, unique identification's code of the Transaction Information can be only issued to the trustship intelligence contract, And unique identification's code of the Transaction Information is included to the block of main chain.
4. virtual resource transfer method according to claim 1, which is characterized in that the trustship intelligence contract is described one Side chain is issued after main chain registration, and the trustship intelligence contract is exclusively used in the virtual resource of the main chain and a side chain Shift trustship.
5. virtual resource transfer method according to claim 4, which is characterized in that adopt the address of the trustship intelligence contract With independent coded format, the absolute coding form includes carrying out Hash based on the relevant Digital ID of the side chain identity Computing.
6. a kind of virtual resource transfer device, applied to the decentralization system for including block chain main chain and side chain, feature It is, described device includes:
First release module, for issuing trustship intelligence contract on the main chain, the trustship intelligence contract is used for creche State the virtual resource shifted between the main chain and side chain of block chain;
Second shift module for the virtual resource to be transferred to the side chain from the main chain, is sent including virtual resource Trustship intelligence contract described in direction sends transfer instructions, and the transfer instructions include the virtual resource quantity of transfer, virtual resource Recipient is in the account information of the side chain;
3rd shift module, for the virtual resource to be transferred to the main chain, the 3rd shift module from the side chain Including the 4th acquiring unit, to obtain the Transaction Information that the side chain is included, virtual resource sender sends out on side chain first The transfer instructions that virtual resource described in cloth shifts, and the transfer instructions are included by Transaction Information, the transaction by the side chain Information include transfer virtual resource quantity, virtual resource recipient the main chain account information,
5th sends and includes unit, to obtain described in the miner to trustship intelligence contract transmission of main chain block book keeping operation power Transaction Information, and the Transaction Information is included to the block of main chain,
6th ballot and payment unit, set voting mechanism in the trustship intelligence contract, in the acquisition main chain block book keeping operation power Miner be sent to the Transaction Information of the trustship intelligence contract and reach the voting machine of the trustship intelligence contract and set up After fixed number, the trustship intelligence contract initiates payment, and the virtual resource is sent to the virtual resource recipient's Address.
7. virtual resource transfer device according to claim 6, which is characterized in that the 3rd shift module further includes Seven include unit, and the side chain for being set into the block of the main chain, which is transferred to, includes area and include the acquisition main chain block book keeping operation The miner of power is sent to the Transaction Information of the trustship intelligence contract.
CN201711294728.XA 2017-12-08 2017-12-08 The transfer method and device of a kind of virtual resource Pending CN108074081A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711294728.XA CN108074081A (en) 2017-12-08 2017-12-08 The transfer method and device of a kind of virtual resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711294728.XA CN108074081A (en) 2017-12-08 2017-12-08 The transfer method and device of a kind of virtual resource

Publications (1)

Publication Number Publication Date
CN108074081A true CN108074081A (en) 2018-05-25

Family

ID=62158182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711294728.XA Pending CN108074081A (en) 2017-12-08 2017-12-08 The transfer method and device of a kind of virtual resource

Country Status (1)

Country Link
CN (1) CN108074081A (en)

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108805568A (en) * 2018-05-28 2018-11-13 夸克链科技(深圳)有限公司 A kind of intelligent coordinated trade mode of block chain
CN108881187A (en) * 2018-05-31 2018-11-23 杭州秘猿科技有限公司 A kind of across chain data transferring method and equipment suitable for permitting chain scene
CN108985774A (en) * 2018-07-18 2018-12-11 百度在线网络技术(北京)有限公司 A kind of motivational techniques, device, equipment and the storage medium of block chain network
CN109063049A (en) * 2018-07-18 2018-12-21 百度在线网络技术(北京)有限公司 A kind of account processing method, device, equipment and the storage medium of block chain network
CN109067863A (en) * 2018-07-25 2018-12-21 上海点融信息科技有限责任公司 For managing the method, apparatus and storage medium of the node identification of block chain link point
CN109117097A (en) * 2018-09-05 2019-01-01 深圳正品创想科技有限公司 A kind of date storage method and system based on block chain
CN109409885A (en) * 2018-10-29 2019-03-01 深圳声笑科技有限公司 Across chain method of commerce, device and storage medium on block chain
CN109432780A (en) * 2018-09-29 2019-03-08 杭州复杂美科技有限公司 Game dispositions method and method for gaming, equipment and storage medium based on parallel chain
CN109447642A (en) * 2018-10-18 2019-03-08 尚维斯 A method of it is mixed and is known together based on block chain multichain
CN109461080A (en) * 2018-10-18 2019-03-12 尚维斯 A kind of implementable mode of business based on block chain across chain interaction
CN109493024A (en) * 2018-09-29 2019-03-19 杭州复杂美科技有限公司 Digital asset trustship method, equipment and storage medium
CN109559228A (en) * 2018-11-29 2019-04-02 腾讯科技(深圳)有限公司 Resource transfers method, apparatus, computer equipment and readable storage medium storing program for executing
CN109640135A (en) * 2018-12-07 2019-04-16 深圳市云歌人工智能技术有限公司 It issues video and obtains the method, apparatus and storage medium of video
CN109726251A (en) * 2018-12-28 2019-05-07 苏州鸿链信息科技有限公司 A kind of across chain distributed business system and method based on the development of block chain
CN110097467A (en) * 2019-05-05 2019-08-06 华中科技大学 A kind of side chain test method for intelligent contract safety and stability
CN110098938A (en) * 2019-04-17 2019-08-06 上海沄界信息科技有限公司 Accelerate solution and system under a kind of trusted commission formula chain
WO2019237750A1 (en) * 2018-06-13 2019-12-19 阿里巴巴集团控股有限公司 Blockchain-based exchange method and apparatus for available resource quotas
CN110599182A (en) * 2019-09-27 2019-12-20 腾讯科技(深圳)有限公司 Resource management method and device
CN110599323A (en) * 2019-09-24 2019-12-20 腾讯科技(深圳)有限公司 Resource processing method and processing equipment
CN110688428A (en) * 2019-09-24 2020-01-14 北京海益同展信息科技有限公司 Method and device for issuing intelligent contracts
WO2020029930A1 (en) * 2018-08-09 2020-02-13 杭州复杂美科技有限公司 Asset retrieval method, device, and storage medium
CN110866270A (en) * 2019-10-18 2020-03-06 深圳市元征科技股份有限公司 Trade method, system and device for industry information
CN111213170A (en) * 2018-09-18 2020-05-29 王健 Asset hosting method, storage medium, blockchain system, and blockchain node
CN111327648A (en) * 2018-12-13 2020-06-23 北京果仁宝软件技术有限责任公司 Processing method and system based on block chain intelligent contract
CN111585767A (en) * 2020-04-30 2020-08-25 卓尔智联(武汉)研究院有限公司 Data exchange method and device for main chain and side chain
CN111915296A (en) * 2020-07-02 2020-11-10 连连智能科技有限公司 Virtual resource transfer method and system
CN112561384A (en) * 2020-12-23 2021-03-26 iCALC控股有限公司 Engine-based data processing method, device and equipment and readable storage medium
CN112988751A (en) * 2019-04-22 2021-06-18 网易(杭州)网络有限公司 Timing task scheduling method and device based on block chain
WO2021135934A1 (en) * 2019-12-31 2021-07-08 深圳市红砖坊技术有限公司 Blockchain accounting method and apparatus, node and storage medium
CN113900592A (en) * 2021-10-10 2022-01-07 普华云创科技(北京)有限公司 Space presentation method and device based on block chain technology and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160330034A1 (en) * 2015-05-07 2016-11-10 Blockstream Corporation Transferring ledger assets between blockchains via pegged sidechains
CN106780032A (en) * 2016-12-16 2017-05-31 杭州云象网络技术有限公司 A kind of block chain interchain assets transfer method under multichain scene
CN107038639A (en) * 2017-03-07 2017-08-11 杭州公链网络技术有限公司 A kind of alliance's chain building method of compatible many Asset Type fast transactions
CN107301536A (en) * 2017-06-12 2017-10-27 腾讯科技(深圳)有限公司 Resource transfers method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160330034A1 (en) * 2015-05-07 2016-11-10 Blockstream Corporation Transferring ledger assets between blockchains via pegged sidechains
CN106780032A (en) * 2016-12-16 2017-05-31 杭州云象网络技术有限公司 A kind of block chain interchain assets transfer method under multichain scene
CN107038639A (en) * 2017-03-07 2017-08-11 杭州公链网络技术有限公司 A kind of alliance's chain building method of compatible many Asset Type fast transactions
CN107301536A (en) * 2017-06-12 2017-10-27 腾讯科技(深圳)有限公司 Resource transfers method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
PETERHON(译): "谈一谈:侧链、驱动链和Rootstock双向挂钩设计", 《巴比特HTTPS://WWW.8BTC.COM/ARTICLE/86012》 *
SERGIO DEMIAN LERNER: "DRIVECHAINS, SIDECHAINS AND HYBRID 2-WAY PEG DESIGNS", 《RSK BLOG(HTTPS://DOCS.RSK.CO/ DRIVECHAINS_SIDECHAINS_AND_HYBRID_2-WAY_PEG_DESIGNS_R9.PDF》 *

Cited By (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108805568A (en) * 2018-05-28 2018-11-13 夸克链科技(深圳)有限公司 A kind of intelligent coordinated trade mode of block chain
CN108881187A (en) * 2018-05-31 2018-11-23 杭州秘猿科技有限公司 A kind of across chain data transferring method and equipment suitable for permitting chain scene
WO2019237750A1 (en) * 2018-06-13 2019-12-19 阿里巴巴集团控股有限公司 Blockchain-based exchange method and apparatus for available resource quotas
US11687942B2 (en) 2018-07-18 2023-06-27 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus for processing account of blockchain network, and storage medium
CN108985774A (en) * 2018-07-18 2018-12-11 百度在线网络技术(北京)有限公司 A kind of motivational techniques, device, equipment and the storage medium of block chain network
CN109063049A (en) * 2018-07-18 2018-12-21 百度在线网络技术(北京)有限公司 A kind of account processing method, device, equipment and the storage medium of block chain network
CN108985774B (en) * 2018-07-18 2022-05-31 百度在线网络技术(北京)有限公司 Excitation method, device, equipment and storage medium of block chain network
CN109067863A (en) * 2018-07-25 2018-12-21 上海点融信息科技有限责任公司 For managing the method, apparatus and storage medium of the node identification of block chain link point
CN109067863B (en) * 2018-07-25 2021-03-05 上海点融信息科技有限责任公司 Method, apparatus and storage medium for managing node identification of blockchain node
WO2020029930A1 (en) * 2018-08-09 2020-02-13 杭州复杂美科技有限公司 Asset retrieval method, device, and storage medium
CN109117097A (en) * 2018-09-05 2019-01-01 深圳正品创想科技有限公司 A kind of date storage method and system based on block chain
CN109117097B (en) * 2018-09-05 2020-06-12 深圳正品创想科技有限公司 Data storage method and system based on block chain
CN111213170A (en) * 2018-09-18 2020-05-29 王健 Asset hosting method, storage medium, blockchain system, and blockchain node
CN111213170B (en) * 2018-09-18 2023-11-21 王健 Asset hosting method, storage medium, blockchain system and blockchain node
CN109493024A (en) * 2018-09-29 2019-03-19 杭州复杂美科技有限公司 Digital asset trustship method, equipment and storage medium
CN109432780B (en) * 2018-09-29 2021-08-31 杭州复杂美科技有限公司 Game deployment method based on parallel chain, game method, game device and storage medium
CN109432780A (en) * 2018-09-29 2019-03-08 杭州复杂美科技有限公司 Game dispositions method and method for gaming, equipment and storage medium based on parallel chain
CN109493024B (en) * 2018-09-29 2021-02-09 杭州复杂美科技有限公司 Digital asset hosting method, apparatus, and storage medium
CN109461080A (en) * 2018-10-18 2019-03-12 尚维斯 A kind of implementable mode of business based on block chain across chain interaction
CN109447642A (en) * 2018-10-18 2019-03-08 尚维斯 A method of it is mixed and is known together based on block chain multichain
CN109409885A (en) * 2018-10-29 2019-03-01 深圳声笑科技有限公司 Across chain method of commerce, device and storage medium on block chain
CN109559228B (en) * 2018-11-29 2021-06-11 腾讯科技(深圳)有限公司 Resource transfer method, device, computer equipment and readable storage medium
CN109559228A (en) * 2018-11-29 2019-04-02 腾讯科技(深圳)有限公司 Resource transfers method, apparatus, computer equipment and readable storage medium storing program for executing
CN109640135A (en) * 2018-12-07 2019-04-16 深圳市云歌人工智能技术有限公司 It issues video and obtains the method, apparatus and storage medium of video
CN111327648A (en) * 2018-12-13 2020-06-23 北京果仁宝软件技术有限责任公司 Processing method and system based on block chain intelligent contract
CN111327648B (en) * 2018-12-13 2022-04-12 北京果仁宝软件技术有限责任公司 Processing method and system based on block chain intelligent contract
CN109726251A (en) * 2018-12-28 2019-05-07 苏州鸿链信息科技有限公司 A kind of across chain distributed business system and method based on the development of block chain
CN110098938A (en) * 2019-04-17 2019-08-06 上海沄界信息科技有限公司 Accelerate solution and system under a kind of trusted commission formula chain
CN110098938B (en) * 2019-04-17 2022-05-20 上海寅坤科技发展有限公司 Trusted committee under-chain acceleration solution method and system
CN112988751A (en) * 2019-04-22 2021-06-18 网易(杭州)网络有限公司 Timing task scheduling method and device based on block chain
CN110097467B (en) * 2019-05-05 2021-04-13 华中科技大学 Side chain test system and method for safety and stability of intelligent contract
CN110097467A (en) * 2019-05-05 2019-08-06 华中科技大学 A kind of side chain test method for intelligent contract safety and stability
CN110688428B (en) * 2019-09-24 2021-01-26 北京海益同展信息科技有限公司 Method and device for issuing intelligent contracts
CN110599323A (en) * 2019-09-24 2019-12-20 腾讯科技(深圳)有限公司 Resource processing method and processing equipment
CN110688428A (en) * 2019-09-24 2020-01-14 北京海益同展信息科技有限公司 Method and device for issuing intelligent contracts
CN110599323B (en) * 2019-09-24 2024-02-20 腾讯科技(深圳)有限公司 Resource processing method and processing equipment
CN110599182B (en) * 2019-09-27 2023-08-22 腾讯科技(深圳)有限公司 Resource management method and device
CN110599182A (en) * 2019-09-27 2019-12-20 腾讯科技(深圳)有限公司 Resource management method and device
CN110866270A (en) * 2019-10-18 2020-03-06 深圳市元征科技股份有限公司 Trade method, system and device for industry information
CN110866270B (en) * 2019-10-18 2023-09-05 深圳市元征科技股份有限公司 Trade information transaction method, system and device
WO2021135934A1 (en) * 2019-12-31 2021-07-08 深圳市红砖坊技术有限公司 Blockchain accounting method and apparatus, node and storage medium
CN111585767A (en) * 2020-04-30 2020-08-25 卓尔智联(武汉)研究院有限公司 Data exchange method and device for main chain and side chain
CN111585767B (en) * 2020-04-30 2023-04-07 卓尔智联(武汉)研究院有限公司 Data exchange method and device for main chain and side chain
CN111915296B (en) * 2020-07-02 2022-11-22 众连智能科技有限公司 Virtual resource transfer method and system
CN111915296A (en) * 2020-07-02 2020-11-10 连连智能科技有限公司 Virtual resource transfer method and system
CN112561384A (en) * 2020-12-23 2021-03-26 iCALC控股有限公司 Engine-based data processing method, device and equipment and readable storage medium
CN112561384B (en) * 2020-12-23 2023-12-01 iCALC控股有限公司 Engine-based data processing method, device, equipment and readable storage medium
CN113900592A (en) * 2021-10-10 2022-01-07 普华云创科技(北京)有限公司 Space presentation method and device based on block chain technology and electronic equipment

Similar Documents

Publication Publication Date Title
CN108074081A (en) The transfer method and device of a kind of virtual resource
CN107767267B (en) Virtual resource transfer method and device
TWI814706B (en) Blockchain-implemented method and system
CN115174089B (en) Distributed management method and system for electronic certificate (EDT) of object rights
CN102722931B (en) Voting system and voting method based on intelligent mobile communication devices
CN109409472B (en) Two-dimensional code generation method, data processing device and server
CN112632629B (en) Voting management method, device, medium and electronic equipment based on block chain
CN105052072A (en) Remote authentication and transaction signatures
CN112165382B (en) Software authorization method and device, authorization server side and terminal equipment
CN110298421A (en) A kind of online generation, offline generation and the verification method and device of two dimensional code
CN109491965A (en) The storage method and its network and electronic equipment of purchase sale of electricity contract
CN112069550B (en) Electronic contract evidence-storing system based on intelligent contract mode
CN109583893A (en) The traceable digital cash transaction system based on block chain
CN108898440A (en) Flow exchanging method and device
CN111324663A (en) Data processing method, device and equipment based on block chain and readable storage medium
CN103152401B (en) Mobile terminal and carry out the method, system and the cloud server that log in by it
CN112035896B (en) Electronic contract evidence-storing system based on transaction mode
CN115270193B (en) Data file secure sharing method and device based on block chain and collaborative synchronization
Lopes et al. Blockchain based e-voting system: A proposal
CN110099068A (en) The method, device and equipment of interaction between open platform based on block chain
CN110601850B (en) Scenic spot information recording method, related equipment and storage medium
CN103647650A (en) Rule definition based automatic signature/signature verification device and method
Ye et al. A Coercion-Resistant E-Voting System Based on Blockchain Technology
CN110493008A (en) A kind of block chain authentication method, device, equipment and medium
CN115828328A (en) Method, device, processor and storage medium for managing full life cycle of confidential unstructured data based on block chain in trusted environment

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

Application publication date: 20180525