CN118424504A - Temperature detection method, device, equipment and storage medium - Google Patents

Temperature detection method, device, equipment and storage medium Download PDF

Info

Publication number
CN118424504A
CN118424504A CN202410527857.2A CN202410527857A CN118424504A CN 118424504 A CN118424504 A CN 118424504A CN 202410527857 A CN202410527857 A CN 202410527857A CN 118424504 A CN118424504 A CN 118424504A
Authority
CN
China
Prior art keywords
temperature
ambient temperature
vehicle
determining
acquiring
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
Application number
CN202410527857.2A
Other languages
Chinese (zh)
Inventor
宋国梁
张叶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weichai Power Co Ltd
Original Assignee
Weichai Power Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Weichai Power Co Ltd filed Critical Weichai Power Co Ltd
Priority to CN202410527857.2A priority Critical patent/CN118424504A/en
Publication of CN118424504A publication Critical patent/CN118424504A/en
Pending legal-status Critical Current

Links

Landscapes

  • Navigation (AREA)

Abstract

The invention discloses a temperature detection method, a temperature detection device, temperature detection equipment and a storage medium. The temperature detection method comprises the following steps: acquiring a first ambient temperature of the vehicle detected by a temperature sensor; acquiring the running state of the temperature sensor; acquiring meteorological data; acquiring current position information of the vehicle; determining a second ambient temperature of the vehicle based on the current location information and the weather data; an ambient temperature of the vehicle is determined based on the first ambient temperature, the second ambient temperature, and the operating state. By adopting the scheme, the problem that temperature data is not accurate enough is solved.

Description

Temperature detection method, device, equipment and storage medium
Technical Field
The present invention relates to the technical field of vehicles, and in particular, to a temperature detection method, a device, equipment, and a storage medium.
Background
Current vehicles typically provide a temperature sensor to detect ambient temperature.
The existing temperature sensor is affected by the arrangement of the whole vehicle, is sometimes affected by a nearby heat source, and has measurement value drift, and meanwhile, when the temperature sensor fails, the temperature sensor is replaced by values detected by other sensors, such as air inlet temperature, water temperature and the like, and the temperatures cannot truly reflect the current ambient temperature, so that the engine and the whole vehicle control are affected.
Disclosure of Invention
The invention provides a temperature detection method, a temperature detection device, temperature detection equipment and a storage medium, which are used for solving the problem that temperature data are not accurate enough.
According to an aspect of the present invention, there is provided a temperature detection method including:
Acquiring a first ambient temperature of the vehicle detected by a temperature sensor;
acquiring the running state of the temperature sensor;
Acquiring meteorological data;
acquiring current position information of the vehicle;
Determining a second ambient temperature of the vehicle based on the current location information and the weather data;
An ambient temperature of the vehicle is determined based on the first ambient temperature, the second ambient temperature, and the operating state.
In an alternative embodiment of the invention, said determining an ambient temperature of said vehicle based on said first ambient temperature, said second ambient temperature and said operating state comprises:
determining whether the operating state is a normal state;
and if the running state is not the normal state, determining the environmental temperature of the vehicle based on the second environmental temperature.
In an optional embodiment of the invention, after determining whether the operation state is a normal state, the method further includes:
and if the running state is a normal state, determining the environmental temperature of the vehicle based on the relation between the difference value of the first environmental temperature and the second environmental temperature and a preset temperature deviation threshold value.
In an alternative embodiment of the present invention, the determining the ambient temperature of the vehicle based on the relationship between the difference between the first ambient temperature and the second ambient temperature and a preset temperature deviation threshold value includes:
Determining whether a difference between the first ambient temperature and the second ambient temperature is greater than a preset temperature deviation threshold;
If yes, determining the environmental temperature of the vehicle based on the second environmental temperature;
if not, determining the ambient temperature of the vehicle based on the first ambient temperature.
In an alternative embodiment of the invention, said determining a second ambient temperature of said vehicle based on said current location information and said meteorological data comprises:
Smoothing the current position information and the meteorological data;
and determining a second ambient temperature of the vehicle based on the smoothed current position information and the meteorological data.
In an alternative embodiment of the present invention, before the determining the ambient temperature of the vehicle based on the first ambient temperature, the second ambient temperature and the operating state, the method further includes:
Acquiring altitude information of the vehicle;
Correcting the second ambient temperature based on the altitude information;
Accordingly, the determining the ambient temperature of the vehicle based on the first ambient temperature, the second ambient temperature, and the operating state includes:
An ambient temperature of the vehicle is determined based on the first ambient temperature, the operating state, and the corrected second ambient temperature.
In an alternative embodiment of the present invention, the current location information includes latitude and longitude information of the current location.
According to another aspect of the present invention, there is provided a temperature detection apparatus including:
The first temperature acquisition module is used for acquiring a first environment temperature of the vehicle detected by the temperature sensor;
the state acquisition module is used for acquiring the running state of the temperature sensor;
the weather data acquisition module is used for acquiring weather data;
the position acquisition module is used for acquiring the current position information of the vehicle;
A second temperature acquisition module for determining a second ambient temperature of the vehicle based on the current location information and the weather data;
an ambient temperature determination module determines an ambient temperature of the vehicle based on the first ambient temperature, the second ambient temperature, and the operating state.
According to another aspect of the present invention, there is provided an electronic apparatus, characterized by comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the temperature detection method according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute the temperature detection method according to any one of the embodiments of the present invention.
According to the technical scheme, the first environment temperature of the vehicle is detected by the temperature sensor, the running state of the temperature sensor is obtained, the meteorological data is obtained, the current position information of the vehicle is obtained, the second environment temperature of the vehicle is determined based on the current position information and the meteorological data, and the second environment temperature of the vehicle is determined based on the current position information and the meteorological data. Compared with the prior art that the temperature sensor is used for detecting the ambient temperature, the temperature data is not accurate enough when the temperature sensor fails. According to the scheme, the first environment temperature directly detected by the temperature sensor and the second environment temperature obtained according to the meteorological data can be fused to comprehensively determine the environment temperature of the vehicle, the effectiveness of the environment temperature data is improved, and the problem that the temperature data is not accurate enough is solved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a temperature detection method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a temperature detection method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a temperature detection method according to a third embodiment of the present invention;
fig. 4 is a schematic diagram of meshing a map according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a temperature detecting device according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device implementing a temperature detection method according to an embodiment of the present invention;
fig. 7 is a scene diagram of a temperature detection method implementing an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a temperature detection method according to a first embodiment of the present invention, where the method may be performed by a temperature detection device, and the temperature detection device may be implemented in hardware and/or software, and the temperature detection device may be configured in an engine controller of a vehicle. As shown in fig. 1, the temperature detection method includes:
S110, acquiring a first ambient temperature of the vehicle detected by a temperature sensor.
The temperature sensor is a sensor for detecting the ambient temperature on the vehicle, and the temperature value detected by the temperature sensor is the first ambient temperature.
S120, acquiring the running state of the temperature sensor.
When the temperature sensor is applied, the temperature sensor may be in a normal state or not, namely in an abnormal state, and the data detected by the temperature sensor is not credible at this time, so that the operation state of the temperature sensor is used for indicating whether the temperature sensor is in normal operation or not.
S130, acquiring meteorological data.
Wherein the meteorological data includes the temperature of the national atmosphere monitoring point. The temperature is a local climate characteristic, the change is slow, meanwhile, the regional difference is small, and the national temperature data map can be obtained by collecting data of all-national atmosphere monitoring points in a cloud server.
S140, acquiring current position information of the vehicle.
The current position information refers to information capable of reflecting the specific position of the vehicle at present. Preferably, the current position information includes longitude and latitude information of the current position. In one particular embodiment, GPS positioning may be utilized to obtain latitude and longitude information for the engine.
S150, determining a second environment temperature of the vehicle based on the current position information and the meteorological data.
Wherein, since the weather data includes temperature, the environmental temperature of the vehicle at the current position, namely, the second environmental temperature, can be obtained according to the current position information and the weather data. Specifically, the temperature information of the cloud server can be obtained by using the remote terminal of the vehicle, so that no new investment is added based on the existing facilities, and the cost is low.
S160, determining the environmental temperature of the vehicle based on the first environmental temperature, the second environmental temperature and the running state.
And integrating the first environmental temperature directly detected by the temperature sensor and the second environmental temperature obtained according to meteorological data through the running state of the temperature sensor to comprehensively determine the environmental temperature of the vehicle. The method and the device realize the determination of the ambient temperature based on a large amount of data, and can effectively improve the effectiveness of the data.
According to the scheme, the first environment temperature of the vehicle is detected by the temperature sensor, the running state of the temperature sensor is obtained, the weather data is obtained, the current position information of the vehicle is obtained, the second environment temperature of the vehicle is determined based on the current position information and the weather data, and finally the second environment temperature of the vehicle is determined based on the current position information and the weather data. Compared with the prior art that the temperature sensor is used for detecting the ambient temperature, the temperature data is not accurate enough when the temperature sensor fails. According to the scheme, the first environment temperature directly detected by the temperature sensor and the second environment temperature obtained according to the meteorological data can be fused to comprehensively determine the environment temperature of the vehicle, the effectiveness of the environment temperature data is improved, and the problem that the temperature data is not accurate enough is solved.
Example two
Fig. 2 is a flowchart of a temperature detection method according to a second embodiment of the present invention, where the relationship between the second embodiment and the above embodiment is a modification of the first embodiment, and optionally, the determining the environmental temperature of the vehicle based on the first environmental temperature, the second environmental temperature and the running state includes: determining whether the operating state is a normal state; and if the running state is not the normal state, determining the environmental temperature of the vehicle based on the second environmental temperature. Optionally, after determining whether the operation state is a normal state, the method further includes: and if the running state is a normal state, determining the environmental temperature of the vehicle based on the relation between the difference value of the first environmental temperature and the second environmental temperature and a preset temperature deviation threshold value. Based on this, as shown in fig. 2, the temperature detection method includes:
s210, acquiring a first ambient temperature of the vehicle detected by a temperature sensor.
S220, acquiring the running state of the temperature sensor.
S230, acquiring meteorological data.
S240, acquiring current position information of the vehicle.
S250, determining a second environment temperature of the vehicle based on the current position information and the meteorological data.
S260, determining whether the running state is a normal state.
The method for determining the operation state of the temperature sensor is various, in the related art, the fault state of the temperature sensor can be determined through circuit fault detection modes such as open circuit detection and short circuit detection, when the temperature sensor has faults, the temperature sensor is determined to be not in a normal state, and when the temperature sensor does not have faults, the temperature sensor is determined to be in a normal state. In other embodiments, other methods of the related art may be used to determine the operating state of the temperature sensor, which is not particularly limited herein.
If the operation state is not the normal state, step S270 is executed. If the operation state is a normal state, step S280 is performed.
S270, determining the environmental temperature of the vehicle based on the second environmental temperature.
When the running state of the temperature sensor is not in a normal state, which indicates that the temperature sensor fails due to failure, the first environment temperature is unreliable, and the second environment temperature is used for determining the environment temperature of the vehicle due to degradation.
S280, determining the ambient temperature of the vehicle based on the relation between the difference value of the first ambient temperature and the second ambient temperature and a preset temperature deviation threshold value.
When the operation state of the temperature sensor is a normal state, the temperature sensor is not failed, but the temperature sensor may still be affected by a nearby heat source, and the measured value drift problem occurs. The preset temperature deviation threshold value refers to a threshold value which is not exceeded by the difference value between the first environment temperature and the second environment temperature when the measured value of the temperature sensor does not drift. By determining the ambient temperature of the vehicle not only from the first ambient temperature but also based on a relationship between a difference between the first ambient temperature and the second ambient temperature and a preset temperature deviation threshold, the accuracy of the ambient temperature is improved.
According to the scheme, the second environment temperature is used for determining the environment temperature of the vehicle in a degradation mode when the running state of the temperature sensor is not the normal state, and the environment temperature of the vehicle is determined based on the relation between the difference value of the first environment temperature and the second environment temperature and the preset temperature deviation threshold value when the running state of the temperature sensor is the normal state, so that the environment temperature can be accurately determined according to the state of the temperature sensor, the accuracy of the environment temperature is improved, and the problem that the engine control performance is abnormal due to the fact that the temperature of other sensors is inaccurate is effectively solved.
In an alternative embodiment of the present invention, the determining the ambient temperature of the vehicle based on the relationship between the difference between the first ambient temperature and the second ambient temperature and a preset temperature deviation threshold value includes:
Determining whether a difference between the first ambient temperature and the second ambient temperature is greater than a preset temperature deviation threshold.
If so, determining the ambient temperature of the vehicle based on the second ambient temperature.
If not, determining the ambient temperature of the vehicle based on the first ambient temperature.
When the measured value of the temperature sensor does not drift, the difference value between the first ambient temperature and the second ambient temperature does not exceed the threshold value, so that when the difference value between the first ambient temperature and the second ambient temperature is larger than the preset temperature deviation threshold value, the measured value of the temperature sensor drifts, and the difference between the first ambient temperature and the actual ambient temperature is too large, so that the ambient temperature of the vehicle is determined based on the second ambient temperature, and the accuracy of the ambient temperature is improved. When the difference between the first ambient temperature and the second ambient temperature is not greater than the preset temperature deviation threshold, the difference between the first ambient temperature and the actual ambient temperature is not great, and the numerical value of the temperature sensor is relatively real, so that the ambient temperature of the vehicle can be directly determined based on the first ambient temperature.
Example III
Fig. 3 is a flowchart of a temperature detection method according to a third embodiment of the present invention, where the relationship between the third embodiment and the above embodiment is a modification of the first embodiment, and optionally, the determining, based on the current location information and the weather data, a second ambient temperature of the vehicle includes: smoothing the current position information and the meteorological data; and determining a second ambient temperature of the vehicle based on the smoothed current position information and the meteorological data. Optionally, before determining the environmental temperature of the vehicle based on the first environmental temperature, the second environmental temperature, and the operating state, the method further includes: acquiring altitude information of the vehicle; correcting the second ambient temperature based on the altitude information; accordingly, the determining the ambient temperature of the vehicle based on the first ambient temperature, the second ambient temperature, and the operating state includes: an ambient temperature of the vehicle is determined based on the first ambient temperature, the operating state, and the corrected second ambient temperature. Based on this, as shown in fig. 3, the temperature detection method includes:
S310, acquiring a first ambient temperature of the vehicle detected by a temperature sensor.
S320, acquiring the running state of the temperature sensor.
S330, acquiring meteorological data.
S340, acquiring current position information of the vehicle.
S350, determining a second environment temperature of the vehicle based on the current position information and the meteorological data.
S360, smoothing the current position information and the meteorological data.
The current position information and the meteorological data are subjected to smoothing processing, so that acquisition noise can be effectively eliminated. Preferably, the smoothing treatment can be performed by Gaussian smoothing.
And S370, determining a second environment temperature of the vehicle based on the smoothed current position information and the meteorological data.
The current position information and the meteorological data after the smoothing effectively eliminate the acquisition noise, so that the obtained second environment temperature is accurate.
S380, acquiring altitude information of the vehicle.
The altitude refers to the vertical distance of a certain place on the ground above the sea level, and the altitude information is the altitude where the vehicle is located. In one particular embodiment, GPS positioning may be utilized to obtain altitude information for the vehicle.
S390, correcting the second ambient temperature based on the altitude information.
The influence of the altitude on the temperature is mainly reflected in that the air temperature is generally reduced along with the elevation, so that the accuracy of the second environment temperature can be higher by correcting the second environment temperature through the altitude information.
S3100, determining an ambient temperature of the vehicle based on the first ambient temperature, the operating state, and the corrected second ambient temperature.
Wherein, since the second ambient temperature is obtained by smoothing the current position information and the meteorological data while the second ambient temperature is subjected to altitude correction, the second ambient temperature accuracy is higher, and the ambient temperature accuracy of the vehicle is higher as determined based on the first ambient temperature, the running state, and the corrected second ambient temperature.
Optionally, smoothing the current location information and the weather data and correcting the second ambient temperature by altitude information may be performed separately in a specific order or simultaneously, which is not limited herein, and a specific method for performing smoothing and altitude correction is described in the following by a specific embodiment:
Firstly, dividing grids, dividing a map into equidistant grids, considering the temperature in each grid to be the same, and since the meteorological data are temperature data comprising atmosphere monitoring points, the temperature of part of the grids is known, namely, the known temperature points exist in the grids. As shown in fig. 4, points a and B are known temperature points, a, B, c, d are unknown temperature data, and the second ambient temperature at point a is:
Wherein: t A is the temperature of point A, D Aa is the horizontal distance between the points a and A, D AB is the horizontal distance between the points B and A, H Aa is the vertical drop of the points a and A, and the vertical drop can be obtained through altitude information, and T a can be obtained through the formula, namely the second environment temperature of point a is obtained.
Based on the same algorithm, the temperature values of the points A, a, B, c, d and B are obtained, and the smoothed values of the points can be obtained by adopting a Gaussian one-dimensional algorithm.
Example IV
Fig. 5 is a schematic structural diagram of a temperature detecting device according to a fourth embodiment of the present invention. As shown in fig. 5, the temperature detection device includes:
a first temperature acquisition module 61 for acquiring a first ambient temperature of the vehicle detected by the temperature sensor.
A state acquisition module 62 for acquiring an operating state of the temperature sensor.
The weather data acquisition module 63 is configured to acquire weather data.
A position acquisition module 64 is configured to acquire current position information of the vehicle.
A second temperature acquisition module 65 for determining a second ambient temperature of the vehicle based on the current location information and the weather data.
An ambient temperature determination module 66 for determining an ambient temperature of the vehicle based on the first ambient temperature, the second ambient temperature, and the operating state.
Optionally, the ambient temperature determination module 66 includes:
And the state determination submodule is used for determining whether the running state is a normal state or not.
And the first temperature determination submodule is used for determining the environment temperature of the vehicle based on the second environment temperature if the running state is not the normal state.
And the second temperature determining submodule is used for determining the environment temperature of the vehicle based on the relation between the difference value of the first environment temperature and the second environment temperature and a preset temperature deviation threshold value if the running state is a normal state.
In an alternative embodiment of the invention, the second temperature determination submodule comprises:
and the deviation determining unit is used for determining whether the difference value between the first environment temperature and the second environment temperature is larger than a preset temperature deviation threshold value.
And the first temperature determining unit is used for determining the environment temperature of the vehicle based on the second environment temperature if yes.
And the second temperature determining unit is used for determining the environment temperature of the vehicle based on the first environment temperature if not.
In an alternative embodiment of the present invention, the second temperature acquisition module 65 includes:
And the smoothing sub-module is used for carrying out smoothing processing on the current position information and the meteorological data.
And the second environment temperature determining sub-module is used for determining the second environment temperature of the vehicle based on the smoothed current position information and the meteorological data.
In an alternative embodiment of the present invention, the temperature detecting device further includes:
and the elevation acquisition module is used for acquiring elevation information of the vehicle.
And a correction module for correcting the second ambient temperature based on the altitude information.
Accordingly, the ambient temperature determination module 66 is further configured to determine an ambient temperature of the vehicle based on the first ambient temperature, the operating state, and the modified second ambient temperature.
In an alternative embodiment of the present invention, the current location information includes latitude and longitude information of the current location.
The temperature detection device provided by the embodiment of the invention can execute the temperature detection method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example five
Fig. 6 shows a schematic diagram of an electronic device that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM13, various programs and data required for the operation of the electronic device can also be stored. The processor 11, the ROM12 and the RAM13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a temperature detection method.
In some embodiments, the temperature detection method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device via the ROM12 and/or the communication unit 19. When the computer program is loaded into RAM13 and executed by processor 11, one or more steps of the temperature detection method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the temperature detection method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
In the following, a scenario diagram for implementing a temperature detection method is described in a specific embodiment, as shown in fig. 7, where the application scenario includes a cloud server 10, a remote terminal 20, a controller 40, a GPS locator 30, and a temperature sensor 50, as shown in fig. 6 and 7, where the temperature sensor 50 is configured to detect an ambient temperature to obtain a first ambient temperature, and the processor 11 and the memory are integrated on the controller 40, and the cloud server 10 is configured to obtain weather data of a weather monitoring point, process a request for obtaining temperature information of a current location by the remote terminal 20, and return to a current temperature of the requested location, that is, a second ambient temperature, according to the location information. The remote terminal 20 is configured to obtain a GPS signal of the GPS locator 30, obtain latitude and longitude information and altitude information of a current location according to the GPS signal, send the latitude and longitude information and the altitude information to the cloud server 10, obtain a second environmental temperature of the current location, and send the second environmental temperature to the controller 40, where the controller 40 is configured to receive the first environmental temperature and the second environmental temperature, and the controller 40 obtains the environmental temperature of the vehicle by executing the temperature detection method according to any embodiment of the present invention.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A temperature detection method, comprising:
Acquiring a first ambient temperature of the vehicle detected by a temperature sensor;
acquiring the running state of the temperature sensor;
Acquiring meteorological data;
acquiring current position information of the vehicle;
Determining a second ambient temperature of the vehicle based on the current location information and the weather data;
An ambient temperature of the vehicle is determined based on the first ambient temperature, the second ambient temperature, and the operating state.
2. The temperature detection method according to claim 1, characterized in that the determining the environmental temperature of the vehicle based on the first environmental temperature, the second environmental temperature, and the operating state includes:
determining whether the operating state is a normal state;
and if the running state is not the normal state, determining the environmental temperature of the vehicle based on the second environmental temperature.
3. The temperature detection method according to claim 2, wherein after the determination of whether the operation state is a normal state, further comprising:
and if the running state is a normal state, determining the environmental temperature of the vehicle based on the relation between the difference value of the first environmental temperature and the second environmental temperature and a preset temperature deviation threshold value.
4. The temperature detection method according to claim 3, wherein the determining the ambient temperature of the vehicle based on the relationship between the difference between the first ambient temperature and the second ambient temperature and a preset temperature deviation threshold value includes:
Determining whether a difference between the first ambient temperature and the second ambient temperature is greater than a preset temperature deviation threshold;
If yes, determining the environmental temperature of the vehicle based on the second environmental temperature;
if not, determining the ambient temperature of the vehicle based on the first ambient temperature.
5. The temperature detection method according to any one of claims 1 to 4, characterized in that the determining a second ambient temperature of the vehicle based on the current position information and the meteorological data includes:
Smoothing the current position information and the meteorological data;
and determining a second ambient temperature of the vehicle based on the smoothed current position information and the meteorological data.
6. The temperature detection method according to any one of claims 1 to 4, characterized by further comprising, before the determining the environmental temperature of the vehicle based on the first environmental temperature, the second environmental temperature, and the running state:
Acquiring altitude information of the vehicle;
Correcting the second ambient temperature based on the altitude information;
Accordingly, the determining the ambient temperature of the vehicle based on the first ambient temperature, the second ambient temperature, and the operating state includes:
An ambient temperature of the vehicle is determined based on the first ambient temperature, the operating state, and the corrected second ambient temperature.
7. The temperature detection method according to any one of claims 1 to 4, wherein the current position information includes latitude and longitude information of a current position.
8. A temperature detection device, comprising:
The first temperature acquisition module is used for acquiring a first environment temperature of the vehicle detected by the temperature sensor;
the state acquisition module is used for acquiring the running state of the temperature sensor;
the weather data acquisition module is used for acquiring weather data;
the position acquisition module is used for acquiring the current position information of the vehicle;
A second temperature acquisition module for determining a second ambient temperature of the vehicle based on the current location information and the weather data;
an ambient temperature determination module determines an ambient temperature of the vehicle based on the first ambient temperature, the second ambient temperature, and the operating state.
9. An electronic device, the electronic device comprising:
at least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the temperature detection method of any one of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores computer instructions for causing a processor to implement the temperature detection method of any one of claims 1-7 when executed.
CN202410527857.2A 2024-04-29 2024-04-29 Temperature detection method, device, equipment and storage medium Pending CN118424504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410527857.2A CN118424504A (en) 2024-04-29 2024-04-29 Temperature detection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410527857.2A CN118424504A (en) 2024-04-29 2024-04-29 Temperature detection method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN118424504A true CN118424504A (en) 2024-08-02

Family

ID=92325852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410527857.2A Pending CN118424504A (en) 2024-04-29 2024-04-29 Temperature detection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN118424504A (en)

Similar Documents

Publication Publication Date Title
CN110608982A (en) Detection method, detection device, mobile equipment, electronic equipment and storage medium
CN116380291A (en) Vehicle temperature sensor diagnosis method, device, equipment and storage medium
CN115656989A (en) External parameter calibration method and device, electronic equipment and storage medium
CN113219505A (en) Method, device and equipment for acquiring GPS coordinates for vehicle-road cooperative tunnel scene
CN116380980B (en) Method and device for determining gas concentration, electronic equipment and medium
CN113177980A (en) Target object speed determination method and device for automatic driving and electronic equipment
CN118424504A (en) Temperature detection method, device, equipment and storage medium
CN114895313B (en) Method and device for detecting pipeline in river channel, electronic equipment and storage medium
CN116774673A (en) Data calibration method and device, electronic equipment and storage medium
CN116430479A (en) Forecast data inspection result display method and device, electronic equipment and storage medium
CN114596362B (en) High-point camera coordinate calculation method and device, electronic equipment and medium
CN116359909A (en) Driving track determining method
CN115683046A (en) Distance measuring method, distance measuring device, sensor and computer readable storage medium
CN115327497B (en) Radar detection range determining method, radar detection range determining device, electronic equipment and readable medium
CN114838699B (en) Deformation monitoring method, device and equipment of power transmission tower and storage medium
CN118188194A (en) Engine parameter correction method, device, equipment and storage medium
CN117538650A (en) Method, device, equipment and storage medium for detecting line relaxation condition
CN117289238A (en) Laser radar map construction optimization method, device, equipment and medium
CN115877401B (en) Posture detection method, device and equipment for hydraulic support and storage medium
CN114563045B (en) Detection method and device for hospital logistics system, electronic equipment and medium
CN117471211A (en) Method, device, equipment and storage medium for determining reference neutral point
CN117394184A (en) Automatic defect investigation method, device and equipment for substation equipment and storage medium
CN118189869A (en) Optical cable sag detection method, device, equipment and medium
CN117211938A (en) Vehicle emission monitoring method and device, vehicle and storage medium
CN116091564A (en) Confidence determining method, device, equipment and storage medium based on local map

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