Methods and equipment for temperature control, and electronic equipment for implementing this method.

VN10061540BActive Publication Date: 2026-09-15JILIN ZHONG YING HIGH TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
VN1202401369
Authority / Receiving Office
VN · VN
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-07-27
Filing Date
2022-07-21
Publication Date
2026-09-15
Estimated Expiration
2042-07-21

AI Technical Summary

Technical Problem

In existing electric vehicle temperature detection systems, thermocouple temperature sensors are easily interfered by system circuits, loads or external electromagnetic radiation, causing deviations in temperature measurement results and affecting collection accuracy.

Method used

By obtaining the current frame temperature value of each channel, calculating the temperature change, and determining the effective channel based on the threshold, the accurate current frame output temperature value is obtained and the interference effect is reduced.

Benefits of technology

It improves the accuracy of temperature collection, ensures the reliability of temperature detection of electric vehicles, and prevents other failures caused by incorrect temperature values.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure VN1202401369_0
    Figure VN1202401369_0
Patent Text Reader

Abstract

The invention relates to a method and apparatus for temperature processing, and an electronic device for implementing this method. The method comprises the following steps: collecting the current frame temperature value of each channel (S101); calculating the absolute value of the difference between the current frame temperature value and the previous frame temperature value of each channel to obtain the current frame temperature change of each channel (S102); determining each first effective channel based on the first threshold and the current frame temperature change of each channel (S103); determining each second effective channel based on the multi-frame temperature values ​​of each first effective channel (S104); and obtaining the current frame output temperature value based on the current frame temperature value of each second effective channel (S105). The device is configured to implement the above method. The proposed method and apparatus for temperature processing improve the accuracy of temperature aggregation.
Need to check novelty before this filing date? Find Prior Art

Description

Temperature treatment method and device Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a temperature processing method and device. Background Art

[0002] At present, temperature sensors, as the information source of the temperature detection system of electric vehicles, are indispensable components of the temperature detection system of electric vehicles.

[0003] In the prior art, the temperature detection system of electric vehicles usually uses thermocouple temperature sensors to collect temperature. In the actual temperature collection process, it is easily affected by some interference factors, such as: system circuits and loads or external electromagnetic radiation.

[0004] Summary of the Invention

[0005] These interference factors can cause deviations in temperature measurements, reducing the accuracy of temperature acquisition. To reduce the impact of these interference factors on temperature acquisition, filters can be added to the circuit or a suitable filtering algorithm can be added to the system to filter the returned temperature values. However, if the temperature sensor is affected by external factors and the returned temperature value changes at a certain moment and then remains at this incorrect value, the filter or filtering algorithm cannot detect and correct this, resulting in a persistently incorrect temperature value. This incorrect temperature value may cause other malfunctions in the electric vehicle.

[0006] In view of the problem of inaccurate temperature collection in the prior art, embodiments of the present invention provide a temperature processing method and apparatus, which can at least partially solve the problem in the prior art.

[0007] In one aspect, the present invention provides a temperature treatment method, comprising:

[0008] Get the current frame temperature value of each channel;

[0009] Calculate the absolute value of the difference between the current frame temperature value and the previous frame temperature value of each channel to obtain the current frame temperature change of each channel;

[0010] Determine each first valid channel based on the current frame temperature change of each channel and a first threshold;

[0011] Determining each second valid channel based on multiple frames of temperature values ​​of each first valid channel;

[0012] The current frame output temperature value is obtained according to the current frame temperature value of each second valid channel.

[0013] In another aspect, the present invention provides a temperature treatment device comprising:

[0014] The acquisition module is used to obtain the current frame temperature value of each channel;

[0015] The calculation module is used to calculate the absolute value of the difference between the current frame temperature value and the previous frame temperature value of each channel to obtain the current frame temperature change of each channel;

[0016] A first determining module, configured to determine each first valid channel based on a current frame temperature variation of each channel and a first threshold;

[0017] A second determining module is configured to determine each second valid channel based on multiple frames of temperature values ​​of each first valid channel;

[0018] The obtaining module is used to obtain the current frame output temperature value according to the current frame temperature value of each second valid channel.

[0019] On the other hand, the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the temperature processing method described in any one of the above embodiments when executing the program.

[0020] In another aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the temperature processing method described in any one of the above embodiments.

[0021] The temperature processing method and device provided by the embodiments of the present invention can obtain the current frame temperature value of each channel, calculate the absolute value of the difference between the current frame temperature value of each channel and the previous frame temperature value, obtain the current frame temperature change of each channel, determine each first valid channel based on the current frame temperature change of each channel and the first threshold, determine each second valid channel based on the multi-frame temperature values ​​of each first valid channel, and obtain the current frame output temperature value according to the current frame temperature value of each second valid channel, thereby improving the accuracy of temperature acquisition. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0023] FIG1 is a schematic flow chart of a temperature treatment method according to a first embodiment of the present invention.

[0024] FIG2 is a schematic flow chart of a temperature treatment method according to a second embodiment of the present invention.

[0025] FIG3 is a schematic flow chart of a temperature treatment method provided in a third embodiment of the present invention.

[0026] FIG4 is a schematic flow chart of a temperature treatment method provided in a fourth embodiment of the present invention.

[0027] FIG5 is a schematic flow chart of a temperature treatment method according to a fifth embodiment of the present invention.

[0028] FIG6 is a schematic flow chart of a temperature treatment method according to a sixth embodiment of the present invention.

[0029] FIG. 7 is a flow chart of a temperature treatment method according to a seventh embodiment of the present invention.

[0030] FIG8 is a schematic structural diagram of a temperature treatment device provided in an eighth embodiment of the present invention.

[0031] FIG9 is a schematic structural diagram of a temperature treatment device provided in a ninth embodiment of the present invention.

[0032] FIG10 is a schematic structural diagram of a temperature treatment device provided in a tenth embodiment of the present invention.

[0033] FIG11 is a schematic structural diagram of a temperature treatment device provided in the eleventh embodiment of the present invention.

[0034] FIG12 is a schematic structural diagram of a temperature treatment device provided in a twelfth embodiment of the present invention.

[0035] FIG13 is a schematic structural diagram of a temperature treatment device provided in a thirteenth embodiment of the present invention.

[0036] FIG14 is a schematic structural diagram of a temperature treatment device provided in a fourteenth embodiment of the present invention.

[0037] FIG15 is a schematic structural diagram of a temperature treatment device provided in a fifteenth embodiment of the present invention.

[0038] FIG16 is a schematic diagram of the physical structure of an electronic device provided in the sixteenth embodiment of the present invention. DETAILED DESCRIPTION

[0039] To make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention. It should be noted that, unless there is a conflict, the embodiments and features in the embodiments of this application can be combined with each other in any manner.

[0040] In order to facilitate the understanding of the technical solution provided by the present application, the relevant contents of the technical solution of the present application are first described below. In an embodiment of the present invention, at least two temperature sensors or at least two filtering algorithms are required to collect the temperature of the target object, and the at least two filtering algorithms correspond to the same temperature sensor. In the embodiment of the present invention, for the convenience of explanation, one channel corresponds to one temperature sensor or one filtering algorithm. The temperature processing method provided in the embodiment of the present invention can be used in the temperature detection system of an electric vehicle, and can also be applied to other scenarios where temperature collection is required, and the embodiment of the present invention does not limit it.

[0041] FIG1 is a flow chart of a temperature treatment method according to a first embodiment of the present invention. As shown in FIG1 , the temperature treatment method according to an embodiment of the present invention includes:

[0042] S101, obtaining the current frame temperature value of each channel;

[0043] Specifically, the temperature processing device can obtain the current frame temperature value of each channel. If each channel corresponds to a temperature sensor, then the temperature sensor corresponding to each channel can collect temperature in real time, and send the obtained temperature value to the temperature processing device, and the temperature processing device uses the received temperature value collected by the temperature sensor in real time as the current frame temperature value of the corresponding channel. If each channel corresponds to a filtering algorithm, different filtering algorithms correspond to the same temperature sensor, the temperature sensor can collect temperature in real time to obtain a temperature collection signal, and the temperature detection device processes the temperature collection signal through different filtering algorithms to obtain the current frame temperature value of each channel. Among them, the number of channels is at least two, which is set according to actual needs and is not limited in the embodiment of the present invention. The temperature processing device includes but is not limited to a single-chip microcomputer, a digital signal processor (DSP), a processor, etc.

[0044] S102, calculating the absolute value of the difference between the current frame temperature value and the previous frame temperature value of each channel to obtain the current frame temperature change of each channel;

[0045] Specifically, after obtaining the current frame temperature value of each channel, the temperature processing device calculates the absolute value of the difference between the current frame temperature value of the channel and the previous frame temperature value of the channel, as the current frame temperature change of the channel. The temperature processing device can obtain the current frame temperature change of each channel.

[0046] S103, determining each first valid channel based on the current frame temperature change of each channel and a first threshold;

[0047] Specifically, for each channel's current frame temperature change, the temperature processing device may compare the channel's current frame temperature change with a first threshold value, and determine whether the channel is a first valid channel based on the comparison result, where each first valid channel uniquely corresponds to one channel. The temperature processing device may obtain each first valid channel. The first threshold value is set based on actual needs and is not limited in this embodiment of the present invention.

[0048] For example, the temperature processing device compares the temperature change of the current frame of channel A with a first threshold. If the temperature change of the current frame of channel A is less than the first threshold, it indicates that the temperature value obtained through channel A is stable, and channel A can be used as the first valid channel. The temperature processing device compares the temperature change of the current frame of channel B with the first threshold. If the temperature change of the current frame of channel B is greater than or equal to the first threshold, it indicates that the temperature value obtained through channel B is unstable, and channel B can be reset to obtain a new temperature value.

