CN110543785B - Logistics processing method, device and system based on block chain - Google Patents

Logistics processing method, device and system based on block chain Download PDF

Info

Publication number
CN110543785B
CN110543785B CN201910738656.6A CN201910738656A CN110543785B CN 110543785 B CN110543785 B CN 110543785B CN 201910738656 A CN201910738656 A CN 201910738656A CN 110543785 B CN110543785 B CN 110543785B
Authority
CN
China
Prior art keywords
information
logistics
block chain
attribute
current
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.)
Active
Application number
CN201910738656.6A
Other languages
Chinese (zh)
Other versions
CN110543785A (en
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.)
Guangzhou Sendi Computer System Co ltd
Original Assignee
Guangzhou Sendi Computer System 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 Guangzhou Sendi Computer System Co ltd filed Critical Guangzhou Sendi Computer System Co ltd
Priority to CN201910738656.6A priority Critical patent/CN110543785B/en
Publication of CN110543785A publication Critical patent/CN110543785A/en
Application granted granted Critical
Publication of CN110543785B publication Critical patent/CN110543785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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/0838Historical data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Operations Research (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Quality & Reliability (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a logistics processing method, a device and a system based on a block chain, wherein the method comprises the following steps: step S1, the mail sending end encrypts logistics information, generates different signatures for both the receiving and sending parties, performs digital signature on the mail sending party and then registers the signature in a block chain to generate order number information; step S2, the logistics processing device acquires image information and order number when receiving the mail item, acquires and decrypts the image information and the order number according to the order number to obtain the logistics information, encrypts the current link, stores the encrypted logistics information in a block chain, and schedules the encrypted logistics information; step S3, the logistics processing device of each scheduling node acquires the logistics information of the previous link according to the order number, compares the image information acquired by the current link with the image information of the previous link, and continues the scheduling process when the comparison is consistent; and step S4, the receiver reads the information of the current link according to the last scheduling node, acquires the initial acquisition information from the block chain to match the initial acquisition information, performs digital signature when matching the initial acquisition information, and stores the digital signature to the block chain.

Description

Logistics processing method, device and system based on block chain
Technical Field
The invention relates to the technical field of intelligent logistics safe transportation, in particular to a logistics processing method, a logistics processing device and a logistics processing system based on a block chain.
Background
With the rapid development of the internet and the e-commerce, logistics distribution has gone into thousands of households, but the problems of loss, damage, even package dropping and the like of express delivery are increasing day by day in the transportation process. At present, the loss of the goods, especially valuable goods, which are entrusted to be transported by the consumers is serious in the transportation process, so that the damage amount of the consumers is larger and larger. Logistics companies are often tasked with transporting valuables, and the loss of such valuables can result in their significant loss.
The logistics transportation scheme adopted by each logistics company is as follows: (1) the logistics distribution center carries out corresponding distribution processing according to the delivery instruction of the client and the inventory condition; (2) according to the delivery plan system, the logistics vehicles, personnel and the required warehouse-out treatment are automatically carried out; (3) according to the selected factors, a specially-assigned person is responsible for the allocation processing of the goods, and the goods can be automatically allocated and manually allocated, so that the purpose is to more efficiently utilize the resources at hand of the logistics company; (4) manually adjusting according to the arrangement result of the logistics system according to the actual situation; (5) after the arrangement is finished, the logistics system prints out a picking list according to the situation of the goods placement site (storage location) and the optimization principle set by the logistics company; (6) the carrier picks up the goods in the warehouse according to the picking list, and corresponding warehouse-out processing is carried out at the end of the warehouse; (7) after loading is finished, printing a corresponding delivery bill according to the number of delivered customers to carry out logistics transportation; (8) the logistics transportation process can be monitored at any time through a GPS vehicle positioning system, and information can be communicated in time; (9) after the goods arrive at the destination and are confirmed by the goods receiver, the goods are confirmed to the logistics distribution center by the receipt; (10) all required logistics statistical analysis data and financial settlement are generated, and accounts receivable and payable are generated.
However, the above logistics transportation scheme generally has the following disadvantages:
1. the logistics center information is not public and transparent, and the information can be changed;
2. the value of the goods in the logistics is difficult to guarantee;
3. the information in the logistics is fully public and transparent.
Disclosure of Invention
In order to overcome the defects in the prior art, the present invention provides a method, an apparatus and a system for processing logistics based on a block chain, so as to realize traceability of articles in the logistics, responsibility determination in user dispute, confidentiality of logistics user information, and value guarantee of valuables in the logistics process.
In order to achieve the above object, the present invention provides a block chain-based logistics processing method, which comprises the following steps:
step S1, the sending end obtains the logistics information input by the sending party, encrypts the logistics information content by using an attribute encryption mode, generates two different signatures by using the sending and receiving parties and the logistics information, registers the signatures on a block chain after the sending party carries out digital signature, and generates corresponding order number information;
step S2, when receiving the mail item, the logistics processing device end acquires the image information and the order number information of the mail item, acquires the encrypted logistics information in the block chain according to the order number information, decrypts the logistics information according to the attribute of the logistics processing device end, schedules the mail item, encrypts the corresponding information of the current link by using the attribute of the next scheduling node, and stores the encrypted information in the block chain;
step S3, in the dispatching process, the logistics processing device end at each dispatching node acquires the image information and order number information of the mail item, acquires the related information of the mail item in the previous link from the block chain according to the order number information and decrypts the related information by using the attribute of the logistics processing device end, compares the image information acquired in the current link with the image information of the mail item acquired in the previous link acquired from the block chain, continues the dispatching process when the comparison is consistent, and re-registers the comparison result in the block chain;
and step S4, after receiving the article, the receiving end reads the information of the current link by using the attribute of the dispatching node at the last station, matches the image information acquired by the logistics processing device when obtaining the article from the block chain, and when the image information is consistent with the image information, the receiving end carries out digital signature and stores the image information into the block chain, and the logistics processing is finished.
Preferably, in step S2, the information related to the article itself is further written into an RFID tag to form an RFID tag uniquely corresponding to the article, and the RFID tag is attached to the article for subsequent dispatching together with the article.
Preferably, in step S3, the continuing scheduling process includes:
if the current scheduling node is the last station of the logistics, decrypting a logistics information ciphertext obtained from the block chain by using the attribute of the current scheduling node, obtaining information initially collected by the logistics processing device from the block chain according to order number information, comparing the information with the information, and if the comparison is consistent, obtaining recipient information and dispatching;
if the current scheduling node is not the last station of the logistics, after the current scheduling node decrypts the logistics information obtained from the block chain by using the attribute of the current scheduling node, the logistics information of the current link is encrypted by using the attribute of the next scheduling node, and the encrypted logistics information of the current link is stored in the block chain.
Preferably, in step S3, if the image information acquired in the current link is inconsistent with the image information of the article to be sent acquired in the previous link obtained from the blockchain, an abnormal single alarm is generated.
Preferably, in step S4, if the matches are not consistent, an abnormal single alarm is generated.
In order to achieve the above object, the present invention further provides a block chain-based logistics processing apparatus, including:
the information acquisition unit is used for acquiring image information and order number information of the article to be sent;
the decryption unit is used for acquiring the logistics related information encrypted in the previous link of the mail item from the block chain according to the order number information and decrypting the logistics related information in the previous link according to the self attribute;
the image comparison analysis unit is used for comparing and analyzing the image information obtained in the current link and the image information obtained in the previous link when the image information exists in the logistics related information in the previous link, and starting the scheduling processing unit when the comparison is consistent;
and the dispatching processing unit encrypts the logistics information of the current link by using the public key of the next dispatching node according to the decryption result of the decryption unit when the current dispatching node is not the last logistics station, stores the logistics information of the current link in the block chain, acquires the logistics information according to the decryption result of the decryption unit when the current dispatching node is the last logistics station, acquires the information initially acquired by the logistics processing device from the block chain according to the order number information, compares the information with the information, and acquires the information of a receiver if the comparison is consistent, and dispatches the logistics.
Preferably, the image contrast analysis unit directly starts the scheduling processing unit when there is no image information in the previous link.
Preferably, the image comparison analysis unit generates an abnormal single alarm when it is determined that the comparison between the image information obtained in the current link and the image information obtained in the previous link is inconsistent.
In order to achieve the above object, the present invention further provides a block chain-based logistics processing system, including:
the sending end is used for acquiring logistics information input by a sending party, encrypting the logistics information content by using an attribute encryption mode, generating two different signatures by using a receiving party and a sending party and the logistics information, registering the signatures on a block chain after the sending party carries out digital signature, and generating corresponding order number information;
the logistics processing device is applied to each scheduling node of a logistics company and used for acquiring image information and order number information of a mail item, acquiring encrypted logistics information in the block chain according to the order number information when the mail item is received, decrypting the logistics information according to the attribute of the mail item, scheduling the mail item, storing corresponding information of the current link in the block chain by utilizing the attribute encryption of the next scheduling node, acquiring related information of the mail item in the previous link in the block chain by utilizing the attribute decryption of the mail item in the scheduling process, comparing the image information acquired by the current link with the image information of the mail item acquired by the previous link in the block chain, continuing a scheduling process when the comparison is consistent, and registering the comparison result in the block chain;
and the receiving end is used for reading the information of the current link by using the attribute of the logistics processing device at the last station, acquiring the image information acquired when the mail is sent from the block chain for matching, and performing digital signature on the receiving end when the matching is consistent, so that the logistics processing is finished.
Preferably, the continuous scheduling process includes:
if the current scheduling node is the last station of the logistics, decrypting a logistics information ciphertext obtained from the block chain by using the attribute of the current scheduling node, obtaining information initially collected by the logistics processing device from the block chain according to order number information, comparing the information with the information, and if the comparison is consistent, obtaining recipient information and dispatching;
if the current scheduling node is not the last station of the logistics, after the current scheduling node decrypts the logistics information ciphertext obtained from the block chain by using the attribute of the current scheduling node, the next scheduling node is used for encrypting the logistics information of the current link, and the encrypted logistics information of the current link is stored in the block chain.
Compared with the prior art, the logistics processing method, the device and the system based on the block chain solve the problems of traceability of articles in the logistics, responsibility confirmation in user disputes and logistics user information confidentiality based on the block chain technology by utilizing the characteristics of incapability of tampering data, data encryption, high-precision measurement and anti-counterfeiting identification of the internet of things technology in the block chain, and provide value guarantee of the logistics articles, particularly valuable articles, in the logistics process.
Drawings
FIG. 1 is a flow chart illustrating the steps of a method for processing a logistics based on a blockchain according to the present invention;
FIG. 2 is a block chain-based system architecture diagram of a logistics processing system of the present invention;
FIG. 3 is a schematic structural diagram of a mail end according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a material flow processing device in an embodiment of the present invention.
Detailed Description
Other advantages and capabilities of the present invention will be readily apparent to those skilled in the art from the present disclosure by describing the embodiments of the present invention with specific embodiments thereof in conjunction with the accompanying drawings. The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention.
Before describing the present invention, some terms used herein will be briefly described:
blockchain (Blockchain): a distributed account book which is a chain data structure formed by combining data blocks in a sequential connection mode according to a time sequence and is ensured to be not falsified and forged in a cryptographic mode;
a Consensus mechanism (Consensus), which is an algorithm for block chain transactions to achieve distributed Consensus, mainly solves the problem of how to achieve consistency of block chains in a distributed scene;
the verification pool is based on the traditional distributed consistency technology and a data verification mechanism;
radio Frequency Identification (RFID), a wireless communication technology that can identify a specific object and read and write related data by radio signals without establishing mechanical or optical contact between the identification system and the specific object
Fig. 1 is a flow chart illustrating steps of a method for processing logistics based on a block chain according to the present invention. As shown in fig. 1, the logistics processing method based on block chain of the invention comprises the following steps:
and step S1, the sending end acquires the logistics information input by the sending party, encrypts the logistics information content by using an attribute encryption mode, generates two different signatures by using the unique user ID and the logistics information of the sending party and the receiving party, digitally signs the sending party, registers the digital signatures on the block chain, and generates corresponding order number information. The logistics information includes, but is not limited to, a sender name, an address, a contact way, a receiver name, an address, a contact way, article information and the like, specifically, when logistics needs to be sent, the sender registers logistics information of an article to be sent, such as the sender name, the address, the contact way, the receiver name, the address, the contact way, corresponding article information and the like, on a block chain through a client, then the logistics information content is encrypted by using an attribute encryption way, two different signatures are generated by using the sender and the receiver and the logistics information, and the sender carries out a digital signature to ensure that the logistics is sent from the sender.
In the specific embodiment of the present invention, an attribute encryption and decryption method is adopted for logistics information, where it is described that an attribute cipher is an extension of a public key cipher and an identity-based cipher, in an attribute encryption and decryption mechanism, a cipher text and a key are both related to a set of attributes, an encryptor can formulate an encryption policy composed of attributes according to content to be encrypted and characteristic information of a receiver, and only a user whose attribute satisfies the encryption policy can decrypt the generated cipher text, and the encryption and decryption processes are as follows:
step 1, generating a system public key PK and a system master private key MSK by using Setup;
step 2, using Keygen (MSK, X), wherein X is an attribute set, and generating a user attribute key SK;
step 3, using Enc (PK, T, M) PK as a system public key, T as an access control structure, and M as a message to be encrypted to generate a ciphertext CT;
and 4, decrypting by using Dec (PK, SK, CT), wherein the decryption can be performed as long as the attribute in the SK can pass through the access control structure of T.
Since the attribute encryption and decryption method is also a commonly used encryption and decryption method in the prior art, the detailed encryption process is not described herein.
Step S2, when receiving the mail item, the logistics processing apparatus acquires image information and order number information of the mail item, acquires encrypted logistics information in the block chain according to the order number information, acquires logistics information through attribute decryption, acquires recipient information, schedules the mail item, and stores the logistics information in the current link in the block chain through attribute encryption by using the attribute of the next scheduling node. Specifically, the logistics processing device end is applied to a logistics company, when the logistics company receives a mailpiece, the mailpiece is firstly subjected to X-ray scanning and photographing, the logistics processing device obtains image information and order number information of the mailpiece, then obtains encrypted logistics information from a block chain according to the order number information, decrypts according to attributes to obtain the logistics information, and can obtain addressee information such as an address and a contact way of an addressee, schedules the mailpiece after being checked and confirmed to be a mailpiece, arranges a next scheduling node for receiving, encrypts corresponding information of a current link by using attributes of the next scheduling node, and prevents personal information of the addressee and the mailpiece from being stolen and stores the personal information in the block chain. Preferably, the related information of the article to be sent is written into an RFID label to form an RFID label uniquely corresponding to the article to be sent, and the RFID label is stuck on the article to be sent and is subsequently dispatched together with the article to be sent.
Step S3, in the scheduling process, the logistics processing apparatus at each scheduling node obtains the image information and the order number information of the mailed item, obtains the related logistics information of the mailed item in the previous link from the block chain according to the order number information, decrypts the related logistics information by using its own attribute, compares the image information acquired in the current link with the image information of the mailed item acquired in the previous link obtained from the block chain, continues the scheduling process when the comparison is consistent, and simultaneously re-registers the comparison result in the block chain, and generates an abnormal single alarm if the comparison is inconsistent. Since the image analysis technique of the present invention adopts the prior art, it is not described herein. Preferably, if the article to be sent corresponds to the RFID tag, the information of the RFID tag carried by the article to be sent is also read.
Specifically, in step S3, the step of continuing the scheduling process includes: if the current scheduling node is the last station of the logistics, decrypting a logistics information ciphertext obtained from the block chain by using the attribute of the current scheduling node, obtaining information initially collected by the logistics processing device from the block chain according to order number information, comparing the information with the information, and if the comparison is consistent, obtaining recipient information and dispatching; if the current scheduling node is not the last station of the logistics, after the current scheduling node decrypts the logistics information ciphertext obtained from the block chain by using the attribute of the current scheduling node, the attribute of the next scheduling node is used for encrypting the corresponding information of the current link, and the encrypted corresponding information of the current link is stored in the block chain.
And step S4, after receiving the mail item, the receiving end reads the information of the current link by using the attribute of the dispatching node at the last station, matches the image information acquired when the mail is acquired from the block chain, and when the matching is consistent, the receiving end carries out digital signature to confirm the receipt of the receiver and stores the receipt in the block chain, and the logistics processing is finished, otherwise, the logistics processing is abnormal, and an abnormal single alarm is generated.
In the embodiment of the invention, the signature steps of the receiving party and the sending party are as follows
Step 1, generating a system public key PK and a system master private key MSK by using Setup;
step 2, generating a user attribute key SK by using a Keygen (MSK, X) X as an attribute set;
step 3, using Sign (PK, T, SK, M) to use system public key, access control structure, key SK and signature message to generate signature CT;
and 4, outputting 1 when the signature is legal by Verify (PK, CT and m), otherwise, outputting 0.
Fig. 2 is a system architecture diagram of a block chain-based logistics processing system according to the invention. As shown in fig. 2, the logistics processing system based on block chain of the invention comprises:
and the sending end 20 is used for acquiring logistics information input by a sending party, encrypting the logistics information content by using an attribute encryption mode, generating two different signatures by using the sending party and the receiving party and the logistics information, digitally signing the logistics information by the sending party, registering the logistics information on the block chain, and generating corresponding order number information. The logistics information includes but is not limited to the name, address, contact, name, address, contact and article information of the sender.
Specifically, as shown in fig. 3, the sending end 20 further includes:
the logistics information acquiring unit 201 is configured to acquire logistics information input by a sender, where the logistics information includes, but is not limited to, a name, an address, a contact way, article information, and the like of the sender;
and the encryption signature unit 202 is used for encrypting the logistics information content by using an attribute encryption mode, generating two different signatures by using the receiving party and the sending party and the logistics information, and performing digital signature by the sending party. Since the attribute encryption and decryption and the digital signature methods adopted in the invention are the prior art, the details are not repeated herein;
and the registering unit 203 is used for generating order number information and registering the signed logistics information content on the block chain. Since the technology of how to add the blockchain is prior art, it is not described herein.
The logistics processing device 21 is applied to each scheduling node of the logistics company, and is used for acquiring the image information and the order number information of the mail item, when the mail item is received, acquiring the encrypted logistics information in the block chain according to the order number information and acquiring the logistics information such as the receiver information through attribute decryption, dispatching the mail sending article, encrypting the corresponding information of the current link through the attribute and storing the encrypted information in the block chain, in the dispatching process, the attribute of the system is used for decrypting and acquiring the related logistics information of the article to be sent in the previous link in the block chain, the image information acquired in the current link is compared with the image information of the article to be sent acquired in the previous link acquired from the block chain, when the comparison is consistent, the dispatching process is continued, and simultaneously registering the comparison result in the block chain, and if the comparison result is inconsistent, generating an abnormal single alarm.
Specifically, as shown in fig. 4, the material flow processing device 21 further includes:
the information obtaining unit 210 is configured to obtain image information and order number information of the article to be sent. In the embodiment of the invention, when a sending article is received, the sending article can be subjected to X-ray scanning and photographing to obtain the image information of the sending article, and order number information is input;
the decryption unit 211 is configured to obtain, according to the order number information, related logistics information encrypted in a previous link of the article to be sent from the block chain, and obtain, through attribute decryption, corresponding logistics information, such as recipient information or recipient information and image information.
The image comparison and analysis unit 212 is configured to compare and analyze image information obtained in a current link and image information obtained in a previous link when image information exists in the previous link, start the scheduling processing unit 213 if the comparison is consistent, otherwise generate an exception single alarm, and directly start the scheduling processing unit 213 if the previous link does not have image information, which indicates that the current link is a first link processed by a logistics company.
The scheduling processing unit 213, when the current scheduling node is not the last stage of logistics, encrypts the related logistics information of the current link by using the attribute of the next scheduling node after the decryption unit decrypts the attribute of the logistics information of the previous link obtained from the block chain by using the attribute of the next scheduling node, and stores the corresponding information of the current link in the block chain, when the current scheduling node is the last stage of logistics, the decryption unit decrypts the attribute of the logistics information of the previous link obtained from the block chain by using the attribute of the decryption unit, and obtains the information initially collected by the logistics processing device from the block chain according to the order number information, and compares the information with the information, if the comparison is consistent, the information of the receiver is obtained, and the dispatch is performed, otherwise, an abnormal single alarm is generated.
And the receiving end 22 acquires logistics information by using the logistics processing device of the last-stop scheduling node after receiving the article to be sent, acquires information acquired initially when the article to be sent is sent from the block chain by using the order number information for matching, and performs digital signature to confirm the receipt of the receiver and store the receipt in the block chain when the information is consistent with the matching, so that the logistics processing is finished, otherwise, the logistics processing is abnormal, and an abnormal single alarm is generated.
Examples
i. The sender A uses a client as a sender to register a valuable article express which needs to be received from a delivery place (such as Beijing) to a delivery place (such as Guangzhou) on a blockchain, encrypts logistics information contents by using an attribute encryption mode, generates two different signatures by using a receiver and a sender and logistics information, and enables the sender A to carry out digital signature so as to ensure that the valuable article express is sent from the sender.
The sender A needs to go to an express company for sending, the staff of a logistics company sending warehouse B1 uses a logistics processing device for carrying out X-ray scanning and photographing on the articles, and obtaining order number information, the logistics processing device of the logistics company mail sending warehouse B1 obtains the encrypted related logistics information of the mail sending article from the block chain according to the order number information, the address, the mobile phone number and other logistics information of the receiver C are obtained through attribute decryption, after the object is checked and confirmed to be a mailable object, the mailable object is dispatched, arranging the next logistics warehouse node B2 to receive, encrypting the current link information by using the attribute of the logistics processing device of B2, preventing the personal information of the receiver and the sender from being stolen, storing the information in a block chain, meanwhile, partial information of the key articles can be written into RFID electronic tags pasted in the couriers and then sent to a logistics warehouse node B2 from a logistics warehouse node B1;
III, the logistics warehouse node B2 receives goods, reads in RFID tag information carried by the goods by using a logistics processing device, performs X-ray scanning on the goods, obtains information of the upper ring segment goods through order numbering, decrypts the information of the upper ring segment goods in the block chain through the attribute of the logistics processing device B2, calls an AI image analysis technology, compares the information acquired by the last station, performs the next step if the comparison is consistent, and generates an abnormal single alarm if the comparison is not consistent;
if the B2 is the last stop of the logistics, the B2 courier uses the attribute of the logistics processing device of the B2 to unlock a recipient information ciphertext, obtains information initially acquired by the logistics processing device from a block chain according to order number information and compares the information with the block chain, if the information is consistent with the information, dispatches the information, and if the B2 is not the last stop of the logistics, the dispatching process is continued, namely, the attribute of the logistics processing device of the next logistics warehouse node B3 is used for encrypting the logistics information of the current link, the personal information of the recipient and the sender is prevented from being stolen, the encrypted information enters the block chain to be stored, and then the encrypted information is sent to a logistics warehouse node B3 from a logistics warehouse node B2, and the rest on;
v. after receiving the express, the receiver C needs to use the attribute of the receiver C together with the sender to obtain the information of the current link, then the system calls the image information collected during the sending according to the order number information, the matching is carried out again, the matching is consistent, the receiving is confirmed, and the transaction flow is ended; if not, generating an abnormal single alarm.
In summary, the logistics processing method, device and system based on the blockchain, provided by the invention, solve the problems of traceability of articles in logistics, responsibility confirmation in user dispute and logistics user information confidentiality based on the blockchain technology by utilizing the characteristics of incapability of tampering data in the blockchain, data encryption, high-precision measurement and anti-counterfeiting identification of the internet of things technology, and provide value guarantee of logistics articles, especially valuable articles, in the logistics process.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Modifications and variations can be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the present invention. Therefore, the scope of the invention should be determined from the following claims.

Claims (8)

1. A logistics processing method based on a block chain comprises the following steps:
step S1, the sending end obtains the logistics information input by the sending party, encrypts the logistics information content by using an attribute encryption mode, authorizes the attribute of the next scheduling node to have decryption authority, registers the attribute on the block chain after the sending party carries out digital signature, and generates corresponding order number information;
step S2, when receiving the mail item, the logistics processing device end acquires the image information and the order number information of the mail item, acquires the encrypted logistics information in the block chain according to the order number information, decrypts the logistics information according to the attribute of the logistics processing device end, schedules the mail item, encrypts the corresponding information of the current link by using the attribute of the next scheduling node, and stores the encrypted information in the block chain;
step S3, in the dispatching process, the logistics processing device end at each dispatching node acquires the image information and order number information of the mail item, acquires the related information of the mail item in the previous link from the block chain according to the order number information and decrypts the related information by using the attribute of the logistics processing device end, compares the image information acquired in the current link with the image information of the mail item acquired in the previous link acquired from the block chain, continues the dispatching process when the comparison is consistent, and re-registers the comparison result in the block chain; the continuous scheduling process comprises the following steps: if the current scheduling node is the last station of the logistics, decrypting a logistics information ciphertext obtained from the block chain by using the attribute of the current scheduling node, obtaining information initially collected by the logistics processing device from the block chain according to order number information, comparing the information with the information, and if the comparison is consistent, obtaining recipient information and dispatching; if the current scheduling node is not the last station of the logistics, after the current scheduling node decrypts the logistics information obtained from the block chain by using the attribute of the current scheduling node, the next scheduling node is used for encrypting the logistics information of the current link, and the encrypted logistics information of the current link is stored in the block chain;
and step S4, after receiving the article, the receiving end reads the information of the current link by using the attribute of the last-stop scheduling node, matches the image information acquired when the article is sent from the block chain, and when the matching is consistent, the receiving end carries out digital signature and stores the image information into the block chain, and the logistics processing is finished.
2. The block chain-based logistics processing method of claim 1, wherein: in step S2, the information related to the article itself is written into an RFID tag to form an RFID tag uniquely corresponding to the article, and the RFID tag is attached to the article for subsequent dispatching together with the article.
3. The block chain-based logistics processing method of claim 1, wherein: in step S3, if the image information acquired in the current link is inconsistent with the image information of the article to be sent acquired in the previous link acquired from the blockchain, an abnormal single alarm is generated.
4. The block chain-based logistics processing method of claim 1, wherein: in step S4, if the matches are not consistent, an exception sheet alarm is generated.
5. A block chain-based logistics processing apparatus comprising:
the information acquisition unit is used for acquiring the image information and the order number information of the article to be sent and authorizing the attribute of the next scheduling node to have decryption authority;
the decryption unit is used for acquiring the logistics related information encrypted in the previous link of the mail item from the block chain according to the order number information and decrypting the logistics related information in the previous link according to the self attribute;
the image comparison analysis unit is used for comparing and analyzing the image information obtained in the current link and the image information obtained in the previous link when the image information exists in the logistics related information in the previous link, and starting the scheduling processing unit when the comparison is consistent;
and the dispatching processing unit encrypts the logistics information of the current link by using the public key of the next dispatching node according to the decryption result of the decryption unit when the current dispatching node is not the last logistics station, stores the logistics information of the current link in the block chain, acquires the logistics information according to the decryption result of the decryption unit when the current dispatching node is the last logistics station, acquires the information initially acquired by the logistics processing device from the block chain according to the order number information, compares the information with the information, and acquires the information of a receiver if the comparison is consistent, and dispatches the logistics.
6. The device as claimed in claim 5, wherein the image contrast analysis unit directly starts the scheduling processing unit when there is no image information in the previous link.
7. The block chain-based logistics processing apparatus of claim 6, wherein: and the image comparison analysis unit generates an abnormal single alarm when the image information obtained in the current link is judged to be inconsistent with the image information obtained in the previous link.
8. A blockchain-based logistics processing system comprising:
the sending party is used for acquiring logistics information input by the sending party, encrypting the logistics information content by using an attribute encryption mode, authorizing the attribute of the next scheduling node to have decryption authority, registering the logistics information on the block chain after the sending party carries out digital signature, and generating corresponding order number information;
the logistics processing device is applied to each scheduling node of a logistics company and used for acquiring image information and order number information of a mail item, acquiring encrypted logistics information in the block chain according to the order number information when the mail item is received, decrypting the logistics information according to the attribute of the mail item, scheduling the mail item, storing corresponding information of the current link in the block chain by utilizing the attribute encryption of the next scheduling node, acquiring related information of the mail item in the previous link in the block chain by utilizing the attribute decryption of the mail item in the scheduling process, comparing the image information acquired by the current link with the image information of the mail item acquired by the previous link in the block chain, continuing a scheduling process when the comparison is consistent, and registering the comparison result in the block chain; the continuous scheduling process comprises the following steps: if the current scheduling node is the last station of the logistics, decrypting a logistics information ciphertext obtained from the block chain by using the attribute of the current scheduling node, obtaining information initially collected by the logistics processing device from the block chain according to order number information, comparing the information with the information, and if the comparison is consistent, obtaining recipient information and dispatching; if the current scheduling node is not the last station of the logistics, after the current scheduling node decrypts the logistics information ciphertext obtained from the block chain by using the attribute of the current scheduling node, the next scheduling node is used for encrypting the logistics information of the current link, and the encrypted logistics information of the current link is stored in the block chain
And the receiving end is used for reading the information of the current link by using the attribute of the logistics processing device at the last station, acquiring the image information acquired when the mail is sent from the block chain for matching, and performing digital signature on the receiving end when the matching is consistent, so that the logistics processing is finished.
CN201910738656.6A 2019-08-12 2019-08-12 Logistics processing method, device and system based on block chain Active CN110543785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910738656.6A CN110543785B (en) 2019-08-12 2019-08-12 Logistics processing method, device and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910738656.6A CN110543785B (en) 2019-08-12 2019-08-12 Logistics processing method, device and system based on block chain

Publications (2)

Publication Number Publication Date
CN110543785A CN110543785A (en) 2019-12-06
CN110543785B true CN110543785B (en) 2022-03-11

Family

ID=68710629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910738656.6A Active CN110543785B (en) 2019-08-12 2019-08-12 Logistics processing method, device and system based on block chain

Country Status (1)

Country Link
CN (1) CN110543785B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111369266A (en) * 2020-03-03 2020-07-03 珠海市一堂科技有限公司 Technological product source tracing method based on block chain
CN111724111A (en) * 2020-06-18 2020-09-29 南京龙猫商业智能科技股份有限公司 Intelligent logistics distribution system based on block chain technology
CN111861312A (en) * 2020-06-29 2020-10-30 上海鑫虹物流有限公司 Logistics management method and system
CN112069548A (en) * 2020-08-14 2020-12-11 深圳市盛龙信息科技有限公司 Logistics monitoring method, system and storage medium for agricultural product trading market
CN112184111B (en) * 2020-09-27 2023-09-26 浙江万里学院 Intelligent information encryption method for shortcut logistics
CN112598361B (en) * 2021-03-02 2021-05-25 华鹏飞股份有限公司 Logistics management method and system based on block chain technology
CN114897481A (en) * 2022-07-13 2022-08-12 朗新一诺(苏州)信息科技有限公司 Intelligent customhouse logistics monitoring method based on block chain
CN117689288A (en) * 2022-09-01 2024-03-12 同方威视技术股份有限公司 Logistics supervision method and device based on blockchain, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108764797A (en) * 2018-05-31 2018-11-06 腾讯科技(深圳)有限公司 Circulation information querying method, device, equipment, system and storage medium
CN109951498A (en) * 2019-04-18 2019-06-28 中央财经大学 A kind of block chain access control method and device based on ciphertext policy ABE encryption
CN110046841A (en) * 2018-11-28 2019-07-23 阿里巴巴集团控股有限公司 Logistics information source tracing method and device and electronic equipment based on block chain
CN110097377A (en) * 2019-04-18 2019-08-06 深圳市科迈爱康科技有限公司 Antifake method for products and device based on block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073829A (en) * 2017-12-29 2018-05-25 上海唯链信息科技有限公司 For recording the method for the transportation data of object, medium, internet of things equipment, block platform chain and Internet of things system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108764797A (en) * 2018-05-31 2018-11-06 腾讯科技(深圳)有限公司 Circulation information querying method, device, equipment, system and storage medium
CN110046841A (en) * 2018-11-28 2019-07-23 阿里巴巴集团控股有限公司 Logistics information source tracing method and device and electronic equipment based on block chain
CN109951498A (en) * 2019-04-18 2019-06-28 中央财经大学 A kind of block chain access control method and device based on ciphertext policy ABE encryption
CN110097377A (en) * 2019-04-18 2019-08-06 深圳市科迈爱康科技有限公司 Antifake method for products and device based on block chain

Also Published As

Publication number Publication date
CN110543785A (en) 2019-12-06

Similar Documents

Publication Publication Date Title
CN110543785B (en) Logistics processing method, device and system based on block chain
US9858569B2 (en) Systems and methods in support of authentication of an item
CN105719120B (en) A method of encryption express delivery list privacy information
US9024722B2 (en) Remote identification equipped self-service monetary item handling device
CN110601856B (en) Data interaction method and device based on block chain network
US7895130B2 (en) Method for tracking and notification or recipient-initiated mail items
CN107180328B (en) Logistics method based on QR two-dimensional code
US8291239B2 (en) Method and system for authenticating senders and recipients in a carrier system and providing receipt of specified content by a recipient
CN107437159A (en) A kind of intelligent express system of overall process secret protection, method and device
US8896419B2 (en) Method for inspecting a product as an original product of a product producer
US10911242B2 (en) Authentication in distribution systems
CN110401542A (en) Electronic identity voucher generation method, terminal and server
WO2019062531A1 (en) Commodity tracing, anti-counterfeiting and verifying method and device
CN110599107A (en) Logistics data processing method and device based on block chain
CN104680601B (en) The method for checking e-mail sender's identity
CN109190403A (en) A kind of express delivery bill kept on file method for secret protection based on block chain
CN108805486B (en) Method for handling freight containers
CN110942301B (en) Data processing method and device based on block chain, computer and storage medium
CN111260279A (en) Logistics control method and system based on block chain
CN110351081A (en) Monetary assets management method and system
EP1227450A2 (en) Method and arrangement for offering a service via information network
US20210209548A1 (en) Vehicle trunk delivery system and method
CN113204784B (en) Express delivery distribution system and method based on single-side information hiding
CN101951365B (en) Network information counterfeiting issuing system, counterfeiting receiving system, and counterfeiting system and method
CN113095747B (en) Electronic bill of lading circulation method and device based on block chain technology

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
GR01 Patent grant
GR01 Patent grant