Label detection method and device, terminal equipment and computer readable storage medium

By collecting the signal strength and calculating distance of the RF tag, combining the signal change rate and distance change trend, a multi-level verification method is used to determine the effectiveness of the tag, which solves the problem that existing RFID systems are difficult to accurately filter invalid tags, and improves the efficiency and accuracy of borrowing services.

CN120087384APending Publication Date: 2025-06-03YUANWANGGU (NINGBO) CULTURE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510115537.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-06-03

AI Technical Summary

Technical Problem

The existing RFID system is difficult to accurately filter out invalid tags in complex environments such as libraries, resulting in reduced efficiency of borrowing services.

Method used

By collecting the signal intensity value of the radio frequency tag, calculating the distance value between the tag and the target position, and combining the signal change rate and distance change trend, a multi-level verification method is used to determine the validity of the tag.

Benefits of technology

It improves the accuracy and efficiency of label filtering, reduces misidentification and misoperation, and enhances the robustness and real-timeness of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120087384A_ABST
    Figure CN120087384A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of label detection, and provides a label detection method and device, terminal equipment and a computer readable storage medium, and the method comprises the steps: collecting a first signal value corresponding to a radio frequency label; the first signal value is the signal strength corresponding to the radio frequency tag; determining a first distance value between the radio frequency tag and a target position according to the first signal value; wherein the target position is a position where a collection device corresponding to the collected signal value is located; and judging the validity of the radio frequency tag according to the first signal value and the first distance value. According to the method, invalid labels can be effectively filtered out, and the working efficiency of label filtering is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of label detection, and particularly relates to a label detection method, device, terminal device, and computer-readable storage medium. Background Art

[0002] With the development of Internet of Things technology, radio frequency identification technology is more and more widely used in library venues. Especially in library borrowing management, radio frequency identification technology identifies tags through wireless signals to achieve automated library management and borrowing services.

[0003] In the related art, invalid tags cannot be accurately and quickly filtered out, resulting in a reduction in the efficiency of borrowing services. Summary of the Invention

[0004] Embodiments of this application provide a label detection method, device, terminal device, and computer-readable storage medium, which can effectively filter out invalid tags and improve the working efficiency of label filtering.

[0005] In a first aspect, embodiments of this application provide a label detection method, including:

[0006] Collect a first signal value of a radio frequency tag; the first signal value is the signal strength corresponding to the radio frequency tag;

[0007] Determine a first distance value between the radio frequency tag and a target position according to the first signal value; wherein, the target position is the position where the acquisition device corresponding to the acquired signal value is located;

[0008] Determine the validity of the radio frequency tag according to the first signal value and the first distance value.

[0009] In the embodiments of this application, the signal value of the radio frequency tag is collected, and the distance value between the radio frequency tag and the acquisition device is calculated according to the signal value. Whether the radio frequency tag is a valid tag is determined according to the signal value and the distance value. In the case where multiple radio frequency tags work simultaneously, the signal value of the radio frequency tag and the position of the radio frequency tag can be used to double-verify the radio frequency tag. Compared with the method of only using the signal value of the radio frequency tag for label filtering, the accuracy of filtering out invalid tags can be improved. Therefore, the above method can effectively identify invalid tags in a complex environment and improve the working efficiency.

[0010] In a possible implementation manner of the first aspect, the determining the first distance value between the radio frequency tag and the target position according to the first signal value includes:

[0011] Obtain a second signal value corresponding to a preset distance between the radio frequency tag and the target position;

[0012] Input the preset distance, the second signal value, and the first signal value into a preset model to obtain a second distance value;

[0013] Correct the second distance value to obtain the first distance value.

[0014] In the embodiments of the present application, by obtaining the preset distance and signal values, inputting them into the model to obtain the second distance value, and performing correction, the accuracy of distance estimation between the RF tag and the target position can be significantly improved, the influence of environmental factors can be reduced, and the real-time performance and reliability of the system can be improved.

[0015] In a possible implementation manner of the first aspect, the first signal value includes multiple first sub-signal values. Determining the validity of the RF tag according to the first signal value includes:

[0016] During the movement of the RF tag, determine the first change rate and growth rate of the first sub-signal values according to the collected multiple first sub-signal values;

[0017] If the first change rate is greater than the first threshold and less than the second threshold, and the growth rate is greater than the third threshold, determine the RF tag as a valid tag.

[0018] In the embodiments of the present application, by analyzing the change rate and growth rate of the signal values of the RF tag during movement and setting reasonable thresholds, valid tags can be effectively identified and filtered out. This not only improves the accuracy of tag identification, but also better copes with complex environmental conditions, improving the robustness and real-time performance of the system.

[0019] In a possible implementation manner of the first aspect, the first signal value includes multiple second sub-signal values, and the first distance value includes multiple first sub-distance values; determining the validity of the RF tag according to the first distance value includes:

[0020] After the RF tag moves to the first position, determine the second change rate of the second sub-signal values according to the collected multiple second sub-signal values;

[0021] Calculate the first average value corresponding to the multiple first sub-distance values;

[0022] Collect multiple third distance values between the target position and the first position, and calculate the second average value corresponding to the multiple third distance values;

