CN112508468A - Cargo handover method and system based on block chain - Google Patents

Cargo handover method and system based on block chain Download PDF

Info

Publication number
CN112508468A
CN112508468A CN201910871303.3A CN201910871303A CN112508468A CN 112508468 A CN112508468 A CN 112508468A CN 201910871303 A CN201910871303 A CN 201910871303A CN 112508468 A CN112508468 A CN 112508468A
Authority
CN
China
Prior art keywords
goods
information
handed over
block chain
over
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910871303.3A
Other languages
Chinese (zh)
Inventor
孙晓野
许帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN201910871303.3A priority Critical patent/CN112508468A/en
Publication of CN112508468A publication Critical patent/CN112508468A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0833Tracking

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a cargo handover method and system based on a block chain, and relates to the technical field of logistics. One embodiment of the method comprises: the goods receiving party receives a hash value corresponding to the first goods information to be handed over from the goods delivering party, and the hash value is used for acquiring the corresponding first goods information to be handed over from the block chain; scanning goods to be handed over received from the goods delivery party to acquire second information of the goods to be handed over; verifying whether the first information of the goods to be handed over is consistent with the second information of the goods to be handed over; and generating signature information and sending the signature information to the goods sender under the condition that the first goods information to be delivered is consistent with the second goods information to be delivered. The implementation avoids the dependence on paper documents, and reduces the possibility of losing and reducing goods in the goods handing-over process.

Description

Cargo handover method and system based on block chain
Technical Field
The invention relates to the field of logistics, in particular to a cargo handover method and system based on a block chain.
Background
Due to the fact that logistics relates to goods handover and circulation among multiple parties such as warehouses, sorting centers, transport vehicles and companies, with the increase of the quantity of goods, goods are inevitably lost, and certain economic loss is caused. Therefore, paper documents are often used to accept the delivered goods during the delivery of the goods.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art: when the paper document is adopted for goods acceptance, though the responsibility of a goods losing party can be tracked when goods are lost, the responsibility can only be used for afterwards tracing, real-time supervision cannot be carried out in the whole logistics transportation process, and the possibility of goods loss cannot be reduced.
Disclosure of Invention
In view of the above, the invention provides a cargo handover method and system based on a block chain, wherein the method can check and accept handover links in nodes at all levels in logistics without relying on paper documents; meanwhile, the sharing of the goods handover information is realized through the block chain, the goods handover information is guaranteed to be transparent, and the real-time monitoring of the logistics process is realized.
To achieve the above object, according to one aspect of the present invention, there is provided a block chain-based cargo handover method, including: the goods receiving party receives a hash value corresponding to the first goods information to be handed over from the goods delivering party, and the hash value is used for acquiring the corresponding first goods information to be handed over from the block chain; scanning goods to be handed over received from the goods delivery party to acquire second information of the goods to be handed over; verifying whether the first information of the goods to be handed over is consistent with the second information of the goods to be handed over; and generating signature information and sending the signature information to the goods sender under the condition that the first goods information to be delivered is consistent with the second goods information to be delivered.
Optionally, the method further comprises: after receiving the signature information sent by the goods receiver, the goods sender verifies the signature information by using a public key of the goods receiver; and under the condition that the signature information is verified, generating goods handover information and uploading the goods handover information to the block chain, wherein the goods handover information indicates the second information to be handed over, the goods receiver and the goods sender.
Optionally, the method further comprises: the goods sender scans the goods to be handed over, acquires the first information to be handed over and uploads the first information to be handed over to the block chain, and acquires a hash value corresponding to the first information of the goods to be handed over.
Optionally, the method further comprises: and the goods sender acquires a hash value corresponding to the first goods information to be handed over from the block chain according to the identifier of the goods sender in the block chain.
Optionally, the method further comprises: calculating a weight difference between the cargo conveyance to be handed over before the hand-over and the cargo conveyance to be handed over after the hand-over; verifying whether the weight difference value is consistent with the weight of the goods to be handed over, releasing the goods transport tool to be handed over under the condition that the weight difference value is consistent with the weight of the goods to be handed over, generating a release record of the goods transport tool to be handed over, and uploading the release record to the block chain.
To achieve the above object, according to another aspect of the present invention, there is provided a block chain-based cargo handover system, including: a goods receiving end, a goods delivery end and a block chain; the goods receiving end is used for receiving a hash value corresponding to first goods information to be handed over from the goods delivery end, and is used for acquiring corresponding first goods information to be handed over from the block chain; scanning the goods to be delivered received from the goods delivery end to acquire second information of the goods to be delivered; verifying whether the first information of the goods to be handed over is consistent with the second information of the goods to be handed over; and generating signature information and sending the signature information to the goods delivery end under the condition that the first goods information to be delivered is consistent with the second goods information to be delivered.
Optionally, the goods delivery end is further configured to verify the signature information by using a public key of the goods receiving end after receiving the signature information sent by the goods receiving end; and generating goods handover information and uploading the goods handover information to the block chain under the condition that the signature information is verified, wherein the goods handover information indicates the second information to be handed over, the goods receiving end and the goods delivery end.
Optionally, the goods delivery end is further configured to scan the goods to be handed over, so as to obtain the first information to be handed over and upload the first information to the block chain, so as to obtain a hash value corresponding to the first information to be handed over.
Optionally, the goods delivery end is further configured to obtain, from the block chain, a hash value corresponding to the first to-be-delivered goods information according to an identifier of the goods delivery end in the block chain.
Optionally, the freight forwarding end is further configured to calculate a weight difference between the freight transportation tool to be handed over before handing over and the freight transportation tool to be handed over after handing over; verifying whether the weight difference value is consistent with the weight of the goods to be handed over, releasing the goods transport tool to be handed over under the condition that the weight difference value is consistent with the weight of the goods to be handed over, generating a release record of the goods transport tool to be handed over, and uploading the release record to the block chain.
To achieve the above object, according to still another aspect of the present invention, there is provided a server comprising: one or more processors; a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any of the blockchain-based cargo handoff methods described above.
To achieve the above object, according to yet another aspect of the present invention, there is provided a computer readable medium having a computer program stored thereon, wherein the program is executed by a processor to implement any one of the block chain based cargo handover methods as described.
The invention has the following advantages or beneficial effects: goods handover information is stored through the block chain, so that acceptance of handed goods in the goods handover process is realized, and dependence on paper documents during goods handover is avoided; meanwhile, the sharing of goods handover data is realized through the block chain, and the real-time supervision of goods in the goods handover process and even the whole goods transportation process is ensured; in addition, in the goods handing-over process, regard weight as the index of accepting, avoided situations such as losing goods, few goods.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
fig. 1 is a schematic diagram of a main flow of a cargo handover method based on a block chain according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a main flow of another cargo handover method based on a block chain according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a main flow of a block chain based cargo loading method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a main flow of a block chain based cargo unloading method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of main modules of a block chain based cargo interface system according to an embodiment of the present invention;
FIG. 6 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 7 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
As shown in fig. 1, an embodiment of the present invention provides a cargo handover method based on a block chain, which may specifically include the following steps:
step S101, the goods receiving party receives a hash value corresponding to the first goods information to be handed over from the goods delivering party, and the hash value is used for acquiring the corresponding first goods information to be handed over from the block chain.
The first cargo information to be handed over includes but is not limited to: the goods number of waiting to hand over, the goods quantity of waiting to hand over, the goods weight of waiting to hand over, the goods volume of waiting to hand over, the goods delivery area of waiting to hand over. The parcel taking the goods to be handed over as an example is explained, the first goods information to be handed over comprises a parcel number, a parcel quantity, a parcel weight and the like, the parcel to be handed over can be a parcel taking a piece as a unit, and the parcel can also be a parcel packaged by taking a box, a bag and the like as a unit, and then the goods delivery party can acquire the first goods information to be handed over corresponding to the parcel to be handed over, namely the parcel number, the parcel weight, the parcel quantity and the like, by scanning two-dimensional codes, bar codes and the like on the parcel.
In an optional implementation manner, the cargo shipper scans the cargo to be handed over, so as to obtain the first information to be handed over and uploads the first information to the block chain, so as to obtain a hash value corresponding to the first information to be handed over.
The goods delivery side is through scanning the bar code on the goods that await handing-over, acquire corresponding first goods information that awaits handing-over behind the two-dimensional code, if await handing-over goods serial number, the goods quantity that awaits handing-over, the goods weight that awaits handing-over, and upload first goods information that awaits handing-over to the block chain, make the goods receiving party can inquire from the block chain according to the hash value that first goods information that awaits handing-over corresponds and acquire corresponding first goods information that awaits handing-over, and then can await handing-over goods serial number, the goods quantity that awaits handing-over, the goods weight that awaits handing-over etc. that awaits handing-over indicates according to the first goods information that awaits handing-over.
In an optional implementation manner, the cargo shipper obtains a hash value corresponding to the first cargo information to be delivered from the block chain according to an identifier of the cargo shipper in the block chain.
It can be understood that, in order to implement sharing of the first information of the goods to be handed over, so that the other goods sender can handover the goods without scanning the goods to be handed over, or without scanning the goods to be handed over, the hash value corresponding to the corresponding first information of the goods to be handed over can be obtained by searching on the block chain according to the identifier (such as a public key, an ID, and the like) of the goods sender on the block chain.
Step S102, scanning the goods to be delivered received from the goods delivery party to acquire second information of the goods to be delivered.
After receiving goods to be handed over from a goods delivery party, the goods receiving party needs to check the received goods to ensure the correctness of the received goods and avoid the phenomena of losing the goods, few goods and the like. Specifically, the goods receiver scans the two-dimensional code, the bar code and the like on the received goods to be handed over to acquire the second information of the received goods to be handed over, including the serial number of the goods to be handed over, the weight of the goods to be handed over and the like. It can be understood that the information indicated by the first information of the goods to be handed over and the second information of the goods to be handed over are in one-to-one correspondence, such as containing the serial number of the goods to be handed over, the quantity of the goods to be handed over, the weight of the goods to be handed over, and the like, so as to accept the goods to be handed over.
Step S102, verifying whether the first information of the goods to be handed over is consistent with the second information of the goods to be handed over; and generating signature information and sending the signature information to the goods sender under the condition that the first goods information to be delivered is consistent with the second goods information to be delivered.
Specifically, the goods receiving party compares whether the second to-be-handed goods information acquired by scanning the received to-be-handed goods is consistent with the to-be-handed goods number indicated by the first to-be-handed goods information acquired from the block chain, the number of the to-be-handed goods, the weight of the to-be-handed goods and the like, if so, the received to-be-handed goods is correct and has no missing, the signing of the to-be-handed goods can be continuously completed, namely, the private key of the goods receiving party signs the second to-be-handed goods information, signature information is generated and sent to the goods sending party, and the goods sending party confirms that the goods are handed over.
In an optional implementation manner, after receiving the signature information sent by the goods receiver, the goods sender verifies the signature information by using a public key of the goods receiver; and under the condition that the signature information is verified, generating goods handover information and uploading the goods handover information to the block chain, wherein the goods handover information indicates the second information to be handed over, the goods receiver and the goods sender.
It can be understood that the goods delivery party verifies the signature information by using the public key of the goods receiving party, so that the validity and validity of the identity of the goods receiving party are ensured, and the safety of the goods in the goods delivery process is further ensured.
In an alternative embodiment, a weight difference between the cargo conveyance to be handed over before the hand-over and the cargo conveyance to be handed over after the hand-over is calculated; verifying whether the weight difference value is consistent with the weight of the goods to be handed over, releasing the goods transport tool to be handed over under the condition that the weight difference value is consistent with the weight of the goods to be handed over, generating a release record of the goods transport tool to be handed over, and uploading the release record to the block chain.
Specifically, goods delivery side can acquire the weight of waiting to hand over cargo conveyance and handing-over after waiting to hand over cargo conveyance before the handing-over through the mode of weighing, and then calculates the weight difference, and under the weight difference with the unanimous condition of waiting to hand over cargo weight, just lets go and waits to hand over cargo conveyance, has avoided goods handing-over in-process to appear falling goods, losing goods, few goods problem, has realized the control to whole goods handing-over and even commodity circulation in-process goods. It is noted that to better record the weight of the cargo conveyance to be handed over before and after the hand-over, the weight obtained may be uploaded to the block chain. It can be understood that there may be a certain deviation between the weight difference value and the weight of the goods to be handed over due to weight changes caused by loss of the goods during transportation and transportation, weather changes, and the like, and therefore, the weight difference value is still considered to be consistent with the weight of the goods to be handed over as long as the deviation is within a certain range.
Based on the embodiment, the goods receiving party compares the first information of the goods to be handed over acquired from the block chain with the second information of the goods to be handed over acquired by scanning the actually received goods to be handed over, so that the goods to be handed over are checked and accepted in the goods handing over process, the accuracy and the omission of the goods to be handed over are ensured, the dependence on paper documents is avoided, the information sharing is realized, and the information is also ensured to be open and transparent; in addition, through waiting to hand over cargo conveyance's weighing around to the handing-over, avoided in the handing-over process even whole cargo transportation in-process goods to omit, lose, reduce.
Referring to fig. 2, on the basis of the above embodiment, an embodiment of the present invention provides a cargo handover method based on a block chain, which includes the following steps:
step S201, the goods sender obtains a hash value corresponding to the first goods information to be handed over.
The method and the system have the advantages that the cargo sender can acquire the first information to be handed over by scanning the cargo to be handed over and uploading the first information to the block chain to acquire the hash value corresponding to the first information to be handed over, and the public key corresponding to the cargo sender can be used for inquiring and acquiring the hash value corresponding to the first information to be handed over from the block chain.
Step S202, the goods sender sends the hash value corresponding to the first goods information to be handed over to the goods receiver.
The cargo sender can send the hash value corresponding to the first cargo information to be handed over to the cargo receiver through a network, a local area network, wifi, bluetooth and other modes, and can also directly display the two-dimensional code, the bar code and the like containing the hash value corresponding to the first cargo information to be handed over to the cargo receiver, so that the cargo receiver can acquire the hash value corresponding to the first cargo information to be handed over through scanning the two-dimensional code and the bar code.
Step S203, the goods receiving party receives a hash value corresponding to the first information of the goods to be handed over sent by the goods sending party.
And step S204, the goods receiving party acquires corresponding first goods information to be handed over from the block chain according to the hash value corresponding to the received first goods information to be handed over.
In step S205, the cargo receiving and sending party receives the cargo to be handed over from the cargo sending party, and scans the cargo to be handed over to obtain the second information of the cargo to be handed over.
Step S206, the goods receiver verifies whether the first goods information to be handed over is consistent with the second goods information to be handed over; if and only if the first information of the goods to be delivered is consistent with the second information of the goods to be delivered, the following steps are continuously executed.
And step S207, the goods receiving party signs the second information to be handed over by using a private key to generate signature information.
And step S208, the goods receiver sends the signature information to the goods sender.
It can be understood that the goods receiver can send the signature information to the goods receiver through a network, a local area network, wifi, bluetooth and other modes, and also can directly display the two-dimensional code, the bar code and the like containing the signature information to the goods delivery party, so that the goods delivery party can acquire the signature information through scanning the two-dimensional code and the bar code.
In step S209, the consignor receives the signature information sent by the consignor.
Step S210, the goods issuer verifies the signature information by using the public key of the goods receiver; if and only if the signature information is verified, the following steps are continued.
Step S211, the goods delivery party generates goods handover information and uploads the goods handover information to the block chain, and the goods handover information indicates the goods delivery party, the goods receiving party and the second goods information to be handed over.
Step S212, the goods delivery side verifies whether the weight difference value between the goods transportation tool to be handed over before handing over and the goods transportation tool to be handed over after handing over is consistent with the weight of the goods to be handed over; and if and only if the weight difference value is consistent with the weight of the goods to be handed over, releasing the goods transport means to be handed over, and continuing to execute the following steps.
In step S213, the consignor generates a release record of the transport facility to be delivered and uploads the release record to the block chain.
Referring to fig. 3, on the basis of the foregoing embodiment, an embodiment of the present invention provides a cargo loading method based on a block chain, which is applicable to cargo handover performed when a cargo transport vehicle to be handed over loads a cargo in a warehouse, where a warehouse side is a cargo sender and a transport vehicle side is a cargo receiver, and the specific steps are as follows:
step S301, the warehouse side scans information of goods to be handed over so as to obtain information of the first goods to be handed over.
Step S302, the warehouse side uploads the first information of the goods to be handed over to the block chain, so as to obtain a hash value corresponding to the first information of the goods to be handed over.
And step S303, the warehouse side sends the hash value corresponding to the first goods information to be handed over to the transportation vehicle side.
And step S304, the transportation vehicle side receives the hash value corresponding to the first goods information to be handed over sent by the warehouse side.
And S305, the transportation vehicle side acquires corresponding first cargo information to be handed over from the block chain according to the received corresponding hash value.
Step S306, after the transportation vehicle side receives the goods to be handed over from the warehouse side, the transportation vehicle side scans the received goods to be handed over to obtain the second information of the goods to be handed over.
Step S307, the transportation vehicle side verifies whether the first information of the goods to be handed over is consistent with the second information of the goods to be handed over; if and only if the first information of the goods to be delivered is consistent with the second information of the goods to be delivered, the following steps are continuously executed:
and step S308, the transportation vehicle side signs the second cargo information to be handed over by using a private key of the transportation vehicle side so as to generate signature information.
In step S309, the transportation vehicle side transmits the signature information to the warehouse side.
It can be understood that the transportation vehicle side can send the signature information to the warehouse side through a network, a local area network, wifi, bluetooth and other modes, and can also directly display the two-dimensional code, the bar code and the like containing the signature information to the warehouse side, so that the warehouse side can acquire the signature information through a mode of scanning the two-dimensional code and the bar code.
In step S310, the warehouse side receives the signature information sent by the transportation vehicle side.
Step S311, the warehouse side verifies the signature information by using the public key of the transportation vehicle side; if and only if the signature information is verified, continuing to execute the following steps:
in step S312, the warehouse side generates and uploads cargo handover information to the block chain, where the cargo handover information indicates information of the warehouse side, the transportation vehicle side, and the second cargo to be handed over.
Step S313, the warehouse side verifies whether the weight difference value between the goods transportation vehicle to be handed over before the hand-over and the goods transportation vehicle to be handed over after the hand-over is consistent with the weight of the goods to be handed over; if and only if the weight difference value is consistent with the weight of the goods to be handed over, releasing the goods transport means to be handed over, and continuously executing the following steps:
and step S314, the warehouse side generates a release record of the goods and transportation tools to be handed over and uploads the release record to the block chain.
Referring to fig. 4, on the basis of the foregoing embodiment, an embodiment of the present invention provides a cargo unloading method based on a block chain, which is applicable to cargo handover performed by a to-be-handed cargo transport vehicle when unloading a cargo in a warehouse, where a transport vehicle side is a cargo sender and a warehouse side is a cargo receiver, and the specific steps are as follows:
step S401, a hash value corresponding to the first cargo information to be handed over is obtained from the block chain according to the public key of the transportation vehicle.
And step S402, the transportation vehicle side sends the hash value corresponding to the first goods information to be handed over to the warehouse side.
In step S403, the warehouse side receives.
It can be understood that, in order to ensure the reliability of the source of the delivered goods, the warehouse side may first verify the validity of the identity of the transportation vehicle side according to the public key of the transportation vehicle side, that is, the transportation vehicle side is indeed a valid user on the block chain, and if and only if the identity of the transportation vehicle side is valid, the subsequent steps are continued.
And S404, the warehouse side acquires corresponding first goods information to be handed over from the block chain according to the hash value corresponding to the first goods information to be handed over.
In step S405, the warehouse side scans the goods to be handed over unloaded from the transportation vehicle side to acquire second information of the goods to be handed over.
It can be understood that, the warehouse side is after treating the handing-over goods from the uninstallation of haulage vehicle side, treats the weight that the handing-over goods acquireed for guaranteeing to treat handing-over goods actual weight unanimous with the scanning, can acquire the actual weight of goods of treating handing-over through the electronic scale through the mode that the sampling detected, detects the reliability of the goods weight of treating handing-over that the scanning acquireed, in order to avoid treating that the handing-over goods is changed, the scheduling problem that confuses.
Step S406, the warehouse side verifies whether the first goods information to be handed over is consistent with the second goods information to be handed over; if and only if the first goods information to be delivered is consistent with the second goods information to be delivered, the following steps are continuously executed:
step S407, the warehouse side signs the second information to be handed over using the private key, and generates signature information.
In step S408, the warehouse side sends the signature information to the vehicle transportation side.
And step S409, the transportation vehicle side receives the signature information sent by the warehouse side.
Step S410, the transportation vehicle side uses the public key of the warehouse side to verify the signature information; if and only if the signature information is verified, the following steps are continuously executed:
step S411, cargo handover information is generated and uploaded to the block chain, and the cargo handover information indicates information of the warehouse side, the transport vehicle side and the second cargo to be handed over.
Step S412, the transportation vehicle side verifies whether the weight difference between the cargo transportation vehicle to be handed over before the hand-over and the cargo transportation vehicle to be handed over after the hand-over is consistent with the weight of the cargo to be handed over; if and only if the weight difference value is consistent with the weight of the goods to be handed over, releasing the goods transport vehicle to be handed over, and continuously executing the following steps:
and step S413, the transport vehicle side generates a release record of the goods transport vehicle to be handed over and uploads the release record to the block chain.
Referring to fig. 5, based on the foregoing embodiments, an embodiment of the present invention provides a block chain-based cargo handover system 500, including: a goods receiving end 501, a goods delivery end 502 and a block chain 503; wherein,
the cargo receiving end 501 is configured to receive a hash value corresponding to first information of a cargo to be delivered from the cargo delivering end 502, so as to obtain corresponding first information of the cargo to be delivered from the block chain 503;
scanning the goods to be delivered received from the goods delivery terminal 502 to obtain second information of the goods to be delivered;
verifying whether the first information of the goods to be handed over is consistent with the second information of the goods to be handed over; if the first information of the goods to be delivered is consistent with the second information of the goods to be delivered, signature information is generated and sent to the goods delivery terminal 502.
In an optional implementation manner, the goods delivery end 502 is further configured to, after receiving the signature information sent by the goods receiving end 501, verify the signature information by using a public key of the goods receiving end 501; and if the signature information is verified, generating goods delivery information indicating the second information to be delivered, the goods receiving end 501, and the goods delivery end 502, and uploading the goods delivery information to the block chain 503.
In an optional implementation manner, the cargo delivery terminal 502 is further configured to scan the cargo to be delivered, so as to obtain the first information to be delivered and upload the first information to the block chain 503, so as to obtain a hash value corresponding to the first information to be delivered.
In an optional implementation manner, the cargo delivery end 502 is further configured to obtain, according to the identifier of the cargo delivery end 502 in the block chain 503, a hash value corresponding to the first to-be-delivered cargo information from the block chain 503.
In an alternative embodiment, the cargo delivery terminal 502 is further configured to calculate a weight difference between the cargo conveyance to be delivered before the delivery and the cargo conveyance to be delivered after the delivery; verifying whether the weight difference value is consistent with the weight of the goods to be handed over, releasing the goods transportation tool to be handed over under the condition that the weight difference value is consistent with the weight of the goods to be handed over, generating a release record of the goods transportation tool to be handed over, and uploading the release record to the block chain 503.
Fig. 6 illustrates an exemplary system architecture 600 in which the block chain based cargo handoff method of embodiments of the present invention may be applied.
As shown in fig. 6, the system architecture 600 may include terminal devices 601, 602, 603, a network 604, and a server 605. The network 604 serves to provide a medium for communication links between the terminal devices 601, 602, 603 and the server 605. Network 604 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 601, 602, 603 to interact with the server 605 via the network 604 to receive or send messages or the like. Various communication client applications, such as shopping applications, web browser applications, search applications, instant messaging tools, mailbox clients, social platform software, and the like, may be installed on the terminal devices 601, 602, and 603.
The terminal devices 601, 602, 603 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 605 may be a server that provides various services, such as a background management server that supports shopping websites browsed by users using the terminal devices 601, 602, and 603. The background management server can analyze and process the received data such as the product information query request and feed back the processing result (signature information) to the terminal equipment.
It should be noted that the block chain based goods handover method provided by the embodiment of the present invention is generally performed by the server 605.
It should be understood that the number of terminal devices, networks, and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 7, shown is a block diagram of a computer system 700 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 701.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: the goods receiving party receives a hash value corresponding to the first goods information to be handed over from the goods delivering party, and the hash value is used for acquiring the corresponding first goods information to be handed over from the block chain; scanning goods to be handed over received from the goods delivery party to acquire second information of the goods to be handed over; verifying whether the first information of the goods to be handed over is consistent with the second information of the goods to be handed over; and generating signature information and sending the signature information to the goods sender under the condition that the first goods information to be delivered is consistent with the second goods information to be delivered.
According to the technical scheme of the embodiment of the invention, the goods receiving party compares the first information of the goods to be handed over acquired from the block chain with the second information of the goods to be handed over acquired by scanning the actually received goods to be handed over, so that the acceptance of the goods to be handed over in the goods handing over process is realized, the goods to be handed over are ensured to be accurate and have no missing, meanwhile, the dependence on paper receipts is avoided, the information sharing is realized, and the information is also ensured to be open and transparent; in addition, through waiting to hand over cargo conveyance's weighing around to the handing-over, avoided in the handing-over process even whole cargo transportation in-process goods to omit, lose, reduce.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. A cargo handover method based on a block chain is characterized by comprising the following steps:
the goods receiving party receives a hash value corresponding to the first goods information to be handed over from the goods delivering party, and the hash value is used for acquiring the corresponding first goods information to be handed over from the block chain;
scanning goods to be handed over received from the goods delivery party to acquire second information of the goods to be handed over;
verifying whether the first information of the goods to be handed over is consistent with the second information of the goods to be handed over; and generating signature information and sending the signature information to the goods sender under the condition that the first goods information to be delivered is consistent with the second goods information to be delivered.
2. The blockchain-based cargo handing-over method of claim 1, further comprising:
after receiving the signature information sent by the goods receiver, the goods sender verifies the signature information by using a public key of the goods receiver;
and under the condition that the signature information is verified, generating goods handover information and uploading the goods handover information to the block chain, wherein the goods handover information indicates the second information to be handed over, the goods receiver and the goods sender.
3. The blockchain-based cargo handing-over method of claim 1, further comprising:
the goods sender scans the goods to be handed over, acquires the first information to be handed over and uploads the first information to be handed over to the block chain, and acquires a hash value corresponding to the first information of the goods to be handed over.
4. The blockchain-based cargo handing-over method of claim 1, further comprising:
and the goods sender acquires a hash value corresponding to the first goods information to be handed over from the block chain according to the identifier of the goods sender in the block chain.
5. The blockchain-based cargo handing-over method of claim 1, further comprising:
calculating a weight difference between the cargo conveyance to be handed over before the hand-over and the cargo conveyance to be handed over after the hand-over;
verifying whether the weight difference value is consistent with the weight of the goods to be handed over, releasing the goods transport tool to be handed over under the condition that the weight difference value is consistent with the weight of the goods to be handed over, generating a release record of the goods transport tool to be handed over, and uploading the release record to the block chain.
6. A blockchain-based cargo handoff system, comprising: a goods receiving end, a goods delivery end and a block chain; wherein,
the goods receiving end is used for receiving a hash value corresponding to the first goods information to be delivered from the goods delivery end, and is used for acquiring the corresponding first goods information to be delivered from the block chain;
scanning the goods to be delivered received from the goods delivery end to acquire second information of the goods to be delivered;
verifying whether the first information of the goods to be handed over is consistent with the second information of the goods to be handed over; and generating signature information and sending the signature information to the goods delivery end under the condition that the first goods information to be delivered is consistent with the second goods information to be delivered.
7. The blockchain-based consignment interface system according to claim 6, wherein the consignment delivery end is further configured to,
after receiving the signature information sent by the goods receiving end, verifying the signature information by using a public key of the goods receiving end;
and generating goods handover information and uploading the goods handover information to the block chain under the condition that the signature information is verified, wherein the goods handover information indicates the second information to be handed over, the goods receiving end and the goods delivery end.
8. The blockchain-based consignment interface system according to claim 6, wherein the consignment delivery end is further configured to,
scanning the goods to be handed over, acquiring the first information to be handed over, uploading the first information to be handed over to the block chain, and acquiring a hash value corresponding to the first information of the goods to be handed over.
9. The blockchain-based consignment interface system according to claim 6, wherein the consignment delivery end is further configured to,
and acquiring a hash value corresponding to the first to-be-delivered cargo information from the block chain according to the identifier of the cargo delivery end in the block chain.
10. The blockchain-based consignment interface system according to claim 6, wherein the consignment delivery end is further configured to,
calculating a weight difference between the cargo conveyance to be handed over before the hand-over and the cargo conveyance to be handed over after the hand-over;
verifying whether the weight difference value is consistent with the weight of the goods to be handed over, releasing the goods transport tool to be handed over under the condition that the weight difference value is consistent with the weight of the goods to be handed over, generating a release record of the goods transport tool to be handed over, and uploading the release record to the block chain.
11. A server, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
12. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN201910871303.3A 2019-09-16 2019-09-16 Cargo handover method and system based on block chain Pending CN112508468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910871303.3A CN112508468A (en) 2019-09-16 2019-09-16 Cargo handover method and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910871303.3A CN112508468A (en) 2019-09-16 2019-09-16 Cargo handover method and system based on block chain

Publications (1)

Publication Number Publication Date
CN112508468A true CN112508468A (en) 2021-03-16

Family

ID=74923718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910871303.3A Pending CN112508468A (en) 2019-09-16 2019-09-16 Cargo handover method and system based on block chain

Country Status (1)

Country Link
CN (1) CN112508468A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113139775A (en) * 2021-05-12 2021-07-20 北京京东乾石科技有限公司 Cargo allocation information processing method, device, equipment and storage medium
WO2022198784A1 (en) * 2021-03-25 2022-09-29 平安科技(深圳)有限公司 Information processing method and apparatus, electronic device and storage medium
TWI785575B (en) * 2021-04-23 2022-12-01 準旺科技股份有限公司 System and method for tracking product transfer in logistics path

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101718982A (en) * 2009-11-23 2010-06-02 周巍 System and method for integrally controlling loading, transportation and unloading
CN106850200A (en) * 2017-01-25 2017-06-13 中钞信用卡产业发展有限公司北京智能卡技术研究院 A kind of method for using the digital cash based on block chain, system and terminal
CN107665415A (en) * 2017-10-20 2018-02-06 上海众人网络安全技术有限公司 A kind of allocator, cloud central server, distribution box and delivery system
WO2019007411A1 (en) * 2017-07-07 2019-01-10 北京京东尚科信息技术有限公司 Goods collection scheduling method and apparatus, storage medium, and electronic device
CN109583820A (en) * 2018-12-19 2019-04-05 东莞市盟大塑化科技有限公司 A kind of freight tracking method based on block chain technology
CN109740705A (en) * 2018-12-26 2019-05-10 秒针信息技术有限公司 Method and device, storage medium and the electronic device examined goods

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101718982A (en) * 2009-11-23 2010-06-02 周巍 System and method for integrally controlling loading, transportation and unloading
CN106850200A (en) * 2017-01-25 2017-06-13 中钞信用卡产业发展有限公司北京智能卡技术研究院 A kind of method for using the digital cash based on block chain, system and terminal
WO2019007411A1 (en) * 2017-07-07 2019-01-10 北京京东尚科信息技术有限公司 Goods collection scheduling method and apparatus, storage medium, and electronic device
CN107665415A (en) * 2017-10-20 2018-02-06 上海众人网络安全技术有限公司 A kind of allocator, cloud central server, distribution box and delivery system
CN109583820A (en) * 2018-12-19 2019-04-05 东莞市盟大塑化科技有限公司 A kind of freight tracking method based on block chain technology
CN109740705A (en) * 2018-12-26 2019-05-10 秒针信息技术有限公司 Method and device, storage medium and the electronic device examined goods

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022198784A1 (en) * 2021-03-25 2022-09-29 平安科技(深圳)有限公司 Information processing method and apparatus, electronic device and storage medium
TWI785575B (en) * 2021-04-23 2022-12-01 準旺科技股份有限公司 System and method for tracking product transfer in logistics path
CN113139775A (en) * 2021-05-12 2021-07-20 北京京东乾石科技有限公司 Cargo allocation information processing method, device, equipment and storage medium
WO2022237385A1 (en) * 2021-05-12 2022-11-17 北京京东乾石科技有限公司 Goods transfer information processing method and apparatus, device, and storage medium

Similar Documents

Publication Publication Date Title
US11397979B2 (en) Order processing method and device, server, and storage medium
CN112508468A (en) Cargo handover method and system based on block chain
CN111038906B (en) Order sorting method and device
CN113642935B (en) Big data analysis-based supply chain operation platform data processing method and device
CN113762674B (en) Order distribution method and device
CN113222205A (en) Path planning method and device
CN111815381A (en) Information generation method and device
CN110555642A (en) Method and device for determining route starting point
CN110807610A (en) Distribution method and device
CN113762837A (en) Method and device for processing logistics data
CN111453098B (en) Packing method and device for abnormal automatic packer
CN113762825A (en) Method and device for determining ex-warehouse list
CN112446565A (en) Method and device for matching vehicles for orders
CN112185021A (en) Method and device for sharing self-service cabinet
CN113744007B (en) Method and system for adding address information, client and server
CN113793087B (en) Method and device for sorting objects
CN116078677A (en) Express sorting method and device
CN117236837B (en) Electric power material distribution and vehicle positioning information display method and device and electronic equipment
CN113159659B (en) Method, apparatus, device and computer readable medium for updating manifest aging
CN112819392B (en) Method and device for recycling logistics boxes
CN114422549B (en) Message processing method and device, terminal equipment and storage medium
CN116934186A (en) Method, apparatus, device and computer readable medium for dispensing articles
CN118154057A (en) Capacity deduction method, apparatus, electronic device and computer readable medium
CN118505090A (en) Order processing method and device
CN111062662A (en) Fresh product receiving processing method, terminal and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination