Electronic warehouse receipt generation method based on supply chain full-process traceable information
Through the electronic warehouse receipt generation method based on the entire supply chain process traceable information, the problems of easy forgery of traditional cold chain goods warehouse receipts and low information transmission efficiency are solved, automatic extraction and verification of goods information is realized, and the efficiency of warehousing management is improved. and accuracy.
Patent Information
- Application Number
- CN202411235769.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2044-09-04
AI Technical Summary
The warehouse receipts of traditional cold chain goods are mostly in paper form, which have problems such as easy to be forged, low information transmission efficiency and high management costs. The existing electronic warehouse receipt generation methods rely on manual input and cannot accurately fill in all information of cold chain goods. , affects the accuracy and efficiency of warehouse receipts.
Using the electronic warehouse receipt generation method based on traceable information in the entire supply chain process, the basic information is obtained by scanning the goods QR code, the electronic warehouse receipt to be verified, and verification and signature are carried out through a multi-source heterogeneous fusion database to ensure the type of goods. accuracy and security of warehouse receipts.
It improves the accuracy and efficiency of electronic warehouse receipts, prevents the forgery of paper warehouse receipts, realizes automatic extraction and verification of goods information, reduces manual errors, and improves the efficiency of warehousing management.
Smart Images

Figure CN119204962A_ABST
Abstract
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 an electronic warehouse receipt based on traceable information of the entire supply chain process. Background Art
[0002] In the traditional cold chain goods storage management, warehouse receipts for cold chain goods are mostly in paper form, which has problems such as easy forgery, low information transmission efficiency and high management cost. With the rapid development of information technology, especially the progress of image processing and intelligent recognition technology, electronic warehouse receipts for cold chain goods have gradually become a trend. However, the existing electronic warehouse receipts mostly exist in multi-source heterogeneous fusion databases. The existing methods for generating electronic warehouse receipts for cold chain goods mostly rely on manual input or simple data entry, which cannot fill in all the information of cold chain goods, affecting 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 comprises the following steps: S1. Scan the QR code image of the goods to obtain basic information of the goods; S2. Obtain a blank template for the electronic warehouse receipt, fill in the basic information of the goods into the blank template for the electronic warehouse receipt, and generate an electronic warehouse receipt to be verified 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.
[0005] 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.
[0006] Furthermore, in S1, the basic information of the goods includes the type, quantity, size, production date and logistics content of the goods.
[0007] Furthermore, S3 includes the following sub-steps: S31. The type of goods in the warehouse receipt to be verified shall be used as the inquiry content; S32, generating an inquiry expression for the inquiry content, and verifying the type of goods through the inquiry expression; S33. After the cargo type is verified, the electronic warehouse receipt to be verified is processed to generate a preliminary electronic warehouse receipt; S35. Electronically sign the preliminary electronic warehouse receipt to generate the final electronic warehouse receipt.
[0008] The beneficial effect of the above further scheme is that in the present invention, the type of goods is used as the query content, and the query is compared with the database to ensure that the type of goods is correct, and the electronic warehouse receipt to be verified is further processed. After confirming that the type of goods is correct, the electronic warehouse receipt is electronically signed to ensure the security and non-tamperability of the electronic warehouse receipt, which effectively prevents the problem of easy forgery of paper warehouse receipts.
[0009] Further, 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 the random connection value between adjacent characters; S323, generating a query string according to the random connection value between adjacent characters and the binary string of each character; S324, generating a query expression according to 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.
[0010] 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 for 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.
[0011] In S321, ASCII encoding may be used to complete character to binary encoding conversion.
[0012] Further, 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: ; In the formula, 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.
[0013] 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 MThe 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.
[0014] Further, in S324, the query expression Q * The calculation formula is: ; where τ represents a 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.
[0015] 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 connection value, the corresponding value is the random connection value itself.
[0016] Further, S33 includes the following sub-steps: S331. Serializing 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.
[0017] 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, word segmenter and other properties of the electronic warehouse receipt to be verified, to ensure that the electronic warehouse receipt to be verified supports multiple query methods such as full-text retrieval, precise query and range query.
[0018] The beneficial effects of the present invention are as follows: the present invention discloses a method for generating an electronic warehouse receipt based on traceable information of the entire supply chain process, extracts basic information contained in a two-dimensional code image of 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 time for making warehouse receipts, and improves the efficiency of warehousing management. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 The figure is a flow chart of the method for generating electronic warehouse receipts based on traceable information of the entire supply chain process. DETAILED DESCRIPTION
[0020] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
[0021] 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: S1. Scan the QR code image of the goods to obtain basic information of the goods; S2. Obtain a blank template for the electronic warehouse receipt, fill in the basic information of the goods into the blank template for the electronic warehouse receipt, and generate an electronic warehouse receipt to be verified 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.
[0022] 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.
[0023] 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.
[0024] 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.
[0025] 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.
[0026] 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 evidence storage qualifications.
[0027] In this embodiment of the present invention, S3 includes the following sub-steps: S31. The type of goods in the warehouse receipt to be verified shall be used as the inquiry content; S32, generating an inquiry expression for the inquiry content, and verifying the type of goods through the inquiry expression; S33. After the cargo type is verified, the electronic warehouse receipt to be verified is processed to generate a preliminary electronic warehouse receipt; S35. Electronically sign the preliminary electronic warehouse receipt to generate the final electronic warehouse receipt.
[0028] In the present invention, the type of goods is used as the query content and compared with the database to ensure that the type of goods is correct, and the electronic warehouse receipt to be verified is further processed. After confirming that the type of goods is correct, the electronic warehouse receipt is electronically signed to ensure the security and non-tamperability of the electronic warehouse receipt, effectively preventing the problem of easy forgery of paper warehouse receipts.
[0029] In the embodiment of the present invention, 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 the random connection value between adjacent characters; S323, generating a query string according to the random connection value between adjacent characters and the binary string of each character; S324, generating a query expression according to 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.
[0030] 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 for 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.
[0031] In S321, ASCII encoding may be used to complete character to binary encoding conversion.
[0032] 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: ; In the formula, 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.
[0033] 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-1The 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.
[0034] In the embodiment of the present invention, in S324, the query expression Q * The calculation formula is: ; where τ represents a 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.
[0035] 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 connection value, the corresponding value is the random connection value itself.
[0036] In this embodiment of the present invention, S33 includes the following sub-steps: S331. Serializing 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.
[0037] 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, to ensure that the electronic warehouse receipt to be verified supports multiple query methods such as full-text retrieval, precise query and range query.
[0038] 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 should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope 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 template for the electronic warehouse receipt, fill in the basic information of the goods into the blank template for the electronic warehouse receipt, and generate an electronic warehouse receipt to be verified 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.
2. The method for generating electronic warehouse receipts based on traceable information of the entire supply chain according to claim 1 is 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 is characterized in that: The S3 comprises the following sub-steps: S31. The type of goods in the warehouse receipt to be verified shall be used as the inquiry content; S32, generating an inquiry expression for the inquiry content, and verifying the type of goods through the inquiry expression; S33. After the cargo type is verified, the electronic warehouse receipt to be verified is processed to generate a preliminary electronic warehouse receipt; S35. Electronically sign the preliminary electronic warehouse receipt to generate the final electronic warehouse receipt.
4. The method for generating electronic warehouse receipts based on full-process traceability information of the supply chain according to claim 3 is characterized in that: 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 the random connection value between adjacent characters; S323, generating a query string according to the random connection value between adjacent characters and the binary string of each character; S324, generating a query expression according to 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.
5. The method for generating electronic warehouse receipts based on traceable information of the entire supply chain according to claim 4 is characterized in that: 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: ; In the formula, 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.
6. The method for generating electronic warehouse receipts based on full-process traceability information of the supply chain according to claim 4 is 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.
7. The method for generating electronic warehouse receipts based on full-process traceability information of the supply chain according to claim 4 is characterized in that: In S324, the query expression Q * The calculation formula is: ; In the formula, τ 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.
8. The method for generating electronic warehouse receipts based on full-process traceability information of the supply chain according to claim 3 is characterized in that: The S33 comprises the following sub-steps: S331. Serializing 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
Information processing device, information processing method, program, and recording medium
CN103782332A
Warehouse receipt processing method and device
CN110910066A
Product identification code graph generation method and information query method based on product identification code graph
CN113343639A
Electronic warehouse receipt generation method and device, equipment and storage medium
CN113591449A
Pledge request method, auditing method, medium and electronic equipment
CN114387073A
