Warning method and device applied to vehicle, electronic equipment and storage medium
By collecting vehicle, pedestrian and road conditions information in real time, and determining warning information display strategies related to driving intentions, the problem of poor communication between vehicles and pedestrians is solved, the traffic communication experience is optimized, and traffic accidents are reduced.
Patent Information
- Application Number
- CN202510241489.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-05-23
AI Technical Summary
Vehicles drive at low speed in places with complex road conditions, and lack effective communication methods between vehicles and pedestrians, making traffic accidents prone to traffic accidents.
By collecting vehicle information, pedestrian information and road conditions information in real time, determine the warning information display strategy associated with driving intentions, and control the vehicle's display equipment to display the corresponding warning information.
Optimize the communication experience between vehicles and pedestrians, reduce the occurrence of traffic accidents, and improve traffic efficiency and civilization.
Smart Images

Figure CN120024271A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of vehicle control technology, and in particular, to a warning method, device, electronic device, and storage medium applied to a vehicle. Background Art
[0002] Vehicles often travel at lower speeds in areas with more complicated road conditions. Pedestrians are more likely to appear around vehicles, and there is a lack of effective means of communication between vehicles and pedestrians, which can easily lead to traffic accidents.
[0003] Therefore, how to optimize the communication experience between vehicles and pedestrians is an urgent problem to be solved. Summary of the invention
[0004] The present application provides a warning method, device, electronic device and storage medium applied to a vehicle, which can optimize the communication experience between the vehicle and pedestrians.
[0005] In a first aspect, an embodiment of the present application provides a warning method applied to a vehicle, the method comprising:
[0006] Collect at least one of vehicle information, pedestrian information around the vehicle, and road condition information in real time;
[0007] Determine a display strategy of the warning information based on at least one of the vehicle information, the pedestrian information and the road condition information; the display strategy is associated with the driving intention of the driver in the vehicle;
[0008] Based on the display strategy, the display device of the vehicle is controlled to display the warning information.
[0009] In a second aspect, an embodiment of the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the warning method applied to a vehicle as described in any embodiment of the present application.
[0010] In a third aspect, an embodiment of the present application further provides a warning device applied to a vehicle, the device comprising:
[0011] An information collection module, used to collect at least one of vehicle information, pedestrian information around the vehicle, and road condition information in real time;
[0012] A display strategy determination module, used to determine a display strategy for warning information based on at least one of vehicle information, pedestrian information and road condition information; the display strategy is associated with the driving intention of the driver in the vehicle;
[0013] The warning information display module is used to control the display device of the vehicle to display warning information based on the display strategy.
[0014] In a fourth aspect, an embodiment of the present application provides an electronic device, including:
[0015] one or more processors;
[0016] a memory for storing one or more programs,
[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the warning method applied to a vehicle as described in any embodiment of the present application.
[0018] In a fifth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored. When the program is executed by a processor, the warning method applied to a vehicle as described in any embodiment of the present application is implemented.
[0019] The embodiment of the present application proposes a warning method, device, electronic device and storage medium applied to a vehicle, including: real-time collection of at least one of the vehicle information, pedestrian information and road condition information around the vehicle; based on at least one of the vehicle information, pedestrian information and road condition information, determining the display strategy of the warning information; the display strategy is associated with the driving intention of the driver in the vehicle; based on the display strategy, controlling the display device of the vehicle to display the warning information. That is to say, in the technical solution of the present application, the vehicle information, pedestrian information and road condition information are comprehensively considered to judge the driving intention of the vehicle driver; then, the corresponding warning information display strategy is determined according to the driving intention; different warning information is displayed according to different warning information display strategies, so as to realize different warnings to pedestrians according to the driving intention of the driver in different scenarios, and optimize the communication experience between vehicles and pedestrians. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 One of the flowchart diagrams of the warning method applied to a vehicle provided in one embodiment of the present application;
[0021] Figure 2 A schematic diagram of an information collection module provided in an embodiment of the present application;
[0022] Figure 3 A schematic diagram of a vehicle preset distance provided in an embodiment of the present application;
[0023] Figure 4 A second flowchart of a warning method applied to a vehicle provided in an embodiment of the present application;
[0024] Figure 5 A third flowchart of a warning method applied to a vehicle provided in an embodiment of the present application;
[0025] Figure 6A schematic diagram of the structure of a warning device applied to a vehicle provided in one embodiment of the present application;
[0026] Figure 7 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0027] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only the parts related to the present application, rather than all structures, are shown in the accompanying drawings.
[0028] In order to facilitate a clearer understanding of the embodiments of the present application, some relevant knowledge is first introduced as follows.
[0029] When vehicles are driving on the roads inside the community, congested roads, intersections (in front of the sidewalk), etc., they often have low speeds. Pedestrians are likely to appear around the vehicles, and there is a lack of effective communication between vehicles and pedestrians, which can lead to many problems. For example:
[0030] Problem 1: When driving at low speed and being blocked by pedestrians, using the horn to communicate may frighten pedestrians, especially those with underlying diseases such as heart disease. It may even cause unnecessary disputes.
[0031] Question 2: Pedestrians cannot detect when using turn signals to communicate when their backs are to the vehicle.
[0032] Question 3: Even if pedestrians spot a vehicle, since neither side can accurately judge the other's intention of moving, they may both give way to the other side or not.
[0033] Question 4: Pedestrians may change lanes at random if they are not aware of the car behind them, which may lead to a traffic accident.
[0034] Both new energy vehicles and traditional fuel vehicles will encounter the above problems, among which new energy vehicles are more serious. Because new energy vehicles do not have engines or the engines are not working, their noise is at an extremely low level compared to traditional fuel vehicles, and it is less likely to be noticed by pedestrians, and the demand for communication with pedestrians is stronger.
[0035] To summarize, in order to solve the problem of effective communication between vehicles (including new energy vehicles and traditional fuel vehicles) and pedestrians when driving at low speeds, optimize the communication experience between vehicles and pedestrians, and make traffic more efficient and civilized, the embodiments of the present application propose a warning method, device, electronic device and storage medium applied to vehicles.
[0036] Figure 1This is one of the flowcharts of a warning method applied to a vehicle provided by an embodiment of the present application. The method can be executed by a warning device or electronic device applied to a vehicle. The device or electronic device can be implemented by software and / or hardware. The device or electronic device can be integrated in any smart device with network communication function. Figure 1 , the warning method applied to the vehicle may include the following steps:
[0037] Step 101: collect at least one of vehicle information, pedestrian information around the vehicle, and road condition information in real time.
[0038] In the embodiment of the present application, the above information can be collected using an information collection module, such as a camera, a radar, a gear sensor, a vehicle speed sensor, etc. Figure 2 This is a schematic diagram of an information collection module provided in one embodiment of the present application. Figure 2 As shown, a front-view camera, a rear-view camera, a side-view camera and a radar are exemplarily shown on the vehicle.
[0039] In practical applications, vehicle information includes vehicle location information, gear information (such as P gear, N gear, D gear, R gear, etc.) and vehicle speed information. The vehicle's location information can be collected using the vehicle's positioning system; the vehicle's gear information can be collected using the gear sensor; and the vehicle's speed information can be collected using the vehicle's speed sensor.
[0040] The road condition information includes the road condition on which the vehicle is traveling, such as intersections, narrow alleys, etc. The pedestrian information includes whether there are pedestrians within a preset distance around the vehicle. Figure 3 This is a schematic diagram of a vehicle preset distance provided by an embodiment of the present application. Figure 3 As shown, the preset distance around the vehicle is: 3m in front of the front of the vehicle, 3m behind the rear of the vehicle, and the dotted area surrounded by 0.5m on both sides of the vehicle.
[0041] Step 102: Determine a display strategy for warning information based on at least one of vehicle information, pedestrian information, and road condition information; the display strategy is associated with the driving intention of the driver in the vehicle.
[0042] In the embodiment of the present application, the driver's driving intention can be comprehensively judged based on information such as vehicle position, vehicle gear, vehicle speed, road conditions, pedestrian distance, etc. Driving intentions include, for example, giving priority to vehicles, waiting for pedestrians to have priority, and alerting potential pedestrians around the vehicle that there are vehicles passing through this section of the road.
[0043] In practical applications, based on at least one of the vehicle information, pedestrian information and road condition information, a warning information display strategy for different driving intentions can be determined. For example, if the driving intention is: vehicle priority, the warning information display strategy can be: control the vehicle's display device to display the first warning information; for example, use the vehicle's external speaker to play the engine simulation sound.
[0044] For another example, if the driving intention is to wait for pedestrians to have priority, the warning information display strategy may be to control the vehicle's display device to display the second warning information; for example, use the vehicle's external speaker to play a voice message, such as "Please go first" or other prompts.
[0045] For another example, if the driving intention is to warn potential pedestrians around the vehicle that a vehicle is passing through this road section, the warning information display strategy may be: controlling the vehicle's display device to display a third warning message; for example, using the vehicle's external speaker to play a voice message with the content being "A vehicle is passing here, please pay attention to avoid it" and other prompts.
[0046] It should be noted that the first warning information, the second warning information, and the third warning information may be user-defined content to be displayed, and the content of the above warning information may be the same or different.
[0047] For example, if the driving intention is to warn potential pedestrians around the vehicle that a vehicle is passing through this road section, the warning information display strategy is to control the vehicle's display device to display the third warning information; the third warning information is to use the vehicle's external speaker to play the engine simulation sound. In other words, the content of the third warning information can also be the same as the content of the first warning information mentioned above.
[0048] In actual applications, users can define the content of each warning message according to the applicable scenario, and the embodiments of the present application are not limited here.
[0049] Step 103: Based on the display strategy, control the display device of the vehicle to display warning information.
[0050] In the embodiment of the present application, the display device may be an external speaker, a display screen, etc. of the vehicle.
[0051] The embodiment of the present application proposes a warning method applied to vehicles, which comprehensively considers vehicle information, pedestrian information and road condition information to judge the driving intention of the vehicle driver; then determines a corresponding warning information display strategy according to the driving intention; displays different warning information according to different warning information display strategies, thereby realizing different warnings to pedestrians according to the driver's driving intention in different scenarios, and optimizing the communication experience between vehicles and pedestrians.
[0052] Optionally, based on the display strategy, controlling the display device of the vehicle to display the warning information specifically includes any of the following:
[0053] Scenario 1: Based on the first display strategy, the display device is controlled to display the first warning information; the first warning information is information to warn pedestrians around the vehicle to give way.
[0054] In the embodiment of the present application, the first warning information is, for example, an engine simulation sound effect played in an external speaker of the vehicle. When the driving intention is "vehicle priority", the sound effect is used to warn pedestrians around the vehicle to give way.
[0055] In view of the above situation 1, based on at least one of the vehicle information, pedestrian information and road condition information, a display strategy of the warning information is determined, which can be specifically implemented by the following steps:
[0056] When the vehicle information and pedestrian information meet the first preset condition, the display strategy is determined to be the first display strategy; wherein the first preset condition is: the vehicle information indicates that the vehicle is in a driving state and the vehicle speed is lower than a first threshold; the pedestrian information indicates that there are pedestrians within a first preset distance around the vehicle.
[0057] In practical applications, the vehicle is in driving state, which means that the gear of the vehicle is in D gear (forward gear) or R gear (reverse gear); the first threshold value can be, for example, 20km / h; the first preset distance can be, for example, 3m in front of the vehicle, 3m behind the rear of the vehicle, and 0.5m on both sides of the vehicle.
[0058] That is to say, when the vehicle is in D or R gear, the speed is lower than 20km / h, and there are pedestrians 3m in front of the vehicle, 3m behind the rear of the vehicle, and 0.5m on both sides of the vehicle, the engine simulation sound will be played in the vehicle's external speakers.
[0059] Scenario 2: Based on the second display strategy, the display device is controlled to display the second warning information; the second warning information is information prompting pedestrians to have priority.
[0060] In the embodiment of the present application, the second warning information is, for example: playing a voice prompt in the vehicle's external speaker, and the voice prompt content is "Please go first, I'm not in a hurry" and the like.
[0061] When the driving intention is "waiting for pedestrians to have priority", this sound effect is used to prompt pedestrians around the vehicle to have priority.
[0062] For the above situation 2, based on at least one of the vehicle information, pedestrian information and road condition information, a display strategy of the warning information is determined, which can be specifically implemented by the following steps:
[0063] When the vehicle information, pedestrian information and road condition information meet the second preset condition, the display strategy is determined to be the second display strategy; wherein the second preset condition is: the vehicle information indicates that the vehicle is in driving state and the vehicle speed is lower than the second threshold; the pedestrian information indicates that there are pedestrians within a second preset distance around the vehicle; the road condition information indicates that there is a traffic light on the current driving section of the vehicle and the traffic light is in a state allowing the vehicle to pass.
[0064] That is to say, when the vehicle is in D or R gear, the speed is lower than the second threshold, there are pedestrians 3m in front of the vehicle, 3m behind the rear of the vehicle and 0.5m on both sides of the vehicle, and the vehicle is detected at the intersection through positioning or camera, and the traffic light is detected to be green, a voice prompt "Please go first, I'm not in a hurry" is played in the vehicle's external speakers.
[0065] It should be noted that the first threshold, the second threshold, and the third threshold mentioned in the embodiments of this specification may be the same or different; the first preset distance, the second preset distance, and the third preset distance may be the same or different.
[0066] Scenario three: based on the third display strategy, controlling the display device to display the third warning information; the third warning information is information that warns that a vehicle is currently passing.
[0067] In the embodiment of the present application, the third warning information is, for example: playing a voice prompt in the vehicle's external speaker, and the voice prompt content is "There is a vehicle passing here, please pay attention to avoid it" and the like.
[0068] When the driving intention is "warning potential pedestrians around the vehicle that a vehicle is passing this road section", this sound effect is used to warn that a vehicle is currently passing.
[0069] For the above situation three, based on at least one of the vehicle information, pedestrian information and road condition information, a display strategy of the warning information is determined, which can be specifically achieved by the following steps:
[0070] When the vehicle information and road condition information meet the third preset condition, the display strategy is determined to be the third display strategy; wherein the third preset condition is: the vehicle information indicates that the vehicle is in driving state and the vehicle speed is lower than the third threshold; the road condition information indicates that the distance between the two sides of the vehicle and the obstacle is less than the third preset distance.
[0071] In actual applications, obstacles can be walls, bushes, green belts, etc. When the camera detects that when the vehicle is driving on a narrow road (the distance between the two sides of the vehicle and the obstacle is less than the third preset distance, such as 0.5m), such as a narrow alley, or a road full of parked vehicles, pedestrians may suddenly appear (commonly known as ghost heads). In this road condition, the vehicle continues to play the third warning information, such as the engine simulation sound or voice prompt "There is a vehicle passing here, please pay attention to avoid it", until the vehicle leaves the road condition.
[0072] Optionally, for the above scenario 1, after controlling the display device to display the first warning information based on the first display strategy, the following steps are further included:
[0073] When the display device displays the first warning information for a first preset time, it is determined whether the pedestrian information meets a fourth preset condition; the fourth preset condition is: the pedestrian information indicates that there are no pedestrians within a first preset distance around the vehicle.
[0074] In the embodiment of the present application, the first preset duration is, for example, 10 seconds. That is, in practical applications, if the duration of playing the engine simulation sound effect in the external speaker of the vehicle exceeds 10 seconds, it is necessary to determine whether there are still pedestrians within the first preset distance around the vehicle.
[0075] Scenario a), when the pedestrian information meets the fourth preset condition, the display device is controlled to stop displaying the first warning information.
[0076] That is to say, if there are no pedestrians within the first preset distance around the vehicle, the speaker stops playing the engine simulation sound effect.
[0077] Scenario b): When the pedestrian information does not satisfy the fourth preset condition, the display device is controlled to enhance the first warning information.
[0078] That is to say, if there are still pedestrians within the first preset distance around the vehicle, the first warning information needs to be enhanced.
[0079] There are many ways to enhance the processing, such as increasing the volume of the speaker playing the engine simulation sound effect, or enhancing the first warning information by continuously flashing the vehicle's high beam.
[0080] Optionally, after controlling the display device to perform enhancement processing on the first warning information, the following steps are further included:
[0081] When the display device is controlled to perform enhanced processing on the first warning information for a second preset time period, it is determined whether the pedestrian information meets a fourth preset condition.
[0082] That is to say, when the volume of the speaker playing the engine simulation sound effect is increased to reach the second preset time (taking 10 seconds as an example), it is determined whether there are still pedestrians within the first preset distance around the vehicle.
[0083] Scenario 1) When the pedestrian information meets the fourth preset condition, the display device is controlled to stop displaying the first warning information.
[0084] Scenario 2) When the pedestrian information does not meet the fourth preset condition, a warning request message is generated; the warning request message is used to request whether to display the first warning information and the fourth warning information on the display device; the fourth warning information is a voice prompt information that warns pedestrians around the vehicle to give way.
[0085] For example, when the volume of the speaker playing the engine simulation sound effect is increased for 10 seconds and there are still pedestrians at the first preset distance around the vehicle, a warning request message is generated, for example: asking the driver whether to play the fourth warning message, the fourth warning message is such as a polite inquiry: "Hello, can I pass first, thank you" or "Hello, please make way, thank you".
[0086] For the above scenario 2), there are the following solutions:
[0087] Mode 1: upon receiving a first response instruction from a user to a warning request message, displaying the first warning information and the fourth warning information on a display device; the first response instruction is used to indicate that the user agrees to display the fourth warning information.
[0088] Method 2: upon receiving a second response instruction from the user to the warning request message, generating a warning stop request message; the second response instruction is used to indicate that the user does not agree to display the fourth warning information; the warning stop request message is used to request whether to stop displaying the first warning information on the display device.
[0089] When receiving a third response instruction from the user to the warning stop request message, controlling the display device to stop displaying the first warning information; the third response instruction is used to indicate that the user agrees to stop displaying the first warning information;
[0090] When receiving the fourth response instruction from the user to the warning stop request message, the display device is controlled to continue displaying the first warning information until the pedestrian information meets the fourth preset condition, and then the first warning information is stopped; the fourth response instruction is used to indicate that the user does not agree to stop displaying the first warning information.
[0091] Optionally, for the above-mentioned method 1, after the display device displays the first warning information and the fourth warning information, the following steps are further included:
[0092] When the display device is controlled to display the first warning information and the fourth warning information for a third preset time, determining whether the pedestrian information meets a fourth preset condition;
[0093] When the pedestrian information meets the fourth preset condition, controlling the display device to stop displaying the first warning information and the fourth warning information;
[0094] If the pedestrian information does not meet the fourth preset condition, generating a warning information continuous display request message; the warning information continuous display request message is used to request continuous display of the fourth warning information;
[0095] Upon receiving a fifth response instruction from the user for a request message for continuous display of the warning information, controlling the display device to continuously display the first warning information and the fourth warning information; the fifth response instruction is used to indicate that the user agrees to continuously display the fourth warning information;
[0096] When a sixth response instruction is received from the user for requesting the continuous display of the warning information, a warning stop request message is generated; the sixth response instruction is used to indicate that the user does not agree to continuously display the first warning information and the fourth warning information.
[0097] It should be noted that after the warning stop request message is generated, the process returns to the scenario of executing the above-mentioned method 2.
[0098] Optionally, for the above scenario 2, after controlling the display device to display the second warning information based on the second display strategy, the following steps are further included:
[0099] When it is detected that the vehicle is in a state of continuous acceleration, and / or the pedestrian information satisfies the fifth preset condition, controlling the display device to stop displaying the second warning information;
[0100] Among them, the fifth preset condition is: the pedestrian information indicates that there are no pedestrians within a second preset distance around the vehicle.
[0101] The warning method applied to a vehicle provided in the embodiment of the present application is further described below with reference to specific examples. Figure 4 The second flowchart of the warning method applied to a vehicle provided by an embodiment of the present application is as follows: Figure 4 As shown, the following steps are included:
[0102] Step 1. Start.
[0103] Step 2: Determine whether the vehicle gear is in P (stop) gear?
[0104] If yes, return to step 1; if no, determine whether the vehicle speed is ≤20km / h?
[0105] If the vehicle speed is greater than 20 km / h, return to step 2; if the vehicle speed is less than or equal to 20 km / h, proceed to step 3.
[0106] Step 3: Determine whether there are pedestrians within the preset distance?
[0107] If not, go back to step 2; if so, go to step 4.
[0108] Step 4: The vehicle's external speakers play the simulated engine sound.
[0109] Step 5: After 10 seconds, determine whether there are pedestrians within the preset distance?
[0110] If not, stop playing the engine simulation sound; if so, go to step 6.
[0111] Step 6: Ask the driver whether to play the polite question.
[0112] Case 1: If a polite inquiry is played, the polite inquiry is played.
[0113] After 10 seconds, determine whether there are pedestrians within the preset distance?
[0114] If there are no pedestrians, the engine simulation sound will stop playing. If there are pedestrians, the driver will be asked whether to continue playing the polite inquiry.
[0115] If the polite inquiry continues to be played, the polite inquiry is played; if the polite inquiry is stopped, step 7 is executed.
[0116] Case 2: If the polite inquiry is not played, go directly to step 7.
[0117] Step 7: If the polite inquiry is not played, the driver is asked whether to stop playing the engine simulation sound. If yes (stop playing the engine simulation sound), the engine simulation sound is stopped; if no (do not stop playing the engine simulation sound), the engine simulation sound is played continuously, and at the same time, it is determined whether there are pedestrians within the preset distance of the vehicle. If there are pedestrians, the engine simulation sound is played continuously, and if there are no pedestrians, the engine simulation sound is stopped.
[0118] Figure 5 The third flow chart of the warning method applied to a vehicle provided in an embodiment of the present application is as follows: Figure 5 As shown, the following steps are included:
[0119] Step 1. Start.
[0120] Step 2: Determine whether the vehicle is at the intersection. If not, then end. If yes, proceed to step 3.
[0121] Step 3: Determine whether the light is green. If not, then end. If yes, proceed to step 4.
[0122] Step 4: Determine whether there are pedestrians within the preset distance. If not, then end. If yes, proceed to step 5.
[0123] Step 5: Determine whether the vehicle speed is ≤ 20 km / h. If not, then end. If yes, proceed to step 6.
[0124] Step 6: Ask the driver whether to play the polite yielding message. If not, then end. If yes, proceed to step 7.
[0125] Step 7: The vehicle's external speakers play the polite language to give way.
[0126] Figure 6 This is a schematic diagram of the structure of a warning device applied to a vehicle provided in one embodiment of the present application. Figure 6 As shown, the warning device applied to a vehicle includes:
[0127] The information collection module 601 is used to collect at least one of the vehicle information, pedestrian information around the vehicle and road condition information in real time;
[0128] A display strategy determination module 602 is used to determine a display strategy for warning information based on at least one of vehicle information, pedestrian information and road condition information; the display strategy is associated with the driving intention of the driver in the vehicle;
[0129] The warning information display module 603 is used to control the display device of the vehicle to display the warning information based on the display strategy.
[0130] The embodiment of the present application proposes a warning device applied to a vehicle, which comprehensively considers vehicle information, pedestrian information and road condition information to judge the driving intention of the vehicle driver; then determines a corresponding warning information display strategy according to the driving intention; displays different warning information according to different warning information display strategies, thereby realizing different warnings to pedestrians according to the driver's driving intention in different scenarios, and optimizing the communication experience between vehicles and pedestrians.
[0131] Optionally, the warning information display module 603 is further used for any of the following:
[0132] Based on the first display strategy, controlling the display device to display the first warning information; the first warning information is information to warn pedestrians around the vehicle to give way;
[0133] Based on the second display strategy, controlling the display device to display the second warning information; the second warning information is information prompting pedestrians to have priority passage;
[0134] Based on the third display strategy, the display device is controlled to display the third warning information; the third warning information is information that warns that a vehicle is currently passing.
[0135] Optionally, the display strategy determination module 602 is further configured to:
[0136] When the vehicle information and the pedestrian information meet the first preset condition, the display strategy is determined to be the first display strategy; wherein the first preset condition is: the vehicle information indicates that the vehicle is in a driving state and the vehicle speed is lower than a first threshold; the pedestrian information indicates that there are pedestrians within a first preset distance around the vehicle;
[0137] When the vehicle information, pedestrian information and road condition information meet the second preset condition, the display strategy is determined to be the second display strategy; wherein the second preset condition is: the vehicle information indicates that the vehicle is in a driving state and the vehicle speed is lower than a second threshold; the pedestrian information indicates that there are pedestrians within a second preset distance around the vehicle; the road condition information indicates that there is a traffic light on the current driving section of the vehicle and the traffic light is in a state of allowing vehicles to pass;
[0138] When the vehicle information and road condition information meet the third preset condition, the display strategy is determined to be the third display strategy; wherein the third preset condition is: the vehicle information indicates that the vehicle is in driving state and the vehicle speed is lower than the third threshold; the road condition information indicates that the distance between the two sides of the vehicle and the obstacle is less than the third preset distance.
[0139] Optionally, the device further comprises:
[0140] A first judgment module is used to judge whether the pedestrian information meets a fourth preset condition when the display device displays the first warning information for a first preset time; the fourth preset condition is: the pedestrian information indicates that there are no pedestrians within a first preset distance around the vehicle;
[0141] A first stop display module, used for controlling the display device to stop displaying the first warning information when the pedestrian information meets the fourth preset condition;
[0142] The warning information enhancement module is used to control the display device to enhance the first warning information when the pedestrian information does not meet the fourth preset condition.
[0143] Optionally, the device further comprises:
[0144] A second judgment module is used to judge whether the pedestrian information meets a fourth preset condition when the display device is controlled to perform enhanced processing on the first warning information for a second preset time period;
[0145] A second display stop module, used for controlling the display device to stop displaying the first warning information when the pedestrian information meets the fourth preset condition;
[0146] A warning request message generating module, used for generating a warning request message when the pedestrian information does not meet the fourth preset condition; the warning request message is used for requesting whether to display the first warning information and the fourth warning information on the display device; the fourth warning information is a voice prompt information for warning pedestrians around the vehicle to give way;
[0147] The first warning information and the fourth warning information display module are used to display the first warning information and the fourth warning information on the display device when receiving the first response instruction of the user to the warning request message; the first response instruction is used to indicate that the user agrees to display the fourth warning information;
[0148] A first warning stop request message generating module is used to generate a warning stop request message when receiving a second response instruction from the user to the warning request message; the second response instruction is used to indicate that the user does not agree to display the fourth warning information; the warning stop request message is used to request whether to stop displaying the first warning information on the display device;
[0149] The first warning information stop display module is used to control the display device to stop displaying the first warning information when receiving a third response instruction from the user to the warning stop request message; the third response instruction is used to indicate that the user agrees to stop displaying the first warning information;
[0150] The first warning information continuous display module is used to control the display device to continuously display the first warning information when receiving the fourth response instruction from the user to the warning stop request message, and stop displaying the first warning information after the pedestrian information meets the fourth preset condition; the fourth response instruction is used to indicate that the user does not agree to stop displaying the first warning information.
[0151] Optionally, the device further comprises:
[0152] A third judgment module is used to judge whether the pedestrian information meets a fourth preset condition when the display device is controlled to display the first warning information and the fourth warning information for a third preset time period;
[0153] A first warning information and a fourth warning information stop display module, used to control the display device to stop displaying the first warning information and the fourth warning information when the pedestrian information meets the fourth preset condition;
[0154] A warning information continuous display request message generating module, used for generating a warning information continuous display request message when the pedestrian information does not meet the fourth preset condition; the warning information continuous display request message is used for requesting continuous display of the fourth warning information;
[0155] The first warning information and the fourth warning information continuous display module is used to control the display device to continuously display the first warning information and the fourth warning information when receiving the fifth response instruction of the user to the warning information continuous display request message; the fifth response instruction is used to indicate that the user agrees to continuously display the fourth warning information;
[0156] The second warning stop request message generating module is used to generate a warning stop request message when receiving a sixth response instruction from the user to the warning information continuous display request message; the sixth response instruction is used to indicate that the user does not agree to continuously display the first warning information and the fourth warning information.
[0157] Optionally, the device further comprises:
[0158] A second warning information stopping display module, used to control the display device to stop displaying the second warning information when it is detected that the vehicle is in a continuous acceleration state and / or the pedestrian information meets the fifth preset condition;
[0159] The fifth preset condition is: the pedestrian information indicates that there are no pedestrians within a second preset distance around the vehicle.
[0160] like Figure 7 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).
[0161] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0162] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.
[0163] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 7 not shown, usually called a "hard drive"). Although Figure 7 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical medium) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present application.
[0164] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0165] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 12, and / or may communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the electronic device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although Figure 7 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0166] The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28, such as implementing the warning method applied to the vehicle provided in the embodiment of the present application.
[0167] The embodiment of the present application also provides a computer storage medium.
[0168] The computer-readable storage medium of the embodiment of the present application can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, - but not limited to - a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive lists) of computer-readable storage media include: an electrical connection with one or more wires, 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 above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, a device or a device or used in combination with it.
[0169] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0170] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0171] Computer program code for performing the operation of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).
[0172] The embodiment of the present application also provides a computer program product.
[0173] Various embodiments 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 embodiments can include: being implemented in one or more computer program products, which can include one or more computer programs, which 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, which 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.
[0174] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. A warning method applied to a vehicle, characterized in that: The method comprises: Collect at least one of vehicle information of the vehicle, pedestrian information around the vehicle, and road condition information in real time; Determining a display strategy of warning information based on at least one of the vehicle information, the pedestrian information and the road condition information; the display strategy is associated with the driving intention of the driver in the vehicle; Based on the display strategy, a display device of the vehicle is controlled to display the warning information.
2. The warning method for a vehicle according to claim 1, characterized in that: The controlling the display device of the vehicle to display the warning information based on the display strategy includes any one of the following: Based on the first display strategy, controlling the display device to display the first warning information; The first warning information is information for warning pedestrians around the vehicle to give way; Based on the second display strategy, controlling the display device to display a second warning message; the second warning message is a message prompting pedestrians to have priority; Based on the third display strategy, the display device is controlled to display third warning information; the third warning information is information that warns that a vehicle is currently passing.
3. The warning method for a vehicle according to claim 2, characterized in that: The determining of a display strategy of the warning information based on at least one of the vehicle information, the pedestrian information and the road condition information includes any one of the following: In the case where the vehicle information and the pedestrian information meet a first preset condition, determining that the display strategy is the first display strategy; wherein the first preset condition is: the vehicle information indicates that the vehicle is in a driving state and the vehicle speed is lower than a first threshold; the pedestrian information indicates that there are pedestrians within a first preset distance around the vehicle; In the case where the vehicle information, the pedestrian information and the road condition information meet the second preset condition, the display strategy is determined to be the second display strategy; wherein the second preset condition is: the vehicle information indicates that the vehicle is in a driving state and the vehicle speed is lower than a second threshold; the pedestrian information indicates that there are pedestrians within a second preset distance around the vehicle; the road condition information indicates that there is a traffic light on the current driving section of the vehicle and the traffic light is in a state of allowing vehicles to pass; When the vehicle information and the road condition information meet the third preset condition, the display strategy is determined to be the third display strategy; wherein the third preset condition is: the vehicle information indicates that the vehicle is in a driving state and the vehicle speed is lower than a third threshold; the road condition information indicates that the distance between the two sides of the vehicle and the obstacle is less than a third preset distance.
4. The warning method applied to a vehicle according to claim 2 or 3, characterized in that: After controlling the display device to display the first warning information based on the first display strategy, the method further includes: When the display device displays the first warning information for a first preset time, determining whether the pedestrian information meets a fourth preset condition; the fourth preset condition is: the pedestrian information indicates that there are no pedestrians within the first preset distance around the vehicle; When the pedestrian information meets the fourth preset condition, controlling the display device to stop displaying the first warning information; When the pedestrian information does not satisfy the fourth preset condition, the display device is controlled to perform enhanced processing on the first warning information.
5. The warning method for a vehicle according to claim 4, characterized in that: After controlling the display device to perform enhancement processing on the first warning information, the method further includes: When the display device is controlled to perform enhanced processing on the first warning information for a second preset time period, determining whether the pedestrian information meets the fourth preset condition; When the pedestrian information meets the fourth preset condition, controlling the display device to stop displaying the first warning information; If the pedestrian information does not meet the fourth preset condition, a warning request message is generated; the warning request message is used to request whether to display the first warning information and the fourth warning information on the display device; the fourth warning information is a voice prompt information to warn pedestrians around the vehicle to give way; In the case of receiving a first response instruction from the user to the warning request message, displaying the first warning information and the fourth warning information on the display device; the first response instruction is used to indicate that the user agrees to display the fourth warning information; generating a warning stop request message upon receiving a second response instruction from the user to the warning request message; the second response instruction is used to indicate that the user does not agree to display the fourth warning information; the warning stop request message is used to request whether to stop displaying the first warning information on the display device; When receiving a third response instruction from the user to the warning stop request message, controlling the display device to stop displaying the first warning information; the third response instruction is used to indicate that the user agrees to stop displaying the first warning information; When receiving the fourth response instruction from the user to the warning stop request message, the display device is controlled to continue displaying the first warning information until the pedestrian information meets the fourth preset condition, and then the first warning information is stopped; the fourth response instruction is used to indicate that the user does not agree to stop displaying the first warning information.
6. The warning method for a vehicle according to claim 5, characterized in that: After the display device displays the first warning information and the fourth warning information, the method further includes: When the display device is controlled to display the first warning information and the fourth warning information for a third preset time, determining whether the pedestrian information meets the fourth preset condition; When the pedestrian information satisfies the fourth preset condition, controlling the display device to stop displaying the first warning information and the fourth warning information; If the pedestrian information does not satisfy the fourth preset condition, generating a warning information continuous display request message; the warning information continuous display request message is used to request continuous display of the fourth warning information; Upon receiving a fifth response instruction from the user for a request message for continuous display of the warning information, controlling the display device to continuously display the first warning information and the fourth warning information; the fifth response instruction is used to indicate that the user agrees to continuously display the fourth warning information; When a sixth response instruction is received from the user for the request message for continuous display of the warning information, the warning stop request message is generated; the sixth response instruction is used to indicate that the user does not agree to continuously display the first warning information and the fourth warning information.
7. The warning method for a vehicle according to claim 3, characterized in that: After controlling the display device to display the second warning information based on the second display strategy, the method further includes: When it is detected that the vehicle is in a state of continuous acceleration, and / or the pedestrian information satisfies a fifth preset condition, controlling the display device to stop displaying the second warning information; The fifth preset condition is that the pedestrian information indicates that there are no pedestrians within the second preset distance around the vehicle.
8. A warning device applied to a vehicle, characterized in that: The device comprises: An information collection module, used to collect at least one of vehicle information, pedestrian information around the vehicle, and road condition information in real time; A display strategy determination module, used to determine a display strategy for warning information based on at least one of the vehicle information, the pedestrian information and the road condition information; the display strategy is associated with the driving intention of the driver in the vehicle; The warning information display module is used to control the display device of the vehicle to display the warning information based on the display strategy.
9. An electronic device, characterized in that: include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the warning method applied to a vehicle as described in any one of claims 1 to 7.
10. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, a warning method applied to a vehicle as claimed in any one of claims 1 to 7 is implemented.