A ton bag finished product two-dimensional code batch flow transfer warehouse receiving and sending verification tracing system
By generating QR code labels with unique package numbers and access identifiers for ton bag files, and combining quality inspection and business context, continuous data association and verification are achieved in the process of receiving and dispatching finished ton bag products. This solves the problem of inconsistency between batch and individual package data in existing technologies, ensuring the accuracy and traceability of warehouse management.
Patent Information
- Application Number
- CN202611553786.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-09
- Publication Date
- 2026-11-27
AI Technical Summary
In the existing ton bag finished product warehousing and receiving management, there is a lack of continuous status correlation between batch data and individual package data. This makes it difficult for quality inspection results to directly form a unified restriction on warehousing and shipping operations. Furthermore, warehouse location information needs to be repeatedly confirmed, and there is a lack of joint verification during the shipping stage, resulting in inconsistencies between the loading weight and the planned shipping weight, making business corrections difficult.
The batch label module generates unique package numbers and QR code labels for ton bag archive access. Combined with the quality inspection results from the quality inspection and release module, the warehousing business context from the storage and circulation module, and the shipping business context from the shipping verification module, a continuous scanning process for ton bag finished products is established, forming a link between warehousing records, inventory records, storage location records, and outbound records. The traceability and audit module adds circulation events to ensure the continuity and consistency of data.
It achieves unified association and continuous verification of finished ton-bag products throughout the production batch, quality inspection, warehousing, and shipping processes, reduces data mixing, ensures the accuracy of warehouse location information and outbound verification, and retains a complete record of business status.
Smart Images

