Data processing fault-tolerant method, device, equipment and medium based on RFID tags

Through a multi-level fault-tolerant mechanism, real-time monitoring of the RFID tag data transmission environment and signal strength, combined with statistics and cyclic redundancy check algorithms, the versatility and reliability issues of RFID tag data processing technology in complex environments are solved, and high-precision and highly adaptable data processing is achieved.

CN119697283BActive Publication Date: 2025-09-26NANJING CHUCAI IOT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411900559.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-09-26
Estimated Expiration
2044-12-23

AI Technical Summary

Technical Problem

Existing RFID tag-based data processing technology lacks versatility and reliability in terms of fault tolerance, especially in complex transmission environments and when multiple same-frequency RFID tag readers fail to effectively warn and assess the impact of transmitted data. This can result in incorrect RFID tag numbers and data being stored and used, leading to systemic errors.

Method used

By introducing a multi-level fault-tolerant mechanism, including environmental monitoring, data integrity verification and legitimacy verification, multiple environmental monitoring devices and RFID tag readers are used to monitor the transmission environment status and signal strength in real time. The data transmission interference coefficient is constructed by combining the statistical averaging algorithm. The cyclic redundancy check algorithm and the fixed-length segmentation algorithm are combined to perform multi-stage verification to ensure the integrity and legitimacy of the data.

Benefits of technology

It achieves high-reliability and high-precision data processing in complex environments, can accurately identify the risk of transmission errors, reduce the storage and use of erroneous data, and improve the adaptability and security of data processing. It is suitable for logistics, retail and medical industries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697283B_ABST
    Figure CN119697283B_ABST
Patent Text Reader

Abstract

The present invention discloses a data processing fault-tolerant method, device, equipment and medium based on RFID tags, which relates to the field of data processing technology. By real-time monitoring of the transmission environment and signal strength status of RFID tag data during transmission to an application software system, a statistical averaging algorithm is combined to construct a data transmission interference coefficient Xcs, which is compared and analyzed with a preset interference threshold G to determine whether there is a risk of transmission error in the current RFID tag data. By combining a cyclic redundancy check algorithm, the integrity of the transmitted RFID tag data is analyzed; based on the integrity of the RFID tag data, a legality fault-tolerant check analysis is performed on the data to obtain a legality coefficient Xhf, and whether it is in a legal state is determined according to the value of the legality coefficient Xhf, so as to generate and execute corresponding data processing fault-tolerant instructions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a data processing fault-tolerant method, device, equipment and medium based on RFID tags. Background Art

[0002] Data processing, at the core of modern information technology, encompasses the entire lifecycle of data, from collection and transmission to analysis and storage. However, with the rapid development of the Internet of Things and intelligent systems, especially with the widespread application of RFID technology, data processing faces increasing complexity and challenges. RFID technology, due to its contactless reading, high efficiency, and uniqueness, is widely used in the logistics, retail, and medical industries.

[0003] Although the existing RFID tag-based data processing technology still has deficiencies in versatility and reliability in fault tolerance, first of all, there is a lack of early warning and assessment of the impact of complex transmission environments and multiple same-frequency RFID tag readers on transmitted data. In addition, the existing RFID tag-based data processing fault-tolerant technology usually only processes at the read and write level, and fails to perform in-depth fault-tolerant analysis on the data after transmission to the application software system. As a result, even if the communication protocol verification passes, the wrong RFID tag number and corresponding RFID tag data may still be stored and used, thereby causing systemic errors. Therefore, there is an urgent need for a data processing fault-tolerant method based on RFID tags that provides higher reliability and accuracy for the data processing field by introducing a multi-level fault-tolerant mechanism of transmission environment status monitoring, data integrity verification, and legitimacy verification. Summary of the Invention

[0004] In view of the deficiencies in the prior art, the present invention provides a data processing fault-tolerant method, apparatus, device and medium based on RFID tags, which solve the problems in the above-mentioned background technology.

[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: a data processing fault-tolerant method based on RFID tags, comprising the following steps:

[0006] S1. Using multiple environmental monitoring devices and RFID tag readers, monitor the transmission environment status of RFID tag data during transmission to the application software system in real time, obtain transmission environment status data, and monitor the signal strength of the transmitted RFID tag data in real time to obtain transmission signal strength data;

[0007] S2. Based on the pre-processed transmission environment status data and transmission signal strength data, and in combination with a statistical averaging algorithm, a data transmission interference coefficient Xcs is constructed. This coefficient is compared and analyzed with a preset interference threshold G to determine whether there is a risk of transmission error in the current RFID tag data, and a data integrity check instruction is issued accordingly;

[0008] S3. After receiving the data integrity check instruction, the cyclic redundancy check algorithm is used to analyze the integrity of the transmitted RFID tag data. If the data is complete, a data legitimacy fault-tolerant check instruction is issued;

[0009] S4. Based on the integrity of the RFID tag data, perform a legality fault-tolerant check analysis on it to obtain a legality coefficient Xhf. According to the value of the legality coefficient Xhf, determine whether it is in a legal state, so as to generate and execute corresponding data processing fault-tolerant instructions.

[0010] Preferably, the specific steps of S1 include:

[0011] S11. Utilize multiple environmental monitoring devices and RFID tag readers to monitor in real time the state of the transmission environment during the transmission of RFID tag data to the application software system, and obtain transmission environment state data, wherein the transmission environment state data includes a temperature value Thj and a humidity value Shj at each monitoring time point within a monitoring period. Furthermore, based on a transmission signal monitoring function of the RFID tag reader, monitor the signal strength of the transmitted RFID tag data in real time to obtain transmission signal strength data, wherein the transmission signal strength data includes a radio frequency strength value Xqd at each monitoring time point within the monitoring period. The environmental monitoring devices include a temperature sensor and a humidity sensor.

[0012] S12. Preprocess the relevant data information in the transmission environment status data and the transmission signal strength data. The preprocessing includes removing noise, filling missing values, and data smoothing operations.

[0013] Preferably, the specific steps of S2 include:

[0014] S21. Based on the pre-processed transmission environment status data and transmission signal strength data, and combined with the statistical averaging algorithm, obtain the temperature average within the monitoring period. , average humidity and mean RF intensity , and according to the usage of RFID tag readers in the same frequency band, obtain the number of readers with the same frequency Ddk;

[0015] S22. Construct a data transmission interference coefficient Xcs based on the relevant data obtained in S21. The data transmission interference coefficient Xcs is obtained by the following formula:

[0016] ;

[0017] Where, Expressed as the mean temperature, It is expressed as the average humidity value, Ddk is expressed as the number of card readers with the same frequency, Expressed as the mean RF intensity, 、 、 and Represented as the mean temperature , average humidity , the number of same-frequency card readers Ddk and the average radio frequency strength The weight value of , A is expressed as the correction constant;

[0018] S23. Compare and analyze the data transmission interference coefficient Xcs with a preset interference threshold G to determine whether there is a risk of transmission error during the current RFID tag data transmission to the application software system. The specific comparison content is as follows:

[0019] If the data transmission interference coefficient Xcs exceeds the interference threshold G, it is determined that there is a risk of transmission error during the transmission of the current RFID tag data to the application software system. At this time, a data integrity check instruction will be issued to further analyze the integrity of the transmitted RFID tag data;

[0020] If the data transmission interference coefficient Xcs does not exceed the interference threshold G, it is determined that there is no risk of transmission error during the transmission of the current RFID tag data to the application software system, and no additional data integrity check instruction is issued.

[0021] Preferably, the specific steps of S3 include:

[0022] S31. After receiving the data integrity check instruction, connect the RFID tag reader to the target device of the application software system through the RJ45 Ethernet interface, and combine the radio frequency identification technology and serial communication protocol to transmit the RFID tag original data packet Yc to the application software system, and obtain the RFID tag transmission data sequence packet Dc in the form of According to the predefined frame structure, a plurality of character strings dc are obtained by demodulating and processing the signal of the data sequence packet Dc transmitted by the RFID tag; wherein each character string is composed of binary data of a fixed byte length;

[0023] S32, by respectively comparing several segments of string dc with the preset polynomial Perform XOR operation on the binary form to obtain the intermediate check value zc corresponding to each string segment, which is obtained by the following formula:

[0024] ;

[0025] Where, Represented as the i-th string, It represents the intermediate checksum corresponding to the i-th segment of the string. Represented as a bitwise XOR operator, used to check the binary difference of data segments. It is expressed as a generating polynomial and used to define the verification rules;

[0026] S33. Based on the intermediate check values ​​zc corresponding to each segment of the string, and in combination with a cyclic redundancy check algorithm, an RFID tag check data sequence package Gc is constructed. The RFID tag check data sequence package Gc is obtained by the following formula:

[0027] ;

[0028] Where, It is expressed as the intermediate check value corresponding to the i-th string character, i=1, 2, 3, ..., n, n represents the number of string characters, It represents a modulo operation on a numerical value, which is used to limit the bit width of the checksum to k bits, where k is a constant.

[0029] Preferably, the specific step S3 further includes:

[0030] S34. Compare the obtained RFID tag verification data sequence package Gc with the RFID tag original data package Yc to determine whether the data of the RFID tag original data package Yc is complete after transmission. If the RFID tag verification data sequence package Gc is the same as the RFID tag original data package Yc, it means that the data of the RFID tag original data package Yc is complete after transmission. At this time, a data validity fault-tolerant verification instruction will be issued to further analyze the validity of the transmitted RFID tag data; if the RFID tag verification data sequence package Gc is different from the RFID tag original data package Yc, it means that the data of the RFID tag original data package Yc is incomplete after transmission, and a re-reading operation will be performed. At this time, no additional data validity fault-tolerant verification instruction will be issued.

[0031] Preferably, the specific steps of S4 include:

[0032] S41. After receiving the data legitimacy fault-tolerant verification instruction, extract the RFID tag information of the RFID tag transmission data sequence package Dc according to the communication protocol and data frame structure analysis to obtain the RFID tag number information data;

[0033] S42. According to the fixed-length segmentation algorithm, a bit mask is used to extract a specific bit segment of the RFID tag number information data, and then the bit sequence is adjusted by shifting to generate the RFID tag number character sequence Zd in the form of , each tag number character is composed of a fixed length of binary data; and the defined RFID tag encoding rule sequence Rd is set to the application software system and the RFID tag reader, wherein the RFID tag encoding rule sequence Rd is in the form of .

[0034] Preferably, the specific step S4 further includes:

[0035] S43. Based on the RFID tag number character sequence Zd generated in S42 and in combination with the set RFID tag encoding rule sequence Rd, the legitimacy of the RFID tag number character sequence Zd is verified to construct a legitimacy coefficient Xhf, which is specifically obtained in the following manner:

[0036] ;

[0037] Where, It is represented by the jth tag number character in the RFID tag number character sequence Zd. It is represented as the jth tag number character in the RFID tag encoding rule sequence Rd, where j = 1, 2, 3, ..., m, and m represents the number of digits of the tag number character. Expressed as an indicator function;

[0038] S44: Based on the value of the validity coefficient Xhf obtained in S43, a validity fault-tolerant check of the RFID tag number is performed to determine whether the current RFID tag number is in a valid state. The specific contents are as follows:

[0039] If the validity coefficient Xhf is equal to 1, the current RFID tag number is determined to be in a valid state. At this time, a first data processing fault-tolerant instruction is issued and executed. The execution content is to store the current RFID tag number and the corresponding RFID tag data in the data storage module of the application software system.

[0040] If the legality coefficient Xhf is not equal to 1, it is determined that the current RFID tag number is not in a legal state. At this time, a second data processing fault-tolerant instruction will be issued and executed, and the execution content is to discard the current RFID tag number and the corresponding RFID tag data, and re-read them.

[0041] The data processing fault-tolerant device based on RFID tags includes:

[0042] The data acquisition module is used to transmit RFID tag data to the application software system through the serial communication protocol;

[0043] The data parsing module is used to parse and process the transmitted RFID tag data;

[0044] The data fault-tolerant module is used to perform integrity and legality fault-tolerant verification on RFID tag data, discard erroneous RFID tag data, and perform re-reading operations;

[0045] The data application module is used to collect verified RFID tag data from the application software system;

[0046] The data storage module is used to store complete and legal RFID tag data.

[0047] The data processing fault-tolerant device based on RFID tags includes a processor, a storage medium and a computer program. The computer program is stored in the storage medium and implements the data processing fault-tolerant method based on RFID tags when the computer program is executed by the processor.

[0048] The data processing fault-tolerant storage medium based on RFID tags stores a computer program thereon, comprising the following steps: the computer program stores computer instructions, and when the instructions are executed by a processor, the data processing fault-tolerant method based on RFID tags is implemented.

[0049] The present invention provides a data processing fault-tolerant method, device, equipment, and medium based on RFID tags, which have the following beneficial effects:

[0050] (1) By introducing a multi-level mechanism of environmental monitoring, statistical analysis, data integrity verification and legality fault-tolerant verification, the reliability and application accuracy of the data processing fault-tolerant method based on RFID tags in complex environments are improved; first, by real-time monitoring of the transmission environment and signal strength status during the transmission of RFID tag data to the application software system, combined with the statistical averaging algorithm, the data transmission interference coefficient Xcs is constructed, and it is compared and analyzed with the preset interference threshold G to determine whether the current RFID tag data has the risk of transmission error. It can accurately identify multiple RFID tag readers with the same frequency band and potential interference and transmission risks in complex environments, providing a preemptive error warning capability; second, by combining the cyclic redundancy check algorithm, the integrity of the data packet is comprehensively analyzed to ensure that only complete RFID tag data enters the legality verification stage, thereby greatly reducing storage and application errors caused by transmission errors; finally Finally, through the deep verification of the legitimacy of the tag number, the legitimacy coefficient Xhf is obtained, and the value of the legitimacy coefficient Xhf is used to determine whether it is in a legal state, so as to generate and execute the corresponding data processing fault-tolerant instructions, thereby realizing the dynamic adaptation and fault-tolerant processing of RFID tag data, and effectively solving the compatibility problems of multiple RFID tag reader devices with the same frequency band and inconsistent coding rules that may exist in traditional methods; the overall advantage of this method is that through multi-stage progressive fault-tolerant analysis, a closed-loop data processing system from environmental monitoring to data storage is formed, which not only improves the adaptability of the data processing fault-tolerant method based on RFID tags in complex environments, but also prevents the situation where the wrong RFID tag number and the corresponding RFID tag data will not be stored and used even if the communication protocol verification is passed, thereby reducing the risk of erroneous data entering the application software system, and providing technical support for high-precision and high-reliability applications in the logistics, retail and medical industries.

[0051] (2) By real-time monitoring of the transmission environment status and signal strength, and combining statistical analysis to construct the data transmission interference coefficient Xcs, dynamic monitoring and interference risk assessment of the RFID data transmission process are achieved; the environmental monitoring equipment obtains the transmission environment status data and transmission signal strength data to fully perceive the changing transmission conditions, providing accurate environmental background support for subsequent data verification; based on the statistical mean algorithm and combined with the number of same-frequency readers Ddk, the data transmission interference coefficient Xcs is constructed, and the influence of multi-dimensional environmental factors and same-frequency readers is quantified into a measurable indicator, which can accurately judge the potential interference risk in transmission. Compared with the traditional single verification method, this mechanism is more applicable and flexible in multiple RFID tag readers of the same frequency band and complex transmission environments; by comparing the data transmission interference coefficient Xcs with the preset interference threshold G, a data integrity verification instruction can be dynamically issued. Overall, this method effectively reduces the interference risk of multi-dimensional environmental factors and the number of same-frequency readers on data transmission, improves the pre-warning capability, and provides a reliable basis for subsequent data verification.

[0052] (3) A multi-level verification mechanism is established for the transmission integrity of RFID data and the legitimacy of tag numbers, which fundamentally guarantees the accuracy and security of data processing. In the integrity verification stage, the RFID tag transmission data sequence package Dc is decomposed into several segments of string symbols dc, and the bit-by-bit XOR operation is performed with the generating polynomial to generate the intermediate verification value zc corresponding to each segment of the string symbol. In combination with the cyclic redundancy check algorithm, the RFID tag verification data sequence package Gc is constructed. Then, the RFID tag verification data sequence package Gc is compared with the RFID tag original data packet Yc to determine whether the data of the RFID tag original data packet Yc is complete after transmission. If it is inconsistent, a re-reading operation will be automatically triggered to avoid the erroneous storage of incomplete data and unnecessary further analysis process, thereby improving the reliability of data transmission. In the legitimacy fault-tolerant analysis stage, the RFID tag number information data is decomposed using a fixed-length segmentation algorithm, and the specific bit segments are extracted through bit masks, and then the RFID tag number character sequence Zd is generated in combination with the shift operation. Subsequently, the RFID tag number character sequence Zd is generated. The sequence Zd is compared bit by bit with the preset coding rule sequence Rd, and the legitimacy coefficient Xhf is calculated using the indicator function. According to the value of the legitimacy coefficient Xhf, the legitimacy fault-tolerant check of the RFID tag number is performed to determine whether the current RFID tag number is in a legal state. When the legitimacy coefficient Xhf is equal to 1, it means that the current RFID tag number is legal and the current RFID tag number and the corresponding RFID tag data are stored in the data storage module of the application software system; when the legitimacy coefficient Xhf is not equal to 1, the erroneous data is discarded and re-read to ensure the accuracy and consistency of the system data; through this progressive verification mechanism, a closed-loop process from data integrity to comprehensive legitimacy verification is realized, which can dynamically adapt to the fact that even if the communication protocol verification is passed, the erroneous RFID tag number and the corresponding RFID tag data will not be stored and used, which greatly improves the compatibility, security and processing accuracy of RFID tag data transmission, effectively prevents systemic problems caused by erroneous data, and provides a solid guarantee for the efficient and stable operation of various industries in complex environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 This is a flow chart of the data processing fault-tolerant method based on RFID tags of the present invention;

[0054] Figure 2 This is a block diagram of the data processing fault-tolerant device based on RFID tags of the present invention. DETAILED DESCRIPTION

[0055] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0056] Example 1