[0049] S104, determining each second valid channel based on multiple frames of temperature values ​​of each first valid channel;

[0050] Specifically, the temperature processing device may obtain multiple frames of temperature values ​​of each first valid channel, and then determine each second valid channel based on the multiple frames of temperature values ​​of each first valid channel.

[0051] For example, the temperature processing device can obtain the temperature variance of each first valid channel based on the variance of the temperature values ​​of the latest preset number of frames of each first valid channel, and then determine each second valid channel based on the temperature variance of each first valid channel and a second threshold.

[0052] S105 . Obtain a current frame output temperature value according to the current frame temperature value of each second valid channel.

[0053] Specifically, after obtaining each second valid channel, the temperature processing device may obtain a current frame output temperature value according to the current frame temperature value of each second valid channel.

[0054] For example, the temperature processing device may calculate an average value of the current frame temperature values ​​of each second valid channel as the current frame output temperature value.

[0055] The temperature processing method provided by the embodiment of the present invention can obtain the current frame temperature value of each channel, calculate the absolute value of the difference between the current frame temperature value of each channel and the previous frame temperature value, obtain the current frame temperature change of each channel, determine each first valid channel based on the current frame temperature change of each channel and the first threshold, determine each second valid channel based on the multi-frame temperature values ​​of each first valid channel, and obtain the current frame output temperature value according to the current frame temperature value of each second valid channel, thereby improving the accuracy of temperature acquisition.

[0056] On the basis of the above embodiments, further, determining each first valid channel based on the current frame temperature change of each channel and the first threshold includes:

[0057] If it is determined that the current frame temperature change of the channel is less than the first threshold, the channel is used as the first valid channel.

[0058] Specifically, the temperature processing device compares the current frame temperature change of the channel with the first threshold value. If the current frame temperature change of the channel is less than the first threshold value, the channel is defined as the first valid channel, and the first valid channel corresponds to the channel. The current frame temperature value of the channel is defined as the current frame temperature value of the corresponding first valid channel, and the temperature sensor or filtering algorithm corresponding to the channel is defined as the temperature sensor or filtering algorithm corresponding to the first valid channel.

[0059] On the basis of the above embodiments, the temperature treatment method provided in the embodiment of the present invention further includes:

[0060] If it is determined that the current frame temperature change of the channel is greater than or equal to the first threshold, the channel is reset.

[0061] Specifically, the temperature processing device compares the current frame temperature change of the channel with the first threshold. If the current frame temperature change of the channel is greater than or equal to the first threshold, it means that the temperature value obtained by the channel is unstable, and the channel can be reset.

[0062] For example, if the channel corresponds to a temperature sensor, the temperature sensor corresponding to the channel can be restarted to reset the channel and re-collect temperature. If the channel corresponds to a filtering algorithm, the corresponding filtering algorithm can be reset and filtering can be re-performed.

[0063] On the basis of the above embodiments, further, obtaining the current frame output temperature value according to the current frame temperature value of each second valid channel includes:

[0064] An average value of the current frame temperature values ​​of the second valid channels is calculated as the current frame output temperature value.

[0065] Specifically, the current frame temperature values ​​of the second valid channels are all valid, and the temperature processing device may calculate the average value of the current frame temperature values ​​of the second valid channels, and use the calculated average value as the current frame output temperature value.

[0066] For example, the temperature processing device is based on the formula Calculate the current frame output temperature value T out , where T k Represents the current frame temperature value of the kth second valid channel, where k is a positive integer and k is less than or equal to w, and w represents the number of second valid channels.

[0067] FIG2 is a flow chart of a temperature processing method provided by a second embodiment of the present invention. As shown in FIG2 , based on the above embodiments, further, obtaining the current frame output temperature value according to the current frame temperature value of each second valid channel includes:

[0068] S201, determining each third valid channel based on the current frame temperature value of each second valid channel;

[0069] Specifically, after determining each second valid channel, the temperature processing device may compare the current frame temperature value of each second valid channel with the current frame temperature values ​​of other second valid channels, and determine whether the second valid channel is a third valid channel based on the comparison results, wherein the third valid channel uniquely corresponds to one second valid channel. The temperature processing device may obtain each third valid channel.

[0070] S202 : Obtain a current frame output temperature value according to the current frame temperature value of each third valid channel.

[0071] Specifically, after obtaining each third valid channel, the temperature processing device may obtain a current frame output temperature value according to the current frame temperature value of each third valid channel.

[0072] For example, the temperature processing device may calculate an average value of the current frame temperature values ​​of each third valid channel as the current frame output temperature value.

[0073] On the basis of the above embodiments, further, obtaining the current frame output temperature value according to the current frame temperature value of each third valid channel includes:

[0074] An average value of the current frame temperature values ​​of each third valid channel is calculated as the current frame output temperature value.

[0075] Specifically, the current frame temperature values ​​of each third valid channel are valid, and the temperature processing device can calculate the average value of the current frame temperature values ​​of each third valid channel, and use the calculated average value as the current frame output temperature value. For example, the temperature processing device can calculate the average value of the current frame temperature value according to the formula Calculate the current frame output temperature value T out , where T j Represents the current frame temperature value of the jth third valid channel, where j is a positive integer less than or equal to m, and m represents the number of third valid channels.

[0076] FIG3 is a flow chart of a temperature processing method provided by a third embodiment of the present invention. As shown in FIG3 , based on the above embodiments, further, determining each third valid channel based on the current frame temperature value of each second valid channel includes:

[0077] S301, calculating the absolute value of the difference between the current frame temperature value of the second valid channel and the current frame temperature value of each other second valid channel, to obtain a comparison value corresponding to the second valid channel;

[0078] Specifically, the temperature processing device may calculate the absolute value of the difference between the current frame temperature value of the second valid channel and the current frame temperature value of each other second valid channel to obtain a comparison value corresponding to the second valid channel. It is understandable that there may be one or more comparison values ​​corresponding to the second valid channel. The temperature processing device may obtain a comparison value corresponding to each second valid channel.

[0079] For example, there are three second valid channels: second valid channel A, second valid channel C, and second valid channel D. The current frame temperature value of second valid channel A is a, the current frame temperature value of second valid channel C is c, and the current frame temperature value of second valid channel D is d. The absolute value of the difference between a and c is Vac, the absolute value of the difference between a and d is Vad, and the corresponding comparison values ​​of second valid channel A are Vac and Vad. The absolute value of the difference between c and a is Vca, the absolute value of the difference between c and d is Vcd, and the corresponding comparison values ​​of second valid channel C are Vca and Vcd. The absolute value of the difference between d and a is Vda, the absolute value of the difference between d and c is Vdc, and the corresponding comparison values ​​of second valid channel D are Vda and Vdc.

[0080] S302: If it is determined that the number of comparison values ​​corresponding to the second valid channel that are smaller than a third threshold is greater than a preset value, use the second valid channel as the third valid channel.

[0081] Specifically, each comparison value among the comparison values ​​corresponding to the second valid channel is compared with a third threshold value, and the number of comparison values ​​that are less than the third threshold value is counted. If the number of comparison values ​​that are less than the third threshold value is greater than a preset value, it indicates that the current frame temperature value of the second valid channel is valid, and the second valid channel is used as the third valid channel. Each third valid channel uniquely corresponds to one second valid channel, and the current frame temperature value of the third valid channel is equal to the current frame temperature value of the corresponding second valid channel. The third threshold value is set according to actual needs and is not limited in the embodiment of the present invention. The preset value is set according to actual needs and is not limited in the embodiment of the present invention.

[0082] For example, the preset value is 1. The comparison values ​​corresponding to the second valid channel A are Vac and Vad. Vac and Vad are compared with the third threshold value, respectively. If Vac is less than the third threshold value and Vad is less than the third threshold value, then for the second valid channel A, the number of comparison values ​​less than the third threshold value is 2, which is greater than the preset value 1. Therefore, the second valid channel A is selected as the third valid channel. The comparison values ​​corresponding to the second valid channel D are Vda and Vdc. Vda and Vdc are compared with the third threshold value, respectively. If Vda is less than the third threshold value and Vdc is greater than the third threshold value, then for the second valid channel D, the number of comparison values ​​less than the third threshold value is 1, which is equal to the preset value 1. Therefore, the second valid channel D is not selected as the third valid channel.

[0083] On the basis of the above embodiments, the temperature treatment method provided in the embodiment of the present invention further includes:

[0084] If it is determined that the number of comparison values ​​corresponding to the second valid channel that are smaller than the third threshold is smaller than or equal to the preset value, the second valid channel is reset.

[0085] Specifically, each comparison value corresponding to the second valid channel is compared with the third threshold, and the number of comparison values ​​that are smaller than the third threshold is counted. If the number of comparison values ​​that are smaller than the third threshold is less than or equal to the preset value, it means that the current frame temperature value corresponding to the second valid channel is invalid, and the second valid channel can be reset.

[0086] For example, if the second valid channel corresponds to a temperature sensor, the temperature sensor corresponding to the second valid channel can be restarted to reset the second valid channel and re-collect temperature. If the second valid channel corresponds to a filtering algorithm, the corresponding filtering algorithm can be reset and filtering can be re-performed.

[0087] FIG4 is a flow chart of a temperature processing method according to a fourth embodiment of the present invention. As shown in FIG4 , based on the above embodiments, further, determining each second valid channel based on multiple temperature frames of each first valid channel includes:

[0088] S401, obtaining a temperature variance of each first valid channel based on variances of temperature values ​​of a recent preset number of frames of each first valid channel;

[0089] Specifically, for each first valid channel, the temperature processing device records the most recent preset number of frame temperature values ​​for each first valid channel, and then calculates the variance of the most recent preset number of frame temperature values ​​for each first valid channel to obtain the temperature variance of each first valid channel. The most recent preset number of frame temperature values ​​for the first valid channel includes the current frame temperature value of the first valid channel. The preset number is set based on actual needs and is not limited in this embodiment of the present invention.

[0090] For example, if the temperature processing device determines that channel A is the first valid channel, the temperature values ​​of the most recent 20 frames of the first valid channel A are obtained, and then the variance of the temperature values ​​of the most recent 20 frames of the first valid channel A is calculated according to the variance formula, and the calculated variance is used as the temperature variance of the first valid channel of the first valid channel A. The variance formula is expressed as follows:

[0091]

[0092] Where δ represents the temperature variance of the first valid channel, p represents the average value of the temperature values ​​of the last n frames of the first valid channel, and t i Indicates the temperature value of the most recent i-th frame of the first valid channel, where i is a positive integer and i is less than or equal to n, and n represents a preset number.

[0093] S402 : Determine each second valid channel based on the temperature variance of each first valid channel and the second threshold.

[0094] Specifically, for each first valid channel's temperature variance, the temperature processing device may compare the first valid channel's temperature variance with a second threshold value, and determine, based on the comparison result, whether the first valid channel is a second valid channel, where the second valid channel uniquely corresponds to a first valid channel. The temperature processing device may obtain each second valid channel. The second threshold value is set based on actual needs and is not limited in this embodiment of the present invention.

[0095] For example, the temperature processing device compares the temperature variance of the first effective channel A with a second threshold. If the temperature variance of the first effective channel A is less than the second threshold, it indicates that the temperature value obtained through the first effective channel A is stable over a period of time, and the first effective channel A can be used as the second effective channel. The temperature processing device compares the temperature variance of the first effective channel C with the second threshold. If the temperature variance of the first effective channel C is greater than or equal to the second threshold, it indicates that the temperature value obtained through the first effective channel C is unstable over a period of time, and the first effective channel C can be reset to obtain a new temperature value.

[0096] Based on the above embodiments, further, determining each second valid channel based on the temperature variance of each first valid channel and the second threshold value includes:

[0097] If it is determined that the temperature variance of the first valid channel is less than the second threshold, the first valid channel is used as the second valid channel.

[0098] Specifically, the temperature processing device compares the temperature variance of the first valid channel with the second threshold. If the temperature variance of the first valid channel is less than the second threshold, the first valid channel is used as the second valid channel, and the second valid channel corresponds to the first valid channel. The current frame temperature value of the first valid channel is used as the current frame temperature value of the corresponding second valid channel, and the temperature sensor or filtering algorithm corresponding to the first valid channel is used as the temperature sensor or filtering algorithm corresponding to the second valid channel.

[0099] On the basis of the above embodiments, the temperature treatment method provided in the embodiment of the present invention further includes:

[0100] If it is determined that the temperature variance of the first valid channel is greater than or equal to the second threshold, the first valid channel is reset.

[0101] Specifically, the temperature processing device compares the temperature variance of the first valid channel with the second threshold. If the temperature variance of the first valid channel is greater than or equal to the second threshold, it means that the temperature value obtained by the first valid channel is unstable over a period of time, and the first valid channel can be reset.

[0102] For example, if the first valid channel corresponds to a temperature sensor, the temperature sensor corresponding to the first valid channel can be restarted to reset the first valid channel and re-collect temperature. If the first valid channel corresponds to a filtering algorithm, the corresponding filtering algorithm can be reset and filtering can be re-performed.

[0103] FIG5 is a flow chart of a temperature processing method according to a fifth embodiment of the present invention. As shown in FIG5 , based on the above embodiments, further, determining each second valid channel based on multiple temperature frames of each first valid channel includes:

[0104] S501, obtaining an effective temperature value of each first effective channel based on multiple frames of temperature values ​​of each first effective channel;

[0105] Specifically, the temperature processing device may obtain multiple frames of temperature values ​​of each first valid channel, and then obtain the effective temperature value of each first valid channel according to the multiple frames of temperature values ​​of each first valid channel.

[0106] S502: If it is determined that the effective temperature value of the first effective channel is greater than a fourth threshold and less than a fifth threshold, the first effective channel is used as a second effective channel.

[0107] The temperature processing device compares the effective temperature value of the first effective channel with a fourth threshold and a fifth threshold, respectively. If the effective temperature value of the first effective channel is greater than the fourth threshold and less than the fifth threshold, the first effective channel is determined to be the second effective channel. The fourth threshold is set as needed and is not limited in this embodiment of the present invention.

[0108] On the basis of the above embodiments, further, obtaining the effective temperature value of each first effective channel based on the multiple frames of temperature values ​​of each first effective channel includes:

[0109] Calculate the absolute value of the difference between the current frame temperature value and the previous frame temperature value of the first valid channel to obtain the adjacent difference; if it is determined that the adjacent difference is less than or equal to the sixth threshold, the current frame temperature value of the first valid channel is used as the effective temperature value of the first valid channel; if it is determined that the adjacent difference is greater than the sixth threshold, the previous frame temperature value of the first valid channel is used as the effective temperature value of the first valid channel.

[0110] Specifically, the temperature processing device can calculate the absolute value of the difference between the current frame temperature value and the previous frame temperature value of the first effective channel as the adjacent difference, and then compare the adjacent difference with the sixth threshold value. If the adjacent difference is less than or equal to the sixth threshold value, the current frame temperature value of the first effective channel is used as the effective temperature value of the first effective channel. If the adjacent difference is greater than the sixth threshold value, the previous frame temperature value of the first effective channel is used as the effective temperature value of the first effective channel. Determining the effective temperature value through the above process can effectively overcome pulse interference caused by accidental factors. Among them, the sixth threshold is set according to actual experience and is not limited in the embodiment of the present invention.

[0111] On the basis of the above embodiments, further, obtaining the effective temperature value of each first effective channel based on the multiple frames of temperature values ​​of each first effective channel includes:

[0112] Obtain q frame temperature values ​​of the first valid channel, where the q frame temperature values ​​include the current frame temperature value of the first valid channel; wherein q is an odd number greater than or equal to 3; arrange the q frame temperature values ​​in descending order, and obtain the temperature value in the middle of the order as the valid temperature value of the first valid channel.

[0113] Specifically, the temperature processing device may obtain q temperature values ​​for the first valid channel, then sort the q temperature values ​​in descending order, and obtain the middle temperature value from the sorted result as the valid temperature value for the first valid channel. The q temperature values ​​include the current temperature value for the first valid channel, where q is an odd number greater than or equal to 3. Determining the valid temperature value through the above process can effectively overcome fluctuations caused by accidental factors and provide a good filtering effect for slowly changing temperatures.

[0114] For example, q is 5, and the temperature processing device obtains 5 consecutive frames of temperature values ​​including the current frame temperature value of the first valid channel, and then sorts these 5 frames of temperature values ​​in descending order. The obtained sorting results are marked as the 1st temperature value, the 2nd temperature value, the 3rd temperature value, the 4th temperature value, and the 5th temperature value. The 1st temperature value is the largest and the 5th temperature value is the smallest. Then the temperature value in the middle of the sorting is obtained: the 3rd temperature value is used as the valid temperature value of the first valid channel.

[0115] On the basis of the above embodiments, further, the current frame temperature value of each channel is derived from different filtering algorithms.

[0116] Specifically, each channel corresponds to a filtering algorithm, and each channel corresponds to a different filtering algorithm. By applying different filtering algorithms to the temperature acquisition signal from the same temperature sensor, the current frame temperature value of each channel is obtained. The filtering algorithm is selected based on actual needs and is not limited in the present embodiment.

[0117] For example, three filtering algorithms, namely, a median filtering algorithm, a nonlinear Kalman filtering algorithm and an adaptive counter-differential Kalman filtering algorithm, are selected to filter the temperature acquisition signal of the same temperature sensor to obtain the current frame temperature values ​​of the three channels.

[0118] On the basis of the above embodiments, the temperature treatment method provided in the embodiment of the present invention further includes:

[0119] If it is determined that the total number of the third valid channels is less than the set value, the temperature sensors corresponding to the respective channels are restarted to collect the temperature again.

[0120] Specifically, when the current frame temperature values ​​of each channel are derived from different filtering algorithms, the temperature processing device can statistically obtain the total number of third valid channels, and then compare the total number of the third valid channels with a set value. If the total number of the third valid channels is less than the set value, it indicates that the temperature acquisition signal of the temperature sensor corresponding to each channel is invalid, and the temperature sensor corresponding to each channel can be restarted to re-acquire temperature. Each channel corresponds to the same temperature sensor. The set value is set according to actual needs and is not limited in the embodiments of the present invention.

[0121] On the basis of the above embodiments, the temperature treatment method provided in the embodiment of the present invention further includes:

[0122] If the temperature sensor restarts continuously for a first preset number of times, it is indicated that the temperature sensor is faulty.

[0123] Specifically, if the current frame temperature values ​​of each channel are derived from different filtering algorithms, if the temperature sensor has been restarted a first preset number of times, it indicates that the temperature sensor itself has failed and is unable to accurately collect temperature, and a temperature sensor failure prompt may be displayed. The first preset number of times can be set to 3 times, which is set according to actual needs and is not limited in this embodiment of the present invention.

[0124] For example, the temperature sensor failure may be prompted through an alarm message or an alarm sound.

[0125] On the basis of the above embodiments, further, the current frame temperature value of each channel comes from different temperature sensors.

[0126] Specifically, each channel corresponds to a temperature sensor, each channel corresponds to a different temperature sensor, and the temperature acquisition object of the temperature sensors corresponding to each channel is the same. In particular, each channel uses the same filtering algorithm to filter the temperature acquisition signal of the corresponding temperature sensor to obtain the current frame temperature value of each channel.

[0127] For example, set up five temperature sensors to collect the temperature of the same object.

[0128] On the basis of the above embodiments, the temperature treatment method provided in the embodiment of the present invention further includes:

[0129] If the temperature sensor corresponding to the channel restarts continuously for a second preset number of times, it is prompted that the temperature sensor corresponding to the channel is faulty.

[0130] Specifically, when the current frame temperature values ​​of each channel are derived from different temperature sensors, the temperature processing device may count the number of consecutive restarts of the temperature sensor corresponding to each channel. If the temperature sensor corresponding to the channel restarts continuously for a second preset number of times, it indicates that the temperature sensor corresponding to the channel has failed and is unable to accurately collect temperature, and a prompt may be given that the temperature sensor corresponding to the channel is faulty. The second preset number of times may be set to three times, as required, and is not limited in the present embodiment.

[0131] The following takes the process of collecting temperature of the same object by three different temperature sensors as an example to illustrate the specific implementation process of the temperature processing method provided by the embodiment of the present invention.

[0132] A temperature detection system is equipped with temperature sensors 1, 2, and 3. These sensors collect temperature values ​​every 100 ms and send them to a temperature processing device. Channel 1 corresponds to temperature sensor 1, channel 2 corresponds to temperature sensor 2, and channel 3 corresponds to temperature sensor 3. The first, second, and third thresholds are set to 1.

[0133] The temperature data obtained by temperature sensor 1, temperature sensor 2 and temperature sensor 3 and the related processing results are shown in Table 1.

[0134] Table 1 Temperature data and related processing results

[0135]

[0136] FIG6 is a flow chart of a temperature treatment method according to a sixth embodiment of the present invention. As shown in FIG6 , the specific implementation process of the temperature treatment method according to the embodiment of the present invention is as follows:

[0137] The first step is to obtain the current frame temperature value for each channel. Temperature sensors 1, 2, and 3 collect temperature data and send it to the temperature processing device. The temperature processing device can obtain the current frame temperature value of channel 1, channel 2, and channel 3.

[0138] The temperature processing device sequentially acquires five frames of temperature data. The first frame of data shows that the current temperature value for channel 1 is 18.52, the current temperature value for channel 2 is 18.55, and the current temperature value for channel 3 is 18.97. The second frame of data shows that the current temperature value for channel 1 is 19.28, the current temperature value for channel 2 is 19.19, and the current temperature value for channel 3 is 19.24. The third, fourth, and fifth frames of data are shown in Table 1 and are not detailed here.

[0139] The second step is to calculate the current frame temperature variation of each channel. The temperature processing device calculates the absolute value of the difference between the current frame temperature value and the previous frame temperature value of the three channels to obtain the current frame temperature variation of the three channels.

[0140] For the first frame of data, the temperature processing device calculates the absolute value of the difference between the current frame temperature value and the previous frame temperature value of the three channels, and obtains a temperature change of 0.24 for channel 1, 0.49 for channel 2, and 0.16 for channel 3. For the second, third, fourth, and fifth frames of data, the calculated temperature changes of the three channels are shown in Table 1 and are not repeated here. Among them, for the fourth frame of data, since the temperature value of channel 3 in the third frame of data is invalid, when calculating the temperature change of channel 3, the temperature value of channel 3 in the fourth frame of data is used minus the temperature value of channel 3 in the second frame of data.

[0141] Step 3: Determine whether each channel is the first valid channel. The temperature processing device compares the current frame temperature change of each channel with the first threshold value 1. If the temperature change of the channel is less than 1, the channel is determined to be the first valid channel and the process proceeds to step 5. If the temperature change of the channel is greater than or equal to 1, the channel is not the first valid channel and the process proceeds to step 4.

[0142] For the first frame of data, the temperature change of channel 1 is 0.42, the temperature change of channel 2 is 0.49, and the temperature change of channel 3 is 0.16, all of which are less than 1. Therefore, channel 1, channel 2, and channel 3 are all considered first valid channels and can be marked as first valid channel 1, first valid channel 2, and first valid channel 3. Similarly, it can be determined that for the second, fourth, and fifth frames of data, channel 1, channel 2, and channel 3 are all first valid channels.

[0143] For the third frame of data, the temperature change of channel 1 is 0.08 and the temperature change of channel 2 is 0.24, both of which are less than 1. Therefore, channel 1 and channel 2 are regarded as the first valid channels; while the temperature change of channel 3 is 20.19, which is greater than 1. Therefore, channel 3 is not the first valid channel.

[0144] Step 4: Restart the temperature sensor corresponding to the channel. The temperature processing device resets the channel whose temperature change in the current frame is greater than or equal to 1.

[0145] For the third frame of data, the temperature change of channel 3 is 20.19, which is greater than 1. Channel 3 will be reset, that is, the temperature sensor 3 corresponding to channel 3 will be restarted.

[0146] There is no need to reset the channel for the 1st, 2nd, 4th and 5th frame data.

[0147] Step 5: Calculate the temperature variance of each first valid channel. The temperature processing device obtains the temperature variance of each first valid channel based on the variance of the temperature values ​​of the latest 20 frames of each first valid channel.

[0148] For the first frame of data, the temperature processing device calculated the variance of the temperature values ​​for the three first valid channels over the most recent 20 frames, obtaining a temperature variance of 0.24 for first valid channel 1, 0.23 for first valid channel 2, and 0.26 for first channel 3. The calculated temperature variances for the second, fourth, and fifth frames are shown in Table 1 and are not detailed here.

[0149] For the third frame of data, the temperature processing device calculates the variance of the temperature values ​​of the two first effective channels in the latest 20 frames, and obtains that the temperature variance of the first effective channel 1 is 0.23 and the temperature variance of the first effective channel 2 is 0.26.

[0150] Step 6: Determine whether each first valid channel is a second valid channel. The temperature processing device compares the temperature variance of each first valid channel with the second threshold value 1. If the temperature variance of the first valid channel is less than 1, the channel is determined to be a second valid channel and the process proceeds to step 8. If the temperature variance of the channel is greater than or equal to 1, the channel is not a second valid channel and the process proceeds to step 7.

[0151] For the first frame of data, the temperature variance of the first valid channel 1 is 0.24, the temperature variance of the first valid channel 2 is 0.23, and the temperature variance of the first valid channel 3 is 0.26, all of which are less than 1. Therefore, the first valid channel 1, the first valid channel 2, and the first valid channel 3 are all considered second valid channels and can be labeled as second valid channel 1, second valid channel 2, and second valid channel 3. Similarly, it can be determined that for the second, fourth, and fifth frames of data, the first valid channel 1, the first valid channel 2, and the first valid channel 3 are all second valid channels.

[0152] For the third frame data, the temperature variance of the first effective channel 1 is 0.23 and the temperature variance of the first effective channel 2 is 0.26, both of which are less than 1. Therefore, the first effective channel 1 and the first effective channel 2 are used as the second effective channel.

[0153] Step 7: Restart the temperature sensor corresponding to the first valid channel. The temperature processing device resets the first valid channel, that is, restarts the temperature sensor corresponding to the first valid channel, so as to re-collect temperature.

[0154] Step 8: Calculate the comparison value corresponding to each second valid channel. The temperature processing device calculates the absolute value of the difference between the current frame temperature value of the second valid channel and the current frame temperature value of each other second valid channel to obtain the comparison value corresponding to the second valid channel.

[0155] For the first frame of data, the absolute value of the difference between the current frame temperature value of 18.52 for the second effective channel 1 and the current frame temperature value of 18.55 for the second effective channel 2 is calculated to be 0.03. The absolute value of the difference between the current frame temperature value of 18.52 for the second effective channel 1 and the current frame temperature value of 18.97 for the second effective channel 3 is calculated to be 0.45. 0.03 and 0.45 are the comparison values ​​corresponding to the second effective channel 1. Similarly, the comparison values ​​corresponding to the second effective channel 2, 0.03 and 0.42, and the comparison values ​​corresponding to the second effective channel 3, 0.04 and 0.05, can be calculated.

[0156] Similarly, for the second frame data, the fourth frame data and the fifth frame data, the comparison value corresponding to the second effective channel 1, the comparison value corresponding to the second effective channel 2 and the comparison value corresponding to the second effective channel 3 can be calculated respectively.

[0157] For the third frame data, the comparison value corresponding to the second effective channel 1 and the comparison value corresponding to the second effective channel 2 can be calculated.

[0158] Step 9: Determine whether each second valid channel is a third valid channel. The temperature processing device counts the number of comparison values ​​corresponding to the second valid channels that are less than the third threshold. If the number of comparison values ​​corresponding to the second valid channels that are less than the third threshold is greater than a preset value of 0, the second valid channel is designated as the third valid channel, and the process proceeds to Step 11. If the number of comparison values ​​corresponding to the second valid channels that are greater than or equal to the third threshold is 0, the process proceeds to Step 10.

[0159] For the first frame of data, the comparison values ​​0.03 and 0.45 corresponding to the second effective channel 1 are both less than 1. The number of comparison values ​​less than 1 is 2, which is greater than 0. Therefore, the second effective channel is regarded as the third effective channel and recorded as third effective channel 1. Similarly, the second effective channel 2 and the second effective channel 3 can be determined to be the third effective channel and recorded as third effective channel 2 and third effective channel 3, respectively.

[0160] Similarly, it can be determined that for the second frame data, the fourth frame data and the fifth frame data, the second effective channel 1, the second effective channel 2 and the second effective channel 3 are all the third effective channel.

[0161] Similarly, it can be determined that for the third frame data, the second valid channel 1 and the second valid channel 2 are both the third valid channel.

[0162] Step 10: Restart the temperature sensor corresponding to the second valid channel. The temperature processing device resets the second valid channel, that is, restarts the temperature sensor corresponding to the second valid channel to facilitate re-collecting temperature.

[0163] Step 11: Obtain the current frame output temperature value. The temperature processing device calculates the average of the current frame temperature values ​​of each third valid channel as the current frame output temperature value. Then, return to step 1 and repeat the process.

[0164] For the first frame data, the average value of the current frame temperature value 18.52 of the third effective channel 1, the current frame temperature value 18.55 of the third effective channel 2, and the current frame temperature value 18.97 of the third effective channel 3 are calculated to obtain an average value of 18.68, and the current frame output temperature value is 18.68.

[0165] Similarly, for the 2nd frame data, the 4th frame data and the 5th frame data, the average values ​​of the current frame temperature value of the third effective channel 1, the current frame temperature value of the third effective channel 2 and the current frame temperature value of the third effective channel 3 are calculated respectively as the current frame output temperature value. The calculation results are detailed in Table 1.

[0166] For the third frame data, the average value of the current frame temperature value 19.2 of the third effective channel 1 and the current frame temperature value 19.43 of the third effective channel 2 are calculated to obtain an average value of 19.32, and the current frame output temperature value is 19.32.

[0167] The following takes the process of processing the temperature acquisition signal acquired by the same temperature sensor using three different filtering algorithms as an example to illustrate the specific implementation process of the temperature processing method provided by the embodiment of the present invention.

[0168] A temperature detection system uses temperature sensor X, which collects temperature data every 100 milliseconds. The resulting temperature signal is sent to a temperature processing device, which filters the signal using three different filtering algorithms to obtain the current frame temperature values ​​for three channels. These filtering algorithms are median filtering, nonlinear Kalman filtering, and adaptive robust Kalman filtering. The median filter is used for channel I, the nonlinear Kalman filter for channel II, and the adaptive robust Kalman filter for channel III. The first, second, and third thresholds are set to 1.

[0169] The temperature values ​​obtained by filtering the temperature acquisition information obtained by the temperature sensor X and the related processing results are shown in Table 2.

[0170] Table 2 Temperature values ​​and related processing results

[0171]

[0172] FIG7 is a flow chart of a temperature treatment method according to a seventh embodiment of the present invention. As shown in FIG7 , the specific implementation process of the temperature treatment method according to the embodiment of the present invention is as follows:

[0173] The first step is to obtain the current frame temperature value of each channel. Temperature sensor X sends the collected temperature signal to the temperature processing device. The temperature processing device filters the temperature signal using three filtering algorithms to obtain the current frame temperature value of channel I, the current frame temperature value of channel II, and the current frame temperature value of channel III.

[0174] The temperature processing device sequentially acquires five frames of temperature data. The first frame of data obtained shows a current temperature value of 25.84 for channel I, 25.81 for channel II, and 25.88 for channel III. The second, third, fourth, and fifth frames of data are shown in Table 2 and are not detailed here.

[0175] The second step is to calculate the current frame temperature variation of each channel. The temperature processing device calculates the absolute value of the difference between the current frame temperature value and the previous frame temperature value of the three channels to obtain the current frame temperature variation of the three channels.

[0176] For the first frame of data, the temperature processing device calculates the absolute value of the difference between the current frame temperature value and the previous frame temperature value for each of the three channels, obtaining a temperature change of 0.06 for Channel I, 0.12 for Channel II, and 0.07 for Channel III. For the second, third, fourth, and fifth frames of data, the calculated temperature changes for the three channels are shown in Table 2 and are not further described here. For the fourth frame of data, since the temperature value of Channel II in the third frame of data is invalid, the temperature change for Channel II is calculated by subtracting the temperature value of Channel II in the second frame of data from the temperature value of Channel II in the fourth frame of data.

[0177] Step 3: Determine whether each channel is a first valid channel. The temperature processing device compares the current frame temperature change of each channel with the first threshold value 1. If the current frame temperature change of the channel is less than 1, the channel is determined to be a first valid channel and the process proceeds to step 5. If the current frame temperature change of the channel is greater than or equal to 1, the channel is not a first valid channel and the process proceeds to step 4.

[0178] For the first frame of data, the temperature change of channel I is 0.06, the temperature change of channel II is 0.12, and the temperature change of channel III is 0.07, all of which are less than 1. Therefore, channel I, channel II, and channel III are all considered first valid channels and can be labeled as first valid channel I, first valid channel II, and first valid channel III. Similarly, for the second, fourth, and fifth frames of data, channel I, channel II, and channel III are all first valid channels.

[0179] For the third frame of data, the temperature change of channel I is 0.02 and the temperature change of channel III is 0.03, both of which are less than 1. Therefore, channel I and channel III are regarded as the first valid channels; while the temperature change of channel II is 23.86, which is greater than 1, so channel II is not the first valid channel.

[0180] Step 4: Reset the filter algorithm corresponding to the channel. The temperature processing device resets the channel whose temperature change in the current frame is greater than or equal to 1, that is, resets the filter algorithm corresponding to the channel.

[0181] For the third frame of data, the temperature change of channel II is 23.86, which is greater than 1, and channel II will be reset, that is, the filtering algorithm corresponding to channel II will be restarted.

[0182] There is no need to reset the channel for the 1st, 2nd, 4th and 5th frame data.

[0183] Step 5: Calculate the temperature variance of each first valid channel. The temperature processing device obtains the temperature variance of each first valid channel based on the variance of the temperature values ​​of the latest 20 frames of each first valid channel.

[0184] For the first frame of data, the temperature processing device calculated the variances of the temperature values ​​for the most recent 20 frames for each of the three first valid channels, obtaining a temperature variance of 0.62 for first valid channel I, 0.43 for first valid channel II, and 0.23 for first valid channel III. The calculated temperature variances for the second, fourth, and fifth frames of data are shown in Table 2 and are not further detailed here.

[0185] For the third frame of data, the temperature processing device calculates the variance of the temperature values ​​of the two first effective channels for the latest 20 frames, and obtains that the temperature variance of the first effective channel I is 0.48 and the temperature variance of the first effective channel III is 0.35.

[0186] Step 6: Determine whether each first valid channel is a second valid channel. The temperature processing device compares the temperature variance of each first valid channel with the second threshold value 1. If the temperature variance of the first valid channel is less than 1, the channel is determined to be a second valid channel and the process proceeds to step 8. If the temperature variance of the channel is greater than or equal to 1, the channel is not a second valid channel and the process proceeds to step 7.

[0187] For the first frame of data, the temperature variance of the first effective channel I is 0.48, the temperature variance of the first effective channel II is 0.43, and the temperature variance of the first effective channel III is 0.23, all of which are less than 1. Therefore, the first effective channel I, the first effective channel II, and the first effective channel III are all considered second effective channels and can be labeled as second effective channel I, second effective channel II, and second effective channel III. Similarly, for the second, fourth, and fifth frames of data, the first effective channel I, the first effective channel II, and the first effective channel III are all second effective channels.

[0188] For the third frame data, the temperature variance of the first effective channel I is 0.48 and the temperature variance of the first effective channel III is 0.35, both of which are less than 1. Therefore, the first effective channel I and the first effective channel III are used as the second effective channel.

[0189] Step 7: Reset the filtering algorithm corresponding to the first effective channel. The temperature processing device resets the first effective channel, that is, resets the filtering algorithm corresponding to the first effective channel, so as to re-perform filtering.

[0190] Step 8: Calculate the comparison value corresponding to each second valid channel. The temperature processing device calculates the absolute value of the difference between the current frame temperature value of the second valid channel and the current frame temperature value of each other second valid channel to obtain the comparison value corresponding to the second valid channel.

[0191] For the first frame of data, the absolute value of the difference between the current frame temperature value of 25.84 for the second effective channel I and the current frame temperature value of 25.81 for the second effective channel II is calculated to be 0.03. The absolute value of the difference between the current frame temperature value of 25.84 for the second effective channel I and the current frame temperature value of 25.88 for the second effective channel III is calculated to be 0.04. 0.03 and 0.04 are the comparison values ​​corresponding to the second effective channel I. Similarly, the comparison values ​​corresponding to the second effective channel II, 0.03 and 0.07, and the comparison values ​​corresponding to the second effective channel III, 0.04 and 0.07, can be calculated.

[0192] Similarly, for the second frame data, the fourth frame data and the fifth frame data, the comparison value corresponding to the second effective channel I, the comparison value corresponding to the second effective channel II and the comparison value corresponding to the second effective channel III can be calculated respectively.

[0193] For the third frame data, the comparison value corresponding to the second effective channel I and the comparison value corresponding to the second effective channel III can be calculated.

