An RFID authentication method and device

By analyzing the positioning and time-tag relationship of RFID tags, dynamic identification codes are generated and layered design is adopted, the low security and management difficulties of RFID authentication methods are solved, and high-precision and flexible authentication processes and security enhancement are achieved.

CN119031370BActive Publication Date: 2025-07-11GUANGZHOU MIJIA TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411048324.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2025-07-11
Estimated Expiration
2044-08-01

AI Technical Summary

Technical Problem

The existing RFID authentication methods have low security problems, static passwords are easy to be cracked, dynamic password authentication methods have high requirements for time synchronization and are difficult to distribute and manage keys.

Method used

By performing tag positioning and time-label relationship analysis on RFID tags, dynamic identification codes are generated, and layered tag design and pre-verification mechanisms are adopted to improve the positioning accuracy and uniqueness of tags and enhance security.

Benefits of technology

It improves the accuracy and security of RFID authentication, ensures the uniqueness and anti-counterfeiting capabilities of tags, and realizes flexible hierarchical management and the reliability of authentication processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119031370B_ABST
    Figure CN119031370B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of radio frequency identification technology, and particularly to an RFID authentication method and device. The method includes the following steps: designing an RFID tag and extracting the spatial features of the tag; positioning and bit-level encoding the tag spatial feature data to generate a positioned RFID tag; performing data deconstruction, identifier injection, integration, and enhancement on the positioned RFID tag to generate a final positioned RFID tag; obtaining a tag timestamp and performing time synchronization, and fusing the time with the RFID tag to generate a time RFID tag; performing identity mapping, identification transcoding, and cutting on the RFID tag to generate a stored RFID positioning tag and a stored RFID timing tag; designing a tag authentication process, including pre-verification, post-decoding, and result determination; The present invention improves the security and efficiency of the authentication system by improving the tag positioning and time accuracy, flexible tag hierarchy management, and designing an authentication process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of radio frequency identification, and in particular to an RFID authentication method and device. Background Art

[0002] The earliest RFID authentication methods mainly relied on tag identification. The tag carried a unique identifier, and the reader communicated with the tag through radio frequency signals to verify its legitimacy. However, this method was vulnerable to attacks by counterfeiting and forging tags, with low security. To enhance security, static password authentication methods were introduced. In this method, the communication between the tag and the reader required password verification. The tag and the reader shared a static password in advance and used this password for authentication during communication. However, static passwords were easily cracked and stolen, posing a risk of password leakage. To address the deficiencies of static password authentication, dynamic password authentication methods emerged. This method used dynamically generated one-time passwords (OTP) for authentication. Each time authentication was performed, the tag and the reader would generate a new OTP, making it impossible for attackers to reuse the password for deception. However, the dynamic password authentication method had high requirements for time synchronization and difficulties in key distribution and management. Summary of the Invention

[0003] Based on this, it is necessary to provide an RFID authentication method and device to solve at least one of the above technical problems.

[0004] To achieve the above object, an RFID authentication method includes the following steps:

[0005] Step S1: Obtain an RFID tag; perform tag positioning on the RFID tag to obtain tag positioning data; perform a tag positioning project on the RFID tag based on the tag positioning data to generate a positioned RFID tag;

[0006] Step S2: Obtain an instant fine time unit; perform time series fusion analysis on the instant fine time unit and the RFID tag to generate time-tag relationship data; perform a tag time project on the RFID tag based on the time-tag relationship data to generate a time RFID tag;

[0007] Step S3: Perform tag identity mapping on the RFID tag to generate a main tag dynamic identification code; evenly and randomly allocate the split main tag dynamic identification code according to the positioned RFID tag and the time RFID tag to obtain a stored RFID positioned tag and a stored RFID timed tag; perform hierarchical assignment on the stored RFID positioned tag and the stored RFID timed tag based on a preset tag hierarchy mechanism to obtain a front-back hierarchical tag, where the front-back hierarchical tag includes a pre-verification tag and a post-main tag;

[0008] Step S4: Perform pre-verification on the front and back hierarchical tags to obtain a pre-certification result; when the pre-certification result is a non-passed result, return the non-passed result to obtain a failure information text; when the pre-certification result is a passed result, decode the identification code of the RFID tag based on the passed result, so as to pass the RFID authentication.

[0009] Through the tag positioning and positioning engineering of the RFID tag, the present invention can obtain accurate tag positioning data, thereby improving the positioning accuracy of the tag. This helps to ensure the accuracy and traceability of the tag in the subsequent authentication process. By performing time-series fusion analysis on the instant fine time unit and the RFID tag, time-tag relationship data is generated. In this way, the association between time and the tag can be established, providing verification and control in the time dimension for the subsequent authentication process. By performing tag identity mapping on the RFID tag, a dynamic main tag identification code is generated. This can ensure the uniqueness and dynamics of the tag, enhancing the security and anti-counterfeiting ability of the tag. Through the preset tag hierarchy mechanism, the storage RFID positioning tag and the storage RFID timing tag are hierarchically assigned to generate front and back hierarchical tags, including a pre-verification tag and a post-main tag. Such a hierarchical design can achieve different-level authentication and access control, improving the flexibility and security of the system. By performing pre-verification operations on the pre-verification tag, a pre-certification result can be obtained. When the authentication result is not passed, the failure information text can be returned in a timely manner, providing a clear reason for the authentication failure. When the authentication result is passed, subsequent decoding and authentication operations of the RFID tag can be performed to achieve the smooth progress of the RFID authentication. It is beneficial for the design of the RFID authentication process, which can improve the tag positioning accuracy, establish the time-tag relationship, generate a dynamic identification code, implement tag hierarchy management, and ensure the accuracy and security of the authentication process through pre-verification. Therefore, the present invention improves the security and efficiency of the authentication system by improving the tag positioning and time accuracy, flexible tag hierarchy management, and designing the authentication process.

[0010] In this specification, an RFID authentication device is provided. The RFID authentication device has a built-in controller, and the controller is used to execute the RFID authentication method as described above. The controller includes:

[0011] A tag positioning module, configured to obtain an RFID tag; perform tag positioning on the RFID tag to obtain tag positioning data; perform tag positioning engineering on the RFID tag based on the tag positioning data to generate a positioned RFID tag;

[0012] The label timing module is used to obtain the instant fine time unit; perform timing fusion analysis on the instant fine time unit and the RFID label to generate time-label relationship data; perform label time engineering on the RFID label based on the time-label relationship data to generate a time RFID label;

[0013] The label layering module is used to perform label identity mapping on the RFID label to generate a main label dynamic identification code; evenly and randomly allocate the sliced main label dynamic identification code according to the positioning RFID label and the time RFID label to obtain a stored RFID positioning label and a stored RFID timing label; distinguish and hierarchically assign the stored RFID positioning label and the stored RFID timing label based on a preset label hierarchy mechanism to obtain front and back layered labels, where the front and back layered labels include a pre-verification label and a post-main label;

[0014] The authentication process module is used to perform pre-verification on the front and back layered labels to obtain a pre-authentication result; when the pre-authentication result is a non-pass result, return the non-pass result to obtain a failure information text; when the pre-authentication result is a pass result, decode the identification code of the RFID label based on the pass result to pass the RFID authentication.

