An RFID reader working control method, device and medium

By hashing the MAC addresses of industrial equipment to generate encrypted identity codes, analyzing communication characteristics, monitoring traffic in real time, and using edge computing to generate sleep time slot control parameters, the timing of the reader is dynamically adjusted. This solves the problems of low communication efficiency and high power consumption of RFID readers in high-density environments, and improves real-time performance and reliability.

CN121234963BActive Publication Date: 2026-03-24CENTURY ZHONGKE (BEIJING) TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-19
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

In high-density tagging and complex industrial environments, the time slot allocation mechanism of existing RFID readers is difficult to dynamically adapt to changes in communication traffic, resulting in reduced communication efficiency and frequent collisions. Furthermore, the balance between dynamic adjustment and increased power consumption has not been effectively resolved.

Method used

By hashing the MAC addresses of industrial equipment to generate encrypted identity codes, updating communication logs, analyzing communication characteristics to generate equipment type weight tables, monitoring RFID tag traffic in real time, using edge computing matching analysis to generate sleep time slot control parameters, combining frequency band conflict avoidance scheduling instructions, dynamically adjusting the start and stop sequence of readers, and recovering radio frequency energy.

Benefits of technology

It effectively solves the problems of decreased communication efficiency and frequent collisions in high-density industrial environments, improves communication real-time performance and reliability, reduces ineffective energy consumption, and achieves a synergistic balance between dynamic performance improvement and power consumption optimization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121234963B_ABST
    Figure CN121234963B_ABST
Patent Text Reader

Abstract

The application discloses an RFID reader and writer working control method, equipment and medium, relates to the radio frequency identification technology field, and comprises the following steps: carrying out hash operation on the MAC address of an industrial equipment, obtaining an encrypted identity code, writing the encrypted identity code into an RFID tag, and updating a communication log; analyzing the updated communication log, obtaining a communication feature, and determining a device type weight table based on the communication feature; using a signal collector to monitor the RFID tag in the antenna field of the reader and writer in real time, and obtaining a dynamic flow distribution data set; matching and analyzing the dynamic flow distribution data set through an edge computing node and the device type weight table, generating a sleep time slot control parameter, and rolling back the unmatched dynamic flow distribution data. The application effectively solves the problems of efficiency reduction and conflict frequent occurrence caused by communication flow mutation in a high-density industrial environment, and overcomes the contradiction between dynamic adjustment and power consumption reduction.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of radio frequency identification technology, and in particular to a RFID reader and writer operation control method, device and medium. BACKGROUND

[0002] In the field of radio frequency identification technology, the operation control of the reader and writer is mainly realized by the following methods: tag identification and data interaction are performed through a preset time slot allocation mechanism; the reader and writer usually periodically scan tags through an antenna to obtain signal strength and response data, and generate communication state information; frequency band management is usually based on fixed channel allocation, combined with time division multiple access mechanism to reduce conflicts; communication logs record time stamps and tag identifiers for basic statistics; electromagnetic waves are optimized through shielding, filtering technology and adjusting signal strength.

[0003] However, the above methods have the following problems: in a high-density tag and complex industrial environment, the preset time slot allocation mechanism is difficult to dynamically adapt to communication flow changes, resulting in reduced communication efficiency or frequent conflicts; the balance between dynamic adjustment and power consumption improvement is not effectively solved. SUMMARY

[0004] In view of the above existing problems, the present application is proposed.

[0005] Therefore, the present application provides a RFID reader and writer operation control method to solve the problems of difficulty in dynamically adapting to communication flow changes and the balance between dynamic adjustment and power consumption improvement in a high-density tag and complex industrial environment.

[0006] To solve the above technical problems, the present application provides the following technical solutions:

[0007] In a first aspect, the present application provides a RFID reader and writer operation control method, which includes: performing a hash operation on the MAC address of an industrial device to obtain an encrypted identity code, and writing the encrypted identity code into a RFID tag and updating a communication log;

[0008] Analyzing the updated communication log to obtain communication characteristics, and determining a device type weight table based on the communication characteristics;

[0009] Using a signal collector to monitor RFID tags in the field of the reader and writer antenna in real time to obtain a dynamic flow distribution data set;

[0010] Matching and analyzing the dynamic flow distribution data set through an edge computing node and the device type weight table to generate a sleep time slot control parameter, and performing a rollback on the unmatched dynamic flow distribution data;

[0011] The frequency band conflict is avoided by combining the dynamic traffic distribution data set with the frequency band occupation monitoring, the conflict avoidance scheduling instruction is obtained, and the standby frequency band is switched when the conflict exceeds the limit;

[0012] The sleep time slot control parameter is combined with the conflict avoidance scheduling instruction to dynamically adjust the start-stop timing of the RFID reader, and the microcircuit recycles the radio frequency energy.