[0194] Step 9: Determine whether each second valid channel is a third valid channel. The temperature processing device counts the number of comparison values ​​corresponding to the second valid channels that are less than the third threshold. If the number of comparison values ​​corresponding to the second valid channels that are less than the third threshold is greater than a preset value of 0, the second valid channel is designated as the third valid channel, and the process proceeds to Step 11. If the number of comparison values ​​corresponding to the second valid channels that are greater than or equal to the third threshold is 0, the process proceeds to Step 10.

[0195] For the first frame of data, the comparison values ​​0.03 and 0.04 corresponding to the second effective channel I are both less than 1. The number of comparison values ​​less than 1 is 2, which is greater than 0. Therefore, the second effective channel is regarded as the third effective channel and recorded as the third effective channel I. Similarly, the second effective channel II and the second effective channel III can be determined to be the third effective channel and recorded as the third effective channel II and the third effective channel III, respectively.

[0196] Similarly, it can be determined that for the second frame data, the fourth frame data and the fifth frame data, the second effective channel I, the second effective channel II and the second effective channel III are all the third effective channel.

[0197] Similarly, it can be determined that for the third frame data, the second effective channel I and the second effective channel III are both the third effective channel.

[0198] Step 10: Reset the filtering algorithm corresponding to the second effective channel. The temperature processing device resets the second effective channel, that is, resets the filtering algorithm corresponding to the second effective channel, so as to re-perform filtering.

[0199] Step 11: Obtain the current frame output temperature value. The temperature processing device calculates the average of the current frame temperature values ​​of each third valid channel as the current frame output temperature value. Then, return to step 1 and repeat the process.

[0200] For the first frame data, the average value of the current frame temperature value 25.84 of the third effective channel I, the current frame temperature value 25.81 of the third effective channel II, and the current frame temperature value 25.88 of the third effective channel III are calculated to obtain the average value 25.84, and the current frame output temperature value is 25.84.

[0201] Similarly, for the second frame data, the fourth frame data, and the fifth frame data, the average values ​​of the current frame temperature values ​​of the third effective channel I, the current frame temperature values ​​of the third effective channel II, and the current frame temperature values ​​of the third effective channel III are calculated respectively as the current frame output temperature values. The calculation results are detailed in Table 2.

[0202] For the third frame data, the average value of the current frame temperature value 25.79 of the third effective channel I and the current frame temperature value 25.8 of the third effective channel III are calculated to obtain an average value of 25.80, and the current frame output temperature value is 25.80.

[0203] The temperature processing method provided by the present invention utilizes redundant temperature acquisition functionality to determine the validity of temperature values ​​returned by multiple temperature sensors or processed by various filtering algorithms, thereby improving the accuracy of temperature acquisition. If a temperature value is invalid, the temperature sensor can be restarted or the filtering algorithm automatically reset to allow for re-acquisition or re-processing to obtain a valid temperature value.

[0204] FIG8 is a schematic structural diagram of a temperature processing device provided in an eighth embodiment of the present invention. As shown in FIG8 , the temperature processing device provided in this embodiment of the present invention includes an acquisition module 801, a calculation module 802, a first determination module 803, a second determination module 804, and an acquisition module 805, wherein:

[0205] The acquisition module 801 is used to obtain the current frame temperature value of each channel; the calculation module 802 is used to calculate the absolute value of the difference between the current frame temperature value of each channel and the previous frame temperature value to obtain the current frame temperature change of each channel; the first determination module 803 is used to determine each first valid channel based on the current frame temperature change of each channel and the first threshold; the second determination module 804 is used to determine each second valid channel based on multiple frame temperature values ​​of each first valid channel; the acquisition module 805 is used to obtain the current frame output temperature value according to the current frame temperature value of each second valid channel.

[0206] Specifically, the acquisition module 801 can obtain the current frame temperature value of each channel. If each channel corresponds to a temperature sensor, then the temperature sensor corresponding to each channel can collect temperature in real time, and send the obtained temperature value to the acquisition module 801. The acquisition module 801 uses the temperature value collected in real time by the received temperature sensor as the current frame temperature value of the corresponding channel. If each channel corresponds to a filtering algorithm, different filtering algorithms correspond to the same temperature sensor, the temperature sensor can collect temperature in real time to obtain a temperature acquisition signal, and the acquisition module 801 processes the temperature acquisition signal through different filtering algorithms to obtain the current frame temperature value of each channel. Among them, the number of channels is at least two, which is set according to actual needs and is not limited in the embodiment of the present invention.

[0207] After obtaining the current frame temperature value of each channel, the calculation module 802 calculates the absolute value of the difference between the current frame temperature value of the channel and the previous frame temperature value of the channel as the current frame temperature change of the channel. The calculation module 802 can obtain the current frame temperature change of each channel.

[0208] For each channel's current frame temperature change, the first determination module 803 can compare the channel's current frame temperature change with a first threshold value and, based on the comparison result, determine whether the channel is a first valid channel. Each first valid channel uniquely corresponds to one channel. The first determination module 803 can obtain each first valid channel. The first threshold value is set based on actual needs and is not limited in this embodiment of the present invention.

[0209] The second determination module 804 may obtain multiple frames of temperature values ​​of each first valid channel, and then determine each second valid channel based on the multiple frames of temperature values ​​of each first valid channel.

[0210] After obtaining each second valid channel, the obtaining module 805 may obtain the current frame output temperature value according to the current frame temperature value of each second valid channel.

[0211] The temperature processing device provided by the embodiment of the present invention can obtain the current frame temperature value of each channel, calculate the absolute value of the difference between the current frame temperature value of each channel and the previous frame temperature value, obtain the current frame temperature change of each channel, determine each first valid channel based on the current frame temperature change of each channel and the first threshold, determine each second valid channel based on the multi-frame temperature values ​​of each first valid channel, and obtain the current frame output temperature value according to the current frame temperature value of each second valid channel, thereby improving the accuracy of temperature acquisition.

[0212] On the basis of the above embodiments, the first determining module 803 is further configured to:

[0213] After determining that the current frame temperature change of the channel is less than the first threshold, the channel is used as the first valid channel.

[0214] Specifically, the first determination module 803 compares the current frame temperature change of the channel with the first threshold value. If the current frame temperature change of the channel is less than the first threshold value, the channel is defined as the first valid channel, and the first valid channel corresponds to the channel. The current frame temperature value of the channel is defined as the current frame temperature value of the corresponding first valid channel, and the temperature sensor or filtering algorithm corresponding to the channel is defined as the temperature sensor or filtering algorithm corresponding to the corresponding first valid channel.

[0215] FIG9 is a schematic structural diagram of a temperature treatment device according to a ninth embodiment of the present invention. As shown in FIG9 , based on the above embodiments, the temperature treatment device according to the embodiment of the present invention further includes a first resetting module 806 , wherein:

[0216] The first resetting module 806 is configured to reset the channel after determining that the current frame temperature change of the channel is greater than or equal to the first threshold.

[0217] Specifically, the current frame temperature change of the channel is compared with the first threshold. If the current frame temperature change of the channel is greater than or equal to the first threshold, it means that the temperature value obtained by the channel is unstable, then the first reset module 806 can reset the channel.

[0218] On the basis of the above embodiments, further, the obtaining module 805 is specifically used to:

[0219] An average value of the current frame temperature values ​​of the second valid channels is calculated as the current frame output temperature value.

[0220] Specifically, the current frame temperature values ​​of the second valid channels are all valid, and the obtaining module 805 may calculate the average value of the current frame temperature values ​​of the second valid channels, and use the calculated average value as the current frame output temperature value.

[0221] FIG10 is a schematic structural diagram of a temperature treatment device according to an eleventh embodiment of the present invention. As shown in FIG10 , based on the above embodiments, the obtaining module 805 further includes a first determining unit 8051 and a first obtaining unit 8052, wherein:

[0222] The first determining unit 8051 is used to determine each third valid channel based on the current frame temperature value of each second valid channel; the first obtaining unit 8052 is used to obtain the current frame output temperature value according to the current frame temperature value of each third valid channel.

[0223] Specifically, after determining each second valid channel, for each second valid channel, the first determination unit 8051 can compare the current frame temperature value of the second valid channel with the current frame temperature values ​​of other second valid channels, and determine whether the second valid channel is a third valid channel based on the comparison result, wherein the third valid channel uniquely corresponds to one second valid channel. The first determination unit 8051 can obtain each third valid channel.

[0224] After obtaining each third valid channel, the first obtaining unit 8052 may obtain a current frame output temperature value according to the current frame temperature value of each third valid channel.

[0225] On the basis of the above embodiments, the first obtaining unit 8052 is further configured to:

[0226] An average value of the current frame temperature values ​​of each third valid channel is calculated as the current frame output temperature value.

[0227] Specifically, the current frame temperature values ​​of all third valid channels are valid, and the first obtaining unit 8052 may calculate the average value of the current frame temperature values ​​of all third valid channels, and use the calculated average value as the current frame output temperature value.

[0228] FIG11 is a schematic structural diagram of a temperature treatment device according to an eleventh embodiment of the present invention. As shown in FIG11 , based on the above embodiments, the first determining unit 8051 further includes a calculating subunit 80511 and a judging subunit 80512, wherein:

[0229] The calculation subunit 80511 is used to calculate the absolute value of the difference between the current frame temperature value of the second valid channel and the current frame temperature value of each other second valid channel to obtain the comparison value corresponding to the second valid channel; the judgment subunit 80512 is used to use the second valid channel as the third valid channel after judging that the number of comparison values ​​corresponding to the second valid channel that are less than the third threshold value is greater than a preset value.

[0230] Specifically, the calculation subunit 80511 can calculate the absolute value of the difference between the current frame temperature value of the second valid channel and the current frame temperature value of each other second valid channel to obtain a comparison value corresponding to the second valid channel. It is understandable that there can be one or more comparison values ​​corresponding to the second valid channel. The temperature processing device can obtain a comparison value corresponding to each second valid channel.

[0231] The judgment subunit 80512 compares each comparison value corresponding to the second valid channel with a third threshold value, and counts the number of comparison values ​​that are less than the third threshold value. If the number of comparison values ​​less than the third threshold value is greater than a preset value, it indicates that the current frame temperature value of the second valid channel is valid, and the second valid channel is then used as the third valid channel. Each third valid channel uniquely corresponds to one second valid channel, and the current frame temperature value of the third valid channel is equal to the current frame temperature value of the corresponding second valid channel. The third threshold value is set according to actual needs and is not limited in this embodiment of the present invention. The preset value is set according to actual needs and is not limited in this embodiment of the present invention.

[0232] FIG12 is a schematic structural diagram of a temperature treatment device according to a twelfth embodiment of the present invention. As shown in FIG12 , based on the above embodiments, the temperature treatment device according to the embodiment of the present invention further includes a third resetting module 808, wherein:

[0233] The third resetting module 808 is configured to reset the second valid channel after determining that the number of comparison values ​​corresponding to the second valid channel that are smaller than the third threshold is smaller than or equal to the preset value.

[0234] Specifically, each comparison value corresponding to the second valid channel is compared with the third threshold, and the number of comparison values ​​that are less than the third threshold is counted. If the number of comparison values ​​that are less than the third threshold is less than or equal to the preset value, it means that the current frame temperature value corresponding to the second valid channel is invalid, then the third reset module 808 can reset the second valid channel.

[0235] FIG13 is a schematic structural diagram of a temperature treatment device provided in a thirteenth embodiment of the present invention. As shown in FIG13 , based on the above embodiments, the second determining module 804 further includes a second obtaining unit 8041 and a second determining unit 8042, wherein:

[0236] The second obtaining unit 8041 is used to obtain the temperature variance of each first valid channel based on the variance of the temperature values ​​of the latest preset number of frames of each first valid channel; the second determining unit 8042 is used to determine each second valid channel based on the temperature variance of each first valid channel and the second threshold.

[0237] Specifically, for each first valid channel, the second obtaining unit 8041 records the most recent preset number of frame temperature values ​​for each first valid channel, and then calculates the variance of the most recent preset number of frame temperature values ​​for each first valid channel to obtain the temperature variance of each first valid channel. The most recent preset number of frame temperature values ​​for the first valid channel includes the current frame temperature value of the first valid channel. The preset number is set based on actual needs and is not limited in this embodiment of the present invention.

[0238] For each first valid channel's temperature variance, the second determination unit 8042 can compare the first valid channel's temperature variance with a second threshold value and, based on the comparison result, determine whether the first valid channel is a second valid channel, where the second valid channel uniquely corresponds to a first valid channel. The second determination unit 8042 can obtain each second valid channel. The second threshold value is set based on actual needs and is not limited in this embodiment of the present invention.

[0239] FIG14 is a schematic structural diagram of a temperature treatment device according to a fourteenth embodiment of the present invention. As shown in FIG14 , based on the above embodiments, the temperature treatment device according to the embodiment of the present invention further includes a second resetting module 807, wherein:

[0240] The second resetting module 807 is configured to reset the first valid channel after determining that the temperature variance of the first valid channel is greater than or equal to the second threshold.

[0241] Specifically, the temperature variance of the first valid channel is compared with the second threshold. If the temperature variance of the first valid channel is greater than or equal to the second threshold, it indicates that the temperature value obtained by the first valid channel is unstable over a period of time, then the second reset module 807 can reset the first valid channel.

[0242] On the basis of the above embodiments, the second determining unit 8042 is further configured to:

[0243] If it is determined that the temperature variance of the first valid channel is less than the second threshold, the first valid channel is used as the second valid channel.

[0244] Specifically, the second determining unit 8042 compares the temperature variance of the first valid channel with the second threshold. If the temperature variance of the first valid channel is less than the second threshold, the first valid channel is used as the second valid channel, and the second valid channel corresponds to the first valid channel. The current frame temperature value of the first valid channel is used as the current frame temperature value of the corresponding second valid channel, and the temperature sensor or filtering algorithm corresponding to the first valid channel is used as the temperature sensor or filtering algorithm corresponding to the second valid channel.

[0245] FIG15 is a schematic structural diagram of a temperature treatment device according to a fifteenth embodiment of the present invention. As shown in FIG15 , based on the above embodiments, the second determining module 804 further includes a third obtaining unit 8043 and a judging unit 8044, wherein:

[0246] The third obtaining unit 8043 is used to obtain the effective temperature value of each first effective channel based on the multi-frame temperature values ​​of each first effective channel; the judgment unit 8044 is used to use the first effective channel as the second effective channel after judging that the effective temperature value of the first effective channel is greater than the fourth threshold and less than the fifth threshold.

[0247] Specifically, the third obtaining unit 8043 may obtain multiple frames of temperature values ​​of each first valid channel, and then obtain the effective temperature value of each first valid channel according to the multiple frames of temperature values ​​of each first valid channel.

[0248] The determination unit 8044 compares the effective temperature value of the first effective channel with a fourth threshold and a fifth threshold, respectively. If the effective temperature value of the first effective channel is greater than the fourth threshold and less than the fifth threshold, the first effective channel is determined as the second effective channel. The fourth threshold and the fifth threshold are set as needed and are not limited in this embodiment of the present invention.

[0249] On the basis of the above embodiments, the third obtaining unit 8043 is further configured to:

[0250] Calculate the absolute value of the difference between the current frame temperature value and the previous frame temperature value of the first valid channel to obtain the adjacent difference; if it is determined that the adjacent difference is less than or equal to the sixth threshold, the current frame temperature value of the first valid channel is used as the effective temperature value of the first valid channel; if it is determined that the adjacent difference is greater than the sixth threshold, the previous frame temperature value of the first valid channel is used as the effective temperature value of the first valid channel.

[0251] Specifically, the third obtaining unit 8043 can calculate the absolute value of the difference between the current frame temperature value and the previous frame temperature value of the first effective channel as the adjacent difference, and then compare the adjacent difference with the sixth threshold value. If the adjacent difference is less than or equal to the sixth threshold value, then the current frame temperature value of the first effective channel is used as the effective temperature value of the first effective channel. If the adjacent difference is greater than the sixth threshold value, then the previous frame temperature value of the first effective channel is used as the effective temperature value of the first effective channel. Determining the effective temperature value through the above process can effectively overcome pulse interference caused by accidental factors. Among them, the sixth threshold is set according to actual experience and is not limited in the embodiment of the present invention.

[0252] On the basis of the above embodiments, further, the judgment unit 8044 is specifically configured to:

[0253] Obtain q frame temperature values ​​of the first valid channel, where the q frame temperature values ​​include the current frame temperature value of the first valid channel; wherein q is an odd number greater than or equal to 3; arrange the q frame temperature values ​​in descending order, and obtain the temperature value in the middle of the order as the valid temperature value of the first valid channel.

[0254] Specifically, the judgment unit 8044 may obtain q temperature values ​​for the first valid channel, then sort the q temperature values ​​in descending order, and obtain the middle temperature value from the sorted result as the valid temperature value for the first valid channel. The q temperature values ​​include the current temperature value for the first valid channel, where q is an odd number greater than or equal to 3. Determining the valid temperature value through the above process can effectively overcome fluctuations caused by accidental factors and provide a good filtering effect for slowly changing temperatures.

[0255] The embodiments of the apparatus provided in the embodiments of the present invention can be specifically used to execute the processing flow of the above-mentioned method embodiments. Its functions are not described in detail here, and reference can be made to the detailed description of the above-mentioned method embodiments.

[0256] FIG16 is a schematic diagram of the physical structure of an electronic device provided in the sixteenth embodiment of the present invention. As shown in FIG16 , the electronic device may include: a processor 1601, a communication interface 1602, a memory 1603, and a communication bus 1604, wherein the processor 1601, the communication interface 1602, and the memory 1603 communicate with each other via the communication bus 1604. The processor 1601 may call the logic instructions in the memory 1603 to execute the following method: obtaining the current frame temperature value of each channel; calculating the absolute value of the difference between the current frame temperature value of each channel and the previous frame temperature value to obtain the current frame temperature change of each channel; determining each first valid channel based on the current frame temperature change of each channel and a first threshold; determining each second valid channel based on multiple frame temperature values ​​of each first valid channel; and obtaining the current frame output temperature value based on the current frame temperature value of each second valid channel.

[0257] In addition, the logic instructions in the above-mentioned memory 1603 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0258] This embodiment discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments, for example, including: obtaining the current frame temperature value of each channel; calculating the absolute value of the difference between the current frame temperature value of each channel and the previous frame temperature value to obtain the current frame temperature change of each channel; determining each first valid channel based on the current frame temperature change of each channel and a first threshold; determining each second valid channel based on multiple frame temperature values ​​of each first valid channel; and obtaining the current frame output temperature value according to the current frame temperature value of each second valid channel.

[0259] This embodiment provides a computer-readable storage medium, which stores a computer program. The computer program enables the computer to execute the methods provided by the above-mentioned method embodiments, for example, including: obtaining the current frame temperature value of each channel; calculating the absolute value of the difference between the current frame temperature value of each channel and the previous frame temperature value to obtain the current frame temperature change of each channel; determining each first valid channel based on the current frame temperature change of each channel and a first threshold; determining each second valid channel based on multiple frame temperature values ​​of each first valid channel; and obtaining the current frame output temperature value according to the current frame temperature value of each second valid channel.

