An RFID tag printing method, system, electronic device and storage medium

By acquiring the identification of RFID tags and using the tag mapping library and multi-band read/write module for graphic printing and data writing, the low production efficiency and data mismatch problems of multi-band and multi-purpose orders in the existing technology are solved, realizing automated, integrated processing of tags and data reliability.

CN122173044APending Publication Date: 2026-06-09SHENZHEN PUTIE TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN PUTIE TECH CO LTD
Filing Date
2026-03-05
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

Existing RFID tag printing methods cannot achieve integrated continuous printing when handling mixed orders with multiple frequency bands and purposes, resulting in low production efficiency and problems such as data mismatch and mixed use of tags.

Method used

By obtaining the identification of the label to be printed, matching queries are performed using the identification mapping library to determine the frequency band type, read/write data, and graphic data. Graphic printing and data writing are then performed. Data verification is conducted by combining inkjet non-contact printing and multi-frequency band read/write modules to ensure automated and integrated label processing.

Benefits of technology

It has enabled automated and integrated processing of RFID tags, improved production efficiency, ensured the reliability of tag data and the consistency of graphic layout, reduced problems such as misprints and omissions, and optimized the production process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122173044A_ABST
    Figure CN122173044A_ABST
Patent Text Reader

Abstract

This application relates to the field of printing technology, and particularly to an RFID tag printing method, system, electronic device, and storage medium. This application obtains the identification identifier of the tag to be printed, calls the printer's preset identifier mapping library, and performs a matching query in the identifier mapping library based on the identification identifier to determine the frequency band type, read / write data, and graphic data of the tag to be printed. Based on the frequency band type, read / write data, and graphic data, the tag to be printed is used for graphic printing and data writing to obtain a tag to be inspected. The read / write data of the tag to be inspected is verified, and a qualified tag is output. This application solves the problem that traditional printing methods, when dealing with complex orders involving multiple frequency bands and purposes, require batch parameter settings and template switching, making integrated continuous printing impossible. It improves the automation level and production efficiency of RFID tag printing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of printing technology, and in particular to an RFID tag printing method, system, electronic device, and storage medium. Background Technology

[0002] RFID (Radio Frequency Identification) tags are non-contact identification carriers with built-in radio frequency chips and antennas. They use radio frequency signals to realize data storage and wireless reading and writing. According to different operating frequencies, RFID tags are mainly divided into three categories: low frequency, high frequency and ultra-high frequency.

[0003] Current RFID tag printing methods typically separate image printing and data writing. Specifically, a dedicated RFID programmer is first selected based on the tag's frequency band to write data such as the product ID and traceability information into the tag chip. Then, the coded tag is placed in a regular printer, and the printing template is manually set to complete the surface information printing. This separate RFID tag printing method requires manual operation in two steps, which is not only inefficient but also relies entirely on manual verification of the consistency between the written data and the printed content, easily leading to data mismatches and mixed-use tags. To solve these problems, integrated RFID tag printing machines have emerged. These devices integrate an RFID reading / writing module and a printing module, enabling simultaneous coding and printing.

[0004] However, most existing RFID tag printers only support single-band RFID tags. To print tags of different bands, different equipment is needed to print RFID tags of different bands. Especially when dealing with complex orders requiring multiple bands and multiple purposes, parameters need to be set and templates switched in batches, making it impossible to achieve integrated continuous printing. This leads to a fragmented production process, restricts further improvement in production efficiency, and fails to meet the high-efficiency production needs of complex orders. Summary of the Invention

[0005] In view of the above, this application provides an RFID tag printing method, system, electronic device, and storage medium, aiming to solve the problem that existing RFID tag printing methods cannot meet the high-efficiency production needs of complex orders when handling mixed orders with multiple frequency bands and purposes.

[0006] A first aspect of this application provides an RFID tag printing method, the method comprising: Obtain the identification identifier of the label to be printed, wherein the identification identifier includes at least a frequency band identifier, a data identifier, and a graphic identifier; The printer's preset identifier mapping library is invoked. The identifier mapping library at least stores three sets of mapping relationships for the label to be printed: the frequency band identifier and frequency band type, the data identifier and read / write data, and the graphic identifier and graphic data. Based on the identity identifier, a matching query is performed in the identifier mapping library to determine the frequency band type, read / write data, and image / text data of the current label to be printed; Based on the frequency band type, the read / write data, and the graphic data, the label to be printed is printed and data is written to obtain the label to be inspected. The read and write data of the tag to be inspected are verified, and the tags that pass the verification are output.

[0007] Furthermore, obtaining the identity identifier of the label to be printed includes: The task database bound to the current production task of the printer is invoked, wherein the task database stores the mapping relationship between the globally unique serial number of the label to be printed and the identity identifier; Read the globally unique serial number of the label to be printed, and perform a matching query in the task database based on the globally unique serial number to determine the identity identifier corresponding to the label to be printed.

[0008] Furthermore, obtaining the identity identifier of the label to be printed includes: Acquire a surface image of the label to be printed, and extract features from the surface image to obtain image features; The printer's preset image mapping library is invoked. The image mapping library stores the mapping relationship between the image features and the identity identifier. Based on the image features, the identity identifier corresponding to the label to be printed is queried.

[0009] Furthermore, based on the frequency band type, the read / write data, and the image / text data, the label to be printed is subjected to image / text printing and data writing to obtain the label to be inspected, including: The identifier mapping library also pre-stores the mapping relationship between the frequency band type and the communication protocol of the current label to be printed, wherein the frequency band type includes low frequency, high frequency and ultra-high frequency; Based on the frequency band type, determine the communication protocol of the label to be printed; Based on the communication protocol, the read / write data, and the graphic data, the label to be printed is printed and data is written to obtain the label to be inspected.

[0010] Furthermore, based on the communication protocol, the read / write data, and the image / text data, the label to be printed is subjected to image / text printing and data writing to obtain the label to be inspected, including: Based on the graphic data, the graphic printing area, printing parameters, and graphic information of the label to be printed are determined; Based on the printing parameters, the graphic information is printed in the graphic printing area; The read / write data is written to the chip of the label to be printed using the aforementioned communication protocol; Once the image and text are printed completely and the chip feedback data is successfully written, the label to be inspected is obtained.

[0011] Furthermore, based on the printing parameters, printing the graphic information in the graphic printing area includes: Based on the graphic data and the material characteristics of the label to be printed, inkjet printing parameters are determined, including ink droplet size, inkjet speed, and non-contact distance between the print head and the surface of the label to be printed. Based on the inkjet printing parameters, ink is sprayed onto the graphic printing area, and the graphic information is printed in the graphic printing area.

[0012] Furthermore, the step of verifying the read and write data of the tag to be inspected and outputting tags that pass the verification includes: Read the actual written data of the label to be inspected; The actual written data is compared with the read and write data. If they match, the tag to be tested is marked as qualified and the tag to be tested is output. If they do not match, the tag to be tested is marked as unqualified.

[0013] A second aspect of this application provides an RFID tag printing apparatus, the apparatus comprising: The identification module is used to obtain the identity identifier of the label to be printed, wherein the identity identifier includes at least a frequency band identifier, a data identifier, and a graphic identifier; The calling module is used to call the printer's preset identifier mapping library. The identifier mapping library at least stores three sets of mapping relationships for the label to be printed: the frequency band identifier and frequency band type, the data identifier and read / write data, and the graphic identifier and graphic data. The query module is used to perform a matching query in the identifier mapping library based on the identity identifier to determine the frequency band type, the read / write data, and the image and text data of the current label to be printed; The printing module performs graphic printing and data writing on the label to be printed based on the frequency band type, the read / write data, and the graphic data to obtain the label to be inspected. The verification module is used to verify the read and write data of the tag to be verified and output the tag that has passed the verification.

[0014] A third aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the RFID tag printing method.

[0015] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described RFID tag printing method.

[0016] In summary, this application includes at least one or more of the following beneficial effects: 1. By matching the identity of each label to be printed with the corresponding relationship in the identifier mapping library and working together, the system can automatically match and process frequency band type, read / write data, and image / text data in an integrated manner. No manual intervention is required for parameter configuration. This effectively solves the problem of traditional printing methods being unable to achieve integrated continuous printing when dealing with complex orders such as multi-frequency band and multi-purpose labels, thereby improving the automation level and production efficiency of RFID label printing.

[0017] 2. By using the unique identifier of each label to be printed, the printing area, printing parameters, and graphic information are clearly defined, thereby ensuring that the graphic layout and format of different batches and different types of labels are consistent and standardized, reducing the probability of problems such as graphic overflow, blurring, and misprinting.

[0018] 3. By reading the actual written data through the multi-band read / write module and comparing it with the read / write data from multiple aspects, problems such as incorrect writing, missing writing, and format disorder caused by signal interference and chip storage abnormalities during the data writing process can be effectively investigated, ensuring the reliability of tag data. In addition, abnormal details will be recorded to facilitate the tracing and investigation of abnormal problems and optimize the production process. Attached Figure Description

[0019] Figure 1 This is a flowchart illustrating an RFID tag printing method according to an embodiment of this application; Figure 2 This is a functional block diagram illustrating an RFID tag printing method according to an embodiment of this application; Figure 3 This is a schematic diagram of an RFID tag printing method shown in an embodiment of this application. Detailed Implementation

[0020] The terminology used in the following embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to include the plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this application refers to any or all possible combinations including one or more of the listed items.

[0021] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0022] Reference Figure 1 As shown, Figure 1 This is a flowchart illustrating an RFID tag printing method, which includes the following steps.

[0023] S1, obtain the identity identifier of the label to be printed, wherein the identity identifier includes at least a frequency band identifier, a data identifier, and a graphic identifier; The label to be printed refers to an RFID tag that needs to complete the printing of graphic information and the writing of radio frequency data. It has a built-in radio frequency chip and antenna, and supports radio frequency communication in any one or more frequency bands of low frequency, high frequency and ultra-high frequency. Graphics and text can be printed on the label surface.

[0024] An identification identifier is a tag attribute association code used to distinguish the tags to be printed. It is a pre-set code that needs to be bound to each tag to be printed, and it includes at least three key sub-identifiers: frequency band identifier, data identifier, and graphic identifier. The identification identifier setting process needs to be combined with the actual printing scenario. Generally, it is a standardized parameter configuration file entered, edited, or imported by the user through the printer operation interface or host computer software. This standardized parameter configuration file can be stored in common formats such as Excel and CSV, and contains a list of identification identifiers for all tags to be printed, as well as the specific content of the frequency band identifier, data identifier, and graphic identifier corresponding to each identification identifier. For example, the identification identifier is LF-001-DATA-20240501-001-GRAPH-LOGO-001, where the frequency band identifier is LF-001, the data identifier is DATA-20240501-001, and the graphic identifier is GRAPH-LOGO-001. The list of identity tags that users import or edit will be synchronously stored in the printer's local storage unit and will be established in a one-to-one correspondence with the preset label features to form a complete tag mapping library or image mapping library.

[0025] To achieve precise binding between the label to be printed and its production task, this application utilizes the globally unique serial number (UID) of the RFID tag as a unique physical identification code. By pre-constructing a task database bound to the current production task, each UID is associated with its corresponding identity identifier. When a tag enters the printing process, the system uses the UID as an index to query and determine its identity identifier from the task database. Specifically, the system reads the globally unique serial number of the label to be printed; calls the task database bound to the printer's current production task, where the task database stores the mapping relationship between the globally unique serial number of the label to be printed and the identity identifier; reads the globally unique serial number of the label to be printed, and performs a matching query in the task database based on the globally unique serial number to determine the identity identifier corresponding to the label to be printed.

[0026] The task database stores the mapping relationship between the globally unique serial number of the tag to be printed and the corresponding identity identifier, as well as the production task queue. The identity identifier includes at least a frequency band identifier, a data identifier, and a graphic identifier. The production task queue is a pre-defined production execution sequence that defines the production order and quantity of different identity identifiers. It guides the system to assign the corresponding identity identifier to a new UID in sequence, without pre-scanning all tags. The task database provides the printer with a query basis, enabling it to uniquely determine the production task to be performed for any tag after reading its globally unique serial number, thus achieving precise binding of materials and information. The globally unique serial number of the tag to be printed is read through a multi-band read / write module. This module is a hardware function integrated inside the printer that supports full-band RF signal transmission and reception, encoding and parsing, and data interaction across low-frequency (LF), high-frequency (HF), and ultra-high-frequency (UHF) frequencies. Its core consists of a wide-spectrum RF antenna, a multi-band signal modem, and an encoding / decoding chip, which can adaptively match the communication protocols of different frequency band RFID tags to achieve rapid reading of the tag's pre-stored information.

[0027] In some embodiments, the identification of the tags can be flexibly customized according to actual scenario requirements. Specifically, a task database is pre-set, which includes the mapping relationship between the globally unique serial number of the tag to be printed and the corresponding identification of the tag, as well as the production task. When the tag to be printed enters the printing station, the multi-band read / write module first reads its globally unique serial number, and then queries the task database to determine the identification corresponding to the current globally unique serial number. In addition, the system uses a multi-band read / write module to write a standardized parameter configuration file containing frequency band identifiers, data identifiers, and graphic identifiers into the chip of an RFID tag that has no pre-stored data. Then, it performs graphic printing and data writing by identifying the identifier. This allows for a pre-test of the RFID tag's chip to ensure it can perform data writing normally before graphic printing and data writing. If the multi-band read / write module cannot write or read the identifier normally, it indicates that there is a problem with the RFID tag's chip. In this case, the problematic RFID tag can be calibrated and will no longer participate in subsequent identifier writing, i.e., it will not participate in subsequent graphic printing and data writing. This saves printing resources and ensures that each identifier is bound to the RFID tag in sequence.

[0028] In other embodiments, when the RFID tag to be printed is applied to different functional components of the same product, and it is required that the identity identifier of each functional component be bound to the main identity identifier of the product, and that the identity identifiers between functional components correspond one-to-one, taking the box and cover of a smart device as an example, each smart device has its own corresponding main identity identifier, and the identity identifiers of the box and cover of each smart device need to form an exclusive correspondence, that is, while associating with the main identity identifier, the identity identifiers of the box and cover also need to correspond one-to-one. In the actual production process, if the traditional batch printing mode is adopted, the RFID tags of all smart device boxes are printed in batches first, and then the RFID tags of all machine covers are printed in batches. During subsequent assembly, it is necessary to manually check whether the identification marks of the boxes and machine covers are associated with the same primary identification mark. This is not only cumbersome and inefficient, but also prone to mismatch between boxes and machine covers of different smart devices due to human error, resulting in confusion in the identification mark correspondence. If the group printing mode is adopted, with the box and machine cover of a single smart device as a group, and the two tags of each group are printed in sequence, it is necessary to manually determine in advance whether the box or machine cover to which the current label to be printed belongs, and to place the labels strictly in the preset order. Otherwise, the identification mark binding of the box and machine cover will be incorrect. In addition, manual judgment and order control further increase the complexity of operation and the risk of error. To solve the above problems, an identity identifier can be identified based on image features, specifically as follows: A surface image of the label to be printed is acquired; features are extracted from the surface image to obtain image features; a preset image mapping library for the printer is called, which stores the mapping relationship between image features and identity identifiers; based on the image features, the identity identifier corresponding to the label to be printed is queried to determine the identity identifier of the label to be printed.

[0029] A surface image refers to a complete two-dimensional image of the RFID tag surface captured by the built-in image acquisition device after the tag enters the printer's processing area. This image includes the tag's pre-defined visual features specific to its functional components, such as the box-specific QR code on a box label captured by a high-definition industrial camera, or the cover-specific pattern on a cover label. Feature extraction refers to preprocessing the acquired surface image, such as noise reduction, grayscale conversion, and edge enhancement, and then using computer vision algorithms like ORB and SIFT to extract key visual information with uniqueness and distinguishability. Image features refer to the digital visual information obtained through feature extraction. The image mapping library is a set of visual information data pre-stored in the printer's storage unit, storing a one-to-one correspondence between image feature identifiers. For example, the identifier UHF-MAIN-20240801-0001-BOX-LF-001 corresponds to the digital visual information obtained from feature extraction of the box-specific QR code.

[0030] For example, when the RFID tags on the casing and the cover are different sizes, the tag size characteristics can be used as the basis for identification. During the printing identification, the image acquisition device captures the outline size information of the tag when shooting the visual features on the tag surface. After preprocessing and feature extraction, the casing and the cover are distinguished, and then their respective identification marks are determined in sequence.

[0031] S2, call the printer's preset identifier mapping library. The identifier mapping library at least stores three sets of mapping relationships for the label to be printed: the frequency band identifier and frequency band type, the data identifier and read / write data, and the graphic identifier and graphic data. The identifier mapping library refers to a data set pre-stored in the printer's local storage unit or cloud server. It is the core data carrier that connects the identifier of the label to be printed with the actual printing parameters. It is specifically used to store the association between the identifier and the corresponding target parameters. It can be dynamically updated and imported in batches, and can also be queried quickly.

[0032] Specifically, the identifier mapping library pre-stores the mapping relationship between frequency band identifiers and frequency band types in the identity identifiers. This is used to quickly locate the radio frequency communication frequency band of the tag using the frequency band identifiers in the identity identifiers. For example, the frequency band identifier LF-001 indicates that the printed tag's frequency band type is low frequency, and the frequency band identifier HF-002 indicates that the printed tag's frequency band type is high frequency. The identifier mapping library also pre-stores the mapping relationship between data identifiers and read / write data. This is used to determine the one-to-one correspondence between data identifiers and actual read / write data. For example, the data identifier DATA-20240801... -0001 indicates that the corresponding product ID is SN202408010001, the production batch is B20240801, and the traceability code is TS202408010001. The identifier mapping library also contains the mapping relationship between graphic identifiers and graphic data, which is used to determine the one-to-one correspondence between graphic identifiers and actual graphic data. For example, the graphic identifier GR-LOGO-001-SimHei-14 indicates that the product uses the pattern with the number GR, the LOGO uses the LOGO with the number 001, the font is bold, and the font size is 14pt.

[0033] S3, based on the identity identifier, perform a matching query in the identifier mapping library to determine the frequency band type, read / write data, and image / text data of the current label to be printed; Matching query refers to the process of determining the frequency band type, read / write data, and graphic data associated with the identity of the label to be printed from the identifier mapping library through keyword retrieval, feature comparison, and other methods. Frequency band type refers to the radio frequency communication frequency band specifications supported by the label to be printed, which is the basis for selecting the communication protocol when writing data. It includes three categories: low frequency, high frequency, and ultra-high frequency, determined by matching the frequency band identifier in the identity. Read / write data refers to the data to be written to the chip of the label to be printed. This is the core information for the label to achieve functions such as identification and traceability, including the product's unique serial number, production batch number, traceability code, and enterprise-defined fields, determined by matching the data identifier in the identity. Graphic data refers to the graphic and textual information to be printed on the surface of the label and its corresponding printing parameters, such as brand logo, product name, specifications, QR code / barcode, and printing parameters such as font, font size, color, printing position, and size, determined by matching the graphic and textual identifier in the identity.

[0034] After obtaining the complete identity of the label to be printed, the printer matches and queries the identity mapping library. Specifically, it queries the identity mapping library by using the three characters of the identity: frequency band identifier, data identifier, and graphic identifier, thereby determining the frequency band type, read / write data, and graphic data corresponding to the identity.

[0035] S4, based on the frequency band type, the read / write data, and the graphic data, perform graphic printing and data writing on the label to be printed to obtain the label to be inspected; Image and text printing refers to the process of printing visual information onto the surface of a label according to preset printing parameters using a printer's built-in printing module, based on image and text data matched and determined by an identifier mapping library. This includes printing brand logos, product names, specifications, QR codes, barcodes, etc., according to preset fonts, sizes, colors, positions, and dimensions. Data writing refers to the process of transmitting matched read / write data to a designated storage area of ​​the label's built-in chip using the printer's multi-band read / write module, based on the communication protocol corresponding to the frequency band type. This includes writing product IDs, production batches, and traceability codes into the chip. Labels awaiting inspection are finished RFID tags that have undergone image and text printing and data writing but have not yet undergone data consistency verification. Subsequent verification steps are needed to confirm the accuracy of the printing and coding.

[0036] The label to be inspected needs to first determine the communication protocol based on the frequency band type, and then read and write data through the communication protocol, as follows: The identifier mapping library also pre-stores the mapping relationship between the frequency band type and the communication protocol of the label to be printed, wherein the frequency band type includes low frequency, high frequency and ultra-high frequency; based on the frequency band type, the communication protocol of the label to be printed is determined; based on the communication protocol, the read and write data and the graphic data, the label to be printed is graphic printed and data is written to obtain the label to be inspected.

[0037] Communication protocols refer to RFID data transmission standards adapted to different frequency bands. They serve as the basis for stable data interaction between multi-band read / write modules and the chip of the tag to be printed. Different frequency bands correspond to industry-standard protocols, ensuring the standardization and compatibility of data writing. For example, low-frequency corresponds to the ISO 11784 protocol, high-frequency corresponds to the ISO 14443 protocol, and ultra-high frequency corresponds to the ISO 18000-6C protocol. The mapping relationship between frequency band types and the communication protocols of the tags to be printed means that each frequency band type is associated with one or more compatible standard communication protocols.

[0038] After determining the frequency band type, the printer queries the label mapping library to determine the communication protocol compatible with the label to be printed. The multi-band read / write module sends an RF activation signal to the built-in chip of the label to be printed. After the chip responds, a stable RF communication link is established. According to the data format specified by the communication protocol, the read / write data is transmitted to the designated storage area of ​​the chip. At the same time, the printer prints the graphic data on the surface of the label to be printed according to the preset parameters corresponding to the graphic data. After the read / write data transmission is completed and the pattern is printed, the label to be inspected is obtained.

[0039] More specifically, the label to be inspected is obtained in the following way: based on the graphic data, the graphic printing area, printing parameters, and graphic information of the label to be printed are determined; based on the printing parameters, the graphic information is printed in the graphic printing area; the read and write data is written to the chip of the label to be printed through the communication protocol; when the graphic printing is complete and the chip feedback data is successfully written, the label to be inspected is formed.

[0040] The graphic printing area is a dedicated printing area on the label surface, defined according to the physical size of the label to be printed and preset printing parameters, used for printing and carrying various graphic and textual information.

[0041] Based on the preset printing parameters in the graphic data and the physical dimensions of the label to be printed, the printer determines the graphic printing area for printing the graphic information. The printer controls the transport channel to position the label to be printed in the printing area, and drives the printing module to print the graphic information in the graphic printing area according to the preset printing parameters in the graphic data. At the same time, the multi-band read / write module sends an radio frequency activation signal to the built-in chip of the label to be printed based on the matched communication protocol, and transmits the read / write data to the designated storage area of ​​the chip according to the data format specified by the communication protocol. After the read / write data transmission is completed and the pattern is printed, the label to be inspected is obtained.

[0042] By using the above technical solutions, after clarifying the printing area, printing parameters and graphic information, it can be ensured that the graphic layout of different batches and different types of labels is consistent and the format is standardized, reducing the probability of problems such as graphic overflow, blurring, and misprinting.

[0043] Traditional graphic printing mostly uses thermal transfer technology, which requires direct contact between the printhead and the ribbon / label surface, applying pressure and heat to achieve image transfer. In practical applications, this contact printing method has certain limitations. On the one hand, the physical friction between the printhead and the label can easily cause scratches on the label surface and ribbon residue, especially noticeable on labels made of special materials such as PVC and synthetic paper, affecting the label's appearance and lifespan. On the other hand, contact pressure can cause deformation and positioning misalignment of flexible labels, leading to problems such as blurred images and unreadable barcodes. To solve these problems with thermal transfer printing, inkjet non-contact printing can be used in certain situations. Specifically, the graphic printing uses inkjet non-contact printing. Based on the graphic data and the material characteristics of the label to be printed, inkjet printing parameters are determined, including droplet size, inkjet speed, and the non-contact distance between the printhead and the label surface. Based on these inkjet printing parameters, the label is then printed.

[0044] Inkjet non-contact printing refers to a printing method that uses a printer's built-in inkjet printhead to precisely eject tiny ink droplets onto a pre-defined printing area on the label without direct contact with the label surface. This method offers advantages such as non-contact printing, low damage, and high precision. Inkjet printing parameters are determined based on printing parameters in the image data and the material characteristics of the label. These parameters control the printer's inkjet nozzles, such as droplet size, inkjet speed, and the non-contact distance between the printhead and the label surface. Material characteristics refer to the type and physical properties of the label surface, including hardness, surface roughness, and ink absorption. Droplet size refers to the volume of a single ink droplet ejected from the printhead, measured in picoliters, typically ranging from 5 pL to 30 pL. Droplet size directly affects image accuracy. Inkjet speed refers to the speed at which the ink droplets travel from the printhead nozzles to the label surface. Excessive speed can cause ink splattering, while insufficient speed may result in ink diffusion and smudging. Adjustments must be made based on the label material and ink absorption. Non-contact distance refers to the vertical distance between the inkjet printhead nozzle and the surface of the label to be printed. If the non-contact distance is too small, the printhead may be scratched due to slight label misalignment, while if it is too large, it will affect the accuracy of ink droplet landing.

[0045] The printer determines the appropriate inkjet printing parameters based on the image and text data recorded in the printing parameters section of the image and text data, and the material type of the label to be printed. For example, if the label is made of smooth, ink-repellent rigid PVC, the printer adjusts the inkjet printing parameters suitable for printing on rigid PVC, including a droplet size of 8 pL, an inkjet speed of 2.5 m / s, and a non-contact spacing of 2 mm, based on the previously set printing parameters in the image and text data. Then, the printer's inkjet nozzles print the image and text information from the image and text data onto the image and text printing area of ​​the label.

[0046] S5, verify the read and write data of the tag to be inspected, and output the tag that has passed the verification.

[0047] After obtaining the tag to be inspected, in order to avoid problems such as incorrect writing, omissions, and data tampering caused by signal interference or chip storage abnormalities during the data writing process, and to prevent unqualified tags from flowing into downstream production assembly, warehousing management, etc., it is usually necessary to verify the read and write data of the tag to be inspected. This ensures that the read and write data stored in the RFID tag chip is accurate and formatted in accordance with the original read and write data preset in the tag mapping library, and then outputs a qualified tag.

[0048] Specifically, the label to be inspected can be verified in the following way: the actual written data of the label to be inspected is read through the multi-band read / write module of the printer; the actual written data is compared with the read / write data. If the two are consistent, the current label to be inspected is marked as qualified and the label is output; if the two are inconsistent, the current label to be inspected is marked as unqualified.

[0049] The actual written data refers to the complete set of data actually stored in the tag chip to be tested, which needs to be read twice by the multi-band read and write module. It is the comparison object in the verification process and may contain abnormal data such as incorrect writing or omissions.

[0050] The printer retrieves the read / write data corresponding to the label to be inspected from its local cache unit and compares it with the actual written data. This comparison may include field integrity checks, content accuracy checks, and format conformity checks. For example, it verifies whether the number of fields and field names in the actual written data are completely consistent with the read / write data. It compares each field of data such as product ID, production batch, and traceability code to ensure that characters, values, and order are completely matched without any deviation. It also verifies whether the encoding length of the actual written data is consistent with the read / write data. If the data comparison is consistent and there are no obvious problems, the label to be inspected can be determined to be a qualified cost label. If any aspect of the data comparison is inconsistent, such as an incorrect production batch content or insufficient product ID encoding length, the label to be inspected is determined to be a non-qualified label. The sorting mechanism will then guide it to the abnormal label collection area and record the abnormal details to facilitate subsequent troubleshooting of faults in the data writing process.

[0051] Through the above technical solution, the verification process is automatically completed by the printer's built-in multi-band read / write module. Specifically, the multi-band read / write module reads the actual written data and compares it with the read / write data from multiple aspects. This effectively eliminates problems such as incorrect writing, missing writing, and format errors caused by signal interference, chip storage abnormalities, etc., during the data writing process, ensuring the reliability of the label data. In addition, it records the details of the abnormality to facilitate the tracing and investigation of abnormal problems and optimize the production process.

[0052] In some embodiments, the RFID tag printing device 20 may include multiple functional modules composed of computer program segments. The computer programs for each program segment of the RFID tag printing device 20 may be stored in the memory of an electronic device and executed by at least one processor to perform (see details). Figure 1 (Description) Function of the RFID tag printing method.

[0053] Reference Figure 2 As shown, Figure 2This is a functional block diagram illustrating an RFID tag printing method according to an embodiment of this application. In this embodiment, the RFID tag printing device 20 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: an identification module 201, a calling module 202, a query module 203, a printing module 204, and a verification module 205. The term "module" in this application refers to a series of computer program segments that can be executed by at least one processor and perform a fixed function, and which are stored in memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

[0054] The identification module is used to obtain the identity identifier of the label to be printed, wherein the identity identifier includes at least a frequency band identifier, a data identifier, and a graphic identifier; The calling module is used to call the printer's preset identifier mapping library. The identifier mapping library at least stores three sets of mapping relationships for the label to be printed: the frequency band identifier and frequency band type, the data identifier and read / write data, and the graphic identifier and graphic data. The query module is used to perform a matching query in the identifier mapping library based on the identity identifier to determine the frequency band type, the read / write data, and the image and text data of the current label to be printed; The printing module performs graphic printing and data writing on the label to be printed based on the frequency band type, the read / write data, and the graphic data to obtain the label to be inspected. The verification module is used to verify the read and write data of the tag to be verified and output the tag that has passed the verification.

[0055] Reference Figure 3 As shown, Figure 3 This is a schematic diagram of the structure of an electronic device shown in an embodiment of this application. In a preferred embodiment of this application, the electronic device 3 includes a memory 31, at least one processor 32, and at least one communication bus 33.

[0056] Those skilled in the art should understand that Figure 3 The structure of the electronic device shown does not constitute a limitation of the embodiments of this application. It can be a bus structure or a star structure. The electronic device 3 may also include more or fewer other hardware or software than shown, or different component arrangements.

[0057] In some embodiments, the electronic device 3 is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), programmable gate arrays (FPGAs), digital processors, and embedded devices. The electronic device 3 may also include user equipment, which includes, but is not limited to, any electronic product capable of human-computer interaction with a user via a keyboard, mouse, remote control, touchpad, or voice control device, such as a personal computer, tablet computer, smartphone, or digital camera.

[0058] It should be noted that the electronic device 3 is merely an example. Other existing or future electronic products that are suitable for this application should also be included within the scope of protection of this application and are incorporated herein by reference.

[0059] In some embodiments, the memory 31 stores a computer program that, when executed by the at least one processor 32, implements all or part of the steps in the RFID tag printing method described above. The memory 31 includes read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data. Further, the computer-readable storage medium may primarily include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required for a function, etc.; and the data storage area may store data created based on the use of blockchain nodes, etc. The blockchain referred to in this application is a novel application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. Essentially, a blockchain is a decentralized database, a chain of data blocks linked together using cryptographic methods. Each data block contains information about a batch of network transactions, used to verify the validity of the information (anti-counterfeiting) and generate the next block. A blockchain can include an underlying blockchain platform, a platform product service layer, and an application service layer.

[0060] In some embodiments, the at least one processor 32 is the control unit of the electronic device 3, connecting various components of the electronic device 3 via various interfaces and lines. It executes programs or modules stored in the memory 31 and calls data stored in the memory 31 to perform various functions and process data of the electronic device 3. For example, when the at least one processor 32 executes a computer program stored in the memory, it implements all or part of the steps of the RFID tag printing method described in the embodiments of this application; or it implements all or part of the functions of the device. The at least one processor 22 may be composed of integrated circuits, for example, it may be composed of a single packaged integrated circuit, or it may be composed of multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips.

[0061] In some embodiments, the at least one communication bus 33 is configured to enable communication between the memory 31 and the at least one processor 32, etc. Although not shown, the electronic device 3 may also include a power supply (e.g., a battery) to power the various components. Preferably, the power supply can be logically connected to the at least one processor 32 via a power management device, thereby enabling functions such as charging, discharging, and power consumption management. The power supply may also include one or more DC or AC power supplies, recharging devices, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components. The electronic device 3 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described in detail here.