[0013] As a preferred scheme of the RFID reader operation control method, the industrial equipment MAC address is subjected to a hash operation to obtain an encrypted identity code, and the encrypted identity code is written into the RFID tag to update the communication log, and the specific steps are as follows,

[0014] The industrial equipment MAC address is obtained, and the SHA-256 algorithm is used to perform a hash operation on the industrial MAC address to obtain an encrypted identity code of a fixed length;

[0015] The fixed-length encrypted identity code is verified to obtain an encrypted identity code that meets the RFID tag storage specification;

[0016] The integrity of the encrypted identity code that meets the RFID tag storage specification is checked and the communication log is updated;

[0017] If the check is successful, the encrypted identity code that meets the RFID tag storage specification is written into the storage area of the RFID tag through the write interface of the RFID reader;

[0018] If the check fails, the write is terminated, a limited number of automatic retries is started, and if the check still fails after the retries, external intervention is waited for.

[0019] As a preferred scheme of the RFID reader operation control method, the updated communication log is analyzed to obtain communication characteristics, and the device type weight table is determined using the communication characteristics, and the specific steps are as follows,

[0020] The communication delay and data volume are calculated using the time stamp, communication frequency and data packet length of each communication in the updated communication log;

[0021] The communication delay and data volume are cleaned to generate a communication feature set;

[0022] The device type weight table is generated by applying a clustering analysis algorithm to process the communication feature set.

[0023] As a preferred scheme of the RFID reader operation control method, a signal collector is used to monitor the RFID tags in the reader antenna field in real time to obtain a dynamic traffic distribution data set, and the specific steps are as follows,

[0024] The signal collector is configured to scan RFID tags in the field of the reader-writer antenna and collect signal data in real time;

[0025] The signal data is signal strength, RFID tag response state and the number of successfully responding RFID tags;

[0026] The signal data is processed in real time to generate a dynamic traffic distribution data set.

[0027] As a preferred scheme of the RFID reader operation control method, wherein:

[0028] The dynamic traffic distribution data set is matched and analyzed by the edge computing node and the device type weight table to generate sleep time slot control parameters, and the unmatched dynamic traffic distribution data is rolled back, and the specific steps are as follows,

[0029] Load the device type weight table to the edge computing node, and match and analyze the dynamic traffic distribution data set based on the device type weight table to obtain a matching result;

[0030] When the matching result is a match, the industrial equipment priority matching value is calculated, and the industrial equipment priority matching value is analyzed for sleep time slots to generate sleep time slot control parameters;

[0031] When the matching result is a match failure, the unmatched dynamic traffic distribution data is rolled back to generate default sleep time slot control parameters.

[0032] As a preferred scheme of the RFID reader operation control method, wherein:

[0033] The conflict avoidance scheduling instruction is obtained, and the standby frequency band is switched when the conflict exceeds the limit, and the specific steps are as follows,

[0034] The dynamic traffic distribution data set is analyzed in combination with signal strength and frequency band occupancy to calculate a frequency band interference coefficient;

[0035] The sleep time slot control parameters are distributed in combination with the interference coefficient and the device type weight table to generate a conflict avoidance scheduling instruction, and the standby frequency band is switched when the conflict exceeds the limit;

[0036] The conflict exceeds the limit when any one of the packet loss rate, the frequency band interference coefficient and the number of consecutive conflicts is greater than the limit threshold.

[0037] As a preferred scheme of the RFID reader operation control method, wherein: the start-stop timing of the RFID reader is dynamically adjusted in combination with the sleep time slot control parameters and the conflict avoidance scheduling instruction, and the specific steps are as follows,

[0038] Integrate the dormant time slot control parameter and the conflict avoidance scheduling instruction to generate a reader timing adjustment value;

[0039] Verify the parameter consistency of the reader timing adjustment value, obtain an adjustment instruction, and apply the adjustment instruction to dynamically control the start and stop state of the reader.

[0040] As a preferred scheme of the RFID reader operation control method, the integrated microcircuit recovers radio frequency energy, and the specific steps are as follows,

[0041] The rectifier antenna is used to capture the backscattering energy and residual radio frequency components of the tags in the reader antenna field, and collect radio frequency energy;

[0042] The microcircuit converts the collected radio frequency energy to generate direct current energy, and the power manager stores the direct current energy.

[0043] In a second aspect, the present application provides a computer device comprising a memory and a processor, the memory storing a computer program, wherein the computer program is executed by the processor to implement any step of the RFID reader operation control method according to the first aspect of the present application.

[0044] In a third aspect, the present application provides a computer readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement any step of the RFID reader operation control method according to the first aspect of the present application.

