A Multi-Frequency-Based RFID Tag Anti-Collision Method and System
By using a multi-frequency RFID tag anti-collision method, the reader is configured with multiple frequency points, and the tag randomly generates a positive integer to determine the return time, which solves the problem of low tag return success rate and improves the return success rate and system performance.
Patent Information
- Application Number
- CN202211026015.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-25
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2042-08-25
AI Technical Summary
The success rate of tag return in existing RFID systems is low, making it difficult to meet the needs of real-world application scenarios.
The RFID tag anti-collision method adopts multiple frequency points. The reader is configured with multiple frequency points, the tag randomly generates a positive integer to determine the return time, and when a match is found, it performs a status return action to the reader through the corresponding frequency point. The success rate is improved by multiple return transmissions.
It significantly improved the success rate of tag return, shortened the time for the reader to acquire all tag data, and improved the system's throughput and effective recognition rate.
Smart Images

Figure CN117634534B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of radio frequency identification (RFID) communication technology, specifically to an RFID tag anti-collision method and system based on multiple frequency points. Background Technology
[0002] RFID is a non-contact automatic identification technology that uses radio frequency signals to automatically identify tags and collect relevant information. It has been widely applied in logistics, security, product supply, and many other fields. An RFID system mainly consists of tags and readers. When multiple tags are within the reader's range, tag collisions may occur during data transmission, preventing the reader from correctly identifying the tag information and thus reducing the system's throughput and effective identification rate. Therefore, resolving collision issues is one of the important ways to improve the throughput and effective identification rate of RFID systems.
[0003] Aloha-type algorithms (pure Aloha, slotted Aloha, frame-slotted Aloha, dynamic frame-slotted Aloha, grouped dynamic frame-slotted Aloha, etc.) are relatively simple to implement by introducing randomness into tag transmission. Due to their low computational complexity, Aloha-type algorithms have become one of the main methods for solving collision problems in RFID systems. While Aloha-type algorithms can improve the throughput and effective recognition rate of RFID systems, the success rate of tag return remains low when the number of tags is large, making it difficult to meet the needs of practical applications. Summary of the Invention
[0004] This invention provides a multi-frequency RFID tag anti-collision method and system to solve the problem of low tag return success rate in existing methods.
[0005] In a first aspect, embodiments of the present invention provide a multi-frequency RFID tag anti-collision method, comprising:
[0006] The reader sends broadcast information and simultaneously resets its timer to zero and starts counting. The reader is configured with multiple frequency points.
[0007] When multiple tags within the reader's read / write range receive broadcast information, each tag randomly generates a first number of positive integers, and simultaneously sets the timer of each tag to zero and starts timing. The positive integers are less than or equal to a second number. The first number is the number of frequency points configured by the reader, and the second number is the number of tags within the reader's read / write range.
[0008] Each tag determines a first number of return times based on a first number of positive integers;
[0009] When the tag's timer time matches the first number of return times, the tag performs a status return action to the reader via the frequency point corresponding to the return time. The number of times the tag performs the status return action is equal to the first number.
[0010] In one embodiment, each tag determines a first number of return times based on a first number of positive integers, including:
[0011] The first number of return times is determined according to the following expression.
[0012] y i =(x i -1)*li=(1,2,…,m);
[0013] Where m represents the first quantity, x i Let y represent the i-th randomly generated positive integer, l represent the time slot length, and y represent the ith positive integer. i Indicates the i-th return time;
[0014] When the tag's timer time matches the first number of return times, the tag performs a status return action to the reader via the frequency point corresponding to the return time, including:
[0015] When y = y i At that time, through f i Send a status feedback action to the reader / writer;
[0016] Where y represents the tag's timer duration, f i This indicates the i-th frequency point configured for the reader / writer.
[0017] In one embodiment, the method further includes:
[0018] When the timer of the reader is an integer multiple of the return cycle, the success rate of multiple tags returning within the reader's reading and writing range is calculated. The return cycle is equal to the sum of the time for the reader to broadcast once and the length of the second number of time slots.
[0019] When the success rate is less than the preset threshold, the reader continues to send broadcast information, and multiple tags within the reader's reading and writing range continue to perform status feedback actions to the reader until the success rate is greater than or equal to the preset threshold.
[0020] In one embodiment, the method further includes:
[0021] When the success rate is greater than or equal to the preset threshold, obtain the number information corresponding to the tag that failed to be returned;
[0022] The reader identifies each tag that failed to return data based on its serial number.
[0023] In one embodiment, the first quantity is positively correlated with the second quantity.
[0024] Secondly, embodiments of the present invention provide an RFID tag anti-collision system based on multiple frequency points, including: a reader and multiple tags within the reading and writing range of the reader, wherein the reader is configured with multiple frequency points;
[0025] The reader sends a broadcast message and simultaneously resets its timer to zero and starts counting down.
[0026] When multiple tags within the reader's read / write range receive broadcast information, each tag randomly generates a first number of positive integers, and simultaneously sets the timer of each tag to zero and starts timing. The positive integers are less than or equal to a second number. The first number is the number of frequency points configured by the reader, and the second number is the number of tags within the reader's read / write range.
[0027] Each tag determines a first number of return times based on a first number of positive integers;
[0028] When the tag's timer time matches the first number of return times, the tag performs a status return action to the reader via the frequency point corresponding to the return time. The number of times the tag performs the status return action is equal to the first number.
[0029] In one embodiment, each tag determines a first number of return times based on a first number of positive integers, including:
[0030] The first number of return times is determined according to the following expression.
[0031] y i =(x i -1)*li=(1,2,…,m);
[0032] Where m represents the first quantity, x i Let y represent the i-th randomly generated positive integer, l represent the time slot length, and y represent the ith positive integer. i Indicates the i-th return time;
[0033] When the tag's timer time matches the first number of return times, the tag performs a status return action to the reader via the frequency point corresponding to the return time, including:
[0034] When y = y i At that time, through f i Send a status feedback action to the reader / writer;
[0035] Where y represents the tag's timer duration, f i This indicates the i-th frequency point configured for the reader / writer.
[0036] In one embodiment, when the timer of the reader is an integer multiple of the return cycle, the success rate of multiple tags returning within the reader's reading and writing range is calculated. The return cycle is equal to the sum of the time for the reader to broadcast once and the length of a second number of time slots.
[0037] When the success rate is less than the preset threshold, the reader continues to send broadcast information, and multiple tags within the reader's reading and writing range continue to perform status feedback actions to the reader until the success rate is greater than or equal to the preset threshold.
[0038] In one embodiment, when the success rate is greater than or equal to a preset threshold, the number information corresponding to the failed tag is obtained;
[0039] The reader identifies each tag that failed to return data based on its serial number.
[0040] Thirdly, embodiments of the present invention provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the multi-frequency RFID tag anti-collision method as described in any of the first aspects.
[0041] The RFID tag anti-collision method and system based on multiple frequency points provided in this invention involves a reader / writer sending broadcast information while simultaneously resetting the reader / writer's timer to zero and starting a countdown. The reader / writer is configured with multiple frequency points. When multiple tags within the reader / writer's reading range receive the broadcast information, each tag randomly generates a first number of positive integers and simultaneously resets its timer to zero and starts a countdown. The positive integers are less than or equal to a second number. The first number represents the number of frequency points configured by the reader / writer, and the second number represents the number of tags within the reader / writer's reading range. Each tag determines a first number of return times based on the first number of positive integers. When the tag's timer time matches the first number of return times, the tag performs a status return action to the reader / writer through the frequency point corresponding to the return time. The number of times the tag performs the status return action is equal to the first number. Because the reader is configured with multiple frequency points, it can successfully receive data from multiple tags on multiple frequency points simultaneously in the same time slot, which helps improve the success rate of data transmission. Furthermore, each tag can perform a number of status transmission actions through the multiple frequency points configured by the reader, further improving the success rate. The transmission time of each tag is determined based on a randomly generated positive integer, which effectively reduces the probability of collisions, further improving the success rate. Therefore, the RFID tag anti-collision method and system based on multiple frequency points provided in this invention significantly improve the success rate of data transmission. Attached Figure Description
[0042] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0043] Figure 1 A flowchart of an RFID tag anti-collision method based on multiple frequency points provided in an embodiment of the present invention;
[0044] Figure 2 This is a schematic diagram illustrating the relationship between success rate and number of frequency points according to an embodiment of the present invention;
[0045] Figure 3 A flowchart of a multi-frequency RFID tag anti-collision method provided in another embodiment of the present invention;
[0046] Figure 4 This is a schematic diagram illustrating the relationship between time consumption and the number of nodes, provided in an embodiment of the present invention.
[0047] The accompanying drawings have illustrated specific embodiments of the invention, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the invention in any way, but rather to illustrate the concept of the invention to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0048] The present invention will now be described in further detail with reference to specific embodiments and accompanying drawings. Similar elements in different embodiments are referred to by associated similar element reference numerals. In the following embodiments, many details are described to facilitate a better understanding of this application. However, those skilled in the art will readily recognize that some features may be omitted in different situations, or may be replaced by other elements, materials, or methods. In some cases, certain operations related to this application are not shown or described in the specification. This is to avoid obscuring the core parts of this application with excessive description. For those skilled in the art, detailed description of these related operations is not necessary; they can fully understand the related operations based on the description in the specification and general technical knowledge in the art.
[0049] Furthermore, the features, operations, or characteristics described in the specification can be combined in any suitable manner to form various embodiments. At the same time, the steps or actions in the method description can be rearranged or adjusted in a manner obvious to those skilled in the art. Therefore, the various orders in the specification and drawings are only for the clear description of a particular embodiment and do not imply a necessary order, unless otherwise stated that a particular order must be followed.
[0050] The serial numbers assigned to components in this document, such as "first" and "second," are used only to distinguish the described objects and have no sequential or technical meaning. The terms "connection" and "linkage" used in this application, unless otherwise specified, include both direct and indirect connections (linkages).
[0051] Example 1
[0052] Figure 1 This is a flowchart illustrating a multi-frequency RFID tag anti-collision method according to an embodiment of the present invention. Figure 1 As shown, the RFID tag anti-collision method based on multiple frequency points provided in this embodiment may include:
[0053] S101, The reader sends a broadcast message and simultaneously resets the reader's timer to zero and starts timing. The reader is configured with multiple frequency points.
[0054] The reader can broadcast information to tags within its reading and writing range via a broadcast channel. Since the reader is configured with multiple frequency points, it can successfully receive data transmission from multiple tags on multiple frequency points simultaneously in the same time slot. In this embodiment, the reader can send broadcast information while simultaneously resetting its built-in timer to zero and starting the countdown.
[0055] S102. When multiple tags within the read / write range of the reader receive broadcast information, each tag randomly generates a first number of positive integers, and at the same time, the timer of each tag is set to zero and starts timing. The positive integers are less than or equal to a second number. The first number is the number of frequency points configured by the reader, and the second number is the number of tags within the read / write range of the reader.
[0056] When a tag within the reader's read / write range receives a broadcast message, it randomly generates a positive integer equal to the number of frequency points within a preset random number range. This preset random number range consists of all positive integers less than or equal to the number of tags. By generating random positive integers, the probability of collisions between multiple tags can be reduced to some extent, thereby improving the success rate of data transmission.
[0057] In one optional implementation, the first quantity is positively correlated with the second quantity. That is, the number of frequency points configured by the reader can increase as the number of tags within the reading and writing range increases. Increasing the number of frequency points when the number of tags within the reading and writing range increases can effectively increase the success rate of data transmission. Conversely, the number of frequency points configured by the reader can decrease as the number of tags within the reading and writing range decreases. Decreasing the number of frequency points when the number of tags within the reading and writing range decreases can effectively save frequency point resources.
[0058] S103. Each tag determines the first number of return times based on the first number of positive integers.
[0059] In this embodiment, each tag can determine the return time based on a randomly generated positive integer. Since the positive integer is randomly generated, the return time also has a certain degree of randomness. The return time in this embodiment can be, for example, a time slot number, used to indicate to the tag which time slot to perform the return. With a first number of positive integers, a first number of return times can be determined. Taking two frequency points as an example, if the randomly generated positive integers are p and q, the return time can be determined to be the p-th and q-th time slots, or it can be determined to be the (p+1)-th and (q+1)-th time slots. This embodiment does not limit the specific implementation method for determining the return time.
[0060] S104. When the tag's timer time matches the first number of return times, the tag performs a status return action to the reader via the frequency point corresponding to the return time. The number of times the tag performs the status return action is equal to the first number.
[0061] In this embodiment, the matching can be equal, greater than or less than a preset time (e.g., greater than one time slot length), or it can meet a certain preset rule (e.g., a multiple relationship). The correspondence between transmission time and frequency point in this embodiment can be determined based on the order of transmission times and the order of frequency points. For example, an earlier transmission time corresponds to a lower frequency point, and so on; or an earlier transmission time corresponds to a higher frequency point, and so on. Since the number of transmission times and the number of frequency points are the same, both equal to the first number, the frequency points corresponding to each transmission time can be different. That is, each tag can perform multiple status transmission actions to the reader at appropriate times through multiple frequency points configured by the reader, which will greatly improve the success rate of transmission.
[0062] To further verify the causal relationship between success rate and frequency point number, while keeping the number of tags within the reader's read / write range constant, multiple statistical experiments were conducted by varying the frequency point number. The success rates of tag return transmission after one round of broadcasting based on different frequency point numbers were obtained as follows: Figure 2 As shown. Figure 2 As shown, under the same conditions, the success rate is significantly improved as the number of frequency points increases.
[0063] Since the system throughput is maximized when the frame length equals the number of tags, this embodiment uses a frame length that includes a second number of time slots to improve system throughput.
[0064] The multi-frequency RFID tag anti-collision method provided in this embodiment sends broadcast messages through a reader configured with multiple frequencies. Each tag performs a status feedback action to the reader through the frequency corresponding to its feedback time. Since the reader is configured with multiple frequencies, it can successfully receive feedback data from multiple tags on multiple frequencies simultaneously in the same time slot, which helps improve the feedback success rate. Furthermore, each tag can perform a number of status feedback actions through the multiple frequencies configured by the reader, further improving the feedback success rate. The feedback time of each tag is determined based on a randomly generated positive integer, which effectively reduces the collision probability and further improves the feedback success rate. In summary, the multi-frequency RFID tag anti-collision method provided in this embodiment can significantly improve the feedback success rate and shorten the time for the reader to acquire all tag data.
[0065] Example 2
[0066] The reader is configured with m frequency points (f1, f2, ..., fm). m Taking an example with n tags within the reader's read / write range, this example will explain in detail how to implement a multi-frequency RFID tag anti-collision method. In this embodiment, each tag determines a first number of return times based on a first number of positive integers, which may specifically include:
[0067] The first number of return times is determined according to the following expression.
[0068] y i =(x i -1)*li=(1,2,…,m);
[0069] Where m represents the first quantity, x i Let y represent the i-th randomly generated positive integer, l represent the time slot length, and y represent the ith positive integer. i Indicates the i-th return time;
[0070] When the tag's timer time matches the first number of return times, the tag performs a status return action to the reader via the frequency point corresponding to the return time, including:
[0071] When y = y i At that time, through f i Send a status feedback action to the reader / writer;
[0072] Where y represents the tag's timer duration, f i This indicates the i-th frequency point configured for the reader / writer.
[0073] Assuming m = 4 and n = 1000, tag A randomly generates four positive integers: 3, 9, 68, and 99; tag B randomly generates four positive integers: 9, 99, 999, and 888; tag C randomly generates four positive integers: 99, 102, 688, and 777; and tag D randomly generates four positive integers: 33, 66, 99, and 899. Tag A transmits back via frequency f1 when y = 2l; via frequency f2 when y = 8l; via frequency f3 when y = 67l; and via frequency f4 when y = 98l. That is, tag A performs four transmissions via four frequencies, which helps improve the success rate of the transmission. When y = 98l, tag A transmits data via frequency f4, tag B via frequency f2, tag C via frequency f1, and tag D via frequency f3. This means that the reader can receive data from multiple tags via multiple frequencies in the same time slot, which helps to improve the success rate of data transmission and shortens the time for the reader to acquire all tag data.
[0074] Example 3
[0075] Based on the above embodiments, to further improve the success rate of data transmission, the RFID tag anti-collision method based on multiple frequency points provided in this embodiment statistically analyzes the success rate of data transmission from multiple tags within the reader's reading and writing range. When the success rate is less than a preset threshold, cyclic broadcasting is performed. For specific implementation details, please refer to [reference needed]. Figure 3 . Figure 3 This is a flowchart illustrating a multi-frequency RFID tag anti-collision method according to another embodiment of the present invention. Figure 3 As shown, the RFID tag anti-collision method based on multiple frequency points provided in this embodiment may include:
[0076] S301, The reader's timer is reset to zero and starts timing.
[0077] S302, The reader sends broadcast information.
[0078] S303. When each tag receives broadcast information, it randomly generates a first number of positive integers and sets the tag's timer to zero and starts timing. The positive integers are less than or equal to a second number. The first number is the number of frequency points configured by the reader, and the second number is the number of tags within the reader's reading and writing range.
[0079] S304. Each tag determines a first number of return times based on a first number of positive integers. When the tag's timer time matches the first number of return times, the tag performs a status return action to the reader via the frequency point corresponding to the return time. The number of times the tag performs the status return action is equal to the first number.
[0080] The specific implementation methods of S301 to S304 above can be referred to the implementation methods of steps S101 to S104 in Embodiment 1, which will not be repeated here.
[0081] S305. Determine whether the timer duration of the reader / writer is an integer multiple of the return period, where the return period is equal to the sum of the time for the reader / writer to broadcast once and the length of the second number of time slots. If yes, proceed to step S306; otherwise, continue to step S304.
[0082] In this embodiment, the return cycle is the time it takes for all tags to complete one round of data transmission, which is the sum of the reader's broadcast time and the normal return time of all tags. Specifically, the return cycle is equal to the sum of the reader's broadcast time and the length of the second number of time slots.
[0083] S306. Statistical analysis of the success rate of multiple tags being returned within the read / write range of the reader.
[0084] When the reader's timer interval is an integer multiple of the transmission cycle, the reader parses the message according to preset rules and calculates the success rate of transmissions from multiple tags within its read / write range. It should be noted that a tag is considered to have successfully transmitted data at least once via one frequency point after one or more random multi-frequency transmissions. The success rate is calculated by dividing the number of successfully transmitted tags by the sum of the number of successfully transmitted tags and the number of failed transmissions.
[0085] S307. Determine whether the success rate is greater than or equal to the preset threshold. If yes, proceed to step S308; otherwise, continue to step S302.
[0086] The preset threshold in this embodiment can be set according to specific application scenarios. When the success rate requirement is high in the actual application scenario, a higher threshold can be set to meet the actual needs of the application scenario; while when the success rate requirement is low in the actual application scenario, a lower threshold can be set to reduce the time consumption.
[0087] S308. Obtain the number information corresponding to the tag that failed to return data, and perform a one-to-one naming of the tag that failed to return data based on the number information.
[0088] When the success rate is greater than or equal to the preset threshold, the corresponding number information of the failed tag can be obtained, and the failed tag can be identified one-to-one according to the number information to obtain the tag data of all tags within the read and write range of the reader.
[0089] The RFID tag anti-collision method based on multi-frequency points provided in this embodiment, based on the above embodiment, further statistically analyzes the success rate of multiple tags returning data within the reader's reading and writing range when the reader's timer is an integer multiple of the return cycle. If the success rate is less than a preset threshold, it performs cyclic broadcasting until the success rate is greater than or equal to the preset threshold. Furthermore, when the success rate is greater than or equal to the preset threshold, tags that failed to return data are identified one-to-one. Ideally, the return success rate can reach 100%. The RFID tag anti-collision method based on multi-frequency points provided in this embodiment further improves the return success rate and shortens the time for the reader to acquire all tag data.
[0090] Example 4
[0091] Existing RFID tag anti-collision methods can reduce the number of time slots used by the system by adaptively adjusting the frame length for tag estimation. However, this requires successfully read tags to enter a sleep state, which increases the number of communications between the tag and the reader and increases the complexity of communication, resulting in increased power consumption and higher performance requirements for the tags. In the data transmission scenario between 5G smart nodes and base stations, it is always desirable for 5G smart nodes to have a sufficiently long standby time, so existing RFID tag anti-collision methods are not suitable for this scenario. To meet the needs of 5G smart node and base station data transmission scenarios, this application, after each round of base station broadcasting, requires all 5G smart node tags to randomly select their frequency time slots based on multiple frequency points for status data transmission. Furthermore, successfully transmitted 5G smart node tags do not need to enter a sleep state, tag estimation is not required, and each frame has an equal length.
[0092] The following example uses a 5G base station covering 3000 smart nodes. Assuming it takes 1 second for the base station to send a broadcast and 2 seconds to read information from a node (i.e., the time slot length is 2 seconds), and the base station is configured with 4 frequency points, the specific process is as follows:
[0093] Step 1: Set the base station timer to zero and start timing;
[0094] Step 2: The base station broadcasts a message;
[0095] Step 3: Each node within the base station range receives the broadcast and randomly generates 4 integers x1, x2, x3, x4 between 1 and 3000 (frequency points), which are used to transmit data back through the 4 frequency points in sequence. At the same time, the internal timer is reset to zero and starts counting. Let the timer count be y.
[0096] Step 4: When the node is inside: The node performs a status feedback action to the base station through the frequency point corresponding to x1, and the base station terminal receives the message returned by the node; similarly, the random numbers x2, x3, and x4 are considered in sequence. The node sequentially performs status feedback actions to the base station through the frequency points corresponding to x2, x3, and x4 in the corresponding time slots, and the base station terminal receives the messages fed back by the node.
[0097] Step 5: When the base station timer time is an integer multiple of the data transmission time of all nodes in one round (1s + 3000 * 2s = 6001s), parse the message and count the node's successful return transmission rate.
[0098] Step 6: If the success rate is less than the set threshold of 83%, return to steps 2-5; if the success rate is greater than the set threshold of 83%, proceed to step 7.
[0099] Step 7: Parse the message. Each node is considered to have successfully transmitted back at least once through one frequency point after one or multiple random transmissions of multiple frequency points. Count the number of nodes that successfully transmitted back and the number of nodes that failed to transmit back. Return the total time of the base station timer and give the corresponding number information of the nodes that failed to transmit back.
[0100] Step 8: The base station will check the names of the nodes that failed to transmit back (assuming approximately 490), which will take 490 * (1s + 2s) = 1470s. Adding this to the total time of 6001s of the base station timer, we get the time it takes for all nodes to successfully transmit back, which is approximately 2.07 hours.
[0101] The above calculation shows the random backhaul time when the base station is configured with 4 gateway frequencies. Compared to the traditional method of random backhauling to all nodes using a single frequency gateway (1s + 3000*2s + 3000*(1-35%)*(1s+2s) = 11851s, or 3.29 hours), this saves 1.22 hours. Compared to the polling time (3000*(1s+2s) = 9000s, or 2.5 hours), this saves 0.43 hours. Furthermore, the more nodes there are, the greater the time saving. See details... Figure 4 . Figure 4 This is a schematic diagram illustrating the relationship between time consumption and the number of nodes according to an embodiment of the present invention. Figure 4 It can be seen that, when the number of nodes is the same, the 4-frequency method used in this embodiment takes the least time, the single-frequency method takes the longest time, and the polling method takes the middle time; as the number of nodes increases, the difference in time between the methods becomes larger.
[0102] Example 5
[0103] This invention also provides a multi-frequency RFID tag anti-collision system, including: a reader and multiple tags within the reader's reading range, wherein the reader is configured with multiple frequency points;
[0104] The reader sends a broadcast message and simultaneously resets its timer to zero and starts counting down.
[0105] When multiple tags within the reader's read / write range receive broadcast information, each tag randomly generates a first number of positive integers, and simultaneously sets the timer of each tag to zero and starts timing. The positive integers are less than or equal to a second number. The first number is the number of frequency points configured by the reader, and the second number is the number of tags within the reader's read / write range.
[0106] Each tag determines a first number of return times based on a first number of positive integers;
[0107] When the tag's timer time matches the first number of return times, the tag performs a status return action to the reader via the frequency point corresponding to the return time.
[0108] The multi-frequency RFID tag anti-collision system provided in this embodiment, by sending broadcast information through a reader configured with multiple frequencies, can successfully receive data transmission from multiple tags on multiple frequencies simultaneously in the same time slot, thus improving the success rate of data transmission. Furthermore, each tag can perform a number of status transmission actions through the multiple frequencies configured on the reader, further enhancing the success rate. Therefore, the multi-frequency RFID tag anti-collision system provided in this embodiment can significantly improve the success rate of data transmission.
[0109] Example 6
[0110] In one optional implementation, each tag determines a first number of return times based on a first number of positive integers, including:
[0111] The first number of return times is determined according to the following expression.
[0112] y i =(x i -1)*li=(1,2,…,m);
[0113] Where m represents the first quantity, x i Let y represent the i-th randomly generated positive integer, l represent the time slot length, and y represent the ith positive integer. i Indicates the i-th return time;
[0114] When the tag's timer time matches the first number of return times, the tag performs a status return action to the reader via the frequency point corresponding to the return time, including:
[0115] When y = y i At that time, through f i Send a status feedback action to the reader / writer;
[0116] Where y represents the tag's timer duration, f i This indicates the i-th frequency point configured for the reader / writer.
[0117] Example 7
[0118] To further improve the success rate of data transmission, based on the above embodiments, in the multi-frequency RFID tag anti-collision system provided in this embodiment, when the timer of the reader is an integer multiple of the data transmission cycle, the success rate of data transmission of multiple tags within the reader's reading and writing range is statistically analyzed. The data transmission cycle is equal to the sum of the time for the reader to broadcast once and the length of the second number of time slots.
[0119] When the success rate is less than the preset threshold, the reader continues to send broadcast information, and multiple tags within the reader's reading and writing range continue to perform status feedback actions to the reader until the success rate is greater than or equal to the preset threshold.
[0120] In one optional implementation, when the success rate is greater than or equal to a preset threshold, the corresponding ID information of the failed tags is obtained; the reader then performs a one-to-one tag-by-tag assignment based on the ID information. It is understood that, ideally, a one-to-one assignment method can achieve a 100% success rate.
[0121] The RFID tag anti-collision system based on multiple frequency points provided in this embodiment, based on the above embodiment, further improves the success rate of multiple tags returning data within the reader's reading and writing range by statistically analyzing the success rate. When the success rate is less than a preset threshold, it performs cyclic broadcasting; and when the success rate is greater than or equal to the preset threshold, it performs one-to-one naming of tags that failed to return data, thereby further improving the success rate of returning data and shortening the time for the reader to acquire all tag data.
[0122] This invention also provides a computer-readable storage medium storing a computer program thereon, which is executed by a processor to implement the technical solutions of any of the above method embodiments.
[0123] The various embodiments in this disclosure are described in a progressive manner. The same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on describing the differences from other embodiments.
[0124] The scope of protection of this disclosure is not limited to the embodiments described above. Obviously, those skilled in the art can make various modifications and variations to this disclosure without departing from its scope and spirit. If such modifications and variations fall within the scope of the claims of this disclosure and their equivalents, then the intent of this disclosure also includes such modifications and variations.
Claims
1. A method for preventing collisions of RFID tags based on multiple frequency points, characterized in that, include: The reader sends a broadcast message and simultaneously resets its timer to zero and starts timing. The reader is configured with multiple frequency points. When multiple tags within the read / write range of the reader receive the broadcast information, each tag randomly generates a first number of positive integers, and simultaneously sets the timer of each tag to zero and starts timing. The positive integers are less than or equal to a second number, where the first number is the number of frequency points configured by the reader, and the second number is the number of tags within the read / write range of the reader. Each tag determines a first number of return times based on the first number of positive integers; When the tag's timer time matches the first number of return times, the tag performs a status return action to the reader via the frequency point corresponding to the return time. The number of times the tag performs the status return action is equal to the first number. When the timer of the reader is an integer multiple of the return cycle, the success rate of multiple tags returning within the read / write range of the reader is calculated. The return cycle is equal to the sum of the time for the reader to broadcast once and the length of the second number of time slots. When the success rate is less than a preset threshold, the reader continues to send broadcast information, and multiple tags within the reader's reading and writing range continue to perform status feedback actions to the reader until the success rate is greater than or equal to the preset threshold.
2. The method according to claim 1, characterized in that, Each tag determines a first number of return times based on the first number of positive integers, including: The first number of return times is determined according to the following expression. y i =(x i -1)*l i=(1,2,…,m); Where m represents the first quantity, x i Let y represent the i-th randomly generated positive integer, l represent the time slot length, and y represent the ith positive integer. i Indicates the i-th return time; When the tag's timer time matches the first number of return times, the tag performs a status return action to the reader via the frequency point corresponding to the return time, including: When y = y i At that time, through f i Perform a status feedback action to the reader / writer; Where y represents the tag's timer duration, f i This indicates the i-th frequency point configured for the reader / writer.
3. The method according to claim 2, characterized in that, The method further includes: When the success rate is greater than or equal to a preset threshold, obtain the number information corresponding to the tag that failed to be returned. The reader / writer performs a one-to-one naming of the tags that failed to transmit back, based on the numbering information.
4. The method according to any one of claims 1-3, characterized in that, The first quantity is positively correlated with the second quantity.
5. A multi-frequency RFID tag anti-collision system, characterized in that, include: The reader and multiple tags within the reader's reading and writing range, wherein the reader is configured with multiple frequency points; The reader sends a broadcast message and simultaneously resets its timer to zero and starts timing. When multiple tags within the read / write range of the reader receive the broadcast information, each tag randomly generates a first number of positive integers, and simultaneously sets the timer of each tag to zero and starts timing. The positive integers are less than or equal to a second number, where the first number is the number of frequency points configured by the reader, and the second number is the number of tags within the read / write range of the reader. Each tag determines a first number of return times based on the first number of positive integers; When the tag's timer time matches the first number of return times, the tag performs a status return action to the reader via the frequency point corresponding to the return time. The number of times the tag performs the status return action is equal to the first number. When the timer of the reader is an integer multiple of the return cycle, the success rate of multiple tags returning within the read / write range of the reader is calculated. The return cycle is equal to the sum of the time for the reader to broadcast once and the length of the second number of time slots. When the success rate is less than a preset threshold, the reader continues to send broadcast information, and multiple tags within the reader's reading and writing range continue to perform status feedback actions to the reader until the success rate is greater than or equal to the preset threshold.
6. The system according to claim 5, characterized in that, Each tag determines a first number of return times based on the first number of positive integers, including: The first number of return times is determined according to the following expression. y i =(x i -1)*l i=(1,2,…,m); Where m represents the first quantity, x i Let y represent the i-th randomly generated positive integer, l represent the time slot length, and y represent the ith positive integer. i Indicates the i-th return time; When the tag's timer time matches the first number of return times, the tag performs a status return action to the reader via the frequency point corresponding to the return time, including: When y = y i At that time, through f i Perform a status feedback action to the reader / writer; Where y represents the tag's timer duration, f i This indicates the i-th frequency point configured for the reader / writer.
7. The system according to claim 6, characterized in that, When the success rate is greater than or equal to a preset threshold, obtain the number information corresponding to the tag that failed to be returned. The reader / writer performs a one-to-one naming of the tags that failed to transmit back, based on the numbering information.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the multi-frequency RFID tag anti-collision method as described in any one of claims 1-4.
Citation Information
Patent Citations
Method of simultaneously reading multiple radio frequency tags, RF tags, and RF reader
US20040198222A1
