Vehicle door opening warning method, device, equipment and storage medium
Through the synergy of millimeter wave radar, ultrasonic radar and camera equipment, the problem of low accuracy of vehicle door opening warning is solved, higher warning accuracy and lower cost are achieved, ensuring vehicle driving safety.
Patent Information
- Application Number
- CN202211103066.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-09
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-09-09
AI Technical Summary
The existing vehicle door opening warning system has low accuracy due to the detection blind area of millimeter wave radar, making it difficult to effectively avoid traffic accidents.
Millimeter-wave radar and ultrasonic radar are used to work together, combined with camera equipment, to determine the size, track information and relative speed of obstacles through detection data and image data, determine whether the vehicle meets the door-opening warning conditions, and issue warning information based on the warning level.
It improves the accuracy of vehicle door opening warning, reduces the cost of increasing the number of radars, and ensures vehicle driving safety.
Smart Images

Figure CN115476762B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of computers, and in particular to a vehicle door opening warning method, device, equipment and storage medium. Background Art
[0002] In recent years, traffic accidents caused by door opening have occurred frequently. At present, when warning the vehicle door opening, millimeter-wave radar is often used to detect obstacles around the vehicle, and the door opening warning is issued according to the detection results. However, millimeter-wave radar has a certain detection blind spot, which leads to low accuracy of door opening warning, and completely avoids accidents. Therefore, how to improve the accuracy of vehicle door opening warning, improve vehicle driving safety, and effectively avoid traffic accidents is a problem that needs to be solved. Summary of the invention
[0003] The present invention provides a vehicle door opening warning method, device, equipment and storage medium, which can improve the vehicle door opening warning accuracy and ensure vehicle driving safety.
[0004] According to one aspect of the present invention, a vehicle door opening warning method is provided, comprising:
[0005] Determine whether there is a first obstacle within the detection range of the millimeter-wave radar according to the first detection data of the millimeter-wave radar, and determine whether there is a second obstacle within the detection range of the ultrasonic radar according to the second detection data of the ultrasonic radar;
[0006] If the first obstacle exists and the second obstacle does not exist, determining a first size of the first obstacle, track information, a relative distance and a relative speed between the vehicle and the first obstacle according to the first detection data and image data collected by the camera device;
[0007] Determining whether the vehicle meets a door opening warning condition according to the relative distance, the relative speed, the track information and the first size;
[0008] If there is a second obstacle, determining a second size of the second obstacle according to the image data, and determining whether the vehicle meets the door opening warning condition according to the second size;
[0009] If the vehicle meets the door opening warning condition, a warning level is determined, and a warning message is issued based on the warning level.
[0010] According to another aspect of the present invention, a vehicle door opening warning device is provided, the device comprising:
[0011] a detection data analysis module, configured to determine whether a first obstacle exists within the detection range of the millimeter-wave radar according to the first detection data of the millimeter-wave radar, and to determine whether a second obstacle exists within the detection range of the ultrasonic radar according to the second detection data of the ultrasonic radar;
[0012] a first obstacle determination module, configured to determine, if the first obstacle exists and the second obstacle does not exist, a first size of the first obstacle, track information, a relative distance and a relative speed between the vehicle and the first obstacle based on the first detection data and image data collected by the camera device;
[0013] a door opening warning determination module, configured to determine whether the vehicle meets a door opening warning condition according to the relative distance, the relative speed, the track information and the first size;
[0014] a second obstacle determination module, configured to determine a second size of the second obstacle according to the image data if there is a second obstacle, and determine whether the vehicle meets a door opening warning condition according to the second size;
[0015] The warning information determination module is used to determine the warning level if the vehicle meets the door opening warning condition, and issue a warning message based on the warning level.
[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0017] at least one processor; and
[0018] a memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the vehicle door opening warning method described in any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the vehicle door opening warning method described in any embodiment of the present invention when executed.
[0021] The technical solution of the embodiment of the present invention determines whether there is a first obstacle within the detection range of the millimeter-wave radar according to the first detection data of the millimeter-wave radar, and determines whether there is a second obstacle within the detection range of the ultrasonic radar according to the second detection data of the ultrasonic radar; if the first obstacle exists and the second obstacle does not exist, the first size, track information, relative distance and relative speed between the vehicle and the first obstacle are determined according to the first detection data and the image data collected by the camera device; according to the relative distance, relative speed, track information and the first size, it is determined whether the vehicle meets the door opening warning condition; if there is a second obstacle, the second size of the second obstacle is determined according to the image data, and whether the vehicle meets the door opening warning condition according to the second size; if the vehicle meets the door opening warning condition, the warning level is determined, and warning information is issued based on the warning level. In the above scheme, when the millimeter-wave radar detects a distant first obstacle and the ultrasonic radar does not detect a nearby second obstacle, it determines whether the vehicle meets the door opening warning condition based on the relative distance, relative speed, track information and first size between the first obstacle and the vehicle; if the ultrasonic radar detects a nearby second obstacle, it determines whether the vehicle meets the door opening warning condition based on the second size of the second obstacle; when the vehicle meets the door warning condition, a warning message is issued based on the warning level. This solves the problem of low accuracy of vehicle door opening warning due to the detection blind spot of the millimeter-wave radar when only the detection results of the millimeter-wave radar are used for vehicle door opening warning. Although the detection blind spot can be reduced to a certain extent by increasing the number of millimeter-wave radars installed on the vehicle, the cost is high. Therefore, through the synergy of millimeter-wave radar, ultrasonic radar and camera equipment, vehicle door opening warning is achieved at a low cost, and at the same time, the accuracy of vehicle door opening warning can be improved to ensure vehicle driving safety.
[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 A flow chart of a vehicle door opening warning method provided in Embodiment 1 of the present invention;
[0025] Figure 2A flow chart of a vehicle door opening warning method provided in Embodiment 2 of the present invention;
[0026] Figure 3 A flow chart of a vehicle door opening warning method provided in Embodiment 3 of the present invention;
[0027] Figure 4 A schematic diagram of the structure of a vehicle door opening warning device provided in Embodiment 4 of the present invention;
[0028] Figure 5 This is a schematic diagram of the structure of an electronic device provided in Embodiment 5 of the present invention. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first" and "second" etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "etc." and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] Embodiment 1
[0032] Figure 1 A flow chart of a vehicle door opening warning method is provided for the first embodiment of the present invention. This embodiment is applicable to the case of performing a vehicle door opening warning. The method can be executed by a vehicle door opening warning device, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device. Figure 1 As shown, the method includes:
[0033] S110. Determine whether there is a first obstacle within the detection range of the millimeter wave radar according to the first detection data of the millimeter wave radar, and determine whether there is a second obstacle within the detection range of the ultrasonic radar according to the second detection data of the ultrasonic radar.
[0034] Among them, the first detection data is the detection data of the millimeter-wave radar; the first obstacle refers to the obstacle within the detection range of the millimeter-wave radar; the second detection data is the detection data of the ultrasonic radar; the second obstacle refers to the obstacle within the detection range of the ultrasonic radar; the first obstacle and the second obstacle can be moving obstacles or stationary obstacles.
[0035] It should be noted that the door opening warning function is realized by millimeter-wave radar. Since millimeter-wave radar has low detection accuracy for nearby objects and high detection accuracy for distant objects, the detection range of millimeter-wave radar may not effectively cover all areas around the vehicle. Ultrasonic radar is cheaper and has high detection accuracy for nearby objects and low detection accuracy for distant objects. Therefore, by installing millimeter-wave radar and ultrasonic radar on the vehicle to detect obstacles around the vehicle, more accurate obstacle detection results can be obtained.
[0036] Specifically, when the vehicle is powered on and the vehicle's driving speed is less than the speed threshold, it is determined that the vehicle has a tendency to stop. When the vehicle has a tendency to stop, it is determined whether there is a first obstacle within the detection range of the millimeter-wave radar according to the first detection data of the millimeter-wave radar, and it is determined whether there is a second obstacle within the detection range of the ultrasonic radar according to the second detection data of the ultrasonic radar. The speed threshold can be set according to actual conditions.
[0037] S120: If the first obstacle exists and the second obstacle does not exist, determine a first size of the first obstacle, track information, and a relative distance and relative speed between the vehicle and the first obstacle based on the first detection data and image data collected by the camera device.
[0038] The camera device may be a binocular camera, which can imitate the function of human eyes in perceiving the distance and size of an object, and can achieve accurate perception of the object.
[0039] The image data collected by the camera device refers to the image data of the environment image around the vehicle collected by the camera device. The first size refers to the size information of the first obstacle, and the first size may include the length, width and height of the first obstacle. The track information refers to the running track and running direction of the first obstacle. The relative distance refers to the straight-line distance between the vehicle and the first obstacle. The relative speed refers to the vehicle's running speed when the first obstacle is used as a reference.
[0040] Specifically, if there is a first obstacle within the detection range of the millimeter wave radar and there is no second obstacle within the detection range of the ultrasonic radar, the position information of the first obstacle, the speed information of the first obstacle, and the track information of the first obstacle in the time period closest to the current moment are determined in real time according to the first detection data. The time period closest to the current moment can be preset. The vehicle's driving speed is determined in real time by the vehicle sensor, and the vehicle's position is determined in real time by GPS (Global Positioning System). According to the position information of the first obstacle and the position information of the vehicle, the relative distance between the vehicle and the first obstacle is determined in real time; according to the speed information of the first obstacle and the driving speed of the vehicle, the relative speed between the vehicle and the first obstacle is determined in real time. A binocular camera can be set on the vehicle, and the image information of the first obstacle is determined by the image data collected by the binocular camera. The image information of the first obstacle is recognized by the OpenCV image recognition algorithm, and the first size of the first obstacle is determined.
[0041] S130. Determine whether the vehicle meets the door opening warning condition according to the relative distance, relative speed, track information and the first size.
[0042] Among them, the door opening warning conditions can be set in advance.
[0043] Specifically, the movement trend of the first obstacle is determined based on the track information. The movement trend of the first obstacle includes the movement direction and movement speed of the first obstacle. If the relative distance between the vehicle and the first obstacle meets the relative distance condition specified in the preset door opening warning condition, the relative speed between the vehicle and the first obstacle meets the relative speed condition specified in the preset door opening warning condition, the first size meets the size condition specified in the preset door opening warning condition, or the first obstacle will make the vehicle meet the door opening warning condition within the set time according to the current movement trend, then the vehicle meets the door opening warning condition. The set time can be within five minutes.
[0044] Exemplarily, whether the vehicle meets the door opening warning condition can be determined through the following sub-steps:
[0045] S1301: Determine the relative ratio between the relative distance and the relative speed.
[0046] The relative ratio refers to the ratio of relative distance to relative speed.
[0047] Specifically, after the relative distance and relative speed between the vehicle and the first obstacle are acquired, the ratio between the relative distance and the relative speed is used as the relative ratio.
[0048] S1302: predict whether the first obstacle is within a warning range of a vehicle door opening warning when the vehicle stops, based on the vehicle's running speed, the track information and the speed information of the first obstacle.
[0049] Among them, the warning range of the vehicle door opening warning can be set according to the actual situation. For example, a circle with a radius of seven meters can be made with the center point of the vehicle as the center, and the circular range is the warning range of the vehicle door opening warning.
[0050] Specifically, if the first obstacle moves away from the vehicle at a faster speed, the obstacle may not be within the warning range when the vehicle stops; if the first obstacle is currently outside the warning range of the vehicle door opening warning, but approaches the vehicle at a faster speed, it may move into the warning range of the vehicle door opening warning when the vehicle stops. Therefore, the time required for the vehicle to stop can be determined based on the change in the vehicle's driving speed. The time required for the vehicle to stop refers to the length of time between the current moment and the moment the vehicle stops. The direction of movement of the first obstacle is determined based on the track information of the first obstacle, and the position of the first obstacle when the vehicle stops is predicted based on the time required for the vehicle to stop, the direction of movement of the first obstacle, and the speed information, and whether the position of the first obstacle when the vehicle stops is within the warning range of the vehicle door opening warning when the vehicle stops is determined.
[0051] S1303: If the relative ratio is less than the ratio threshold, the first size is greater than the size threshold, or the first obstacle is within the warning range when the vehicle stops, it is determined that the vehicle meets the door opening warning condition.
[0052] Among them, the ratio threshold and the size threshold can be set according to actual needs.
[0053] Specifically, the height size of the first obstacle is determined according to the first size. If the relative ratio is less than the ratio threshold, the height size of the first obstacle is greater than the size threshold, or the first obstacle is within the warning range when the vehicle stops, it is determined that the vehicle meets the door opening warning condition.
[0054] Whether the vehicle meets the door opening warning conditions is determined based on the relative ratio between the relative distance and the relative speed, the first size of the first obstacle, and the track information of the first obstacle. This can avoid issuing erroneous warning information when the first obstacle is moving away from the vehicle at a faster speed or the size of the first obstacle is small and will not affect the safety of opening the door, thereby improving the warning accuracy of the vehicle door opening warning.
[0055] S140: If there is a second obstacle, determine a second size of the second obstacle based on the image data, and determine whether the vehicle meets the door opening warning condition based on the second size.
[0056] The second size of the second obstacle may include a length, a width and a height of the second obstacle.
[0057] It should be noted that, since the detection distance of the ultrasonic radar is relatively short, it can only detect obstacles that are close to the vehicle. Therefore, when the ultrasonic radar detects the presence of a second obstacle within the detection range of the ultrasonic radar, it can be said that the second obstacle is already within the warning range of the vehicle door opening warning at the current moment. The image information of the second obstacle is determined through the image data collected by the camera device, and the image information of the second obstacle is recognized using the OpenCV image recognition algorithm to determine the second size of the second obstacle. The height dimension of the second obstacle in the second size is compared with the size threshold. If the height dimension of the second obstacle is greater than the size threshold, it is determined that the vehicle meets the door opening warning condition; if the height dimension of the second obstacle is less than or equal to the size threshold, it is determined that the vehicle does not meet the door opening warning condition.
[0058] S150: If the vehicle meets the door opening warning condition, determine the warning level and issue a warning message based on the warning level.
[0059] Among them, the higher the warning level, the higher the risk factor of the door opening behavior. For example, the warning level can be divided into level one warning, level two warning and level three warning. Among them, the risk factor corresponding to the level one warning is the lowest, and the risk factor corresponding to the level three warning is the highest. Different warning information can be set for different warning levels. For example, the warning information corresponding to the level one warning can be flashing lights; the warning information corresponding to the level two warning can be a text warning issued through the vehicle display while the lights are flashing; the warning information corresponding to the level three warning can be a text warning issued through the vehicle display while the lights are flashing, and a warning prompt sound is issued through the buzzer.
[0060] Specifically, if the vehicle meets the door opening warning conditions, the obstacle closest to the vehicle is determined according to the position information of the first obstacle, the position information of the second obstacle and the vehicle position of the vehicle. The warning level can be determined according to the distance between the obstacle closest to the vehicle and the vehicle. For example, it can be set that: when the distance between the obstacle closest to the vehicle and the vehicle is greater than or equal to 6 meters, the warning level is a first-level warning; when the distance between the obstacle closest to the vehicle and the vehicle is less than 6 meters and greater than 3 meters, the warning level is a second-level warning; when the distance between the obstacle closest to the vehicle and the vehicle is less than or equal to 3 meters, the warning level is a third-level warning. According to the warning level, the warning information associated with the warning level is determined, and the warning information is issued. After the warning information is issued, the central control screen of the vehicle is switched to a panoramic state, so that the driver and passengers can intuitively understand the environmental information around the vehicle through the image information played on the central control screen.
[0061] Exemplarily, the warning level can also be determined based on the door status. The specific method is: confirm the door status of the vehicle. If the door status is that the door lock is closed and the door is closed, the warning level is determined to be a level one warning, and the warning information corresponding to the level one warning is issued; if the door status is that the door lock is open and the door is closed, the warning level is determined to be a level two warning, and the warning information corresponding to the level two warning is issued; if the door status is that the door lock is closed and the door is open, the warning level is determined to be a level three warning, and the warning information corresponding to the level three warning is issued.
[0062] It can be understood that determining the warning level according to the door status and issuing different warning messages according to different warning levels can enable passengers to determine the warning reason based on the warning information and adjust the door status in time according to the warning information, thereby improving the safety of vehicle driving.
[0063] The technical solution provided by this embodiment determines whether there is a first obstacle within the detection range of the millimeter-wave radar according to the first detection data of the millimeter-wave radar, and determines whether there is a second obstacle within the detection range of the ultrasonic radar according to the second detection data of the ultrasonic radar; if the first obstacle exists and the second obstacle does not exist, the first size, track information, relative distance and relative speed between the vehicle and the first obstacle are determined according to the first detection data and the image data collected by the camera device; according to the relative distance, relative speed, track information and the first size, it is determined whether the vehicle meets the door opening warning condition; if there is a second obstacle, the second size of the second obstacle is determined according to the image data, and it is determined whether the vehicle meets the door opening warning condition according to the second size; if the vehicle meets the door opening warning condition, the warning level is determined, and a warning information is issued based on the warning level. In the above scheme, when the millimeter-wave radar detects a distant first obstacle and the ultrasonic radar does not detect a nearby second obstacle, it determines whether the vehicle meets the door opening warning condition based on the relative distance, relative speed, track information and first size between the first obstacle and the vehicle; if the ultrasonic radar detects a nearby second obstacle, it determines whether the vehicle meets the door opening warning condition based on the second size of the second obstacle; when the vehicle meets the door warning condition, a warning message is issued based on the warning level. This solves the problem of low accuracy of vehicle door opening warning due to the detection blind spot of the millimeter-wave radar when only the detection results of the millimeter-wave radar are used for vehicle door opening warning. Although the detection blind spot can be reduced to a certain extent by increasing the number of millimeter-wave radars installed on the vehicle, the cost is high. Therefore, through the synergy of millimeter-wave radar, ultrasonic radar and camera equipment, vehicle door opening warning is achieved at a low cost, and at the same time, the accuracy of vehicle door opening warning can be improved to ensure vehicle driving safety.
[0064] Embodiment 2
[0065] Figure 2This is a flow chart of a vehicle door opening warning method provided in Example 2 of the present invention. This embodiment is optimized on the basis of the above embodiment, and provides a preferred implementation scheme for determining the first size of the first obstacle, track information, the relative distance and relative speed between the vehicle and the first obstacle based on the first detection data and the image data collected by the camera device. Specifically, Figure 2 As shown, the method includes:
[0066] S210. Determine whether there is a first obstacle within the detection range of the millimeter wave radar according to the first detection data of the millimeter wave radar, and determine whether there is a second obstacle within the detection range of the ultrasonic radar according to the second detection data of the ultrasonic radar.
[0067] S220: If the first obstacle exists and the second obstacle does not exist, determine the position information, speed information and first size of the first obstacle based on the first detection data and the image data collected by the camera device, and determine the relative distance and relative speed between the vehicle and the first obstacle based on the position information and speed information.
[0068] Specifically, if the first obstacle exists and the second obstacle does not exist, the position information and speed information of the first obstacle are determined according to the first detection data. The first size of the first obstacle is determined according to the image data collected by the camera device. The driving speed of the vehicle is determined according to the vehicle sensor, and the vehicle position is determined. The relative distance between the first obstacle and the vehicle is determined according to the position information of the first obstacle and the vehicle position; the relative speed between the vehicle and the first obstacle is determined according to the speed information of the first obstacle and the driving speed of the vehicle.
[0069] Exemplarily, the relative distance and relative speed between the vehicle and the first obstacle may be determined according to the following sub-steps:
[0070] S2201. Determine candidate position and speed information of a first obstacle detected by the millimeter-wave radar according to first detection data.
[0071] The candidate position refers to the position of the first obstacle determined based on detection data of the first obstacle detected by the millimeter wave radar.
[0072] It should be noted that the millimeter-wave radar obtains the track data of the first obstacle by scanning the feature points within the detection range of the millimeter-wave radar, and clustering the scanned feature points into the position coordinates of the first obstacle in the spatial coordinate system through the point clustering processing algorithm of the millimeter-wave radar. Therefore, the millimeter-wave radar may identify the same obstacle as two obstacles. Therefore, the position of the first obstacle determined according to the first detection data can be used as a candidate position, and the speed information of the first obstacle can be determined according to the first detection data.
[0073] S2202: Correct the candidate position according to the image data collected by the camera device to determine the position information of the first obstacle.
[0074] Specifically, the image information of the first obstacle can be determined based on the image data collected by the binocular camera, and the image information of the first obstacle can be recognized using the OpenCV image recognition algorithm to determine the position of the first obstacle recognized by the binocular camera, and the position of the first obstacle recognized by the binocular camera can be used as the recognition position. The candidate position can be corrected according to the recognition position through an online calibration algorithm to determine the position information of the first obstacle.
[0075] S2203: Determine the relative distance and relative speed between the vehicle and the first obstacle based on the position information, the speed information, the driving speed of the vehicle and the vehicle position.
[0076] Specifically, the relative distance between the vehicle and the first obstacle is determined according to the vehicle position and the position information of the first obstacle; the relative speed between the vehicle and the first obstacle is determined according to the vehicle speed and the speed information of the first obstacle.
[0077] It can be understood that by correcting the candidate position of the first obstacle detected by the millimeter-wave radar based on the image data to determine the position information of the first obstacle, the accuracy of the acquired position information of the first obstacle can be improved, thereby improving the accuracy of the determined relative distance between the vehicle and the first obstacle.
[0078] S230: Determine candidate track points of the first obstacle according to historical data and current data in the first detection data.
[0079] The historical data refers to the first detection data of the millimeter wave radar in the historical time period. The historical time period can be preset, for example, it can be the ten minutes before the current time.
[0080] Specifically, the current data in the first detection data and the historical data in the specified historical time period are obtained. The current track point of the first obstacle is determined based on the current data; the historical track points are determined based on the historical data. The current track point and the specified number of historical track points closest to the current track point are used as candidate track points. For example, the specified number may be 2000.
[0081] S240: Determine whether each candidate track point belongs to the first obstacle according to the association matching algorithm, and use the candidate track points belonging to the first obstacle as associated track points of the first obstacle.
[0082] Specifically, according to the association matching algorithm, the historical track points in the candidate track points are matched with the current track points, and according to the matching results, it is determined whether each candidate track point belongs to the first obstacle. The historical track points associated with the current track point are used as candidate track points belonging to the first obstacle, and the candidate track points belonging to the first obstacle are used as associated track points of the first obstacle.
[0083] S250: Supplement the associated track points of the first obstacle according to the image data.
[0084] Specifically, since the millimeter-wave radar has a detection blind spot, when the first obstacle moves to the detection blind spot, the millimeter-wave radar cannot obtain the detection data of the first obstacle. Therefore, obtaining the associated track points of the first obstacle only through the millimeter-wave radar may cause the associated track points of the first obstacle to be incomplete. Therefore, the track points when the first obstacle moves to the detection blind spot can be extracted from the image data collected by the camera device, and the track points when the first obstacle moves to the detection blind spot can be used as supplementary track points to supplement the associated track points of the first obstacle.
[0085] S260: Determine the track information of the first obstacle according to the supplemented associated track points.
[0086] Specifically, the track information of the first obstacle may be determined according to the supplemented associated track points through a radar track processing algorithm.
[0087] S270: Determine whether the vehicle meets the door opening warning condition according to the relative distance, the relative speed, the track information and the first size.
[0088] S280: If there is a second obstacle, determine a second size of the second obstacle based on the image data collected by the camera device, and determine whether the vehicle meets the door opening warning condition based on the second size.
[0089] S290: If the vehicle meets the door opening warning condition, determine the warning level and issue a warning message based on the warning level.
[0090] The technical solution of this embodiment is to determine the first size of the first obstacle, the relative distance and relative speed between the vehicle and the first obstacle according to the first detection data and the image data when it is determined that there is a first obstacle in the detection range of the millimeter-wave radar and there is no second obstacle in the detection range of the ultrasonic radar; determine the associated track points of the first obstacle through an association matching algorithm according to the historical data and current data in the first detection data of the millimeter-wave radar, and supplement the associated track points of the first obstacle through the image data to obtain complete associated track points; determine the track information of the first obstacle according to the supplemented associated track points. The above scheme provides a preferred real-time method for the track information of the first obstacle, which can avoid the problem of large errors in the acquired track information of the first obstacle due to inaccurate radar identification, such as identifying the track points of the same obstacle as two different obstacles, or identifying the track points of two different obstacles as the track points of the same obstacle, thereby improving the accuracy of the acquired track information of the first obstacle.
[0091] Embodiment 3
[0092] Figure 3 This is a flow chart of a vehicle door opening warning method provided in Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above embodiments, and provides a preferred implementation method for planning a safe parking path and a safe parking position according to road condition information, the track information and speed information of the first obstacle. Specifically, Figure 3 As shown, the method includes:
[0093] S310. Determine whether there is a first obstacle within the detection range of the millimeter wave radar according to the first detection data of the millimeter wave radar, and determine whether there is a second obstacle within the detection range of the ultrasonic radar according to the second detection data of the ultrasonic radar.
[0094] S320: If the first obstacle exists and the second obstacle does not exist, determine the first size of the first obstacle, track information, and the relative distance and relative speed between the vehicle and the first obstacle according to the first detection data and the image data.
[0095] S330: Determine whether the vehicle meets the door opening warning condition according to the relative distance, relative speed, track information and the first size.
[0096] S340: If there is a second obstacle, determine a second size of the second obstacle based on the image data collected by the camera device, and determine whether the vehicle meets the door opening warning condition based on the second size.
[0097] S350: If the vehicle meets the door opening warning condition, determine the warning level and issue a warning message based on the warning level.
[0098] S360: Plan a safe parking path and a safe parking position for the vehicle based on the road condition information and the track information of the first obstacle.
[0099] Among them, road condition information refers to information used to characterize road driving conditions, and road condition information may include: road congestion index, lane line information, and road construction conditions. A safe parking position refers to a parking location where the vehicle door can be opened safely; a safe parking path refers to the path that the vehicle takes from its current position to the safe parking position.
[0100] Specifically, according to the lane line information and road construction conditions in the road condition information, the candidate parking points within the set range where the vehicle can get off are determined, and according to the track information of the first obstacle, the movement direction of the first obstacle is determined. The candidate parking points corresponding to the direction different from the movement direction of the first obstacle are determined as the candidate parking points. The candidate parking point with the smallest congestion index is determined as the safe parking position. The set range can be set according to the actual situation. For example, a circular range with a radius of 500 meters with the vehicle position as the center can be set as the set range. According to the road condition information and the safe parking position, a safe parking path is planned for the vehicle through a path planning algorithm.
[0101] S370: Control the vehicle to travel along the safe parking path, and issue a door opening prompt when the vehicle reaches the safe parking position.
[0102] The door opening prompt information may be a text message or a voice message.
[0103] The technical solution of this embodiment, after determining the warning level and issuing the warning information based on the warning level, plans the safe parking path and safe parking position according to the road condition information, the track information of the first obstacle and the speed information, and controls the vehicle to park at the safe parking position according to the planned safe parking path to ensure the safety when opening the door. The above solution realizes that after the vehicle triggers the door opening warning condition, the vehicle's driving path is planned in time to ensure that the vehicle is parked at a safe parking location where the door can be safely opened, so that the passengers can open the door in time to complete the exit action, which improves the intelligence of the vehicle's driving function and the driving experience of the passengers, and ensures the safety of the vehicle's door opening.
[0104] Embodiment 4
[0105] Figure 4 This is a schematic diagram of the structure of a vehicle door opening warning device provided in the fourth embodiment of the present invention. This embodiment is applicable to the case of providing a vehicle door opening warning. Figure 4 As shown, the vehicle door opening warning device includes: a detection data analysis module 410, a first obstacle determination module 420, a door opening warning determination module 430, a second obstacle determination module 440 and a warning information determination module 450.
[0106] The detection data analysis module 410 is used to determine whether there is a first obstacle within the detection range of the millimeter wave radar according to the first detection data of the millimeter wave radar, and to determine whether there is a second obstacle within the detection range of the ultrasonic radar according to the second detection data of the ultrasonic radar;
[0107] A first obstacle determination module 420, configured to determine, if the first obstacle exists and the second obstacle does not exist, a first size of the first obstacle, track information, a relative distance and a relative speed between the vehicle and the first obstacle based on the first detection data and the image data collected by the camera device;
[0108] A door opening warning determination module 430, for determining whether the vehicle meets the door opening warning condition according to the relative distance, the relative speed, the track information and the first size;
[0109] A second obstacle determination module 440 is used to determine a second size of the second obstacle according to the image data if there is a second obstacle, and determine whether the vehicle meets the door opening warning condition according to the second size;
[0110] The warning information determination module 450 is used to determine the warning level if the vehicle meets the door opening warning condition, and issue a warning message based on the warning level.
[0111] The technical solution provided by this embodiment determines whether there is a first obstacle within the detection range of the millimeter-wave radar according to the first detection data of the millimeter-wave radar, and determines whether there is a second obstacle within the detection range of the ultrasonic radar according to the second detection data of the ultrasonic radar; if the first obstacle exists and the second obstacle does not exist, the first size, track information, relative distance and relative speed between the vehicle and the first obstacle are determined according to the first detection data and the image data collected by the camera device; according to the relative distance, relative speed, track information and the first size, it is determined whether the vehicle meets the door opening warning condition; if there is a second obstacle, the second size of the second obstacle is determined according to the image data, and it is determined whether the vehicle meets the door opening warning condition according to the second size; if the vehicle meets the door opening warning condition, the warning level is determined, and a warning information is issued based on the warning level. In the above scheme, when the millimeter-wave radar detects a distant first obstacle and the ultrasonic radar does not detect a nearby second obstacle, it determines whether the vehicle meets the door opening warning condition based on the relative distance, relative speed, track information and first size between the first obstacle and the vehicle; if the ultrasonic radar detects a nearby second obstacle, it determines whether the vehicle meets the door opening warning condition based on the second size of the second obstacle; when the vehicle meets the door warning condition, a warning message is issued based on the warning level. This solves the problem of low accuracy of vehicle door opening warning due to the detection blind spot of the millimeter-wave radar when only the detection results of the millimeter-wave radar are used for vehicle door opening warning. Although the detection blind spot can be reduced to a certain extent by increasing the number of millimeter-wave radars installed on the vehicle, the cost is high. Therefore, through the synergy of millimeter-wave radar, ultrasonic radar and camera equipment, vehicle door opening warning is achieved at a low cost, and at the same time, the accuracy of vehicle door opening warning can be improved to ensure vehicle driving safety.
[0112] Exemplarily, the first obstacle determination module 420 includes:
[0113] a relative distance determination unit, configured to determine position information, speed information, and a first size of a first obstacle according to the first detection data and the image data collected by the camera device, and to determine a relative distance and a relative speed between the vehicle and the first obstacle according to the position information and the speed information;
[0114] a candidate track point determination unit, configured to determine a candidate track point of the first obstacle based on the historical data and the current data in the first detection data;
[0115] an associated track point determination unit, configured to determine whether each candidate track point belongs to the first obstacle according to an associated matching algorithm, and use the candidate track points belonging to the first obstacle as associated track points of the first obstacle;
[0116] An associated track point supplement unit, used to supplement the associated track point of the first obstacle according to the image data;
[0117] The track information determining unit is used to determine the track information of the first obstacle according to the supplemented associated track points.
[0118] Exemplarily, the relative distance determination unit is specifically used for:
[0119] Determine, according to the first detection data, candidate position and velocity information of a first obstacle detected by the millimeter-wave radar;
[0120] Correct the candidate position according to the image data collected by the camera device to determine the position information of the first obstacle;
[0121] The relative distance and relative speed between the vehicle and the first obstacle are determined according to the position information, the speed information, the driving speed of the vehicle and the vehicle position.
[0122] Exemplarily, the door opening warning determination module 430 is specifically used for:
[0123] Determine the relative ratio between relative distance and relative speed;
[0124] Predicting whether the first obstacle is within the warning range of the vehicle door opening warning when the vehicle stops, based on the vehicle's running speed, the track information and the speed information of the first obstacle;
[0125] If the relative ratio is less than the ratio threshold, the first size is greater than the size threshold, or the first obstacle is within the warning range when the vehicle stops, it is determined that the vehicle meets the door opening warning condition.
[0126] Exemplarily, the warning information determination module 450 is specifically used for:
[0127] Confirm the door status of the vehicle. If the door status is the door lock closed and the door is closed, determine the warning level as the first-level warning, and issue a warning message corresponding to the first-level warning;
[0128] If the door status is that the door lock is open and the door is closed, the warning level is determined to be a level 2 warning, and a warning message corresponding to the level 2 warning is issued;
[0129] If the door status is that the door lock is closed and the door is open, the warning level is determined to be a level three warning, and a warning message corresponding to the level three warning is issued.
[0130] Exemplarily, the vehicle door opening warning device further includes:
[0131] A parking path planning module, used to plan a safe parking path and a safe parking position for the vehicle according to the road condition information and the track information of the first obstacle;
[0132] The vehicle driving control module is used to control the vehicle to drive according to the safe parking path and issue a door opening prompt when the vehicle reaches the safe parking position.
[0133] The vehicle door opening warning device provided in this embodiment can be applied to the vehicle door opening warning method provided in any of the above embodiments, and has corresponding functions and beneficial effects.
[0134] Embodiment 5
[0135] Figure 5 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0136] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0137] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0138] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a vehicle door opening warning method.
[0139] In some embodiments, the vehicle door opening warning method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the vehicle door opening warning method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the vehicle door opening warning method in any other appropriate manner (for example, by means of firmware).
[0140] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0141] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0142] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0143] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0144] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0145] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0146] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0147] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A vehicle door opening warning method, characterized in that: include: Determine whether there is a first obstacle within the detection range of the millimeter-wave radar according to the first detection data of the millimeter-wave radar, and determine whether there is a second obstacle within the detection range of the ultrasonic radar according to the second detection data of the ultrasonic radar; If the first obstacle exists and the second obstacle does not exist, determining a first size of the first obstacle, track information, a relative distance and a relative speed between the vehicle and the first obstacle according to the first detection data and image data collected by the camera device; Determining whether the vehicle meets a door opening warning condition according to the relative distance, the relative speed, the track information and the first size; If there is a second obstacle, determining a second size of the second obstacle according to the image data, and determining whether the vehicle meets the door opening warning condition according to the second size; If the vehicle meets the door opening warning condition, determining a warning level, and issuing a warning message based on the warning level; Determining whether the vehicle meets a door opening warning condition according to the relative distance, the relative speed, the track information, and the first size includes: determining a relative ratio between the relative distance and the relative speed; predicting whether the first obstacle is within a warning range of a vehicle door opening warning when the vehicle stops, based on the running speed of the vehicle, the track information and the speed information of the first obstacle; If the relative ratio is less than a ratio threshold, the first size is greater than a size threshold, or the first obstacle is within the warning range when the vehicle stops, it is determined that the vehicle meets the door opening warning condition; The predicting, based on the driving speed of the vehicle, the track information and the speed information of the first obstacle, whether the first obstacle is within the warning range of the vehicle door opening warning when the vehicle stops includes: Determining the time required for the vehicle to stop according to the change in the driving speed of the vehicle; determining a moving direction of the first obstacle according to the track information of the first obstacle; Predicting a position of the first obstacle when the vehicle stops based on the time required for the vehicle to stop and the moving direction and speed information of the first obstacle; It is determined whether the position of the first obstacle when the vehicle stops is within a warning range of a vehicle door opening warning when the vehicle stops.
2. The method according to claim 1, characterized in that Determining a first size of the first obstacle, track information, a relative distance and a relative speed between the vehicle and the first obstacle according to the first detection data and image data collected by a camera device includes: Determine the position information, speed information and first size of the first obstacle according to the first detection data and the image data collected by the camera device, and determine the relative distance and relative speed between the vehicle and the first obstacle according to the position information and the speed information; Determining candidate track points of the first obstacle based on historical data and current data in the first detection data; Determine whether each candidate track point belongs to the first obstacle according to the association matching algorithm, and use the candidate track points belonging to the first obstacle as associated track points of the first obstacle; Supplementing the associated track points of the first obstacle according to the image data; The track information of the first obstacle is determined according to the supplemented associated track points.
3. The method according to claim 2, characterized in that Determining the position information, speed information, and first size of the first obstacle according to the first detection data and the image data collected by the camera device, and determining the relative distance and relative speed between the vehicle and the first obstacle according to the position information and the speed information, including: Determine, according to the first detection data, candidate position and velocity information of a first obstacle detected by the millimeter-wave radar; Correct the candidate position according to the image data collected by the camera device to determine the position information of the first obstacle; The relative distance and relative speed between the vehicle and the first obstacle are determined according to the position information, the speed information, the driving speed of the vehicle and the vehicle position.
4. The method according to claim 1, characterized in that: Determining a warning level and issuing warning information based on the warning level, including: Confirming the door status of the vehicle, if the door status is a door lock closed and the door is closed, determining the warning level to be a first-level warning, and issuing a warning message corresponding to the first-level warning; If the door state is a door lock open and door closed state, the warning level is determined to be a level 2 warning, and warning information corresponding to the level 2 warning is issued; If the door state is that the door lock is closed and the door is open, the warning level is determined to be a level three warning, and warning information corresponding to the level three warning is issued.
5. The method according to claim 1, characterized in that Also includes: Planning a safe parking path and a safe parking position for the vehicle according to the road condition information and the track information of the first obstacle; The vehicle is controlled to travel according to a safe parking path, and a door opening prompt message is issued when the vehicle reaches a safe parking position.
6. A vehicle door opening warning device, characterized in that: include: a detection data analysis module, configured to determine whether a first obstacle exists within the detection range of the millimeter-wave radar according to the first detection data of the millimeter-wave radar, and to determine whether a second obstacle exists within the detection range of the ultrasonic radar according to the second detection data of the ultrasonic radar; a first obstacle determination module, configured to determine, if the first obstacle exists and the second obstacle does not exist, a first size of the first obstacle, track information, a relative distance and a relative speed between the vehicle and the first obstacle based on the first detection data and image data collected by the camera device; a door opening warning determination module, configured to determine whether the vehicle meets a door opening warning condition according to the relative distance, the relative speed, the track information and the first size; a second obstacle determination module, configured to determine a second size of the second obstacle according to the image data if there is a second obstacle, and determine whether the vehicle meets a door opening warning condition according to the second size; A warning information determination module, configured to determine a warning level if the vehicle meets the door opening warning condition, and issue a warning message based on the warning level; The door opening warning determination module is specifically used for: determining a relative ratio between the relative distance and the relative speed; predicting whether the first obstacle is within a warning range of a vehicle door opening warning when the vehicle stops, based on the running speed of the vehicle, the track information and the speed information of the first obstacle; If the relative ratio is less than a ratio threshold, the first size is greater than a size threshold, or the first obstacle is within the warning range when the vehicle stops, it is determined that the vehicle meets the door opening warning condition; The predicting, based on the driving speed of the vehicle, the track information and the speed information of the first obstacle, whether the first obstacle is within the warning range of the vehicle door opening warning when the vehicle stops includes: Determining the time required for the vehicle to stop according to the change in the driving speed of the vehicle; determining a moving direction of the first obstacle according to the track information of the first obstacle; Predicting a position of the first obstacle when the vehicle stops based on the time required for the vehicle to stop and the moving direction and speed information of the first obstacle; It is determined whether the position of the first obstacle when the vehicle stops is within a warning range of a vehicle door opening warning when the vehicle stops.
7. The device according to claim 6, characterized in that The first obstacle determination module includes: a relative distance determination unit, configured to determine position information, speed information, and a first size of the first obstacle according to the first detection data and the image data collected by the camera device, and to determine a relative distance and a relative speed between the vehicle and the first obstacle according to the position information and the speed information; a candidate track point determination unit, configured to determine candidate track points of the first obstacle based on historical data and current data in the first detection data; an associated track point determination unit, configured to determine whether each candidate track point belongs to the first obstacle according to an associated matching algorithm, and use the candidate track points belonging to the first obstacle as associated track points of the first obstacle; an associated track point supplementing unit, configured to supplement the associated track points of the first obstacle according to the image data; A track information determining unit is used to determine the track information of the first obstacle according to the supplemented associated track points.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the vehicle door opening warning method according to any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the vehicle door opening warning method according to any one of claims 1 to 5 when executed.
Citation Information
Patent Citations
Surrounding environment perception system for vehicles and control method of surrounding environment perception system
CN106004659A
Vehicle door opening early warning method and device, storage medium and vehicle
CN111923833A
Track data processing method and device, vehicle and medium
CN114488065A