[0045] The present application has the following advantages: by generating a flow distribution data set and matching the device weight table based on edge computing, the reader dormant time slot is adaptively adjusted, effectively solving the problem of efficiency decline and conflict frequent caused by communication flow mutation in high-density industrial environment, improving the real-time and reliability of reader communication. At the same time, through the intelligent start-stop scheduling and conflict avoidance mechanism, the invalid energy consumption is reduced, and the electromagnetic wave recovery microcircuit is combined to supplement the energy, further improving the energy utilization efficiency, and fundamentally realizing the synergistic balance of dynamic performance improvement and power consumption optimization, overcoming the contradiction between dynamic adjustment and power consumption reduction. BRIEF DESCRIPTION OF DRAWINGS

[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without creating any creative labor.

[0047] Fig. 1 The flowchart of the RFID reader operation control method.

[0048] Fig. 2 Flowchart for generating and writing encrypted identity code.

[0049] Fig. 3 Flowchart for generating device type weight table.

[0050] Fig. 4 Flowchart for dynamic timing adjustment and conflict avoidance. DETAILED DESCRIPTION

[0051] In order to make the above objectives, features and advantages of the present application more obvious and easy to understand, the specific embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0052] In the following description, a large number of specific details are set forth in order to facilitate a thorough understanding of the present application, but the present application can also be implemented in other ways different from those described herein, and those skilled in the art can make similar generalizations without departing from the spirit of the present application, therefore the present application is not limited to the specific embodiments disclosed below.

[0053] Secondly, the "one embodiment" or "embodiment" referred to herein means that the specific features, structures or characteristics can be included in at least one implementation of the present application. "In one embodiment" appearing in different places in the specification does not mean the same embodiment, nor is it an independent or alternative embodiment that excludes other embodiments.

[0054] Reference Figs. 1-4 For one embodiment of the present application, the embodiment provides an RFID reader and writer working control method, comprising the following steps:

[0055] S1, performing a hash operation on the MAC address (Media Access Control Address, usually referred to as physical address or hardware address) of the industrial equipment to obtain an encrypted identity code, and writing the encrypted identity code into an RFID (Radio Frequency Identification) tag and updating a communication log.

[0056] Obtain the MAC address of the industrial equipment.

[0057] Specifically, the unique MAC address of the industrial equipment should be read from the industrial equipment through a program interface such as an SNMP protocol, an OPC UA protocol or a special SDK provided by the equipment manufacturer.

[0058] It should be noted that the MAC address of the industrial equipment is globally unique and is the most reliable root identity identifier for identifying the industrial equipment. The standard protocol or official SDK is selected for reading in order to ensure the accuracy and reliability of the data source and to avoid manual input errors.

[0059] The SHA-256 algorithm is used to perform hash operation on the industrial MAC address to obtain an encrypted identity code with fixed length.

[0060] Specifically, the read MAC address string is taken as input data and sent to the SHA-256 hash algorithm engine for operation to generate a fixed-length hash value summary with a length of 256 bits (32 bytes) as the encrypted identity code with fixed length.

[0061] It should be noted that the output of the SHA-256 algorithm is a fixed 32-byte output length, which is convenient for subsequent unified processing and storage planning. The SHA-256 algorithm is used based on its strong collision resistance and pre-image attack resistance, which can effectively ensure that the encrypted identity code cannot be reversely deduced from the original MAC address, protecting the privacy of the device.

[0062] The fixed-length encrypted identity code is verified to obtain an encrypted identity code that meets the RFID tag storage specification. Specifically, the generated 32-byte hash value is verified, the first step is length verification to ensure that the hash value is exactly 32 bytes, and the second step is character set verification on the generated 32-byte hash value to ensure that the generated 32-byte hash value contains only 0 to 9 and A to F characters. After verification, according to the storage capacity of the RFID tag, the first N bits of the generated 32-byte hash value are taken as the encrypted identity code that meets the specification; if the verification is unsuccessful, an exception record and an alarm are generated.

[0063] It should be noted that the verification step is to ensure data integrity and prevent errors during operation or transmission. Truncating the hash value according to the physical storage capacity of the RFID tag is a common engineering practice aimed at balancing security and cost. The first half is truncated because the avalanche effect of the SHA-256 algorithm ensures that any small change in the input will result in a completely different output hash value, so the first half already has sufficient uniqueness and randomness. The length of the truncated part needs to strictly match the capacity of the physical storage area of the tag to avoid overflow or space waste.

[0064] The encrypted identity code that meets the RFID tag storage specification is written into the storage area of the RFID tag through the write interface of the RFID reader / writer, and the integrity of the encrypted identity code that meets the RFID tag storage specification is checked and the communication log is updated.

[0065] Specifically, the final processed encrypted identity code is written into the designated storage area of the RFID tag by the write command provided by the reader. After writing, a read-out should be performed immediately to compare the read-out data with the encrypted identity code that meets the RFID tag storage specification to determine whether they are completely consistent. If they are completely consistent, a new record is added to the communication log; if they are not completely consistent, the writing is performed again for a limited number of times, and within the number limit, the record in the communication log is updated, and if the number exceeds, it is discarded.

[0066] It should be noted that the post-writing verification is a step to ensure reliable writing of data, which can detect writing errors caused by tag damage, signal interference, etc. The record content of the communication log should at least include the timestamp, reader ID, target RFID tag ID, written encrypted identity code, result (success / failure), communication frequency, and data packet length of each communication. When the number of writing is greater than 3 times, the final processed encrypted identity code to be written will accumulate, so the limited number of times is preferably less than or equal to 3 times.

[0067] S2, analyze the updated communication log to obtain communication characteristics, and determine the device type weight table based on the communication characteristics.

[0068] The communication delay and data volume are calculated using the timestamp, communication frequency, and data packet length in the updated communication log. Specifically, from the communication log, group by device ID (i.e. encrypted identity code), extract the timestamp, data packet length, and result. For each result marked as "success", calculate the communication delay by subtracting the request timestamp from the response timestamp; divide the number of communications within a time window by the size of the time window to obtain the communication frequency; sum the data packet length of each communication in all communication records of a device within a time window to obtain the data volume.

[0069] It should be noted that the communication delay directly reflects the real-time communication requirements of the device, while the data volume and frequency together define the communication scale and behavior pattern of the device. The combination of the three can comprehensively depict the communication characteristics of a device from the dimensions of timeliness and traffic volume. The time window is usually selected as 1 hour as the basic window, and the basis is that it can capture the production rhythm changes with shifts and hours as the period, and at the same time, it will not be unable to eliminate random fluctuations due to less than one hour, or will mask the details changes due to more than one hour. For scenarios that need to analyze long-term trends, secondary aggregation of more than one hour can be performed.

[0070] The communication delay and data volume are cleaned to generate a communication feature set. Specifically, the data cleaning includes outlier processing, missing value processing, and data standardization; the communication delay and data volume of each device after cleaning are arranged according to a time window to form a communication feature matrix, that is, a communication feature set. The Tukey's Fences method is used for outlier processing, and the normal value range is defined according to the theoretical parameters of the reader and the RFID, and the values outside the range are replaced with the median in the window. For continuous missing windows, the linear trend of the feature values of the previous and subsequent valid windows is completed, and linear interpolation is performed on the time series.

[0071] A clustering analysis algorithm is applied to process the communication feature set to generate a device type weight table. Specifically, an unsupervised machine learning clustering algorithm is used to divide a large number of devices into several clusters according to the similarity of device communication features, and each cluster represents a device type with similar communication behavior patterns. For each cluster, the cluster center vector of all features in the cluster is calculated, which defines the communication behavior features of the devices with similar communication behavior patterns. According to the communication behavior features of each cluster, a sleep priority weight and a cluster ID are assigned to it. The weight assignment rule is: for device clusters with high communication frequency and low delay requirement, a high priority (high weight value) is given, which means that the corresponding reader antenna should reduce sleep; on the contrary, for device clusters with low communication frequency and high tolerable delay (such as periodic reporting sensors), a low priority (low weight value) is given, and the antenna can increase the sleep time. Through the device type identifier (cluster ID) and the sleep priority weight, a mapping table, that is, a device type weight table, is generated.

[0072] It should be noted that the clustering analysis algorithm can be K-Means++ or DBSCAN. The K-Means++ algorithm is simple and efficient, and is suitable for scenarios with low feature dimension, approximately spherical cluster shape, and approximately predictable cluster number K. The cluster number K in the updated communication log can be determined by the elbow rule or the silhouette coefficient method. The DBSCAN algorithm does not need to specify the cluster number in advance, can automatically discover clusters of any shape, and can identify outliers, which is particularly suitable for scenarios where it is not clear how many types of device communication exist in the industrial site, and has higher automation.

[0073] S3, using a signal collector to monitor RFID tags in the reader antenna field in real time to obtain a dynamic flow distribution data set.

[0074] The signal data is the signal strength, the RFID tag response state, and the number of successfully responding RFID tags.

[0075] The signal collector is configured to scan RFID tags in the field of the reader antenna and collect signal data in real time.

[0076] Specifically, the signal collector is composed of the RF front-end chip of the RFID reader and its matching antenna. The signal collector is configured to work in the required UHF frequency band. Through the firmware or driver software of the reader, the RF front-end is controlled to send query instructions in a periodic polling or event-triggered manner to scan all RFID tags conforming to the protocol in the field. In each polling cycle, the response of the RFID tags is listened to and recorded.

