CN109493015A - A kind of assets transfer method, equipment and storage medium - Google Patents
A kind of assets transfer method, equipment and storage medium Download PDFInfo
- Publication number
- CN109493015A CN109493015A CN201811214950.9A CN201811214950A CN109493015A CN 109493015 A CN109493015 A CN 109493015A CN 201811214950 A CN201811214950 A CN 201811214950A CN 109493015 A CN109493015 A CN 109493015A
- Authority
- CN
- China
- Prior art keywords
- assets
- assets transfer
- node
- main chain
- implementing result
- 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
Links
- 238000012546 transfer Methods 0.000 title claims abstract description 133
- 238000000034 method Methods 0.000 title claims abstract description 70
- 230000001360 synchronised effect Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 6
- 235000013399 edible fruits Nutrition 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 230000006854 communication Effects 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Multi Processors (AREA)
Abstract
The present invention provides a kind of assets transfer method of commerce, equipment and storage medium, this method comprises: receiving assets transfer transaction, the assets transfer, which is traded, to be packaged generates the first block;The assets transfer transaction is executed to generate the first implementing result, it generates on the first block information and record to main chain so that the node of the first parallel chain synchronizes the assets transfer transaction and first implementing result from corresponding main chain node, second block information that the verifying node of the first corresponding parallel chain is sent is received, second block information is recorded to being known together on the main chain with the second block to first parallel chain.The present invention utilizes the shared common recognition technology of main chain and parallel chain, it is ensured that main chain comes into force simultaneously with parallel chain state, to solve the problems, such as assets being transferred to low efficiency on main chain from parallel chain, risk is also not present.
Description
Technical field
This application involves block chain technical fields, and in particular to a kind of assets transfer method, equipment and storage medium.
Background technique
Existing assets transfer scheme has based on notary's mechanism (Notaryschemes), side chain/relaying
(Sidechains/relays), Hash locking (Hash-locking), these schemes have common defect, i.e. different blocks chain
State bifurcated can occur, rollback leads to the inconsistent of state.Therefore assets transfer needs equal the preceding paragraphs time, it cannot be real-time
Progress.The usual way of these schemes is that how many a blocks to be waited just to think that current asset can shift, and (is thought
After how many a block confirmations, the probability for bifurcated rollback occur is extremely low, as a consequence it is hardly possible to, Asset State is determining), to lead
Low efficiency is caused, and there are risks.
Summary of the invention
In view of drawbacks described above in the prior art or deficiency, be intended to provide a kind of efficient devoid of risk assets transfer method,
Equipment and storage medium.
In a first aspect, the present invention provides a kind of assets transfer method, the verifying node institute that this method is suitable for parallel chain is right
The main chain node answered, comprising:
Receive assets transfer transaction;
Assets transfer is traded to be packaged and generates the first block, assets transfer is executed and trades to generate the first implementing result, it is raw
At the first block information and record on main chain so that the node of the first parallel chain is from the synchronous assets transfer of corresponding main chain node
Transaction and the first implementing result, and assets transfer transaction is executed when the first implementing result is to run succeeded to generate the second execution
As a result, the verifying node of the first parallel chain generates the second block information including the second implementing result;Wherein, the first block information
Including assets transfer transaction and the first implementing result;
The second block information that the verifying node of the first corresponding parallel chain is sent is received, the second block information is recorded
It is known together on to main chain with the second block to the first parallel chain.
Further, assets transfer transaction is received further include: freeze the assets for transfer.
Further, executing assets transfer transaction includes:
Thaw simultaneously minus asset.
Further, this method further include:
After bifurcated rollback occurs for present node, judge whether the assets transfer being not carried out transaction fails:
It is then to return to receive assets transfer transaction;
It is no, then it returns and executes assets transfer transaction to generate the first implementing result.
Second aspect, the present invention provide a kind of assets transfer method, and this method is suitable for the non-authentication node institute of parallel chain
Corresponding main chain node, comprising:
Receive assets transfer transaction;
Assets transfer is traded to be packaged and generates the first block, assets transfer is executed and trades to generate the first implementing result, it is raw
At the first block information and record on main chain so that the node of the first parallel chain is from the synchronous assets transfer of corresponding main chain node
Transaction and the first implementing result, and assets transfer transaction is executed when the first implementing result is to run succeeded to generate the second execution
Include the second block information of the second implementing result and be sent to corresponding main chain as a result, the verifying node of the first parallel chain generates
Node is for recording the second block information to being known together on main chain with the second block to the first parallel chain;
Wherein, the first block information includes assets transfer transaction and the first implementing result.
Further, assets transfer transaction is received further include: freeze the assets for transfer.
Further, executing assets transfer transaction includes: the simultaneously minus asset that thaws.
Further, this method further include:
After bifurcated rollback occurs for present node, judge whether the assets transfer being not carried out transaction fails:
It is then to return to receive assets transfer transaction;
It is no, then it returns and executes assets transfer transaction to generate the first implementing result.
The third aspect, the present invention provide a kind of assets transfer method, and this method is suitable for the verifying node of parallel chain, packet
It includes:
It is to execute from first block information of the corresponding master link point synchronous recording on main chain, and in the first implementing result
Assets transfer transaction is executed when success to generate the second block information including the second implementing result;Wherein, the first block information
Including assets transfer transaction and the first implementing result, the first implementing result executes the received assets transfer of institute by main chain node and trades
After generate;
The second block information is sent to corresponding main chain node so that corresponding main chain node records the second block information
To know together to the second block on the first parallel chain on to main chain.
Further, assets transfer transaction is executed when the first implementing result is to run succeeded includes:
Increase the assets for being used for assets transfer when the first implementing result is to run succeeded.
Fourth aspect, the present invention also provides a kind of equipment, including one or more processors and memory, wherein memory
Comprising can by instruction that the one or more processors execute so that the one or more processors execute it is each according to the present invention
The assets transfer method that embodiment provides.
5th aspect, the present invention also provides a kind of storage medium for being stored with computer program, which makes to count
Calculation machine executes the assets transfer method that each embodiment provides according to the present invention.
Advantageous effect of the invention
The present invention utilizes the shared common recognition technology of main chain and parallel chain, it is ensured that main chain is raw simultaneously with parallel chain state
Effect can rollback simultaneously if there is bifurcated.On the basis of this scheme, the assets transfer of realization can carry out in real time,
To solve the problems, such as assets being transferred to low efficiency on parallel chain from main chain, risk is also not present.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is the schematic diagram of a scenario of assets transfer method in one embodiment of the invention.
Fig. 2 is a kind of flow chart for assets transfer method that one embodiment of the invention provides.
Fig. 3 is the flow chart of a preferred embodiment of method shown in Fig. 2.
Fig. 4 is the flow chart for another assets transfer method that one embodiment of the invention provides.
Fig. 5 is a kind of flow chart of preferred embodiment of method shown in Fig. 4.
Fig. 6 is the flow chart of another assets transfer method of an embodiment provided by the invention.
Fig. 7 is a kind of structural schematic diagram for equipment that one embodiment of the invention provides.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is the schematic diagram of a scenario of assets transfer in one embodiment of the invention.As shown in Figure 1, in the present embodiment, with master
Several nodes (A, B, C ..., N ...) of chain configuration, the first parallel chain 6 nodes (a, b, c, d, f, n) of configuration, interior joint a, c,
D, f are configured to for the verifying node of the first parallel chain, and assets transfer trading scheme of the invention is described in detail.
Fig. 2 is a kind of flow chart for assets transfer method that one embodiment of the invention provides.
As shown in Fig. 2, in the present embodiment, the present invention provides a kind of assets transfer method, this method is suitable for parallel chain
Verifying node corresponding to main chain node, comprising:
S11, assets transfer transaction is received;
S12, assets transfer, which trades to be packaged, generates the first block, executes assets transfer transaction to generate the first execution knot
Fruit generates on the first block information and record to main chain so that the node of the first parallel chain synchronizes assets from corresponding main chain node
Transfer transactions and the first implementing result, and assets transfer transaction is executed when the first implementing result is to run succeeded to generate second
The verifying node of implementing result, the first parallel chain generates the second block information including the second implementing result;Wherein, the first block
Information includes assets transfer transaction and the first implementing result;
The second block information that the verifying node of first parallel chain corresponding to S13, reception is sent, by the second block information
It is known together on record to main chain with the second block to the first parallel chain.
Specifically, it is specifically addressed for scene shown in Fig. 1: in step S11, when user's first is thought to provide on main chain
It produces, such as 10 XXX coin are transferred on the first parallel chain, then user's first chain linked to owner node sends assets transfer transaction tx1.
In step S12, when master link point receives tx1, transaction is packaged into the first block, main chain node executes transaction tx1
After generate the first implementing result m1, and the first block comprising the first implementing result m1 is recorded on main chain, the first parallel chain
On node (a, b, c, d, f, n) synchronous assets transfer transaction tx1 and execution from corresponding main chain node (A, B, C, D, F, N)
As a result m1, node (a, b, c, d, f, n) on parallel chain execute assets transfer according to the implementing result m1 of main chain node and trade tx1
The second implementing result m2 is generated, the second implementing result m2 is packaged and generates the by the verifying node (a, c, d, f) on the first parallel chain
Two block informations, and second block information is sent to corresponding main chain node (A, C, D, F);
In step s 13, main chain node (A, C, D, F) is recorded each block information received by the common recognition mechanism of main chain
Onto main chain.
Further, in step S12, if main chain node after executing transaction tx1 and running succeeded, will deduct user in main chain
On 10 XXX coin, and generate the first implementing result m1, and be recorded on main chain, the node of the first parallel chain is from corresponding master
After chain node isochronous transaction tx1 and m1, discovery implementing result is to run succeeded, then executes tx1, i.e., increase in parallel chain account
10 XXX coin simultaneously generate implementing result m2;If not operated on main chain if synchronization executes failure, i.e., not deducting XXX coin,
And the first implementing result m1 is generated, and it is recorded on main chain, the node of the first parallel chain is from corresponding main chain node isochronous transaction
After tx1 and m1, discovery implementing result is to execute into failure, then does not operate to the assets on parallel chain, i.e., do not increase XXX coin,
And generate implementing result m2.
Above-described embodiment executes the transaction by the way that the assets transfer transaction on main chain is sent to main chain node on main chain
Afterwards the transaction is executed according to the implementing result of main chain node on parallel chain again and implementing result is sent to corresponding main chain
Node is known together after mechanism confirms the execution transaction of parallel chain node by parallel chain and completes to know together on main chain.
Preferably, in step S11, main chain node can also freeze to use after receiving the assets transfer transaction that user's first is sent
In the XXX coin of transfer, prevent user's first from spending again to this assets.
Preferably, it first thaws when main chain node executes assets transfer transaction in step S12, then deducts corresponding assets.
Fig. 3 is the flow chart of a preferred embodiment of method shown in Fig. 2.
As shown in figure 3, in a preferred embodiment, the above method further include:
Step S14, after bifurcated rollback occurs for present node, judge whether the assets transfer being not carried out transaction fails:
It is then to return to receive assets transfer transaction;
It is no, then it returns and executes assets transfer transaction to generate the first implementing result.
Specifically, shown in Fig. 1 for scene, when bifurcated occurs for present node, rolling back action is carried out to block, if rollback
Assets transfer transaction has been executed to main chain node, i.e., has deducted 10 XXX coin on main chain, then according to the common recognition of parallel chain
Mechanism, then the verifying node on parallel chain will continue to first block of the synchronous recording on main chain, and the step of executing below;If
It rolls back to before the execution assets transfer transaction of main chain node, i.e., main chain node is not withholdd also, then judges the assets transfer being not carried out
Whether transaction fails, if not failing, the step of continuing to execute assets transfer transaction and back.
Present embodiment ensure that main chain is synchronous with parallel chain hold mode, if there is bifurcated, can rollback simultaneously, improve
The efficiency of assets transfer reduces the risk of transfer.
Fig. 4 is the flow chart for another assets transfer method that one embodiment of the invention provides.Method shown in Fig. 4 can match
Method shown in Fig. 2 is closed to execute.
As shown in figure 4, in the present embodiment, the present invention also provides corresponding to a kind of non-authentication node suitable for parallel chain
Main chain node (such as main chain node B/N shown in FIG. 1 etc.) assets transfer method, comprising:
S21, assets transfer transaction is received;
S22, assets transfer, which trades to be packaged, generates the first block, executes assets transfer transaction to generate the first execution knot
Fruit generates on the first block information and record to main chain so that the node of the first parallel chain synchronizes assets from corresponding main chain node
Transfer transactions and the first implementing result, and assets transfer transaction is executed when the first implementing result is to run succeeded to generate second
Implementing result, the verifying node of the first parallel chain, which generates, to be included the second block information of the second implementing result and is sent to corresponding
Main chain node is for recording the second block information to being known together on main chain with the second block to the first parallel chain;
Wherein, the first block information includes assets transfer transaction and the first implementing result.
Specifically, the assets transfer transaction principles of method shown in Fig. 4 and method shown in Fig. 2 are essentially identical, and difference is, holds
The corresponding parallel chain node of the main chain node of method shown in row Fig. 4 and non-authentication node, therefore will not receive corresponding parallel
The first block information that chain node transmits, but cooperate the main chain node for executing method shown in Fig. 2 to the first block information
It knows together.
Preferably, in step S21, main chain node can also freeze to use after receiving the assets transfer transaction that user's first is sent
In the XXX coin of transfer, prevent user's first from spending again to this assets.
Preferably, it first thaws when main chain node executes assets transfer transaction in step S22, then deducts corresponding assets.
Fig. 5 is a kind of flow chart of preferred embodiment of method shown in Fig. 4.
As shown in figure 5, in a preferred embodiment, the above method further include:
S23, present node occur bifurcated rollback after, judge the assets transfer being not carried out transaction whether fail:
It is then to return to receive assets transfer transaction;
It is no, then it returns and executes assets transfer transaction to generate the first implementing result.
Specifically, method shown in fig. 5 and method shown in Fig. 3 are essentially identical, method shown in Fig. 5 and method shown in Fig. 3
Difference and Fig. 4 shown in method it is identical as the difference of method shown in Fig. 2.
Fig. 6 is the flow chart of another assets transfer method of an embodiment provided by the invention.
As shown in fig. 6, in a preferred embodiment, a kind of assets transfer method, this method is suitable for testing on parallel chain
Demonstrate,prove node, comprising:
S31, the first block information from corresponding master link point synchronous recording on main chain, and be in the first implementing result
Assets transfer transaction is executed when running succeeded to generate the second block information including the second implementing result;Wherein, the first block
Information includes assets transfer transaction and the first implementing result, and the first implementing result executes the received assets transfer of institute by main chain node
It is generated after transaction;
S32, the second block information is sent to corresponding main chain node so that corresponding main chain node is by the second block information
It is recorded on main chain to know together to the second block on the first parallel chain.
Preferably, assets transfer transaction is executed when the first implementing result is to run succeeded includes:
Increase the assets for being used for assets transfer when the first implementing result is to run succeeded.
Specifically, the principle of method shown in Fig. 6 can refer to the principle of the method for Fig. 2-5, and details are not described herein.
Fig. 7 is a kind of structural schematic diagram for equipment that one embodiment of the invention provides.
As shown in fig. 7, present invention also provides a kind of equipment 700, including one or more centres as on the other hand
Unit (CPU) 701 is managed, can be added according to the program being stored in read-only memory (ROM) 702 or from storage section 708
The program that is downloaded in random access storage device (RAM) 703 and execute various movements appropriate and processing.In RAM703, also deposit
It contains equipment 700 and operates required various programs and data.CPU701, ROM702 and RAM703 pass through the phase each other of bus 704
Even.Input/output (I/O) interface 705 is also connected to bus 704.
I/O interface 705 is connected to lower component: the importation 706 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 707 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 708 including hard disk etc.;
And the communications portion 709 of the network interface card including LAN card, modem etc..Communications portion 709 via such as because
The network of spy's net executes communication process.Driver 710 is also connected to I/O interface 705 as needed.Detachable media 711, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 710, in order to read from thereon
Computer program be mounted into storage section 708 as needed.
Particularly, in accordance with an embodiment of the present disclosure, the assets transfer method of any of the above-described embodiment description can be implemented
For computer software programs.For example, embodiment of the disclosure includes a kind of computer program product comprising be tangibly embodied in
Computer program on machine readable media, computer program include the program code for executing assets transfer method.At this
In the embodiment of sample, which can be downloaded and installed from network by communications portion 709, and/or from removable
Medium 711 is unloaded to be mounted.
As another aspect, present invention also provides a kind of computer readable storage medium, the computer-readable storage mediums
Matter can be computer readable storage medium included in the device of above-described embodiment;It is also possible to individualism, it is unassembled
Enter the computer readable storage medium in equipment.Computer-readable recording medium storage has one or more than one program, should
Program is used to execute the assets transfer method for being described in the application by one or more than one processor.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depending on related function.Also it wants
It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yitong
The dedicated hardware based system of functions or operations as defined in executing is crossed to realize, or by specialized hardware and can be calculated
The combination of machine instruction is realized.
Being described in the embodiment of the present application involved unit or module can be realized by way of software, can also be with
It is realized by way of hardware.Described unit or module also can be set in the processor, for example, each unit can be
Software program in computer or intelligent movable equipment is set, the hardware device being separately configured is also possible to.Wherein, these lists
The title of member or module does not constitute the restriction to the unit or module itself under certain conditions.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from the application design, appointed by above-mentioned technical characteristic or its equivalent feature
Other technical solutions of meaning combination and formation.Such as features described above and (but being not limited to) disclosed herein have similar functions
Technical characteristic replaced mutually and the technical solution that is formed.
Claims (12)
1. a kind of assets transfer method, which is characterized in that the method is suitable for corresponding to the verifying node of the first parallel chain
Main chain node, comprising:
Receive assets transfer transaction;
The assets transfer is traded to be packaged and generates the first block, executes the assets transfer transaction to generate the first execution knot
Fruit generates the first block information and records described to synchronizing for the node of the first parallel chain from corresponding main chain node on main chain
Assets transfer transaction and first implementing result, and execute the assets when first implementing result is to run succeeded and turn
It transfers easily to generate the second implementing result, the verifying node of the first parallel chain generates the secondth area including second implementing result
Block message;Wherein, first block information includes the assets transfer transaction and first implementing result;
Second block information that the verifying node of the first corresponding parallel chain is sent is received, by second block information
It is known together on record to the main chain with the second block to first parallel chain.
2. the method according to claim 1, wherein the reception assets transfer is traded further include: freeze to be used for
The assets of transfer.
3. according to the method described in claim 2, it is characterized in that, the execution assets transfer transaction includes:
It thaws and deducts the assets.
4. -3 any method according to claim 1, which is characterized in that the method also includes:
After bifurcated rollback occurs for present node, judge whether the assets transfer being not carried out transaction fails:
It is then to return to the reception assets transfer transaction;
It is no, then the execution assets transfer transaction is returned to generate the first implementing result.
5. a kind of assets transfer method, which is characterized in that the method is suitable for corresponding to the non-authentication node of the first parallel chain
Main chain node, comprising:
Receive assets transfer transaction;
The assets transfer is traded to be packaged and generates the first block, executes the assets transfer transaction to generate the first execution knot
Fruit generates the first block information and records described to synchronizing for the node of the first parallel chain from corresponding main chain node on main chain
Assets transfer transaction and first implementing result, and execute the assets when first implementing result is to run succeeded and turn
It transfers easily to generate the second implementing result, the verifying node of the first parallel chain generates the secondth area including second implementing result
Block message and be sent to corresponding main chain node for by second block information record on the main chain to described
Second block of one parallel chain is known together;
Wherein, first block information includes the assets transfer transaction and first implementing result.
6. according to the method described in claim 5, it is characterized in that, the reception assets transfer is traded further include:
Freeze the assets for transfer.
7. according to the method described in claim 6, it is characterized in that, the execution assets transfer transaction includes:
It thaws and deducts the assets.
8. according to any method of claim 5-6, which is characterized in that the method also includes:
After bifurcated rollback occurs for present node, judge whether the assets transfer being not carried out transaction fails:
It is then to return to the reception assets transfer transaction;
It is no, then the execution assets transfer transaction is returned to generate the first implementing result.
9. a kind of assets transfer method, which is characterized in that the method is suitable for the verifying node of parallel chain, comprising:
It is to run succeeded from first block information of the corresponding master link point synchronous recording on main chain, and in the first implementing result
Shi Zhihang assets transfer is traded to generate the second block information including the second implementing result;Wherein, first block information
Including assets transfer transaction and first implementing result, first implementing result is received by main chain node execution institute
It is generated after assets transfer transaction;
Second block information is sent to corresponding main chain node so that the corresponding main chain node is by second block
Information is recorded on main chain to know together to the second block on the first parallel chain.
10. according to the method described in claim 9, it is characterized in that, the execution when the first implementing result is to run succeeded
Assets transfer is traded
Increase the assets for being used for assets transfer when first implementing result is to run succeeded.
11. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors
Execute such as method of any of claims 1-10.
12. a kind of storage medium for being stored with computer program, which is characterized in that realize when the program is executed by processor as weighed
Benefit requires method described in any one of 1-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811214950.9A CN109493015A (en) | 2018-10-18 | 2018-10-18 | A kind of assets transfer method, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811214950.9A CN109493015A (en) | 2018-10-18 | 2018-10-18 | A kind of assets transfer method, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109493015A true CN109493015A (en) | 2019-03-19 |
Family
ID=65691481
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811214950.9A Pending CN109493015A (en) | 2018-10-18 | 2018-10-18 | A kind of assets transfer method, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109493015A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110443708A (en) * | 2019-07-29 | 2019-11-12 | 杭州复杂美科技有限公司 | Parallel chain method of commerce, equipment and storage medium |
CN110473093A (en) * | 2019-07-29 | 2019-11-19 | 杭州复杂美科技有限公司 | Parallel chain assets transfer method, equipment and storage medium |
CN113627906A (en) * | 2021-08-31 | 2021-11-09 | 浙江大学 | Cross-chain transaction method, system and storage medium of Hash locking and side chain technology |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105809420A (en) * | 2016-03-08 | 2016-07-27 | 杭州复杂美科技有限公司 | Liquidation method of multi-layer block chain |
US20170178127A1 (en) * | 2015-12-18 | 2017-06-22 | International Business Machines Corporation | Proxy system mediated legacy transactions using multi-tenant transaction database |
CN107169865A (en) * | 2017-04-24 | 2017-09-15 | 北京果仁宝科技有限公司 | Asset data processing system based on block chain technology |
CN107507006A (en) * | 2017-08-11 | 2017-12-22 | 杭州秘猿科技有限公司 | A kind of common recognition bifurcated processing method based on license chain |
CN107729471A (en) * | 2017-10-13 | 2018-02-23 | 上海策赢网络科技有限公司 | A kind of block chain and its generation method and equipment |
CN107767267A (en) * | 2017-10-20 | 2018-03-06 | 上海策赢网络科技有限公司 | The transfer method and device of a kind of virtual resource |
CN108090750A (en) * | 2016-11-22 | 2018-05-29 | 深圳银链科技有限公司 | Block chain settle accounts calculation system and method |
CN108320228A (en) * | 2018-03-07 | 2018-07-24 | 物数(上海)信息科技有限公司 | Transregional piece of chain transaction in assets method, platform, equipment and storage medium |
-
2018
- 2018-10-18 CN CN201811214950.9A patent/CN109493015A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170178127A1 (en) * | 2015-12-18 | 2017-06-22 | International Business Machines Corporation | Proxy system mediated legacy transactions using multi-tenant transaction database |
CN105809420A (en) * | 2016-03-08 | 2016-07-27 | 杭州复杂美科技有限公司 | Liquidation method of multi-layer block chain |
CN108090750A (en) * | 2016-11-22 | 2018-05-29 | 深圳银链科技有限公司 | Block chain settle accounts calculation system and method |
CN107169865A (en) * | 2017-04-24 | 2017-09-15 | 北京果仁宝科技有限公司 | Asset data processing system based on block chain technology |
CN107507006A (en) * | 2017-08-11 | 2017-12-22 | 杭州秘猿科技有限公司 | A kind of common recognition bifurcated processing method based on license chain |
CN107729471A (en) * | 2017-10-13 | 2018-02-23 | 上海策赢网络科技有限公司 | A kind of block chain and its generation method and equipment |
CN107767267A (en) * | 2017-10-20 | 2018-03-06 | 上海策赢网络科技有限公司 | The transfer method and device of a kind of virtual resource |
CN108320228A (en) * | 2018-03-07 | 2018-07-24 | 物数(上海)信息科技有限公司 | Transregional piece of chain transaction in assets method, platform, equipment and storage medium |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110443708A (en) * | 2019-07-29 | 2019-11-12 | 杭州复杂美科技有限公司 | Parallel chain method of commerce, equipment and storage medium |
CN110473093A (en) * | 2019-07-29 | 2019-11-19 | 杭州复杂美科技有限公司 | Parallel chain assets transfer method, equipment and storage medium |
WO2021017693A1 (en) * | 2019-07-29 | 2021-02-04 | 杭州复杂美科技有限公司 | Method for asset transfer between parachains, and device and storage medium |
CN110443708B (en) * | 2019-07-29 | 2022-03-04 | 杭州复杂美科技有限公司 | Parallel chain transaction method, device and storage medium |
CN113627906A (en) * | 2021-08-31 | 2021-11-09 | 浙江大学 | Cross-chain transaction method, system and storage medium of Hash locking and side chain technology |
CN113627906B (en) * | 2021-08-31 | 2022-03-25 | 浙江大学 | Cross-chain transaction method, system and storage medium of Hash locking and side chain technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109325762B (en) | Parallel chain cross-chain transaction method, equipment and storage medium | |
CN109377365A (en) | A kind of assets transfer method, equipment and storage medium | |
CN109831514A (en) | Parallel chain common recognition method, data exception processing method, equipment and storage medium | |
CN109271446A (en) | A kind of parallel chain method of data synchronization, equipment and storage medium | |
CN109410045B (en) | Parallel chain consensus method, equipment and storage medium | |
CN109584072A (en) | A kind of transaction sending method, equipment and the storage medium of parallel chain common recognition | |
CN110428332A (en) | A kind of across the chain method of commerce of parallel chain, equipment and storage medium | |
CN108984662A (en) | A kind of block chain method of data synchronization | |
CN109034801A (en) | A kind of privacy method of commerce and system, equipment and can storage medium | |
CN109087080A (en) | Across chain method of commerce, equipment and storage medium | |
CN109087099A (en) | A kind of privacy method of commerce and system, equipment and storage medium | |
CN109587271A (en) | Main chain parallel chain architecture system and block synchronous method, equipment and storage medium | |
CN109493015A (en) | A kind of assets transfer method, equipment and storage medium | |
CN110443708A (en) | Parallel chain method of commerce, equipment and storage medium | |
KR20190115525A (en) | System and method for managing logistics using blockchain | |
CN110336676A (en) | A kind of block chain transaction broadcasting method and system, equipment and storage medium | |
CN110392121A (en) | Parallel chain block generation method, equipment and storage medium | |
CN111178899A (en) | Resource processing method and device and transaction processing method and device | |
CN110430067A (en) | For reducing method and system, equipment and the storage medium of block repeated broadcast | |
CN109450659A (en) | Block delayed broadcast method, equipment and storage medium | |
CN110287263A (en) | Parallel chain is from knowing together method, equipment and storage medium | |
CN110445843A (en) | Parallel chain block method for pushing, equipment and storage medium | |
CN110535933A (en) | Parallel chain common recognition method, equipment and storage medium | |
CN114266665B (en) | Contract multi-main chain crossing method, equipment and storage medium | |
CN109359956A (en) | Contract configuration method, contract application method, equipment and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190319 |
|
RJ01 | Rejection of invention patent application after publication |