A radio frequency identification and two-dimensional code consistency checking method and device

CN122987976APending Publication Date: 2026-10-27BEIJING TONGRENTANG HEALTH PHARMA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611115376.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-24
Publication Date
2026-10-27

AI Technical Summary

Technical Problem

[0003]目前,包装产线的码效校验及数据采集方式较为单一,主要分为两类:其一为仅通过视觉识别设备读取产品二维码数据,其二为仅通过射频读写设备采集产品RFID标签数据

Benefits of technology

[0010]根据本发明的另一方面,提供了一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现本发明任一实施例所述的一种射频识别与二维码一致性校验方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122987976A_ABST
    Figure CN122987976A_ABST
Patent Text Reader

Abstract

The application discloses a radio frequency identification and two-dimensional code consistency checking method and device. The method comprises the following steps: when a product is transported to a first station on a production line, collecting two-dimensional code data on the product; determining theoretical radio frequency tag data matched with the two-dimensional code data; when the product is transported to a second station on the production line, collecting actual radio frequency tag data on the product; and performing consistency checking on the theoretical radio frequency tag data and the actual radio frequency tag data. The technical scheme can effectively solve the problems of data misplacement, missing reading and misreading caused by the asynchronization of collection time sequences, physical position deviation and radio frequency interference of two-dimensional codes and radio frequency tags, accurately matches the two-dimensional code and radio frequency tag data of the same product, ensures that the two types of data are completely corresponding and consistent, significantly improves the double-code binding precision and traceability data reliability, and adapts to the one-to-one code management and box association control requirements of high-precision and high-stability product packaging production lines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of industrial Internet of Things and intelligent manufacturing technology, and in particular to a method and apparatus for verifying the consistency of radio frequency identification and QR codes. Background Technology

[0002] In the field of automated production of cosmetics and pharmaceutical packaging, in order to meet the industry compliance requirements of product life cycle traceability, anti-counterfeiting and anti-diversion, and box-related management, the industry generally adopts a dual coding method of QR code and RFID (Radio Frequency Identification) tag to realize the unique identification of "one item, one code" of the product and the data association binding at the box level. This is the core technical means to ensure the integrity of product traceability information and the traceability of circulation data.

[0003] Currently, the methods for code verification and data collection on packaging production lines are relatively simple, mainly falling into two categories: one is reading product QR code data solely through visual recognition equipment, and the other is collecting product RFID tag data solely through radio frequency identification (RFID) readers. Existing processes commonly suffer from mismatched process sequences and asynchronous equipment acquisition when binding QR codes and RFID tags. The QR code acquisition and RFID reading processes are completed in separate steps at different workstations, easily leading to timing discrepancies where QR code acquisition occurs before RFID reading, resulting in data anomalies such as misaligned code values ​​and disordered binding relationships.

[0004] Therefore, accurately matching the QR code and RFID data collected sequentially to ensure that the two types of data correspond to the same physical box and that the information is completely consistent, and to prevent cross-code misalignment and data misbinding, is an industry technical challenge that urgently needs to be solved in the field of automated coding of cosmetics and pharmaceutical packaging. Summary of the Invention

[0005] This invention provides a method and apparatus for verifying the consistency of radio frequency identification (RFID) and QR codes. It can effectively solve the problems of data misalignment, missed reading, and misreading caused by asynchronous acquisition timing, physical position deviation, and radio frequency interference between QR codes and RFID tags. It accurately matches the QR code and RFID tag data of the same product, ensuring that the two types of data are completely consistent. It significantly improves the accuracy of dual-code binding and the reliability of traceability data, and is suitable for the high-precision and high-stability one-item-one-code management and box association control requirements of product packaging production lines.

[0006] According to one aspect of the present invention, a method for verifying the consistency of radio frequency identification and QR code is provided, the method comprising: When a product is delivered to the first station on the production line, the QR code data on the product is collected. Determine the theoretical RFID tag data that matches the QR code data; When the product is delivered to the second station on the production line, the actual RFID tag data on the product is collected; The theoretical RFID tag data and the actual RFID tag data are subjected to consistency verification.

[0007] According to another aspect of the present invention, a radio frequency identification and QR code consistency verification device is provided, the device comprising: The QR code data acquisition module is used to collect the QR code data on the product when the product is delivered to the first workstation on the production line. Theoretical RFID tag data determination module, used to determine theoretical RFID tag data that matches the QR code data; The actual RFID tag data acquisition module is used to collect the actual RFID tag data on the product when the product is transported to the second workstation on the production line; The verification module is used to verify the consistency between the theoretical RFID tag data and the actual RFID tag data.

[0008] 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 the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform a radio frequency identification and QR code consistency verification method according to any embodiment of the present invention.

[0009] 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 a radio frequency identification and QR code consistency verification method according to any embodiment of the present invention.

[0010] According to another aspect of the present invention, a computer program product is provided, comprising a computer program that, when executed by a processor, implements a radio frequency identification and QR code consistency verification method as described in any embodiment of the present invention.

[0011] The technical solution of this invention involves collecting QR code data from a product when it arrives at the first workstation on the production line; determining the theoretical RFID tag data that matches the QR code data; collecting the actual RFID tag data from the product when it arrives at the second workstation on the production line; and verifying the consistency between the theoretical and actual RFID tag data. This technical solution effectively solves the problems of data misalignment, missed readings, and misreading caused by asynchronous collection timing, physical position deviations, and radio frequency interference between QR codes and RFID tags. It accurately matches the QR code and RFID tag data of the same product, ensuring complete correspondence between the two types of data, significantly improving the accuracy of dual-code binding and the reliability of traceability data, and adapting to the high-precision, high-stability one-item-one-code management and box-related control requirements of product packaging production lines.

[0012] 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

[0013] 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.

[0014] Figure 1 This is a flowchart of a radio frequency identification and QR code consistency verification method provided in Embodiment 1 of the present invention; Figure 2 This is a schematic diagram of a radio frequency identification and QR code consistency verification process provided in Embodiment 2 of the present invention; Figure 3 This is a schematic diagram of an RFID and QR code consistency verification system based on cloud-bound data, provided in Embodiment 2 of this application. Figure 4 A flowchart of an RFID and QR code consistency verification method based on cloud-bound data provided in Embodiment 2 of this application; Figure 5 This is a schematic diagram of the structure of a radio frequency identification and QR code consistency verification device provided in Embodiment 3 of the present invention; Figure 6 This is a schematic diagram of the structure of an electronic device that implements a radio frequency identification and QR code consistency verification method according to an embodiment of the present invention. Detailed Implementation

[0015] 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.

[0016] 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.

[0017] Example 1 Figure 1 This is a flowchart of a radio frequency identification (RFID) and QR code consistency verification method according to Embodiment 1 of the present invention. This embodiment is applicable to the verification of QR code data and RFID tags of products. The method can be executed by an RFID and QR code consistency verification device, which can be implemented in hardware and / or software and can be configured in a device. For example, the device can be a backend server or other device with communication and computing capabilities. Figure 1 As shown, the method includes: S110. When the product is delivered to the first workstation on the production line, collect the QR code data on the product.

[0018] In this solution, the product is a packaging unit conveyed by an automated packaging production line, and each packaging unit is bound with a unique traceability QR code and RFID tag. For example, the product can be a single item or a whole box of finished pharmaceutical products or finished cosmetic products.

[0019] The production line is an automated product packaging line.

[0020] In this embodiment, the first workstation is a fixed workstation pre-deployed on the automated production line.

[0021] In this solution, the QR code data is the unique identifier code for each product and the full-chain traceability information carried by the QR (Quick Response) code on the product packaging, specifically the structured data packet stored inside the QR code.

[0022] Specifically, when a product is delivered to the first workstation on the production line, the QR code on the product is scanned by a barcode scanning device to generate QR code data. The scanning device can be an industrial camera, a fixed barcode reader, a barcode scanner, or any other identification device with QR code image acquisition and decoding capabilities.

[0023] S120. Determine the theoretical RFID tag data that matches the QR code data.

[0024] The theoretical RFID tag data is based on the corresponding QR code data and is the RFID tag data preset by the system.

[0025] In this embodiment, QR code data is used as the retrieval condition to query and match from the database to determine the theoretical RFID tag data that matches the QR code data.

[0026] S130. When the product is delivered to the second workstation on the production line, collect the actual RFID tag data on the product.

[0027] In this scheme, the second workstation is a fixed workstation pre-deployed on the automated production line. The second workstation is located after the first workstation.

