Method for determining temperature outside vehicle, electronic device and program product
By detecting the idle state and sunlight irradiation on the vehicle, obtaining up and down power information and in-vehicle temperature impact information, determining the outside temperature value, solving the problem of inaccurate temperature sensors in specific scenarios, and improving the accuracy of temperature detection sex.
Patent Information
- Application Number
- CN202411676438.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-21
- Publication Date
- 2025-02-07
AI Technical Summary
The temperature sensors on existing vehicles detected inaccurate temperature values when idling and illuminated by sunlight.
By detecting that the target vehicle is in an idle state and is exposed to sunlight, power up and down information and target information for indicating the impact of sunlight irradiation on the interior temperature, the outside temperature value at the current moment is determined based on this information.
The accuracy of the temperature outside the vehicle is improved, and the problem of inaccurate temperature detection when the vehicle is idle and exposed to sunlight is solved.
Smart Images

Figure CN119394469A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of intelligent driving technology, and in particular to a method for determining an outside temperature of a vehicle, an electronic device, and a program product. Background Art
[0002] Existing vehicles are equipped with an external temperature sensor for detecting the temperature outside the vehicle. The temperature value detected by the external temperature sensor is easily affected by environmental conditions, and there is a problem of inaccurate temperature value. Summary of the invention
[0003] In view of this, the embodiments of the present disclosure provide a method for determining an outside vehicle temperature, an electronic device, and a program product to solve the problem of inaccurate temperature values detected by an outside vehicle temperature sensor in the prior art.
[0004] In a first aspect, the present disclosure provides a method for determining an outside temperature of a vehicle, comprising:
[0005] When it is detected that the target vehicle is in an idling state and is exposed to sunlight, power-on and power-off information of the target vehicle and target information indicating the effect of sunlight exposure on the temperature inside the vehicle are obtained; wherein the power-on and power-off information includes power-on information and power-off information;
[0006] The current vehicle external temperature value is determined according to the power on and off information and the target information.
[0007] In a second aspect, the present disclosure provides an electronic device, including:
[0008] at least one processor; and
[0009] a memory communicatively connected to the at least one processor; wherein,
[0010] The memory stores at least one computer program executable by the at least one processor, and the at least one computer program is executed by the at least one processor so that the at least one processor can execute the method for determining the outside vehicle temperature as described in the first aspect.
[0011] In a third aspect, the present disclosure provides a computer program product, which includes a computer program. When the computer program is executed in a processor, the method for determining the vehicle outside temperature described in the first aspect is implemented.
[0012] Optionally, the computer program may be stored in a readable storage medium of a computer device or in the cloud; and the processor of the computer device reads the computer program from the readable storage medium or in the cloud.
[0013] In the embodiment provided by the present disclosure, when it is detected that the target vehicle is in an idling state and is exposed to sunlight, considering that sunlight has a significant impact on the temperature value detected by the outside temperature sensor, the temperature value detected by the outside temperature sensor is not used directly. Instead, power on and off information of the target vehicle and target information indicating the impact of sunlight on the temperature inside the vehicle are obtained. Based on the power on and off information and the target information, the outside temperature value at the current moment is determined, thereby improving the accuracy of the outside temperature value and solving the problem of inaccurate outside temperature detection in scenarios where the vehicle is idling and exposed to sunlight. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0015] Figure 1 The figure is a schematic diagram of the process of determining the vehicle outside temperature in an embodiment of the present disclosure;
[0016] Figure 2 The figure is a schematic diagram of a specific process of providing a user with a vehicle outside temperature value in an embodiment of the present disclosure;
[0017] Figure 3 The figure is a block diagram of a device for determining the vehicle external temperature in an embodiment of the present disclosure;
[0018] Figure 4 FIG. 1 is a schematic diagram of the structure of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0020] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.
[0021] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0022] The terms used herein are only used to describe specific embodiments and are not intended to limit the present disclosure. As used herein, the singular forms "a" and "the" are also intended to include plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "including" and / or "made of" are used in this specification, the presence of the features, wholes, steps, operations, elements and / or components is specified, but the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof is not excluded. "Connected" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect.
[0023] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined as such herein.
[0024] The method for determining the vehicle's outside temperature provided by the embodiments of the present disclosure may be applied to a main controller of a vehicle, or may be applied to other terminals capable of communicating with the vehicle and / or sensors installed on the vehicle.
[0025] The method for determining the vehicle external temperature provided by the embodiment of the present disclosure is as follows: Figure 1 As shown, mainly including 101-103:
[0026] 101. When it is detected that a target vehicle is in an idling state and is exposed to sunlight, power on and off information of the target vehicle and target information indicating the effect of sunlight on the temperature inside the vehicle are obtained; wherein the power on and off information includes power on information and power off information.
[0027] The target vehicle is in an idle state, and the target vehicle's driving speed is zero. Idle refers to the state in which the internal combustion engine is running at the lowest stable speed under no-load condition. In this state, the accelerator pedal is not depressed, and the engine only maintains basic operation to drive the vehicle's accessory systems, such as the cooling system, power supply system, etc.
[0028] Whether the target vehicle is exposed to sunlight is detected by a solar radiation sensor installed on the target vehicle. When the solar radiation intensity value detected by the solar radiation sensor is zero, it is determined that the target vehicle is not exposed to sunlight; when the solar radiation intensity value detected by the solar radiation sensor is not zero, it is determined that the target vehicle is exposed to sunlight. It should be noted that this is only an example, and other methods can also be used to determine whether the target vehicle is exposed to sunlight, such as the user indicating that the target vehicle is currently exposed to sunlight through the operation interface, or indicating that the target vehicle is currently exposed to sunlight through a terminal device such as a mobile phone.
[0029] In some embodiments, when the target vehicle is detected to be in an idle state and exposed to sunlight, the power on and off information of the target vehicle and the target information for indicating the effect of sunlight on the temperature inside the vehicle are obtained, including: when the target vehicle is detected to be in an idle state and exposed to sunlight, the power on and off information of the target vehicle and the target information for indicating the effect of sunlight on the temperature inside the vehicle are obtained according to a first refresh frequency; wherein the first refresh frequency is lower than the second refresh frequency, and the second refresh frequency is the frequency of refreshing the outside temperature value when the target vehicle is traveling at a speed greater than or equal to a preset speed. Here, considering that the target vehicle is in an idle state and the driving speed is zero, the position of the target vehicle has not changed, and the temperature value at the same location will not change suddenly in a short period of time, the refresh frequency of the outside temperature value is reduced, and the accuracy of the outside temperature value is ensured, and the unnecessary waste of resources caused by frequent refreshing of the outside temperature value is avoided.
[0030] 102. Determine the current vehicle external temperature value according to the power on and off information and the target information.
[0031] In some embodiments, before determining the current vehicle external temperature value based on the power on and off information and the target information, the method further includes: determining that the target vehicle is powered on.
[0032] The method of determining the current vehicle external temperature value according to the power-on and power-off information and the target information can be divided into the following implementation modes according to the scenario:
[0033] Method A
[0034] The vehicle outside temperature value at the current moment is determined according to the power on and off information and the target information, including: determining a first time duration between the current moment and the power off moment of the last power-on cycle according to the power on and off information; when the first time duration is less than a first preset time duration, determining the vehicle outside temperature value at the last power-on cycle as the vehicle outside temperature value at the current moment; when the first time duration is not less than the first preset time duration, determining the vehicle outside temperature value at the current moment according to the target information.
[0035] In method A, the first time length between the current moment and the power-off moment of the last power-on cycle is compared with the first preset time length to obtain the time interval from the power-off moment of the last power-on cycle; if the first time length is less than the first preset time length, it means that the time interval is short. In this case, the outside temperature value of the last power-on cycle is directly used to solve the problem that the temperature value detected by the outside temperature sensor is too large due to sunlight exposure, thereby ensuring the accuracy of the outside temperature value provided to the user; if the first time length is not less than the second preset time length, it means that the time interval is long. In this case, the outside temperature value at the current moment is re-determined according to the target information.
[0036] Exemplarily, in method A, the target vehicle is in a powered-on state at the current moment, and the power-on and power-off information includes the power-off time of the last power-on cycle. The duration between the current moment and the power-off time of the last power-on cycle is determined as the first duration between the current moment and the last power-on cycle.
[0037] Method B
[0038] The method of determining the current external temperature value of the vehicle based on the power on and off information and the target information includes: determining a second time period during which the target vehicle has not been powered off after switching from a driving state to an idling state based on the power on and off information; when the second time period is less than a second preset time period, determining the external temperature value of the vehicle in the driving state during the current power-on cycle as the external temperature value of the vehicle at the current time; and when the second time period is greater than or equal to the second preset time period, determining the current external temperature value of the vehicle based on the target information.
[0039] In method B, a second duration of time during which the target vehicle continues to be powered on after switching from a driving state to an idle state is obtained, and the duration of the idle state is determined by comparing the second duration with a second preset duration; if the second duration is less than the second preset duration, it means that the duration of the idle state is short, and the outside temperature value of the target vehicle when it is in a driving state is directly used to solve the problem of a larger temperature value detected by the outside temperature sensor due to sunlight exposure, thereby ensuring the accuracy of the outside temperature value provided to the user; if the second duration is not less than the second preset duration, it means that the duration of the idle state is long, and the outside temperature value at the current moment is re-determined based on the target information to ensure the accuracy of the outside temperature value.
[0040] Exemplarily, in the mode B, the power on and off information includes a second duration during which the target vehicle is not powered off after switching from the driving state to the idling state.
[0041] It should be noted that the first preset duration in method A and the second preset duration in method B are configured according to needs, and there is no necessary connection between the first preset duration and the second preset duration.
[0042] In some embodiments, in the above method A and method B, determining the current external temperature value of the vehicle based on the target information includes: judging whether the effect of sunlight indicated by the target information on the temperature inside the vehicle exceeds a critical condition; if it exceeds the critical condition, determining that the current external temperature value of the vehicle is a first temperature value, wherein the first temperature value is determined based on the temperature value of a reference component of the target vehicle; if it does not exceed the critical condition, determining that the current external temperature value of the vehicle is a second temperature value, wherein the second temperature value is determined based on the temperature value detected by the external temperature sensor of the target vehicle.
[0043] Here, the effect of sunlight exposure on the temperature inside the vehicle indicated by the target information exceeds the critical condition, indicating that the vehicle has been exposed to sunlight for a long time, and the detection value of the external temperature sensor is greatly affected by sunlight exposure and is inaccurate. At this time, the temperature value of the reference component of the target vehicle is used to replace the detection value of the external temperature sensor to ensure the accuracy of the external temperature value provided to the user. The effect of sunlight exposure on the temperature inside the vehicle indicated by the target information does not exceed the critical condition, indicating that the vehicle has been exposed to sunlight for a short time, and the detection value of the external temperature sensor is not greatly affected by sunlight exposure. Here, the detection value of the external temperature sensor is used as the external temperature value provided to the user to ensure that the external temperature value provided to the user is consistent with the actual scene and the accuracy of the external temperature value provided to the user.
[0044] In some embodiments, the reference component is a component in the target vehicle whose temperature value is not easily affected by the duration of sunlight exposure. For example, the reference component includes a battery cell, and the temperature value of the battery cell can be directly obtained from the signal provided by the CAN bus. Of course, other components in the vehicle can also be used as reference components when their temperature values can be not easily affected by the duration of sunlight exposure.
[0045] In some embodiments, the target information includes an interior temperature value of the target vehicle and a temperature value of a reference component of the target vehicle.
[0046] The determining whether the effect of sunlight exposure on the temperature inside the vehicle indicated by the target information exceeds a critical condition includes: determining whether the effect of sunlight exposure on the temperature inside the vehicle exceeds a critical condition based on the temperature inside the vehicle of the target vehicle and the temperature value of the reference component. Here, considering that the temperature inside the vehicle is positively correlated with the duration of sunlight exposure, by comparing the temperature inside the vehicle with the temperature value of the reference component, the comparison result can reflect the duration of sunlight exposure. Usually, the vehicle is equipped with a sensor for detecting the temperature inside the vehicle, and there is no need to install a sensor for detecting the temperature inside the vehicle, which saves costs.
[0047] In some embodiments, determining whether the impact of sunlight irradiation on the in-vehicle temperature exceeds a critical condition based on the in-vehicle temperature value of the target vehicle and the temperature value of the reference component includes: summing the temperature value of the reference component and an adjustment value to obtain a sum value, and determining whether the in-vehicle temperature value of the target vehicle exceeds the sum value; if the in-vehicle temperature value of the target vehicle exceeds the sum value, it is determined that the impact of sunlight irradiation on the in-vehicle temperature exceeds the critical condition; if the in-vehicle temperature value of the target vehicle does not exceed the sum value, it is determined that the impact of sunlight irradiation on the in-vehicle temperature does not exceed the critical condition. Here, the impact of sunlight irradiation on the in-vehicle temperature is measured by the adjustment value. Sunlight irradiation will directly cause the in-vehicle temperature value to rise, and when the difference between the in-vehicle temperature value and the temperature value of the reference component reaches this adjustment value, it means that the duration of sunlight irradiation on the target vehicle is long enough to affect the detection value of the out-of-vehicle temperature sensor.
[0048] Among them, the specific value of the adjustment value is pre-configured as needed, and the value of this adjustment value can be obtained through statistics.
[0049] It should be noted that other methods can also be used to determine whether the impact of sunlight irradiation on the in-vehicle temperature exceeds the critical condition. For example, the target information includes: the continuous duration during which the solar radiation sensor detects that the solar radiation intensity is greater than zero since the vehicle is in an idle state; directly comparing this continuous duration with a third preset duration; when it exceeds the third preset duration, it is determined that the impact of sunlight irradiation on the in-vehicle temperature exceeds the critical condition; when it does not exceed the third preset duration, it is determined that the impact of sunlight irradiation on the in-vehicle temperature does not exceed the critical condition.
[0050] In an exemplary embodiment, as Figure 2 shown, the specific process of providing the out-of-vehicle temperature value to the user includes:
[0051] 201, the target vehicle is powered on;
[0052] 202, determine whether the target vehicle is in an idle state. If it is in an idle state (vehicle speed = 0), execute 203; if it is not in an idle state and the vehicle speed ≥ X, execute 207;
[0053] 203, determine whether the target vehicle is irradiated by sunlight. If so, execute 204 or 205; if not, execute 206;
[0054] 204, the interval between the current power-on of the target vehicle and the last power-off < n, the out-of-vehicle temperature value is displayed as the out-of-vehicle temperature value at the time of the last power-off; or, the time interval during which the target vehicle is in an idle state without power-off during driving < n, the out-of-vehicle temperature value is displayed as the out-of-vehicle temperature value during driving, and the refresh frequency of the out-of-vehicle temperature is B / min;
[0055] 205, the interval between the current power-on and the last power-off of the target vehicle is ≥ n, the vehicle interior temperature value is > the battery cell temperature value + 5, the vehicle exterior temperature value is displayed as the battery cell temperature value, and the refresh frequency of the vehicle exterior temperature is B / min;
[0056] 206, the vehicle outside temperature value is displayed as the temperature value actually detected by the vehicle outside temperature sensor, and the refresh frequency of the vehicle outside temperature is C / min;
[0057] 207, the outside temperature value is displayed as the temperature value actually detected by the outside temperature sensor, and the refresh frequency of the outside temperature is A / min;
[0058] Among them, A>B>C.
[0059] In the embodiment provided by the present disclosure, when it is detected that the target vehicle is in an idling state and is exposed to sunlight, considering that sunlight has a significant impact on the temperature value detected by the outside temperature sensor, the temperature value detected by the outside temperature sensor is not used directly. Instead, power on and off information of the target vehicle and target information indicating the impact of sunlight on the temperature inside the vehicle are obtained. Based on the power on and off information and the target information, the outside temperature value at the current moment is determined, thereby improving the accuracy of the outside temperature value and solving the problem of inaccurate outside temperature detection in scenarios where the vehicle is idling and exposed to sunlight.
[0060] It can be understood that the above-mentioned various method embodiments mentioned in the present disclosure can be combined with each other to form a combined embodiment without violating the principle logic. Due to space limitations, the present disclosure will not repeat them. It can be understood by those skilled in the art that in the above-mentioned method of the specific implementation, the specific execution order of each step should be determined by its function and possible internal logic, and the execution order between the steps is not limited to being implemented according to the step number.
[0061] In addition, the present disclosure also provides an outside vehicle temperature determination device, an electronic device, and a computer program product, all of which can be used to implement any outside vehicle temperature determination method provided by the present disclosure. The corresponding technical solutions and descriptions are referred to the corresponding records in the method part and will not be repeated here.
[0062] Figure 3 This is a block diagram of a vehicle outside temperature determination device provided by an embodiment of the present disclosure, and the vehicle outside temperature determination device mainly includes:
[0063] The acquisition module 301 is used to acquire power-on and power-off information of the target vehicle and target information indicating the effect of sunlight on the temperature inside the vehicle when the target vehicle is in an idle state and is exposed to sunlight; wherein the power-on and power-off information includes power-on information and power-off information;
[0064] The processing module 302 is used to determine the current vehicle external temperature value according to the power on and off information and the target information.
[0065] Each module in the above-mentioned vehicle outside temperature determination device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0066] Figure 4 A block diagram of an electronic device provided in an embodiment of the present disclosure.
[0067] Reference Figure 4 An embodiment of the present disclosure provides an electronic device, which includes: at least one processor 401; at least one memory 402, and one or more I / O interfaces 403, connected between the processor 401 and the memory 402; wherein the memory 402 stores one or more computer programs that can be executed by the at least one processor 401, and the one or more computer programs are executed by the at least one processor 401 so that the at least one processor 401 can execute the above-mentioned vehicle outside temperature determination method.
[0068] Each module in the above electronic device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0069] The embodiment of the present disclosure also provides a computer program product, including a computer program, which implements the above-mentioned vehicle external temperature determination method when executed in a processor.
[0070] The computer program may be stored in a readable storage medium of a computer device or in the cloud; the processor of the computer device reads the computer program from the readable storage medium or in the cloud.
[0071] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).
[0072] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable storage medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium).
[0073] As is known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable program instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), static random access memory (SRAM), flash memory or other memory technology, portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. In addition, it is known to those of ordinary skill in the art that communication media typically contain computer-readable program instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium.
[0074] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0075] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0076] The computer program product described herein may be implemented in hardware, software, or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK), etc.
[0077] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0078] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0079] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0080] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0081] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.
Claims
1. A method for determining the outside temperature of a vehicle, characterized in that: include: When it is detected that the target vehicle is in an idling state and is exposed to sunlight, power-on and power-off information of the target vehicle and target information indicating the effect of sunlight exposure on the temperature inside the vehicle are obtained; wherein the power-on and power-off information includes power-on information and power-off information; The current vehicle external temperature value is determined according to the power on and off information and the target information.
2. The method according to claim 1, characterized in that The determining the current vehicle external temperature value according to the power-on and power-off information and the target information includes: Determine a first duration between the current time and the power-off time of the last power-on cycle according to the power-on and power-off information; When the first time duration is less than the first preset time duration, the vehicle outside temperature value at the last power-on cycle is determined as the vehicle outside temperature value at the current moment; When the first time duration is not less than the first preset time duration, the vehicle outside temperature value at the current moment is determined according to the target information.
3. The method according to claim 1, characterized in that The determining the current vehicle external temperature value according to the power-on and power-off information and the target information includes: Determine, based on the power-on and power-off information, a second time duration during which the target vehicle is continuously powered on after switching from a driving state to an idling state; When the second time duration is less than the second preset time duration, the vehicle outside temperature value in the driving state during the current power-on cycle is determined as the vehicle outside temperature value at the current moment; When the second time period is greater than or equal to the second preset time period, the vehicle outside temperature value at the current moment is determined according to the target information.
4. The method according to claim 2 or 3, characterized in that: Determining the current vehicle external temperature value according to the target information includes: determining whether the effect of sunlight exposure indicated by the target information on the temperature inside the vehicle exceeds a critical condition; If the critical condition is exceeded, determining the vehicle exterior temperature value at the current moment to be a first temperature value, wherein the first temperature value is determined according to the temperature value of the reference component of the target vehicle; If the critical condition is not exceeded, the vehicle exterior temperature value at the current moment is determined to be a second temperature value, wherein the second temperature value is determined according to a temperature value detected by an exterior temperature sensor of the target vehicle.
5. The method according to claim 4, characterized in that The target information includes the interior temperature value of the target vehicle and the temperature value of the reference component; The determining whether the effect of sunlight exposure indicated by the target information on the temperature inside the vehicle exceeds a critical condition includes: According to the interior temperature value of the target vehicle and the temperature value of the reference component, it is determined whether the effect of sunlight on the interior temperature of the vehicle exceeds a critical condition.
6. The method according to claim 5, characterized in that The step of judging whether the influence of sunlight on the temperature inside the vehicle exceeds a critical condition according to the temperature inside the vehicle of the target vehicle and the temperature value of the reference component includes: Summing the temperature value of the reference component and the adjustment value to obtain a sum value, and determining whether the interior temperature value of the target vehicle exceeds the sum value; If the interior temperature value of the target vehicle exceeds the sum value, it is determined that the effect of the sunlight on the interior temperature exceeds a critical condition; If the interior temperature value of the target vehicle does not exceed the sum value, it is determined that the effect of the sunlight on the interior temperature of the vehicle does not exceed a critical condition.
7. The method according to claim 4, characterized in that The reference component is a component in the target vehicle whose temperature value is not easily affected by the duration of sunlight exposure.
8. The method according to any one of claims 1 to 3, characterized in that When the target vehicle is detected to be in an idling state and exposed to sunlight, the power on and off information of the target vehicle and target information indicating the effect of sunlight on the temperature inside the vehicle are obtained, including: When it is detected that the target vehicle is in an idling state and is exposed to sunlight, power on and off information of the target vehicle and target information indicating the effect of sunlight exposure on the temperature inside the vehicle are obtained according to a first refresh frequency; The first refresh frequency is lower than the second refresh frequency, and the second refresh frequency is the frequency at which the outside temperature value of the target vehicle is refreshed when the driving speed of the target vehicle is greater than or equal to a preset speed.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores at least one computer program executable by the at least one processor, and the at least one computer program is executed by the at least one processor so that the at least one processor can perform the vehicle exterior temperature determination method according to any one of claims 1 to 8.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed in a processor, the method for determining the vehicle outside temperature according to any one of claims 1 to 8 is implemented.