A warehouse management method, device, medium and product based on a two-dimensional code
Patent Information
- Application Number
- CN202611065651.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-17
- Publication Date
- 2026-10-13
AI Technical Summary
[0006]本发明提供了一种基于二维码的仓储管理方法、设备、介质及产品,以解决原料库沿用一维码进行单模式仓储管理灵活性差以及一维码数据容量有限的问题
[0011]根据本发明的另一方面,提供了一种计算机程序产品,所述计算机程序产品包括计算机程序,所述计算机程序在被处理器执行时实现本发明任一实施例所述的基于二维码的仓储管理方法。
Smart Images

Figure CN122905564A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of warehouse management technology, and in particular to a warehouse management method, equipment, medium and product based on QR codes. Background Technology
[0002] The quality of tobacco leaves depends on multiple factors, including origin, year, and grade. Currently, the raw material warehouse still relies on one-dimensional barcodes. The encoding density of one-dimensional barcodes is limited by physical width, and the data capacity of commonly used code systems does not exceed 30 characters. However, the tobacco packaging industry-specific identification code stipulated by the integrated tobacco industry platform consists of a 46-bit prefix and suffix (including version number, coding system, administrative region, enterprise code, object code, time code, etc.) and a 44-bit enterprise extension code (including packaging serial number, material code, net weight, number of prints, etc.), totaling 90 bits of structured information. One-dimensional barcodes are fundamentally unable to encode such long structured data, thus failing to meet the industry platform's requirements for data capacity and information integrity in tobacco package identification. Because the raw material warehouse has not been upgraded, the quality information from the QR code cannot currently be used by the WMS (Warehouse Management System).
[0003] Because the existing system's verification logic is hard-coded into a single mode during design, it cannot adaptively adjust when production needs switch between "strict batch traceability" (material input in the tobacco processing workshop, requiring each bale of tobacco to be verified against a specific production batch and bill of materials formula) and "flexible grade management" (material preparation and temporary storage, only requiring recording of grade, year, and quantity, without binding to batch). If the entire scenario adopts the batch mode, batch formula verification is still required for each bale when processing grade-level material preparation and warehousing, resulting in unnecessary verification overhead and operation waiting. If the entire scenario adopts the single-grade mode, the lack of batch binding during material input and warehousing cannot guarantee formula consistency, causing a break in the traceability chain. This means that if enterprises need to adapt to different business scenarios, they must deploy multiple independent systems, increasing system maintenance costs and data integration difficulties.
[0004] In existing solutions, the reading of the 1D barcodes on cigarette packs (via RFID readers or barcode scanners) and the control of the conveyor equipment are two independent links, indirectly coupled only through upper-layer application software. After the 1D barcode on the cigarette pack is read, the data is uploaded to the application layer software for verification, and the verification result is then sent down to the programmable logic controller to drive the actuator. This serial link of "read → upload → verify → send → execute" introduces an end-to-end delay of milliseconds to seconds. In the scenario of a high-speed conveyor line in a high-bay warehouse, the cigarette packs can move at a speed of 1 to 2 meters per second, and the physical distance from the scanning point to the diversion execution point is usually less than 2 meters. This means that by the time the verification result is returned, the cigarette pack has already passed the predetermined diversion decision window. Therefore, existing solutions cannot achieve real-time online interception and automatic diversion of abnormal cigarette packs (such as inconsistent grades or batches) on the conveyor line, and must rely on manual post-event handling.
[0005] It's important to note that because RFID (Radio Frequency Identification) technology relies on electromagnetic waves to establish a communication link between the tag and the reader, when RFID tags are deployed in high-bay warehouses with densely packed metal shelves, the electromagnetic waves encounter multipath reflections and signal shielding effects from the metal surfaces, leading to a significant decrease in tag reading success rate. In high-speed conveyor belts handling cigarette packs, a single failed read means that the pack needs manual re-inspection or visual confirmation, interrupting the automated inbound and outbound process and negating the efficiency advantage of RFID's contactless reading. Furthermore, each RFID tag costs approximately 0.5 to 2 yuan; for a raw material warehouse processing hundreds of thousands of packs annually, tag consumption constitutes a significant and ongoing operating expense. More critically, RFID tags typically only store a serial number ID; complete cigarette pack information (grade, year, origin, weight, etc.) must be stored in a backend database and retrieved via network query. If the network is interrupted or the backend system malfunctions, on-site operators cannot obtain any useful information from the tag itself, creating a strong dependence on the network and backend system. Summary of the Invention
[0006] This invention provides a QR code-based warehouse management method, equipment, medium, and product to solve the problems of poor flexibility and limited data capacity of QR codes in single-mode warehouse management of raw material warehouses.
[0007] According to one aspect of the present invention, a warehouse management method based on QR codes is provided, comprising: When the current inbound mode is single-level inbound mode, the system obtains the current inbound material level association information parsed from the QR code of the current inbound material by the WCS (Warehouse Control System); compares the current inbound material level association information with the inbound order to obtain the inbound order comparison result, and generates the diversion mechanism drive instruction based on the inbound order comparison result. When the current inbound mode is single-batch inbound mode, the batch number and the bill of materials are bound according to the batch material preparation plan to obtain the batch list binding data; the batch association information of the current inbound material is obtained from the QR code of the current inbound material by WCS; after determining the batch association information of the current inbound material and the batch list binding data, and after passing the integrity verification, the current outbound material is issued in a single batch.
[0008] According to another aspect of the present invention, a QR code-based warehouse management device is provided, comprising: The first mode warehouse management module is used to obtain the current inbound material level association information parsed from the QR code of the current inbound material by the warehouse control system (WCS) when the current inbound mode is single-level inbound mode; compare the current inbound material level association information with the inbound order to obtain the inbound order comparison result; and generate the diversion mechanism drive instruction based on the inbound order comparison result. The second-mode warehouse management module is used to bind the batch number and the material list according to the batch material preparation plan when the current inbound mode is single-batch inbound mode, so as to obtain the batch list binding data; obtain the batch association information of the current inbound material parsed by WCS from the QR code of the current inbound material; and after determining the batch association information and batch list binding data of the current inbound material and passing the integrity verification, perform single-batch outbound of the current outbound material.
[0009] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: At least one processor; and a memory communicatively connected to said at least one processor; The memory stores a computer program that can be executed by the at least one processor, which is then executed by the at least one processor to enable the at least one processor to perform the QR code-based warehouse management method according to any embodiment of the present invention.
[0010] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions, the computer instructions being configured to cause a processor to execute and implement the QR code-based warehouse management method according to any embodiment of the present invention.
[0011] According to another aspect of the present invention, a computer program product is provided, the computer program product comprising a computer program that, when executed by a processor, implements the QR code-based warehouse management method described in any embodiment of the present invention.
[0012] The technical solution of this invention involves obtaining the current inbound material level association information parsed from the QR code of the current inbound material by the Warehouse Control System (WCS) when the current inbound mode is single-level inbound mode. This information is then compared with the inbound order to obtain the inbound order comparison result. Based on the comparison result, a diversion mechanism drive instruction is generated. When the current inbound mode is single-batch inbound mode, the batch number and material list are bound according to the batch material preparation plan to obtain batch list binding data. This allows the acquisition of the current inbound material batch association information parsed from the QR code by the WCS. After confirming the current inbound material batch association information and the batch list binding data, and passing integrity verification, the current outbound material is issued in a single batch. This solution uses QR codes instead of RFID tags as the unique identifier for cigarette packs. Leveraging the inherent optical recognition characteristics of QR codes, it fundamentally eliminates electromagnetic interference in the metal high-bay warehouse environment, reducing the cost per tag from the yuan level of RFID to the cent level of QR codes. Through WMS (Warehouse Management System), the solution automatically decomposes information from the QR codes, enabling the direct extraction of complete information such as grade, year, origin, and weight without needing to query the backend database. This allows the same warehouse management system to adapt to both single-grade and single-batch modes without modifying the program code. Furthermore, by moving the QR code parsing and verification logic down from the application layer, the end-to-end delay of "reading → verifying → routing" is compressed to within the time window required for real-time control of the conveyor line. This solves the problems of poor flexibility and limited data capacity of using one-dimensional barcodes for single-mode warehouse management in raw material warehouses, enabling flexible dual-mode warehouse management using QR codes in raw material warehouses.
[0013] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0014] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0015] Figure 1A flowchart illustrating a QR code-based warehouse management method provided in Embodiment 1 of the present invention; Figure 2 A flowchart illustrating a QR code-based warehouse management method provided in Embodiment 2 of the present invention; Figure 3 This is a schematic diagram of the structure of a QR code-based warehouse management device provided in Embodiment 3 of the present invention; Figure 4 A schematic diagram of an electronic device that can be used to implement embodiments of the present invention is shown. Detailed Implementation
[0016] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. 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 should fall within the scope of protection of the present invention.
[0017] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0018] Example 1 Figure 1 This is a flowchart illustrating a QR code-based warehouse management method according to Embodiment 1 of the present invention. This embodiment is applicable to situations where raw material warehouses use QR codes for multi-mode warehouse management. The method can be executed by a QR code-based warehouse management device, which can be implemented in hardware and / or software and can be configured in an electronic device. This electronic device can be a WMS (Warehouse Management System). Figure 1 As shown, the method includes: Step 110: When the current inbound mode is single-level inbound mode, obtain the current inbound material level association information parsed by WCS from the current inbound material QR code; compare the current inbound material level association information with the inbound order to obtain the inbound order comparison result, and generate the diversion mechanism drive instruction based on the inbound order comparison result.
[0019] The current receiving mode can be the receiving mode of the currently selected material. A single-level receiving mode can be a receiving mode that only verifies the level and year of the incoming material. The current receiving material QR code can be a QR code on the currently receiving material that records relevant material information. The current receiving material QR code can include an identifier prefix, identifier suffix, and enterprise extension code. For example, the identifier prefix and identifier suffix in the current receiving material QR code include fields such as version number, coding system, administrative region, enterprise code, object code, and time code. The enterprise extension code includes fields such as packaging serial number, material code, net weight, and number of prints. The current receiving material level association information can be relevant data collected from the current receiving material QR code that needs to be verified during single-level receiving. The current receiving material level association information can include material level and year. The receiving order comparison result can be the comparison result between the current receiving material level association information and the receiving order. The diversion mechanism drive instruction can be an instruction that drives the material to be diverted.
[0020] In this embodiment of the invention, if the current warehousing mode is a single-level warehousing mode, the WCS parses the QR code of the current warehousing material to obtain the current warehousing material level association information, and then the WMS compares the current warehousing material level association information with the warehousing order to obtain the warehousing order comparison result. Based on the warehousing order comparison result, a diversion mechanism drive instruction is generated to transfer the current warehousing material to the corresponding workstation through the diversion mechanism drive instruction.
[0021] Step 120: When the current inbound mode is single-batch inbound mode, bind the batch number and the bill of materials according to the batch material preparation plan to obtain the batch list binding data; obtain the batch association information of the current inbound material parsed by WCS from the QR code of the current inbound material; after determining the batch association information of the current inbound material and the batch list binding data, and after passing the integrity verification, perform single-batch outbound of the current outbound material.
[0022] The single-batch receiving mode can be a receiving mode that verifies the consistency between the batch and the material formula of the incoming materials. Batch list binding data can be data that binds the batch number and the bill of materials. The batch material preparation plan can be the materials required for the current batch and the corresponding raw material batch numbers calculated by the manufacturing execution system based on a single batch production work order. The batch association information of the currently incoming materials can be the relevant data collected from the QR code of the currently incoming materials that needs to be verified during single-batch receiving. Integrity verification can be used to verify the QR code, batch, and bill of materials of the incoming materials. The currently outgoing materials can be the objects currently being fed out of the warehouse.
[0023] In this embodiment of the invention, if the current warehousing mode is a single-batch warehousing mode, the batch number and the bill of materials can be bound based on the association between the batch number and the bill of materials in the batch material preparation plan generated by the manufacturing execution system to obtain batch list binding data. The WMS obtains the batch association information of the current warehousing material parsed by the WCS from the QR code of the current warehousing material. Then, based on the batch association information of the current warehousing material and the batch list binding data, an integrity check is performed. If the integrity check passes, the current warehousing material is warehoused. After the corresponding batch of materials is warehoused, the current outgoing material in the inventory is outgoing in a single batch based on the material release and outgoing instruction.
[0024] The technical solution of this invention involves obtaining the current inbound material level association information parsed from the QR code of the current inbound material by the Warehouse Control System (WCS) when the current inbound mode is single-level inbound mode. This information is then compared with the inbound order to obtain the inbound order comparison result. Based on the comparison result, a diversion mechanism drive instruction is generated. When the current inbound mode is single-batch inbound mode, the batch number and material list are bound according to the batch material preparation plan to obtain batch list binding data. This allows the acquisition of the current inbound material batch association information parsed from the QR code by the WCS. After confirming the current inbound material batch association information and the batch list binding data, and passing integrity verification, the current outbound material is issued in a single batch. This solution uses QR codes instead of RFID tags as the unique identifier for cigarette packs. Leveraging the inherent optical recognition characteristics of QR codes, it fundamentally eliminates electromagnetic interference in the metal high-bay warehouse environment, reducing the cost per tag from the yuan level of RFID to the cent level of QR codes. Through WMS (Warehouse Management System), the solution automatically decomposes information from the QR codes, enabling the direct extraction of complete information such as grade, year, origin, and weight without needing to query the backend database. This allows the same warehouse management system to adapt to both single-grade and single-batch modes without modifying the program code. Furthermore, by moving the QR code parsing and verification logic down from the application layer, the end-to-end delay of "reading → verifying → routing" is compressed to within the time window required for real-time control of the conveyor line. This solves the problems of poor flexibility and limited data capacity associated with using one-dimensional barcodes for single-mode warehouse management in raw material warehouses, enabling flexible dual-mode warehouse management of raw material warehouses via QR codes.
[0025] Example 2 Figure 2 This is a flowchart of a QR code-based warehouse management method provided in Embodiment 2 of the present invention. This embodiment is a specific embodiment based on the above embodiment, and provides a specific optional implementation method for generating a diversion mechanism drive instruction based on the comparison result of the inbound order. Figure 2 As shown, the method includes: Step 210: When the current inbound mode is single-level inbound mode, obtain the current inbound material level association information parsed by WCS from the current inbound material QR code; compare the current inbound material level association information with the inbound order to obtain the inbound order comparison result; when the inbound order comparison result is consistent, generate the storage location inbound diversion mechanism drive instruction; when the inbound order comparison result is inconsistent, generate the inbound abnormal diversion mechanism drive instruction.
[0026] The drive instructions for the inbound diversion mechanism can be those that drive materials normally into the storage location. The drive instructions for the inbound abnormal diversion mechanism can be those that drive materials into the abnormal material storage location.
[0027] In this embodiment of the invention, if the current warehousing mode is a single-level warehousing mode, the WCS parses the QR code of the currently inbound material to obtain the material level association information. Then, the WMS compares this material level association information with the warehousing order to obtain the warehousing order comparison result. If the comparison result matches, it indicates that the material can be normally transferred to the storage location. Therefore, a drive instruction for the storage location warehousing diversion mechanism is sent to the programmable logic controller (PLC) to transfer the material to the normal storage location. If the comparison result does not match, it indicates that the material's level and year have failed verification and are abnormal. Therefore, a drive instruction for the warehousing abnormal diversion mechanism is sent to the PLC to divert the material to the abnormal material storage location.
[0028] In an optional embodiment of the present invention, before obtaining the current inbound material level association information parsed from the QR code of the current inbound material by the WCS, the method may further include: after detecting the material position of the current inbound material by a photoelectric sensor, triggering a camera by a PLC to collect the QR code of the current inbound material; before obtaining the current inbound material batch association information parsed from the QR code of the current inbound material by the WCS, the method may further include: after detecting the material position of the current inbound material by a photoelectric sensor, triggering a camera by a PLC to collect the QR code of the current inbound material.
[0029] Material location detection can be used to detect whether incoming materials have entered the QR code recognition station.
[0030] Accordingly, before obtaining the material level association information parsed by WCS from the current material's QR code, a photoelectric sensor can be used to detect the material's location. If the material is detected entering the QR code recognition station, a QR code recognition positioning signal is sent to the PLC, which then triggers the camera to capture the QR code. Similarly, before obtaining the batch association information parsed by WCS from the current material's QR code, a photoelectric sensor can also be used to detect the material's location. If the material is detected entering the QR code recognition station, a QR code recognition positioning signal is sent to the PLC, which then triggers the camera to capture the QR code.
[0031] Step 220: When the current inbound mode is single-batch inbound mode, bind the batch number and the bill of materials according to the batch material preparation plan to obtain the batch list binding data; obtain the batch association information of the current inbound material parsed by WCS from the QR code of the current inbound material; after determining the batch association information of the current inbound material and the batch list binding data, and after passing the integrity verification, perform single-batch outbound of the current outbound material.
[0032] In an optional embodiment of the present invention, after obtaining the batch association information of the current inbound material parsed from the QR code of the current inbound material by WCS, the method may further include: after the batch association information of the current inbound material is successfully matched with the bill of materials corresponding to the batch preparation plan, a complete verification triplet is established and stored; wherein, the complete verification triplet may include the QR code, the batch, and the bill of materials.
[0033] Among them, the complete verification triplet can be used to describe the verification items for the integrity verification of a single batch of incoming materials.
[0034] In this embodiment of the invention, the batch association information of the currently received materials can be matched item by item with the bill of materials corresponding to the batch preparation plan. If the formula comparison between the batch association information of the currently received materials and the bill of materials corresponding to the batch preparation plan is successful, the batch of the currently received materials, the QR code of the currently received materials, and the bill of materials in the batch association information of the currently received materials are further constructed into a complete verification triplet.
[0035] In an optional embodiment of the present invention, after determining the batch association information and batch list binding data of the current inbound material and passing the integrity check, the current outbound material is issued in a single batch. This may include: when the complete verification triplet meets the batch material preparation plan, determining the batch association information and batch list binding data of the current inbound material, and passing the integrity check, issuing the current outbound material in a single batch according to the first-in-first-out rule.
[0036] In this embodiment of the invention, if the entity-entity relationships in the complete verification triple meet the requirements of the batch material preparation plan, that is, if the entity-entity relationships in the complete verification triple are consistent with the corresponding entity-entity relationships in the batch material preparation plan, then the complete verification triple conforms to the batch material preparation plan. This allows the determination of the batch association information of the currently inbound materials and the batch list binding data, thus passing the integrity verification. After the current outbound materials pass the integrity verification, the current outbound materials are issued in a single batch according to the first-in, first-out (FIFO) rule.
[0037] In an optional embodiment of the present invention, the process of issuing the current outbound material in a single batch according to the first-in-first-out (FIFO) rule may include: verifying the outbound material based on its quality, outbound order, and batch; when the current outbound material passes the outbound verification, issuing the material in a single batch according to the FIFO rule and deregistering the QR code of the current outbound material.
[0038] Outbound verification can be a verification performed on the materials currently being outbound. The QR code for the currently outbound material can be a QR code containing relevant material information placed on the material.
[0039] In this embodiment of the invention, after integrity verification, outbound verification can also be performed based on the quality, outbound order and batch of the current outbound material. If the outbound verification is consistent with the requirements of the batch feeding plan, it indicates that the current outbound material has passed the outbound verification, and thus a single batch is outbound according to the first-in-first-out rule, and the QR code of the current outbound material is cancelled.
[0040] In an optional embodiment of the present invention, after performing outbound verification based on the quality, outbound sequence, and batch of the current outbound material, the method may further include: intercepting the current outbound material when it fails the outbound verification and generating abnormal outbound warning information; and reporting the abnormal outbound warning information to the warehouse management system.
[0041] Among them, abnormal outbound warning information can be warning information generated when the current outbound material fails the outbound verification.
[0042] Correspondingly, when the current outbound material fails the outbound verification, the outbound material is intercepted, and an abnormal outbound warning is generated for the current outbound material, which is then reported to the warehouse management system.
[0043] In a specific example, when the current inbound mode is single-level inbound mode, after the photoelectric sensor detects the location of the inbound material, the PLC triggers the camera to collect the QR code of the inbound material. The QR code of the inbound material is uploaded to the WCS via the industrial Ethernet. The WCS parses the inbound material's level association information from the QR code, compares this information with the inbound order, obtains the comparison result, and generates either a drive command for the location inbound diversion mechanism or a drive command for an inbound anomaly diversion mechanism based on the comparison result.
[0044] When the current inbound mode is single-batch inbound, the photoelectric sensor detects the location of the incoming materials. The PLC triggers a camera to capture the QR code of the incoming materials. The system receives the batch preparation plan from the MES, binds the batch number and the bill of materials, and uses the WCS to parse the batch association information from the QR code. After successfully matching this batch association information with the bill of materials corresponding to the batch preparation plan, a complete verification triplet is established. The system receives feeding and outbound instructions, allocates materials according to the first-in-first-out (FIFO) batch, and verifies the materials on the feeding line for outbound processing. Materials that pass the outbound verification are released for feeding, and the QR code of the outbound material is cancelled. If the outbound verification fails, an alarm is triggered to intercept the material.
[0045] This solution uses a 90-bit, four-level parsing system to automatically extract information such as grade and year from material QR codes, converting it into usable structured data. The dual-mode strategy allows the same system to simultaneously meet the needs of both large-scale general applications and precise formulations. The two modes operate in parallel, employing multiple layers of error-prevention checks to support decision-making.
[0046] The technical solution of this invention involves obtaining the current inbound material level association information parsed from the QR code of the currently inbound material by the WCS when the current inbound mode is single-level inbound mode. This information is then compared with the inbound order to obtain the inbound order comparison result. If the comparison result matches, a drive instruction for the storage location inbound diversion mechanism is generated; otherwise, an inbound anomaly diversion mechanism drive instruction is generated. When the current inbound mode is single-batch inbound mode, the batch number and material list are bound according to the batch material preparation plan to obtain batch list binding data. This allows the acquisition of the current inbound material batch association information parsed from the QR code by the WCS. After confirming the current inbound material batch association information and the batch list binding data, and passing integrity verification, the current inbound material is issued in a single batch. This solution uses QR codes instead of RFID tags as the unique identifier for cigarette packs. Leveraging the inherent optical recognition characteristics of QR codes, it fundamentally eliminates electromagnetic interference in the metal high-bay warehouse environment, reducing the cost per tag from the yuan level of RFID to the cent level of QR codes. Through WMS (Warehouse Management System), the solution automatically decomposes information from the QR codes, enabling the direct extraction of complete information such as grade, year, origin, and weight without needing to query the backend database. This allows the same warehouse management system to adapt to both single-grade and single-batch modes without modifying the program code. Furthermore, by moving the QR code parsing and verification logic down from the application layer, the end-to-end delay of "reading → verifying → routing" is compressed to within the time window required for real-time control of the conveyor line. This solves the problems of poor flexibility and limited data capacity of using one-dimensional barcodes for single-mode warehouse management in raw material warehouses, enabling flexible dual-mode warehouse management using QR codes in raw material warehouses.
[0047] Example 3 Figure 3 This is a schematic diagram of the structure of a QR code-based warehouse management device provided in Embodiment 3 of the present invention. Figure 3 As shown, the device includes: The first mode warehouse management module 310 is used to obtain the current inbound material level association information parsed from the QR code of the current inbound material by the warehouse control system WCS when the current inbound mode is single-level inbound mode; compare the current inbound material level association information with the inbound order to obtain the inbound order comparison result; and generate the diversion mechanism drive instruction based on the inbound order comparison result. The second-mode warehouse management module 320 is used to bind the batch number and the material list according to the batch material preparation plan when the current inbound mode is single-batch inbound mode, so as to obtain the batch list binding data; obtain the batch association information of the current inbound material parsed by WCS from the QR code of the current inbound material; and after determining the batch association information and batch list binding data of the current inbound material and passing the integrity verification, perform single-batch outbound of the current inbound material.
[0048] The technical solution of this invention involves obtaining the current inbound material level association information parsed from the QR code of the current inbound material by the Warehouse Control System (WCS) when the current inbound mode is single-level inbound mode. This information is then compared with the inbound order to obtain the inbound order comparison result. Based on the comparison result, a diversion mechanism drive instruction is generated. When the current inbound mode is single-batch inbound mode, the batch number and material list are bound according to the batch material preparation plan to obtain batch list binding data. This allows the acquisition of the current inbound material batch association information parsed from the QR code by the WCS. After confirming the current inbound material batch association information and the batch list binding data, and passing integrity verification, the current outbound material is issued in a single batch. This solution uses QR codes instead of RFID tags as the unique identifier for cigarette packs. Leveraging the inherent optical recognition characteristics of QR codes, it fundamentally eliminates electromagnetic interference in the metal high-bay warehouse environment, reducing the cost per tag from the yuan level of RFID to the cent level of QR codes. Through WMS (Warehouse Management System), the solution automatically decomposes information from the QR codes, enabling the direct extraction of complete information such as grade, year, origin, and weight without needing to query the backend database. This allows the same warehouse management system to adapt to both single-grade and single-batch modes without modifying the program code. Furthermore, by moving the QR code parsing and verification logic down from the application layer, the end-to-end delay of "reading → verifying → routing" is compressed to within the time window required for real-time control of the conveyor line. This solves the problems of poor flexibility and limited data capacity associated with using one-dimensional barcodes for single-mode warehouse management in raw material warehouses, enabling flexible dual-mode warehouse management of raw material warehouses via QR codes.
[0049] Optionally, the QR code-based warehouse management device also includes a QR code acquisition module for currently inbound materials, which is used to acquire the QR code of the currently inbound materials by triggering a camera through a programmable logic controller (PLC) after detecting the material position of the currently inbound materials through a photoelectric sensor.
[0050] Optionally, the first mode warehouse management module 310 is used to generate a warehouse entry diversion mechanism drive instruction when the comparison result of the entry order is consistent; and to generate an entry exception diversion mechanism drive instruction when the comparison result of the entry order is inconsistent.
[0051] Optionally, the QR code-based warehouse management device also includes a complete verification triplet creation module, which is used to create and store a complete verification triplet after the batch association information of the current incoming material is successfully matched with the bill of materials corresponding to the batch preparation plan; wherein, the complete verification triplet includes the QR code, the batch, and the bill of materials.
[0052] Optionally, the second mode warehouse management module 320 is used to determine the batch association information and batch list binding data of the current inbound material when the complete verification triplet conforms to the batch material preparation plan, and to perform single-batch outbound of the current outbound material according to the first-in-first-out rule through integrity verification.
[0053] Optionally, the second mode warehouse management module 320 is used to perform outbound verification based on the quality, outbound order and batch of the current outbound material. When the current outbound material passes the outbound verification, it performs single-batch outbound according to the first-in-first-out rule and verifies the QR code of the current outbound material.
[0054] Optionally, the QR code-based warehouse management device also includes an abnormal outbound early warning information generation and uploading module, which is used to intercept the current outbound material when the current outbound material fails the outbound verification and generate abnormal outbound early warning information; and report the abnormal outbound early warning information to the warehouse management system.
[0055] The QR code warehouse management device provided in this embodiment of the invention can execute the QR code warehouse management method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0056] Example 4 Figure 4 A schematic diagram of an electronic device that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0057] like Figure 4As shown, the electronic device 10 includes at least one processor 11 and a memory, such as ROM 12, RAM 13, etc., communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded into the RAM 13 from the storage unit 18. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An I / O interface 15 is also connected to the bus 14. The ROM 12 is a read-only memory, the RAM 13 is a random access memory, and the I / O interface 15 is an input / output interface.
[0058] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0059] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as QR code-based warehouse management methods.
[0060] In some embodiments, the QR code-based warehouse management method can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the QR code-based warehouse management method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the QR code-based warehouse management method by any other suitable means (e.g., by means of firmware).
[0061] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0062] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0063] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, RAM, ROM, erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0064] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0065] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0066] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS servers, such as high management difficulty and weak business scalability.
[0067] This application also discloses a computer program product, which includes a computer program that, when executed by a processor, implements the QR code-based warehouse management method provided in any embodiment of this application. This program product shares the same inventive concept as the QR code-based warehouse management method disclosed in the embodiments of this application, and therefore will not be described in detail here.
[0068] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0069] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A warehouse management method based on QR codes, characterized in that, include: When the current inbound mode is single-level inbound mode, the warehouse control system (WCS) obtains the current inbound material level association information parsed from the QR code of the current inbound material; compares the current inbound material level association information with the inbound order to obtain the inbound order comparison result, and generates the diversion mechanism drive instruction based on the inbound order comparison result. When the current inbound mode is single-batch inbound mode, the batch number and the bill of materials are bound according to the batch material preparation plan to obtain batch list binding data; Obtain the batch association information of the current inbound material parsed from the QR code of the current inbound material by WCS; after determining the batch association information of the current inbound material and the batch list binding data, and after passing the integrity verification, perform single batch outbound of the current outbound material.
2. The method according to claim 1, characterized in that, Before obtaining the current inbound material level association information parsed from the QR code of the current inbound material by WCS, the process also includes: After detecting the material location of the currently inbound material using a photoelectric sensor, the camera is triggered by the programmable logic controller (PLC) to collect the QR code of the currently inbound material. Before obtaining the batch association information of the current inbound material parsed from the QR code of the current inbound material by WCS, the following steps are also included: After detecting the material location of the currently entering material using a photoelectric sensor, the PLC triggers the camera to collect the QR code of the currently entering material.
3. The method according to claim 1, characterized in that, Based on the comparison results of the inbound order, a drive instruction for the diversion mechanism is generated, including: When the comparison result of the inbound order is consistent, a drive instruction for the warehouse inbound diversion mechanism is generated; When the comparison result of the inbound order is inconsistent, an inbound abnormal diversion mechanism drive instruction is generated.
4. The method according to claim 2, characterized in that, After obtaining the batch association information of the current inbound material parsed from the QR code of the current inbound material by WCS, it also includes: After the batch association information of the current incoming material is successfully matched with the bill of materials corresponding to the batch preparation plan, a complete verification triplet is established and stored. The complete verification triplet includes a QR code, batch number, and bill of materials.
5. The method according to claim 4, characterized in that, After determining the batch association information and batch list binding data of the currently inbound materials and passing the integrity check, the current outbound materials are issued in a single batch, including: When the complete verification triplet conforms to the batch material preparation plan, the batch association information of the current inbound material and the batch list binding data are determined. Through integrity verification, the current outbound material is issued in a single batch according to the first-in-first-out rule.
6. The method according to claim 5, characterized in that, For the currently outbound materials, single-batch outbound processing is carried out according to the first-in, first-out (FIFO) rule, including: Based on the quality, order, and batch of the currently outgoing materials, outgoing verification is performed. When the currently outgoing materials pass the outgoing verification, a single batch is outgoing according to the first-in-first-out rule, and the QR code of the currently outgoing materials is cancelled.
7. The method according to claim 6, characterized in that, After performing outbound verification based on the quality, outbound sequence, and batch of the currently outbound materials, the process also includes: When the currently outgoing material fails the outgoing verification, the currently outgoing material is intercepted, and an abnormal outgoing warning message is generated; The abnormal outbound warning information will be reported to the warehouse management system.
8. An electronic device, characterized in that, The electronic device includes: At least one processor, and a memory communicatively connected to said at least one processor; The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the QR code-based warehouse management method according to any one of claims 1-7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the QR code-based warehouse management method according to any one of claims 1-7.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the QR code-based warehouse management method according to any one of claims 1-7.