[0023] Determine the validity of the RF tag according to the second change rate, the first average value, and the second average value.

[0024] In the embodiments of the present application, by comprehensively analyzing the change rate of the signal value and the average value of the distance value, the effectiveness of the tag can be judged more comprehensively. The determination of the valid tag reduces misjudgment and misidentification, and improves the accuracy and reliability of the system.

[0025] In a possible implementation manner of the first aspect, the determining the effectiveness of the RF tag according to the second change rate, the first average value, and the second average value includes:

[0026] Calculating a first error value between the first average value and the second average value;

[0027] If the first error value is within a fourth threshold and the second change rate is less than a first threshold, determine that the RF tag is a valid tag.

[0028] In the embodiments of the present application, by calculating the first error value and the second change rate and setting corresponding threshold conditions, the effectiveness of the RF tag can be judged more accurately. This method not only improves the accuracy and reliability of the system, but also enhances the anti-interference ability and adaptability of the system, making the system more robust and reliable in a complex environment.

[0029] In a possible implementation manner of the first aspect, during the movement of the RF tag, determining a first direction in which a plurality of first sub-signal values change according to the collected plurality of first sub-signal values; wherein, the first direction is the direction in which the first sub-signal values of the RF tag increase in sequence during the movement of the RF tag;

[0030] In the first direction, if the first distance value between the RF tag and the target position decreases in sequence, determine that the RF tag is a valid tag.

[0031] In the embodiments of the present application, by monitoring the change of the RSSI value with the change of the distance of the RF tag and the relative relationship and change trend of the change of the distance of the RF tag, the relative movement direction between the reader or the RF tag and the tag can be identified. This is particularly important for tag recognition in a dynamic environment and can improve the response speed and accuracy of the system.

[0032] In a possible implementation manner of the first aspect, the method further includes:

[0033] After the RF tag moves to the first position, calculating a third average value corresponding to the plurality of second sub-signal values;

[0034] If the third average value is greater than a fifth threshold and the number of reading times corresponding to the plurality of second sub-signal values read by the acquisition device is greater than a preset number within a preset time, determine that the RF tag is a valid tag.

[0035] In the embodiments of the present application, by analyzing the average RSSI value and the number of readings over a period of time, invalid tags in the vicinity can be filtered out to ensure that only valid tags participate in the borrowing process. This can improve the anti-interference ability of the system and reduce the possibility of misoperations.

[0036] In a possible implementation manner of the first aspect, the method further includes:

[0037] After determining that the radio frequency tag is a valid tag, comparing the radio frequency tag with a preset tag;

[0038] If the radio frequency tag is the same as the first tag in the preset tags, then compare the first signal value corresponding to the radio frequency tag with the third signal value corresponding to the first tag to determine whether the radio frequency tag and the first tag are the same tag.

[0039] In the embodiments of the present application, by analyzing a large amount of tag data collected and the idle-time environment detection mechanism, the tags in the surrounding environment (preset tags) can be analyzed, and invalid tags in the vicinity can be quickly filtered out, which can further improve the accuracy.

[0040] In a second aspect, an embodiment of the present application provides a tag detection device, including:

[0041] A signal acquisition module, configured to acquire a first signal value corresponding to a radio frequency tag; the first signal value is the signal strength corresponding to the radio frequency tag;

[0042] A distance calculation module, configured to determine a first distance value between the radio frequency tag and a target position according to the first signal value; wherein, the target position is the position of the acquisition device corresponding to the acquired signal value;

[0043] A tag detection module, configured to determine the validity of the radio frequency tag according to the first signal value and the first distance value.

[0044] In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the tag filtering method according to any one of the above first aspects is implemented.

[0045] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the tag filtering method according to any one of the above first aspects is implemented.

[0046] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device is caused to execute the tag filtering method described in any one of the above first aspects.

[0047] It can be understood that the beneficial effects of the above second aspect to the fifth aspect can be referred to the relevant descriptions in the above first aspect, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0049] Figure 1 is a schematic flowchart of the tag detection method provided by an embodiment of the present application;

[0050] Figure 2 is a schematic flowchart of determining the first distance value provided by an embodiment of the present application;

[0051] Figure 3 is a schematic flowchart of determining valid tags provided by an embodiment of the present application Figure 1 ;

[0052] Figure 4 is a schematic diagram of data acquisition provided by an embodiment of the present application;

[0053] Figure 5 is a schematic flowchart of determining valid tags provided by an embodiment of the present application Figure 2 ;

[0054] Figure 6 is a block diagram of the structure of the tag detection device provided by an embodiment of the present application;

[0055] Figure 7 is a schematic diagram of the structure of the terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0056] In the following description, specific details such as specific system architectures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present application.

[0057] It should be understood that, as used in the specification of this application and the appended claims, the term "comprising" indicates the presence of the described features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or their groups.

[0058] It should also be understood that the term "and / or" as used in the specification of this application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0059] As used in the specification of this application and the appended claims, the term "if" may be construed, depending on the context, as "when" or "once" or "in response to determining" or "in response to detecting". Similarly, the phrases "if determined" or "if [the described condition or event] is detected" may be construed, depending on the context, as meaning "once determined" or "in response to determining" or "once [the described condition or event] is detected" or "in response to detecting [the described condition or event]".

