CN109523380A - Across chain method of commerce and device - Google Patents
Across chain method of commerce and device Download PDFInfo
- Publication number
- CN109523380A CN109523380A CN201811264409.9A CN201811264409A CN109523380A CN 109523380 A CN109523380 A CN 109523380A CN 201811264409 A CN201811264409 A CN 201811264409A CN 109523380 A CN109523380 A CN 109523380A
- Authority
- CN
- China
- Prior art keywords
- information
- transaction
- chain
- block chain
- atom
- 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.)
- Withdrawn
Links
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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Abstract
The present invention provides across the chain method of commerce of one kind and devices, this method comprises: each information that the needs on variant block chain are traded to be separately converted to the information word of setting format;It is constantly added up the information word according to transaction progress sequence, generates the information combination of the Transaction Information of each transaction participant on the variant block chain;Information combination transcoding is generated to the atom Transaction Information of each block chain;In the case where each atom Transaction Information all has legitimacy, each atom Transaction Information is broadcasted on corresponding block chain, and uplink operation is carried out to the atom Transaction Information, to complete the trading processing of each block chain.Effective transmitting of information can be realized across the difference of block catenary system through the above scheme.
Description
Technical field
The present invention relates to block chain technical fields, more particularly to a kind of across chain method of commerce and device.
Background technique
As the type of the development of block chain technology, the application based on block chain becomes increasingly abundant, inside block catenary system
The information categories such as data, archives, report, transaction, assets are further various, and the type of block catenary system gradually increases, standard, agreement
Equal differences are also increasingly apparent.
The purpose of creation of block chain is open intercommunication, in addition to trustless factor, does not set up information barrier, reduces or remits because of technology
Etc. the information island that generates of reasons therefore break the closure of block chain itself, realize that information mutual communication is necessary.
Currently, the information mutual communication between different blocks catenary system mainly passes through attestor's mode or information exchange latching mode
It realizes.However, attestor's mode needs reliable attestor;The protection of information exchange latching mode Time-Dependent, works as calculated performance
Dangerous loophole can be generated when not being inconsistent with the protection period.
Summary of the invention
In view of this, the present invention provides across the chain method of commerce of one kind and device, with real across the difference of block catenary system
Effective transmitting of existing information.
In order to achieve the above object, the present invention is realized using following scheme:
In an embodiment of the invention, a kind of across chain method of commerce, comprising:
Each information that needs on variant block chain are traded is separately converted to the information word of setting format;
It is constantly added up the information word according to transaction progress sequence, generates each transaction participation on the variant block chain
The information combination of the Transaction Information of side;
Information combination transcoding is generated to the atom Transaction Information of each block chain;
In the case where each atom Transaction Information all has legitimacy, by each atom Transaction Information corresponding
It is broadcasted on block chain, and to atom Transaction Information progress uplink operation, at the transaction to complete each block chain
Reason.
In an embodiment of the invention, a kind of across chain the transaction device, comprising:
Information word generation unit, each information for the needs on variant block chain to be traded are separately converted to setting lattice
The information word of formula;
Information combination producing unit, for constantly being added up the information word according to transaction progress sequence, generate it is described it is each not
With the information combination of the Transaction Information of each transaction participant on block chain;
Atom Transaction Information generation unit, the atom for information combination transcoding to be generated each block chain are traded
Information;
Uplink operation unit, in the case where each atom Transaction Information all has legitimacy, by each original
Sub- Transaction Information is broadcasted on corresponding block chain, and carries out uplink operation to the atom Transaction Information, each to complete
The trading processing of the block chain.
In an embodiment of the invention, computer equipment, including memory, processor and storage are on a memory and can
The computer program run on a processor, the processor realize the step of above-described embodiment the method when executing described program
Suddenly.
In an embodiment of the invention, computer readable storage medium is stored thereon with computer program, the program quilt
The step of processor realizes above-described embodiment the method when executing.
Across chain method of commerce, across chain the transaction device, computer equipment and computer readable storage medium of the invention, passes through
By the information word of the information conversion setting format on different blocks chain, all kinds of business information or Transaction Information can be removed to be formed
The information unit member of unified format is realized across the difference of block catenary system and carries out across chain transaction to any content.By cumulative
Those information words generate the information combination of the Transaction Information of each transaction participant, and information combination transcoding is generated different blocks chain
Atom Transaction Information, and the processing such as uplink operation is carried out in the case where each atom Transaction Information all has legitimacy, can be with
Make the trading processing of each block chain while coming into force, avoid a certain participant benefit damage, guarantees the validity of information transmitting.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.In the accompanying drawings:
Fig. 1 is the flow diagram across chain method of commerce of one embodiment of the invention;
Fig. 2 is the flow diagram across chain method of commerce of another embodiment of the present invention;
Fig. 3 is the flow diagram across chain method of commerce of further embodiment of this invention;
Fig. 4 is the flow diagram across chain method of commerce of yet another embodiment of the invention;
Fig. 5 is the flow diagram across chain method of commerce of another embodiment of the present invention;
Fig. 6 is the interaction schematic diagram across chain transaction of a specific embodiment of the invention;
Fig. 7 is the structural schematic diagram across chain the transaction device of one embodiment of the invention;
Fig. 8 is the structural schematic diagram across chain the transaction device of another embodiment of the present invention.
Specific embodiment
Understand in order to make the object, technical scheme and advantages of the embodiment of the invention clearer, with reference to the accompanying drawing to this hair
Bright embodiment is described in further details.Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but simultaneously
It is not as a limitation of the invention.
Fig. 1 is the flow diagram across chain method of commerce of one embodiment of the invention.As shown in Figure 1, some embodiments
Across chain method of commerce, it may include:
Step S110: each information that the needs on variant block chain are traded is separately converted to the information of setting format
Member;
Step S120: it is constantly added up the information word, is generated on the variant block chain according to transaction progress sequence
The information combination of the Transaction Information of each transaction participant;
Step S130: information combination transcoding is generated to the atom Transaction Information of each block chain;
Step S140: in the case where each atom Transaction Information all has legitimacy, by each atom transaction letter
Breath is broadcasted on corresponding block chain, and carries out uplink operation to the atom Transaction Information, to complete each block
The trading processing of chain.
In above-mentioned steps S110, " transaction " in block chain can refer to various forms of information mutual communications, for example, currency it
Between exchange, the exchange between currency and virtual objects, the exchange between information, one-sided information inquiry etc..Specifically, handing over
Changing content not only can be ideal money, can also be and deposits card authority, virtual property rights etc..All transaction exchanges can carry out, and hand over
Change the more than ideal money of content, for example, deposit card authority, virtual property rights etc. can trade.
The transaction of transregional piece of chain may relate to two or more block chains.Block chain used in different blocks chain
Technology may be different, so the data format of different blocks chain may be different, thus information mutual communication carried out between different blocks chain
When often can not directly carry out data exchange.Each information for needing to trade can refer to various information involved in across chain transaction,
For example, currency provider account, currency recipient account, currencies, currency can be related to when carrying out ideal money transaction
The information of the needs such as quantity transaction.
By by each information for needing to trade be separately converted to setting format information word, can by all kinds of business information,
Transaction Information is stripped out from the specification of special formalization, uniformly turns to the consistent information unit member of format, form.It is each
A information unit member can only have an information content, and an information content can be a scalar, operator (for example, to account
Family A1 add 100 assets, wherein " 100 " are a scalars, and " adding " is an operator) etc. identical elements, with this, can will
The Transaction Information of different-format is converted into the information element of unified standard in different blocks chain.In primary transaction, it can be related to
Two or more participants, each participant can be related to a plurality of information content, can be disposably all existing
The information traded of needs be converted into information word, or can will be needed successively with the progress of transaction, the increase of Transaction Information
The information of transaction is converted into information word.
The method for the information word for needing each information traded to be separately converted to setting format specifically can be in area
Using mapping function by the information MAP of different-format to the information word of same definition format in block chain, or can be in area
Analytical function is used to generate different information format parsings to same information format outside block chain.
The information word for converting obtained setting format may include the main body signature that can be identified for that information source, master therein
Body for example can be the identity documents such as personal certificate, account.It specifically, can be to being signed again after multiple information word uniform packings
Name, or can sign one by one to each information word.The method of signature, which can be, adds main body by signature algorithm
It is close to obtain.It specifically, can be by trading object (transaction content), participant's voucher (transaction agent), participant behavior (counterparty
To) etc. information integrated by certain format, and handled by certain way using operations such as abstract, signature, encryptions, included
The information word of main body signature.
In above-mentioned steps S120, in the transaction between different blocks chain, information is had in different blocks chain, different accounts
It circulates between family.The transaction progress sequence can refer to the circulation process of information.For example, user A wishes it on block chain 1
A part of assets Z of account A1 is exchanged and is translated into a part of assets Y of its account A2 on block chain 2, and user A passes through centre
Commercial family B completes transaction.In process of exchange, the account A2 of user A initiates 100 assets Y of demand, provides 0 money on block chain 2
The information of production, and across the catenary system function of block chain can be used and generate Transaction Information F;Transaction Information F circulates to using on block chain 1
The account A1 of family A;0 assets of demand, the information for providing 10 Z assets are added to Transaction Information F by account A1, and generate transaction letter
Cease FF;Transaction Information FF is issued user B by any means by user A;The account B1 of user B is by 10 Z of demand on block chain 1
Assets, the information for providing 0 assets are added to Transaction Information FF, and generate Transaction Information FFF.Transaction Information FFF circulates to block
By 0 assets of demand, the information for providing 100 Y assets is added to Transaction Information FFF by the account B2 of user B on chain 2, account B2, and
Transaction Information FFFF is generated, Transaction Information FFFF is the information combination of the Transaction Information generated.
Wherein, can add up multiple information words in each node that information flow passes through, for example, Transaction Information F circulate to
It, can be tired by four information words (account A1,0 assets of demand, providing 10, Z assets) on block chain 1 after the account A1 of user A
Add to preceding Transaction Information F.In some embodiments, can permit preceding Transaction Information or source information are checked,
Verifying, additional new information operation, can not allow to modify preceding Transaction Information or source information.Preceding Transaction Information or former letter
Signature processing can has been carried out in breath, if modifying preceding Transaction Information or source information, the new Transaction Information of generation can
To be considered as illegal, it cannot be transmitted, be broadcasted on chain, with this, it is ensured that the Transaction Information across chain information or circulation is not
It is tampered.
In above-mentioned steps S130, by transcoding, the information can be combined meter where being converted into each block chain respectively
Calculation machine identifiable content, such as code, code name etc..The format and content of the corresponding atom Transaction Information of different blocks chain can be equal
It is different.For example, the corresponding atom Transaction Information of block chain 2 may include 100 Y assets of account A2 demand, provide 0 assets, with
And 100 0 assets of account B2 demand, offer Y assets, the corresponding atom Transaction Information of block chain 1 may include account A1 demand 0
Assets provide 10 Z assets of 10 Z assets and account B1 demand, provide 0 assets.
In above-mentioned steps S140, legitimacy may include the legitimacy of service layer and the legitimacy of format level, tool
Body, it can need to meet the business transaction rule of setting, and need to meet corresponding block chain format.It can be incited somebody to action by broadcast
Atom Transaction Information is sent on corresponding block chain.By carrying out uplink operation to the atom Transaction Information, can carry out
Node verification, passes through if all nodes all verify, uplink operation success.Each atom Transaction Information uplink operation success, each area
Block chain can carry out trading processing corresponding to its atom Transaction Information, for example, block chain 2 is that account A2 increases by 100 Y moneys
It produces, and the Y assets of account B2 is reduced 100, wherein legitimacy described in the present embodiment, without being limited thereto, those skilled in the art
Member completely can be according to real trade situation, or in order to further increase the safety across chain transaction, it is other legal to increase
Property require.
It, can be by all kinds of industry by the way that the information conversion on different blocks chain to be set to the information word of format in the present embodiment
Business information or Transaction Information remove the information unit member to form unified format, and across the difference of block catenary system, realization is to any
Content carries out across chain transaction.The information combination that the Transaction Information of each transaction participant is generated by those information words that add up, by this
Information combines the atom Transaction Information that transcoding generates different blocks chain, and the case where each atom Transaction Information all has legitimacy
The processing such as lower progress uplink operation, can make the trading processing of each block chain while come into force, avoid a certain participant benefit damage,
Guarantee the validity of information transmitting.
Fig. 2 is the flow diagram across chain method of commerce of another embodiment of the present invention.As shown in Fig. 2, it is shown in FIG. 1 across
Chain method of commerce, before step S140, that is, carry out each atom Transaction Information to broadcast it on corresponding block chain
Before, it may also include that
Step S150: it is gathered around using the transaction content that atomic lock locks transaction content provider in each atom Transaction Information
It has the right.
In above-mentioned steps S150, block chain itself can have lock function, and in the case, block chain can use
The lock function of itself adds atomic lock;Or block chain itself does not have lock function, in this case, it is possible to using in addition
Intermediate account realize lock function.For example, the power that can possess account B2 100 Y assets locks.Whether lock
The transaction content ownership of transaction content provider can verify during uplink operation.After adding atomic lock, hand over
Easy content ownership, such as possess the power of 100 Y assets in the account B2 of user B, do not allow to modify.In each block chain
After uplink operation success, locked content can be unlocked, transaction content is allowed to circulate.
In the present embodiment, atomic lock is added by the transaction content ownership to transaction content provider, can prevent from handing over
Easy content quilt moves away in advance, to avoid successfully shifting required transaction content during trading processing and causing to hand over
Easily failure.
Fig. 3 is the flow diagram across chain method of commerce of further embodiment of this invention.As shown in figure 3, it is shown in Fig. 2 across
Chain method of commerce, may also include that
Step S160: in the case where there is the block chain for failing to complete trading processing, the friendship of locking is unlocked
Easy content ownership.
In above-mentioned steps S160, when carrying out uplink operation, if each node verification of block chain passes through, i.e. cochain success,
Then block chain can execute unlock automatically, and carry out the corresponding processing of atom Transaction Information, such as transaction content transfer, complete the area
The trading processing of block chain;If there are node verifications not to pass through for block chain, i.e., required friendship is not present in cochain failure or block chain
Easy to handle function, then the block chain is unable to complete trading processing.When failing to complete trading processing there are block chain, across chain transaction is not
Success, at this point, it can be made to carry out other transaction by the transaction content ownership of unlock locking.
Fig. 4 is the flow diagram across chain method of commerce of yet another embodiment of the invention.As shown in figure 4, it is shown in FIG. 1 across
Chain method of commerce, may also include that
Step S170: in the case where there is the block chain for failing to complete trading processing, at completed transaction
Reason restores to reset condition the corresponding block chain.
It, can be for example, by returning when completed trading processing has an impact block chain in above-mentioned steps S170
The modes such as rolling, reverse operating restore block chain to reset condition, eliminate the influence to block chain, specific reset mode visible area
Block chain and it is different.The reset condition of block chain can refer to the state of the block chain before across chain transaction starts.In other embodiments,
Some trading processings can execute Shi Caihui in final step processing operation and come into force, so be not carried out in final step processing operation
In the case of, trading processing will not have an impact block chain, be not required to restore to reset condition block chain in such cases
Operation.
In the present embodiment, in the case where across chain Fail Transaction, by by completed trading processing to corresponding block
Chain restores to reset condition, eliminates influence of the completed trading processing to block chain, can guarantee to trade or enter simultaneously chain,
Do not enter chain, does not suffer a loss to further ensure participant interests.
Fig. 5 is the flow diagram across chain method of commerce of another embodiment of the present invention.As shown in figure 5, it is shown in FIG. 1 across
Chain method of commerce, before step S140, that is, carry out each atom Transaction Information to broadcast it on corresponding block chain
Before, it may also include that
Whether step S180: being met by each atom Transaction Information of verification and set business transaction rule, and whether
The information format for meeting corresponding block chain, judges whether each atom Transaction Information has legitimacy.
In above-mentioned steps S180, set business transaction rule and block chain information format at least one do not meet,
Then think illegal.The setting business transaction rule may include that the summation of the transaction content provided is equal to received transaction content
Summation, can also include the transaction content that has used in transaction content provider than or equal to transaction provided by the provider
Content.For example, the account B1 on block chain 1 receives 10 assets Z, account if the account A1 on block chain 1 provides 10 assets Z
Family A1 possesses 10 assets Z, then the atom Transaction Information of block chain 1 meets setting business transaction rule, legal;If block chain 1
On account A1 10 assets Z are provided, the account B1 on block chain 1 receives 10 assets Z, and account A1 possesses 9 assets Z, then
The atom Transaction Information of block chain 1 does not meet setting business transaction rule, illegal;If the account A1 on block chain 1 provides 10
A assets Z, the account B1 on block chain 1 receive 9 assets Z, then the atom Transaction Information of block chain 1 does not meet the friendship of setting business
Easily rule, it is illegal.The information format of different blocks chain may be different, and only atom Transaction Information meets the block corresponding to it
The information format (or data format) of chain, which could identify the atom Transaction Information, to carry out the friendship of the block chain
It is easy to handle.
In some embodiments, across chain method of commerce specifically includes that generation information word, formulates information meta-rule, carries out atom
Transaction, transaction flow etc..
The process of information word is generated, that is, generates the process of the information element of unified standard, specifically can include: by all kinds of business
Information, the information unit member that Transaction Information removing special shape uniform specification chemical conversion is consistent format, form, wherein each
A identical element, only a content, a content can be the identical elements such as scalar, an operator.
Wherein, in the information such as transaction of the storage of chain, circulation, itself can be by information tuple one by one at.Across
The main problem of chain is the chain using different technologies, and the format of information word is different.Mapping function can be used information in chain
Map to the information word of same definition.Or information format parsing is generated to same format using analytical function outside chain.
The work such as mapping, parsing only can be executed when proposing across chain transaction, cost can be reduced with this, and it is excellent to be conducive to internal performance
The behaviors such as change.
The process of information meta-rule is formulated, specifically can include: the rule of read-write operation information word is formulated, for example, transaction is held
Line discipline.
The process of atom transaction is carried out, specifically can include: increase a plurality of transaction binding function on the basis of former transaction system
Energy;It bound transaction or comes into force or fails simultaneously simultaneously;In block catenary system, bound transaction or simultaneously
Enter chain or does not enter chain;It can customize into chain rule, if meeting into chain rule, chain can be entered, if being unsatisfactory for advising into chain
Then, then it cannot enter chain.
Such as:
Trading rules: the main body amount of providing with funds N;Main body receives capital quantity M;Main body holds capital quantity H.
Enter chain rule: the summation of the amount of providing with funds N must be equal with the summation M of capital quantity is received.
If user A provides 10, and user B receives 10 and user A and holds 10, then allows into chain.
If user A provides 10, and user B receives 10 and user A and holds 9, then does not allow into chain.
If user A provides 10, and user B receives 9, then does not allow into chain.
Wherein, information word includes main body signature.It can be by information (transaction content), participant's voucher, participant's behavior
Etc. information by certain format integrate, and by certain way using abstract, signature, encryption etc. operation processings.It can permit and source is believed
Breath is checked, is verified, additional new information operates, and source information can be considered as illegally after not allowing to modify source information, or modification,
It cannot transmit, broadcast on chain.
In atom Transaction Information generating process, information (information word) rule is additional, and equilibrium state is reached after accumulation.Balance
It is completely the same that the requirement of state can be the content of provider's offer, content, the quantity of quantity and party in request's demand etc..Reach flat
After weighing apparatus state, it can continue to add and break equilibrium state, but the information of only equilibrium state can be considered as legal.It can be with block chain
Oneself is balanced with oneself, for example, the offer meet demand in single atom Transaction Information.
Block is generated in chain simultaneously, is broadcasted into chain, if specifically may include: to judge that some condition is shifted to an earlier date in chain
It executes, be considered as entire transaction illegally and be integrally abandoned.For example, the offer of provider is drawn in advance or the demand of party in request
Met in advance etc..Other reasons are abandoned this time trading, and enter chain operation without entirety, then that trades is a certain partially due to plucking
Will, signature, operation processings, the broadcast of independent cochain such as encryption can be judged as illegal.It comes into force if entering chain and being successfully considered as, if entering chain mistake
It loses, or is not carried out and can be considered Pending The Entry Into Force (failure) into chain operation.The white skin of block on the face can be stored in advance in by entering chain rule
In the public informations such as book, handbook, explanation, Open Source Code.
Transaction flow may comprise steps of:
The information word that 1. information exchanged, transaction will be needed to be converted into unified format;
2. business participant increases information word with information flow;
3. after information flow, multiple information words are grouped together into information combination;
4. information combination to be transcoded into the atom Transaction Information for each chain of participating in business;
5. verifying atom transaction legitimacy on each chain participated in business;
6. if forcing to broadcast on chain into chain, completing transaction be all satisfied legitimacy.
The method of the embodiment can not have to worry transaction using atom transaction suitable for flexibly increasing the catenary system of participation
Participant benefit damage in the process is able to solve the problem of prior art can not transmit effective information across tile system difference.
Different technologies realization can be used in the block chain traded, and can have different data formats, data storage method, can be with
Realize multiple and different chains interconnection of different business data content.
In order to enable those skilled in the art to better understand the present invention, it will illustrate tool of the invention with a specific embodiment below
Body embodiment.
Precondition includes:
User: A, B
Block chain: 1,2
Identity, account of the A1:A user on block chain 1
Identity, account of the A2:A user on block chain 2
Identity, account of the B1:B user on block chain 1
Identity, account of the B2:B user on block chain 2
A1 possesses: 100 virtual coin Z, and assets M is a
A2 possesses: empty
B1 possesses: ten parts of 5000 virtual coin Z, assets M
B2 possesses: ten parts of 6000 virtual coin Y, assets N
Bulletin space may is that
1. exchange
Social 2. (in chain or outside chain)
3. self-dealing
Bulletin space does not have any restrictions, as long as transaction exoergic is for linking up.
Transaction context:
The New Account A2 that user A is established, it is desirable to which a part of fund in account A1 is transferred in account A2.
User A has found friend or agent user B provides help, and arranging (such as checking the exchange rate) conversion ratio is 1Z
=10Y.
Fig. 6 is the interaction schematic diagram across chain transaction of a specific embodiment of the invention, referring to Fig. 6, process of exchange can include:
Account A2 is initiated: demand 100Y, provides 0, and generate Transaction Information F using across the catenary system function of block chain.
Account A1 is additional: Transaction Information F+ demand 0 provides 10Z, and generates Transaction Information FF.
Transaction Information FF is issued user B by any means by user A.
Account B1 is additional: Transaction Information FF+ demand 10Z provides 0, and generate Transaction Information FFF.
Account B2 is additional: Transaction Information FFF+ demand 0 provides 100Y, and generates Transaction Information (information combination) FFFF.
At this point, Transaction Information FFFF specifically may be used are as follows:
The relevant information of block chain 2 (content of atom Transaction Information):
Account A2: demand 100Y provides 0
Account B2: demand 0 provides 100Y
The relevant information of block chain 1 (content of atom Transaction Information):
A1: demand 0 provides 10Z
B1: demand 10Z provides 0
At this point, the atom of atom Transaction Information and block chain 2 that Transaction Information FFFF transcoding is respectively formed block chain 1 is handed over
Easy information can be used and be broadcasted on block chain 1 and block chain 2 respectively across catenary system.Use atomic lock by phase before broadcast
Information locking is closed to unlock after information all cochains of all chains, allow to circulate.Otherwise revocation can be executed, rollback, moved back
It returns and operations is waited to eliminate influence of the unfinished transaction to chain.
" transaction " in block chain can refer to various forms of information mutual communications.In other embodiments, for example, " transaction " can
Think that information is inquired, at this point, information provided by transaction content provider may include query requirement, transaction content recipient institute
Received information may include query result." transaction " can be to deposit card authority, at this point, letter provided by transaction content provider
Breath may include needing the voucher that stores, and the received information of transaction content recipient institute may include confirming the receipt for depositing card.
Based on inventive concept identical with across chain method of commerce shown in FIG. 1, the embodiment of the invention also provides one kind across
Chain the transaction device, as described in following example.The principle and across chain method of commerce phase solved the problems, such as due to across the chain the transaction device
Seemingly, therefore the implementation across chain the transaction device may refer to the implementation across chain method of commerce, and overlaps will not be repeated.
Fig. 7 is the structural schematic diagram across chain the transaction device of one embodiment of the invention.As shown in fig. 6, some embodiments
Across chain the transaction device, comprising: information word generation unit 210, information combination producing unit 220, atom Transaction Information generation unit
230 and uplink operation unit 240, above-mentioned each unit is linked in sequence.
Information word generation unit 210, each information for the needs on variant block chain to be traded are separately converted to set
The information word for the formula that fixes;
Information combination producing unit 220 generates described each for constantly being added up the information word according to transaction progress sequence
The information of the Transaction Information of each transaction participant on different blocks chain combines;
Atom Transaction Information generation unit 230, for information combination transcoding to be generated to the atom of each block chain
Transaction Information;
Uplink operation unit 240 will be each described in the case where each atom Transaction Information all has legitimacy
Atom Transaction Information is broadcasted on corresponding block chain, and carries out uplink operation to the atom Transaction Information, to complete
The trading processing of each block chain.
Fig. 8 is the structural schematic diagram across chain the transaction device of another embodiment of the present invention.As shown in figure 8, it is shown in Fig. 7 across
Chain the transaction device may also include that into chain control unit 270, connect with uplink operation unit 240.
Enter chain control unit 270, it, will be complete in the case where for failing the block chain of completion trading processing in presence
At trading processing the corresponding block chain is restored to reset condition.
In some embodiments, across chain the transaction device shown in Fig. 7 may also include that lock cell 250, be connected to atom friendship
Between easy information generating unit 230 and uplink operation unit 240.
Lock cell 250, for locking the friendship of transaction content provider in each atom Transaction Information using atomic lock
Easy content ownership.
In some embodiments, across the chain method of commerce of above-described embodiment may also include that unlocking unit 260, with uplink operation
Unit 240 connects.
Unlocking unit 260, for unlocking locking in the case where there is the block chain for failing to complete trading processing
The transaction content ownership.
In some embodiments, across chain method of commerce shown in Fig. 7 may also include that verification unit 280, be connected to atom friendship
Between easy information generating unit 230 and uplink operation unit 240.
Verification unit 280, for whether meeting setting business transaction rule by each atom Transaction Information of verification, with
And whether meet the information format of corresponding block chain, judge whether each atom Transaction Information has legitimacy.
In some embodiments, the information word includes the main body signature that can be identified for that information source.
The embodiment of the present invention also provides a kind of computer equipment, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, the processor realize above-described embodiment the method when executing described program
Step.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, the program
The step of above-described embodiment the method is realized when being executed by processor.
In conclusion across the chain method of commerce of the embodiment of the present invention, across chain the transaction device, computer equipment and computer can
Read storage medium, by by the information word of the information conversion setting format on different blocks chain, can by all kinds of business information or
Transaction Information removes the information unit member to form unified format, across the difference of block catenary system, realizes to the progress of any content
Across chain transaction.The information combination that the Transaction Information of each transaction participant is generated by those information words that add up, combines the information
Transcoding generates the atom Transaction Information of different blocks chain, and carries out in the case where each atom Transaction Information all has legitimacy
The processing such as chain operation, can make the trading processing of each block chain while come into force, and avoid a certain participant benefit damage, guarantee information
The validity of transmitting.
In the description of this specification, reference term " one embodiment ", " specific embodiment ", " some implementations
Example ", " such as ", the description of " example ", " specific example " or " some examples " etc. mean it is described in conjunction with this embodiment or example
Particular features, structures, materials, or characteristics are included at least one embodiment or example of the invention.In the present specification,
Schematic expression of the above terms may not refer to the same embodiment or example.Moreover, the specific features of description, knot
Structure, material or feature can be combined in any suitable manner in any one or more of the embodiments or examples.Each embodiment
Involved in the step of sequence be used to schematically illustrate implementation of the invention, sequence of steps therein is not construed as limiting, can be as needed
It appropriately adjusts.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Particular embodiments described above has carried out further in detail the purpose of the present invention, technical scheme and beneficial effects
Describe in detail it is bright, it should be understood that the above is only a specific embodiment of the present invention, the guarantor being not intended to limit the present invention
Range is protected, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should be included in this
Within the protection scope of invention.
Claims (10)
1. a kind of across chain method of commerce characterized by comprising
Each information that needs on variant block chain are traded is separately converted to the information word of setting format;
It is constantly added up the information word according to transaction progress sequence, generates each transaction participant on the variant block chain
The information of Transaction Information combines;
Information combination transcoding is generated to the atom Transaction Information of each block chain;
In the case where each atom Transaction Information all has legitimacy, by each atom Transaction Information in corresponding block
It is broadcasted on chain, and uplink operation is carried out to the atom Transaction Information, to complete the trading processing of each block chain.
2. across chain method of commerce as described in claim 1, which is characterized in that by each atom Transaction Information in corresponding area
Before being broadcasted on block chain, further includes:
The transaction content ownership of transaction content provider in each atom Transaction Information is locked using atomic lock.
3. across chain method of commerce as claimed in claim 2, which is characterized in that further include:
In the case where there is the block chain for failing to complete trading processing, the transaction content ownership of locking is unlocked.
4. across chain method of commerce as described in claim 1, which is characterized in that further include:
In the case where there is the block chain for failing to complete trading processing, by completed trading processing to corresponding described
Block chain restores to reset condition.
5. across chain method of commerce as described in claim 1, which is characterized in that by each atom Transaction Information in corresponding area
Before being broadcasted on block chain, further includes:
Whether meet setting business transaction rule by each atom Transaction Information of verification, and whether meets corresponding block
The information format of chain, judges whether each atom Transaction Information has legitimacy.
6. across chain method of commerce as described in claim 1, which is characterized in that the information word includes that can be identified for that information source
Main body signature.
7. a kind of across chain the transaction device characterized by comprising
Information word generation unit, each information for the needs on variant block chain to be traded are separately converted to setting format
Information word;
Information combination producing unit generates the variant area for constantly adding up the information word according to transaction progress sequence
The information of the Transaction Information of each transaction participant on block chain combines;
Atom Transaction Information generation unit, for information combination transcoding to be generated to the atom transaction letter of each block chain
Breath;
Uplink operation unit, in the case where each atom Transaction Information all has legitimacy, each atom to be handed over
Easy information is broadcasted on corresponding block chain, and carries out uplink operation to the atom Transaction Information, each described to complete
The trading processing of block chain.
8. across chain the transaction device as claimed in claim 7, which is characterized in that further include:
Enter chain control unit, in the case where for failing the block chain of completion trading processing in presence, by completed friendship
It is easy to handle that the corresponding block chain is restored to reset condition.
9. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that the step of processor realizes claim 1 to 6 the method when executing described program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The step of claim 1 to 6 the method is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811264409.9A CN109523380A (en) | 2018-10-29 | 2018-10-29 | Across chain method of commerce and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811264409.9A CN109523380A (en) | 2018-10-29 | 2018-10-29 | Across chain method of commerce and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109523380A true CN109523380A (en) | 2019-03-26 |
Family
ID=65774051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811264409.9A Withdrawn CN109523380A (en) | 2018-10-29 | 2018-10-29 | Across chain method of commerce and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109523380A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110119486A (en) * | 2019-04-18 | 2019-08-13 | 杭州宇链科技有限公司 | A kind of data format and its generation and analytic method for the transaction of block chain |
CN111105222A (en) * | 2019-12-16 | 2020-05-05 | 南方科技大学 | Block chain cross-chain operation method and device |
CN112417049A (en) * | 2020-11-24 | 2021-02-26 | 杭州云象网络技术有限公司 | Cross-chain interaction method and system based on block chain all-in-one machine |
CN112737771A (en) * | 2020-12-25 | 2021-04-30 | 上海计算机软件技术开发中心 | Multi-hop cross-block chain transaction system, platform and method |
US20210342940A1 (en) * | 2020-08-31 | 2021-11-04 | Polymath Inc. | Method, system, and medium for blockchain-enabled atomic settlement |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170017954A1 (en) * | 2015-07-14 | 2017-01-19 | Fmr Llc | Point-to-Point Transaction Guidance Apparatuses, Methods and Systems |
CN106960388A (en) * | 2017-03-01 | 2017-07-18 | 中钞信用卡产业发展有限公司北京智能卡技术研究院 | The method and apparatus of the digital asset circulation of transregional piece of chain |
CN107085810A (en) * | 2017-04-19 | 2017-08-22 | 朱皞罡 | Across the chain operating method and block chain management system of a kind of block chain |
CN108009811A (en) * | 2017-11-30 | 2018-05-08 | 中国人民解放军国防科技大学 | Inter-cloud computing environment value exchange-oriented cross-chain communication method |
CN108154366A (en) * | 2017-12-25 | 2018-06-12 | 丁江 | Across chain digital asset transfer method and terminal device |
-
2018
- 2018-10-29 CN CN201811264409.9A patent/CN109523380A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170017954A1 (en) * | 2015-07-14 | 2017-01-19 | Fmr Llc | Point-to-Point Transaction Guidance Apparatuses, Methods and Systems |
CN106960388A (en) * | 2017-03-01 | 2017-07-18 | 中钞信用卡产业发展有限公司北京智能卡技术研究院 | The method and apparatus of the digital asset circulation of transregional piece of chain |
CN107085810A (en) * | 2017-04-19 | 2017-08-22 | 朱皞罡 | Across the chain operating method and block chain management system of a kind of block chain |
CN108009811A (en) * | 2017-11-30 | 2018-05-08 | 中国人民解放军国防科技大学 | Inter-cloud computing environment value exchange-oriented cross-chain communication method |
CN108154366A (en) * | 2017-12-25 | 2018-06-12 | 丁江 | Across chain digital asset transfer method and terminal device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110119486A (en) * | 2019-04-18 | 2019-08-13 | 杭州宇链科技有限公司 | A kind of data format and its generation and analytic method for the transaction of block chain |
CN111105222A (en) * | 2019-12-16 | 2020-05-05 | 南方科技大学 | Block chain cross-chain operation method and device |
CN111105222B (en) * | 2019-12-16 | 2023-12-19 | 南方科技大学 | Block chain crossing operation method and device |
US20210342940A1 (en) * | 2020-08-31 | 2021-11-04 | Polymath Inc. | Method, system, and medium for blockchain-enabled atomic settlement |
CN112417049A (en) * | 2020-11-24 | 2021-02-26 | 杭州云象网络技术有限公司 | Cross-chain interaction method and system based on block chain all-in-one machine |
CN112417049B (en) * | 2020-11-24 | 2024-03-12 | 杭州云象网络技术有限公司 | Cross-chain interaction method and system based on block chain all-in-one machine |
CN112737771A (en) * | 2020-12-25 | 2021-04-30 | 上海计算机软件技术开发中心 | Multi-hop cross-block chain transaction system, platform and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230254168A1 (en) | System and method for controlling asset-related actions via a block chain | |
CN109417465B (en) | Registration and automatic management method of intelligent contracts executed by block chains | |
Zamyatin et al. | Sok: Communication across distributed ledgers | |
CN106504094B (en) | Transaction matching method and system of distributed general ledger system based on block chain technology | |
CN109523380A (en) | Across chain method of commerce and device | |
JP6956062B2 (en) | Transaction method, program, verification device and generation method | |
Robinson et al. | Atomic crosschain transactions for ethereum private sidechains | |
JP2023062177A (en) | Constraint on input of unlocking transaction in blockchain | |
EP3718069A1 (en) | Blockchain system for confidential and anonymous smart contracts | |
CN110163590A (en) | Payment based on block chain withholds method and device, electronic equipment, storage medium | |
EP4315214A2 (en) | Advanced transactional protocols and ecosystem for smart contract authoring and deployment | |
Laurence | Introduction to blockchain technology | |
CN109447636A (en) | A kind of assets transfer method and device | |
CN109767217A (en) | Digital asset, server, terminal and digital asset method of commerce | |
GB2578168A (en) | Computer-implemented method and system for digital signing of transactions | |
Baset et al. | Blockchain Development with hyperledger: build decentralized applications with hyperledger fabric and composer | |
Tefagh et al. | Atomic bonded cross-chain debt | |
Lu et al. | Patterns for blockchain-based payment applications | |
Fujimoto et al. | Secure blockchain interworking using extended smart contract | |
Cai et al. | Advanced Blockchain Technology: Frameworks and Enterprise-Level Practices | |
Antal et al. | Distributed Ledger Technology Review and Decentralized Applications Development Guidelines. Future Internet 2021, 13, 62 | |
Kaur et al. | Technologies Behind Crypto-Based Decentralized Finance | |
Dhillon et al. | Blockchain 3.0 | |
Baratella | Decentralized Carpooling with Algorand Blockchain | |
US11935065B2 (en) | Systems and methods for implementing offline protocol in CBDC networks using collateral chain |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210121 Address after: 215163 No. 9 Xuesen Road, Science and Technology City, Suzhou High-tech Zone, Jiangsu Province Applicant after: Suzhou Lang run innovation intellectual property operation Co.,Ltd. Address before: 100034 4008, 4 floor, 9 building, 56 half moon street, Xicheng District, Beijing. Applicant before: SINOCHAIN TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190326 |
|
WW01 | Invention patent application withdrawn after publication |