CN117764496A - Block chain-based import and export warehouse shipment control method and system - Google Patents

Block chain-based import and export warehouse shipment control method and system Download PDF

Info

Publication number
CN117764496A
CN117764496A CN202311806802.7A CN202311806802A CN117764496A CN 117764496 A CN117764496 A CN 117764496A CN 202311806802 A CN202311806802 A CN 202311806802A CN 117764496 A CN117764496 A CN 117764496A
Authority
CN
China
Prior art keywords
shipment
information
approval
warehouse
auditing
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
CN202311806802.7A
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.)
Hangzhou Huilian Technology Co ltd
Original Assignee
Hangzhou Huilian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Huilian Technology Co ltd filed Critical Hangzhou Huilian Technology Co ltd
Priority to CN202311806802.7A priority Critical patent/CN117764496A/en
Publication of CN117764496A publication Critical patent/CN117764496A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

One or more embodiments of the present disclosure relate to the field of information technology, and in particular, to a method and a system for controlling shipment of an import and export warehouse based on a blockchain. The control method comprises the following steps: receiving a warehouse-in request; generating identity credentials for each shipment auditor and distributing the identity credentials to the corresponding shipment auditor; based on the warehouse-in request and the identity credential, generating warehouse-in information and uploading a blockchain; receiving a shipment request, and inquiring a blockchain to obtain shipment approval records and historical shipment information; and when the shipment approval record passes verification, generating a shipment operation bill and shipment information, and uploading the shipment information to a blockchain. The system comprises: the system comprises a request module, a credential module, a warehouse-in module and a warehouse-out module.

Description