[0057] See also Figure 1 ,The present invention provides a data processing fault-tolerant method based on RFID tags, comprising the following steps;

[0058] S1. Using multiple environmental monitoring devices and RFID tag readers, monitor the transmission environment status of RFID tag data during transmission to the application software system in real time, obtain transmission environment status data, and monitor the signal strength of the transmitted RFID tag data in real time to obtain transmission signal strength data;

[0059] S2. Based on the pre-processed transmission environment status data and transmission signal strength data, and in combination with a statistical averaging algorithm, a data transmission interference coefficient Xcs is constructed. This coefficient is compared and analyzed with a preset interference threshold G to determine whether there is a risk of transmission error in the current RFID tag data, and a data integrity check instruction is issued accordingly;

[0060] S3. After receiving the data integrity check instruction, the cyclic redundancy check algorithm is used to analyze the integrity of the transmitted RFID tag data. If the data is complete, a data legitimacy fault-tolerant check instruction is issued;

[0061] S4. Based on the integrity of the RFID tag data, perform a legality fault-tolerant check analysis on it to obtain a legality coefficient Xhf. According to the value of the legality coefficient Xhf, determine whether it is in a legal state, so as to generate and execute corresponding data processing fault-tolerant instructions.

[0062] This embodiment incorporates transmission environment status monitoring, the construction of a data transmission interference coefficient Xcs, a cyclic redundancy check (CRC) algorithm, and a validity check analysis to form a multi-layered, closed-loop fault-tolerance mechanism, improving the reliability and applicability of RFID tag data processing. First, multiple environmental monitoring devices and RFID tag readers monitor the transmission environment status and signal strength in real time. The CRC is then constructed using a statistical mean algorithm to accurately assess the interference and error risks present during transmission. Subsequently, a cyclic redundancy check (CRC) is performed on the data based on data integrity check instructions to ensure data integrity after transmission to the application software system. Furthermore, the validity status of the RFID tag data is analyzed by calculating the validity coefficient Xhf, further eliminating application risks caused by erroneous RFID tag data. Compared to traditional anti-collision methods, this method overcomes the limitations of processing only at the RFID tag reader level. It is not only applicable to multiple readers and complex transmission environments, but also provides fault tolerance for inconsistencies in equipment and encoding rules from different manufacturers. By comprehensively monitoring and analyzing the RFID data transmission environment, data integrity, and validity, this method improves the storage efficiency of erroneous tag data caused by data transmission interference, enhances the security and accuracy of the data processing process, and improves its versatility in diverse environments.

[0063] Example 2

[0064] Please refer to Figure 1 , specifically: S1 specific steps include:

[0065] S11. Utilize multiple environmental monitoring devices and RFID tag readers to monitor in real time the state of the transmission environment during the transmission of RFID tag data to the application software system, and obtain transmission environment state data, wherein the transmission environment state data includes a temperature value Thj and a humidity value Shj at each monitoring time point within a monitoring period. Furthermore, based on a transmission signal monitoring function of the RFID tag reader, monitor the signal strength of the transmitted RFID tag data in real time to obtain transmission signal strength data, wherein the transmission signal strength data includes a radio frequency strength value Xqd at each monitoring time point within the monitoring period. The environmental monitoring devices include a temperature sensor and a humidity sensor.

[0066] S12. Preprocess the relevant data information in the transmission environment status data and the transmission signal strength data. The preprocessing includes removing noise, filling missing values, and data smoothing operations.

[0067] In this embodiment, environmental monitoring equipment and RFID tag readers are used to monitor the environmental status and signal strength during the data transmission process in real time, and combined with preprocessing operations, the accuracy and stability of data transmission are improved. Specifically, the real-time collection of temperature, humidity and signal strength during the data transmission process enables a more comprehensive perception of the dynamic changes in the transmission environment, providing accurate environmental data support for subsequent interference assessment and fault-tolerant processing; at the same time, the preprocessing operation eliminates noise and anomalies in the original data, and repairs the data missing problems that occur, further ensuring the reliability of data analysis. Compared with the traditional method that relies solely on the RFID tag data itself for processing, this step provides early warning and intervention capabilities for potential interference problems in data transmission by monitoring the transmission environment status and signal strength, ensuring high-quality transmission of RFID tag data in complex environments, and laying a solid foundation for subsequent interference analysis and integrity verification.

[0068] Example 3

[0069] Please refer to Figure 1 , specifically: S2 specific steps include:

[0070] S21. Based on the pre-processed transmission environment status data and transmission signal strength data, and combined with the statistical averaging algorithm, obtain the temperature average within the monitoring period. , average humidity and mean RF intensity , and according to the usage of RFID tag readers in the same frequency band, obtain the number of readers with the same frequency Ddk;

[0071] S22. Construct a data transmission interference coefficient Xcs based on the relevant data obtained in S21. The data transmission interference coefficient Xcs is obtained by the following formula:

[0072] ;

[0073] Where, Expressed as the mean temperature, It is expressed as the average humidity value, Ddk is expressed as the number of card readers with the same frequency, Expressed as the mean RF intensity, 、 、 and Represented as the mean temperature , average humidity , the number of same-frequency card readers Ddk and the average radio frequency strength The weight value of , A is expressed as the correction constant;

[0074] S23. Compare and analyze the data transmission interference coefficient Xcs with a preset interference threshold G to determine whether there is a risk of transmission error during the current RFID tag data transmission to the application software system. The specific comparison content is as follows:

[0075] If the data transmission interference coefficient Xcs exceeds the interference threshold G, it is determined that there is a risk of transmission error during the transmission of the current RFID tag data to the application software system. At this time, a data integrity check instruction will be issued to further analyze the integrity of the transmitted RFID tag data;

[0076] If the data transmission interference coefficient Xcs does not exceed the interference threshold G, it is determined that there is no risk of transmission error during the transmission of the current RFID tag data to the application software system, and no additional data integrity check instruction is issued.

[0077] In this embodiment, based on preprocessed transmission environment status data and transmission signal strength data, combined with a statistical mean algorithm, a comprehensive calculation is performed on the temperature value Thj, the humidity value Shj, the radio frequency intensity value Xqd, and the number of co-frequency readers Ddk to construct a data transmission interference coefficient Xcs. This quantitatively assesses the degree of interference in the RFID tag data transmission environment. By comparing and analyzing the data transmission interference coefficient Xcs with a preset interference threshold G, it is possible to accurately determine whether the current RFID tag data is at risk of transmission errors. When the data transmission interference coefficient Xcs exceeds the interference threshold G, a data integrity check instruction is issued to further analyze the integrity of the transmitted RFID tag data. When the data transmission interference coefficient Xcs is below the interference threshold G, unnecessary check operations are avoided. The advantage of this method is that, through quantitative analysis of multi-dimensional environmental variables, it can dynamically adapt to complex application environments with multiple readers and multiple frequency bands. In particular, it effectively reduces the risk of erroneous storage caused by interference in devices from different manufacturers and under complex transmission conditions, providing a proactive guarantee for the accuracy and stability of RFID data transmission. At the same time, this method optimizes resource utilization efficiency and reduces redundant check operations.

[0078] Example 4

[0079] Please refer to Figure 1 , specifically: S3 specific steps include:

[0080] S31. After receiving the data integrity check instruction, connect the RFID tag reader to the target device of the application software system through the RJ45 Ethernet interface, and combine the radio frequency identification technology and serial communication protocol to transmit the RFID tag original data packet Yc to the application software system, and obtain the RFID tag transmission data sequence packet Dc in the form of According to the predefined frame structure, a plurality of character strings dc are obtained by demodulating and processing the signal of the data sequence packet Dc transmitted by the RFID tag; wherein each character string is composed of binary data of a fixed byte length;

[0081] S32, by respectively comparing several segments of string dc with the preset polynomial Perform XOR operation on the binary form to obtain the intermediate check value zc corresponding to each string segment, which is obtained by the following formula:

[0082] ;

[0083] Where, Represented as the i-th string, It represents the intermediate checksum corresponding to the i-th segment of the string. Represented as a bitwise XOR operator, used to check the binary difference of data segments. It is expressed as a generating polynomial and used to define the verification rules;