[0028] In this embodiment, the actual RFID tag data is the original identifier and information stored in the RFID (Radio Frequency Identification) tag, which is read in real time by the RFID reader / writer when the product is transported to the second workstation. This data represents real-time, on-site RFID tag data. The RFID reader / writer can be a fixed RFID reader / writer, an industrial RFID reader, or an UHF RFID reader / writer device, among other RFID identification reading and writing devices.

[0029] Furthermore, when the product is delivered to the second station on the production line, the actual radio frequency tag data on the product is obtained by reading the RFID tag on the product.

[0030] S140. Perform a consistency check between the theoretical RFID tag data and the actual RFID tag data.

[0031] In this embodiment, by utilizing the time difference between scanning and reading the QR code and then reading the RFID tag on the production line, theoretical RFID tag data generated in the downloaded database is pre-generated, and millisecond-level comparison and verification of actual RFID tag data is completed, thereby realizing high-speed non-contact dual-code information consistency verification.

[0032] Specifically, the key parameters such as the content information, unique identifier code, and number of tags of the theoretical RFID tag data are checked and compared with those of the actual RFID tag data to complete the consistency verification of the dual-code binding.

[0033] In this solution, the consistency verification result is divided into two states: pass and fail. When it passes, the product continues to flow normally along the production line; when it fails, the product is judged as an abnormal product and an alarm is triggered and the product is rejected.

[0034] The technical solution of this invention involves collecting QR code data from a product when it arrives at the first workstation on the production line; determining the theoretical RFID tag data that matches the QR code data; collecting the actual RFID tag data from the product when it arrives at the second workstation on the production line; and verifying the consistency between the theoretical and actual RFID tag data. This technical solution accurately matches the QR code and RFID tag data for the same product, ensuring complete correspondence between the two types of data. This significantly improves the accuracy of dual-code binding and the reliability of traceability data, and is suitable for the high-precision, high-stability one-item-one-code management and box-related control requirements of product packaging production lines.

[0035] Example 2 Figure 2 This is a schematic diagram illustrating a radio frequency identification (RFID) and QR code consistency verification process according to Embodiment 2 of the present invention. The relationship between this embodiment and the previous embodiments is a detailed description of the QR code data and RFID tag verification process for the product. Figure 2 As shown, the method includes: S210. When the product is delivered to the first workstation on the production line, the vision camera is controlled by the programmable logic controller to collect the QR code data on the product.

[0036] In this plan, Figure 3 This is a schematic diagram of an RFID and QR code consistency verification system based on cloud-bound data, provided in Embodiment 2 of this application. Figure 3 As shown, the system includes: PLC (Programmable Logic Controller), vision scanning unit, tunnel machine (shielded room), RFID reader / writer unit, industrial computer and cloud database.

[0037] Among them, PLC (Programmable Logic Controller) is a programmable industrial control device designed specifically for industrial application scenarios. It is responsible for the timing control of the entire automated production line, the linkage of multi-station equipment, the start and stop of material conveying, the scheduling of verification processes and the issuance of abnormal signals. It coordinates the synchronous and orderly operation of various functional equipment to ensure the stability and continuity of production line processes.

[0038] In this embodiment, the visual scanning unit is an image acquisition and decoding device with an industrial camera and an industrial visual barcode reader as its core. It is fixedly deployed at the first workstation of the production line and is used to acquire the QR code on the outer packaging of the product in real time, and to parse and decode the QR code to generate standardized and structured QR code data.

[0039] In this solution, the tunnel machine (shielded room) is a closed radio frequency shielded cavity structure adapted to automated assembly line operations. It can effectively isolate various electromagnetic signal interferences in the external environment, provide a pure working environment for internal radio frequency identification operations, ensure that the RFID reading and writing unit can stably and accurately read RFID tags, and eliminate abnormal problems such as tag omissions and misreads caused by external electromagnetic interference.

[0040] The RFID reader / writer unit is a radio frequency identification device deployed inside the tunnel machine. It preferably uses an ultra-high frequency RFID reader / writer, which can achieve non-contact data acquisition at the second workstation of the production line. It can read the original identification and information stored inside the RFID tag of the product in real time, obtain real and valid actual RFID tag data, and upload the collected data to the industrial control computer in real time.