Block chain-based import and export warehouse shipment control method and system
Technical Field
One or more embodiments of the present disclosure relate to the field of information technology, and in particular, to a method and a system for controlling shipment of an import and export warehouse based on a blockchain.
Background
The import and export storage adopts a management scheme of paper receipts, and the receipts can be obtained according to paper receipts or warehouse receipts, so that the condition of counterfeiting the receipts or warehouse receipts to obtain the receipts exists, and huge rights and interests are lost to the import and export storage and the comprehensive service providers of the supply chain. Although an electronic import and export warehouse management scheme is proposed in the industry, the electronic data is easy to falsify due to nature, and the problem of low import and export warehouse security at present cannot be solved.
A blockchain is a chain of blocks each holding certain information that are linked into a chain according to the respective time sequence of generation. This chain is stored in all servers. These servers, referred to as nodes in the blockchain system, provide storage space and computational support for the entire blockchain system. If the information in the blockchain is to be modified, it is necessary to sign consent of more than half of the nodes and modify the information in all the nodes, which are usually held in different subject hands, so it is an extremely difficult thing to tamper with the information in the blockchain. Compared with the traditional network, the blockchain has two main core characteristics: firstly, the data is difficult to tamper, and secondly, the data is decentralised. Based on the two characteristics, the information recorded by the blockchain is more real and reliable, and can help solve the problem that people are not trusted each other. But currently, the blockchain technology is not applied to warehouse in-warehouse and out-warehouse verification of import and export storages.
Disclosure of Invention
One or more embodiments of the present disclosure describe a method and a system for controlling shipment of an import and export warehouse based on a blockchain, which can realize the authenticity and credibility of the certificate for controlling shipment of the import and export warehouse, and are helpful for guaranteeing rights of related parties.
In a first aspect, embodiments of the present disclosure provide a method for controlling shipment of an import and export warehouse based on a blockchain, which is executed by an import and export warehouse control device, and includes the steps of:
receiving a warehousing request, wherein the warehousing request comprises a goods letter and a shipment auditing configuration, the goods information records the names and the amounts of the goods, and the shipment auditing configuration records a goods provider, a shipment auditing party and an auditing order;
generating identity credentials for each shipment auditor and distributing the identity credentials to the corresponding shipment auditor;
based on the warehouse-in request and the identity credential, generating warehouse-in information and uploading a blockchain;
receiving a shipment request, inquiring a blockchain to obtain shipment approval records and historical shipment information, wherein the shipment approval records are uploaded by the shipment auditors to the blockchain, and the shipment approval records comprise shipment volumes signed by the corresponding shipment auditors;
and when the shipment approval record passes verification, generating an shipment operation bill and shipment information based on the warehouse-in information, the historical shipment information, the shipment lifting party, the shipment name and the shipment amount, and uploading the shipment information to a blockchain.
In a second aspect, embodiments of the present disclosure provide a blockchain-based import and export warehouse shipment control system, comprising:
the system comprises a request module, a storage module and a storage module, wherein the request module is used for receiving a storage request, the storage request comprises a goods letter and a goods delivery auditing configuration, the goods information records the names and the quantities of the goods, and the goods delivery auditing configuration records a goods provider, a goods delivery auditing party and auditing orders;
the credential module is used for generating an identity credential for each shipment auditing party and distributing the identity credential to the corresponding shipment auditing party;
the warehousing module is used for generating warehousing information and uploading a blockchain based on the warehousing request and the identity credential;
the system comprises a shipment request module, a shipment verification module and a shipment verification module, wherein the shipment request module is used for receiving a shipment request, inquiring a blockchain to obtain shipment verification records and historical shipment information, wherein the shipment verification records are uploaded by a shipment auditor, and the shipment verification records comprise shipment volumes signed by corresponding shipment auditors;
and the shipment module is used for generating shipment operation receipts and shipment information based on the warehousing information, the historical shipment information, the goods lifting party, the goods name and the shipment volume when the shipment approval record passes verification, and uploading the shipment information to a blockchain.
In a third aspect, embodiments of the present disclosure provide an electronic device comprising a processor and a memory;
the processor is connected with the memory;
the memory is used for storing executable program codes;
the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory for performing the method of any one of the above aspects.
In a fourth aspect, embodiments of the present description provide a computer-readable storage medium, on which is stored a computer program that, when executed by a processor, performs a method as described in one or more embodiments of the present description.
The technical scheme provided by some embodiments of the present specification has the following beneficial effects:
in one or more embodiments of the present disclosure, the provided delivery management and control method for the import and export warehouse performs delivery verification through the blockchain, so that the verification process is not tamperable and truly trusted, the authenticity of the generated delivery operation bill is further ensured, and the rights and interests of related subjects are effectively ensured. By uploading the shipment information to the blockchain storage, the integrity and credibility of the record in the shipment process are ensured, and evidence is stored by virtue of the natural formation of the blockchain. Through the improved shipment auditing scheme, the auditing order can be strictly executed technically, and the rights and interests of each main body of shipment auditing of the import and export warehouse are guaranteed by virtue of the auditing order.
Other features and advantages of one or more embodiments of the present disclosure will be further disclosed in the following detailed description, the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present description, the drawings that are required in the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present description, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of an application scenario of a delivery management and control method according to an embodiment of the present disclosure.
Fig. 2 is a flow chart of a shipment control method according to an embodiment of the present disclosure.
Fig. 3 is a schematic view of an audit sequence provided in an embodiment of the present disclosure.
Fig. 4 is a flowchart of a method for generating and distributing identity credentials according to an embodiment of the present disclosure.
Fig. 5 is a flowchart of a method for verifying shipment approval records according to an embodiment of the present disclosure.
Fig. 6 is a schematic diagram of an effective shipment approval record according to an embodiment of the present disclosure.
Fig. 7 is a flowchart of a method for generating a document for a delivery operation according to an embodiment of the present disclosure.
Fig. 8 is a schematic diagram of a shipment control system according to an embodiment of the present disclosure.
Fig. 9 is a schematic diagram of a credential module according to an embodiment of the present disclosure.
Fig. 10 is a schematic diagram of a warehouse-out module according to an embodiment of the present disclosure.
Fig. 11 is a schematic diagram of an electronic device according to an embodiment of the present disclosure.
Wherein: 10. warehouse, 11, warehouse, 20, industry, 100, request module, 200, credential module, 201, key group sub-module, 202, substitution sub-module, 203, distribution sub-module, 300, warehouse module, 400, warehouse-out request module, 500, warehouse-out module, 501, approval sub-module, 502, document sub-module, 5011, sorting unit, 5012, signature verification unit, 5013, determination unit, 1100, electronic device, 1101, processor, 1102, communication bus, 1103, user interface, 1104, network interface, 1105, and memory.
Detailed Description
The technical solutions of the embodiments of the present specification are explained and illustrated below with reference to the drawings of the embodiments of the present specification, but the following embodiments are only preferred embodiments of the present specification, and not all the embodiments. Based on the examples in the implementation manner, those skilled in the art may obtain other examples without making any creative effort, which fall within the protection scope of the present specification.
The terms first, second, third and the like in the description and in the claims and in the above drawings are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
In the following description, directional or positional relationships such as the terms "inner", "outer", "upper", "lower", "left", "right", etc., are presented merely to facilitate describing the embodiments and simplify the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operate in a particular orientation, and therefore should not be construed as limiting the description.
The data related to the application are information and data authorized by a user or fully authorized by all parties, and the collection of the related data complies with related laws and regulations and standards of related countries and regions.
Before introducing the technical scheme of the embodiments of the present specification, application scenarios of one or more embodiments of the present specification are described.
Noun interpretation
Public and private key pair
The public-private key pair referred to in this specification relates to public and private keys in an asymmetric encryption algorithm. An asymmetric encryption algorithm refers to an encryption algorithm in which the encryption key and decryption key of one encryption algorithm are different or in which one key cannot be derived from the other. Asymmetric keys, also known as public key cryptography, encode information with two mathematically related keys. In this system, one of the keys, called the public key, is optionally issued to the person desiring to communicate securely with the key holder. The public key is used to encrypt the information. The second key is a private key belonging to the key holder. The key holder decrypts the received information with the private key. Exemplary are RSA algorithm, DSA algorithm, ECC algorithm, DH algorithm.
Industry business
The industry 20 referred to in this specification relates to a buyer entity that purchases imported goods. Import commerce is typically developed after being opened by a supply chain integrator, typically referred to as a domestic merchant or factory.
Supply chain integrator
The supply chain integrator referred to in this specification is concerned with providing an importation trade credit issuing service for an industry merchant 20.
Freight agent
The term forwarder as used in this specification relates to a forwarder service that provides trade services for importation services.
Warehouse business
The warehouse 10 referred to in this specification relates to a market subject who provides import and export warehouse 11 and stacking services in imports and countries.
Application scenario introduction
Import-export trade is also called international trade, and import-export trade flow mainly comprises: quotation, ordering, payment, stock, packaging, customs, shipping insurance, bill of lading, and pooling. The import and export trade process can be generalized to three stages of trade negotiations, contract fulfillment and delivery. In the trade consultation stage, firstly, the industrial business 20 makes a requirement, the export business is provided with inquiry or the buying intention is expressed by the intermediary business, and the export business directly provides the consultation to the industrial business 20; then, the exporter issues the plate to the industry manufacturer 20, the plate is returned by the industry manufacturer 20, and the plate is issued by the both parties to agree to 'accept' back and forth through the function of the both parties, then the plate is completed, the transaction is completed, the both parties complete the buying and selling condition agreement, the text is exchanged or the contract is signed, and the buying and selling procedure is completed. In the contract performance stage, the industry merchant 20 applies for import licenses, import visas, develops credit, deals with the FOBs, and guarantees with FOBs or C & F; the work of the export business is stock, transportation in the interior, the consignment of C & F or CIF conditions, the insurance water insurance of CIF conditions, export signing, business inspection and customs. During the delivery phase, the exporter is specified by credit. The shipping file is prepared to collect and withdraw the goods to a designated bank within the time specified by the credit card, or ask the bank to collect the goods (D/P, D/A); the industry provider 20 should prepare the ordered pick-up documents, prepare the customs clearance pick-up, and process notary inspection.
After the buyer and seller agree and sign the import-export contract, payment and delivery needs to be completed. The most used form of credit is the payment phase. The credit card is a written certificate which is opened to the exporter according to the request of the importer and ensures the responsibility of paying the goods. In the credit card, the bank authorizes the exporter to use the bank or the appointed bank as the payer under the condition of meeting the regulations of the credit card, issues a draft which cannot exceed the regulated amount, and takes the goods at the appointed place according to the regulated accompanying shipping bill. The flow of the credit card operation is briefly described as follows: (1) The buyer and seller specify the payment using the documentary credit in the trade contract; (2) The buyer informs the local bank (issuing bank) to open a credit card with the seller as beneficiary; (3) The issuing bank requests another bank to inform or guarantee the credit card; (4) the notification line notifies the seller that the credit card has been opened; (5) After the seller receives the credit card and ensures that the seller can fulfill the conditions specified by the credit card, the goods are loaded; (6) After the seller ships the goods, retrieving the positive bill of lading from the shipping company and making other documents; (7) The seller submits the document to a designated bank, which may be an issuing bank, or a payment, acceptance or bargaining bank designated within a credit card; (8) the bank verifies the document according to the credit card. If the bill meets the credit card regulation, the bank pays, accepts or negotiates according to the credit card regulation; (9) the bank other than the issuing bank sends the bill to the issuing bank; (10) After the issuing bank checks the bill without error, the bank which has paid, accepted or bargained according to the credit card is reimbursed in a form of pre-agreed; (11) The issuing bank communicates the buyer payment redemption form and pays the form after the buyer pays; (12) the buyer vouchers pick up goods to the shipping company.
After goods are carried to import and export warehouse agreed by buyer by freight agency, buyer needs to pay money to issuing bank, and take bill of lading out from import and export warehouse based on bill of lading. The import and export warehouse is a warehouse outsourcing service business established by profession aiming at import and export industry. Such warehousing services are different from ordinary warehousing services. Warehouse facilities must facilitate the assembly, cabinet loading, business inspection, etc. of the import and export goods. The warehouse is selected to be near major traffic intersections, distance terminals, container ports, air traffic airports.
Referring to fig. 1, the manufacturer 20 can not only deposit the money for clearing the goods at one time, but also deposit the money for clearing the goods at multiple times, and can extract the goods with corresponding share each time according to the deposited money. With the clearing of money, the imported goods can be gradually taken out of the warehouse, so that one-time import and export is realized. The bill of lading is a receipt for the business 20 to transact goods and the like. In shipping the goods, the industry 20 must hold the bill of lading, the case bill, and the invoice to pick up the goods.
At present, paper receipts are adopted for import and export storage, and the paper receipts or warehouse receipts can be used for carrying out goods, so that the situation of counterfeiting the receipts or warehouse receipts for carrying out goods exists, and huge losses are brought to import and export storage and industry merchants 20. Although an electronic import and export warehouse management scheme is proposed in the industry, the electronic data is easy to falsify due to nature, and the problem of low import and export warehouse security at present cannot be solved. For this reason, the specification provides a block chain-based import and export warehouse shipment control method and system.
Firstly, the present specification provides a method for controlling shipment of an import and export warehouse based on blockchain, which is executed by import and export warehouse control equipment, please refer to fig. 2, and includes the steps of:
step 102) receiving a warehousing request, wherein the warehousing request comprises a goods letter and a shipment audit configuration, the goods information records the names and the amounts of the goods, and the shipment audit configuration records a goods provider, a shipment audit party and an audit sequence;
step 104) generating identity credentials for each shipment auditor and distributing the identity credentials to the corresponding shipment auditor;
step 106) based on the warehouse-in request and the identity credential, generating warehouse-in information and uploading a blockchain;
step 108) receiving a shipment request, inquiring a blockchain to obtain shipment approval records and historical shipment information, wherein the shipment approval records are uploaded by the shipment auditors to the blockchain, and the shipment approval records comprise shipment volumes signed by the corresponding shipment auditors;
step 110), when the shipment approval record passes verification, based on the warehouse-in information, the historical shipment information, the goods lifting party, the goods name and the shipment volume, a warehouse-out operation bill and shipment information are generated, and the shipment information is uploaded to a blockchain.
Referring to fig. 3, fig. 3 illustrates an exemplary shipment auditor and audit sequence. The method specifically comprises the steps that the delivery application is uploaded after repayment by the industry merchant 20, the delivery application comprises audit signatures of a supply chain integrated merchant and a freight agent, and the delivery instruction is uploaded by the supply chain integrated merchant and comprises audit signatures of the industry merchant 20, the freight agent and the warehouse merchant 10. In other words, in this embodiment, the delivery auditor includes a supply chain integrator and a freight agent, and the delivery approval record includes the supply chain integrator approving the delivery application, the freight agent delivery application, the supply chain integrator approval delivery instruction, and the freight agent delivery instruction.
When the goods are delivered from the import and export warehouse, the industry merchant 20 needs to issue a pick-up application, and the pick-up application is validated after being checked by the supply chain integrator and the freight agent. The supply chain integrator will then issue a shipment order that needs to be validated by the industry merchant 20, freight agent and warehousing merchant 10. And after the ex-warehouse instruction takes effect, executing ex-warehouse, and storing the ex-warehouse execution information. According to the scheme provided by the embodiment, the operation of delivering the paper bill is separated, and the application, the verification and the execution of delivering the paper bill are realized in an electronic mode. The management and control efficiency of import and export warehouses is improved, meanwhile, the certificates are realized by means of blockchain to the goods-picking application and the warehouse-out instruction, and meanwhile, the industrial manufacturer 20, the freight agent and the warehouse 10 are checked and confirmed to record and store the certificates. The trusted operation record is realized, so that the operation behaviors of all parties can be truly recorded, effective credentials are formed, and the counterfeiting behaviors of bill of lading and warehouse bill are stopped.
In another aspect, referring to fig. 4, in another embodiment, a method for generating identity credentials for each shipment auditor and distributing the identity credentials to the corresponding shipment auditor includes the steps of:
step 202) generating a plurality of public and private key pairs and incorporating the public and private key pairs into a key group, generating a plurality of key groups, wherein the number of the public and private key pairs included in the key group corresponds to the number of shipment auditors, and sorting the public and private key pairs in the key group according to an audit order;
step 204) starting from the second public-private key pair, calculating the quotient of each public key and the previous public key respectively, and recording the quotient as a substitute public key;
step 206) distributing the first public-private key pair to a first shipment auditing party in the auditing order, and transmitting the substitute public key and the corresponding private key to a subsequent shipment auditing party;
step 208) the public key of the first shipment auditor in the audit sequence is included in the warehousing information, and the substitute public key is included in the shipment audit record.
And generating a plurality of key sets, and after the operation document and shipment information are generated once, replacing keys in the next key set, and carrying out identity credentials of a shipment auditing party of next shipment.
Asymmetric encryption algorithms require two keys to encrypt and decrypt, the two keys being a public key and a private key. Public keys are abbreviated as public keys and private keys are abbreviated as private keys. Encrypting predetermined content using a private key is known as signing, and is an electronic non-repudiated form of identity indication. The signature is verified using the corresponding public key.
In another embodiment, referring to fig. 5, the method for verifying the shipment approval record includes:
step 302), sorting the shipment approval records according to the time sequence of uploading the blockchain, and recording the shipment approval records as a sequence to be verified;
step 304) sequentially verifying the shipment auditor signature of the shipment approval record contained in the sequence to be verified, wherein the shipment approval record passing the signature verification is recorded as a valid shipment approval record;
step 306) when the valid shipment approval records included in the sequence to be verified cover all shipment auditors included in the audit sequence, judging that the shipment approval records pass verification.
And after receiving the goods-picking application sent by the industry merchant 20, notifying the corresponding supply chain integrator and freight agent to check and audit, and then checking the signature of the supply chain integrator and freight agent on the goods-picking application, uploading the corresponding checking signature associated with the goods-picking application to the blockchain for storage according to the request of the industry merchant 20 after the checking signature is gathered. After receiving the delivery instruction sent by the supply chain integrator, notifying the corresponding industry merchant 20, freight agent and warehouse 10 to check and audit, and then the industry merchant 20, freight agent and warehouse 10 carry out audit signature on the delivery instruction, and after the audit signature sets, uploading the delivery instruction to the blockchain for storage in association with the corresponding audit signature according to the request of the supply chain integrator. At this time, the manufacturer 20 needs to verify the type of the shipment, the number of the shipment, and the import/export warehouse of the shipment, which are related to the shipment instruction, and sign the verification. If the verification is not successful, the signature is not performed, and the platform informs the supply chain integrator that the verification of the delivery instruction is not passed and requests the supply chain integrator to reinitiate the delivery instruction. Referring to fig. 6, the shipment approval records are formed according to the audit sequence, so as to form an effective shipment approval record. And (5) forming an invalid shipment approval record according to the shipment approval record which is not performed according to the auditing order.
In another aspect, in further embodiments, a method of verifying a shipment auditor signature of the shipment approval record includes the steps of:
traversing each shipment approval record starting from the first shipment approval record of the sequence to be verified, and executing the following steps for each shipment approval record:
calculating the product of the substitute public key contained in the current shipment approval record and the substitute public key of the shipment approval record sequenced in front, multiplying the product by the public key contained in the warehousing information, and recording the product as the current public key;
and decrypting the signature contained in the current shipment approval record by using the current public key, judging that the signature verification of the shipment auditor of the current shipment approval record passes when the shipment volume can be successfully decrypted, and eliminating the current shipment approval record from the sequence to be verified when the shipment volume can not be successfully decrypted.
In another aspect, in a further embodiment, the tracking information includes the alternate public key. The private key and the public key of the asymmetric encryption algorithm are integers, and 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 public key is divided to produce a quotient having a decimal place, i.e., the alternate public key has a decimal place. The substitute public key is reserved with enough decimal places, so that the product of the substitute public key and the previous public key can be just obtained after rounding the decimal part.
When the embodiment is adopted, when the previous shipment approval record is not uploaded, the corresponding substitute public key is not disclosed, so that the corresponding public key of the next shipment approval record cannot be calculated, and even if the corresponding shipment auditor has uploaded the shipment approval record, the corresponding shipment auditor cannot be verified due to the fact that the public key is not available. Thus, jumping changes in shipment approval are technically prevented. That is, when one of the shipment auditors does not upload the shipment approval record, the subsequent shipment auditors in the audit order technically cannot upload the valid shipment approval record.
In another embodiment, referring to fig. 7, a method for generating a shipment operation document and shipment information based on the warehouse-in information, the historical shipment information, the shipper, the shipment name and the shipment amount includes:
step 402), calculating the current cargo residual quantity according to the warehouse-in information and the historical cargo outlet information;
step 404) taking the smaller value of the current cargo residual quantity and the cargo output quantity as the cargo output quantity;
step 406) generating a shipment operation bill and shipment information based on the delivery party, the shipment name and the current shipment amount.
In another aspect, the present disclosure provides a blockchain-based import and export warehouse shipment control system, referring to fig. 8, comprising:
the request module 100 is configured to receive a warehousing request, where the warehousing request includes a cargo letter and a shipment audit configuration, the cargo information records a cargo name and a cargo quantity, and the shipment audit configuration records a cargo provider, a shipment auditor and an audit sequence;
a credential module 200, configured to generate an identity credential for each shipment auditor and distribute the identity credential to the corresponding shipment auditor;
the warehousing module 300 is used for generating warehousing information and uploading a blockchain based on the warehousing request and the identity credential;
the shipment request module 400 is configured to receive a shipment request, query a blockchain, and obtain shipment approval records and historical shipment information, where the shipment approval records are uploaded by the shipment auditors, and the shipment approval records include shipment amounts signed by the corresponding shipment auditors;
and the shipment module 500 is configured to generate shipment operation documents and shipment information based on the warehouse-in information, the historical shipment information, the shipper, the shipment name and the shipment amount when the shipment approval record passes verification, and upload the shipment information to a blockchain.
In the embodiment, the export warehouse shipment control system adopts a B/S architecture and is realized through a webpage displayed by a browser. Or by means of a server and a mobile terminal APP. The mobile terminal APP can be used conveniently, and has higher safety.
The import and export warehouse shipment control system provided by the embodiment submits a warehouse entry instruction for a supply chain integrator and helps the industry merchant 20 and freight agent to realize audit and signature of the warehouse entry instruction. The industry merchant 20, the supply chain integrator, the freight agent and the warehouse merchant 10 log in the platform provided by the embodiment through the account number and the password registered in advance. The platform is realized by adopting a B/S architecture, and is interacted in the form of a webpage, so that the operations of the industry manufacturer 20, the supply chain integrator, the freight agent and the warehouse manufacturer 10 can be facilitated. And the import and export warehouse shipment management and control system receives a warehouse-in instruction submitted by the supply chain integrator, informs the corresponding industry manufacturer 20 and freight agent to check and audit, then receives the signatures of the industry manufacturer 20 and freight agent, and after the audit signatures are gathered, the platform uploads the warehouse-in instruction to the blockchain for storage in association with the corresponding audit signature according to the request of the supply chain integrator, and performs similar operation on the warehouse-in application.
After receiving the warehousing instruction sent by the supply chain integrator and the warehousing application sent by the freight agent, encrypting the warehousing instruction and the warehousing application, uploading the encrypted warehousing instruction and the encrypted warehousing application to the blockchain for storage, downloading the corresponding encrypted warehousing instruction and the corresponding warehousing application from the blockchain when displaying the warehousing instruction to the corresponding industry merchant 20 and the freight agent, displaying the decrypted warehousing instruction to the corresponding industry merchant 20 and the freight agent, and displaying the decrypted warehousing request to the corresponding industry merchant 20, the freight agent and the warehouse merchant 10.
The credential module 200 further includes an identity verification sub-module, where the identity verification information includes an import-export contract number, an identity signature, and a check authorization code, where the import-export contract number is a contract number of an import-export contract corresponding to an import-export contract instruction and an import-export contract corresponding to an import-export application, the identity signature is a signature of the name of the manufacturer 20, a freight agent, or the warehouse 10 using respective private keys, the check authorization code of the import-export instruction is provided to the manufacturer 20 and the freight agent by the supply chain integrator, the check authorization code of the import-export contract number, the identity signature, and the check authorization code of the import-export application are provided to the manufacturer 20, the freight agent, and the warehouse 10 by the freight agent, and if they are matched, it is determined that the identity verification information passes, and if not, it is determined that the identity verification information passes.
In another aspect, referring to fig. 9, the credential module 200 includes:
a key group submodule 201, configured to generate a plurality of public and private key pairs and incorporate the public and private key pairs into a key group, where the number of public and private key pairs included in the key group corresponds to the number of delivery auditors, and order the public and private key pairs in the key group according to an audit order;
a substitution sub-module 202, configured to calculate, starting from the second public-private key pair, a quotient of each public key and the previous public key, respectively, and record the quotient as a substitution public key;
and the distribution sub-module 203 is configured to distribute the first public-private key pair to a first shipment auditor in an audit sequence, send the substitute public key and the corresponding private key to a subsequent shipment auditor, and incorporate the public key of the first shipment auditor in the audit sequence into the warehousing information, and incorporate the substitute public key into the shipment audit record.
In another embodiment, referring to fig. 10, the ex-warehouse module 500 includes:
an approval sub-module 501, configured to verify the shipment approval record;
and the bill sub-module 502 is configured to generate an shipment operation bill and shipment information based on the warehouse-in information, the historical shipment information, the shipment party, the shipment name and the shipment amount when the shipment approval record passes verification, and upload the shipment information to a blockchain.
Wherein the approval sub-module 501 comprises:
the sorting unit 5011 is configured to sort the shipment approval records according to the time sequence of uploading the blockchain, and record the shipment approval records as a sequence to be verified;
a signature verification unit 5012, configured to sequentially verify the shipment auditor signature of the shipment approval records included in the sequence to be verified, where the shipment approval records that pass the signature verification are marked as valid shipment approval records;
and the determining unit 5013 is configured to determine that the shipment approval record passes the verification when the valid shipment approval record included in the sequence to be verified covers all shipment auditors included in the audit sequence.
Please refer to fig. 11, which illustrates a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
As shown in fig. 11, 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. Wherein communication bus 1102 is operable to facilitate connection communications among the various components described above. The user interface 1103 may comprise keys and the optional user interface may also comprise a standard wired interface, a wireless interface. The network interface 1104 may include, but is not limited to, a bluetooth module, an NFC module, a Wi-Fi module, and the like. Wherein the processor 1101 may comprise one or more processing cores. The processor 1101 connects various portions of the overall electronic device 1100 using various interfaces and lines, performs various functions of the routing device 1100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1105, and invoking data stored in the memory 1105. Alternatively, the processor 1101 may be implemented in at least one hardware form of DSP, FPGA, PLA. The processor 1101 may integrate one or a combination of several of a CPU, GPU, modem, and the like. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications.
It will be appreciated that the modem may not be integrated into the processor 1101 and may be implemented by a single chip.
The memory 1105 may include RAM or ROM. Optionally, the memory 1105 includes a non-transitory computer readable medium. Memory 1105 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1105 may include a stored program area that may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, etc., and a stored data area; the storage data area may store data or the like referred to in the above respective method embodiments. The memory 1105 may also optionally be at least one storage device located remotely from the processor 1101. The memory 1105, which is a type of computer storage medium, may include an operating system, a network communication module, a user interface module, and application programs. The processor 1101 may be configured to invoke the applications stored in the memory 1105 and perform the methods of one or more of the embodiments described above.
The present description also provides a computer-readable storage medium having instructions stored therein, which when executed on a computer or processor, cause the computer or processor to perform one or more steps of the above embodiments. The above-described constituent modules of the electronic apparatus may be stored in the computer-readable storage medium if implemented in the form of software functional units and sold or used as independent products.
The technical features in the present examples and embodiments may be arbitrarily combined without conflict.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may 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 loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present description, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted across a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (Digital Subscriber Line, DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a digital versatile Disk (Digital Versatile Disc, DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
When the method is realized by hardware and firmware, the method flow is programmed into a hardware circuit to obtain a corresponding hardware circuit structure, so as to realize corresponding functions. For example, a programmable logic device (Programmable Logic Device, PLD) (e.g., field programmable gate array (FieldProgrammableGateArray, FPGA)) is an integrated circuit whose logic function is determined by the programming of the device by a user. A designer programs to "integrate" a digital system onto a PLD without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, such programming is mostly implemented with "logic compiler" software, which is similar to the software compiler used in program development and writing, and the original code before being compiled is also written in a specific programming language, which is called hardware description language (HardwareDescription Language, HDL), but also HDL is not just one, but a plurality of. It will also be apparent to those skilled in the art that a hardware circuit implementing the logic method flow can be readily obtained by merely slightly programming the method flow into an integrated circuit using several of the hardware description languages described above.
The above-described embodiments are merely preferred embodiments of the present disclosure, and do not limit the scope of the disclosure, and various modifications and improvements made by those skilled in the art to the technical solutions of the disclosure should fall within the protection scope defined by the claims of the disclosure without departing from the design spirit of the disclosure.

Claims (10)

1. The block chain-based import and export warehouse shipment control method is executed by import and export warehouse control equipment and is characterized by comprising the following steps:
receiving a warehousing request, wherein the warehousing request comprises cargo information and shipment auditing configuration, the cargo information records the names and the amounts of the cargoes, and the shipment auditing configuration records a cargo provider, a shipment auditing party and an auditing order;
generating identity credentials for each shipment auditor and distributing the identity credentials to the corresponding shipment auditor;
based on the warehouse-in request and the identity credential, generating warehouse-in information and uploading a blockchain;
receiving a shipment request, inquiring a blockchain to obtain shipment approval records and historical shipment information, wherein the shipment approval records are uploaded by the shipment auditors to the blockchain, and the shipment approval records comprise shipment volumes signed by the corresponding shipment auditors;
and when the shipment approval record passes verification, generating an shipment operation bill and shipment information based on the warehouse-in information, the historical shipment information, the shipment lifting party, the shipment name and the shipment amount, and uploading the shipment information to a blockchain.
2. The blockchain-based import and export warehouse shipment control method of claim 1,
the method for generating identity credentials for each shipment auditor and distributing the identity credentials to the corresponding shipment auditor comprises the steps of:
generating a plurality of public and private key pairs and incorporating the public and private key pairs into a key group, generating a plurality of key groups, wherein the number of the public and private key pairs included in the key group corresponds to the number of shipment auditors, and sorting the public and private key pairs in the key group according to an audit order;
calculating the quotient of each public key and the previous public key from the second public-private key pair respectively, and recording the quotient as a substitute public key;
distributing the first public-private key pair to a first shipment auditing party in an auditing order, and transmitting the substitute public key and the corresponding private key to a subsequent shipment auditing party;
and the public key of the first shipment auditing party in the auditing order is included in the warehousing information, and the substitute public key is included in the shipment approval record.
3. The blockchain-based import and export warehouse shipment control method of claim 2,
the method for verifying the shipment approval record comprises the following steps:
sequencing the shipment approval records according to the time sequence of uploading the blockchain, and recording the shipment approval records as a sequence to be verified;
sequentially verifying the shipment auditor signature of the shipment approval records contained in the sequence to be verified, wherein the shipment approval records passing the signature verification are recorded as effective shipment approval records;
and when the valid shipment approval records included in the sequence to be verified cover all shipment auditors included in the auditing sequence, judging that the shipment approval records pass verification.
4. The method for controlling shipment of block chain-based import and export warehouses according to claim 3,
the method for verifying the shipment auditor signature of the shipment approval record comprises the following steps:
traversing each shipment approval record starting from the first shipment approval record of the sequence to be verified, and executing the following steps for each shipment approval record:
calculating the product of the substitute public key contained in the current shipment approval record and the substitute public key of the shipment approval record sequenced in front, multiplying the product by the public key contained in the warehousing information, and recording the product as the current public key;
and decrypting the signature contained in the current shipment approval record by using the current public key, judging that the signature verification of the shipment auditor of the current shipment approval record passes when the shipment volume can be successfully decrypted, and eliminating the current shipment approval record from the sequence to be verified when the shipment volume can not be successfully decrypted.
5. The blockchain-based import and export warehouse export management method of any of claims 1 to 4, wherein,
the method for generating the shipment operation bill and the shipment information based on the warehouse-in information, the historical shipment information, the goods lifting party, the goods name and the shipment amount comprises the following steps:
calculating the current cargo residual quantity according to the warehouse-in information and the historical cargo outlet information;
taking the smaller value of the current cargo residual quantity and the cargo output quantity as the cargo output quantity at this time;
and generating a delivery operation bill and delivery information based on the delivery party, the goods name and the current delivery quantity.
6. The block chain-based import and export warehouse shipment control system is characterized in that,
comprising the following steps:
the system comprises a request module, a storage module and a storage module, wherein the request module is used for receiving a storage request, the storage request comprises a goods letter and a goods delivery auditing configuration, the goods information records the names and the quantities of the goods, and the goods delivery auditing configuration records a goods provider, a goods delivery auditing party and auditing orders;
the credential module is used for generating an identity credential for each shipment auditing party and distributing the identity credential to the corresponding shipment auditing party;
the warehousing module is used for generating warehousing information and uploading a blockchain based on the warehousing request and the identity credential;
the system comprises a shipment request module, a shipment verification module and a shipment verification module, wherein the shipment request module is used for receiving a shipment request, inquiring a blockchain to obtain shipment verification records and historical shipment information, wherein the shipment verification records are uploaded by a shipment auditor, and the shipment verification records comprise shipment volumes signed by corresponding shipment auditors;
and the shipment module is used for generating shipment operation receipts and shipment information based on the warehousing information, the historical shipment information, the goods lifting party, the goods name and the shipment volume when the shipment approval record passes verification, and uploading the shipment information to a blockchain.
7. The blockchain-based import and export warehouse shipment control system of claim 6,
the credential module includes:
the secret key group sub-module is used for generating a plurality of public and private key pairs and incorporating the secret key group, the number of the public and private key pairs included in the secret key group corresponds to the number of shipment auditors, and the public and private key pairs in the secret key group are ordered according to the auditing order;
the substitution sub-module is used for calculating the quotient of each public key and the previous public key from the second public-private key pair respectively and recording the quotient as a substitution public key;
and the distribution sub-module is used for distributing the first public-private key pair to the first shipment auditing party in the auditing order, sending the substitute public key and the corresponding private key to the subsequent shipment auditing party, and taking the public key of the first shipment auditing party in the auditing order into the warehousing information and taking the substitute public key into the shipment auditing record.
8. The blockchain-based import and export warehouse shipment control system of claim 7,
the ex-warehouse module comprises:
the approval sub-module is used for verifying the shipment approval record;
the bill sub-module is used for generating an shipment operation bill and shipment information based on the warehouse-in information, the historical shipment information, the shipment party, the shipment name and the shipment volume when the shipment approval record passes verification, and uploading the shipment information to a block chain;
the approval submodule comprises:
the ordering unit is used for ordering the shipment approval records according to the time sequence of the uploading block chain and recording the shipment approval records as a sequence to be verified;
the signature verification unit is used for sequentially verifying the signature of the shipment auditor of the shipment approval records contained in the sequence to be verified, and the shipment approval records passing the signature verification are recorded as valid shipment approval records;
and the judging unit is used for judging that the shipment approval records pass verification when the valid shipment approval records included in the sequence to be verified cover all shipment auditors included in the auditing sequence.
9. An electronic device including a processor and a memory;
the processor is connected with the memory;
the memory is used for storing executable program codes;
the processor runs a program corresponding to executable program code stored in the memory by reading the executable program code for performing the method according to any one of claims 1-5.
10. A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of claims 1-5.
CN202311806802.7A 2023-12-26 2023-12-26 Block chain-based import and export warehouse shipment control method and system Pending CN117764496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311806802.7A CN117764496A (en) 2023-12-26 2023-12-26 Block chain-based import and export warehouse shipment control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311806802.7A CN117764496A (en) 2023-12-26 2023-12-26 Block chain-based import and export warehouse shipment control method and system

Publications (1)

Publication Number Publication Date
CN117764496A true CN117764496A (en) 2024-03-26

Family

ID=90310295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311806802.7A Pending CN117764496A (en) 2023-12-26 2023-12-26 Block chain-based import and export warehouse shipment control method and system

Country Status (1)

Country Link
CN (1) CN117764496A (en)

Similar Documents

Publication Publication Date Title
AU2022206741B2 (en) Electronic document platform
Hasan et al. Blockchain-based proof of delivery of physical assets with single and multiple transporters
US20240144263A1 (en) Systems and Methods to Validate Transactions For Inclusion in Electronic Blockchains
AU2006236243B2 (en) Network commercial transactions
US20200099512A1 (en) System and method for security gateway for high security blockchain systems
US20170243193A1 (en) Hybrid blockchain
US8996423B2 (en) Authentication for a commercial transaction using a mobile module
US6950809B2 (en) Facilitating a transaction in electronic commerce
US20200250549A1 (en) System and method for providing security gateways for high security blockchain systems
US20060235795A1 (en) Secure network commercial transactions
US20200153793A1 (en) Security gateway for high security blockchain systems
US20190188708A1 (en) Digital payment system
WO2020223570A1 (en) A system and method for peer-to-peer automatic teller machine transactions
CN114124428B (en) Block chain-based access method and device for Internet of things equipment
CN107852333A (en) System and method for the mandate of sharable content object
CN113987061A (en) Block chain evidence storage method and device
CN114116884A (en) Block chain evidence storage method and device
Liotine et al. The supply blockchain: integrating blockchain technology within supply chain operations
US20230013074A1 (en) System and method for true peer-to-peer automatic teller machine transactions using mobile device payment systems
WO2019245577A1 (en) Systems and methods to validate transactions for inclusion in electronic blockchains
CN113987226A (en) Hybrid storage method and device
CN117764496A (en) Block chain-based import and export warehouse shipment control method and system
JP7195016B2 (en) Transaction processing method, system and program
CN114298698A (en) Transaction settlement method and device
WO2014072846A1 (en) Electronic intermediary for secured escrow service. the trustedpayer system

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