[0062] The integrated unit implemented as a software functional module described above can be stored in a computer-readable storage medium. This software functional module, stored in a storage medium, includes several instructions to cause an electronic device (which may be a personal computer, electronic device, or network device, etc.) or processor to execute portions of the methods described in the various embodiments of this application.

[0063] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and other division methods may be used in actual implementation.

[0064] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0065] The above are all preferred embodiments of this application, and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.

Claims

1. A method for printing RFID tags, characterized in that, The method includes: Obtain the identification identifier of the label to be printed, wherein the identification identifier includes at least a frequency band identifier, a data identifier, and a graphic identifier; The printer's preset identifier mapping library is invoked. The identifier mapping library at least stores three sets of mapping relationships for the label to be printed: the frequency band identifier and frequency band type, the data identifier and read / write data, and the graphic identifier and graphic data. Based on the identity identifier, a matching query is performed in the identifier mapping library to determine the frequency band type, read / write data, and image / text data of the current label to be printed; Based on the frequency band type, the read / write data, and the graphic data, the label to be printed is printed and data is written to obtain the label to be inspected. The read and write data of the tag to be inspected are verified, and the tags that pass the verification are output.

2. The RFID tag printing method according to claim 1, characterized in that, The process of obtaining the identity identifier of the label to be printed includes: The task database bound to the current production task of the printer is invoked, wherein the task database stores the mapping relationship between the globally unique serial number of the label to be printed and the identity identifier; Read the globally unique serial number of the label to be printed, and perform a matching query in the task database based on the globally unique serial number to determine the identity identifier corresponding to the label to be printed.

3. The RFID tag printing method according to claim 1, characterized in that, The process of obtaining the identity identifier of the label to be printed includes: Acquire a surface image of the label to be printed, and extract features from the surface image to obtain image features; The printer's preset image mapping library is invoked. The image mapping library stores the mapping relationship between the image features and the identity identifier. Based on the image features, the identity identifier corresponding to the label to be printed is queried.

4. The RFID tag printing method according to claim 1, characterized in that, Based on the frequency band type, the read / write data, and the image / text data, the label to be printed is subjected to image / text printing and data writing to obtain the label to be inspected, including: The identifier mapping library also pre-stores the mapping relationship between the frequency band type and the communication protocol of the current label to be printed, wherein the frequency band type includes low frequency, high frequency and ultra-high frequency; Based on the frequency band type, determine the communication protocol of the label to be printed; Based on the communication protocol, the read / write data, and the graphic data, the label to be printed is printed and data is written to obtain the label to be inspected.

5. The RFID tag printing method according to claim 4, characterized in that, Based on the communication protocol, the read / write data, and the image / text data, the label to be printed is subjected to image / text printing and data writing to obtain the label to be inspected, including: Based on the graphic data, the graphic printing area, printing parameters, and graphic information of the label to be printed are determined; Based on the printing parameters, the graphic information is printed in the graphic printing area; The read / write data is written to the chip of the label to be printed using the aforementioned communication protocol; Once the image and text are printed completely and the chip feedback data is successfully written, the label to be inspected is obtained.

6. The RFID tag printing method according to claim 5, characterized in that, Based on the printing parameters, printing the graphic information in the graphic printing area includes: Based on the graphic data and the material characteristics of the label to be printed, inkjet printing parameters are determined, including ink droplet size, inkjet speed, and non-contact distance between the print head and the surface of the label to be printed. Based on the inkjet printing parameters, ink is sprayed onto the graphic printing area, and the graphic information is printed in the graphic printing area.

7. The RFID tag printing method according to claim 1, characterized in that, The process of verifying the read and write data of the tag to be inspected and outputting tags that pass the verification includes: Read the actual written data of the label to be inspected; The actual written data is compared with the read and write data. If they match, the tag to be tested is marked as qualified and the tag to be tested is output. If they do not match, the tag to be tested is marked as unqualified.

8. An RFID tag printing device, characterized in that, The device includes: The identification module is used to obtain the identity identifier of the label to be printed, wherein the identity identifier includes at least a frequency band identifier, a data identifier, and a graphic identifier; The calling module is used to call the printer's preset identifier mapping library. The identifier mapping library at least stores three sets of mapping relationships for the label to be printed: the frequency band identifier and frequency band type, the data identifier and read / write data, and the graphic identifier and graphic data. The query module is used to perform a matching query in the identifier mapping library based on the identity identifier to determine the frequency band type, the read / write data, and the image and text data of the current label to be printed; The printing module performs graphic printing and data writing on the label to be printed based on the frequency band type, the read / write data, and the graphic data to obtain the label to be inspected. The verification module is used to verify the read and write data of the tag to be verified and output the tag that has passed the verification.

9. An electronic device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the RFID tag printing method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the RFID tag printing method according to any one of claims 1 to 7.