[0041] In this embodiment, the industrial control computer is a dedicated local computer adapted to the industrial environment. Its core functions include receiving QR code data transmitted by the vision scanning unit, initiating data query requests to the cloud database, locally caching the theoretical mapping table of QR code data and RFID tag data, completing millisecond-level dual-code consistency comparison and verification, and simultaneously linking the PLC to perform control logic such as verification result processing, abnormal alarms, and rejection of unqualified products.

[0042] Specifically, the cloud database is a dedicated database deployed on a remote traceability server, used to store the matching relationship between preset QR code data and theoretical RFID tag data; it can respond to query requests initiated by industrial control computers in real time, return theoretical RFID tag data, and retain product traceability and verification records throughout the entire process, realizing full-process traceability and control of products.

[0043] Furthermore, a data link is established between the industrial control computer and the PLC (Programmable Logic Controller) based on the TCP (Transmission Control Protocol) or IP (Internet Protocol) communication protocol. Heartbeat data packets are continuously exchanged at a fixed heartbeat frequency of 1 second to monitor the status of the communication link between the two parties in real time, promptly identify faults such as disconnection, delay, and communication anomalies, ensure stable communication and reliable data transmission between the industrial control computer and the PLC throughout the process, and ensure real-time synchronization of production line control commands and acquired data.

[0044] In this embodiment, Figure 4A flowchart of an RFID and QR code consistency verification method based on cloud-bound data provided in Embodiment 2 of this application is shown below. Figure 4 As shown, when a product is delivered to the first station on the production line, the PLC controls the vision scanning unit to collect the QR code on the outer packaging of the product in real time, and parses and decodes the QR code to generate QR code data.

[0045] S220. Transmit the QR code data to the industrial control computer.

[0046] Furthermore, such as Figure 4 As shown, the PLC transmits the QR code data to the industrial control computer in real time via TCP or IP protocol.

[0047] S230. Send a query request to the cloud database via the industrial control computer to obtain theoretical RFID tag data that matches the QR code data.

[0048] The query request is a structured data retrieval instruction sent to the cloud database. It uses QR code data as an index to retrieve the corresponding theoretical RFID tag reference data, which can consist of numbers, letters, and symbols.

[0049] Specifically, such as Figure 4 As shown, after receiving the QR code data, the industrial control computer immediately sends a query request to the cloud database. The cloud database then retrieves the corresponding theoretical RFID tag data based on the received query request.

[0050] Furthermore, the theoretical RFID tag data is sent to the local cache of the industrial control computer.

[0051] Optionally, before sending a query request to the cloud database via the industrial control computer to obtain theoretical RFID tag data matching the QR code data, the method further includes: The matching relationship between QR code data and theoretical RFID tag data is pre-stored in a cloud database.

[0052] In this solution, during the product manufacturing or production preparation stage, the cloud database pre-stores the one-to-one correspondence between all theoretical RFID tag data and QR code data (i.e., the corresponding mapping relationship between cloud RFID tag standard code package and cloud QR code package).

[0053] Based on the precise matching and mapping relationship between QR code data and theoretical RFID tag data pre-stored in the cloud database, this system fully utilizes the inherent production time difference between the QR code scanning process and the RFID tag reading process on the production line. The theoretical RFID tag data in the cloud is downloaded and cached to the local industrial control computer in advance. Relying on the industrial control computer, millisecond-level high-speed data comparison is completed, realizing non-contact consistency verification of product QR codes and RFID tags. This effectively solves the problem of asynchronous matching between scanning data and RFID reading data, avoiding the risks of network latency, lag and communication failure caused by traditional cloud comparison. It significantly improves the detection efficiency and real-time performance of dual-code verification, while ensuring the accuracy and stability of traceability data verification under high-speed production line operation. This achieves automated, high-precision and high-efficiency dual-code binding verification of products, adapting to the operational needs of large-scale automated packaging production lines.

[0054] S240. When the product is delivered to the second workstation on the production line, the actual RFID tag data on the product is collected by the industrial control computer.

[0055] In this plan, such as Figure 4 As shown, when the product is delivered to the second station on the production line, the industrial control computer controls the radio frequency reading and writing unit to read the product's RFID tag information and obtain the actual radio frequency tag data.

[0056] Furthermore, the RFID reader / writer unit uploads the actual RFID tag data it reads to the industrial control computer, completing the acquisition of the actual RFID tag data on the product.