[0084] S33. Based on the intermediate check values ​​zc corresponding to each segment of the string, and in combination with a cyclic redundancy check algorithm, an RFID tag check data sequence package Gc is constructed. The RFID tag check data sequence package Gc is obtained by the following formula:

[0085] ;

[0086] Where, It is expressed as the intermediate check value corresponding to the i-th string character, i=1, 2, 3, ..., n, n represents the number of string characters, It represents a modulo operation on a numerical value, which is used to limit the bit width of the checksum to k bits, where k is a constant.

[0087] Specifically, the S3 steps also include:

[0088] S34. Compare the obtained RFID tag verification data sequence package Gc with the RFID tag original data package Yc to determine whether the data of the RFID tag original data package Yc is complete after transmission. If the RFID tag verification data sequence package Gc is the same as the RFID tag original data package Yc, it means that the data of the RFID tag original data package Yc is complete after transmission. At this time, a data validity fault-tolerant verification instruction will be issued to further analyze the validity of the transmitted RFID tag data; if the RFID tag verification data sequence package Gc is different from the RFID tag original data package Yc, it means that the data of the RFID tag original data package Yc is incomplete after transmission, and a re-reading operation will be performed. At this time, no additional data validity fault-tolerant verification instruction will be issued.

[0089] In this embodiment, a cyclic redundancy check algorithm and a data packet check mechanism are used to conduct an in-depth analysis of the integrity of the RFID tag data transmission process, thereby ensuring the accuracy and reliability of the data transmission. First, the RFID tag reader transmits the RFID tag original data packet Yc to the application software system through the RJ45 Ethernet interface and the serial communication protocol, and generates an RFID tag transmission data sequence packet Dc according to a predefined frame structure. After demodulation and signal processing, it is decomposed into multiple segments of fixed byte length character strings dc. Subsequently, for each segment of the character string dc, a generating polynomial is used to calculate the corresponding intermediate check value zc with its bit-by-bit XOR calculation to ensure the integrity of each data segment. On this basis, an RFID tag check data sequence packet Gc is constructed through modular operation, and the bit width of the checksum is restricted to meet the protocol requirements. By comparing the generated RFID tag check data sequence packet Gc with the RFID tag, the RFID tag is able to receive the data from the RFID tag. The comparison of the tag original data packet Yc further determines the integrity of the data during transmission: if the two are consistent, it means that the transmission is correct and the data legitimacy fault tolerance analysis stage is entered; if the two are inconsistent, it is determined that an error occurred in the data transmission, triggering a re-reading operation to avoid the erroneous data from being subsequently processed and stored. Compared with the traditional simple communication protocol verification, the integrity verification improves the detection ability of data transmission errors. The unique advantage of this method is that it can not only identify potential signal interference and errors in complex transmission environments, but also ensure the gradual verification and correction of data through multi-level verification means, thereby effectively avoiding logical errors and systemic problems caused by erroneous data entering the system. More importantly, this method realizes real-time error detection and processing through dynamic verification and feedback mechanism, improves the robustness and reliability in multi-device and multi-scenario applications, and provides a pre-guarantee for data integrity and accuracy.

[0090] Example 5

[0091] Please refer to Figure 1 , specifically: S4 specific steps include:

[0092] S41. After receiving the data legitimacy fault-tolerant verification instruction, extract the RFID tag information of the RFID tag transmission data sequence package Dc according to the communication protocol and data frame structure analysis to obtain the RFID tag number information data;

[0093] S42. According to the fixed-length segmentation algorithm, a bit mask is used to extract a specific bit segment of the RFID tag number information data, and then the bit sequence is adjusted by shifting to generate the RFID tag number character sequence Zd in the form of , each tag number character is composed of a fixed length of binary data; and the defined RFID tag encoding rule sequence Rd is set to the application software system and the RFID tag reader, wherein the RFID tag encoding rule sequence Rd is in the form of .

[0094] Specifically, the steps of S4 also include:

[0095] S43. Based on the RFID tag number character sequence Zd generated in S42 and in combination with the set RFID tag encoding rule sequence Rd, the legitimacy of the RFID tag number character sequence Zd is verified to construct a legitimacy coefficient Xhf, which is specifically obtained in the following manner:

[0096] ;

[0097] Where, It is represented by the jth tag number character in the RFID tag number character sequence Zd. It is represented as the jth tag number character in the RFID tag encoding rule sequence Rd, where j = 1, 2, 3, ..., m, and m represents the number of digits of the tag number character. It is expressed as an indicator function, which is 1 when the label number characters are consistent, otherwise it is 0;

[0098] S44: Based on the value of the validity coefficient Xhf obtained in S43, a validity fault-tolerant check of the RFID tag number is performed to determine whether the current RFID tag number is in a valid state. The specific contents are as follows:

[0099] If the validity coefficient Xhf is equal to 1, the current RFID tag number is determined to be in a valid state. At this time, a first data processing fault-tolerant instruction is issued and executed. The execution content is to store the current RFID tag number and the corresponding RFID tag data in the data storage module of the application software system.

[0100] If the legality coefficient Xhf is not equal to 1, it is determined that the current RFID tag number is not in a legal state. At this time, a second data processing fault-tolerant instruction will be issued and executed, and the execution content is to discard the current RFID tag number and the corresponding RFID tag data, and re-read them.