[0060] In addition, in the description of the specification of this application and the appended claims, the terms "first", "second", "third", etc. are used only for differentiating descriptions and should not be construed as indicating or implying relative importance.

[0061] Reference to "one embodiment" or "some embodiments" or the like described in the specification of this application means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of this application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways.

[0062] With the development of Internet of Things technology, Radio Frequency Identification (RFID) technology is increasingly widely used in library venues. Especially in library borrowing management, RFID technology identifies tags through wireless signals to achieve automated library management and borrowing services.

[0063] However, existing RFID systems have some limitations in practical applications. For example, in complex environments such as libraries, when multiple RFID tags work simultaneously, signal interference is likely to occur, resulting in incorrect identification or missed identification, which affects the normal use of readers. For example, traditional RFID systems often lack an accurate distance estimation mechanism and cannot accurately determine the distance between the tag and the reader, affecting the accuracy and efficiency of the borrowing process. For example, when the reader is moving, it is difficult for the existing system to accurately capture the signal change trend of the tag, resulting in instability and misreading in the borrowing process, etc.

[0064] To solve the above technical problems, the embodiments of the present application provide a tag detection method. In the present application, by establishing an RFID tag Received Signal Strength Indicator (RSSI) signal model and an innovative distance estimation method, the signal change trend of the tag with the change of distance is judged, so as to realize the filtering of invalid book tags and improve the user experience of seamless borrowing and the overall accuracy rate.

[0065] See Figure 1 , which is a schematic flowchart of the tag detection method provided by the embodiments of the present application. By way of example and not limitation, the method may include the following steps:

[0066] S101, collect a first signal value corresponding to the radio frequency tag; the first signal value is the signal strength corresponding to the radio frequency tag.

[0067] In the embodiments of the present application, in a Radio Frequency Identification (RFID) system, a Reader is used to collect the signal strength (RSSI value) of a radio frequency tag (book tag). When a reader (including the radio frequency tag) enters a channel (a specific channel set for signal detection), the Reader will be turned on and collect or read the signal strength of the radio frequency tag, that is, the first signal value.

[0068] Specifically, the reader carries the radio frequency tag into the target channel. The Reader detects that the tag enters its signal coverage area. The Reader automatically turns on when it detects that the tag enters the target channel, or is manually turned on by system control. The Reader starts to send radio frequency signals to activate the tag. After receiving the signal from the Reader, the radio frequency tag is activated. The tag sends its unique identifier and stored information, including the signal strength (RSSI value). The Reader receives the signal sent by the tag, and the Reader measures the received signal strength (RSSI value), which is the first signal value.

[0069] In addition, when the reader collects the RSSI values corresponding to multiple RF tags, it will also collect other data related to the RSSI value, such as timestamps, antenna numbers, etc. The reader transmits the collected RSSI values and related data to the central processing system, and the central processing system stores these data for subsequent processing and analysis. For example, the cached data is initially cleaned, outliers and duplicate data are removed, etc., to ensure the accuracy and effectiveness of the data.

[0070] S102. Determine a first distance value between the RF tag and the target position according to the first signal value; wherein, the target position is the position where the acquisition device corresponding to the acquired signal value is located.

[0071] In the embodiment of the present application, the first distance value refers to the actual physical distance between the RF tag and the acquisition device (reader), and this distance is calculated through the signal strength (RSSI) and other parameters (such as transmission power, path loss exponent, etc.). By understanding the distance between the RF tag and the acquisition device, the relative relationship and change trend of the distance change of the RF tag, that is, the distance change of the reader, can be determined, and the filtering efficiency of filtering invalid tags can be improved.

[0072] In one embodiment, refer to Figure 2 which is a schematic flowchart of the process for determining the first distance value provided by the embodiment of the present application. As Figure 2 shown, step S102 includes:

[0073] S201. Obtain a second signal value corresponding to a preset distance between the RF tag and the target position.

[0074] In the embodiment of the present application, the preset distance is the reference distance, and the RSSI value (second signal value) corresponding to the RF tag at the reference distance is determined. The second signal value corresponding to the reference distance is a reference standard. According to this reference standard, the first distance value between the current RF tag and the position (target position) corresponding to the reader can be obtained.

[0075] S202. Input the preset distance, the second signal value, and the first signal value into a preset model to obtain a second distance value.

[0076] In the embodiment of the present application, determining the distance according to RSSI is usually determined through modeling. The relationship between the signal strength RSSI and the distance can be described by the logarithmic distance path loss model (preset model), as follows:

[0077]

[0078] wherein, RSSI is the actually measured received signal strength (first signal value), RSSI 0is the reference distance d corresponding to the above preset distance 0 is the received signal strength (the second signal value) at 0 , and n is the path loss exponent. The path loss exponent n is determined through experiments or by referring to empirical values in similar environments. This parameter reflects the rate at which the signal attenuates with increasing distance.