[0057] Optionally, when the product is conveyed to the second workstation on the production line, the actual RFID tag data on the product is collected by an industrial control computer, including: When the product is delivered to the second station on the production line, the signal at the second station is shielded. The actual RFID tag data on the product is collected by an industrial control computer.

[0058] The second workstation is set up as an RFID tunnel machine (shielded room) workstation, used to complete the reading of product radio frequency tag information.

[0059] Specifically, when the product enters the RFID tunnel machine (RF shielding chamber), the PLC controls the electric roller shutter door to close, making the RFID tunnel machine a closed shielded cavity. The tunnel machine uses a metal shell in conjunction with the electric roller shutter door structure to create an electromagnetic shielding environment, effectively isolating external electromagnetic signal interference and avoiding RFID tag misreading and missed reading problems.

[0060] Furthermore, the industrial control computer controls the RFID reader to read the actual radio frequency tag data on the product.

[0061] By setting up an RFID tunnel shielding structure with a metal shell and an electric roller shutter door at the second workstation, the roller shutter door is automatically closed by the PLC after the product enters the second workstation, forming a sealed electromagnetic shielding cavity. This effectively isolates the complex external electromagnetic signal interference in the workshop and completely avoids the defects such as tag misreading, missed reading, and cross-reading that are prone to occur in traditional open RFID reading scenarios. This provides a clean and stable working environment for RFID tag data collection. At the same time, the industrial control computer precisely controls the RFID reader to complete the standardized collection of actual RFID tag data, which greatly improves the accuracy and consistency of RFID data collection and ensures the reliability of the subsequent QR code and RFID tag dual code comparison and verification results. This effectively improves the accuracy and stability of the dual code verification operation of the entire production line.

[0062] S250. Compare the number of tags in the theoretical RFID tag data with the number of tags in the actual RFID tag data to obtain a first comparison result.

[0063] The first comparison result includes pass and fail.

[0064] In this embodiment, the number of tags refers to the total number of product RFID tags that enter the RFID shielded tunnel station and are read synchronously, that is, the total number of radio frequency tags actually tested in a single verification batch.

[0065] Specifically, the number of tags in the theoretical RFID tag data is compared with the number of tags in the actual RFID tag data. If the number of tags in the theoretical RFID tag data is the same as the number of tags in the actual RFID tag data, the first comparison result is passed; if the number of tags in the theoretical RFID tag data is different from the number of tags in the actual RFID tag data, the first comparison result is failed.

[0066] In this scheme, the industrial control computer compares the number of tags in the theoretical RFID tag data with the number of tags in the actual RFID tag data to generate the first comparison result.

[0067] S260. Compare the content information in the theoretical RFID tag data with the content information in the actual RFID tag data to obtain a second comparison result.

[0068] Among them, content information refers to the core raw data stored inside the RFID tag, including the tag's unique ID (Unique Identifier), product batch information, material code, single item serial number, production information, and preset check code, etc., which are structured data bound to the product's identity.

[0069] In this embodiment, the second comparison result includes pass and fail.

[0070] Specifically, the content information in the theoretical RFID tag data is compared with the content information in the actual RFID tag data. If the content information in the theoretical RFID tag data is consistent with the content information in the actual RFID tag data, the second comparison result is passed; if the content information in the theoretical RFID tag data is inconsistent with the content information in the actual RFID tag data, the second comparison result is failed.

[0071] In this scheme, the industrial control computer compares the content information in the theoretical RFID tag data with the content information in the actual RFID tag data to generate a second comparison result.

[0072] S270. Based on the first comparison result and the second comparison result, determine the target result.

[0073] In this plan, the target outcome includes passing and failing.

[0074] Specifically, when both the first and second comparison results are passed, the target result is determined to be passed; when the first comparison result is passed and the second comparison result is failed, or the first comparison result is failed and the second comparison result is passed, or both the first and second comparison results are failed, the target result is determined to be failed.

[0075] In this solution, the verification mechanism compares the actual RFID tag data collected locally with the theoretical RFID tag data stored in the cloud database. The number of tags and content information of the two must be completely consistent for the verification to pass.

[0076] Specifically, the industrial control computer determines the target result based on the first comparison result and the second comparison result.

[0077] S280. If the target result is passed, the product is released.

[0078] In this solution, if the target result is passed, the industrial control computer sends an "OK" release signal to the PLC, allowing the product to pass through the production line normally, and sends the verification and matching information back to the cloud database for archiving.

[0079] S290. If the target result is not passed, then the product is removed.

[0080] Furthermore, if the target result is unsuccessful, the industrial control computer sends an "NG" abnormal signal to the PLC, and the main PLC controls the production line rejection device to automatically remove the abnormal and unqualified products from the production line.

[0081] The technical solution of this invention involves the following steps: When a product is delivered to the first workstation on the production line, a programmable logic controller (PLC) controls a vision camera to collect QR code data from the product; the QR code data is then transmitted to an industrial control computer. The industrial control computer sends a query request to a cloud database to obtain theoretical RFID tag data that matches the QR code data. When the product is delivered to the second workstation on the production line, the industrial control computer collects actual RFID tag data from the product. The number of tags in the theoretical RFID tag data is compared with the number of tags in the actual RFID tag data to obtain a first comparison result; the content information in the theoretical RFID tag data is compared with the content information in the actual RFID tag data to obtain a second comparison result; based on the first and second comparison results, a target result is determined. If the target result is satisfactory, the product is released; if the target result is unsatisfactory, the product is rejected. By implementing this technical solution, relying on the pre-stored mapping relationship between QR codes and RFID tags in the cloud database, this solution effectively solves the problems of data misalignment, missed reading, and misreading caused by asynchronous collection timing, separation of workstation physical locations, and complex radio frequency interference in the QR code scanning and RFID reading processes. It overcomes the alignment deviation caused by the spatiotemporal separation of the two types of data, accurately matches the QR code and RFID tag data of individual products, and ensures that the two sets of identity data correspond one-to-one. At the same time, it has excellent operational robustness, adopts a dual verification mechanism of tag quantity and code package content, and takes into account both verification accuracy and operational efficiency, making it suitable for high-speed and complex automated packaging production lines. In addition, the solution constructs a closed-loop data traceability system from the source of packaging materials to the finished product production line verification, realizing full-process data that is searchable, traceable, and verifiable, ensuring the authenticity, uniqueness, and security of the one-item-one-code binding information, significantly improving the accuracy of dual-code binding and the reliability of traceability data, and meeting the industrial application needs of high-precision one-item-one-code control, box association binding, and stable continuous production in packaging production lines.

[0082] Example 3 Figure 5 This is a schematic diagram of the structure of a radio frequency identification and QR code consistency verification device provided in Embodiment 3 of the present invention. Figure 5 As shown, the device includes: The QR code data acquisition module 510 is used to collect the QR code data on the product when the product is delivered to the first workstation on the production line. Theoretical RFID tag data determination module 520 is used to determine theoretical RFID tag data that matches the QR code data; The actual RFID tag data acquisition module 530 is used to acquire the actual RFID tag data on the product when the product is transported to the second workstation on the production line; The verification module 540 is used to verify the consistency between the theoretical RFID data and the actual RFID data.

[0083] Optional, the QR code data acquisition module 510 is specifically used for: When a product is delivered to the first station on the production line, a vision camera controlled by a programmable logic controller collects the QR code data on the product.

[0084] Optionally, the device further includes: The QR code data transmission module is used to transmit the QR code data to the industrial control computer.

[0085] Optional, the theoretical RFID tag data determination module 520 is specifically used for: The industrial control computer sends a query request to the cloud database to obtain theoretical RFID tag data that matches the QR code data.

[0086] Optionally, the device further includes: The matching relationship storage module is used to pre-store the matching relationship between QR code data and theoretical RFID tag data based on a cloud database.

[0087] Optional, the actual RFID tag data acquisition module 530 includes: The actual RFID tag data acquisition submodule is used to acquire the actual RFID tag data on the product via an industrial control computer when the product is transported to the second workstation on the production line.

[0088] Optional, the actual RFID tag data acquisition submodule is specifically used for: When the product is delivered to the second station on the production line, the signal at the second station is shielded. The actual RFID tag data on the product is collected by an industrial control computer.

[0089] Optional, verification module 540, specifically used for: The number of tags in the theoretical RFID tag data is compared with the number of tags in the actual RFID tag data to obtain a first comparison result; The content information in the theoretical RFID tag data is compared with the content information in the actual RFID tag data to obtain a second comparison result; Based on the first comparison result and the second comparison result, the target result is determined.