[0101] In this embodiment, based on the communication protocol and data frame structure, combined with the fixed-length segmentation algorithm and legitimacy verification analysis, the accurate extraction and legitimacy verification of the RFID tag number is realized, and the accuracy and reliability of the data are guaranteed. First, after receiving the data legitimacy fault-tolerant verification instruction, the RFID tag number information data is extracted by parsing the RFID tag transmission data sequence package Dc, and the RFID tag number information data is segmented according to a fixed length through the fixed-length segmentation algorithm, and the specific bit segments are extracted using the bit mask technology, and the bit order is adjusted by the shift operation to finally generate the RFID tag number character sequence Zd. At the same time, a unified RFID tag encoding rule sequence Rd is set in the application software system and the RFID tag reader to ensure that the extracted number characters are consistent with the preset rules. Next, based on the generated RFID tag number character sequence Zd and the RFID tag encoding rule sequence Rd, the legitimacy coefficient Xhf is calculated by bit-by-bit matching to accurately evaluate the legitimacy status of the number. If the legitimacy coefficient Xhf is equal to 1, it means that the current If the RFID tag number is legal, the corresponding data will be stored in the data storage module; if the legitimacy coefficient Xhf is not equal to 1, the current RFID tag number is determined to be illegal, the erroneous data will be discarded and a re-read instruction will be triggered. The outstanding advantage of this method is that it ensures the accuracy of the RFID tag number extraction process through fixed-length segmentation and bit mask technology, and avoids the impact of number format errors on subsequent applications; through the introduction of the legitimacy coefficient Xhf, it can dynamically adapt and unify in a complex environment with inconsistent coding rules and coexistence of multi-vendor equipment, thereby improving the compatibility of tag data and the efficiency of legitimacy verification. In addition, the discarding and re-reading mechanism for illegal numbered data effectively avoids the risk of erroneous numbers entering the data storage module. Even if the erroneous data passes the communication protocol verification, the erroneous data will not be stored and used; compared with traditional methods, it realizes closed-loop processing of RFID tag data from extraction to legitimacy verification, providing higher security, accuracy and versatility for data processing, making it more stable and reliable in complex application environments with multiple scenarios and multiple devices.

[0102] Example 6

[0103] Please refer to Figure 1 and Figure 2 Specifically: A data processing fault-tolerant device based on RFID tags, including:

[0104] The data acquisition module is used to transmit RFID tag data to the application software system through the serial communication protocol;

[0105] The data parsing module is used to parse and process the transmitted RFID tag data;

[0106] The data fault-tolerant module is used to perform integrity and legality fault-tolerant verification on RFID tag data, discard erroneous RFID tag data, and perform re-reading operations;

[0107] The data application module is used to collect verified RFID tag data from the application software system;

[0108] The data storage module is used to store complete and legal RFID tag data.

[0109] The data processing fault-tolerant device based on RFID tags includes a processor, a storage medium and a computer program. The computer program is stored in the storage medium and implements the data processing fault-tolerant method based on RFID tags when the computer program is executed by the processor.

[0110] The data processing fault-tolerant storage medium based on RFID tags stores a computer program thereon, comprising the following steps: the computer program stores computer instructions, and when the instructions are executed by a processor, the data processing fault-tolerant method based on RFID tags is implemented.

[0111] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.

Claims

1. A data processing fault-tolerant method based on RFID tags, characterized by: The following steps are included: S1. Using multiple environmental monitoring devices and RFID tag readers, monitor the transmission environment status of RFID tag data during transmission to the application software system in real time, obtain transmission environment status data, and monitor the signal strength of the transmitted RFID tag data in real time to obtain transmission signal strength data; S2. Based on the pre-processed transmission environment status data and transmission signal strength data, and in combination with a statistical averaging algorithm, a data transmission interference coefficient Xcs is constructed. This coefficient is compared and analyzed with a preset interference threshold G to determine whether there is a risk of transmission error in the current RFID tag data, and a data integrity check instruction is issued accordingly; S3. After receiving the data integrity check instruction, the cyclic redundancy check algorithm is used to analyze the integrity of the transmitted RFID tag data. If the data is complete, a data legitimacy fault-tolerant check instruction is issued; The specific steps of S3 include: S31. After receiving the data integrity check instruction, connect the RFID tag reader to the target device of the application software system through the RJ45 Ethernet interface, and combine the radio frequency identification technology and serial communication protocol to transmit the RFID tag original data packet Yc to the application software system, and obtain the RFID tag transmission data sequence packet Dc in the form of According to the predefined frame structure, a plurality of character strings dc are obtained by demodulating and processing the signal of the data sequence packet Dc transmitted by the RFID tag; wherein each character string is composed of binary data of a fixed byte length; S32, by respectively comparing several segments of string dc with the preset polynomial Perform XOR operation on the binary form to obtain the intermediate check value zc corresponding to each string segment, which is obtained by the following formula: ; Where, Represented as the i-th string, It represents the intermediate checksum corresponding to the i-th segment of the string. Represented as a bitwise XOR operator, used to check the binary difference of data segments. It is expressed as a generating polynomial and used to define the verification rules; S33. Based on the intermediate check values ​​zc corresponding to each segment of the string, and in combination with a cyclic redundancy check algorithm, an RFID tag check data sequence package Gc is constructed. The RFID tag check data sequence package Gc is obtained by the following formula: ; Where, It is expressed as the intermediate check value corresponding to the i-th string character, i=1, 2, 3, ..., n, n represents the number of string characters, It is expressed as a modulo operation on the value, which is used to limit the bit width of the checksum to k bits, where k is a constant; S34, comparing the obtained RFID tag verification data sequence package Gc with the RFID tag original data package Yc to determine whether the data of the RFID tag original data package Yc is complete after transmission. If the RFID tag verification data sequence package Gc is the same as the RFID tag original data package Yc, it means that the data of the RFID tag original data package Yc is complete after transmission. At this time, a data validity fault-tolerant verification instruction is issued to further analyze the validity of the transmitted RFID tag data. If the RFID tag verification data sequence package Gc is different from the RFID tag original data package Yc, it means that the data of the RFID tag original data package Yc is incomplete after transmission, and a re-reading operation is performed. At this time, no additional data validity fault-tolerant verification instruction is issued. S4. Based on the integrity of the RFID tag data, perform a legality fault-tolerant check analysis on it to obtain a legality coefficient Xhf. According to the value of the legality coefficient Xhf, determine whether it is in a legal state, so as to generate and execute corresponding data processing fault-tolerant instructions.