[0079] By inputting the first signal value collected above, the second signal value corresponding to the reference standard, and the preset distance corresponding to the second signal value into the above preset model simultaneously, the first distance value (the distance between the RF tag and the collection device) corresponding to the collected first signal value can be obtained.

[0080] Exemplarily, first determine RSSI 0 , n, and d 0 values. For example, the RSSI value (RSSI 0 ) at a measured distance of 1 meter (d 0 ) is -40 dBm, and based on experience, the path loss exponent n of the propagation environment is estimated to be 3 (the estimated value by comparing the ideal environment with the measured environment); obtain the current RSSI value, and measure the RSSI value of the tag to be measured in real time. Assume that the RSSI value at our current measurement location is -60 dBm; substitute the known parameters into the formula for calculation:

[0081] -60 = -40 - 10 * 3 log10(d / 1);

[0082] Simplify the equation: -60 + 40 = -30 log10(d), that is, log10(d) = 20 / 30;

[0083] Get d = 10 2 / 3 which is approximately 4.64 meters, that is, the first distance value corresponding to the currently collected first signal value is 4.64 meters.

[0084] S203. Correct the second distance value to obtain the first distance value.

[0085] In the embodiments of the present application, relying solely on RSSI for distance estimation may be affected by various factors, resulting in a large error. To improve the accuracy of distance estimation, other parameters can be introduced for correction, such as antenna gain and the transmission power of the RF tag, etc.

[0086] Specifically, the following formula can be used to correct the distance value:

[0087] RSSI = P T + G T + G R - 10n log 10 (d) - X σ

[0088] Among them, PT: Transmit power, a parameter set by the reader; GT: Transmit antenna gain, an antenna specification parameter; GR: Receive antenna gain, an antenna specification parameter; n: Path loss exponent, determined according to the actual environment, with different values in different environments; Xσ: Shadow fading (can be ignored for now); d: The distance to be calculated.

[0089] In the above method, in the embodiments of the present application, by obtaining the preset distance and signal value, inputting them into the model to obtain the second distance value, and making corrections, the accuracy of distance estimation between the RF tag and the target position can be significantly improved, the influence of environmental factors can be reduced, and the real-time performance and reliability of the system can be enhanced.

[0090] S103, Determine the validity of the RF tag according to the first signal value and the first distance value.

[0091] In the embodiments of the present application, in the RFID system, the validity of the RF tag is determined according to the collected RSSI value (the first signal value) and the calculated distance of the RF tag. By observing the change trends of these two parameters, it can be judged whether the RF tag is within the effective range, etc.

[0092] In one embodiment, as Figure 3 shown, it is the flow diagram for determining valid tags provided by the embodiments of the present application Figure 1 As Figure 3 shown, the first signal value includes multiple first sub-signal values. In step S103, determining the validity of the RF tag according to the first signal value includes:

[0093] S301, During the movement of the RF tag, determine the first change rate and growth rate of the first sub-signal value according to the collected multiple first sub-signal values.

[0094] In the embodiments of the present application, as Figure 4 shown, it is the data acquisition schematic diagram provided by the embodiments of the present application. Data is acquired during a time series after the reader enters the channel (the time series from entering the channel to a specific position), including data such as acquisition time, RF tag information, RSSI value, and antenna number. Among them, the first sub-signal value is the RSSI value corresponding to a certain RF tag acquired during this period. Calculate the slope (the first change rate) t1 and growth rate t2 corresponding to the collected multiple first sub-signal values, and filter out invalid tags according to their change trends.

[0095] Specifically, a linear regression model can be used to perform trend analysis on the multiple first sub-signal values acquired within the time series, and calculate the slope and growth rate at each tag time point.

[0096] S302, If the first change rate is greater than the first threshold and less than the second threshold, and the growth rate is greater than the third threshold, then determine the RF tag as a valid tag.

[0097] In the embodiments of the present application, the slope and growth rate of the RSSI value in the time series before the RF tag reaches a specific position are obtained, and then the slope and growth rate are respectively compared with multiple thresholds to filter out invalid tags. Among them, each threshold is set based on factors such as the actual environment, the hardware performance of the reader, and the tag characteristics, combined with empirical judgment and experimental verification, to set a reasonable growth trend threshold. This threshold is used to distinguish between valid tags and invalid tags that may be caused by interference.

[0098] Specifically, when comparing the slope of the RSSI value corresponding to the RF tag with the threshold, the first threshold can be set to 0.3, and the second threshold is 1; when comparing the growth rate of the RSSI value corresponding to the RF tag with the threshold, the third threshold can be set to 40%; when making a determination, the determination condition is that when the slope of a certain RF tag within the sequence time is greater than 0.3 and less than 1, and the growth rate within this sequence time is greater than 40%, then determine that the RF tag is a valid tag, and the RF tags not within this threshold range are determined to be invalid tags.

[0099] It should be noted that the above determination method is applicable to filtering out invalid tags according to the change trend of RSSI during the movement of the RF tag.

[0100] In the above method, by analyzing the change rate and growth rate of the signal value during the movement of the RF tag and setting reasonable thresholds, valid tags can be effectively identified and filtered out. This not only improves the accuracy of tag identification but also better copes with complex environmental conditions, improving the robustness and real-time performance of the system.

[0101] In another embodiment, refer to Figure 5 , which is a schematic flow chart of determining a valid tag provided by the embodiments of the present application Figure 2 , as Figure 2 shown, the first signal value includes multiple second sub-signal values, the first distance value includes multiple first sub-distance values, and determining the validity of the RF tag according to the first distance value in step S103 includes:

[0102] S401, After the RF tag moves to the first position, determine the second change rate of the second sub-signal value according to the collected multiple second sub-signal values.

[0103] In the embodiments of the present application, when the RF tag moves to a specific position (the first position), the RSSI value (the second sub-signal value) of the RF tag can be collected within a sequence time such as 3 seconds, and the slope (the second change rate) of the second sub-signal value can be calculated.

[0104] S402. Calculate a first average value corresponding to multiple said first sub - distance values.

[0105] In an embodiment of the present application, each first sub - distance is the distance between a radio - frequency tag determined according to each second sub - signal value and a target position, i.e., the position where the reader is located. Calculating the average value corresponding to multiple first sub - distance values is the first average value.

[0106] S403. Collect multiple third - distance values between the target position and the first position, and calculate a second average value corresponding to multiple said third - distance values.

[0107] In an embodiment of the present application, since the reader carries a radio - frequency tag, that is, during the movement of the radio - frequency tag, it indicates that the reader is also moving. Due to the different positions where the reader carries the radio - frequency tag, the distance between the reader and the target position is different from the distance between the radio - frequency tag and the target position. Therefore, after calculating the first sub - distance between the radio - frequency tag and the target position, it is necessary to obtain the distance (third - distance) between the reader and the target position.

[0108] Specifically, there is a laser sensor at the target position. The third - distance between the reader and the target position can be read through the laser sensor every second within a sequence time, such as 3 seconds. After reading multiple third - distances, calculate the average value between multiple third - distances, which is the second average value.

[0109] S404. Determine the validity of the radio - frequency tag according to the second change rate, the first average value, and the second average value.

[0110] In an embodiment of the present application, perform a trend analysis on the second change rate respectively, and compare the first average value and the second average value. Filter out invalid tags according to the analysis result and the comparison result.

[0111] In the above - mentioned method, by comprehensively analyzing the change rate of the signal value and the average value of the distance value, the validity of the tag can be judged more comprehensively. The determination of valid tags reduces misjudgment and mis - identification, and improves the accuracy and reliability of the system.

[0112] In one embodiment, step S404 includes:

[0113] Calculate a first error value between the first average value and the second average value;

[0114] If the first error value is within a fourth threshold and the second change rate is less than a first threshold, then determine the radio - frequency tag as a valid tag.

[0115] In the embodiments of the present application, a first error value between the first average value and the second average value is calculated, and the validity of the RF tag is determined according to the first error value and the second change rate.

[0116] Specifically, if the error between the first average value and the second average value is less than 20% (i.e., the fourth threshold), and the slope of the calculated RSSI value is less than 0.3 (if the first threshold is 0.3), then the RF tag is determined to be a valid tag.

[0117] It should be noted that the above method is a filtering method in the stationary state after the RF tag moves to a specific position. Since the second sub-signal value is collected when the RF tag does not move, its second sub-signal tends to be in a stable state and its slope is low.

[0118] In the above method, by calculating the first error value and the second change rate and setting corresponding threshold conditions, the validity of the RF tag can be judged more accurately. This method not only improves the accuracy and reliability of the system, but also enhances the anti-interference ability and adaptability of the system, making the system more robust and reliable in a complex environment.

[0119] In one embodiment, the method further includes:

[0120] During the movement of the RF tag, a first direction of change of a plurality of the first sub-signal values is determined according to the collected plurality of first sub-signal values; wherein, the first direction is the direction in which the first sub-signal values of the RF tag increase in sequence during the movement of the RF tag.

[0121] In the first direction, if the first distance value between the RF tag and the target position decreases in sequence, then the RF tag is determined to be a valid tag.

[0122] In the embodiments of the present application, during the movement of the RF tag and before it moves to a specific position, i.e., the first position, the validity of the RF tag can also be determined by the real-time change trend of RSSI and the real-time position of the reader.

[0123] Specifically, when the reader moves towards the first position, i.e., when the RF tag moves towards the first position, the RSSI value of the RF tag, i.e., the first sub-signal value, is collected in real time. If the first sub-signal value increases in sequence, then the direction in which the RSSI increases in real time is determined as the first direction, that is, it can be determined that the reader or the RF tag is moving towards the first position. In the first direction, it is judged whether the first distance value between the RF tag and the target position decreases in sequence. If the first distance value between the RF tag and the target position decreases in sequence in the first direction, then the RF tag is determined to be a valid tag. Because when the RF tag is closer to the target position, it indicates that the reader is moving towards the target position and the intensity of its first signal value will increase in sequence.

[0124] It should be noted that in addition to determining the distance between the RF tag and the target position, the distance between the reader and the target position can also be measured by a laser sensor and determined based on the distance between the reader and the target position.

[0125] In the above method, by monitoring the change of the RSSI value with the distance of the RF tag and the relative relationship and change trend of the change of the RF tag distance, the relative movement direction between the reader or the RF tag and the tag can be identified. This is particularly important for tag recognition in a dynamic environment and can improve the response speed and accuracy of the system.

[0126] In one embodiment, the method further includes:

[0127] After the RF tag moves to the first position, calculate the third average value corresponding to the multiple second sub-signal values;

[0128] If the third average value is greater than the fifth threshold, and the number of readings corresponding to the multiple second sub-signal values read by the acquisition device is greater than the preset number within the preset time, determine that the RF tag is a valid tag.

[0129] In the embodiments of the present application, after the RF tag reaches a specific position, by analyzing the RSSI average value and the number of readings within a period of time, the surrounding invalid tags can be filtered out.

[0130] Exemplarily, after the RF tag moves to the first position, calculate the average value of the multiple second sub-signals collected, that is, the third average value. If this average value is greater than the fifth threshold, and if this threshold is 95, that is, if the third average value is greater than 95, then determine whether the number of readings of the acquisition device, that is, the reader-writer, within the specified time is greater than the preset number. If the number of readings of the reader-writer within the preset time, such as within 5 seconds, is greater than the preset number, such as 10 times, then determine that the RF tag is a valid tag.

[0131] In the above method, by analyzing the RSSI average value and the number of readings within a period of time, the surrounding invalid tags can be filtered out to ensure that only valid tags participate in the borrowing process. It can improve the anti-interference ability of the system and reduce the possibility of misoperation.

[0132] In another embodiment, the method further includes:

[0133] Input the first signal value into the prediction model to obtain the prediction result corresponding to the prediction model;

[0134] If the preset ratio corresponding to the prediction result is greater than the sixth threshold, determine that the RF tag is a valid tag.

[0135] In the embodiments of the present application, sample data of successful reader borrowing and failed sample data are stored for data model training (the model uses the Microsoft ML.Net value prediction model), and the time series data of the collected tags are predicted by calling the trained data model (prediction model). When the model prediction is greater than 95% (the sixth threshold), the RF tag is determined to be a valid tag.

[0136] In one embodiment, the method further includes:

[0137] After determining that the RF tag is a valid tag, compare the RF tag with a preset tag;

[0138] If the RF tag is the same as the first tag in the preset tags, then compare the first signal value corresponding to the RF tag and the third signal value corresponding to the first tag to determine whether the RF tag and the first tag are the same tag.

[0139] In the embodiments of the present application, after determining the valid tag through the above steps, the valid tag can be compared with the tags in the surrounding environment to filter out the invalid tags in the surrounding area.

[0140] Specifically, each of the determined valid tags can be compared with the tags (preset tags) in the surrounding environment. If the above-mentioned tagged tags are all different from the preset tags, further logical processing is performed, such as binding the reader to borrow with the valid tag.

[0141] If there are identical tags among the obtained valid tags and the preset tags, that is, the same as the first tag in the preset tags, then it is necessary to compare the RF tag of the same tag and the first tag to determine whether the two tags are the same tag, that is, to determine whether the first tag is an invalid tag. The comparison method is as follows:

[0142] S1: When the first tag is not borrowed by anyone, collect multiple RSSI values of the first tag, that is, the third signal value, and calculate the change value between the maximum value and the minimum value of the multiple third signal values as v1. Calculate the change value v2 between the maximum value and the minimum value of the multiple RSSI values of the valid RF tag, that is, the multiple first signal values. If V1>Q1 or V2-V1>Q1; (the Q1 value can be adjusted according to the deployed environment, and the default value is 15). If the comparison condition is met, the next step of the borrowing business logic processing is performed. If not, S2 processing is performed:

[0143] S2: Calculate the average value of the multiple third signal values as A1, calculate the average value of the multiple first signal values as A2, and the comparison formula: |A2-A1| / A1>Q2; (the Q2 value can be adjusted according to the deployed environment, and the default value is 15%).

[0144] If the comparison conditions are met, the next step of the book borrowing business logic processing is carried out; if the conditions are not met, no business logic processing is performed on the tags.

[0145] In the above method, a large number of collected tag data and the idle environment detection mechanism are used to analyze the surrounding tags (preset tags) of the environment, which can quickly filter out the surrounding invalid tags and improve the accuracy.

[0146] In this application, to solve the problems encountered by the existing RFID technology in library borrowing management, such as the misidentification of tags caused by excessive electromagnetic signals and range, and the inability to accurately locate the books that readers actually need to borrow, etc., the present invention is implemented through the following technical solutions:

[0147] ① When a reader enters the passage, the reader is turned on to collect tag data and its RSSI value in real time. These data are cached and trend analyzed, and only the tag data that conforms to a specific growth trend is used for the borrowing process. This method can effectively reduce misidentification caused by signal fluctuations or interference;

[0148] ② The received signal strength indication (RSSI) and parameters such as antenna gain value and power are used to estimate the distance between the tag and the reader. By measuring the RSSI value and applying the signal attenuation model, the approximate distance between the tag and the reader can be estimated. This is crucial for determining the precise position of the tag,

[0149] which helps to improve the accuracy of the borrowing process;

[0150] ③ By monitoring the relative relationship and change trend of the RSSI value with the change of the distance between the book tag and the change of the reader's distance, the relative movement direction between the reader and the tag can be identified. This is particularly important for tag recognition in a dynamic environment and can improve the response speed and accuracy of the system;

[0151] ④ By analyzing the average RSSI value and the number of reads over a period of time, the surrounding invalid tags can be filtered out to ensure that only valid tags participate in the borrowing process. This can improve the anti-interference ability of the system,

[0152] reducing the possibility of misoperation;

[0153] ⑤ A large number of collected tag data and the idle environment detection mechanism are used to analyze the surrounding tags of the environment,

[0154] which can quickly filter out the surrounding invalid tags and improve the accuracy.

[0155] It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of this application.

[0156] Corresponding to the label filtering method described in the above embodiments, Figure 6 FIG. is a structural block diagram of a label detection device provided in an embodiment of the present application. For ease of description, only parts related to the embodiments of the present application are shown.

[0157] Referring to Figure 6 , the device 6 includes:

[0158] A signal acquisition module 61 for acquiring a first signal value corresponding to a radio frequency tag; the first signal value is the signal strength corresponding to the radio frequency tag;

[0159] A distance calculation module 62 for determining a first distance value between the radio frequency tag and a target position according to the first signal value; wherein, the target position is the position of the acquisition device where the signal value is acquired;

[0160] A label detection module 63 for determining the validity of the radio frequency tag according to the first signal value and the first distance value.

[0161] Optionally, the distance calculation module 62 is further configured to:

[0162] Obtain a second signal value corresponding to a preset distance between the radio frequency tag and the target position;

[0163] Input the preset distance, the second signal value, and the first signal value into a preset model to obtain a second distance value;

[0164] Correct the second distance value to obtain the first distance value.

[0165] Optionally, the label detection module 63 is further configured to:

[0166] During the movement of the radio frequency tag, determine a first change rate and a growth rate of the first sub-signal value according to a plurality of acquired first sub-signal values;

[0167] If the first change rate is greater than a first threshold and less than a second threshold, and the growth rate is greater than a third threshold, then determine the radio frequency tag as a valid tag.

[0168] Optionally, the label detection module 63 is further configured to:

[0169] After the radio frequency tag moves to a first position, determine a second change rate of the second sub-signal value according to a plurality of acquired second sub-signal values;

[0170] Calculate a first average value corresponding to a plurality of the first sub-distance values;

[0171] Collect multiple third distance values between the target position and the first position, and calculate a second average value corresponding to the multiple third distance values;

[0172] Determine the validity of the RF tag according to the second change rate, the first average value, and the second average value.

[0173] Optionally, the tag detection module 63 is further configured to:

[0174] Calculate a first error value between the first average value and the second average value;

[0175] If the first error value is within a fourth threshold and the second change rate is less than a first threshold, determine that the RF tag is a valid tag.

[0176] Optionally, the tag detection module 63 is further configured to:

[0177] During the movement of the RF tag, determine a first direction in which multiple first sub-signal values change according to the collected multiple first sub-signal values; wherein, the first direction is the direction in which the first sub-signal values of the RF tag increase in sequence during the movement of the RF tag;

[0178] In the first direction, if the first distance value between the RF tag and the target position decreases in sequence, determine that the RF tag is a valid tag.

[0179] Optionally, the tag detection module 63 is further configured to:

[0180] After the RF tag moves to the first position, calculate a third average value corresponding to the multiple second sub-signal values;

[0181] If the third average value is greater than a fifth threshold and the number of acquisitions corresponding to the multiple second sub-signal values collected is greater than a preset number within a preset time, determine that the RF tag is a valid tag.

[0182] Optionally, the tag detection module 63 is further configured to:

[0183] After determining that the RF tag is a valid tag, compare the RF tag with a preset tag;

[0184] If the RF tag is the same as the first tag in the preset tag, compare the first signal value corresponding to the RF tag and the third signal value corresponding to the first tag to determine whether the RF tag and the first tag are the same tag.

[0185] It should be noted that, for the content such as information interaction and execution process between the above-mentioned devices / units, since it is based on the same concept as the method embodiment of this application, for its specific functions and the technical effects brought, please refer to the method embodiment part for details, and will not be elaborated here.

[0186] In addition, Figure 6 The shown tag detection device can be a software unit, a hardware unit, or a unit combining software and hardware built into an existing terminal device, can also be integrated into the terminal device as an independent pendant, or can exist as an independent terminal device.

[0187] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the above-mentioned division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of this application. The specific working processes of the units and modules in the above system can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated here.

[0188] Figure 7 is a schematic structural diagram of a terminal device provided by an embodiment of this application. As Figure 7 shown, the terminal device 7 in this embodiment includes: at least one processor 70 ( Figure 7 only one is shown in the figure), a processor, a memory 71, and a computer program 72 stored in the memory 71 and executable on the at least one processor 70. When the processor 70 executes the computer program 72, the steps in any of the above-mentioned tag filtering method embodiments are implemented.