[0015] The advantages of the present invention are that by extracting the tag spatial features and positioning the RFID tag, accurate tag positioning data and positioning coding data can be obtained. This helps to improve the positioning accuracy of the tag and ensure the accuracy of the tag position during the authentication process. The tag engineering process performs data deconstruction, identifier directional injection, and tag integration operations on the positioning coding data to generate a positioning RFID tag. These operations enhance the security of the tag, making it more difficult to forge or tamper with, and improving the anti-counterfeiting ability of the system. The temporal fusion and temporal logic analysis can generate time-tag relationship data. This enables the system to establish the association between time and the tag, thereby realizing the verification and control in the time dimension. The generation of the time identification code further strengthens the relationship between time and the tag. The dynamic mapping of tag identities and identity transcoding operations, as well as the generation of the dynamic identification code of the main tag in step S32, make the tag dynamic and unique. This enhances the security and anti-counterfeiting ability of the tag and can be used for subsequent authentication processes. The tag hierarchy mechanism and hierarchical tag design, as well as the pre-level assignment operation, enable different levels of authentication and access control for the stored RFID positioning tag and the stored RFID timing tag. This increases the flexibility and security of the system and allows for fine-grained management and control of the tag as needed. The design of the tag authentication process can design the authentication mechanism for the pre-verification tag and the post-main tag and generate a complete tag authentication process. This helps to ensure the accuracy and security of the authentication process and provides clear authentication results. It plays an important role in the RFID authentication method, including improving the tag positioning accuracy, enhancing the tag security, establishing the time-tag relationship, generating the dynamic identification code, realizing the tag hierarchy management, and designing the authentication process. These advantages contribute to improving the efficiency and security of the RFID authentication system. Therefore, the present invention improves the security and efficiency of the authentication system by improving the tag positioning and time accuracy, flexible tag hierarchy management, and designing the authentication process. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic diagram of the step flow of the RFID authentication method;

[0017] Figure 2 is Figure 1 a detailed implementation step flow diagram of step S2 in

[0018] Figure 3 is Figure 1 a detailed implementation step flow diagram of step S3 in

[0019] Figure 4 is Figure 1 a detailed implementation step flow diagram of step S4 in

[0020] The realization, functional features and advantages of the present invention will be further described with reference to the embodiments and the accompanying drawings. Specific embodiments

[0021] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts belong to the scope of protection of the present invention.

[0022] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and / or processor methods and / or microcontroller methods.

[0023] It should be understood that although the terms "first" and "second" are used herein to describe various units, these units should not be limited by these terms. These terms are only used to distinguish one unit from another. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly, the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed related items.

[0024] To achieve the above object, please refer to Figures 1 to 4 , an RFID authentication method, comprising the following steps:

[0025] Step S1: Obtain an RFID tag; perform tag positioning on the RFID tag to obtain tag positioning data; perform a tag positioning process on the RFID tag based on the tag positioning data to generate a positioned RFID tag;

[0026] Step S2: Obtain an instant fine time unit; perform timing fusion analysis on the instant fine time unit and the RFID tag to generate time-tag relationship data; perform a tag time process on the RFID tag based on the time-tag relationship data to generate a time RFID tag;

[0027] Step S3: Perform label identity mapping on the RFID label to generate a dynamic main label identification code; evenly and randomly allocate the sliced dynamic main label identification code according to the positioning RFID label and the timing RFID label to obtain a stored RFID positioning label and a stored RFID timing label; distinguish and hierarchically assign the stored RFID positioning label and the stored RFID timing label based on a preset label hierarchy mechanism to obtain a front-back hierarchical label, where the front-back hierarchical label includes a pre-verification label and a post-main label;

[0028] Step S4: Perform pre-verification on the front-back hierarchical label to obtain a pre-verification result; when the pre-verification result is a non-pass result, return the non-pass result to obtain a failure information text; when the pre-verification result is a pass result, decode the identification code of the RFID label based on the pass result, thereby passing the RFID authentication.

[0029] Through label positioning and positioning engineering of the RFID label, accurate label positioning data can be obtained, thereby improving the positioning accuracy of the label. This helps to ensure the accuracy and traceability of the label in subsequent authentication processes. By performing sequential fusion analysis on the instant fine time unit and the RFID label, time-label relationship data is generated. In this way, the association between time and the label can be established, providing time-dimensional verification and control for subsequent authentication processes. By performing label identity mapping on the RFID label, a dynamic main label identification code is generated. This can ensure the uniqueness and dynamics of the label, enhancing the security and anti-counterfeiting ability of the label. Through a preset label hierarchy mechanism, the stored RFID positioning label and the stored RFID timing label are distinguished and hierarchically assigned to generate a front-back hierarchical label, including a pre-verification label and a post-main label. Such a hierarchical design can achieve different levels of authentication and access control, improving the flexibility and security of the system. By performing a pre-verification operation on the pre-verification label, a pre-verification result can be obtained. When the authentication result is non-pass, the failure information text can be returned in a timely manner, providing a clear reason for the authentication failure. When the authentication result is pass, subsequent decoding and authentication operations of the RFID label can be performed to achieve the smooth progress of the RFID authentication. It is beneficial for the design of the RFID authentication process, which can improve the label positioning accuracy, establish the time-label relationship, generate a dynamic identification code, implement label hierarchy management, and ensure the accuracy and security of the authentication process through pre-verification. Therefore, the present invention improves the security and efficiency of the authentication system by improving the label positioning and time accuracy, flexible label hierarchy management, and designing the authentication process.

[0030] In the embodiment of the present invention, referring to Figure 1 as described, it is a schematic diagram of the step flow of the RFID authentication method of the present invention. In this example, the RFID authentication method includes the following steps:

[0031] Step S1: Obtain an RFID tag; perform tag positioning on the RFID tag to obtain tag positioning data; perform a tag positioning project on the RFID tag based on the tag positioning data to generate a positioned RFID tag.

[0032] In an embodiment of the present invention, the RFID tag is obtained from a supplier. For example, the RFID tag is obtained from a supply chain management system to track and manage items throughout the logistics process. By using an RFID reader and an antenna, the RFID tag communicates with the reader. The reader sends a signal to the tag, and the tag replies with a signal. Based on the received signal strength and time difference of arrival information, the approximate position of the tag can be determined. This data is recorded as tag positioning data. Perform a tag positioning project on the RFID tag based on the tag positioning data to generate a positioned RFID tag. Using the collected tag positioning data, use a positioning algorithm to accurately position the RFID tag. For example, triangulation positioning, fingerprint positioning, or positioning methods based on signal propagation models can be used. Through these algorithms, the accurate position of the RFID tag can be calculated, and a positioned RFID tag is generated.

[0033] Step S2: Obtain an instant fine time unit; perform a timing fusion analysis on the instant fine time unit and the RFID tag to generate time-tag relationship data; perform a tag time project on the RFID tag based on the time-tag relationship data to generate a time RFID tag.

[0034] In an embodiment of the present invention, an instant fine time unit is obtained for performing a timing fusion analysis with the RFID tag. For example, Coordinated Universal Time (UTC) can be used to obtain the current time from a time server through the Network Time Protocol (NTP). This can ensure the accuracy and consistency of time. Perform a timing fusion analysis on the instant fine time unit and the RFID tag to generate time-tag relationship data. Compare and analyze the instant fine time unit with the reading time of the RFID tag to establish time-tag relationship data. This can be achieved by calculating the difference between the reading time of the RFID tag and the instant fine time unit. For example, by calculating the reading time offset and the time synchronization error metric, time-tag relationship data can be established. Perform a tag time project on the RFID tag based on the time-tag relationship data to generate a time RFID tag. Using the time-tag relationship data, perform a tag time project on the RFID tag to generate a time RFID tag. This can be achieved by calibrating the reading time of the RFID tag to synchronize it with the instant fine time unit. For example, by adjusting the reading time of the RFID tag to eliminate time deviation and ensure the time accuracy of the tag.

[0035] Step S3: Perform label identity mapping on the RFID tag to generate a dynamic main label identification code; evenly and randomly allocate the split dynamic main label identification code based on the positioning RFID tag and the time RFID tag to obtain a stored RFID positioning tag and a stored RFID timing tag; assign different levels to the stored RFID positioning tag and the stored RFID timing tag based on a preset label hierarchy mechanism to obtain a front-back hierarchical label, where the front-back hierarchical label includes a pre-verification label and a post-main label.

[0036] In an embodiment of the present invention, label identity mapping is performed on the RFID tag to generate a dynamic main label identification code. This can be achieved by associating the RFID tag with preset identity recognition information. For example, a hash function can be used to map the RFID tag to a unique identity information to generate the dynamic main label identification code. Based on the positioning RFID tag and the time RFID tag, the dynamic main label identification code is split and evenly and randomly allocated. In this way, a stored RFID positioning tag and a stored RFID timing tag can be generated. For example, different parts of the dynamic main label identification code can be associated with positioning information and time information to generate the stored RFID positioning tag and the stored RFID timing tag. According to the preset label hierarchy mechanism, different levels are assigned to the stored RFID positioning tag and the stored RFID timing tag. In this way, a front-back hierarchical label can be generated, which includes a pre-verification label and a post-main label. For example, according to the specific attributes or functions of the labels, the stored RFID positioning tag and the stored RFID timing tag can be assigned to different levels to form a front-back hierarchical label.

[0037] Step S4: Perform pre-verification on the front-back hierarchical label to obtain a pre-verification result; when the pre-verification result is a non-passing result, return the non-passing result to obtain a failure information text; when the pre-verification result is a passing result, decode the identification code of the RFID tag based on the passing result to pass the RFID authentication.

[0038] In the embodiments of the present invention, pre-verification is performed on the front and rear hierarchical tags to determine whether they meet the certification requirements. For example, an encryption algorithm or a digital signature verification algorithm can be used to verify the pre-tags. The verification process involves parsing the tag data and verifying the integrity and authenticity of the tags. If the pre-verification result indicates that the tag fails the certification, the system will generate a failure information text to indicate the reason for the certification failure. For example, a failure information text containing an error code, an error description, and a recommended repair measure can be generated. This text can be used to inform the user of the failure of the tag certification. If the pre-verification result indicates that the tag passes the certification, the system will decode the identification code of the RFID tag based on the result of the successful certification. This involves parsing the identification code of the tag and comparing it with the expected certification result. If the decoded identification code matches the expected result, then the RFID tag will pass the certification.

[0039] Preferably, step S1 includes the following steps:

[0040] Step S11: Design an RFID tag according to the sample;

[0041] Step S12: Extract the tag space features of the RFID tag to obtain tag space feature data; perform tag positioning on the tag space feature data to obtain tag positioning data;

[0042] Step S13: Perform bit-level encoding on the tag positioning data to obtain tag positioning encoded data;

[0043] Step S14: Perform tag engineering on the RFID tag based on the tag positioning encoded data to generate a positioned RFID tag.

[0044] The advantages of the present invention are that by designing RFID tags according to samples, the requirements of specific applications can be met. For example, RFID tags suitable for label pasting or embedding can be designed according to the size, material, and usage environment factors of an item. By extracting the tag space features of the RFID tag, the feature information of the tag can be obtained, such as the antenna reflection characteristics and operating frequency. Further, by performing tag positioning on the tag space feature data, the position and orientation of the tag in space can be determined. By performing bit-level encoding on the tag positioning data, the positioning information of the tag can be converted into a digital coding form, which is convenient for subsequent processing and identification. Bit-level encoding can improve the data compression efficiency and storage efficiency, while reducing the data transmission overhead. By performing tag engineering on the RFID tag based on the tag positioning encoded data, an RFID tag with a positioning function can be generated. Such a tag can provide the position information of the item, facilitating tracking and management. A method for designing and generating RFID tags with specific functions and position information is provided. Such tags can provide more data and context information during the RFID authentication process, enhancing the accuracy and reliability of the authentication. In addition, these steps also provide effective tools and methods for the positioning and management of RFID tags.

[0045] In an embodiment of the present invention, RFID tags are designed according to the characteristics and requirements of the samples. For example, in the clothing industry, RFID tags with soft materials and small sizes can be designed to facilitate embedding into clothing labels. By extracting the tag space features of the RFID tag, the feature data of the tag can be obtained. For example, the reflection coefficient, operating frequency range, and polarization characteristics of the tag can be measured. Further, by performing tag positioning on the tag space feature data, the position of the tag in the item can be determined. For example, the signal strength indication method or the multi-antenna array detection method can be used for tag positioning. The purpose of performing bit-level encoding on the tag positioning data is to convert the positioning information into a digital coding form. For example, binary coding or Gray code can be used to encode the tag positioning data to improve the data compression efficiency and storage efficiency. Based on the tag positioning encoded data, tag engineering is performed on the RFID tag to generate an RFID tag with a positioning function. This can include embedding an antenna array, a positioning chip, and related circuits in the tag to achieve an accurate positioning function.

[0046] Preferably, step S14 includes the following steps:

[0047] Step S141: Deconstruct the tag positioning encoded data to obtain positioning feature units;

[0048] Step S142: Based on the RFID tag, perform identifier directional injection on the positioning feature units to generate a positioning identification code;

[0049] Step S143: Organically integrate the positioning identification code and the RFID tag to obtain an initial positioning RFID tag;

[0050] Step S144: Strengthen the identifier of the initial positioning RFID tag to generate a positioning RFID tag.

[0051] The advantages of the present invention are as follows: By deconstructing the tag positioning coding data, positioning feature units can be extracted. These feature units contain the positioning information of the tag in space, such as position, direction, and angle. Deconstructing the data helps to separate the positioning information from the coding data, providing a basis for subsequent processing and injection. By directionally injecting the identifier into the positioning feature unit based on the RFID tag, the positioning information can be associated with the tag. In this process, the positioning feature unit is associated with the identifier of the tag to generate a positioning identification code. The positioning identification code contains the positioning information of the tag and can be used for subsequent positioning identification and authentication processes. By organically integrating the positioning identification code and the RFID tag, the positioning identification code and the RFID tag can be integrated. In this process, the positioning identification code is organically fused with other information of the RFID tag to generate an initial positioning RFID tag. The initial positioning RFID tag contains the positioning information and other tag data, providing complete tag content for subsequent authentication and identification. By strengthening the identifier of the initial positioning RFID tag, the recognition and authentication capabilities of the tag can be enhanced. In this process, redundant information, error detection codes, or check codes can be added to improve the reliability and fault tolerance of the tag. The strengthened positioning RFID tag can better resist interference and damage and improve the accuracy and reliability of authentication. A method for injecting and integrating positioning information is provided, thereby generating an RFID tag with positioning function. These steps can not only provide more accurate positioning information but also enhance the recognition and authentication capabilities of the tag, improving the performance and reliability of the RFID system.

[0052] In the embodiments of the present invention, appropriate algorithms and methods are used to parse and decompose the tag positioning and encoding data. Appropriate technologies and algorithms are used to extract the positioning-related features from the parsed data fields. Appropriate data processing methods, such as filtering, noise reduction, or interpolation, are applied to ensure the accuracy and reliability of the positioning feature units. An appropriate encoding scheme is selected to convert the positioning features into a specific data format for subsequent identifier injection and integration. According to specific requirements and system limitations, a suitable identifier or set of identifiers is selected, and appropriate algorithms and methods are designed to inject the selected identifiers into the positioning feature units in a directed manner. Ensure the correspondence and accuracy between the injection position of the identifier and the positioning feature unit. Ensure the association and consistency between the injected identifier and the positioning feature unit to ensure the accuracy and reliability of the positioning identification. Integrate the positioning identification code with other data of the RFID tag, such as identifier data, product information, or storage capacity. Design a suitable tag format and embed the integrated data into the RFID tag in a specific structure and layout to ensure the association and consistency between the positioning identification code and other data of the RFID tag, making it an organic whole, and generating an initial positioning RFID tag containing the positioning identification code and other data. Select appropriate methods and strategies to organically integrate the positioning identification code with other data of the RFID tag, design a tag format that meets specific tag specifications and requirements, ensure the correct embedding and storage of the data, and verify the association and consistency between the positioning identification code and other data of the RFID tag to ensure that the integrated tag is accurate and reliable. Use appropriate methods and tools to generate an initial positioning RFID tag containing the positioning identification code and other data. Add redundant information, such as error detection codes, error correction codes, or redundant data, to the initial positioning RFID tag, verify the identifier to ensure its accuracy and integrity, and apply specific enhancement algorithms and methods to enhance the identification and authentication capabilities of the tag, generating a positioning RFID tag with enhanced identifiers.

[0053] Preferably, step S2 includes the following steps:

[0054] Step S21: Obtain the tag timestamp;

[0055] Step S22: Perform refined time synchronization on the tag timestamp to obtain an instant fine time unit;

[0056] Step S23: Perform time series fusion on the instant fine time unit and the RFID tag to obtain fused time series data; perform time series logic analysis on the fused time series data to generate time-tag relationship data;

[0057] Step S24: Perform time encoding mapping on the RFID tag based on the time-tag relationship data to obtain a time identification code;

[0058] Step S25: Perform tag engineering on the RFID tag using the time identification code to generate a time RFID tag.

[0059] The advantages of the present invention are to obtain and refine the synchronization of tag timestamps, ensure that each component in the system has a consistent time reference, improve the time accuracy and credibility of the system, fuse the instant fine time unit and the RFID tag in time sequence, combine the time information with the tag data to obtain fused time-sequence data. This can make the data of the RFID tag have temporal order and relevance, facilitating subsequent temporal logic analysis and time-coding mapping. Generate time-tag relationship data based on the fused time-sequence data. These data record the association relationship between the RFID tag and time, providing a basis for subsequent time-coding mapping. Perform time-coding mapping on the RFID tag based on the time-tag relationship data to obtain the time identification code. This can embed the time information into the RFID tag, providing time authentication and traceability capabilities for the tag data. Process and generate the RFID tag using the time identification code to obtain the time RFID tag. These tags have the capabilities of time coding and authentication and can be used in time-sensitive application scenarios such as logistics tracking and production process control. Time data synchronization, time-sequence fusion, time-coding mapping, and time RFID tag generation can be implemented in the RFID authentication method, thereby improving the time management and data traceability capabilities of the system, enhancing the time-related functions of the RFID tag, and further expanding the application fields of RFID technology.

[0060] As an example of the present invention, refer to Figure 2 As shown, in this example, step S2 includes:

[0061] Step S21: Obtain the tag timestamp;

[0062] In the embodiment of the present invention, a reliable time source is selected, such as a Network Time Protocol (NTP) server or a GPS time signal, to obtain the current tag timestamp from the selected time source and integrate the obtained tag timestamp into the RFID authentication process to ensure the use of accurate time data during authentication.

[0063] Step S22: Perform refined time synchronization on the tag timestamp to obtain an instant fine time unit;

[0064] In the embodiments of the present invention, the Network Time Protocol (NTP) is used to communicate with a time server to obtain accurate network time data. NTP is a protocol for synchronizing computer clocks. It communicates with a time server to obtain accurate time information. Configure the system time synchronization settings of the computer or device to synchronize it with the time server. This can be done through the time settings interface of the operating system or command-line tools. Consider using a higher-precision time source, such as a Global Positioning System (GPS) receiver. A GPS receiver can provide very accurate time signals. By communicating with the GPS receiver, time data accurate to the nanosecond level can be obtained. Use the corresponding programming language or library to process the time data, such as the datetime module in Python or the DateTime class in C#. These tools provide time calculation and formatting functions, and can refine the time data to the required units, such as milliseconds, microseconds, or nanoseconds.

[0065] Step S23: Perform timing fusion on the instant fine time unit and the RFID tag to obtain fused timing data; perform timing logic analysis on the fused timing data to generate time-tag relationship data;

[0066] In the embodiments of the present invention, the data of the instant fine time unit and the RFID tag are stored in a suitable data structure, such as a time series database or a relational database, and the time data and the tag data are aligned and matched. The time data and the RFID tag data are associated using a timestamp or a time identifier, and sorted and processed based on the requirements of timing logic analysis. For example, the data is sorted in chronological order according to the timestamp. Perform timing logic analysis, and process and filter the timing data according to the application requirements and scenarios. For example, relevant timing data can be extracted according to a specific time window or event trigger condition. Based on the timing logic analysis, by matching the time data and the RFID tag data, time-tag relationship data is generated. These data record the association relationship between the RFID tag and time.

[0067] Step S24: Perform time coding mapping on the RFID tag based on the time-tag relationship data to obtain a time identification code;

[0068] In the embodiments of the present invention, RFID tag data that needs to be time-coded and mapped is extracted from the time-tag relationship data, and the time-tag relationship data is preprocessed, such as removing duplicate data and sorting operations, to ensure the accuracy and consistency of the data. According to the timestamp or time identifier of the time-tag relationship data, it is mapped to the corresponding time identification code. The time identification code can be a number, a string, or other forms of encoding. According to specific encoding rules and requirements, encoding processing is performed on the time identification code. This involves the conversion of time units and the application of encoding algorithms. For example, the timestamp can be converted into a specific time format, such as the ISO 8601 format. The generated time identification code is associated with the corresponding RFID tag to form time identification code-tag relationship data.

[0069] Step S25: Use the time identification code to perform tag engineering on the RFID tag to generate a time RFID tag.

[0070] In the embodiments of the present invention, an RFID tag with a time identification code is prepared, and the time identification code is written into the storage area of the RFID tag using an RFID tag programming device or RFID programming software. This can be completed by physically contacting or wirelessly communicating the programming device or software with the RFID tag, ensuring stable and reliable communication between the programming device or software and the RFID tag. This can be achieved by selecting and configuring an appropriate distance, communication protocol, and eliminating interference sources, and performing verification and testing of the tag engineering. Use an RFID reader / writer device or RFID reader / writer software to read the programmed time RFID tag and verify whether the time identification code therein is correctly written and can be correctly read, and perform batch programming and production of the tag engineering according to the requirements of the tag engineering. This involves automated programming devices and optimization of the process flow.

[0071] Preferably, step S24 includes the following steps:

[0072] Step S241: Differentially analyze the time-tag relationship data to obtain the time-tag relationship time pattern;

[0073] Step S242: Based on the time-tag relationship time pattern, perform phase difference coding and mapping on the RFID tag to generate time coding mapping relationship data;

[0074] Step S243: Screen the embedding positions of the RFID tag according to the time coding mapping relationship data to obtain embeddable position data;

[0075] Step S244: Construct an identification code for the time coding mapping relationship data according to the embeddable position data to generate a time identification code.

[0076] The advantages of the present invention are as follows: By performing differential analysis on the time-tag relationship data, the time patterns between time and tags can be revealed. This helps to understand the usage and change trends of tags in different time periods, providing a basis for subsequent authentication and analysis. Based on the time patterns of the time-tag relationship, phase difference coding mapping is performed on the RFID tags. This coding method can utilize time differences to distinguish the usage of different tags, improving the discrimination and recognition accuracy between tags. According to the time coding mapping relationship data, the embedding position is screened to determine the embeddable position data. This helps to determine the position for embedding the time code in the RFID tag, ensuring the accuracy and reliability of the embedding process. According to the embeddable position data, an identification code is constructed for the time coding mapping relationship data to generate a time identification code. Such a time identification code can be used in the authentication and verification processes to ensure the authenticity and legality of the RFID tag. It improves the recognition accuracy of the RFID tag, ensures the reliability of the embedding process, and provides time-related information for the authentication and verification of the tag, enhancing the security and credibility of the RFID system.

[0077] In the embodiments of the present invention, time and tag information are extracted from time-tag relationship data, a differential operation is performed on the time series, and the difference between adjacent time points is calculated. For example, the difference in time intervals or the difference in the number of tag uses can be calculated. Based on the differential result, pattern recognition and analysis are performed. Statistical methods, machine learning algorithms, or time series analysis techniques can be used to extract the time patterns of the time-tag relationship. For example, clustering algorithms can be used to divide similar time-tag relationships into the same category, and time-tag relationship time patterns are generated according to the analysis results. These can be a set of patterns describing the relationship between time and tags, such as high-frequency use, periodic changes, or trend changes. The time-tag relationship time patterns are converted into phase difference coding rules. For example, different phase difference values can be defined to represent different time patterns. For each RFID tag, mapping is performed according to the time-tag relationship data and the phase difference coding rules. The phase difference value corresponding to the time pattern is encoded into a specific area in the RFID tag, and the encoding method and storage location are determined. Binary coding, decimal coding, or other coding methods can be used to represent the phase difference value, and the encoding result is written into the storage area of the RFID tag, and the accuracy and readability of the encoding are verified. An RFID reader / writer device or software is used to read the encoded RFID tag, and it is verified whether the decoded phase difference value matches the original time pattern. For each RFID tag, the corresponding encoding information is extracted from the time encoding mapping relationship data, the encoding information is analyzed, and eligible embeddable positions are selected according to the preset embedding position screening conditions. For example, appropriate positions can be selected according to the number of encoding digits and the storage area capacity, and the storage method of the embedding position is determined. According to the storage structure of the RFID tag, the time encoding data is written into the corresponding embedding position, and the accuracy and readability of the embedding position are verified. An RFID reader / writer device or software is used to read the embedded tag, and it is verified whether the time encoding data in the embedding position is correctly written. According to the embeddable position data, the storage position of the time encoding data in the RFID tag is determined, and the corresponding encoding information is extracted. According to the preset identification code construction rules, the extracted encoding information is converted into a time identification code. For example, specific encoding algorithms or mapping functions can be used to convert the encoding information into an identification code, and the generated time identification code is written into the corresponding position of the RFID tag to ensure the correspondence between the identification code and the time encoding data, and the correctness and readability of the time identification code are verified. An RFID reader / writer device or software is used to read the identification code, and it is verified whether the decoded result matches the original time encoding data.

[0078] Preferably, step S3 includes the following steps:

[0079] Step S31: Perform dynamic mapping of the identity of the RFID tag to obtain a dynamic key for the tag identity;

[0080] Step S32: Perform identity transcoding on the label identity dynamic key to generate a main label dynamic identification code;

[0081] Step S33: Evenly cut the main label dynamic identification code to generate a segmented main label dynamic identification code;

[0082] Step S34: Randomly allocate and store the segmented main label dynamic identification code according to the positioning RFID tag and the time RFID tag to obtain a stored RFID positioning tag and a stored RFID timing tag;

[0083] Step S35: Assign a pre - set hierarchical mechanism to the stored RFID positioning tag and the stored RFID timing tag to obtain a pre - verified tag; assign a post - set hierarchical mechanism to the RFID tag to obtain a post - main tag.

[0084] The advantages of the present invention are as follows. By generating a dynamic key for the tag identity through dynamic mapping, the risk of the traditional static key being cracked or copied can be avoided, improving the security of the tag. The dynamic key can be used for tag identity authentication to ensure that only legitimate tags can communicate with the reader / writer device, effectively preventing unauthorized access to the system by tags. Through identity transcoding, the dynamic key for the tag identity is converted into a dynamic identification code for the main tag, making the tag identity information not easily stolen or tampered with, enhancing the concealment of the tag. The generated dynamic identification code for the main tag is unique, capable of uniquely identifying each RFID tag and being accurately recognized and parsed by the reader / writer device. By splitting the dynamic identification code for the main tag, the tag information is evenly divided and cut, making the tag information more dispersed during storage and transmission, improving the security and reliability of the information. By splitting the tag information, even if part of the information is stolen or tampered with, the complete dynamic identification code for the tag cannot be restored, effectively reducing the risk of information leakage. The split dynamic identification code for the main tag is randomly allocated and stored in the positioning RFID tag and the time RFID tag, increasing the storage security of the tag information, preventing the information from being illegally obtained or tampered with. The positioning RFID tag for storage and the timing RFID tag for storage store partial information of the split dynamic identification code for the main tag, which can be used to conveniently read and identify the identity and status information of the tag. Through the assignment of the front and rear levels, hierarchical management and permission control can be carried out on the positioning RFID tag for storage, the timing RFID tag for storage, and the rear main tag according to the preset tag level mechanism. This can ensure that different tags have different permissions and functions, restricting their operating ranges in the system, improving the security and management flexibility of the system. The front verification tag and the rear main tag obtain corresponding permissions and identity identifications through level assignment, enabling the reader / writer device to perform verification and identification based on these tags, ensuring that only tags with corresponding permissions can perform corresponding operations, improving the reliability and accuracy of the system. Through operations such as dynamic mapping, transcoding, cutting, storage, and level assignment, the security, concealment, uniqueness, and identifiability of the RFID tag are improved, the risk of information leakage is reduced, and the hierarchical management and permission control capabilities of the tag are enhanced. These advantages make the RFID authentication method more reliable, secure, and flexible.

[0085] As an example of the present invention, with reference to Figure 3 as shown, in this example, step S3 includes:

[0086] Step S31: Perform dynamic mapping on the RFID tag to obtain a dynamic key for the tag identity;

[0087] In the embodiments of the present invention, a cryptographically secure pseudo-random number generation algorithm is used to generate a random number as the input for identity dynamic mapping. An encryption algorithm or a hashing algorithm is employed to calculate the identity information of the RFID tag and the random number to generate a dynamic key for the tag identity. Common algorithms include AES (Advanced Encryption Standard) and HMAC (Hash-based Message Authentication Code). Ensure the security of the generated dynamic key for the tag identity during storage and transmission, including restrictions on key generation, storage, distribution, and update. Determine the format and content of the identity information included in the RFID tag, such as the unique identifier, manufacturer information, and product information. Ensure the communication security during the identity dynamic mapping process, including encrypted transmission, prevention of man-in-the-middle attacks, and authentication.

[0088] Step S32: Perform identification transcoding on the dynamic key for the tag identity to generate a primary dynamic identification code for the tag;

[0089] In the embodiments of the present invention, an appropriate algorithm is selected to perform transcoding on the dynamic key for the tag identity to generate a primary dynamic identification code for the tag. This involves character encoding, encryption algorithms, and hash function techniques. Common algorithms include Base64 encoding and MD5 hashing. Determine the format and content of the primary dynamic identification code for the tag. This includes the length of the identification code, the character set, and the handling of special characters. Ensure the integrity and accuracy of the primary dynamic identification code for the tag after transcoding the dynamic key for the tag identity during transmission and storage. A checksum or hash value mechanism can be used for data integrity verification to ensure that the reading and writing device can accurately parse and identify the primary dynamic identification code for the tag and obtain the relevant tag identity information.

[0090] Step S33: Evenly cut the primary dynamic identification code for the tag to generate a segmented primary dynamic identification code for the tag;

[0091] In the embodiments of the present invention, determine the parameters for cutting the primary dynamic identification code for the tag, including the number of cut blocks and the length of each block. This can be determined according to specific requirements and security requirements. Evenly cut the primary dynamic identification code for the tag according to the determined number of blocks. Ensure that the length of each cut block is consistent with the set length of each block. Number or identify each cut block so that these cut blocks can be correctly recombined in subsequent operations. The method for generating the segmented primary dynamic identification code for the tag can be designed according to specific requirements. For example, use numbers, letters, or special characters for identification. Securely store and manage the generated segmented primary dynamic identification code for the tag. This involves the selection of data storage media, access control, backup, and disaster recovery measures. Perform data integrity and verification on the segmented primary dynamic identification code for the tag to ensure the accuracy of each cut block during transmission and storage. A checksum or hash value mechanism can be used for data integrity verification.

[0092] Step S34: Randomly assign and store the segmented dynamic identification code of the main tag according to the positioning RFID tag and the time RFID tag to obtain a stored RFID positioning tag and a stored RFID timing tag;

[0093] In the embodiment of the present invention, a sufficient number of positioning RFID tags and time RFID tags are obtained to store the segments of the segmented dynamic identification code of the main tag. The dynamic identification code of the main tag is evenly cut to generate blocks of the segmented dynamic identification code of the main tag, and each block of the segmented dynamic identification code of the main tag is randomly assigned to the positioning RFID tag and the time RFID tag for storage. A random number generation algorithm or a random assignment algorithm can be used to implement the random assignment process. Ensure that the number of segmented blocks stored in each RFID tag is relatively balanced. The positioning RFID tag and the time RFID tag assigned with the blocks of the segmented dynamic identification code of the main tag are marked as the stored RFID positioning tag and the stored RFID timing tag. These tags will be used to store the segments of the segmented dynamic identification code of the main tag, and storage management and access control are performed on the stored RFID positioning tag and the stored RFID timing tag to ensure the security and reliability of the data. This includes the selection of the storage medium, data backup, and permission control measures.

[0094] Step S35: Assign a pre-level to the stored RFID positioning tag and the stored RFID timing tag based on a preset tag hierarchy mechanism to obtain a pre-verification tag; assign a post-level to the RFID tag based on a preset tag hierarchy mechanism to obtain a post-main tag.

[0095] In the embodiment of the present invention, a preset tag hierarchy mechanism is defined, including the definition of the pre-level and the post-level. The pre-level is used for the stored RFID positioning tag and the stored RFID timing tag, and the post-level is used for the main tag. According to the preset tag hierarchy mechanism, a pre-level is assigned to the stored RFID positioning tag and the stored RFID timing tag. The pre-level can be identified by numbers, letters, or special characters to represent its position in the tag hierarchy. The stored RFID positioning tag and the stored RFID timing tag assigned with the pre-level are combined together to form a pre-verification tag. The pre-verification tag will be used to verify and identify the validity of the tag. According to the preset tag hierarchy mechanism, a post-level is assigned to the RFID tag. The post-level can be identified by numbers, letters, or special characters to represent its position in the tag hierarchy. The RFID tag assigned with the post-level is used as the post-main tag. The post-main tag will be used to uniquely identify and track items or entities.

[0096] Preferably, step S4 includes the following steps:

[0097] Step S41: Design an authentication mechanism for the pre-verification tag and the post-main tag to obtain a tag authentication process;

[0098] Step S42: Perform tag authentication on the pre-verification tag according to the tag authentication process to obtain a pre-authentication result;

[0099] Step S43: When the pre-authentication result is a non-pass result, perform data parsing on the non-pass result to obtain a failure information text, thus completing the return of the failure information text;

[0100] Step S44: When the pre-authentication result is a pass result, extract the main tag identification code from the pre-verification tag based on the pass result to obtain an extracted identification code; use the extracted identification code to decode the RFID tag, thereby passing the RFID authentication.

[0101] The beneficial effect of the present invention is that by designing an authentication mechanism, the legality and integrity of the pre-verification tag and the post-main tag can be ensured. The authentication process may include encryption algorithms, digital signatures, and data integrity checks to provide a high level of security and anti-tampering capabilities. By performing the tag authentication process, a pre-authentication result can be obtained. This result can indicate the authentication status of the pre-verification tag, such as pass or non-pass. This helps to determine the validity and authenticity of the tag. If the pre-authentication result is non-pass, data parsing can be performed to obtain the failure information text. This text can provide detailed information about the authentication failure, helping to further analyze and solve the problem. In the case where the pre-authentication result is pass, by extracting the main tag identification code and performing RFID decoding, the authentication of the RFID tag can be achieved. This can ensure the authenticity and integrity of the tag and verify its association with the pre-verification tag. It can ensure the legality, integrity, and authenticity of the tag, provide a reliable authentication mechanism and information parsing ability, thereby enhancing the security and credibility of the RFID system.

[0102] As an example of the present invention, refer to Figure 4 As shown, in this example, step S4 includes:

[0103] Step S41: Design an authentication mechanism for the pre-verification tag and the post-main tag to obtain a tag authentication process;

[0104] In the embodiments of the present invention, a pre-verification tag set and a post-main tag set are obtained, each containing information of multiple tags. The pre-verification tag set and the post-main tag set are merged to form an RFID tag set. Ensure the uniqueness of each tag in the RFID tag set. For each pre-verification tag, a restricted time window is set, which defines when the pre-verification can be performed. For each tag in the RFID tag set, determine whether the pre-verification can be performed according to the time window setting of its pre-verification tag. The tags that meet the time window conditions are used as the tags in the pre-verification process to form a pre-verification process tag set. According to the system requirements and security requirements, determine the process access control rules for the pre-verification tags, design and implement a process access control mechanism to ensure that only the pre-verification tags that meet the process access control rules can enter the authentication process. According to the process access control rules, screen and filter the pre-verification process tag set to form an authentication process access control tag set. According to the authentication process access control tag set, obtain the corresponding post-main tags. For each post-main tag, perform a post-decoding operation to extract the data in the tag. According to the decoded data, generate the information required for the post-verification process, such as the authentication result and the authentication time. Integrate the pre-verification process tag set and the authentication process access control tag set to form an overall tag authentication process tag set. According to the tag authentication process tag set, define a complete tag authentication process, including pre-verification, authentication access control, and post-verification links, design and implement corresponding authentication algorithms, verification rules, and data interaction processes to ensure the security and reliability of the tag authentication process.

[0105] Step S42: Perform tag authentication on the pre-verification tags according to the tag authentication process to obtain a pre-authentication result;

[0106] In the embodiments of the present invention, the positioning information of the pre-verification tags is obtained, including GPS coordinates and area codes. According to the positioning tag verification rules set by the system, the positioning information of the pre-verification tags is verified. According to the verification rules, determine whether the positioning of the pre-verification tags is within the permitted range, and generate a positioning tag verification result, such as "passed" or "not passed". Obtain the time information of the pre-verification tags, such as timestamps or time periods. According to the time tag verification rules set by the system, the time information of the pre-verification tags is verified. According to the verification rules, determine whether the time of the pre-verification tags is within the permitted range, and generate a time tag verification result, such as "passed" or "not passed". Considering the positioning tag verification result and the time tag verification result comprehensively, make a judgment according to the result determination rules set by the system. According to the determination rules, determine the final authentication result of the pre-verification tags, such as "authentication passed" or "authentication failed", and generate a pre-authentication result, and associate the result with the pre-verification tags for subsequent use or transmission.

[0107] Step S43: When the pre - authentication result is a failed authentication result, perform data parsing on the failed authentication result to obtain a failure information text, thereby completing the return of the failure information text.

[0108] In an embodiment of the present invention, obtain the pre - authentication result, check whether the result is a failed authentication. If the authentication result is failed, obtain the relevant failure information data, parse and extract the failure information data according to the system - defined data parsing rules, and generate a failure information text based on the parsed data, such as an error code and an error description. Return the generated failure information text as a result to notify the requestor.

[0109] Step S44: When the pre - authentication result is a passed authentication result, extract the main tag identification code of the pre - verification tag based on the passed authentication result to obtain an extracted identification code; use the extracted identification code to decode the RFID tag, thereby passing the RFID authentication.

[0110] In an embodiment of the present invention, obtain the pre - authentication result, check whether the result is a passed authentication. If the authentication result is passed, extract the main tag identification code in the pre - verification tag according to the passed authentication result, use the extracted identification code as input to perform a decoding operation on the RFID tag to obtain relevant data in the RFID tag, and perform relevant operations for RFID authentication based on the decoded data, such as comparing with preset data in the system and verifying the integrity of the data. Generate a corresponding authentication result according to the result of the RFID authentication, such as "RFID authentication passed" or "RFID authentication failed".

[0111] Preferably, step S41 includes the following steps:

[0112] Step S411: Combine the pre - verification tag and the post - main tag to obtain an RFID tag set.

[0113] Step S412: Based on the pre - verification tag, perform restricted time window control on the RFID tag set to obtain a pre - verification process.

[0114] Step S413: Set a process access control for the pre - verification tag to obtain an authentication process access control.

[0115] Step S414: Based on the authentication process access control, perform post - decoding on the post - main tag to generate a post - verification process.

[0116] Step S415: Integrate the pre - verification process, the authentication process access control, and the post - verification process to generate a tag authentication process.

