Anti-channeling reading method and system for radio frequency module

Through the dual encryption mechanism and signal strength detection technology, combined with the dynamic frame time slot Aloha algorithm, the problem of the radio frequency module being susceptible to illegal reading is solved, the security and accuracy of data transmission is achieved, and the stable operation of the system is ensured.

CN118551784BActive Publication Date: 2024-10-22欧科华创自动化(深圳)有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411025984.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-10-22
Estimated Expiration
2044-07-30

AI Technical Summary

Technical Problem

In practical applications, radio frequency modules are vulnerable to the threat of illegal reading, leading to information leakage, data tampering and counterfeit products, affecting information security and system stability.

Method used

Adopting a dual encryption mechanism, including key exchange based on the ECDH algorithm and data encryption with the XTEA algorithm, and by detecting signal strength, using RSSI and optimized Kalman filter algorithms to filter and optimize the signal data, combined with the dynamic frame time slot Aloha algorithm to identify the data and separation to prevent cross reading.

Benefits of technology

Significantly improves the security of data transmission, ensures safe transmission and accurate reading of information, reduces data transmission interruptions or errors caused by signal problems, and improves the security and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118551784B_ABST
    Figure CN118551784B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of radio frequency identification technology, and specifically, to an anti-cross-reading reading method and system for radio frequency modules, comprising the following steps: S1, sending a reading signal, and the electronic tag responds after receiving the reading signal and prepares to transmit data; S2, the encryption end encrypts the data based on a double encryption mechanism and transmits the data; S3, detecting the signal strength, judging that the signal is within the normal range and has not undergone abnormal changes; S4, identifying and separating the data based on the dynamic frame time slot Aloha algorithm; S5, the decryption end decrypts the encrypted data. In the present invention, the double encryption mechanism improves the security of data transmission and also ensures the smoothness of data transmission through signal strength detection, and further improves the accuracy of signal strength detection by optimizing Kalman filtering, providing a guarantee for smooth data reception, and also reduces the cross-reading between electronic notes through an anti-collision algorithm, thereby improving reading efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of radio frequency identification technology, and in particular to an anti-channeling reading method and system for a radio frequency module. Background Art

[0002] As a wireless communication technology, RF technology works by generating radio waves of a specific frequency through a transmitting device. These radio waves carry the information that needs to be transmitted. When the receiving device receives these radio waves, it will perform a series of processes such as demodulation and decoding to obtain the transmitted information. Since RF technology has the advantages of being able to transmit information over long distances and achieve high-speed data transmission, it has been widely used in many fields in modern society. For example, industries such as logistics, warehousing, and retail are inseparable from the support of RF technology.

[0003] However, in actual application scenarios, due to the openness and easy transmission of RF signals, RF modules face the risk of illegal tampering. Illegal tampering may lead to a series of serious problems, such as information leakage, which may allow the company's business secrets or personal privacy information to be obtained by criminals; data tampering may cause the data in the system to lose authenticity and accuracy, thereby affecting the correctness of related decisions; the emergence of counterfeit products will disrupt the market order and harm the interests of consumers. These problems will not only cause economic losses to enterprises, but may also threaten social stability and security.

[0004] Taking the logistics industry as an example, goods are usually equipped with electronic tags to store relevant information, such as the source, destination, and transportation status of the goods. If the information of these electronic tags is illegally read, criminals may be able to grasp the transportation route and time of the goods, thereby stealing or switching the goods. In the retail field, if the price, inventory and other information of the goods are tampered with, it may cause consumers to pay the wrong price, or the merchants may not be able to accurately grasp the inventory situation, affecting normal sales and operations.

[0005] In order to meet these challenges and ensure the safe operation of RF modules, there is an urgent need for an effective anti-tampering reading method and system for RF modules to ensure the safe transmission and accurate reading of information and maintain the stability and reliability of the system. Summary of the invention

[0006] The object of the present invention is to provide a method and system for preventing tampering reading of a radio frequency module, so as to solve the problems raised in the above-mentioned background technology.

[0007] In order to solve the above technical problems, one of the purposes of the present invention is to provide an anti-tampering reading method for a radio frequency module, comprising the following steps:

[0008] S1, sending a read signal, the electronic tag responds after receiving the read signal and prepares to transmit data;

[0009] S2, the encryption end encrypts the data based on the double encryption mechanism and transmits the data;

[0010] S3. Detect signal strength and determine whether the signal is within a normal range and has no abnormal changes;

[0011] S4, identifying and separating data based on dynamic frame time slot Aloha algorithm;

[0012] S5. The decryption end decrypts the encrypted data.

[0013] As a further improvement of the technical solution, the specific steps of encrypting data based on the double encryption mechanism at the encryption end in S2 are:

[0014] S21, key exchange based on ECDH algorithm;

[0015] S22. Encrypt data based on the XTEA algorithm.

[0016] As a further improvement of the technical solution, in S21, the specific steps of performing key exchange based on the ECDH algorithm are:

[0017] S211, determining initial parameters, including a prime number p, coefficients a and b of the elliptic curve equation, a reference point G, an order n, and an auxiliary factor q;

[0018] S212, the encryption end and the decryption end generate their own private key and public key respectively, assuming that the private key and public key of the encryption end are and , the private key and public key of the decryption end are and , and satisfies , , It is the dot product calculation using Montgomery's algorithm;

[0019] S213, the encryption end and the decryption end exchange their respective public keys;

[0020] S214, the encryption end and the decryption end calculate the shared key , .

[0021] As a further improvement of the technical solution, in S22, the specific steps of encrypting data based on the XTEA algorithm are:

[0022] S221, using the shared key obtained in S214 as the encryption key of the XTEA algorithm;

[0023] S222, dividing the encryption key into four 32-bit sub-keys, and dividing the plaintext block into two 32-bit sub-blocks;

[0024] S223. For each sub-block, use four sub-keys to perform encryption operations in a loop.

[0025] As a further improvement of the technical solution, in S3, when detecting the signal strength, RSSI is used as a signal strength indicator, and RSSI data is optimized based on the optimized Kalman filter algorithm. The specific steps are:

[0026] S31. Build system model:

[0027]

[0028]

[0029] in, is the system state at time k, is the system state at time (k-1), A is the parameter matrix of the state model, is the process noise at time k, Assume Gaussian white noise with covariance Q, is the measured value at time k, H is the parameter matrix of the observation model, is the measurement noise at time k, Assume it is Gaussian white noise, and its covariance is R;

[0030] S32, state prediction:

[0031]

[0032] in, is the predicted value at time k, is the state value at time (k-1);

[0033] S33, Error covariance prediction:

[0034]

[0035] in, for The systematic error covariance of for The systematic error covariance of

[0036] S34. Calculate the Kalman gain:

[0037]

[0038] in, is the Kalman gain at time k;

[0039] S35, Status Update:

[0040]

[0041] in, is the state value at time k;

[0042] S36, error covariance update:

[0043]

[0044] in, for The systematic error covariance of

[0045] S37. Assuming that there are a influencing variables in the process noise and b influencing variables in the measurement noise, find the optimal parameters of (a+b) influencing variables based on the improved particle swarm algorithm.

[0046] As a further improvement of the technical solution, in S37, the specific steps of finding the optimal parameters of (a+b) influencing variables based on the improved particle swarm algorithm are:

[0047] S371, population initialization, set the number of individuals, spatial dimension, individual initial position, individual initial speed and maximum number of iterations, spatial dimension D = a + b, the position of the i-th individual is , to represents a influencing variable in the process noise, to represents b influencing variables in the measurement noise;

[0048] S372, calculating fitness;

[0049] S373, update the speed and position, for each particle, there are:

[0050]

[0051]

[0052] Where t is the current iteration number, is the velocity of the ith particle in the dth dimension in the (t+1)th iteration, is the weight of the tth iteration, is the velocity of the ith particle in the dth dimension in the tth iteration, is the individual learning factor of the tth iteration, is the optimal position of the ith particle in the dth dimension in the tth iteration, is the position of the ith particle in the dth dimension in the tth iteration, is the population learning factor of the tth iteration, is the optimal position of all particles in the dth dimension in the tth iteration, is the position of the ith particle in the dth dimension in the (t+1)th iteration, and All in Random numbers within

[0053] S374, update weights and learning factors, there are:

[0054]

[0055]

[0056]

[0057]

[0058]

[0059] in, and are the maximum and minimum weights set respectively. is the maximum number of iterations, is the average value of all particles in the dth dimension in the tth iteration, n is the number of individuals, is the variance of all particles in the tth iteration, To set the maximum variance, and are the maximum and minimum values ​​of the individual learning factors set, and are the maximum and minimum values ​​of the set group learning factor respectively;

[0060] S375. Update individual positions based on the golden sine algorithm:

[0061]

[0062] Among them, p is the probability of an individual updating its position based on the golden sine algorithm, for A random number, for A random number, and are all setting coefficients, is the golden ratio number, is the absolute value operation;

[0063] S376. Determine the termination condition and terminate when the number of iterations reaches or the set number of iterations outputs the same result.

[0064] As a further improvement of the technical solution, in S372, the specific algorithm for calculating the fitness is:

[0065]

[0066] Among them, g is the objective function, and the larger the g value, the higher the fitness, L is the measurement time length, is the measured value at time k, is the data value after being optimized by the optimized Kalman filter algorithm.

[0067] As a further improvement of the present technical solution, in S3, when detecting the signal strength, the basis for judging whether the signal is within the normal range and whether abnormal changes occur includes fixed threshold judgment and trend judgment. In the fixed threshold judgment, upper and lower limits of the signal strength are set. When the signal strength is within the upper and lower limits of the signal strength, data is received normally. In the trend judgment, upper and lower limits of the trend are set. When the signal change speed is within the upper and lower limits of the trend, data is received normally.

[0068] As a further improvement of the technical solution, in S4, a hash function is used to allocate time slots. For each electronic tag, a hash value is calculated using a hash function, and then the electronic tag is allocated to different time slots according to the hash value.

[0069] The second object of the present invention is to provide an anti-tampering reading system for a radio frequency module, which is used to implement the steps of the anti-tampering reading method for the radio frequency module, including:

[0070] Radio frequency module; used to send reading signals;

[0071] Tag module; including multiple electronic tags for storing and sending data;

[0072] Encryption module: encrypts data based on double encryption mechanism;

[0073] Signal strength monitoring module: used to detect signal strength and decide whether to receive data;

[0074] Anti-cross-reading module; used to identify and separate data;

[0075] Decryption module: used by the decryption end to decrypt the encrypted data.

[0076] Compared with the prior art, the present invention has the following beneficial effects:

[0077] In the anti-channeling reading method and system for the radio frequency module,

[0078] 1. The anti-tampering reading method and system for the radio frequency module uses a dual encryption mechanism, including key exchange based on the ECDH algorithm and data encryption based on the XTEA algorithm, which greatly improves the security of data transmission, effectively prevents data from being illegally stolen or tampered with, and improves the security of data transmission;

[0079] 2. In the anti-channeling reading method and system for the radio frequency module, by detecting the signal strength, it is determined whether the signal is within the normal range and has not undergone abnormal changes. Data is received only when the signal is normal, thereby ensuring the smoothness of data transmission and reducing data transmission interruptions or errors caused by signal problems;

[0080] 3. In the anti-channeling reading method and system for the radio frequency module, RSSI is used as the signal strength indicator, and the RSSI data is optimized based on the optimized Kalman filter algorithm, which further improves the accuracy of signal strength detection and provides a more reliable guarantee for smooth data reception;

[0081] 4. In the anti-cross-reading reading method and system for the radio frequency module, the data is identified and separated based on the dynamic frame time slot Aloha algorithm, which reduces the cross-reading phenomenon between electronic notes, improves the reading efficiency, and ensures that the data of each electronic tag can be read accurately and timely;