[0077] It should be noted that directly using the RF front-end of the reader itself as the signal collector is the most economical and efficient solution. Without additional hardware costs, the signal information of the physical layer and the link layer can be obtained originally, which is the basis for realizing real-time monitoring. The signal strength, the response state of the RFID tag and the number of successfully responding RFID tags are selected because they define the dynamic situation in the field from different dimensions. The signal strength (RSSI) is used to perceive the physical position change and channel quality of the tag. The response state is used to directly calculate the packet loss rate and collision rate of the link layer, which is the most direct indicator to judge the degree of channel congestion. The number of successfully responding tags is a necessary condition for calculating the instantaneous traffic load, which directly reflects the scale of tags that need to be served within the coverage of the antenna.

[0078] The signal data is processed in real time to generate dynamic traffic distribution data sets. Specifically, the collected signal data is aligned and packed, and a millisecond-level timestamp is added. In a sliding second-level short time window, the signal data in the window is aggregated to generate traffic distribution features including instantaneous tag quantity, average signal strength, signal strength variance, packet loss rate and collision index.

[0079] Further, the instantaneous tag quantity is the maximum value of the number of successfully responding tags in each cycle within the window; the average signal strength is the average value of the RSSI values of all successfully decoded tags within the window; the signal strength variance is the variance of the RSSI values within the window, which is used to represent signal stability or mobility; the packet loss rate is calculated based on the response state, and the expression is,

[0080]

[0081] where P 丢包 is the packet loss rate, N 冲突 is the number of collision events, N 无响应 is the number of non-responses, N 总轮 is the total number of polling.

[0082] The expression for calculating the collision index is,

[0083]

[0084] wherein C 指数 is the conflict index, N 冲突 is the number of conflict events, N 总轮 is the total number of polls.

[0085] The traffic distribution features of each time window are bound to the end timestamp of the window, and the records of the continuous multiple time windows are arranged in chronological order, that is, a dynamic traffic distribution data set is formed.

[0086] It should be noted that the length of the time window is usually set to 1-5 seconds. The basis of this setting is to balance the real-time and data stability. If the window is less than 1 second, the data is easily affected by random fluctuations, and the noise is too large; if the window is greater than 5 seconds, the response delay is too high, and the purpose of dynamic adjustment cannot be achieved. The 1-5 second window can achieve a good balance between the dynamic changes of the industrial environment and the real-time requirements of control. When the RFID reader detects that the carrier energy exceeds the threshold but cannot decode the valid frame (continuous CRC check failure), it is determined as a conflict event.

[0087] S4, matching analysis is performed on the dynamic traffic distribution data set by the edge computing node and the device type weight table, sleep time slot control parameters are generated, and the dynamic traffic distribution data that is not matched is rolled back.

[0088] Load the device type weight table to the edge computing node, analyze the dynamic traffic distribution data set based on the device type weight table, and calculate the industrial device priority matching value. Specifically, the dynamic traffic distribution data set is continuously input to the edge computing node in the form of time series flow. The instantaneous tag quantity, average signal strength and packet loss rate in the dynamic traffic distribution data set of the current time window are extracted as real-time core features. The above real-time core features are compared with the cluster center feature vector of each type of device type in the device type weight table, and the similarity is calculated by using the Euclidean distance. According to the calculation result of the similarity, the device type that is most matched to the current traffic state is determined, and the sleep priority weight corresponding to the device type that is most matched to the current traffic state in the weight table is taken as the current industrial device priority matching value. If the current traffic features match multiple device types at the same time, the highest priority weight is taken as the matching value.

[0089] It should be noted that the real-time perception (dynamic traffic distribution data set) and the historical learning model (device type weight table) are combined to form an intelligent decision core. By calculating the similarity, it is determined which known mode the current in-field communication state best matches, so as to inherit the priority weight preset by the mode. The Euclidean distance is suitable for scenarios where the feature values are numerical and have consistent dimensions; if the dimensions are inconsistent, the data after standardization or the cosine similarity is used to measure the similarity of the mode shape.

[0090] The unmatched dynamic traffic distribution data is processed by using a fallback mechanism. Specifically, if the current dynamic traffic distribution data does not match the device type characteristics in all weight tables, it is determined as unmatched dynamic traffic distribution data. The result of this matching analysis is abandoned, and the default parameter settings of shortening the sleep time and increasing the listening frequency are automatically fallen back to, so as to ensure the basic reliability of the communication link in unknown situations. The unmatched dynamic traffic distribution data is marked and stored for subsequent offline update and retraining of the device type weight table.

[0091] It should be noted that the fallback mechanism is the key to ensure robustness, which ensures that in the event of unforeseen extreme situations, the system will not crash or execute incorrect instructions due to the inability to generate effective parameters, but will degrade to a known safe mode to run and ensure availability. The default parameters should be set to the most conservative mode, i.e., the priority weight is set to the highest by default. The basis is that in the case of insufficient information, the highest principle is to prioritize uninterrupted communication.

