Driving voice prompt method and device, computer equipment, readable storage medium and program product
By generating and playing driving prompt voices, the driver is guided to perform standardized operations in different driving scenarios of autonomous vehicles, which solves the problem of autonomous vehicles requiring driver intervention in complex scenarios and improves the driver's driving level and safety. .
Patent Information
- Application Number
- CN202410801584.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-27
AI Technical Summary
Autonomous vehicles can achieve autonomous driving in specific environments, but they still require driver intervention in complex driving scenarios, making it difficult for novice drivers or people with poor skills to master the actual driving process, which poses safety risks and existing accompanying drivers. Service is expensive and unreliable.
Provide a driving voice prompt method. By obtaining automatic driving decisions, decision reasons and driving scenarios, the pre-configured voice prompt library is used to generate driving prompt voices to guide the driver to perform standardized driving operations in different scenarios and improve the driver's driving performance. level and safety.
By converting automatic driving decisions into driving prompt voices, the driver is guided to manual driving, which improves the driver's driving level and driving safety, reduces irregular operations, and reduces safety hazards.
Smart Images

Figure CN118701091A
Abstract
Description
Technical Field
[0001] The present application relates to the field of autonomous driving technology, and in particular to a driving voice prompt method, device, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] The realization of autonomous driving functions relies on advanced sensing technology, computing power and machine learning algorithms. Autonomous driving systems use a variety of sensors (such as lidar, cameras, ultrasonic sensors, GPS, etc.) to perceive the surrounding environment, and perform real-time positioning and navigation based on the sensors and the data obtained by these sensors. The system uses this data to make decisions and control actions according to predefined rules and learned patterns to achieve safe and efficient autonomous driving. For example, lidar can scan the surrounding environment and measure the distance and shape of objects, and cameras can identify road signs, vehicles and pedestrians. By combining the data from these sensors, the autonomous driving system can establish a perception of the environment and generate a real-time scene model. Based on the scene model and map data, the system uses algorithms to plan paths and driving strategies, and considers factors such as traffic rules, driving safety and efficiency, predicts the dynamic behavior of other vehicles and pedestrians, and makes decisions such as acceleration, deceleration, lane change and parking. Finally, the control system executes these decisions through the vehicle's brakes, accelerator and steering systems.
[0003] The L1, L2, L3, and L4 levels of autonomous driving represent different degrees of automation. L1 (assisted driving) means that the vehicle can provide some basic driving assistance functions, such as adaptive cruise control (ACC) and lane departure warning systems, but the driver still needs to monitor road conditions and be ready to take over the vehicle at any time. L2 (partial automation) means that the vehicle can perform more complex driving tasks, such as automatic parking and lane keeping systems, while the driver needs to monitor road conditions and take over the vehicle when necessary. L3 (conditional automation) means that the vehicle can automatically perform driving tasks under specific circumstances, but the driver needs to be prepared to regain control of the vehicle when the system requests it. L4 (high automation) means that the vehicle can be fully autonomous under specific circumstances, and the driver can greatly reduce intervention, but still needs to be prepared to take over the vehicle in certain situations. Each level represents a stage in the development of autonomous driving technology. From L1 to L4, the degree of automation of the vehicle gradually increases, but at the same time, it is also accompanied by a gradual decrease in the requirements for driver attention and control ability.
[0004] At present, vehicles with relatively high levels of autonomous driving on the market can reach L3 or L4 levels, but even L4 level autonomous driving functions are still implemented in specific environments. Although with the continuous development of autonomous driving technology, the requirements for drivers to pay attention to the road and control ability have become lower, but in the actual use of the car, there will be a large number of scenarios where autonomous driving functions cannot be used, and there are still certain requirements for the driver's driving ability. Continuously improving driving skills is an urgent need for novice drivers, and improving driving skills is also to ensure driving safety.
[0005] For novice drivers or people with poor driving skills, they often need someone with skilled driving skills to guide them when driving. There are also accompanying driving services on the market that specialize in guiding and training driving skills, but they are expensive, the training costs are high, and there is no guarantee that there will always be an accompanying driver during the actual use of the car. When these drivers encounter some scenes with higher driving difficulty, they often feel at a loss and even make mistakes in a hurry, posing a safety hazard. Summary of the invention
[0006] Based on this, it is necessary to provide a driving voice prompt method, device, computer equipment, computer-readable storage medium and computer program product that can improve driving safety in response to the above technical problems.
[0007] In a first aspect, the present application provides a driving voice prompt method, comprising:
[0008] During vehicle driving, obtain autonomous driving decisions, decision reasons and driving scenarios;
[0009] According to the autonomous driving decision, decision reason and driving scenario, a target voice segment is obtained from a pre-configured voice prompt library; the voice prompt library includes a plurality of voice segments with feature tags, and the feature tags are used to characterize the autonomous driving decision, decision reason or driving scenario corresponding to the corresponding voice segment;
[0010] A driving prompt voice is generated according to the target voice segment; the driving prompt voice is used to guide the driver to perform manual driving.
[0011] In one embodiment, obtaining the autonomous driving decision, decision reasons, and driving scenarios includes:
[0012] Determine a driving scenario based on the vehicle's environmental information, and generate an autonomous driving decision and decision reasons based on the vehicle's driving information and driving scenario;
[0013] Identify the vehicle's driving mode; driving modes are divided into guidance mode and autonomous driving mode;
[0014] When the vehicle is in guidance mode, obtain autonomous driving decisions, decision reasons and driving scenarios;
[0015] When the vehicle is in the autonomous driving mode, the autonomous driving decision is obtained and the autonomous driving decision is executed to control the vehicle to perform autonomous driving.
[0016] In one embodiment, according to the autonomous driving decision, the decision reason and the driving scenario, a target voice segment is obtained from a pre-configured voice prompt library, including:
[0017] According to the driving scenario, a first voice segment is obtained from a voice prompt library; a feature label of the first voice segment corresponds to the driving scenario;
[0018] According to the decision reason, a second voice segment is obtained from the voice prompt library; the feature label of the second voice segment corresponds to the decision reason;
[0019] According to the autonomous driving decision, a third voice segment is obtained from the voice prompt library; a feature label of the third voice segment corresponds to the autonomous driving decision;
[0020] The first voice segment, the second voice segment and the third voice segment are used as target voice segments.
[0021] In one embodiment, generating a driving prompt speech according to a target speech segment includes:
[0022] Obtaining a preset voice combination sequence in the voice prompt library; the voice combination sequence is used to represent the combination sequence of voice segments with different feature labels;
[0023] According to the voice combination order, the first voice segment, the second voice segment and the third voice segment are combined to obtain the driving prompt voice.
[0024] In one embodiment, the configuration method of the voice prompt library includes:
[0025] Obtain autonomous driving decision samples, decision reason samples and driving scenario samples; autonomous driving decision samples include accelerating, decelerating, changing lanes to the right, changing lanes to the left, avoiding to the right, avoiding to the left, reversing, turning on the left turn signal, turning on the right turn signal, turning the steering wheel to the right and turning the steering wheel to the left; decision reason samples include below the speed limit, above the speed limit, other vehicles driving slowly, other vehicles cutting into the driving lane, the distance from other vehicles is greater than the normal following distance, the distance from other vehicles is less than the safe following distance, not centering, driving on the line, avoiding pedestrians and non-motor vehicles, large vehicles running in parallel, other vehicles braking suddenly, running in parallel with large vehicles, traffic light changes, running red lights, insufficient lighting and insufficient visibility; driving scenario samples include starting, merging, going straight, changing lanes, overtaking, turning, U-turning, following and stopping, parallel parking and reversing into a garage;
[0026] Configure speech segments corresponding to autonomous driving decision samples, decision reason samples, and driving scenario samples, and add corresponding feature labels to each speech segment;
[0027] Configure the arrangement order between autonomous driving decision samples, decision reason samples and driving scene samples as the speech combination order of speech segments with different feature labels;
[0028] A voice prompt library is obtained according to the voice combination sequence, each voice segment and the feature label of each voice segment.
[0029] In one embodiment, the method further comprises:
[0030] When a voice human-computer interaction instruction is obtained, suspending the step of generating a driving prompt voice according to the target voice segment until the human-computer interaction operation corresponding to the voice human-computer interaction instruction is completed;
[0031] Alternatively, when a mobile phone call signal is obtained, the step of generating a driving prompt voice according to the target voice segment is suspended, and text prompt information is generated according to the target voice segment until the mobile phone call signal is interrupted.
[0032] In a second aspect, the present application also provides a driving voice prompt device, comprising:
[0033] An acquisition module is used to obtain the autonomous driving decision, decision reasons and driving scenarios during vehicle driving;
[0034] A query module, for obtaining a target voice segment from a pre-configured voice prompt library according to the autonomous driving decision, decision reason and driving scenario; the voice prompt library includes a plurality of voice segments with feature tags, and the feature tags are used to characterize the autonomous driving decision, decision reason or driving scenario corresponding to the corresponding voice segment;
[0035] The guidance module is used to generate a driving prompt voice according to the target voice segment; the driving prompt voice is used to guide the driver to perform manual driving.
[0036] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0037] During vehicle driving, obtain autonomous driving decisions, decision reasons and driving scenarios;
[0038] According to the autonomous driving decision, decision reason and driving scenario, a target voice segment is obtained from a pre-configured voice prompt library; the voice prompt library includes a plurality of voice segments with feature tags, and the feature tags are used to characterize the autonomous driving decision, decision reason or driving scenario corresponding to the corresponding voice segment;
[0039] A driving prompt voice is generated according to the target voice segment; the driving prompt voice is used to guide the driver to perform manual driving.
[0040] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0041] During vehicle driving, obtain autonomous driving decisions, decision reasons and driving scenarios;
[0042] According to the autonomous driving decision, decision reason and driving scenario, a target voice segment is obtained from a pre-configured voice prompt library; the voice prompt library includes a plurality of voice segments with feature tags, and the feature tags are used to characterize the autonomous driving decision, decision reason or driving scenario corresponding to the corresponding voice segment;
[0043] A driving prompt voice is generated according to the target voice segment; the driving prompt voice is used to guide the driver to perform manual driving.
[0044] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0045] During vehicle driving, obtain autonomous driving decisions, decision reasons and driving scenarios;
[0046] According to the autonomous driving decision, decision reason and driving scenario, a target voice segment is obtained from a pre-configured voice prompt library; the voice prompt library includes a plurality of voice segments with feature tags, and the feature tags are used to characterize the autonomous driving decision, decision reason or driving scenario corresponding to the corresponding voice segment;
[0047] A driving prompt voice is generated according to the target voice segment; the driving prompt voice is used to guide the driver to perform manual driving.
[0048] The above-mentioned driving voice prompt method, device, computer equipment, computer-readable storage medium and computer program product obtain the automatic driving decision, decision reason and driving scene during the driving process of the vehicle; obtain the target voice segment in the pre-configured voice prompt library according to the automatic driving decision, decision reason and driving scene; the voice prompt library includes multiple voice segments with feature tags, and the feature tags are used to characterize the automatic driving decision, decision reason or driving scene corresponding to the corresponding voice segment; generate driving prompt voice according to the target voice segment; the driving prompt voice is used to guide the driver to drive manually. By converting the automatic driving decision into driving prompt voice, using the decision of the vehicle automatic driving system to guide the driver to drive manually, giving the driver appropriate voice prompts in different driving scenes, and guiding the driver to perform standardized driving operations, the driver's non-standard operation can be avoided to a certain extent, which can not only improve the driver's driving level, but also ensure driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 A diagram showing an application environment of a driving voice prompt method in an embodiment;
[0051] Figure 2 A schematic diagram of a driving voice prompt method according to an embodiment of the present invention;
[0052] Figure 3 A logic flow chart of a driving voice prompt method in one embodiment;
[0053] Figure 4 It is a structural block diagram of a driving voice prompt device in one embodiment;
[0054] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0056] The driving voice prompt method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the vehicle-mounted terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the vehicle-mounted terminal 102 can be, but is not limited to, various vehicle-mounted computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle-mounted devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted device can be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The server 104 can be an independent physical server, or it can be a server cluster or distributed system composed of multiple physical servers, or it can be a cloud server that provides cloud computing services.
[0057] In an exemplary embodiment, Figure 2 As shown, a driving voice prompt method is provided, which is applied to Figure 1 Taking the vehicle-mounted terminal 102 in the example as an example, the method includes the following steps 202 to 206. Among them:
[0058] Step 202, during the driving process of the vehicle, obtain the autonomous driving decision, decision reason and driving scenario.
[0059] Optionally, during vehicle driving, the on-board terminal obtains the autonomous driving decisions, decision reasons and driving scenarios through the vehicle's autonomous driving system.
[0060] Among them, the autonomous driving system includes a decision-making module and a control module; the decision-making module is used to determine the driving scenario based on the vehicle's environmental information, and to generate autonomous driving decisions and decision reasons based on the vehicle's driving information and driving scenario; the control module is used to execute autonomous driving decisions to control the vehicle's autonomous driving when the vehicle is in autonomous driving mode.
[0061] Step 204, based on the autonomous driving decision, decision reason and driving scenario, obtain the target voice segment from a pre-configured voice prompt library; the voice prompt library includes multiple voice segments with feature tags, and the feature tags are used to characterize the autonomous driving decision, decision reason or driving scenario corresponding to the corresponding voice segment.
[0062] Optionally, the vehicle-mounted terminal obtains three corresponding voice clips from a pre-configured voice prompt library according to the autonomous driving decision, the reason for the decision and the driving scenario, and the three voice clips correspond to the autonomous driving decision, the reason for the decision and the driving scenario, respectively.
[0063] Step 206, generating a driving prompt voice according to the target voice segment; the driving prompt voice is used to guide the driver to perform manual driving.
[0064] Optionally, the vehicle-mounted terminal combines the three voice clips in a preset voice combination order to generate a complete driving prompt voice, plays the driving prompt voice through the vehicle-mounted multimedia device, and provides voice guidance during the driver's manual driving process.
[0065] In the above driving voice prompt method, during the driving process of the vehicle, the automatic driving decision, decision reason and driving scene are obtained; according to the automatic driving decision, decision reason and driving scene, the target voice segment is obtained in the pre-configured voice prompt library; the voice prompt library includes multiple voice segments with feature tags, and the feature tags are used to characterize the automatic driving decision, decision reason or driving scene corresponding to the corresponding voice segment; the driving prompt voice is generated according to the target voice segment; the driving prompt voice is used to guide the driver to drive manually. By converting the automatic driving decision into the driving prompt voice, the decision of the vehicle automatic driving system is used to guide the driver to drive manually, and the driver is given appropriate voice prompts in different driving scenes to guide the driver to perform standardized driving operations, the driver's non-standard operation can be avoided to a certain extent, which can not only improve the driver's driving level, but also ensure driving safety.
[0066] In one embodiment, obtaining autonomous driving decisions, decision reasons and driving scenarios includes: determining the driving scenario based on the vehicle's environmental information, and generating autonomous driving decisions and decision reasons based on the vehicle's driving information and driving scenarios; identifying the vehicle's driving mode; the driving mode is divided into a guidance mode and an autonomous driving mode; when the vehicle is in the guidance mode, obtaining the autonomous driving decision, decision reasons and driving scenarios; when the vehicle is in the autonomous driving mode, obtaining the autonomous driving decision, and executing the autonomous driving decision to control the vehicle for autonomous driving.
[0067] Alternatively, if Figure 3As shown in the figure, the autonomous driving system usually includes multiple modules such as positioning, perception, planning, decision-making and control. The positioning module obtains the absolute position, global positioning and heading information of the vehicle based on the GPS sensor, and obtains the current speed and position based on the initial posture and inertial sensor of the vehicle. The perception module perceives environmental information such as roads, directions, curvatures, lanes, traffic signs, traffic lights, and other state information such as speed, acceleration, steering speed, position and posture of other traffic participants based on multiple sensors such as cameras, lidar, millimeter-wave radar, and ultrasonic radar. The planning module can perform global path planning based on the start and end point settings, and plan routes such as lane changes, turns, and obstacle avoidance based on the perception and positioning information. The decision-making module decides which lane to choose, whether to change lanes, whether to follow the vehicle, whether to slow down and stop, etc. based on the positioning, perception, and planning information. In the autonomous driving system, steering, driving, and braking behaviors are performed through the control module.
[0068] When the vehicle is in guidance mode, there is no control module involved in driving. After the decision module determines the vehicle's autonomous driving decision, it directly uses the voice prompt library to convert the autonomous driving decision and the corresponding decision reasons and driving scenarios into voice prompts, and plays voice to guide the driver to drive the vehicle. The control module does not execute the autonomous driving decision.
[0069] When the vehicle is in the automatic driving mode, the control module intervenes in the driving, and after the decision module determines the automatic driving decision of the vehicle, the control module executes the automatic driving decision to control the automatic driving of the vehicle.
[0070] In this embodiment, by converting the automatic driving decision into a driving prompt voice, the decision of the vehicle's automatic driving system is used to guide the driver to drive manually, and appropriate voice prompts are given to the driver in different driving scenarios to guide the driver to perform standardized driving operations. This can avoid the driver's non-standard operations to a certain extent, which can not only improve the driver's driving level, but also ensure driving safety.
[0071] In one embodiment, a target voice segment is obtained from a preconfigured voice prompt library according to the autonomous driving decision, the reason for the decision and the driving scenario, including: obtaining a first voice segment from the voice prompt library according to the driving scenario; a feature label of the first voice segment corresponds to the driving scenario; obtaining a second voice segment from the voice prompt library according to the reason for the decision; the feature label of the second voice segment corresponds to the reason for the decision; obtaining a third voice segment from the voice prompt library according to the autonomous driving decision; the feature label of the third voice segment corresponds to the autonomous driving decision; and using the first voice segment, the second voice segment and the third voice segment as target voice segments.
[0072] Furthermore, a driving prompt voice is generated according to the target voice segment, including: obtaining a preset voice combination order in the voice prompt library; the voice combination order is used to characterize the combination order of voice segments with different feature tags; according to the voice group and order, the first voice segment, the second voice segment and the third voice segment are combined to obtain the driving prompt voice.
[0073] Correspondingly, the configuration method of the voice prompt library includes: obtaining automatic driving decision samples, decision reason samples and driving scenario samples; the automatic driving decision samples include accelerating, decelerating, changing lanes to the right, changing lanes to the left, avoiding to the right, avoiding to the left, reversing, turning on the left turn signal, turning on the right turn signal, turning the steering wheel to the right and turning the steering wheel to the left; the decision reason samples include below the speed limit, above the speed limit, other vehicles driving slowly, other vehicles cutting into the driving lane, the distance from other vehicles is greater than the normal following distance, the distance from other vehicles is less than the safe following distance, not centered, driving on the line, avoiding pedestrians and non-motor vehicles, paralleling with large vehicles, emergency braking of other vehicles, paralleling with large vehicles, Traffic light changes, running red lights, insufficient lighting and insufficient visibility; driving scene samples include starting, merging, going straight, changing lanes, overtaking, turning, U-turn, following, parallel parking and reversing into a garage; configure voice clips corresponding to the autonomous driving decision samples, decision reason samples and driving scene samples respectively, and add corresponding feature labels to each voice clip; configure the arrangement order between the autonomous driving decision samples, decision reason samples and driving scene samples as the voice combination order of voice clips with different feature labels; obtain the voice prompt library according to the voice combination order, each voice clip and the feature label of each voice clip.
[0074] The voice combination sequence can be, but is not limited to, set as driving scenario + decision reason + autonomous driving decision. The normal following distance is the preset maximum vehicle distance, and the safe following distance is the preset minimum vehicle distance.
[0075] Optionally, a voice prompt library is constructed in advance according to the driving scenario, the reasons for the decision made by the automatic driving system, and the decision. When giving a prompt, a voice prompt is given according to the driving scenario + the reason for the decision + the decision. Based on the perception and positioning information, driving scenarios can be identified, such as starting, merging, going straight, changing lanes, overtaking, turning, turning around, following, side parking and reversing into a warehouse. In the automatic driving system, there are corresponding reasons for the behavioral decisions made, such as below the speed limit, above the speed limit, other vehicles slowing down, other vehicles cutting into the driving lane, the distance from other vehicles is greater than the normal following distance, the distance from other vehicles is less than the safe following distance, not centered, driving on the line, avoiding pedestrians and non-motor vehicles, large vehicles running in parallel, other vehicles braking suddenly, running in parallel with large vehicles, traffic light changes, running red lights, insufficient lighting and insufficient visibility, etc. For decisions caused by other road traffic participants, their directions need to be confirmed according to the direction of the vehicle. The directions are divided into front and back and left and right directions. When describing other road traffic participants, the directions relative to the vehicle are added, such as the vehicle ahead slowing down, avoiding non-motor vehicles in front of the right, etc. The decision of the intelligent driving system can be divided into horizontal and vertical. The horizontal direction is when the motor vehicle turns left or right to avoid or change lanes. The vertical direction is when the vehicle accelerates or decelerates to a certain speed or maintains a certain distance, and includes non-vehicle control operations such as turning on the turn signal. Combining the above information, voice prompts are given, such as "The current straight-ahead speed is lower than the road section speed limit of 80km / h, you can accelerate to 80km / h", "The current lane change is too close to the vehicle in front of you on the right, you can slow down and maintain a distance of 10m", "The vehicle in front of you is currently moving slowly, you can turn right and change lanes". As described above, a voice prompt library is constructed.
[0076] In an exemplary embodiment, a vehicle with navigation-assisted driving function can complete functions such as automatic assisted lane change, automatic assisted overtaking, and automatic assisted cruising according to the navigation route. During the manual driving of the vehicle by the driver, the following situations may occur. If the driver turns on the "guided driving" mode, the automatic driving system can be used to guide the driving.
[0077] When the vehicle is parked on the side of the road and needs to start and enter the lane, the autonomous driving system will determine whether it can merge into the lane based on the perception and positioning module's judgment of the vehicle's position, surrounding environment and road traffic participants. If the traffic volume is heavy, the driver may be prompted to "turn on the turn signal when starting. There is currently a lot of traffic on the left, please do not merge into the traffic flow." When the starting conditions are met, the driver may be prompted to "merge into the traffic flow slowly and pay attention to vehicles coming from the left."
[0078] According to the recognition of the perception and positioning module, if the light at the intersection is about to turn red, or is already in yellow light status, and the vehicle cannot pass through the intersection directly, the autonomous driving system will make a decision to stop and wait, and convert this decision into a voice guidance prompt to the driver, "The light at the intersection ahead is about to turn red, please slow down, stop and wait, and pay attention to the distance from the vehicle in front."
[0079] When waiting for the red light at an intersection and the vehicle ahead has already started driving, the autonomous driving system will make a decision to start driving based on the perception and positioning module's judgment of the vehicle's position, surrounding environment, and road traffic participants, and convert this decision into a voice guidance prompt to the driver: "The traffic light ahead turns green, please start driving." If there are pedestrians or non-motor vehicles at the intersection, the autonomous driving system will predict their driving trajectory based on the perception and positioning information. If it predicts that there is a risk of collision with the vehicle, it can prompt "Watch out for pedestrians and non-motor vehicles in front of the left."
[0080] When passing an intersection and waiting to turn left, if the vehicle is the first one in front of the stop line, the perception and positioning module will judge the vehicle's position, surrounding environment and road traffic participants. If there is a left turn waiting area at the intersection, after the straight light turns green, the autonomous driving system will make a decision to drive into the left turn waiting area, and convert this decision into a voice guidance prompt to the driver, "The light for turning left will turn red soon, please drive into the left turn waiting area ahead."
[0081] The driver drives the vehicle at speed a, which is lower than the current route speed limit b. Based on the perception and positioning module's judgment of the vehicle's position, surrounding environment and road traffic participants, the autonomous driving system will decide to increase the speed to b, and convert this decision into guidance prompts for the driver, such as "the current speed is too low, you can increase the speed to b."
[0082] There is a slow car ahead, and the driver drives the vehicle at a low speed to follow the car. Based on the perception and positioning module's judgment of the vehicle's position, surrounding environment, and road traffic participants, if the lane change conditions are met, the autonomous driving system will make a decision to change lanes and overtake. This is converted into guidance prompts for the driver, such as "The speed of the car ahead is too low, you can change lanes to the right (change lanes to overtake), please turn on the turn signal in advance."
[0083] There are large vehicles on both sides of the current lane, and the driver has been driving between the two large vehicles for a long time. Based on the perception and positioning module's judgment of the vehicle's position, surrounding environment, and road traffic participants, if the acceleration overtaking conditions are met, the autonomous driving system will make a decision to accelerate overtaking, and convert this into a guide prompt to the driver, such as "There are large vehicles on both sides, please accelerate overtaking to avoid accident risks." If the acceleration overtaking conditions are not met, the autonomous driving system will make a decision to slow down and avoid, and convert this into a guide prompt to the driver, such as "There are large vehicles on both sides, please slow down and avoid the large vehicles."
[0084] When driving on a road with complex traffic environment and a non-motor vehicle occupies the motor vehicle lane, the perception and positioning module will determine whether there is a collision risk based on the path and behavior of the non-motor vehicle. When it detects that the other vehicle intends to intrude into the driving trajectory, the automatic driving system will make a decision to slow down and avoid, turn to the other side or change lanes, and convert this into a guidance prompt for the driver, such as "Be careful of the non-motor vehicle in front of you on the right, please slow down and avoid or change lanes to the left."
[0085] The automatic parking function can guide the driver to park by planning the route and operation through video demonstration after the driver selects the parking space. Or the parking action can be broken down into several sections. For example, if the driver drives forward to a certain position first, a virtual parking space frame can be formed at this position, and the driver can be guided by voice to "please drive the vehicle into the virtual frame in front first"; then the steering wheel is turned all the way to the left and the vehicle is reversed to a certain position, and the driver can be guided by voice to "engage the reverse gear, turn the steering wheel all the way to the left, and slowly drive to the virtual frame behind the left"; then the steering wheel is returned to the center position, and the vehicle is reversed backward, and the driver can be guided by voice to "return the steering wheel to the center position and slowly drive to the virtual frame". Through video demonstration or the disassembly of automatic parking decision-making actions, parking guidance can be completed for the driver.
[0086] In this embodiment, by converting the automatic driving decision into a driving prompt voice, the decision of the vehicle's automatic driving system is used to guide the driver to drive manually, and appropriate voice prompts are given to the driver in different driving scenarios to guide the driver to perform standardized driving operations. This can avoid the driver's non-standard operations to a certain extent, which can not only improve the driver's driving level, but also ensure driving safety.
[0087] In one embodiment, the method also includes: when a voice human-computer interaction instruction is obtained, suspending the step of generating a driving prompt voice according to the target voice segment until the human-computer interaction operation corresponding to the voice human-computer interaction instruction is completed; or, when a mobile phone call signal is obtained, suspending the step of generating a driving prompt voice according to the target voice segment, and generating text prompt information according to the target voice segment until the mobile phone call signal is interrupted.
[0088] Optionally, a "guidance driving" mode is designed, and the driver can turn this mode on or off by himself. In this mode, the autonomous driving system makes decisions to intervene and guide the driver's driving. When the "guidance mode" is turned on, if the driver's mobile phone is connected to the vehicle and there is an incoming call, the "guidance mode" suspends the voice prompts during the driver's call. When the "guidance mode" is turned on, if the driver is interacting with the vehicle by voice, the "guidance mode" suspends the voice prompts.
[0089] In this embodiment, by setting the priority of voice interaction and voice prompt in the guided driving mode, conflicts between voice interaction and voice prompt are prevented, thereby improving the user experience.
[0090] In an exemplary embodiment, a driving voice prompt method includes:
[0091] Obtain driving scenario samples, decision reason samples and autonomous driving decision samples; autonomous driving decision samples include but are not limited to accelerating, decelerating, changing lanes to the right, changing lanes to the left, avoiding to the right, avoiding to the left, reversing, turning on the left turn signal, turning on the right turn signal, turning the steering wheel to the right, turning the steering wheel to the left, etc.; decision reason samples include but are not limited to being below the speed limit, exceeding the speed limit, other vehicles driving slowly, other vehicles cutting into the driving lane, the distance to other vehicles is greater than the normal following distance, the distance to other vehicles is less than the safe following distance, not centering, driving on the line, avoiding pedestrians and non-motor vehicles, large vehicles running parallel, other vehicles braking suddenly, running parallel with large vehicles, traffic light changes, running red The driving scene samples include but are not limited to starting, merging, going straight, changing lanes, overtaking, turning, turning around, following, parking sideways and reversing into a garage, etc.; configure the voice segments corresponding to the driving scene samples, decision reason samples and autonomous driving decision samples, and add corresponding feature labels to each voice segment; configure the arrangement order between the driving scene samples, decision reason samples and autonomous driving decision samples as the voice combination order of the voice segments with different feature labels; according to the voice combination order, each voice segment and the feature label of each voice segment, obtain the voice prompt library. The voice prompt library includes multiple voice segments with feature labels, and the feature labels are used to characterize the autonomous driving decision, decision reason or driving scene corresponding to the corresponding voice segment.
[0092] During vehicle driving, the driving scenario is determined based on the vehicle's environmental information, and autonomous driving decisions and decision reasons are generated based on the vehicle's driving information and driving scenario; the vehicle's driving mode is identified; the driving mode is divided into a guidance mode and an autonomous driving mode; when the vehicle is in the guidance mode, the autonomous driving decision, decision reasons and driving scenario are obtained; when the vehicle is in the autonomous driving mode, the autonomous driving decision is obtained, and the autonomous driving decision is executed to control the vehicle for autonomous driving.
[0093] According to the driving scenario, a first voice segment is obtained from the voice prompt library; the feature label of the first voice segment corresponds to the driving scenario; according to the decision reason, a second voice segment is obtained from the voice prompt library; the feature label of the second voice segment corresponds to the decision reason; according to the automatic driving decision, a third voice segment is obtained from the voice prompt library; the feature label of the third voice segment corresponds to the automatic driving decision; the first voice segment, the second voice segment and the third voice segment are used as target voice segments.
[0094] A preset voice combination order is obtained in the voice prompt library; the voice combination order is used to characterize the combination order of voice segments with different feature tags; according to the voice combination order, the first voice segment, the second voice segment and the third voice segment are combined to obtain the driving prompt voice.
[0095] When a voice human-computer interaction instruction is obtained, the step of generating a driving prompt voice according to the target voice segment is suspended until the human-computer interaction operation corresponding to the voice human-computer interaction instruction is completed.
[0096] When a mobile phone call signal is obtained, the step of generating a driving prompt voice according to the target voice segment is suspended, and text prompt information is generated according to the target voice segment until the mobile phone call signal is interrupted.
[0097] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0098] Based on the same inventive concept, the embodiment of the present application also provides a driving voice prompt device for implementing the driving voice prompt method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more driving voice prompt device embodiments provided below can refer to the limitations of the driving voice prompt method above, and will not be repeated here.
[0099] In an exemplary embodiment, Figure 4 As shown, a driving voice prompt device 400 is provided, comprising: an acquisition module 401, a query module 402 and a guidance module 403, wherein:
[0100] The acquisition module 401 is used to obtain the automatic driving decision, decision reasons and driving scenarios during the vehicle driving process.
[0101] The query module 402 is used to obtain a target voice segment from a pre-configured voice prompt library according to the autonomous driving decision, decision reason and driving scenario; the voice prompt library includes multiple voice segments with feature tags, and the feature tags are used to characterize the autonomous driving decision, decision reason or driving scenario corresponding to the corresponding voice segment.
[0102] The guidance module 403 is used to generate a driving prompt voice according to the target voice segment; the driving prompt voice is used to guide the driver to perform manual driving.
[0103] In one embodiment, the acquisition module 401 is also used to determine the driving scenario based on the vehicle's environmental information, and to generate autonomous driving decisions and decision reasons based on the vehicle's driving information and driving scenario; identify the vehicle's driving mode; the driving mode is divided into a guidance mode and an autonomous driving mode; when the vehicle is in the guidance mode, the autonomous driving decision, decision reasons and driving scenario are acquired; when the vehicle is in the autonomous driving mode, the autonomous driving decision is acquired, and the autonomous driving decision is executed to control the vehicle for autonomous driving.
[0104] In one embodiment, the query module 402 is also used to obtain a first voice segment in the voice prompt library according to the driving scenario; the feature label of the first voice segment corresponds to the driving scenario; according to the decision reason, obtain a second voice segment in the voice prompt library; the feature label of the second voice segment corresponds to the decision reason; according to the automatic driving decision, obtain a third voice segment in the voice prompt library; the feature label of the third voice segment corresponds to the automatic driving decision; the first voice segment, the second voice segment and the third voice segment are used as target voice segments.
[0105] In one embodiment, the guidance module 403 is also used to obtain a preset voice combination order in the voice prompt library; the voice combination order is used to characterize the combination order of voice segments with different feature tags; according to the voice group and order, the first voice segment, the second voice segment and the third voice segment are combined to obtain a driving prompt voice.
[0106] In one embodiment, the query module 402 is also used to obtain automatic driving decision samples, decision reason samples and driving scene samples; the automatic driving decision samples include accelerating, decelerating, changing lanes to the right, changing lanes to the left, avoiding to the right, avoiding to the left, reversing, turning on the left turn signal, turning on the right turn signal, turning the steering wheel to the right and turning the steering wheel to the left; the decision reason samples include below the speed limit, above the speed limit, other vehicles driving slowly, other vehicles cutting into the driving lane, the distance from other vehicles is greater than the normal following distance, the distance from other vehicles is less than the safe following distance, not centered, driving on the line, avoiding pedestrians and non-motor vehicles, paralleling with large vehicles, emergency braking of other vehicles, paralleling with large vehicles, Traffic light changes, running red lights, insufficient lighting and insufficient visibility; driving scene samples include starting, merging, going straight, changing lanes, overtaking, turning, U-turn, following, parallel parking and reversing into a garage; configure voice clips corresponding to the autonomous driving decision samples, decision reason samples and driving scene samples respectively, and add corresponding feature labels to each voice clip; configure the arrangement order between the autonomous driving decision samples, decision reason samples and driving scene samples as the voice combination order of voice clips with different feature labels; obtain the voice prompt library according to the voice combination order, each voice clip and the feature label of each voice clip.
[0107] In one embodiment, the guidance module 403 is also used to suspend the step of generating a driving prompt voice according to the target voice segment when a voice human-computer interaction instruction is obtained, until the human-computer interaction operation corresponding to the voice human-computer interaction instruction is completed; or, when a mobile phone call signal is obtained, suspend the step of generating a driving prompt voice according to the target voice segment, and generate text prompt information according to the target voice segment until the mobile phone call signal is interrupted.
[0108] Each module in the above-mentioned driving voice prompt device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0109] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store driving information and environmental information data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a driving voice prompt method is implemented.
[0110] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0111] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: obtaining autonomous driving decisions, decision reasons and driving scenarios during vehicle driving; obtaining target voice segments from a pre-configured voice prompt library based on the autonomous driving decisions, decision reasons and driving scenarios; the voice prompt library includes multiple voice segments with feature tags, and the feature tags are used to characterize the autonomous driving decisions, decision reasons or driving scenarios corresponding to the corresponding voice segments; generating driving prompt voice based on the target voice segment; and the driving prompt voice is used to guide the driver to perform manual driving.
[0112] In one embodiment, the processor also implements the following steps when executing the computer program: determining a driving scenario based on the vehicle's environmental information, and generating an autonomous driving decision and decision reasons based on the vehicle's driving information and driving scenario; identifying the vehicle's driving mode; the driving mode is divided into a guidance mode and an autonomous driving mode; when the vehicle is in the guidance mode, obtaining the autonomous driving decision, decision reasons and driving scenario; when the vehicle is in the autonomous driving mode, obtaining the autonomous driving decision, and executing the autonomous driving decision to control the vehicle for autonomous driving.
[0113] In one embodiment, when the processor executes the computer program, the following steps are also implemented: according to the driving scenario, a first voice segment is obtained from the voice prompt library; the feature label of the first voice segment corresponds to the driving scenario; according to the decision reason, a second voice segment is obtained from the voice prompt library; the feature label of the second voice segment corresponds to the decision reason; according to the automatic driving decision, a third voice segment is obtained from the voice prompt library; the feature label of the third voice segment corresponds to the automatic driving decision; the first voice segment, the second voice segment and the third voice segment are used as target voice segments.
[0114] In one embodiment, the processor also implements the following steps when executing the computer program: obtaining a preset voice combination order in the voice prompt library; the voice combination order is used to characterize the combination order of voice segments with different feature tags; according to the voice group and order, the first voice segment, the second voice segment and the third voice segment are combined to obtain the driving prompt voice.
[0115] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining automatic driving decision samples, decision reason samples and driving scene samples; the automatic driving decision samples include accelerating, decelerating, changing lanes to the right, changing lanes to the left, avoiding to the right, avoiding to the left, reversing, turning on the left turn signal, turning on the right turn signal, turning the steering wheel to the right and turning the steering wheel to the left; the decision reason samples include below the speed limit, above the speed limit, other vehicles driving slowly, other vehicles cutting into the driving lane, the distance from other vehicles is greater than the normal following distance, the distance from other vehicles is less than the safe following distance, not centered, driving on the line, avoiding pedestrians and non-motor vehicles, large vehicles parallel, other vehicles braking suddenly, and large vehicles following each other. The driving scene samples include parallel vehicles, traffic light changes, running red lights, insufficient lighting and insufficient visibility. The driving scene samples include starting, merging, going straight, changing lanes, overtaking, turning, U-turn, following, parallel parking and reversing into a garage; configure the voice clips corresponding to the automatic driving decision samples, decision reason samples and driving scene samples respectively, and add corresponding feature labels to each voice clip; configure the arrangement order between the automatic driving decision samples, decision reason samples and driving scene samples as the voice combination order of the voice clips with different feature labels; according to the voice combination order, each voice clip and the feature label of each voice clip, obtain the voice prompt library.
[0116] In one embodiment, when the processor executes the computer program, the following steps are also implemented: when a voice human-computer interaction instruction is obtained, the step of generating a driving prompt voice according to the target voice segment is suspended until the human-computer interaction operation corresponding to the voice human-computer interaction instruction is completed; or, when a mobile phone call signal is obtained, the step of generating a driving prompt voice according to the target voice segment is suspended, and text prompt information is generated according to the target voice segment until the mobile phone call signal is interrupted.
[0117] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: during vehicle driving, autonomous driving decisions, decision reasons and driving scenarios are obtained; based on the autonomous driving decisions, decision reasons and driving scenarios, a target voice segment is obtained from a pre-configured voice prompt library; the voice prompt library includes a plurality of voice segments with feature tags, and the feature tags are used to characterize the autonomous driving decisions, decision reasons or driving scenarios corresponding to the corresponding voice segments; a driving prompt voice is generated based on the target voice segment; and the driving prompt voice is used to guide the driver to perform manual driving.
[0118] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the driving scenario based on the vehicle's environmental information, and generating an autonomous driving decision and decision reasons based on the vehicle's driving information and driving scenario; identifying the vehicle's driving mode; the driving mode is divided into a guidance mode and an autonomous driving mode; when the vehicle is in the guidance mode, obtaining the autonomous driving decision, decision reasons and driving scenario; when the vehicle is in the autonomous driving mode, obtaining the autonomous driving decision, and executing the autonomous driving decision to control the vehicle for autonomous driving.
[0119] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: according to the driving scenario, a first voice segment is obtained from the voice prompt library; the feature label of the first voice segment corresponds to the driving scenario; according to the decision reason, a second voice segment is obtained from the voice prompt library; the feature label of the second voice segment corresponds to the decision reason; according to the automatic driving decision, a third voice segment is obtained from the voice prompt library; the feature label of the third voice segment corresponds to the automatic driving decision; the first voice segment, the second voice segment and the third voice segment are used as target voice segments.
[0120] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining a preset voice combination order in the voice prompt library; the voice combination order is used to characterize the combination order of voice segments with different feature tags; according to the voice group and order, the first voice segment, the second voice segment and the third voice segment are combined to obtain the driving prompt voice.
[0121] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining automatic driving decision samples, decision reason samples and driving scene samples; the automatic driving decision samples include accelerating, decelerating, changing lanes to the right, changing lanes to the left, avoiding to the right, avoiding to the left, reversing, turning on the left turn signal, turning on the right turn signal, turning the steering wheel to the right and turning the steering wheel to the left; the decision reason samples include below the speed limit, above the speed limit, other vehicles driving slowly, other vehicles cutting into the driving lane, the distance from other vehicles is greater than the normal following distance, the distance from other vehicles is less than the safe following distance, not centered, driving on the line, avoiding pedestrians and non-motor vehicles, large vehicles running parallel, other vehicles braking suddenly, and following Parallel driving of large vehicles, changing traffic lights, running red lights, insufficient lighting and insufficient visibility; driving scene samples include starting, merging, going straight, changing lanes, overtaking, turning, U-turn, following, parallel parking and reversing into a garage; configure voice clips corresponding to the autonomous driving decision samples, decision reason samples and driving scene samples respectively, and add corresponding feature labels to each voice clip; configure the arrangement order between the autonomous driving decision samples, decision reason samples and driving scene samples as the voice combination order of voice clips with different feature labels; obtain the voice prompt library according to the voice combination order, each voice clip and the feature label of each voice clip.
[0122] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when a voice human-computer interaction instruction is obtained, the step of generating a driving prompt voice according to the target voice segment is suspended until the human-computer interaction operation corresponding to the voice human-computer interaction instruction is completed; or, when a mobile phone call signal is obtained, the step of generating a driving prompt voice according to the target voice segment is suspended, and text prompt information is generated according to the target voice segment until the mobile phone call signal is interrupted.
[0123] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the following steps: obtaining autonomous driving decisions, decision reasons, and driving scenarios during vehicle driving; obtaining target voice segments from a preconfigured voice prompt library based on the autonomous driving decisions, decision reasons, and driving scenarios; the voice prompt library includes a plurality of voice segments with feature tags, the feature tags being used to characterize the autonomous driving decisions, decision reasons, or driving scenarios corresponding to the corresponding voice segments; generating a driving prompt voice based on the target voice segment; and the driving prompt voice is used to guide the driver to perform manual driving.
[0124] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the driving scenario based on the vehicle's environmental information, and generating an autonomous driving decision and decision reasons based on the vehicle's driving information and driving scenario; identifying the vehicle's driving mode; the driving mode is divided into a guidance mode and an autonomous driving mode; when the vehicle is in the guidance mode, obtaining the autonomous driving decision, decision reasons and driving scenario; when the vehicle is in the autonomous driving mode, obtaining the autonomous driving decision, and executing the autonomous driving decision to control the vehicle for autonomous driving.
[0125] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: according to the driving scenario, a first voice segment is obtained from the voice prompt library; the feature label of the first voice segment corresponds to the driving scenario; according to the decision reason, a second voice segment is obtained from the voice prompt library; the feature label of the second voice segment corresponds to the decision reason; according to the automatic driving decision, a third voice segment is obtained from the voice prompt library; the feature label of the third voice segment corresponds to the automatic driving decision; the first voice segment, the second voice segment and the third voice segment are used as target voice segments.
[0126] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining a preset voice combination order in the voice prompt library; the voice combination order is used to characterize the combination order of voice segments with different feature tags; according to the voice group and order, the first voice segment, the second voice segment and the third voice segment are combined to obtain the driving prompt voice.
[0127] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining automatic driving decision samples, decision reason samples and driving scene samples; the automatic driving decision samples include accelerating, decelerating, changing lanes to the right, changing lanes to the left, avoiding to the right, avoiding to the left, reversing, turning on the left turn signal, turning on the right turn signal, turning the steering wheel to the right and turning the steering wheel to the left; the decision reason samples include below the speed limit, above the speed limit, other vehicles driving slowly, other vehicles cutting into the driving lane, the distance from other vehicles is greater than the normal following distance, the distance from other vehicles is less than the safe following distance, not centered, driving on the line, avoiding pedestrians and non-motor vehicles, large vehicles running parallel, other vehicles braking suddenly, and following Parallel driving of large vehicles, changing traffic lights, running red lights, insufficient lighting and insufficient visibility; driving scene samples include starting, merging, going straight, changing lanes, overtaking, turning, U-turn, following, parallel parking and reversing into a garage; configure voice clips corresponding to the autonomous driving decision samples, decision reason samples and driving scene samples respectively, and add corresponding feature labels to each voice clip; configure the arrangement order between the autonomous driving decision samples, decision reason samples and driving scene samples as the voice combination order of voice clips with different feature labels; obtain the voice prompt library according to the voice combination order, each voice clip and the feature label of each voice clip.
[0128] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when a voice human-computer interaction instruction is obtained, the step of generating a driving prompt voice according to the target voice segment is suspended until the human-computer interaction operation corresponding to the voice human-computer interaction instruction is completed; or, when a mobile phone call signal is obtained, the step of generating a driving prompt voice according to the target voice segment is suspended, and text prompt information is generated according to the target voice segment until the mobile phone call signal is interrupted.
[0129] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0130] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0131] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0132] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A driving voice prompt method, characterized in that: The method comprises: During vehicle driving, obtain autonomous driving decisions, decision reasons and driving scenarios; According to the autonomous driving decision, the decision reason and the driving scenario, a target voice segment is obtained from a pre-configured voice prompt library; the voice prompt library includes a plurality of voice segments with feature tags, and the feature tags are used to characterize the autonomous driving decision, decision reason or driving scenario corresponding to the corresponding voice segment; A driving prompt voice is generated according to the target voice segment; the driving prompt voice is used to guide the driver to perform manual driving.
2. The method according to claim 1, characterized in that The obtaining of the autonomous driving decision, decision reasons and driving scenarios includes: determining the driving scenario according to the environmental information of the vehicle, and generating the automatic driving decision and the decision reason according to the driving information of the vehicle and the driving scenario; Identifying a driving mode of the vehicle; the driving mode is divided into a guidance mode and the automatic driving mode; When the vehicle is in the guidance mode, obtaining the autonomous driving decision, the decision reason, and the driving scenario; When the vehicle is in the automatic driving mode, the automatic driving decision is obtained, and the automatic driving decision is executed to control the vehicle to perform automatic driving.
3. The method according to claim 1, characterized in that The acquiring a target voice segment from a pre-configured voice prompt library according to the autonomous driving decision, the decision reason and the driving scenario includes: According to the driving scenario, a first voice segment is obtained from the voice prompt library; a feature tag of the first voice segment corresponds to the driving scenario; According to the decision reason, a second voice segment is obtained from the voice prompt library; the feature tag of the second voice segment corresponds to the decision reason; According to the autonomous driving decision, a third voice segment is obtained from the voice prompt library; the feature tag of the third voice segment corresponds to the autonomous driving decision; The first voice segment, the second voice segment and the third voice segment are used as the target voice segments.
4. The method according to claim 3, characterized in that The generating of the driving prompting speech according to the target speech segment comprises: Obtaining a preset voice combination sequence in the voice prompt library; the voice combination sequence is used to represent the combination sequence of voice segments with different feature tags; According to the voice combination order, the first voice segment, the second voice segment and the third voice segment are combined to obtain the driving prompt voice.
5. The method according to claim 1, characterized in that The configuration method of the voice prompt library comprises: Obtaining autonomous driving decision samples, decision reason samples and driving scenario samples; the autonomous driving decision samples include accelerating, decelerating, changing lanes to the right, changing lanes to the left, avoiding to the right, avoiding to the left, reversing, turning on the left turn signal, turning on the right turn signal, turning the steering wheel to the right and turning the steering wheel to the left; the decision reason samples include being below the speed limit, exceeding the speed limit, other vehicles driving slowly, other vehicles cutting into the driving lane, the distance from other vehicles being greater than the normal following distance, the distance from other vehicles being less than the safe following distance, not centering, driving on the line, avoiding pedestrians and non-motor vehicles, large vehicles running in parallel, other vehicles braking suddenly, running in parallel with large vehicles, traffic light changes, running red lights, insufficient lighting and insufficient visibility; the driving scenario samples include starting, merging, going straight, changing lanes, overtaking, turning, turning around, following and stopping, parallel parking and reversing into a garage; configuring speech segments corresponding to the autonomous driving decision sample, the decision reason sample, and the driving scene sample, respectively, and adding corresponding feature tags to each speech segment; configuring an arrangement order among the autonomous driving decision sample, the decision reason sample, and the driving scene sample as a speech combination order of speech segments with different feature labels; The voice prompt library is obtained according to the voice combination sequence, each voice segment and the feature label of each voice segment.
6. The method according to claim 1, characterized in that The method further comprises: In the case of obtaining a voice human-computer interaction instruction, pausing the step of generating a driving prompt voice according to the target voice segment until the human-computer interaction operation corresponding to the voice human-computer interaction instruction is completed; Alternatively, when a mobile phone call signal is obtained, the step of generating a driving prompt voice according to the target voice segment is suspended, and text prompt information is generated according to the target voice segment until the mobile phone call signal is interrupted.
7. A driving voice prompting device, characterized in that: The device comprises: An acquisition module is used to obtain the autonomous driving decision, decision reasons and driving scenarios during vehicle driving; A query module, configured to obtain a target voice segment from a pre-configured voice prompt library according to the autonomous driving decision, the decision reason and the driving scenario; the voice prompt library includes a plurality of voice segments with feature tags, and the feature tags are used to characterize the autonomous driving decision, decision reason or driving scenario corresponding to the corresponding voice segment; The guidance module is used to generate a driving prompt voice according to the target voice segment; the driving prompt voice is used to guide the driver to perform manual driving.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
