Summary of the invention
The embodiment of the present application provides recording method, device and the electronic equipment of a kind of resource transfers event, existing to solve
In the recovery method for the online cargo having, higher and based on faithlessness mode the trading efficiency of threshold is used based on credit model
Low problem.
In order to solve the above technical problems, the embodiment of the present application is achieved in that
In a first aspect, proposing a kind of recording method of resource transfers event, the method is applied to trading server, institute
The method of stating includes:
Based on resource recipient to the payment events of target resource, the target is uploaded by the preset interface of block chain and is provided
The payment record in source is into the block chain;
The first cryptographic Hash that the block chain returns is obtained and records, first cryptographic Hash is based on institute for the block chain
State what the payment record of target resource was handled, so that the notarization node of the block chain can inquire and described first breathes out
The uncommon payment record for being worth the corresponding target resource;
Failover events based on the target resource that the resource side of producing provides, in the preset interface by the block chain
The transfer for passing the target resource is recorded in the block chain;
The second cryptographic Hash that the block chain returns is obtained and records, second cryptographic Hash is based on institute for the block chain
State what the transfer record of target resource was handled, so that the notarization node of the block chain can inquire and described second breathes out
The uncommon transfer record for being worth the corresponding target resource.
Second aspect, proposes a kind of querying method of resource transfers event, and the method is applied to the public affairs in block chain
Demonstrate,prove node, which comprises
Resource recipient is obtained by the preset interface of block chain and/or resource produces policy and turns to the resource of target resource
Move the inquiry request of record;
Inquiry of the policy to the resource transfers record of target resource is produced based on the resource recipient and/or the resource
Request downloads from the block chain and reads resource transfers record corresponding with the cryptographic Hash that the inquiry request carries.
The third aspect, proposes a kind of recording method of second-hand cargo transaction, and the method is applied to second-hand cargo transaction
Server, which comprises
Based on second-hand cargo recycling side to the payment events of second hand object to be recycled, uploaded by the preset interface of block chain
The payment record of the second-hand cargo to be recycled is into the block chain;
The first cryptographic Hash that the block chain returns is obtained and records, first cryptographic Hash is based on institute for the block chain
State what the payment record of second-hand cargo to be recycled was handled, so as to the notarization node of the block chain can inquire with it is described
The payment record of the corresponding second-hand cargo to be recycled of first cryptographic Hash;
Shipping events based on the second-hand cargo to be recycled that second-hand cargo provider provides, pass through the block chain
Preset interface uploads the issuance records of the second-hand cargo to be recycled into the block chain;
The second cryptographic Hash that the block chain returns is obtained and records, second cryptographic Hash is based on institute for the block chain
State what the transfer record of second-hand cargo to be recycled was handled, so as to the notarization node of the block chain can inquire with it is described
The transfer of the corresponding second-hand cargo to be recycled of second cryptographic Hash records.
Fourth aspect, proposes a kind of querying method of second-hand cargo recycling transaction, and the method is applied in block chain
Notarization node, which comprises
Second-hand cargo recycling side is obtained by the preset interface of block chain and/or second-hand cargo provider is directed to be recycled two
The inquiry request of the recycling transaction record of hand cargo;
The recycling transaction record of second-hand cargo to be recycled is directed to based on the second-hand cargo side of recycling and/or second-hand cargo provider
Inquiry request, downloaded from the block chain and read the cryptographic Hash corresponding recycling transaction carried with the inquiry request
Record.
5th aspect, proposes a kind of recording device of resource transfers event, comprising:
First uploading unit passes through the preset interface of block chain based on resource recipient to the payment events of target resource
The payment record of the target resource is uploaded into the block chain;
First acquisition unit obtains and records the first cryptographic Hash that the block chain returns, and first cryptographic Hash is institute
State what block chain was handled based on the payment record of the target resource, so that the notarization node of the block chain can be inquired
To the payment record of the target resource corresponding with first cryptographic Hash;
Second uploading unit, the failover events based on the target resource that the resource side of producing provides, passes through the block
The transfer that the preset interface of chain uploads the target resource is recorded in the block chain;
Second acquisition unit obtains and records the second cryptographic Hash that the block chain returns, and second cryptographic Hash is institute
State what block chain was handled based on the transfer record of the target resource, so that the notarization node of the block chain can be inquired
Transfer to the target resource corresponding with second cryptographic Hash records.
6th aspect, proposes a kind of inquiry unit of resource transfers event, comprising:
Acquiring unit obtains resource recipient by the preset interface of block chain and/or resource produces policy and provides to target
The inquiry request of the resource transfers record in source;
Download unit produces policy to the resource transfers of target resource based on the resource recipient and/or the resource
The inquiry request of record is downloaded from the block chain and reads resource corresponding with the cryptographic Hash that the inquiry request carries
Transfer record.
7th aspect proposes a kind of recording device of second-hand cargo recycling transaction, comprising:
First uploading unit passes through block chain based on second-hand cargo recycling side to the payment events of second hand object to be recycled
Preset interface upload the payment record of the second-hand cargo to be recycled into the block chain;
First acquisition unit obtains and records the first cryptographic Hash that the block chain returns, and first cryptographic Hash is institute
State what block chain was handled based on the payment record of the second-hand cargo to be recycled, so as to the notarization node energy of the block chain
Enough inquire the payment record of the second-hand cargo to be recycled corresponding with first cryptographic Hash;
Second uploading unit, the shipping events based on the second-hand cargo to be recycled that second-hand cargo provider provides, leads to
The preset interface for crossing the block chain uploads the issuance records of the second-hand cargo to be recycled into the block chain;
Second acquisition unit obtains and records the second cryptographic Hash that the block chain returns, and second cryptographic Hash is institute
State what block chain was handled based on the transfer record of the second-hand cargo to be recycled, so as to the notarization node energy of the block chain
Enough inquire the transfer record of the second-hand cargo to be recycled corresponding with second cryptographic Hash.
Eighth aspect proposes a kind of inquiry unit of second-hand cargo recycling transaction, comprising:
Acquiring unit obtains second-hand cargo recycling side and/or second-hand cargo provider needle by the preset interface of block chain
To the inquiry request of the recycling transaction record of second hand object to be recycled;
Download unit, the returning for second-hand cargo to be recycled based on the second-hand cargo side of recycling and/or second-hand cargo provider
The inquiry request for receiving transaction record is downloaded from the block chain and is read corresponding with the cryptographic Hash that the inquiry request carries
Recycling transaction record.
9th aspect, proposes a kind of electronic equipment, which includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
It manages device and executes following operation:
Based on resource recipient to the payment events of target resource, the target is uploaded by the preset interface of block chain and is provided
The payment record in source is into the block chain;
The first cryptographic Hash that the block chain returns is obtained and records, first cryptographic Hash is based on institute for the block chain
State what the payment record of target resource was handled, so that the notarization node of the block chain can inquire and described first breathes out
The uncommon payment record for being worth the corresponding target resource;
Failover events based on the target resource that the resource side of producing provides, in the preset interface by the block chain
The transfer for passing the target resource is recorded in the block chain;
The second cryptographic Hash that the block chain returns is obtained and records, second cryptographic Hash is based on institute for the block chain
State what the transfer record of target resource was handled, so that the notarization node of the block chain can inquire and described second breathes out
The uncommon transfer record for being worth the corresponding target resource.
Tenth aspect, proposes a kind of computer readable storage medium, the computer-readable recording medium storage one
Or multiple programs, one or more of programs are when the electronic equipment for being included multiple application programs executes, so that the electricity
Sub- equipment executes following operation:
Based on resource recipient to the payment events of target resource, the target is uploaded by the preset interface of block chain and is provided
The payment record in source is into the block chain;
The first cryptographic Hash that the block chain returns is obtained and records, first cryptographic Hash is based on institute for the block chain
State what the payment record of target resource was handled, so that the notarization node of the block chain can inquire and described first breathes out
The uncommon payment record for being worth the corresponding target resource;
Failover events based on the target resource that the resource side of producing provides, in the preset interface by the block chain
The transfer for passing the target resource is recorded in the block chain;
The second cryptographic Hash that the block chain returns is obtained and records, second cryptographic Hash is based on institute for the block chain
State what the transfer record of target resource was handled, so that the notarization node of the block chain can inquire and described second breathes out
The uncommon transfer record for being worth the corresponding target resource.
On the one hand tenth, proposes a kind of electronic equipment, which includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
It manages device and executes following operation:
Resource recipient is obtained by the preset interface of block chain and/or resource produces policy and turns to the resource of target resource
Move the inquiry request of record;
Inquiry of the policy to the resource transfers record of target resource is produced based on the resource recipient and/or the resource
Request downloads from the block chain and reads resource transfers record corresponding with the cryptographic Hash that the inquiry request carries.
12nd aspect, proposes a kind of computer readable storage medium, the computer-readable recording medium storage one
A or multiple programs, one or more of programs are when the electronic equipment for being included multiple application programs executes, so that described
Electronic equipment executes following operation:
Resource recipient is obtained by the preset interface of block chain and/or resource produces policy and turns to the resource of target resource
Move the inquiry request of record;
Inquiry of the policy to the resource transfers record of target resource is produced based on the resource recipient and/or the resource
Request downloads from the block chain and reads resource transfers record corresponding with the cryptographic Hash that the inquiry request carries.
13rd aspect, proposes a kind of electronic equipment, which includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
It manages device and executes following operation:
Based on second-hand cargo recycling side to the payment events of second hand object to be recycled, uploaded by the preset interface of block chain
The payment record of the second-hand cargo to be recycled is into the block chain;
The first cryptographic Hash that the block chain returns is obtained and records, first cryptographic Hash is based on institute for the block chain
State what the payment record of second-hand cargo to be recycled was handled, so as to the notarization node of the block chain can inquire with it is described
The payment record of the corresponding second-hand cargo to be recycled of first cryptographic Hash;
Shipping events based on the second-hand cargo to be recycled that second-hand cargo provider provides, pass through the block chain
Preset interface uploads the issuance records of the second-hand cargo to be recycled into the block chain;
The second cryptographic Hash that the block chain returns is obtained and records, second cryptographic Hash is based on institute for the block chain
State what the transfer record of second-hand cargo to be recycled was handled, so as to the notarization node of the block chain can inquire with it is described
The transfer of the corresponding second-hand cargo to be recycled of second cryptographic Hash records.
Fourteenth aspect proposes a kind of computer readable storage medium, the computer-readable recording medium storage one
A or multiple programs, one or more of programs are when the electronic equipment for being included multiple application programs executes, so that described
Electronic equipment executes following operation:
Based on second-hand cargo recycling side to the payment events of second hand object to be recycled, uploaded by the preset interface of block chain
The payment record of the second-hand cargo to be recycled is into the block chain;
The first cryptographic Hash that the block chain returns is obtained and records, first cryptographic Hash is based on institute for the block chain
State what the payment record of second-hand cargo to be recycled was handled, so as to the notarization node of the block chain can inquire with it is described
The payment record of the corresponding second-hand cargo to be recycled of first cryptographic Hash;
Shipping events based on the second-hand cargo to be recycled that second-hand cargo provider provides, pass through the block chain
Preset interface uploads the issuance records of the second-hand cargo to be recycled into the block chain;
The second cryptographic Hash that the block chain returns is obtained and records, second cryptographic Hash is based on institute for the block chain
State what the transfer record of second-hand cargo to be recycled was handled, so as to the notarization node of the block chain can inquire with it is described
The transfer of the corresponding second-hand cargo to be recycled of second cryptographic Hash records.
15th aspect, proposes a kind of electronic equipment, which includes:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
It manages device and executes following operation:
Second-hand cargo recycling side is obtained by the preset interface of block chain and/or second-hand cargo provider is directed to be recycled two
The inquiry request of the recycling transaction record of hand cargo;
The recycling transaction record of second-hand cargo to be recycled is directed to based on the second-hand cargo side of recycling and/or second-hand cargo provider
Inquiry request, downloaded from the block chain and read the cryptographic Hash corresponding recycling transaction carried with the inquiry request
Record.
16th aspect, proposes a kind of computer readable storage medium, the computer-readable recording medium storage one
A or multiple programs, one or more of programs are when the electronic equipment for being included multiple application programs executes, so that described
Electronic equipment executes following operation:
Second-hand cargo recycling side is obtained by the preset interface of block chain and/or second-hand cargo provider is directed to be recycled two
The inquiry request of the recycling transaction record of hand cargo;
The recycling transaction record of second-hand cargo to be recycled is directed to based on the second-hand cargo side of recycling and/or second-hand cargo provider
Inquiry request, downloaded from the block chain and read the cryptographic Hash corresponding recycling transaction carried with the inquiry request
Record.
The embodiment of the present application at least can achieve following technical effects by adopting the above technical scheme:
During resource transfer, block chain can be passed through based on resource recipient to the payment events of target resource
Preset interface uploads the payment record of the target resource into block chain, and can obtain and record block chain and be provided based on the target
The first cryptographic Hash that the payment record in source returns, so as to the notarization node of block chain can inquire it is opposite with first cryptographic Hash
The payment record for the target resource answered;Block can also be passed through based on the failover events for the target resource that the resource side of producing provides
The transfer that the preset interface of chain uploads the target resource is recorded in block chain, and can obtain and record block chain and be based on the mark
Resource transfer record return the second cryptographic Hash, so that the notarization node of block chain can inquire and second cryptographic Hash
The transfer of corresponding target resource records, so as to reduce the evidence obtaining difficulty that dispute occurs for transaction.Simultaneously as resource
It can directly trade between recipient and the resource side of being transferred to, be not necessarily to the trustship of third party's credit, also reduce both parties'
Transaction threshold.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one
Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
Below in conjunction with attached drawing, the technical scheme provided by various embodiments of the present application will be described in detail.
In recovery method to solve existing online cargo, use threshold higher and based on no letter based on credit model
With the low problem of the trading efficiency of mode, this specification embodiment provides a kind of recording method of resource transfers event.This explanation
The executing subject for the method that book embodiment provides, which can be, but not limited to trading server etc., can be configured as executing the present invention in fact
At least one of party's subtraction unit of example offer is provided.
For ease of description, hereafter executing subject in this way is to be able to carry out for the trading server of this method, it is right
The embodiment of this method is introduced.It is appreciated that it is that one kind is exemplary that the executing subject of this method, which is trading server,
Explanation, be not construed as the restriction to this method.
Specifically, a kind of realization of the recording method for resource transfers event that this specification one or more embodiment provides
Flow diagram is as shown in Figure 1, comprising:
Step 110, based on resource recipient to the payment events of target resource, mark is uploaded by the preset interface of block chain
Resource payment record into block chain.
It should be understood that the valuation of target resource is variable to trade convenient for resource recipient and the resource side of producing, that is,
It says, the valuation of target resource can be conferred according to resource recipient and the resource side of producing to determine, and for the ease of later period appearance
It collects evidence when Transaction Disputes, resource recipient and the resource side of producing can be carried in the payment record of target resource to target resource
Valuation confirmation message.Wherein, which may include that resource recipient and the resource side of producing are final to target resource
Transaction value confirmation message and specific bargaining process.
Optionally, in order to improve target resource payment record safety, based on resource recipient to target resource
Payment events, the payment record for uploading target resource by the preset interface of block chain can specifically include down into block chain
State step:
Based on resource recipient to the payment events of target resource, the payment record of target resource is obtained;
The payment record of target resource is encrypted, to obtain the payment note of the target resource after encryption
Record;
The payment record of the target resource after encryption is uploaded by the preset interface of block chain into block chain.
Wherein, the payment record of target resource is encrypted, can be specifically led to the payment record of target resource
The hash algorithms such as MD5 are crossed to encrypt.
Step 120, the first cryptographic Hash of block chain return is obtained and records, the first cryptographic Hash is that block chain is provided based on target
What the payment record in source was handled, so that the notarization node of block chain can inquire target corresponding with the first cryptographic Hash
The payment record of resource.
It should be understood that can remember in trading server for the payment record convenient for inquiring the target resource recorded in block chain
The corresponding relationship between the first cryptographic Hash and the payment record of target resource is recorded, such as can be in the order shape in relation to target resource
A payment record field is arranged in the tables of data of state to be used to store first cryptographic Hash, or can also come by other means
First cryptographic Hash is stored, as long as the corresponding relationship of the payment record of first cryptographic Hash and target resource can be embodied.
Wherein, which can be block chain and is handled based on the payment record of target resource by hash algorithm
It arrives.
Step 130, the failover events of the target resource provided based on the resource side of producing, in the preset interface by block chain
The transfer for passing target resource is recorded in block chain.
Optionally, it in order to improve the safety that the transfer of target resource records, is provided based on the target that the resource side of producing provides
The failover events in source are recorded in block chain by the transfer that the preset interface of block chain uploads target resource, specifically be can wrap
Include following step:
Failover events based on the target resource that the resource side of producing provides obtain the transfer record of target resource;
The transfer record of target resource is encrypted, to obtain the transfer note of the target resource after encryption
Record;
It is recorded in block chain by the transfer that the preset interface of block chain uploads the target resource after encryption.
Wherein, the transfer record of target resource is encrypted, can be specifically recorded the transfer of target resource logical
The hash algorithms such as MD5 are crossed to encrypt.
It should be understood that obtaining the information of both parties for when there are Transaction Disputes convenient for the later period, this specification is one or more
Following at least one contents: the mark of target resource are at least carried in resource payment record and resource transfers record in embodiment
Know, the mark of the mark of resource recipient and the resource side of producing.Wherein, the mark of the mark of resource recipient and the resource side of producing
It specifically can be the real-name authentication mark of resource recipient and the resource side of producing.For example, the mark of resource recipient can be with
The mark of the corresponding identity of the identification card number of resource recipient, the resource side of producing can be the identity with the resource side of producing
Demonstrate,prove number corresponding identity.
Optionally, since resource recipient and the resource side of producing for target resource when trading, resource recipient
Payment record and the transfer record of the resource side of producing be uploaded in block chain, it is therefore, involved in entire process of exchange
And information can be transferred through the notarization node of block chain from block chain download and inquiry to therefore, which can adopt
It is first paid with resource recipient, the transaction that the resource side of producing delivers again after receiving payment and (shifts target resource)
Mode can also use the delivery of the resource side of producing, the trade mode that resource recipient pays again after receiving cargo.
Therefore, the transfer in this specification one or more embodiment to the payment events of target resource and target resource
The order of occurrence of event can be not especially limited, i.e., the payment events of target resource can target resource failover events it
Before;Alternatively, the failover events of target resource can also be before the payment events of target resource.
Step 140, the second cryptographic Hash of block chain return is obtained and records, the second cryptographic Hash is that block chain is provided based on target
What the transfer record in source was handled, so that the notarization node of block chain can inquire target corresponding with the second cryptographic Hash
The transfer of resource records.
It should be understood that the transfer for the target resource convenient for recording in inquiry block chain records, can remember in trading server
The corresponding relationship between the second cryptographic Hash and the transfer record of target resource is recorded, such as can be in the order shape in relation to target resource
A transfer record field is arranged in the tables of data of state to be used to store second cryptographic Hash, or can also come by other means
Second cryptographic Hash is stored, as long as the corresponding relationship of the transfer record of second cryptographic Hash and target resource can be embodied.
Wherein, which can be block chain and is handled based on the transfer record of target resource by hash algorithm
It arrives.
Below for the transaction by trading server shown in Fig. 2 for second-hand cargo, to the resource of this specification offer
The recording method of failover events describes in detail, as shown in Fig. 2, including following key steps:
Step 21, second-hand cargo recycling side negotiates a price with second-hand cargo provider for second-hand cargo to be recycled, with
Determine the price of the second-hand cargo to be recycled;
Step 22, second-hand cargo recycling side is provided based on the price of determining second-hand cargo to be recycled to second-hand cargo
The Fang Zhifu second-hand cargo to be recycled;
Step 23, the trading server of second-hand cargo uploads the second-hand cargo to block chain by the preset interface of block chain
The payment record of recycling side may include the mark of the mark of second-hand cargo recycling side, second-hand cargo provider in the payment record
Know, pay direction, payment amount and the second-hand cargo side of recycling and second-hand cargo provider to the valence of second-hand cargo to be recycled
The information such as lattice confirmation message;
Wherein, the mark of second-hand cargo recycling side and the mark of second-hand cargo provider, specifically can be in the second-hand cargo
Recycling side and the second-hand cargo provider obtain in register account number on the trading server of the second-hand cargo.To go out convenient for the later period
It collects evidence when existing Transaction Disputes, the mark of the second-hand cargo recycling side can be the real name identity letter of the second-hand cargo recycling side
Breath, for example can be and uniquely identify corresponding identity with identification card number etc., similarly, the second-hand cargo provider's
Mark can be the real name identity information of the second-hand cargo recycling side, for example be also possible to and unique mark phase such as identification card number
Corresponding identity.
Step 24, block chain returns to the first cryptographic Hash to the trading server of second-hand cargo, which is block
Chain is handled based on the payment record Hash of second-hand cargo to be recycled, so that the notarization node in block chain can be based on
First cryptographic Hash obtains payment record corresponding with first cryptographic Hash;
Step 25, second-hand cargo recycling side is receiving second-hand cargo provider for the payment of the second-hand cargo to be recycled
After information, which is carried out sending delivery according to the address that second-hand cargo recycling side provides, and should
The information such as the logistics information, such as logistics odd numbers, logistics company of second-hand cargo to be recycled are supplied to the transaction clothes of second-hand cargo
Business device;
Step 26, it is to be recycled by the preset interface of block chain to upload this to block chain for the trading server of second-hand cargo
The logistics information of second-hand cargo records, and may include the mark of second-hand cargo recycling side, second-hand cargo in logistics information record
Mark, delivery direction, the delivery information such as address and shipping address of provider;
Step 27, block chain returns to the second cryptographic Hash to the trading server of second-hand cargo, which is block
Chain is handled based on the logistics information record Hash of second-hand cargo to be recycled, so that the notarization node in block chain can
Based on second cryptographic Hash, logistics information record corresponding with second cryptographic Hash is obtained.
During resource transfer, block chain can be passed through based on resource recipient to the payment events of target resource
Preset interface uploads the payment record of the target resource into block chain, and can obtain and record block chain and be provided based on the target
The first cryptographic Hash that the payment record in source returns, so as to the notarization node of block chain can inquire it is opposite with first cryptographic Hash
The payment record for the target resource answered;Block can also be passed through based on the failover events for the target resource that the resource side of producing provides
The transfer that the preset interface of chain uploads the target resource is recorded in block chain, and can obtain and record block chain and be based on the mark
Resource transfer record return the second cryptographic Hash, so that the notarization node of block chain can inquire and second cryptographic Hash
The transfer of corresponding target resource records, so as to reduce the evidence obtaining difficulty that dispute occurs for transaction.Simultaneously as resource
It can directly trade between recipient and the resource side of being transferred to, be not necessarily to the trustship of third party's credit, also reduce both parties'
Transaction threshold.
Fig. 3 is the implementation process schematic diagram of the querying method for the resource transfers event that this specification provides.Referring to FIG. 3,
The querying method of the resource transfers event is applied to the notarization node in block chain, comprising:
Step 310, resource recipient is obtained by the preset interface of block chain and/or resource produces policy to target resource
Resource transfers record inquiry request.
It should be understood that for convenient for getting corresponding information from block chain based on the inquiry request, it can in the inquiry request
To carry cryptographic Hash, which can be what block chain was handled based on resource transfers record Hash.
If the resource transfers record of the target resource uploaded in block chain is the resource transfers note after encryption
Record is verified in order to the resource transfers record to the target resource uploaded in block chain, may be used also in the inquiry request
To carry the initial data of the resource transfers record of the target resource, i.e., before the resource transfers recording of encrypted of the target resource
Data.
Step 320, it is based on inquiry request, downloaded from block chain and is read is corresponding with the cryptographic Hash that inquiry request carries
Resource transfers record.
Optionally, resource transfers record corresponding with the cryptographic Hash that above-mentioned inquiry request carries includes following at least one
Resource transfers record:
The payment record of target resource;
The transfer of target resource records.
If the resource transfers record of the target resource uploaded in block chain is the resource transfers note after encryption
Record is verified, the notarization section in block chain in order to the resource transfers record to the target resource uploaded in block chain
The initial data that point can be recorded by the resource transfers to the target resource carried in inquiry request carries out Hash processing, to obtain
It takes by Hash treated character string, and will storing in the character string and block chain remembers with target resource resource transfers
Corresponding character string of using videotape to record compares;If the two is consistent, the resource transfers of the target resource carried in inquiry request are recorded
Initial data by verifying, and if the two is inconsistent, show the target resource carried in inquiry request resource transfers note
The initial data of record is distorted by the later period, i.e., cannot pass through verifying.
Since policy can be produced to target resource by the preset interface of block chain acquisition resource recipient and/or resource
Resource transfers record inquiry request, and be based on the inquiry request, downloaded from block chain and read and inquiry request carry
Cryptographic Hash corresponding resource transfers record, so as to reduce the evidence obtaining difficulty that dispute occurs for transaction.
Fig. 4 is the implementation process schematic diagram of the recording method for the second-hand cargo transaction that this specification provides.Referring to FIG. 4,
The recording method of the second-hand cargo transaction is applied to second-hand cargo trading server, comprising:
Step 410, the default of block chain is passed through to the payment events of second hand object to be recycled based on second-hand cargo recycling side
Interface uploads the payment record of second-hand cargo to be recycled into block chain.
Optionally, the default of block chain is passed through to the payment events of second hand object to be recycled based on second-hand cargo recycling side
Interface uploads the payment record of second-hand cargo to be recycled into block chain, comprising:
Based on second-hand cargo recycling side to the payment events of second hand object to be recycled, the payment of second-hand cargo to be recycled is obtained
Record;
The payment record of second hand object to be recycled is encrypted, to obtain the second hand to be recycled after encryption
The payment record of object;
The payment record of the second-hand cargo to be recycled after encryption is uploaded to block chain by the preset interface of block chain
In.
Optionally, the valuation of second-hand cargo to be recycled is variable, carries second hand in the payment record of second-hand cargo to be recycled
The valuation confirmation message of object recycling side and second-hand cargo provider to second hand object to be recycled.
Step 420, the first cryptographic Hash of block chain return is obtained and records, the first cryptographic Hash is block chain based on to be recycled
What the payment record of second-hand cargo was handled, so as to the notarization node of block chain can inquire it is corresponding with the first cryptographic Hash
Second-hand cargo to be recycled payment record.
Step 430, the shipping events of the second-hand cargo to be recycled provided based on second-hand cargo provider, pass through block chain
Preset interface uploads the issuance records of second-hand cargo to be recycled into block chain.
Optionally, the shipping events of the second-hand cargo to be recycled provided based on second-hand cargo provider, pass through block chain
Preset interface uploads the issuance records of second-hand cargo to be recycled into block chain, comprising:
Shipping events based on the second-hand cargo to be recycled that second-hand cargo provider provides, obtain second hand to be recycled
The issuance records of object;
The issuance records of second hand object to be recycled are encrypted, to obtain the second hand to be recycled after encryption
The issuance records of object;
The issuance records of second-hand cargo to be recycled after uploading the encryption by the preset interface of the block chain
Into the block chain.
Step 440, the second cryptographic Hash of block chain return is obtained and records, the second cryptographic Hash is block chain based on to be recycled
What the transfer record of second-hand cargo was handled, so as to the notarization node of block chain can inquire it is corresponding with the second cryptographic Hash
Second-hand cargo to be recycled transfer record.
Optionally, the payment events of above-mentioned second-hand cargo to be recycled are before the shipping events of second-hand cargo to be recycled;
Alternatively, the shipping events of second-hand cargo to be recycled are before the payment events of second-hand cargo to be recycled.
The specific implementation of embodiment illustrated in fig. 4 correlation step can refer to step corresponding in FIG. 1 to FIG. 2 illustrated embodiment
Specific implementation, details are not described herein for this specification one or more embodiment.
It, can be based on second-hand cargo recycling side to the payment thing of second hand object to be recycled during second-hand cargo transaction
Part uploads the payment record of the second-hand cargo to be recycled into block chain by the preset interface of block chain, and can obtain simultaneously
The first cryptographic Hash that block chain is returned based on the payment record of the second-hand cargo to be recycled is recorded, so as to the notarization node of block chain
The payment record of second-hand cargo to be recycled corresponding with first cryptographic Hash can be inquired;It can also be mentioned based on second-hand cargo
The shipping events for the second-hand cargo to be recycled that supplier provides, upload the second-hand cargo to be recycled by the preset interface of block chain
Issuance records can obtain into block chain and record what block chain was returned based on the issuance records of the second-hand cargo to be recycled
Second cryptographic Hash, so that the notarization node of block chain can inquire second-hand cargo to be recycled corresponding with second cryptographic Hash
Issuance records, so as to reduce transaction occur dispute evidence obtaining difficulty.Simultaneously as second-hand cargo recycling side and second-hand
It can directly trade between cargo provider, be not necessarily to the trustship of third party's credit, also reduce second-hand cargo recycling transaction
Threshold.
Fig. 5 is the implementation process schematic diagram of the querying method for the second-hand cargo recycling transaction that this specification provides.It please refers to
The querying method of Fig. 5, the second-hand cargo recycling transaction are applied to the notarization node in block chain, comprising:
Step 510, second-hand cargo recycling side is obtained by the preset interface of block chain and/or second-hand cargo provider is directed to
The inquiry request of the recycling transaction record of second-hand cargo to be recycled.
Step 520, it is based on inquiry request, downloaded from block chain and is read is corresponding with the cryptographic Hash that inquiry request carries
Recycling transaction record.
Optionally, recycling transaction record corresponding with the cryptographic Hash that inquiry request carries includes following at least one notes
Record:
The payment record of second-hand cargo to be recycled;
The transfer of second-hand cargo to be recycled records.
The specific implementation of embodiment illustrated in fig. 5 correlation step can refer to the specific of step corresponding in embodiment illustrated in fig. 3
It realizes, details are not described herein for this specification one or more embodiment.
Due to that can be directed to by the preset interface of the block chain second-hand cargo recycling side of acquisition and/or second-hand cargo provider
The inquiry request of the recycling transaction record of second-hand cargo to be recycled, and it is based on the inquiry request, it downloads and reads from block chain
Recycling transaction record corresponding with the cryptographic Hash that inquiry request carries, so as to reduce the evidence obtaining hardly possible that dispute occurs for transaction
Degree.
Fig. 6 is the structural schematic diagram of the recording device 600 for the resource transfers event that this specification provides.Referring to FIG. 6,
In a kind of Software Implementation, it is single that the recording device 600 of resource transfers event may include that the first uploading unit 601, first obtains
First 602, second uploading unit 603 and second acquisition unit 604, in which:
First uploading unit 601, based on resource recipient to the payment events of target resource, default by block chain is connect
Mouth uploads the payment record of the target resource into the block chain;
First acquisition unit 602, obtains and records the first cryptographic Hash that the block chain returns, and first cryptographic Hash is
The block chain is handled based on the payment record of the target resource, so that the notarization node of the block chain can be looked into
Ask the payment record of the target resource corresponding with first cryptographic Hash;
Second uploading unit 603, the failover events based on the target resource that the resource side of producing provides, passes through the area
The transfer that the preset interface of block chain uploads the target resource is recorded in the block chain;
Second acquisition unit 604, obtains and records the second cryptographic Hash that the block chain returns, and second cryptographic Hash is
The block chain is handled based on the transfer record of the target resource, so that the notarization node of the block chain can be looked into
Ask the transfer record of the target resource corresponding with second cryptographic Hash.
Optionally, in one embodiment, first uploading unit 601, is used for:
Based on resource recipient to the payment events of the target resource, the payment record of the target resource is obtained;
The payment record of the target resource is encrypted, to obtain the money of the target after the encryption
The payment record in source;
The payment record of the target resource after uploading the encryption by the preset interface of the block chain arrives
In block chain.
Optionally, in one embodiment, the second uploading unit 603 is used for:
Failover events based on the target resource that the resource side of producing provides obtain the transfer note of the target resource
Record;
The transfer record of the target resource is encrypted, to obtain the money of the target after the encryption
The transfer in source records;
The transfer of the target resource after uploading the encryption by the preset interface of the block chain is recorded
In the block chain.
Optionally, in one embodiment, the valuation of the target resource is variable, the payment record of the target resource
The middle resource recipient and the resource side of producing of carrying is to the valuation confirmation message of the target resource.
Optionally, in one embodiment, transfer thing of the payment events of the target resource in the target resource
Before part;
Alternatively, the failover events of the target resource are before the payment events of the target resource.
The method that the recording device 600 of resource transfers event can be realized the embodiment of the method for FIG. 1 to FIG. 2, can specifically join
The recording method for examining the resource transfers event of FIG. 1 to FIG. 2 illustrated embodiment, repeats no more.
Fig. 7 is the structural schematic diagram of the inquiry unit 700 for the resource transfers event that this specification provides.Referring to FIG. 7,
In a kind of Software Implementation, the inquiry unit 700 of resource transfers event may include acquiring unit 701 and download unit 702,
In:
Acquiring unit 701 obtains resource recipient by the preset interface of block chain and/or resource produces policy to target
The inquiry request of the resource transfers record of resource;
Download unit 702 is based on the inquiry request, downloads and read from the block chain and take with the inquiry request
The corresponding resource transfers record of the cryptographic Hash of band.
Optionally, in one embodiment, resource transfers corresponding with the cryptographic Hash that the inquiry request carries are remembered
Record includes following at least one resource transfers records:
The payment record of the target resource;
The transfer of the target resource records.
The method that the inquiry unit 700 of resource transfers event can be realized the embodiment of the method for Fig. 3, specifically refers to Fig. 3
The querying method of the resource transfers event of illustrated embodiment, repeats no more.
Fig. 8 is the structural schematic diagram of the recording device 800 for the second-hand cargo recycling transaction that this specification provides.Please refer to figure
8, in a kind of Software Implementation, the recording device 800 of second-hand cargo recycling transaction may include the first uploading unit 801, the
One acquiring unit 802, the second uploading unit 803 and second acquisition unit 804, in which:
First uploading unit 801 passes through block based on second-hand cargo recycling side to the payment events of second hand object to be recycled
The preset interface of chain uploads the payment record of the second-hand cargo to be recycled into the block chain;
First acquisition unit 802, obtains and records the first cryptographic Hash that the block chain returns, and first cryptographic Hash is
The block chain is handled based on the payment record of the second-hand cargo to be recycled, so as to the notarization node of the block chain
The payment record of the second-hand cargo to be recycled corresponding with first cryptographic Hash can be inquired;
Second uploading unit 803, the shipping events based on the second-hand cargo to be recycled that second-hand cargo provider provides,
The issuance records of the second-hand cargo to be recycled are uploaded into the block chain by the preset interface of the block chain;
Second acquisition unit 804, obtains and records the second cryptographic Hash that the block chain returns, and second cryptographic Hash is
The block chain is handled based on the transfer record of the second-hand cargo to be recycled, so as to the notarization node of the block chain
The transfer record of the second-hand cargo to be recycled corresponding with second cryptographic Hash can be inquired.
Optionally, in one embodiment, first uploading unit 801, is used for:
Based on second-hand cargo recycling side to the payment events of the second-hand cargo to be recycled, the second hand to be recycled is obtained
The payment record of object;
The payment record of the second-hand cargo to be recycled is encrypted, described in obtaining after the encryption
The payment record of second-hand cargo to be recycled;
The payment of the second-hand cargo to be recycled after uploading the encryption by the preset interface of the block chain
It is recorded in block chain.
Optionally, in one embodiment, second uploading unit 803, is used for:
Failover events based on the second-hand cargo to be recycled that second-hand cargo provider provides, obtain described to be recycled two
The issuance records of hand cargo;
The issuance records of the second-hand cargo to be recycled are encrypted, described in obtaining after the encryption
The issuance records of second-hand cargo to be recycled;
The delivery of the second-hand cargo to be recycled after uploading the encryption by the preset interface of the block chain
It is recorded in the block chain.
Optionally, in one embodiment, the price of the second-hand cargo to be recycled is variable, the second hand to be recycled
The second-hand cargo provider and the second-hand cargo recycling side are carried in the payment record of object to the second-hand cargo to be recycled
Price confirmation message.
Optionally, in one embodiment, the payment events of the second-hand cargo to be recycled are in institute's second hand to be recycled
Before the shipping events of object;
Alternatively, the shipping events of the second-hand cargo to be recycled are before the payment events of the second-hand cargo to be recycled.
The method that the recording device 800 of second-hand cargo recycling transaction can be realized the embodiment of the method for Fig. 4, specifically refers to
The recording method of the second-hand cargo recycling transaction of embodiment illustrated in fig. 4, repeats no more.
Fig. 9 is the structural schematic diagram of the inquiry unit 900 for the second-hand cargo recycling transaction that this specification provides.Please refer to figure
9, in a kind of Software Implementation, the inquiry unit 900 of second-hand cargo recycling transaction may include that acquiring unit 901 and downloading are single
Member 902, in which:
Acquiring unit 901 obtains second-hand cargo recycling side and/or second-hand cargo provider by the preset interface of block chain
For the inquiry request of the recycling transaction record of second-hand cargo to be recycled;
Download unit 902, based on the second-hand cargo side of recycling and/or second-hand cargo provider for second-hand cargo to be recycled
The inquiry request for recycling transaction record is downloaded from the block chain and is read opposite with the cryptographic Hash that the inquiry request carries
The recycling transaction record answered.
Optionally, in one embodiment, recycling transaction corresponding with the cryptographic Hash that the inquiry request carries is remembered
Record includes following at least one records:
The payment record of the second-hand cargo to be recycled;
The issuance records of the second-hand cargo to be recycled.
The method that the inquiry unit 900 of second-hand cargo recycling transaction can be realized the embodiment of the method for Fig. 5, specifically refers to
The querying method of the second-hand cargo recycling transaction of embodiment illustrated in fig. 5, repeats no more.
Figure 10 is the structural schematic diagram for the electronic equipment that one embodiment of this specification provides.Referring to FIG. 10, hard
Part level, the electronic equipment include processor, optionally further comprising internal bus, network interface, memory.Wherein, memory
It may include memory, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-
Volatile memory (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which may be used also
It can include hardware required for other business.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..Only to be indicated with a four-headed arrow in Figure 10, it is not intended that an only bus or a type of convenient for indicating
Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer
The recording device of resource transfers event is formed on face.Processor executes the program stored of memory, and be specifically used for executing with
Lower operation:
Based on resource recipient to the payment events of target resource, the target is uploaded by the preset interface of block chain and is provided
The payment record in source is into the block chain;
The first cryptographic Hash that the block chain returns is obtained and records, first cryptographic Hash is based on institute for the block chain
State what the payment record of target resource was handled, so that the notarization node of the block chain can inquire and described first breathes out
The uncommon payment record for being worth the corresponding target resource;
Failover events based on the target resource that the resource side of producing provides, in the preset interface by the block chain
The transfer for passing the target resource is recorded in the block chain;
The second cryptographic Hash that the block chain returns is obtained and records, second cryptographic Hash is based on institute for the block chain
State what the transfer record of target resource was handled, so that the notarization node of the block chain can inquire and described second breathes out
The uncommon transfer record for being worth the corresponding target resource.
The recording method of resource transfers event disclosed in the above-mentioned FIG. 1 to FIG. 2 illustrated embodiment such as this specification can apply
It is realized in processor, or by processor.Processor may be a kind of IC chip, the processing capacity with signal.
During realization, each step of the above method can pass through the integrated logic circuit or software form of the hardware in processor
Instruction complete.Above-mentioned processor can be general processor, including central processing unit (Central Processing
Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute this specification one or more
Disclosed each method, step and logic diagram in embodiment.General processor can be microprocessor or the processor
It can be any conventional processor etc..The step of method in conjunction with disclosed in this specification one or more embodiment, can be straight
Connect and be presented as that hardware decoding processor executes completion, or in decoding processor hardware and software module combination executed
At.Software module can be located at random access memory, and flash memory, read-only memory, programmable read only memory or electrically-erasable can
In the storage medium of this fields such as programmable memory, register maturation.The storage medium is located at memory, and processor reads storage
Information in device, in conjunction with the step of its hardware completion above method.
The electronic equipment can also carry out the recording method of the resource transfers event of FIG. 1 to FIG. 2, and this specification is no longer superfluous herein
It states.
Certainly, other than software realization mode, other implementations are not precluded in the electronic equipment of this specification, such as
Logical device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each
Logic unit is also possible to hardware or logical device.
Fig. 9 is the structural schematic diagram of the inquiry unit 900 for the second-hand cargo recycling transaction that this specification provides.Please refer to figure
9, in a kind of Software Implementation, the inquiry unit 900 of second-hand cargo recycling transaction may include that acquiring unit 901 and downloading are single
Member 902, in which:
Acquiring unit 901 obtains second-hand cargo recycling side and/or second-hand cargo provider by the preset interface of block chain
For the inquiry request of the recycling transaction record of second-hand cargo to be recycled;
Download unit 902, based on the second-hand cargo side of recycling and/or second-hand cargo provider for second-hand cargo to be recycled
The inquiry request for recycling transaction record is downloaded from the block chain and is read opposite with the cryptographic Hash that the inquiry request carries
The recycling transaction record answered.
Optionally, in one embodiment, recycling transaction corresponding with the cryptographic Hash that the inquiry request carries is remembered
Record includes following at least one records:
The payment record of the second-hand cargo to be recycled;
The issuance records of the second-hand cargo to be recycled.
The method that the inquiry unit 900 of second-hand cargo recycling transaction can be realized the embodiment of the method for Fig. 5, specifically refers to
The querying method of the second-hand cargo recycling transaction of embodiment illustrated in fig. 5, repeats no more.
Figure 11 is the structural schematic diagram for the electronic equipment that one embodiment of this specification provides.Figure 11 is please referred to, hard
Part level, the electronic equipment include processor, optionally further comprising internal bus, network interface, memory.Wherein, memory
It may include memory, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-
Volatile memory (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which may be used also
It can include hardware required for other business.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..Only to be indicated with a four-headed arrow in Figure 11, it is not intended that an only bus or a type of convenient for indicating
Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer
The inquiry unit of resource transfers event is formed on face.Processor executes the program stored of memory, and be specifically used for executing with
Lower operation:
Resource recipient is obtained by the preset interface of block chain and/or resource produces policy and turns to the resource of target resource
Move the inquiry request of record;
Based on the inquiry request, is downloaded from the block chain and read the cryptographic Hash phase carried with the inquiry request
Corresponding resource transfers record.
The querying method of resource transfers event disclosed in the above-mentioned embodiment illustrated in fig. 3 such as this specification can be applied to handle
In device, or realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.It is realizing
In the process, each step of the above method can pass through the integrated logic circuit of the hardware in processor or the instruction of software form
It completes.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device are divided
Vertical door or transistor logic, discrete hardware components.It may be implemented or execute this specification one or more embodiment
In disclosed each method, step and logic diagram.General processor can be microprocessor or the processor is also possible to
Any conventional processor etc..The step of method in conjunction with disclosed in this specification one or more embodiment, can directly embody
Execute completion for hardware decoding processor, or in decoding processor hardware and software module combination execute completion.Software
Module can be located at random access memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable storage
In the storage medium of this fields such as device, register maturation.The storage medium is located at memory, and processor reads the letter in memory
Breath, in conjunction with the step of its hardware completion above method.
The electronic equipment can also carry out the querying method of the resource transfers event of Fig. 3, and details are not described herein for this specification.
Certainly, other than software realization mode, other implementations are not precluded in the electronic equipment of this specification, such as
Logical device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each
Logic unit is also possible to hardware or logical device.
Figure 12 is the structural schematic diagram for the electronic equipment that one embodiment of this specification provides.Figure 12 is please referred to, hard
Part level, the electronic equipment include processor, optionally further comprising internal bus, network interface, memory.Wherein, memory
It may include memory, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-
Volatile memory (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which may be used also
It can include hardware required for other business.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..Only to be indicated with a four-headed arrow in Figure 12, it is not intended that an only bus or a type of convenient for indicating
Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer
The recording device of second-hand cargo recycling transaction is formed on face.Processor executes the program that memory is stored, and is specifically used for holding
The following operation of row:
Based on second-hand cargo recycling side to the payment events of second hand object to be recycled, uploaded by the preset interface of block chain
The payment record of the second-hand cargo to be recycled is into the block chain;
The first cryptographic Hash that the block chain returns is obtained and records, first cryptographic Hash is based on institute for the block chain
State what the payment record of second-hand cargo to be recycled was handled, so as to the notarization node of the block chain can inquire with it is described
The payment record of the corresponding second-hand cargo to be recycled of first cryptographic Hash;
Shipping events based on the second-hand cargo to be recycled that second-hand cargo provider provides, pass through the block chain
Preset interface uploads the issuance records of the second-hand cargo to be recycled into the block chain;
The second cryptographic Hash that the block chain returns is obtained and records, second cryptographic Hash is based on institute for the block chain
State what the transfer record of second-hand cargo to be recycled was handled, so as to the notarization node of the block chain can inquire with it is described
The transfer of the corresponding second-hand cargo to be recycled of second cryptographic Hash records.
The recording method of second-hand cargo recycling transaction disclosed in the above-mentioned embodiment illustrated in fig. 4 such as this specification can be applied to
In processor, or realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.?
During realization, each step of the above method can pass through the integrated logic circuit of the hardware in processor or software form
Instruction is completed.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device are divided
Vertical door or transistor logic, discrete hardware components.It may be implemented or execute this specification one or more embodiment
In disclosed each method, step and logic diagram.General processor can be microprocessor or the processor is also possible to
Any conventional processor etc..The step of method in conjunction with disclosed in this specification one or more embodiment, can directly embody
Execute completion for hardware decoding processor, or in decoding processor hardware and software module combination execute completion.Software
Module can be located at random access memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable storage
In the storage medium of this fields such as device, register maturation.The storage medium is located at memory, and processor reads the letter in memory
Breath, in conjunction with the step of its hardware completion above method.
The electronic equipment can also carry out the recording method of the second-hand cargo recycling transaction of Fig. 4, and this specification is no longer superfluous herein
It states.
Certainly, other than software realization mode, other implementations are not precluded in the electronic equipment of this specification, such as
Logical device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each
Logic unit is also possible to hardware or logical device.
Figure 13 is the structural schematic diagram for the electronic equipment that one embodiment of this specification provides.Figure 13 is please referred to, hard
Part level, the electronic equipment include processor, optionally further comprising internal bus, network interface, memory.Wherein, memory
It may include memory, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-
Volatile memory (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which may be used also
It can include hardware required for other business.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..Only to be indicated with a four-headed arrow in Figure 13, it is not intended that an only bus or a type of convenient for indicating
Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer
The inquiry unit of second-hand cargo recycling transaction is formed on face.Processor executes the program that memory is stored, and is specifically used for holding
The following operation of row:
Second-hand cargo recycling side is obtained by the preset interface of block chain and/or second-hand cargo provider is directed to be recycled two
The inquiry request of the recycling transaction record of hand cargo;
Based on the inquiry request, is downloaded from the block chain and read the cryptographic Hash phase carried with the inquiry request
Corresponding recycling transaction record.
The querying method of second-hand cargo recycling transaction disclosed in the above-mentioned embodiment illustrated in fig. 5 such as this specification can be applied to
In processor, or realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.?
During realization, each step of the above method can pass through the integrated logic circuit of the hardware in processor or software form
Instruction is completed.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device are divided
Vertical door or transistor logic, discrete hardware components.It may be implemented or execute this specification one or more embodiment
In disclosed each method, step and logic diagram.General processor can be microprocessor or the processor is also possible to
Any conventional processor etc..The step of method in conjunction with disclosed in this specification one or more embodiment, can directly embody
Execute completion for hardware decoding processor, or in decoding processor hardware and software module combination execute completion.Software
Module can be located at random access memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable storage
In the storage medium of this fields such as device, register maturation.The storage medium is located at memory, and processor reads the letter in memory
Breath, in conjunction with the step of its hardware completion above method.
The electronic equipment can also carry out the querying method of the second-hand cargo recycling transaction of Fig. 5, and this specification is no longer superfluous herein
It states.
Certainly, other than software realization mode, other implementations are not precluded in the electronic equipment of this specification, such as
Logical device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each
Logic unit is also possible to hardware or logical device.
In short, being not intended to limit the protection of this specification the foregoing is merely the preferred embodiment of this specification
Range.With within principle, made any modification, changes equivalent replacement all spirit in this specification one or more embodiment
Into etc., it should be included within the protection scope of this specification one or more embodiment.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.