A voice control method, system, terminal device and computer program product

By acquiring user voice data from the smart home system and using preset and frequently used command sets for command prompts, the problem of users not being able to remember command words is solved, improving the efficiency of command prompts and the user experience.

CN122116894APending Publication Date: 2026-05-29SHENZHEN WAYTRONIC ELECTRONICS CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN WAYTRONIC ELECTRONICS CO LTD
Filing Date
2024-11-29
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Users often experience difficulties using smart home products due to forgetting or confusing command words, which negatively impacts user experience and efficiency.

Method used

By acquiring user voice data while the voice control program is awake, the target command is determined, and prompts are given based on preset command sets and commonly used command sets when errors occur, so as to acquire and execute the correct target command.

Benefits of technology

It improves the efficiency and user experience of command prompts in case of erroneous commands, ensuring that users' actual needs are met quickly and accurately.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122116894A_ABST
    Figure CN122116894A_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of voice control, and provides a voice control method, system, terminal device and computer program product, comprising: obtaining first voice data of a target user when a voice control program is in a wake-up state; determining a first target command from the first voice data; in the case that the first target command is an error command, performing command prompting based on a preset command set and a commonly used command set; obtaining second voice data of the target user; determining a second target command from the second voice data, and executing the second target command to complete voice control. The method provided in the application, by obtaining first voice data of a target user when a voice control program is in a wake-up state, then determining a first target command from the first voice data, in the case that the first target command is an error command, performing command prompting based on a preset command set and a commonly used command set, and obtaining second voice data of the target user, determining a second target command from the second voice data, and executing the second target command to complete voice control, realizes efficient and accurate command prompting in the case that a user issues an error command in voice control, improves the efficiency of completing a target command corresponding to an actual demand of a user and the use experience of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of voice control technology, and in particular relates to a voice control method, system, terminal equipment and computer program product. Background Technology

[0002] With the rapid development of the global economy and the ever-evolving technology, smart home products have sprung up like mushrooms after rain, greatly enriching our daily lives. From smart light bulbs to smart door locks, from voice assistants to whole-house smart systems, smart connectivity has become an indispensable part of modern life. Users can easily control various electronic devices in their homes with just a simple voice command, and this unprecedented convenience undoubtedly brings great comfort and enjoyment to our lives.

[0003] However, with the increasing variety of smart home products, the number of command words users need to remember and use is also rising sharply. This is not just a simple matter of numerical growth, but a significant challenge concerning user experience and efficiency. In emergency or specific situations, such as needing to leave the house quickly but not being able to find the command words to control the door lock with their phone, or needing to adjust the bedroom lights at night but forgetting the corresponding voice commands, users often feel frustrated because they cannot remember or confuse the command words of different products. This frustration not only reduces the user experience of smart home products, but may also weaken users' trust and reliance on smart home technology to some extent.

[0004] Therefore, how to quickly and accurately locate commands that meet the actual needs of users when they cannot remember the command words of smart home products has become an important issue that urgently needs to be addressed in the current smart home field. Summary of the Invention

[0005] In view of this, embodiments of this application provide a voice control method, system, terminal device, and computer program product to achieve efficient and accurate command prompts when the user issues an incorrect command during voice control, thereby improving the efficiency of completing the target command corresponding to the user's actual needs and the user's user experience.

[0006] The first aspect of this application provides a voice control method, including:

[0007] When the voice control program is in a wake-up state, acquire the target user's first voice data;

[0008] Determine the first target command from the first voice data;

[0009] If the first target command is an incorrect command, command prompts will be provided based on the preset command set and the commonly used command set;

[0010] Acquire the second voice data of the target user;

[0011] The second target command is determined from the second voice data and executed to complete the voice control.

[0012] In one implementation of the first aspect, the command prompting based on a preset command set and a commonly used command set includes:

[0013] Determine the number of preset commands in the preset command set;

[0014] If the number of preset commands is less than the first preset threshold, then obtain the commonly used commands from the commonly used command set;

[0015] Command prompts are provided based on the frequency of use of each of the commonly used commands.

[0016] In one implementation of the first aspect, the command prompting based on a preset command set and a commonly used command set further includes:

[0017] If the number of preset commands is not less than the first preset threshold, then extract the command keywords from the first voice data;

[0018] Based on the command keywords, a matching process is performed in the preset command set to obtain the keyword commands;

[0019] Command prompts will be provided based on the aforementioned keyword commands.

[0020] In one implementation of the first aspect, before acquiring the first voice data of the target user while the voice control program is in a wake-up state, the method further includes:

[0021] When the voice control program is in a wake-up state, if multiple users' voices are detected, the user with the highest priority will be identified as the target user.

[0022] In one implementation of the first aspect, determining the second target command from the second voice data and executing the second target command to complete voice control includes:

[0023] Determine the level limit of the second target command. If the level limit of the second target command is not higher than the priority of the target user, then execute the second target command to complete the voice control.

[0024] If the priority of the second target command is higher than that of the target user, the second target command will be refused to be executed and a level warning will be issued.

[0025] In one implementation of the first aspect, the method further includes:

[0026] When the voice control program is in the wake-up state, obtain the connection status of home devices and scene data;

[0027] Command prompts are provided based on the connection status of the home devices, the scene data, the preset command set, and the commonly used command set.

[0028] In one implementation of the first aspect, the method further includes:

[0029] If the first voice data includes prompt trigger data, it is determined that the user has forgotten the preset command; the prompt trigger data is the voice data in the first voice data that is repeated a first preset number of times within a first preset time period;

[0030] If the user forgets the default command, command prompts will be provided based on the default command set and the frequently used command set.

[0031] A second aspect of this application provides a voice control system, including:

[0032] The voice data acquisition module is used to acquire first voice data of the target user when the voice control program is in a wake-up state; and to acquire second voice data of the target user.

[0033] The first command confirmation module is used to determine the first target command from the first voice data;

[0034] The command prompt module is used to provide command prompts based on a preset command set and a commonly used command set when the first target command is an erroneous command.

[0035] The second command confirmation module is used to determine the second target command from the second voice data and execute the second target command to complete the voice control.

[0036] A third aspect of this application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the voice control method as described in the first aspect.

[0037] A fourth aspect of this application provides a computer program product, including a computer program that, when run, causes the voice control method as described in the first aspect to be executed.

[0038] The beneficial effect of the first aspect of the embodiments of this application is that: by acquiring the first voice data of the target user when the voice control program is in a wake-up state, then determining the first target command from the first voice data, and in the case that the first target command is an incorrect command, providing command prompts based on a preset command set and a commonly used command set, and acquiring the second voice data of the target user, determining the second target command from the second voice data, and executing the second target command to complete the voice control, it is possible to efficiently and accurately provide command prompts when the user issues an incorrect command in the voice control, thereby improving the efficiency of completing the target command corresponding to the user's actual needs and the user's user experience.

[0039] It is understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 This is a schematic diagram illustrating the implementation process of the voice control method provided in the embodiments of this application;

[0042] Figure 2 This is a schematic diagram of the command prompt flow of the voice control method provided in the embodiments of this application;

[0043] Figure 3 This is a schematic diagram of the voice prompt system provided in the embodiments of this application;

[0044] Figure 4 This is a schematic diagram of the terminal device provided in the embodiments of this application;

[0045] Figure 5 This is a schematic diagram of a computer program product provided in an embodiment of this application. Detailed Implementation

[0046] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0047] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0048] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0049] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0050] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0051] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0052] This application provides a voice control method to efficiently and accurately provide command prompts when a user issues an incorrect command, thereby improving the efficiency of completing the target command corresponding to the user's actual needs and enhancing the user experience. The method provided in this application involves acquiring first voice data from the target user while the voice control program is in an active state, determining a first target command from the first voice data, and, if the first target command is an incorrect command, providing command prompts based on a preset command set and a commonly used command set. It also involves acquiring second voice data from the target user, determining a second target command from the second voice data, and executing the second target command to complete the voice control. This achieves efficient and accurate command prompts even when the user issues an incorrect command, improving the efficiency of completing the target command corresponding to the user's actual needs and enhancing the user experience.

