Temperature measurement method, device, equipment, medium and product
By receiving the signal strength and duration returned by the passive tag, it is determined whether the signal strength is within the effective range. The temperature measurement value is determined by using the mapping relationship between the duration and temperature, which solves the error problem in passive IoT temperature measurement and improves the measurement accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-23
- Publication Date
- 2026-03-31
AI Technical Summary
Temperature measurement technology based on passive IoT suffers from measurement errors. How can we improve the accuracy of temperature measurement?
By receiving the signal strength and duration returned by the passive tag, it is determined whether the signal strength is within the effective range. The temperature measurement value is determined by using the mapping relationship between the duration and temperature, thus eliminating nonlinear errors caused by abnormal receiving power.
This improves the accuracy of temperature measurement, ensures the validity and reliability of the basic data input into the mapping relationship, and avoids the impact of nonlinear errors.
Smart Images

Figure CN121765584A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Internet of Things (IoT) technology, and in particular to a temperature measurement method, apparatus, device, medium, and product. Background Technology
[0002] Passive IoT-based temperature measurement technology achieves non-contact temperature monitoring of target objects by attaching passive tags that do not require power. However, the temperature measurement results may be inaccurate due to measurement conditions. Therefore, improving the accuracy of passive IoT-based temperature measurements has become an urgent technical problem to be solved. Summary of the Invention
[0003] This application provides a temperature measurement method, apparatus, device, medium, and product to address the technical problem of improving the accuracy of temperature measurement based on passive IoT.
[0004] In a first aspect, embodiments of this application provide a temperature measurement method, including: Transmit a first carrier signal according to the target power, and receive a first return signal returned by the passive tag according to the first carrier signal; The first signal strength and the first duration are determined based on the first return signal. The first duration is used to characterize the time required for the inventory flag bit of the passive tag to flip between different states. When the first signal strength is within the effective strength range, the temperature measurement value of the passive tag is determined based on the first duration and the mapping relationship between the duration and temperature. The effective strength range and mapping relationship are predetermined based on the calibration data corresponding to the passive label.
[0005] In conjunction with the first aspect, in some possible implementations, when the first signal strength is within the effective strength range, the temperature measurement value of the passive tag is determined based on the first duration and the mapping relationship between the duration and temperature, including: When the first signal strength is within the effective strength range, the temperature measurement value of the passive tag is obtained by querying or calculating based on the first duration and the mapping relationship between the duration and temperature.
[0006] In conjunction with the first aspect and the above implementation methods, in some possible implementation methods, transmitting a first carrier signal according to the target power to receive a first return signal returned by the passive tag according to the first carrier signal includes: The first carrier signal is transmitted multiple times according to the target power, and multiple first return signals are received from the passive tag based on the multiple transmitted first carrier signals; Determining the first signal strength and the first duration based on the first returned signal includes: The signal strength corresponding to each first return signal is determined based on each of the multiple first return signals. The signal strength corresponding to each first return signal is statistically aggregated to obtain the first signal strength; Based on each of the multiple first return signals, the duration corresponding to each first return signal is determined. The duration is used to characterize the time required for the disk flag bit of the passive tag to flip between different states. The duration corresponding to each first return signal is statistically aggregated to obtain the first duration.
[0007] In combination with the first aspect and the above implementation methods, in some possible implementation methods, after determining the first signal strength and the first duration based on the first return signal, the method further includes: If the first signal strength is outside the effective strength range, the target power is adjusted, and the process returns to transmitting the first carrier signal according to the target power, receiving the first return signal returned by the passive tag according to the first carrier signal, and subsequent steps.
[0008] In combination with the first aspect and the above implementation methods, in some possible implementation methods, when the first signal strength is outside the effective strength range, the target power is adjusted, including at least one of the following: If the first signal strength is greater than the maximum value in the effective strength range, the target power is reduced; If the first signal strength is less than the minimum value in the effective strength range, the target power is increased.
[0009] Combining the first aspect and the above implementation methods, in some possible implementation methods, the calibration data corresponding to the passive tag includes a data group sequence corresponding to each of the multiple ambient temperatures. The data group sequence consists of a corresponding second signal strength and a second duration. The second duration is used to characterize the time required for the disk flag bit of the passive tag to flip between different states. The method also includes: For the current ambient temperature set sequentially among multiple ambient temperatures, a second carrier signal is transmitted multiple times according to a preset power gradient to receive multiple second return signals returned by the passive tag based on the multiple transmitted second carrier signals; The data group sequence corresponding to the current ambient temperature is determined based on multiple second return signals; Repeat the above steps until the data set sequence corresponding to each of the multiple ambient temperatures is determined. The effective intensity range is determined based on the data set sequence corresponding to each ambient temperature, and the mapping relationship between duration and temperature is determined based on the data set sequence corresponding to each ambient temperature.
[0010] In combination with the first aspect and the above implementation methods, in some possible implementation methods, a second carrier signal is transmitted multiple times according to a preset power gradient to receive multiple second return signals returned by the passive tag based on the multiple transmitted second carrier signals, including: The second carrier signal is transmitted for the first time according to the maximum power in the preset power gradient, so as to receive the first second return signal returned by the passive tag according to the first transmitted second carrier signal; The power of the second carrier signal is gradually reduced according to the power gradient to receive at least one second return signal returned by the passive tag according to the second carrier signal transmitted after the power is gradually reduced.
[0011] Combining the first aspect and the above implementation methods, in some possible implementation methods, the data group sequence corresponding to the current ambient temperature is determined based on multiple second return signals, including: For each of the multiple second return signals, obtain the second signal strength and the second duration corresponding to each second return signal; Each second return signal is combined into a corresponding data group by combining the second signal strength and the second duration. Based on the data group corresponding to each second return signal, determine the data group sequence corresponding to the current ambient temperature.
[0012] Combining the first aspect and the above implementation methods, in some possible implementation methods, the effective intensity range is determined based on the data set sequence corresponding to each ambient temperature, including: In each data set sequence corresponding to each ambient temperature, the intensity of the corresponding transition signal is determined. Among the signal strengths that change at each ambient temperature, the smallest value is selected as the maximum signal strength for multiple ambient temperatures. The maximum signal strength corresponding to multiple ambient temperatures is used as the maximum value to determine the effective strength range.
[0013] Combining the first aspect and the above implementation methods, in some possible implementation methods, the effective intensity range is determined based on the data set sequence corresponding to each ambient temperature, including: In each data set sequence corresponding to each ambient temperature, the intensity of the corresponding transition signal is determined. Among the signal strengths that change at each ambient temperature, the smallest value is selected as the maximum signal strength for multiple ambient temperatures. Based on the data sequence corresponding to each ambient temperature, determine the minimum signal strength corresponding to multiple ambient temperatures; The maximum and minimum signal strength corresponding to multiple ambient temperatures are used as the maximum and minimum values to determine the effective strength range.
[0014] Combining the first aspect and the above implementation methods, in some possible implementation methods, the corresponding transition signal strength is determined in the data group sequence corresponding to each ambient temperature, including: For each ambient temperature, the data group containing the minimum second signal strength in the corresponding data group sequence is determined as the reference data group; In the corresponding data group sequence, traversal is performed starting from the corresponding reference data group and moving in the direction of increasing second signal strength to determine the duration difference between two adjacent data groups. When the duration difference first exceeds the preset transition threshold, the second signal strength of the data group with the larger second signal strength among the two adjacent data groups that generate the duration difference is determined as the corresponding transition signal strength.
[0015] Combining the first aspect and the above implementation methods, in some possible implementation methods, the minimum signal strength corresponding to multiple ambient temperatures is determined based on the data group sequence corresponding to each ambient temperature, including: For each ambient temperature, determine the corresponding minimum second signal strength in the corresponding data set sequence; Among the minimum second signal strengths corresponding to each ambient temperature, the one with the largest value is selected as the minimum signal strength for multiple ambient temperatures.
[0016] Combining the first aspect and the above implementation methods, in some possible implementation methods, the mapping relationship between duration and temperature is determined based on the data set sequence corresponding to each ambient temperature, including: Extract multiple second durations corresponding to each ambient temperature from the data set sequence corresponding to each ambient temperature; The third duration corresponding to each ambient temperature is obtained by statistically aggregating multiple second durations for each ambient temperature. The mapping relationship between duration and temperature is obtained by fitting the data based on each ambient temperature and the corresponding third duration.
[0017] Secondly, embodiments of this application provide a temperature measuring device, comprising: The transceiver module is used to transmit a first carrier signal according to the target power and to receive a first return signal returned by the passive tag according to the first carrier signal; The first determining module is used to determine the first signal strength and the first duration based on the first return signal. The first duration is used to characterize the time required for the storage flag bit of the passive tag to flip between different states. The second determining module is used to determine the temperature measurement value of the passive tag based on the first duration and the mapping relationship between the duration and temperature, when the first signal strength is within the effective strength range. The effective strength range and mapping relationship are predetermined based on the calibration data corresponding to the passive label.
[0018] Thirdly, embodiments of this application provide an electronic device, including a processor and a memory storing a computer program, wherein the processor executes the program to implement the steps of the temperature measurement method of the first aspect.
[0019] Fourthly, embodiments of this application provide a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the temperature measurement method of the first aspect.
[0020] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the steps of the temperature measurement method of the first aspect.
[0021] The temperature measurement method, apparatus, device, medium, and product provided in this application first transmit a first carrier signal according to a target power to receive a first return signal returned by a passive tag based on the first carrier signal, and further determine a first signal strength and a first duration based on the first return signal. Subsequently, the scheme determines whether the first signal strength is within an effective strength range predetermined based on calibration data corresponding to the passive tag. When it is determined to be within the effective strength range, the scheme then determines the temperature measurement value of the passive tag based on the first duration and a mapping relationship between duration and temperature, also predetermined based on calibration data. Thus, by introducing a step to determine whether the first signal strength is within an effective strength range, a crucial precondition is set for the use of the first duration. This precondition ensures that the first duration is only adopted when the first signal strength indicates that the passive tag's received power is within an ideal range, and is further used to combine the duration and temperature mapping relationship for temperature measurement. This mechanism eliminates the risk of nonlinear errors in the first duration caused by abnormal received power being directly used to determine the temperature measurement value, thereby ensuring the validity and reliability of the basic data input into the mapping relationship, and ultimately improving the accuracy of the determined temperature measurement value. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a schematic flowchart of the temperature measurement method provided in the embodiments of this application; Figure 2 This is a schematic diagram of the data calibration process provided in the embodiments of this application; Figure 3 This is a schematic diagram illustrating how the duration varies with the distance between the reader and the passive tag, as provided in an embodiment of this application. Figure 4 This is a schematic diagram illustrating the change in signal strength between the reader and the passive tag, provided in an embodiment of this application. Figure 5 This is a schematic diagram of the structure of the temperature measuring device provided in the embodiments of this application; Figure 6 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0025] Temperature measurement technology based on passive IoT enables non-contact temperature monitoring of the target object by attaching a passive tag that does not require power to the target object.
[0026] Among related technologies, there are schemes that measure temperature by integrating a temperature sensor into a passive tag. However, the analog-to-digital conversion module in the temperature sensor increases the activation power of the passive tag, resulting in a significantly shorter reading distance for the passive tag with integrated temperature sensor under the same conditions compared to a regular passive tag, thus increasing the difficulty of overall system deployment. Other related technologies estimate temperature by analyzing the backscattered signal characteristics of the passive tag. Because the signal from a passive tag is weak and easily disturbed by changes in surrounding multipath channels, the signal characteristics are unstable, and the measurement accuracy and stability cannot be guaranteed in practical scenarios.
[0027] To address the shortcomings of the aforementioned technical solutions, this application proposes a method for obtaining temperature measurements using the duration of a passive tag. This duration characterizes the time required for the stored flag bit of the passive tag to flip between different states. Since this duration is correlated with temperature, the temperature measurement value of the passive tag can be further determined using the duration. Compared to the two related technologies mentioned above, the method of obtaining temperature measurements using the duration of a passive tag has advantages: it eliminates the need to integrate additional temperature sensing elements into the passive tag, thus maintaining a reading distance comparable to that of ordinary passive tags; furthermore, the duration, as a direct measure of the flipping state of the stored flag bit within the passive tag, provides a more stable and reliable measurement basis compared to the backscattered signal characteristics, which are susceptible to multipath effects.
[0028] However, in practical applications, the power of the device used to transmit carrier signals to passive tags can affect the duration of the passive tag's signal, and may even lead to significant deviations in the final temperature measurement. Therefore, improving the accuracy of passive tag duration acquisition, and consequently the accuracy of temperature measurement, has become an urgent technical problem to be solved.
[0029] To address the aforementioned issues, the solution provided in this application primarily includes: firstly, transmitting a first carrier signal based on a target power to receive a first return signal from the passive tag based on the first carrier signal, and further determining a first signal strength and a first duration based on the first return signal; subsequently, determining whether the first signal strength is within an effective strength range predetermined based on the calibration data corresponding to the passive tag; when determined to be within the effective strength range, the solution then determines the temperature measurement value of the passive tag based on the first duration and a mapping relationship between duration and temperature also predetermined based on the calibration data. Thus, by introducing a step to determine whether the first signal strength is within an effective strength range, a crucial precondition is set for the use of the first duration. This precondition ensures that the first duration is only adopted when the first signal strength indicates that the passive tag's received power is within an ideal range, and is further used to perform temperature measurement in conjunction with the mapping relationship between duration and temperature. This mechanism eliminates the risk of nonlinear errors in the first duration caused by abnormal received power being directly used to determine the temperature measurement value, thereby ensuring the validity and reliability of the basic data input into the mapping relationship, ultimately improving the accuracy of the determined temperature measurement value.
[0030] The temperature measurement method provided in the embodiments of this application will be described in detail below.
[0031] Please see Figure 1 , Figure 1This is a schematic flowchart illustrating a temperature measurement method provided in an embodiment of this application. Figure 1 As shown, the method in this application embodiment may include the following steps S101-S103.
[0032] S101, transmit a first carrier signal according to the target power to receive a first return signal returned by the passive tag according to the first carrier signal.
[0033] Specifically, the subject executing the method in this embodiment can be an electronic device, such as a reader / writer. A reader / writer refers to a device capable of wirelessly communicating with passive tags and providing power to them.
[0034] First, in order to obtain the response information of the passive tag, a first carrier signal needs to be transmitted according to the target power to receive a first return signal returned by the passive tag based on the first carrier signal. Here, the target power refers to the preset power value for transmitting the first carrier signal; the first carrier signal refers to the radio frequency signal used to activate the passive tag and request its response; and the first return signal refers to the signal containing its internal status information fed back by the passive tag after it is activated.
[0035] Regarding this step, in some possible implementations, relevant processing logic can be used to set the target power and transmit a first carrier signal accordingly to receive a first return signal from the passive tag; correspondingly, after receiving the first carrier signal, the passive tag generates and returns a first return signal based on the received energy. In some possible implementations, a dynamic adjustment mechanism can be used to adjust the target power to optimize the quality of the first return signal.
[0036] S102, determine the first signal strength and the first duration based on the first return signal, the first duration being used to characterize the time required for the storage flag bit of the passive tag to flip between different states.
[0037] Specifically, in order to extract key parameters from the first return signal, it is necessary to determine the first signal strength and the first duration based on the first return signal. The first duration is used to characterize the time required for the stored flag bit of the passive tag to flip between different states. Here, the first signal strength refers to the strength index of the first return signal received by the reader; the first duration refers to the time it takes for the state of a specific flag bit inside the passive tag to flip.
[0038] It should be noted that the time required for the storage flag bits of a passive tag to flip between different states refers to the length of time it takes for the tag's internal storage bits to automatically flip from one logical state to another, according to the relevant protocol. This duration is related to the temperature of the passive tag's environment; specifically, temperature changes cause alterations in the physical characteristics of the tag's circuitry, thus affecting the duration.
[0039] Regarding this step, in some possible implementations, correlation analysis techniques can be used to extract the first signal strength and the first duration from the first returned signal. In some possible implementations, a method of multiple measurements and statistical aggregation can be used to process the multiple acquired first returned signals to determine a more stable first signal strength and first duration.
[0040] The aforementioned protocols can be RFID communication protocols that support multi-session management of passive tags and state transitions of inventory flags, such as ISO / IEC 18000-6C, EPCglobalGen2, and ISO / IEC 18000-7. Taking the ISO / IEC 18000-6C protocol as an example, the first state in a session is state A, and the second state is state B. State A and state B are the two logical states of inventory flags defined by the passive RFID protocol.
[0041] S103, when the first signal strength is within the effective strength range, the temperature measurement value of the passive tag is determined according to the first duration and the mapping relationship between the duration and temperature; wherein, the effective strength range and the mapping relationship are predetermined based on the calibration data corresponding to the passive tag.
[0042] Specifically, to ensure the reliability of temperature measurement, it is necessary to determine whether the strength of the first signal is within the effective strength range. The effective strength range can be defined by a single maximum value, or by a combination of a maximum and a minimum value.
[0043] The above judgment process can be represented as a logical operation that compares the strength of the first signal with the boundary value of the effective strength range.
[0044] When the first signal strength is within the effective strength range, the temperature measurement value of the passive tag is determined based on the first duration and the mapping relationship between duration and temperature. The effective strength range and mapping relationship are predetermined based on the calibration data corresponding to the passive tag. The effective strength range refers to the preset range of the first signal strength to ensure measurement accuracy; the mapping relationship between duration and temperature refers to the correspondence rule between the duration value and the temperature value obtained through calibration; the temperature measurement value of the passive tag refers to the temperature value finally calculated based on the first duration.
[0045] Regarding this step, in some possible implementations, the first duration can be converted into a passive tag temperature measurement value through data querying based on the mapping relationship between duration and temperature. In other possible implementations, the first duration can be calculated as a passive tag temperature measurement value through mathematical operations based on the mapping relationship between duration and temperature.
[0046] Understandably, if the first signal strength is outside the effective strength range, it indicates that the first duration under the current power condition may have a large error and cannot accurately reflect the temperature information. In this case, the target power can be adjusted and the step of transmitting the first carrier signal according to the target power can be repeated until a first signal strength within the effective strength range is obtained.
[0047] In this embodiment, a first carrier signal is first transmitted according to the target power to receive a first return signal from the passive tag based on the first carrier signal. The first signal strength and a first duration are then determined based on the first return signal. Subsequently, the scheme determines whether the first signal strength is within a pre-determined effective strength range based on the calibration data corresponding to the passive tag. When it is determined to be within the effective strength range, the scheme then determines the temperature measurement value of the passive tag based on the first duration and a pre-determined mapping relationship between duration and temperature, also based on the calibration data. Thus, by introducing a step to determine whether the first signal strength is within an effective strength range, a crucial precondition is set for the use of the first duration. This precondition ensures that the first duration is only adopted when the first signal strength indicates that the passive tag's received power is within an ideal range, and is further used to perform temperature measurement in conjunction with the mapping relationship between duration and temperature. This mechanism eliminates the risk of nonlinear errors in the first duration caused by abnormal received power being directly used to determine the temperature measurement value, thereby ensuring the validity and reliability of the basic data input into the mapping relationship and ultimately improving the accuracy of the determined temperature measurement value.
[0048] In one embodiment, the step "determining the temperature measurement value of the passive tag based on the first duration and the mapping relationship between the duration and temperature when the first signal strength is within the effective strength range" can be further refined and may include the following steps: When the first signal strength is within the effective strength range, the temperature measurement value of the passive tag is obtained by querying or calculating based on the first duration and the mapping relationship between the duration and temperature.
[0049] Specifically, considering that the mapping relationship between duration and temperature may have different manifestations, this embodiment proposes to determine the temperature measurement value of the passive tag based on query or calculation.
[0050] On the one hand, if the mapping relationship between duration and temperature is represented by a pre-constructed table of correspondence between duration and temperature, then, when the first signal strength is within the effective strength range, the temperature measurement value of the passive tag can be obtained by querying based on the first duration and the mapping relationship between duration and temperature.
[0051] Regarding this step, in some possible implementations, the first duration can be matched with each duration in the above correspondence table to determine the target duration that is closest to the first duration, and the temperature value corresponding to the target duration in the correspondence table can be determined as the temperature measurement value of the correspondence table of the passive tag.
[0052] On the other hand, if the mapping relationship between duration and temperature is expressed as a function of duration and temperature generated by a fitting algorithm, then, provided the first signal strength is within the effective strength range, the temperature measurement value of the passive tag can be calculated based on the first duration and the mapping relationship between duration and temperature.
[0053] Regarding this step, in some possible implementations, the first duration can be used as the input parameter for the functional relationship between duration and temperature. The corresponding output value is obtained through function calculation, and this output value is then determined as the temperature measurement value of the passive tag. Here, the functional relationship between duration and temperature refers to a mathematical expression obtained by fitting calibration data, used to describe the numerical correspondence between duration and temperature.
[0054] In this embodiment, by providing two specific implementation methods—querying and calculation—the application of the mapping relationship between duration and temperature becomes more flexible. When the mapping relationship is a correspondence table, the temperature measurement value can be directly obtained through quick matching; when the mapping relationship is a function relationship, the temperature measurement value can be accurately calculated through mathematical operations. This design can adapt to different calibration data storage formats and computational needs, ensuring that, under the condition that the first signal strength is within the effective strength range, regardless of how the calibration data is stored, the temperature measurement value of the passive tag can be effectively determined based on the first duration, thereby improving the applicability and reliability of the temperature measurement method.
[0055] In one embodiment, the above step of "transmitting a first carrier signal according to the target power to receive a first return signal returned by the passive tag according to the first carrier signal" can be further refined and may include the following steps: The first carrier signal is transmitted multiple times according to the target power, and multiple first return signals are received from the passive tag based on the multiple transmitted first carrier signals; Further refining the above step of "determining the first signal strength and the first duration based on the first return signal" can include the following steps: The signal strength corresponding to each first return signal is determined based on each of the multiple first return signals. The signal strength corresponding to each first return signal is statistically aggregated to obtain the first signal strength; Based on each of the multiple first return signals, the duration corresponding to each first return signal is determined. The duration is used to characterize the time required for the disk flag bit of the passive tag to flip between different states. The duration corresponding to each first return signal is statistically aggregated to obtain the first duration.
[0056] Specifically, considering the random interference or instantaneous fluctuations that may exist during signal transmission, this embodiment proposes a scheme of multiple measurements and statistical aggregation to improve the stability of parameter determination.
[0057] First, a first carrier signal needs to be transmitted multiple times according to the target power to receive multiple first return signals from the passive tag based on the transmitted first carrier signal. These multiple first return signals refer to multiple independent signal samples fed back by the passive tag under the same target power condition, achieved by repeatedly transmitting the first carrier signal.
[0058] Regarding this step, in some possible implementations, a fixed number of transmissions can be set or the number of transmissions can be dynamically adjusted based on signal quality to obtain a sufficient number of first return signals.
[0059] Furthermore, based on each of the multiple first return signals, the signal strength corresponding to each first return signal is determined; the signal strengths corresponding to each first return signal are statistically aggregated to obtain the first signal strength. Statistical aggregation refers to the process of mathematically processing multiple signal strength values to obtain representative values, such as calculating the average or median.
[0060] Regarding this step, in some possible implementations, a weighted average method can be used to aggregate the signal strengths corresponding to different first return signals according to preset weights in order to highlight the signal characteristics under specific conditions.
[0061] Furthermore, based on each of the multiple first return signals, the duration corresponding to each first return signal is determined. The duration is used to characterize the time required for the disk flag bit of the passive tag to flip between different states. The durations corresponding to each first return signal are statistically aggregated to obtain a first duration. Here, statistical aggregation refers to the process of mathematically processing multiple duration values to obtain representative values, such as calculating the average or median.
[0062] Regarding this step, in some possible implementations, outliers can be removed before aggregation. For example, duration data that deviates from the overall distribution by more than a preset threshold can be excluded to improve the reliability of the first duration.
[0063] In this embodiment, multiple first return signals are obtained through multiple measurements, and the corresponding signal strengths and durations are statistically aggregated to filter out errors introduced by random interference in a single measurement. This makes the final first signal strength and first duration closer to the true values, thus providing a data foundation for subsequently determining the temperature measurement value based on the mapping relationship between duration and temperature.
[0064] In one embodiment, after the above step of "determining the first signal strength and the first duration based on the first return signal", the following step may be further included: If the first signal strength is outside the effective strength range, the target power is adjusted, and the process returns to transmitting the first carrier signal according to the target power, receiving the first return signal returned by the passive tag according to the first carrier signal, and subsequent steps.
[0065] Specifically, to ensure the reliability of temperature measurement, when the first signal strength is outside the effective strength range, the target power needs to be adjusted, and the process should return to transmitting the first carrier signal based on the target power, receiving the first return signal from the passive tag based on the first carrier signal, and subsequent steps. The adjustment of the target power can be manifested as performing an upward or downward adjustment based on a comparison between the first signal strength and the effective strength range.
[0066] Regarding this step, in some possible implementations, the adjustment amount of the target power can be dynamically calculated based on the difference between the first signal strength and the maximum or minimum value of the effective strength range. For example, if the first signal strength is greater than the maximum value of the effective strength range, the target power is reduced by a preset step size; if the first signal strength is less than the minimum value of the effective strength range, the target power is increased by a preset step size. The adjusted target power is used to retransmit the first carrier signal to obtain a new first return signal, and the first signal strength and first duration are re-determined based on the new first return signal until the first signal strength is within the effective strength range.
[0067] In this embodiment, by adjusting the target power when the first signal strength is outside the effective strength range, and re-executing the steps of transmitting the first carrier signal according to the target power to receive the first return signal returned by the passive tag according to the first carrier signal, and subsequent steps, it is ensured that the reacquired first signal strength is within the effective strength range. This mechanism avoids the risk of nonlinear errors in the first duration caused by abnormal first signal strength, thereby ensuring the validity and reliability of the basic data in the mapping relationship between input duration and temperature, and ultimately improving the accuracy of the temperature measurement value of the passive tag determined based on the first duration.
[0068] In one embodiment, the step of "adjusting the target power when the first signal strength is outside the effective strength range" can be further refined and may include at least one of the following steps: If the first signal strength is greater than the maximum value in the effective strength range, the target power is reduced; If the first signal strength is less than the minimum value in the effective strength range, the target power is increased.
[0069] Specifically, considering that the effective strength range may be defined in different ways, this embodiment proposes a scheme to dynamically adjust the target power based on the relative relationship between the first signal strength and the boundary of the effective strength range.
[0070] If the effective strength range is defined solely by its maximum value, or by both its maximum and minimum values, the target power can be reduced if the first signal strength is greater than the maximum value within the effective strength range. Here, the maximum value within the effective strength range refers to the upper limit threshold of the first signal strength preset to ensure measurement accuracy; the minimum value within the effective strength range refers to the lower limit threshold of the first signal strength preset to ensure measurement accuracy.
[0071] Regarding this step, in some possible implementations, the target power can be adjusted down by a preset step size based on the difference between the first signal strength and the maximum value in the effective strength range, so that the first signal strength corresponding to the adjusted target power is within the effective strength range.
[0072] If the effective strength range is defined by its maximum and minimum values, the target power can be increased if the first signal strength is less than the minimum value in the effective strength range.
[0073] Regarding this step, in some possible implementations, the target power can be increased by a preset step size based on the difference between the first signal strength and the minimum value in the effective strength range, so that the first signal strength corresponding to the adjusted target power is within the effective strength range.
[0074] In this embodiment, by clearly defining the adjustment direction of the target power under different conditions, it is ensured that the first signal strength can quickly enter the effective strength range. When the first signal strength is greater than the maximum value in the effective strength range, lowering the target power can reduce the receiving power of the passive tag, avoiding nonlinear errors in the first duration due to excessive power; when the first signal strength is less than the minimum value in the effective strength range, raising the target power can enhance the response capability of the passive tag, ensuring the validity of the first duration measurement. This mechanism ensures the validity and reliability of the basic data input into the mapping relationship between duration and temperature, thereby improving the accuracy of the temperature measurement value of the passive tag determined based on the first duration.
[0075] Please see Figure 2 This document provides a schematic diagram of a data labeling process for an embodiment of this application, as shown below. Figure 2 As shown, the method in this embodiment may further include the following steps S201-S204. The calibration data corresponding to the passive tag includes a data group sequence corresponding to each of multiple ambient temperatures. Each data group in the data group sequence consists of a corresponding second signal strength and a second duration. The second duration is used to characterize the time required for the storage flag bit of the passive tag to flip between different states.
[0076] S201, for the current ambient temperature set sequentially among multiple ambient temperatures, transmits a second carrier signal multiple times according to a preset power gradient, and receives multiple second return signals returned by the passive tag based on the multiple transmitted second carrier signals; S202, determine the data group sequence corresponding to the current ambient temperature based on multiple second return signals; S203, Repeat the above steps until the data set sequence corresponding to each ambient temperature is determined among multiple ambient temperatures; S204, determine the effective intensity range based on the data set sequence corresponding to each ambient temperature, and determine the mapping relationship between duration and temperature based on the data set sequence corresponding to each ambient temperature.
[0077] Specifically, considering the impact of tag receiving power on duration, this embodiment proposes a data calibration scheme.
[0078] First, to obtain the tag response characteristics under different ambient temperatures, it is necessary to transmit a second carrier signal multiple times based on a preset power gradient for the current ambient temperature, which is set sequentially among multiple ambient temperatures. This allows for the reception of multiple second return signals from the passive tag based on the transmitted second carrier signals. Here, "sequentially set" refers to setting the ambient temperatures one by one in a preset order; "current ambient temperature" refers to the ambient temperature value currently being calibrated; "power gradient" refers to a preset sequence of changes in transmission power; "second carrier signal" refers to the carrier signal used for calibration; and "second return signal" refers to the response signal returned by the passive tag based on the second carrier signal.
[0079] Regarding this step, in some possible implementations, relevant processing logic can be used to transmit a second carrier signal based on a preset power gradient and receive multiple second return signals returned by the passive tag.
[0080] Furthermore, a data set sequence corresponding to the current ambient temperature is determined based on multiple second return signals. Each data set in the sequence consists of a corresponding second signal strength and a second duration, where the second duration characterizes the time required for the disk flag bit of the passive tag to flip between different states. Specifically, for each second return signal, the corresponding second signal strength and second duration are extracted, and these are combined to form a data set, thereby constructing the data set sequence corresponding to the current ambient temperature.
[0081] Regarding this step, in some possible implementations, a relevant processing method can be used to determine the data group sequence based on multiple second return signals, wherein the data group sequence includes the corresponding second signal strength and second duration.
[0082] To obtain complete calibration data, the above steps need to be repeated until the data set sequence corresponding to each of the multiple ambient temperatures is determined. Regarding this step, in some possible implementations, relevant control strategies can be employed to perform the above steps for each of the multiple ambient temperatures to determine the data set sequence corresponding to each ambient temperature.
[0083] Finally, the effective intensity range is determined based on the data set sequence corresponding to each ambient temperature, and the mapping relationship between duration and temperature is also determined based on the data set sequence corresponding to each ambient temperature. Regarding this step, in some possible implementations, relevant algorithms can be used to determine the effective intensity range and the mapping relationship between duration and temperature based on the data set sequence corresponding to each ambient temperature.
[0084] In this embodiment, by acquiring data sequence sets at different ambient temperatures, the characteristics of the second duration changing with the second signal intensity can be analyzed. Based on the effective intensity range determined by this analysis, a power range in which the second duration and the second signal intensity have a stable linear relationship is defined. The mapping relationship between duration and temperature established based on the data within this range avoids the influence of nonlinear power changes, thereby ensuring that the calibration data accurately reflects the temperature characteristics and improving calibration accuracy.
[0085] In one embodiment, the above step of "transmitting a second carrier signal multiple times according to a preset power gradient to receive multiple second return signals returned by the passive tag based on the multiple transmitted second carrier signals" can be further refined and may include the following steps: The second carrier signal is transmitted for the first time according to the maximum power in the preset power gradient, so as to receive the first second return signal returned by the passive tag according to the first transmitted second carrier signal; The power of the second carrier signal is gradually reduced according to the power gradient to receive at least one second return signal returned by the passive tag according to the second carrier signal transmitted after the power is gradually reduced.
[0086] Specifically, the first step is to transmit a second carrier signal based on the maximum power in the preset power gradient, in order to receive the first second return signal returned by the passive tag based on the first transmitted second carrier signal.
[0087] Regarding this step, in some possible implementations, the transmission parameters can be configured based on a preset power gradient, so that the initial power value of the first carrier signal is the maximum value in the power gradient, and the passive tag is triggered to return the first second return signal, which is used to subsequently determine the corresponding data group.
[0088] Furthermore, the power of the second carrier signal is gradually reduced according to the power gradient during transmission, in order to receive at least one second return signal returned by the passive tag based on the second carrier signal transmitted after the power reduction. Here, gradually reducing the power means sequentially decreasing the power value of the transmitted second carrier signal according to a preset power gradient sequence, with each power value corresponding to one transmission operation, thereby obtaining multiple second return signals.
[0089] Regarding this step, in some possible implementations, a second carrier signal can be transmitted sequentially based on each power value in the power gradient, and multiple second return signals returned by the passive tag can be received. Each second return signal is used to construct a data group sequence corresponding to the current ambient temperature.
[0090] After the above steps, multiple second return signals can be obtained. These multiple second return signals correspond to different transmission powers and are used to extract the second signal strength and the second duration.
[0091] In this embodiment, by gradually decreasing the power starting from the maximum power in a preset power gradient, multiple second return signals returned by the passive tag under different power conditions can be obtained, thereby covering the complete response range from high power to low power. This provides a data foundation for subsequently determining the data set sequence corresponding to the current ambient temperature based on multiple second return signals, thus supporting the accurate definition of the effective intensity range.
[0092] In one embodiment, the step of "determining the data set sequence corresponding to the current ambient temperature based on multiple second return signals" can be further refined and may include the following steps: For each of the multiple second return signals, obtain the second signal strength and the second duration corresponding to each second return signal; Each second return signal is combined into a corresponding data group by combining the second signal strength and the second duration. Based on the data group corresponding to each second return signal, determine the data group sequence corresponding to the current ambient temperature.
[0093] Specifically, firstly, for each of the multiple second return signals, it is necessary to obtain the second signal strength and the second duration corresponding to each second return signal.
[0094] Regarding this step, in some possible implementations, a signal analysis method can be used to extract the second signal strength and the second duration from each second return signal, where the second signal strength is used to characterize the energy intensity of the second return signal, and the second duration is used to characterize the time required for the disk flag bit of the passive tag to flip between different states.
[0095] Furthermore, the second signal strength and second duration corresponding to each second return signal are respectively combined into a corresponding data group.
[0096] Regarding this step, in some possible implementations, the second signal strength and the second duration corresponding to each second return signal can be combined according to a preset data structure to form a corresponding data group, wherein the data group is used to store the correlation between the second signal strength and the second duration.
[0097] Furthermore, based on the data group corresponding to each second return signal, the data group sequence corresponding to the current ambient temperature is determined.
[0098] Regarding this step, in some possible implementations, the data group corresponding to each second return signal can be sorted or aggregated according to a preset arrangement rule to generate a data group sequence corresponding to the current ambient temperature. The data group sequence is used to represent multiple correspondences between the second signal strength and the second duration at the current ambient temperature.
[0099] In this embodiment, the corresponding second signal strength and second duration are extracted for each second return signal, and the two are combined to form a data set. Finally, a data set sequence corresponding to the current ambient temperature is constructed, recording the tag response characteristics under different power conditions. This data set sequence retains the correspondence between the second signal strength and the second duration, covering multiple sets of measurement data under a preset power gradient, providing a structured and quantifiable data foundation for subsequently determining the effective intensity range and the mapping relationship between duration and temperature.
[0100] In one embodiment, the step of "determining the effective intensity range based on the data set sequence corresponding to each ambient temperature" can be further refined and may include the following steps: In each data set sequence corresponding to each ambient temperature, the intensity of the corresponding transition signal is determined. Among the signal strengths that change at each ambient temperature, the smallest value is selected as the maximum signal strength for multiple ambient temperatures. The maximum signal strength corresponding to multiple ambient temperatures is used as the maximum value to determine the effective strength range.
[0101] Specifically, to define the power-sensitive range, it is necessary to determine the corresponding transition signal strength in the data sequence corresponding to each ambient temperature. The transition signal strength corresponding to the ambient temperature refers to the critical signal strength value at that ambient temperature, when the second duration changes with the second signal strength, transitioning from a gradual change region to a drastic change region.
[0102] Regarding this step, in some possible implementations, for each data group sequence corresponding to the ambient temperature, the process can be traversed from the minimum value of the second signal strength in the direction of increase. When the difference in the second duration between two adjacent data groups exceeds a preset threshold for the first time, the second signal strength of the data group with the larger second signal strength is determined as the jump signal strength at that ambient temperature.
[0103] Furthermore, to ensure the global applicability of the effective strength range, the smallest value among the transition signal strengths corresponding to each ambient temperature needs to be selected as the maximum signal strength across multiple ambient temperatures. Here, the maximum signal strength across multiple ambient temperatures refers to the most conservative transition signal strength value selected from all ambient temperature calibration points, which serves as the global power upper limit threshold.
[0104] Regarding this step, in some possible implementations, the signal strength of the transition determined at each ambient temperature can be numerically compared, and the minimum value can be selected as the maximum signal strength corresponding to multiple ambient temperatures.
[0105] Furthermore, the maximum signal strength corresponding to multiple ambient temperatures is used as the maximum value to determine the effective strength range.
[0106] Regarding this step, in some possible implementations, the maximum signal strength can be used as the upper limit of the effective strength range, which, together with the preset lower limit of the signal strength, constitutes the effective strength range interval.
[0107] Based on the definition of the effective intensity range in this embodiment, the specific temperature measurement process can be described as follows: during the measurement stage, if the actual acquired first signal intensity exceeds the maximum signal intensity, it is determined that the current power condition is in the nonlinear region, and the power needs to be adjusted and measured again; if it is in the range below the maximum signal intensity, the first duration is allowed to be used for temperature estimation.
[0108] In this embodiment, by determining the corresponding transition signal strength at multiple ambient temperatures and selecting the smallest value as the maximum signal strength for those temperatures, it is ensured that this maximum signal strength covers the power-sensitive range across all calibration temperatures. Using this maximum signal strength as the maximum value of the effective strength range ensures that the judgment of the first signal strength during temperature measurement has universality across temperatures. When the first signal strength is below this maximum signal strength, it indicates that the tag's received power is within a range where the duration and temperature have a stable linear relationship, thus ensuring the accuracy of the temperature measurement value calculated based on the first duration and avoiding measurement errors introduced by nonlinear power changes.
[0109] In one embodiment, the step of "determining the effective intensity range based on the data set sequence corresponding to each ambient temperature" can be further refined and may include the following steps: In each data set sequence corresponding to each ambient temperature, the intensity of the corresponding transition signal is determined. Among the signal strengths that change at each ambient temperature, the smallest value is selected as the maximum signal strength for multiple ambient temperatures. Based on the data sequence corresponding to each ambient temperature, determine the minimum signal strength corresponding to multiple ambient temperatures; The maximum and minimum signal strength corresponding to multiple ambient temperatures are used as the maximum and minimum values to determine the effective strength range.
[0110] Specifically, firstly, the corresponding transition signal strength needs to be determined in the data sequence corresponding to each ambient temperature; and secondly, among the transition signal strengths corresponding to each ambient temperature, the smallest value is selected as the maximum signal strength corresponding to multiple ambient temperatures. The implementation process of this step has been described in the above embodiments and will not be repeated here.
[0111] Furthermore, to ensure the global applicability of the effective strength range, it is necessary to determine the minimum signal strength corresponding to multiple ambient temperatures based on the data set sequence corresponding to each ambient temperature. Here, the minimum signal strength corresponding to multiple ambient temperatures refers to the most conservative lower limit of signal strength selected from all ambient temperature calibration points, serving as the global power lower limit threshold.
[0112] Regarding this step, in some possible implementations, for each ambient temperature, the corresponding minimum second signal strength can be determined in the corresponding data set sequence; among the minimum second signal strengths corresponding to each ambient temperature, the one with the largest value can be selected as the minimum signal strength corresponding to multiple ambient temperatures.
[0113] Furthermore, the maximum and minimum signal strength corresponding to multiple ambient temperatures are respectively used as the maximum and minimum values to determine the effective strength range.
[0114] Regarding this step, in some possible implementations, the maximum signal strength and the minimum signal strength can be used as the upper and lower limits of the effective strength range, respectively, together forming the effective strength range interval.
[0115] Based on the definition of the effective intensity range in this embodiment, the specific temperature measurement process can be described as follows: During the measurement stage, if the actual acquired first signal intensity exceeds the maximum signal intensity or is lower than the minimum signal intensity, it is determined that the current power condition is in the nonlinear region or the signal is too weak region, and the power needs to be adjusted and measured again; if it is in the range between the maximum signal intensity and the minimum signal intensity, the first duration is allowed to be used for temperature estimation.
[0116] In this embodiment, by determining the corresponding transition signal strength and minimum signal strength at multiple ambient temperatures, and selecting the smallest value as the maximum signal strength for each ambient temperature, and the largest value as the minimum signal strength, the effective strength range is ensured to cover the power-sensitive and signal-weak ranges at all calibration temperatures. Using these maximum and minimum signal strengths as boundary values for the effective strength range ensures that the judgment of the first signal strength during temperature measurement has cross-temperature applicability. When the first signal strength is within this effective strength range, it indicates that the tag's received power is within a range where the duration and temperature have a stable linear relationship, thus ensuring the accuracy of the temperature measurement calculated based on the first duration and avoiding measurement errors introduced by nonlinear power changes or signal weakness.
[0117] In one embodiment, the step of "determining the corresponding transition signal intensity in the data sequence corresponding to each ambient temperature" can be further refined and may include the following steps: For each ambient temperature, the data group containing the minimum second signal strength in the corresponding data group sequence is determined as the reference data group; In the corresponding data group sequence, traversal is performed starting from the corresponding reference data group and moving in the direction of increasing second signal strength to determine the duration difference between two adjacent data groups. When the duration difference first exceeds the preset transition threshold, the second signal strength of the data group with the larger second signal strength among the two adjacent data groups that generate the duration difference is determined as the corresponding transition signal strength.
[0118] Specifically, to locate the starting point for data sequence analysis, for each ambient temperature, the data set containing the minimum second signal strength needs to be identified as the baseline data set. The baseline data set corresponding to each ambient temperature refers to the data set with the minimum second signal strength value at the current ambient temperature, serving as the initial reference point for the traversal operation.
[0119] Regarding this step, in some possible implementations, the data group sequence can be sorted in ascending order according to the second signal strength using a sorting algorithm, and the first sorted data group can be determined as the reference data group.
[0120] Furthermore, to capture the trend of duration variation with signal strength, it is necessary to traverse the corresponding data group sequence from the reference data group towards the direction of increasing second signal strength to determine the duration difference between adjacent data groups. Here, the direction of increasing second signal strength refers to moving from the reference data group in ascending order of second signal strength values; adjacent data groups refer to the current data group and the next data group immediately following it during the traversal; and the duration difference between adjacent data groups refers to the difference in the second duration between the two data groups.
[0121] Regarding this step, in some possible implementations, a sliding window approach can be used, where the current data group and the next data group are selected each time, and the difference between their second durations is calculated as the duration difference.
[0122] Furthermore, to identify the critical point of duration change, when the duration difference first exceeds a preset transition threshold, the second signal intensity of the data group containing the larger second signal intensity among the two adjacent data groups that generated the duration difference is determined as the corresponding transition signal intensity. Here, the preset transition threshold refers to a preset threshold used to determine whether the duration change is significant; the data group containing the larger second signal intensity among the two adjacent data groups refers to the data group with the higher second signal intensity value during the comparison process; and the transition signal intensity corresponding to ambient temperature refers to the critical signal intensity value at which the duration changes from a gradual change to a drastic change under that ambient temperature.
[0123] Regarding this step, in some possible implementations, the currently calculated duration difference can be compared with a preset transition threshold. If a greater-than relationship is found for the first time, the second signal strength of the data group with the higher second signal strength value among the two data groups being compared is recorded, and the recorded second signal strength is used as the corresponding transition signal strength.
[0124] In this embodiment, by starting from the reference data group and traversing along the direction of increasing second signal strength, and calculating the duration difference between adjacent data groups, the critical point of the trend of the second duration changing with the second signal strength can be identified. When the duration difference first exceeds a preset transition threshold, the second signal strength of the data group with the larger second signal strength is determined as the corresponding transition signal strength, thereby defining the nonlinear change region of the duration.
[0125] In one embodiment, the step of "determining the minimum signal intensity corresponding to multiple ambient temperatures based on the data set sequence corresponding to each ambient temperature" can be further refined and may include the following steps: For each ambient temperature, determine the corresponding minimum second signal strength in the corresponding data set sequence; Among the minimum second signal strengths corresponding to each ambient temperature, the one with the largest value is selected as the minimum signal strength for multiple ambient temperatures.
[0126] Specifically, the first step is to determine the minimum second signal strength for each ambient temperature within the corresponding data set sequence. The minimum second signal strength corresponding to an ambient temperature refers to the minimum second signal strength of all data sets in the data set sequence at that ambient temperature. This minimum value reflects the lowest power threshold at which the tag can be read at that temperature.
[0127] Regarding this step, in some possible implementations, for each data set sequence corresponding to an ambient temperature, the minimum value can be identified and recorded as the minimum second signal intensity corresponding to that ambient temperature by iterating through the second signal intensities of all data sets.
[0128] Furthermore, among the minimum second signal intensities corresponding to each ambient temperature, the one with the largest value is selected as the minimum signal intensity corresponding to multiple ambient temperatures.
[0129] Regarding this step, in some possible implementations, the minimum second signal strength corresponding to each ambient temperature can be numerically compared, and the one with the largest value can be selected as the minimum signal strength corresponding to multiple ambient temperatures. This minimum signal strength is used to define the lower limit threshold of the effective strength range, ensuring that the tag can be reliably read under all temperature conditions.
[0130] In this embodiment, by determining the corresponding minimum second signal strength for each ambient temperature, and selecting the largest value among the minimum second signal strengths corresponding to multiple ambient temperatures as the global minimum signal strength, it is ensured that the lower limit of the effective strength range can cover the signal readability requirements of all temperature points, thereby ensuring the reliability of the first signal strength during temperature measurement and avoiding the failure of the first duration measurement due to the signal being too weak.
[0131] In one embodiment, the step of "determining the mapping relationship between duration and temperature based on the data set sequence corresponding to each ambient temperature" can be further refined and may include the following steps: Extract multiple second durations corresponding to each ambient temperature from the data set sequence corresponding to each ambient temperature; The third duration corresponding to each ambient temperature is obtained by statistically aggregating multiple second durations for each ambient temperature. The mapping relationship between duration and temperature is obtained by fitting the data based on each ambient temperature and the corresponding third duration.
[0132] Specifically, the duration of passive tags may vary under different ambient temperatures. This embodiment proposes a scheme to construct a mapping relationship through statistical aggregation and fitting.
[0133] First, it is necessary to extract multiple second durations corresponding to each ambient temperature from the data set sequence corresponding to each ambient temperature.
[0134] Regarding this step, in some possible implementations, the data set sequence corresponding to each ambient temperature can be traversed, and the second duration contained in all data sets can be extracted to form a set of second durations under that ambient temperature.
[0135] Furthermore, the multiple second durations corresponding to each ambient temperature are statistically aggregated to obtain the third duration corresponding to each ambient temperature. Here, statistical aggregation refers to the process of mathematically processing multiple values to obtain representative values, such as calculating the average, median, or weighted average; the third duration corresponding to the ambient temperature refers to the comprehensive duration value obtained after statistically aggregating multiple second durations at that ambient temperature, which is used to reflect the typical duration characteristics at that temperature.
[0136] Regarding this step, in some possible implementations, the average value of multiple second durations corresponding to each ambient temperature can be calculated, and the calculated average value can be used as the third duration corresponding to that ambient temperature.
[0137] Furthermore, to establish a quantitative correspondence between duration and temperature, it is necessary to perform fitting processing based on each ambient temperature and the corresponding third duration to obtain the mapping relationship between duration and temperature. Fitting processing refers to the process of establishing a functional relationship between two sets of data using mathematical algorithms, such as linear regression, polynomial fitting, or nonlinear fitting.
[0138] Regarding this step, in some possible implementations, each ambient temperature can be used as the independent variable, and the corresponding third duration can be used as the dependent variable. The least squares method can be used to perform linear fitting to generate a linear functional relationship between duration and temperature, which serves as the mapping relationship between duration and temperature.
[0139] In this embodiment, by statistically aggregating multiple second durations corresponding to each ambient temperature, the random error of a single measurement is eliminated, improving the reliability of the third duration. Furthermore, a mathematical correlation between the third duration and ambient temperature is established through fitting, providing an accurate mapping basis for subsequent temperature measurements. Specifically, the statistical aggregation process preserves the central tendency characteristics of the second durations at each ambient temperature, ensuring that the third duration accurately reflects the typical duration value at that temperature. The fitting process, based on multiple ambient temperature points and their corresponding third durations, constructs a continuous functional relationship between duration and temperature, ensuring the applicability and accuracy of the mapping relationship across the entire temperature range, thus providing a reliable data foundation for estimating temperature measurements based on duration.
[0140] In one embodiment, to facilitate understanding of the present application's content regarding temperature measurement using the state duration of the inventory flag bit in the passive RFID protocol, a specific description of temperature measurement based on the inventory flag bit characteristics corresponding to each session under the passive RFID protocol is provided.
[0141] Specifically, the passive RFID protocol involved in this embodiment supports multi-session management of passive tags and state transition of inventory flag bits. This protocol specifies that the passive tag has four inventory flag bits corresponding to each session, including S0 inventory flag bit, S1 inventory flag bit, S2 inventory flag bit, and S3 inventory flag bit. Each inventory flag bit has two logical states (e.g., state A and state B). When the reader inventoryes the tag, it can specify the target session and the state of the inventory flag bit corresponding to that session, and can also specify whether to flip the state of the inventory flag bit after inventory is completed. When the inventory flag bit is in one of the logical states, the inventory flag bits corresponding to different sessions will automatically flip back to another logical state under different conditions. The delay time required for the automatic flip from the current logical state to another logical state is the duration, which is affected by temperature. Based on this characteristic, temperature measurement can be achieved. Please refer to Table 1 below: Table 1 - Diagram of setting time and required duration for inventory flag bits Inventory flag Set time Required duration S0 inventory flag Neither the initial nor the final value will exceed 2 milliseconds. When the tag is powered on: infinite length; when the tag is not powered on: none. S1 inventory flag Neither the initial nor the final value will exceed 2 milliseconds. When the tag is powered on: Nominal temperature range: 500 milliseconds < duration < 5 seconds; Extended temperature range: Not specified; When the tag is not powered on: Nominal temperature range: 500 milliseconds < duration < 5 seconds; Extended temperature range: Not specified; S2 inventory flag Neither the initial nor the final value will exceed 2 milliseconds. When the tag is powered on: Infinite duration; When the tag is not powered on: Nominal temperature range: 2 seconds < duration; Extended temperature range: Not specified; S3 inventory flag Neither the initial nor the final value will exceed 2 milliseconds. When the tag is powered on: Infinite duration; When the tag is not powered on: Nominal temperature range: 2 seconds < duration; Extended temperature range: Not specified; In this embodiment, by obtaining the characteristics of the setting time and duration of each disk storage flag bit recorded in Table 1 above, and combining the passive RFID protocol's provisions on the state transition of each session disk storage flag bit, the duration of the target disk storage flag bit automatically flipping back to another logical state from the current logical state is measured. Based on the correlation between this duration and temperature, the ambient temperature of the disk storage flag bit can be determined. Among them, the S0 disk storage flag bit, S1 disk storage flag bit, S2 disk storage flag bit, and S3 disk storage flag bit are the specific types of disk storage flag bits corresponding to the four sessions of the passive tag. Their setting time is not affected by the initial state value or the final state value, and the duration has different characteristics under different power-on states and different temperature ranges, providing diverse implementation paths for temperature measurement.
[0142] To better understand the content of this application regarding the relationship between duration and distance between the reader and the passive tag, and the relationship between signal strength and this distance, please refer to [link to relevant documentation]. Figure 3 and Figure 4 , Figure 3 This is a schematic diagram illustrating how the duration varies with the distance between the reader and the passive tag, as provided in an embodiment of this application. Figure 4 This is a schematic diagram illustrating how the signal strength changes with the distance between the reader and the passive tag, as provided in an embodiment of this application.
[0143] Specifically, Figure 3 In the graph, the horizontal axis represents the distance between the reader and the passive tag, in meters, ranging from 0 to 8 meters; the vertical axis represents the duration, in milliseconds, ranging from approximately 1240 to 1280 milliseconds. The data series includes "pst_min" (represented by a line and dots) and "pst_med" (represented by a line and dots), where "pst_min" represents the minimum duration for different distances between the reader and the passive tag, and "pst_med" represents the median duration for different distances between the reader and the passive tag. Figure 4 In the graph, the horizontal axis represents the distance between the reader and the passive tag, in meters, ranging from 0 to 8 meters; the vertical axis represents the signal strength (RSS), in dBm, ranging from approximately -30 to -75 dBm. The data series only includes "rss_mean" (represented by a line and dots), which represents the average signal strength at different distances between the reader and the passive tag. The graph shows that when the distance between the reader and the passive tag is 0 to 1 meter... Figure 3The duration values corresponding to "pst_min" and "pst_med" rise rapidly, and after 1 meter, both remain at a high level with little fluctuation. Figure 4 In the data, starting from a distance of 0 meters between the reader and the passive tag, the signal strength value corresponding to "rss_mean" continuously decreases. After 2 meters, the rate of decrease slows down and eventually approaches -75dBm.
[0144] As can be seen from the two figures, changes in the distance between the reader and the passive tag will cause changes in signal strength, and changes in signal strength will further affect the duration. Moreover, when the distance is closer (signal strength is higher), the change in duration is more significant.
[0145] To facilitate understanding of the technical solutions in the embodiments of this application, a comprehensive embodiment is provided below.
[0146] First, the calibration data is predetermined through the following calibration process, which aims to identify the nonlinear relationship between the duration of the passive tag and the received power, thereby defining the effective intensity range applicable to temperature measurement and establishing a mapping relationship between duration and temperature.
[0147] Specifically, for each of the multiple ambient temperatures (e.g., 40°C, 50°C, 60°C), the following operations are performed sequentially: First, place the passive tag at the current ambient temperature and ensure it reaches thermal equilibrium.
[0148] Then, the reader transmits a second carrier signal multiple times according to a preset power gradient and receives multiple second return signals from the passive tags. This power gradient consists of a series of transmit power values arranged from high to low, for example, starting from 30 dBm and gradually decreasing in 5 dBm increments until the tag can no longer be read. For each power point, the reader parses the second return signal to obtain the corresponding second signal strength and second duration, and combines the two into a data group. All data groups are arranged in descending order of power, forming a data group sequence corresponding to the current ambient temperature.
[0149] To illustrate this more clearly, taking an ambient temperature of 40 degrees Celsius as an example, the sequence of data obtained during the calibration process can be represented as shown in Table 2 below: Table 2 – Data set sequence list at an ambient temperature of 40℃ Power gradient Second signal strength Second duration Remark 30dBm -30dBm 2135ms 25dBm -35dBm 2100ms 20dBm -40dBm 2075ms 15dBm -45dBm 2060ms 10dBm -50dBm 2055ms 5dBm -55dbm 2052ms 0dbm -60dBm 2051ms -5dbm -65dBm 2050ms -10dBm -70dBm 2050ms -15dBm -75dBm 2050ms minimum point After obtaining the data set sequence corresponding to the current ambient temperature, key parameters need to be extracted from it to define the effective intensity range.
[0150] The process for determining the minimum signal strength is as follows: For the current ambient temperature, determine the minimum second signal strength in the corresponding data set sequence. As shown in the table above, the minimum second signal strength is -75 dBm. Repeat this process for other ambient temperatures, obtaining a minimum second signal strength of -73 dBm for 50℃ and -72 dBm for 60℃. Select the largest value from {-75 dBm, -73 dBm, -72 dBm}, i.e., -72 dBm, as the minimum signal strength for multiple ambient temperatures.
[0151] Regarding the process of determining the transition signal strength: For the current ambient temperature, the data group containing the minimum second signal strength in the corresponding data group sequence is determined as the baseline data group. As shown in the table above, the baseline data group is the data group corresponding to the second signal strength of -75dBm. In the corresponding data group sequence, starting from the baseline data group and traversing in the direction of increasing second signal strength, the difference in the second duration between two adjacent data groups is calculated. When this difference first exceeds a preset transition threshold (e.g., 10ms), the second signal strength of the data group containing the larger second signal strength among the two data groups that generated this difference is determined as the corresponding transition signal strength. In the table above, traversing from the second signal strength of -75dBm in the direction of increasing second signal strength, the difference in the second duration between the second signal strengths of -45dBm and -40dBm is |2075ms-2060ms|=15ms, which exceeds the 10ms threshold for the first time. Therefore, the second signal strength of the data group containing the larger second signal strength among the two data groups that generated this difference (i.e., the data group corresponding to the second signal strength of -40dBm) is determined as the transition signal strength corresponding to the current ambient temperature. The signal strength corresponding to 40℃ is -40dBm.
[0152] Repeating the above steps, the signal strength at 50℃ was found to be -38 dBm, and the signal strength at 60℃ was found to be -42 dBm. This results in Table 3. Table 3 – Summary Table of Multi-Ambient Temperature Calibration Data Ambient temperature RSSmin PSTmin RSSmax PSTmax 40℃ -75dBm 2050ms -40dBm 2075ms 50℃ -73dbm 1950ms -38dBm 1978ms 60℃ -72dbm 1850ms -42dbm 1880ms The process for determining the effective intensity range is as follows: Among the signal intensities corresponding to each ambient temperature ({-40dBm, -38dBm, -42dBm}), the smallest value, -42dBm, is selected as the maximum signal intensity for all ambient temperatures. Combined with the previously determined minimum signal intensity (-72dBm) for all ambient temperatures, -42dBm is taken as the maximum value and -72dBm as the minimum value, together determining the effective intensity range. Therefore, the final effective intensity range is the interval where the first signal intensity is less than -42dBm and greater than -72dBm. During the temperature measurement phase, if the acquired first signal intensity falls within this interval, the measurement is considered valid.
[0153] Regarding the process of determining the mapping relationship between duration and temperature: extract multiple second durations corresponding to each ambient temperature from the data set sequence corresponding to each ambient temperature; statistically aggregate the multiple second durations corresponding to each ambient temperature to obtain the third duration corresponding to each ambient temperature.
[0154] In this embodiment, statistical aggregation is performed by extracting the minimum and maximum values and calculating the average value. For 40℃: PST_avg=(PSTmin+PSTmax) / 2=(2050ms+2075ms) / 2=2062.5ms; For 50℃: PST_avg=(PSTmin+PSTmax) / 2=(1950ms+1978ms) / 2=1964ms; For 60℃: PST_avg=(PSTmin+PSTmax) / 2=(1850ms+1880ms) / 2=1865ms; By fitting data to each ambient temperature T and its corresponding third duration PST_avg, a mapping relationship between duration and temperature is obtained. For example, using linear fitting, this mapping relationship can be expressed as the following formula: T = a × PST_avg + b; Where T represents the ambient temperature, PST_avg represents the third duration, and a and b are fitting coefficients. The values of a and b can be obtained by solving the least squares method, thus establishing an accurate temperature calculation model.
[0155] Through the above calibration process, the effective intensity range (-72dBm to -42dBm) and mapping relationship were determined in advance, providing a data basis for accurate measurement in the subsequent temperature measurement stage.
[0156] After completing the above calibration, the actual temperature measurement phase begins. The specific temperature measurement process is as follows: Step 1: Transmitting the first carrier signal according to the target power. The reader transmits the first carrier signal according to the preset initial target power (e.g., 20 dBm) to activate the passive tag and receive its first return signal. This first return signal contains the status information of the passive tag's storage flag bit.
[0157] Step Two: Determine the first signal strength and first duration based on the first return signal. The reader parses the first return signal to obtain the first signal strength (e.g., -45dBm) and the first duration (e.g., 2060ms). The first duration characterizes the time required for the disk flag bit of the passive tag to flip between different states, and its physical meaning is consistent with the second duration in the calibration phase.
[0158] Step 3: Determine if the first signal strength is within the effective strength range. Compare the first signal strength (-45dBm) obtained in Step 2 with the calibrated effective strength range (-72dBm to -42dBm). Since -45dBm < -42dBm and -45dBm > -72dBm, it is determined to be "within the effective strength range," and the process continues.
[0159] Step 4: Determine the temperature measurement value based on the first duration and the mapping relationship. Substitute the first duration of 2060ms into the mapping relationship T=a×PST_avg+b established in the calibration stage to calculate the temperature measurement value of the passive tag. If the mapping relationship is stored in the form of a lookup table, the temperature value of 40℃ corresponding to the closest PST_avg value (e.g., 2062.5ms) can be used as the measurement result.
[0160] The implementation of multiple measurements and statistical aggregation: To improve measurement stability, steps one to four above can be optimized. Specifically, the first carrier signal is transmitted multiple times according to the target power (e.g., transmitted 5 times consecutively), and multiple first return signals are received; the signal strength and duration corresponding to each first return signal are determined respectively; the first signal strength is obtained by statistical aggregation of all signal strength values (e.g., taking the average or median), and the first duration is obtained by statistical aggregation of all duration values; subsequent judgments and calculations are based on the aggregated values.
[0161] The dynamic power adjustment is implemented as follows: If the first signal strength is determined to be outside the effective strength range in step three, power adjustment is performed and the measurement is repeated. The specific adjustment strategy is as follows: If the first signal strength is -35dBm (greater than the maximum value of -42dBm), it is determined that the power is too high. The target power is reduced by a preset step size (e.g., 5dBm), and then the process returns to the first stage to retransmit the first carrier signal. If the first signal strength is -80dBm (less than the minimum value of -72dBm), it is determined that the power is too low or the signal is too weak. The target power is increased by a preset step size, and then the process returns to the first stage to retransmit the first carrier signal.
[0162] Repeat the above "emission-analysis-judgment-adjustment" cycle until the first signal strength falls within the effective strength range, and then execute step four to determine the final temperature measurement value.
[0163] This embodiment provides a complete process from calibration to temperature measurement: in the calibration stage, the effective intensity range and mapping relationship are determined in advance; in the temperature measurement stage, the temperature is accurately calculated based on the duration, provided that the signal strength is effective.
[0164] The following will combine Figure 5 The temperature measuring device 800 provided in this application embodiment will be described in detail. The temperature measuring device 800 and the temperature measuring method described above can be referred to and correspond to each other. Specifically, the temperature measuring device 800 may include a transceiver module 810, a first determining module 820, and a second determining module 830, as detailed below: The transceiver module 810 is used to transmit a first carrier signal according to the target power, and to receive a first return signal returned by the passive tag according to the first carrier signal; The first determining module 820 is used to determine the first signal strength and the first duration based on the first return signal. The first duration is used to characterize the time required for the storage flag bit of the passive tag to flip between different states. The second determining module 830 is used to determine the temperature measurement value of the passive tag based on the first duration and the mapping relationship between the duration and temperature when the first signal strength is within the effective strength range. The effective strength range and mapping relationship are predetermined based on the calibration data corresponding to the passive label.
[0165] Optionally, in some embodiments, the second determining module 830 may be used to: When the first signal strength is within the effective strength range, the temperature measurement value of the passive tag is obtained by querying or calculating based on the first duration and the mapping relationship between the duration and temperature.
[0166] Optionally, in some embodiments, the transceiver module 810 can be used for: The system transmits a first carrier signal multiple times based on the target power to receive multiple first return signals returned by the passive tag based on the multiple transmitted first carrier signals.
[0167] Optionally, in some embodiments, the first determining module 820 may be used to: The signal strength corresponding to each first return signal is determined based on each of the multiple first return signals. The signal strength corresponding to each first return signal is statistically aggregated to obtain the first signal strength; Based on each of the multiple first return signals, the duration corresponding to each first return signal is determined. The duration is used to characterize the time required for the disk flag bit of the passive tag to flip between different states. The duration corresponding to each first return signal is statistically aggregated to obtain the first duration.
[0168] Optionally, in some embodiments, the temperature measuring device 800 can be used for: If the first signal strength is outside the effective strength range, the target power is adjusted, and the process returns to transmitting the first carrier signal according to the target power, receiving the first return signal returned by the passive tag according to the first carrier signal, and subsequent steps.
[0169] Optionally, in some embodiments, the temperature measuring device 800 can be used for: If the first signal strength is greater than the maximum value in the effective strength range, the target power is reduced; and / or, if the first signal strength is less than the minimum value in the effective strength range, the target power is increased.
[0170] Optionally, in some embodiments, the calibration data corresponding to the passive tag includes a data group sequence corresponding to each of a plurality of ambient temperatures. The data group sequence consists of a corresponding second signal strength and a second duration. The second duration is used to characterize the time required for the disk flag bit of the passive tag to flip between different states.
[0171] Optionally, in some embodiments, the temperature measuring device 800 can be used for: For the current ambient temperature set sequentially among multiple ambient temperatures, a second carrier signal is transmitted multiple times according to a preset power gradient to receive multiple second return signals returned by the passive tag based on the multiple transmitted second carrier signals; The data group sequence corresponding to the current ambient temperature is determined based on multiple second return signals; Repeat the above steps until the data set sequence corresponding to each of the multiple ambient temperatures is determined. The effective intensity range is determined based on the data set sequence corresponding to each ambient temperature, and the mapping relationship between duration and temperature is determined based on the data set sequence corresponding to each ambient temperature.
[0172] Optionally, in some embodiments, the temperature measuring device 800 can be used for: The second carrier signal is transmitted for the first time according to the maximum power in the preset power gradient, so as to receive the first second return signal returned by the passive tag according to the first transmitted second carrier signal; The power of the second carrier signal is gradually reduced according to the power gradient to receive at least one second return signal returned by the passive tag according to the second carrier signal transmitted after the power is gradually reduced.
[0173] Optionally, in some embodiments, the temperature measuring device 800 can be used for: For each of the multiple second return signals, obtain the second signal strength and the second duration corresponding to each second return signal; Each second return signal is combined into a corresponding data group by combining the second signal strength and the second duration. Based on the data group corresponding to each second return signal, determine the data group sequence corresponding to the current ambient temperature.
[0174] Optionally, in some embodiments, the temperature measuring device 800 can be used for: In each data set sequence corresponding to each ambient temperature, the intensity of the corresponding transition signal is determined. Among the signal strengths that change at each ambient temperature, the smallest value is selected as the maximum signal strength for multiple ambient temperatures. The maximum signal strength corresponding to multiple ambient temperatures is used as the maximum value to determine the effective strength range.
[0175] Optionally, in some embodiments, the temperature measuring device 800 can be used for: In each data set sequence corresponding to each ambient temperature, the intensity of the corresponding transition signal is determined. Among the signal strengths that change at each ambient temperature, the smallest value is selected as the maximum signal strength for multiple ambient temperatures. Based on the data sequence corresponding to each ambient temperature, determine the minimum signal strength corresponding to multiple ambient temperatures; The maximum and minimum signal strength corresponding to multiple ambient temperatures are used as the maximum and minimum values to determine the effective strength range.
[0176] Optionally, in some embodiments, the temperature measuring device 800 can be used for: For each ambient temperature, the data group containing the minimum second signal strength in the corresponding data group sequence is determined as the reference data group; In the corresponding data group sequence, traversal is performed starting from the corresponding reference data group and moving in the direction of increasing second signal strength to determine the duration difference between two adjacent data groups. When the duration difference first exceeds the preset transition threshold, the second signal strength of the data group with the larger second signal strength among the two adjacent data groups that generate the duration difference is determined as the corresponding transition signal strength.
[0177] Optionally, in some embodiments, the temperature measuring device 800 can be used for: For each ambient temperature, determine the corresponding minimum second signal strength in the corresponding data set sequence; Among the minimum second signal strengths corresponding to each ambient temperature, the one with the largest value is selected as the minimum signal strength for multiple ambient temperatures.
[0178] Optionally, in some embodiments, the temperature measuring device 800 can be used for: Extract multiple second durations corresponding to each ambient temperature from the data set sequence corresponding to each ambient temperature; The third duration corresponding to each ambient temperature is obtained by statistically aggregating multiple second durations for each ambient temperature. The mapping relationship between duration and temperature is obtained by fitting the data based on each ambient temperature and the corresponding third duration.
[0179] The effects achievable in this embodiment can be found in the relevant embodiments of the temperature measurement method described above, and will not be repeated here.
[0180] Figure 6 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 6 As shown, the electronic device may include: a processor 1301, a communication interface 1302, a memory 1303, and a communication bus 1304, wherein the processor 1301, the communication interface 1302, and the memory 1303 communicate with each other via the communication bus 1304. The processor 1301 can call a computer program stored in the memory 1303 to execute the steps of a temperature measurement method, such as including: Transmit a first carrier signal according to the target power, and receive a first return signal returned by the passive tag according to the first carrier signal; The first signal strength and the first duration are determined based on the first return signal. The first duration is used to characterize the time required for the inventory flag bit of the passive tag to flip between different states. When the first signal strength is within the effective strength range, the temperature measurement value of the passive tag is determined based on the first duration and the mapping relationship between the duration and temperature. The effective strength range and mapping relationship are predetermined based on the calibration data corresponding to the passive label.
[0181] Furthermore, when the logical instructions in the aforementioned memory can be implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0182] On the other hand, this application also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the steps of the temperature measurement method provided in the above embodiments, such as including: Transmit a first carrier signal according to the target power, and receive a first return signal returned by the passive tag according to the first carrier signal; The first signal strength and the first duration are determined based on the first return signal. The first duration is used to characterize the time required for the inventory flag bit of the passive tag to flip between different states. When the first signal strength is within the effective strength range, the temperature measurement value of the passive tag is determined based on the first duration and the mapping relationship between the duration and temperature. The effective strength range and mapping relationship are predetermined based on the calibration data corresponding to the passive label.
[0183] On the other hand, embodiments of this application also provide a non-transitory computer-readable storage medium storing a computer program. The computer program is used to cause a processor to execute the steps of the methods provided in the above embodiments, including, for example: Transmit a first carrier signal according to the target power, and receive a first return signal returned by the passive tag according to the first carrier signal; The first signal strength and the first duration are determined based on the first return signal. The first duration is used to characterize the time required for the inventory flag bit of the passive tag to flip between different states. When the first signal strength is within the effective strength range, the temperature measurement value of the passive tag is determined based on the first duration and the mapping relationship between the duration and temperature. The effective strength range and mapping relationship are predetermined based on the calibration data corresponding to the passive label.
[0184] Non-transitory computer-readable storage media can be any available medium or data storage device that can be accessed by a processor, including but not limited to magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MOs), etc.), optical storage (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).
[0185] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0186] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of various embodiments or some parts of embodiments.
[0187] All actions involving the acquisition of signal information or data in this application were carried out in compliance with the relevant data protection laws and policies of the country where the application is located, and with the authorization granted by the owner of the relevant device. Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions 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 this application.
Claims
1. A temperature measurement method, characterized by, The method comprises: transmitting a first carrier signal according to a target power to receive a first return signal returned by the passive tag according to the first carrier signal; determining a first signal strength and a first duration according to the first return signal, the first duration being used to represent a time required for a stock flag bit of the passive tag to flip between different states; in a case where the first signal strength is within an effective strength range, determining a temperature measurement value of the passive tag according to the first duration and a mapping relationship between duration and temperature; wherein the effective strength range and the mapping relationship are determined in advance based on calibration data corresponding to the passive tag.
2. The method of claim 1, wherein, The determination of the temperature measurement value of the passive tag according to the first duration and the mapping relationship between duration and temperature in the case where the first signal strength is within the effective strength range comprises: in the case where the first signal strength is within the effective strength range, querying or calculating the temperature measurement value of the passive tag according to the first duration and the mapping relationship between duration and temperature.
3. The method of claim 1, wherein, The transmission of the first carrier signal according to the target power to receive the first return signal returned by the passive tag according to the first carrier signal comprises: transmitting the first carrier signal according to the target power multiple times to receive multiple first return signals returned by the passive tag according to the multiple transmissions of the first carrier signal. The determination of the first signal strength and the first duration according to the first return signal comprises: determining a signal strength corresponding to each first return signal in the multiple first return signals respectively according to each first return signal; statistically aggregating the signal strength corresponding to each first return signal to obtain the first signal strength; determining a duration corresponding to each first return signal in the multiple first return signals respectively according to each first return signal, the duration being used to represent a time required for a stock flag bit of the passive tag to flip between different states; statistically aggregating the duration corresponding to each first return signal to obtain the first duration.
4. The method of claim 1, wherein, After the determination of the first signal strength and the first duration according to the first return signal, the method further comprises: in a case where the first signal strength is outside an effective strength range, adjusting the target power, and returning to execute the transmission of the first carrier signal according to the target power to receive the first return signal returned by the passive tag according to the first carrier signal and the subsequent steps.
5. The method of claim 4, wherein, The adjustment of the target power in the case where the first signal strength is outside the effective strength range comprises at least one of the following: in a case where the first signal strength is greater than a maximum value in the effective strength range, lowering the target power; in a case where the first signal strength is less than a minimum value in the effective strength range, raising the target power.
6. The method of claim 1, wherein, The calibration data corresponding to the passive tag comprises a data group sequence corresponding to each of a plurality of environment temperatures, and each data group in the data group sequence is composed of a corresponding second signal strength and a second duration, and the second duration is used to represent a time required for a stock mark bit of the passive tag to flip between different states. The method further comprises: for a current environment temperature arranged in sequence in the plurality of environment temperatures, emitting a second carrier signal multiple times according to a preset power gradient, so as to receive a plurality of second return signals returned by the passive tag according to the second carrier signal emitted multiple times; determining a data group sequence corresponding to the current environment temperature according to the plurality of second return signals; repeating the above steps until a data group sequence corresponding to each of the plurality of environment temperatures is determined; determining an effective intensity range according to the data group sequence corresponding to each of the environment temperatures, and determining a mapping relationship between the duration and the temperature according to the data group sequence corresponding to each of the environment temperatures.
7. The method of claim 6, wherein, The method further comprises: emitting the second carrier signal for the first time according to a maximum power in the preset power gradient, so as to receive a first second return signal returned by the passive tag according to the second carrier signal emitted for the first time; emitting the second carrier signal according to a gradually reduced power in the power gradient, so as to receive at least one second return signal returned by the passive tag according to the second carrier signal emitted after the power is gradually reduced.
8. The method of claim 6, wherein, The method further comprises: for each second return signal in the plurality of second return signals, obtaining a second signal strength and a second duration corresponding to each second return signal; respectively composing the second signal strength and the second duration corresponding to each second return signal into a corresponding data group; determining the data group sequence corresponding to the current environment temperature according to the data group corresponding to each second return signal.
9. The method of claim 6, wherein, The method further comprises: respectively in the data group sequence corresponding to each of the environment temperatures, determining a corresponding jump signal strength; selecting a minimum value in the jump signal strength corresponding to each of the environment temperatures as a maximum signal strength corresponding to the plurality of environment temperatures; taking the maximum signal strength corresponding to the plurality of environment temperatures as a maximum value to determine an effective intensity range.
10. The method of claim 6, wherein, The method further comprises: respectively in the data group sequence corresponding to each of the environment temperatures, determining a corresponding jump signal strength; selecting a minimum value in the jump signal strength corresponding to each of the environment temperatures as a maximum signal strength corresponding to the plurality of environment temperatures; determining a minimum signal strength corresponding to the plurality of environment temperatures according to the data group sequence corresponding to each of the environment temperatures; The maximum signal strength and the minimum signal strength corresponding to the plurality of environment temperatures are respectively taken as a maximum value and a minimum value to determine an effective intensity range.
11. The method according to claim 9 or 10, characterized in that, The corresponding jump signal strength is determined in the data group sequence corresponding to each environment temperature, including: For each environment temperature, a data group containing the minimum second signal strength in the corresponding data group sequence is determined as a reference data group; In the corresponding data group sequence, traversal is performed from the corresponding reference data group to the direction in which the second signal strength increases to determine the duration difference between adjacent two data groups; When the duration difference is greater than a preset jump threshold for the first time, the second signal strength of the data group containing the larger second signal strength in the adjacent two data groups generating the duration difference is determined as the corresponding jump signal strength.
12. The method of claim 10, wherein, The minimum signal strength corresponding to the plurality of environment temperatures is determined according to the data group sequence corresponding to each environment temperature, including: For each environment temperature, the corresponding minimum second signal strength is determined in the corresponding data group sequence; In the minimum second signal strength corresponding to each environment temperature, the one with the largest value is selected as the minimum signal strength corresponding to the plurality of environment temperatures.
13. The method of claim 6, wherein, The mapping relationship between the duration and the temperature is determined according to the data group sequence corresponding to each environment temperature, including: A plurality of second durations corresponding to each environment temperature are extracted from the data group sequence corresponding to each environment temperature, respectively; The plurality of second durations corresponding to each environment temperature are statistically aggregated to obtain a third duration corresponding to each environment temperature, respectively; The mapping relationship between the duration and the temperature is obtained through fitting processing according to each environment temperature and the third duration corresponding to each environment temperature.
14. A temperature measuring device, characterized by It includes: The transceiver module is configured to transmit a first carrier signal according to a target power, so as to receive a first return signal returned by the passive tag according to the first carrier signal; The first determination module is configured to determine a first signal strength and a first duration according to the first return signal, wherein the first duration is used to represent the time required for the inventory flag bit of the passive tag to flip between different states; The second determination module is configured to, in the case that the first signal strength is within an effective intensity range, determine a temperature measurement value of the passive tag according to the first duration and the mapping relationship between the duration and the temperature; The effective intensity range and the mapping relationship are determined in advance based on the calibration data corresponding to the passive tag.
15. An electronic device comprising a processor and a memory having a computer program stored therein, characterized in that, The processor executes the computer program to implement the steps of the temperature measurement method in any one of claims 1 to 13. 16.A non-transitory computer-readable storage medium having stored thereon a computer program. The computer program is executed by the processor to implement the steps of the temperature measurement method in any one of claims 1 to 13.
17. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the temperature measurement method in any one of claims 1 to 13.