[0260] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0261] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0262] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0263] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0264] Throughout this specification, reference to terms such as "one embodiment," "a specific embodiment," "some embodiments," "for example," "example," "specific example," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0265] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A temperature processing method, characterized in that, it includes: Obtain the current frame temperature value of each channel; Calculate the absolute value of the difference between the current frame temperature value and the previous frame temperature value of each channel to obtain the current frame temperature change of each channel; Based on the current frame temperature change of each channel and the first threshold, determine each first effective channel; Based on the multi-frame temperature values of each first effective channel, determine each second effective channel; Obtain the current frame output temperature value according to the current frame temperature value of each second effective channel.

2. The method according to claim 1, characterized in that, the determining each first effective channel based on the current frame temperature change of each channel and the first threshold includes: If it is judged that the current frame temperature change of the channel is less than the first threshold, then use the channel as the first effective channel.

3. The method according to claim 1, characterized in that, it further includes: If it is judged that the current frame temperature change of the channel is greater than or equal to the first threshold, then reset the channel.

4. The method according to claim 1, characterized in that, the obtaining the current frame output temperature value according to the current frame temperature value of each second effective channel includes: Calculate the average value of the current frame temperature values of each second effective channel as the current frame output temperature value.

5. The method according to claim 1, characterized in that, the obtaining the current frame output temperature value according to the current frame temperature value of each second effective channel includes: Based on the current frame temperature value of each second effective channel, determine each third effective channel; Obtain the current frame output temperature value according to the current frame temperature value of each third effective channel.

6. The method according to claim 5, characterized in that, the obtaining the current frame output temperature value according to the current frame temperature value of each third effective channel includes: Calculate the average value of the current frame temperature values of each third effective channel as the current frame output temperature value.

7. The method according to claim 5, characterized in that, the determining each third effective channel based on the current frame temperature value of each second effective channel includes: Calculate the absolute value of the pairwise difference between the current frame temperature value of the second effective channel and the current frame temperature value of each other second effective channel to obtain the comparison value corresponding to the second effective channel; If it is judged that the number of comparison values less than the third threshold in the comparison values corresponding to the second effective channel is greater than the preset value, then use the second effective channel as the third effective channel.

8. The method according to claim 7, characterized in that, it further includes: If it is judged that the number of comparison values less than the third threshold in the comparison values corresponding to the second effective channel is less than or equal to the preset value, then reset the second effective channel.

9. The method according to claim 1, characterized in that, the determining each second effective channel based on the multi-frame temperature values of each first effective channel includes: Based on the variance of the temperature values of the most recent preset number of frames of each first effective channel, obtain the temperature variance of each first effective channel; Determine each second effective channel based on the temperature variance of each first effective channel and a second threshold value.

10. The method according to claim 9, wherein, the determining each second effective channel based on the temperature variance of each first effective channel and a second threshold value includes: If it is judged that the temperature variance of the first effective channel is less than the second threshold value, then use the first effective channel as the second effective channel.

11. The method according to claim 9, wherein, further comprising: If it is judged that the temperature variance of the first effective channel is greater than or equal to the second threshold value, then reset the first effective channel.

12. The method according to claim 1, wherein, the determining each second effective channel based on the multi-frame temperature values of each first effective channel includes: Obtain the effective temperature value of each first effective channel based on the multi-frame temperature values of each first effective channel; If it is judged that the effective temperature value of the first effective channel is greater than a fourth threshold value and less than a fifth threshold value, then use the first effective channel as the second effective channel.

13. The method according to claim 12, wherein, the obtaining the effective temperature value of each first effective channel based on the multi-frame temperature values of each first effective channel includes: Calculate the absolute value of the difference between the current frame temperature value and the previous frame temperature value of the first effective channel to obtain an adjacent difference; If it is judged that the adjacent difference is less than or equal to a sixth threshold value, then use the current frame temperature value of the first effective channel as the effective temperature value of the first effective channel; If it is judged that the adjacent difference is greater than the sixth threshold value, then use the previous frame temperature value of the first effective channel as the effective temperature value of the first effective channel.

14. The method according to claim 12, wherein, the obtaining the effective temperature value of each first effective channel based on the multi-frame temperature values of each first effective channel includes: Obtain the q-frame temperature values of the first effective channel, where the q-frame temperature values include the current frame temperature value of the first effective channel; where q is an odd number greater than or equal to 3; Arrange the q-frame temperature values in descending order, and obtain the temperature value in the middle of the sorting as the effective temperature value of the first effective channel.

15. The method according to any one of claims 1 to 14, wherein, the current frame temperature values of each channel are derived from different filtering algorithms.

16. The method according to claim 15, wherein, further comprising: If it is judged that the total number of third effective channels is less than a set value, then restart the temperature sensors corresponding to each channel to re-collect temperatures.

17. The method according to claim 15, wherein, further comprising: If the temperature sensor still needs to be restarted after continuously restarting for a first preset number of times, then prompt that the temperature sensor is faulty.

18. The method according to any one of claims 1 to 14, wherein, the current frame temperature values of each channel are derived from different temperature sensors.

19. The method according to claim 18, wherein, further comprising: If the temperature sensor corresponding to the channel restarts continuously for a second preset number of times, a fault of the temperature sensor corresponding to the channel is prompted.

20. A temperature processing device , characterized in that it includes: an acquisition module for acquiring the current frame temperature value of each channel; a calculation module for calculating the absolute value of the difference between the current frame temperature value and the previous frame temperature value of each channel to obtain the current frame temperature change amount of each channel; a first determination module for determining each first effective channel based on the current frame temperature change amount of each channel and a first threshold; a second determination module for determining each second effective channel based on the multi-frame temperature values of each first effective channel; an acquisition module for obtaining the current frame output temperature value according to the current frame temperature value of each second effective channel.

21. The device according to claim 20 , characterized in that the first determination module is specifically configured to: after determining that the current frame temperature change amount of the channel is less than the first threshold, use the channel as the first effective channel.

22. The device according to claim 20 , characterized in that it further includes a first reset module, where: the first reset module is used to reset the channel after determining that the current frame temperature change amount of the channel is greater than or equal to the first threshold.

23. The device according to claim 20 , characterized in that it further includes a second reset module, where: the second reset module is used to reset the first effective channel after determining that the temperature variance of the first effective channel is greater than or equal to a second threshold.

24. The device according to claim 20 , characterized in that the acquisition module is specifically configured to: calculate the average value of the current frame temperature values of each second effective channel as the current frame output temperature value.

25. The device according to claim 20 , characterized in that the acquisition module includes: a first determination unit for determining each third effective channel based on the current frame temperature value of each second effective channel; a first acquisition unit for obtaining the current frame output temperature value according to the current frame temperature value of each third effective channel.

26. The device according to claim 25 , characterized in that the first acquisition unit is specifically configured to: calculate the average value of the current frame temperature values of each third effective channel as the current frame output temperature value.

27. The device according to claim 25 , characterized in that the first determination unit includes a calculation subunit and a judgment subunit, where: the calculation subunit is used to calculate the absolute value of the pairwise difference between the current frame temperature value of the second effective channel and the current frame temperature value of each other second effective channel to obtain the comparison value corresponding to the second effective channel; the judgment subunit is used to use the second effective channel as the third effective channel after determining that the number of comparison values less than a third threshold in the comparison values corresponding to the second effective channel is greater than a preset value.

28. The device according to claim 20 , characterized in that the second determination module includes: A second acquisition unit, configured to obtain the temperature variance of each first valid channel based on the variance of the temperature values of the most recent preset number of frames of each first valid channel; A second determination unit, configured to determine each second valid channel based on the temperature variance of each first valid channel and a second threshold.

29. The apparatus according to claim 28, wherein, the second determination unit is specifically configured to: if it is determined that the temperature variance of the first valid channel is less than the second threshold, then use the first valid channel as the second valid channel.

30. The apparatus according to claim 28, wherein, it further includes a third reset module, wherein: the third reset module is configured to reset the second valid channel after it is determined that the number of comparison values less than the third threshold among the comparison values corresponding to the second valid channel is less than or equal to the preset value.

31. The apparatus according to claim 20, wherein, the second determination module includes: a third acquisition unit, configured to obtain the effective temperature value of each first valid channel based on multiple frames of temperature values of each first valid channel; a judgment unit, configured to use the first valid channel as the second valid channel after it is determined that the effective temperature value of the first valid channel is greater than a fourth threshold and less than a fifth threshold.

32. The apparatus according to claim 31, wherein, the third acquisition unit is specifically configured to: calculate the absolute value of the difference between the current frame temperature value and the previous frame temperature value of the first valid channel to obtain an adjacent difference; if it is determined that the adjacent difference is less than or equal to a sixth threshold, then use the current frame temperature value of the first valid channel as the effective temperature value of the first valid channel; if it is determined that the adjacent difference is greater than the sixth threshold, then use the previous frame temperature value of the first valid channel as the effective temperature value of the first valid channel.

33. The apparatus according to claim 31, wherein, the judgment unit is specifically configured to: acquire q frames of temperature values of the first valid channel, where the q frames of temperature values include the current frame temperature value of the first valid channel; where q is an odd number greater than or equal to 3; sort the q frames of temperature values in descending order, and acquire the temperature value in the middle of the sorting as the effective temperature value of the first valid channel.

34. An electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein, when the processor executes the computer program, the steps of the method according to any one of claims 1 to 19 are implemented.

35. A computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 19 are implemented.