[0053] The voice control method provided in this application can be applied to terminal devices for home control, such as mobile phones, tablets, wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), and other computer devices. This application does not impose any restrictions on the specific type of terminal device.

[0054] like Figure 1 As shown, a first aspect of this application provides a voice control method, including:

[0055] Step S10: With the voice control program in a wake-up state, acquire the first voice data of the target user.

[0056] In the application, the voice control program is in sleep mode by default to maintain low power consumption and save battery and computing resources. After the user triggers a preset wake-up condition, the voice control program switches from sleep to wake-up mode. In wake-up mode, it can access various components, acquire and process the user's voice data. The preset wake-up condition can be detecting a preset wake-up word at a preset frequency or detecting a wake-up signal, such as detecting two wake-up words within two seconds, or detecting a wake-up signal generated by a physical hardware button being triggered (e.g., electrical signal, Bluetooth signal, infrared signal, etc.). Understandably, to reduce the chance of false wake-ups, the wake-up word can be set to a word that appears less frequently in daily life.

[0057] In the application, the user will wake up the voice control program when they need to perform voice control. Therefore, while the voice control program is in an awakened state, the microphone is continuously used to acquire the user's initial voice data, which contains the user's request to wake up the voice control program.

[0058] Step S20: Determine the first target command from the first voice data.

[0059] In the application, the first speech data acquired through microphone data undergoes preprocessing operations such as noise reduction, echo cancellation, and background noise removal. Then, speech recognition is performed on the preprocessed speech data to obtain the first target text data. Finally, word segmentation and syntactic analysis are performed on the first target text data to extract the first target command conforming to a preset command format.

[0060] Step S30: If the first target command is an incorrect command, provide command prompts based on a preset command set and a commonly used command set.

[0061] In the application, the system searches for a first target command within a preset command set. It then determines if the same preset command exists in the set, or if a preset command with a similarity greater than a preset similarity threshold exists. If none exists, the first target command is considered an incorrect command. If the first target command is an incorrect command, command prompts are provided based on the preset command set and commonly used command set, either played through the speaker or displayed on the screen.

[0062] In applications, the primary target command can be expanded using methods such as synonyms, abbreviations, or expanded terms to increase the tolerance for user commands.

[0063] Step S40: Obtain the second voice data of the target user.

[0064] In applications, taking command prompts played through a speaker as an example, the user's second voice data can be acquired after the command prompt ends. This avoids interference from the speaker's sound on the acquisition of second voice data from multiple users, ensuring the accuracy and reliability of the second voice data acquisition. However, since user behavior is uncontrollable—for example, the user might attempt to perform voice control again before the command prompt ends—the command prompt can be paused, and the user's third voice data can be received. If the third voice data is a preset command, it is executed; if the third voice data is an incorrect command, then, depending on the user's choice, command prompts can continue based on the first voice data or a new command prompt can be generated by combining the first voice data.

[0065] Step S50: Determine the second target command from the second voice data and execute the second target command to complete voice control.

[0066] In the application, after the command prompt ends, the second voice data issued by the user based on the command prompt is obtained, and the second target command is determined from the second voice data. Under the command prompt, the second target command is a preset command in the preset command set. The voice control is completed by executing the second target command to meet the user's voice control needs.

[0067] like Figure 2 As shown, in one embodiment, the command prompting based on a preset command set and a commonly used command set includes:

[0068] Step S301: Determine the number of preset commands in the preset command set.

[0069] In applications, the number of preset command sets varies considerably due to limitations in the hardware performance and intended use of the terminal devices.

[0070] Step S302: If the number of preset commands is less than the first preset threshold, then obtain the commonly used commands from the commonly used command set.

[0071] In application, the first preset threshold can be set according to the actual situation, for example, it can be set to 17. If the number of preset commands is less than the first preset threshold, it means that the number of commands in the preset command set is small and the distribution of commonly used commands is relatively concentrated. Command prompts can be given based on the commonly used command set.

[0072] In the application, the number of times each preset command is executed is counted, and commands that are executed in the top preset percentage within a preset time period are marked as frequently used commands. For example, preset commands that are executed in the top preset 50% of the time over a month or a quarter are marked as frequently used commands.