[0092] The sleep time slot of the industrial device priority matching value is analyzed to generate sleep time slot control parameters. Specifically, the sleep time slot control parameters include sleep time, wake-up interval and listening time. The industrial device priority matching value should be positively correlated with the channel occupation time. The higher the sleep priority weight, the shorter the sleep time, the smaller the wake-up interval and the longer the listening time in the sleep time slot control parameters, so as to ensure that the communication needs of high-priority devices can be responded to in time.

[0093] S5, the sleep time slot control parameters are used to allocate wake-up timing, avoid frequency band conflicts by combining dynamic traffic distribution data set and frequency band occupation monitoring, obtain conflict avoidance scheduling instructions, and switch to a backup frequency band when the conflict exceeds the limit.

[0094] The dynamic traffic distribution data set is analyzed in combination with signal strength and frequency band occupation rate to calculate the frequency band interference coefficient. Specifically, the average signal strength and packet loss rate characteristics of the current time window are extracted from the dynamic traffic distribution data set; at the same time, the occupation rate of the current working frequency band is monitored in real time through the radio frequency front end of the reader. The calculation method of the interference coefficient is as follows:

[0095] K = a * (1 - O) + β * P + γ * (|R| - R min ) / (R max - R min );

[0096] Wherein, K is the interference coefficient, a is the occupation rate weight coefficient, O is the frequency band occupation rate, β is the packet loss rate weight coefficient, P is the packet loss rate, γ is the signal strength weight coefficient, |R| is the absolute value of the received signal strength, R min is the minimum acceptable signal strength value, and R max is the maximum expected signal strength value.

[0097] It should be noted that generally, the packet loss rate is the most direct and reliable interference, so it should be given the highest weight. The frequency band occupancy rate is a precursor of interference, and the weight is second. The signal strength is easily affected by distance and environmental attenuation, and as an auxiliary reference, the weight is the lowest. The final value needs to be repeatedly tested and calibrated in specific application scenarios to achieve avoidance effect.

[0098] In combination with the interference coefficient and the device type weight table, the sleep time slot control parameters are allocated to generate conflict avoidance scheduling instructions. Specifically, when the interference coefficient is lower than the preset switching threshold, a timing adjustment instruction is generated. The conflict avoidance scheduling instruction will fine-tune the sleep time slot control parameters to more actively acquire channel resources to counteract slight interference and conflicts. When the interference coefficient is higher than or equal to the preset switching threshold, a frequency band switching instruction is generated, and the conflict avoidance scheduling instruction commands the reader to immediately stop working in the current frequency band and jump to the preconfigured backup frequency band to continue communication. The final conflict avoidance scheduling instruction includes the above decision results as well as the specific sleep duration adjustment amount, wake-up interval adjustment amount, and listening duration adjustment amount.

[0099] It should be noted that the greater the interference, the greater the reduction in sleep and the increase in listening, and the more aggressive the response. The preset switching threshold is the interference coefficient corresponding to the critical point when the load is gradually increased in a typical application environment until the performance sharply decreases or the communication is completely interrupted, and the interference coefficient is multiplied by a safety factor as the preset switching threshold. The setting is based on the principle of avoiding the avalanche deterioration of communication performance before falling into an unusable paralyzed state.

[0100] S6, in combination with the sleep time slot control parameters and the conflict avoidance scheduling instructions, dynamically adjusting the start-stop timing of the RFID reader, and integrating a microcircuit to recover radio frequency energy.

[0101] The sleep time slot control parameters and the conflict avoidance scheduling instructions are integrated to generate a reader timing adjustment value. Specifically, the integration process uses an algebraic superposition method to generate the final executed reader timing adjustment value, and the specific calculation relationship is as follows: the final sleep duration is equal to the basic sleep duration plus the sleep duration adjustment amount; the final wake-up interval is equal to the basic wake-up interval plus the wake-up interval adjustment amount; and the final listening duration is equal to the basic listening duration plus the listening duration adjustment amount.

[0102] It should be noted that the algebraic superposition is based on the fact that the adjustment amount itself is a dynamic correction value of the basic parameter based on the real-time interference coefficient, which can not only ensure the stability of the basic business model, but also quickly respond to channel changes through simple arithmetic operations to meet the requirements of edge computing nodes for execution efficiency and high real-time performance.

[0103] The parameter consistency verification is performed on the reader timing adjustment value, an adjustment instruction is obtained, and the adjustment instruction is applied to dynamically control the start and stop state of the reader. Specifically, it is checked whether the final sleep duration is greater than the minimum sleep time; it is checked whether the final wake-up interval exceeds the continuous working time allowed by the reader hardware; and it is checked whether all timing parameters are positive numbers. After verification, the reader timing adjustment value is converted into an adjustment instruction that can be recognized by the reader bottom layer driver or control interface, the adjustment instruction is issued to the reader firmware through the API or control bus provided by the reader, and the reader firmware dynamically configures its internal timer or counter accordingly, so as to accurately control the start and stop timing of the radio frequency module and realize planned work.

[0104] It should be noted that the verification step is the last line of software defense to prevent the generation of illegal or damaged parameters from causing abnormal operation of the reader. For example, if a negative sleep time is calculated, the verification link should be able to capture this error and trigger a fallback process to ensure safety. The specific format of the adjustment instruction is highly dependent on the software development kit (SDK) provided by the reader manufacturer. The adjustment instruction is a binary data packet containing a specific operation code and parameter data, which is used to set the reload value of the internal timer of the reader. The minimum sleep time is limited by the sum of the response time of the phase-locked loop, the response time of the filter, and the response time of the power amplifier of the radio frequency chip. If the final sleep duration is less than the sum of the three response times, it is physically constrained and cannot be performed.

[0105] The rectifier antenna is used to capture the backscattered energy and residual radio frequency components of the tag in the field of the reader antenna, and collect radio frequency energy. Specifically, the rectifier antenna is integrated on the same substrate by a receiving antenna and a rectifier circuit, and its receiving antenna is matched in frequency with the main communication antenna, but can have a wider beam width to cover the leakage area. The energy sources include tag backscattered energy and residual radio frequency components. The tag backscattered energy refers to the communication of the RFID tag through the reflection of the radio frequency carrier emitted by the reader, and the reflection signal carries energy; the residual radio frequency component refers to the electromagnetic energy that escapes in the environment after being emitted by the reader and not being completely absorbed / reflected by the sub-tag. The rectifier antenna captures the radio frequency energy and outputs it as alternating current.

[0106] It should be noted that using a rectifier antenna is the most direct and efficient technical path to realize electromagnetic wave energy recovery. The energy capture on the antenna and the energy conversion function of the rectifier circuit are integrated into one design, reducing the energy loss in the transmission path.

[0107] The collected radio frequency energy is converted by a microcircuit to generate direct current, and the direct current is stored by a power manager. Specifically, a rectifier circuit composed of a Schottky diode with low turn-on voltage and a capacitor inside the rectifier antenna converts the captured alternating current into pulsating direct current. The microcircuit of the power manager filters and stabilizes the pulsating direct current, and the voltage is boosted to a usable level, such as 3.3V or 5V (common voltage in the microelectronics field), by a DC-DC boost converter. The converted stable direct current is stored in an energy storage element such as a supercapacitor, which is directly connected to the power bus of the device to supplement the power supply for the reader or other low-power components.

[0108] It should be noted that compared with a battery, a supercapacitor has a faster charging speed, almost unlimited charge and discharge cycle life, and is very suitable for capturing and storing intermittent, micro-watt to milliwatt level radio frequency energy. The design capacity of the supercapacitor can meet the demand for maintaining power supply for the circuit during the sleep period of the reader. This energy recovery mechanism constitutes a miniature self-sustaining energy supply cycle, which recovers the dissipated energy and improves the overall energy utilization efficiency, meeting the demand of industrial equipment for long-term operation and energy saving.

[0109] The embodiment also provides a computer device suitable for the case of the RFID reader working control method, including a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions to realize the RFID reader working control method proposed in the above embodiment.

[0110] The computer device can be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected by a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores a system and a computer program. The internal memory provides an environment for the running of the system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner. The wireless manner can be achieved by WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad or mouse, etc.

[0111] The embodiment also provides a storage medium on which a computer program is stored, the program being executed by a processor to implement the method for controlling the operation of an RFID reader as proposed in the above embodiment; the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, or an optical disk.

[0112] To sum up, the application effectively solves the problems of efficiency reduction and conflict occurrence caused by communication flow mutation in a high-density industrial environment by generating a flow distribution data set and adaptively adjusting the reader-writer sleep time slot based on edge computing matching device weight table, and improves the real-time performance and reliability of reader-writer communication. At the same time, the intelligent start-stop scheduling and conflict avoidance mechanism reduces invalid energy consumption, and the electromagnetic wave recycling microcircuit further improves the energy utilization efficiency, thereby fundamentally realizing the synergistic balance of dynamic performance improvement and power consumption optimization and overcoming the contradiction between dynamic adjustment and power consumption reduction.

[0113] It should be noted that the above embodiments are only used to illustrate the technical solutions of the application but not limit the application. Although the application has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the application can be modified or replaced equivalently without departing from the spirit and scope of the technical solutions of the application, and all of them should be covered in the scope of the claims of the application.

Claims

1. A method for controlling the operation of an RFID reader / writer, characterized in that: include, The MAC address of industrial equipment is hashed to obtain an encrypted identity code, which is then written into the RFID tag to update the communication log. Analyze the updated communication logs to obtain communication characteristics, and determine the device type weight table based on the communication characteristics; A signal acquisition device is used to monitor RFID tags within the reader's antenna field in real time to obtain a dynamic traffic distribution dataset. The specific steps are as follows. Configure a signal acquisition device to scan RFID tags within the reader antenna field and collect signal data in real time; The signal data includes signal strength, RFID tag response status, and the number of RFID tags that successfully responded. The signal data is processed in real time to generate a dynamic traffic distribution dataset; The dynamic traffic distribution dataset is matched and analyzed using an edge computing node and device type weight table to generate sleep time slot control parameters. Unmatched dynamic traffic distribution data is then rolled back. The specific steps are as follows. Load the device type weight table to the edge computing node, and perform matching analysis on the dynamic traffic distribution dataset based on the device type weight table to obtain the matching results; When the matching result is successful, the priority matching value of the industrial equipment is calculated, and the sleep time slot analysis is performed on the priority matching value of the industrial equipment to generate sleep time slot control parameters; When the matching result is a failure, the unmatched dynamic traffic distribution data is rolled back and default sleep time slot control parameters are generated; The sleep time slot control parameters are used to wake up the timing allocation. The frequency band conflict is avoided by combining the dynamic traffic distribution dataset with the frequency band occupancy monitoring. The conflict avoidance scheduling instructions are obtained, and the backup frequency band is switched when the conflict exceeds the limit. By combining sleep time slot control parameters and conflict avoidance scheduling instructions, the start-stop sequence of RFID readers is dynamically adjusted, and microcircuits are integrated to recover radio frequency energy.

2. The RFID reader / writer operation control method as described in claim 1, characterized in that: The MAC address of the industrial equipment is hashed to obtain an encrypted identity code, which is then written to the RFID tag, and the communication log is updated. The specific steps are as follows. Obtain the MAC address of the industrial equipment, perform a hash operation on the industrial MAC address using the SHA-256 algorithm, and obtain a fixed-length encrypted identity code; Verify the fixed-length encrypted identity code to obtain an encrypted identity code that conforms to the RFID tag storage specification; Verify the integrity of the encrypted identity code that conforms to the RFID tag storage specification and update the communication log; If the verification is successful, the encrypted identity code that conforms to the RFID tag storage specification will be written into the storage area of ​​the RFID tag through the write interface of the RFID reader / writer. If the verification fails, the writing process will be terminated, and a limited number of automatic retries will be initiated. If the verification still fails after the retries, external intervention will be awaited.

3. The RFID reader / writer operation control method as described in claim 2, characterized in that: The updated communication logs are analyzed to obtain communication characteristics, and these characteristics are then used to determine the device type weight table. The specific steps are as follows. The communication delay and data volume are calculated using the timestamps, communication frequency, and data packet length of each communication in the updated communication log. Clean the communication latency and data volume to generate a communication feature set; Cluster analysis algorithms are applied to process communication feature sets to generate a device type weight table.

4. The RFID reader / writer operation control method as described in claim 1, characterized in that: The specific steps for obtaining conflict avoidance scheduling instructions and switching to backup frequency bands when conflict limits are exceeded are as follows. By combining signal strength and frequency band occupancy, the dynamic traffic distribution dataset is analyzed to calculate the frequency band interference coefficient; By combining the interference coefficient and equipment type weight table, the sleep time slot control parameters are allocated, conflict avoidance scheduling instructions are generated, and the backup frequency band is switched when the conflict exceeds the limit. The conflict exceeding the limit is determined when any one of the packet loss rate, frequency band interference coefficient, and number of consecutive conflicts exceeds the limit threshold.

5. The RFID reader / writer operation control method as described in claim 1, characterized in that: By combining sleep time slot control parameters and conflict avoidance scheduling instructions, the start-stop sequence of the RFID reader is dynamically adjusted. The specific steps are as follows. Integrate the sleep time slot control parameters and conflict avoidance scheduling instructions to generate reader timing adjustment values; Verify the consistency of the timing adjustment values ​​of the reader / writer to obtain adjustment instructions, and use the adjustment instructions to dynamically control the start and stop status of the reader / writer.

6. The RFID reader / writer operation control method as described in claim 5, characterized in that: The integrated microcircuit recovers radio frequency energy, and the specific steps are as follows. A rectified antenna is used to capture the tag backscattered energy and residual radio frequency components within the reader's antenna field, thereby collecting radio frequency energy; The collected radio frequency energy is converted into DC power through microcircuits, and the DC power is stored using a power manager.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, it implements the steps of the RFID reader operation control method according to any one of claims 1 to 6.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, it implements the steps of the RFID reader operation control method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Multi-type information collection method based on large-scale radio frequency identification system

    CN107609611A