CN112270636A - Block chain-based consignment logistics management method, device, terminal and storage medium - Google Patents

Block chain-based consignment logistics management method, device, terminal and storage medium Download PDF

Info

Publication number
CN112270636A
CN112270636A CN202011337443.1A CN202011337443A CN112270636A CN 112270636 A CN112270636 A CN 112270636A CN 202011337443 A CN202011337443 A CN 202011337443A CN 112270636 A CN112270636 A CN 112270636A
Authority
CN
China
Prior art keywords
information
block
block chain
sending
receiving
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
CN202011337443.1A
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.)
Guangdong Guangyu Technology Development Co Ltd
Original Assignee
Guangdong Guangyu Technology Development 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 Guangdong Guangyu Technology Development Co Ltd filed Critical Guangdong Guangyu Technology Development Co Ltd
Priority to CN202011337443.1A priority Critical patent/CN112270636A/en
Publication of CN112270636A publication Critical patent/CN112270636A/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
    • 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/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes

Landscapes

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

Abstract

The invention provides a consignment logistics management method, a consignment logistics management device, a consignment logistics management terminal and a storage medium based on a block chain; the method comprises the following steps: generating a consignor information block by the consignor information and connecting the consignor information block to a block chain; generating a sending information block by sending information and connecting the sending information block to a block chain; calling a mail sending information block on the block chain to carry out identity verification on the identity authentication information of the mail sender; generating a receiving and sending block and connecting the receiving and sending block to a block chain; inquiring a receiving and sending block on the block chain according to the express bill number, and acquiring information of the receiving and sending block to generate a verification code A; verifying the identity of the receiver according to the verification code A; and after the matching is successful, the express delivery state is marked as a delivery confirmation state, and is written into a new delivery state block and connected to the block chain. The method adopts the encryption algorithm technology of the block chain to encrypt the authentication information, can solve the problem that sensitive authentication data is cracked and tampered, and guarantees the data security and the trueness and the credibility.

Description

Block chain-based consignment logistics management method, device, terminal and storage medium
Technical Field
The present invention relates to the field of consignment logistics management technology, and more particularly, to a consignment logistics management method, apparatus, terminal and storage medium based on a block chain.
Background
In the existing express delivery and logistics, a courier hand-held mobile device (a mobile phone, a tablet and the like) is used for installing login client software or accessing a login client webpage to register and upload sender information, the server is connected through an internet network in real time to verify the identity information of the sender, finally, the data is uploaded to a background server, and the server checks conventional information and stores the information into a system database.
The express industry requires real-name mail, and based on a traditional database real-name verification information storage mode and http and https verification services, the real-name verification information data can be cracked by network attacks and encrypted data can be distorted, and therefore untrusted services can be caused. The information of the addressee stored in the existing system is stored in the traditional database, and the information can be falsified, so that the express mail is easily falsely and wrongly received by irrelevant personnel in the delivery process.
In addition, in the existing data exchange mode between the client and the server, when the client is in an abnormal network environment, the client cannot be connected with the server, so that the consignment information verification service is unavailable, and normal consignment registration service cannot be performed.
Disclosure of Invention
In order to overcome the disadvantages and shortcomings in the prior art, the present invention provides a method, an apparatus, a terminal and a storage medium for consignment logistics management based on a block chain; the invention adopts the encryption algorithm technology of the block chain to encrypt the authentication information, can solve the problem that sensitive authentication data is cracked and tampered, and ensures the data security and the trueness and the credibility.
In order to achieve the purpose, the invention is realized by the following technical scheme: a consignment logistics management method based on block chains is characterized in that: the method comprises the following steps:
inputting consignor information; generating a consignor information block from the consignor information and connecting the consignor information block to a block chain;
acquiring identity login information of a consignor; calling a consignor information block on the block chain to verify consignor identity login information;
recording the mail sending information; generating a sending information block by sending information, and connecting the sending information block to a block chain;
acquiring identity authentication information of a sender; calling a mail sending information block on the block chain to carry out identity verification on the identity authentication information of the mail sender;
acquiring receiving information; the receiving information comprises a receiver name, a receiver mobile phone number, a receiving address and an express opening photo; generating a receiving and sending block by the express bill number, the sending information and the receiving information, and connecting the receiving and sending block to a block chain; each receiving and sending block generates a unique hash value to enable the receiving and sending blocks to be directly linked according to the time sequence;
inquiring a receiving and sending block on the block chain according to the express bill number, and triggering a delivery intelligent contract on the block chain to acquire information of the receiving and sending block; encrypting the addressee name, the addressee address and the addressee mobile phone number in the receiving and sending block through a Hash algorithm to generate a verification code A, and sending the verification code A to the addressee mobile phone number;
calling a block chain receiving verification intelligent contract according to the verification code A to verify the identity of a receiver: receiving verification codes A are received by the intelligent contract for receiving verification, express bill numbers in corresponding receiving and sending block information are extracted, and a verification code B is generated by encrypting the names, the addresses and the mobile phone numbers of the recipients corresponding to the express bill numbers by using a Hash algorithm; comparing authentication code a with authentication code B equally: if the verification code A is the same as the verification code B, the matching is successful;
after matching is successful, the express delivery state is marked as a delivery confirmation state and is written into a new delivery state block; the delivery status blocks are connected to a block chain.
Preferably, the carrier information is entered; generating the consignor information block from the consignor information and connecting the consignor information block to the block chain, wherein the method comprises the following steps:
storing the entered information of the consignor in a database; the sender information comprises a sender mobile phone number, a sender identity card number, a sender address and a sender photo;
encrypting the consignor information by using a public key to generate a unique identity id as a key, and using the real information content as a value; writing the consignor information into a consignor information block by calling the consignor information intelligence contract on the block chain; connecting the consignor information block to a block chain;
obtaining identity login information of a consignor; calling the consignor information block on the blockchain to verify consignor identity login information, wherein the method comprises the following steps:
acquiring information on the identity card of the consignor by photographing or scanning; and calling the corresponding consignor information block according to the verification intelligent contract of the information access block chain on the consignor identity card, and performing decryption verification by using a private key.
Preferably, before storing the entered consignor information in the database, the method further comprises: adding or importing express company data information under a logistics organization; the express company information comprises a name, an address, a contact telephone, a responsible person telephone, an affiliated institution and a business license; allocating a management account to each express company;
and the recorded information of the consignor is stored in a database corresponding to the management account of the express company.
Preferably, the mail information is recorded; will send a piece information generation and send a piece information block to be connected to the block chain, include:
adding or importing sender identity information; the sender identity information comprises a sender name, a sender gender, a sender mobile phone number, a sender identity card number and a sender address; encrypting the identity information of the sender by using a public key to generate a unique identity id as a key, wherein the real information content is used as a value; the sender identity information is written into a sender information block by calling a sender information intelligent contract on the block chain; connecting the sending information block to a block chain;
the identity authentication information of the sender is obtained; calling a mail sending information block on the block chain to carry out identity verification on the identity authentication information of the mail sender, wherein the identity verification comprises the following steps:
acquiring information on the identity card of the sender as identity authentication information of the sender by photographing or scanning; and calling the corresponding mail information block according to a verification intelligent contract of the information access block chain on the sender identity card, and performing decryption verification by using a private key.
Preferably, the generating a delivery block by the delivery order number and the receiving information and connecting to a block chain includes:
the express bill number and the receiving information are written into a receiving and sending block by calling a storage receiving intelligent contract on a block chain; and connecting the receiving block to a block chain.
Preferably, the intelligent contract for storing the addressees is compiled by using a solid language, and the intelligent contract is compiled and then deployed to a block chain to provide a calling address, so that a save method is defined for receiving the express bill number, the sender name, the sender mobile phone number, the sender identity card number, the sender address, the addressee name, the addressee mobile phone number and the addressee address; then written into a receiving and sending block and deployed on a block chain.
Preferably, the consignment logistics management method is applied to a plurality of clients; and adopting a distributed account book mode to take each client as a distributed node storage area block chain account book data.
In order to implement the block chain-based consignment logistics management method, the invention provides a block chain-based consignment logistics management device, which is characterized in that: the method comprises the following steps:
the consignor information input module is used for inputting consignor information, generating consignor information blocks from the consignor information and connecting the consignor information blocks to the block chain;
the consignor login module is used for acquiring identity login information of the consignor; calling a consignor information block on the block chain to verify consignor identity login information;
the sender information input module is used for inputting the sending information, generating a sending information block from the sending information and connecting the sending information block to the block chain;
the sender authentication module is used for acquiring sender identity authentication information; calling a mail sending information block on the block chain to carry out identity verification on the identity authentication information of the mail sender;
the receiving and sending information generating module is used for acquiring receiving information; generating a receiving and sending block by the express bill number, the sending information and the receiving information, and connecting the receiving and sending block to a block chain; each receiving and sending block generates a unique hash value to enable the receiving and sending blocks to be directly linked according to the time sequence; the receiving information comprises a receiver name, a receiver mobile phone number, a receiving address and an express opening photo;
the delivery verification code generation module is used for inquiring a receiving and sending block on the block chain according to the express bill number and triggering a delivery intelligent contract on the block chain to acquire information of the receiving and sending block; encrypting the addressee name, the addressee address and the addressee mobile phone number in the receiving and sending block through a Hash algorithm to generate a verification code A, and sending the verification code A to the addressee mobile phone number;
and the pickup verification module is used for calling a block chain receiver verification intelligent contract according to the verification code A to verify the identity of the receiver: receiving verification codes A are received by the intelligent contract for receiving verification, express bill numbers in corresponding receiving and sending block information are extracted, and a verification code B is generated by encrypting the names, the addresses and the mobile phone numbers of the recipients corresponding to the express bill numbers by using a Hash algorithm; comparing authentication code a with authentication code B equally: if the verification code A is the same as the verification code B, the matching is successful;
the delivery confirmation module is used for marking the delivery state of the express as a delivery confirmation state and writing the delivery confirmation state into a new delivery state block; the delivery status blocks are connected to a block chain.
A consignment logistics management terminal comprising a processor and a memory for storing processor executable programs, wherein: when the processor executes the program stored in the memory, the block chain-based consignment logistics management method is realized.
A storage medium, wherein the storage medium stores a computer program, and the computer program, when executed by a processor, causes the processor to execute the block chain-based consignment logistics management method.
Compared with the prior art, the invention has the following advantages and beneficial effects:
1. the invention adopts the encryption algorithm technology of the block chain to encrypt the authentication information, can solve the problem that sensitive authentication data is cracked and tampered, and ensures the data security and the trueness and credibility;
2. according to the method, the data such as the sending information and the receiving information are linked up, so that historical data query cannot be tampered; the express can be traced through the data on the block chain, and links and responsible persons causing problems in the process of circulation are confirmed; each block on the block chain is covered with a timestamp, each newly generated block is pushed in a time linear sequence to be sequentially linked and stored with data, each block has a unique hash value and the hash value of the previous block, and the blocks are guaranteed to be connected according to the time sequence and are not tampered;
3. the invention adopts a block chain intelligent contract technology, writes data into a block chain block by compiling an intelligent contract program, and verifies data identity information by using an intelligent contract;
4. the verification code A is generated according to the receiving information and sent to the receiver as a pickup certificate, then the information on the block chain is called according to the verification code A, the verification code B is generated by using a Hash algorithm, whether delivery is correct or not is confirmed according to the matching result of the verification codes A and B, the phenomenon that the delivery is falsely and wrongly received by irrelevant personnel is avoided, the mobile phone number of the receiver can be hidden, and the personal information safety is protected;
5. the invention adopts the block chain decentralized distributed account book technology, each client is used as a distributed node to store the verification information account book data, and the identity information of the consignor and the sender can still be verified by utilizing the node data of the client when the network is abnormal or the server cannot be connected.
Drawings
Fig. 1 is a flow chart of a block chain-based consignment logistics management method of the present invention;
fig. 2 is a system block diagram of a consignment logistics management system to which the consignment logistics management method based on block chains according to the present invention is applied.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Examples
The embodiment provides a block chain-based consignment logistics management method, which is applied to a consignment logistics system for providing a distributed account book and a security encryption and decryption mechanism technology based on an Ethernet block chain network; as shown in fig. 2, the consignment logistics system includes two subsystems, namely a mobile terminal and a background management terminal. The mobile terminal subsystem comprises the steps of recipient login, recipient delivery checking, recipient registration and recipient record management. The background management end comprises functional modules for participating in mechanism management, consignment management, sender management, consignee inspection and review management, suspicious mail management, user management, express company management, data statistical analysis and the like of logistics.
The block chain-based consignment logistics management method, as shown in fig. 1, includes:
inputting consignor information; generating a consignor information block from the consignor information and connecting the consignor information block to a block chain;
acquiring identity login information of a consignor; calling a consignor information block on the block chain to verify consignor identity login information;
recording the mail sending information; generating a sending information block by sending information, and connecting the sending information block to a block chain;
acquiring identity authentication information of a sender; calling a mail sending information block on the block chain to carry out identity verification on the identity authentication information of the mail sender;
acquiring receiving information; the receiving information comprises a receiver name, a receiver mobile phone number, a receiving address and an express opening photo; generating a receiving and sending block by the express bill number, the sending information and the receiving information, and connecting the receiving and sending block to a block chain; each receiving and sending block generates a unique hash value to enable the receiving and sending blocks to be directly linked according to the time sequence;
inquiring a receiving and sending block on the block chain according to the express bill number, and triggering a delivery intelligent contract on the block chain to acquire information of the receiving and sending block; encrypting the addressee name, the addressee address and the addressee mobile phone number in the receiving and sending block through a Hash algorithm to generate a verification code A, and sending the verification code A to the addressee mobile phone number;
calling a block chain receiving verification intelligent contract according to the verification code A to verify the identity of a receiver: receiving verification codes A are received by the intelligent contract for receiving verification, express bill numbers in corresponding receiving and sending block information are extracted, and a verification code B is generated by encrypting the names, the addresses and the mobile phone numbers of the recipients corresponding to the express bill numbers by using a Hash algorithm; comparing authentication code a with authentication code B equally: if the verification code A is the same as the verification code B, the matching is successful; the verification codes A and B can adopt 6-bit digital verification codes;
after matching is successful, the express delivery state is marked as a delivery confirmation state and is written into a new delivery state block; the delivery status blocks are connected to a block chain.
Specifically, before entering the carrier information, the method further includes:
adding or importing express company data information under a logistics organization; the express company information comprises a name, an address, a contact telephone, a responsible person telephone, an affiliated institution and a business license; and allocating a management account to each express company.
The information of the consignor is input; generating the consignor information block from the consignor information and connecting the consignor information block to the block chain, wherein the method comprises the following steps:
storing the entered information of the consignor into a database corresponding to a management account of the express company; the sender information comprises a sender mobile phone number, a sender identity card number, a sender address and a sender photo;
encrypting the consignor information by using a public key to generate a unique identity id as a key, and using the real information content as a value; writing the consignor information into a consignor information block by calling the consignor information intelligence contract on the block chain; the carrier information block is connected to a block chain.
The sender information intelligent contract is written by using a gender language, an save method is defined in a sender information intelligent contract code, and the save method receives information of a unique identity id, a mobile phone number, a sender identity card number, a sender address and a sender photo of a sender and writes the information into a sender information block; each block of sender information has a hash value to ensure that the blocks are connected in time order and have not been tampered with; when a consignor information intelligent contract deploys consignor information blocks onto a block chain, a contract address is assigned to the consignor information blocks to be used for making calls when subsequently invoking the consignor information intelligent contract.
Obtaining identity login information of a consignor; calling the consignor information block on the blockchain to verify consignor identity login information, wherein the method comprises the following steps:
acquiring information on the identity card of the consignor by photographing or scanning; and calling the corresponding consignor information block according to the verification intelligent contract of the information access block chain on the consignor identity card, and performing decryption verification by using a private key.
The input sending information; will send a piece information generation and send a piece information block to be connected to the block chain, include:
adding or importing sender identity information; the sender identity information comprises a sender name, a sender gender, a sender mobile phone number, a sender identity card number and a sender address; encrypting the identity information of the sender by using a public key to generate a unique identity id as a key, wherein the real information content is used as a value; the sender identity information is written into a sender information block by calling a sender information intelligent contract on the block chain; and connecting the mail information block to the block chain.
The sender information intelligent contract is written by using a solidity language, an save method is defined in a sender information intelligent contract code, and the save method receives the unique identity id, the sender mobile phone number, the sender identity card number and the sender address parameter information of a sender to write the information into a new sender information block of the sender information block chain.
The identity authentication information of the sender is obtained; calling a mail sending information block on the block chain to carry out identity verification on the identity authentication information of the mail sender, wherein the identity verification comprises the following steps:
acquiring information on the identity card of the sender as identity authentication information of the sender by photographing or scanning; and calling the corresponding mail information block according to a verification intelligent contract of the information access block chain on the sender identity card, and performing decryption verification by using a private key.
The express bill number and the receiving information are generated together to be sent to the block and are connected to the block chain, and the method comprises the following steps:
the express bill number and the receiving information are written into a receiving and sending block by calling a storage receiving intelligent contract on a block chain; and connecting the receiving block to a block chain.
The intelligent contract for storing the addressees is compiled by using a solid language, and the intelligent contract is compiled and then deployed to a block chain to provide a calling address, so that a save method is defined for receiving an express bill number, a sender name, a sender mobile phone number, a sender identity card number, a sender address, an addressee name, an addressee mobile phone number and an addressee address; then written into a receiving and sending block and deployed on a block chain.
The invention adopts the encryption algorithm technology of the block chain to encrypt the authentication information, can solve the problem that sensitive authentication data is cracked and tampered, and ensures the data security and the trueness and the credibility.
According to the method, the data such as the sending information and the receiving information are linked up, so that historical data query cannot be tampered; the express can be traced through the data on the block chain, and links and responsible persons causing problems in the process of circulation are confirmed; each block in the block chain is stamped with a time stamp, each newly generated block is advanced in a time linear sequence to be sequentially linked and stored with data, and each block has a unique hash value and the hash value of the previous block, so that the blocks are not tampered while being connected in the time sequence.
The invention adopts a block chain intelligent contract technology, writes data into a block chain block by compiling an intelligent contract program, and verifies data identity information by using an intelligent contract.
The verification code A is generated according to the receiving information and sent to the receiver as a pickup certificate, then the information on the block chain is called according to the verification code A, the verification code B is generated by using a Hash algorithm, whether delivery is correct or not is confirmed according to the matching result of the verification codes A and B, the phenomenon that the delivery is falsely and wrongly received by irrelevant personnel is avoided, the mobile phone number of the receiver can be hidden, and personal information safety is protected.
Applying the consignment logistics management method to a plurality of clients; and adopting a distributed account book mode to take each client as a distributed node storage area block chain account book data. The invention adopts the block chain decentralized distributed account book technology, each client is used as a distributed node to store the verification information account book data, and the identity information of the consignor and the sender can still be verified by utilizing the node data of the client when the network is abnormal or the server cannot be connected.
Example two
In order to implement the method for block chain-based consignment logistics management according to the first embodiment, the present embodiment provides a block chain-based consignment logistics management apparatus, which is characterized in that: the method comprises the following steps:
the consignor information input module is used for inputting consignor information, generating consignor information blocks from the consignor information and connecting the consignor information blocks to the block chain;
the consignor login module is used for acquiring identity login information of the consignor; calling a consignor information block on the block chain to verify consignor identity login information;
the sender information input module is used for inputting the sending information, generating a sending information block from the sending information and connecting the sending information block to the block chain;
the sender authentication module is used for acquiring sender identity authentication information; calling a mail sending information block on the block chain to carry out identity verification on the identity authentication information of the mail sender;
the receiving and sending information generating module is used for acquiring receiving information; generating a receiving and sending block by the express bill number, the sending information and the receiving information, and connecting the receiving and sending block to a block chain; each receiving and sending block generates a unique hash value to enable the receiving and sending blocks to be directly linked according to the time sequence; the receiving information comprises a receiver name, a receiver mobile phone number, a receiving address and an express opening photo;
the delivery verification code generation module is used for inquiring a receiving and sending block on the block chain according to the express bill number and triggering a delivery intelligent contract on the block chain to acquire information of the receiving and sending block; encrypting the addressee name, the addressee address and the addressee mobile phone number in the receiving and sending block through a Hash algorithm to generate a verification code A, and sending the verification code A to the addressee mobile phone number;
and the pickup verification module is used for calling a block chain receiver verification intelligent contract according to the verification code A to verify the identity of the receiver: receiving verification codes A are received by the intelligent contract for receiving verification, express bill numbers in corresponding receiving and sending block information are extracted, and a verification code B is generated by encrypting the names, the addresses and the mobile phone numbers of the recipients corresponding to the express bill numbers by using a Hash algorithm; comparing authentication code a with authentication code B equally: if the verification code A is the same as the verification code B, the matching is successful;
the delivery confirmation module is used for marking the delivery state of the express as a delivery confirmation state and writing the delivery confirmation state into a new delivery state block; the delivery status blocks are connected to a block chain.
EXAMPLE III
The present embodiment is a consignment logistics management terminal, including a processor and a memory for storing an executable program of the processor, wherein: when the processor executes the program stored in the memory, the method for block chain-based consignment logistics management according to the first embodiment is implemented.
Example four
A storage medium storing a computer program, wherein the computer program, when executed by a processor, causes the processor to execute a block chain-based consignment logistics management method according to an embodiment.
The above embodiments are preferred embodiments of the present invention, but the present invention is not limited to the above embodiments, and any other changes, modifications, substitutions, combinations, and simplifications which do not depart from the spirit and principle of the present invention should be construed as equivalents thereof, and all such changes, modifications, substitutions, combinations, and simplifications are intended to be included in the scope of the present invention.

Claims (10)

1. A consignment logistics management method based on block chains is characterized in that: the method comprises the following steps:
inputting consignor information; generating a consignor information block from the consignor information and connecting the consignor information block to a block chain;
acquiring identity login information of a consignor; calling a consignor information block on the block chain to verify consignor identity login information;
recording the mail sending information; generating a sending information block by sending information, and connecting the sending information block to a block chain;
acquiring identity authentication information of a sender; calling a mail sending information block on the block chain to carry out identity verification on the identity authentication information of the mail sender;
acquiring receiving information; the receiving information comprises a receiver name, a receiver mobile phone number, a receiving address and an express opening photo; generating a receiving and sending block by the express bill number, the sending information and the receiving information, and connecting the receiving and sending block to a block chain; each receiving and sending block generates a unique hash value to enable the receiving and sending blocks to be directly linked according to the time sequence;
inquiring a receiving and sending block on the block chain according to the express bill number, and triggering a delivery intelligent contract on the block chain to acquire information of the receiving and sending block; encrypting the addressee name, the addressee address and the addressee mobile phone number in the receiving and sending block through a Hash algorithm to generate a verification code A, and sending the verification code A to the addressee mobile phone number;
calling a block chain receiving verification intelligent contract according to the verification code A to verify the identity of a receiver: receiving verification codes A are received by the intelligent contract for receiving verification, express bill numbers in corresponding receiving and sending block information are extracted, and a verification code B is generated by encrypting the names, the addresses and the mobile phone numbers of the recipients corresponding to the express bill numbers by using a Hash algorithm; comparing authentication code a with authentication code B equally: if the verification code A is the same as the verification code B, the matching is successful;
after matching is successful, the express delivery state is marked as a delivery confirmation state and is written into a new delivery state block; the delivery status blocks are connected to a block chain.
2. The block chain-based consignment logistics management method of claim 1, wherein: the information of the consignor is input; generating the consignor information block from the consignor information and connecting the consignor information block to the block chain, wherein the method comprises the following steps:
storing the entered information of the consignor in a database; the sender information comprises a sender mobile phone number, a sender identity card number, a sender address and a sender photo;
encrypting the consignor information by using a public key to generate a unique identity id as a key, and using the real information content as a value; writing the consignor information into a consignor information block by calling the consignor information intelligence contract on the block chain; connecting the consignor information block to a block chain;
obtaining identity login information of a consignor; calling the consignor information block on the blockchain to verify consignor identity login information, wherein the method comprises the following steps:
acquiring information on the identity card of the consignor by photographing or scanning; and calling the corresponding consignor information block according to the verification intelligent contract of the information access block chain on the consignor identity card, and performing decryption verification by using a private key.
3. The block chain-based consignment logistics management method according to claim 2, wherein: before storing the entered consignor information in the database, further comprising: adding or importing express company data information under a logistics organization; the express company information comprises a name, an address, a contact telephone, a responsible person telephone, an affiliated institution and a business license; allocating a management account to each express company;
and the recorded information of the consignor is stored in a database corresponding to the management account of the express company.
4. The block chain-based consignment logistics management method of claim 1, wherein: the input sending information; will send a piece information generation and send a piece information block to be connected to the block chain, include:
adding or importing sender identity information; the sender identity information comprises a sender name, a sender gender, a sender mobile phone number, a sender identity card number and a sender address; encrypting the identity information of the sender by using a public key to generate a unique identity id as a key, wherein the real information content is used as a value; the sender identity information is written into a sender information block by calling a sender information intelligent contract on the block chain; connecting the sending information block to a block chain;
the identity authentication information of the sender is obtained; calling a mail sending information block on the block chain to carry out identity verification on the identity authentication information of the mail sender, wherein the identity verification comprises the following steps:
acquiring information on the identity card of the sender as identity authentication information of the sender by photographing or scanning; and calling the corresponding mail information block according to a verification intelligent contract of the information access block chain on the sender identity card, and performing decryption verification by using a private key.
5. The block chain-based consignment logistics management method of claim 1, wherein: the express bill number and the receiving information are generated together to be sent to the block and are connected to the block chain, and the method comprises the following steps:
the express bill number and the receiving information are written into a receiving and sending block by calling a storage receiving intelligent contract on a block chain; and connecting the receiving block to a block chain.
6. The block chain-based consignment logistics management method of claim 1, wherein: the intelligent contract for storing the addressees is compiled by using a solid language, and the intelligent contract is compiled and then deployed to a block chain to provide a calling address, so that a save method is defined for receiving an express bill number, a sender name, a sender mobile phone number, a sender identity card number, a sender address, an addressee name, an addressee mobile phone number and an addressee address; then written into a receiving and sending block and deployed on a block chain.
7. The block chain-based consignment logistics management method of claim 1, wherein: applying the consignment logistics management method to a plurality of clients; and adopting a distributed account book mode to take each client as a distributed node storage area block chain account book data.
8. The utility model provides a consignment logistics management device based on block chain which characterized in that: the method comprises the following steps:
the consignor information input module is used for inputting consignor information, generating consignor information blocks from the consignor information and connecting the consignor information blocks to the block chain;
the consignor login module is used for acquiring identity login information of the consignor; calling a consignor information block on the block chain to verify consignor identity login information;
the sender information input module is used for inputting the sending information, generating a sending information block from the sending information and connecting the sending information block to the block chain;
the sender authentication module is used for acquiring sender identity authentication information; calling a mail sending information block on the block chain to carry out identity verification on the identity authentication information of the mail sender;
the receiving and sending information generating module is used for acquiring receiving information; generating a receiving and sending block by the express bill number, the sending information and the receiving information, and connecting the receiving and sending block to a block chain; each receiving and sending block generates a unique hash value to enable the receiving and sending blocks to be directly linked according to the time sequence; the receiving information comprises a receiver name, a receiver mobile phone number, a receiving address and an express opening photo;
the delivery verification code generation module is used for inquiring a receiving and sending block on the block chain according to the express bill number and triggering a delivery intelligent contract on the block chain to acquire information of the receiving and sending block; encrypting the addressee name, the addressee address and the addressee mobile phone number in the receiving and sending block through a Hash algorithm to generate a verification code A, and sending the verification code A to the addressee mobile phone number;
and the pickup verification module is used for calling a block chain receiver verification intelligent contract according to the verification code A to verify the identity of the receiver: receiving verification codes A are received by the intelligent contract for receiving verification, express bill numbers in corresponding receiving and sending block information are extracted, and a verification code B is generated by encrypting the names, the addresses and the mobile phone numbers of the recipients corresponding to the express bill numbers by using a Hash algorithm; comparing authentication code a with authentication code B equally: if the verification code A is the same as the verification code B, the matching is successful;
the delivery confirmation module is used for marking the delivery state of the express as a delivery confirmation state and writing the delivery confirmation state into a new delivery state block; the delivery status blocks are connected to a block chain.
9. A consignment logistics management terminal comprising a processor and a memory for storing processor executable programs, wherein: the processor, when executing a program stored in the memory, implements the block chain-based consignment logistics management method of any one of claims 1-7.
10. A storage medium storing a computer program, which when executed by a processor causes the processor to execute the block chain based consignment logistics management method of any one of claims 1-7.
CN202011337443.1A 2020-11-25 2020-11-25 Block chain-based consignment logistics management method, device, terminal and storage medium Pending CN112270636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011337443.1A CN112270636A (en) 2020-11-25 2020-11-25 Block chain-based consignment logistics management method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011337443.1A CN112270636A (en) 2020-11-25 2020-11-25 Block chain-based consignment logistics management method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112270636A true CN112270636A (en) 2021-01-26

Family

ID=74340369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011337443.1A Pending CN112270636A (en) 2020-11-25 2020-11-25 Block chain-based consignment logistics management method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112270636A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112967425A (en) * 2021-02-03 2021-06-15 中国工商银行股份有限公司 Anti-unpacking monitoring method and device
CN113392424A (en) * 2021-08-18 2021-09-14 中关村科学城城市大脑股份有限公司 Logistics information privacy protection method and system based on block chain

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103490987A (en) * 2013-09-22 2014-01-01 东莞市依时利科技有限公司 Self-service delivery system and identity authentication method thereof
CN105354693A (en) * 2015-11-04 2016-02-24 中南大学 Logistics industry-oriented system and method for cascade protection of user privacy information
CN106022681A (en) * 2016-05-13 2016-10-12 杭州云象网络技术有限公司 Logistics tracking method based on block chain
CN107947922A (en) * 2017-11-29 2018-04-20 中国科学院合肥物质科学研究院 A kind of digital archives management method and system based on block chain technology
CN107994991A (en) * 2017-10-31 2018-05-04 深圳市轱辘车联数据技术有限公司 A kind of data processing method, data processing server and storage medium
CN110298610A (en) * 2019-05-05 2019-10-01 江苏一乙生态农业科技有限公司 A kind of Express Logistics block catenary system and its operation method
CN110930196A (en) * 2019-11-27 2020-03-27 山东爱城市网信息技术有限公司 Block chain-based electronic card issuing method, device and medium
CN111915300A (en) * 2020-08-03 2020-11-10 深圳市得分科技有限公司 Method, system and storage medium for completing digital sign-in based on block chain

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103490987A (en) * 2013-09-22 2014-01-01 东莞市依时利科技有限公司 Self-service delivery system and identity authentication method thereof
CN105354693A (en) * 2015-11-04 2016-02-24 中南大学 Logistics industry-oriented system and method for cascade protection of user privacy information
CN106022681A (en) * 2016-05-13 2016-10-12 杭州云象网络技术有限公司 Logistics tracking method based on block chain
CN107994991A (en) * 2017-10-31 2018-05-04 深圳市轱辘车联数据技术有限公司 A kind of data processing method, data processing server and storage medium
CN107947922A (en) * 2017-11-29 2018-04-20 中国科学院合肥物质科学研究院 A kind of digital archives management method and system based on block chain technology
CN110298610A (en) * 2019-05-05 2019-10-01 江苏一乙生态农业科技有限公司 A kind of Express Logistics block catenary system and its operation method
CN110930196A (en) * 2019-11-27 2020-03-27 山东爱城市网信息技术有限公司 Block chain-based electronic card issuing method, device and medium
CN111915300A (en) * 2020-08-03 2020-11-10 深圳市得分科技有限公司 Method, system and storage medium for completing digital sign-in based on block chain

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
梁文馨: ""基于区块链技术的第三方物流服务质量改进研究"", 《物流技术与应用》, vol. 25, no. 243, 10 February 2020 (2020-02-10), pages 3 - 5 *
王乃洲;金连文;高兵;金晓峰;: "基于区块链技术的身份认证与存储方法研究", 现代信息科技, no. 08, 25 April 2020 (2020-04-25) *
陈齐 等: ""区块链技术在新型网络购物平台设计中的应用"", 《武汉理工大学学报(信息与管理工程版》, vol. 40, no. 2, 30 April 2018 (2018-04-30), pages 3 - 4 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112967425A (en) * 2021-02-03 2021-06-15 中国工商银行股份有限公司 Anti-unpacking monitoring method and device
CN112967425B (en) * 2021-02-03 2023-03-28 中国工商银行股份有限公司 Anti-unpacking monitoring method and device
CN113392424A (en) * 2021-08-18 2021-09-14 中关村科学城城市大脑股份有限公司 Logistics information privacy protection method and system based on block chain

Similar Documents

Publication Publication Date Title
CN107888557B (en) Method and system for generating protocol file
CN103679436B (en) A kind of electronic contract security system and method based on biological information identification
CN104156862A (en) Wechat-platform-based two-dimensional code anti-fake and anti-channel conflict inquiry system and method
JP6880055B2 (en) Message anti-counterfeiting implementation method and device
CN101022339A (en) Electronic sign stamp identifying method combined with digital centifi cate and stamp
EP3740924A1 (en) Methods, application server, block chain node and media for logistics tracking and source tracing
CN105007301A (en) Electronic evidence processing system and method based on social platform
CN113128950B (en) Enterprise chain code service platform
EP2562958A1 (en) Digital signature method and apparatus
EP3543891A1 (en) A computer implemented method and a system for tracking of certified documents lifecycle and computer programs thereof
US20200344046A1 (en) Product Tracking System and Method
CN112270636A (en) Block chain-based consignment logistics management method, device, terminal and storage medium
CN110932859A (en) User information processing method, device and equipment and readable storage medium
CN111491024A (en) Block chain-based bank letter method, system, terminal and storage medium
WO2015154482A1 (en) One-time certificate anti-counterfeiting tracing system based on mobile terminal and rfid
CN111488372A (en) Data processing method, device and storage medium
CN110689348B (en) Revenue verification method, device, terminal and medium based on alliance chain
CN111753278A (en) Comprehensive management system and method for electronic copyright authentication certificate
CN104539636A (en) Video evidence service system
CN112163870B (en) Information management method based on block chain, analysis node and rework platform
CN113761578A (en) Document true checking method based on block chain
CN110493011B (en) Block chain-based certificate issuing management method and device
CN112884484A (en) Enterprise identity authentication method and system based on block chain
CN110175471B (en) File storage method and system
CN111369364A (en) Electronic signature method and device based on super counter

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