CN109447605A - A kind of chain currency conversion method, apparatus, equipment and medium based on block chain - Google Patents
A kind of chain currency conversion method, apparatus, equipment and medium based on block chain Download PDFInfo
- Publication number
- CN109447605A CN109447605A CN201811243105.4A CN201811243105A CN109447605A CN 109447605 A CN109447605 A CN 109447605A CN 201811243105 A CN201811243105 A CN 201811243105A CN 109447605 A CN109447605 A CN 109447605A
- Authority
- CN
- China
- Prior art keywords
- currency
- chain
- account
- block chain
- block
- 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
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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- 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)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Development Economics (AREA)
- Computer Security & Cryptography (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The embodiment of the present invention provides a kind of chain currency conversion method, apparatus, equipment and medium based on block chain, this method comprises: obtaining the first currency conversion transactions requests;It is handled according to the first currency conversion transactions requests, source Money transfer to be exchanged to setting is destroyed into account to be forbidden to use, and formed the first exchange Transaction Information and be added in the block of the first block chain;The second-cash, which is initiated, to the second block chain network exchanges transactions requests, wherein, the second-cash exchanges transactions requests and is used to request the block generation node of the second block chain to be handled, and exchanges Transaction Information according to described first, target currency is transferred accounts into promoter's account.The embodiment of the present invention is combined using the transactions requests of transferring accounts that two block chains execute respectively, realizes the redemption process of two kinds of chain currency.Transferring accounts for itself all chain currency is respectively executed according to rule is transferred accounts by two block chains, and within a block as Transaction Information record, guarantees its credibility.
Description
Technical field
The present embodiments relate to block chain data processing technique more particularly to a kind of chain currency conversions based on block chain
Method, apparatus, equipment and medium.
Background technique
In existing block chain technology, in order to support the affairs in block chain to execute, and excitation block chain generates node, i.e.,
Miner, the workload paid to generate block, it will usually by block chain distribution chain currency, be traded and be propped up using chain currency
Pay miner's expense.Chain currency is the ideal money for being issued by block chain and being guaranteed uniqueness, is generated, is recorded in the form of character string
With transfer accounts, authenticity is ensured by the operation rule of block chain, is approved by each node in block chain network.Allusion quotation at present
A kind of chain currency of type is exactly bit coin.With the foundation of other alliance's chains, privately owned chain, each block chain, which has, generates itself institute
Some chain currency.
It also proposed the block chain network that a plurality of block chain is combined, i.e., super chain, each block in the prior art
Realization issued transaction can be cooperated between chain.
But be limited to the rule of chain note issuance in block chain, the chain currency in each block chain can not intercommunication,
Therefore the interactive function between block chain is reduced.It, may if breaking limitation of block chain rule to chain currency itself completely
So that chain currency is unable to get the approval of block chain node, credible and value is also just lost.
Summary of the invention
The embodiment of the present invention provides a kind of chain currency conversion method, apparatus, equipment and medium based on block chain, with enhancing
The intercommunity of chain currency between block chain, and the operation rule of original block chain is maintained, keep the credibility of chain currency.
In a first aspect, the embodiment of the invention provides a kind of chain currency conversion method based on block chain, is applied to first
Block chain node, which comprises
Obtain the first currency conversion transactions requests, wherein the first currency conversion transactions requests are used for the first block
Source currency conversion in promoter's account of chain is the target currency of the second block chain;
It is handled according to the first currency conversion transactions requests, source Money transfer to be exchanged to setting is destroyed into account
Number to be forbidden to use, and forms the first exchange Transaction Information and be added in the block of the first block chain;
The second-cash is initiated to the second block chain network and exchanges transactions requests, wherein the second-cash is exchanged affairs and asked
It asks and is handled for requesting the block of the second block chain to generate node, Transaction Information is exchanged according to described first, by target goods
Coin is transferred accounts into promoter's account.
Second aspect, the chain currency conversion method based on block chain that the embodiment of the invention provides a kind of are applied to second
Block chain node, which comprises
The second-cash for receiving the initiation of the first block chain node exchanges transactions requests;
Transactions requests are exchanged according to the second-cash, first is searched from the first block chain and exchanges Transaction Information, wherein
The first exchange Transaction Information is transferred accounts to setting destruction account from promoter's account to prohibit for recording source currency to be exchanged
Only use;
If to it is described first exchange Transaction Information be verified, according to the second-cash exchange transactions requests into
Row processing, the target currency determined according to source currency to be exchanged is transferred accounts into promoter's account, and is formed second and converted
Transaction Information is changed to be added in the block of the second block chain.
The third aspect, the embodiment of the invention provides a kind of chain currency exchanging devices based on block chain, are configured at first
Block chain node, described device include:
First redemption request obtains module, for obtaining the first currency conversion transactions requests, wherein first currency is converted
Transactions requests are changed for the target currency by the source currency conversion in promoter's account of the first block chain for the second block chain;
First redemption request processing module will be wait convert for being handled according to the first currency conversion transactions requests
The source Money transfer changed to setting destroys account to be forbidden to use, and forms the first exchange Transaction Information and be added to firstth area
In the block of block chain;
Second redemption request initiation module exchanges transactions requests for initiating the second-cash to the second block chain network,
In, the second-cash exchanges transactions requests and is used to request the block generation node of the second block chain to be handled, according to described
First exchanges Transaction Information, and target currency is transferred accounts into promoter's account.
Fourth aspect, the embodiment of the invention provides a kind of chain currency exchanging devices based on block chain, are configured at second
Block chain node, described device include:
Second redemption request receiving module, the second-cash for receiving the initiation of the first block chain node are exchanged affairs and are asked
It asks;
First redemption data obtains module, for exchanging transactions requests according to the second-cash, from the first block chain
It searches first and exchanges Transaction Information, wherein the first exchange Transaction Information is for recording source currency to be exchanged from promoter
Account, which is transferred accounts, destroys account to setting to be forbidden to use;
Second redemption request processing module, if for being verified to the first exchange Transaction Information, basis
The second-cash is exchanged transactions requests and is handled, and the target currency determined according to source currency to be exchanged is transferred accounts to described
In promoter's account, and forms the second exchange Transaction Information and be added in the block of the second block chain.
5th aspect, the embodiment of the invention provides a kind of equipment, the equipment includes:
One or more processors;
Storage device, 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 processing
Device is realized as described in first aspect of the embodiment of the present invention or as described in second aspect of the embodiment of the present invention based on block chain
Chain currency conversion method.
6th aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer journey
Sequence realizes as described in first aspect of the embodiment of the present invention or such as second party of the embodiment of the present invention when program is executed by processor
Chain currency conversion method described in face based on block chain.
Technical solution provided by the embodiment of the present invention is carried out using the transactions requests of transferring accounts that two block chains execute respectively
In conjunction with realizing the redemption process of two kinds of chain currency.Itself all chain is respectively executed according to rule is transferred accounts by two block chains
Currency is transferred accounts, and within a block as Transaction Information record, guarantees its credibility.
Detailed description of the invention
Fig. 1 is the flow chart for the chain currency conversion method based on block chain that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the chain currency conversion method based on block chain provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart for chain currency conversion method based on block chain that the embodiment of the present invention three provides;
Fig. 4 is a kind of flow chart for chain currency conversion method based on block chain that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural schematic diagram for chain currency exchanging device based on block chain that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural schematic diagram for chain currency exchanging device based on block chain that the embodiment of the present invention six provides;
Fig. 7 is a kind of structural schematic diagram for equipment that the embodiment of the present invention seven provides.
Specific embodiment
The present invention 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 the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
The technical solution of the embodiment of the present invention is related to exchanging the chain currency of different blocks chain, and the program is especially suitable
For super chain network.In order to facilitate understanding, super chain network is introduced first.
Super chain network includes a plurality of block chain, can be classified for basic chain and parallel chain.Wherein, basic chain is a kind of block
Chain can be used for establishing connection between various independent block chains.Basic chain can be associated with corresponding parallel chain, be used
Data exchange is carried out in auxiliary establishing parallel chain, management parallel chain, auxiliary parallel chain.For example, basic chain can be used for existing
Block chain independent of each other between establish connection so that the data interaction in block chain is no longer limited to an individual block
Chain, so that the flow range of value is no longer limited to an individual block chain.That is, basic chain can be to entire block link network
Operating parameter in network is managed and supervises.
Parallel chain is also a kind of block chain, is opposite concept with basic chain.Parallel chain has all of general block chain
Attribute, meanwhile, it may go to establish, be managed and carry out data exchange based on basic chain.Parallel chain can be by basic chain
Made of derivation, or be also possible to have the function of with basic chain reciprocity status and, mutually auxiliary is established, is managed and data friendship
It changes.Parallel chain can have one, and there may also be a plurality of.And optionally, between a plurality of parallel chain independently of one another, not mutual shadow
It rings, alternatively, being also possible between two parallel chains mutually for the relationship of basic chain and parallel chain.
In general, basic chain is established and is run prior to parallel chain, with higher public credibility, appeal, value
More obtain everybody approval.So the node of parallel chain can use public credibility and the appeal of basic chain node come by being ready
The node for providing calculation power provides service for it.
Basic chain and parallel chain can form super chain network.In super chain network, basic chain be also possible to one or
It is a plurality of.It should be noted that between all nodes of the basic chain of participation and all nodes for participating in parallel chain, there are overlapping relations.
That is, at least partly node of participation parallel chain and participate in basic chain are at least partly identical block chain nodes.At these
In the block chain node of overlapping, it is deployed with all data of the block chain of its participation, that is, be both stored with the deployment number of basic chain
According to being also stored with the deployment data of parallel chain, also while being stored with the block itself of basic chain and parallel chain.Due to disposing simultaneously
There are the data of different blocks chain, so the transactions requests of different blocks chain can be generated in such block chain node, and may be used also
With local search to the Transaction Information in different blocks chain, it is facilitated to carry out across chain issued transaction.
In addition it should be noted that, basic chain and parallel chain can be swashed using the chain currency of identical or different type
Encourage, and the block chain node of basic chain and parallel chain can be stored simultaneously for the account of storage chains currency it is a variety of different types of
Chain currency, the chain currency in each block chain can be interacted with account, such as be transferred to or produce chain currency.Block chain plays
Incentive action is not limited to chain currency, is also possible to other by the element of account management, such as digital gift, therefore can manage
It solves, chain currency alleged by the embodiment of the present invention, can have economic value to be any, or have the element of incentive action to participant.
Wherein, account can be through asymmetric key pair and manage, and public key is exactly account address, and private key is owned by account
Person oneself saves.
In embodiments of the present invention, basic chain can be existed simultaneously in block chain network and parallel chain is two distinct types of
Block chain.Wherein, parallel chain can be a derivative block chain from basic chain, basic chain can be provided for parallel chain across
Chain service.The node for participating in parallel chain some or all of can be in basic chain node, wherein the node for participating in parallel chain exists
The operation of participation parallel chain can be independently chosen whether before participating in parallel chain network.
In an alternate embodiment of the present invention where, block chain node is stored with basic chain and parallel chain, Yi Jicun simultaneously
Contain the deployment data of basic chain and parallel chain.
Wherein, deployment data can be data Layer in block chain, network layer, common recognition layer, excitation layer, contract layer and application layer
Corresponding data, such as data block, timestamp, mechanism of transmission, authentication mechanism, issuing mechanism, algorithm mechanism, intelligent contract or can
Program the data such as currency.
In embodiments of the present invention, block chain node can be can handle simultaneously basic chain network in parallel chain network
The node of transactions requests, thus can memory block chain network deployment data corresponding with parallel chain network simultaneously, and can be same
When store the block chain Transaction Information of basic chain and parallel chain.
Embodiment one
Fig. 1 is the flow chart for the chain currency conversion method based on block chain that the embodiment of the present invention one provides, the embodiment
It is applicable to handle the chain currency conversion of any two block chains in super chain network, is especially by the currency conversion of parallel chain
The currency of basic chain.It is primary exchange need by the source currency and target currency exchanged respectively belonging to the participation of block chain node, match
It closes to execute and completes dialogue.Certainly, the node for belonging to two block chains can be the same physical equipment.The present embodiment is by being configured at
First block chain node is executed based on the chain currency exchanging device of block chain, which can use software and/or hardware
Mode realize.
As shown in Figure 1, this method comprises:
S110, the first currency conversion transactions requests are obtained, wherein the first currency conversion transactions requests are used for first
Source currency conversion in promoter's account of block chain is the target currency of the second block chain;
First currency conversion transactions requests can be the form of intelligent contract, can be sent out by the arbitrary node of the first block chain
It rises.Optionally, the first block chain is certain parallel chain, and the second block chain is basic chain, also referred to as main chain.The public credibility of basic chain is more
Height, currency more have economic value, and parallel chain currency conversion is more for the demand of basic chain currency.
First currency conversion transactions requests embody the demand by source currency conversion for target currency.A variety of sides can be passed through
Formula specifies the number to be exchanged, such as, it is possible to specify source amount of money to be exchanged, or the specified target currency number to be exchanged
Volume can also be specified simply and exchange whole source currency in promoter's account.
S120, it is handled according to the first currency conversion transactions requests, by source Money transfer to be exchanged to setting
Account is destroyed to be forbidden to use, and forms the first exchange Transaction Information and is added in the block of the first block chain;
The node of first block chain can be block and generate node or non-block generation node, can be to first currency
It exchanges transactions requests to be handled, specifically may include determining to exchange number, while determining that account is destroyed in setting, by source Money transfer
It is destroyed in account to setting, the transfer procedure is similar with conventional transfer procedure.It sets and destroys account as dedicated account, in the account
Source currency be no longer participate in circulation, forbid being used.The setting can specifically be destroyed to the address setting of transferring accounts of account
Address state is transferred accounts to be forbidden to use, to realize that the chain currency in account is unavailable for sky, or setting.It can be set in creation
Above-mentioned setting is carried out when destroying account, for example, regular account number will create asymmetric key pair when creating, and setting destruction account can
To abandon private key, or private key is not issued, chain currency can be shifted outward from the account from without user.Account is destroyed in setting
Public key address can carry in the first currency conversion transactions requests, or can be only fitted in the deployment data of node for obtaining
It takes.
The first exchange Transaction Information that node processing is formed, also typically includes to whether transferring accounts for account is destroyed in setting
It executes, and various specifying informations, such as the mark of promoter's account for transferring accounts etc..First exchange Transaction Information is added to institute
In the block for stating the first block chain, to prevent from distorting, and for inquiring and authenticating.
S130, second-cash exchange transactions requests are initiated to the second block chain network, wherein the second-cash exchanges thing
Business request is handled for requesting the block of the second block chain to generate node, Transaction Information is exchanged according to described first, by mesh
Money transfer is marked into promoter's account.
As previously mentioned, block chain node is deployed with the deployment data of the first block chain and the second block chain simultaneously, so can
Transactions requests are exchanged to initiate the second-cash.
It can be automatically initiated by the node of the first block chain, middleware initiation or user is assisted manually to initiate the second-cash and convert
Transactions requests are changed, the second-cash is sent to the second block chain network from the first block chain node and exchanges transactions requests.The second-cash
Transactions requests are exchanged to be used to that the second block chain to be requested to complete the process for shifting target currency to promoter's account.Assist middleware
Can be other can interact with node, the equipment of triggering transactions requests initiation or software package etc..
First currency conversion transactions requests and the second-cash exchange transactions requests, are equivalent to transactions requests of once transferring accounts,
In conjunction with the redemption process for completing a chain currency.
After the node of the second block chain, which receives the second-cash, exchanges transactions requests, it can be converted according to first wherein carried
The Transaction Identifier for changing Transaction Information inquires first from the first block chain and exchanges Transaction Information, to verify transferring accounts for source currency
Whether process is correct and executed, if being verified, target currency is transferred accounts into promoter's account, completes to exchange
Process.
Technical solution provided by the embodiment of the present invention is carried out using the transactions requests of transferring accounts that two block chains execute respectively
In conjunction with realizing the redemption process of two kinds of chain currency.Itself all chain is respectively executed according to rule is transferred accounts by two block chains
Currency is transferred accounts, and within a block as Transaction Information record, guarantees its credibility.
In the above scheme, target currency can be produced from any account, but preferably be supported by block chain
This is exchanged, i.e., preferably, the second-cash exchanges transactions requests and is used to request the block generation node of the second block chain to be handled,
Transaction Information is exchanged according to described first, target currency is transferred accounts from the chain account of the first block chain to promoter's account
In.
Chain account can be an account for belonging to block chain, it can be used for management of the matchmaker in block chain for transaction
It is situated between, such as the elements such as digital cash or other articles that can be used for trading.Account in chain account and existing block chain network
Difference be that can not be provided that its is operated by intelligent contract by the control and management of user.With the account of chain account relating
Transactions requests can be the initiation of block chain node, for requesting to establish the transactions requests of chain account, or be also possible to request
It changes chain account or carries out the transactions requests of currency operations in chain account.Currency operations generally may include the place for being transferred to and producing
Reason.Account transactions requests to contain or generate and be capable of the account intelligence contract of Quality Initiative account, account intelligence contract is written into
In block, guarantee its reliable execution.
It should be noted that mainly including user account and alliance's account in existing block chain field.Wherein, user's account
It number can be the account of user oneself, the not stringent corresponding relationship of the node in user and block chain network.That is, a use
Family can correspond to several nodes, and a node can also carry several users, and not have fixed correspondence between node and user
Relationship.User can be by the account data of the public key and Private key management oneself of oneself, for example, the number in management user account
Currency.User can be traded with the digital cash in oneself account, payment procedure expense, reward and provide frozen capital
Etc. any operation.Alliance's account can be more accounts people unified management and used.If alliance's account want to carry out transaction and
Reward etc. is related to the operation of digital cash, and the agreement of all members or large scale member in alliance is needed to agree to just can control connection
The digital cash of alliance's account operates.Alliance's account may be generally employed in alliance's chain, belong to the tissue such as company or mechanism.By
This is as it can be seen that account usually can be managed and be controlled by one or more users in existing block chain network.
However, if there is a block chain in block chain network incessantly, but there are a plurality of parallel chains.Parallel chain is being created
During building or running, it is also desirable to some to be related to the affairs of digital cash in account.But existing user account or connection
Alliance's account can not exactly match demand of the parallel chain to digital currency operations.For example, when creation parallel chain, in block chain network
Whether node can obtain income without being willing to participate in and providing calculation power due to uncertain.It is parallel in order to encourage node to participate in creation
Chain can be provided certain digital cash bonus by parallel chain founder and be motivated.But due to parallel chain founder couple
The user account or alliance's account of oneself have absolute control.Therefore, when parallel chain founder needs to change, Huo Zheping
When row chain creation person goes back on one's word to the bonus of offer, excitation not can guarantee centainly in place.
In embodiments of the present invention, it can be solved the above problems by the way that chain account is arranged in block chain network.Chain account
Number it can be used for storing chain element, i.e. chain currency, and chain account can not be by the control and management of any user.Chain account is public
It opens transparent and there is no private key, account operation can only be controlled by the account intelligence contract bound when the creation of chain account.Cause
This, chain account has enough public credibility for existing account, can guarantee the validity motivated to network node
And reliability.
The chain account of block chain and its account intelligence contract, in the block that can be written into this block chain itself, preferably
It is in write-in wound generation block.Alternatively, it is also possible to be written in the block of other block chains, supervised by the node of other block chains another
The execution of the chain account of one block chain.
Therefore, in the embodiment of the present invention, can also include:
Obtain the account transactions requests with chain account relating, wherein the chain account belongs to the first block chain;
Account intelligence contract is obtained from the account transactions requests, and the first block chain is written into the account intelligence contract
Block in, wherein the account intelligence contract is for being transferred to target currency to the chain account when executed.
In general, chain account can be established while block chain creation.If the target currency quantity in chain account is very
It is few, then it can be transferred accounts by way of intelligent contract into chain account.The currency of chain account is transferred to unrestricted, and currency produces then
It is ensured by the execution of intelligent contract.
Other chain currency in chain account allow as the foundation of the first block chain public credibility of support by the first block chain
Source currency conversion be chain account target currency, but also the enthusiasm that user participates in the first block chain is higher, without holding
The uncertain economic risk of load source currency.In addition, chain account belongs to the first block chain, it is the public guarantee as block chain, no
It is controlled by individual subscriber, also further improves its public credibility.
Embodiment two
Fig. 2 is a kind of flow chart of the chain currency conversion method based on block chain provided by Embodiment 2 of the present invention, this reality
Example is applied based on previous embodiment, provides the method for determination of the convertible number of determining target currency.
This method comprises:
S210, the first currency conversion transactions requests are obtained, wherein the first currency conversion transactions requests are used for first
Source currency conversion in promoter's account of block chain is the target currency of the second block chain;
S220, the number to be exchanged that source currency is determined according to the first currency conversion transactions requests;
Specifically number to be exchanged directly can be extracted from the first currency conversion transactions requests, can be specified by user.
S230, the total amount of target currency and the source currency are obtained in the chain account of the first block chain the
The total amount of one block chain;
In general, the data of chain account and each privately owned account can be buffered in node local, alternatively, also can recorde in each area
In block.The total amount of target currency and the source currency can be obtained in chain account from local cache or block chain
The total amount of one block chain.The total amount of target currency can be reduced with exchange.The total amount of source currency can be with the firstth area
The note issuance of block chain and increase, and with produce destroy and reduce.
S240, basis number to be exchanged, the total amount of target currency and the total amount of the source currency, determine target goods
The convertible number of coin is added in the first exchange Transaction Information;
Optionally, the convertible number of target currency is not to be specified by promoter, but the residue based on chain account
Sums of money is calculated.The convertible number of target currency can be calculated according to following formula:
Number to be exchanged/source currency of the convertible number=chain account target main chain source total amount * currency is total
Number.
The formula can be stored in the deployment data of block chain.
S250, it is handled according to the first currency conversion transactions requests, by source Money transfer to be exchanged to setting
Account is destroyed to be forbidden to use, and forms the first exchange Transaction Information and is added in the block of the first block chain;
Transfer operation can be performed in node, and source currency is transferred to setting from promoter's account and destroys account, while will be transferred accounts
Transaction Information, be added in the block of the first block chain and stored as the first exchange Transaction Information.
S260, second-cash exchange transactions requests are initiated to the second block chain network, wherein the second-cash exchanges thing
Business request is handled for requesting the block of the second block chain to generate node, Transaction Information is exchanged according to described first, by mesh
Money transfer is marked into promoter's account.
The technical solution of the present embodiment provides the mode of the convertible number of determining target currency, by based on chain account
Sums of money calculates, and can be avoided the confusion for exchanging rule, the value of support chain currency.
Embodiment three
Fig. 3 is a kind of flow chart for chain currency conversion method based on block chain that the embodiment of the present invention three provides, application
In the second block chain node, the chain currency conversion method that can be provided with previous embodiment, which cooperates, to be executed.The present embodiment is by configuring
In being executed based on the chain currency exchanging device of block chain for the second block chain node, which can be using software and/or hard
The mode of part is realized.
As shown in figure 3, this method comprises:
S310, the second-cash exchange transactions requests that the first block chain node is initiated are received;
As previously mentioned, after handling the first currency conversion transactions requests, that is, the second-cash can be transmitted in the first block chain node
Exchange transactions requests.Since the first block chain node is deployed with the deployment data of the first and second block chains simultaneously, so there is energy
Power initiates the second-cash and exchanges transactions requests.
S320, transactions requests are exchanged according to the second-cash, first are searched from the first block chain and exchanges Transaction Information,
Wherein, the first exchange Transaction Information is transferred accounts from promoter's account to setting destruction account for recording source currency to be exchanged
To be forbidden to use;
Second block chain node can exchange the data of the first exchange Transaction Information in transactions requests according to the second-cash
Mark searches first in the first block chain of local cache and exchanges Transaction Information.
If S330, be verified to the first exchange Transaction Information, affairs are exchanged according to the second-cash
Request is handled, and the target currency determined according to source currency to be exchanged is transferred accounts into promoter's account, and is formed
Second exchange Transaction Information is added in the block of the second block chain.
The convertible number that transactions requests obtain target currency is exchanged according to the second-cash specifically, can be, from
In the chain account of first block chain, target currency is transferred accounts into promoter's account.Chain account can be carried in the second goods
In currency exchange transactions requests, or inquires and know from local first block chain.Convertible number can exchange affairs from first
Inquiry is known in data.
Technical solution provided by the embodiment of the present invention is carried out using the transactions requests of transferring accounts that two block chains execute respectively
In conjunction with realizing the redemption process of two kinds of chain currency.Itself all chain is respectively executed according to rule is transferred accounts by two block chains
Currency is transferred accounts, and within a block as Transaction Information record, guarantees its credibility.
Example IV
Fig. 4 is a kind of flow chart for chain currency conversion method based on block chain that the embodiment of the present invention four provides, this reality
Example is applied based on previous embodiment, provides the concrete scheme verified to the first exchange Transaction Information.This method
Include:
S410, the second-cash exchange transactions requests that the first block chain node is initiated are received;
S420, transactions requests are exchanged according to the second-cash, first are searched from the first block chain and exchanges Transaction Information,
Wherein, the first exchange Transaction Information is transferred accounts from promoter's account to setting destruction account for recording source currency to be exchanged
To be forbidden to use;
S430, Transaction Information acquisition the first exchange transactions requests are exchanged according to described first;
In general, including the original contents of the first exchange transactions requests in the first exchange Transaction Information.
S440, the first exchange transactions requests are handled, to verify the convertible number of target currency, verifying to
The source currency of exchange transfers accounts from promoter's account and destroys account to setting;
Second block chain node can exchange transactions requests from new processing first, for example, determining promoter's account, calculating can be converted
Number is changed, account address etc. is destroyed in verifying setting, so that more stored first exchanges thing with the Transaction Information that itself is handled
Whether data of being engaged in are correct.Source currency to be exchanged correctly is verified to can determine whether the convertible number of target currency calculates
Whether transfer accounts from promoter's account and destroys account to setting.
S450, verifying target currency are not transferred accounts to promoter's account;
In addition, the second block chain node can also exchange the convertible data and promoter's account that Transaction Information determines according to first
Number, whether the second block chain of verifying had executed corresponding transfer operation.
S460, it verifies whether to pass through according to the determination of each verification result.
In conjunction with the verification result of above-mentioned S440 and S450, final determination verifies whether to pass through.
If S470, be verified to the first exchange Transaction Information, affairs are exchanged according to the second-cash
Request is handled, and the target currency determined according to source currency to be exchanged is transferred accounts into promoter's account, and is formed
Second exchange Transaction Information is added in the block of the second block chain.
The technical solution of the present embodiment, the specific verifying that Transaction Information is exchanged to first by the second block chain node, energy
Enough tight associations guaranteed between transfer operation twice, the safety of support chain currency conversion.
Technical solution provided by the embodiment of the present invention, although from the technical point of view, the chain currency of each block chain without
Difference, but from the point of view of social economy's angle, the Social Agree and economic value of each chain currency are different.It is general next
It says, the chain currency that the link setup time is long, public credibility is strong or promoted extension is big, it is clear that economic value is higher.In super chain field, out
The exchange demand between chain currency is showed, since chain currency is virtually issued, without real economy reference, so the present invention is real
It applies example and provides a kind of feasible chain currency conversion scheme, the economic value of chain currency itself can be embodied, and by block chain
Each node is received, additionally it is possible to guarantee reliability, the safety of redemption process.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for chain currency exchanging device based on block chain that the embodiment of the present invention five provides,
The device is configured in the first block chain node, is realized by way of software and/or hardware.The device includes: first to convert
Change request module 510, the first redemption request processing module 520 and the second redemption request initiation module 530.Wherein,
First redemption request obtains module 510, for obtaining the first currency conversion transactions requests, wherein first goods
Currency exchange transactions requests are used for the target goods by the source currency conversion in promoter's account of the first block chain for the second block chain
Coin;
First redemption request processing module 520 will be to for being handled according to the first currency conversion transactions requests
The source Money transfer of exchange to setting destroys account to be forbidden to use, and forms the first exchange Transaction Information and be added to described first
In the block of block chain;
Second redemption request initiation module 530 exchanges transactions requests for initiating the second-cash to the second block chain network,
Wherein, the second-cash is exchanged transactions requests and is handled for requesting the block of the second block chain to generate node, according to institute
The first exchange Transaction Information is stated, target currency is transferred accounts into promoter's account.
Technical solution provided by the embodiment of the present invention is carried out using the transactions requests of transferring accounts that two block chains execute respectively
In conjunction with realizing the redemption process of two kinds of chain currency.Itself all chain is respectively executed according to rule is transferred accounts by two block chains
Currency is transferred accounts, and within a block as Transaction Information record, guarantees its credibility.
On the basis of above scheme, the second-cash exchanges transactions requests optionally in the second block chain of request
Block generates node and is handled, and Transaction Information is exchanged according to described first, by target currency from the chain account of the first block chain
In transfer accounts into promoter's account.
On the basis of above scheme, further includes: number determining module is exchanged, for according to the first currency conversion thing
Business request in the process of processing, the number to be exchanged of source currency is determined according to the first currency conversion transactions requests;It obtains
Take the total amount of target currency in the chain account of the first block chain and the source currency in the sum of the first block chain
Volume;According to the total amount of number to be exchanged, the total amount of target currency and the source currency, the convertible of target currency is determined
Number is added in the first exchange Transaction Information.
Optionally, it exchanges number determining module to be specifically used for: calculating the convertible number of target currency according to following formula:
Number to be exchanged/source currency of the convertible number=chain account target main chain source total amount * currency is total
Number.
The device is optional, further includes:
Chain account operation module, for obtaining and the account transactions requests of chain account relating, wherein the chain account ownership
In the first block chain;Account intelligence contract is obtained from the account transactions requests, and the account intelligence contract is written first
In the block of block chain, wherein the account intelligence contract is for being transferred to target currency to the chain account when executed.
Optionally, it is described set destroy account transfer accounts address as empty or address state of transferring accounts be to be forbidden to use.
Chain currency exchanging device based on block chain provided by the embodiment of the present invention can be used for executing the embodiment of the present invention
The provided chain currency conversion method as performed by the first block chain node based on block chain has corresponding function and has
Beneficial effect.
Embodiment six
Fig. 6 is a kind of structural schematic diagram for chain currency exchanging device based on block chain that the embodiment of the present invention six provides.
The device is configured in the second block chain node, comprising: the second redemption request receiving module 610, the first redemption data obtain mould
Block 620 and the second redemption request processing module 630.Wherein,
Second redemption request receiving module 610, the second-cash for receiving the initiation of the first block chain node exchange affairs
Request;
First redemption data obtains module 620, for exchanging transactions requests according to the second-cash, from the first block chain
It is middle to search the first exchange Transaction Information, wherein the first exchange Transaction Information is for recording source currency to be exchanged from initiation
Person's account, which is transferred accounts, destroys account to setting to be forbidden to use;
Second redemption request processing module 630, if for being verified to the first exchange Transaction Information, root
Transactions requests are exchanged according to the second-cash to be handled, and the target currency determined according to source currency to be exchanged is transferred accounts to institute
It states in promoter's account, and forms the second exchange Transaction Information and be added in the block of the second block chain.
Technical solution provided by the embodiment of the present invention is carried out using the transactions requests of transferring accounts that two block chains execute respectively
In conjunction with realizing the redemption process of two kinds of chain currency.Itself all chain is respectively executed according to rule is transferred accounts by two block chains
Currency is transferred accounts, and within a block as Transaction Information record, guarantees its credibility.
On the basis of above scheme, optionally, the second redemption request processing module 630 exchanges affairs to described first
Being verified for data specifically includes: exchanging Transaction Information according to described first and obtains the first exchange transactions requests;To described
One exchange transactions requests are handled, and to verify the convertible number of target currency, verify source currency to be exchanged from hair
Person's account is played to transfer accounts to setting destruction account;Verifying target currency is not transferred accounts to promoter's account;According to each verification result
Determination verifies whether to pass through.
Optionally, the second redemption request processing module 630 is exchanged transactions requests according to the second-cash and is handled, will
It is transferred accounts according to the target currency that source currency to be exchanged determines into promoter's account and is specifically included:
The convertible number that transactions requests obtain target currency is exchanged according to the second-cash, from the chain of the first block chain
In account, target currency is transferred accounts into promoter's account.
Chain currency exchanging device based on block chain provided by the embodiment of the present invention can be used for executing the embodiment of the present invention
The provided chain currency conversion method as performed by the second block chain node based on block chain has corresponding function and has
Beneficial effect.
Embodiment seven
Fig. 7 is a kind of structural schematic diagram for equipment that the embodiment of the present invention seven provides.Fig. 7, which is shown, to be suitable for being used to realizing this
The block diagram of the example devices 712 of invention embodiment.The equipment 712 that Fig. 7 is shown is only an example, should not be to the present invention
The function and use scope of embodiment bring any restrictions.
As shown in fig. 7, equipment 712 is showed in the form of universal computing device, optionally block chain node device.Equipment
712 component can include but is not limited to: one or more processor or processing unit 716, system storage 728, even
Connect the bus 718 of different system components (including system storage 728 and processing unit 716).
Bus 718 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Equipment 712 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment
The usable medium of 712 access, including volatile and non-volatile media, moveable and immovable medium.
System storage 728 may include the computer system readable media of form of volatile memory, such as deposit at random
Access to memory (RAM) 730 and/or cache memory 732.Equipment 712 may further include other removable/not removable
Dynamic, volatile/non-volatile computer system storage medium.Only as an example, storage system 734 can be used for read and write can not
Mobile, non-volatile magnetic media (Fig. 7 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 7, Ke Yiti
For the disc driver for being read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to moving non-volatile light
The CD drive of disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver
It can be connected by one or more data media interfaces with bus 718.Memory 728 may include that at least one program produces
Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention real
Apply the function of the chain currency conversion method based on block chain of the execution of the first block chain node provided by example.
Program/utility 740 with one group of (at least one) program module 742, can store in such as memory
In 728, such program module 742 includes but is not limited to operating system, one or more application program, other program modules
And program data, it may include the realization of network environment in each of these examples or certain combination.Program module 742
Usually execute the chain currency conversion method based on block chain that first block chain node executes in embodiment described in the invention
Function and/or method.
Equipment 712 can also be logical with one or more external equipments 714 (such as keyboard, sensing equipment, display 724 etc.)
Letter, can also be enabled a user to one or more equipment interact with the equipment 712 communicate, and/or with make the equipment 712
Any equipment (such as network interface card, modem etc.) that can be communicated with one or more of the other calculating equipment communicates.This
Kind communication can be carried out by input/output (I/O) interface 722.Also, equipment 712 can also by network adapter 720 with
One or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.Such as
Shown in Fig. 7, network adapter 720 is communicated by bus 718 with other modules of equipment 712.It should be understood that although not showing in figure
Out, other hardware and/or software module can be used with bonding apparatus 712, including but not limited to: microcode, device driver, superfluous
Remaining processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 716 by the program that is stored in system storage 728 of operation, thereby executing various function application with
And data processing, such as realize the chain currency based on block chain that the first block chain node provided by the embodiment of the present invention executes
Exchanging method.
Embodiment eight
The embodiment of the present invention eight additionally provides a kind of equipment, and the structure chart of the equipment equally can be found in Fig. 7.
The difference of the embodiment of the present invention and embodiment seven is only that: processing unit 716 is stored in system storage by operation
Program in device 728 thereby executing various function application and data processing, such as realizes provided by the embodiment of the present invention the
The chain currency conversion method based on block chain that two block chain nodes execute.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the journey
The chain based on block chain that the first block chain node as provided by the embodiment of the present invention executes is realized when sequence is executed by processor
Currency conversion method.
The embodiment of the present invention provides another computer readable storage medium again, is stored thereon with computer program, should
When program is executed by processor realize the second block chain node such as the embodiment of the present invention provided by execution based on block chain
Chain currency conversion method.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool
There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (13)
1. a kind of chain currency conversion method based on block chain, which is characterized in that be applied to the first block chain node, the method
Include:
Obtain the first currency conversion transactions requests, wherein the first currency conversion transactions requests are used for the first block chain
Source currency conversion in promoter's account is the target currency of the second block chain;
Handled according to the first currency conversion transactions requests, by source Money transfer to be exchanged to setting destroy account with
It is forbidden to use, and forms the first exchange Transaction Information and be added in the block of the first block chain;
The second-cash is initiated to the second block chain network and exchanges transactions requests, wherein the second-cash is exchanged transactions requests and used
It is handled in requesting the block of the second block chain to generate node, exchanges Transaction Information according to described first, target currency is turned
Account is into promoter's account.
2. the method according to claim 1, wherein the second-cash exchanges transactions requests for requesting second
The block of block chain generates node and is handled, and exchanges Transaction Information according to described first, by target currency from the first block chain
Chain account in transfer accounts into promoter's account.
3. according to the method described in claim 2, it is characterized in that, being handled according to the first currency conversion transactions requests
During, further includes:
The number to be exchanged of source currency is determined according to the first currency conversion transactions requests;
The total amount of target currency and the source currency are obtained in the chain account of the first block chain in the first block chain
Total amount;
According to the total amount of number to be exchanged, the total amount of target currency and the source currency, converting for target currency is determined
Number is changed, is added in the first exchange Transaction Information.
4. according to the method described in claim 3, it is characterized in that, according to number to be exchanged, target currency total amount and
The total amount of the source currency determines that the convertible number of target currency includes:
The convertible number of target currency is calculated according to following formula:
Number to be exchanged/source currency total amount of the convertible number=chain account target main chain source total amount * currency.
5. according to any method of claim 2-4, which is characterized in that further include:
Obtain the account transactions requests with chain account relating, wherein the chain account belongs to the first block chain;
Account intelligence contract is obtained from the account transactions requests, and the account intelligence contract is written to the area of the first block chain
In block, wherein the account intelligence contract is for being transferred to target currency to the chain account when executed.
6. the method according to claim 1, wherein described set the address of transferring accounts for destroying account as sky or transfer accounts
Address state is to be forbidden to use.
7. a kind of chain currency conversion method based on block chain, which is characterized in that be applied to the second block chain node, the method
Include:
The second-cash for receiving the initiation of the first block chain node exchanges transactions requests;
Transactions requests are exchanged according to the second-cash, first is searched from the first block chain and exchanges Transaction Information, wherein is described
First exchange Transaction Information is transferred accounts to setting destruction account from promoter's account to forbid making for recording source currency to be exchanged
With;
If be verified to the first exchange Transaction Information, exchanged at transactions requests according to the second-cash
Reason transfers accounts the target currency determined according to source currency to be exchanged into promoter's account, and forms second and exchange thing
Business data are added in the block of the second block chain.
8. the method according to the description of claim 7 is characterized in that being verified packet to the first exchange Transaction Information
It includes:
Transaction Information, which is exchanged, according to described first obtains the first exchange transactions requests;
The first exchange transactions requests are handled, to verify the convertible number of target currency, verify source to be exchanged
Currency transfers accounts from promoter's account and destroys account to setting;
Verifying target currency is not transferred accounts to promoter's account;
It verifies whether to pass through according to the determination of each verification result.
9. the method according to the description of claim 7 is characterized in that being exchanged at transactions requests according to the second-cash
Reason, the target currency determined according to source currency to be exchanged, which is transferred accounts into promoter's account, includes:
The convertible number that transactions requests obtain target currency is exchanged according to the second-cash, from the chain account of the first block chain
In, target currency is transferred accounts into promoter's account.
10. a kind of chain currency exchanging device based on block chain, which is characterized in that be configured at the first block chain node, the dress
It sets and includes:
First redemption request obtains module, for obtaining the first currency conversion transactions requests, wherein the first currency conversion thing
Business request is for the target currency by the source currency conversion in promoter's account of the first block chain for the second block chain;
First redemption request processing module will be to be exchanged for being handled according to the first currency conversion transactions requests
Source Money transfer to setting destroys account to be forbidden to use, and forms the first exchange Transaction Information and be added to the first block chain
Block in;
Second redemption request initiation module exchanges transactions requests for initiating the second-cash to the second block chain network, wherein institute
It states the second-cash and exchanges transactions requests for requesting the block generation node of the second block chain to be handled, converted according to described first
Transaction Information is changed, target currency is transferred accounts into promoter's account.
11. a kind of chain currency exchanging device based on block chain, which is characterized in that be configured at the second block chain node, the dress
It sets and includes:
Second redemption request receiving module, the second-cash for receiving the initiation of the first block chain node exchange transactions requests;
First redemption data obtains module, for exchanging transactions requests according to the second-cash, searches from the first block chain
First exchanges Transaction Information, wherein the first exchange Transaction Information is for recording source currency to be exchanged from promoter's account
It transfers accounts and destroys account to setting to be forbidden to use;
Second redemption request processing module, if for being verified to the first exchange Transaction Information, according to
The second-cash is exchanged transactions requests and is handled, and the target currency determined according to source currency to be exchanged is transferred accounts to the initiation
In person's account, and forms the second exchange Transaction Information and be added in the block of the second block chain.
12. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, 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 are real
Now such as the chain currency conversion as claimed in any one of claims 1 to 6 or as described in any in claim 7-9 based on block chain
Method.
13. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Such as the chain as claimed in any one of claims 1 to 6 or as described in any in claim 7-9 based on block chain is realized when execution
Currency conversion method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811243105.4A CN109447605A (en) | 2018-10-24 | 2018-10-24 | A kind of chain currency conversion method, apparatus, equipment and medium based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811243105.4A CN109447605A (en) | 2018-10-24 | 2018-10-24 | A kind of chain currency conversion method, apparatus, equipment and medium based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109447605A true CN109447605A (en) | 2019-03-08 |
Family
ID=65548128
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811243105.4A Pending CN109447605A (en) | 2018-10-24 | 2018-10-24 | A kind of chain currency conversion method, apparatus, equipment and medium based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109447605A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110392121A (en) * | 2019-09-02 | 2019-10-29 | 杭州复杂美科技有限公司 | Parallel chain block generation method, equipment and storage medium |
CN110570310A (en) * | 2019-09-17 | 2019-12-13 | 百度在线网络技术(北京)有限公司 | Block chain transfer method and consensus realization method, device, equipment and medium |
CN111249739A (en) * | 2020-02-18 | 2020-06-09 | 杭州复杂美科技有限公司 | Main chain node selection method, game result display method, equipment and storage medium |
CN111275414A (en) * | 2019-12-31 | 2020-06-12 | 深圳市网心科技有限公司 | Block chain-based digital currency exchange method, device and system |
CN111404961A (en) * | 2020-03-26 | 2020-07-10 | 杭州复杂美科技有限公司 | Federation link point data transmission method, equipment and storage medium |
CN111769958A (en) * | 2020-09-02 | 2020-10-13 | 百度在线网络技术(北京)有限公司 | Block chain cross-chain processing method, device, equipment and storage medium |
WO2021239066A1 (en) * | 2020-05-28 | 2021-12-02 | 支付宝(杭州)信息技术有限公司 | Consortium blockchain network-based transaction execution method, and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160330034A1 (en) * | 2015-05-07 | 2016-11-10 | Blockstream Corporation | Transferring ledger assets between blockchains via pegged sidechains |
CN107133796A (en) * | 2017-04-18 | 2017-09-05 | 杭州复杂美科技有限公司 | Across the chain method of summary of block chain |
CN107742210A (en) * | 2017-10-13 | 2018-02-27 | 布比(北京)网络技术有限公司 | Across the chain fund transfer system and method for a kind of different blocks interchain |
CN108629584A (en) * | 2018-04-25 | 2018-10-09 | 常海峰 | Mode of payment, device based on block chain and computer readable storage medium |
-
2018
- 2018-10-24 CN CN201811243105.4A patent/CN109447605A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160330034A1 (en) * | 2015-05-07 | 2016-11-10 | Blockstream Corporation | Transferring ledger assets between blockchains via pegged sidechains |
CN107133796A (en) * | 2017-04-18 | 2017-09-05 | 杭州复杂美科技有限公司 | Across the chain method of summary of block chain |
CN107742210A (en) * | 2017-10-13 | 2018-02-27 | 布比(北京)网络技术有限公司 | Across the chain fund transfer system and method for a kind of different blocks interchain |
CN108629584A (en) * | 2018-04-25 | 2018-10-09 | 常海峰 | Mode of payment, device based on block chain and computer readable storage medium |
Non-Patent Citations (2)
Title |
---|
RECTINAJH: "《让价值流动——区块链跨链技术》", 《HTTPS://CLOUD.TENCENT.COM/DEVELOPER/ARTICLE/1128254》 * |
知行合一: "《区块链跨链技术》", 《HTTPS://MYBESTCOOL.GITHUB.IO/2018/06/19/ACROSS-THE-CHAIN-TECH/》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110392121A (en) * | 2019-09-02 | 2019-10-29 | 杭州复杂美科技有限公司 | Parallel chain block generation method, equipment and storage medium |
CN110392121B (en) * | 2019-09-02 | 2021-10-01 | 杭州复杂美科技有限公司 | Parallel chain block generation method, device and storage medium |
CN110570310A (en) * | 2019-09-17 | 2019-12-13 | 百度在线网络技术(北京)有限公司 | Block chain transfer method and consensus realization method, device, equipment and medium |
CN111275414A (en) * | 2019-12-31 | 2020-06-12 | 深圳市网心科技有限公司 | Block chain-based digital currency exchange method, device and system |
CN111249739A (en) * | 2020-02-18 | 2020-06-09 | 杭州复杂美科技有限公司 | Main chain node selection method, game result display method, equipment and storage medium |
CN111249739B (en) * | 2020-02-18 | 2023-04-07 | 杭州复杂美科技有限公司 | Main chain node selection method, game result display method, equipment and storage medium |
CN111404961A (en) * | 2020-03-26 | 2020-07-10 | 杭州复杂美科技有限公司 | Federation link point data transmission method, equipment and storage medium |
WO2021239066A1 (en) * | 2020-05-28 | 2021-12-02 | 支付宝(杭州)信息技术有限公司 | Consortium blockchain network-based transaction execution method, and system |
CN111769958A (en) * | 2020-09-02 | 2020-10-13 | 百度在线网络技术(北京)有限公司 | Block chain cross-chain processing method, device, equipment and storage medium |
CN111769958B (en) * | 2020-09-02 | 2021-01-01 | 百度在线网络技术(北京)有限公司 | Block chain cross-chain processing method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109447605A (en) | A kind of chain currency conversion method, apparatus, equipment and medium based on block chain | |
US20240154807A1 (en) | Partitioning a blockchain network | |
WO2020107919A1 (en) | Distributed network and ecosystem based on innovative proof-of-reputation consensus protocol | |
CN108959621A (en) | A kind of implementation method, device, equipment and the storage medium of block chain network | |
Pang | A new consensus protocol for blockchain interoperability architecture | |
CN110096857A (en) | Right management method, device, equipment and the medium of block catenary system | |
CN109829718B (en) | Block chain multi-level framework based on storage application scene and operation method thereof | |
KR20220010701A (en) | Computer system and method for more efficiently storing, issuing, and transacting tokenized blockchain game assets managed by a smart contract | |
CN108985774A (en) | A kind of motivational techniques, device, equipment and the storage medium of block chain network | |
CN109635165A (en) | Data summarization method, device, equipment and medium based on tree-like block chain network | |
CN108984645A (en) | block chain processing method, device, equipment and storage medium | |
CN110741373A (en) | Computer-implemented system and method for managing large blocks on a blockchain network | |
CN109670802A (en) | A kind of chain currency conversion method, apparatus, equipment and medium based on block chain | |
WO2021218459A1 (en) | Cross-chain interaction method, apparatus and system | |
CN109002487A (en) | A kind of post-processing approach based on copyright registration information, device, equipment and medium | |
KR102050087B1 (en) | The block-chain system including POPS(Proof of Power specification and Stake) consensus algorithm and block generation method in the block-chain system | |
JP2020523677A (en) | Method and system for mining blockchain transactions provided by validator nodes | |
CN108346100A (en) | Assets management method and device, electronic equipment | |
CN108664650A (en) | A kind of transaction methods, device, equipment and the storage medium of block chain network | |
CN108804706A (en) | A kind of block chain data processing method, device, equipment and storage medium | |
US20210365939A1 (en) | Method and apparatus for processing account of blockchain network, and storage medium | |
CN110599132B (en) | Method and device for generating reward data and computer readable storage medium | |
CN109146681A (en) | A kind of element processing method, device, equipment and the storage medium of block chain | |
CN115427995A (en) | Time-locked blockchain transactions and related blockchain techniques | |
CN110659906A (en) | Bill information processing method, related device and 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 |