[0090] Optionally, the device further includes: The product release module is used to release the product if the target result is passed; The product rejection module is used to reject the product if the target result is not passed.

[0091] The radio frequency identification and QR code consistency verification device provided in the embodiments of the present invention can execute the radio frequency identification and QR code consistency verification method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0092] Example 4 Figure 6 A schematic diagram of an electronic device 10, which 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 processors, 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.

[0093] like Figure 6 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, 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 from storage unit 18 into the RAM 13. 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 input / output (I / O) interface 15 is also connected to the bus 14.

[0094] 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.

[0095] 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 a radio frequency identification and QR code consistency verification method.

[0096] In some embodiments, a radio frequency identification (RFID) and QR code conformance verification method may 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 may 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 RFID and QR code conformance verification method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform an RFID and QR code conformance verification method by any other suitable means (e.g., by means of firmware).

[0097] 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), system-on-a-chip (SoCs), complex 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 transferring data and instructions to the storage system, the at least one input device, and the at least one output device.

[0098] 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.

[0099] 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 thereof. 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, random access memory (RAM), read-only memory (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 thereof.

[0100] 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).

[0101] 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.

[0102] 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 services, such as high management difficulty and weak business scalability.

[0103] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication unit 19, or installed from storage unit 18, or installed from ROM 12. When the computer program is executed by processor 11, it performs the functions defined in the methods of the embodiments of the present invention.

[0104] 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.

[0105] 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 method for verifying the consistency between radio frequency identification and QR code, characterized in that, include: When a product is delivered to the first station on the production line, the QR code data on the product is collected. Determine the theoretical RFID tag data that matches the QR code data; When the product is delivered to the second station on the production line, the actual RFID tag data on the product is collected; The theoretical RFID tag data and the actual RFID tag data are subjected to consistency verification.

2. The method according to claim 1, characterized in that, When a product is delivered to the first station on the production line, the QR code data on the product is collected, including: When a product is delivered to the first station on the production line, a vision camera controlled by a programmable logic controller collects the QR code data on the product.

3. The method according to claim 2, characterized in that, When a product is delivered to the first station on the production line, after a vision camera controlled by a programmable logic controller acquires the QR code data on the product, the method further includes: The QR code data is transmitted to the industrial control computer.

4. The method according to claim 3, characterized in that, Determining the theoretical RFID tag data that matches the QR code data includes: The industrial control computer sends a query request to the cloud database to obtain theoretical RFID tag data that matches the QR code data.

5. The method according to claim 4, characterized in that, Before sending a query request to the cloud database via the industrial control computer to obtain theoretical RFID tag data matching the QR code data, the method further includes: The matching relationship between QR code data and theoretical RFID tag data is pre-stored in a cloud database.

6. The method according to claim 1, characterized in that, When the product is delivered to the second station on the production line, the actual RFID tag data on the product is collected, including: When the product is delivered to the second workstation on the production line, the actual RFID tag data on the product is collected by the industrial control computer.

7. The method according to claim 6, characterized in that, When the product is delivered to the second workstation on the production line, the actual RFID tag data on the product is collected by the industrial control computer, including: When the product is delivered to the second station on the production line, the signal at the second station is shielded. The actual RFID tag data on the product is collected by an industrial control computer.

8. The method according to claim 1, characterized in that, Perform a consistency check between the theoretical RFID data and the actual RFID data, including: The number of tags in the theoretical RFID tag data is compared with the number of tags in the actual RFID tag data to obtain a first comparison result; The content information in the theoretical RFID tag data is compared with the content information in the actual RFID tag data to obtain a second comparison result; Based on the first comparison result and the second comparison result, the target result is determined.

9. The method according to claim 8, characterized in that, After determining the target result based on the first comparison result and the second comparison result, the method further includes: If the target result is passed, the product is released; If the target result is not passed, the product is removed.

10. A radio frequency identification and QR code consistency verification device, characterized in that, include: The QR code data acquisition module is used to collect the QR code data on the product when the product is delivered to the first workstation on the production line. Theoretical RFID tag data determination module, used to determine theoretical RFID tag data that matches the QR code data; The actual RFID tag data acquisition module is used to collect the actual RFID tag data on the product when the product is transported to the second workstation on the production line; The verification module is used to verify the consistency between the theoretical RFID tag data and the actual RFID tag data.