Vehicle warning method, system, device, computer readable storage medium and computer program product
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING CO WHEELS TECH CO LTD
- Filing Date
- 2025-02-05
- Publication Date
- 2026-08-07
AI Technical Summary
[0003]然而,相关技术在车辆预警过程中,检测范围较小,未能涉及到车辆所在地区出现极端天气预警这样的紧急情况,更无法及时发出车辆的预警信息,即相关技术存在车辆避险的有效性低的问题
[0024] Based on the first weather warning information for the vehicle's location, it is determined whether a weather warning exists in the area. If a weather warning exists, the first location information of the vehicle's current parking area is obtained. Based on this location information and the first weather warning information, it is determined whether there is a safety risk in the current parking area. If there is a safety risk, a first set of candidate parking areas is determined, and any parking area in this first set can be used for vehicle avoidance. A warning message is generated based on the first set of candidate parking areas and sent to the target device. In this way, when it is determined that a weather warning exists in the area where the vehicle is located and there is a safety risk in the current parking area, a first set of candidate parking areas that can be used for vehicle avoidance can be quickly determined, and a timely warning message can be issued to the vehicle, thereby achieving effective vehicle avoidance.
Smart Images

Figure CN122531184A_ABST
Abstract
Description
Technical Field
[0001] This application relates to automotive safety technology, and more particularly to a vehicle warning method, system, device, computer-readable storage medium, and computer program product. Background Technology
[0002] Early vehicle safety technologies primarily focused on the driving process, but with advancements in vehicle safety technology, safety while the vehicle is stationary has also gained attention. Vehicle safety technologies utilize sensors, cameras, and other devices to detect abnormalities in the vehicle itself and its surrounding environment. By collecting data from sensors and cameras, vehicle warning systems can use intelligent data analysis techniques, such as machine learning and artificial intelligence algorithms, to identify abnormal patterns and issue warnings accordingly. Furthermore, vehicle safety technologies are no longer limited to issuing warnings; they automatically execute a series of avoidance measures, such as automatic locking, automatic alarm activation, and automatic airbag deployment.
[0003] However, the detection range of the relevant technologies during vehicle warning is small, failing to cover emergencies such as extreme weather warnings in the area where the vehicle is located, and unable to issue timely warning information for the vehicle. In other words, the relevant technologies have the problem of low effectiveness in vehicle risk avoidance. Summary of the Invention
[0004] This application provides a vehicle early warning method, system, device, computer-readable storage medium, and computer program product, which can promptly issue vehicle early warning information when there is a weather warning in the area where the vehicle is located and there is a safety risk in the current parking area, thereby achieving effective vehicle risk avoidance.
[0005] The technical solution of this application embodiment is implemented as follows:
[0006] This application provides a vehicle warning method, the method comprising:
[0007] Obtain the first weather warning information for the area where the vehicle is located;
[0008] If the first weather warning information indicates that a weather warning exists, obtain the first location information of the current parking area where the vehicle is located;
[0009] If, based on the first weather warning information and the first location information, it is determined that there is a safety risk in the current parking area, a first parking area candidate set is determined;
[0010] Early warning information is generated based on the first candidate set of parking areas, and the early warning information is sent to the target device.
[0011] This application provides a vehicle warning system, comprising: a first acquisition module for acquiring first weather warning information for the area where the vehicle is located; a second acquisition module for acquiring first location information of the current parking area where the vehicle is located when the first weather warning information indicates that a weather warning exists; a determination module for determining a first parking area candidate set when it is determined that there is a safety risk in the current parking area based on the first weather warning information and the first location information; and a generation module for generating warning information based on the first parking area candidate set and sending the warning information to a target device.
[0012] In the above scheme, the first weather warning information includes a weather warning type and a weather warning level; the determining module is further configured to: when the first location information is related to the weather warning type, determine the risk level corresponding to the current parking area based on the first location information and the weather warning level; when the risk level is greater than a preset level threshold, determine that there is a safety risk in the current parking area, and determine a first parking area candidate set.
[0013] In the above scheme, the determining module is further configured to: obtain a set of vacant parking areas within a preset area that are in an vacant state; obtain the second weather warning information for the region where each parking area in the parking area set is located; if the second weather warning information indicates that there is no weather warning, add the area information of the vacant parking area corresponding to the second weather warning information to the first parking area candidate set; if the second weather warning information indicates that there is a weather warning, obtain the second location information of the vacant parking area corresponding to the second weather warning information; and if it is determined based on the second weather warning information and the second location information that there is no safety risk in the vacant parking area, add the area information of the vacant parking area corresponding to the second weather warning information to the first parking area candidate set.
[0014] In the above scheme, the determining module is further configured to: determine the distance between the vacant parking area corresponding to the second weather warning information and the current parking area when the second weather warning information is that there is no weather warning; add the distance to the area information after associating the distance with the area information; wherein, in the first parking area candidate set, the area information is sorted according to the distance.
[0015] In the above scheme, the determining module is further configured to: determine the risk level of the vacant parking area corresponding to the second weather warning information and the distance between the vacant parking area corresponding to the second weather warning information and the current parking area, when it is determined that there is no safety risk in the vacant parking area based on the second weather warning information and the second location information; determine the area priority based on the risk level and the distance; add the area priority to the first parking area candidate set after associating the area priority with the area information; wherein, in the first parking area candidate set, the area information is sorted according to the area priority.
[0016] In the above scheme, the system further includes a control module, which is used to: when receiving a vehicle avoidance request sent by the target device, parse the vehicle avoidance request to obtain a first target parking area; the first target parking area is a parking area in the first parking area candidate set; and control the vehicle to drive to the first target parking area.
[0017] In the above scheme, the control module is further configured to: determine the vehicle's avoidance path based on the current parking area and the first target parking area; and control the vehicle to drive to the first target parking area based on the avoidance path.
[0018] In the above scheme, the control module is further configured to: obtain third weather warning information of the area where the first target parking area is located and third location information of the first target parking area during the process of controlling the vehicle to drive to the first target parking area based on the avoidance path; and, if it is determined based on the third weather warning information and the third location information that there is no safety risk in the first target parking area, control the vehicle to drive to the first target parking area based on the avoidance path.
[0019] In the above scheme, the system further includes an update module, which is used to: determine a second parking area candidate set when it is determined that there is a safety risk in the first target parking area based on the third weather warning information and the third location information; when a vehicle avoidance request for any parking area in the second parking area candidate set is received, determine the parking area as the second target parking area; determine an updated avoidance path for the vehicle based on the second target parking area; and control the vehicle to drive to the second target parking area based on the updated avoidance path.
[0020] This application provides a vehicle warning device, including: a memory for storing computer-executable instructions; and a processor for executing the computer-executable instructions stored in the memory to implement the vehicle warning method provided in this application.
[0021] This application provides a computer-readable storage medium storing a computer program or computer-executable instructions, which, when executed by a processor, implements the vehicle warning method provided in this application.
[0022] This application provides a computer program product, including a computer program or computer-executable instructions, which, when executed by a processor, implement the vehicle warning method provided in this application.
[0023] The embodiments of this application have the following beneficial effects:
[0024] Based on the first weather warning information for the vehicle's location, it is determined whether a weather warning exists in the area. If a weather warning exists, the first location information of the vehicle's current parking area is obtained. Based on this location information and the first weather warning information, it is determined whether there is a safety risk in the current parking area. If there is a safety risk, a first set of candidate parking areas is determined, and any parking area in this first set can be used for vehicle avoidance. A warning message is generated based on the first set of candidate parking areas and sent to the target device. In this way, when it is determined that a weather warning exists in the area where the vehicle is located and there is a safety risk in the current parking area, a first set of candidate parking areas that can be used for vehicle avoidance can be quickly determined, and a timely warning message can be issued to the vehicle, thereby achieving effective vehicle avoidance. Attached Figure Description
[0025] Figure 1 This is an optional flowchart illustrating the vehicle warning method provided in this application embodiment;
[0026] Figure 2 This is an optional flowchart illustrating the process of determining a candidate set of first parking areas provided in an embodiment of this application;
[0027] Figure 3 This is another optional flowchart illustrating the process of determining the first parking area candidate set provided in an embodiment of this application;
[0028] Figure 4 This is a schematic diagram of an optional implementation process for adding region information provided in an embodiment of this application;
[0029] Figure 5 This is a schematic diagram of another optional implementation process for adding region information provided in an embodiment of this application;
[0030] Figure 6 This is a schematic diagram illustrating the implementation process of controlling a vehicle according to an embodiment of this application;
[0031] Figure 7 This is a schematic diagram of an optional implementation process for controlling a vehicle to drive to the first target parking area provided in an embodiment of this application;
[0032] Figure 8 This is a schematic diagram of another optional implementation process for controlling a vehicle to drive to the first target parking area provided in an embodiment of this application;
[0033] Figure 9 This is a schematic diagram of the vehicle warning process when there is a safety risk in the first target parking area provided in the embodiments of this application;
[0034] Figure 10 This is a schematic flowchart of the intelligent vehicle risk avoidance vehicle early warning method provided in the embodiments of this application;
[0035] Figure 11 This is a structural block diagram of a vehicle warning system provided in an embodiment of this application;
[0036] Figure 12 This is a schematic diagram of the vehicle warning device provided in the embodiments of this application. Detailed Implementation
[0037] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0038] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0039] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0040] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0041] Unless otherwise defined, all technical and scientific terms used in the embodiments of this application have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in the embodiments of this application is for the purpose of describing the embodiments of this application only and is not intended to limit this application.
[0042] In the implementation of this application, the collection and processing of relevant data should strictly comply with the requirements of relevant national laws and regulations, obtain the informed consent or separate consent of the personal information subject, and carry out subsequent data use and processing within the scope of laws and regulations and the authorization of the personal information subject.
[0043] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.
[0044] 1) Vehicle infotainment system: This refers to the infotainment and control system within a vehicle. Integrated into the center of the vehicle's dashboard, it serves as the information and entertainment control center. The core of the vehicle infotainment system is the Head Unit (HU), which is primarily responsible for processing and displaying audio and video content, as well as providing navigation, communication, control, and other vehicle-related functions.
[0045] 2) Autonomous Driving Controller: This is one of the core components of a vehicle's autonomous driving system. It is responsible for receiving data from various sensors (e.g., cameras, radar, LiDAR, etc.), processing and analyzing this data to achieve autonomous control of the vehicle. The main function of the autonomous driving controller is to automatically execute driving tasks, including acceleration, steering, and braking, based on environmental data and preset algorithms.
[0046] The existing vehicle warning technology has a limited detection range and fails to cover emergencies such as extreme weather warnings in the vehicle's location. For example, when a vehicle is parked in an underground parking lot during extreme rainstorms, the parking lot is prone to flooding, especially in coastal areas, causing water damage to the vehicle. Similarly, when a vehicle is parked in a surface parking lot during extreme hailstorms, the vehicle body and windows are susceptible to damage from hail impacts. In these extreme weather scenarios, the technology cannot provide timely warnings for vehicles to take evasive action, indicating a low effectiveness in vehicle safety.
[0047] To address the problems in the aforementioned related technologies, this application proposes an intelligent vehicle avoidance vehicle warning method. When an extreme weather warning is issued, this method can automatically query safe parking areas that can be avoided and promptly issue vehicle warning information, causing the vehicle to move to a safe parking area that can be avoided, thereby achieving effective vehicle avoidance.
[0048] The vehicle warning method provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0049] Figure 1 This is an optional flowchart illustrating a vehicle warning method provided in an embodiment of this application. This method can be applied to vehicle warning devices. Figure 1 As shown, the method includes the following steps S101 to S104:
[0050] Step S101: Obtain the first weather warning information for the area where the vehicle is located.
[0051] In this embodiment, the vehicle can be any type of motor vehicle parked in any parking area, such as a private car, bus, or truck. The first weather warning information refers to an advance warning issued by the meteorological department based on monitored meteorological data regarding potential severe weather. For example, the first weather warning information can be warnings for extreme weather scenarios such as typhoons, heavy rain, blizzards, strong winds, high temperatures, lightning, dense fog, and cold waves. The first weather warning information can be used to indicate whether a weather warning exists in the area where the vehicle is located; that is, the first weather warning information is divided into two cases: the presence of a weather warning and the absence of a weather warning.
[0052] In some embodiments, the first weather warning information for the vehicle's location can be obtained through the vehicle's in-vehicle navigation system, vehicle-to-everything (V2X) service, or by connecting to third-party devices. For example, an in-vehicle navigation system with integrated weather information can locate the vehicle's position using GPS and obtain the latest weather data from the internet, i.e., real-time weather and weather warning information for the vehicle's location. Vehicles equipped with V2X services can connect to a server via a mobile network to automatically receive weather warning information for the vehicle's location. Alternatively, weather applications or V2X applications on mobile devices can be used to connect the mobile device to the vehicle via Bluetooth or USB, synchronizing the weather warning information obtained from the mobile device to the vehicle.
[0053] Step S102: If the first weather warning information indicates that a weather warning exists, obtain the first location information of the current parking area where the vehicle is located.
[0054] In this embodiment, the first location information refers to the location information of the current parking area where the vehicle is located. The first location information may be the longitude and latitude information, altitude information, or environmental information of the current parking area. The environmental information refers to the environmental conditions around the current parking area, including but not limited to whether there are obstructions, lighting conditions, temperature, humidity, etc.
[0055] In some embodiments, the vehicle may obtain the longitude and latitude information of the current parking area via GPS or GLONASS systems. The vehicle may also estimate the altitude of the current parking area using onboard barometric pressure sensors, or use more precise GPS signals to obtain altitude information. The vehicle may also detect environmental information around the current parking area by being equipped with sensors, or obtain environmental information by connecting to nearby environmental monitoring stations via a network.
[0056] Step S103: Based on the first weather warning information and the first location information, if it is determined that there is a safety risk in the current parking area, determine the first parking area candidate set.
[0057] In this embodiment, the first parking area candidate set refers to a set of area information for multiple safe parking areas where vehicles can avoid hazards. Upon obtaining the first weather warning information for the area where the vehicle is located, and the first location information of the vehicle's current parking area, data analysis of the first weather warning information and the first location information can determine whether there is a safety risk in the current parking area. If it is determined that there is no safety risk in the current parking area, there is no need to control the vehicle to avoid hazards. If it is determined that there is a safety risk in the current parking area, subsequent steps need to be performed to control the vehicle to avoid hazards.
[0058] The first weather warning information includes the weather warning type and the weather warning level. For example, the weather warning type can be heavy rain, strong wind, hail, etc., and the weather warning level can be low risk level, medium risk level, high risk level, or extremely high risk level, etc.
[0059] In some embodiments, see Figure 2 , Figure 2 The step S103, where a first parking area candidate set is determined based on the first weather warning information and the first location information, can be achieved through the following steps S1031 to S1032:
[0060] Step S1031: If the first location information is related to the weather warning type, determine the risk level corresponding to the current parking area based on the first location information and the weather warning level.
[0061] In this embodiment, the correlation between the first location information of the current parking area and the weather warning type is analyzed to determine whether the first location information of the current parking area is related to the weather warning type. When the first location information of the current parking area is not related to the weather warning type, there is no need to control the vehicle to avoid danger. When it is determined that the first location information of the current parking area is related to the weather warning type, subsequent steps need to be performed to control the vehicle to avoid danger.
[0062] For example, suppose the initial location information of the current parking area indicates it's in a low-lying area or an underground parking area, and the weather warning type is a heavy rain warning. When rainfall is heavy, the parking area may experience severe flooding, potentially submerging vehicles. In this case, analyzing the correlation between the initial location information and the heavy rain warning determines that the initial location information is relevant to the heavy rain warning. Conversely, suppose the initial location information indicates the current parking area is a stable surface parking area, and the weather warning type is a heavy rain warning, meaning the impact of the heavy rain warning on vehicles in the current parking area is negligible. In this case, analyzing the correlation between the initial location information and the heavy rain warning determines that the initial location information is irrelevant to the heavy rain warning.
[0063] Suppose that based on the initial location information of the current parking area, it is determined to be an open-air ground parking area without any shelter, and the weather warning type is either a hail warning or a typhoon warning, which may damage vehicles. In this case, by analyzing the correlation between the initial location information and the rainstorm warning, it is determined that the initial location information is related to the hail warning or typhoon warning. Alternatively, suppose that based on the initial location information of the current parking area, it is determined to be a sheltered underground parking area, and the weather warning type is either a hail warning or a typhoon warning, where the impact of the hail warning or typhoon warning on vehicles in the current parking area is negligible. In this case, by analyzing the correlation between the initial location information and the hail warning or typhoon warning, it is determined that the initial location information is not related to the hail warning or typhoon warning.
[0064] The risk level of the current parking area is determined based on a comprehensive assessment of the area's initial location and the weather warning level. This risk level reflects the degree of safety hazards the vehicle may face in the current parking area under weather warning conditions. The risk level can be low, medium, high, or extremely high. It can also be represented numerically; for example, 0-2 indicates low risk, 2-5 indicates medium risk, 5-8 indicates high risk, and 8-10 indicates extremely high risk.
[0065] When the primary location information is related to the weather warning type, it indicates that the weather warning will have some impact on vehicles in the current parking area. After determining the primary location information and weather warning level of the current parking area, the primary location information and weather warning level are fused and analyzed to determine the potential impact on vehicles in the current parking area, and the risk level corresponding to the current parking area is assessed based on the degree of impact. For example, if the current weather warning level is low (e.g., low risk level), based on the analysis of the primary location information of the current parking area, the current parking area is relatively safe, and the impact of the weather warning is negligible. In this case, the risk level corresponding to the current parking area is low risk. If the current weather warning level is high (e.g., high risk level), based on the analysis of the primary location information of the current parking area, the current parking area is a high risk area and may be directly and severely affected by the weather warning. In this case, the risk level corresponding to the current parking area is high risk.
[0066] Step S1032: If the risk level is greater than the preset level threshold, determine that there is a safety risk in the current parking area and determine the first parking area candidate set.
[0067] In this embodiment, the preset risk level threshold is a preset risk level threshold. The preset risk level threshold represents the maximum allowed risk level value for the current parking area. The preset risk level threshold can be any value greater than 0; for example, it can be 2. This embodiment does not impose specific limitations. If the risk level of the current parking area is greater than the preset risk level threshold, it is determined that the current parking area has a safety risk. For example, when the preset risk level threshold is 2 and the risk level of the current parking area is 1.5, it can be determined that the current parking area does not have a safety risk. However, when the risk level of the current parking area is 4.5, it can be determined that the current parking area has a safety risk.
[0068] In some embodiments, see Figure 3 , Figure 3 The determination of the first parking area candidate set in step S1032 can be achieved through the following steps S301 to S305:
[0069] Step S301: Obtain a set of parking areas that are in an vacant state within a preset area.
[0070] In this embodiment, the preset area refers to a predefined geographical region. For example, the preset area could be a circular area with a radius of 2 kilometers centered on the current parking area. The system queries parking area data within the preset area, i.e., the real-time occupancy status of each parking area within the preset area. Multiple vacant parking areas within the preset area are then selected and grouped into a parking area set.
[0071] Step S302: Obtain the second weather warning information for the region where each parking area in the parking area set is located.
[0072] In this embodiment of the application, for each parking area in the set of parking areas, the second weather warning information of the area where the parking area is located is obtained. For the specific meaning and implementation method of obtaining the second weather warning information of the area where the parking area is located, please refer to the description of step S101 above, which will not be repeated here.
[0073] Step S303: If the second weather warning information is that there is no weather warning, add the area information of the vacant parking area corresponding to the second weather warning information to the first parking area candidate set.
[0074] In this embodiment, area information refers to geographic and location data related to vacant parking areas. Area information is used to describe the specific location and characteristics of vacant parking areas. For example, area information may be geographic coordinates, address information, parking area type, or charging information. If the second weather warning for the area where the vacant parking area is located is negative, the vacant parking area is considered a safe parking area. The area information of this vacant parking area can be added to the first parking area candidate set so that a safe parking area can be randomly selected from the first parking area candidate set for vehicle avoidance.
[0075] In some embodiments, see Figure 4 , Figure 4 The following steps illustrate step S303: In the case where there is no weather warning in the second weather warning information, the area information of the available parking area corresponding to the second weather warning information is added to the first parking area candidate set. This can be achieved through the following steps S3031 to S3032:
[0076] Step S3031: If the second weather warning information is that there is no weather warning, determine the distance between the available parking area corresponding to the second weather warning information and the current parking area.
[0077] In this embodiment, the distance between the available parking area corresponding to the second weather warning information and the current parking area is calculated based on their geographical coordinates. This distance can be the straight-line distance between the available parking area corresponding to the second weather warning information and the current parking area, or it can be the actual distance between the available parking area corresponding to the second weather warning information and the current parking area.
[0078] Step S3032: After associating the distance with the area information, add it to the first parking area candidate set.
[0079] In this embodiment, the distance between the available parking area corresponding to the second weather warning information and the current parking area is associated with the area information of the available parking area corresponding to the second weather warning information. That is, each area information corresponds to a distance. In the first parking area candidate set, the area information of the available parking area corresponding to the second weather warning information is sorted according to the distance.
[0080] Here, the area information is sorted by distance to ensure that there are no available parking areas with weather warnings in the first parking area candidate set. The parking areas are sorted from nearest to farthest so that subsequent users can quickly select the nearest safe parking area from the first parking area candidate set.
[0081] Step S304: If the second weather warning information indicates that a weather warning exists, obtain the second location information of the vacant parking area corresponding to the second weather warning information.
[0082] In this embodiment of the application, when the second weather warning information is in the case of a weather warning, the specific meaning and implementation of obtaining the second location information of the vacant parking area corresponding to the second weather warning information can be found in the description of step S102 above, and will not be repeated here.
[0083] Step S305: If it is determined that there is no safety risk in the vacant parking area based on the second weather warning information and the second location information, add the area information of the vacant parking area corresponding to the second weather warning information to the first parking area candidate set.
[0084] In this embodiment, upon obtaining the second weather warning information and the second location information, data analysis of these two information can determine whether a safety risk exists in the vacant parking area. If it is determined that there is no safety risk in the vacant parking area, subsequent steps are required to control the vehicle to avoid the danger; that is, the vehicle can be controlled to drive into the vacant parking area to avoid the danger. If it is determined that there is a safety risk in the vacant parking area, the vehicle cannot be controlled to drive into the vacant parking area to avoid the danger.
[0085] The second weather warning information includes the second weather warning type and the second weather warning level. When the second location information is related to the second weather warning type, the risk level corresponding to the vacant parking area is determined based on the second location information and the second weather warning level. If the risk level is less than a preset threshold, it is determined that the vacant parking area poses no safety risk. Alternatively, if the second location information is not related to the second weather warning type, it is determined that the vacant parking area poses no safety risk. For the specific meanings and implementation methods involved in the above steps, please refer to the explanation of step S103 above; it will not be repeated here.
[0086] In some embodiments, see Figure 5 , Figure 5 The step S305, where, based on the second weather warning information and the second location information, it is determined that there is no safety risk in the vacant parking area, the area information of the vacant parking area corresponding to the second weather warning information is added to the first parking area candidate set. This can be achieved through the following steps S3051 to S3053:
[0087] Step S3051: If it is determined that there is no safety risk in the vacant parking area based on the second weather warning information and the second location information, determine the risk level of the vacant parking area corresponding to the second weather warning information, and the distance between the vacant parking area corresponding to the second weather warning information and the current parking area.
[0088] In this embodiment, the risk level of the vacant parking area corresponding to the second weather warning information can be determined comprehensively based on the second location information of the vacant parking area and the second weather warning level. This risk level reflects the degree of safety hazard that the vacant parking area may face under weather warning conditions. If it is determined based on the second weather warning information and the second location information that there is no safety risk in the vacant parking area, the risk level is less than a preset level threshold. For example, when the preset level threshold is 2, the risk level of the vacant parking area can be any value less than 2.
[0089] For the specific meaning and implementation of determining the distance between the available parking area corresponding to the second weather warning information and the current parking area, please refer to the explanation of step S3031 above, which will not be repeated here.
[0090] Step S3052: Determine the area priority based on risk level and distance.
[0091] In this embodiment, the area priority refers to the result of comprehensively considering the risk level of the vacant parking area corresponding to the second weather warning information, and the distance between the vacant parking area corresponding to the second weather warning information and the current parking area. For each vacant parking area without safety risk, a priority rule can be defined according to specific needs. For example, distance priority: prioritize vacant parking areas that are closer. Or, lowest risk level priority: prioritize vacant parking areas with the lowest risk level. Or, comprehensive consideration: combine distance and risk level, for example, select vacant parking areas with lower risk levels when they are close together. According to the defined priority rule, combined with risk level and distance, an area priority is calculated for each vacant parking area without safety risk.
[0092] Step S3053: After associating the area priority with the area information, add it to the first parking area candidate set.
[0093] In this embodiment of the application, the regional priority of the vacant parking area without safety risks is associated with the regional information of the vacant parking area. That is, each piece of regional information corresponds to a regional priority. In the first parking area candidate set, the regional information of the vacant parking area without safety risks is sorted according to the regional priority.
[0094] Here, the area information is sorted according to area priority to ensure that there are no empty parking areas with safety risks in the first parking area candidate set. The parking areas are sorted from high to low priority so that subsequent users can quickly select the safest parking area with the highest priority from the first parking area candidate set.
[0095] Step S104: Generate early warning information based on the first parking area candidate set and send the early warning information to the target device.
[0096] In this embodiment, the warning information is a notification issued to remind the user (i.e., the vehicle owner) to be aware of potential risks or take preventive measures when there are safety risks in the current parking area. This warning information may include information such as impending severe weather conditions, safety hazards in the current parking area, and a first set of candidate parking areas. The target device refers to the device that receives and displays the warning information. The target device can be a smart mobile terminal, in-vehicle display screen, electronic road sign, or personal navigation device, etc. The target device can receive and display the warning information via a network or direct connection.
[0097] Based on the initial weather warning and location information, if a safety risk is determined in the current parking area, a first set of candidate safe parking areas is identified, allowing the vehicle to avoid the danger. A warning message is then sent to the user, indicating a safety risk in the current parking area, and the first set of candidate parking areas is simultaneously sent to the user, enabling them to quickly select the best safe parking area (i.e., the nearest safe parking area, or the safe parking area with the highest priority).
[0098] In some embodiments, see Figure 6 , Figure 6 This demonstrates that after sending the warning information to the target device, the following steps S601 to S602 can also be performed:
[0099] Step S601: When a vehicle avoidance request is received from the target device, the vehicle avoidance request is parsed to obtain the first target parking area.
[0100] In this embodiment, the first target parking area is a parking area in a first parking area candidate set. When a user selects any parking area (i.e., the first target parking area) in the first parking area candidate set via a target device, the target device sends a vehicle evasion request to the vehicle system. The vehicle evasion request includes the area identifier of the first target parking area. By parsing the vehicle evasion request, it is possible to determine which parking area the user wishes to move the vehicle to; this parking area is the first target parking area.
[0101] Step S602: Control the vehicle to drive to the first target parking area.
[0102] In this embodiment of the application, after determining the first target parking area, the vehicle is automatically controlled to drive to the first target parking area in order to complete the vehicle avoidance.
[0103] In some embodiments, see Figure 7 , Figure 7 The step S602, controlling the vehicle to drive to the first target parking area, can be achieved through the following steps S6021 to S6022:
[0104] Step S6021: Determine the vehicle's avoidance path based on the current parking area and the first target parking area.
[0105] In this embodiment, the hazard avoidance path refers to the optimal driving route from the current parking area to the first target parking area. The optimal driving route between the current parking area and the first target parking area, i.e., the vehicle's hazard avoidance path, can be determined using a map service API.
[0106] Step S6022: Based on the avoidance path, control the vehicle to drive to the first target parking area.
[0107] In this embodiment of the application, once the vehicle's avoidance path is determined, the vehicle can be controlled to travel from the current parking area to the first target parking area according to the avoidance path.
[0108] In some embodiments, see Figure 8 , Figure 8 The step S6022, where the vehicle is controlled to drive to the first target parking area based on the avoidance path, can be achieved through the following steps S801 to S802:
[0109] Step S801: During the process of controlling the vehicle to drive to the first target parking area based on the avoidance path, obtain the third weather warning information of the area where the first target parking area is located, as well as the third location information of the first target parking area.
[0110] In this embodiment, the first target parking area is one of the candidate parking areas in the first parking area candidate set. The second weather warning information for the area where the first target parking area is located, as well as the second location information of the first target parking area, are known. During the process of controlling the vehicle to travel along the avoidance path, the weather warning information for the area where the first target parking area is located may change. Therefore, it is necessary to query the third weather warning information for the area where the first target parking area is located in real time. That is, the third weather warning information can be the updated second weather warning information or the unupdated second weather warning information. The third location information is consistent with the second location information.
[0111] For the specific meaning and implementation of obtaining the third weather warning information of the area where the first target parking area is located, as well as the third location information of the first target parking area, please refer to the description of steps S101 and S102 above, which will not be repeated here.
[0112] Step S802: If, based on the third weather warning information and the third location information, it is determined that there is no safety risk in the first target parking area, the vehicle is controlled to drive to the first target parking area based on the avoidance path.
[0113] In this embodiment, if it is determined that there is no safety risk in the first target parking area based on third weather warning information and third location information, the vehicle can continue to be controlled to drive to the first target parking area according to the avoidance path.
[0114] In some embodiments, see Figure 9 , Figure 9 The following steps demonstrate how, in step S802, when a safety risk is determined to exist in the first target parking area based on third weather warning information and third location information, vehicle control can be achieved through steps S901 to S904:
[0115] Step S901: If, based on the third weather warning information and the third location information, it is determined that there is a safety risk in the first target parking area, a second parking area candidate set is determined.
[0116] In this embodiment, the area information of the first target parking area is not included in the second parking area candidate. When it is determined that the first target parking area poses a safety risk based on the third weather warning information and the third location information, a second parking area candidate set is determined. The specific meaning and implementation details of this step can be found in the description of step S103 above, and will not be repeated here.
[0117] Step S902: When a vehicle avoidance request is received for any parking area in the second parking area candidate set, the parking area is determined as the second target parking area.
[0118] In this embodiment, the second target parking area is the updated target parking area during the vehicle driving process based on the avoidance path control, which is different from the first target parking area. For the step of determining the parking area as the second target parking area when a vehicle avoidance request is received for any parking area in the second parking area candidate set, the specific meaning and implementation method can be found in the description of step S601 above, and will not be repeated here.
[0119] Step S903: Based on the second target parking area, determine the vehicle's updated hazard avoidance path.
[0120] In this embodiment, the current position of the vehicle at the current moment is obtained, and the optimal driving path between the current position and the second target parking area is determined, which is the updated avoidance path of the vehicle.
[0121] Step S904: Based on the updated avoidance path, control the vehicle to drive to the second target parking area.
[0122] In this embodiment of the application, once the updated hazard avoidance path of the vehicle is determined, the vehicle can be controlled to travel from its current position to the second target parking area according to the updated hazard avoidance path.
[0123] Here, during the process of controlling the vehicle to the first target parking area based on the hazard avoidance path, the system acquires real-time third weather warning information for the area where the first target parking area is located, as well as the third location information of the first target parking area. Based on the third weather warning information and the third location information, it determines whether there is a safety risk in the first target parking area. If there is a safety risk in the first target parking area, a second target parking area is quickly determined, and the hazard avoidance path is updated in a timely manner based on the second target parking area, thereby controlling the vehicle to achieve effective vehicle hazard avoidance.
[0124] According to the embodiments of this application, based on the first weather warning information of the vehicle's location, it is determined whether a weather warning exists in the vehicle's location. When a weather warning exists, the first location information of the vehicle's current parking area is obtained, and based on the first location information and the first weather warning information, it is determined whether there is a safety risk in the current parking area. When there is a safety risk in the current parking area, a first parking area candidate set is determined, and any parking area in the first parking area candidate set can be used for vehicle avoidance. When a vehicle avoidance request for any parking area in the first parking area candidate set is received, that parking area is determined as the first target parking area, and the vehicle is controlled to drive to the first target parking area. In this way, when it is determined that there is a weather warning in the vehicle's location and there is a safety risk in the vehicle's current parking area, a first parking area candidate set that can be used for vehicle avoidance can be quickly determined, and when a vehicle avoidance request is received, the vehicle can be quickly controlled to drive to any parking area in the first parking area candidate set, thereby achieving effective vehicle avoidance.
[0125] It is understood that in the embodiments of this application, data related to the location information of parking areas, weather warning information, etc., are required to obtain user permission or consent when the embodiments of this application are applied to specific products or technologies, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of relevant countries and regions.
[0126] The following will describe an exemplary application of the embodiments of this application in a real-world application scenario.
[0127] This application provides an intelligent vehicle control method for hazard avoidance. When an extreme weather warning is issued, this method can automatically query safe parking areas that can be avoided and automatically control the vehicle to move to the safe parking area. A flowchart of the method is shown below. Figure 10 As shown. Before implementing this method, users can configure the system on the vehicle's HU screen to enable automatic hazard avoidance in extreme weather scenarios (e.g., floods, hail, etc.) and can choose which extreme weather scenarios require automatic hazard avoidance. After enabling the automatic hazard avoidance function in extreme weather scenarios on the HU, the process is as follows:
[0128] Step S1001: Based on the vehicle's GPS, query the local weather warning information in real time.
[0129] Step S1002: Determine if an extreme weather scenario exists. Based on the retrieved local weather warning information, determine if the aforementioned extreme weather warning exists in the local area. If an extreme weather scenario exists, proceed to step S1003; otherwise, the process ends, meaning there is no need to control the vehicle to take evasive action.
[0130] Step S1003: Obtain the elevation information of the current parking area based on GPS, and query the map to obtain the location information of the current parking area.
[0131] Step S1004: Determine if there is a safety risk in the current parking area. Based on the elevation and location information of the current parking area, determine whether the current parking area is safe. For example, if there is a flood warning and the current parking area is determined to be an underground parking lot, there is a safety risk. Similarly, if there is a hail warning and the current parking area is determined to be a surface parking lot, there is a safety risk.
[0132] If a security risk exists, proceed to step S1005; otherwise, the process ends.
[0133] Step S1005: Alert the vehicle owner, alerting them to safety risks and providing suggestions for safe parking areas. The application notifies the vehicle owner of potential safety risks and suggests safe parking areas based on map information.
[0134] Step S1006: Determine whether the vehicle owner has authorized and selected a destination parking area. If the vehicle owner has authorized and selected a destination parking area, proceed to step S1007; otherwise, the process ends.
[0135] Step S1007: The autonomous driving vehicle generates a driving route and moves to the target parking area. Following the generated driving route (i.e., the aforementioned hazard avoidance path), the autonomous driving vehicle moves to the target parking area using the vehicle's autonomous driving controller, completing the vehicle hazard avoidance.
[0136] Through the embodiments of this application, real-time weather warning information and location information of the vehicle's current parking area can be obtained. Based on the weather warning information and location information, it can be determined whether the vehicle poses a safety risk. When a safety risk is detected, the vehicle is intelligently controlled to move to a safe parking area, effectively achieving the effect of vehicle risk avoidance.
[0137] Based on the vehicle warning method described in the above embodiments Figure 11 The diagram shows a structural block diagram of a vehicle warning system 110 provided in an embodiment of this application. The vehicle warning system can be a system in a vehicle warning device, such as a vehicle infotainment system. The vehicle warning system can be implemented in software, which can be software in the form of programs and plug-ins, including the following software modules: a first acquisition module 1101, a second acquisition module 1102, a determination module 1103, and a generation module 1104. These modules are logically related, so they can be arbitrarily combined or further split according to the functions they implement.
[0138] The system includes a first acquisition module 1101 for acquiring first weather warning information for the area where the vehicle is located; a second acquisition module 1102 for acquiring first location information of the current parking area where the vehicle is located when the first weather warning information indicates that a weather warning exists; a determination module 1103 for determining a first parking area candidate set when it is determined that there is a safety risk in the current parking area based on the first weather warning information and the first location information; and a generation module 1104 for generating warning information based on the first parking area candidate set and sending the warning information to the target device.
[0139] In some embodiments, the first weather warning information includes a weather warning type and a weather warning level; the determining module 1103 is further configured to: when the first location information is related to the weather warning type, determine the risk level corresponding to the current parking area based on the first location information and the weather warning level; when the risk level is greater than a preset level threshold, determine that there is a safety risk in the current parking area, and determine a first parking area candidate set.
[0140] In some embodiments, the determining module 1103 is further configured to: obtain a set of vacant parking areas within a preset area that are in an vacant state; obtain the second weather warning information for the region where each parking area in the set of parking areas is located; if the second weather warning information indicates that there is no weather warning, add the area information of the vacant parking area corresponding to the second weather warning information to the first parking area candidate set; if the second weather warning information indicates that there is a weather warning, obtain the second location information of the vacant parking area corresponding to the second weather warning information; and if it is determined based on the second weather warning information and the second location information that there is no safety risk in the vacant parking area, add the area information of the vacant parking area corresponding to the second weather warning information to the first parking area candidate set.
[0141] In some embodiments, the determining module 1103 is further configured to: determine the distance between the vacant parking area corresponding to the second weather warning information and the current parking area when the second weather warning information is that there is no weather warning; associate the distance with the area information and add it to the first parking area candidate set; wherein, in the first parking area candidate set, the area information is sorted according to the distance.
[0142] In some embodiments, the determining module 1103 is further configured to: determine the risk level of the vacant parking area corresponding to the second weather warning information and the distance between the vacant parking area corresponding to the second weather warning information and the current parking area, when it is determined that there is no safety risk in the vacant parking area based on the second weather warning information and the second location information; determine the area priority based on the risk level and the distance; add the area priority to the first parking area candidate set after associating the area priority with the area information; wherein, in the first parking area candidate set, the area information is sorted according to the area priority.
[0143] In some embodiments, the system 110 further includes a control module, which is configured to: when receiving a vehicle avoidance request sent by the target device, parse the vehicle avoidance request to obtain a first target parking area; the first target parking area is a parking area in the first parking area candidate set; and control the vehicle to drive to the first target parking area.
[0144] In some embodiments, the control module is further configured to: determine an avoidance path for the vehicle based on the current parking area and the first target parking area; and control the vehicle to travel to the first target parking area based on the avoidance path.
[0145] In some embodiments, the control module is further configured to: acquire third weather warning information for the area where the first target parking area is located, and third location information for the first target parking area, during the process of controlling the vehicle to drive to the first target parking area based on the avoidance path; and, if it is determined based on the third weather warning information and the third location information that there is no safety risk in the first target parking area, control the vehicle to drive to the first target parking area based on the avoidance path.
[0146] In some embodiments, the system 110 further includes an update module, which is configured to: determine a second parking area candidate set when it is determined that there is a safety risk in the first target parking area based on the third weather warning information and the third location information; when a vehicle avoidance request for any parking area in the second parking area candidate set is received, determine the parking area as the second target parking area; determine an updated avoidance path for the vehicle based on the second target parking area; and control the vehicle to travel to the second target parking area based on the updated avoidance path.
[0147] It should be noted that the description of the system in this application embodiment is similar to that of the method embodiment described above, and has similar beneficial effects, therefore it will not be repeated. For technical details not disclosed in this system embodiment, please refer to the description of the method embodiment in this application for understanding.
[0148] This application provides a vehicle warning device. Figure 12 This is a schematic diagram of the vehicle warning device provided in an embodiment of this application. Figure 12 As shown, the vehicle warning device 120 includes: at least one processor 121 ( Figure 12 (Only one is shown in the image), memory 122, and executable instructions 123 stored in memory 122 and executable on at least one processor 121, which, when executed by processor 121, implement the steps in any of the above vehicle warning method embodiments.
[0149] The vehicle warning device may include, but is not limited to, a processor 121 and a memory 122. Those skilled in the art will understand that... Figure 12 This is merely an example of the vehicle warning device 120 and does not constitute a limitation on the vehicle warning device 120. It may include more or fewer components than shown, or combine certain components, or different components, such as input / output devices, network access devices, etc.
[0150] The processor 121 can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0151] In some embodiments, memory 122 may be an internal storage unit of the vehicle warning device 120, such as a hard disk or memory of the vehicle warning device 120. In other embodiments, memory 122 may be an external storage device of the vehicle warning device 120, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the vehicle warning device 120. Furthermore, memory 122 may include both internal and external storage units of the vehicle warning device 120. Memory 122 is used to store operating systems, applications, boot loaders, data, and other programs, such as program code for computer programs. Memory 122 may also be used to temporarily store data that has been output or will be output.
[0152] This application provides a computer-readable storage medium storing a computer program or computer-executable instructions. When the computer program or computer-executable instructions are executed by a processor, the processor will execute the vehicle warning method provided in this application. For example, ... Figure 1 The vehicle warning method shown.
[0153] This application provides a computer program product including computer-executable instructions stored in a computer-readable storage medium. A processor of a vehicle warning device reads the computer-executable instructions from the computer-readable storage medium and executes the instructions, causing the vehicle warning device to perform the vehicle warning method described in this application.
[0154] In some embodiments, the computer-readable storage medium may be a memory such as RAM, ROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a variety of devices including one or any combination of the above-mentioned memories.
[0155] In some embodiments, computer-executable instructions may take the form of programs, software, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
[0156] As an example, computer-executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple co-located files (e.g., files that store one or more modules, subroutines, or code sections).
[0157] As an example, computer-executable instructions can be deployed to execute on a single vehicle warning device, or on multiple vehicle warning devices located at one location, or on multiple vehicle warning devices distributed across multiple locations and interconnected via a communication network.
[0158] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.
Claims
1. A vehicle early warning method, characterized in that, The method includes: Obtain the first weather warning information for the area where the vehicle is located; If the first weather warning information indicates that a weather warning exists, obtain the first location information of the current parking area where the vehicle is located; If, based on the first weather warning information and the first location information, it is determined that there is a safety risk in the current parking area, a first parking area candidate set is determined; Early warning information is generated based on the first candidate set of parking areas, and the early warning information is sent to the target device.
2. The method according to claim 1, characterized in that, The first weather warning information includes the weather warning type and the weather warning level; The step of determining a first parking area candidate set when it is determined, based on the first weather warning information and the first location information, that the current parking area poses a safety risk includes: If the first location information is related to the weather warning type, the risk level corresponding to the current parking area is determined based on the first location information and the weather warning level. If the risk level is greater than a preset threshold, it is determined that there is a safety risk in the current parking area, and a first set of candidate parking areas is determined.
3. The method according to claim 1 or 2, characterized in that, The determination of the first candidate set of parking areas includes: Get the set of parking areas that are currently vacant within a preset area; Obtain the second weather warning information for the region where each parking area in the parking area set is located; If the second weather warning information indicates that there is no weather warning, the area information of the vacant parking area corresponding to the second weather warning information is added to the first parking area candidate set; If the second weather warning information indicates that a weather warning exists, obtain the second location information of the vacant parking area corresponding to the second weather warning information; If it is determined, based on the second weather warning information and the second location information, that there is no safety risk in the vacant parking area, the area information of the vacant parking area corresponding to the second weather warning information is added to the first parking area candidate set.
4. The method according to claim 3, characterized in that, When the second weather warning information indicates that there is no weather warning, adding the area information of the vacant parking area corresponding to the second weather warning information to the first parking area candidate set includes: If the second weather warning information indicates that there is no weather warning, determine the distance between the vacant parking area corresponding to the second weather warning information and the current parking area; After associating the distance with the area information, it is added to the first parking area candidate set; wherein, in the first parking area candidate set, the area information is sorted according to the distance.
5. The method according to claim 3 or 4, characterized in that, When it is determined, based on the second weather warning information and the second location information, that there is no safety risk in the vacant parking area, the area information of the vacant parking area corresponding to the second weather warning information is added to the first parking area candidate set, including: If it is determined that there is no safety risk in the vacant parking area based on the second weather warning information and the second location information, the risk level of the vacant parking area corresponding to the second weather warning information and the distance between the vacant parking area corresponding to the second weather warning information and the current parking area are determined. Based on the risk level and the distance, determine the area priority; After associating the area priority with the area information, it is added to the first parking area candidate set; wherein, in the first parking area candidate set, the area information is sorted according to the area priority.
6. The method according to any one of claims 1 to 5, characterized in that, After sending the warning information to the target device, the method further includes: When a vehicle avoidance request is received from the target device, the vehicle avoidance request is parsed to obtain a first target parking area; the first target parking area is a parking area in the first parking area candidate set. Control the vehicle to drive to the first target parking area.
7. The method according to claim 6, characterized in that, Controlling the vehicle to drive to the first target parking area includes: Based on the current parking area and the first target parking area, determine the vehicle's avoidance path; Based on the avoidance path, the vehicle is controlled to drive to the first target parking area.
8. The method according to claim 7, characterized in that, The step of controlling the vehicle to travel to the first target parking area based on the avoidance path includes: During the process of controlling the vehicle to drive to the first target parking area based on the avoidance path, the third weather warning information of the area where the first target parking area is located, and the third location information of the first target parking area are obtained; If, based on the third weather warning information and the third location information, it is determined that there is no safety risk in the first target parking area, the vehicle is controlled to drive to the first target parking area based on the avoidance path.
9. The method according to claim 8, characterized in that, The method further includes: If, based on the third weather warning information and the third location information, it is determined that there is a safety risk in the first target parking area, a second parking area candidate set is determined; When a vehicle avoidance request is received for any parking area in the second parking area candidate set, the parking area is determined as the second target parking area; Based on the second target parking area, determine the updated hazard avoidance path for the vehicle; Based on the updated avoidance path, the vehicle is controlled to drive to the second target parking area.
10. A vehicle warning system, characterized in that, The system includes: The first acquisition module is used to acquire the first weather warning information for the area where the vehicle is located. The second acquisition module is used to acquire the first location information of the current parking area where the vehicle is located when the first weather warning information indicates that a weather warning exists; The first determining module is used to determine a first parking area candidate set when it is determined that there is a safety risk in the current parking area based on the first weather warning information and the first location information; The generation module is used to generate early warning information based on the first parking area candidate set and send the early warning information to the target device.
11. A vehicle warning device, characterized in that, The vehicle warning device includes: Memory is used to store executable instructions for a computer; A processor, when executing computer-executable instructions stored in the memory, implements the vehicle warning method according to any one of claims 1 to 9.
12. A computer-readable storage medium storing computer-executable instructions or a computer program, characterized in that, When the computer-executable instructions or computer program are executed by a processor, the vehicle warning method according to any one of claims 1 to 9 is implemented.
13. A computer program product comprising computer-executable instructions or a computer program, characterized in that, When the computer-executable instructions or computer program are executed by a processor, the vehicle warning method according to any one of claims 1 to 9 is implemented.