[0117] The advantages of the present invention are that by aggregating the pre-verification tags and the post-main tags, the relevant tags can be uniformly managed and processed. The formation of the RFID tag set can provide a unified input data source for the subsequent authentication process. Through the control of the time window, time constraints can be imposed on the tags in the RFID tag set to ensure that only the tags within a specific time range can participate in the authentication process. The formation of the pre-verification process can narrow down the scope of the authentication process, improving the authentication efficiency and security. Through the setting of the process access control, further verification and screening can be carried out on the pre-verification tags to ensure that only the tags meeting specific conditions can enter the authentication process. The setting of the authentication process access control can increase the controllability and security of the authentication process. Through the post-decoding, the data in the post-main tags can be extracted for subsequent verification and authentication processes. The generation of the post-verification process can provide the necessary data and information for the subsequent authentication process. Through the process integration, the pre-verification process, the authentication process access control, and the post-verification process are organically combined to form a complete tag authentication process. The integration of the tag authentication process can ensure the coherence and integrity of the authentication, improving the reliability and efficiency of the entire authentication system. Through the measures of tag aggregation, time window control, process access control, and process integration, the controllability, security, and efficiency of the RFID authentication method are improved, thus better meeting the requirements of the authentication system.

[0118] In an embodiment of the present invention, a pre-verification tag set and a post-main tag set are obtained, each containing information of multiple tags. The pre-verification tag set and the post-main tag set are merged to form an RFID tag set. Ensure the uniqueness of each tag in the RFID tag set. For each pre-verification tag, a restricted time window is set, which defines when the pre-verification can be performed. For each tag in the RFID tag set, determine whether the pre-verification can be performed according to the time window setting of its pre-verification tag. The tags that meet the time window conditions are used as the tags in the pre-verification process to form a pre-verification process tag set. According to system requirements and security requirements, determine the process access control rules for the pre-verification tags, design and implement a process access control mechanism to ensure that only the pre-verification tags that meet the process access control rules can enter the authentication process. According to the process access control rules, screen and filter the pre-verification process tag set to form an authentication process access control tag set. According to the authentication process access control tag set, obtain the corresponding post-main tags. For each post-main tag, perform a post-decoding operation to extract the data in the tag. According to the decoded data, generate the information required for the post-verification process, such as the authentication result and the authentication time. Integrate the pre-verification process tag set and the authentication process access control tag set to form an overall tag authentication process tag set. According to the tag authentication process tag set, define a complete tag authentication process, including pre-verification, authentication access control, and post-verification links, and design and implement corresponding authentication algorithms, verification rules, and data interaction processes to ensure the security and reliability of the tag authentication process.

[0119] Preferably, step S42 includes the following steps:

[0120] Step S421: Perform positioning RFID tag verification on the pre-verification tag to obtain a positioning tag verification result;

[0121] Step S422: Perform time RFID tag verification on the pre-verification tag to obtain a time tag verification result;

[0122] Step S423: Based on the positioning tag verification result and the time tag verification result, perform result determination on the pre-verification tag to generate a pre-authentication result.

[0123] The advantages of the present invention are that the positioning tag verification can determine the position and position information of the pre-verification tag through RFID technology, and the positioning tag verification result can provide positioning information for the subsequent authentication process, enhancing the accuracy and reliability of the authentication. The time tag verification can obtain the timestamp or time-related information of the pre-verification tag through RFID technology, and the time tag verification result can be used to verify the validity period or time legality of the pre-verification tag, ensuring that the authentication is carried out within the correct time range. By combining the positioning tag verification result and the time tag verification result, a comprehensive determination of the pre-verification tag can be made. The generation of the pre-authentication result can determine the validity and legality of the pre-verification tag according to the verification result, providing an accurate authentication status for the subsequent authentication process. Through the positioning tag verification, time tag verification and result determination steps, a comprehensive verification and determination of the pre-verification tag are carried out to ensure that the authentication process is carried out within the correct position and time range, and the corresponding pre-authentication result is generated. These steps help to improve the accuracy, reliability and security of the RFID authentication method, thereby enhancing the performance and effect of the entire authentication system.

[0124] In an embodiment of the present invention, to obtain the positioning information of the pre-verification tag, including GPS coordinates and area codes, the positioning information of the pre-verification tag is verified according to the positioning tag verification rules set by the system. According to the verification rules, it is judged whether the positioning of the pre-verification tag is within the permitted range, and a positioning tag verification result such as "passed" or "not passed" is generated. To obtain the time information of the pre-verification tag, such as a timestamp or a time period, the time information of the pre-verification tag is verified according to the time tag verification rules set by the system. According to the verification rules, it is judged whether the time of the pre-verification tag is within the permitted range, and a time tag verification result such as "passed" or "not passed" is generated. Considering the positioning tag verification result and the time tag verification result comprehensively, a judgment is made according to the result determination rules set by the system. According to the determination rules, the final authentication result of the pre-verification tag is determined, such as "authentication passed" or "authentication failed", and a pre-authentication result is generated, associating the result with the pre-verification tag for subsequent use or transmission.

[0125] In this specification, an RFID authentication device is provided. The RFID authentication device has a built-in controller, and the controller is used to execute the RFID authentication method as described above. The controller includes:

[0126] A tag positioning module, which is used to obtain an RFID tag; perform tag positioning on the RFID tag to obtain tag positioning data; and perform a tag positioning process on the RFID tag based on the tag positioning data to generate a positioned RFID tag;

[0127] A label timing module, which is used to obtain instant fine time units; perform timing fusion analysis on the instant fine time units and RFID labels to generate time-label relationship data; and perform label time engineering on the RFID labels based on the time-label relationship data to generate time RFID labels.

[0128] A label layering module, which is used to perform label identity mapping on RFID labels to generate main label dynamic identification codes; evenly and randomly allocate the sliced main label dynamic identification codes according to the positioned RFID labels and time RFID labels to obtain stored RFID positioning labels and stored RFID timing labels; and distinguish and hierarchically assign the stored RFID positioning labels and stored RFID timing labels based on a preset label hierarchy mechanism to obtain front and back layered labels, where the front and back layered labels include pre-verification labels and post-main labels.

[0129] An authentication process module, which is used to perform pre-verification on the front and back layered labels to obtain a pre-verification result; when the pre-verification result is a non-passing authentication result, return the non-passing authentication result to obtain a failure information text; and when the pre-verification result is a passing authentication result, decode the identification code of the RFID label based on the passing authentication result to pass the RFID authentication.

[0130] The advantages of the present invention are that by extracting the tag spatial features and positioning the RFID tag, accurate tag positioning data and positioning coding data can be obtained. This helps to improve the positioning accuracy of the tag and ensure the accuracy of the tag position during the authentication process. The tag engineering process performs data deconstruction, identifier directional injection, and tag integration operations on the positioning coding data to generate a positioning RFID tag. These operations enhance the security of the tag, making it more difficult to forge or tamper with, and improving the anti-counterfeiting ability of the system. The time series fusion and time series logic analysis can generate time-tag relationship data. This enables the system to establish the association between time and the tag, thereby realizing the verification and control in the time dimension. The generation of the time identification code further strengthens the relationship between time and the tag. The dynamic mapping of the tag identity and the identity transcoding operation, as well as the generation of the dynamic identification code of the main tag in step S32, make the tag dynamic and unique. This enhances the security and anti-counterfeiting ability of the tag and can be used for subsequent authentication processes. The tag hierarchy mechanism and the hierarchical tag design, as well as the pre-level assignment operation, enable different levels of authentication and access control for the stored RFID positioning tag and the stored RFID timing tag. This increases the flexibility and security of the system and allows for fine-grained management and control of the tag as needed. The design of the tag authentication process can design the authentication mechanism for the pre-verification tag and the post-main tag and generate a complete tag authentication process. This helps to ensure the accuracy and security of the authentication process and provides clear authentication results. It plays an important role in the RFID authentication method, including improving the tag positioning accuracy, enhancing the tag security, establishing the time-tag relationship, generating the dynamic identification code, realizing the tag hierarchy management, and designing the authentication process. These advantages help to improve the efficiency and security of the RFID authentication system. Therefore, the present invention improves the security and efficiency of the authentication system by improving the tag positioning and time accuracy, flexible tag hierarchy management, and designing the authentication process.

[0131] Therefore, in any aspect, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the appended claims rather than the above description. Therefore, it is intended to cover all changes falling within the meaning and scope of the same elements of the application document within the present invention.

[0132] The above are only specific embodiments of the present invention, enabling those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be obvious to those skilled in the art. The general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to these embodiments shown herein, but rather will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An RFID authentication method, characterized in that, It includes the following steps: Step S1: Obtain an RFID tag; perform tag positioning on the RFID tag to obtain tag positioning data; perform a tag positioning project on the RFID tag based on the tag positioning data to generate a positioned RFID tag; Step S2: Obtain an instant fine time unit; Perform a timing fusion analysis on the instant fine time unit and the RFID tag to generate time-tag relationship data; Perform a tag time project on the RFID tag based on the time-tag relationship data to generate a time RFID tag; Step S3: Perform a tag identity mapping on the RFID tag to generate a dynamic main tag identification code; Evenly and randomly allocate the sliced dynamic main tag identification code according to the positioned RFID tag and the time RFID tag to obtain a stored RFID positioned tag and a stored RFID timed tag; Assign different levels to the stored RFID positioned tag and the stored RFID timed tag based on a preset tag level mechanism to obtain a front-back layered tag, where the front-back layered tag includes a pre-verification tag and a post-main tag; Step S4: Perform a pre-verification on the front-back layered tag to obtain a pre-verification result; When the pre-verification result is a non-pass result, return the non-pass result to obtain a failure information text; When the pre-verification result is a pass result, perform an identification code decoding on the RFID tag based on the pass result to pass the RFID authentication.

2. The RFID authentication method according to claim 1, wherein Step S1 includes the following steps: Step S11: Design an RFID tag according to the sample; Step S12: Extract the tag space features of the RFID tag to obtain tag space feature data; perform tag positioning on the tag space feature data to obtain tag positioning data; Step S13: Perform bit-level encoding on the tag positioning data to obtain tag positioning encoded data; Step S14: Perform a tag project on the RFID tag based on the tag positioning encoded data to generate a positioned RFID tag.

3. The RFID authentication method according to claim 2, characterized in that, Step S14 includes the following steps: Step S141: Deconstruct the tag positioning encoded data to obtain positioning feature units; Step S142: Perform identifier directional injection on the positioning feature units based on the RFID tag to generate a positioning identification code; Step S143: Organically integrate the positioning identification code and the RFID tag to obtain an initial positioned RFID tag; Step S144: Strengthen the identifier of the initial positioned RFID tag to generate a positioned RFID tag.

4. The RFID authentication method according to claim 1, wherein, Step S2 includes the following steps: Step S21: Obtain the tag timestamp; Step S22: Perform refined time synchronization on the tag timestamp to obtain an instant fine time unit; Step S23: Perform timing fusion on the instant fine time unit and the RFID tag to obtain fusion timing data; perform timing logic analysis on the fusion timing data to generate time-tag relationship data; Step S24: Perform a time coding mapping on the RFID tag based on the time-tag relationship data to obtain a time identification code; Step S25: Perform a tag project on the RFID tag using the time identification code to generate a time RFID tag.

5. The RFID authentication method according to claim 4, wherein Step S24 includes the following steps: Step S241: Differentially analyze the time-tag relationship data to obtain the time-tag relationship time pattern; Step S242: Based on the time-tag relationship time pattern, perform phase difference coding mapping on the RFID tags to generate time coding mapping relationship data; Step S243: According to the time coding mapping relationship data, screen the embedding positions of the RFID tags to obtain embeddable position data; Step S244: According to the embeddable position data, construct identification codes for the time coding mapping relationship data to generate time identification codes.

6. The RFID authentication method according to claim 1, characterized in that Step S3 includes the following steps: Step S31: Perform identity dynamic mapping on the RFID tags to obtain the tag identity dynamic key; Step S32: Perform identity transcoding on the tag identity dynamic key to generate the main tag dynamic identification code; Step S33: Evenly cut the main tag dynamic identification code to generate the sliced main tag dynamic identification code; Step S34: Randomly distribute and store the sliced main tag dynamic identification code according to the positioning RFID tag and the time RFID tag to obtain the stored RFID positioning tag and the stored RFID timing tag; Step S35: Based on the preset tag hierarchy mechanism, assign pre-levels to the stored RFID positioning tag and the stored RFID timing tag to obtain pre-verification tags; based on the preset tag hierarchy mechanism, assign post-levels to the RFID tags to obtain post-main tags.

7. The RFID authentication method according to claim 1, wherein Step S4 includes the following steps: Step S41: Design an authentication mechanism for the pre-verification tag and the post-main tag to obtain the tag authentication process; Step S42: According to the tag authentication process, authenticate the pre-verification tag to obtain the pre-authentication result; Step S43: When the pre-authentication result is a non-pass result, parse the non-pass result to obtain the failure information text, thereby completing the return of the failure information text; Step S44: When the pre-authentication result is a pass result, extract the main tag identification code from the pre-verification tag based on the pass result to obtain the extracted identification code; use the extracted identification code to decode the RFID tag, thereby passing the RFID authentication.

8. The RFID authentication method according to claim 7, wherein Step S41 includes the following steps: Step S411: Aggregate the pre-verification tag and the post-main tag to obtain the RFID tag set; Step S412: Based on the pre-verification tag, control the restricted time window of the RFID tag set to obtain the pre-verification process; Step S413: Set the process access control for the pre-verification tag to obtain the authentication process access control; Step S414: Based on the authentication process access control, perform post-decoding on the post-main tag to generate the post-verification process; Step S415: Integrate the pre-verification process, the authentication process access control, and the post-verification process to generate a label authentication process. Specifically, integrate the pre-verification process label set and the authentication process access control label set to form an overall label authentication process label set. Define a complete label authentication process based on the label authentication process label set, including pre-verification, authentication access control, and post-verification links, and design and implement an authentication algorithm, verification rules, and data interaction process.

9. The RFID authentication method according to claim 7, wherein Step S42 includes the following steps: Step S421: Perform RFID label verification on the pre-verification label to obtain a positioning label verification result; Step S422: Perform RFID label verification on the pre-verification label for time to obtain a time label verification result; Step S423: Determine the result of the pre-verification label based on the positioning label verification result and the time label verification result to generate a pre-authentication result.

10. An RFID authentication device, characterized in that, The RFID authentication device has a built-in controller, and the controller is used to execute the RFID authentication method as described in claim 1. The controller includes: A label positioning module, which is used to obtain an RFID label; perform label positioning on the RFID label to obtain label positioning data; perform a label positioning project on the RFID label based on the label positioning data to generate a positioned RFID label; A label timing module, which is used to obtain an instant fine time unit; perform time-series fusion analysis on the instant fine time unit and the RFID label to generate time-label relationship data; perform a label time project on the RFID label based on the time-label relationship data to generate a time RFID label; A label layering module, which is used to perform label identity mapping on the RFID label to generate a main label dynamic identification code; evenly and randomly allocate the sliced main label dynamic identification code according to the positioned RFID label and the time RFID label to obtain a stored RFID positioning label and a stored RFID timing label; distinguish and assign levels to the stored RFID positioning label and the stored RFID timing label based on a preset label hierarchy mechanism to obtain front and back layered labels, where the front and back layered labels include pre-verification labels and post-main labels; An authentication process module, which is used to perform pre-verification on the front and back layered labels to obtain a pre-authentication result; when the pre-authentication result is a non-passed authentication result, return the non-passed authentication result to obtain a failure information text; when the pre-authentication result is a passed authentication result, decode the identification code of the RFID label based on the passed authentication result, thereby passing the RFID authentication.

Citation Information

Patent Citations

  • Radio frequency identification bidirectional authentication method based on hash function

    CN103020671A

  • Lightweight RFID mutual authentication method based on time factor against desynchronization

    CN106603539A