[0073] Step S303: Provide command prompts based on the usage frequency of each commonly used command.

[0074] In the application, command prompts can be given based on the frequency of use of frequently used commands. For example, the top five most frequently used commands can be announced, or all frequently used commands in the frequently used command set can be announced in descending order of frequency.

[0075] like Figure 2 As shown, in one embodiment, the command prompting based on a preset command set and a commonly used command set further includes:

[0076] Step S304: If the number of preset commands is not less than the first preset threshold, then extract the command keywords from the first voice data.

[0077] In applications, if the number of preset commands is not less than a first preset threshold, it means that there are many preset commands in the preset naming set, and the proportion of frequently used commands is relatively low. Using only frequently used commands for command prompts is inefficient and ineffective. In this case, by extracting keywords from the first voice data and matching corresponding commands in the preset command set based on these keywords, the efficiency and accuracy of command prompts can be improved.

[0078] Step S305: Based on the command keyword, match it in the preset command set to obtain the keyword command.

[0079] In application, keyword commands can be obtained by directly matching within a preset command set based on command keywords; alternatively, command keywords can be expanded, and keyword commands can be obtained by matching within the preset command set based on the expanded command keywords.

[0080] Step S306: Provide command prompts based on the keyword commands.

[0081] In applications, the keyword commands obtained based on command keywords may be one or more, such as several or even a dozen. When the number of keyword commands is large and exceeds the preset keyword threshold, only the top five most frequently used keyword commands or the top 30% of keyword commands can be broadcast.

[0082] In one embodiment, step S10, before acquiring the first voice data of the target user while the voice control program is in a wake-up state, further includes:

[0083] Step S11: When the voice control program is in the wake-up state, if the voices of multiple users are detected, the user with the highest priority is identified as the target user.

[0084] In applications, after the voice program is activated, there may be scenarios where multiple users simultaneously speak. For example, a parent might want to turn off the TV via voice control, while a child simultaneously speaks, wanting to switch TV channels via voice control; or a homeowner might want to control the living room air conditioner via voice control, while guests are conversing in the living room. To ensure the accuracy of voice control in these situations, it's necessary to determine the user with the highest priority among the multiple users as the target user. Specifically, when multiple users are detected speaking, their identities can be identified through their voice timbre, tone, etc. Different user identities have different priorities; for example, the homeowner has a higher priority than guests, and adults have a higher priority than children. Based on the user's voice, their identity is determined, and according to the priority corresponding to that identity, the user with the highest priority is selected as the target user.

[0085] In one embodiment, step S50, determining a second target command from the second voice data and executing the second target command to complete voice control, includes:

[0086] Step S501: Determine the level restriction of the second target command. If the level restriction of the second target command is not higher than the priority of the target user, then execute the second target command to complete voice control.

[0087] In home applications, some appliances may pose a danger, such as heating devices. These devices could tip over or cause injury if operated at close range for extended periods, and therefore should be kept away from children. Therefore, by setting priority levels for preset commands, the system determines whether the user's priority is higher than the priority level of the target command before execution. The target command is only executed if the user's priority is higher than the priority level, thus improving the safety of voice control.

[0088] Step S502: If the level of the second target command is higher than the priority of the target user, then the execution of the second target command is refused and a level alarm is issued.

[0089] In the application, if the level of the second target command is higher than the priority of the target user, the second target command will be refused to be executed, and a level alarm will be issued to provide a certain reminder.

[0090] In the application, after an alarm is triggered, the user can remove the restriction on one command execution by issuing an unlock command. If the user-issued unlock command is detected after the alarm is triggered, the second target command is executed directly, ignoring the level restriction of the second target command.

[0091] In one embodiment, the method further includes:

[0092] Step S31: With the voice control program in the wake-up state, obtain the connection status and scene data of home devices.

[0093] In the application, the connection status of home devices includes online and offline. "Connected" indicates that the home device is normally connected, while "offline" indicates that the home device cannot connect, such as due to a power outage. Scene data includes information such as time, temperature, and humidity.

[0094] Step S32: Provide command prompts based on the connection status of the home devices, the scene data, the preset command set, and the commonly used command set.

[0095] Based on the connectivity status of home devices, for offline devices, command prompts for preset commands can be canceled, and an offline notification can be provided. For online devices, command prompts are provided based on scene data, preset command sets, and frequently used command sets. Specifically, the current scene is determined based on scene data, and commands relevant to the current scene are selected from the preset command set or frequently used command set and assigned greater scene weight. Command prompts are then based on the scene weight of each command. For example, commands related to turning on lights are given a higher scene weight within half an hour before and after sunset; commands related to turning off lights are given a higher scene weight between 10 and 11 pm, allowing for biased selection of different commands from the preset command set and frequently used command set for different scenes.

[0096] In one embodiment, the method further includes:

[0097] Step S33: If the first voice data includes prompt trigger data, determine that the user has forgotten the preset command; the prompt trigger data is the voice data in the first voice data that is repeated a first preset number of times within a first preset time period.

[0098] Step S34: If the user forgets the preset command, then provide command prompts based on the preset command set and the commonly used command set.

[0099] In applications, in addition to the home control terminal device providing command prompts after the user issues an incorrect command, the user can also directly trigger command prompts when they confirm that they have forgotten the target command, so as to trigger command prompts as quickly as possible and save time.

[0100] In the application, the prompt trigger data can be a wake word or a word other than a wake word, which can be configured by the user. Taking a wake word as an example, if it is detected that the user repeats the wake word a first preset number of times within a first preset time, such as saying the wake word three times in a row within two seconds, it is confirmed that the user has forgotten the preset command. Based on the preset command set and the frequently used command set, command prompts are given, directly broadcasting frequently used commands from the frequently used command set or preset commands from the preset command set that meet a certain frequency.

[0101] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0102] This application also provides a voice control system for executing the steps described in the voice control method embodiments above. The voice control system can be a virtual appliance in a terminal device, run by the terminal device's processor, or it can be the terminal device itself.

[0103] like Figure 3 As shown, the voice control system 3 provided in this application embodiment includes:

[0104] The voice data acquisition module 301 is used to acquire first voice data of the target user when the voice control program is in a wake-up state; and to acquire second voice data of the target user.

[0105] The first command confirmation module 302 is used to determine the first target command from the first voice data;

[0106] Command prompt module 303 is used to provide command prompts based on a preset command set and a commonly used command set when the first target command is an erroneous command;

[0107] The second command confirmation module 304 is used to determine the second target command from the second voice data and execute the second target command to complete the voice control.

[0108] In one embodiment, the command prompt module 303 is used for:

[0109] Determine the number of preset commands in the preset command set;

[0110] If the number of preset commands is less than the first preset threshold, then obtain the commonly used commands from the commonly used command set;

[0111] Command prompts are provided based on the frequency of use of each of the commonly used commands.

[0112] In one embodiment, the command prompt module 303 is used for:

[0113] If the number of preset commands is not less than the first preset threshold, then extract the command keywords from the first voice data;

[0114] Based on the command keywords, a matching process is performed in the preset command set to obtain the keyword commands;

[0115] Command prompts will be provided based on the aforementioned keyword commands.

[0116] In one embodiment, the voice control system 3 further includes:

[0117] The target user selection module 305 is used to identify the user with the highest priority as the target user if multiple users' voices are detected when the voice control program is in the wake-up state.

[0118] In one embodiment, the second command confirmation module 304 is used for:

[0119] Determine the level limit of the second target command. If the level limit of the second target command is not higher than the priority of the target user, then execute the second target command to complete the voice control.

[0120] If the priority of the second target command is higher than that of the target user, the second target command will be refused to be executed and a level warning will be issued.

[0121] In one embodiment, the command prompt module 303 is further configured to:

[0122] If the first voice data includes prompt trigger data, it is determined that the user has forgotten the preset command; the prompt trigger data is the voice data in the first voice data that is repeated a first preset number of times within a first preset time period;

[0123] If the user forgets the default command, command prompts will be provided based on the default command set and the frequently used command set.

[0124] In applications, the modules in a voice control system can be software program modules or implemented through different logic circuits integrated in a processor.

[0125] Figure 4 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. Figure 4 As shown, the terminal device 4 in this embodiment includes: at least one processor 40 ( Figure 4 (Only one is shown) a processor, a memory 41, and a computer program 42 stored in the memory 41 and executable on the at least one processor 40, which, when executing the computer program 42, implements the steps in any of the above-described voice control method embodiments.

[0126] The terminal device may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will understand that... Figure 4 This is merely an example of terminal device 4 and does not constitute a limitation on terminal device 4. It may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, it may also include input / output devices, network access devices, etc.

[0127] The processor 40 can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0128] In some embodiments, the memory 41 may be an internal storage unit of the terminal device 4, such as a hard disk or memory of the terminal device 4. In other embodiments, the memory 41 may be an external storage device of the terminal device 4, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the terminal device 4. Furthermore, the memory 41 may include both internal and external storage units of the terminal device 4. The memory 41 is used to store the operating system, applications, bootloader, data, and other programs, such as the program code of the computer program. The memory 41 can also be used to temporarily store data that has been output or will be output.

[0129] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0130] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0131] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.

[0132] This application provides a computer program product 5, including a computer program 50, which, when run, causes the above-described voice control method to be executed.

[0133] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a device / terminal equipment, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0134] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0135] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0136] In the embodiments provided in this application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0137] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0138] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A voice control method, characterized in that, include: When the voice control program is in a wake-up state, acquire the target user's first voice data; Determine the first target command from the first voice data; If the first target command is an incorrect command, command prompts will be provided based on the preset command set and the commonly used command set; Obtain the second voice data of the target user; The second target command is determined from the second voice data and executed to complete the voice control.

2. The voice control method as described in claim 1, characterized in that, The command prompting based on a preset command set and a commonly used command set includes: Determine the number of preset commands in the preset command set; If the number of preset commands is less than the first preset threshold, then obtain the commonly used commands from the commonly used command set; Command prompts are provided based on the frequency of use of each of the commonly used commands.

3. The voice control method as described in claim 2, characterized in that, The command prompt based on the preset command set and the commonly used command set also includes: If the number of preset commands is not less than the first preset threshold, then extract the command keywords from the first voice data; Based on the command keywords, a matching process is performed in the preset command set to obtain the keyword commands; Command prompts will be provided based on the aforementioned keyword commands.

4. The voice control method as described in claim 1, characterized in that, Before acquiring the first voice data of the target user while the voice control program is in the wake-up state, the method further includes: When the voice control program is in a wake-up state, if multiple users' voices are detected, the user with the highest priority will be identified as the target user.

5. The voice control method as described in claim 4, characterized in that, The step of determining the second target command from the second voice data and executing the second target command to complete voice control includes: Determine the level limit of the second target command. If the level limit of the second target command is not higher than the priority of the target user, then execute the second target command to complete the voice control. If the priority of the second target command is higher than that of the target user, the second target command will be refused to be executed and a level warning will be issued.

6. The voice control method as described in claim 1, characterized in that, The method further includes: When the voice control program is in the wake-up state, obtain the connection status of home devices and scene data; Command prompts are provided based on the connection status of the home devices, the scene data, the preset command set, and the commonly used command set.

7. The voice control method according to any one of claims 1 to 6, characterized in that, The method further includes: If the first voice data includes prompt trigger data, it is determined that the user has forgotten the preset command; the prompt trigger data is the voice data in the first voice data that is repeated a first preset number of times within a first preset time period; If the user forgets the default command, command prompts will be provided based on the default command set and the frequently used command set.

8. A voice control system, characterized in that, include: The voice data acquisition module is used to acquire the first voice data of the target user when the voice control program is in the wake-up state; And to acquire the second voice data of the target user; The first command confirmation module is used to determine the first target command from the first voice data; The command prompt module is used to provide command prompts based on a preset command set and a commonly used command set when the first target command is an erroneous command. The second command confirmation module is used to determine the second target command from the second voice data and execute the second target command to complete the voice control.

9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 7.

10. A computer program product, characterized in that, Includes a computer program, which, when run, causes the voice control method as described in any one of claims 1 to 7 to be executed.