Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with this specification.On the contrary, they are only and such as institute
The example of the consistent device and method of some aspects be described in detail in attached claims, this specification.
It is only to be not intended to be limiting this explanation merely for for the purpose of describing particular embodiments in the term that this specification uses
Book.The "an" of used singular, " described " and "the" are also intended to packet in this specification and in the appended claims
Most forms are included, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein is
Refer to and includes that one or more associated any or all of project listed may combine.
It will be appreciated that though various information may be described using term first, second, third, etc. in this specification, but
These information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not taking off
In the case where this specification range, the first information can also be referred to as the second information, and similarly, the second information can also be claimed
For the first information.Depending on context, word as used in this " if " can be construed to " ... when " or
" when ... " or " in response to determination ".
Under logistics distribution scene, once complete logistics life cycle may include pulling part, transporting, send with charge free to logistics object
Etc. logistics links.The process of logistics distribution is actually that logistics object is successively transported between each logistics node to the mistake of transmitting
Journey, and usually each logistics node needs are participated in by logistics carrier.
In the related art, the safety of logistics distribution process is unable to get guarantee.For example, logistics object is in transportational process
Middle quilt " stealthily substituting ", i.e., what the outbox side of logistics object was sent is A article, and it is B object which is exchanged by people during transportation
Product, and still using information such as the outer packing of A article and logistics odd numbers.In this case, due to outer packing and logistics odd numbers
It is still correctly, therefore can not be identified, can only be likely to be found when the side of signing for of logistics object is signed for.In this way, not
It is only lost caused by client, and is which dispatching link problem since bottom can not be traced back to, can not also determined most
Whole responsibility carrier;The loss of generation usually requires to be compensated by logistics platform.
In this specification, logistics platform is referred to as system by description for convenience, and logistics node is known as logistics and examines section
Point.The system can specifically refer to the server, server cluster or cloud platform of logistics platform.
In order to preferably ensure the equity of client, the safety of logistics object is improved, and also to reduce dispatching platform
Risk, trace to the source scheme present description provides a kind of logistics information based on block chain, pass through be related to logistics object
The logistics inspection result that each logistics examines the logistics carrier of node to upload is stored into block chain;Due to what is stored in block chain
There is the feature that can not be distorted in data, therefore, can be traced based on the logistics inspection result stored in block chain leads to logistics pair
As there is abnormal responsibility carrier.It on the one hand, can be with by the way that extremely corresponding with logistics responsibility carrier is accurately positioned
Logistics object is undertaken by the responsibility carrier positioned completely or partially to lose, and is reduced logistics platform and is compensated ratio;On the other hand, right
All logistics carriers play a warning role, and logistics carrier is forced to fulfil the obligation of protection flow object safety;It is comprehensive to be promoted
Safety of the logistics object on entire logistics chain road.
This description presents a kind of functional supervision mechanisms, are be directed to the logistics carrier that node is examined in each logistics one
Item hard and fast rule, it is necessary to carry out.Specifically, the logistics object of node is examined to be required to be carried by logistics each arrival logistics
People carries out integrity checking, checks whether logistics object is complete, and upload logistics inspection result.
In implementation, in order to ensure logistics object " will not be stealthily substituted ", it can provide a kind of with special grains
Fingerprint adhesive tape.In general, logistics object outer packing needs are sealed by sealing tape.The fingerprint adhesive tape is a kind of special sealing
Adhesive tape.Special grains on the fingerprint adhesive tape can be a kind of identity label, which is that logistics object is unique
Object identity.In practical applications, barcode scanning equipment (such as barcode scanning gun, intelligent terminal such as mobile phone etc.) can be used in logistics carrier
The identity label on fingerprint adhesive tape is scanned, to parse the object identity of effluent stream object.
If the object identity parsed belongs to the logistics object, and fingerprint adhesive tape is not opened completely and tears, and says
Bright logistics object outer packing is complete.If the object identity parsed is not belonging to the logistics object, that is, the object identity parsed
It is inconsistent with original object identity, illustrate that the original fingerprint adhesive tape is torn and is sealed again with other fingerprint adhesive tapes, it can be true
Earnest flow object has already appeared exception.If the object identity parsed belongs to the logistics object, but other abnormal conditions occurs,
Such as there is damaged, fingerprint adhesive tape and was obviously torn in the outer packing of logistics object, and can also determine that logistics object has already appeared
It is abnormal.
In general, the object identity starts or terminates with the logistics life cycle of logistics object, such as when under outbox side
The dispatching of single logistics object, or one is distributed only by system after system logistics order corresponding for logistics Object Creation
One object identity simultaneously comes into force, and object identity fails after the success of logistics object is signed for.
In implementation, logistics carrier can carry out real-name authentication in logistics system, and obtain system based on non-
The private key that symmetric encipherment algorithm generates.The private key can be used as the unique identification of logistics carrier, can also correspond to logistics and hold
Transport the fund account of people in systems.System can require logistics carrier to sign necessary agreement, to ensure logistics carrier
Understand one's own duty, the obligation for needing to undertake, risk;And relevant rewards and punishments agreement of supporting value.
It is described support value can refer to logistics object outbox side propose with fund guarantee logistics object security of centainly supporting value
Rewind mechanism.Cause the side of signing for can not such as losing, damage, stealthily substitute if exception occurs in delivery process in logistics object
It is normally received (the signing for failure) of organic stream object, then needing to carry out counterindemnity to outbox side based on mechanism of supporting value.
If logistics object is successfully signed for, outbox side is that the fund of supporting value provided of supporting value returns system all, and support value agreement at
Function fails after signing for.
It, can also be accordingly on block chain after system distributes to logistics object unique object identity in this specification
The object account address of a corresponding object identity is provided, object account address is used to be written the resource of outbox side's offer
Object.In one embodiment, the resource object can be based on fund creation of supporting value.
Similarly, the logistics carrier can also accordingly obtain a corresponding private after real-name authentication on block chain
Carrier's account address of key, carrier's account address is for being written the resource object being assigned to.
In one embodiment, system can create a corresponding object account address for object identity.I.e. each object
Identify corresponding unique object account address.
In another embodiment, system can be associated with the object account address of a failure for object identity, and initialize
The object account address of the failure, so that the object account address of the failure is in effective status and remaining sum is 0 (in outbox side
It is the amount of money for the fund of supporting value injected by remaining sum after investment of supporting value).The embodiment is unlike preceding, different objects
Mark can correspond to identical object account address, but effective object account address only corresponds to an object identity.In object
After indicating failure, associated object account address can equally fail after executing relevant operation, for other effective object identities
It uses.
This specification is described below by specific embodiment and in conjunction with specific application scenarios.
Referring to FIG. 1, Fig. 1 is the stream for the logistics information source tracing method based on block chain that one embodiment of this specification provides
Cheng Tu, the method can be applied to aforementioned system, and the method may include following steps:
Step 110: obtaining logistics object after each logistics examines node to complete verification, the logistics of node is examined by each logistics
The logistics inspection result that carrier uploads;
Step 120: the logistics inspection result that will acquire is distributed to the block chain and is stored;
Step 130: the logistics object occur logistics exception when, based on be stored in the block chain with the object
The corresponding logistics inspection result of flow object determines responsibility carrier extremely corresponding with the logistics.
The block chain described in this specification can specifically include privately owned chain, shared chain and alliance's chain etc., in this theory
Without being particularly limited in bright book.
For example, in one scenario, above-mentioned block chain specifically can be by total portion mechanism, branch, agency, object
Flow alliance's chain as allied member's composition such as carrier device;The operator of alliance's chain can rely on the alliance
Chain, the logistics information to dispose for above-mentioned logistics object are traced to the source business;And the general headquarters described above as allied member
Mechanism, branch, agency, logistics carrier device all can serve as above-mentioned logistics information and trace to the source a business of business
Node.Each service node can will be produced by itself or the logistics inspection result relevant to above-mentioned logistics object that receives
It is issued in alliance's chain in the form of transaction, and handles it by the common recognition of the common recognition node in alliance's chain in the transaction
Afterwards, the distributed data base in alliance's chain is stored, and " cochain " for completing above-mentioned logistics inspection result deposits card.
Wherein, it should be noted that transaction (Transaction) described in this specification refers to that logistics is carried
The data that people creates by the client of block chain, and needs finally to be distributed in the distributed data base of block chain.
Usually there is point of the transaction of narrow sense and the transaction of broad sense in the transaction in block chain.The transaction of narrow sense refers to use
The value Transfer that family is issued to block chain;For example, transaction can be user and exist in traditional bit coin block chain network
One initiated in block chain transfers accounts.And the transaction of broad sense refers to the industry being intended to business that user issues to block chain
Business data;For example, operator can build alliance's chain based on actual business demand, rely on the deployment of alliance's chain it is some with
Value Transfer it is unrelated it is other types of line service (for example, information source tracing business, resource object distribution business, business of renting a house,
Vehicle scheduling business, settlement of insurance claim business, credit services, medical services etc.), and in this kind of alliance's chain, transaction can be use
The service message or service request with business intention that family is issued in alliance's chain.
Above-mentioned client may include any type of underlying services data stored using in block chain as data branch
Support, to realize the upper layer application of specific business function.
In one embodiment, the outer surface of the logistics object is attached with the body of the generation of the object identity based on the object
Part label;
The logistics inspection result includes: that the logistics carrier scans the logistics pair that the identity label is got
The object identity of elephant;And the logistics carrier is to the integrity check results of the logistics object.
Above-mentioned integrity checking may include the fingerprint adhesive tape that logistics carrier scans the sealing of logistics object with handheld device
On identity label, with determine the unique object identity of logistics object;It is taken pictures, is determined to logistics object with handheld device
The integrality of logistics object.
In one embodiment, the integrity check results include: that the logistics carrier carries out the logistics object
The tri-dimensional picture that three-dimensional is taken pictures.Whether usual tri-dimensional picture more can three-dimensionally understand in all directions logistics object complete
It is whole.
The private of logistics carrier certification can be used after the logistics inspection result for receiving logistics carrier upload in system
Key uploads block chain after encrypting to logistics inspection result and deposits card.
In one embodiment, the identity label may include sealing tape above-mentioned.It can it is of course also possible to include other
With any form of carrier, for example, the logistics list pasted in outer packing, special outer packing etc..
It is illustrated below by way of a complete logistics distribution process:
One, pulls part;It pulls part and refers to that logistics carrier collects the logistics object of outbox side.
Logistics carrier is by the relevant information uploading system of logistics object, so that the system creation corresponding object of logistics object
Flow order.The system can distribute the object identity of the logistics object, and the object identity is pushed to logistics carrier.Into
And logistics carrier needs to carry out logistics object above-mentioned integrity checking, and logistics inspection result is uploaded to system.System
Logistics inspection result described in the logistics carrier can be distributed to the block chain and stored by system.
In one embodiment, system can receive the confirmation message for logistics object integrity of outbox side's offer;It will
The confirmation message for logistics object integrity that outbox side provides is distributed to the block chain and is stored.In general, pulling part
Logistics carrier also needs to upload the determination information of outbox side other than needing to upload logistics inspection result in link.
In one implementation, the confirmation message includes signature picture.Specifically, sender needs to carry in logistics
It signs in the handheld device of people, to confirm that logistics object is complete, true, matched.After confirmation of signing, logistics acknowledgement of consignment
People can will signature picture together with object identity, integrity check results as logistics inspection result uploading system, by system
Chain deposits card.Certainly, the confirmation message can also be what outbox side confirmed and uploaded on the mobile terminal of oneself.
Two, transhipment;Transhipment refers to the process of that logistics object transports between node is examined in each logistics.
Each logistics examines node to require to carry out an integrity checking to logistics object in transport process.Specifically,
After logistics object, which reaches logistics, examines node, current logistics examines the logistics carrier of node to need to carry out logistics object
The integrity checking stated, and logistics inspection result is uploaded to system.The logistics that system can upload the logistics carrier
Inspection result is distributed to the block chain and is stored.
Three, are signed for;Sign for be logistics distribution process final tache, logistics object is shipped to the side of signing for, by the side of signing for
Terminate logistics distribution after signing for confirmation.Similar, it signs for being also required to recipient's signature confirmation.Aforementioned sender can specifically be referred to
The example of signature.
When signing for, system can push the object identity of the logistics object to the side of signing for of logistics object;The side of signing for passes through
The identity label of logistics object is scanned to parse object identity.For the ease of difference, the object mark that logistics object is assigned to
Know and is known as the first object identity;The object identity that identity label obtains will be scanned and be known as the second object identity.By that will parse
The second object identity and push the first object identity compare, the accuracy of logistics object can be confirmed.Specifically, such as
Fruit is consistent, illustrates that the logistics object to be signed for is the organic stream object that sender sends, can sign for confirming.If different
It causes, it is abnormal to illustrate that the logistics object to be signed for exists, may not be the organic stream object that sender sends, signing at this time can
To initiate request of tracing to the source to system.
Correspondingly, it is described the logistics object occur logistics exception when, based on be stored in the block chain with institute
The corresponding logistics inspection result of logistics object is stated, determining logistics extremely corresponding with the logistics examines node and logistics to carry
People specifically includes:
Receive the request of tracing to the source that the side of signing for of the logistics object is initiated when logistics exception occurs for the logistics object;
It traces to the source described in response request, is examined based on the logistics corresponding with the logistics object being stored in the block chain
As a result, node and logistics carrier are examined in determining logistics extremely corresponding with the logistics.
Wherein, the logistics comprises at least one of the following extremely:
1, the side of signing for is by scanning object identity accessed by the identity label of the logistics object and acquisition
The object identity of the logistics object is inconsistent;
2, the side of signing for is by scanning object identity accessed by the identity label of the logistics object and acquisition
The object identity of the logistics object is consistent, but breakage occurs in the outer packing of logistics object;
3, the side of signing for is by scanning object identity accessed by the identity label of the logistics object and acquisition
The object identity of the logistics object is consistent, and fingerprint adhesive tape was obviously torn.
In one embodiment, described to be examined based on the logistics corresponding with the logistics object being stored in the block chain
As a result, determining responsibility carrier extremely corresponding with the logistics, specifically include:
The logistics inspection result corresponding with each logistics inspection node that will be stored in block chain, is successively matched;
If each logistics examines the logistics that any two are adjacent in node not examine the corresponding logistics inspection result of node not
Match, the corresponding logistics carrier of node is examined into described two adjacent logistics, is determined as duty extremely corresponding with the logistics
Appoint carrier.
Since block chain has the characteristic that can not be distorted, the logistics that each logistics carrier by inquiring cochain uploads is examined
The responsibility carrier for examining effluent stream object exception at first can be traced back to by testing result.
It illustrates, it is assumed that the logistics inspection result that first logistics carrier uploads is normal, second logistics acknowledgement of consignment
People upload logistics inspection result be it is normal, third logistics carrier upload logistics inspection result for extremely, the 4th object
Flowing the logistics inspection result that carrier uploads is exception, then can be denoted as normal (1), normal (2), abnormal (3), abnormal (4);
Two neighboring logistics inspection result can be successively compared from back to front: comparing abnormal (4) and exception (3), unanimously;So
Abnormal (3) and normal (2) are compared afterwards, it is inconsistent.At this point, logistics carrier's (example to examine effluent stream object exception at first
Middle third logistics carrier) it is separation, it can determine that logistics object appearance abnormal time point only can be by logistics earlier
(i.e. the first, second logistics carrier in example) caused by carrier, and logistics carrier (the 4th logistics i.e. in example later
Carrier) it can then exclude suspicion.Also, since inspection result before is normal, then explanation can only be examined at first
A logistics carrier (second logistics carrier in example) before the logistics carrier of effluent stream object exception has most
Big suspicion.Certainly being also not excluded for the logistics carrier for examining effluent stream object exception at first, (third logistics is carried in example
People).
In one implementation, described that the corresponding logistics carrier of node is examined into described two adjacent logistics, really
It is set to responsibility carrier extremely corresponding with the logistics, specifically includes:
When two neighboring logistics inspection result is inconsistent, it is corresponding will wherein to go up the preceding logistics inspection result of chain sequence
Logistics carrier is determined as responsibility carrier extremely corresponding with the logistics.
The embodiment is to determine the previous logistics carrier for the logistics carrier for examining effluent stream object exception at first
To lead to abnormal responsibility carrier.
In one implementation, described that the corresponding logistics carrier of node is examined into described two adjacent logistics, really
It is set to responsibility carrier extremely corresponding with the logistics, specifically includes:
When two neighboring logistics inspection result is inconsistent, it is corresponding will wherein to go up the posterior logistics inspection result of chain sequence
Logistics carrier is determined as responsibility carrier extremely corresponding with the logistics.
The embodiment be will publication inspection result be earliest abnormal logistics carrier as causing abnormal responsibility to be carried
People.
In one implementation, described that the corresponding logistics carrier of node is examined into described two adjacent logistics, really
It is set to responsibility carrier extremely corresponding with the logistics, specifically includes:
When two neighboring logistics inspection result is inconsistent, the corresponding logistics carrier of the two logistics inspection results is made
For responsibility carrier extremely corresponding with the logistics.
The embodiment be when logistics inspection result is inconsistent, by corresponding 2 logistics acknowledgement of consignment per capita as with the object
The corresponding responsibility carrier of throat floater.
In one embodiment, after responsibility carrier extremely corresponding with the logistics has been determined, so that it may which inquiry should
Node is examined in logistics where responsibility carrier.That is, when logistics exception occurs for the logistics object, based on being stored in
Logistics inspection result corresponding with the logistics object in the block chain, determining logistics extremely corresponding with the logistics are examined
Test node and responsibility carrier.
In one embodiment, the logistics inspection result that will acquire is distributed to the block chain and is stored,
It specifically includes:
The area is distributed to after the logistics inspection result is signed based on the private key that the logistics carrier authenticates
Block chain is stored.
Since block chain technology has feature of overall importance, the available global data of each node in block chain, and object
Stream inspection result can generally be related to sensitive information (such as family privacy information, name, address, contact method etc.), if using bright
Literary cochain, be easy to cause sensitive information leakage;It, can be to avoid phase by data cochain in the form of ciphertext by encryption technology
Close logistics information leakage.
This specification embodiment provides a kind of logistics information based on block chain and traces to the source scheme, by by logistics object
The logistics inspection result that each logistics being related to examines the logistics carrier of node to upload is stored into block chain;Due to block chain
Therefore the data of middle storage, which have the feature that can not be distorted, can be traced based on the logistics inspection result stored in block chain and be led
Logistics object is caused abnormal responsibility carrier occur.On the one hand it is carried by the way that responsibility extremely corresponding with the logistics is accurately positioned
People can be undertaken logistics object by the responsibility carrier positioned and completely or partially be lost, and reduced logistics platform and compensated ratio;It is another
Aspect plays a warning role all logistics carriers, and logistics carrier is forced to fulfil the obligation of protection flow object safety;It is comprehensive
Conjunction improves safety of the logistics object on entire logistics chain road.
In related logistic industry, logistics carrier is usually charge of reckoning by the piece, logistics carrier and logistics object finally whether
It is safe, complete and uncorrelated;Therefore logistics carrier is not high for safe, the complete enthusiasm for ensuring logistics object.It needs
One incentive mechanism is provided, ensures logistics object security, complete enthusiasm to transfer logistics carrier.
As previously mentioned, the outbox side of logistics object can propose to support value to logistics object, and need to pay certain guarantor
Valence fund.In this specification, proposes and support value fund described in a kind of utilization to promote logistics carrier and ensure logistics object security
The scheme of complete enthusiasm.
This specification is described below by specific embodiment and in conjunction with specific application scenarios.
Referring to FIG. 2, Fig. 2 is the stream for the resource object distribution method based on block chain that one embodiment of this specification provides
Cheng Tu, the method can be applied to aforementioned system, and the method may include following steps:
Step 210: obtaining logistics object after each logistics examines node to complete verification, the logistics of node is examined by each logistics
The logistics inspection result that carrier uploads;
Step 220: the logistics inspection result that will acquire is distributed to the block chain and is stored;
Step 230: the logistics object be identified sign for when, based on be stored in the block chain with the logistics
The corresponding logistics inspection result of object, determines the logistics carrier of the logistics object;
Step 240: calling preset intelligent contract, preset resource object is distributed into identified logistics carrier.
The block chain described in this specification can specifically include privately owned chain, shared chain and alliance's chain etc., in this theory
Without being particularly limited in bright book.
For example, in one scenario, above-mentioned block chain specifically can be by total portion mechanism, branch, agency, object
Flow alliance's chain as allied member's composition such as carrier device;The operator of alliance's chain can rely on the alliance
Chain, to dispose the business of supporting value for above-mentioned logistics object;And it is described above as total portion mechanism of allied member, branch
Mechanism, agency, logistics carrier device all can serve as a service node of above-mentioned business of supporting value.Each service node
It can will be produced by itself or the logistics inspection result relevant to above-mentioned logistics object that receives is joining in the form traded
It is issued in alliance's chain, and point in the transaction after the common recognition processing of the common recognition node in alliance's chain, in alliance's chain
Cloth database is stored, and " cochain " for completing above-mentioned logistics inspection result deposits card.
Wherein, it should be noted that transaction (Transaction) described in this specification refers to that logistics is carried
The data that people creates by the client of block chain, and needs finally to be distributed in the distributed data base of block chain.
Usually there is point of the transaction of narrow sense and the transaction of broad sense in the transaction in block chain.The transaction of narrow sense refers to use
The value Transfer that family is issued to block chain;For example, transaction can be user and exist in traditional bit coin block chain network
One initiated in block chain transfers accounts.And the transaction of broad sense refers to the industry being intended to business that user issues to block chain
Business data;For example, operator can build alliance's chain based on actual business demand, rely on the deployment of alliance's chain it is some with
Value Transfer it is unrelated it is other types of line service (for example, information source tracing business, resource object distribution business, business of renting a house,
Vehicle scheduling business, settlement of insurance claim business, credit services, medical services etc.), and in this kind of alliance's chain, transaction can be use
The service message or service request with business intention that family is issued in alliance's chain.
Above-mentioned client may include any type of underlying services data stored using in block chain as data branch
Support, to realize the upper layer application of specific business function.
In one embodiment, the outer surface of the logistics object is attached with the body of the generation of the object identity based on the object
Part label;
The logistics inspection result includes: that the logistics carrier scans the logistics pair that the identity label is got
The object identity of elephant;And the logistics carrier is to the integrity check results of the logistics object.
Above-mentioned integrity checking may include the fingerprint adhesive tape that logistics carrier scans the sealing of logistics object with handheld device
On identity label, with determine the unique object identity of logistics object;It is taken pictures, is determined to logistics object with handheld device
The integrality of logistics object.
In one embodiment, the integrity check results include: that the logistics carrier carries out the logistics object
The tri-dimensional picture that three-dimensional is taken pictures.Whether usual tri-dimensional picture more can three-dimensionally understand in all directions logistics object complete
It is whole.
The private of logistics carrier certification can be used after the logistics inspection result for receiving logistics carrier upload in system
Key uploads block chain after encrypting to logistics inspection result and deposits card.
In one embodiment, the identity label may include sealing tape above-mentioned.It can it is of course also possible to include other
With any form of carrier, for example, the logistics list pasted in outer packing, special outer packing etc..
It is illustrated below by way of a complete logistics distribution process:
One, pulls part;It pulls part and refers to that logistics carrier collects the logistics object of sender.
Logistics carrier is by the order information uploading system of logistics object, so that the system creation corresponding object of logistics object
Flow order.The system can distribute the object identity of the logistics object, and the object identity is pushed to logistics carrier.Into
And logistics carrier needs to carry out logistics object above-mentioned integrity checking, and logistics inspection result is uploaded to system.System
Logistics inspection result described in the logistics carrier can be distributed to the block chain and stored by system.
In one embodiment, system can receive the confirmation message for logistics object integrity of outbox side's offer.One
As, pull the determining letter that logistics carrier in part link also needs to upload outbox side other than needing to upload logistics inspection result
Breath.
In one implementation, the confirmation message includes signature picture.Specifically, sender needs to carry in logistics
It signs in the handheld device of people, to confirm that logistics object is complete, true, matched.After confirmation of signing, logistics acknowledgement of consignment
People can will signature picture together with object identity, integrity check results as logistics inspection result uploading system, by system
Chain deposits card.Certainly, the confirmation message can also be what outbox side confirmed and uploaded on the mobile terminal of oneself.
In one embodiment, the resource object of the logistics object is to support value what fund created based on what outbox side provided;
The assets object of the fund creation of supporting value provided based on outbox side is specifically provided.
The method also includes:
Obtain the amount of money of supporting value for the logistics object that outbox side provides;
The preset resource object is created based on the amount of money of supporting value;And
The resource object is written in the block chain be the logistics Object Creation account object, by the account
Family object is held.
In the embodiment, sender can also propose to support value to logistics object simultaneously;And pay fund of supporting value accordingly.
What the fund of supporting value can be obtained according to the value calculation of logistics object.As previously mentioned, in the object for distributing to logistics object
While mark, corresponding object account address can be identified with distribution object on block chain, therefore the resource object is really
It is written to the object account address of the logistics object in block chain.
In one embodiment, the quantity of the resource object can be equal to or more than the amount of money for fund of supporting value.Wherein, big
It, can be by logistics company boot part in the case of.
In one embodiment, the amount of money of supporting value that the outbox side provides can be collected by logistics carrier after, by object
Stream carrier is uploaded to system, then corresponding resource object is written to the object account of the logistics object in block chain by system
Family.The amount of money that is also possible to will directly to be supported value by sender pays system, then corresponding resource object is written to area by system
The object account of the logistics object in block chain.
Two, transhipment;Transhipment refers to the process of that logistics object transports between node is examined in each logistics.
Each logistics examines node to require to carry out an integrity checking to logistics object in transport process.Specifically,
After logistics object, which reaches logistics, examines node, current logistics examines the logistics carrier of node to need to carry out logistics object
The integrity checking stated, and logistics inspection result is uploaded to system.The logistics that system can upload the logistics carrier
Inspection result is distributed to the block chain and is stored.
Three, are signed for;Sign for be logistics distribution process final tache, logistics object is shipped to the side of signing for, by the side of signing for
Terminate logistics distribution after signing for confirmation.Similar, it signs for being also required to recipient's signature confirmation.Aforementioned sender can specifically be referred to
The example of signature.
When signing for, system can push the object identity of the logistics object to the side of signing for of logistics object;The side of signing for passes through
The identity label of logistics object is scanned to parse object identity.For the ease of difference, the object mark that logistics object is assigned to
Know and is known as the first object identity;The object identity that identity label obtains will be scanned and be known as the second object identity.By that will parse
The second object identity and push the first object identity compare, the accuracy of logistics object can be confirmed.
Logistics object introduced below normally sign for after the method for salary distribution:
In one embodiment, it is described the logistics object be identified sign for when, based on being stored in the block chain
Logistics inspection result corresponding with the logistics object, determines the logistics carrier of the logistics object;
Preset intelligent contract is called, preset resource object is distributed into identified logistics carrier.
Wherein, it includes: identity label institute of the side of signing for by the scanning logistics object that condition is signed in the confirmation
The object identity got is consistent with the object identity of the logistics object of acquisition.
In the case where normally signing for, can each logistics object be related to logistics acknowledgement of consignment can participate in the distribution per capita
Resource object.Through the foregoing embodiment, after the logistics carrier that can distribute resource object has been determined, system can be real
Resource object is distributed on border.
In one embodiment, the logistics that preset resource object distributes to the logistics object is held in the step 240
Transport people, comprising:
Determine corresponding with the logistics carrier of logistics object proportion of capital allocation, by preset resource object according to
The proportion of capital allocation determined distributes to the logistics carrier.
Wherein, intelligent contract (Smart contract) be it is a kind of be intended to apply can be deployed on block chain with letter
The computer protocol of contract is propagated, verifies or executed to breathization mode.By stating that service logic may be implemented in intelligent contract
Execute corresponding operating.Intelligent contract permission carries out credible transaction in no third-party situation.These transaction are traceable and not
It is reversible.Intelligent contract is capable of providing the safety better than traditional contracts method, and reduces other transaction costs relevant to contract.
As previously mentioned, the object identity that logistics object can be assigned in block chain corresponding object account address, object
Account address is used to be written the fund of supporting value of sender's offer;
Correspondingly, preset resource object is distributed into the logistics carrier, comprising:
The resource object that account object corresponding with the logistics object is held is transferred in the block chain as institute
State the account object of logistics carrier creation.
Similarly, the corresponding logistics carrier account address of private key of logistics carrier can also be assigned in block chain,
Logistics carrier's account address is for being written the resource object being assigned to.
The resource object may include the fund of supporting value, i.e., the resource allocation that will support value gives identified logistics carrier.Tool
Body, the fund of supporting value in object account address can be transferred to identified logistics carrier's account address by intelligent contract
In.
As to how distributing resource object or fund of supporting value, several examples are enumerated by taking the fund of supporting value as an example:
In one embodiment, the fund of supporting value can be divided equally, i.e., according to determining logistics carrier, equal part is supported value fund;Often
A logistics acknowledgement of consignment can be assigned to identical fund per capita.
In one embodiment, the history sum of the proportion of capital allocation and the logistics object of logistics carrier acknowledgement of consignment
It measures directly proportional.That is single measure that system can be completed according to logistics carrier's history determines allocation proportion.
It illustrates, it is assumed that logistics carrier has A and B;Single amount that A history is completed is 100, single amount that B history is completed
It is 50;It can so determine that A allocation proportion is 2/3;B allocation proportion is 1/3.I.e. final A can assign to 2/3 money of supporting value
Gold, B can assign to 1/3 fund of supporting value.
Described above is the example normally signed for, the example of denial introduced below:
In one embodiment, described when the logistics object is by denial, based on be stored in the block chain with institute
The corresponding logistics inspection result of logistics object is stated, determines the responsibility carrier in the logistics carrier of the logistics object;
Call preset intelligent contract, in the logistics carrier that preset resource object is distributed to the logistics object,
Other logistics carrier in addition to the responsibility carrier.
Wherein, the logistics comprises at least one of the following extremely:
1, the side of signing for is by scanning object identity accessed by the identity label of the logistics object and acquisition
The object identity of the logistics object is inconsistent;
2, the side of signing for is by scanning object identity accessed by the identity label of the logistics object and acquisition
The object identity of the logistics object is consistent, but breakage occurs in the outer packing of logistics object;
3, the side of signing for is by scanning object identity accessed by the identity label of the logistics object and acquisition
The object identity of the logistics object is consistent, and fingerprint adhesive tape was obviously torn.
It is illustrated so that the first object identity and the second object identity are inconsistent as an example, explanation should be wait sign for when there is inconsistency
There is exception in logistics object, may not be the organic stream object that sender sends, and the side of signing for can initiate trace back to system at this time
Source request.It should be noted that system leads to exception after receiving and tracing to the source request, in addition to that can execute previous embodiment positioning
Logistics carrier except, the logistics that can also be positioned for distributing the fund of supporting value that the outbox side of the logistics object provides is held
Transport people.
It is specifically, described based on the logistics inspection result corresponding with the logistics object being stored in the block chain,
It determines the logistics carrier for distributing the resource object, specifically includes:
The logistics inspection result corresponding with each logistics inspection node that will be stored in block chain, is successively matched;
If each logistics examines the logistics that any two are adjacent in node not examine the corresponding logistics inspection result of node not
Match, the corresponding logistics carrier of node is examined into described two adjacent logistics, is determined as duty extremely corresponding with the logistics
Appoint carrier.
The embodiment can distribute to preset resource object in the logistics carrier of the logistics object, except described
Other logistics carrier other than responsibility carrier promotes enthusiasm to ensure that they work.
In one embodiment, the logistics inspection result that will acquire is distributed to the block chain and is stored,
It specifically includes:
The area is distributed to after the logistics inspection result is signed based on the private key that the logistics carrier authenticates
Block chain is stored.
Since block chain technology has feature of overall importance, the available global data of each node in block chain, and object
Stream inspection result can generally be related to sensitive information (such as family privacy information, name, address, contact method etc.), if using bright
Literary cochain, be easy to cause sensitive information leakage;It, can be to avoid phase by data cochain in the form of ciphertext by encryption technology
Close logistics information leakage.
This specification embodiment provides a kind of resource object allocation plan based on block chain, by by logistics object
The logistics inspection result that each logistics being related to examines the logistics carrier of node to upload is stored into block chain;Due to block chain
There is the feature that can not be distorted in the data of middle storage, therefore, can be based on the logistics inspection result retrospect warp stored in block chain
Hand crosses the logistics carrier of logistics object, therefrom determines the logistics carrier for distributing the resource object, and by resource pair
The logistics carrier as determined by distributing to.In this way, by logistics object it is safe, be completely associated with logistics carrier, by point
Mode with resource object transfers logistics carrier for ensuring safe, the complete enthusiasm of logistics object;And then promote object
Safety of the flow object on entire logistics chain road.
Corresponding with the aforementioned logistics information source tracing method embodiment based on block chain, this specification is additionally provided based on area
The logistics information of block chain is traced to the source the embodiment of device.Described device embodiment can also pass through hardware by software realization
Or the mode of software and hardware combining is realized.It taking software implementation as an example, is by where it as the device on a logical meaning
Computer business program instruction corresponding in nonvolatile memory is read into memory what operation was formed by the processor of equipment.
For hardware view, as shown in figure 3, being traced to the source one kind of equipment where device for this specification based on the logistics information of block chain
Hardware structure diagram fills in embodiment other than processor shown in Fig. 3, network interface, memory and nonvolatile memory
Equipment where setting is traced to the source actual functional capability generally according to the logistics information based on block chain, can also include other hardware, to this
It repeats no more.
Fig. 4 is referred to, the logistics information based on block chain provided for one embodiment of this specification is traced to the source the module of device
Figure, described device have corresponded to embodiment illustrated in fig. 1, and described device includes:
Acquiring unit 310, obtains logistics object after each logistics examines node to complete verification, examines node by each logistics
The logistics inspection result that logistics carrier uploads;
Storage unit 320, the logistics inspection result that will acquire are distributed to the block chain and are stored;
Trace to the source unit 330, when logistics exception occurs for the logistics object, based on be stored in the block chain with institute
The corresponding logistics inspection result of logistics object is stated, determines responsibility carrier extremely corresponding with the logistics.
Optionally, the outer surface of the logistics object is attached with the identity of the generation of the object identity based on the logistics object
Label;
The logistics inspection result includes: that the logistics carrier scans the logistics pair that the identity label is got
The object identity of elephant;And the logistics carrier is to the integrity check results of the logistics object.
Optionally, described device further include:
Receiving subelement receives the confirmation message for logistics object integrity that outbox side provides;
Storing sub-units, the confirmation message for logistics object integrity that the outbox side is provided are distributed to the area
Block chain is stored.
Optionally, the confirmation message includes signature picture.
Optionally, the integrity check results include: that the logistics carrier carries out three-dimensional bat to the logistics object
According to obtained tri-dimensional picture.
Optionally, the identity label includes sealing tape.
Optionally, the unit 330 of tracing to the source, specifically includes:
Receiving subelement receives what the side of signing for of the logistics object was initiated when logistics exception occurs for the logistics object
It traces to the source request;
Locator unit, request of tracing to the source described in response, based on be stored in the block chain with the logistics object pair
Node and logistics carrier are examined in the logistics inspection result answered, determining logistics extremely corresponding with the logistics.
Optionally, the logistics includes: that the side of signing for is obtained by scanning the identity label of the logistics object extremely
The object identity of the logistics object of the object identity and acquisition got is inconsistent.
It is optionally, described based on the logistics inspection result corresponding with the logistics object being stored in the block chain,
It determines responsibility carrier extremely corresponding with the logistics, specifically includes:
The logistics inspection result corresponding with each logistics inspection node that will be stored in block chain, is successively matched;
If each logistics examines the logistics that any two are adjacent in node not examine the corresponding logistics inspection result of node not
Match, the corresponding logistics carrier of node is examined into described two adjacent logistics, is determined as duty extremely corresponding with the logistics
Appoint carrier.
Optionally, the block chain is alliance's chain.
Corresponding with the aforementioned resource object distribution method embodiment based on block chain, this specification is additionally provided based on area
The embodiment of the resource object distributor of block chain.Described device embodiment can also pass through hardware by software realization
Or the mode of software and hardware combining is realized.It taking software implementation as an example, is by where it as the device on a logical meaning
Computer business program instruction corresponding in nonvolatile memory is read into memory what operation was formed by the processor of equipment.
For hardware view, as shown in figure 5, one kind for this specification based on equipment where the resource object distributor of block chain
Hardware structure diagram fills in embodiment other than processor shown in fig. 5, network interface, memory and nonvolatile memory
Equipment where setting distributes actual functional capability generally according to the resource object based on block chain, can also include other hardware, to this
It repeats no more.
Fig. 6 is referred to, for the module for the resource object distributor based on block chain that one embodiment of this specification provides
Figure, described device have corresponded to embodiment illustrated in fig. 2, and described device includes:
Acquiring unit 410, obtains logistics object after each logistics examines node to complete verification, examines node by each logistics
The logistics inspection result that logistics carrier uploads;
Storage unit 420, the logistics inspection result that will acquire are distributed to the block chain and are stored;
Determination unit 430, the logistics object be identified sign for when, based on be stored in the block chain with it is described
The corresponding logistics inspection result of logistics object, determines the logistics carrier of the logistics object;
Allocation unit 440 calls preset intelligent contract, and preset resource object is distributed to identified logistics acknowledgement of consignment
People.
Optionally, described device further include:
Second determination unit, when the logistics object is by denial, based on be stored in the block chain with the object
The corresponding logistics inspection result of flow object, determines the responsibility carrier in the logistics carrier of the logistics object;
Second allocation unit calls preset intelligent contract, preset resource object is distributed to the logistics object
Other logistics carrier in logistics carrier, in addition to the responsibility carrier.
It is optionally, described based on the logistics inspection result corresponding with the logistics object being stored in the block chain,
It determines the responsibility carrier in the logistics carrier of the logistics object, specifically includes:
The logistics inspection result corresponding with each logistics inspection node that will be stored in block chain, is successively matched;
If each logistics examines the logistics that any two are adjacent in node not examine the corresponding logistics inspection result of node not
Match, the corresponding logistics carrier of node is examined into described two adjacent logistics, is determined as duty extremely corresponding with the logistics
Appoint carrier.
Optionally, preset resource object is distributed to the logistics carrier of the logistics object, comprising:
Determine corresponding with the logistics carrier of logistics object proportion of capital allocation, by preset resource object according to
The proportion of capital allocation determined distributes to the logistics carrier.
Optionally, the history total quantity of the proportion of capital allocation and the logistics object of logistics carrier acknowledgement of consignment is at just
Than.
Optionally, before preset resource object being distributed to the logistics carrier, further includes:
Obtain the amount of money of supporting value for the logistics object that outbox side provides;
The preset resource object is created based on the amount of money of supporting value;And
The resource object is written in the block chain be the logistics Object Creation account object, by the account
Family object is held;
Preset resource object is distributed into the logistics carrier, comprising:
The resource object that account object corresponding with the logistics object is held is transferred in the block chain as institute
State the account object of logistics carrier creation.
Optionally, the outer surface of the logistics object is attached with the identity of the generation of the object identity based on the logistics object
Label;
The logistics inspection result includes: that the logistics carrier scans the logistics pair that the identity label is got
The object identity of elephant;And the logistics carrier is to the integrity check results of the logistics object.
Optionally, the integrity check results include: that the logistics carrier carries out three-dimensional bat to the logistics object
According to obtained tri-dimensional picture.
Optionally, the block chain is alliance's chain.
Optionally, the resource object includes the assets object of the asset creation of supporting value provided based on outbox side.
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.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of any several equipment.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize this specification scheme.Those of ordinary skill in the art are not
In the case where making the creative labor, it can understand and implement.
Figure 4 above describe the logistics information based on block chain trace to the source device inner function module and structural representation,
Substantial executing subject can be a kind of electronic equipment, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Logistics object is obtained after each logistics examines node to complete verification, on the logistics carrier that node is examined by each logistics
The logistics inspection result of biography;
The logistics inspection result that will acquire is distributed to the block chain and is stored;
The logistics object occur logistics exception when, based on be stored in the block chain with the logistics object pair
The logistics inspection result answered determines responsibility carrier extremely corresponding with the logistics.
Figure 6 above describes inner function module and the structural representation of the resource object distributor based on block chain,
Substantial executing subject can be a kind of electronic equipment, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Logistics object is obtained after each logistics examines node to complete verification, on the logistics carrier that node is examined by each logistics
The logistics inspection result of biography;
The logistics inspection result that will acquire is distributed to the block chain and is stored;
It is signed in the logistics object or when denial, obtains the resource object of the logistics object, and based on storage
Logistics inspection result corresponding with the logistics object in the block chain, determines the object for distributing the resource object
Flow carrier;
The resource object is distributed to identified logistics carrier by the intelligent contract of calling fund distribution.
In the embodiment of above-mentioned electronic equipment, it should be appreciated that the processor can be central processing unit (English:
Central Processing Unit, referred to as: CPU), can also be other general processors, digital signal processor (English:
Digital Signal Processor, referred to as: DSP), specific integrated circuit (English: Application Specific
Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to
Any conventional processor etc., and memory above-mentioned can be read-only memory (English: read-only memory, abbreviation:
ROM), random access memory (English: random access memory, abbreviation: RAM), flash memory, hard disk or solid
State hard disk.The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware processor and execute completion, or
Hardware and software module combination in person's processor execute completion.
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.It is set especially for electronics
For standby embodiment, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to method reality
Apply the part explanation of example.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to this specification
Other embodiments.This specification is intended to cover any variations, uses, or adaptations of this specification, these modifications,
Purposes or adaptive change follow the general principle of this specification and undocumented in the art including this specification
Common knowledge or conventional techniques.The description and examples are only to be considered as illustrative, the true scope of this specification and
Spirit is indicated by the following claims.
It should be understood that this specification is not limited to the precise structure that has been described above and shown in the drawings,
And various modifications and changes may be made without departing from the scope thereof.The range of this specification is only limited by the attached claims
System.