[0189] The terminal device can be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that Figure 7 merely an example of the terminal device 7, does not constitute a limitation on the terminal device 7, and may include more or fewer components than shown in the figure, or combine some components, or different components. For example, it may also include input / output devices, network access devices, etc.

[0190] The so-called processor 70 may be a Central Processing Unit (CPU), and this processor 70 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or this processor may also be any conventional processor, etc.

[0191] In some embodiments, the memory 71 may be an internal storage unit of the terminal device 7, such as the hard disk or memory of the terminal device 7. In some other embodiments, the memory 71 may also be an external storage device of the terminal device 7, such as a plug-in hard disk equipped on the terminal device 7, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Further, the memory 71 may also include both the internal storage unit and the external storage device of the terminal device 7. The memory 71 is used to store an operating system, application programs, a Boot Loader, data, and other programs, such as the program code of the computer program, etc. The memory 71 may also be used to temporarily store data that has been output or is to be output.

[0192] The embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned various method embodiments can be implemented.

[0193] The embodiment of the present application provides a computer program product, and when the computer program product runs on a terminal device, it enables the terminal device to execute and implement the steps in the above-mentioned various method embodiments.

[0194] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above-described embodiment methods of this application, a computer program can be used to instruct the relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-described method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can at least include: any entity or device capable of carrying the computer program code to the device / terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk, or an optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium cannot be an electrical carrier signal and a telecommunication signal.

[0195] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0196] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0197] In the embodiments provided in this application, it should be understood that the disclosed device / terminal device and method can be implemented in other ways. For example, the device / terminal device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in an electrical, mechanical, or other form.

[0198] The unit described as a separating component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or may be distributed over multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0199] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included within the protection scope of the present application.

Claims

1. A label detection method, characterized in that: The method comprises: Collecting a first signal value corresponding to a radio frequency tag; the first signal value is a signal strength corresponding to the radio frequency tag; Determine a first distance value between the radio frequency tag and a target position according to the first signal value; wherein the target position is a position where a collection device corresponding to the collected signal value is located; The validity of the radio frequency tag is determined according to the first signal value and the first distance value.

2. The label detection method according to claim 1, characterized in that: The step of determining a first distance value between the radio frequency tag and the target position according to the first signal value includes: Acquire a second signal value corresponding to a preset distance between the radio frequency tag and the target position; Inputting the preset distance, the second signal value and the first signal value into a preset model to obtain a second distance value; The second distance value is corrected to obtain the first distance value.

3. The label detection method according to claim 1, characterized in that: The first signal value includes a plurality of first sub-signal values, and determining the validity of the radio frequency tag according to the first signal value includes: During the movement of the radio frequency tag, determining a first change rate and a growth rate of the first sub-signal value according to a plurality of collected first sub-signal values; If the first change rate is greater than a first threshold and less than a second threshold, and the growth rate is greater than a third threshold, the radio frequency tag is determined to be a valid tag.

4. The label detection method according to claim 1, characterized in that: The first signal value includes a plurality of second sub-signal values, and the first distance value includes a plurality of first sub-distance values; Determining the validity of the radio frequency tag according to the first distance value includes: After the radio frequency tag moves to the first position, determining a second change rate of the second sub-signal value according to the collected multiple second sub-signal values; Calculate a first average value corresponding to a plurality of the first sub-distance values; Collecting a plurality of third distance values ​​between the target position and the first position, and calculating a second average value corresponding to the plurality of third distance values; The validity of the radio frequency tag is determined according to the second change rate, the first average value and the second average value.

5. The label detection method according to claim 4, characterized in that: The determining the validity of the radio frequency tag according to the second change rate, the first average value and the second average value includes: Calculating a first error value between the first average value and the second average value; If the first error value is within a fourth threshold and the second change rate is less than the first threshold, the radio frequency tag is determined to be a valid tag.

6. The label detection method according to claim 3, characterized in that: The method further comprises: During the movement of the RFID tag, determining a first direction in which the first sub-signal values ​​change according to the collected first sub-signal values; wherein the first direction is a direction in which the first sub-signal values ​​of the RFID tag increase sequentially during the movement of the RFID tag; In the first direction, if the first distance value between the radio frequency tag and the target position decreases successively, the radio frequency tag is determined to be a valid tag.

7. The label detection method according to claim 4, characterized in that: The method further comprises: After the radio frequency tag moves to the first position, calculating a third average value corresponding to a plurality of second sub-signal values; If the third average value is greater than the fifth threshold value, and the number of readings corresponding to the plurality of second sub-signal values ​​read by the acquisition device is greater than the preset number within the preset time, the radio frequency tag is determined to be a valid tag.

8. The label detection method according to claim 1, characterized in that: The method further comprises: After determining that the radio frequency tag is a valid tag, comparing the radio frequency tag with a preset tag; If the RFID tag is the same as the first tag in the preset tags, a first signal value corresponding to the RFID tag is compared with a third signal value corresponding to the first tag to determine whether the RFID tag and the first tag are the same tag.

9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.