[0082] 5. This anti-cross-reading reading method and system for the radio frequency module uses a variety of technical means to provide comprehensive protection from data encryption, signal detection to anti-cross-reading and other aspects, greatly improving the security and reliability of the system, and can effectively respond to security threats such as illegal cross-reading, protecting information security and stable operation of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0083] Figure 1 It is the overall flow chart of the reading method in the present invention;

[0084] Figure 2 It is the overall structural diagram of the reading system in the present invention.

[0085] The meanings of the marks in the figure are as follows: 100, radio frequency module; 200, tag module; 300, encryption module; 400, signal strength monitoring module; 500, anti-cross-reading module; 600, decryption module. DETAILED DESCRIPTION

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

[0087] like Figure 1 As shown, this embodiment provides an anti-tampering reading method for a radio frequency module, comprising the following steps:

[0088] S1. Send a read signal. After receiving the read signal, the electronic tag responds and prepares to transmit data. Electronic tags usually include active and passive ones. Active electronic tags use their own power supply, while passive electronic tags obtain energy.

[0089] S2, the encryption end encrypts data based on a double encryption mechanism to improve the security of data transmission and transmits data;

[0090] S3. Detect signal strength and determine whether the signal is within the normal range and has no abnormal changes. Only when it is determined to be normal will data reception begin to ensure safe and smooth data transmission.

[0091] S4, identify and separate data based on dynamic frame time slot Aloha algorithm to prevent cross-reading;

[0092] S5. The decryption end decrypts the encrypted data.

[0093] In this embodiment, the specific steps of encrypting data based on the double encryption mechanism at the encryption end in S2 are:

[0094] S21, key exchange based on ECDH algorithm;

[0095] In S21, the specific steps for key exchange based on the ECDH algorithm are:

[0096] S211, determine the initial parameters, including the prime number p, the coefficients a and b of the elliptic curve equation, the reference point G, the order n, the auxiliary factor q, and assume that the elliptic curve is , where mod is the modulus operation. Let a=2, b=3, p=17, G=(5,1), then the elliptic curve is ;

[0097] S212, the encryption end and the decryption end generate their own private key and public key respectively, assuming that the private key and public key of the encryption end are and , the private key and public key of the decryption end are and , and satisfies , , To calculate the dot product using Montgomery's algorithm, let , then we can calculate ,set up , then we can calculate ;

[0098] S213, the encryption end and the decryption end exchange their respective public keys;

[0099] S214, the encryption end and the decryption end calculate the shared key , ,but ;

[0100] S22, encrypting data based on XTEA algorithm;

[0101] In S22, the specific steps of encrypting data based on the XTEA algorithm are:

[0102] S221, using the shared key obtained in S214 as the encryption key of the XTEA algorithm;

[0103] S222, dividing the encryption key into four 32-bit sub-keys, and dividing the plaintext block into two 32-bit sub-blocks;

[0104] S223. For each sub-block, use four sub-keys to perform encryption operations in a cycle to ensure that each sub-key can participate in the encryption process.

[0105] In this embodiment, in S3, when detecting the signal strength, RSSI is used as a signal strength indicator, and RSSI data is filtered and optimized based on an optimized Kalman filter algorithm, and RSSI data is obtained using a sensor. The specific steps are:

[0106] S31. Build system model:

[0107]

[0108]

[0109] in, is the system state at time k, is the system state at time (k-1), A is the parameter matrix of the state model, is the process noise at time k, Assume Gaussian white noise with covariance Q, is the measured value at time k, H is the parameter matrix of the observation model, is the measurement noise at time k, Assume it is Gaussian white noise, and its covariance is R;

[0110] S32, state prediction:

[0111]

[0112] in, is the predicted value at time k, is the state value at time (k-1);

[0113] S33, Error covariance prediction:

[0114]

[0115] in, for The systematic error covariance of for The systematic error covariance of

[0116] S34. Calculate the Kalman gain:

[0117]

[0118] in, is the Kalman gain at time k;

[0119] S35, Status Update:

[0120]

[0121] in, is the state value at time k;

[0122] S36, error covariance update:

[0123]

[0124] in, for The systematic error covariance of

[0125] S37. Assuming that there are a influencing variables in the process noise and b influencing variables in the measurement noise, find the optimal parameters of (a+b) influencing variables based on the improved particle swarm algorithm;

[0126] In S37, the specific steps of finding the optimal parameters of (a+b) influencing variables based on the improved particle swarm algorithm are:

[0127] S371, population initialization, set the number of individuals, spatial dimension, individual initial position, individual initial speed and maximum number of iterations, spatial dimension D = a + b, the position of the i-th individual is , to represents a influencing variable in process noise. Process noise is noise that cannot be predicted when the system changes and whose source is unknown. to represents the b influencing variables in the measurement noise. The measurement noise is the error superposition of the sensor. Each position represents a feasible solution. Assuming that the a influencing variables and the b influencing variables are independent of each other, a=2, b=2, the corresponding process noise covariance Q and measurement noise covariance R are:

[0128]

[0129]

[0130] in, and are the variances of the two influencing variables in the process noise, and are the variances of the two influencing variables in the measurement noise, respectively;

[0131] Thus, the dimension D = a + b = 4, and the position of the i-th individual is , and represents the variance of the two influencing variables in the process noise, and represents the variance of the two influencing variables in the measurement noise;

[0132] S372, calculate fitness, the specific algorithm for calculating fitness is:

[0133]

[0134] Among them, g is the objective function, and the larger the g value, the higher the fitness, L is the measurement time length, is the measured value at time k, is the data value after being filtered and optimized by the optimized Kalman filter algorithm;

[0135] S373, update the speed and position, for each particle, there are:

[0136]

[0137]

[0138] Where t is the current iteration number, is the velocity of the ith particle in the dth dimension in the (t+1)th iteration, is the weight of the tth iteration, is the velocity of the ith particle in the dth dimension in the tth iteration, is the individual learning factor of the tth iteration, is the optimal position of the ith particle in the dth dimension in the tth iteration, is the position of the ith particle in the dth dimension in the tth iteration, is the population learning factor of the tth iteration, is the optimal position of all particles in the dth dimension in the tth iteration, is the position of the ith particle in the dth dimension in the (t+1)th iteration, and All in Random numbers within

[0139] S374, update weights and learning factors, there are:

[0140]

[0141]

[0142]

[0143]

[0144]

[0145] in, and are the maximum and minimum weights set respectively. is the maximum number of iterations, is the average value of all particles in the dth dimension in the tth iteration, n is the number of individuals, is the variance of all particles in the tth iteration, To set the maximum variance, and are the maximum and minimum values ​​of the individual learning factors set, and are the maximum and minimum values ​​of the set group learning factor, respectively. The adaptive weight is larger in the early stage, which is conducive to global search, and smaller in the later stage, which is conducive to local search. The individual learning factor and the group learning factor are based on the population diversity change, using variance Represents population diversity, variance When it becomes larger, it means that the population diversity is good, the individual learning factor increases, the group learning factor decreases, the local search ability is strengthened, and the variance When it becomes smaller, it means that the population diversity is poor, the individual learning factor decreases, the group learning factor increases, and the global search ability is strengthened;

[0146] Assumptions , , , , , , , , , then the formula is transformed into:

[0147]

[0148]

[0149]

[0150]

[0151] ;

[0152] S375. Update individual positions based on the golden sine algorithm:

[0153]

[0154] Among them, p is the probability of an individual updating its position based on the golden sine algorithm. The probability gradually decreases with the number of iterations, making it easier to update the position in the early stage and to jump out of the local optimal solution. for A random number, for A random number, and are all setting coefficients, is the golden ratio number, is the absolute value operation;

[0155] S376. Determine the termination condition and terminate when the number of iterations reaches or the set number of iterations outputs the same result.

[0156] In this embodiment, in S3, when detecting the signal strength, the basis for judging whether the signal is within the normal range and whether abnormal changes occur includes fixed threshold judgment and trend judgment. In the fixed threshold judgment, the upper and lower limits of the signal strength are set. When the signal strength is within the upper and lower limits of the signal strength, the data is received normally, the normal range of the signal strength is clear, and normal data can be obtained. Abnormal data can also be identified to facilitate timely troubleshooting. In the trend judgment, the upper and lower limits of the trend are set. When the signal change speed is within the upper and lower limits of the trend, it indicates that the signal strength is in a stable state and data is received normally. The focus is on judging the changing trend of the signal strength. By comprehensively considering the fixed threshold judgment and the trend judgment, the signal status can be comprehensively and accurately evaluated, thereby ensuring the stability and security of data reception.

[0157] In this embodiment, a hash function is used to allocate time slots in S4. The selection conditions of the hash function include: satisfying the requirement that the electronic tags can be evenly mapped to different time slots, the calculation of the hash function is as simple and fast as possible, good hash characteristics, easy adjustment of parameters and strong adaptability. For each electronic tag, a hash function is used to calculate its hash value, and then the electronic tag is allocated to different time slots according to the hash value. Thereafter, the dynamic frame time slot Aloha algorithm is used to prevent cross-reading.

[0158] like Figure 2 As shown, this embodiment also provides an anti-tampering reading system for a radio frequency module, which is used to implement the steps of the anti-tampering reading method for a radio frequency module, including:

[0159] Radio frequency module 100; used for sending a read signal;

[0160] The tag module 200 includes a plurality of electronic tags for storing and sending data;

[0161] Encryption module 300: encrypts data based on a double encryption mechanism;

[0162] Signal strength monitoring module 400; used to detect signal strength and decide whether to receive data;

[0163] Anti-cross-reading module 500; used for identifying and separating data;

[0164] Decryption module 600: used by the decryption end to decrypt the encrypted data.

[0165] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. The anti-channeling reading method for the radio frequency module is characterized in that: The steps include: S1, sending a read signal, the electronic tag responds after receiving the read signal and prepares to transmit data; S2, the encryption end encrypts the data based on the double encryption mechanism and transmits the data; S3. Detect signal strength and determine whether the signal is within a normal range and has no abnormal changes; S4, identifying and separating data based on dynamic frame time slot Aloha algorithm; S5. The decryption end decrypts the encrypted data; The specific steps of encrypting data based on the double encryption mechanism in the encryption end of S2 are: S21, key exchange based on ECDH algorithm; S22, encrypting data based on XTEA algorithm; In S21, the specific steps of performing key exchange based on the ECDH algorithm are: S211, determining initial parameters, including a prime number p, coefficients a and b of the elliptic curve equation, a reference point G, an order n, and an auxiliary factor q; S212, the encryption end and the decryption end generate their own private key and public key respectively, assuming that the private key and public key of the encryption end are and , the private key and public key of the decryption end are and , and satisfies , , It is the dot product calculation using Montgomery's algorithm; S213, the encryption end and the decryption end exchange their respective public keys; S214, the encryption end and the decryption end calculate the shared key , ; In S22, the specific steps of encrypting data based on the XTEA algorithm are: S221, using the shared key obtained in S214 as the encryption key of the XTEA algorithm; S222, dividing the encryption key into four 32-bit sub-keys, and dividing the plaintext block into two 32-bit sub-blocks; S223, for each sub-block, use four sub-keys to perform encryption operation cyclically; In S3, when detecting the signal strength, RSSI is used as a signal strength indicator, and RSSI data is filtered and optimized based on an optimized Kalman filter algorithm. The specific steps are: S31. Build system model: ; ; in, is the system state at time k, is the system state at time (k-1), A is the parameter matrix of the state model, is the process noise at time k, Assume Gaussian white noise with covariance Q, is the measured value at time k, H is the parameter matrix of the observation model, is the measurement noise at time k, Assume it is Gaussian white noise, and its covariance is R; S32, state prediction: ; in, is the predicted value at time k, is the state value at time (k-1); S33, Error covariance prediction: ; in, for The systematic error covariance of for The systematic error covariance of S34. Calculate the Kalman gain: ; in, is the Kalman gain at time k; S35, Status Update: ; in, is the state value at time k; S36, error covariance update: ; in, for The systematic error covariance of S37. Assuming that there are a influencing variables in the process noise and b influencing variables in the measurement noise, find the optimal parameters of (a+b) influencing variables based on the improved particle swarm algorithm; In S37, the specific steps of finding the optimal parameters of (a+b) influencing variables based on the improved particle swarm algorithm are: S371, population initialization, set the number of individuals, spatial dimension, individual initial position, individual initial speed and maximum number of iterations, spatial dimension D = a + b, the position of the i-th individual is , to represents a influencing variable in the process noise, to represents b influencing variables in the measurement noise; S372, calculating fitness; S373, update the speed and position, for each particle, there are: ; ; Where t is the current iteration number, is the velocity of the ith particle in the dth dimension in the (t+1)th iteration, is the weight of the tth iteration, is the velocity of the ith particle in the dth dimension in the tth iteration, is the individual learning factor of the tth iteration, is the optimal position of the ith particle in the dth dimension in the tth iteration, is the position of the ith particle in the dth dimension in the tth iteration, is the population learning factor of the tth iteration, is the optimal position of all particles in the dth dimension in the tth iteration, is the position of the ith particle in the dth dimension in the (t+1)th iteration, and All in Random numbers within S374, update weights and learning factors, there are: ; ; ; ; ; in, and are the maximum and minimum weights set respectively. is the maximum number of iterations, is the average value of all particles in the dth dimension in the tth iteration, n is the number of individuals, is the variance of all particles in the tth iteration, To set the maximum variance, and are the maximum and minimum values ​​of the individual learning factors set, and are the maximum and minimum values ​​of the set group learning factor respectively; S375. Update individual positions based on the golden sine algorithm: ; ; ; ; ; Among them, p is the probability of an individual updating its position based on the golden sine algorithm, for A random number, for A random number, and are all setting coefficients, is the golden ratio number, is the absolute value operation; S376, judging the termination condition, terminating when the number of iterations reaches or the set number of iterations output the same result; In S372, the specific algorithm for calculating fitness is: ; Among them, g is the objective function, and the larger the g value, the higher the fitness, L is the measurement time length, is the measured value at time k, is the data value after being optimized by the optimized Kalman filter algorithm.

2. The anti-tampering reading method for a radio frequency module according to claim 1, characterized in that: In S3, when detecting the signal strength, the basis for judging whether the signal is within the normal range and whether abnormal changes occur includes fixed threshold judgment and trend judgment. In the fixed threshold judgment, upper and lower limits of the signal strength are set. When the signal strength is within the upper and lower limits of the signal strength, data is received normally. In the trend judgment, upper and lower limits of the trend are set. When the signal change speed is within the upper and lower limits of the trend, data is received normally.

3. The anti-tampering reading method for a radio frequency module according to claim 2, characterized in that: In S4, a hash function is used to allocate time slots. For each electronic tag, a hash value is calculated using a hash function, and then the electronic tag is allocated to different time slots according to the hash value.

4. An anti-tampering reading system for a radio frequency module, used to implement the steps of the anti-tampering reading method for a radio frequency module according to any one of claims 1 to 3, characterized in that: include: A radio frequency module (100); used for sending a reading signal; The tag module (200) comprises a plurality of electronic tags and is used for storing and sending data; Encryption module (300): encrypts data based on a double encryption mechanism; A signal strength monitoring module (400); used to detect signal strength and decide whether to receive data; Anti-cross-reading module (500); used for identifying and separating data; Decryption module (600): used by the decryption end to decrypt the encrypted data.