Figure CN123180901A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of warehouse management information technology, specifically to a batch circulation warehouse receiving and dispatching verification and traceability system for finished ton bags with QR codes. Background Technology
[0002] Currently, after production, finished ton bags typically undergo a series of processes including labeling, quality inspection, warehousing, warehouse location adjustment, loading, outbound delivery, and receipt confirmation. Production batches are crucial for quality inspection and production management, while individual ton bags are the actual objects handled during warehousing and distribution; therefore, it's necessary to record both batch and individual bag information. With the application of QR codes in warehouse management, some finished ton bags use QR codes to record product name, specifications, batch number, and other data, and warehousing or outbound registration is completed by scanning the codes.
[0003] For the aforementioned ton-bag finished product warehousing and receiving management, the existing process typically involves the production stage establishing batch records and generating labels, while the quality inspection stage separately records the test results. When goods are received, warehouse personnel select a warehouse or storage location, then scan the labels on each bag and register the inventory. During transfers, a new target storage location is selected for processing. Upon shipment, product information is verified against the delivery note or outbound slip, and after loading, the outbound quantity or weight is recorded. When it is necessary to query the flow of goods, the corresponding data is retrieved from the production records, quality inspection records, inventory records, and outbound records respectively.
[0004] When the above processing method lacks a continuous status correlation between batch data and individual package data, the quality inspection results cannot directly form a unified restriction on warehousing and shipping operations. After scanning the product identity, it is still necessary to combine other records to determine whether warehousing or shipping is allowed. During continuous warehousing, when the warehouse location information needs to be repeatedly confirmed, it will increase the processing operations for each package. In the shipping stage, if there is a lack of joint verification of inventory status, document occupancy status, and actual loading weight, it is difficult to uniformly handle the repeated loading of the same ton bag and the inconsistency between the loading weight and the planned shipping weight before shipping. In addition, when business corrections or reversals directly modify the original records, the original warehousing, transfer, and shipping processes are not easily preserved completely, which is not conducive to restoring the continuous warehousing receipt and dispatch flow records according to the finished products of individual ton bags.
[0005] Therefore, the present invention provides a batch circulation, warehousing, receipt and dispatch verification and traceability system for finished ton bags with QR codes to solve the shortcomings of the prior art. Summary of the Invention
[0006] To address the shortcomings of existing technologies, this invention provides a batch circulation, warehousing, receipt, and dispatch verification and traceability system for finished ton bags using QR codes. This system solves the problem of the lack of unified association and continuous verification of individual package identity, business status, and circulation records in the existing processes of production batches, quality inspection, warehousing, shipment, and traceability of finished ton bags.
[0007] To achieve the above objectives, the present invention provides the following technical solution: A batch circulation, warehousing, receipt and dispatch verification and traceability system for finished ton bags with QR codes includes a batch label module, a quality inspection and release module, a warehousing and circulation module, a shipment verification module and a traceability audit module.
[0008] The batch label module is used to create production batches based on production tasks, generate unique package numbers, QR code labels containing ton bag file access identifiers and ton bag files, and update the validity status of QR code labels.
[0009] The quality inspection and release module is used to obtain the quality inspection data of the production batch and form the current quality status, formal warehousing authority, and normal sales and shipment authority of the production batch.
[0010] The warehouse circulation module is used to establish the inbound business context. Based on the formal inbound permissions and the inbound business context, it continuously reads the QR code tags to form inbound records, inventory records, and storage location records.
[0011] The shipment verification module is used to establish a shipment business context. Based on normal sales and shipment permissions, inventory records, and the shipment business context, it continuously reads QR code tags to form valid loading details and outbound records, and associates them with delivery notes or outbound slips.
[0012] The traceability audit module is used to add circulation events based on ton bag files, inbound records, and outbound records, determine the current business status of ton bag files, and output traceability data.
[0013] By adopting the above technical solution, the identity of a single ton bag is established based on a unique package number and ton bag file. The current quality status of the production batch controls the formal warehousing and normal sales and shipment permissions. The continuous scanning process is constrained by the warehousing business context and the shipment business context. The warehousing record, inventory record, storage location record, valid loading details, outbound record and circulation event are linked with the ton bag file. Therefore, under the same data relationship, the continuous recording and business status verification of the ton bag finished product from the establishment of production batch, quality inspection, warehousing, storage location circulation, shipment verification to traceability data output can be completed.
[0014] Preferably, the batch label module is specifically used to establish production batches based on production tasks, generate unique package numbers, QR code labels containing ton bag file access identifiers, and ton bag files; read production date, production shift, production line, product name, specifications, target production weight, and default single package weight to establish production batches and generate production batch identifiers; determine the pre-generation quantity of QR code labels based on the target production weight and default single package weight, generate ton bag file access identifiers for each unique package number, and write them into the QR code labels; establish ton bag files after receiving labeling confirmation data; when actual weighing data is obtained, write the corresponding weight as the confirmed weight into the ton bag file; if no actual weighing data is obtained, write the default single package weight as the confirmed weight into the ton bag file.
[0015] The number of pre-generated QR code labels is determined according to the correspondence between the target production weight and the default single-package weight. When the target production weight can be completely allocated from the default single-package weight, the number of pre-generated QR code labels is determined by the corresponding number of complete packages. When the target production weight cannot be completely allocated from the default single-package weight, one more QR code label is added to the number of complete packages, so that the number of pre-generated QR code labels covers the target production weight of the current production batch. The confirmed weight of the ton bag file preferentially uses the obtained actual weighing data. When actual weighing data is not obtained, the default single-package weight is used, thus ensuring that the generation of QR code labels, the establishment of single-package identity, and subsequent weight statistics use a confirmed data source.
[0016] By adopting the above technical solution, it is possible to pre-generate single-package identity data corresponding to production batches according to production tasks, and to establish a definite correspondence between the unique package number, the QR code label containing the ton bag file access identifier, the ton bag file access identifier, and the ton bag file.
[0017] Preferably, the batch label module is specifically used to update the validity status of QR code labels; after the production batch is completed, QR code labels that do not correspond to the ton bag file are set to invalid status; when the actual number of produced bags exceeds the pre-generated number of QR code labels, a unique bag number and QR code label are added to the corresponding production batch; when receiving QR code reading failure information sent by the handheld data terminal, the ton bag file is retrieved according to the unique bag number, a replacement QR code label containing the ton bag file access identifier is generated, the original QR code label is set to invalid status, and a QR code label reprint circulation event is generated.
[0018] The validity status of the QR code label maintains a correspondence with the ton bag file. QR code labels that have not been generated into ton bag files after the production batch is completed will not continue to participate in the subsequent warehousing and shipping process; when the actual number of produced bags exceeds the pre-generated quantity, the additional generated data will continue to belong to the original production batch; when a QR code label fails to be read, the original ton bag file is located through the unique bag number, the QR code label is replaced and the original ton bag file access identifier is used, and the label replacement process is recorded by reprinting the circulation event record through the QR code label.
[0019] By adopting the above technical solution, it is possible to maintain a continuous correspondence between the unique package number, QR code label, and ton bag file even when there are remaining labels, an increase in the number of production packages, or QR code reading failures.
[0020] Preferably, the quality inspection release module is specifically used to acquire the quality inspection data of the production batch, form the current quality status of the production batch, formal warehousing permission, and normal sales and shipment permission; read the quality inspection item template according to the product name and specifications, and form the judgment results of each mandatory inspection item; when all mandatory inspection items pass, a qualified status is formed; when there are mandatory inspection items that fail and the processing type is re-inspection, a re-inspection status is formed; when the processing type is unqualified, an unqualified status is formed; the qualified status forms formal warehousing permission and normal sales and shipment permission; the pending inspection status and re-inspection status are limited to the pending inspection purpose storage location, and the unqualified status is limited to the isolation purpose storage location or the rework purpose storage location, and neither forms normal sales and shipment permission.
[0021] The quality inspection and release module uses production batches as the quality control object, generating judgment results for each mandatory inspection item in the quality inspection item template. A qualified status is established only when all mandatory inspection items pass, thus granting formal warehousing and normal sales / shipping permissions. If any mandatory inspection item fails, the batch enters a re-inspection or unqualified status based on the corresponding processing type, restricting its storage location usage and normal sales / shipping permissions. The current quality status of a production batch is determined by the quality inspection results and serves as joint control data for warehousing circulation and shipment verification.
[0022] By adopting the above technical solution, the quality inspection results can be converted into the current quality status of the production batch and the corresponding business permissions, so that warehousing and normal sales and shipment are controlled according to the quality results of the same production batch.
[0023] Preferably, the warehouse circulation module is specifically used to establish an inbound business context; receive the inbound business type, warehouse, region, and target storage location, generate a business session identifier, and write the above data into the inbound business context; when continuously reading QR code labels, associate the business session identifier with the scanning result, and write the target storage location identifier into the verified temporary inbound details; when receiving a target storage location switching instruction, end the original inbound business context and establish a new inbound business context based on the new target storage location.
[0024] Before continuous barcode scanning begins, the inbound business context determines the inbound business type, warehouse, region, and target storage location, and establishes an association with the continuous barcode scanning results through a business session identifier. Within the same inbound business context, multiple successfully verified barcode scanning results use the same target storage location; when the target storage location changes, the original inbound business context ends, and a new inbound business context is established with the new target storage location, thus separating the barcode scanning data corresponding to different target storage locations.
[0025] By adopting the above technical solution, it is possible to maintain a definite association between the scanning result and the target storage location during continuous scanning, thereby reducing the processing of repeatedly establishing target storage location data for each package.
[0026] Preferably, the warehousing and circulation module is specifically used to continuously read QR code tags based on formal warehousing permissions and warehousing business context to form warehousing records, inventory records, and storage location records; when continuously reading QR code tags, it verifies the validity status of the QR code tags, the current business status of the ton bag file, and formal warehousing permissions, determines the current valid inventory status based on the inventory record, and verifies whether the purpose of the target storage location matches the current quality status of the production batch; after the verification is passed, a temporary warehousing detail is formed, and after submitting the warehousing confirmation, an warehousing record and a package-by-package warehousing detail are generated, and the current business status, current storage location, and inventory record of the ton bag file are updated; the aforementioned data is submitted synchronously with the warehousing and circulation event, and the corresponding status is not updated if any data writing fails.
[0027] The effective inventory weight of the target storage location is accumulated based on the confirmed weight of each effective ton-bag finished product within the current target storage location. The confirmed weight of each ton-bag finished product is derived from the ton-bag file, and the inventory statistics are limited to ton-bag finished products that are currently in effective inventory status and whose current storage location points to the target storage location. When the confirmed weight in the ton-bag file is corrected, the effective inventory weight of the target storage location is recalculated based on the corrected confirmed weight.
[0028] By adopting the above technical solution, the current business status of warehousing records, inventory records, storage location records, ton bag files, and warehousing flow events can be kept consistent in the same warehousing business process, and the inventory weight of the target storage location can correspond to the confirmed weight of each package.
[0029] Preferably, the shipment verification module is specifically used to establish a shipment business context. Based on normal sales and shipment permissions, inventory records, and the shipment business context, it continuously reads QR code labels and forms valid loading details; it reads the planned product name, planned specifications, planned shipment weight, and document status from the delivery note or outbound slip, and writes the read data into the shipment business context; when continuously reading QR code labels, it verifies the validity status of the QR code labels, the current business status of the ton bag file, and normal sales and shipment permissions, determines the current valid inventory status based on the inventory records, and matches the product name and specifications in the ton bag file with the planned product name and planned specifications; if there are no other temporary occupancy associations for incomplete delivery notes or outbound slips, it forms valid loading details and establishes a temporary occupancy association between the ton bag file identifier and the current delivery note or outbound slip identifier.
[0030] In this context, the shipping business context uses the planned product name, planned specifications, planned shipping weight, and document status from the delivery note or outbound slip as common verification data for continuous barcode scanning and loading. During the continuous reading of QR code labels, each ton bag of finished product undergoes joint verification of the QR code label validity status, the current business status of the ton bag file, normal sales and shipping permissions, current valid inventory status, and product name and specifications. Simultaneously, temporary occupancy is used to restrict the same ton bag of finished product from entering other incomplete delivery notes or outbound slips.
[0031] By adopting the above technical solution, the continuous loading scanning results can be kept consistent with the current delivery note or outbound note, and the verification of inventory, quality, specifications and occupancy status can be completed before the formation of valid loading details.
[0032] Preferably, the shipment verification module is specifically used to generate outbound records and associate them with delivery notes or outbound slips; read the planned shipment weight from the delivery note or outbound slip, read the confirmed weight from the ton bag file associated with the valid loading details and accumulate it to obtain the actual loading weight, and divide the absolute value of the difference between the actual loading weight and the planned shipment weight by the planned shipment weight to obtain the relative deviation of the actual loading weight; the allowable relative weight deviation threshold is 0 to 0.05. When the relative deviation of the actual loading weight is not greater than the allowable relative weight deviation threshold, an outbound record is generated and associated with the delivery note or outbound slip; when the relative deviation of the actual loading weight is greater than the allowable relative weight deviation threshold, a weight difference status is generated and the valid loading details are maintained, and no outbound record is generated.
[0033] The actual loading weight is calculated by accumulating the confirmed weights of each tonnage bag linked to the current valid loading details, while the planned shipment weight is retrieved from the current delivery note or outbound slip. The relative deviation of the actual loading weight is expressed as the ratio of the absolute difference between the actual loading weight and the planned shipment weight to the planned shipment weight, and is compared with an allowable relative weight deviation threshold configured within the range of 0 to 0.05. The comparison result directly serves as the control condition for whether to generate an outbound record.
[0034] By adopting the above technical solution, the actual loading weight can be determined by confirming the weight of each package, and the generation of outbound records can be controlled according to the uniform relative weight deviation conditions.
[0035] Preferably, the traceability audit module is specifically used to add circulation events based on ton bag files, warehousing records, and outbound records, and to determine the current business status of the ton bag files; it generates circulation events for labeling confirmation, quality inspection association, warehousing, transfer, loading, outbound, receipt, label reprinting, label cancellation, weight correction, quality correction, warehousing cancellation, outbound cancellation, and return warehousing; the circulation event records the ton bag file identifier, production batch identifier, event type, business status before the event, business status after the event, business association identifier, and event occurrence time; when a business is corrected or cancelled, a corresponding circulation event is added, the original circulation event is not overwritten or deleted, and the current business status of the ton bag files is determined according to the order of occurrence of the circulation events.
[0036] In this process, each transfer event records changes in business status using an append-only method. Business corrections or cancellations do not create a new current business status by deleting or overwriting the original transfer event. Instead, a new transfer event corresponding to the business correction or cancellation is added, and the current business status of the ton bag archive is determined according to the order in which the transfer events occur, so that the current business status can correspond to the historical transfer events that formed that status.
[0037] By adopting the above technical solution, it is possible to retain the circulation records before and after the changes in the status of finished ton bag products, and to form the current business status according to the order of events.
[0038] Preferably, the traceability audit module is specifically used to output traceability data; it reads the ton bag file access identifier from the QR code label, determines the ton bag file based on the ton bag file access identifier, and determines the data field permission set based on the access subject's identity verification result; the data field permission set for internal authorized access subjects includes production batch, confirmed weight, quality inspection record, current storage location, historical storage location, inbound record, outbound record, vehicle information, receipt status, and circulation event; the data field permission set for external access subjects includes unique package number, product name, specifications, confirmed weight, shipping date, quality conclusion summary, and receipt status, and outputs traceability data according to the corresponding data field permission set.
[0039] The QR code label provides an access identifier for the ton bag file, which is used to identify the corresponding ton bag file. The authentication result of the access subject is used to determine the set of data field permissions that can be read. Internal authorized access subjects and external access subjects use different sets of data field permissions, enabling the same ton bag file to output corresponding traceability data according to the access subject's identity.
[0040] By adopting the above technical solution, it is possible to output traceability data within the corresponding range based on the identity verification result of the access subject, while maintaining the correspondence between the QR code label and the ton bag file.
[0041] This invention establishes a continuous data association between production batches, unique package numbers, QR code labels containing ton bag file access identifiers, ton bag files, the current quality status of the production batch, formal warehousing permissions, normal sales and shipping permissions, warehousing business context, shipping business context, inventory records, storage location records, valid loading details, outbound records, and supplementary flow events generated by production tasks. When finished ton bags enter the warehousing and shipping process, not only is the ton bag file access identifier in the QR code label read, but also verification is performed in conjunction with the current quality status of the production batch, the current business status of the ton bag file, inventory records, and the current business context. This allows the QR code reading result to jointly determine the business processing result with the specific warehousing or shipping business conditions. For completed business status changes, historical records are retained by adding flow events, and the current business status of the ton bag file is determined according to the order of occurrence of flow events. This forms a warehousing receipt and dispatch verification and traceability processing system with individual finished ton bags as the object, production batch quality status as the control condition, business context as the continuous scanning constraint condition, and flow events as the basis for status recording.
[0042] This invention provides a batch circulation, warehousing, receipt, and dispatch verification and traceability system for finished ton-bag products using QR codes. It has the following beneficial effects: 1. This invention establishes production batches based on production tasks through a batch label module, generates a unique package number, a QR code label containing a ton bag file access identifier, and a ton bag file for each finished ton bag. The valid status of the QR code label controls the normal use, invalidation, and replacement of the label, ensuring that the same finished ton bag maintains a consistent identity throughout the production, warehousing, inventory, shipment, and subsequent traceability processes, reducing data mixing caused by duplicate labels, invalid labels, or incorrect file correspondence.
[0043] 2. This invention establishes the current quality status, formal warehousing authority, and normal sales and shipment authority for a production batch through a quality inspection and release module. The warehousing and circulation module continuously reads the QR code labels in conjunction with the warehousing business context, verifying the validity status of the QR code labels, the current business status of the ton bag file, the current valid inventory status, and the purpose of the target storage location. This allows multiple ton bags to be processed for warehousing according to the established target storage location during continuous scanning, while restricting ton bags awaiting inspection, re-inspection, and unqualified ton bags from entering storage locations that do not match their quality status.
[0044] 3. This invention associates the planned product name, planned specifications, and planned shipment weight in the delivery note or outbound slip with the results of each package's barcode scan through the shipping business context. It also controls the generation of outbound records by combining normal sales and shipping permissions, inventory records, temporary occupancy associations, and relative deviations in actual loading weight. At the same time, the traceability and auditing module saves the flow events such as warehousing, transfer, loading, outbound, cancellation, and correction in an append-only manner. Based on retaining the original flow events, it determines the current business status of the ton bag file, so that the outbound verification results and historical flow records can be mapped to specific ton bag files. Attached Figure Description
[0045] Figure 1 This is a framework diagram of the ton bag finished product QR code batch circulation warehousing receipt and dispatch verification traceability system of the present invention; Figure 2 This is the overall flowchart of the batch circulation, warehousing, receipt, dispatch, verification, and traceability method for finished ton bags using QR codes according to the present invention; Figure 3 The flowchart of step S100 of the present invention is as follows: establishing production batches based on production tasks and generating unique QR code labels and ton bag files to complete the single package identity initialization step. Figure 4 The flowchart for step S200 of the present invention is as follows: Establishing the corresponding flow control authority for the warehousing and shipment of finished ton bags based on the production batch quality inspection results; Figure 5 The flowchart for step S300 of the present invention is as follows: establishing the business context of target warehouse location entry and forming ton bag finished product inventory and warehouse location record through continuous barcode scanning. Figure 6 The flowchart for step S400 of the present invention is as follows: establishing the delivery note shipping business context and completing the package-by-package vehicle verification and outbound confirmation through continuous barcode scanning. Figure 7 The flowchart of step S500 of the present invention is as follows: adding circulation events according to the time of business occurrence and reconstructing the current status of the finished ton bag and the hierarchical traceability results. Figure 8 This is a curve showing the cumulative weight comparison of the finished ton bags continuously scanned and stored in the warehouse according to the present invention. Figure 9This is a comparison curve of the processing time between the continuous barcode scanning processing method and the package-by-package repeated location confirmation processing method of the present invention. Detailed Implementation
[0046] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0047] See attached document Figure 1 This invention provides a batch circulation, warehousing, receipt, and traceability system for finished ton bags using QR codes, comprising a batch label module, a quality inspection and release module, a warehousing and circulation module, a shipment verification module, and a traceability audit module. These modules are connected to the data storage area of a business server. Each module establishes data association through production batch identifiers, ton bag file identifiers, QR code label identifiers, and circulation event identifiers. The system uses individual ton bags as the smallest identity management object, production batches as the quality inspection and batch circulation control object, QR code labels as the individual bag identity reading carrier, the warehousing business context as the data constraint condition for continuous QR code scanning for warehousing, and the shipment business context as the data constraint condition for continuous QR code scanning for loading.
[0048] The on-site scanning terminals utilize handheld digital assistants (PDAs). The PDAs connect to the business server via a data communication interface to read QR code labels, display the current inbound or outbound business context, submit scanning results, and receive verification results from the business server. A QR code label printing terminal connects to the business server to receive QR code graphic data and label text data, and outputs QR code labels according to unique package numbers. The business server performs tasks such as production batch creation, QR code label record generation, quality status updates, inventory status updates, delivery note or outbound note verification, flow event appending, and traceability data output.
[0049] The business server stores at least the following information for each production task: production date, production shift, production line, product name, specifications, target production weight, and default single-package weight. Each production batch stores at least the following information: production batch identifier, production task identifier, product name, specifications, production date, production shift, production line, and current quality status. Each ton bag file stores at least the following information: ton bag file identifier, ton bag file access identifier, unique package number, QR code label identifier, production batch identifier, product name, specifications, confirmed weight, current business status, current storage location identifier, current quality status, and current outbound association status. Inventory records at least record the ton bag file identifier, current valid inventory status, and confirmed weight. Storage location records at least record the correspondence between the ton bag file identifier and the current storage location identifier.
[0050] A one-to-one correspondence is maintained between QR code labels and ton bag files. One valid QR code label corresponds to one ton bag file, and only one valid QR code label exists for each ton bag file in normal circulation. The QR code label includes a machine-readable area and a human-readable area. The machine-readable area stores a ton bag file access identifier, used to identify the corresponding ton bag file; the human-readable area records a unique package number, product name, specifications, production batch, weight information, and production date or shift. The machine-readable content from the QR code label is not directly written into internal warehouse location distribution, other customer document information, internal personnel information, or complete quality inspection raw data.
[0051] The current business status of the ton bag file includes: label generated, labeled, pending inspection, qualified and awaiting warehousing, already in storage, in the process of transfer, in the process of outbound, already outbound, unqualified and isolated, in the process of rework, voided, and signed for. The business server limits the next business action allowed to be executed according to the current business status. In the "label generated" status, labeling confirmation and QR code label voiding are allowed, but formal warehousing and normal sales shipment are not allowed; in the "pending inspection" status, quality inspection and entry into the storage location for the intended use are allowed, but normal sales shipment permissions are not generated; in the "warehousing" status, transfer, inventory, and outbound loading are allowed, but normal warehousing records are not duplicated; in the "outbound" status, normal sales outbound records are not duplicated.
[0052] The batch label module receives production task data and creates production batches based on the tasks. When a production task corresponds to the same product name, specifications, production shift, and production line, a corresponding production batch is created. When a production task includes different specifications, different production shifts, or different production lines, separate production batches are created for each. After a production batch is created, the product name, specifications, production date, production shift, production line, and default single-package weight are written from the production task to the production batch record, and a production batch identifier is generated.
[0053] The batch label module determines the pre-generated quantity of QR code labels for the current production batch based on the target production weight and default single-package weight in the production task, and generates unique package numbers sequentially. The business server generates a ton bag file access identifier for each unique package number and writes the ton bag file access identifier into the corresponding QR code label. Each unique package number is simultaneously associated with the production batch identifier, product name, specifications, default single-package weight, ton bag file access identifier, and QR code label identifier. Unique package numbers are not duplicated within the scope of valid or historically saved ton bag files, ensuring that the records of the same ton bag product throughout the production, quality inspection, warehousing, and shipping processes always point to the same ton bag file.
[0054] The batch label module sends the QR code label data to the QR code label printing terminal. After the QR code label is printed, its status is marked as "ready for use." After on-site packaging, a ready-to-use QR code label is affixed to the surface of a finished ton bag, and labeling confirmation data is submitted. Upon receiving the labeling confirmation data, the business server updates the corresponding QR code label status to "labeled" and creates a corresponding ton bag file. When the actual weight data of the finished ton bag is obtained, the corresponding actual weight data is written into the ton bag file as the confirmed weight; when no actual weight data is obtained, the default single-bag weight of the current production batch is written into the ton bag file as the confirmed weight.
[0055] After a production batch is completed, the batch label module verifies the number of QR code labels generated within the production batch against the number of finished ton bags that have been labeled and confirmed. QR code labels that do not correspond to a ton bag file are set to invalid status, and invalidated QR code labels will not participate in subsequent warehousing and outbound operations. When the actual number of produced bags exceeds the pre-generated number of QR code labels, a new unique bag number and QR code label are added to the corresponding production batch, and a ton bag file is established according to the same data structure.
[0056] When the PDA cannot read the QR code label correctly, it sends a QR code reading failure message to the business server. The operator retrieves the ton bag file based on the unique package number in the human eye reading area of the QR code label. After verifying the unique package number, the current business status of the ton bag file, and the operator's permissions, the business server generates a replacement QR code label containing the original ton bag file access identifier, sets the original QR code label to an invalid state, and reinstates the replacement QR code label to the original ton bag file, generating a QR code label reprint flow event. The event type in the QR code label reprint flow event is denoted as "Label Reprint," and the original QR code label identifier, the replacement QR code label identifier, the reprint time, and the operator identifier are written into the corresponding flow event.
[0057] The quality inspection release module registers quality inspection data according to production batches. Product names and specifications correspond to quality inspection item templates, which at least record mandatory inspection items, the data type of each mandatory inspection item, the judgment conditions for each mandatory inspection item, and the handling type for any failed mandatory inspection item. Numerical inspection items are judged according to the set lower and upper allowable limits; one-sided limit inspection items are judged according to the set upper or lower limit; and categorical inspection items are judged according to a pre-set set of allowable results. The handling types for failed mandatory inspection items include at least re-inspection and non-conformance.
[0058] Quality inspection records include production batch identifier, inspection item identifier, inspection results, inspection time, inspection personnel, item judgment results, and processing type. The production batch remains in a pending inspection state until all mandatory inspection items are completed. After all mandatory inspection items are completed, the quality inspection release module generates a basic release result for the production batch based on the judgment results of each mandatory inspection item, and further determines the current quality status of the production batch.
[0059] A "qualified" status is achieved when all mandatory inspection items pass. A "re-inspection" status is achieved if any mandatory inspection item fails and the processing type is "re-inspection." A "non-qualified" status is achieved if any mandatory inspection item fails and the processing type is "non-qualified." A "qualified" status grants formal warehousing and normal sales / shipping permissions. "Pending inspection" and "re-inspection" statuses are limited to warehouse locations intended for pending inspection and do not grant normal sales / shipping permissions. A "non-qualified" status is limited to warehouse locations intended for isolation or rework and does not grant normal sales / shipping permissions.
[0060] When a production batch generates a concession acceptance record, the record includes the production batch identifier, specified receiving party, specified purpose, specified quantity, specified delivery note or specified outbound note, and approval status. The corresponding ton bag finished product for concession acceptance only obtains the corresponding shipping authorization when the conditions specified in the concession acceptance record are met in the current shipping business context. This corresponding shipping authorization does not change the pending inspection status, re-inspection status, or non-conforming status, and does not form a status record for normal sales shipping authorization. The original quality inspection record is not deleted due to re-inspection or quality correction; new re-inspection results or quality correction results are saved as new records.
[0061] The warehouse circulation module handles finished product receiving in bulk bags, inventory registration, storage location registration, transfer, inventory counting, and return receiving. Warehouse staff use a PDA to access the receiving operation interface, selecting the receiving business type, warehouse, region, and target storage location. The PDA sends the selected data to the business server. The business server receives the receiving business type, warehouse, region, and target storage location, generates a business session identifier, and writes the receiving business type, warehouse identifier, region identifier, target storage location identifier, and business session identifier into the receiving business context.
[0062] The current inbound business context records at least the inbound business type, warehouse identifier, region identifier, target storage location identifier, operator identifier, and business session identifier. Until the current inbound business context ends or a target storage location change occurs, all continuously scanned valid ton bags of finished products inherit the current target storage location. When continuously reading QR code labels, the business server associates the business session identifier with the scanning result and writes the target storage location identifier into the verified temporary inbound details. Upon receiving a target storage location change instruction, the business server ends the original inbound business context and establishes a new inbound business context based on the new target storage location.
[0063] After the PDA reads the QR code label, it sends the ton bag file access identifier and the current business session identifier to the business server. The warehouse circulation module sequentially verifies the validity status of the QR code label, the current business status of the ton bag file, and the formal warehousing permission. Based on the inventory records, it determines the current valid inventory status and verifies whether the purpose of the target storage location matches the current quality status of the production batch. After all verifications pass, a temporary storage warehousing detail is generated for the corresponding ton bag finished product.
[0064] When a QR code label is invalid or expired, no temporary storage entry detail will be generated. If a valid inventory record already exists for a ton bag of finished products based on inventory records, a normal storage entry record will not be generated again. When ton bags of finished products corresponding to production batches in the pending inspection or re-inspection status are scanned to a normal finished product storage location, no temporary storage entry detail will be generated; when scanned to a pending inspection storage location, they will be registered according to the corresponding controlled inventory status. Ton bags of finished products corresponding to production batches in the non-conforming status are only allowed to be registered to isolation storage locations or rework storage locations.
[0065] After completing continuous barcode scanning, warehouse staff submit the receiving confirmation. The business server generates receiving records and individual package receiving details based on the verified temporary receiving details, creating corresponding inventory and storage location records. Simultaneously, it updates the current business status, current storage location, and inventory record of the ton bag file. Receiving records, individual package receiving details, inventory records, storage location records, the current business status of the ton bag file, and receiving flow events are submitted synchronously. If any data write fails, the corresponding status is not updated, and no partially valid receiving result is generated.
[0066] During a transfer, warehouse staff first select the target storage location and then scan the QR code label of the finished ton bags to be transferred. The warehouse transfer module reads the original current storage location and checks whether the finished ton bags are in an in-stock state that allows transfer. After successful verification, a transfer event is generated, which saves the original storage location identifier and the target storage location identifier. The current storage location and corresponding storage location record of the ton bags are updated based on the latest valid transfer event, while the original inbound transfer event continues to be saved.
[0067] The shipment verification module handles the loading of finished products in ton bags and the verification of delivery notes or outbound slips. Shipment personnel use a PDA to access the shipment operation interface and select a delivery note or outbound slip. The business server reads the planned product name, planned specifications, planned shipment weight, and document status from the selected delivery note or outbound slip, and also reads the corresponding recipient, vehicle information, and driver information, writing the read data into the shipment business context.
[0068] Before the current shipping business context ends or the operator switches to a new delivery note or outbound order, all continuously scanned ton bags of finished products are verified according to the current delivery note or outbound order. After the PDA reads the QR code label, the business server verifies the validity status of the QR code label, the current business status of the ton bag file, and the normal sales and shipping permissions. Based on the inventory records, it determines the current valid inventory status and matches the product name and specifications in the ton bag file with the planned product name and planned specifications.
[0069] Only finished ton bags with valid QR code labels, whose current business status allows shipment, possess normal sales and shipment permissions, and whose product name and specifications match based on inventory records, will continue to undergo shipment occupancy verification. If there are no other temporary occupancy associations for incomplete delivery notes or outbound orders, a valid loading detail will be generated, and a temporary occupancy association will be established between the ton bag file identifier and the current delivery note or outbound order identifier. If other temporary occupancy associations for incomplete delivery notes or outbound orders already exist, a new valid loading detail will not be generated.
[0070] The shipment verification module reads the confirmed weight from the ton bag files associated with the valid loading details in real time and accumulates it to obtain the actual loading weight. It reads the planned shipment weight from the current delivery note or outbound slip, and divides the absolute value of the difference between the actual loading weight and the planned shipment weight by the planned shipment weight to obtain the relative deviation of the actual loading weight. The allowable relative weight deviation threshold is configured according to product specifications and shipment control rules, and its value ranges from 0 to 0.05.
[0071] When the relative deviation of the actual loaded weight is not greater than the allowable relative weight deviation threshold, the business server generates an outbound record and associates it with the current delivery note or outbound order. When the relative deviation of the actual loaded weight is greater than the allowable relative weight deviation threshold, the business server generates a weight difference status and maintains valid loading details, but does not generate an outbound record. After completing the weight difference processing that meets the permission requirements, the relative deviation of the actual loaded weight is re-executed based on the valid loading details.
[0072] After the outbound record is generated, the actual package number, actual number of packages loaded, and actual loading weight are written to the corresponding delivery note or outbound slip. The warehousing and circulation module updates the inventory and storage location records of the corresponding ton bag finished products based on the outbound record. The current business status of the ton bag file is updated to "outbound". The shipping verification module removes the temporary association between the ton bag file identifier and the current delivery note or outbound slip identifier. The traceability and auditing module generates a circulation event of the outbound type.
[0073] When an outbound transaction is cancelled, a new event type "Outbound Reversal" is added to handle the transaction, and the original outbound transaction event is not deleted. When returned finished goods in ton bags re-enter the warehouse, a new in-stock status is created by adding a new event type "Return to Warehouse," and the original delivery note or outbound note, original outbound time, original vehicle, and original receipt information are retained.
[0074] The traceability audit module saves circulation events in an append-only manner based on the ton bag files, inbound records, and outbound records. Circulation events are generated for labeling confirmation, quality inspection association, inbound, transfer, loading, outbound, receipt, label reprinting, label cancellation, weight correction, quality correction, inbound cancellation, outbound cancellation, and return inbound.
[0075] Each transfer event must record at least the transfer event identifier, ton bag file identifier, unique package number, production batch identifier, event type, business status before the event, business status after the event, business association identifier, operator identifier, and event occurrence time. When a warehouse location change is involved, both the original warehouse location identifier and the target warehouse location identifier must be saved; when a weight correction is involved, both the confirmed weight before and after the correction must be saved; when a label reprint is involved, both the original QR code label identifier and the replacement QR code label identifier must be saved.
[0076] When business operations are corrected or reversed, a corresponding workflow event is added, and the original workflow event is not overwritten or deleted. Errors in inventory entry are handled by adding a workflow event of type "Inbound Reversal," errors in inventory exit are handled by adding a workflow event of type "Outbound Reversal," errors in storage location are handled by adding a workflow event of type "Storage Transfer," and corrections of quality inspection data are handled by adding a workflow event of type "Quality Correction." The business server determines the current business status of the ton bag file according to the order in which the workflow events occur.
[0077] The traceability audit module generates different traceability data sets based on the access subject's permissions. After the access subject scans the QR code label, the business server reads the ton bag file access identifier from the QR code label, identifies the ton bag file based on the ton bag file access identifier, verifies the access subject's identity, and determines the data field permission set based on the access subject's identity verification result.
[0078] The data field permission set for internal authorized access subjects includes production batch, confirmed weight, quality inspection records, current storage location, historical storage location, inbound records, outbound records, vehicle information, receipt status, and flow events. The data field permission set for external access subjects includes unique package number, product name, specifications, confirmed weight, shipping date, quality conclusion summary, and receipt status. The business server outputs traceability data according to the corresponding data field permission set, and does not output the enterprise's internal storage location distribution, other receiving object documents, complete quality inspection raw data, or internal personnel information to external access subjects. The above system structure and appendix... Figure 1 The five main modules shown correspond to each other and their data relationships.
[0079] See attached document Figure 2 The present invention provides a batch circulation, warehousing, receipt and dispatch verification and traceability method for finished ton bags with QR codes, which includes steps S100, S200, S300, S400 and S500 in sequence, and the data generated in the previous step is used as the data source for the subsequent steps.
[0080] Step S100: Based on the production task, establish a production batch and generate a unique QR code label and ton bag file to complete the initialization of single package identity.
[0081] Step S200: Establish corresponding flow control permissions for the warehousing and shipment of finished ton bags based on the quality inspection results of the production batch.
[0082] Step S300: Establish the business context for the inbound of the target storage location and generate finished product inventory and storage location records for ton bags by continuously scanning the barcodes.
[0083] Step S400: Establish the delivery note shipment business context and complete the package-by-package verification and outbound confirmation through continuous barcode scanning.
[0084] Step S500: Add circulation events according to the time of business occurrence and reconstruct the current status of the finished ton bag and the hierarchical traceability results.
[0085] See attached document Figure 3 Step S100 involves establishing a production batch based on the production task and generating a unique QR code label and ton bag file to complete the single-bag identity initialization. This is executed through the batch label module and includes the following sub-steps: Sub-step S101: Establish a production batch of ton bag finished products with a unique production batch identifier based on the basic data of the production task.
[0086] Production planners submit production task data to the business server. This data includes the production date, shift, production line, product name, specifications, target production weight, and default single-package weight. The business server checks the completeness of the required fields for the production task and establishes a defined data combination for the product name, specifications, shift, and production line.
[0087] The business server generates a unique production task identifier for each production task and establishes a production batch based on the production task. Each production batch inherits the product name, specifications, production date, production shift, production line, and default single-package weight from the production task. When a production task contains data for different specifications or different production lines, corresponding production batches are created for each, and each production batch has its own independent production batch identifier.
[0088] Once a production batch is established, the business server saves the association between the production task identifier and the production batch identifier, and sets the current quality status of the production batch to "pending inspection." Subsequent records, including QR code labels, ton bag files, quality inspection records, inventory records, storage location records, delivery notes or outbound slips, and circulation events, are all linked to the corresponding production batch through the production batch identifier.
[0089] Sub-step S102: Determine the number of QR code labels to be pre-generated based on the target production weight and the default single package weight, and establish label data.
[0090] The business server reads the target production weight and default single-package weight for the current production batch. The target production weight is recorded in kg, and the default single-package weight is recorded in kg / package. The pre-generated quantity of QR code labels is determined based on the minimum number of complete packages that can cover the target production weight of the current production batch.
[0091] When the target production weight is divisible by the default single-package weight, the number of pre-generated QR code labels equals the calculated number of complete packages. When the target production weight is not divisible by the default single-package weight, one additional QR code label is added as the label for the last package, ensuring that the number of pre-generated QR code labels covers the target production weight of the entire production batch.
[0092] The formula for calculating the number of pre-generated QR code labels is as follows: ; in, This represents the pre-generated quantity of QR code labels for the current production batch, in packages. It indicates the minimum number of QR code labels required, determined by the target production weight and the default single-package weight. Take an integer not less than 1; This represents the target production weight for the current production batch, expressed in kg. It signifies the total weight of the finished ton bags required by the current production task. Greater than 0; This is the default single-package weight for the current production batch, in kg / package. It represents the baseline weight used for planned repackaging and pre-generating QR code labels before the weight of each package is confirmed. Greater than 0; the rounding up operation means that if the calculation result has a non-integer part, the smallest integer greater than the calculation result is taken.
[0093] The business server generates a corresponding number of unique package numbers based on the predetermined pre-generated quantity of QR code labels, generates a ton bag file access identifier for each unique package number, and establishes QR code label data for each. Each QR code label data includes a QR code label identifier, a unique package number, a ton bag file access identifier, a production batch identifier, a product name, specifications, and a default single package weight. The ton bag file access identifier is written into the QR code machine reading area of the corresponding QR code label. The QR code labels are in a pre-printing state before printing and in a ready-to-use state after printing.
[0094] Sub-step S103 establishes a one-to-one correspondence between the generated QR code labels and the actual finished ton bags and creates a ton bag file.
[0095] The QR code label printing terminal outputs QR code labels based on the QR code graphic data and label text data sent by the business server. After packaging a ton bag of finished products, a QR code label in a ready-to-use state is fixed to the outer surface of the corresponding ton bag, and labeling confirmation data is submitted.
[0096] After receiving the labeling confirmation data, the business server verifies the QR code label status and unique package number. Upon successful verification, the QR code label status is updated to "labeled," and a corresponding ton bag file is created. The ton bag file stores the ton bag file identifier, ton bag file access identifier, unique package number, QR code label identifier, production batch identifier, product name, specifications, confirmed weight, current business status, and current storage location data. When actual weighing data is obtained, the corresponding actual weighing data is written to the ton bag file as the confirmed weight; when no actual weighing data is obtained, the default single-bag weight of the current production batch is written to the ton bag file as the confirmed weight.
[0097] After the current production batch is completed, the business server verifies the number of generated QR code labels and the number of ton bag files already established. QR code labels without corresponding ton bag files are set to invalid status. When the actual number of produced bags exceeds the pre-generated number of QR code labels, a unique bag number and QR code label are generated for the corresponding production batch. Label invalidation and additional generation each generate a corresponding circulation record.
[0098] See attached document Figure 4 Step S200 involves establishing corresponding flow control permissions for the warehousing and shipment of finished ton bags based on the production batch quality inspection results. This is executed through the quality inspection release module. It includes the following sub-steps: Sub-step S201: Obtain the mandatory inspection items according to the quality inspection item template corresponding to the product specifications and form an item-by-item inspection record.
[0099] Quality inspectors select the production batch to be inspected. The business server reads the product name and specifications corresponding to that production batch and obtains the corresponding quality inspection item template. The quality inspection item template records all mandatory inspection items corresponding to the current product specifications, the judgment conditions for each mandatory inspection item, and the handling type for any mandatory inspection item that fails.
[0100] Quality inspectors enter testing data according to the mandatory testing items. The business server records the testing item identifier, testing result, testing time, inspector, item judgment result, processing type, and corresponding production batch identifier. For numerical testing items, the testing result is compared with the upper and lower limits allowed for that item; for categorical testing items, the testing result is compared with the set of allowed results.
[0101] Each mandatory inspection item that has been entered and meets data integrity requirements will be marked with a valid pass indicator. If any mandatory inspection items are still incomplete, the production batch will remain in a pending inspection state and will not be released as qualified. When a new re-inspection is added, a new quality inspection record will be created and stored together with the original quality inspection record.
[0102] Sub-step S202: Calculate the basic release result of the production batch and determine the quality status based on the pass status of all mandatory inspection items.
[0103] After all mandatory inspection items have been validly determined, the business server reads the pass status of each mandatory inspection item. If all mandatory inspection items pass, the basic release result of the production batch is "passed"; if any mandatory inspection item fails, the basic release result of the production batch is "failed".
[0104] The formula for calculating the basic release result of the production batch is as follows: ; in, This serves as the baseline release result for the current production batch, indicating whether all mandatory inspection items for the current production batch have passed simultaneously. Take 0 or 1, A value of 1 indicates that all mandatory inspection items have been passed. A value of 0 indicates that at least one mandatory inspection item failed. For the first The pass mark for each mandatory inspection item represents the first... The judgment results for each mandatory inspection item are generated according to the corresponding quality inspection item template. Take 0 or 1, Equal to 1 means the first All mandatory inspection items passed. Equal to 0 means the first One of the mandatory inspection items failed; This represents the total number of mandatory inspection items for the current production batch, indicating the number of items involved in the basic release decision for the current production batch. Take an integer not less than 1; This is the sequential index of mandatory inspection items, representing the order of mandatory inspection items involved in the basic release judgment in the current production batch. The value range is 1~ .
[0105] When the basic release result of a production batch is "pass," the current quality status of the production batch is updated to "qualified." When the basic release result of a production batch is "fail," the business server reads the processing type of the corresponding failed mandatory inspection item. If the processing type is "re-inspection," a "re-inspection" status is created; if the processing type is "unqualified," an "unqualified" status is created. The quality control data of the corresponding ton bag file for that production batch is updated synchronously when the current quality status of the production batch is updated.
[0106] Sub-step S203 generates formal warehousing permissions and normal sales and shipment permissions based on the current quality status of the production batch.
[0107] When a production batch is in a qualified state, the corresponding ton bag finished product is granted formal warehousing and normal sales and shipment permissions. When scanning the barcode during warehousing or shipment loading, the business server reads the current quality status and corresponding permission status of the production batch, and uses the corresponding permissions as one of the conditions for the business action to proceed.
[0108] When a production batch is in the pending inspection or re-inspection stage, the corresponding finished ton bags are restricted to storage locations designated for pending inspection purposes, and no normal sales and shipment authorization is granted. Finished ton bags in the non-conforming stage are restricted to storage locations designated for isolation or rework purposes, and no normal sales and shipment authorization is granted.
[0109] When a valid concession acceptance record exists for a production batch, the business server further verifies the current delivery note or outbound slip, the receiving party, the purpose, and the allowed quantity. Only when the current shipping business context meets all the constraints of the concession acceptance record will the corresponding ton-bag finished product obtain the appropriate shipping authorization for that shipment. If the concession acceptance record is invalid or the current shipping business context exceeds the specified limits, no corresponding shipping authorization will be granted.
[0110] See attached document Figure 5 Step S300 involves establishing the target storage location's inbound business context and generating finished product inventory and storage location records for ton bags through continuous barcode scanning. This is executed through the warehouse circulation module and includes the following sub-steps: Sub-step S301: Before the continuous scanning and warehousing of finished ton bags begins, establish an inbound business context containing target storage location data.
[0111] Warehouse staff access the inbound operation interface via PDA, select the inbound business type, warehouse, region, and target storage location, and submit the selection to the business server. The business server receives the inbound business type, warehouse, region, and target storage location, generates a business session identifier, and writes the data into the current inbound business context.
[0112] After the current inbound business context is established, the business server returns the current warehouse, region, and target storage location to the PDA. The PDA maintains the displayed data during continuous barcode scanning. When continuously reading QR code tags, each scan request carries the current business session identifier. The business server associates the business session identifier with the scan result and continuously associates multiple subsequent scan results with the same target storage location.
[0113] When warehouse staff execute a target storage location switch, the PDA sends a target storage location switch instruction to the business server. Upon receiving the target storage location switch instruction, the business server terminates the original inbound business context, saves the existing temporary inbound details, and establishes a new inbound business context based on the new target storage location.
[0114] Sub-step S302 performs tag status, inventory status, quality status, and storage location condition verification on each continuously read QR code tag.
[0115] After the PDA reads the QR code label and obtains the ton bag file access identifier, it sends the ton bag file access identifier and the current business session identifier to the business server. The business server determines the ton bag file based on the ton bag file access identifier and reads the corresponding QR code label, production batch, and inventory record.
[0116] The business server sequentially verifies the validity status of the QR code label, the current business status of the ton bag file, and the formal warehousing authorization, and determines the current valid inventory status based on the inventory records. Ton bags that are already in a valid in-stock status will not be repeatedly entered into the current temporary warehousing details, and ton bags that have been invalidated or whose corresponding QR code labels are invalid will not be included in the temporary warehousing details.
[0117] After completing the above verification, the business server reads the current quality status of the production batch and verifies the intended use of the target storage location. Ton bags with formal warehousing authority and in a qualified state are placed in the normal finished product storage location; ton bags in a pending inspection or re-inspection state are restricted to the pending inspection storage location; and ton bags in a substandard state are restricted to the isolation storage location or the rework storage location. If the intended use of the target storage location does not match the current quality status of the production batch, the scanning result will not generate a temporary warehousing detail.
[0118] Sub-step S303: Accumulate the target warehouse location inventory weight based on the temporary storage details and submit the package-by-package storage and status update data.
[0119] During continuous barcode scanning, the business server generates a temporary storage entry detail for each verified ton bag of finished product. The temporary storage entry detail records the unique package number, production batch identifier, product name, specifications, confirmed weight, target storage location identifier, and current business session identifier.
[0120] After warehouse staff complete continuous barcode scanning, they submit an inbound confirmation. The business server generates inbound records and package-by-package inbound details based on all temporarily stored inbound details, forming inventory records and storage location records. It also generates a flow event of type "inbound" for each package. The current business status of the ton bag file is updated to "inbound," and the current storage location is updated to the target storage location recorded in the inbound business context.
[0121] The formula for calculating the effective inventory weight of the target storage location is as follows: ; in, The effective inventory weight of the current target warehouse location, in kg, represents the total confirmed weight of all ton bags of finished products still in the current target warehouse location as determined by the latest effective turnover event. For the current target storage location, the first The confirmed weight of the finished product in valid ton bags, in kg, represents the number of ton bags. The weight value of the finished product in valid ton bags is included in inventory statistics and subsequent shipment statistics; This represents the number of valid finished ton bags in the current target storage location, in packages. It indicates the number of finished ton bags that are currently in storage and whose current storage location points to the target storage location. Take an integer not less than 0; This is the sequence index of the effective ton-bag finished products for the current target storage location, representing the position of the ton-bag finished products that participate in the accumulation of inventory weight for the current target storage location. The value range is 1~ .
[0122] When valid actual weighing data exists for the finished ton bags, this data is used as the confirmed weight. When no actual weighing data is available for the finished ton bags, the default single-bag weight corresponding to the production batch is used as the confirmed weight. If a weight correction occurs subsequently, a new flow event of type "weight correction" is added, and the confirmed weight in the ton bag file is updated. The valid inventory weight at the current target storage location is then recalculated based on the updated confirmed weight. The current business status of the receiving record, inventory record, storage location record, and ton bag file, along with the receiving flow event, are submitted synchronously. If any data write fails, the corresponding status is not updated.
[0123] See attached document Figure 6 Step S400 involves establishing a delivery note shipping business context and completing package-by-package verification and outbound confirmation through continuous barcode scanning. This is executed via the shipping verification module and includes the following sub-steps: Sub-step S401: Before the continuous scanning of the loading code begins, a shipping business context containing delivery order plan information and vehicle information is established.
[0124] The shipping personnel select the delivery note or outbound order to be executed via PDA. The business server reads the planned product name, planned specifications, planned shipment weight, and document status from the delivery note or outbound order, and simultaneously reads the corresponding recipient, vehicle information, and driver information, and writes the read data into the shipping business context.
[0125] When the document status meets the loading conditions, the business server establishes the current shipping business context and returns the corresponding delivery note or outbound order plan data to the PDA. The current shipping business context has an independent business session identifier, and all barcode data submitted during continuous scanning carries this business session identifier.
[0126] When the shipping personnel switch between delivery notes or outbound orders, the business server terminates the subsequent scanning of the original shipping business context and establishes a new shipping business context. Valid loading details already formed in the original shipping business context are processed according to the corresponding cancellation, save, or confirmation operations and are not mixed with the new shipping business context.
[0127] Sub-step S402 performs a joint verification of the validity of inventory quality specification labels and document occupancy status for continuously read ton bags of finished products.
[0128] After scanning the QR code label, the PDA sends the ton bag file access identifier and the current shipping business context to the business server. The business server determines the ton bag file based on the ton bag file access identifier and reads the validity status of the QR code label, the current business status of the ton bag file, normal sales and shipping permissions, and inventory records.
[0129] The business server sequentially verifies the validity of the QR code label, the current business status of the ton bag file, and the normal sales and shipment permissions. Based on the inventory records, it determines the current valid inventory status and matches the product name and specifications in the ton bag file with the planned product name and specifications in the current delivery note or outbound order. If any mandatory condition is not met, the scan will not be entered into the valid loading details.
[0130] The business server further checks for any other temporary occupancy associations for incomplete delivery notes or outbound orders. If no other temporary occupancy associations exist, the verified ton bag finished product is added to the current valid loading details, and a temporary occupancy association is established between the ton bag file identifier and the current delivery note or outbound order identifier. If other temporary occupancy associations for incomplete delivery notes or outbound orders already exist, no new valid loading details are generated.
[0131] Sub-step S403: Perform outbound confirmation control based on the deviation between the actual loading weight and the planned shipment weight generated by scanning each package.
[0132] The business server reads the planned shipment weight from the current delivery note or outbound order, and adds the confirmed weight from the ton bag file associated with the valid loading details to obtain the actual loading weight. The current delivery note or outbound order also saves the planned shipment weight and the allowable relative weight deviation threshold.
[0133] The permissible relative weight deviation threshold is configured according to product specifications and shipping control rules, with a parameter value ranging from 0 to 0.05. When the current shipping business context is established, the permissible relative weight deviation threshold determined by the corresponding delivery note or outbound note is written into the shipping business context and remains consistent throughout a continuous loading verification process.
[0134] The formula for the relative deviation of the actual loaded weight is as follows: ; in, This is the relative deviation of the actual loading weight of the current delivery note or outbound order. It represents the relative difference between the actual total loading weight verified by scanning the code and the planned shipment weight of the current delivery note or outbound order. For the current shipping business context, the first The confirmed weight of the finished ton bags, verified through inspection, is in kg, representing the weight of the first ton bag. The weight of the finished ton bags is included in the total weight of the actual loading. This refers to the number of finished ton bags that have been verified and added to the valid loading details in the current shipping context, expressed in bags. It represents the number of valid finished ton bag packages loaded in this shipment. Take an integer not less than 0; This represents the planned shipment weight for the current delivery note or outbound shipment order, in kg. It indicates the target weight of finished ton bags required by the current delivery note or outbound shipment order. Greater than 0; This is a valid loading sequence index for finished ton bags in the current shipping context, representing the position of the finished ton bags that participated in the cumulative actual loading weight. The value range is 1~ .
[0135] The current outbound control conditions for delivery notes or outbound orders are as follows: ; in, This is the permissible relative weight deviation threshold used for the current delivery note or outbound order. It represents the maximum permissible relative deviation between the actual loading weight and the planned shipment weight, without incorporating weight discrepancy processing. The value range is 0 to 0.05.
[0136] When the relative deviation of the actual loading weight is not greater than the allowable relative weight deviation threshold, the business server generates an outbound record and associates it with a delivery note or outbound slip, while simultaneously updating the current business status and inventory record of the corresponding ton bag file. When the relative deviation of the actual loading weight is greater than the allowable relative weight deviation threshold, the business server generates a weight difference status and maintains valid loading details, but does not generate an outbound record. After completing the difference processing that meets the permission requirements, the outbound control judgment is re-executed according to the currently valid loading details.
[0137] See attached document Figure 7 Step S500 involves adding circulation events according to the business occurrence time and reconstructing the current status of the finished ton bags and the hierarchical traceability results. This is executed through the traceability audit module and includes the following sub-steps: Sub-step S501 generates independent supplementary flow events for labeling, quality inspection, warehousing, transfer, outbound signing, and abnormal handling.
[0138] The traceability audit module adds flow events based on the ton bag files, inbound records, and outbound records. Independent flow events are generated for labeling confirmation, quality inspection association, inbound, transfer, loading, outbound, receipt, label reprinting, label cancellation, weight correction, quality correction, inbound cancellation, outbound cancellation, and return inbound.
[0139] Each transaction event records the ton bag file identifier, production batch identifier, event type, business status before the event, business status after the event, business association identifier, and event time. It can also further record the unique package number and operator identifier. When a storage location change is involved, both the original and target storage location identifiers are recorded. When a weight correction is involved, both the confirmed weight before and after the correction are recorded. When a label is reprinted, both the original and replacement QR code label identifiers are recorded.
[0140] Existing workflow events are preserved. When business operations are corrected or reversed, new workflow events are added, and the original workflow events are not overwritten or deleted. When the same business data is submitted repeatedly, the system checks whether a corresponding valid record already exists based on the unique package number, business type, and business association identifier. If a corresponding valid record already exists, inventory or loading data is not added again.
[0141] Sub-step S502: Perform state transitions item by item according to the order of occurrence of all valid flow events and determine the unique current business state.
[0142] The business server reads all valid transfer events corresponding to the target ton bag file and establishes an event sequence according to the order in which the transfer events occurred. Each business state is configured with the next allowed event type and the target business state after the event is completed.
[0143] After the ton bag file is established, it enters the corresponding current business status according to the business process. After labeling confirmation is completed, it enters the labeled status. After quality inspection is completed, it enters the pending inspection status, qualified pending warehousing status, or unqualified isolation status according to the current quality status of the production batch. After warehousing is completed, it enters the warehoused status. After outbound is completed, it enters the outbound status. After signing is completed, it enters the signed status.
[0144] When the event sequence includes events such as warehouse transfer, inbound cancellation, outbound cancellation, return inbound, or quality correction, the business server re-executes the corresponding state transitions according to the order in which these events occurred, and determines the current business status of the ton bag file based on this order. The ton bag file saves the current business status as direct verification data for subsequent business operations, and also retains all historical events that led to the current business status.
[0145] Sub-step S503: Output complete internal traceability data and publicly available external traceability data based on the permission set corresponding to the QR code access subject.
[0146] When an accessing entity accesses the ton bag file via a QR code label, the business server reads the ton bag file access identifier from the QR code label and identifies the ton bag file based on the access identifier. The business server verifies the accessing entity's identity, determines the data field permission set based on the accessing entity's authentication result, and outputs traceability data according to the corresponding data field permission set.
[0147] The data field permission set for internal authorized access subjects includes production batch, confirmed weight, quality inspection records, current storage location, historical storage location, inbound records, outbound records, vehicle information, receipt status, and circulation events. The business server can display the corresponding circulation events according to their occurrence time.
[0148] The data field permission set for external access subjects includes unique package number, product name, specifications, confirmed weight, shipping date, quality conclusion summary, and receipt status. The business server outputs traceability data according to the data field permission set, and does not output all internal warehouse location data, other receiving object document data, complete quality inspection raw data, and internal personnel information to external access subjects.
[0149] Specific application examples: See attached document Figure 8 In a specific application example, a production shift in a certain production area produces a certain type of ton bag finished product with a target production weight of 34,000 kg and a default single bag weight of 1,000 kg / bag.
[0150] To calculate the pre-generated quantity of QR code labels, the parameter values must first be determined. Take 34,000 kg. Take 1000kg / bag. Substitute the above parameters into the formula for calculating the pre-generated quantity of QR code labels to obtain the result. There are 34 packages. Based on this, the business server generates 34 unique package numbers and 34 QR code labels, generates a ton bag file access identifier for each unique package number, and writes it into the corresponding QR code label.
[0151] In this specific application embodiment, the overall size of the QR code label is set to 100mm × 70mm, and the size of the QR code machine reading area is set to 32mm × 32mm. After the packaging of 34 ton bags is completed, the 34 QR code labels are labeled and confirmed, and 34 corresponding ton bag files are established.
[0152] The quality inspection phase includes four mandatory inspection items. First, the parameter values are determined. Take 4 items, 4 mandatory inspection items The parameters are taken as 1, 1, 1, and 1 in sequence. Substituting these parameters into the formula for calculating the basic release result of the production batch, the result is obtained. The value is 1. Based on this calculation result, the current quality status of the production batch is updated to qualified, and the corresponding 34 ton bags of finished products are granted formal warehousing and normal sales and shipment permissions.
[0153] In another quality inspection status verification, maintain Take 4, and select the 4 mandatory inspection items. Set these parameters sequentially to 1, 1, 0, and 1. Substitute these parameters into the formula for calculating the basic release result of the production batch to obtain the result. The value is 0. Based on the processing type corresponding to the failed mandatory inspection item, a re-inspection status or a non-conforming status is established. The production batch does not qualify for normal sales and shipment, and the corresponding ton-bag finished product is not allowed to enter the valid loading details for normal sales and shipment during the shipment verification process.
[0154] Warehouse staff used a PDA to create an inbound business context corresponding to storage location 03 in Zone 1 of a finished goods warehouse, and continuously scanned the QR code labels of 34 finished goods ton bags that had already been granted formal inbound access. All 34 valid scans passed the verification of QR code label validity status, current business status of the ton bag file, formal inbound access access, current valid inventory status, and target storage location purpose, and generated temporary inbound details for each.
[0155] When calculating inventory weight, the parameter values must first be determined. Take 34 packs. exist For values from 1 to 34, a value of 1000 kg is used. Substituting the above parameters into the formula for calculating the effective inventory weight of the target storage location, the result is obtained. The quantity is 34,000 kg. Based on this, the business server generates a valid inventory result of 34 packages and 34,000 kg for the target storage location. At the same time, it generates an inbound record, an inventory record, and a storage location record, and generates a flow event with the event type of inbound for each package.
[0156] To verify and confirm the weight changes and the processing of cumulative weight after weight correction, an additional set of 34 packages of continuously scanned weight change data was set up in addition to the aforementioned normal inbound data. (Attached) Figure 8 The horizontal axis represents the scanned package number, and the vertical axis represents the cumulative weight in kg. The planned cumulative weight curve is formed by accumulating the weight of each package sequentially according to the default single package weight; the actual cumulative weight curve is formed by accumulating the confirmed weight in the file of each ton bag at the time of scanning; the corrected cumulative weight curve is formed by re-accumulating the confirmed weight after the weight correction circulation event takes effect. (Appendix) Figure 8 Three black curves are set up: the planned cumulative weight curve, the actual cumulative weight curve, and the corrected cumulative weight curve, each marked differently. During the initial barcode scanning phase, when the confirmed weight of each ton bag matches the default single-bag weight, the three curves remain consistent or nearly identical. Subsequently, when the confirmed weight of some ton bags differs from the default single-bag weight, the actual cumulative weight curve deviates from the planned cumulative weight curve. After the corresponding weight correction event takes effect, the corrected cumulative weight curve is re-formed based on the corrected confirmed weight. (Appendix) Figure 8 This indicates the relationship between the planned cumulative weight, actual cumulative weight, and corrected cumulative weight under the same scanning sequence. This set of weight change data is consistent with the confirmed weight of the aforementioned 34 packages, which is 1000 kg. The verification data for the normal warehousing of 34,000 kg were verified separately.
[0157] During the shipping phase, a delivery note with a planned shipment weight of 34,000 kg is created. The shipping personnel select this delivery note using a PDA and create a shipping business context, continuously scanning the 34 ton bags of finished products from the aforementioned normal warehousing verification. The QR code labels on all 34 ton bags are valid, the current business status of the ton bag files allows for shipment, all have normal sales and shipping permissions, and according to inventory records, they are all in valid inventory status. The product names and specifications are consistent with the current delivery note, and there are no other incomplete delivery notes or temporary attachments to them. Therefore, all are considered valid loading details.
[0158] Under normal loading conditions, the first step is to determine the parameter values. Take 34 packs. exist For each time value from 1 to 34, 1000 kg was taken. Take 34,000 kg. We take 0.01. Substituting the above parameters into the formula for the relative deviation of the actual loaded weight, the actual loaded weight is 34000 kg, and the calculation yields... It is 0. Then... and The comparison shows that 0 is less than 0.01, which meets the outbound control conditions. The business server then generates an outbound record and associates it with the current delivery note.
[0159] In verifying the change in the weight of the tail package, the parameter values are first determined. Take 34 packs, the first 33. Take 1000kg each, the 34th one Take 850kg, Take 34,000 kg. We take 0.01. Substituting the above parameters into the formula for the relative deviation of the actual loaded weight, the actual loaded weight is 33850 kg, and the calculation yields... Approximately 0.00441. Then... and Comparing the values, 0.00441 is less than 0.01, satisfying the outbound control conditions for the current delivery note. The business server saves the actual loading weight as 33850kg, generates an outbound record, and associates it with the current delivery note.
[0160] In the verification of the missing equipment status, the parameter values are first determined. Take 33 packets, each Each was taken as 1000 kg. Take 34,000 kg. We take 0.01. Substituting the above parameters into the formula for the relative deviation of the actual loaded weight, the actual loaded weight is 33000 kg, and the calculation yields... Approximately 0.02941. Then... and The comparison shows that 0.02941 is greater than 0.01, which does not meet the outbound control conditions of the current delivery order. The business server generates a weight difference status and maintains a valid loading detail, but does not generate an outbound record.
[0161] After normal outbound delivery is completed, the traceability and auditing module saves the flow events with event types of labeling confirmation, quality inspection association, warehousing, loading, and outbound. The business server determines the current business status of the finished ton bag as "outbound" according to the order of occurrence of the flow events. When the receipt is subsequently completed, a new flow event with the event type of "receipt" is added, and the current business status of the ton bag file is updated to "receipt completed".
[0162] If a QR code label cannot be read correctly by the PDA during subsequent circulation, the PDA sends a QR code reading failure message to the business server. Operators then visually scan the unique package number in the area to retrieve the original ton bag file. After confirming the unique package number and ton bag file, the business server generates a replacement QR code label containing the access identifier of the original ton bag file and sets the original QR code label to an invalid state. The replacement QR code label continues to correspond to the original ton bag file, and a QR code label reprint circulation event is generated. Therefore, the production batch, quality inspection records, warehousing records, outbound records, and circulation events read through the replacement QR code label continue to be associated with the original ton bag file.
[0163] Experimental verification and effect comparison section: See attached document Figure 9 This study compares and verifies the processing time of the package-by-package repeated location confirmation method with the continuous barcode scanning method for inbound business context adopted in this invention. The main purpose of this verification is to compare the processing time differences between the two inbound processing methods under the same processing conditions due to different operation procedures, and to analyze the changing trends of the processing time of the two methods as the number of packages processed in a single batch increases.
[0164] To minimize the impact of factors unrelated to the processing method itself on the comparison results, both processing methods used the same PDA, the same QR code label, and connected to the same business server, completing the scanning and data submission process under the same data communication conditions. During the comparison, the QR code label specifications, PDA scanning parameters, and business server processing logic remained consistent, and each group of processes was completed according to the same scanning operation sequence. The package-by-package repeated location confirmation processing method re-executes the target location confirmation after scanning each ton bag of finished product; the continuous scanning processing method using the inbound business context adopted in this invention establishes the inbound business context corresponding to the target location before starting scanning, and subsequent valid scans inherit the target location through the business session identifier.
[0165] This validation selected batches of 10, 20, 34, and 50 ton bags of finished products as different processing scales to compare the total processing time of the two processing methods as the number of bags increased. The recorded processing time includes the time elapsed from the start of the current batch's warehousing operation to the completion of the batch's barcode scanning process. Since the validation objective is to compare the relative processing times of the two processes under the same conditions and their relationship with increasing processing scale, a supplementary... Figure 9 The data in this document is used to characterize the processing time results under the aforementioned comparison conditions. It is not intended to limit the processing time of a single ton bag of finished products to a fixed time, nor does it imply that the processing time in actual applications must vary according to a strict linear relationship.
[0166] Under the condition of processing 10 ton bags of finished products in a single batch, the total processing time of the method of repeatedly confirming the warehouse location for each bag is 92 seconds, and the total processing time of the method of continuous scanning of the inbound business context is 36 seconds. The total processing time difference between the two methods is 56 seconds, which corresponds to a processing time reduction of 60.9%.
[0167] Under the condition of processing 20 ton bags of finished products in a single batch, the total processing time of the package-by-package repeated warehouse location confirmation processing method is 181s, and the total processing time of the continuous barcode scanning processing method of the inbound business context is 63s. The total processing time difference between the two processing methods is 118s, which corresponds to a processing time reduction of 65.2%.
[0168] Under the condition of processing 34 ton bags of finished products in a single batch, the total processing time of the package-by-package repeated warehouse location confirmation processing method is 303s, and the total processing time of the continuous barcode scanning processing method of the inbound business context is 100s. The total processing time difference between the two processing methods is 203s, which corresponds to a processing time reduction of 67.0%.
[0169] Under the condition of processing 50 ton bags of finished products in a single batch, the total processing time of the package-by-package repeated warehouse location confirmation method is 441s, and the total processing time of the continuous barcode scanning method of the inbound business context is 139s. The total processing time difference between the two methods is 302s, which corresponds to a processing time reduction of 68.5%.
[0170] Appendix Figure 9 In the diagram, the horizontal axis represents the number of packages processed in a single batch, and the vertical axis represents the processing time, in seconds. The curve for the normal package-by-package processing method corresponds to the aforementioned package-by-package repeated location confirmation processing method, while the curve for the continuous barcode scanning processing method corresponds to the aforementioned continuous barcode scanning processing method within the inbound business context. The time difference curve represents the difference in total processing time between the two processing methods under the condition of the same number of packages processed.
[0171] As the number of batch processing packages increases from 10 to 50, the total processing time for both methods increases overall. This is because, with the increase in the number of processing packages, the number of times the package-by-package processing steps such as QR code reading, scanning result submission, and server verification are executed increases accordingly, thus the total processing time increases with the processing scale. The package-by-package repeated location confirmation processing method requires repeating the target location confirmation operation for each package, while the continuous scanning processing method for inbound business context only establishes the target location correspondence once before continuous scanning begins, and subsequent packages inherit this target location through the business session identifier. Therefore, as the number of processing packages increases, the number of omitted repeated target location confirmations increases accordingly, and the difference in total processing time between the two methods also increases overall.
[0172] Appendix Figure 9The curves formed by the data points in the figure show an approximately linear change, reflecting only the trend under the verification conditions and the selected processing scale. The actual processing time in a warehouse may also be affected by factors such as the operator's scanning rhythm, the distance and angle between the QR code and the PDA, the QR code reading status, wireless data communication latency, and server response status. Therefore, the processing time may fluctuate under different practical application environments. This invention does not intend to impose any restrictions on the processing time. Figure 9 The specific processing time or strict linear relationship shown is used as a limitation.
Claims
1. A batch circulation, warehousing, receipt, and dispatch verification and traceability system for finished ton-bag products using QR codes, characterized in that, include: The batch label module is used to create production batches based on production tasks, generate unique package numbers, QR code labels containing ton bag file access identifiers and ton bag files, and update the validity status of QR code labels. The quality inspection and release module is used to acquire the quality inspection data of the production batch and form the current quality status of the production batch, the formal warehousing authority, and the normal sales and shipment authority. The warehouse circulation module is used to establish the inbound business context. Based on the formal inbound permissions and the inbound business context, it continuously reads the QR code labels to form inbound records, inventory records and storage location records. The shipment verification module is used to establish a shipment business context. Based on normal sales and shipment permissions, inventory records, and the shipment business context, it continuously reads QR code tags to form valid loading details and outbound records, and associates them with delivery notes or outbound notes. The traceability audit module is used to add circulation events based on ton bag files, inbound records, and outbound records, determine the current business status of ton bag files, and output traceability data.
2. The ton bag finished product QR code batch circulation warehousing receipt and dispatch verification and traceability system according to claim 1, characterized in that, The batch label module is specifically used to establish production batches based on production tasks, generate unique package numbers, QR code labels containing ton bag file access identifiers, and ton bag files, including: Read the production date, production shift, production line, product name, specifications, target production weight, and default single package weight; create a production batch and generate a production batch identifier. Determine the number of QR code labels to be pre-generated based on the target production weight and the default single package weight, generate a ton bag file access identifier for each unique package number and write it into the QR code label; After receiving the labeling confirmation data, a ton bag file is created; when the actual weighing data is obtained, the corresponding weight is written into the ton bag file as the confirmed weight; if the actual weighing data is not obtained, the default single bag weight is written into the ton bag file as the confirmed weight.
3. The ton bag finished product QR code batch circulation warehousing receipt and dispatch verification and traceability system according to claim 2, characterized in that, The batch label module is specifically used to update the validity status of QR code labels, including: After a production batch is completed, QR code labels that do not correspond to the ton bag file will be set to invalid status; when the actual number of bags produced exceeds the pre-generated number of QR code labels, a unique bag number and QR code label will be generated for the corresponding production batch. When receiving a QR code reading failure message from a handheld data terminal, the system retrieves the ton bag file based on the unique package number, generates a replacement QR code label containing the ton bag file access identifier, sets the original QR code label to an invalid state, and generates a QR code label reprint event.
4. The ton bag finished product QR code batch circulation warehousing receipt and dispatch verification and traceability system according to claim 1, characterized in that, The quality inspection and release module is specifically used to acquire quality inspection data for production batches, and to establish the current quality status, formal warehousing authority, and normal sales and shipment authority for each production batch, including: Read the quality inspection item template based on the product name and specifications, and generate the judgment results for each mandatory inspection item; A qualified status is formed when all mandatory inspection items pass; a re-inspection status is formed when there are any unqualified mandatory inspection items and the handling type is re-inspection; and an unqualified status is formed when the handling type is unqualified. A qualified status grants formal warehousing and normal sales and shipment permissions; a pending inspection status and a re-inspection status are limited to warehouse locations for pending inspection purposes, while a non-qualified status is limited to warehouse locations for isolation purposes or rework purposes, and neither grants normal sales and shipment permissions.
5. The ton bag finished product QR code batch circulation warehousing receipt and dispatch verification and traceability system according to claim 1, characterized in that, The warehousing and distribution module is specifically used to establish the inbound business context, including: Receive the inbound business type, warehouse, region, and target storage location, generate a business session identifier, and write the above data into the inbound business context; When continuously reading QR code labels, associate the business session identifier with the scanning result and write the target storage location identifier into the verified temporary storage details; When a target storage location switching instruction is received, the original inbound business context is terminated, and a new inbound business context is established based on the new target storage location.
6. The ton bag finished product QR code batch circulation warehousing receipt and dispatch verification and traceability system according to claim 5, characterized in that, The warehousing and circulation module is specifically used to continuously read QR code tags based on formal inbound permissions and inbound business context, forming inbound records, inventory records, and storage location records, including: When continuously reading QR code labels, verify the validity status of the QR code label, the current business status of the ton bag file, and the formal warehousing authority. Determine the current valid inventory status based on the inventory record, and verify whether the purpose of the target storage location matches the current quality status of the production batch. After verification, a temporary storage entry detail is generated. After submitting the entry confirmation, an entry record and a package-by-package entry detail are generated, and the current business status, current storage location, and inventory record of the ton bag file are updated. The aforementioned data is submitted synchronously with the data entry and transfer events. If any data writing fails, the corresponding status is not updated.
7. The ton bag finished product QR code batch circulation warehousing receipt and dispatch verification and traceability system according to claim 2, characterized in that, The shipment verification module is specifically used to establish a shipment business context. Based on normal sales and shipment permissions, inventory records, and the shipment business context, it continuously reads QR code tags and generates valid loading details, including: Read the planned product name, planned specifications, planned shipment weight, and document status from the delivery note or outbound order, and write the read data into the shipping business context; When continuously reading QR code labels, the validity status of the QR code labels, the current business status of the ton bag file, and the normal sales and shipment permissions are verified. The current valid inventory status is determined based on the inventory records, and the product name and specifications in the ton bag file are matched with the planned product name and planned specifications. When there are no other unfinished delivery notes or outbound notes temporarily associated with the loading, a valid loading list is generated, and a temporary association is established between the ton bag file identifier and the current delivery note or outbound note identifier.
8. The ton bag finished product QR code batch circulation warehousing receipt and dispatch verification and traceability system according to claim 7, characterized in that, The shipment verification module is specifically used to generate outbound records and associate them with delivery notes or outbound slips, including: Read the planned shipment weight from the delivery note or outbound note, read the confirmed weight from the ton bag file associated with the valid loading details and accumulate it to obtain the actual loading weight. Divide the absolute value of the difference between the actual loading weight and the planned shipment weight by the planned shipment weight to obtain the relative deviation of the actual loading weight. The allowable relative weight deviation threshold is 0 to 0.
05. When the actual loading weight relative deviation is not greater than the allowable relative weight deviation threshold, an outbound record is generated and associated with a delivery note or outbound note. When the relative deviation of the actual loading weight exceeds the allowable relative weight deviation threshold, a weight difference status is generated and a valid loading detail is maintained, but no outbound record is generated.
9. The ton bag finished product QR code batch circulation warehousing receipt and dispatch verification and traceability system according to claim 1, characterized in that, The traceability audit module is specifically used to add circulation events based on the ton bag files, inbound records, and outbound records, and to determine the current business status of the ton bag files, including: The system generates workflow events for labeling confirmation, quality inspection association, warehousing, warehouse transfer, loading, outbound, receipt, label reprinting, label invalidation, weight correction, quality correction, warehousing cancellation, outbound cancellation, and return warehousing. The event log includes the ton bag file identifier, production batch identifier, event type, business status before the event, business status after the event, business association identifier, and event occurrence time; When business is modified or reversed, a corresponding transfer event is added. The original transfer event is not overwritten or deleted, and the current business status of the ton bag file is determined according to the order in which the transfer events occur.
10. A batch transfer, storage, receipt, and traceability system for finished ton-bag products with QR codes according to claim 2, characterized in that, The traceability audit module is specifically used to output traceability data, including: Read the access identifier of the ton bag file from the QR code label, determine the ton bag file based on the access identifier, and determine the set of data field permissions based on the authentication result of the access subject; The set of data field permissions for internal authorized access subjects includes production batch, confirmed weight, quality inspection records, current storage location, historical storage location, inbound records, outbound records, vehicle information, receipt status, and circulation events; The data field permission set for external access subjects includes unique package number, product name, specifications, confirmed weight, shipping date, quality conclusion summary, and receipt status, and outputs traceability data according to the corresponding data field permission set.
