A method for generating electronic warehouse receipts based on traceable information of the entire supply chain process

By scanning the goods QR code and using multi-source heterogeneous database integration and verification technology to generate and upload electronic warehouse receipts, the problems of easy forgery of paper warehouse receipts and low information transmission efficiency in cold chain goods storage management are solved, and efficient and safe electronic warehouse receipt generation and management are achieved.

CN119204962BActive Publication Date: 2025-08-22青岛冠成软件有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411235769.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2025-08-22
Estimated Expiration
2044-09-04

AI Technical Summary

Technical Problem

In the warehousing management of traditional cold chain goods, paper warehouse receipts are easy to forge, information transmission efficiency is low, and management costs are high. The existing electronic warehouse receipt generation methods rely on manual input, resulting in inaccuracy and inefficient.

Method used

By scanning the QR code of the goods, obtain basic information, generate electronic warehouse receipts to be verified, and use a multi-source heterogeneous fusion database for integration and verification, combine with image processing technology to automatically extract information, generate the final electronic warehouse receipt and upload it to the blockchain platform, ensuring the accuracy and immutability of goods types.

Benefits of technology

It improves the accuracy and management efficiency of electronic warehouse receipts, reduces manual input errors, prevents the forgery of paper warehouse receipts, and realizes the security and immutability of information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119204962B_ABST
    Figure CN119204962B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for generating an electronic warehouse receipt based on traceable information of the entire supply chain process, which belongs to the technical field of electronic warehouse receipt processing and comprises the following steps: S1, scanning a QR code image of goods to obtain basic information of the goods; S2, obtaining a blank template of the electronic warehouse receipt, filling the basic information of the goods into the blank template of the electronic warehouse receipt, and generating an electronic warehouse receipt to be verified for the goods; S3, verifying the electronic warehouse receipt to be verified, generating a final electronic warehouse receipt for the goods, and uploading the final electronic warehouse receipt to a multi-source heterogeneous fusion database. The present invention automatically extracts goods information through image processing technology, reduces errors in manual input, improves the accuracy of electronic warehouse receipts, greatly shortens the time for making warehouse receipts, and improves the efficiency of warehouse management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of electronic warehouse receipt processing, and specifically relates to a method for generating electronic warehouse receipts based on traceable information throughout the entire supply chain process. Background Art

[0002] In traditional cold chain warehousing management, warehouse receipts are often paper-based, posing challenges such as susceptibility to forgery, low information transmission efficiency, and high management costs. With the rapid development of information technology, particularly advancements in image processing and intelligent recognition, electronic warehouse receipts for cold chain goods are becoming increasingly popular. However, existing electronic warehouse receipts are often stored in multi-source, heterogeneous fusion databases. Existing methods for generating electronic warehouse receipts for cold chain goods rely on manual input or simple data entry, which cannot capture all the information about the cold chain goods, hindering the accuracy and efficiency of warehouse receipt generation. Summary of the Invention

[0003] In order to solve the above problems, the present invention proposes a method for generating electronic warehouse receipts based on traceable information of the entire supply chain process.

[0004] The technical solution of the present invention is: a method for generating an electronic warehouse receipt based on traceable information of the entire supply chain process includes the following steps:

[0005] S1. Scan the QR code image of the goods to obtain basic information of the goods;

[0006] S2. Obtain a blank electronic warehouse receipt template, enter basic information about the goods into the blank electronic warehouse receipt template, and generate a pending electronic warehouse receipt for the goods;

[0007] S3. Verify the electronic warehouse receipt to be verified, generate a final electronic warehouse receipt for the goods, and upload the final electronic warehouse receipt to the multi-source heterogeneous fusion database.

[0008] The multi-source heterogeneous fusion database integrates electronic warehouse receipts from different sources, formats and structures into a unified database system for more efficient data management and analysis.

[0009] Furthermore, in S1, the basic information of the goods includes the type, quantity, size, production date and logistics content of the goods.

[0010] Furthermore, S3 includes the following sub-steps:

[0011] S31. The type of goods in the warehouse receipt to be verified is used as the inquiry content;

[0012] S32. Generate a query expression for the query content, and verify the type of goods through the query expression;

[0013] S33. After the cargo type is verified, the electronic warehouse receipt to be verified is processed and a preliminary electronic warehouse receipt is generated;

[0014] S35. Electronically sign the preliminary electronic warehouse receipt to generate the final electronic warehouse receipt.

[0015] The beneficial effect of this further solution is that, in this invention, the cargo type is used as a query and compared with the database to ensure the cargo type is correct, while the electronic warehouse receipt to be verified is further processed. After the cargo type is confirmed to be correct, the electronic warehouse receipt is electronically signed, ensuring its security and immutability, effectively preventing the easy forgery of paper warehouse receipts.

[0016] Furthermore, S32 includes the following sub-steps:

[0017] S321, converting each character in the query content into binary form to obtain a binary string of each character;

[0018] S322, calculating random connection values ​​between adjacent characters;

[0019] S323, generating a query string based on the random connection values ​​between adjacent characters and the binary string of each character;

[0020] S324. Generate a query expression based on the query character string;

[0021] S325. Determine whether the value corresponding to the query expression exists in the database. If so, the goods type verification is passed. Otherwise, the goods type is modified.

[0022] The beneficial effect of the above further scheme is: in the present invention, there is a standard verification value for each type of goods in the database. The present invention verifies the type of goods in the electronic warehouse receipt to be verified, determines whether the type of goods in the electronic warehouse receipt to be verified is incorrect, and randomly connects the value and query string of the query content generated by the type of goods to determine whether the same query expression value exists in the database. If so, the type of goods is correct, otherwise the user can be notified for manual verification and correction.

[0023] In S321, ASCII encoding may be used to complete character to binary encoding conversion.

[0024] Furthermore, in S322, the random connection value L between the i-th character and the i+1-th character i,i+1 The calculation formula is: Where h i Represents the word vector of the i-th character, h i+1 Represents the word vector of the i+1th character, Represents the ceiling function.

[0025] Furthermore, in S323, the calculation formula of the query string Q is: Where E1 represents the binary string of the first character in the query content, E2 represents the binary string of the second character in the query content, E3 represents the binary string of the third character in the query content, and E M-1 The binary string representing the M-1th character in the query content, E M The binary string representing the Mth character in the query content, L 1,2 Indicates the random connection value between the first and second characters, L 2,3 Indicates the random connection value between the second and third characters, L M-1,M Represents the random connection value between the M-1th character and the Mth character.

[0026] Furthermore, in S324, the query expression Q * The calculation formula is: ; Where τ represents the hyperparameter, L add Represents the sum of all connection values, q k Indicates the value corresponding to the kth element in the query string, q k-1 represents the value corresponding to the k-1th element in the query string, K represents the number of elements in the query string, and exp(·) represents the exponential function.

[0027] If the kth element in the query string is a binary string, the corresponding value is the sum of the values ​​(0 or 1) in the binary string. If the kth element in the query string is a random concatenation value, the corresponding value is the random concatenation value itself.

[0028] Furthermore, S33 includes the following sub-steps:

[0029] S331. Serialize the electronic warehouse receipt to be verified;

[0030] S332. Send the serialized electronic warehouse receipt to be verified to the ES search server, create an ES Mapping in the ES search server, and generate a preliminary electronic warehouse receipt.

[0031] The beneficial effect of the above further scheme is: in the present invention, serializing the electronic warehouse receipt to be verified can convert the data, format, style and other information in the warehouse receipt into a specific format (such as JSON, XML, etc.); creating ESMapping, also known as mapping, can define the index structure, field type and word segmenter and other properties of the electronic warehouse receipt to be verified, ensuring that the electronic warehouse receipt to be verified supports multiple query methods such as full-text search, precise query and range query.

[0032] The beneficial effects of the present invention are: the present invention discloses a method for generating an electronic warehouse receipt based on traceable information of the entire supply chain process, extracts the basic information contained in the two-dimensional code image of the goods, generates an electronic warehouse receipt to be verified, verifies and corrects the type of goods for the electronic warehouse receipt to be verified, and converts the form of the electronic warehouse receipt to be verified to generate a final electronic warehouse receipt; the present invention automatically extracts cargo information through image processing technology, reduces errors in manual input, improves the accuracy of electronic warehouse receipts, greatly shortens the warehouse receipt production time, and improves the efficiency of warehouse management. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 This is a flowchart of the method for generating electronic warehouse receipts based on traceable information throughout the entire supply chain process. DETAILED DESCRIPTION

[0034] The embodiments of the present invention will be further described below with reference to the accompanying drawings.

[0035] like Figure 1 As shown, the present invention provides a method for generating an electronic warehouse receipt based on traceable information of the entire supply chain process, comprising the following steps:

[0036] S1. Scan the QR code image of the goods to obtain basic information of the goods;

[0037] S2. Obtain a blank electronic warehouse receipt template, enter basic information about the goods into the blank electronic warehouse receipt template, and generate a pending electronic warehouse receipt for the goods;

[0038] S3. Verify the electronic warehouse receipt to be verified, generate a final electronic warehouse receipt for the goods, and upload the final electronic warehouse receipt to the multi-source heterogeneous fusion database.

[0039] The multi-source heterogeneous fusion database integrates electronic warehouse receipts from different sources, formats and structures into a unified database system for more efficient data management and analysis.

[0040] In the embodiment of the present invention, in S1, the basic information of the goods includes the type, quantity, size, production date and logistics content of the goods.

[0041] In S1, the basic information of the goods may also include contract generation transaction information, payment information, payment proof information, shipping information, bill of lading information, customs declaration information, port operation information, and transportation information.

[0042] In S2, the data of the electronic warehouse receipt to be verified may also include multi-source data such as shipping company data exchange credentials and customs broker data exchange credentials.

[0043] In S3, the electronic warehouse receipt to be verified is verified, and the final electronic warehouse receipt and supporting requirements are generated for the goods. The final electronic warehouse receipt is uploaded to the multi-source heterogeneous fusion database and finally stored on a blockchain platform with electronic contract notarization qualifications.

[0044] In this embodiment of the present invention, S3 includes the following sub-steps:

[0045] S31. The type of goods in the warehouse receipt to be verified is used as the inquiry content;

[0046] S32. Generate a query expression for the query content, and verify the type of goods through the query expression;

[0047] S33. After the cargo type is verified, the electronic warehouse receipt to be verified is processed and a preliminary electronic warehouse receipt is generated;

[0048] S35. Electronically sign the preliminary electronic warehouse receipt to generate the final electronic warehouse receipt.

[0049] In this method, the cargo type is used as a query and compared with the database to ensure the cargo type is correct. The electronic warehouse receipt is then further processed. Once the cargo type is confirmed, the electronic warehouse receipt is electronically signed, ensuring its security and immutability, effectively preventing the forgery of paper warehouse receipts.

[0050] In this embodiment of the present invention, S32 includes the following sub-steps:

[0051] S321, converting each character in the query content into binary form to obtain a binary string of each character;

[0052] S322, calculating random connection values ​​between adjacent characters;

[0053] S323, generating a query string based on the random connection values ​​between adjacent characters and the binary string of each character;

[0054] S324. Generate a query expression based on the query character string;

[0055] S325. Determine whether the value corresponding to the query expression exists in the database. If so, the goods type verification is passed. Otherwise, the goods type is modified.

[0056] In the present invention, there is a standard verification value for each type of goods in the database. The present invention verifies the type of goods in the electronic warehouse receipt to be verified, determines whether the type of goods in the electronic warehouse receipt to be verified is incorrect, and randomly connects the value and query string of the query content generated by the type of goods to determine whether the same query expression value exists in the database. If so, the type of goods is correct. Otherwise, the user can be notified for manual verification and correction.

[0057] In S321, ASCII encoding may be used to complete character to binary encoding conversion.

[0058] In the embodiment of the present invention, in S322, the random connection value L between the i-th character and the i+1-th character i,i+1 The calculation formula is: Where h i Represents the word vector of the i-th character, h i+1 Represents the word vector of the i+1th character, Represents the ceiling function.

[0059] In the embodiment of the present invention, in S323, the calculation formula of the query string Q is: Where E1 represents the binary string of the first character in the query content, E2 represents the binary string of the second character in the query content, E3 represents the binary string of the third character in the query content, and E M-1 The binary string representing the M-1th character in the query content, E M The binary string representing the Mth character in the query content, L 1,2 Indicates the random connection value between the first and second characters, L 2,3 Indicates the random connection value between the second and third characters, L M-1,M Represents the random connection value between the M-1th character and the Mth character.

[0060] In the embodiment of the present invention, in S324, the query expression Q * The calculation formula is: ; Where τ represents the hyperparameter, L add Represents the sum of all connection values, q k Indicates the value corresponding to the kth element in the query string, q k-1 represents the value corresponding to the k-1th element in the query string, K represents the number of elements in the query string, and exp(·) represents the exponential function.

[0061] If the kth element in the query string is a binary string, the corresponding value is the sum of the values ​​(0 or 1) in the binary string. If the kth element in the query string is a random concatenation value, the corresponding value is the random concatenation value itself.

[0062] In this embodiment of the present invention, S33 includes the following sub-steps:

[0063] S331. Serialize the electronic warehouse receipt to be verified;

[0064] S332. Send the serialized electronic warehouse receipt to be verified to the ES search server, create an ES Mapping in the ES search server, and generate a preliminary electronic warehouse receipt.

[0065] In the present invention, serializing the electronic warehouse receipt to be verified can convert the data, format, style and other information in the warehouse receipt into a specific format (such as JSON, XML, etc.); creating ES Mapping, also known as mapping, can define the index structure, field type, word segmenter and other properties of the electronic warehouse receipt to be verified, ensuring that the electronic warehouse receipt to be verified supports multiple query methods such as full-text search, precise query and range query.

[0066] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and it should be understood that the scope of protection of the present invention is not limited to such specific descriptions and embodiments. Those skilled in the art can make various other specific variations and combinations based on the technical teachings disclosed in the present invention without departing from the essence of the present invention, and such variations and combinations are still within the scope of protection of the present invention.

Claims

1. A method for generating electronic warehouse receipts based on traceable information of the entire supply chain, characterized in that: The following steps are involved: S1. Scan the QR code image of the goods to obtain basic information of the goods; S2. Obtain a blank electronic warehouse receipt template, enter basic information about the goods into the blank electronic warehouse receipt template, and generate a pending electronic warehouse receipt for the goods; S3. Verify the electronic warehouse receipt to be verified, generate a final electronic warehouse receipt for the goods, and upload the final electronic warehouse receipt to the multi-source heterogeneous fusion database; The S3 includes the following sub-steps: S31. The type of goods in the warehouse receipt to be verified is used as the inquiry content; S32. Generate a query expression for the query content, and verify the type of goods through the query expression; S33. After the cargo type is verified, the electronic warehouse receipt to be verified is processed and a preliminary electronic warehouse receipt is generated; S35. Electronically sign the preliminary electronic warehouse receipt to generate the final electronic warehouse receipt; The S32 includes the following sub-steps: S321, converting each character in the query content into binary form to obtain a binary string of each character; S322, calculating random connection values ​​between adjacent characters; S323, generating a query string based on the random connection values ​​between adjacent characters and the binary string of each character; S324. Generate a query expression based on the query character string; S325. Determine whether the value corresponding to the query expression exists in the database. If so, the goods type verification is passed. Otherwise, the goods type is modified.

2. The method for generating electronic warehouse receipts based on traceable information of the entire supply chain according to claim 1, characterized in that: In S1, the basic information of the goods includes the type, quantity, size, production date and logistics content of the goods.

3. The method for generating electronic warehouse receipts based on traceable information of the entire supply chain according to claim 1, characterized in that: In the step S322, the random connection value L between the i-th character and the i+1-th character i,i+1 The calculation formula is: Where h i Represents the word vector of the i-th character, h i+1 Represents the word vector of the i+1th character, Represents the ceiling function.

4. The method for generating electronic warehouse receipts based on traceable information of the entire supply chain according to claim 1, characterized in that: In S323, the calculation formula of the query string Q is: Where E1 represents the binary string of the first character in the query content, E2 represents the binary string of the second character in the query content, E3 represents the binary string of the third character in the query content, and E M-1 The binary string representing the M-1th character in the query content, E M The binary string representing the Mth character in the query content, L 1,2 Indicates the random connection value between the first and second characters, L 2,3 Indicates the random connection value between the second and third characters, L M-1,M Represents the random connection value between the M-1th character and the Mth character.

5. The method for generating electronic warehouse receipts based on traceable information of the entire supply chain according to claim 1, characterized in that: In S324, the query expression Q * The calculation formula is: ; Where τ represents the hyperparameter, L add Represents the sum of all connection values, q k Indicates the value corresponding to the kth element in the query string, q k-1 represents the value corresponding to the k-1th element in the query string, K represents the number of elements in the query string, and exp(·) represents the exponential function.

6. The method for generating electronic warehouse receipts based on traceable information of the entire supply chain according to claim 1, characterized in that: The S33 includes the following sub-steps: S331. Serialize the electronic warehouse receipt to be verified; S332. Send the serialized electronic warehouse receipt to be verified to the ES search server, create an ES Mapping in the ES search server, and generate a preliminary electronic warehouse receipt.

Citation Information

Patent Citations

  • Warehouse receipt processing method and device

    CN110910066A

  • Pledge request method, auditing method, medium and electronic equipment

    CN114387073A

  • Code generation method and device based on multiple dynamic code segments

    CN114511293A