Data processing fault tolerance method and device based on RFID tag, equipment and medium

By monitoring the transmission environment status and signal strength in real time, the data transmission interference coefficient Xcs is constructed, and combined with cyclic redundancy checking and legality checking, data processing fault tolerance instructions are generated, which solves the problems of data transmission errors and systematic errors in the prior art, and achieves high reliability and accuracy data processing.

CN119697283AActive Publication Date: 2025-03-25NANJING CHUCAI IOT TECH CO LTD

Patent Information

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

AI Technical Summary

Technical Problem

The existing RFID tag-based data processing technology lacks an effective fault tolerance mechanism in the case of complex transmission environments and multiple concurrent RFID tag readers, resulting in data transmission errors and systemic errors.

Method used

By monitoring the transmission environment status and signal strength in real time, combining the statistical mean algorithm to construct the data transmission interference coefficient Xcs, and comparing it with the preset interference threshold G to determine the risk of transmission error. Then, a cyclic redundancy verification algorithm is used to perform data integrity verification, and if it is complete, a legality fault tolerance verification is performed to generate corresponding data processing fault tolerance instructions.

Benefits of technology

A multi-level fault tolerance mechanism is realized, which improves the reliability and applicability of RFID tag data processing, accurately identifies and warns of potential transmission errors and interferences, reduces the risk of wrong data storage and application, and enhances the accuracy and security of data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697283A_ABST
    Figure CN119697283A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing fault-tolerant method, device and equipment based on an RFID tag and a medium, and relates to the technical field of data processing.The data transmission interference coefficient Xcs is constructed by monitoring the transmission environment and the signal strength state of RFID tag data in the process of transmitting the RFID tag data to an application software system in real time and combining a statistical averaging algorithm; comparing and analyzing the current RFID tag data with a preset interference threshold G, judging whether the current RFID tag data has a transmission error risk or not, and analyzing the integrity of the transmitted RFID tag data by combining a cyclic redundancy check algorithm; and based on the integrity of the RFID tag data, carrying out legality fault-tolerant verification analysis on the RFID tag data to obtain a legality coefficient Xhf, and judging whether the data belongs to a legal state or not according to the value of the legality coefficient Xhf so as to generate a corresponding data processing fault-tolerant instruction and execute the data processing fault-tolerant instruction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] As the core of modern information technology, data processing covers the entire life cycle from data collection, transmission to analysis and storage. However, with the rapid development of the Internet of Things and intelligent systems, especially in the widespread application of RFID technology, data processing faces more complexity and challenges. RFID technology is widely used in logistics, retail and medical industries due to its non-contact reading, high efficiency and uniqueness. Although the existing data processing technology based on RFID tags still has deficiencies in versatility and reliability in fault tolerance, first of all, there is a lack of early warning and evaluation of the impact of complex transmission environments and multiple same-frequency RFID tag readers on transmitted data. In addition, the existing data processing fault-tolerant technology based on RFID tags usually only processes at the read-write level, and fails to perform in-depth fault-tolerant analysis on the data after transmission to the application software system, resulting in the possibility that the erroneous RFID tag number and the corresponding RFID tag data may still be stored and used even if the communication protocol verification passes, thereby causing systemic errors. Therefore, there is an urgent need for a data processing fault-tolerant method based on RFID tags, which provides higher reliability and accuracy for the field of data processing by introducing a multi-level fault-tolerant mechanism of transmission environment status monitoring, data integrity verification and legality verification. Summary of the invention

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

[0004] 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; S1. Using multiple environmental monitoring devices and RFID tag readers, monitor the transmission environment status in real time during the transmission of RFID tag data to the application software system, 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 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 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, combine the cyclic redundancy check algorithm to analyze the integrity of the transmitted RFID tag data, and if it is complete, issue a data legitimacy fault-tolerant check instruction; S4. Based on the integrity of the RFID tag data, a legality fault-tolerant verification analysis is performed on it to obtain the legality coefficient Xhf. According to the value of the legality coefficient Xhf, it is determined whether it belongs to a legal state, so as to generate and execute the corresponding data processing fault-tolerant instructions.

