Prompting method and device, equipment and storage medium
By integrating the obstacle information obtained by the radar and camera, combined with the vehicle's motion state, accurate prompt information is provided, which solves the problem of low accuracy of information obtained based on radar in the prior art, and reduces the risk of traffic accidents and congestion.
Patent Information
- Application Number
- CN202510247922.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-06-27
AI Technical Summary
In the prior art, when a vehicle is driving on the road, the information of the front vehicle obtained based on the radar is relatively accurate, and the traffic light status cannot be obtained when the navigation system is not turned on, resulting in inaccurate or missing information, which increases the risk of traffic accidents and congestion.
By combining the obstacle information acquired by the radar and camera, the fusion process is used to determine more accurate obstacle types and information, and in combination with the current vehicle's motion state, accurate prompt information is determined and provided.
Improve the accuracy of obstacle information, thereby enhancing the accuracy of prompt information and reducing the risk of traffic accidents and congestion caused by inaccurate prompt information.
Smart Images

Figure CN120207368A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of intelligent transportation, and particularly relates to a prompting method, device, equipment, and storage medium. Background Art
[0002] In the prior art, when a current vehicle is driving on a road, it often obtains information about the vehicle in front of the current vehicle through a radar, or obtains the current traffic light status or information about the vehicle in front through a navigation system, so as to remind the driver to drive the current vehicle correctly based on the information about the vehicle in front or the traffic light status. However, the accuracy of obtaining vehicle information based only on the radar is relatively low. When the current vehicle does not turn on the navigation system, it is impossible to obtain the current traffic light status or information about the vehicle in front through the navigation system. When the accuracy of the obtained information about the vehicle in front is relatively low, or the information about the vehicle in front and the traffic light information cannot be obtained, and when the driver is distracted, reminding the driver to drive the current vehicle correctly based on the relatively inaccurate information about the vehicle in front or not making any prompt to the driver easily leads to traffic accidents or traffic jams. Therefore, in the prior art, there is a lack of a method for determining prompt information with relatively high accuracy to reduce the risk of traffic accidents and traffic jams. Summary of the Invention
[0003] The embodiments of this application provide an implementation solution different from the prior art to solve the technical problem of the lack of a method for determining prompt information with relatively high accuracy.
[0004] In a first aspect, this application provides a prompting method, including: obtaining a first obstacle type and a second obstacle type of an obstacle in front of the current vehicle, where the first obstacle type is obtained based on a radar, and the second obstacle type is obtained based on a camera; performing a fusion process on the first obstacle type and the second obstacle type to obtain a target obstacle type, where the target obstacle type is any one of the following types: vehicle, pedestrian, traffic light; if the target obstacle type is a vehicle or a pedestrian, obtaining first obstacle information and second obstacle information of the obstacle, where the first obstacle information includes: a first speed of the obstacle obtained based on the radar and a first distance between the obstacle and the current vehicle, and the second obstacle information includes: a second speed of the obstacle obtained based on the camera and a second distance between the obstacle and the current vehicle; obtaining a motion state of the current vehicle; determining first prompt information based on the motion state, the first obstacle information, and the second obstacle information, where the first prompt information is used to prompt the driver of the current vehicle to drive the current vehicle according to the prompt of the first prompt information.
[0005] In a second aspect, the present application provides a prompting device, comprising: an acquisition unit configured to acquire a first obstacle type and a second obstacle type of an obstacle in front of a current vehicle, wherein the first obstacle type is acquired based on radar, and the second obstacle type is acquired based on a camera; a processing unit configured to perform fusion processing on the first obstacle type and the second obstacle type to obtain a target obstacle type, wherein the target obstacle type is any one of the following types: vehicle, pedestrian, traffic light; the acquisition unit is further configured to, if the target obstacle type is a vehicle or a pedestrian, acquire first obstacle information and second obstacle information of the obstacle, wherein the first obstacle information includes: a first speed of the obstacle acquired based on radar and a first distance between the obstacle and the current vehicle, and the second obstacle information includes: a second speed of the obstacle acquired based on the camera and a second distance between the obstacle and the current vehicle; the acquisition unit is further configured to acquire a motion state of the current vehicle; a determination unit configured to determine first prompt information based on the motion state, the first obstacle information, and the second obstacle information, wherein the first prompt information is used to prompt a driver of the current vehicle to drive the current vehicle according to the prompt of the first prompt information.
[0006] In a third aspect, the present application provides an electronic device, comprising: a processor; and a memory configured to store executable instructions of the processor; wherein the processor is configured to execute any method in the first aspect or any possible implementation manner of the first aspect by executing the executable instructions.
[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, any method in the first aspect or any possible implementation manner of the first aspect is implemented.
[0008] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising a computer program, and when the computer program is executed by a processor, any method described in the first aspect or any possible implementation manner of the first aspect is implemented.
[0009] The present application provides a method for obtaining a first obstacle type and a second obstacle type of an obstacle in front of a current vehicle. The first obstacle type is obtained based on radar, and the second obstacle type is obtained based on a camera. The first obstacle type and the second obstacle type are fused to obtain a target obstacle type, where the target obstacle type is any one of the following types: vehicle, pedestrian, traffic light. If the target obstacle type is a vehicle or a pedestrian, first obstacle information and second obstacle information of the obstacle are obtained. The first obstacle information includes: a first speed of the obstacle obtained based on radar and a first distance between the obstacle and the current vehicle. The second obstacle information includes: a second speed of the obstacle obtained based on the camera and a second distance between the obstacle and the current vehicle. The motion state of the current vehicle is obtained. A first prompt information is determined based on the motion state, the first obstacle information, and the second obstacle information, where the first prompt information is used to prompt a driver of the current vehicle to drive the current vehicle according to the prompt of the first prompt information. The first obstacle information obtained based on radar and the second obstacle information obtained based on the camera are combined with the motion state of the current vehicle to determine the first prompt information. This makes the obtained obstacle information more accurate, and thus makes the determined first prompt information more accurate. Prompting the driver to drive the current vehicle based on the more accurate first prompt information reduces the risk of traffic accidents or traffic jams when the obtained obstacle information is inaccurate, resulting in inaccurate first prompt information or no prompt. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts. In the drawings:
[0011] Figure 1 is a schematic flowchart of a prompting method provided by an embodiment of the present application;
[0012] Figure 2 is a schematic structural diagram of a prompting device provided by an embodiment of the present application;
[0013] Figure 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0014] Embodiments of the present application will be described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present application, and should not be construed as limiting the present application.
[0015] In the description of the specification, claims and drawings of the embodiments of the present application, terms such as "first" and "second" 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 may be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order different from those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily limit to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0016] In the prior art, when a current vehicle is driving on a road, the information of the vehicle in front of the current vehicle is often obtained through a radar, or the current traffic light state or the information of the vehicle in front is obtained through a navigation system, so as to remind the driver to drive the current vehicle correctly based on the information of the vehicle in front or the traffic light state. However, the accuracy of obtaining vehicle information only based on the radar is relatively low. When the current vehicle does not turn on the navigation system, the current traffic light state or the information of the vehicle in front cannot be obtained through the navigation system. When the accuracy of the obtained information of the vehicle in front is relatively low, or the information of the vehicle in front and the traffic light information cannot be obtained, and when the driver is distracted, it is easy to cause traffic accidents or traffic jams by prompting the driver to drive the current vehicle correctly based on the relatively inaccurate information of the vehicle in front or not making any prompt to the driver. For example, when the driver is driving the current vehicle and following the vehicle in front or waiting for the green light of the traffic light to turn on, the driver is in a distracted state and does not notice that the vehicle in front that has stopped has left, or does not notice that the green light has turned on. At this time, there is no reminder information, or the vehicle behind the current vehicle cannot pass, causing a certain traffic jam, resulting in the vehicle behind urging, affecting the driving experience of the driver, or the information of the vehicle in front obtained based on the radar is inaccurate, or the traffic light information is inaccurate. When the vehicle that has stopped has driven or the green light has turned on, the information of the vehicle that has stopped is still stationary or the green light has not turned on, resulting in the current vehicle not being able to start in time, affecting the normal passage of other vehicles behind, and thus causing a certain traffic jam. Therefore, in the prior art, there is a lack of a method for determining a prompt information with relatively high accuracy to reduce the risk of traffic accidents and traffic jams.
[0017] The following uses specific embodiments to elaborate in detail on the technical solution of this application and how the technical solution of this application solves the above technical problems. These several specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be elaborated in some embodiments. The embodiments of this application will be described below in conjunction with the accompanying drawings.
[0018] Figure 1 FIG. is a schematic flowchart of a prompting method provided for an exemplary embodiment of this application. The execution subject of this method can be a server or an in-vehicle server. This method at least includes the following steps S101 - S105:
[0019] S101. Obtain a first obstacle type and a second obstacle type of an obstacle in front of the current vehicle. Among them, the first obstacle type is obtained based on a radar, and the second obstacle type is obtained based on a camera.
[0020] Optionally, the first obstacle type includes any one of the following types: vehicle, pedestrian, traffic light. Among them, the vehicle includes a motor vehicle and a non-motor vehicle.
[0021] Optionally, the second obstacle type includes any one of the following types: vehicle, pedestrian, traffic light. Among them, the vehicle includes a motor vehicle and a non-motor vehicle.
[0022] Optionally, the radar obtains the first obstacle type of the obstacle and uploads the first obstacle type to the server or the in-vehicle server.
[0023] Optionally, the camera obtains the second obstacle type of the obstacle and uploads the second obstacle type to the server or the in-vehicle server.
[0024] S102. Perform a fusion process on the first obstacle type and the second obstacle type to obtain a target obstacle type. Among them, the target obstacle type is any one of the following types: vehicle, pedestrian, traffic light.
[0025] Optionally, the fusion process refers to a process of combining data of the same or different obstacle types from the radar and the camera to obtain a more comprehensive, accurate, and reliable obstacle type.
[0026] S103. If the target obstacle type is a vehicle or a pedestrian, obtain a first obstacle information and a second obstacle information of the obstacle. Among them, the first obstacle information includes: a first speed of the obstacle obtained based on the radar and a first distance between the obstacle and the current vehicle, and the second obstacle information includes: a second speed of the obstacle obtained based on the camera and a second distance between the obstacle and the current vehicle.
[0027] Optionally, the radar uploads the first obstacle information obtained to the server or the vehicle-mounted server, and the camera uploads the second obstacle information obtained to the server or the vehicle-mounted server.
[0028] Optionally, if the target obstacle type is a vehicle, the first speed and the second speed refer to the speed when the vehicle is moving or stationary; if the target obstacle type is a pedestrian, the first speed and the second speed refer to the speed when the pedestrian is walking or standing still, where the speeds of the vehicle being stationary and the pedestrian standing still are 0.
[0029] Optionally, the method further includes the following steps S1-S2:
[0030] S1. If the target obstacle type is a traffic light, obtain the motion state of the current vehicle and the color of the traffic light.
[0031] Optionally, obtain the color of the traffic light based on the camera, and upload the color to the server or the vehicle-mounted server.
[0032] Optionally, the motion state includes a driving state and a stationary state.
[0033] S2. Determine the second prompt information based on the motion state and the color.
[0034] Optionally, in the foregoing S2, the determining the second prompt information based on the motion state and the color includes: if the motion state is the driving state and the color is red or yellow, determine that the second prompt information is the prompt information for prompting the driver of the current vehicle about the color of the traffic light at the intersection ahead.
[0035] Optionally, the second prompt information may also be the prompt information for prompting the driver of the current vehicle about the color of the traffic light at the intersection ahead and the operation information of driving the vehicle.
[0036] Exemplarily, if the motion state is the driving state and the color is red or yellow, the second prompt information may be "The traffic light at the intersection ahead is red or yellow". If the motion state is the driving state and the color is red or yellow, the second prompt information may also be "The traffic light at the intersection ahead is red or yellow, please slow down and brake".
[0037] Optionally, in the foregoing S2, the determining the second prompt information based on the motion state and the color includes: if the motion state is the driving state and the color is green, determine that the second prompt information is the prompt information for prompting the driver of the current vehicle about the color of the traffic light at the intersection ahead.
[0038] Exemplarily, if the motion state is the driving state and the color is green, the second prompt message may be "The traffic light at the intersection ahead is green". If the motion state is the driving state and the color is green, the second prompt message may also be "The traffic light at the intersection ahead is green. Please drive carefully".
[0039] Optionally, in the foregoing S2, determining the second prompt message based on the motion state and the color includes: if the motion state is the stationary state and the color is green, determining that the second prompt message is a prompt message for prompting the driver of the current vehicle about the color of the traffic light at the intersection ahead.
[0040] Exemplarily, if the motion state is the stationary state and the color is green, the second prompt message may be "The traffic light at the intersection ahead is green". If the motion state is the stationary state and the color is green, the second prompt message may also be "The traffic light at the intersection ahead is green. Please start and leave".
[0041] Optionally, in the foregoing S2, determining the second prompt message based on the motion state and the color includes: if the motion state is the stationary state and the color is red or yellow, determining that the second prompt message is a prompt message for prompting the driver of the current vehicle about the color of the traffic light at the intersection ahead.
[0042] Exemplarily, if the motion state is the stationary state and the color is red or yellow, the second prompt message may be "The traffic light at the intersection ahead is red or yellow". If the motion state is the stationary state and the color is red or yellow, the second prompt message may also be "The traffic light at the intersection ahead is red or yellow. Please wait patiently".
[0043] S104. Obtain the motion state of the current vehicle;
[0044] S105. Determine a first prompt message based on the motion state, the first obstacle information, and the second obstacle information, where the first prompt message is used to prompt the driver of the current vehicle to drive the current vehicle according to the prompt of the first prompt message.
[0045] Optionally, in the foregoing S105, determining the first prompt message based on the motion state, the first obstacle information, and the second obstacle information includes the following steps S1051 - S1052:
[0046] S1051. Perform a fusion process on the first obstacle information and the second obstacle information to obtain third obstacle information, where the third obstacle information includes the third speed of the obstacle and the third distance between the obstacle and the current vehicle;
[0047] Optionally, the first speed in the first obstacle information and the second speed in the second obstacle information are fused to obtain a third speed. The first distance in the first obstacle information and the second distance in the second obstacle information are fused to obtain a third distance, and the third distance and the third speed are used as the third obstacle information.
[0048] S1052. Determine a first prompt message based on the motion state and the third obstacle information.
[0049] Optionally, in the foregoing S1052, the determining the first prompt message based on the motion state and the third obstacle information includes the following steps S01 - S02:
[0050] S01. Determine whether the obstacle is outside the safe driving range of the current vehicle based on the motion state and the third obstacle information. If so, determine that the first prompt message is a prompt message for prompting the driver of the current vehicle to start driving;
[0051] Exemplarily, the first prompt message may be "The obstacle ahead has left. Please proceed."
[0052] Optionally, in the foregoing S01, the determining whether the obstacle is outside the safe driving range of the current vehicle based on the motion state and the third obstacle information includes: If the motion state is a stationary state, the third distance is outside a preset distance range, and the third speed is greater than a preset speed threshold, it is determined that the obstacle is outside the safe driving range of the current vehicle.
[0053] Exemplarily, the preset distance range is not greater than 16 meters. The preset speed threshold is 1.5 meters per second. This is only for illustrative purposes here, and the preset distance range and the preset speed threshold can be set based on actual requirements.
[0054] S02. If not, determine that the first prompt message is a prompt message for prompting the driver of the current vehicle to wait.
[0055] Optionally, the method further includes the following steps S001 - S002:
[0056] S001. Obtain the switch state of the central control switch of the current vehicle, the first detection information of the camera, the second detection information of the radar, and the gear position of the gearbox of the current vehicle;
[0057] S002. If the switch state is on, the first detection information indicates that the camera is normal, the second detection information indicates that the radar is normal, and the gear of the transmission is not in reverse gear, then trigger the step of obtaining the first obstacle type and the second obstacle type of the obstacle in front of the current vehicle.
[0058] Optionally, the method further includes: displaying and broadcasting the first prompt information on the dashboard of the current vehicle.
[0059] In summary, the present application provides a method for obtaining the first obstacle type and the second obstacle type of the obstacle in front of the current vehicle, where the first obstacle type is obtained based on the radar, and the second obstacle type is obtained based on the camera; performing fusion processing on the first obstacle type and the second obstacle type to obtain a target obstacle type, where the target obstacle type is any one of the following types: vehicle, pedestrian, traffic light; if the target obstacle type is a vehicle or a pedestrian, then obtain the first obstacle information and the second obstacle information of the obstacle, where the first obstacle information includes: the first speed of the obstacle obtained based on the radar and the first distance between the obstacle and the current vehicle, and the second obstacle information includes: the second speed of the obstacle obtained based on the camera and the second distance between the obstacle and the current vehicle; obtain the motion state of the current vehicle; determine the first prompt information based on the motion state, the first obstacle information, and the second obstacle information, where the first prompt information is used to prompt the driver of the current vehicle to drive the current vehicle according to the prompt of the first prompt information. The first prompt information is determined based on the first obstacle information obtained by the radar and the second obstacle information obtained by the camera, and in combination with the motion state of the current vehicle. This makes the obtained obstacle information more accurate, and thus makes the determined first prompt information more accurate. Prompting the driver to drive the current vehicle based on the more accurate first prompt information reduces the risk of traffic accidents or traffic jams when the first prompt information is inaccurate or not prompted due to inaccurate obtained obstacle information.
[0060] Specifically, by fusing the first obstacle information obtained by the radar and the second obstacle information obtained by the camera, more accurate obstacle information is obtained, so that the accuracy of providing relevant driving prompts to the driver based on the obstacle information is higher. For example, at a traffic intersection or in a congested section, by obtaining accurate obstacle information, more accurate prompt information can be obtained to prompt the driver about the relevant information of the vehicle, pedestrian or traffic light ahead, so as to help the driver drive the vehicle accurately and avoid accidents such as the current vehicle running a red light by mistake, colliding with the vehicle ahead or being rear-ended by the following vehicle due to the driver's distraction or poor vision. This greatly improves the traffic efficiency and driving safety. The types of the first obstacle and the second obstacle obtained by the radar are also fused, so that the determined type of the obstacle is more accurate.
[0061] In addition, this solution can realize traffic intersection safety reminders based on the existing software and hardware, saving costs, effectively alleviating the driver's anxiety when driving at traffic intersections or in congested sections, and providing a better driving experience and safe driving environment.
[0062] Figure 2 The following is a schematic structural diagram of a prompting device provided by an exemplary embodiment of the present application; wherein, the device includes:
[0063] An obtaining unit 21, configured to obtain a first obstacle type and a second obstacle type of an obstacle in front of the current vehicle, wherein the first obstacle type is obtained based on a radar, and the second obstacle type is obtained based on a camera;
[0064] A processing unit 22, configured to perform fusion processing on the first obstacle type and the second obstacle type to obtain a target obstacle type, wherein the target obstacle type is any one of the following types: vehicle, pedestrian, traffic light;
[0065] The obtaining unit 21 is further configured to, if the target obstacle type is a vehicle or a pedestrian, obtain first obstacle information and second obstacle information of the obstacle, wherein the first obstacle information includes: a first speed of the obstacle obtained based on the radar and a first distance between the obstacle and the current vehicle, and the second obstacle information includes: a second speed of the obstacle obtained based on the camera and a second distance between the obstacle and the current vehicle;
[0066] The obtaining unit 21 is further configured to obtain the motion state of the current vehicle;
[0067] A determination unit 23, configured to determine first prompt information based on the motion state, the first obstacle information, and the second obstacle information, where the first prompt information is used to prompt the driver of the current vehicle to drive the current vehicle according to the prompt of the first prompt information.
[0068] Optionally, the device is further configured to, if the target obstacle type is a traffic light, obtain the motion state of the current vehicle and the color of the traffic light; and determine second prompt information based on the motion state and the color.
[0069] Optionally, when the device is configured to determine the second prompt information based on the motion state and the color, it is specifically configured to: if the motion state is a driving state and the color is red or yellow, determine that the second prompt information is prompt information for prompting the driver of the current vehicle about the color of the traffic light at the intersection ahead.
[0070] Optionally, when the device is configured to determine the first prompt information based on the motion state, the first obstacle information, and the second obstacle information, it is specifically configured to: perform a fusion process on the first obstacle information and the second obstacle information to obtain third obstacle information, where the third obstacle information includes the third speed of the obstacle and the third distance between the obstacle and the current vehicle; and determine the first prompt information based on the motion state and the third obstacle information.
[0071] Optionally, when the device is configured to determine the first prompt information based on the motion state and the third obstacle information, it is specifically configured to: determine whether the obstacle is outside the safe driving range of the current vehicle based on the motion state and the third obstacle information; if so, determine that the first prompt information is prompt information for prompting the driver of the current vehicle to start driving; if not, determine that the first prompt information is prompt information for prompting the driver of the current vehicle to wait.
[0072] Optionally, when the device is configured to determine whether the obstacle is outside the safe driving range of the current vehicle based on the motion state and the third obstacle information, it is specifically configured to: if the motion state is a stationary state, the third distance is outside a preset distance range, and the third speed is greater than a preset speed threshold, determine that the obstacle is outside the safe driving range of the current vehicle.
[0073] Optionally, the device is further configured to: obtain the switch state of the central control switch of the current vehicle, the first detection information of the camera, the second detection information of the radar, and the gear position of the gearbox of the current vehicle; if the switch state is on, the first detection information indicates that the camera is normal, the second detection information indicates that the radar is normal, and the gear position is not in reverse gear, then trigger the step of obtaining the first obstacle type and the second obstacle type of the obstacle in front of the current vehicle.
[0074] Optionally, the device is further configured to: display and broadcast the first prompt information on the instrument panel of the current vehicle.
[0075] It should be understood that the device embodiments and the method embodiments can correspond to each other, and similar descriptions can refer to the method embodiments. To avoid repetition, it will not be elaborated here. Specifically, the device can execute the above method embodiments, and the foregoing and other operations and / or functions of each module in the device respectively correspond to the corresponding processes in each method in the above method embodiments. For the sake of brevity, it will not be elaborated here.
[0076] The device of the embodiment of the present application has been described above from the perspective of functional modules. It should be understood that the functional modules can be implemented in the form of hardware, or can be implemented by instructions in the form of software, or can be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiments in the present application can be completed by the integrated logic circuit in the hardware in the processor and / or instructions in the form of software. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as being executed and completed by the hardware decoding processor, or can be executed and completed by a combination of the hardware and software modules in the decoding processor. Optionally, the software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the steps in the above method embodiments.
[0077] Figure 3 is a schematic block diagram of an electronic device provided by an embodiment of the present application. The electronic device may include:
[0078] A memory 301 and a processor 302. The memory 301 is used to store a computer program and transmit the program code to the processor 302. In other words, the processor 302 can call and run the computer program from the memory 301 to implement the method in the embodiment of the present application.
[0079] For example, the processor 302 can be used to execute the above method embodiments according to the instructions in the computer program.
[0080] In some embodiments of the present application, the processor 302 may include, but is not limited to:
[0081] a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like.
[0082] In some embodiments of the present application, the memory 301 includes, but is not limited to:
[0083] a volatile memory and / or a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synch link DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0084] In some embodiments of the present application, the computer program may be divided into one or more modules, and the one or more modules are stored in the memory 301 and executed by the processor 302 to complete the method provided by the present application. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.
[0085] Such asFigure 3 As shown, the electronic device may further include:
[0086] A transceiver 303, which may be connected to the processor 302 or the memory 301.
[0087] Wherein, the processor 302 may control the transceiver 303 to communicate with other devices. Specifically, it may send information or data to other devices, or receive information or data sent by other devices. The transceiver 303 may include a transmitter and a receiver. The transceiver 303 may further include an antenna, and the number of antennas may be one or more.
[0088] It should be understood that the various components in the electronic device are connected through a bus system. Among them, the bus system includes, in addition to a data bus, a power bus, a control bus, and a status signal bus.
[0089] This application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a computer, the computer can execute the method in the above method embodiment. Or rather, this application embodiment also provides a computer program product containing instructions. When the instructions are executed by a computer, the computer executes the method in the above method embodiment.
[0090] When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to this application embodiment is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that the computer can access, or a data storage device such as a server or data center that includes one or more integrated available media. The available medium may be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a digital video disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)), etc.
[0091] Those of ordinary skill in the art can realize that the modules and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0092] In several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of devices or modules can be electrical, mechanical, or other forms.
[0093] The modules described as separate components may or may not be physically separated. The components shown as modules may or may not be physical modules, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. For example, in each embodiment of this application, the functional modules can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module.
[0094] The above is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed in this application can easily think of changes or substitutions, which should all be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims
1. A prompting method, characterized in that: include: Acquire a first obstacle type and a second obstacle type of an obstacle in front of the current vehicle, wherein the first obstacle type is acquired based on a radar, and the second obstacle type is acquired based on a camera; The first obstacle type and the second obstacle type are fused to obtain a target obstacle type, wherein the target obstacle type is any one of the following types: vehicle, pedestrian, and traffic light; If the target obstacle type is a vehicle or a pedestrian, first obstacle information and second obstacle information of the obstacle are obtained, wherein the first obstacle information includes: a first speed of the obstacle obtained based on a radar and a first distance between the obstacle and the current vehicle, and the second obstacle information includes: a second speed of the obstacle obtained based on a camera and a second distance between the obstacle and the current vehicle; Obtaining the motion state of the current vehicle; First prompt information is determined based on the motion state, the first obstacle information, and the second obstacle information, wherein the first prompt information is used to prompt the driver of the current vehicle to drive the current vehicle according to the prompt of the first prompt information.
2. The method according to claim 1, characterized in that If the target obstacle type is a traffic light, obtaining the motion state of the current vehicle and the color of the traffic light; Second prompt information is determined based on the motion state and the color.
3. The method according to claim 2, characterized in that The determining the second prompt information based on the motion state and the color includes: If the motion state is a driving state, and the color is red or yellow, it is determined that the second prompt information is prompt information for prompting the driver of the current vehicle of the color of the traffic light at the intersection ahead.
4. The method according to claim 1, characterized in that: The determining the first prompt information based on the motion state, the first obstacle information and the second obstacle information includes: fusing the first obstacle information and the second obstacle information to obtain third obstacle information, wherein the third obstacle information includes a third speed of the obstacle and a third distance between the obstacle and the current vehicle; The first prompt information is determined based on the motion state and the third obstacle information.
5. The method according to claim 4, characterized in that The determining the first prompt information based on the motion state and the third obstacle information includes: determining whether the obstacle is located outside the safe driving range of the current vehicle based on the motion state and the third obstacle information, and if so, determining that the first prompt information is prompt information for prompting the driver of the current vehicle to start driving; If not, it is determined that the first prompt information is prompt information for prompting the driver of the current vehicle to wait.
6. The method according to claim 5, characterized in that The determining whether the obstacle is located outside the safe driving range of the current vehicle based on the motion state and the third obstacle information includes: If the motion state is a stationary state, the third distance is outside a preset distance range, and the third speed is greater than a preset speed threshold, it is determined that the obstacle is outside a safe driving range of the current vehicle.
7. The method according to claim 1, characterized in that The method further comprises: Acquire the switch state of the central control switch of the current vehicle, the first detection information of the camera, the second detection information of the radar, and the gear position of the gearbox of the current vehicle; If the switch state is on, the first detection information indicates that there is no abnormality with the camera, the second detection information indicates that there is no abnormality with the radar, and the transmission gear is not a reverse gear, then the steps of obtaining the first obstacle type and the second obstacle type of the obstacle in front of the current vehicle are triggered.
8. A prompting device, characterized in that: include: an acquisition unit, configured to acquire a first obstacle type and a second obstacle type of an obstacle in front of the current vehicle, wherein the first obstacle type is acquired based on a radar, and the second obstacle type is acquired based on a camera; a processing unit, configured to fuse the first obstacle type and the second obstacle type to obtain a target obstacle type, wherein the target obstacle type is any one of the following types: a vehicle, a pedestrian, or a traffic light; The acquisition unit is further configured to acquire first obstacle information and second obstacle information of the obstacle if the target obstacle type is a vehicle or a pedestrian, wherein the first obstacle information includes: a first speed of the obstacle acquired based on a radar and a first distance between the obstacle and the current vehicle, and the second obstacle information includes: a second speed of the obstacle acquired based on a camera and a second distance between the obstacle and the current vehicle; The acquisition unit is further used to acquire the motion state of the current vehicle; A determination unit is used to determine first prompt information based on the motion state, the first obstacle information and the second obstacle information, wherein the first prompt information is used to prompt the driver of the current vehicle to drive the current vehicle according to the prompt of the first prompt information.
9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 7 by executing the executable instructions.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.