2. The RFID tag-based data processing fault-tolerant method according to claim 1, characterized in that: The specific steps of S1 include: S11. Utilize multiple environmental monitoring devices and RFID tag readers to monitor in real time the state of the transmission environment during the transmission of RFID tag data to the application software system, and obtain transmission environment state data, wherein the transmission environment state data includes a temperature value Thj and a humidity value Shj at each monitoring time point within a monitoring period. Furthermore, based on a transmission signal monitoring function of the RFID tag reader, monitor the signal strength of the transmitted RFID tag data in real time to obtain transmission signal strength data, wherein the transmission signal strength data includes a radio frequency strength value Xqd at each monitoring time point within the monitoring period. The environmental monitoring devices include a temperature sensor and a humidity sensor. S12. Preprocess the relevant data information in the transmission environment status data and the transmission signal strength data. The preprocessing includes removing noise, filling missing values, and data smoothing operations.

3. The RFID tag-based data processing fault-tolerant method according to claim 1, characterized in that: The specific steps of S4 include: S41. After receiving the data legitimacy fault-tolerant verification instruction, extract the RFID tag information of the RFID tag transmission data sequence package Dc according to the communication protocol and data frame structure analysis to obtain the RFID tag number information data; S42. According to the fixed-length segmentation algorithm, a bit mask is used to extract a specific bit segment of the RFID tag number information data, and then the bit sequence is adjusted by shifting to generate the RFID tag number character sequence Zd in the form of , each tag number character is composed of a fixed length of binary data; and the defined RFID tag encoding rule sequence Rd is set to the application software system and the RFID tag reader, wherein the RFID tag encoding rule sequence Rd is in the form of .

4. The RFID tag-based data processing fault-tolerant method according to claim 3, wherein: The specific steps of S4 also include: S43. Based on the RFID tag number character sequence Zd generated in S42 and in combination with the set RFID tag encoding rule sequence Rd, the legitimacy of the RFID tag number character sequence Zd is verified to construct a legitimacy coefficient Xhf, which is specifically obtained in the following manner: ; Where, It is represented by the jth tag number character in the RFID tag number character sequence Zd. It is represented as the jth tag number character in the RFID tag encoding rule sequence Rd, where j = 1, 2, 3, ..., m, and m represents the number of digits of the tag number character. Expressed as an indicator function; S44: Based on the value of the validity coefficient Xhf obtained in S43, a validity fault-tolerant check of the RFID tag number is performed to determine whether the current RFID tag number is in a valid state. The specific contents are as follows: If the validity coefficient Xhf is equal to 1, the current RFID tag number is determined to be in a valid state. At this time, a first data processing fault-tolerant instruction is issued and executed. The execution content is to store the current RFID tag number and the corresponding RFID tag data in the data storage module of the application software system. If the legality coefficient Xhf is not equal to 1, it is determined that the current RFID tag number is not in a legal state. At this time, a second data processing fault-tolerant instruction will be issued and executed, and the execution content is to discard the current RFID tag number and the corresponding RFID tag data, and re-read them.

5. A data processing fault-tolerant device based on an RFID tag, wherein the data processing fault-tolerant device executes the data processing fault-tolerant method based on an RFID tag according to claim 1, characterized in that: include: The data acquisition module is used to transmit RFID tag data to the application software system through the serial communication protocol; The data parsing module is used to parse and process the transmitted RFID tag data; The data fault-tolerant module is used to perform integrity and legality fault-tolerant verification on RFID tag data, discard erroneous RFID tag data, and perform re-reading operations; The data application module is used to collect verified RFID tag data from the application software system; The data storage module is used to store complete and legal RFID tag data.

6. A data processing fault-tolerant device based on an RFID tag, comprising a processor, a storage medium, and a computer program, wherein the computer program is stored in the storage medium, and is characterized in that: When the computer program is executed by a processor, the data processing fault-tolerant method based on an RFID tag according to any one of claims 1 to 4 is implemented.

7. A data processing fault-tolerant storage medium based on an RFID tag, having a computer program stored thereon, characterized in that: The computer program stores computer instructions, and when the instructions are executed by a processor, the data processing fault-tolerant method based on an RFID tag as described in any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Decentralized identity-based radio frequency identification tag management method and system

    CN114595442A

  • Hydraulic single prop digital identity recognition method based on RFID

    CN119129624A