Method, device, equipment, medium and program product for detecting and early warning fire outside vehicle
By obtaining the temperature and wind direction information outside the vehicle and combining it with set rules and algorithms, effective detection and timely warning of fires outside the vehicle can be achieved, solving the problem of lack of external fire monitoring and warning in existing technologies and improving the safety of vehicle parking.
Patent Information
- Application Number
- CN202511051314.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-29
- Publication Date
- 2025-09-12
AI Technical Summary
Existing vehicle safety warning technologies lack effective monitoring and warning mechanisms for fires in the vehicle's surrounding environment, and are unable to promptly detect and respond to safety hazards of fires outside the vehicle.
By acquiring the initial and real-time exterior temperatures from the vehicle's body temperature sensor, the system determines whether the vehicle is in a fire risk state and triggers a fire alarm based on pre-set rules. Furthermore, an ultrasonic wind direction sensor detects wind direction and speed, analyzes the direction and spread of the fire, determines the fire risk level, and issues an alert.
It can effectively detect fires outside the vehicle, promptly identify potential safety hazards, and enhance parking safety. Through the combination of multiple sensors and algorithms, it improves the accuracy of fire risk assessment and the timeliness of emergency response.
Smart Images

Figure CN120636060A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle warning technology, and more specifically, to a method, device, equipment, medium, and program product for detecting and warning of fire outside a vehicle. Background Art
[0002] As the automotive industry continues to evolve and innovate, vehicle safety remains a core concern. With the continued rise in vehicle ownership and the increasing complexity of vehicle usage, the potential safety risks facing vehicles are becoming increasingly diverse. Among these, fire, as a highly destructive safety hazard, poses a serious threat to the vehicle itself, the lives of those inside, and the surrounding environment.
[0003] Currently, several vehicle safety warning technologies are available on the market, primarily focusing on vehicle fault and collision warnings. For example, internal vehicle sensors monitor parameters such as engine temperature, tire pressure, and brake system status in real time. When these parameters exceed normal ranges, the system alerts the driver, prompting them to take immediate action to avoid accidents caused by vehicle failure. Collision warning systems, on the other hand, utilize radar, cameras, and other devices to sense obstacles and other vehicles around the vehicle in real time. When a potential collision risk is detected, they issue an alert and may even automatically apply braking measures to reduce the likelihood of a collision.
[0004] However, most of these existing warning technologies focus on the vehicle's own operating status and the risk of direct collision with surrounding objects. There is a lack of effective monitoring and warning mechanisms for fire in the vehicle's surrounding environment, which is a major safety hazard. Summary of the Invention
[0005] The purpose of the embodiments of the present application is to provide a method, device, equipment, medium and program product for detecting and warning of fire outside the vehicle, so as to solve the problem that the existing warning technology lacks an effective monitoring and warning mechanism for fire in the vehicle surrounding environment, which is an important safety hazard.
[0006] In a first aspect, an embodiment of the present application provides a method for detecting and warning an external fire, including: Obtain the initial outside temperature and real-time outside temperature collected by the vehicle body temperature sensor; If the difference between the real-time outside temperature and the initial outside temperature reaches a set threshold, it is determined that the outside of the vehicle is in a fire risk state; Based on the set rules, it is determined that there is a fire risk outside the vehicle, triggering the first-level fire alarm.
[0007] In the above implementation process, the embodiment of the present application obtains the initial outside temperature and the real-time outside temperature collected by the vehicle body temperature sensor; if the difference between the real-time outside temperature and the initial outside temperature reaches a set threshold, it is judged that the outside of the vehicle is in a fire risk state; based on the set rules, it is determined that the outside of the vehicle is in a fire risk state, and the first-level fire alarm is triggered; effectively detects fires outside the vehicle, discovers safety hazards in time, and enhances parking safety.
[0008] Furthermore, the determining that the vehicle exterior is in a fire risk state based on a set rule includes: When the duration of the outside of the vehicle being in a fire risk state reaches a first set time, it is determined that the outside of the vehicle is in a fire risk state.
[0009] In the above implementation process, if it is further determined that there is a fire risk state outside the vehicle, the first-level fire alarm is triggered to determine whether a fire has occurred and an alarm is required.
[0010] Furthermore, the determining that the vehicle exterior is in a fire risk state based on a set rule includes: The outside of the vehicle is determined to be in a fire risk state based on image features of the outside vehicle image; wherein the outside vehicle image is an image captured by a vehicle body camera.
[0011] In the above implementation process, it is further determined that the outside of the vehicle is in a fire risk state based on the image features of the image outside the vehicle, and it is determined whether a fire has occurred and an alarm needs to be issued.
[0012] Furthermore, determining that the exterior of the vehicle is in a fire risk state based on image features of the exterior image of the vehicle includes: Preprocess the exterior image of the vehicle; Based on the smoke recognition algorithm, determine whether the image features of the vehicle exterior image meet the smoke characteristics; If it is consistent, the smoke characteristics are analyzed in real time; When detecting an increase in the concentration of the smoke characteristic and / or an increase in the range of the smoke characteristic within a second set time, determining that the outside of the vehicle is in a fire risk state; When it is detected that the color of the smoke characteristic deepens within the third set time, it is determined that there is a fire risk state outside the vehicle; When flame features are detected in the smoke features within the fourth set time, it is determined that the outside of the vehicle is in a fire risk state.
[0013] In the above implementation process, it is achieved to further determine that the outside of the vehicle is in a fire risk state based on the collected images.
[0014] Furthermore, it also includes: Get the wind direction and wind speed detected by the ultrasonic wind direction sensor; Analyze the wind direction and spread speed of the fire based on the detected wind direction and speed; Determine whether to increase the fire risk level based on the wind direction and spread speed of the fire; If the fire risk level increases, a second-level fire alarm will be triggered, and the wind direction and propagation speed of the fire will be sent to the user end.
[0015] In the above implementation process, whether the fire risk increases is determined based on the wind direction and wind speed.
[0016] Furthermore, after analyzing the wind direction and propagation speed of the fire based on the detected wind direction and wind speed, the method further includes: The fire arrival time is determined based on the wind direction and propagation speed of the fire and sent to the user end.
[0017] In the above implementation process, the fire arrival time is determined to remind the user to move the car manually or automatically.
[0018] Furthermore, it also includes: When receiving a remote vehicle control command, the wind direction detected by the ultrasonic wind direction sensor is retrieved; Get recommended parking directions based on wind direction; When detecting that the vehicle is in an unmanned parking environment, providing a first range of parking locations and sending the location information to the user; When detecting that the vehicle is not in an unmanned parking environment, providing a second range of parking locations and sending it to the user; wherein the first range is larger than the second range; When receiving a remote parking command, the automatic parking system is controlled to park.
[0019] In the above implementation process, recommended parking directions and parking suggestions are provided based on wind direction to improve convenience.
[0020] In a second aspect, an embodiment of the present application provides an off-vehicle fire detection and warning device, comprising: An information acquisition module is used to obtain the initial vehicle outside temperature and the real-time vehicle outside temperature collected by the vehicle body temperature sensor; a risk judgment module, configured to judge that the outside of the vehicle is in a fire risk state if the difference between the real-time outside temperature and the initial outside temperature reaches a set threshold; The alarm trigger module is used to determine that there is a fire risk outside the vehicle based on set rules and trigger a first-level fire alarm.
[0021] In a third aspect, an embodiment of the present application provides an electronic device, including: A processor, a memory and a bus, wherein the processor is connected to the memory via the bus, and the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, they are used to implement the above-mentioned vehicle-external fire detection and warning method.
[0022] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a server, the above-mentioned method for detecting and warning of fire outside a vehicle is implemented.
[0023] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed by a computer, the computer implements the method as described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 A flowchart of a method for detecting and warning an off-vehicle fire according to an embodiment of the present application is provided; Figure 2 This is a structural diagram of an off-vehicle fire detection and warning device provided in an embodiment of the present application; Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0027] It should be noted that similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and should not be understood as indicating or implying relative importance.
[0028] Please see Figure 1 , Figure 1 This is a flow chart of a method for detecting and warning an external fire in a vehicle provided in an embodiment of the present application. The method for detecting and warning an external fire in a vehicle includes: 100. Obtain the initial vehicle outside temperature and the real-time vehicle outside temperature collected by the vehicle body temperature sensor.
[0029] Optionally, the body temperature sensor collects the outside temperature data in real time according to the set sampling frequency, and sends the data to the vehicle controller through the communication module; specifically, the body temperature sensor collects the initial outside temperature and stores the initial outside temperature, and collects the real-time outside temperature and compares it with the initial outside temperature.
[0030] Among them, the number of temperature sensors can be increased around the vehicle to ensure that there is at least one temperature sensor around the front, back, left and right of the vehicle body.
[0031] 200. If the difference between the real-time outside vehicle temperature and the initial outside vehicle temperature reaches a set threshold, it is determined that the outside of the vehicle is in a fire risk state.
[0032] Optionally, a time period is set to cyclically determine whether the outside of the vehicle is in a fire risk state, that is, to determine whether the difference between the real-time outside temperature and the initial outside temperature reaches a set threshold based on the time period; the time period can be set according to demand, for example, 5 seconds, 10 seconds, etc.
[0033] Optionally, if the difference between the outside temperature and the ambient temperature is within a certain range, it is regarded as a normal temperature fluctuation. If the difference between the outside temperature and the ambient temperature reaches a set threshold within a certain period of time, it is judged that the outside of the vehicle is in a fire risk state.
[0034] It is understood that the threshold value can be determined through extensive experiments and actual scenario testing, combined with the climate characteristics of different regions and seasons. At the same time, it can be dynamically adjusted based on the vehicle's driving environment and historical data to improve the accuracy of the judgment.
[0035] For example, the ambient temperature , the outside temperature when the car is parked , when parking, = ±3 is considered normal temperature fluctuation. Natural changes over time, Within 2 minutes, the temperature rose rapidly. ≥ When it is +20, it means that the temperature is rising too quickly and there is a risk of fire outside the vehicle.
[0036] 300. Based on the set rules, it is determined that there is a fire risk outside the vehicle, and the first level fire alarm is triggered.
[0037] Specifically, when the duration of the outside of the vehicle being in a fire risk state reaches a first set time, and / or when it is determined based on the image features of the image outside the vehicle that the outside of the vehicle is in a fire risk state, a first level fire alarm is triggered.
[0038] Among them, the on-board camera continuously collects images outside the vehicle at a certain frame rate and transmits the image data to the vehicle controller through the communication module.
[0039] Specifically, when a fire risk condition is determined outside the vehicle, a timer is started. The system continuously monitors the fire risk condition outside the vehicle. If the condition persists, a fire alarm is triggered when the timer reaches a first set time t (e.g., 30 seconds, the specific time can be determined based on actual application scenarios and test results). Alarm methods may include sounding an alarm inside the vehicle, sending a text message to the owner's phone, or sending a push notification.
[0040] For example, when it is detected that there is a fire risk outside the vehicle, in order to prevent misidentification, the step If it lasts for more than 30 seconds, a fire warning will be triggered.
[0041] Specifically, an image recognition algorithm is used to extract features from the exterior image, such as flame color (high-brightness areas like red and orange), shape (irregular, pulsating shapes), and texture (the flickering texture of the flames). These extracted image features are then matched and analyzed with a pre-established fire image feature model. If the similarity between the image features and the fire image feature model exceeds a set threshold, a fire risk is determined outside the vehicle. If a fire risk is determined based on the exterior image features, a first-level fire alarm is immediately triggered.
[0042] As described above, the embodiment of the present application obtains the initial outside temperature and the real-time outside temperature collected by the vehicle body temperature sensor; if the difference between the real-time outside temperature and the initial outside temperature reaches a set threshold, it is judged that the outside of the vehicle is in a fire risk state; based on the set rules, it is determined that the outside of the vehicle is in a fire risk state, and the first level fire alarm is triggered; effectively detects fires outside the vehicle, discovers safety hazards in time, and enhances parking safety.
[0043] In some embodiments, it also includes: if the difference between the real-time outside vehicle temperature and the initial outside vehicle temperature does not reach a set threshold, and it is determined based on the image features of the outside vehicle image that the outside of the vehicle is in a fire risk state, a first-level fire alarm is triggered.
[0044] Understandably, if the fire is far from the vehicle, the temperature transfer is not as rapid. In this case, the camera can be used to observe the surrounding environment in real time and, through visual recognition algorithms, infer the surrounding fire situation. The camera's visual recognition model is used to make a judgment. If the image features of the camera's external image determine that there is a fire risk outside the vehicle, a first-level fire alarm is triggered.
[0045] In some embodiments, determining that the exterior of the vehicle is in a fire risk state based on image features of the exterior image of the vehicle includes: 310. Preprocess the exterior image of the vehicle.
[0046] Specifically, real-time images or image sequences are acquired through vehicle-mounted cameras or other image acquisition devices; the acquired images are preprocessed, including denoising, enhancement, color correction and other operations, to improve the quality and clarity of the images and facilitate subsequent feature extraction and analysis.
[0047] 320. Based on the smoke recognition algorithm, determine whether the image features of the image outside the vehicle meet the smoke features.
[0048] Optionally, the image features of the extracted exterior image are analyzed and determined based on a preset smoke recognition algorithm. For example, if the color, texture, motion, and shape features of a region in the image all meet smoke feature requirements, smoke is determined to be present in that region.
[0049] As you can understand, image recognition can use a smoke recognition algorithm or utilize a trained cloud-based or client-side large model to identify whether image features match smoke characteristics. For example, a pre-trained large visual model is used to collect images containing smoke and non-smoke of varying concentrations, colors, and backgrounds. Smoke areas are annotated and smoke detection and localization is achieved by combining classification and segmentation losses.
[0050] 330. If it meets the requirements, analyze the smoke characteristics in real time.
[0051] 340. When it is detected that the concentration of the smoke characteristic increases and / or the range of the smoke characteristic increases within the second set time, it is determined that the outside of the vehicle is in a fire risk state.
[0052] For example, smoke concentration detection values are continuously recorded within a set time window. The current smoke concentration is compared with the smoke concentration at the start of the time window. If the current concentration value is greater than the initial concentration value, and the difference between the two exceeds a preset concentration change threshold, it is considered that the smoke concentration has increased within the second set time period, and a fire risk is determined outside the vehicle.
[0053] For example, within a set time window, the smoke range detection value (e.g., number of pixels or area) is recorded. The current smoke range is compared with the smoke range at the start of the time window. If the current range value is greater than the initial range value, and the difference between the two exceeds a preset range change threshold, the smoke range is considered to have increased within the second set time period, and a fire risk is determined outside the vehicle.
[0054] 350. When it is detected that the color of the smoke characteristic deepens within the third set time, it is determined that there is a fire risk state outside the vehicle.
[0055] Optionally, the color depth of the smoke characteristic at different time points within the third set time period is compared to analyze the changing trend of the color depth. If the color depth gradually increases over time, it indicates that the color of the smoke is getting darker. The color depth can be approximately represented by calculating the brightness value of the color in the RGB color space. The lower the brightness value, the darker the color.
[0056] In addition, a color deepening threshold is set based on actual conditions. For example, if the brightness of the smoke characteristic color decreases by more than 20% within a third set time, the color deepening is considered to have reached the threshold. If the color deepening of the smoke characteristic exceeds the set threshold within the third set time, a fire risk is determined outside the vehicle.
[0057] 360. When a flame feature is detected in the smoke feature within the fourth set time, it is determined that the outside of the vehicle is in a fire risk state.
[0058] It is understandable that the flame characteristics can be detected based on the color characteristics, shape characteristics, dynamic characteristics, etc. of the flame to determine whether the flame characteristics exist. The embodiments of the present application do not make specific limitations on this.
[0059] For example, a vehicle's early combustion is accompanied by smoke. This smoke will quickly grow larger and denser within a short period of time, and an open flame may appear later. The camera identifies the fire by capturing these obvious fire characteristics. If the smoke density or range is detected to increase within 10 seconds, it indicates a risk of fire continuation, and a fire warning is triggered. If the smoke delay is detected to deepen within 10 seconds, it indicates a risk of fire continuation, and a fire warning is triggered. If an open flame is detected in the smoke within 15 seconds, it indicates a risk of fire continuation, and a fire warning is triggered.
[0060] In some embodiments, it further includes: 410. Obtain the wind direction and wind speed detected by the ultrasonic wind direction sensor.
[0061] For example, multiple ultrasonic transducers are provided to calculate wind speed and direction by measuring the propagation time of ultrasonic waves in different directions. The ultrasonic wind direction sensor is installed at a suitable location outside the vehicle, such as the roof.
[0062] 420. Analyze the wind direction and spread speed of the fire based on the detected wind direction and speed.
[0063] For example, if there's a fire around a vehicle, the wind direction detected by the ultrasonic wind direction sensor indicates the likely direction the fire will spread. This is because wind pushes flames and smoke downwind. For example, if the sensor detects the wind is due east, the fire is likely to spread eastward.
[0064] For example, an empirical model is used to estimate the spread of a fire based on wind speed and fire type. This spread is then adjusted in real time based on actual conditions. For example, if there are a lot of flammable materials around the fire, the spread may be faster than the empirical model predicts. Alternatively, if there are fire-retardant factors like water sources or firebreaks, the spread may be slower.
[0065] 430. Determine whether to increase the fire risk level based on the wind direction and spread speed of the fire.
[0066] Optionally, the risk level can be set based on the relative position of the fire wind direction and the vehicle. For example, if the fire wind direction is directly toward the vehicle, the risk level is high; if the fire wind direction is at a large angle to the vehicle, the risk level is relatively low.
[0067] Optionally, different transmission speed thresholds can be set to classify risk levels. For example, when the transmission speed is less than 5 km / h, it is a low risk level; when the transmission speed is between 5 and 15 km / h, it is a medium risk level; and when the transmission speed is greater than 15 km / h, it is a high risk level.
[0068] Specifically, the impact of wind direction and propagation speed on fire risk is comprehensively considered, and a weighted assessment method is used to determine the final risk level. For example, different weights are assigned to wind direction and propagation speed, and the risk level is determined by calculating the weighted score.
[0069] 440. If the fire risk level increases, a second-level fire alarm is triggered, and the wind direction and propagation speed of the fire are sent to the user end.
[0070] It is understandable that if the fire risk level increases, a serious alarm will be triggered to remind the user to move the car quickly. The user can be informed of the wind direction and spread speed of the fire, so that the user can move the car manually or remotely automatically according to the actual fire situation.
[0071] For example, when the wind is blowing towards the vehicle, the temperature will be transferred faster, and the spread of the fire will also increase with the wind direction and speed, increasing the probability of risk to the vehicle; it is also the direction indicated by the vehicle for subsequent summoning control; after the alarm is triggered, a prompt message will be sent to the user as soon as possible. If the user does not respond within 1 minute, we regard it as the user has not received it, that is, he does not know about the fire. At this time, the background data monitoring platform will actively trigger a phone call to notify the user in time; but when the user has received the text message, the user can view the surrounding environment through the mobile phone APP video. The picture will predict the time when the vehicle will be damaged by the fire based on the wind speed and distance, and adjust the angle conditions to observe the surrounding safety conditions.
[0072] In some embodiments, after analyzing the wind direction and propagation speed of the fire based on the detected wind direction and wind speed, the method further includes: The fire arrival time is determined based on the wind direction and propagation speed of the fire and sent to the user end.
[0073] Specifically, the relative position between the vehicle and the fire is determined, the wind direction and propagation speed of the fire are analyzed, the arrival time of the fire is calculated, and the user is prompted with the arrival time of the fire.
[0074] For example, based on the geographic location information of the vehicle and the fire, the straight-line distance between the two is calculated using the distance calculation algorithm in the geographic information system; if the fire spreads directly toward the vehicle along the line connecting the vehicle and the fire, and the propagation speed v is constant, then the fire arrival time t can be calculated by the formula t = v / d, where d is the distance between the vehicle and the fire.
[0075] In some embodiments, it further includes: When a remote vehicle control command is received, the wind direction detected by the ultrasonic wind direction sensor is retrieved; a recommended parking direction is obtained based on the wind direction; if it is detected that the vehicle is in an unmanned parking environment, a first range of parking positions is provided and sent to the user; if it is detected that the vehicle is not in an unmanned parking environment, a second range of parking positions is provided and sent to the user; wherein the first range is larger than the second range; when a remote parking command is received, the automatic parking system is controlled to park.
[0076] The recommended parking direction is determined based on wind direction. For example, a mapping relationship between wind direction and recommended parking directions is established based on experience or actual needs. For example, when the wind is easterly, the recommended parking direction is west to avoid being affected by wind during parking and reduce wind interference with parking stability. Based on the wind direction data and mapping rules, a recommended parking direction is generated. The recommended parking direction can be expressed as an angle or a textual description, such as "park west."
[0077] For example, when a user has received a text message that there is a fire risk outside the car, the user can view the surrounding environment through the mobile phone APP video. The picture will predict the time when the car will be damaged by the fire based on the wind speed and distance, and adjust the angle conditions to observe the surrounding safety conditions.
[0078] If the user is far away from the car, he or she can also control the car remotely through the mobile phone APP. Specifically: the user clicks the remote car moving button on the APP to enter the car moving control interface; the interface shows the recommended direction of moving the car (the system automatically recommends the direction of moving the car according to the wind direction), and the user is not allowed to move to a position opposite to the recommended direction (except for the scenario: the optional location is congested and driving is illegal, and the only risk is to drive in the opposite direction); parking at a distant location: if the car is in an available unmanned parking environment, the user can manually choose to drive to a farther parking location; after the location is selected, the parking system executes the parking command and drives to that location; parking at a close location: if the car is not in an unmanned parking environment, the user can select a custom parking space in the scene reconstruction diagram of the APP interface, which is approximately 5-7 meters away from the original car position.
[0079] In addition, during the process of notifying the user, if the vehicle door has been unlocked, it is deemed that the user has taken over the vehicle, and the notification will automatically exit.
[0080] Additionally, if no parking instruction is received from the user within the fifth set time after a first- and second-level fire alarm is sent to the user, automatic parking is initiated and the vehicle is parked according to the recommended parking direction and location. Optionally, the fifth set time can be half of the user's fire arrival time, or two-thirds of the user's fire arrival time, etc. Exemplarily, the fifth set time is adjusted based on the user's fire arrival time. For example, if the user's fire arrival time is 30 minutes, the set time is 20 minutes.
[0081] It is understandable that when the vehicle is in a certain mode, this mode can provide normal detection work; when the vehicle is in a certain fire situation, the vehicle detects the outside temperature. This detection is real-time. If the temperature sensor detects an abnormal change in the vehicle at a certain moment, the abnormal change here refers to a sudden increase in temperature, an upward step. For example, the temperature during normal parking is generally maintained in an appropriate range. For example, if the temperature is 20 degrees when parked, the temperature change throughout the day will remain within a range of 10 degrees. If the temperature sensor suddenly detects a large change in temperature, such as a sudden increase to 40 or 50 degrees, it is considered that there may be a fire risk around the vehicle. The temperature change range in summer and winter is within 20 degrees. Based on this natural temperature difference, it can be set that when the ambient temperature has a step greater than 20 degrees, you should be vigilant.
[0082] The vehicle camera in the embodiments of this application must also be able to detect the distance of a fire and determine how far away it is from the vehicle. It must also have a certain degree of false positives. Through training with visual recognition algorithms and large fire models, the probability and accuracy of fire identification can be improved.
[0083] As described above, the embodiments of the present application can detect surrounding fires in a timely manner to a certain extent and promptly notify the user, allowing the user to take over the vehicle in time. If the user is far away from the vehicle, the user can also use remote control to send the address to the vehicle and drive away from the fire, thereby enhancing the safety of the user's parking.
[0084] The above steps are not to be performed in a strict order as described in the numbers, but should be understood as an overall solution.
[0085] In the second aspect, based on the above embodiments, Figure 2 This is a structural diagram of an off-vehicle fire detection and warning device provided in an embodiment of the present application. Figure 2 The vehicle exterior fire detection and warning device provided in this embodiment specifically includes: an information acquisition module 201 , a risk judgment module 202 and an alarm triggering module 203 .
[0086] Among them, the information acquisition module 201 is used to obtain the initial outside temperature and real-time outside temperature collected by the vehicle body temperature sensor; the risk judgment module 202 is used to judge that the outside of the vehicle is in a fire risk state if the difference between the real-time outside temperature and the initial outside temperature reaches a set threshold; the alarm triggering module 203 is used to determine that the outside of the vehicle is in a fire risk state based on set rules, and trigger a first-level fire alarm.
[0087] As described above, the embodiment of the present application obtains the initial outside temperature and the real-time outside temperature collected by the vehicle body temperature sensor; if the difference between the real-time outside temperature and the initial outside temperature reaches a set threshold, it is judged that the outside of the vehicle is in a fire risk state; based on the set rules, it is determined that the outside of the vehicle is in a fire risk state, and the first level fire alarm is triggered; effectively detects fires outside the vehicle, discovers safety hazards in time, and enhances parking safety.
[0088] The off-vehicle fire detection and early warning device provided in the embodiment of the present application can be used to execute the off-vehicle fire detection and early warning method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0089] In a third aspect, an embodiment of the present application further provides an electronic device that can integrate the off-vehicle fire detection and warning device provided in an embodiment of the present application. Figure 3 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 3The electronic device includes: an input device 33, an output device 34, a memory 32, and one or more processors 31; the memory 32 is used to store one or more programs; when the one or more programs are executed by the one or more processors 31, the one or more processors 31 implement the vehicle exterior fire detection and warning method provided in the above embodiment. The input device 33, the output device 34, the memory 32, and the processor 31 can be connected by a bus or other means. Figure 3 The bus connection is taken as an example.
[0090] The processor 31 executes the software programs, instructions and modules stored in the memory 32 to perform various functional applications and data processing of the device, that is, to implement the above-mentioned vehicle-exterior fire detection and early warning method.
[0091] The electronic device provided above can be used to execute the vehicle exterior fire detection and early warning method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0092] In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned vehicle-side fire detection and early warning method, and can achieve the same beneficial effects.
[0093] Of course, the storage medium containing computer-executable instructions provided in an embodiment of the present application is not limited to the above-mentioned off-vehicle fire detection and early warning method, and can also execute related operations in the off-vehicle fire detection and early warning method provided in any embodiment of the present application.
[0094] In a fifth aspect, the embodiments of the present application further provide a computer program product. The methods described in the various embodiments of the present application can be implemented in whole or in part through software, hardware, firmware, or any combination thereof. When implemented using software, they can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the various embodiments of the present application are executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, a core network device, an OAM (Open Application Model), or other programmable device.
[0095] The computer program or instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program or instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired or wireless method. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; an optical medium, such as a digital video disk; or a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.
[0096] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions.
[0097] In addition, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0098] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling an electronic device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0099] The foregoing is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included within the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined or explained in subsequent figures.
[0100] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
[0101] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
Claims
1. A method for detecting and warning of fire outside a vehicle, characterized in that: The method comprises: Obtain the initial outside temperature and real-time outside temperature collected by the vehicle body temperature sensor; If the difference between the real-time outside temperature and the initial outside temperature reaches a set threshold, it is determined that the outside of the vehicle is in a fire risk state; Based on the set rules, it is determined that there is a fire risk outside the vehicle, triggering the first-level fire alarm.
2. The vehicle exterior fire detection and early warning method according to claim 1, characterized in that: The determining that the exterior of the vehicle is in a fire risk state based on a set rule includes: When the duration of the outside of the vehicle being in a fire risk state reaches a first set time, it is determined that the outside of the vehicle is in a fire risk state.
3. The method for detecting and warning of fire outside a vehicle according to claim 1, characterized in that: The determining that the exterior of the vehicle is in a fire risk state based on a set rule includes: The outside of the vehicle is determined to be in a fire risk state based on image features of the outside vehicle image; wherein the outside vehicle image is an image captured by a vehicle body camera.
4. The method for detecting and warning of fire outside a vehicle according to claim 3, characterized in that: The determining that the exterior of the vehicle is in a fire risk state according to image features of the exterior image of the vehicle includes: Preprocess the exterior image of the vehicle; Based on the smoke recognition algorithm, determine whether the image features of the vehicle exterior image meet the smoke characteristics; If it is consistent, the smoke characteristics are analyzed in real time; When detecting an increase in the concentration of the smoke characteristic and / or an increase in the range of the smoke characteristic within a second set time, determining that the outside of the vehicle is in a fire risk state; When it is detected that the color of the smoke characteristic deepens within the third set time, it is determined that there is a fire risk state outside the vehicle; When flame features are detected in the smoke features within the fourth set time, it is determined that the outside of the vehicle is in a fire risk state.
5. The method for detecting and warning of fire outside a vehicle according to claim 1, characterized in that: Also includes: Get the wind direction and wind speed detected by the ultrasonic wind direction sensor; Analyze the wind direction and spread speed of the fire based on the detected wind direction and speed; Determine whether to increase the fire risk level based on the wind direction and spread speed of the fire; If the fire risk level increases, a second-level fire alarm will be triggered, and the wind direction and propagation speed of the fire will be sent to the user end.
6. The method for detecting and warning of fire outside a vehicle according to claim 5, characterized in that: After analyzing the wind direction and propagation speed of the fire based on the detected wind direction and wind speed, the method further includes: The fire arrival time is determined based on the wind direction and propagation speed of the fire and sent to the user end.
7. The method for detecting and warning of fire outside a vehicle according to claim 1, characterized in that: Also includes: When receiving a remote vehicle control command, the wind direction detected by the ultrasonic wind direction sensor is retrieved; Get recommended parking directions based on wind direction; When detecting that the vehicle is in an unmanned parking environment, providing a first range of parking locations and sending the location information to the user; When detecting that the vehicle is not in an unmanned parking environment, providing a second range of parking locations and sending it to the user; wherein the first range is larger than the second range; When receiving a remote parking command, the automatic parking system is controlled to park.
8. A vehicle-exterior fire detection and warning device, characterized in that: include: An information acquisition module is used to obtain the initial vehicle outside temperature and the real-time vehicle outside temperature collected by the vehicle body temperature sensor; a risk judgment module, configured to judge that the outside of the vehicle is in a fire risk state if the difference between the real-time outside temperature and the initial outside temperature reaches a set threshold; The alarm trigger module is used to determine that there is a fire risk outside the vehicle based on set rules and trigger a first-level fire alarm.
9. An electronic device, characterized in that: include: A processor, a memory, and a bus, wherein the processor is connected to the memory via the bus, and the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, they are used to implement the vehicle exterior fire detection and early warning method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a server, implements the vehicle exterior fire detection and early warning method according to any one of claims 1 to 7.
11. A computer program product, characterized in that The computer program product comprises instructions which, when executed by a computer, cause the computer to implement the method according to any one of claims 1 to 7.