[0005] Preferably, the specific steps of S1 include: S11, using multiple environmental monitoring devices and RFID tag readers to monitor the transmission environment status in real time during the transmission of RFID tag data to the application software system, and obtain transmission environment status data, the transmission environment status data includes the temperature value Thj and the humidity value Shj at each monitoring time point in the monitoring period, and according to the transmission signal monitoring function of the RFID tag reader, the signal strength of the transmitted RFID tag data is monitored in real time to obtain transmission signal strength data, the transmission signal strength data includes the radio frequency strength value Xqd at each monitoring time point in the monitoring period, wherein the environmental monitoring device includes a temperature sensor and a humidity sensor; S12, preprocessing the relevant data information in the transmission environment status data and the transmission signal strength data, wherein the preprocessing includes removing noise, filling missing values, and data smoothing operations.

[0006] Preferably, the specific steps of S2 include: S21. Based on the pre-processed transmission environment status data and transmission signal strength data, and in combination with the statistical averaging algorithm, obtain the temperature average within the monitoring period. , humidity mean and the 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; S22. Construct a data transmission interference coefficient Xcs according to the relevant data obtained in S21. The data transmission interference coefficient Xcs is obtained by the following formula:

[0007] In the formula, is expressed as the mean temperature, It is expressed as the average humidity value, Ddk is expressed as the number of readers with the same frequency, Expressed as the mean RF intensity, , , and Respectively, the mean temperature , humidity mean , the number of same frequency card readers Ddk and the average RF strength The weight value of , A is represented as the correction constant; S23, comparing and analyzing the data transmission interference coefficient Xcs with the 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: If the data transmission interference coefficient Xcs exceeds the interference threshold G, it is determined that there is a risk of transmission error in the process of transmitting 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; 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 at this time.

[0008] Preferably, the specific steps of S3 include: S31. After receiving the data integrity check instruction, the RFID tag reader is connected to the target device of the application software system through the RJ45 Ethernet interface, and the RFID tag original data packet Yc is transmitted to the application software system in combination with the radio frequency identification technology and the serial communication protocol, and the RFID tag transmission data sequence packet Dc is obtained in the form of , according to the predefined frame structure, and by demodulating and processing the signal of the RFID tag transmission data sequence packet Dc, a plurality of character strings dc are obtained; wherein each character string is composed of binary data of a fixed byte length; S32, by respectively comparing a plurality of segments of the string dc with a preset polynomial Perform XOR operation on the binary form to obtain the intermediate check value zc corresponding to each string segment, which can be obtained by the following formula:

[0009] In the formula, Represented as the i-th string, It is represented as the intermediate checksum corresponding to the i-th string. Represented as a bitwise XOR operator, used to check binary differences in data segments. It is represented as a generating polynomial and used to define the verification rules; S33, based on the intermediate check value zc corresponding to each segment of the string, and in combination with the cyclic redundancy check algorithm, construct the RFID tag check data sequence package Gc, the RFID tag check data sequence package Gc is obtained by the following formula:

[0010] In the formula, It is expressed as the intermediate checksum corresponding to the i-th string character, i=1, 2, 3, ..., n, where n is the number of string characters. It is expressed as 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.

[0011] Preferably, the specific step S3 also includes: S34, compare the obtained RFID tag verification data sequence package Gc 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 the RFID tag verification data sequence package Gc is the same as the RFID tag original data packet Yc, it means that the data of the RFID tag original data packet Yc is complete after transmission. At this time, a data legitimacy fault-tolerant verification instruction will be issued to the outside to further analyze the legitimacy of the transmitted RFID tag data; if the RFID tag verification data sequence package Gc is different from the RFID tag original data packet Yc, it means that the data of the RFID tag original data packet Yc is incomplete after transmission, and a re-reading operation is performed. At this time, no additional data legitimacy fault-tolerant verification instruction is issued.

[0012] Preferably, the specific steps of S4 include: S41, after receiving the data legality 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, and obtain the RFID tag number information data; S42, according to the fixed-length segmentation algorithm, use the bit mask to extract the specific bit segment of the RFID tag number information data, and then adjust the bit sequence 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 .

[0013] Preferably, the specific step S4 also includes: 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:

[0014] In the formula, It is represented by the jth tag number character in the RFID tag number character sequence Zd. It is represented by 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: According to the value of the legality coefficient Xhf obtained in S43, a legality fault-tolerant check of the RFID tag number is performed to determine whether the current RFID tag number is in a legal state. The specific contents are as follows: If the legality coefficient Xhf is equal to 1, it is determined that the current RFID tag number is in a legal state, and a first data processing fault-tolerant instruction is issued and executed, and the execution content is to store the current RFID tag number and the corresponding RFID tag data into the data storage module of the application software system for storage; 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.

[0015] The data processing fault-tolerant device based on RFID tag comprises: The data acquisition module is used to transmit the RFID tag data to the application software system through the serial communication protocol; The data analysis module is used to analyze 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.

[0016] The data processing fault-tolerant device based on RFID tags comprises a processor, a storage medium and a computer program. The computer program is stored in the storage medium. When the computer program is executed by the processor, the data processing fault-tolerant method based on RFID tags is implemented.

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

[0018] The present invention provides a data processing fault-tolerant method, device, equipment and medium based on RFID tags, which have the following beneficial effects: (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 errors. It can accurately identify multiple RFID tag readers with the same frequency band and potential interference and transmission risks in complex environments, providing a proactive error warning capability. Secondly, 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 whether it belongs to the legal state is determined according to the value of the legitimacy coefficient Xhf, 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 of 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 eliminates the situation that even if the communication protocol verification is passed, the wrong RFID tag number and the corresponding RFID tag data will not be stored and used, reducing the risk of erroneous data entering the application software system, and providing technical guarantee for high-precision and high-reliability applications in logistics, retail and medical industries.

[0019] (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 the 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 the 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 in 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.

[0020] (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 specific bit segments are extracted through bit masks. 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 converted into the RFID tag number character sequence Zd. The sequence Zd is compared bit by bit with the preset coding rule sequence Rd, and the legality coefficient Xhf is calculated using the indicator function. According to the value of the legality coefficient Xhf, the legality 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 legality 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 placed in the data storage module of the application software system for storage; when the legality 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 legality 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

[0021] Figure 1 It is a flow chart of the data processing fault-tolerant method based on RFID tags of the present invention; Figure 2 This is a block diagram of the data processing fault-tolerant device based on RFID tags of the present invention. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 creative work are within the scope of protection of the present invention.

[0023] Example 1 See also Figure 1 ,The present invention provides a data processing fault-tolerant method based on RFID tags, comprising the following steps; S1. Using multiple environmental monitoring devices and RFID tag readers, monitor the transmission environment status in real time during the transmission of RFID tag data to the application software system, 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 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 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, combine the cyclic redundancy check algorithm to analyze the integrity of the transmitted RFID tag data, and if it is complete, issue a data legitimacy fault-tolerant check instruction; S4. Based on the integrity of the RFID tag data, a legality fault-tolerant verification analysis is performed on it to obtain the legality coefficient Xhf. According to the value of the legality coefficient Xhf, it is determined whether it belongs to a legal state, so as to generate and execute the corresponding data processing fault-tolerant instructions.

[0024] In this embodiment, by introducing transmission environment status monitoring, data transmission interference coefficient Xcs construction, cyclic redundancy check algorithm and legality check analysis, a multi-level, closed-loop fault-tolerant mechanism is formed to improve the reliability and applicability of RFID tag data processing; first, the transmission environment status and signal strength are monitored in real time by multiple environmental monitoring devices and RFID tag readers, and the data transmission interference coefficient Xcs is constructed in combination with the statistical mean algorithm, so as to accurately evaluate the interference and error risks in the transmission process, and then, the data is cyclically redundancy checked based on the data integrity check instruction to ensure the integrity of the data after transmission to the application software system, and at the same time, the legal status of the RFID tag data is analyzed by calculating the legality coefficient Xhf, so as to further eliminate the application risks caused by erroneous RFID tag data; compared with the traditional anti-collision method, this method breaks through the limitation of processing only at the RFID tag reader level, is not only suitable for multiple readers and complex transmission environment scenarios, but also can perform fault-tolerant processing for the inconsistency of different manufacturers' equipment and coding rules, and through comprehensive monitoring and analysis of the RFID data transmission environment, data integrity and legality, this method improves the storage efficiency of erroneous tag data caused by data transmission interference, improves the security and accuracy of the data processing process and the versatility in diversified environments.

[0025] Example 2 Please refer to Figure 1 , specifically: S1 specific steps include: S11, using multiple environmental monitoring devices and RFID tag readers to monitor the transmission environment status in real time during the transmission of RFID tag data to the application software system, and obtain transmission environment status data, the transmission environment status data includes the temperature value Thj and the humidity value Shj at each monitoring time point in the monitoring period, and according to the transmission signal monitoring function of the RFID tag reader, the signal strength of the transmitted RFID tag data is monitored in real time to obtain transmission signal strength data, the transmission signal strength data includes the radio frequency strength value Xqd at each monitoring time point in the monitoring period, wherein the environmental monitoring device includes a temperature sensor and a humidity sensor; S12, preprocessing the relevant data information in the transmission environment status data and the transmission signal strength data, wherein the preprocessing includes removing noise, filling missing values, and data smoothing operations.

[0026] In this embodiment, environmental monitoring equipment and RFID tag readers are used to monitor the environmental status and signal strength during data transmission 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 problem of missing data, further ensuring the reliability of data analysis. Compared with the traditional method that only relies 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.

[0027] Example 3 Please refer to Figure 1 , specifically: S2 specific steps include: S21. Based on the pre-processed transmission environment status data and transmission signal strength data, and in combination with the statistical averaging algorithm, obtain the temperature average within the monitoring period. , humidity mean and the 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; S22. Construct a data transmission interference coefficient Xcs according to the relevant data obtained in S21. The data transmission interference coefficient Xcs is obtained by the following formula:

[0028] In the formula, is expressed as the mean temperature, It is expressed as the average humidity value, Ddk is expressed as the number of readers with the same frequency, Expressed as the mean RF intensity, , , and Respectively, the mean temperature , humidity mean , the number of same frequency card readers Ddk and the average RF strength The weight value of , A is represented as the correction constant; S23, comparing and analyzing the data transmission interference coefficient Xcs with the 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: If the data transmission interference coefficient Xcs exceeds the interference threshold G, it is determined that there is a risk of transmission error in the process of transmitting 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; 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 at this time.

[0029] In this embodiment, based on the pre-processed transmission environment state data and transmission signal strength data, and in combination with the statistical mean algorithm, the temperature value Thj, the humidity value Shj, the radio frequency strength value Xqd and the number of same-frequency card readers Ddk are comprehensively calculated to construct the data transmission interference coefficient Xcs, thereby realizing a quantitative evaluation of the degree of interference in the RFID tag data transmission environment. By comparing and analyzing the data transmission interference coefficient Xcs with the preset interference threshold G, it is possible to accurately determine whether the current RFID tag data has a risk of transmission error. 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 lower than the interference threshold G, unnecessary check operations are avoided. The advantage of this method is that, through the quantitative analysis of multi-dimensional environmental variables, it can dynamically adapt to the complex application environment of multiple card readers and multiple frequency bands, especially under different manufacturers' equipment and complex transmission conditions, effectively reduce the risk of erroneous storage caused by interference, and provide a pre-emptive 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.

[0030] Example 4 Please refer to Figure 1 , specifically: S3 specific steps include: S31. After receiving the data integrity check instruction, the RFID tag reader is connected to the target device of the application software system through the RJ45 Ethernet interface, and the RFID tag original data packet Yc is transmitted to the application software system in combination with the radio frequency identification technology and the serial communication protocol, and the RFID tag transmission data sequence packet Dc is obtained in the form of , according to the predefined frame structure, and by demodulating and processing the signal of the RFID tag transmission data sequence packet Dc, a plurality of character strings dc are obtained; wherein each character string is composed of binary data of a fixed byte length; S32, by respectively comparing a plurality of segments of the string dc with a preset polynomial Perform XOR operation on the binary form to obtain the intermediate check value zc corresponding to each string segment, which can be obtained by the following formula:

[0031] In the formula, Represented as the i-th string, It is represented as the intermediate checksum corresponding to the i-th string. Represented as a bitwise XOR operator, used to check binary differences in data segments. It is represented as a generating polynomial and used to define the verification rules; S33, based on the intermediate check value zc corresponding to each segment of the string, and in combination with the cyclic redundancy check algorithm, construct the RFID tag check data sequence package Gc, the RFID tag check data sequence package Gc is obtained by the following formula:

[0032] In the formula, It is expressed as the intermediate checksum corresponding to the i-th string character, i=1, 2, 3, ..., n, where n is the number of string characters. It is expressed as 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.

[0033] Specifically, the S3 specific steps also include: S34, compare the obtained RFID tag verification data sequence package Gc 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 the RFID tag verification data sequence package Gc is the same as the RFID tag original data packet Yc, it means that the data of the RFID tag original data packet Yc is complete after transmission. At this time, a data legitimacy fault-tolerant verification instruction will be issued to the outside to further analyze the legitimacy of the transmitted RFID tag data; if the RFID tag verification data sequence package Gc is different from the RFID tag original data packet Yc, it means that the data of the RFID tag original data packet Yc is incomplete after transmission, and a re-reading operation is performed. At this time, no additional data legitimacy fault-tolerant verification instruction is issued.

[0034] 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, through the RJ45 Ethernet interface and the serial communication protocol, the RFID tag reader transmits the RFID tag original data packet Yc to the application software system, 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 a string symbol dc with a fixed byte length. Subsequently, for each segment of the string symbol dc, a generating polynomial is used to calculate the corresponding intermediate check value zc with the 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 a 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 The comparison of the original data packet Yc of the tag further determines the integrity of the data during transmission: if the two are consistent, it means that the transmission is correct and enters the data legitimacy fault-tolerant analysis stage; if the two are inconsistent, it is determined that an error has 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 ability to detect 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 a 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.

[0035] Example 5 Please refer to Figure 1 , specifically: S4 specific steps include: S41, after receiving the data legality 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, and obtain the RFID tag number information data; S42, according to the fixed-length segmentation algorithm, use the bit mask to extract the specific bit segment of the RFID tag number information data, and then adjust the bit sequence 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 .

[0036] Specifically, 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:

[0037] In the formula, It is represented by the jth tag number character in the RFID tag number character sequence Zd. It is represented by 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 represented as an indicator function, which is 1 when the label number characters are consistent, otherwise it is 0; S44: According to the value of the legality coefficient Xhf obtained in S43, a legality fault-tolerant check of the RFID tag number is performed to determine whether the current RFID tag number is in a legal state. The specific contents are as follows: If the legality coefficient Xhf is equal to 1, it is determined that the current RFID tag number is in a legal state, and a first data processing fault-tolerant instruction is issued and executed, and the execution content is to store the current RFID tag number and the corresponding RFID tag data into the data storage module of the application software system for storage; 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.

[0038] In this embodiment, based on the communication protocol and data frame structure, combined with the fixed-length segmentation algorithm and the 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 by using the bit mask technology, and then the bit order is adjusted by the shift operation, and finally the RFID tag number character sequence Zd is generated. 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 legality coefficient Xhf is not equal to 1, the current RFID tag number is determined to be illegal, the erroneous data will be discarded and the re-reading 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 legality coefficient Xhf, it can dynamically adapt and unify in a complex environment where coding rules are inconsistent and multi-vendor equipment coexists, thereby improving the compatibility of tag data and the efficiency of legality 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, a closed-loop processing of RFID tag data from extraction to legality verification is realized, which provides higher security, accuracy and versatility for data processing, making it more stable and reliable in complex application environments with multiple scenarios and multiple devices.

[0039] Example 6 Please refer to Figure 1 and Figure 2 Specifically: A data processing fault-tolerant device based on RFID tags, comprising: The data acquisition module is used to transmit the RFID tag data to the application software system through the serial communication protocol; The data analysis module is used to analyze 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.

[0040] The data processing fault-tolerant device based on RFID tags comprises a processor, a storage medium and a computer program. The computer program is stored in the storage medium. When the computer program is executed by the processor, the data processing fault-tolerant method based on RFID tags is implemented.

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

[0042] Although 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 the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A data processing fault-tolerant method based on RFID tags, characterized in that: The steps include: S1. Using multiple environmental monitoring devices and RFID tag readers, monitor the transmission environment status in real time during the transmission of RFID tag data to the application software system, 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 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 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, combine the cyclic redundancy check algorithm to analyze the integrity of the transmitted RFID tag data, and if it is complete, issue a data legitimacy fault-tolerant check instruction; S4. Based on the integrity of the RFID tag data, a legality fault-tolerant verification analysis is performed on it to obtain the legality coefficient Xhf. According to the value of the legality coefficient Xhf, it is determined whether it belongs to a legal state, so as to generate and execute the corresponding data processing fault-tolerant instructions.

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

3. The data processing fault-tolerant method based on RFID tags according to claim 2 is characterized in that: The specific steps of S2 include: S21. Based on the pre-processed transmission environment status data and transmission signal strength data, and in combination with the statistical averaging algorithm, obtain the temperature average value within the monitoring period. , humidity mean and the 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; S22. Construct a data transmission interference coefficient Xcs according to the relevant data obtained in S21. The data transmission interference coefficient Xcs is obtained by the following formula: In the formula, is expressed as the mean temperature, It is expressed as the average humidity value, Ddk is expressed as the number of readers with the same frequency, Expressed as the mean RF intensity, , , and Respectively, the mean temperature , humidity mean , the number of same frequency card readers Ddk and the average RF strength The weight value of , A is represented as the correction constant; S23, comparing and analyzing the data transmission interference coefficient Xcs with the 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: If the data transmission interference coefficient Xcs exceeds the interference threshold G, it is determined that there is a risk of transmission error in the process of transmitting 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; 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 at this time.

4. The data processing fault-tolerant method based on RFID tags according to claim 3 is characterized in that: The specific steps of S3 include: S31. After receiving the data integrity check instruction, the RFID tag reader is connected to the target device of the application software system through the RJ45 Ethernet interface, and the RFID tag original data packet Yc is transmitted to the application software system in combination with the radio frequency identification technology and the serial communication protocol, and the RFID tag transmission data sequence packet Dc is obtained in the form of , according to the predefined frame structure, and by demodulating and processing the signal of the RFID tag transmission data sequence packet Dc, a plurality of character strings dc are obtained; wherein each character string is composed of binary data of a fixed byte length; S32, by respectively comparing a plurality of segments of the string dc with a preset polynomial Perform XOR operation on the binary form to obtain the intermediate check value zc corresponding to each string segment, which can be obtained by the following formula: In the formula, Represented as the i-th string, It is represented as the intermediate checksum corresponding to the i-th string. Represented as a bitwise XOR operator, used to check binary differences in data segments. It is expressed as a generating polynomial, which is used to define the verification rules; S33, based on the intermediate check value zc corresponding to each segment of the string, and in combination with the cyclic redundancy check algorithm, construct the RFID tag check data sequence package Gc, the RFID tag check data sequence package Gc is obtained by the following formula: In the formula, It is expressed as the intermediate checksum corresponding to the i-th string character, i=1, 2, 3, ..., n, where n is the number of string characters. It is expressed as 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.

5. The data processing fault-tolerant method based on RFID tags according to claim 4 is characterized in that: The specific steps of S3 also include: S34, compare the obtained RFID tag verification data sequence package Gc 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 the RFID tag verification data sequence package Gc is the same as the RFID tag original data packet Yc, it means that the data of the RFID tag original data packet Yc is complete after transmission. At this time, a data legitimacy fault-tolerant verification instruction will be issued to the outside to further analyze the legitimacy of the transmitted RFID tag data; if the RFID tag verification data sequence package Gc is different from the RFID tag original data packet Yc, it means that the data of the RFID tag original data packet Yc is incomplete after transmission, and a re-reading operation is performed. At this time, no additional data legitimacy fault-tolerant verification instruction is issued.

6. The data processing fault-tolerant method based on RFID tags according to claim 5 is characterized in that: The specific steps of S4 include: S41, after receiving the data legality 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, and obtain the RFID tag number information data; S42, according to the fixed-length segmentation algorithm, use the bit mask to extract the specific bit segment of the RFID tag number information data, and then adjust the bit sequence 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 .

7. The data processing fault-tolerant method based on RFID tags according to claim 6 is characterized in that: 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: In the formula, It is represented by the jth tag number character in the RFID tag number character sequence Zd. It is represented by 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: According to the value of the legality coefficient Xhf obtained in S43, a legality fault-tolerant check of the RFID tag number is performed to determine whether the current RFID tag number is in a legal state. The specific contents are as follows: If the legality coefficient Xhf is equal to 1, it is determined that the current RFID tag number is in a legal state, and a first data processing fault-tolerant instruction is issued and executed, and the execution content is to store the current RFID tag number and the corresponding RFID tag data into the data storage module of the application software system for storage; 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.

8. A data processing fault-tolerant device based on RFID tags, characterized in that: include: The data acquisition module is used to transmit the RFID tag data to the application software system through the serial communication protocol; The data analysis module is used to analyze 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.

9. A data processing fault-tolerant device based on RFID tags, 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 RFID tag-based data processing fault-tolerant method according to any one of claims 1 to 7 is implemented.

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

Citation Information

Patent Citations

  • Security authentication method, device and system for radio frequency identification

    CN101667255A

  • ERP data acquiring and processing method and system based on RFID

    CN104978615A

  • Low-frequency RFID tag chip based on FPGA and data transmission method of low-frequency RFID tag chip

    CN107808187A

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

    CN114595442A

  • Hydraulic single prop digital identity recognition method based on RFID

    CN119129624A

Cited By

  • Automobile electromagnetic compatibility radiation anti-interference test data processing method and system

    CN120123959A

  • Power distribution cabinet safety monitoring system based on remote monitoring

    CN120498831A

  • A power distribution cabinet safety monitoring system based on remote monitoring

    CN120498831B