Voice control method of vehicle, electronic device, and computer-readable storage medium
By acquiring the device status corresponding to the wake-up-free command in the smart car, the problem of misrecognition caused by the same or similar pronunciation of the wake-up-free words is solved, achieving more accurate voice control and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- PATEO CONNECT (NANJING) CO LTD
- Filing Date
- 2023-06-02
- Publication Date
- 2026-05-29
AI Technical Summary
In smart cars, the pronunciation of the wake-up words is often the same or similar, which can lead to misidentification by the vehicle, resulting in incorrect actions and affecting the user experience.
By acquiring the first device state corresponding to the wake-up-free command and the second device state corresponding to the similar-sounding command, the target command is determined based on the state and the corresponding device is controlled to execute, thereby reducing the probability of misidentification.
This significantly reduces the probability of vehicles performing incorrect actions due to misidentification, thus improving the user experience.
Smart Images

Figure CN116665657B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and more particularly to voice control methods, electronic devices, and computer-readable storage media for vehicles. Background Technology
[0002] With the development of artificial intelligence, intelligent voice interaction technology has developed rapidly. Currently, intelligent voice interaction technology is widely used in various fields, especially in the field of intelligent driving.
[0003] In smart cars, users activate the voice interaction system using a voice wake-up word to enter the recognition and interaction state. To make it easier for users to control the vehicle using voice commands, staff have pre-set some high-frequency words as wake-up-free words and saved them in the vehicle's infotainment system. Users can control the vehicle to perform corresponding actions simply by speaking the wake-up-free words, without needing to pre-activate the voice interaction system. However, some wake-up-free words have the same or similar pronunciation, which can easily lead to misrecognition by the vehicle and the execution of incorrect actions. Summary of the Invention
[0004] The vehicle voice control method, electronic device, and computer-readable storage medium provided in this application can solve or partially solve the above-mentioned deficiencies or other deficiencies in the prior art.
[0005] The voice control method for a vehicle provided according to the first aspect of this application may include:
[0006] In response to receiving a user's wake-up-free command, the wake-up-free command is parsed to obtain a parsing result including the parsing command;
[0007] In response to determining that the parsing instruction does not meet preset execution conditions, the status of the first device corresponding to the parsing instruction and the status of the second device corresponding to a similar instruction with the same or similar pronunciation to the parsing instruction are obtained; and
[0008] Based on the state of the first device and the state of the second device, the device corresponding to the target instruction is controlled to execute the target instruction, wherein the target instruction is the parsed instruction or the similar instruction.
[0009] The electronic device provided according to the second aspect of this application may include:
[0010] At least one processor; and
[0011] A memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the voice control method for a vehicle as described in the first aspect of this application.
[0012] The computer-readable storage medium provided in the third aspect of this application stores a computer program, which, when executed by a processor, implements the voice control method for the vehicle described in the first aspect of this application.
[0013] According to the vehicle voice control method provided in the embodiments of this application, when it is determined that the parsing instruction corresponding to the wake-up-free instruction does not meet the preset execution conditions, by obtaining the state of the first device corresponding to the parsing instruction and the state of the second device corresponding to the similar instruction with the same or similar pronunciation, it is possible to determine whether the target instruction to be executed is a parsing instruction or a similar instruction based on the states of the first device and the second device, and then control the corresponding device to execute the target instruction, thereby significantly reducing the probability of the vehicle executing incorrect actions due to misidentification and improving the user experience.
[0014] It should be understood that the description in this section is not intended to identify key or important features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0015] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings. The drawings are provided for a better understanding of the invention and are not intended to limit the scope of the application, wherein:
[0016] Figure 1 This is a schematic flowchart of a vehicle voice control method according to an embodiment of this application;
[0017] Figure 2 This is another schematic flowchart of a vehicle voice control method according to an embodiment of this application; and
[0018] Figure 3 This is a block diagram of an electronic device used to implement the voice control method for a vehicle according to the embodiments of this application.
[0019] Figure label:
[0020] 200. Electronic device; 201. Computing unit; 202. Memory (ROM);
[0021] 203. Memory (RAM); 204. Bus; 205. I / O interface;
[0022] 206. Input unit; 207. Output unit; 208. Storage unit;
[0023] 209. Communication Unit. Detailed Implementation
[0024] The exemplary embodiments of this application are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding. These should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this application. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0025] It should be noted that, where there is no conflict, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0026] Intelligent vehicles are comprehensive systems integrating environmental perception, planning and decision-making, and multi-level assisted driving functions. Research on intelligent vehicles primarily focuses on improving vehicle safety, comfort, and the accuracy of intelligent voice interaction. Inside intelligent vehicles, users can control the vehicle to perform corresponding actions by speaking wake-up words. However, some wake-up words have the same or similar pronunciation, and due to limitations in current algorithms, vehicles are prone to misrecognition and executing incorrect actions. For example, if a user says the wake-up word "turn up the volume," the vehicle may misrecognize it and execute the incorrect action of increasing the air conditioning fan speed because "turn up the volume" and "turn up the fan speed" sound similar. Similarly, if a user says the wake-up word "turn down the brightness," the vehicle may misrecognize it and execute the incorrect action of lowering the air conditioning temperature by two degrees because "lower the brightness" and "lower the temperature by two degrees" sound similar.
[0027] Therefore, to address the aforementioned problems, this application provides a vehicle voice control method. The vehicle voice control method provided in this application is generally executed by the vehicle's infotainment system. Figure 1 A flowchart illustrating an embodiment of a voice control method for a vehicle according to this application is shown. The voice control method 1000 for the vehicle includes the following steps:
[0028] S100: In response to receiving the user's wake-up-free command, parse the wake-up-free command to obtain the parsing result including the parsing command;
[0029] S200: In response to determining that the parsing instruction does not meet the preset execution conditions, the status of the first device corresponding to the parsing instruction and the status of the second device corresponding to a similar instruction with the same or similar pronunciation to the parsing instruction are obtained.
[0030] S300: Based on the status of the first device and the status of the second device, control the device corresponding to the target instruction to execute the target instruction, where the target instruction is a parsed instruction or a similar instruction.
[0031] Once a user gets into the vehicle, if they want to control a specific device to perform a corresponding function, they can speak the corresponding wake-up-free command. When the vehicle's infotainment system receives the user's wake-up-free command via the in-vehicle microphone, it parses the command, including the parsed command itself. If the parsed command does not meet the preset execution conditions, it indicates that the vehicle's parsing result may be incorrect, and there is a risk of executing incorrect actions due to misidentification. In this case, the infotainment system obtains the status of the first device in the vehicle used to execute the parsed command and the status of the second device used to execute similar commands. The parsed command and similar commands have the same or similar pronunciation. Based on the status of the first and second devices, the infotainment system determines whether the target command to be executed is a parsed command or a similar command. If the target command is a parsed command, it controls the first device to execute the parsed command; if the target command is a similar command, it controls the second device to execute the similar command.
[0032] As can be seen from the above, in the implementation of this application, when it is determined that the parsing instruction corresponding to the wake-up-free instruction does not meet the preset execution conditions, by obtaining the state of the first device corresponding to the parsing instruction and the state of the second device corresponding to the similar instruction with the same or similar pronunciation, it is possible to determine whether the target instruction to be executed is a parsing instruction or a similar instruction based on the state of the first device and the second device, and then control the corresponding device to execute the target instruction, thereby significantly reducing the probability of the vehicle performing incorrect actions due to misidentification and improving the user experience.
[0033] The following is a detailed description of each step of the vehicle voice control method in the embodiments of this application.
[0034] Step S100
[0035] In step S100, in response to receiving the user's wake-up-free command, the wake-up-free command is parsed to obtain a parsing result including the parsing command. The vehicle-mounted system can receive the user's wake-up-free command via the vehicle's microphone and use its own voice wake-up-free engine to parse the command. The voice wake-up-free engine can be a recognition engine trained on a large number of wake-up-free sample commands.
[0036] In some embodiments, the parsing result may include not only the parsing instruction but also a confidence threshold corresponding to the parsing instruction. The confidence threshold can generally be understood as a parameter characterizing the reliability of the parsing instruction. Before the vehicle leaves the factory, staff can set a preset configuration file in the vehicle, writing multiple pairs of voice instructions with the same or similar pronunciations into this preset configuration file to manage these easily confused wake-up-free instructions. Users can also add some easily confused wake-up-free instructions to the preset configuration file according to their own needs. Furthermore, staff can also set corresponding preset instruction thresholds for the voice instructions in the preset configuration file. When the vehicle starts, the vehicle's infotainment system reads the wake-up-free instructions and preset instruction thresholds from the preset configuration file. The preset instruction threshold can generally be understood as the minimum baseline value for triggering the parsing instruction. The preset instruction threshold is typically set between 0.6 and 0.8 to ensure that, under normal circumstances, users can control the vehicle to perform corresponding actions through wake-up-free instructions. However, given the differences in amplifier configuration, noise reduction effects, and pronunciation difficulty of wake-up-free instructions between vehicles, the same wake-up-free instruction may correspond to different preset instruction thresholds in different vehicles, and different wake-up-free instructions in the same vehicle may also correspond to different preset instruction thresholds. For example, if vehicle A has a better noise reduction effect and the microphone can achieve a better signal-to-noise ratio for human voices, while vehicle B has a relatively poor noise reduction effect, then the preset command threshold for the wake-up-free command in vehicle A can be set relatively higher, for example, to 0.75, while the preset command threshold for the wake-up-free command in vehicle B can be set relatively lower, for example, to 0.6.
[0037] Step S200
[0038] In step S200, in response to determining that the parsing instruction does not meet the preset execution conditions, the state of the first device corresponding to the parsing instruction and the state of the second device corresponding to a similar instruction with the same or similar pronunciation to the parsing instruction are obtained. The states of the first and second devices may include, but are not limited to, on / off states and opening degrees, where the opening degree can be represented by a gear or a percentage relative to the maximum opening degree. Furthermore, the preset execution conditions may include, but are not limited to, whether the parsing instruction is a voice instruction in the configuration file, and / or whether the confidence threshold corresponding to the parsing instruction is greater than a preset instruction threshold.
[0039] For example, the vehicle's infotainment system obtains a preset configuration file, which includes multiple pairs of instructions with the same or similar pronunciations. If the preset configuration file does not include parsing instructions, it means that there are no similar instructions with similar or identical pronunciations among the commonly used wake-up-free instructions. The parsing instructions are less likely to be confused, and the accuracy of the wake-up-free instruction's parsing result is relatively high. The vehicle's infotainment system then controls the first device to execute the parsing instruction. Conversely, if the preset configuration file includes parsing instructions, it means that there are similar instructions with the same or identical pronunciations in the preset configuration file. The parsing result of the wake-up-free instruction may be incorrect. Therefore, the vehicle's infotainment system can compare a preset instruction threshold with the confidence threshold corresponding to the parsing instruction. If the confidence threshold is not less than the preset instruction threshold, it means the parsing instruction is highly reliable, and the vehicle's infotainment system controls the first device to execute the parsing instruction. Conversely, if the confidence threshold is less than the preset instruction threshold, it means the parsing instruction is less reliable, and executing the parsing instruction may violate the user's intent. Therefore, it can be determined that the parsed instruction does not meet the preset execution conditions. The vehicle terminal extracts similar instructions from the preset configuration file and determines the second device corresponding to the similar instruction. The second device is the device in the vehicle used to execute the similar instruction. Then, the vehicle terminal obtains the status of the first device and the status of the second device.
[0040] It should be noted that whether a parsing instruction meets the preset execution conditions can be determined solely by whether the parsing instruction is a voice instruction in the configuration file, or solely by whether the confidence threshold corresponding to the parsing instruction is greater than the preset instruction threshold. For example, if the preset configuration file does not contain parsing instructions, then the parsing instruction is determined to meet the preset execution conditions; if the preset configuration file includes parsing instructions, it means that there are similar instructions in the preset configuration file with the same or similar pronunciation as the parsing instruction, and therefore the parsing instruction is directly determined not to meet the preset execution conditions.
[0041] Step S300
[0042] In step S300, the device corresponding to the target instruction is controlled to execute the target instruction based on the states of the first device and the second device. The states of the first and second devices may include, but are not limited to, on / off states and degrees of openness.
[0043] In some embodiments, step S300 may include: responding to the second device being in a closed state, in other words, regardless of whether the first device is in an open or closed state, as long as the second device is in a closed state, controlling the first device to execute a parsing instruction; responding to the second device being in an open state and the first device being in a closed state, indicating that the user should adjust the second device, controlling the second device to execute a similar instruction; responding to both the first device and the second device being in an open state, controlling the device corresponding to the target instruction to execute the target instruction at least according to the opening degree of the first device and the opening degree of the second device.
[0044] It should be noted that when both the first and second devices are turned on, the target command can be executed by controlling the corresponding device based solely on the opening degree of the first and second devices, or it can be based on the opening degree of the first device, environmental interference parameters related to the first device, and the opening degree of the second device. Of course, in addition to using the above two methods to determine the target command, the vehicle-mounted system can also determine the target command based on the opening degree of the first and second devices and other parameters, such as environmental interference parameters related to the second device.
[0045] As an example, when both the first and second devices are on, the execution of a target instruction can be controlled based on the on / off state of the first device, environmental interference parameters related to the first device, and the on / off state of the second device. Specifically: if the on / off state of the first device is not greater than a first on / off threshold, the first device is controlled to execute a parsing instruction; if the on / off state of the first device is between the first and second on / off thresholds, environmental interference parameters related to the first device are obtained, and the device corresponding to the target instruction is controlled to execute the target instruction based on the environmental interference parameters and the on / off state of the second device; if the on / off state of the first device is greater than the second on / off threshold, the device corresponding to the target instruction is controlled to execute the target instruction based on the on / off state of the second device, for example, if the on / off state of the second device is not greater than a fourth on / off threshold, the second device is controlled to execute a similar instruction; if the on / off state of the second device is greater than the fourth on / off threshold, the first device is controlled to execute a parsing instruction. Here, the second on / off threshold is greater than the first on / off threshold, and the environmental interference parameters may be, but are not limited to, related to the vehicle's interior temperature, interior brightness, or interior noise.
[0046] Furthermore, when the opening degree of the first device is between the first opening degree threshold and the second opening degree threshold, the target instruction to be executed by the corresponding device can be determined by the following steps: in response to the environmental interference parameter being greater than the preset interference threshold, the first device is controlled to execute the parsing instruction; in response to the environmental interference parameter not being greater than the preset interference threshold and the opening degree of the second device not being greater than the fourth opening degree threshold, the second device is controlled to execute the similar instruction; in response to the environmental interference parameter not being greater than the preset interference threshold and the opening degree of the second device being greater than the fourth opening degree threshold, the first device is controlled to execute the parsing instruction.
[0047] As an example, such as Figure 2 As shown, the voice control method in the embodiments of this application includes:
[0048] S101. Receive the user's wake-up-free instruction, parse the wake-up-free instruction to obtain the parsing result including the parsing instruction, and jump to step S102.
[0049] S102. Obtain the preset configuration file and proceed to step S103;
[0050] S103. Determine whether the preset configuration file includes parsing instructions. If yes, proceed to step S104; otherwise, proceed to step S114.
[0051] S104. Determine whether the confidence threshold corresponding to the parsed instruction is less than the preset instruction threshold. If yes, proceed to step S105; otherwise, proceed to step S114.
[0052] S105. Extract similar instructions from the preset configuration file, determine the second device corresponding to the similar instructions, and proceed to step S106.
[0053] S106. Obtain the status of the first device and the status of the second device, and proceed to step S107.
[0054] S107. Determine whether the second device is in the off state. If yes, proceed to step S114; otherwise, proceed to step S108.
[0055] S108. Determine whether the first device is in the open state. If yes, proceed to step S109; otherwise, proceed to step S115.
[0056] S109. Determine whether the opening degree of the first device is not greater than the first opening degree threshold. If yes, proceed to step S114; otherwise, proceed to step S110.
[0057] S110. Determine whether the opening degree of the first device is not greater than the second opening degree threshold. If yes, proceed to step S111; otherwise, proceed to step S113. Wherein, the second opening degree threshold is greater than the first opening degree threshold.
[0058] S111. Obtain environmental interference parameters related to the first device, and proceed to step S112.
[0059] S112. Determine whether the environmental interference parameter is greater than the preset interference threshold. If yes, proceed to step S114; otherwise, proceed to step S113.
[0060] S113. Determine whether the opening degree of the second device is not greater than the fourth opening degree threshold. If yes, proceed to step S115; otherwise, proceed to step S114.
[0061] S114. Control the first device to execute the parsing command;
[0062] S115, Control the second device to execute the parsing command.
[0063] The following is an example illustrating the voice control method in the embodiments of this application:
[0064] For example, the first device is a media player, the second device is an air conditioner, the preset instruction threshold is 0.75, the preset configuration file includes instructions to increase the volume and instructions to increase the airflow, the first opening threshold corresponding to the media player is 20% of the maximum volume, the second opening threshold is 80% of the maximum volume, the third opening threshold corresponding to the air conditioner is 20% of the maximum airflow, and the fourth opening threshold is 80% of the maximum airflow.
[0065] If a user wants to increase the volume of the media player, they can issue a wake-up-free command to "increase volume." The vehicle's infotainment system receives this command via the in-vehicle microphone and parses it. The parsing result includes the volume increase command and its corresponding confidence threshold. The system then retrieves a preset configuration file and checks it against the specified parameters. Since the preset configuration file includes the volume increase command, it indicates that a similar command with the same or similar pronunciation exists within it. The wake-up-free command's parsing result might be incorrect. Therefore, the system compares the preset command threshold with the confidence threshold. If the confidence threshold is not less than 0.75, the parsed command is considered highly reliable, and the system controls the media player to increase its volume. Conversely, if the confidence threshold is less than 0.75, the parsed command is considered less reliable, and the system extracts a similar command from the preset configuration file—the fan speed increase command—and identifies the second device as the air conditioner. If the air conditioner is off, the system controls the media player to increase its volume regardless of whether the media player is on or off. If the media player is off and the air conditioner is on, the system controls the air conditioner to increase its fan speed. If both the player and air conditioning are on, the system executes commands based on the player's volume setting, the air conditioning's fan speed setting, and environmental interference parameters. Specifically: if the player's volume setting is no more than 20% of its maximum volume, the player's volume is increased; if the player's volume setting is between 20% and 80% of its maximum volume, environmental interference parameters related to in-vehicle noise, such as the vehicle's current speed, window opening / closing status, and audio data from the vehicle's microphone, are acquired. If the environmental interference parameters exceed a preset interference threshold (e.g., the vehicle's current speed is greater than 60 km / h), the player's volume is increased. If the environmental interference parameters are no more than a preset interference threshold and the air conditioning's fan speed is no more than 80% of its maximum, the air conditioning's fan speed is increased; otherwise, the player's volume is increased. If the player's volume setting is greater than 80% of its maximum volume and the air conditioning's fan speed is no more than 80% of its maximum, the air conditioning's fan speed is increased; otherwise, the player's volume is increased.
[0066] It should be noted that the first to fourth opening thresholds can be expressed as a percentage of the maximum opening, or as a level or grade. For example, a player's volume can be divided into low, medium, and high levels; the first opening threshold represents the player's low level, and the second opening threshold represents the player's medium level.
[0067] For example, the first device is the vehicle's screen, the second device is the air conditioner, the preset instruction threshold is 0.7, the preset configuration file includes instructions to reduce brightness and instructions to reduce by two degrees, the first opening threshold corresponding to the screen is 20% of the maximum brightness, the second opening threshold is 80% of the maximum brightness, and the fourth opening threshold corresponding to the air conditioner is high level.
[0068] If a user wants to lower the brightness of the vehicle's screen, they can issue a wake-up-free command to "reduce brightness." The vehicle's infotainment system receives this command via the in-vehicle microphone and parses it. The parsing result includes the brightness reduction command and a corresponding confidence threshold. The system then retrieves a preset configuration file and checks it against the settings. Since the configuration file includes the brightness reduction command, it indicates that the preset file contains similar commands with the same or similar pronunciation. The wake-up-free command's parsing result may be incorrect. The system then compares the preset command threshold with the aforementioned confidence threshold. If the confidence threshold is not less than 0.7, the parsed command is considered highly reliable, and the screen brightness is reduced. Conversely, if the confidence threshold is less than 0.7, the parsed command is considered less reliable, and the system extracts a similar command (i.e., a command to reduce brightness by two degrees) from the preset configuration file, identifying the second device as the air conditioner. Since the screen turns on immediately upon vehicle startup, if the air conditioning is off, the screen brightness is reduced. Conversely, if the air conditioning is on, commands are executed based on the screen brightness setting, air conditioning temperature setting, and environmental interference parameters. Specifically: if the screen brightness setting is no more than 20% of the maximum brightness, the screen brightness is reduced; if the screen brightness setting is between 20% and 80% of the maximum brightness, environmental interference parameters related to in-vehicle brightness, such as the current time and weather, are obtained. If the environmental interference parameters exceed a preset interference threshold (e.g., the current time is between 7:00 and 18:00), the screen brightness is reduced. If the environmental interference parameters are no more than the preset interference threshold and the air conditioning temperature is set to low or medium (not high), the air conditioning temperature is reduced by two degrees; otherwise, the screen brightness is reduced. If the screen brightness setting is greater than 80% of the maximum brightness and the air conditioning temperature is set to low or medium, the air conditioning temperature is reduced by two degrees; otherwise, the screen brightness is reduced.
[0069] In addition, this application also provides an electronic device, which includes at least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the above-described voice control method for the vehicle.
[0070] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the aforementioned voice control method for a vehicle.
[0071] Figure 3A schematic block diagram of an example electronic device 200 that can be used to implement embodiments of the present disclosure is shown. The electronic device 200 is intended to represent various forms of digital computers and may include, but is not limited to, applications in vehicles. The electronic device may also represent various forms of mobile devices capable of running computing programs. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0072] like Figure 3 As shown, the electronic device 200 includes a computing unit 201, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 202 or a computer program loaded from a storage unit 208 into a random access memory (RAM) 203. The RAM 203 may also store various programs and data required for the operation of the electronic device 200. The computing unit 201, ROM 202, and RAM 203 are interconnected via a bus 204. An input / output (I / O) interface 205 is also connected to the bus 204. The computing unit 201 may also be collectively referred to herein as a processor.
[0073] Multiple components in electronic device 200 are connected to I / O interface 205, including: input unit 206, such as a display screen; output unit 207, such as various types of displays, speakers, etc.; storage unit 208, such as a hard disk; and communication unit 209, such as a network card, modem, wireless transceiver, etc. Communication unit 209 allows electronic device 200 to exchange information / data with other devices through computer network 140 such as the Internet and / or various telecommunications networks 140.
[0074] The computing unit 201 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 201 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 201 performs the various methods and processes described above, such as a vehicle voice control method. For example, in some embodiments, the vehicle voice control method can be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 208. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 200 via ROM 202 and / or communication unit 209. When the computer program is loaded into RAM 203 and executed by the computing unit 201, one or more steps of the vehicle voice control method described above can be performed. Alternatively, in other embodiments, the computing unit 201 can be configured to perform the vehicle voice control method by any other suitable means (e.g., by means of firmware).
[0075] 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-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0076] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0077] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0078] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0079] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A voice control method for a vehicle, characterized in that, include: In response to receiving a user's wake-up-free command, the wake-up-free command is parsed to obtain a parsing result including the parsing command; In response to determining that the parsing instruction does not meet the preset execution conditions, the status of the first device corresponding to the parsing instruction and the status of the second device corresponding to a similar instruction with the same or similar pronunciation to the parsing instruction are obtained; the parsing instruction does not meet the preset execution conditions if the parsing instruction is included in the preset configuration file; the preset configuration file includes multiple pairs of instructions with the same or similar pronunciation. as well as Controlling the device corresponding to the target instruction to execute the target instruction based on the state of the first device and the state of the second device includes: determining whether the target instruction to be executed is a parsed instruction or a similar instruction based on the state of the first device and the state of the second device; if the target instruction is a parsed instruction, controlling the first device to execute the parsed instruction; if the target instruction is a similar instruction, controlling the second device to execute the similar instruction; the state of the first device and the state of the second device both include an open / closed state and an open degree.
2. The voice control method for a vehicle according to claim 1, wherein, Controlling the device corresponding to the target instruction to execute the target instruction based on the status of the first device and the status of the second device includes: In response to the second device being in a closed state, the first device is controlled to execute the parsing instruction; In response to the second device being in an "on" state and the first device being in a "off" state, the second device is controlled to execute the similar instruction; and In response to both the on / off state of the first device and the on / off state of the second device being in the on state, the device corresponding to the target instruction is controlled to execute the target instruction based at least on the opening degree of the first device and the opening degree of the second device.
3. The voice control method for a vehicle according to claim 2, wherein, Controlling the device corresponding to the target instruction to execute the target instruction based at least on the opening degree of the first device and the opening degree of the second device includes: In response to the first device's opening degree not being greater than a first opening threshold, the first device is controlled to execute the parsing instruction; In response to the first device's opening degree being between a first opening degree threshold and a second opening degree threshold, environmental interference parameters related to the first device are acquired, and the device corresponding to the target instruction is controlled to execute the target instruction based on the environmental interference parameters and the second device's opening degree; and In response to the opening degree of the first device being greater than the second opening threshold, the device corresponding to the target instruction is controlled to execute the target instruction according to the opening degree of the second device; Wherein, the second opening threshold is greater than the first opening threshold.
4. The voice control method for a vehicle according to claim 3, wherein, Based on the environmental interference parameters and the opening degree control of the second device, the device corresponding to the target instruction executes the target instruction, including: In response to the environmental interference parameter being greater than a preset interference threshold, the first device is controlled to execute the parsing instruction; In response to the environmental interference parameter not being greater than a preset interference threshold and the opening degree of the second device not being greater than a fourth opening threshold, the second device is controlled to execute the similar instruction; and In response to the fact that the environmental interference parameter is not greater than the preset interference threshold and the opening degree of the second device is greater than the fourth opening threshold, the first device is controlled to execute the parsing instruction.
5. The voice control method for a vehicle according to claim 4, wherein, The environmental interference parameters are related to the vehicle's interior temperature, interior brightness, or interior noise.
6. The voice control method for a vehicle according to claim 3, wherein, According to the opening control of the second device, the device corresponding to the target instruction executes the target instruction, including: In response to the second device's opening degree not exceeding a fourth opening degree threshold, the second device is controlled to execute the similar instruction; and In response to the second device having an opening degree greater than the fourth opening degree threshold, the first device is controlled to execute the parsing instruction.
7. The voice control method for a vehicle according to any one of claims 1 to 6, wherein, The parsing result includes a confidence threshold corresponding to the parsing instruction; The process of obtaining the status of the first device corresponding to the parsing instruction and the status of the second device corresponding to a similar instruction with the same or similar pronunciation as the parsing instruction, in response to determining that the parsing instruction does not meet the preset execution conditions, includes: Get the preset configuration file; In response to the preset configuration file including the parsing instruction and the confidence threshold being less than the preset instruction threshold, it is determined that the parsing instruction does not meet the preset execution condition, and the similar instruction is extracted from the preset configuration file; Determine the second device corresponding to the similar instruction; and Obtain the status of the first device and the status of the second device.
8. The voice control method for a vehicle according to claim 7, wherein, The voice control method further includes: In response to the fact that the preset configuration does not include the parsing instruction, the first device is controlled to execute the parsing instruction; and In response to the preset configuration file including the parsing instruction and the confidence threshold not being less than the preset instruction threshold, the first device is controlled to execute the parsing instruction.
9. The voice control method for a vehicle according to claim 7, wherein, The preset configuration file also includes a plurality of preset instruction thresholds, and the preset instruction thresholds correspond one-to-one with the instructions in the preset configuration file.
10. An electronic device, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the voice control method for a vehicle according to any one of claims 1 to 9.
11. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the voice control method for the vehicle as described in any one of claims 1 to 9.