CN110458543A - Data processing method, relevant device and medium - Google Patents
Data processing method, relevant device and medium Download PDFInfo
- Publication number
- CN110458543A CN110458543A CN201910716303.6A CN201910716303A CN110458543A CN 110458543 A CN110458543 A CN 110458543A CN 201910716303 A CN201910716303 A CN 201910716303A CN 110458543 A CN110458543 A CN 110458543A
- Authority
- CN
- China
- Prior art keywords
- client
- sourcing
- chain network
- transaction data
- digital asset
- 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.)
- Granted
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/08—Payment architectures
- G06Q20/085—Payment architectures involving remote charge determination or related payment systems
- G06Q20/0855—Payment architectures involving remote charge determination or related payment systems involving a third party
-
- 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/3823—Payment protocols; Details thereof insuring higher security of transaction combining multiple encryption tools for a transaction
-
- 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 invention discloses a kind of data processing method, relevant device and media, wherein data processing method includes: that the first transaction data is uploaded to region chain network, first transaction data is for making region chain network that the digital asset of the first client is transferred to the second client, and before the unlock parameter of digital asset is not disclosed, control digital asset is in the lock state in the second client;Check that the payment information that mandatory system uploads, payment information are the e-sourcings sent according to the second client and draw what condition generated in block chain network;Payment information includes the numerical value of e-sourcing and draws condition, if drawing condition includes that unlock parameter is disclosed, the first client has the qualification for drawing e-sourcing;Unlock parameter is subjected to disclosure in block chain network, and draws e-sourcing from mandatory system.The embodiment of the present invention can provide a kind of fair deal mode, so that the digital asset that can preferably trade between the first client and the second client.
Description
Technical field
The present invention relates to Internet technical fields, and in particular to technical field of data processing more particularly to data processing side
Method, data processing equipment, client and a kind of computer storage medium.
Background technique
Digital asset refer to enterprise or it is personal possess or control, with existing for spreadsheet format, in daily activities
Hold in case sale or the non-monetary asset in production process.Currently, leading to when both parties want transaction digital asset
Often need the intervention of third party transaction platform;Party intermediary and arbitration organ are served as by the third party transaction platform, in both parties
Between delivering trade information, thus realize digital asset transaction process closed loop.Inventor is in practice, it has been found that existing number
Transaction in assets is uniformly controlled by third party transaction platform, there is a problem of that transaction is opaque, is easy to cause dealing double
The transaction of side is unfair.It can be seen that lacking a kind of fair deal mode, at present to guarantee between both parties with a kind of high
Effect, fair mode carry out the transaction of digital asset.
Summary of the invention
The embodiment of the invention provides a kind of data processing method, relevant device and media, can provide a kind of fair friendship
Easy mode, so that the digital asset that can preferably trade between the first client and the second client.
On the one hand, the embodiment of the invention provides a kind of data processing method, the data processing method is applied to first
Client, the data processing method include:
First transaction data is uploaded to region chain network, first transaction data is for making the region chain network will
The digital asset of first client is transferred to the second client, and before the unlock parameter of the digital asset is not disclosed, control
The digital asset is made to be in the lock state in second client;
The payment information that mandatory system uploads is checked in the block chain network, the payment information is by the trustship
Branch of the system according to second client based on e-sourcing transmitted by first transaction data and the e-sourcing
Condition is taken to generate;The payment information include the e-sourcing numerical value and it is described draw condition, it is described to draw condition packet
If including the unlock parameter to be disclosed, first client has the qualification for drawing the e-sourcing;
The unlock parameter is subjected to disclosure in the block chain network, and draws the electronics from the mandatory system
Resource.
On the other hand, the embodiment of the invention provides a kind of data processing method, the data processing method is applied to the
Two clients, the data processing method include:
The first transaction data that the first client uploads is checked in block chain network, first transaction data is for making
The digital asset of first client is transferred to second client by the region chain network, and in the digital asset
Unlock parameter be not disclosed before, control the digital asset and be in the lock state in second client;
The condition of drawing of e-sourcing and the e-sourcing is sent to mandatory system, makes the mandatory system according to institute
It states e-sourcing and the condition of drawing generates and uploads payment information to block chain network;The payment information includes the electricity
The numerical value of child resource and it is described draw condition, if the condition of drawing includes that the unlock parameter is disclosed, described first is objective
Family end has the qualification for drawing the e-sourcing;
If the unlock parameter is disclosed in the block chain network by first client, joined using the unlock
Number unlocks the digital asset.
In another aspect, the data processing equipment runs on the embodiment of the invention provides a kind of data processing equipment
In one client, the data processing equipment includes:
First processing units, for the first transaction data to be uploaded to region chain network, first transaction data is used for
Make the region chain network that the digital asset of the first client is transferred to the second client, and in the unlock of the digital asset
Before parameter is not disclosed, controls the digital asset and be in the lock state in second client;
First checks unit, the payment information uploaded for checking mandatory system in the block chain network, the branch
Paying information is according to second client as the mandatory system based on e-sourcing transmitted by first transaction data
And the e-sourcing draw condition generation;The payment information includes the numerical value of the e-sourcing and described draws item
Part, if the condition of drawing includes that the unlock parameter is disclosed, first client, which has, draws the e-sourcing
Qualification;
The first processing units, for the unlock parameter to be carried out disclosure in the block chain network, and from described
The e-sourcing is drawn at mandatory system.
In another aspect, the data processing equipment runs on the embodiment of the invention provides a kind of data processing equipment
In two clients, the data processing equipment includes:
Second checks unit, the first transaction data uploaded for checking the first client in block chain network, described
First transaction data indicates the region chain network according to first transaction data by the digital asset of first client
It is transferred to second client, and before the unlock parameter of the digital asset is not disclosed, controls the digital asset and exists
Second client is in the lock state;
The second processing unit makes for the condition of drawing of e-sourcing and the e-sourcing to be sent to mandatory system
The mandatory system generates according to the e-sourcing and the condition of drawing and uploads payment information to block chain network;It is described
Payment information include the e-sourcing numerical value and it is described draw condition, if it is described draw condition include the unlock parameter quilt
Open, then first client has the qualification for drawing the e-sourcing;
Described the second processing unit, if for the unlock parameter by first client in the block chain network
It is open, then the digital asset is unlocked using the unlock parameter.
In another aspect, the client includes that input equipment and output are set the embodiment of the invention provides a kind of client
It is standby, the client further include:
Processor is adapted for carrying out one or more instruction;And
Computer storage medium, the computer storage medium are stored with one or more instruction, and described one or more
Instruction is suitable for being loaded by the processor and executing following steps:
First transaction data is uploaded to region chain network, first transaction data is for making the region chain network will
The digital asset of first client is transferred to the second client, and before the unlock parameter of the digital asset is not disclosed, control
The digital asset is made to be in the lock state in second client;
The payment information that mandatory system uploads is checked in the block chain network, the payment information is by the trustship
Branch of the system according to second client based on e-sourcing transmitted by first transaction data and the e-sourcing
Condition is taken to generate;The payment information include the e-sourcing numerical value and it is described draw condition, it is described to draw condition packet
If including the unlock parameter to be disclosed, first client has the qualification for drawing the e-sourcing;
The unlock parameter is subjected to disclosure in the block chain network, and draws the electronics from the mandatory system
Resource.
Alternatively, one or more instruction is suitable for being loaded by the processor and executing following steps:
The first transaction data that the first client uploads is checked in block chain network, first transaction data is for making
The digital asset of first client is transferred to second client by the region chain network, and in the digital asset
Unlock parameter be not disclosed before, control the digital asset and be in the lock state in second client;
The condition of drawing of e-sourcing and the e-sourcing is sent to mandatory system, makes the mandatory system according to institute
It states e-sourcing and the condition of drawing generates and uploads payment information to block chain network;The payment information includes the electricity
The numerical value of child resource and it is described draw condition, if the condition of drawing includes that the unlock parameter is disclosed, described first is objective
Family end has the qualification for drawing the e-sourcing;
If the unlock parameter is disclosed in the block chain network by first client, joined using the unlock
Number unlocks the digital asset.
In another aspect, the embodiment of the invention provides a kind of computer storage medium, the computer storage medium storage
There are the one or more the first instructions, one or more the first instruction is suitable for being loaded by processor and executing following steps:
First transaction data is uploaded to region chain network, first transaction data is for making the region chain network will
The digital asset of first client is transferred to the second client, and before the unlock parameter of the digital asset is not disclosed, control
The digital asset is made to be in the lock state in second client;
The payment information that mandatory system uploads is checked in the block chain network, the payment information is by the trustship
Branch of the system according to second client based on e-sourcing transmitted by first transaction data and the e-sourcing
Condition is taken to generate;The payment information include the e-sourcing numerical value and it is described draw condition, it is described to draw condition packet
If including the unlock parameter to be disclosed, first client has the qualification for drawing the e-sourcing;
The unlock parameter is subjected to disclosure in the block chain network, and draws the electronics from the mandatory system
Resource.
Alternatively, the computer storage medium is stored with the one or more the second instructions, described one or more the second refer to
It enables and is suitable for being loaded by processor and executing following steps:
The first transaction data that the first client uploads is checked in block chain network, first transaction data is for making
The digital asset of first client is transferred to second client by the region chain network, and in the digital asset
Unlock parameter be not disclosed before, control the digital asset and be in the lock state in second client;
The condition of drawing of e-sourcing and the e-sourcing is sent to mandatory system, makes the mandatory system according to institute
It states e-sourcing and the condition of drawing generates and uploads payment information to block chain network;The payment information includes the electricity
The numerical value of child resource and it is described draw condition, if the condition of drawing includes that the unlock parameter is disclosed, described first is objective
Family end has the qualification for drawing the e-sourcing;
If the unlock parameter is disclosed in the block chain network by first client, joined using the unlock
Number unlocks the digital asset.
In another aspect, the data processing system includes being used for the embodiment of the invention also provides a kind of data processing system
Run block chain node system, the first client, the second client and the mandatory system of block chain network;Wherein,
First transaction data is uploaded to the block chain network by first client, and first transaction data is used for
Make the region chain network that the digital asset of the first client is transferred to the second client, and in the unlock of the digital asset
Before parameter is not disclosed, controls the digital asset and be in the lock state in second client;
Second client checks first transaction data in the block chain network, based on first transaction
The condition of drawing of e-sourcing and the e-sourcing is sent to the mandatory system by data;If the condition of drawing includes institute
It states unlock parameter to be disclosed, then first client has the qualification for drawing the e-sourcing;
Mandatory system e-sourcing according to transmitted by second client and the condition of drawing generate
And payment information is uploaded to block chain network;The payment information includes the numerical value of the e-sourcing and described draws condition;
First client checks the payment information in the block chain network, and the unlock parameter is uploaded
To the block chain network to disclose the unlock parameter, and the e-sourcing is drawn from the mandatory system;
Second client after the unlock parameter is disclosed in the block chain network by first client,
The digital asset is unlocked using the unlock parameter.
In embodiments of the present invention, the first transaction data first can be uploaded to block chain network by the first client, this first
Transaction data makes region chain network that the digital asset of the first client is transferred to the second client, and in the unlock of digital asset
Before parameter is not disclosed, control digital asset is in the lock state in the second client.Second client can be in block chain network
In check the first transaction data, and the e-sourcing for being used to buy digital asset and the condition of drawing are sent to mandatory system, made
Mandatory system generates according to the e-sourcing and the condition of drawing and uploads payment information to block chain network, includes if drawing condition
Unlock parameter is disclosed, then the first client has the qualification for drawing e-sourcing.It can be seen that the first transaction data and drawing
Condition is mutually restricted by unlocking parameter;If unlock parameter is disclosed, digital asset and the first visitor is can be used in the second client
Family end can draw e-sourcing;Otherwise, the second client is not available digital asset and the first client can not also draw electronics
Resource.The use of digital asset and drawing for e-sourcing are constrained simultaneously by unlock parameter, it is ensured that the fairness of transaction.And
And since the Transaction Informations such as transaction data and payment information are uploaded to block chain network, then the first client, second
Client and mandatory system can view the Transaction Information, to can guarantee the open and clear of transaction.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram of the process of exchange of digital asset provided in an embodiment of the present invention;
Fig. 2 a is a kind of schematic diagram of data processing scheme for digital asset provided in an embodiment of the present invention;
Fig. 2 b is a kind of architecture diagram of data processing system provided in an embodiment of the present invention;
Fig. 2 c is the concrete structure schematic diagram of each section in a kind of data processing system provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of data processing method provided in an embodiment of the present invention;
Fig. 4 a is provided in an embodiment of the present invention a kind of about the flow diagram for uploading public key;
Fig. 4 b is provided in an embodiment of the present invention a kind of about the flow diagram for uploading payment information;
Fig. 4 c is a kind of flow diagram about open unlock parameter provided in an embodiment of the present invention;
Fig. 5 be another embodiment of the present invention provides a kind of data processing method flow diagram;
Fig. 6 is a kind of flow diagram for uploading transaction data provided in an embodiment of the present invention;
Fig. 7 a is a kind of application scenario diagram of data processing method provided in an embodiment of the present invention;
Fig. 7 b is a kind of another application scene figure of data processing method provided in an embodiment of the present invention;
Fig. 7 c is a kind of another application scene figure of data processing method provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of data processing equipment provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another data processing equipment provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of client provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description.
The relevant technologies of the embodiment of the present invention refer to: current digital asset transaction be usually by third party transaction platform into
What row was uniformly controlled, there is a problem of that transaction is opaque, is easy to cause the transaction of both parties unfair.It is traded with both parties
Digital asset be bill, third party transaction platform be e-bank for, so-called bill refers to what check drawer signed and issued in accordance with the law
By oneself or indicate the certain amount of money of other people unconditional payments to the marketable securities of payee or bearer;It is honoured by e-bank
The detailed process of draft can be shown in Figure 1 together: both parties conclude the transaction after intention, buyer's (discount mechanism) first pay the bill to
The supervision account of e-bank;It, can be by the current transaction ring of trade order after e-bank receives the fund that buyer is paid
Section is updated to " waiting seller's endorsement ".Correspondingly, seller's (take ticket enterprise) sees that trade order is in " waiting seller's endorsement " ring
It after section, then can endorse in ECDS system (e-business draft system), so-called endorsement refers to signs on bill.
ECDS system can notify buyer to receive ticket after the completion of the seller endorses;Buyer completes after signing for, and e-bank looks into air control is carried out
It askes, veritifies both parties' target bill in the state of completing a business transaction of ECDS system, so-called target bill refers to comprising between both parties
The bill of existing rights and duties relationship.When veritifying result is the target bill that buyer has signed for seller's endorsement, that is, sentence
It trades successfully calmly, the fund that e-bank can automatically be paid buyer at this time is withdrawn deposit to silver selected when seller's initiation inquiry
Row account.
By above-mentioned process of exchange it is found that accepting a draft in process of exchange in entire e-bank, during e-bank serves as
Jie side and arbitration organ, delivering trade information, to realize the process closed loop of payment funding and bill business.Studies have shown that mesh
There are the following problems for preceding mode of doing business: 1. third party transaction platform is usually by e-bank or other third party internets
What company established, belong to centralization framework and credit grade is lower;If the credit grade of third party transaction platform is lower, can
The trade loss of both parties can be will lead to, transaction reliability is lower;2. transaction system is more closed, both parties, electronics
There are limitations for the introducings such as bank, are unfavorable for the market expansion;3. lacking a kind of fair deal mode, to guarantee not believe mutually at two
It is traded in a manner of a kind of efficient, justice between the main body appointed.
To solve the above problems, the embodiment of the invention provides a kind of data processing schemes based on block chain, such as Fig. 2 a
It is shown;So-called block chain is the meters such as a kind of Distributed Storage, point-to-point transmission (P2P transmission), common recognition mechanism, Encryption Algorithm
The new application mode of calculation machine technology is substantially the database of a decentralization;Block chain can be by multiple by password
It learns and concatenates and the series winding transaction record (also known as block) of content is protected to constitute, can be allowed with the distributed account book that block chain is concatenated more
Fang Youxiao record transaction, and can permanently check this transaction (can not distort).Wherein, common recognition mechanism refers to realizes in block chain network
The mathematical algorithm for trusting, obtaining equity is established between different nodes;That is, common recognition mechanism is that each network node of block chain is total
With a kind of mathematical algorithm approved.The data processing scheme can utilize the disintermediation characteristic of block chain, avoid being handed over by centralization
Easy platform (third party transaction platform) controls entire process of exchange;It is real there are currently no under the premise of centralization transaction platform, can base
The process closed loop for paying outside chain and trading on chain is realized in the mode of fair deal.Wherein, it pays and refers to using block chain outside chain
E-sourcing in addition is paid, and e-sourcing herein refers to the fund for buying digital asset, can be included at least
Franc, electronic money etc.;So-called franc refer to it is a kind of the currency that its compulsory circulation uses is assigned with legal form, as RMB,
Dollar etc.;So-called electronic money refers to stored value card (such as the QQ wallet, wechat wallet for being electronically stored in user and being held
Deng) in currency.Transaction refers to the transaction that digital asset is carried out in block chain network on chain, and digital asset herein may include
But it is not limited to: electronic bill, digital cash (a kind of not controlled, digitized currency), game resource (such as game money, trip
Theatrical costume is standby etc.), etc..
Above-mentioned mentioned data processing scheme can be applied in data processing system as shown in Figure 2 b, the data processing
System may include block chain node system, the first client, the second client and the trustship system for running block chain network
System.In the specific implementation, the specific structure of each section in the data processing system can be together referring to fig. 2 shown in c:
Block chain node system can receive the transaction data that each client is submitted and execute the transaction data, and by altogether
Knowledge mechanism and P2P transmission etc. modes by the information such as transaction data and implementing result be committed to shared account book (or for distribution
Account book, distributed account book, shared account book etc.);It is specific can include: transaction cochain interface, transaction execution module, intelligent contract are held
Row module, Hash (Hash) are calculated and correction verification module, block packetization module, common recognition and are submitted module, P2P communication module, etc..
Wherein, transaction cochain interface refers to provided external service interface when operation block chain network, can be used for receiving either block
The Transaction Informations such as the payment information that the transaction data or mandatory system that chain client uploads upload.Transaction execution module is responsible for friendship
Easy execution, such as: status check, the control of the delayed execution of transaction of transaction etc.;Only by verifying and obtaining execution state
Transaction could be added be packaged block transaction candidate list in.Intelligent contract execution module is a part that transaction executes,
It is responsible for the execution of the specified intelligent contract of transaction, so-called intelligence contract is that one kind is intended to propagate, verify or hold in a manner of information-based
The computer protocol of row contract;In the present invention, intelligent contract execution module is used to be responsible for the execution condition of checkout transaction, such as
Hash value verification etc..Hash, which is calculated, to be responsible for carrying out the calculating of hash value according to given parameter with correction verification module, and is also responsible for basis
The match condition of the given given input of hash value verification.Block packetization module is responsible for start by set date block and is packaged function, will accord with
The candidate transaction of conjunction condition, which is packaged, is written new block, and common recognition module is submitted to carry out block common recognition.Common recognition and submission module are negative
Duty knows together to packed block using common recognition algorithm, to reach block coherence request;It will be by by the block of common recognition
It submits and is written in shared account-book;Common recognition algorithm herein may include POW (Proof Of Work, proof of work) algorithm,
POS (Proof of Stake, equity prove) algorithm, PBFT (Practical Byzantine Fault Tolerance, reality
With Byzantine failure tolerance algorithm) algorithm, Fabric common recognition, etc..P2P communication module is responsible for being led between block chain node
Letter, the information such as transmitting node connection, transaction, block.
First client refers to that client used in the seller, the second client refer to client used in buyer;The
One client and the second client all can be following any: terminal, independent application program, API (Application
Programming Interface, application programming interface) or SDK (Software Development Kit, software
Development kit);The first client and the second client may each comprise: parameter generation module, Hash are calculated and correction verification module, label
Name and sign test module, transaction package module, block chain communication module etc..Wherein, parameter generation module is responsible for generating parameter;Signature
It is responsible for signing to transaction data using Digital Signature Algorithm with sign test module, and the matching feelings of public key and signature can be verified
Condition;Digital Signature Algorithm herein can include but is not limited to: RSA (a kind of signature algorithm), DSA (a kind of signature algorithm),
ECDSA (a kind of signature algorithm), etc..Transaction package module is responsible for according to block chain network specified data structure, to transaction
Data are packaged.Block chain communication module is responsible for being communicated with block chain network, uploads packaged transaction data to area
Block chain network monitors the generation etc. of new block in block chain network.Mandatory system refers to financial institution or bank's end system, bears
Blame the payment management etc. of the outer fund (i.e. e-sourcing) of chain, it is specific can include: Hash calculate with correction verification module, payment interface,
Payment management module, trustship account, etc..Wherein, payment interface refers to the payment interface of opening, can be used for fund branch
It pays.Payment management module is responsible for being managed the fund of trustship account, and connects block chain network, according to public in shared account-book
The unlock parameter opened audits payout status, decides whether fund from trustship bill payment to seller account.
During the data processing scheme is embodied, both parties are reached by the first client and the second client
After transaction intention, the first transaction data can be uploaded to block chain network by the first client, and the first transaction data is for making area
The digital asset of first client is transferred to the second client by domain chain network, and is not disclosed in the unlock parameter of digital asset
Before, control digital asset is in the lock state in the second client.Correspondingly, the second client can check in block chain network
The condition of drawing of e-sourcing and e-sourcing is sent to mandatory system based on the first transaction data by the first transaction data;Branch
If taking condition includes that unlock parameter is disclosed, the first client has the qualification for drawing e-sourcing.Mandatory system receives
E-sourcing that second client is sent and after drawing condition, mandatory system can the money of the electronics according to transmitted by the second client
Source and the condition of drawing generate and upload payment information to block chain network;Payment information includes the numerical value of e-sourcing and draws item
Part.First client can check payment information in block chain network, and unlock parameter is uploaded to block chain network with open
Parameter is unlocked, and draws e-sourcing from mandatory system;Correspondingly, the second client is existed in unlock parameter by the first client
After disclosing in block chain network, unlock parameter can be used to unlock digital asset.
It can be seen that the data processing scheme that the embodiment of the present invention is proposed can have at least the following advantages: 1. changing and pass
The trade mode of system can draw condition by the preposition transaction (such as the first transaction data) of intelligent Contract Design and e-sourcing;
Also, the automated execution of whole flow process can be realized by mandatory system and block chain network.2. going to intermediary using block chain
Change characteristic and open and clear characteristic, so that transaction is transparent and fair, improves transaction reliability;Independent of halfpace, also
The cost of implementation of scheme and execution risk can be dropped to lower numerical value.3. will efficiently and liberally can trade on payment and chain under chain
It combines, so that the digital asset in the e-sourcing purchase block chain outside block chain can be used in buyer, improves friendship
Easy is rich and open;Both parties and mandatory system can be preferably introduced, the extension of trade market is conducive to.4. leading to
A kind of non-administrated fair deal mode can be realized by mandatory system by crossing, so that selling can relievedly will by the first client
Digital asset in block chain network is transferred to the second client (buyer), and buyer can will relievedly be used by the second client
Mandatory system is paid in the e-sourcing of purchase digital asset;It may insure the first client (seller) In by unlocking parameter
E-sourcing is received under chain and the second client can synchronously receive digital asset on chain;Conversely, both parties will not damage
Lose respective assets.
Based on the description above, the embodiment of the present invention proposes a kind of data processing method, which can be by
The first client and the second client in above-mentioned mentioned data processing system execute jointly.Fig. 3 is referred to, at the data
Reason method may include following steps S301-S306:
First transaction data is uploaded to region chain network by S301, the first client.
First client first can create first key pair using rivest, shamir, adelman before executing step S301;This
The rivest, shamir, adelman at place may include but be not limited to: Elgamal algorithm (a kind of rivest, shamir, adelman), Rabin algorithm (one
Kind of rivest, shamir, adelman), Diffie-Hellman algorithm (a kind of rivest, shamir, adelman), ECC algorithm (elliptic curve cryptography
Algorithm).Wherein, first key is to including the first public key and the first private key;First public key is for identifying the first of the first client
Transaction address, the first private key sign to transaction data for the first client.In creation first key to later, first is objective
First public key of first key centering can be uploaded to block chain network by family end, so that block chain network is by first key centering
First transaction address of first public key as the first client, the first transaction address is for storing digital asset;And first is private
Key is taken care of by the first client.It should be noted that the transaction address in block chain network is with uniqueness a, transaction
Address corresponds to a client (i.e. user);That is, the first public key can the first user indicated by the first client of label
User identity.In another embodiment, the first client will also can be used to store the first man account of e-sourcing
Account information (such as personal account number, personal account name) be uploaded to block chain network so that block chain network by this
One personal account and the first public key are associated, and are used to manage and pay electricity using the first man account as the first client
Address under the chain of child resource;Its specific implementation process can be together referring to fig. 4 shown in a.
After first public key is uploaded to block chain network by the first client, then show the first client in block chain network
Identity registration is completed, the first client has the money that transaction in assets and information inspection are carried out in block chain network at this time
Lattice.Therefore, the first client can upload the first transaction data to block chain network.In order to avoid the second client is receiving
After digital asset, e-sourcing is not paid using the digital asset and to the first client, so that the first client be caused to damage
The case where losing digital asset, the first client can constrain the use of digital asset in the first transaction data: unlock
Before parameter is disclosed, the second client does not have the qualification using digital asset.It can be seen that the first transaction data can be used for
Make region chain network that the digital asset of the first client is transferred to the second client, and the unlock parameter of digital asset not by
Before open, control digital asset is in the lock state in the second client.Block chain network is receiving the upload of the first client
The first transaction data after, the digital asset of the first client can be transferred to the second client according to first transaction data
End, and before unlock parameter is not disclosed, in the second client-side lock digital asset so that the second client can not make
With the digital asset, to ensure the equity of the first client.
S302, the second client check the first transaction data that the first client uploads in block chain network.
Second client first can also create the second key pair using rivest, shamir, adelman before executing step S302.
Wherein, the second key pair includes the second public key and the second private key;Second public key is used to identify the second transaction ground of the second client
Location, the second private key sign to transaction data for the second client.After creating the second key pair, the second client can
Second public key of the second cipher key pair is uploaded to block chain network, so that block chain network is by the second of the second cipher key pair
Second transaction address of the public key as the second client, the second transaction address is for storing digital asset;And the second private key is by
The keeping of two clients.From the foregoing it will be appreciated that the transaction address in block chain network is with uniqueness, a transaction address correspondence
One client (i.e. user);Therefore, the second public key can second user indicated by the second client of label user identity.In
In another embodiment, the second client will also can be used to store the account information of the second personal account of e-sourcing (such as
Personal account number, personal account name etc.) it is uploaded to block chain network, so that block chain network is by second personal account and
Two public keys are associated, with being used to manage and pay using second personal account as the second client under the chain of e-sourcing
Location.
After second public key is uploaded to block chain network by the second client, then show the second client in block chain network
In complete identity registration, the second client has the money that transaction in assets and information inspection are carried out in block chain network at this time
Lattice.Therefore, the second client can check the first transaction data uploaded in the first client in block chain network.Second client
End can decide whether to pay under starting chain, be determined whether payment for purchasing after checking and having verified the first transaction data
Buy the e-sourcing of digital asset.If the second client is intended to the digital asset shifted using the first client, can start under chain
Payment, step S303 can be performed in the second client at this time;If the second client is not desired to that chain can not be started using the digital asset
Lower payment, process terminates at this time.
The condition of drawing of e-sourcing and e-sourcing is sent to mandatory system by S303, the second client.
After paying e-sourcing to the first client in order to avoid the second client, the underground unlock ginseng of the first client
Number, the case where so as to cause the second client lost electrons resource;The producible e-sourcing of second client draws condition, should
If drawing condition includes that unlock parameter is disclosed, the first client has the qualification for drawing e-sourcing.Then, the second client
End the condition of drawing of e-sourcing He the e-sourcing can be issued mandatory system together, make mandatory system according to e-sourcing with
The condition of drawing generates and uploads payment information to block chain network, and specific implementation process can be together referring to fig. 4 shown in b.Accordingly
, mandatory system can receive the second client send e-sourcing and draw condition, by the e-sourcing received store to
In trustship account, and according to e-sourcing and condition generation payment information is drawn, the payment information is then uploaded to block chain
Network can be in block chain network in order to other node devices in the first client, the second client or block chain network
Check the payment information.In one embodiment, payment information may include the numerical value of e-sourcing and draw condition;Another
In kind embodiment, payment information may also include the second personal account that the second client pays the e-sourcing.
S304, the first client check the payment information that mandatory system uploads in block chain network.
From the foregoing it will be appreciated that payment information is according to the second client as mandatory system based on transmitted by the first transaction data
E-sourcing and e-sourcing draw condition generation.Due to there is mandatory system to do credit endorsement, the first client without
The actual value of the e-sourcing in the trustship account of mandatory system need to be verified, only need to check and verify the branch in block chain network
Pay information.After checking and having verified payment information, if the first client is intended to draw the electronics money that the second client is paid
Step S305 then can be performed in source;Otherwise, underground unlock parameter may be selected in the first client, and process terminates at this time.
S305, the first client will unlock parameter and carry out disclosure in block chain network, and electronics is drawn from mandatory system
Resource.
Unlock parameter can be uploaded to block chain network to disclose the unlock parameter by the first client;Correspondingly, block chain
The unlock parameter can be committed in shared account book, after receiving the unlock parameter so that in block chain network by network
Each equipment (including the first client, the second client and mandatory system) can check the unlock parameter.Unlock parameter
Once being disclosed, then mean that the e-sourcing in trustship account can not be withdrawn into the second client;And first client
Holding has the qualification for drawing the e-sourcing.So the first client can draw the e-sourcing from trustship account.
S306, if unlock parameter is disclosed in block chain network by the first client, the second client uses unlock ginseng
Number unlock digital asset.
From the foregoing it will be appreciated that the second client just has the qualification using the digital asset after unlock parameter is disclosed.Cause
This, if unlock parameter is disclosed in block chain network by the first client, unlock parameter can be used to unlock number for the second client
Word assets use the digital asset in order to subsequent.It should be noted that the specific implementation process of step S304-S306 may be used also
Together referring to fig. 4 shown in c.
In embodiments of the present invention, the first transaction data first can be uploaded to block chain network by the first client, this first
Transaction data makes region chain network that the digital asset of the first client is transferred to the second client, and in the unlock of digital asset
Before parameter is not disclosed, control digital asset is in the lock state in the second client.Second client can be in block chain network
In check the first transaction data, and the e-sourcing for being used to buy digital asset and the condition of drawing are sent to mandatory system, made
Mandatory system generates according to the e-sourcing and the condition of drawing and uploads payment information to block chain network, includes if drawing condition
Unlock parameter is disclosed, then the first client has the qualification for drawing e-sourcing.It can be seen that the first transaction data and drawing
Condition is mutually restricted by unlocking parameter;If unlock parameter is disclosed, digital asset and the first visitor is can be used in the second client
Family end can draw e-sourcing;Otherwise, the second client is not available digital asset and the first client can not also draw electronics
Resource.The use of digital asset and drawing for e-sourcing are constrained simultaneously by unlock parameter, it is ensured that the fairness of transaction.And
And since the Transaction Informations such as transaction data and payment information are uploaded to block chain network, then the first client, second
Client and mandatory system can view the Transaction Information, to can guarantee the open and clear of transaction.
Fig. 5 is referred to, is the flow diagram of another data processing method provided in an embodiment of the present invention.This method can
To be executed jointly by the first client and the second client in above-mentioned mentioned data processing system.Fig. 5 is referred to, the number
May include following steps S501-S512 according to processing method:
S501, the first client create the unlock parameter of digital asset.
Unlock parameter herein can be the random number generated at random, be also possible to preset set by the first user
Number;For convenient for illustrating, the embodiment of the present invention is subsequent to indicate unlock parameter with x.Unlock parameter is once disclosed, then will become chain
Lower payment and chain submit the foundation being readily accomplished;That is unlock parameter is once disclosed, and the first client can draw e-sourcing, the
Two clients can also unlock and use digital asset.After first client creation unlock parameter, it can be conciliate according to digital asset
It locks parameter and generates the first transaction data, is i.e. execution step S502.
S502, the first client generate the first transaction data according to digital asset and unlock parameter.
Wherein, the first transaction data includes assets transfer data and asset control data;Assets transfer data are used to indicate
The digital asset of first client is transferred to the second transaction ground of the second client from the first transaction address of the first client
Location, if asset control data is used to indicate unlock, parameter is not disclosed, is controlled digital asset in the second client and is in locking
State.
In one embodiment, the first client also can be used hash algorithm and carry out Hash operation to unlock parameter, obtain
To target cryptographic Hash H (x);Hash algorithm herein includes but is not limited to: MD4 algorithm, MD5 algorithm, SHA-1 algorithm, SHA-256
Algorithm, etc..Correspondingly, also the first transaction data can be generated according to digital asset, unlock parameter and target cryptographic Hash.Further
In kind embodiment, the format of the first transaction data can be as follows:
Pay w units asset to<B’s public key>if(x for H(x)known and signed by
B)
Wherein, w units indicates that digital asset, B indicate the second client, Pay w units asset to < B ' s
Public key > expression payout figure assets are to the second transaction address;if(x for H(x)known and signed by B)
Meaning are as follows: if the x (i.e. unlock parameter) for calculating target cryptographic Hash is disclosed, and the first transaction data is by B (the second client
End) signature, then first transaction data can be spent by B (the second client), and the second client, which has, at this time uses the number
The qualification of assets.
S503, the first client create the second transaction data according to the first transaction data.
Since the first transaction data can indicate that digital asset is transferred to the second client from the first client by block chain network
End does not pay e-sourcing, always it would be possible that can have the second client after receiving digital asset so as to cause number
Word assets are constantly in the second client, so that the case where the first client loses the digital asset.Therefore, in order to avoid this
Situation, the embodiment of the present invention can be supported after some fixed time period, if the second client does not pay e-sourcing yet,
Then the first client can ask for back the digital asset from the second client.Specifically, the first client can be according to the first transaction
The second transaction data of data creation, the equity that the first client is further ensured that by second transaction data;Second friendship
Easy data are used to indicate after default locking duration, if the second client does not have the qualification of unlock digital asset yet,
Digital asset is transferred back into the first client from the second client.In one embodiment, the format of the second transaction data can
It is as follows:
Pay w units asset from Tx1 to A, locked n+m hours
Wherein, Tx1 indicates that the first transaction data, A indicate the first client;N+m hours indicates default locking duration, n
With the natural number that m is greater than zero;Locked n+m hours indicate by the second transaction data lock n+m hours, i.e., second
After transaction data is uploaded in block chain network, by locked set time n+m hours;After the time expires, if the
One transaction data is not spent yet, then shows that unlock parameter is not disclosed yet, i.e. the second client does not have unlock number money yet
The qualification of production, the second transaction data will be performed automatically at this time, and block chain network will have been transferred in the first transaction data
The digital asset of second client transfers back to the first client again.
Second transaction data is sent to the second client by S504, the first client, so that the second client is to second
Transaction data is signed.
If needing to have transmitted to the digital asset of the second client again since the second transaction data is performed
Transfer back to the first client, it is therefore desirable to which the second client signs to the second transaction data, to show that the second client terminates
By second transaction data.Therefore, the first client the first private key can be used to hand over second after creating the second transaction data
Easy data are signed, and the transaction data for carrying the signing messages of the first client is then sent to the second client.Accordingly
, the second client can receive the second transaction data that the first client is sent.
S505 signs to the second transaction data if the second client receives the second transaction data.
Second client, can be in block chain network after receiving the second transaction data transmitted by the first client
It checks the first public key of the first client, and the second transaction data is verified using the first public key, to judge second friendship
Whether easy data are that the first client is created and sent.If verifying successfully, show that the second transaction data is by the first visitor
Family end creates and sends;The second client can decide whether to receive the second transaction data at this time, if receiving, may be used second
Private key signs to the second transaction data.
The second transaction data after signature is back to the first client by S506, the second client.
The second transaction data after signature can be back to by the second client after signing to the second transaction data
First client, so that the second transaction data after signature is uploaded to block chain network by the first client.Correspondingly, first
Client can receive the second transaction data after the signature that the second client returns.And the second transaction data after signature is uploaded
To block chain network.In one embodiment, second transaction data of second client after it will sign is uploaded to block chain
Before network, can also check the second public key of the second client in block chain network, and using the second public key to signature after
Second transaction data is verified, to judge whether the second transaction data after the signature is that the second client is sent.If school
Success is tested, then the step of the second transaction data after signature is uploaded to block chain network can be performed.
First transaction data is uploaded to region chain network by S507, the first client.
In the concrete realization, the first client can first sign to first transaction data using the first private key, then
The first transaction data after signature is uploaded to block chain network;The first transaction data i.e. mentioned in step S507 carries the
The signing messages of one client.Block chain network can make after the first transaction data for receiving the upload of the first client
Proof of identity is carried out to first transaction data with the first public key, to judge whether first transaction data is in the first client
It passes;If verifying successfully, show that the first transaction data is that the first client uploads, then block chain network can be according to intelligence
Contract and common recognition mechanism execute the first transaction data, and the digital asset of the first client can be transferred to the second client, and
Before unlock parameter is not disclosed, in the second client-side lock digital asset so that the second client is not available the number
Word assets, to ensure the equity of the first client.After executing the first transaction data of completion, block chain network can will also be held
Row result and the first transaction data are written in shared account book.It should be noted that the specific implementation process of step S501-S507 is also
It can be shown in Figure 6 together.
S508, the second client check the first transaction data that the first client uploads in block chain network.
The condition of drawing of e-sourcing and e-sourcing is sent to mandatory system by S509, the second client.
From the foregoing it will be appreciated that the second client is to avoid the loss of e-sourcing, produce e-sourcing draws condition, should
If drawing condition includes that unlock parameter is disclosed, the first client has the qualification for drawing e-sourcing.Implement in another kind
In mode, since the first client further creates the second transaction data, if the first client after receiving e-sourcing, one
Straight underground unlock parameter, then the first client can also be asked for back after default locking duration by the second transaction data
Digital asset will will lead to the second client in this way and both not obtain digital asset, and also have lost e-sourcing.Therefore, in order to
This situation is avoided, the second client can also arrange a default trustship duration in the condition of drawing, further to ensure the second visitor
The equity at family end.Under this embodiment, the condition of drawing may also include default trustship duration;If so unlock parameter is in default trustship
It is disclosed in duration, then the first client has the qualification for drawing e-sourcing;That is, if unlock parameter is in default trustship
It is not disclosed yet in duration, then the first client, which does not have, draws the qualification of e-sourcing, and mandatory system can should in the case of this
E-sourcing is back to the second client.Wherein, it presets locking duration and is greater than default trustship duration.Wherein, the lattice of condition are drawn
Formula can be as follows:
Within n hours, if (x for H (x) known) A can draw this e-sourcing
Second client can send together the condition of drawing of e-sourcing and e-sourcing after condition is drawn in generation
To mandatory system, generates mandatory system according to e-sourcing and the condition of drawing and upload payment information to block chain network;Branch
Information is paid to include the numerical value of e-sourcing and draw condition, if drawing condition includes that unlock parameter is disclosed, the first client
With the qualification for drawing e-sourcing.
S510, the first client check the payment information that mandatory system uploads in block chain network.
S511, the first client will unlock parameter and carry out disclosure in block chain network, and electronics is drawn from mandatory system
Resource.
First client just has after it will unlock parameter and carry out disclosure in block chain network and draws e-sourcing
Qualification.Therefore, the first client can draw e-sourcing from mandatory system.In one embodiment, the first client can
The e-sourcing is actively drawn from mandatory system;Correspondingly, drawing the specific embodiment of e-sourcing from mandatory system
It may is that send to mandatory system and draw request for e-sourcing, to obtain e-sourcing from mandatory system.By aforementioned
It is found that the first transaction data further includes target cryptographic Hash, which is to carry out Hash operation using unlock parameter to obtain
's.Therefore, mandatory system can also verify unlock parameter according to target cryptographic Hash, if verifying successfully, by e-sourcing
It is sent to the first client;Correspondingly, the first client actively draws the embodiment of the e-sourcing also from mandatory system
It may is that send to mandatory system and draw request for e-sourcing, make mandatory system according to target cryptographic Hash to block chain
Published unlock parameter carries out authenticity verification in network, and returns to e-sourcing after verifying successfully;Receive mandatory system
The e-sourcing of return.It wherein, can be with according to the specific embodiment that target cryptographic Hash carries out authenticity verification to unlock parameter
It is: Hash operation, if the cryptographic Hash that operation obtains is identical with target cryptographic Hash, school is carried out to unlock parameter using hash algorithm
Success is tested, that is, shows that unlocking parameter is that correctly, can examine at this time through the condition of drawing, so that e-sourcing is sent to first
Client;Otherwise, verification failure.
In another embodiment, e-sourcing actively can be sent to the first client by mandatory system, i.e. unlock parameter
After being disclosed in block chain network, mandatory system can obtain first associated with the first public key from block chain network
It acknowledges a debt the account information at family, then e-sourcing is sent in the first man account of the first client;Correspondingly, the first visitor
Family end can receive the e-sourcing that mandatory system is sent.Alternatively, the first transaction data further includes target cryptographic Hash;Mandatory system is also
Unlock parameter can be verified according to target cryptographic Hash;After verifying successfully, then e-sourcing is sent to the first client;
Correspondingly, the first client can receive the e-sourcing that mandatory system is sent, which is in unlock parameter by the first visitor
After family end discloses in block chain network, authenticity school is actively carried out to unlock parameter according to target cryptographic Hash by mandatory system
It tests, and sent after verifying successfully.
S512, if unlock parameter is disclosed in block chain network by the first client, the second client uses unlock ginseng
Number unlock digital asset.
If unlock parameter is disclosed in block chain network by the first client, show that the second client has using number
The qualification of assets.Therefore, unlock parameter can be used to unlock the digital asset for the second client;Specifically, the second client can make
It is signed first transaction data to unlock the digital asset with the second private key, to spend the first transaction data
Use digital asset.
In embodiments of the present invention, the first transaction data first can be uploaded to block chain network by the first client, this first
Transaction data makes region chain network that the digital asset of the first client is transferred to the second client, and in the unlock of digital asset
Before parameter is not disclosed, control digital asset is in the lock state in the second client.Second client can be in block chain network
In check the first transaction data, and the e-sourcing for being used to buy digital asset and the condition of drawing are sent to mandatory system, made
Mandatory system generates according to the e-sourcing and the condition of drawing and uploads payment information to block chain network, includes if drawing condition
Unlock parameter is disclosed, then the first client has the qualification for drawing e-sourcing.It can be seen that the first transaction data and drawing
Condition is mutually restricted by unlocking parameter;If unlock parameter is disclosed, digital asset and the first visitor is can be used in the second client
Family end can draw e-sourcing;Otherwise, the second client is not available digital asset and the first client can not also draw electronics
Resource.The use of digital asset and drawing for e-sourcing are constrained simultaneously by unlock parameter, it is ensured that the fairness of transaction.And
And since the Transaction Informations such as transaction data and payment information are uploaded to block chain network, then the first client, second
Client and mandatory system can view the Transaction Information, to can guarantee the open and clear of transaction.
It should be noted that the embodiment of the present invention can also be according to actual business demand by above-mentioned mentioned data processing
Approach application is into different application scenarios, for example, the transaction scene of game resource, the transaction scene of electronic bill, digital goods
Transaction scene of coin, etc..For convenient for illustrate, the embodiment of the present invention with by the data processing method apply to game resource (with
For game money) transaction scene in for, the concrete application of the data processing method is illustrated, in this application scenarios
In, the digital asset in block chain network is game resource.If specifically, user A want from user B from purchase game money,
Can conclude the transaction intention with user B.User B then can by the first client create unlock parameter, the first transaction data and
Second transaction data, and the second transaction data is sent to the second client so that user A by the second client to this
Two transaction data are signed.First client receives the second transaction data after the signature of the second client return, then may be used
The second transaction data after first transaction data and signature is uploaded to block chain network;First transaction data indicating area link network
5 game moneys in first client are transferred to the second friendship of the second client by network from the first transaction address of the first client
Easy address, and before unlock parameter is not disclosed, it controls this 5 game moneys and is in the lock state in the second client, such as Fig. 7 a
It is shown;The instruction of second transaction data is after 5 hours (i.e. default locking duration), if the second client does not have unlock electric yet
This 5 game moneys are then transferred back to the first client from the second client by the qualification of child resource.It should be noted that game money
Quantity can be what user A and user B was consulted in advance, can also be user B oneself setting.
After the first client uploads the first transaction data and the second transaction data, user A can pass through the second client
The first transaction data is checked at end in block chain network, and decides whether to pay e-sourcing to buy this 5 game moneys;If certainly
It orders and buys, then the franc (i.e. e-sourcing) for being used to buy this 5 game moneys and the condition of drawing are sent to mandatory system;Branch
If condition instruction unlock parameter is taken to be disclosed in 4 hours (i.e. default trustship duration), the first client, which has, draws this
The qualification of franc.It should be noted that the specific amount of money of franc can be what user A and user B was consulted in advance, it is also possible to
User A oneself setting.Correspondingly, mandatory system can store the franc into trustship account, and according to this draw condition and
The specific amount of money of franc generates payment information, the payment information is then uploaded to block chain network, as shown in Figure 7b.
After mandatory system uploads payment information, user B can be checked in block chain network by the first client
Payment information;If user B is intended to draw the franc, solution can be disclosed in block chain network by the first client in 4 hours
Parameter is locked, so that the franc can be drawn from mandatory system by the first client.User A can also pass through the second client at this time
End unlocks this 5 game moneys using the unlock parameter being disclosed, so as to use this 5 game moneys, as shown in Figure 7 c.Thus may be used
See, the embodiment of the present invention can guarantee that user A can be received and using desired digital asset (i.e. 5 game moneys), user B
Corresponding e-sourcing (i.e. franc) can be received.
Description based on above method embodiment, the embodiment of the present invention also proposed a kind of data processing equipment, the data
Processing unit can run in the first client, which can be operate in the computer journey in the first client
Sequence (including program code);Shown in Figure 8, which can run such as lower unit:
First processing units 101, for the first transaction data to be uploaded to region chain network, first transaction data is used
In making the region chain network that the digital asset of the first client is transferred to the second client, and in the solution of the digital asset
Before lock parameter is not disclosed, controls the digital asset and be in the lock state in second client;
First checks unit 102, the payment information uploaded for checking mandatory system in the block chain network, described
Payment information is provided according to second client based on electronics transmitted by first transaction data as the mandatory system
Source and the e-sourcing draw condition generation;The payment information includes the numerical value of the e-sourcing and described draws
Condition, if the condition of drawing includes that the unlock parameter is disclosed, first client, which has, draws the electronics money
The qualification in source;
The first processing units 101, for the unlock parameter to be carried out disclosure in the block chain network, and from institute
It states and draws the e-sourcing at mandatory system.
In one embodiment, before the first transaction data is uploaded to region chain network, first processing units 101
It can also be used in:
Create the unlock parameter of the digital asset;
The first transaction data is generated according to the digital asset and the unlock parameter;
Wherein, first transaction data includes assets transfer data and asset control data;The assets transfer data
It is used to indicate and the digital asset of first client is transferred to described from the first transaction address of first client
Second transaction address of two clients controls if the asset control data is used to indicate the unlock parameter and is not disclosed
The digital asset is in the lock state in second client.
In another embodiment, first processing units 101 can also be used in:
First key pair is created using rivest, shamir, adelman, the first key is to private including the first public key and first
Key, first public key are used to identify the first transaction address of first client, and first private key is used for described first
Client signs to transaction data;
First public key of the first key centering is uploaded to the block chain network, so that the block chain network
Using the first public key of the first key centering as the first transaction address of first client, first transaction address
For storing digital asset.
In another embodiment, first transaction data further includes target cryptographic Hash, and the target cryptographic Hash is to adopt
Carry out what Hash operation obtained with the unlock parameter;Correspondingly, first processing units 101 are at the mandatory system
When drawing the e-sourcing, it can be specifically used for:
It is sent to the mandatory system and draws request for the e-sourcing, make the mandatory system according to the mesh
It marks cryptographic Hash and authenticity verification is carried out to the unlock parameter published in the block chain network, and returned after verifying successfully
Return the e-sourcing;
Receive the e-sourcing that the mandatory system returns.
In another embodiment, first transaction data further includes target cryptographic Hash, and the target cryptographic Hash is to adopt
Carry out what Hash operation obtained with the unlock parameter;Correspondingly, first processing units 101 are at the mandatory system
When drawing the e-sourcing, it can be specifically used for:
The e-sourcing that the mandatory system is sent is received, the e-sourcing is described in the unlock parameter
After first client discloses in the block chain network, by the mandatory system actively according to the target cryptographic Hash to described
It unlocks parameter and carries out authenticity verification, and sent after verifying successfully.
In another embodiment, before the first transaction data is uploaded to region chain network, first processing units 101
It can also be used in:
The second transaction data is created according to first transaction data;Second transaction data is used to indicate by pre-
If after locking duration, if second client does not have the qualification for unlocking the digital asset yet, by the digital asset
First client is transferred back to from second client;
Second transaction data is sent to second client, so that second client is to described second
Transaction data is signed;
The second transaction data after receiving the signature that second client returns, and second after the signature is traded
Data are uploaded to the block chain network.
In another embodiment, the condition of drawing further includes default trustship duration;If the unlock parameter is described
It is disclosed in default trustship duration, then first client has the qualification for drawing the e-sourcing;Wherein, described default
It locks duration and is greater than the default trustship duration.
According to one embodiment of present invention, part steps involved in Fig. 3 and data processing method shown in fig. 5 can be by
Each unit in data processing equipment shown in Fig. 8 executes.For example, step S301 and S305 can be by Fig. 8 shown in Fig. 3
Shown in first processing units 101 execute, step S304 can as shown in Figure 8 first check unit 102 execute;For another example, in Fig. 5
Shown step S501-S504, S507 and S511 can first processing units 101 as shown in Figure 8 execute, step S510 can be by scheming
First checks that unit 102 executes shown in 8.According to another embodiment of the invention, in data processing equipment shown in Fig. 8
Each unit can respectively or all merge into one or several other units constitute or it is therein some it is (a little) singly
Member can also be split as functionally smaller multiple units again to constitute, this may be implemented similarly to operate, without influencing this hair
The realization of the technical effect of bright embodiment.Said units are logic-based function divisions, in practical applications, a unit
Function can also be realized by multiple units or the function of multiple units is realized by a unit.Of the invention other
It also may include other units based on data processing equipment in embodiment, in practical applications, these functions can also be by other
Unit assists to realize, and can be cooperated and be realized by multiple units.
It according to another embodiment of the invention, can be by including central processing unit (CPU), random access memory
It is transported on the universal computing device of such as computer of the processing elements such as medium (RAM), read-only storage medium (ROM) and memory element
Row is able to carry out computer program (including program generation of each step involved in the correlation method as shown in Fig. 3 and Fig. 5
Code), to construct data processing equipment equipment as shown in Figure 8, and come the data processing method of realizing the embodiment of the present invention.
The computer program can be recorded in such as computer readable recording medium, and be loaded by computer readable recording medium
In above-mentioned calculating equipment, and run wherein.
In embodiments of the present invention, the first transaction data first can be uploaded to block chain network by the first client, this first
Transaction data makes region chain network that the digital asset of the first client is transferred to the second client, and in the unlock of digital asset
Before parameter is not disclosed, control digital asset is in the lock state in the second client.Second client can be in block chain network
In check the first transaction data, and the e-sourcing for being used to buy digital asset and the condition of drawing are sent to mandatory system, made
Mandatory system generates according to the e-sourcing and the condition of drawing and uploads payment information to block chain network, includes if drawing condition
Unlock parameter is disclosed, then the first client has the qualification for drawing e-sourcing.It can be seen that the first transaction data and drawing
Condition is mutually restricted by unlocking parameter;If unlock parameter is disclosed, digital asset and the first visitor is can be used in the second client
Family end can draw e-sourcing;Otherwise, the second client is not available digital asset and the first client can not also draw electronics
Resource.The use of digital asset and drawing for e-sourcing are constrained simultaneously by unlock parameter, it is ensured that the fairness of transaction.And
And since the Transaction Informations such as transaction data and payment information are uploaded to block chain network, then the first client, second
Client and mandatory system can view the Transaction Information, to can guarantee the open and clear of transaction.
Description based on above method embodiment, the embodiment of the present invention also proposed a kind of data processing equipment, the data
Processing unit can run in the second client, which can be operate in the computer journey in the second client
Sequence (including program code);Shown in Figure 9, which can run such as lower unit:
Second checks unit 201, the first transaction data uploaded for checking the first client in block chain network, institute
It states the first transaction data and indicates that the region chain network provides the number of first client according to first transaction data
Production is transferred to second client, and before the unlock parameter of the digital asset is not disclosed, controls the digital asset
It is in the lock state in second client;
The second processing unit 202, for the condition of drawing of e-sourcing and the e-sourcing to be sent to mandatory system,
It generates the mandatory system according to the e-sourcing and the condition of drawing and uploads payment information to block chain network;Institute
State numerical value that payment information includes the e-sourcing and it is described draw condition, if the condition of drawing includes the unlock parameter
It is disclosed, then first client has the qualification for drawing the e-sourcing;
Described the second processing unit 202, if for the unlock parameter by first client in the block link network
It is disclosed in network, then unlocks the digital asset using the unlock parameter.
In one embodiment, the second processing unit 202 can also be used in:
Second key pair is created using rivest, shamir, adelman, second key pair includes that the second public key and second are private
Key, second public key are used to identify the second transaction address of second client, and second private key is used for described second
Client signs to transaction data;
Second public key of second cipher key pair is uploaded to the block chain network, so that the block chain network
Using the second public key of second cipher key pair as the second transaction address of second client, second transaction address
For storing digital asset.
In another embodiment, the second processing unit 202 can also be used in:
The second transaction data that first client is sent is received, second transaction data is used to indicate by pre-
If after locking duration, if second client does not have the qualification for unlocking the digital asset yet, by the digital asset
First client is transferred back to from second client;
If receiving second transaction data, sign to second transaction data;
The second transaction data after signature is back to first client, so that first client will be described
The second transaction data after signature is uploaded to the block chain network.
In another embodiment, the condition of drawing further includes default trustship duration;If the unlock parameter is described
It is disclosed in default trustship duration, then first client has the qualification for drawing the e-sourcing;Wherein, described default
It locks duration and is greater than the default trustship duration.
According to one embodiment of present invention, part steps involved in Fig. 3 and data processing method shown in fig. 5 can be by
Each unit in data processing equipment shown in Fig. 9 executes.For example, step S302 shown in Fig. 3 can as shown in Figure 9
Second checks that unit 201 executes, step S303 and S306 can the second processing unit 202 as shown in Figure 9 execute;For another example, in Fig. 5
Shown step S505-S506, S509 and S512 can the second processing unit 202 as shown in Figure 9 execute, step S508 can be by scheming
Second checks that unit 201 executes shown in 9.According to another embodiment of the invention, in data processing equipment shown in Fig. 9
Each unit can respectively or all merge into one or several other units constitute or it is therein some it is (a little) singly
Member can also be split as functionally smaller multiple units again to constitute, this may be implemented similarly to operate, without influencing this hair
The realization of the technical effect of bright embodiment.Said units are logic-based function divisions, in practical applications, a unit
Function can also be realized by multiple units or the function of multiple units is realized by a unit.Of the invention other
It also may include other units based on data processing equipment in embodiment, in practical applications, these functions can also be by other
Unit assists to realize, and can be cooperated and be realized by multiple units.
It according to another embodiment of the invention, can be by including central processing unit (CPU), random access memory
It is transported on the universal computing device of such as computer of the processing elements such as medium (RAM), read-only storage medium (ROM) and memory element
Row is able to carry out computer program (including program generation of each step involved in the correlation method as shown in Fig. 3 and Fig. 5
Code), to construct data processing equipment equipment as shown in Figure 9, and come the data processing method of realizing the embodiment of the present invention.
The computer program can be recorded in such as computer readable recording medium, and be loaded by computer readable recording medium
In above-mentioned calculating equipment, and run wherein.
In embodiments of the present invention, the first transaction data first can be uploaded to block chain network by the first client, this first
Transaction data makes region chain network that the digital asset of the first client is transferred to the second client, and in the unlock of digital asset
Before parameter is not disclosed, control digital asset is in the lock state in the second client.Second client can be in block chain network
In check the first transaction data, and the e-sourcing for being used to buy digital asset and the condition of drawing are sent to mandatory system, made
Mandatory system generates according to the e-sourcing and the condition of drawing and uploads payment information to block chain network, includes if drawing condition
Unlock parameter is disclosed, then the first client has the qualification for drawing e-sourcing.It can be seen that the first transaction data and drawing
Condition is mutually restricted by unlocking parameter;If unlock parameter is disclosed, digital asset and the first visitor is can be used in the second client
Family end can draw e-sourcing;Otherwise, the second client is not available digital asset and the first client can not also draw electronics
Resource.The use of digital asset and drawing for e-sourcing are constrained simultaneously by unlock parameter, it is ensured that the fairness of transaction.And
And since the Transaction Informations such as transaction data and payment information are uploaded to block chain network, then the first client, second
Client and mandatory system can view the Transaction Information, to can guarantee the open and clear of transaction.
Description based on above method embodiment and device item embodiment, the embodiment of the present invention also provide a kind of client
End;The client can be above-mentioned the first mentioned client, be also possible to above-mentioned the second mentioned client.It refers to
Figure 10, the client can include at least processor 301, input equipment 302, output equipment 303 and computer storage medium
304;Wherein, processor 301, input equipment 302, output equipment 303 and computer storage medium 304 can by bus or
Other connection types are attached.Computer storage medium 304 is storable in the memory of client, the computer storage
For medium 304 for storing computer program, the computer program includes program instruction, and the processor 301 is for executing institute
State the program instruction of the storage of computer storage medium 303.Processor 301 (or CPU (Central Processing Unit,
Central processing unit)) be client calculating core and control core, be adapted for carrying out one or more instruction, be particularly adapted to
One or more instruction is loaded and executed to realize the correlation method process or corresponding in above-mentioned data processing method embodiment
Function.
In one embodiment, when client is the first client, processor 301 described in the embodiment of the present invention can be used
In a series of data processing of progress, comprising: the first transaction data is uploaded to region chain network, first transaction data is used
In making the region chain network that the digital asset of the first client is transferred to the second client, and in the solution of the digital asset
Before lock parameter is not disclosed, controls the digital asset and be in the lock state in second client;In the block link network
The payment information that mandatory system uploads is checked in network, the payment information is by the mandatory system according to second client
Condition generation is drawn based on e-sourcing transmitted by first transaction data and the e-sourcing;The disbursement letter
Breath include the e-sourcing numerical value and it is described draw condition, if it is described draw condition include the unlock parameter be disclosed,
Then first client has the qualification for drawing the e-sourcing;The unlock parameter is carried out in the block chain network
It is open, and described e-sourcing, etc. is drawn from the mandatory system.
In further embodiment, when client is the second client, processor 301 described in the embodiment of the present invention can be used
In a series of data processing of progress, comprising: check the first transaction data that the first client uploads, institute in block chain network
The first transaction data is stated for making the region chain network that the digital asset of first client is transferred to second visitor
Family end, and before the unlock parameter of the digital asset is not disclosed, the digital asset is controlled at second client
In lock state;The condition of drawing of e-sourcing and the e-sourcing is sent to mandatory system, makes the mandatory system root
It is generated according to the e-sourcing and the condition of drawing and uploads payment information to block chain network;The payment information includes institute
State e-sourcing numerical value and it is described draw condition, if the condition of drawing includes that the unlock parameter is disclosed, described the
One client has the qualification for drawing the e-sourcing;If the unlock parameter is by first client in the block chain
It is disclosed in network, then unlocks described digital asset, etc. using the unlock parameter.
The embodiment of the invention also provides a kind of computer storage medium (Memory), the computer storage medium is visitor
Memory device in the end of family, for storing program and data.It is understood that computer storage medium herein both can wrap
Include the built-in storage medium in client, naturally it is also possible to the expansion storage medium supported including client.Computer storage
Medium provides memory space, which stores the operating system of client.Also, it is also housed in the memory space
Suitable for by one or more instruction that processor loads and executes, these instructions can be one or more computer journey
Sequence (including program code).It, can also be with it should be noted that computer storage medium herein can be high speed RAM memory
It is non-labile memory (non-volatile memory), for example, at least a magnetic disk storage;Optionally it can also be
At least one is located remotely from the computer storage medium of aforementioned processor.
In one embodiment, it can be loaded by processor and execute one or more the stored in computer storage medium
One instruction, it is above-mentioned in relation to corresponding steps performed by the first client in data processing entities to realize;In the specific implementation, meter
The one or more the first instructions in calculation machine storage medium are loaded by processor and execute following steps:
First transaction data is uploaded to region chain network, first transaction data is for making the region chain network will
The digital asset of first client is transferred to the second client, and before the unlock parameter of the digital asset is not disclosed, control
The digital asset is made to be in the lock state in second client;
The payment information that mandatory system uploads is checked in the block chain network, the payment information is by the trustship
Branch of the system according to second client based on e-sourcing transmitted by first transaction data and the e-sourcing
Condition is taken to generate;The payment information include the e-sourcing numerical value and it is described draw condition, it is described to draw condition packet
If including the unlock parameter to be disclosed, first client has the qualification for drawing the e-sourcing;
The unlock parameter is subjected to disclosure in the block chain network, and draws the electronics from the mandatory system
Resource.
In one embodiment, before the first transaction data is uploaded to region chain network, described one or more
First instruction can also be loaded by processor and specifically be executed:
Create the unlock parameter of the digital asset;
The first transaction data is generated according to the digital asset and the unlock parameter;
Wherein, first transaction data includes assets transfer data and asset control data;The assets transfer data
It is used to indicate and the digital asset of first client is transferred to described from the first transaction address of first client
Second transaction address of two clients controls if the asset control data is used to indicate the unlock parameter and is not disclosed
The digital asset is in the lock state in second client.
In another embodiment, one or more the first instruction can also be loaded and be executed by processor:
First key pair is created using rivest, shamir, adelman, the first key is to private including the first public key and first
Key, first public key are used to identify the first transaction address of first client, and first private key is used for described first
Client signs to transaction data;
First public key of the first key centering is uploaded to the block chain network, so that the block chain network
Using the first public key of the first key centering as the first transaction address of first client, first transaction address
For storing digital asset.
In another embodiment, first transaction data further includes target cryptographic Hash, and the target cryptographic Hash is to adopt
Carry out what Hash operation obtained with the unlock parameter;Correspondingly, when drawing the e-sourcing at the mandatory system,
One or more the first instruction can be loaded by processor and specifically execution:
It is sent to the mandatory system and draws request for the e-sourcing, make the mandatory system according to the mesh
It marks cryptographic Hash and authenticity verification is carried out to the unlock parameter published in the block chain network, and returned after verifying successfully
Return the e-sourcing;
Receive the e-sourcing that the mandatory system returns.
In another embodiment, first transaction data further includes target cryptographic Hash, and the target cryptographic Hash is to adopt
Carry out what Hash operation obtained with the unlock parameter;Correspondingly, when drawing the e-sourcing at the mandatory system,
One or more the first instruction can be loaded by processor and specifically execution:
The e-sourcing that the mandatory system is sent is received, the e-sourcing is described in the unlock parameter
After first client discloses in the block chain network, by the mandatory system actively according to the target cryptographic Hash to described
It unlocks parameter and carries out authenticity verification, and sent after verifying successfully.
In another embodiment, before the first transaction data is uploaded to region chain network, described one or more
First instruction can also be loaded and be executed by processor:
The second transaction data is created according to first transaction data;Second transaction data is used to indicate by pre-
If after locking duration, if second client does not have the qualification for unlocking the digital asset yet, by the digital asset
First client is transferred back to from second client;
Second transaction data is sent to second client, so that second client is to described second
Transaction data is signed;
The second transaction data after receiving the signature that second client returns, and second after the signature is traded
Data are uploaded to the block chain network.
In another embodiment, the condition of drawing further includes default trustship duration;If the unlock parameter is described
It is disclosed in default trustship duration, then first client has the qualification for drawing the e-sourcing;Wherein, described default
It locks duration and is greater than the default trustship duration.
In further embodiment, it can be loaded by processor and execute one or more the stored in computer storage medium
Two instructions, it is above-mentioned in relation to corresponding steps performed by the second client in data processing entities to realize;In the specific implementation, meter
The one or more the second instructions in calculation machine storage medium are loaded by processor and execute following steps:
Check that the first transaction data that the first client uploads, first transaction data indicate institute in block chain network
It states region chain network and the digital asset of first client is transferred to by second client according to first transaction data
End, and before the unlock parameter of the digital asset is not disclosed, it controls the digital asset and is in second client
Lock state;
The condition of drawing of e-sourcing and the e-sourcing is sent to mandatory system, makes the mandatory system according to institute
It states e-sourcing and the condition of drawing generates and uploads payment information to block chain network;The payment information includes the electricity
The numerical value of child resource and it is described draw condition, if the condition of drawing includes that the unlock parameter is disclosed, described first is objective
Family end has the qualification for drawing the e-sourcing;
If the unlock parameter is disclosed in the block chain network by first client, joined using the unlock
Number unlocks the digital asset.
In one embodiment, one or more the second instruction can also be loaded and be executed by processor:
Second key pair is created using rivest, shamir, adelman, second key pair includes that the second public key and second are private
Key, second public key are used to identify the second transaction address of second client, and second private key is used for described second
Client signs to transaction data;
Second public key of second cipher key pair is uploaded to the block chain network, so that the block chain network
Using the second public key of second cipher key pair as the second transaction address of second client, second transaction address
For storing digital asset.
In another embodiment, one or more the second instruction can also be loaded and be executed by processor:
The second transaction data that first client is sent is received, second transaction data is used to indicate by pre-
If after locking duration, if second client does not have the qualification for unlocking the digital asset yet, by the digital asset
First client is transferred back to from second client;
If receiving second transaction data, sign to second transaction data;
The second transaction data after signature is back to first client, so that first client will be described
The second transaction data after signature is uploaded to the block chain network.
In another embodiment, the condition of drawing further includes default trustship duration;If the unlock parameter is described
It is disclosed in default trustship duration, then first client has the qualification for drawing the e-sourcing;Wherein, described default
It locks duration and is greater than the default trustship duration.
In embodiments of the present invention, the first transaction data first can be uploaded to block chain network by the first client, this first
Transaction data makes region chain network that the digital asset of the first client is transferred to the second client, and in the unlock of digital asset
Before parameter is not disclosed, control digital asset is in the lock state in the second client.Second client can be in block chain network
In check the first transaction data, and the e-sourcing for being used to buy digital asset and the condition of drawing are sent to mandatory system, made
Mandatory system generates according to the e-sourcing and the condition of drawing and uploads payment information to block chain network, includes if drawing condition
Unlock parameter is disclosed, then the first client has the qualification for drawing e-sourcing.It can be seen that the first transaction data and drawing
Condition is mutually restricted by unlocking parameter;If unlock parameter is disclosed, digital asset and the first visitor is can be used in the second client
Family end can draw e-sourcing;Otherwise, the second client is not available digital asset and the first client can not also draw electronics
Resource.The use of digital asset and drawing for e-sourcing are constrained simultaneously by unlock parameter, it is ensured that the fairness of transaction.And
And since the Transaction Informations such as transaction data and payment information are uploaded to block chain network, then the first client, second
Client and mandatory system can view the Transaction Information, to can guarantee the open and clear of transaction.
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (15)
1. a kind of data processing method characterized by comprising
First transaction data is uploaded to region chain network, first transaction data is for making the region chain network by first
The digital asset of client is transferred to the second client, and before the unlock parameter of the digital asset is not disclosed, controls institute
Digital asset is stated to be in the lock state in second client;
The payment information that mandatory system uploads is checked in the block chain network, the payment information is by the mandatory system
Item is drawn based on e-sourcing transmitted by first transaction data and the e-sourcing according to second client
What part generated;The payment information include the e-sourcing numerical value and it is described draw condition, if it is described draw condition include
The unlock parameter is disclosed, then first client has the qualification for drawing the e-sourcing;
The unlock parameter is subjected to disclosure in the block chain network, and draws the electronics money from the mandatory system
Source.
2. the method as described in claim 1, which is characterized in that it is described by the first transaction data be uploaded to region chain network it
Before, further includes:
Create the unlock parameter of the digital asset;
The first transaction data is generated according to the digital asset and the unlock parameter;
Wherein, first transaction data includes assets transfer data and asset control data;The assets transfer data are used for
The digital asset of first client is transferred to second visitor from the first transaction address of first client by instruction
Second transaction address at family end, if the asset control data is used to indicate the unlock parameter and is not disclosed, described in control
Digital asset is in the lock state in second client.
3. method according to claim 2, which is characterized in that the method also includes:
First key pair is created using rivest, shamir, adelman, the first key is to including the first public key and the first private key, institute
It states the first public key and is used for first client for identifying the first transaction address of first client, first private key
It signs to transaction data;
First public key of the first key centering is uploaded to the block chain network, so that the block chain network is by institute
First transaction address of the first public key of first key centering as first client is stated, first transaction address is used for
Store digital asset.
4. method according to claim 2, which is characterized in that first transaction data further includes target cryptographic Hash, described
Target cryptographic Hash carries out Hash operation using the unlock parameter and obtains;
It is described that the e-sourcing is drawn from the mandatory system, comprising:
It is sent to the mandatory system and draws request for the e-sourcing, breathe out the mandatory system according to the target
Uncommon value carries out authenticity verification to the unlock parameter published in the block chain network, and institute is returned after verifying successfully
State e-sourcing;
Receive the e-sourcing that the mandatory system returns.
5. method according to claim 2, which is characterized in that first transaction data further includes target cryptographic Hash, described
Target cryptographic Hash carries out Hash operation using the unlock parameter and obtains;
It is described that the e-sourcing is drawn from the mandatory system, comprising:
The e-sourcing that the mandatory system is sent is received, the e-sourcing is in the unlock parameter by described first
After client discloses in the block chain network, by the mandatory system actively according to the target cryptographic Hash to the unlock
Parameter carries out authenticity verification, and sent after verifying successfully.
6. the method as described in claim 1, which is characterized in that it is described by the first transaction data be uploaded to region chain network it
Before, further includes:
The second transaction data is created according to first transaction data;Second transaction data is used to indicate by default lock
After timing is long, if second client does not have the qualification for unlocking the digital asset yet, by the digital asset from institute
It states the second client and transfers back to first client;
Second transaction data is sent to second client, so that second client is to second transaction
Data are signed;
The second transaction data after receiving the signature that second client returns, and by the second transaction data after the signature
It is uploaded to the block chain network.
7. method as claimed in claim 6, which is characterized in that the condition of drawing further includes default trustship duration;If described
Unlock parameter is disclosed in the default trustship duration, then first client has the money for drawing the e-sourcing
Lattice;Wherein, the default locking duration is greater than the default trustship duration.
8. a kind of data processing method characterized by comprising
Check that the first transaction data that the first client uploads, first transaction data are described for making in block chain network
The digital asset of first client is transferred to second client by region chain network, and in the solution of the digital asset
Before lock parameter is not disclosed, controls the digital asset and be in the lock state in second client;
The condition of drawing of e-sourcing and the e-sourcing is sent to mandatory system, makes the mandatory system according to the electricity
Child resource and the condition of drawing generate and upload payment information to block chain network;The payment information includes the electronics money
The numerical value in source and it is described draw condition, if it is described draw condition include the unlock parameter be disclosed, first client
With the qualification for drawing the e-sourcing;
If the unlock parameter is disclosed in the block chain network by first client, the unlock parametric solution is used
Lock the digital asset.
9. method according to claim 8, which is characterized in that the method also includes:
Second key pair is created using rivest, shamir, adelman, second key pair includes the second public key and the second private key, institute
It states the second public key and is used for second client for identifying the second transaction address of second client, second private key
It signs to transaction data;
Second public key of second cipher key pair is uploaded to the block chain network, so that the block chain network is by institute
Second transaction address of the second public key of the second cipher key pair as second client is stated, second transaction address is used for
Store digital asset.
10. method according to claim 8, which is characterized in that the method also includes:
The second transaction data that first client is sent is received, second transaction data is used to indicate by default lock
After timing is long, if second client does not have the qualification for unlocking the digital asset yet, by the digital asset from institute
It states the second client and transfers back to first client;
If receiving second transaction data, sign to second transaction data;
The second transaction data after signature is back to first client, so that first client is by the signature
The second transaction data afterwards is uploaded to the block chain network.
11. method as claimed in claim 10, which is characterized in that the condition of drawing further includes in default trustship duration;If
The unlock parameter is disclosed in the default trustship duration, then first client, which has, draws the e-sourcing
Qualification;Wherein, the default locking duration is greater than the default trustship duration.
12. a kind of data processing equipment characterized by comprising
First processing units, for the first transaction data to be uploaded to region chain network, first transaction data is for making institute
It states region chain network and the digital asset of the first client is transferred to the second client, and in the unlock parameter of the digital asset
Before not being disclosed, controls the digital asset and be in the lock state in second client;
First checks unit, the payment information uploaded for checking mandatory system in the block chain network, the disbursement letter
Breath is according to second client as the mandatory system based on e-sourcing transmitted by first transaction data and institute
That states e-sourcing draws what condition generated;The payment information include the e-sourcing numerical value and it is described draw condition,
If the condition of drawing includes that the unlock parameter is disclosed, first client has the money for drawing the e-sourcing
Lattice;
The first processing units, for the unlock parameter to be carried out disclosure in the block chain network, and from the trustship
The e-sourcing is drawn at system.
13. a kind of data processing equipment characterized by comprising
Second checks unit, the first transaction data uploaded for checking the first client in block chain network, described first
Transaction data indicates that the region chain network shifts the digital asset of first client according to first transaction data
Extremely second client, and before the unlock parameter of the digital asset is not disclosed, the digital asset is controlled described
Second client is in the lock state;
The second processing unit makes described for the condition of drawing of e-sourcing and the e-sourcing to be sent to mandatory system
Mandatory system generates according to the e-sourcing and the condition of drawing and uploads payment information to block chain network;The payment
Information include the e-sourcing numerical value and it is described draw condition, if it is described draw condition include the unlock parameter it is public
It opens, then first client has the qualification for drawing the e-sourcing;
Described the second processing unit, if public in the block chain network by first client for the unlock parameter
It opens, then unlocks the digital asset using the unlock parameter.
14. a kind of data processing system, which is characterized in that the system comprises: for running the block chain link of block chain network
Dot system, the first client, the second client and mandatory system;Wherein,
First transaction data is uploaded to the block chain network by first client, and first transaction data is for making institute
It states region chain network and the digital asset of the first client is transferred to the second client, and in the unlock parameter of the digital asset
Before not being disclosed, controls the digital asset and be in the lock state in second client;
Second client checks first transaction data in the block chain network, is based on first transaction data
The condition of drawing of e-sourcing and the e-sourcing is sent to the mandatory system;If the condition of drawing includes the solution
Lock parameter is disclosed, then first client has the qualification for drawing the e-sourcing;
Mandatory system e-sourcing according to transmitted by second client and it is described draw condition generate and on
Payment information is passed to block chain network;The payment information includes the numerical value of the e-sourcing and described draws condition;
First client checks the payment information in the block chain network, and the unlock parameter is uploaded to institute
Block chain network is stated to disclose the unlock parameter, and draws the e-sourcing from the mandatory system;
Second client uses after the unlock parameter is disclosed in the block chain network by first client
The unlock parameter unlocks the digital asset.
15. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with one or more the first and refers to
It enables, one or more the first instruction is suitable for being loaded by processor and being executed such as the described in any item data of claim 1-7
Processing method;Alternatively, the computer storage medium is stored with the one or more the second instructions, described one or more the second refer to
It enables and is suitable for being loaded by processor and being executed such as the described in any item data processing methods of claim 8-11.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910879399.8A CN110599143B (en) | 2019-07-31 | 2019-07-31 | Data processing method, related device and medium |
CN201910716303.6A CN110458543B (en) | 2019-07-31 | 2019-07-31 | Data processing method, related device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910716303.6A CN110458543B (en) | 2019-07-31 | 2019-07-31 | Data processing method, related device and medium |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910879399.8A Division CN110599143B (en) | 2019-07-31 | 2019-07-31 | Data processing method, related device and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110458543A true CN110458543A (en) | 2019-11-15 |
CN110458543B CN110458543B (en) | 2021-04-30 |
Family
ID=68484840
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910879399.8A Active CN110599143B (en) | 2019-07-31 | 2019-07-31 | Data processing method, related device and medium |
CN201910716303.6A Active CN110458543B (en) | 2019-07-31 | 2019-07-31 | Data processing method, related device and medium |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910879399.8A Active CN110599143B (en) | 2019-07-31 | 2019-07-31 | Data processing method, related device and medium |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN110599143B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110910091A (en) * | 2019-11-19 | 2020-03-24 | 腾讯科技(深圳)有限公司 | Data processing method, device and medium |
CN110990490A (en) * | 2019-12-19 | 2020-04-10 | 北京海益同展信息科技有限公司 | Method, device, equipment and medium for posting block chain in block chain network |
CN111062717A (en) * | 2019-12-11 | 2020-04-24 | 腾讯科技(深圳)有限公司 | Data transfer processing method and device and computer readable storage medium |
CN111666545A (en) * | 2020-07-23 | 2020-09-15 | 光载互联(杭州)科技有限公司 | Block chain-based digital identity information retrieving system and method |
CN111861470A (en) * | 2020-07-29 | 2020-10-30 | 杭州溪塔科技有限公司 | Block chain-based digital asset transfer method, system, electronic device, and medium |
CN112348717A (en) * | 2020-11-25 | 2021-02-09 | 山东师范大学 | Knowledge uplink and acquisition method and system based on block chain |
US20210342940A1 (en) * | 2020-08-31 | 2021-11-04 | Polymath Inc. | Method, system, and medium for blockchain-enabled atomic settlement |
WO2022262527A1 (en) * | 2021-06-16 | 2022-12-22 | 中国人民银行数字货币研究所 | Digital currency-based payment method, platform, terminal, and payment system |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111292191A (en) * | 2020-02-18 | 2020-06-16 | 杭州复杂美科技有限公司 | Acceptance service alliance method, apparatus and storage medium |
CN112016921B (en) * | 2020-03-03 | 2022-08-19 | 支付宝(杭州)信息技术有限公司 | Transaction processing method, device and equipment |
CN112581131B (en) * | 2020-05-15 | 2022-08-19 | 支付宝(杭州)信息技术有限公司 | Asset transfer method, device, equipment and system |
CN113052576B (en) * | 2020-11-05 | 2024-02-27 | 北京跨联元焕网络科技有限公司 | Hosting method and system for cross-chain exchange |
CN112308534A (en) * | 2020-11-24 | 2021-02-02 | 泰康保险集团股份有限公司 | Annuity data processing method, block chain system, medium and electronic device |
CN113111386A (en) * | 2021-04-30 | 2021-07-13 | 永旗(北京)科技有限公司 | Privacy protection method for block chain transaction data |
CN114826603B (en) * | 2022-03-22 | 2023-11-14 | 上海交通大学 | Method and system for realizing information security protection in state channel under multi-person chain |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106504094A (en) * | 2016-11-25 | 2017-03-15 | 中国银行股份有限公司 | Transaction match method and system based on the distributed general ledger system of block chain technology |
CN109447636A (en) * | 2018-10-15 | 2019-03-08 | 联动优势科技有限公司 | A kind of assets transfer method and device |
CN109685659A (en) * | 2018-12-27 | 2019-04-26 | 江苏恒宝智能系统技术有限公司 | A kind of block chain hard money packet supports the method traded under chain and hard money packet |
CN109816532A (en) * | 2019-04-10 | 2019-05-28 | 北京一三链科技有限公司 | A kind of assets digitlization anchoring system based on block chain technology |
CN110009343A (en) * | 2019-02-27 | 2019-07-12 | 上海七印信息科技有限公司 | A method of Token is carried out using intelligent contract pre-locked |
CN110060055A (en) * | 2019-03-18 | 2019-07-26 | 杭州秘猿科技有限公司 | Digital asset trustship method, apparatus and electronic equipment in a kind of block chain |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105096118B (en) * | 2015-08-21 | 2019-04-16 | 廖小谦 | An a kind of electronic money turn pair system and method |
CN105373955B (en) * | 2015-12-08 | 2020-07-10 | 布比(北京)网络技术有限公司 | Digital asset processing method and device based on multiple signatures |
CN105931052A (en) * | 2016-04-21 | 2016-09-07 | 四川大学 | Virtual currency transaction validation method based on block chain multi-factor cross-validation |
GB201613174D0 (en) * | 2016-07-29 | 2016-09-14 | Eitc Holdings Ltd | Computer-implemented system and method |
CN107330787A (en) * | 2017-05-24 | 2017-11-07 | 智牛股权投资基金(平潭)合伙企业(有限合伙) | High frequency transaction payment method, system under a kind of block chain chain of highly effective and safe |
CN107330681B (en) * | 2017-06-27 | 2021-04-13 | 陈佺 | Method and equipment for determining transaction time of transaction outside block chain |
TWI670657B (en) * | 2017-12-12 | 2019-09-01 | 中國信託金融控股股份有限公司 | Payment confirmation system |
CN109146687A (en) * | 2018-08-15 | 2019-01-04 | 杭州复杂美科技有限公司 | A kind of assets trustship method based on block chain technology |
CN109547219A (en) * | 2019-01-18 | 2019-03-29 | 杭州秘猿科技有限公司 | Information collection and the method and apparatus for being submitted to block chain network |
-
2019
- 2019-07-31 CN CN201910879399.8A patent/CN110599143B/en active Active
- 2019-07-31 CN CN201910716303.6A patent/CN110458543B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106504094A (en) * | 2016-11-25 | 2017-03-15 | 中国银行股份有限公司 | Transaction match method and system based on the distributed general ledger system of block chain technology |
CN109447636A (en) * | 2018-10-15 | 2019-03-08 | 联动优势科技有限公司 | A kind of assets transfer method and device |
CN109685659A (en) * | 2018-12-27 | 2019-04-26 | 江苏恒宝智能系统技术有限公司 | A kind of block chain hard money packet supports the method traded under chain and hard money packet |
CN110009343A (en) * | 2019-02-27 | 2019-07-12 | 上海七印信息科技有限公司 | A method of Token is carried out using intelligent contract pre-locked |
CN110060055A (en) * | 2019-03-18 | 2019-07-26 | 杭州秘猿科技有限公司 | Digital asset trustship method, apparatus and electronic equipment in a kind of block chain |
CN109816532A (en) * | 2019-04-10 | 2019-05-28 | 北京一三链科技有限公司 | A kind of assets digitlization anchoring system based on block chain technology |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110910091A (en) * | 2019-11-19 | 2020-03-24 | 腾讯科技(深圳)有限公司 | Data processing method, device and medium |
CN111062717A (en) * | 2019-12-11 | 2020-04-24 | 腾讯科技(深圳)有限公司 | Data transfer processing method and device and computer readable storage medium |
CN111062717B (en) * | 2019-12-11 | 2023-11-03 | 财付通支付科技有限公司 | Data transfer processing method, device and computer readable storage medium |
CN110990490A (en) * | 2019-12-19 | 2020-04-10 | 北京海益同展信息科技有限公司 | Method, device, equipment and medium for posting block chain in block chain network |
CN110990490B (en) * | 2019-12-19 | 2023-09-01 | 京东科技信息技术有限公司 | Method, device, equipment and medium for checking in blockchain network |
CN111666545A (en) * | 2020-07-23 | 2020-09-15 | 光载互联(杭州)科技有限公司 | Block chain-based digital identity information retrieving system and method |
CN111861470A (en) * | 2020-07-29 | 2020-10-30 | 杭州溪塔科技有限公司 | Block chain-based digital asset transfer method, system, electronic device, and medium |
US20210342940A1 (en) * | 2020-08-31 | 2021-11-04 | Polymath Inc. | Method, system, and medium for blockchain-enabled atomic settlement |
CN112348717A (en) * | 2020-11-25 | 2021-02-09 | 山东师范大学 | Knowledge uplink and acquisition method and system based on block chain |
WO2022262527A1 (en) * | 2021-06-16 | 2022-12-22 | 中国人民银行数字货币研究所 | Digital currency-based payment method, platform, terminal, and payment system |
Also Published As
Publication number | Publication date |
---|---|
CN110599143A (en) | 2019-12-20 |
CN110458543B (en) | 2021-04-30 |
CN110599143B (en) | 2021-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110458543A (en) | Data processing method, relevant device and medium | |
US11769154B1 (en) | Token device for distributed ledger based interchange | |
Sunyaev et al. | Distributed ledger technology | |
CN110838068B (en) | Weak-centered fund transaction platform and method thereof | |
Benos et al. | The economics of distributed ledger technology for securities settlement | |
CN111062805B (en) | Financial service management platform for supply chain | |
CN115136168A (en) | System and method for providing a blockchain recording process | |
US20170243193A1 (en) | Hybrid blockchain | |
US11455642B1 (en) | Distributed ledger based interchange | |
Brühl | Virtual currencies, distributed ledgers and the future of financial services | |
US20190164150A1 (en) | Using Blockchain Ledger for Selectively Allocating Transactions to User Accounts | |
Martino et al. | An introduction to blockchain, cryptocurrency and initial coin offerings | |
Laurence | Introduction to blockchain technology | |
Sehra et al. | On cryptocurrencies, digital assets and private money | |
EP3867852A1 (en) | Computer-implemented method and system for digital signing of transactions | |
Adrian et al. | A multi-currency exchange and contracting platform | |
Palihapitiya | Blockchain Revolution in Banking Industry | |
US20200242573A1 (en) | Cryptographic transactions supporting real world requirements | |
Goodell | Tokens and distributed ledgers in digital payment systems | |
CN114008654A (en) | Managing a block chain based trusted transaction service | |
CN114008657A (en) | Managing a block chain based trusted transaction service | |
CN111383118A (en) | Asset management method and device based on block chain and electronic equipment | |
Hukkinen | Reducing blockchain transaction costs in a distributed energy market application | |
Hermansson | Real Estate Transactions using Blockchain Technology | |
CN115398463A (en) | Managing a block chain based trusted transaction service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40016823 Country of ref document: HK |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |