Import and export warehouse shipment control method and system based on blockchain

By using blockchain technology to conduct shipment review and record storage in import and export warehousing management, the problems of paper documents being easily forged and electronic data being easily tampered with in the existing technology are solved, and the authenticity of shipment review and data security are realized.

CN117764496BActive Publication Date: 2025-04-29HANGZHOU HUILIAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311806802.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2025-04-29
Estimated Expiration
2043-12-26

AI Technical Summary

Technical Problem

The existing import and export warehousing management plans rely on paper documents, and there are cases of forging bills of lading or warehouse receipts to pick up goods, resulting in a risk of loss of equity. Electronic solutions cannot effectively solve the problem of low security because data is easily tampered with.

Method used

The blockchain-based import and export warehouse shipment control method and system is adopted to conduct shipment audits through the blockchain, generate tamper-proof delivery operation documents to ensure the authenticity and credibility of the audit process, and upload the shipment information to the blockchain to store it to ensure the integrity of the record.

Benefits of technology

It realizes the immutable and authenticity of the shipment review process, guarantees the authenticity of the outbound operation documents, effectively protects the rights and interests of relevant entities, and enhances the security of data through the decentralization characteristics of blockchain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117764496B_ABST
    Figure CN117764496B_ABST
Patent Text Reader

Abstract

One or more embodiments of this specification relate to the field of information technology, and specifically to a method and system for managing and controlling shipments of import and export warehouses based on blockchain. The management and control method includes: receiving a request for warehousing; generating identity credentials for each shipment reviewer and distributing them to the corresponding shipment reviewer; generating warehousing information based on the warehousing request and identity credentials and uploading it to the blockchain; receiving a request for shipment, querying the blockchain to obtain shipment approval records and historical shipment information; when the shipment approval record is verified, generating a shipment operation document and shipment information, and uploading the shipment information to the blockchain. The system includes: a request module, a credential module, an warehousing module, and an shipment module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of this specification relate to the field of information technology, and specifically to a blockchain-based import and export warehouse shipment control method and system. Background Art

[0002] Import and export warehouses all use paper document management solutions, and can pick up goods based on paper bills of lading or warehouse receipts. There are cases where forged bills of lading or warehouse receipts are used to pick up goods, which brings huge equity loss risks to import and export warehouses and integrated supply chain service providers. Although the industry has proposed an electronic import and export warehouse management solution, electronic data is inherently easy to be tampered with and forged, and it still cannot solve the current problem of low security in import and export warehouses.

[0003] Blockchain is a chain of blocks, each of which stores certain information. They are connected into a chain in the order of their generation. This chain is stored in all servers. These servers are called nodes in the blockchain system, and they provide storage space and computing power support for the entire blockchain system. If you want to modify the information in the blockchain, you must obtain the consent of more than half of the nodes and modify the information in all nodes. These nodes are usually in the hands of different entities, so it is extremely difficult to tamper with the information in the blockchain. Compared with traditional networks, blockchain has two core characteristics: one is that data is difficult to tamper with, and the other is decentralization. Based on these two characteristics, the information recorded in the blockchain is more authentic and reliable, which can help solve the problem of people's distrust of each other. However, there is currently a lack of application of blockchain technology in the entry and exit verification of import and export warehousing. Summary of the invention

[0004] One or more embodiments of this specification describe a blockchain-based import and export warehouse shipment control method and system, which can ensure the authenticity and credibility of import and export warehouse shipment control credentials, and help protect the rights and interests of related parties.

[0005] In a first aspect, the embodiments of this specification provide a blockchain-based import and export warehouse shipment control method, which is executed by an import and export warehouse control device, including the steps of:

[0006] Receive a warehousing request, the warehousing request includes a cargo information and a shipment review configuration, the cargo information records the cargo name and quantity, and the shipment review configuration records the consignee, the shipment review party, and the review order;

[0007] Generate identity credentials for each shipping auditor and distribute them to the corresponding shipping auditor;

[0008] Generate entry information based on entry request and identity credentials and upload to blockchain;

[0009] Receive a shipment request, query the blockchain to obtain shipment approval records and historical shipment information, the shipment approval records are uploaded to the blockchain by the shipment reviewer, and the shipment approval records include the shipment quantity signed by the corresponding shipment reviewer;

[0010] When the shipment approval record is verified, the shipment operation document and shipment information are generated based on the warehouse entry information, the historical shipment information, the consignee, the name of the goods and the shipment quantity, and the shipment information is uploaded to the blockchain.

[0011] In the second aspect, the embodiment of this specification provides an import and export warehouse shipment control system based on blockchain, including:

[0012] A request module is used to receive a warehousing request, wherein the warehousing request includes a cargo information and a shipment review configuration, wherein the cargo information records the cargo name and quantity, and the shipment review configuration records the consignee, the shipment reviewer, and the review order;

[0013] The credential module is used to generate identity credentials for each shipping auditor and distribute them to the corresponding shipping auditor;

[0014] The storage module is used to generate storage information and upload it to the blockchain based on the storage request and identity credentials;

[0015] The shipment request module is used to receive the shipment request and query the blockchain to obtain the shipment approval record and historical shipment information. The shipment approval record is uploaded to the blockchain by the shipment reviewer and includes the shipment quantity signed by the corresponding shipment reviewer.

[0016] The outbound module is used to generate an outbound operation document and shipping information based on the incoming information, historical shipping information, consignee, cargo name and shipment quantity when the shipment approval record is verified, and upload the shipment information to the blockchain.

[0017] In a third aspect, an embodiment of this specification provides an electronic device, including a processor and a memory;

[0018] The processor is connected to the memory;

[0019] The memory is used to store executable program code;

[0020] The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method described in any one of the above aspects.

[0021] In a fourth aspect, embodiments of this specification provide a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method described in one or more embodiments of this specification is implemented.

[0022] The beneficial effects brought by the technical solutions provided by some embodiments of this specification include at least:

[0023] In one or more embodiments of this specification, the provided import and export warehouse shipment control method performs shipment audit through blockchain, ensuring that the audit process cannot be tampered with and is authentic and reliable, thereby ensuring the authenticity of the generated warehouse operation documents, and effectively protecting the rights and interests of relevant entities. By uploading the shipment information to the blockchain for storage, the integrity and credibility of the shipment process records are guaranteed, and the blockchain naturally forms evidence for evidence storage. Through the improved shipment audit scheme, it is technically realized that the audit order will be strictly enforced, and the rights and interests of various entities in the import and export warehouse shipment audit are protected with the help of the audit order.

[0024] Other features and advantages of one or more embodiments of the present specification will be further disclosed in the following detailed description and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of this specification, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1 A schematic diagram of an application scenario of the shipment control method provided in the embodiments of this specification.

[0027] Figure 2 A flow chart of the shipment control method provided in the embodiments of this specification.

[0028] Figure 3 A schematic diagram of the review order provided for the embodiments of this specification.

[0029] Figure 4 A flowchart of a method for generating and distributing identity credentials provided in an embodiment of this specification.

[0030] Figure 5 This is a flowchart of a method for verifying shipment approval records provided in an embodiment of this specification.

[0031] Figure 6 This is a schematic diagram of a valid shipment approval record provided in an embodiment of this specification.

[0032] Figure 7 A flowchart of a method for generating an outbound operation document provided in an embodiment of this specification.

[0033] Figure 8A schematic diagram of a shipment control system provided in an embodiment of this specification.

[0034] Fig. 9 A schematic diagram of a credential module provided in an embodiment of this specification.

[0035] Fig.10 This is a schematic diagram of the outbound module provided in the embodiment of this specification.

[0036] Fig.11 A schematic diagram of an electronic device provided in an embodiment of this specification.

[0037] Among them: 10. Warehouse operator, 11. Warehouse, 20. Industrial operator, 100. Request module, 200. Credential module, 201. Key group submodule, 202. Replacement submodule, 203. Distribution submodule, 300. Warehousing module, 400. Outbound request module, 500. Outbound module, 501. Approval submodule, 502. Document submodule, 5011. Sorting unit, 5012. Signature verification unit, 5013. Judgment unit, 1100. Electronic device, 1101. Processor, 1102. Communication bus, 1103. User interface, 1104. Network interface, 1105. Memory. DETAILED DESCRIPTION

[0038] The following is an explanation and description of the technical solutions of the embodiments of this specification in conjunction with the drawings of the embodiments of this specification, but the following embodiments are only preferred embodiments of this specification, not all. Based on the embodiments in the implementation mode, other embodiments obtained by those skilled in the art without creative work are all within the scope of protection of this specification.

[0039] The terms "first", "second", "third", etc. in the description and claims of this specification and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0040] In the following description, terms such as "inside", "outside", "up", "down", "left", "right", etc. that indicate directions or positional relationships are only used to facilitate the description of the embodiments and simplify the description, and do not indicate or imply that the referred device or element must have a specific direction, be constructed and operate in a specific direction, and therefore should not be understood as a limitation of this specification.

[0041] The data involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection of relevant data complies with the relevant laws, regulations and standards of relevant countries and regions.

[0042] Before introducing the technical solutions of the embodiments of this specification, the application scenarios of one or more embodiments of this specification are introduced.

[0043] Glossary

[0044] Public-private key pair

[0045] The public-private key pair referred to in this specification involves the public key and private key in an asymmetric encryption algorithm. An asymmetric encryption algorithm refers to an encryption algorithm in which the encryption key and decryption key are different, or in other words, the encryption algorithm of one key cannot be derived from the other key. Asymmetric key is also called public key encryption, which uses two mathematically related keys to encode information. In this system, one of the keys is called the public key, which can be sent at will to anyone who wants to communicate securely with the key holder. The public key is used to encrypt information. The second key is the private key, which belongs to the key holder. The key holder uses the private key to decrypt the received information. Exemplary algorithms include the RSA algorithm, the DSA algorithm, the ECC algorithm, and the DH algorithm.

[0046] Industrial business

[0047] The industrial business 20 referred to in this specification refers to the buyer entity that purchases imported goods. Usually, after the supply chain integrator issues a letter of credit, the import trade business is carried out, generally referring to domestic traders or factories.

[0048] Supply Chain Integrator

[0049] The supply chain integrator referred to in this specification is involved in providing import trade letter of credit issuance services to industrial merchants 20.

[0050] Freight Forwarders

[0051] The freight forwarders referred to in this specification are involved in providing freight forwarding services for trade business for import business.

[0052] Warehouse

[0053] The warehouse operator 10 referred to in this specification refers to a market entity that provides import and export warehouses 11 and storage services in the importing country.

[0054] Application Scenario Introduction

[0055] Import and export trade is also called international trade. The import and export trade process mainly includes: quotation, ordering, payment method, stock preparation, packaging, customs clearance procedures, loading, transportation insurance, bill of lading and settlement of exchange. The import and export trade process can also be summarized into three stages: transaction negotiation, contract performance and delivery. In the transaction negotiation stage, the industrial trader 20 first sets the required conditions and makes inquiries to the exporter or expresses its purchase intention through an intermediary, and the exporter directly proposes to the industrial trader 20 for negotiation; then the exporter makes an offer to the industrial trader 20, and the industrial trader 20 counter-offers, and the two parties agree to "accept" through letters and telegrams, completing the offer, and then the transaction is completed. The two parties have completed the agreement on the terms of sale and purchase, exchanged letters or signed contracts, and completed the sale and purchase procedures. During the contract performance stage, the work of the industrial business 20 is to apply for import licenses, import visas, open letters of credit, negotiate for ships under FOB delivery terms, and insure marine insurance under FOB or C&F terms; the work of the exporter is to prepare goods, domestic transportation, negotiate for ship space under C&F or CIF terms, insure marine insurance under CIF terms, sign export contracts, conduct commodity inspections and customs clearance. During the delivery stage, the exporter shall prepare the shipping documents according to the provisions of the letter of credit and settle the payment with the designated bank within the time specified in the letter of credit, or ask the bank to collect the payment (D / P, D / A); the industrial business 20 shall prepare the delivery documents, prepare for customs clearance and delivery, and handle notarization inspection and other matters.

[0056] After the buyer and seller agree and sign the import and export contract, they need to complete the payment and delivery. The most commonly used method in the payment stage is the letter of credit. A letter of credit is a written document issued by a bank to an exporter at the request of the importer to guarantee the responsibility of paying the purchase price. In the letter of credit, the bank authorizes the exporter to issue a bill of exchange of no more than the specified amount with the bank or its designated bank as the payee under the conditions stipulated in the letter of credit, and to attach shipping documents as required, and to collect the goods at the designated place on time. The process of letter of credit operation is briefly described as follows: (1) The buyer and seller stipulate in the trade contract that payment shall be made by documentary letter of credit; (2) The buyer notifies the local bank (issuing bank) to open a letter of credit with the seller as the beneficiary; (3) The issuing bank requests another bank to notify or confirm the letter of credit; (4) The notifying bank notifies the seller that the letter of credit has been issued; (5) After the seller receives the letter of credit and ensures that it can fulfill the terms and conditions of the letter of credit, it ships the goods; (6) After the seller ships the goods, it retrieves the original bill of lading from the shipping company and prepares other documents; (7) The seller submits the documents to the designated bank, which may be the issuing bank or the paying, accepting or negotiating bank specified in the letter of credit; (8) The bank reviews the documents in accordance with the letter of credit. If the documents comply with the provisions of the letter of credit, the bank will pay, accept or negotiate in accordance with the provisions of the letter of credit; (9) A bank other than the issuing bank will send the documents to the issuing bank; (10) After the issuing bank examines the documents and finds them correct, it will reimburse the bank that has paid, accepted or negotiated in accordance with the letter of credit in the form agreed in advance; (11) The issuing bank notifies the buyer to pay for the bill of lading and will hand over the bill after the buyer has paid; (12) The buyer collects the goods from the shipping company with the documents.

[0057] When the goods are transported by the freight forwarder to the import and export warehouse agreed by the buyer, the buyer needs to pay the issuing bank, redeem the bill of lading, and pick up the goods from the import and export warehouse based on the bill of lading. The import and export warehouse is a warehousing outsourcing service business specially established for the import and export industry. This warehousing service is different from ordinary warehousing services. The warehouse facilities must be convenient for the consolidation, loading, commodity inspection, and inspection of import and export goods. The warehouse should be located at a major traffic intersection, close to the dock, container port, and air cargo airport.

[0058] Please see attached Figure 1 , the industrial trader 20 can not only settle the payment for goods in one go, but also settle it in multiple times. Each time, according to the amount settled, the corresponding share of goods can be withdrawn. As the payment is settled, the imported goods will gradually be shipped out of the warehouse, thus realizing one-time import and export. The bill of lading is the voucher used by the industrial trader 20 to handle the procedures such as picking up goods. When shipping goods by sea, the industrial trader 20 must hold the original bill of lading, packing list, and invoice to pick up the goods.

[0059] At present, import and export warehouses all adopt the management scheme of paper documents. Goods can be picked up based on paper bills of lading or warehouse receipts. There are cases where bills of lading or warehouse receipts are forged to pick up goods, which brings huge losses to import and export warehouses and industry merchants. Although the industry has proposed an electronic import and export warehouse management scheme, electronic data is inherently easy to be tampered with and forged, and still cannot solve the current problem of low security of import and export warehouses. To this end, this specification provides a method and system for import and export warehouse shipment control based on blockchain.

[0060] First, this manual provides a blockchain-based import and export warehouse shipment control method, which is executed by the import and export warehouse control device. Figure 2 , including the steps of:

[0061] Step 102) receiving a warehousing request, wherein the warehousing request includes a cargo information and a shipment review configuration, wherein the cargo information records the cargo name and quantity, and the shipment review configuration records the consignee, the shipment reviewer, and the review order;

[0062] Step 104) generating identity credentials for each shipping auditor and distributing them to the corresponding shipping auditor;

[0063] Step 106) Based on the storage request and identity credentials, generate storage information and upload it to the blockchain;

[0064] Step 108) receiving a shipment request, querying the blockchain to obtain shipment approval records and historical shipment information, wherein the shipment approval records are uploaded to the blockchain by the shipment reviewer, and the shipment approval records include shipment quantities signed by the corresponding shipment reviewer;

[0065] Step 110) When the shipment approval record is verified, the shipment operation document and shipment information are generated based on the warehousing information, the historical shipment information, the consignee, the name of the goods and the shipment quantity, and the shipment information is uploaded to the blockchain.

[0066] Please see attached Figure 3 , Figure 3 An exemplary shipment reviewer and review order is shown. Specifically, the pick-up application is uploaded by the industrial merchant 20 after repayment, the pick-up application includes the review signatures of the supply chain integrator and the freight forwarder, the delivery instruction is uploaded by the supply chain integrator, and the delivery instruction includes the review signatures of the industrial merchant 20, the freight forwarder, and the warehouse merchant 10. That is, in this embodiment, the shipment reviewer includes the supply chain integrator and the freight forwarder, and the shipment approval record needs to include the supply chain integrator's approval of the pick-up application, the freight forwarder's pick-up application, the supply chain integrator's approval of the delivery instruction, and the freight forwarder's delivery instruction.

[0067] When the goods are shipped out of the import and export warehouse, the industrial merchant 20 needs to issue a pick-up application, and the pick-up application will take effect after being reviewed and confirmed by the supply chain integrator and the freight forwarder. Then the supply chain integrator will issue a delivery instruction, and the delivery instruction needs to be reviewed and confirmed by the industrial merchant 20, the freight forwarder and the warehouse 10 before it takes effect. After the delivery instruction takes effect, the delivery is executed, and the delivery execution information is stored. This embodiment provides a solution that not only makes the delivery operation free from paper documents, but also realizes the application, review and execution of delivery in an electronic way. The management and control efficiency of import and export warehouses is improved, and at the same time, the blockchain is used to realize the storage of delivery applications and delivery instructions, and at the same time, the records reviewed and confirmed by the industrial merchant 20, the freight forwarder and the warehouse 10 are stored. A credible operation record is achieved, so that the operation behavior of each party can be truly recorded, forming an effective credential, and preventing the forgery of bills of lading and warehouse receipts.

[0068] On the other hand, in another embodiment, please refer to the attached Figure 4 The method of generating identity credentials for each shipping auditor and distributing them to the corresponding shipping auditor comprises the steps of:

[0069] Step 202) Generate multiple public and private key pairs and include them in a key group, generate multiple key groups, the number of public and private key pairs included in the key group corresponds to the number of shipment review parties, and sort the public and private key pairs in the key group according to the review order;

[0070] Step 204) Starting from the second public-private key pair, the quotient of each public key and the previous public key is calculated and recorded as a replacement public key;

[0071] Step 206) Distribute the first public-private key pair to the first shipment reviewer in the review order, and send the replacement public key and the corresponding private key to subsequent shipment reviewers;

[0072] Step 208) The public key of the first shipment reviewer in the review order is included in the warehousing information, and the replacement public key is included in the shipment approval record.

[0073] Generate multiple key groups. After each outbound operation document and shipment information are generated, the key in the next key group is replaced to verify the identity of the shipment reviewer for the next shipment.

[0074] Asymmetric encryption algorithms require two keys for encryption and decryption, which are a public key and a private key. The public key is referred to as the public key, and the private key is referred to as the private key. Using the private key to encrypt the predetermined content is called a signature, which is an electronic and irrefutable way of proving identity. The corresponding public key is used to verify the signature.

[0075] On the other hand, in another embodiment, please refer to the attached Figure 5 , the method for verifying the shipment approval record includes:

[0076] Step 302) Sort the shipment approval records in the order of time of uploading the blockchain and record them as a sequence to be verified;

[0077] Step 304) sequentially verifying the signatures of the shipment reviewer of the shipment approval records contained in the sequence to be verified, and recording the shipment approval records that pass the signature verification as valid shipment approval records;

[0078] Step 306) When the valid shipment approval records included in the sequence to be verified cover all shipment review parties included in the review order, it is determined that the shipment approval records have passed the verification.

[0079] After receiving the pick-up application sent by the industrial merchant 20, notify the corresponding supply chain integrator and freight forwarder to view and review it, and then the supply chain integrator and freight forwarder will sign the review of the pick-up application. After the review signatures are collected, the pick-up application is associated with the corresponding review signature and uploaded to the blockchain for storage according to the request of the industrial merchant 20. After receiving the outbound delivery instruction sent by the supply chain integrator, notify the corresponding industrial merchant 20, freight forwarder and warehouser 10 to view and review it, and then the industrial merchant 20, freight forwarder and warehouser 10 will sign the review of the outbound delivery instruction. After the review signatures are collected, the outbound delivery instruction is associated with the corresponding review signature and uploaded to the blockchain for storage according to the request of the supply chain integrator. At this time, the industrial merchant 20 needs to verify the types of outbound goods, the quantity of outbound goods and the outbound import and export warehouses involved in the outbound delivery instruction, and then sign after verification. If the verification is inconsistent, no signature will be made, and the platform will notify the supply chain integrator that the outbound delivery instruction has not been reviewed and require the supply chain integrator to re-initiate the outbound delivery instruction. Please refer to the attachment. Figure 6 The shipment approval record conducted in the review order forms a valid shipment approval record. The shipment approval record not conducted in the review order forms an invalid shipment approval record.

[0080] On the other hand, in another embodiment, the method for verifying the signature of the shipment reviewer of the shipment approval record comprises the steps of:

[0081] Starting from the first shipment approval record in the sequence to be verified, traverse each shipment approval record, and perform the following steps for each shipment approval record:

[0082] Calculate the product of the substitute public key included in the current shipment approval record and the substitute public key of the shipment approval record that is sorted first, and then multiply it by the public key included in the warehousing information, and record it as the current public key;

[0083] The signature contained in the current shipment approval record is decrypted using the current public key. When the decryption is successful to obtain the shipment quantity, it is determined that the signature verification of the shipment reviewer of the current shipment approval record is passed. When the decryption is unsuccessful, the current shipment approval record is removed from the sequence to be verified.

[0084] On the other hand, in another embodiment, the tracking information includes the replacement public key. The private key and the public key of the asymmetric encryption algorithm are both integers. For example, the secp256k1 algorithm in the ECC algorithm generates a private key with a length of 256 bits and a public key with a length of 512 bits. The quotient generated by dividing the public key has decimal places, that is, the replacement public key has a decimal place. The replacement public key is kept with enough decimal places so that the product of the replacement public key and the previous public key can get the correct public key after rounding the decimal part.

[0085] When this implementation is adopted, when the previous shipment approval record is not uploaded, the corresponding replacement public key is not disclosed, so that the corresponding public key of the next shipment approval record cannot be calculated, resulting in that even if the corresponding shipment reviewer has uploaded the shipment approval record, it cannot be verified because there is no public key. Therefore, the jump change of shipment approval is technically prevented. That is, when one of the shipment reviewers does not upload the shipment approval record, the subsequent shipment reviewers in the review order cannot upload the valid shipment approval record technically.

[0086] On the other hand, in another embodiment, please refer to the attached Figure 7 The method for generating a warehouse outbound operation document and shipping information based on the warehouse inbound information, the historical shipping information, the consignee, the name of the goods and the shipping quantity includes:

[0087] Step 402) Calculate the current remaining quantity of goods based on the warehousing information and the historical shipping information;

[0088] Step 404) Take the smaller value between the current remaining quantity of goods and the shipment quantity as the quantity of this shipment;

[0089] Step 406) Generate a delivery operation document and delivery information based on the pick-up party, the name of the goods and the quantity of this shipment.

[0090] On the other hand, this manual provides an import and export warehouse shipment control system based on blockchain. Please refer to the attached Figure 8 ,include:

[0091] The request module 100 is used to receive a warehousing request, wherein the warehousing request includes a cargo information and a shipment review configuration, wherein the cargo information records the cargo name and quantity, and the shipment review configuration records the consignee, the shipment reviewer, and the review order;

[0092] Credential module 200, used to generate identity credentials for each shipment reviewer and distribute them to the corresponding shipment reviewer;

[0093] The storage module 300 is used to generate storage information and upload it to the blockchain based on the storage request and identity credentials;

[0094] The shipment request module 400 is used to receive the shipment request, query the blockchain to obtain the shipment approval record and historical shipment information, the shipment approval record is uploaded to the blockchain by the shipment reviewer, and the shipment approval record includes the shipment quantity signed by the corresponding shipment reviewer;

[0095] The outbound module 500 is used to generate an outbound operation document and shipment information based on the incoming information, the historical shipment information, the consignee, the name of the goods and the shipment quantity when the shipment approval record is verified, and upload the shipment information to the blockchain.

[0096] In this embodiment, the import and export warehouse shipment control system adopts a B / S architecture and is implemented through a web page displayed by a browser. Or it is implemented through a server and a mobile APP. The mobile APP can be used conveniently and has higher security.

[0097] The import and export warehouse shipment control system provided in this embodiment is for the supply chain integrator to submit warehousing instructions, and helps the industrial merchants 20 and freight forwarders to implement the review and signature of the warehousing instructions. The industrial merchants 20, supply chain integrators, freight forwarders and warehouse merchants 10 can log in to the platform provided in this embodiment through the pre-registered account and password. The platform adopts B / S architecture to interact in the form of web pages, which can facilitate the operation of industrial merchants 20, supply chain integrators, freight forwarders and warehouse merchants 10. The import and export warehouse shipment control system receives the warehousing instructions submitted by the supply chain integrator, notifies the corresponding industrial merchants 20 and freight forwarders to view and review, and then receives the signatures of the industrial merchants 20 and freight forwarders. After the review signatures are collected, the platform uploads the warehousing instructions to the blockchain storage in accordance with the request of the supply chain integrator, and performs similar operations on the warehousing application.

[0098] After receiving the warehousing instructions sent by the supply chain integrator and the warehousing application sent by the freight forwarder, the warehousing instructions and the warehousing application are encrypted and uploaded to the blockchain for storage. When displaying the warehousing instructions to the corresponding industrial merchants 20 and freight forwarders, the corresponding encrypted warehousing instructions and warehousing applications are downloaded from the blockchain, the decrypted warehousing instructions are displayed to the corresponding industrial merchants 20 and freight forwarders, and the decrypted warehousing requests are displayed to the corresponding industrial merchants 20, freight forwarders and warehousers 10.

[0099] The credential module 200 also includes an identity verification submodule. The identity verification information includes the import and export contract number, the identity signature and the viewing authorization code. The import and export contract number is the contract number of the import and export contract corresponding to the warehousing instruction and the warehousing application. The identity signature is the signature of the name of the industrial merchant 20, the freight forwarder or the warehouse merchant 10 using their own private keys. The viewing authorization code of the warehousing instruction is provided by the supply chain integrator to the industrial merchant 20 and the freight forwarder. The viewing authorization code of the warehousing application is provided by the freight forwarder to the industrial merchant 20, the freight forwarder and the warehouse merchant 10. The identity verification submodule verifies whether the import and export contract number, the identity signature and the viewing authorization code are consistent. If they are consistent, it is determined that the identity verification information has been verified. Otherwise, it is determined that the identity verification information has failed.

[0100] On the other hand, in another embodiment, please refer to the attached Fig. 9 , the credential module 200 comprises:

[0101] The key group submodule 201 is used to generate multiple public and private key pairs and include them in the key group. The number of public and private key pairs included in the key group corresponds to the number of shipment review parties, and the public and private key pairs in the key group are sorted according to the review order;

[0102] The replacement submodule 202 is used to calculate the quotient of each public key and the previous public key starting from the second public-private key pair, and record it as a replacement public key;

[0103] The distribution submodule 203 is used to distribute the first public-private key pair to the first shipment reviewer in the review order, send the replacement public key and the corresponding private key to the subsequent shipment reviewers, and include the public key of the first shipment reviewer in the review order into the warehousing information, and include the replacement public key into the shipment approval record.

[0104] On the other hand, in another embodiment, please refer to the attached Fig.10 , the outbound module 500 includes:

[0105] Approval submodule 501, used to verify the shipment approval record;

[0106] The document submodule 502 is used to generate a delivery operation document and delivery information based on the warehousing information, the historical delivery information, the consignee, the name of the goods and the delivery quantity when the delivery approval record is verified, and upload the delivery information to the blockchain.

[0107] The approval submodule 501 includes:

[0108] A sorting unit 5011 is used to sort the shipment approval records according to the time sequence of uploading the blockchain and record them as a sequence to be verified;

[0109] The signature verification unit 5012 is used to verify the signatures of the shipment reviewer of the shipment approval records included in the sequence to be verified in sequence, and the shipment approval records that pass the signature verification are recorded as valid shipment approval records;

[0110] The determination unit 5013 is configured to determine that the verification of the shipment approval record is passed when the valid shipment approval record included in the sequence to be verified covers all shipment review parties included in the review order.

[0111] See also Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification is shown.

[0112] like Fig.11 As shown, the electronic device 1100 may include: at least one processor 1101, at least one network interface 1104, a user interface 1103, a memory 1105 and at least one communication bus 1102. Among them, the communication bus 1102 can be used to realize the connection and communication of the above-mentioned components. Among them, the user interface 1103 may include a button, and the optional user interface may also include a standard wired interface and a wireless interface. Among them, the network interface 1104 may include but is not limited to a Bluetooth module, an NFC module, a Wi-Fi module, etc. Among them, the processor 1101 may include one or more processing cores. The processor 1101 uses various interfaces and lines to connect the various parts of the entire electronic device 1100, and executes various functions and processes data of the routing device 1100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1105, and calling data stored in the memory 1105. Optionally, the processor 1101 can be implemented in at least one hardware form of DSP, FPGA, and PLA. The processor 1101 can integrate one or a combination of CPU, GPU, modem, etc. Among them, the CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content that needs to be displayed on the display; and the modem is used to handle wireless communications.

[0113] It is understandable that the above-mentioned modem may not be integrated into the processor 1101, but may be implemented by a separate chip.

[0114] Among them, the memory 1105 may include RAM or ROM. Optionally, the memory 1105 includes a non-transitory computer-readable medium. The memory 1105 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1105 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 1105 may also be at least one storage device located away from the aforementioned processor 1101. The memory 1105 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application. The processor 1101 may be used to call the application stored in the memory 1105 and execute the method in one or more of the above-mentioned embodiments.

[0115] The embodiments of this specification also provide a computer-readable storage medium, which stores instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes one or more steps in the above embodiments. If the components of the above electronic device are implemented in the form of software functional units and sold or used as independent products, they can be stored in the computer-readable storage medium.

[0116] In the absence of conflict, the technical features in this embodiment and implementation scheme can be combined arbitrarily.

[0117] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of this specification is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state drive (SSD)).

[0118] When implemented by hardware or firmware, the aforementioned method flow is programmed into the hardware circuit to obtain the corresponding hardware circuit structure and realize the corresponding function. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit, and its logic function is determined by the user programming the device. The designer programs by himself to "integrate" a digital system on a PLD, without asking a chip manufacturer to design and make a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when writing program development, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL), and HDL is not just one, but many. Those skilled in the art should also be aware that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit to easily obtain the hardware circuit that implements the logic method flow.

[0119] The embodiments described above are merely preferred embodiments of this specification and are not intended to limit the scope of this specification. Without departing from the design spirit of this specification, various modifications and improvements made to the technical solutions of this specification by ordinary technicians in this field should fall within the scope of protection determined by the claims of this specification.

Claims

1. The import and export warehouse shipment control method based on blockchain is executed by the import and export warehouse control equipment, which is characterized by: Includes steps: Receive a warehousing request, the warehousing request including cargo information and shipment review configuration, the cargo information records the cargo name and quantity, and the shipment review configuration records the consignee, the shipment review party, and the review order; Generate identity credentials for each shipping auditor and distribute them to the corresponding shipping auditor; Generate entry information based on entry request and identity credentials and upload to blockchain; Receive a shipment request, query the blockchain to obtain shipment approval records and historical shipment information, the shipment approval records are uploaded to the blockchain by the shipment reviewer, and the shipment approval records include the shipment quantity signed by the corresponding shipment reviewer; When the shipment approval record is verified, the shipment operation document and shipment information are generated based on the warehouse entry information, the historical shipment information, the consignee, the name of the goods and the shipment quantity, and the shipment information is uploaded to the blockchain; The method for generating identity credentials for each shipping auditor and distributing them to the corresponding shipping auditor comprises the steps of: Generate multiple public and private key pairs and include them in the key group. Generate multiple key groups. The number of public and private key pairs included in the key group corresponds to the number of shipment review parties. Sort the public and private key pairs in the key group according to the review order. Starting from the second public-private key pair, calculate the quotient of each public key and the previous public key, and record it as the replacement public key; Distribute the first public-private key pair to the first shipment auditor in the audit sequence, and send the replacement public key and the corresponding private key to subsequent shipment auditors; The public key of the first shipment reviewer in the review order is included in the warehousing information, and the replacement public key is included in the shipment approval record.

2. The blockchain-based import and export warehouse shipment control method according to claim 1 is characterized in that: Methods for verifying the shipment approval record include: Sort the shipment approval records according to the time sequence of uploading to the blockchain and record them as a sequence to be verified; Verifying the signatures of the shipment reviewers of the shipment approval records included in the sequence to be verified in turn, and recording the shipment approval records that pass the signature verification as valid shipment approval records; When the valid shipment approval records included in the sequence to be verified cover all shipment review parties included in the review order, it is determined that the shipment approval records have passed the verification.

3. The blockchain-based import and export warehouse shipment control method according to claim 2 is characterized in that: The method for verifying the signature of the shipment reviewer of the shipment approval record comprises the steps of: Starting from the first shipment approval record in the sequence to be verified, traverse each shipment approval record, and perform the following steps for each shipment approval record: Calculate the product of the substitute public key included in the current shipment approval record and the substitute public key of the shipment approval record that is sorted first, and then multiply it by the public key included in the warehousing information, and record it as the current public key; The signature contained in the current shipment approval record is decrypted using the current public key. When the decryption is successful to obtain the shipment quantity, it is determined that the signature verification of the shipment reviewer of the current shipment approval record is passed. When the decryption is unsuccessful, the current shipment approval record is removed from the sequence to be verified.

4. The blockchain-based import and export warehouse shipment control method according to any one of claims 1 to 3, characterized in that: The method for generating a warehouse outbound operation document and shipping information based on the warehouse inbound information, the historical shipping information, the consignee, the name of the goods and the shipping quantity includes: Calculate the current remaining quantity of goods based on the incoming information and the historical shipping information; The smaller value between the current remaining quantity of goods and the shipment quantity is taken as the quantity of this shipment; Generate outbound operation documents and shipment information based on the consignee, cargo name and the quantity of this shipment.

5. The import and export warehouse shipment control system based on blockchain is characterized by: include: A request module, used to receive a warehousing request, wherein the warehousing request includes cargo information and a shipment review configuration, wherein the cargo information records the cargo name and quantity, and the shipment review configuration records the consignee, the shipment reviewer, and the review order; The credential module is used to generate identity credentials for each shipping auditor and distribute them to the corresponding shipping auditor; The storage module is used to generate storage information and upload it to the blockchain based on the storage request and identity credentials; The shipment request module is used to receive the shipment request and query the blockchain to obtain the shipment approval record and historical shipment information. The shipment approval record is uploaded to the blockchain by the shipment reviewer and includes the shipment quantity signed by the corresponding shipment reviewer. The outbound module is used to generate an outbound operation document and shipping information based on the warehouse entry information, the historical shipping information, the consignee, the name of the goods and the shipping quantity when the shipping approval record is verified, and upload the shipping information to the blockchain; The credential module includes: The key group submodule is used to generate multiple public and private key pairs and include them in the key group. The number of public and private key pairs included in the key group corresponds to the number of shipment review parties, and the public and private key pairs in the key group are sorted according to the review order; The substitution submodule is used to calculate the quotient of each public key and the previous public key starting from the second public-private key pair, which is recorded as the substitution public key; The distribution submodule is used to distribute the first public-private key pair to the first shipment reviewer in the review order, send the replacement public key and the corresponding private key to the subsequent shipment reviewers, and include the public key of the first shipment reviewer in the review order into the warehousing information, and include the replacement public key into the shipment approval record.

6. The blockchain-based import and export warehouse shipment control system according to claim 5 is characterized in that: The outbound module includes: An approval submodule, used to verify the shipment approval record; The document submodule is used to generate a delivery operation document and delivery information based on the warehouse entry information, the historical delivery information, the consignee, the name of the goods and the delivery quantity when the delivery approval record is verified, and upload the delivery information to the blockchain; The approval submodule includes: A sorting unit, used to sort the shipment approval records according to the time sequence of uploading the blockchain, and record them as a sequence to be verified; A signature verification unit, used to verify the signatures of the shipment reviewer of the shipment approval records included in the sequence to be verified in sequence, and the shipment approval records that pass the signature verification are recorded as valid shipment approval records; The determination unit is used to determine that the shipment approval record has passed the verification when the valid shipment approval record included in the sequence to be verified covers all shipment review parties included in the review order.

7. Electronic equipment, including processor and memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method according to any one of claims 1 to 4.

8. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Block chain-based pledged cargo delivery method and device

    CN115879869A

  • Warehouse inventory management accuracy traceability method based on block chain technology

    CN116934236A