CN113869403A - Temperature detection method and device based on portable temperature measuring device - Google Patents
Temperature detection method and device based on portable temperature measuring device Download PDFInfo
- Publication number
- CN113869403A CN113869403A CN202111135544.5A CN202111135544A CN113869403A CN 113869403 A CN113869403 A CN 113869403A CN 202111135544 A CN202111135544 A CN 202111135544A CN 113869403 A CN113869403 A CN 113869403A
- Authority
- CN
- China
- Prior art keywords
- temperature
- data
- portable
- distance
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/25—Fusion techniques
- G06F18/251—Fusion techniques of input or preprocessed data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Databases & Information Systems (AREA)
- Evolutionary Computation (AREA)
- Molecular Biology (AREA)
- General Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Mathematical Physics (AREA)
- Computing Systems (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention discloses a temperature detection method and device based on a portable temperature measuring device, relates to the technical field of detection, and mainly aims to solve the problem that the temperature measurement requirement of agility cannot be met. The method comprises the following steps: sending a connection instruction to an Internet of things platform through a preset integration networking protocol; after connection with the Internet of things platform is established, temperature data, distance data and correction parameters which are respectively collected by a temperature sensor and a distance sensor in the portable temperature measuring device are obtained, and the correction parameters are used for representing influence factors acting on a mapping relation between the temperature data and the distance data; based on the mapping relation between the temperature and the distance, carrying out fusion processing on the temperature data and the distance data, and determining a compensation value of the temperature data; and detecting and processing the compensation value, the temperature data and the distance data based on the trained temperature compensation processing model, and determining a detected target temperature value.
Description
Technical Field
The invention relates to the technical field of detection, in particular to a temperature detection method and device based on a portable temperature measuring device.
Background
Along with the rapid development of electronic technology, portable temperature measuring device can satisfy the scene that various needs were measured the temperature fast, conveniently, for example, the staff at indoor entrance holds portable temperature measuring device and carries out temperature detection to getting into indoor personnel.
At present, when the temperature of a human body is measured by the conventional portable temperature measuring device, the distance between the portable temperature measuring device and a specific position of the human body needs to be specified so as to ensure the accuracy of temperature detection. However, for the manual handheld portable temperature measuring device, the temperature measurement is often inaccurate due to inaccurate distance in the test process, so that the temperature measurement is poor in precision and inaccurate in effect, and the requirement for processing the measured temperature data cannot be met.
Disclosure of Invention
In view of the above, the present invention provides a temperature detection method and device based on a portable temperature measurement device, and mainly aims to solve the problem that the existing temperature measurement requirement of agility cannot be met.
According to one aspect of the invention, a temperature detection method based on a portable temperature measuring device is provided, which comprises the following steps:
sending a connection instruction to an Internet of things platform through a preset integration networking protocol so that terminal equipment connected with the Internet of things platform records data acquired by at least two portable temperature measuring devices;
after connection with the Internet of things platform is established, temperature data, distance data and correction parameters which are respectively collected by a temperature sensor and a distance sensor in the portable temperature measuring device are obtained, and the correction parameters are used for representing influence factors acting on a mapping relation between the temperature data and the distance data;
based on the mapping relation between the temperature and the distance, carrying out fusion processing on the temperature data and the distance data, and determining a compensation value of the temperature data;
and detecting the compensation value, the temperature data and the distance data based on a trained temperature compensation processing model, and determining a detected target temperature value, wherein the temperature compensation processing model is obtained by replacing the model weight based on the correction parameter.
According to another aspect of the present invention, there is provided a portable temperature measuring device-based temperature detecting device, comprising:
the sending module is used for sending a connection instruction to the Internet of things platform through a preset integrated networking protocol so that terminal equipment connected with the Internet of things platform can record data collected by at least two portable temperature measuring devices;
the acquisition module is used for acquiring temperature data, distance data and correction parameters which are respectively acquired by a temperature sensor and a distance sensor in the portable temperature measuring device after connection with the Internet of things platform is established, wherein the correction parameters are used for representing influence factors acting on a mapping relation between the temperature data and the distance data;
the first determining module is used for fusing the temperature data and the distance data based on the mapping relation between the temperature and the distance to determine a compensation value of the temperature data;
and the second determination module is used for detecting and processing the compensation value, the temperature data and the distance data based on the trained temperature compensation processing model and determining a detected target temperature value, wherein the temperature compensation processing model is obtained by replacing the model weight based on the correction parameter.
According to still another aspect of the present invention, a storage medium is provided, and the storage medium stores at least one executable instruction, which causes a processor to perform operations corresponding to the temperature detection method based on a portable temperature measuring device as described above.
According to still another aspect of the present invention, there is provided a terminal including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the temperature detection method based on the portable temperature measuring device.
By the technical scheme, the technical scheme provided by the embodiment of the invention at least has the following advantages:
the invention provides a temperature detection method and a temperature detection device based on portable temperature measuring devices, compared with the prior art, the embodiment of the invention sends a connection instruction to an Internet of things platform through a preset integration networking protocol, so that terminal equipment connected with the Internet of things platform records data collected by at least two portable temperature measuring devices; after connection with the Internet of things platform is established, temperature data, distance data and correction parameters which are respectively collected by a temperature sensor and a distance sensor in the portable temperature measuring device are obtained, and the correction parameters are used for representing influence factors acting on a mapping relation between the temperature data and the distance data; based on the mapping relation between the temperature and the distance, carrying out fusion processing on the temperature data and the distance data, and determining a compensation value of the temperature data; the compensation value, the temperature data and the distance data are detected and processed based on the trained temperature compensation processing model, and the detected target temperature value is determined, wherein the temperature compensation processing model is obtained by replacing the model weight based on the correction parameters, so that the condition that the body temperature detection is inaccurate due to distance errors in the test process is avoided, the temperature measurement precision is improved, the temperature detection and display visualization effects are realized, and the requirement for processing the measured temperature data is greatly met.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart of a temperature detection method based on a portable temperature measuring device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a portable temperature measuring device according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating data communication of an internet of things platform according to an embodiment of the present invention;
FIG. 4 is a block diagram illustrating a temperature detecting device based on a portable temperature measuring device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The embodiment of the invention provides a temperature detection method based on a portable temperature measuring device, and as shown in figure 1, the method comprises the following steps:
101. and sending a connection instruction to the Internet of things platform through a preset integrated networking protocol.
The temperature detection method in the embodiment of the invention is based on a system comprising an Internet of things platform, terminal equipment connected with at least 2 portable temperature measuring devices, a client and a current execution server, wherein each terminal equipment acquires temperature data of different users based on the connected 2 portable temperature measuring devices, an integrated networking protocol is constructed in advance to determine that the Internet of things platform can store all data acquired by the terminal equipment and address information of each terminal equipment, and data communication connection is carried out to acquire related data. When the detection temperature of the target user needs to be determined, the server serving as the current execution main body sends a connection instruction to the Internet of things platform through a preset integrated networking protocol, so that the terminal equipment connected with the Internet of things platform records data collected by the at least two portable temperature measuring devices. In the embodiment of the invention, every two portable temperature measuring devices are connected to a terminal device and are installed or placed in a place where a large number of people flow temperatures need to be detected, and the two portable temperature measuring devices are oppositely placed at an angle of 45 degrees so as to simultaneously detect the temperature of one user. In addition, the two portable temperature measuring devices are further provided with distance sensors for detecting the distance between the user and the device during temperature measurement, generally, the user is closer to one of the devices during temperature measurement, so the correspondingly obtained distance data are two different distance values, and of course, there are also cases where the two distance values are equal, as shown in the detection diagram of the portable temperature measuring device shown in fig. 2, which is not specifically limited in the embodiment of the present invention.
It should be noted that, temperature data of a large number of users are stored in each terminal device according to ranges such as time and place, and in order to enable the current server to obtain the temperature data and distance data collected by the terminal device corresponding to each place, the terminal device sends all collected data to the internet of things for backup based on a preset integration networking protocol. The preset integrated networking protocol is a data communication protocol which is predetermined to perform transmission between the internet of things platform and the terminal device and transmission between the internet of things platform and the current server side, and embodiments of the present invention are not particularly limited. The internet of things cloud platform is a platform capable of receiving data reported by equipment, issuing the data to the equipment, forwarding, analyzing, calculating, displaying and managing the data.
102. And after the connection with the Internet of things platform is established, acquiring temperature data, distance data and correction parameters respectively acquired by the temperature sensor and the distance sensor in the portable temperature measuring device.
In the embodiment of the invention, as shown in the data communication schematic diagram of the internet of things platform shown in fig. 3, after connection is established, the current server side performs data transmission with the internet of things platform to obtain temperature data, distance data and correction parameters in each portable temperature measuring device. The correction parameters are used for representing influence factors acting on the mapping relation between the temperature data and the distance data, namely the mapping relation exists between each temperature data and the corresponding distance data, and when different portable temperature measuring devices determine compensation values for the collected temperature data and the collected distance data based on the mapping relation, one influence factor is needed to serve as correction content of the hardware device and serves as the correction parameter. In the embodiment of the invention, the correction parameters are determined according to the type, the service time, the manufacturer and the temperature measurement acceptable error range of the portable temperature measuring device, the numerical range of the correction parameters is configured to be 0-1, and different portable temperature measuring devices correspond to different correction parameters.
It should be noted that, in the embodiment of the present invention, since the scene of detecting the temperature is a place of a large amount of people flow, in the embodiment of the present invention, each user may not be identified, and only the temperature data, the distance data, and the corresponding correction parameters acquired by all the portable temperature measuring devices are acquired, so as to calculate each temperature data.
103. And fusing the temperature data and the distance data based on the mapping relation between the temperature and the distance, and determining a compensation value of the temperature data.
In the embodiment of the invention, because the temperatures detected by the user at different positions are different, the temperature data needs to be compensated according to the distance. The compensation data is an input parameter used as a temperature compensation processing model and used for limiting or assisting in calculating the temperatures detected on different sites and the real body temperature of the user corresponding to the detected distance. Specifically, since the longer the distance is, the larger the error affecting the detected temperature is, a mapping relationship between the temperature and the distance is established in advance to fuse the temperature data and the distance data to obtain a compensation value. The mapping relation is a corresponding relation that the larger the distance is, the smaller the temperature is, and the temperature and the distance are fused.
In the examples of the present invention, the temperature-distance fusion formula was fused, and Y was-0.01X2+0.02X + b; it is composed ofIn the above description, X is a difference between 2 distance sensors and a detection target, and b is temperature data detected by a temperature sensor at a corresponding distance.
104. And detecting and processing the compensation value, the temperature data and the distance data based on the trained temperature compensation processing model, and determining a detected target temperature value.
In the embodiment of the invention, a temperature compensation processing model is constructed and trained in advance, and the compensation value, the temperature data and the distance data are used as model parameters to carry out model operation, so that the real body temperature value of the user in a place, namely the target temperature value, is obtained. The temperature compensation processing model is obtained by replacing the model weight based on the correction parameter, so that the improvement and training of the temperature compensation processing model are completed.
For further explanation and limitation, in an embodiment of the present invention, after determining the detected target temperature value, the method further includes: determining the position information of the portable temperature device according to a global positioning system or a preset position identifier; counting a relevant target temperature value corresponding to a relevant portable temperature measuring device of which the position information belongs to a preset detection range within a preset time range, wherein the relevant temperature data is determined based on relevant temperature data and relevant distance data respectively acquired by a relevant temperature sensor and a relevant distance sensor corresponding to the relevant portable temperature measuring device in the Internet of things platform; and if the associated target temperature value is greater than the abnormal temperature index, sending alarm information corresponding to the position information.
In order to monitor whether abnormal body temperature detection exists in each place in real time, after the detected target temperature value is determined, the position of each portable temperature measuring device is determined. The portable temperature measuring device of each identity can be positioned based on a global positioning system, and the position information of the portable temperature measuring device can be determined based on a pre-marked position. In addition, since the portable temperature measuring devices can be configured in each place, other portable temperature measuring devices having a certain detection range with the currently determined position information can be determined as associated portable temperature measuring devices, and meanwhile, the associated portable temperature measuring devices acquire associated target temperature values determined by the associated questions and answers according to the method in step 101 and step 104 to serve as accurate values of the body temperature detected corresponding to the associated portable temperature measuring devices. Further, in order to realize the position alarm based on the temperature abnormality, the comparison relation between the associated target temperature value and the abnormal temperature index is determined, and if the comparison relation is larger than the abnormal temperature index, the alarm information of the determined position information is sent, so that the position is alarmed to have the temperature abnormality risk. For example, after the position information 11 of the portable temperature measuring device a is determined, the associated target temperature values of the associated portable temperature measuring devices b belonging to the same cell are unified for one week, and if the associated target temperature values are greater than 37.2 degrees, the alarm information of the position information 11 is sent.
In an embodiment of the present invention, for further explanation and limitation, after counting associated target temperature values corresponding to associated portable temperature measuring devices whose position information belongs to a preset detection range within a preset time range, the method further includes: detecting whether a client opens a data sharing right between the client and the Internet of things platform; if the client starts the data sharing authority, generating a temperature state distribution diagram based on the associated target temperature value, and outputting the associated target temperature value and the temperature state distribution diagram to the client; and if the client does not start the data sharing authority, outputting the target temperature value and a temperature state distribution diagram request instruction to generate the temperature state distribution diagram.
In order to facilitate temperature detection conditions of different places, after the associated target temperature value is determined, whether a client starts a data sharing authority of the Internet of things platform is detected, and the data sharing authority is used for limiting that a client user can acquire associated temperature data which belongs to the associated portable temperature measuring device in a preset detection range. In order to improve the visualization effect of the temperature data, a temperature state distribution graph is generated according to the associated target temperature values, all associated target temperature values in a preset detection range are displayed in the temperature state distribution graph, and ranges of different temperature values can be rendered through different colors, so that the temperature state distribution is better displayed and output on the premise of opening the data analysis permission. If the client connected to the current server does not start the sharing authority, the client cannot acquire the associated target temperature value and the temperature state distribution map, so that the current server directly outputs the target temperature value and a request instruction to the client to start the authority, and the temperature state distribution map is generated.
For further explanation and limitation, in one embodiment of the present invention, the generating a temperature status profile based on the associated target temperature values comprises: loading the detection times and the position information of the associated portable temperature measuring device from the platform of the Internet of things; counting a temperature average value based on the determined associated target temperature value and the detection times; and marking the temperature average value on the detection map information drawn based on the position information to obtain a temperature state distribution diagram, wherein the temperature average value is updated based on preset detection times and/or preset detection time.
Because the detection times and the position information recorded by each terminal device are stored in the platform of the internet of things, when the temperature state distribution diagram is generated, the platform of the internet of things is loaded, so that the temperature average value is calculated based on the associated target temperature value and the detection times, namely the temperature average value is obtained by dividing the sum by the detection times. Meanwhile, a detection map is drawn based on the position information, and the temperature average value is marked on the map, thereby obtaining a temperature state distribution map. In order to achieve the real-time effect of temperature detection, the temperature average value is updated according to a preset detection time or a preset detection time, for example, the temperature average value is recalculated after 5 times of detection, or recalculated after 1 day of detection, and the embodiment of the present invention is not particularly limited.
For further explanation and limitation, in an embodiment of the present invention, before the step of marking the temperature average on the detection map information plotted based on the position information to obtain the temperature status distribution map, the method further includes: and if the associated target temperature value is greater than the abnormal temperature index, determining the temperature is in an abnormal temperature state, performing abnormal rendering on the position information of the associated portable temperature measuring device corresponding to the abnormal temperature state, and marking the position information in the temperature state distribution diagram.
If the associated target temperature value is greater than the abnormal temperature index, the detection object with abnormal temperature appears at the position location of the associated portable temperature measuring device, therefore, the position of the associated portable temperature measuring device which is determined to be in the abnormal temperature state is rendered abnormally, and if the position is marked red, the position is marked in the temperature state distribution diagram. In this case, the average temperature value is not calculated, but is directly handled according to the temperature abnormality.
In an embodiment of the present invention, for further explanation and limitation, the method further comprises: constructing a temperature compensation processing network based on a convolutional neural network, wherein the size of a convolutional kernel in the temperature compensation processing network is configured based on a convolutional kernel parameter matched with the correction parameter; acquiring a temperature compensation training sample data set and correction parameters matched with different detection compensation service requirements, and replacing the model weights based on the correction parameters, wherein the correction parameters are proportional numerical values which are matched with the number of the model weights and are in a range of 0-1; and performing model training on the temperature compensation processing network based on the temperature compensation training sample data set to obtain a trained temperature compensation processing model.
In order to realize the temperature compensation processing between the temperature and the distance based on the machine learning algorithm, therefore, the temperature compensation processing network is constructed based on the convolution neural network. Specifically, the numerical range of the correction parameter is configured to be 0-1, and the correction parameter is determined according to the model, the service time, the manufacturer and the temperature measurement acceptable error range of the portable temperature measuring device, so that the constructed convolution kernel size is configured based on the convolution kernel parameter matched with the correction parameter. In the model training process, in order to meet compensation correction of temperature and distance, different detection compensation service requirements are matched with different correction parameters, the detection compensation service requirements are used for representing precision values of compensation of the requirements of the temperature and the distance under different scenes, and the higher the precision value is, the larger the correction parameters are. In order to make the processing of the convolutional neural network model more conform to the compensation correction scenario and improve the data processing accuracy, the model weights are replaced based on the correction parameters, wherein the correction parameters are proportional values which are matched with the number of the model weights and are within a range of 0-1, for example, when the determined correction parameters are 0.3 and the number of the model weights is 3, when the model weights are replaced, the 3 model weights are determined according to a proportion of 0.3 to 1, and the model weights of 0.3, 0.3 and 0.1 are obtained for replacement. And finally, performing model training on the temperature compensation processing network based on a temperature compensation training sample data set to obtain a trained temperature compensation processing model, wherein compensation numerical value sample data, temperature data sample data and distance data sample data are stored in the temperature compensation training sample data set, so that model training is performed.
Compared with the prior art, the embodiment of the invention sends a connection instruction to an Internet of things platform through a preset integration networking protocol so that terminal equipment connected with the Internet of things platform records data collected by at least two portable temperature measuring devices; after connection with the Internet of things platform is established, temperature data, distance data and correction parameters which are respectively collected by a temperature sensor and a distance sensor in the portable temperature measuring device are obtained, and the correction parameters are used for representing influence factors acting on a mapping relation between the temperature data and the distance data; based on the mapping relation between the temperature and the distance, carrying out fusion processing on the temperature data and the distance data, and determining a compensation value of the temperature data; the compensation value, the temperature data and the distance data are detected and processed based on the trained temperature compensation processing model, and the detected target temperature value is determined, wherein the temperature compensation processing model is obtained by replacing the model weight based on the correction parameters, so that the condition that the body temperature detection is inaccurate due to distance errors in the test process is avoided, the temperature measurement precision is improved, the temperature detection and display visualization effects are realized, and the requirement for processing the measured temperature data is greatly met.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention provides a temperature detection device based on a portable temperature measurement device, as shown in fig. 3, the device includes:
the sending module 21 is used for sending a connection instruction to the internet of things platform through a preset integrated networking protocol so that the terminal equipment connected with the internet of things platform can record data collected by at least two portable temperature measuring devices;
the obtaining module 22 is configured to obtain temperature data, distance data, and correction parameters, which are respectively collected by a temperature sensor and a distance sensor in the portable temperature measurement device, after establishing connection with the internet of things platform, where the correction parameters are used to characterize influence factors acting on a mapping relationship between the temperature data and the distance data;
the first determining module 23 is configured to perform fusion processing on the temperature data and the distance data based on a mapping relationship between temperature and distance, and determine a compensation value of the temperature data;
and a second determining module 24, configured to perform detection processing on the compensation value, the temperature data, and the distance data based on a trained temperature compensation processing model, and determine a detected target temperature value, where the temperature compensation processing model is obtained by replacing a model weight based on the correction parameter.
Compared with the prior art, the temperature detection device based on the portable temperature measurement devices sends connection instructions to the Internet of things platform through a preset integration networking protocol, so that terminal equipment connected with the Internet of things platform records data collected by at least two portable temperature measurement devices; after connection with the Internet of things platform is established, temperature data, distance data and correction parameters which are respectively collected by a temperature sensor and a distance sensor in the portable temperature measuring device are obtained, and the correction parameters are used for representing influence factors acting on a mapping relation between the temperature data and the distance data; based on the mapping relation between the temperature and the distance, carrying out fusion processing on the temperature data and the distance data, and determining a compensation value of the temperature data; the compensation value, the temperature data and the distance data are detected and processed based on the trained temperature compensation processing model, and the detected target temperature value is determined, wherein the temperature compensation processing model is obtained by replacing the model weight based on the correction parameters, so that the condition that the body temperature detection is inaccurate due to distance errors in the test process is avoided, the temperature measurement precision is improved, the temperature detection and display visualization effects are realized, and the requirement for processing the measured temperature data is greatly met.
According to an embodiment of the present invention, a storage medium is provided, where the storage medium stores at least one executable instruction, and the computer executable instruction may execute the temperature detection method based on the portable temperature measurement device in any of the above method embodiments.
Fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the terminal.
As shown in fig. 4, the terminal may include: a processor (processor)302, a communication Interface 304, a memory 306, and a communication bus 308.
Wherein: the processor 302, communication interface 304, and memory 306 communicate with each other via a communication bus 308.
A communication interface 304 for communicating with network elements of other devices, such as clients or other servers.
The processor 302 is configured to execute the program 310, and may specifically execute relevant steps in the above-described temperature detection method embodiment based on the portable temperature measuring device.
In particular, program 310 may include program code comprising computer operating instructions.
The processor 302 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The terminal comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 306 for storing a program 310. Memory 306 may comprise high-speed RAM memory and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 310 may specifically be configured to cause the processor 302 to perform the following operations:
sending a connection instruction to an Internet of things platform through a preset integration networking protocol so that terminal equipment connected with the Internet of things platform records data acquired by at least two portable temperature measuring devices;
after connection with the Internet of things platform is established, temperature data, distance data and correction parameters which are respectively collected by a temperature sensor and a distance sensor in the portable temperature measuring device are obtained, and the correction parameters are used for representing influence factors acting on a mapping relation between the temperature data and the distance data;
based on the mapping relation between the temperature and the distance, carrying out fusion processing on the temperature data and the distance data, and determining a compensation value of the temperature data;
and detecting the compensation value, the temperature data and the distance data based on a trained temperature compensation processing model, and determining a detected target temperature value, wherein the temperature compensation processing model is obtained by replacing the model weight based on the correction parameter.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (9)
1. A temperature detection method based on a portable temperature measuring device is characterized by comprising the following steps:
sending a connection instruction to an Internet of things platform through a preset integration networking protocol so that terminal equipment connected with the Internet of things platform records data acquired by at least two portable temperature measuring devices;
after connection with the Internet of things platform is established, temperature data, distance data and correction parameters which are respectively collected by a temperature sensor and a distance sensor in the portable temperature measuring device are obtained, and the correction parameters are used for representing influence factors acting on a mapping relation between the temperature data and the distance data;
based on the mapping relation between the temperature and the distance, carrying out fusion processing on the temperature data and the distance data, and determining a compensation value of the temperature data;
and detecting the compensation value, the temperature data and the distance data based on a trained temperature compensation processing model, and determining a detected target temperature value, wherein the temperature compensation processing model is obtained by replacing the model weight based on the correction parameter.
2. The method of claim 1, wherein after determining the detected target temperature value, the method further comprises:
determining the position information of the portable temperature device according to a global positioning system or a preset position identifier;
counting a relevant target temperature value corresponding to a relevant portable temperature measuring device of which the position information belongs to a preset detection range within a preset time range, wherein the relevant temperature data is determined based on relevant temperature data and relevant distance data respectively acquired by a relevant temperature sensor and a relevant distance sensor corresponding to the relevant portable temperature measuring device in the Internet of things platform;
and if the associated target temperature value is greater than the abnormal temperature index, sending alarm information corresponding to the position information.
3. The method of claim 2, wherein after counting associated target temperature values corresponding to associated portable thermometers whose location information belongs to a predetermined detection range within a predetermined time period, the method further comprises:
detecting whether a client opens a data sharing right between the client and the Internet of things platform;
if the client starts the data sharing authority, generating a temperature state distribution diagram based on the associated target temperature value, and outputting the associated target temperature value and the temperature state distribution diagram to the client;
and if the client does not start the data sharing authority, outputting the target temperature value and a temperature state distribution diagram request instruction to generate the temperature state distribution diagram.
4. The method of claim 3, wherein generating a temperature status profile based on the associated target temperature values comprises:
loading the detection times and the position information of the associated portable temperature measuring device from the platform of the Internet of things;
counting a temperature average value based on the determined associated target temperature value and the detection times;
and marking the temperature average value on the detection map information drawn based on the position information to obtain a temperature state distribution diagram, wherein the temperature average value is updated based on preset detection times and/or preset detection time.
5. The method of claim 4, wherein before the marking the temperature average on detection map information plotted based on the position information to obtain a temperature status profile, the method further comprises:
and if the associated target temperature value is greater than the abnormal temperature index, determining the temperature is in an abnormal temperature state, performing abnormal rendering on the position information of the associated portable temperature measuring device corresponding to the abnormal temperature state, and marking the position information in the temperature state distribution diagram.
6. The method according to any one of claims 1-5, further comprising:
constructing a temperature compensation processing network based on a convolutional neural network, wherein the size of a convolutional kernel in the temperature compensation processing network is configured based on a convolutional kernel parameter matched with the correction parameter;
acquiring a temperature compensation training sample data set and correction parameters matched with different detection compensation service requirements, and replacing the model weights based on the correction parameters, wherein the correction parameters are proportional numerical values which are matched with the number of the model weights and are in a range of 0-1;
and performing model training on the temperature compensation processing network based on the temperature compensation training sample data set to obtain a trained temperature compensation processing model.
7. The utility model provides a temperature-detecting device based on portable temperature measuring device which characterized in that includes:
the sending module is used for sending a connection instruction to the Internet of things platform through a preset integrated networking protocol so that terminal equipment connected with the Internet of things platform can record data collected by at least two portable temperature measuring devices;
the acquisition module is used for acquiring temperature data, distance data and correction parameters which are respectively acquired by a temperature sensor and a distance sensor in the portable temperature measuring device after connection with the Internet of things platform is established, wherein the correction parameters are used for representing influence factors acting on a mapping relation between the temperature data and the distance data;
the first determining module is used for fusing the temperature data and the distance data based on the mapping relation between the temperature and the distance to determine a compensation value of the temperature data;
and the second determination module is used for detecting and processing the compensation value, the temperature data and the distance data based on the trained temperature compensation processing model and determining a detected target temperature value, wherein the temperature compensation processing model is obtained by replacing the model weight based on the correction parameter.
8. A storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the portable thermometry device based temperature detection method of any one of claims 1-6.
9. A terminal, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the portable temperature measuring device-based temperature detection method according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111135544.5A CN113869403A (en) | 2021-09-27 | 2021-09-27 | Temperature detection method and device based on portable temperature measuring device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111135544.5A CN113869403A (en) | 2021-09-27 | 2021-09-27 | Temperature detection method and device based on portable temperature measuring device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113869403A true CN113869403A (en) | 2021-12-31 |
Family
ID=78991173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111135544.5A Pending CN113869403A (en) | 2021-09-27 | 2021-09-27 | Temperature detection method and device based on portable temperature measuring device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113869403A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118071176A (en) * | 2024-04-15 | 2024-05-24 | 国网浙江省电力有限公司金华供电公司 | Data processing method and system applicable to platform area source network load storage integrated management platform |
-
2021
- 2021-09-27 CN CN202111135544.5A patent/CN113869403A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118071176A (en) * | 2024-04-15 | 2024-05-24 | 国网浙江省电力有限公司金华供电公司 | Data processing method and system applicable to platform area source network load storage integrated management platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114266944B (en) | Rapid model training result checking system | |
JP7511721B2 (en) | Dynamic measurement method for single tree carbon sinks | |
CN106302776A (en) | A kind of cloud platform processing continuous data and method | |
CN114047472B (en) | Metering error monitoring system of intelligent ammeter and monitoring method and device thereof | |
KR101953558B1 (en) | Apparatus and Method for Fault Management of Smart Devices | |
CN117664281B (en) | Ultrasonic water meter fault detection and automatic calibration method and system based on Internet of Things | |
CN110440893A (en) | Weight-calibration method, apparatus and weighing-appliance | |
US10877636B2 (en) | Non-linear qualitative visualization | |
CN111998918A (en) | Error correction method, error correction device and flow sensing system | |
CN111854964A (en) | Method and device for measuring body temperature, temperature measuring tool and storage medium | |
CN113869403A (en) | Temperature detection method and device based on portable temperature measuring device | |
CN108872780A (en) | Charge livewire work detection, system and the terminal device reconnoitred | |
CN105675171A (en) | Thermostat field calibration device and method based on cloud server | |
CN116380980B (en) | Method and device for determining gas concentration, electronic equipment and medium | |
CN111766557A (en) | Method for analyzing influence on detection precision of electric energy meter based on K-Means algorithm | |
CN115682905A (en) | Method and device for determining thickness of thin film and computer equipment | |
CN116358713A (en) | Infrared thermal imaging temperature measurement method and device, storage medium and electronic equipment | |
CN114459523B (en) | Calibration early warning method of online quality detection instrument | |
EP3457242B1 (en) | Method for automatically notifying an intended person as well as a test and measurement device | |
CN115035481A (en) | Image object distance fusion method, device, equipment and storage medium | |
JP6237687B2 (en) | Sensor information processing apparatus, sensor information processing method, and sensor information processing program | |
CN114459615A (en) | Compensation method and device applied to infrared thermal imaging temperature measurement equipment | |
CN108693164B (en) | Temperature demodulation method, device and system based on optical fiber Raman scattering signal | |
Prathima et al. | Electronic Gauge for Micron Measurement and its Relevance to Industry 4.0 | |
CN113405665B (en) | Temperature measurement method and device and temperature measurement equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |