Terminal equipment and voice instruction response method
By using voice conflict windows and priority matrix to manage voice commands in terminal devices, the problem of voice command conflict in multiple user scenarios is solved, and the response efficiency and user experience are improved.
Patent Information
- Application Number
- CN202410930989.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-11-12
AI Technical Summary
In multi-user scenarios, terminal devices cannot process multiple simultaneous voice commands in time, resulting in a decrease in response efficiency and affecting user interaction experience.
By introducing a voice conflict window and a priority matrix into the terminal device, analyzing the voiceprint identification of voice commands, detecting and managing voice conflicts, determining the response order of voice commands based on the priority matrix, ensuring that high priority commands are executed first.
Improve the response efficiency of voice commands, reduce conflicts, and improve the user's voice interaction experience.
Smart Images

Figure CN118942454A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of voice detection technology, and in particular to a terminal device and a method for responding to voice commands. Background Art
[0002] Terminal equipment refers to electronic devices with sound collection functions, which can be smart TVs, mobile phones, smart speakers, computers, robots and other electronic devices. Taking smart TVs as an example, smart TVs are based on Internet application technology, have open operating systems and chips, have voice recognition function modules, and can realize two-way human-computer interaction functions. The TV products are used to meet the diverse and personalized needs of users.
[0003] The terminal device can collect the voice data input by the user to form the corresponding voice command. Then the voice command input by the user is recognized, and the action indicated by the voice command is executed according to the recognized intention, such as video control, driving control or music playback. That is, the user can input voice commands containing different texts to the terminal device according to his own needs, so that the terminal device responds to the voice command, thereby realizing different voice control functions.
[0004] However, in multi-user scenarios, when multiple users input different voice commands to the terminal device at the same time, since the voice commands are input at the same time, these voice commands are likely to conflict in the terminal device, making the terminal device unable to recognize and process the voice commands in a timely manner, resulting in a decrease in the response efficiency of the voice commands in the terminal device, thereby affecting the user's interactive experience. Summary of the invention
[0005] The present application provides a terminal device and a method for responding to voice commands to solve the problem of low efficiency in responding to voice commands in the terminal device.
[0006] In a first aspect, some embodiments of the present application provide a terminal device, including a detector and a controller. The detector is configured to collect a voice command input by a user, and the controller is configured to execute the following program steps:
[0007] In response to a target voice command, parsing a first voiceprint identifier of the target voice command, and detecting a voice conflict window, wherein the voice conflict window is used to arrange the execution priority of the voice command;
[0008] If there is a voice conflict window, obtaining a second voiceprint identifier associated with the voice conflict window, and responding to the target voice instruction according to the first voiceprint identifier and the second voiceprint identifier;
[0009] If the voice conflict window does not exist, obtain the first instruction set identified by the first voiceprint, and respond to the target voice instruction according to the priority matrix and the first instruction set, wherein the priority matrix includes an enabling relationship of the first instruction set, and the enabling relationship is used to characterize whether the target voice conflict window corresponding to the first instruction set is effective.
[0010] In some embodiments of the present application, the controller executes a response to the target voice instruction according to the first voiceprint identifier and the second voiceprint identifier, and is specifically configured to: obtain a control instruction set, the control instruction set including a first instruction set of the first voiceprint identifier and a second instruction set of the second voiceprint identifier; query a first priority and a second priority according to the control instruction set, the first priority being a priority order calculated based on the first voiceprint identifier, and the second priority being a priority order calculated based on the second voiceprint identifier; if the first priority is higher than the second priority, mark an exit from the voice conflict window, and respond to the target voice instruction according to the priority matrix and the first instruction set.
[0011] In some embodiments of the present application, the controller executes a response to the target voice instruction according to the priority matrix and the first instruction set, and is specifically configured to: detect an enabling relationship of the first instruction set in the priority matrix; if the enabling relationship of the first instruction set indicates that the target voice conflict window is effective, add the target voice instruction to the target voice conflict window, and execute the target program indicated by the target voice instruction based on the target voice conflict window; if the enabling relationship of the first instruction set indicates that the target voice conflict window is not effective, execute the target program indicated by the target voice instruction.
[0012] In some embodiments of the present application, after the controller executes the step of executing the target program indicated by the target voice instruction based on the target voice conflict window, it is also configured to: set the monitoring timing of the target voice conflict window; if the voice instruction of the first voiceprint identification is received within a preset time period, reset the starting point of the monitoring timing; if the voice instruction of the first voiceprint identification is not received within the preset time period, mark the exit of the target voice conflict window.
[0013] In some embodiments of the present application, after the controller executes the step of querying the first priority and the second priority according to the control instruction set, it is also configured to: discard the target voice instruction if the first priority is lower than the second priority; and mark the exit of the voice conflict window when no voice instruction identified by the second voiceprint is received within a preset time period.
[0014] In some embodiments of the present application, after the controller executes the step of querying the first priority and the second priority according to the reference instruction set, it is also configured to: if the first priority is lower than the second priority, add the target voice instruction to the voice control queue according to the first priority; and after marking the exit of the voice conflict window, execute the target program indicated by the target voice instruction according to the voice control queue.
[0015] In some embodiments of the present application, the controller is further configured to: create the priority matrix, the priority matrix including the voiceprint identifier and the enabling relationship of the instruction set of the voiceprint identifier; set the weight of the voiceprint identifier and the parameter value of the enabling relationship, the weight is used to characterize the priority order of the voiceprint identifier, the parameter value of the enabling relationship includes a first parameter value and a second parameter value, the first parameter value is used to characterize that the voice conflict window of the instruction set is effective, and the second parameter value is used to characterize that the voice conflict window of the instruction set is not effective; and store the priority matrix.
[0016] In some embodiments of the present application, the instruction set of the voiceprint identification includes at least two subsets of instruction types, the instruction type is determined based on semantic understanding of the voice instruction of the voiceprint identification, and the subset is set with the parameter value of the enabling relationship.
[0017] In some embodiments of the present application, the controller is configured to: obtain the voice data collected by the detector in response to a voiceprint entry instruction input by the user; parse the basic voiceprint of the voice data; if the basic voiceprint is in an unstored state, assign a basic voiceprint identifier to the basic voiceprint; establish an association between the basic voiceprint and the basic voiceprint identifier to generate voiceprint entry information; and store the voiceprint entry information in a voiceprint database.
[0018] In a second aspect, some embodiments of the present application further provide a method for responding to a voice command, which can be applied to the terminal device provided in the first aspect, and the response method comprises the following steps:
[0019] In response to a target voice command, parsing a first voiceprint identifier of the target voice command, and detecting a voice conflict window, wherein the voice conflict window is used to arrange the execution priority of the voice command;
[0020] If there is a voice conflict window, obtaining a second voiceprint identifier associated with the voice conflict window, and responding to the target voice instruction according to the first voiceprint identifier and the second voiceprint identifier;
[0021] If the voice conflict window does not exist, obtain the first instruction set identified by the first voiceprint, and respond to the target voice instruction according to the priority matrix and the first instruction set, wherein the priority matrix includes an enabling relationship of the first instruction set, and the enabling relationship is used to characterize whether the target voice conflict window corresponding to the first instruction set is effective.
[0022] It can be seen from the above technical solutions that some embodiments of the present application provide a terminal device and a method for responding to voice commands, and the method can respond to the target voice command, parse the first voiceprint identifier of the target voice command, and detect a voice conflict window. Among them, the voice conflict window is used to arrange the execution priority of the voice command. If there is a voice conflict window, obtain the second voiceprint identifier associated with the voice conflict window, and respond to the target voice command according to the first voiceprint identifier and the second voiceprint identifier; if there is no voice conflict window, obtain the first instruction set of the first voiceprint identifier, and respond to the target voice command according to the priority matrix and the first instruction set. Among them, the priority matrix includes the enabling relationship of the first instruction set, and the enabling relationship is used to characterize whether the target voice conflict window corresponding to the first instruction set is effective. The method determines the response mode of the voice command through the voice conflict window and the priority matrix, which can improve the response efficiency of the voice command and improve the user's voice interaction experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 A system architecture diagram of an interactive scenario of voice interaction of a terminal device provided in some embodiments of the present application;
[0025] Figure 2 A schematic diagram of the hardware configuration of a terminal device provided in some embodiments of the present application;
[0026] Figure 3 A schematic diagram of software configuration of a terminal device provided in some embodiments of the present application;
[0027] Figure 4 A schematic diagram of a network architecture for speech recognition provided in some embodiments of the present application;
[0028] Figure 5 A flowchart of a voice command response method provided in some embodiments of the present application;
[0029] Figure 6A schematic diagram of a process for parsing a first voiceprint identifier provided in some embodiments of the present application;
[0030] Figure 7 A schematic diagram of the voiceprint recording process provided in some embodiments of the present application;
[0031] Figure 8 A schematic diagram of the display effect of a voiceprint list provided in some embodiments of the present application;
[0032] Fig. 9 A schematic diagram of a process of responding to a target voice command provided in some embodiments of the present application;
[0033] Fig.10 A schematic diagram of a process of marking and exiting a voice conflict window provided in some embodiments of the present application;
[0034] Fig.11 A flowchart of executing a target program indicated by a target voice command provided in some embodiments of the present application;
[0035] Fig.12 An example diagram of a process for responding to a target voice command provided in some embodiments of the present application. DETAILED DESCRIPTION
[0036] In order to make the purpose and implementation method of the present application clearer, the exemplary implementation method of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0037] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0038] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0039] Figure 1 The following is an exemplary illustration of the system architecture that can be applied to the interactive scenario of the terminal device voice interaction of the present application. Figure 1 As shown, 10 is a server, 200 is a terminal device, exemplarily including (smart TV 200a, mobile device 200b, smart speaker 200c).
[0040] In the present application, the server 10 and the terminal device 200 communicate data through various communication methods. The terminal device 200 may be allowed to communicate through a local area network (LAN), a wireless local area network (WLAN) and other networks. The server 10 may provide various content and interactions to the terminal device 20. Exemplarily, the terminal device 200 and the server 10 may send and receive information, and receive software program updates.
[0041] In some embodiments, the server 10 may be a server that provides various services, such as a background server that provides support for audio data collected by the terminal device 200. The background server may analyze and process the received audio data, and feed back the processing results (such as endpoint information) to the terminal device. The server 10 may be a server cluster or multiple server clusters, and may include one or more types of servers.
[0042] In some embodiments, the terminal device 200 can be hardware or software. When the terminal device 200 is hardware, it can be various electronic devices with sound collection functions, including but not limited to smart speakers, smart phones, TVs, tablet computers, e-book readers, smart watches, players, computers, AI devices, robots, smart vehicles, etc. When the terminal devices 200, 201, and 202 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, to provide sound collection services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0043] It should be noted that the volume adjustment method for voice broadcast provided in the embodiment of the present application can be executed by the server 10, can also be executed by the terminal device 20, and can also be executed by the server 10 and the terminal device 20 together, and the present application does not limit this.
[0044] Figure 2 FIG. 2 shows a hardware configuration block diagram of a terminal device 200 according to an exemplary embodiment. Figure 2 The terminal device 200 shown includes at least one of a communication device 220, a detector 230, a device interface 240, a controller 250, a display 260, an audio output device 270, a memory, a power supply, and a user input interface 280. The controller includes a central processing unit, an audio processor, a graphics processor, a RAM, a ROM, and a first interface to an nth interface for input / output.
[0045] In some embodiments, the display 260 includes a display screen component for presenting images, and a driving component for driving image display, which is used to receive image signals output from a controller, display video content, image content, and a menu control interface component and a user control UI interface.
[0046] In some embodiments, the display 260 may be a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
[0047] In some embodiments, the communication device 220 is a component for communicating with an external device or server 10 according to various communication protocol types. The terminal device 200 may be provided with multiple communication devices 220 according to different supported communication modes. For example, when the terminal device 200 supports wireless network communication, the terminal device 200 may be provided with a communication device 220 including a WiFi function. When the terminal device 200 supports Bluetooth connection communication, the terminal device 200 needs to be provided with a communication device 220 including a Bluetooth function.
[0048] In some embodiments, the communication device 220 can enable the terminal device 200 to communicate with the external device or server 10 by wireless or wired connection. Among them, the wired connection can connect the terminal device 200 to the external device through components such as data cables and interfaces. The wireless connection can connect the terminal device 200 to the external device through wireless signals or wireless networks. The terminal device 200 can establish a connection relationship with the external device directly, or indirectly establish a connection relationship through a gateway, a router, a connection device, etc.
[0049] In some embodiments, the user input interface 280 may be used to receive instructions from a user.
[0050] In some embodiments, the detector 230 is used to collect signals of the external environment or external interaction. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
[0051] In some embodiments, the sound collector can be a microphone, also known as a "microphone" or "microphone", which can be used to receive the user's voice and convert the sound signal into an electrical signal. The terminal device 200 can be provided with at least one microphone. In other embodiments, the terminal device 200 can be provided with two microphones, which can not only collect sound signals but also realize the noise reduction function. In other embodiments, the terminal device 200 can also be provided with three, four or more microphones to realize the collection of sound signals, noise reduction, identification of the sound source, and realization of directional recording functions, etc.
[0052] In some embodiments, the microphone may be built into the terminal device 200, or the microphone may be connected to the terminal device 200 by wire or wirelessly. Of course, the embodiment of the present application does not limit the position of the microphone on the terminal device 200. Alternatively, the terminal device 200 may not include a microphone, that is, the microphone is not provided in the terminal device 200. The terminal device 200 may be connected to an external microphone (also referred to as a microphone) through an interface (such as a USB interface 130). The external microphone may be fixed to the terminal device 200 by an external fixing (such as a camera bracket with a clip).
[0053] In some embodiments, the controller 250 controls the operation of the terminal device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the terminal device 200.
[0054] Exemplarily, the controller includes at least one of a central processing unit (CPU), an audio processor, a graphics processing unit (GPU), a RAM (Random Access Memory, RAM), a ROM (Read-Only Memory, ROM), a first interface to an nth interface for input / output, a communication bus, etc.
[0055] In order to perform user interaction, in some embodiments, the terminal device 200 may run an operating system, which is a computer program for managing and controlling hardware resources and software resources in the terminal device 200.
[0056] It should be noted that the operating system may be a native operating system based on a specific operating platform, or a third-party operating system deeply customized based on a specific operating platform, or an independent operating system specially developed for a terminal device.
[0057] In some examples, the operating system of the terminal device is an Android system, such as Figure 3 As shown, the terminal device 200 can be logically divided into an application layer (“application layer” for short) 21 , a kernel layer 22 and a hardware layer 23 .
[0058] In some embodiments, Figure 3 As shown, the hardware layer may include Figure 2The controller 250, the communication device 220, the detector 230, etc. are shown. The application layer 21 includes one or more applications. The application can be a system application or a third-party application. For example, the application layer 21 includes a voice application, which can provide a voice interaction interface and service for realizing the connection between the smart TV 200-1 and the server 10.
[0059] The kernel layer 22 serves as a software middleware between the hardware layer and the application layer 21 and is used to manage and control hardware and software resources.
[0060] In some embodiments, the kernel layer 22 includes a detector driver, which is used to send the voice data collected by the detector 230 to the voice application. Exemplarily, when the voice application in the terminal device 200 is started and the terminal device 200 establishes a communication connection with the server 10, the detector driver is used to send the voice data input by the user collected by the detector 230 to the voice application. Afterwards, the voice application sends the query information containing the voice data to the intent recognition module in the server. The intent recognition module is used to input the voice data sent by the terminal device 200 into the intent recognition model.
[0061] It should be noted that the above example is only a simple division of the operating system functions and does not constitute a limitation on the specific operating system form of the terminal device 200 in the embodiment of the present application. Depending on factors such as the function of the terminal device and the type of operating system, the number of levels and specific level types contained in the operating system may be expressed in other forms.
[0062] To clearly illustrate the embodiments of the present application, Figure 4 A speech recognition network architecture provided in an embodiment of the present application is described.
[0063] See also Figure 4 , Figure 4 A schematic diagram of a voice interaction network architecture provided for an embodiment of the present application. Figure 4 In the example, the terminal device is used to receive input information and output the processing result of the information. The speech recognition module is deployed with a speech recognition service for recognizing audio as text; the semantic understanding module is deployed with a semantic understanding service for semantically parsing text; the business management module is deployed with a business instruction management service for providing business instructions; the language generation module is deployed with a language generation service (NLG) for converting the instructions for the terminal device to execute into text language; the speech synthesis module is deployed with a speech synthesis (TTS) service for processing the text language corresponding to the instruction and sending it to the speaker for broadcasting. In one embodiment, Figure 4 In the illustrated architecture, there may be multiple physical service devices deployed with different business services, or one or more functional services may be integrated into one or more physical service devices.
[0064] In some embodiments, the following Figure 4 The process of processing the information input into the terminal device in the illustrated architecture is described by way of example, taking the information input into the terminal device as a query statement inputted by voice as an example:
[0065] [Speech Recognition]
[0066] After receiving the query statement input by voice, the terminal device may perform noise reduction processing and feature extraction on the audio of the query statement. The noise reduction processing here may include steps such as removing echoes and environmental noise.
[0067] [Semantic understanding]
[0068] Using acoustic models and language models, natural language understanding is performed on the identified candidate texts and associated context information, and the texts are parsed into structured, machine-readable information, business domain, intent, word slots and other information to express semantics, etc. The executable intent is obtained to determine the intent confidence score, and the semantic understanding module selects one or more candidate executable intents based on the determined intent confidence score.
[0069] [Business Management]
[0070] Based on the semantic analysis results of the query text, the semantic understanding module sends query instructions to the corresponding business management module to obtain the query results given by the business service, execute the actions required to "complete" the user's final request, and feedback the device execution instructions corresponding to the query results.
[0071] It should be noted that Figure 4 The architecture shown is only an example and does not limit the protection scope of the present application. In the embodiment of the present application, other architectures may also be used to implement similar functions. For example, all or part of the above process may be completed by the terminal device 200, which will not be described in detail here.
[0072] In some embodiments, the terminal device 200 can collect the user's voice data through the detector 230 to generate a voice command. Figure 4 The voice recognition network architecture shown in the figure recognizes the voice data, determines the program indicated by the voice instruction according to the recognition result, and then executes the program indicated by the voice instruction through the controller 250. That is, the terminal device 200 can collect the voice input by the user through the sound collector in the detector 230, and then convert the analog electrical signal corresponding to the voice into a digital signal, and then send the converted digital signal as a voice instruction to the Figure 3 The voice application shown, so that the terminal device 200 performs recognition processing based on the voice application.
[0073] For example, the terminal device 200 can collect the voice input by the user through a sound collector to generate an analog electrical signal. The ADC (Analog-to-Digital Converter) in the sound collector then samples the continuous analog electrical signal, that is, regularly measures the voltage of the analog point signal and converts it into a discrete value. Then, the ADC quantizes these discrete values and maps them to a discrete numerical range. Finally, the ADC uses an encoder to convert the quantized value into a binary digital signal, and passes the binary digital signal, i.e., the voice command, to the voice application for processing.
[0074] In order to distinguish the user's voice, in some embodiments, a specific voice function button may be configured in the control device of the terminal device 200. When the user presses the voice function button, the terminal device 200 collects the voice data input by the user based on the sound collector in the detector 230 to generate a voice command. For example, when the terminal device 200 is a smart TV, the user can input voice data to the smart TV by pressing the voice function button in the remote control device of the smart TV to generate a voice command for controlling the smart TV.
[0075] In some embodiments, the terminal device 200 itself is configured with a specific voice function triggering method. For example, the terminal device 200 is connected to an external or built-in camera, and the camera collects user images in real time. When the user makes a specific gesture or action, the terminal device 200 collects the voice data input by the user based on the sound collector as a voice command.
[0076] In some embodiments, after receiving the voice command, the voice application of the terminal device 200 sends the voice command to the server 10, so that the server 10 performs analysis and processing on the voice command. For example, after receiving the voice command input by the user, the voice application of the terminal device 200 sends the voice command to the intention recognition module of the server 10, and the intention recognition module performs semantic recognition on the voice command, and then sends the obtained semantic recognition result back to the voice application of the terminal device 200, so that the voice application of the terminal device 200 performs corresponding processing according to the semantic recognition result.
[0077] In some embodiments, the terminal device 200 may also perform preprocessing on the voice data collected by the detector 230. The preprocessing may include denoising, front-end and back-end muting, pre-emphasis, and windowing and framing, etc. The denoising may be implemented by spectral subtraction, Wiener filtering, or deep learning algorithms, etc. The front-end and back-end muting is to remove the blank areas of the front-end and back-end in the target voice data, and the blank areas of the front-end and back-end may be determined by a preset muting threshold.
[0078] In some embodiments, the terminal device 200 can collect voice data input by the user within a certain distance through the detector 230 based on far-field voice technology, and the user does not need to press specific buttons or make specific actions, etc., which can improve the convenience of voice control. For example, the terminal device 200 can receive sound signals from different directions through the microphone array in the detector 230, and perform sound source positioning and noise suppression through algorithms; at the same time, the received sound signals are converted into voice commands, and the voice commands are transmitted to the controller 250 for processing.
[0079] The terminal device 200 can receive the voice command input by the user based on the above method, and execute the corresponding program in response to the voice command. However, in a multi-user scenario, when multiple users input different voice commands to the terminal device 200 at the same time, since the input time of each voice command is the same or very close, these voice commands may conflict in the terminal device 200, such as the terminal device 200 cannot determine which voice command to execute first. In this way, when multiple users input multiple voice commands, the terminal device 200 may not be able to respond to the voice commands in a timely manner, affecting the user's interactive experience.
[0080] To this end, some embodiments of the present application provide a terminal device 200, which manages voice commands through a voice conflict window and a priority matrix, can accurately determine the voice commands that currently need to be responded to, reduce conflicts between voice commands, and increase the response speed of voice commands, thereby improving the user's voice interaction experience.
[0081] like Figure 5 As shown, in some embodiments, the terminal device 200 may include a detector 230 and a controller 250. The detector 230 is configured to collect voice data input by the user; the controller 250 is configured to perform the following program steps:
[0082] S501: In response to a target voice instruction, parsing a first voiceprint identifier of the target voice instruction, and detecting a voice conflict window.
[0083] After receiving the target voice command input by the user, the terminal device 200 analyzes the first voiceprint identification of the target voice command, that is, analyzes the voiceprint feature of the target voice command to determine the current user role. Figure 6As shown, in some embodiments, the terminal device 200 can perform feature extraction on the voice data contained in the target voice command to obtain feature parameters of the voice data in the target voice command, such as the terminal device 200 can perform feature extraction on the voice data based on Mel spectrum cepstral coefficients, linear prediction coefficients, etc. Then calculate the similarity or distance between the feature parameters and the established voiceprint model to determine the voiceprint of the target voice command and the first voiceprint identifier corresponding to the voiceprint.
[0084] like Figure 7 As shown, in some embodiments, the terminal device 200 can obtain the voice data collected by the detector in response to the voiceprint recording instruction input by the user. Then the basic voiceprint of the voice data is analyzed. If the basic voiceprint is not stored, a basic voiceprint identifier is assigned to the basic voiceprint. Then, an association relationship between the basic voiceprint and the basic voiceprint identifier is established to generate voiceprint recording information, such as a voiceprint model. The voiceprint recording information is then stored in the voiceprint database for the terminal device 200 to perform subsequent processing. For example, the basic voiceprint can be obtained through a feature extraction operation, and the voiceprint recording information is the voiceprint model established by the terminal device 200. The terminal device 200 can confirm whether the basic voiceprint is not stored by calculating the similarity between the voice data and the voiceprint model.
[0085] In some embodiments, if the basic voiceprint is in a stored state, the terminal device 200 generates a prompt message that the voiceprint already exists, and outputs the prompt message that the voiceprint already exists to the user for the user's reference. For example, when the terminal device 200 is configured with a display 260, the controller 250 can control the display 260 to display the prompt message that the voiceprint already exists; or, when the terminal device 200 is configured with an audio output device 270, the controller 250 can control the audio output device 270 to play the prompt message that the voiceprint already exists; or, the terminal device 200 can output the prompt message that the voiceprint already exists in both of the above methods.
[0086] In order to ensure the security of voiceprint recording, in some embodiments, the terminal device 200 can trigger the verification mechanism of the system password in response to the voiceprint recording instruction, and control the detector 230 to collect the voice data input by the user only after passing the verification of the verification mechanism. For example, when the terminal device 200 is configured with a display 260, the controller 250 can control the display 260 to display a prompt interface of the system password, and the user needs to enter the correct system password through the prompt interface; or, when the terminal device 200 is configured with an audio output device 270, the controller 250 can control the audio output device 270 to output a prompt tone of "please enter the password", and the user needs to say the correct system password within a specific time; or, the terminal device 200 can output a prompt message that the voiceprint already exists in any of the above methods.
[0087] In some embodiments, the verification mechanism of the system password in the terminal device 200 may be a PIN (Personal Identification Number) verification method, or may be a verification method in other character forms, such as Chinese characters, English characters, etc. Alternatively, in some embodiments, the verification mechanism of the system password in the terminal device 200 may also be a fingerprint verification or a face recognition biometric verification method.
[0088] In some embodiments, the basic voiceprint and the basic voiceprint identifier have a one-to-one correspondence, that is, one basic voiceprint corresponds to one basic voiceprint identifier, so as to facilitate the identification and distinction of voiceprint input information. Figure 8 The voiceprint list shown is used to display the recorded voiceprint information. Each voiceprint information corresponds to a control view, and the control view displays the associated information of the voiceprint information. Users can edit each control view in the voiceprint list, such as deleting and modifying the voiceprint information of the basic voiceprint.
[0089] In some embodiments, the display interface of the voiceprint list further includes a switch control 801, which can be used to enable and disable the voiceprint list. For example, when the user sets the switch control 801 to the off state, the voiceprint list of the terminal device 200 is disabled, and the terminal device 200 responds to the voice command only through the voice conflict window, wherein the voice conflict window can mark the addition and exit of the voice command only by the command type of the voice command.
[0090] In some embodiments, the terminal device 200 analyzes the first voiceprint identifier in response to the target voice command, and also detects whether there is a voice conflict window currently. The voice conflict window is used to arrange the execution priority of the voice command, and the voice conflict window is a conflict window set based on the voice command. The voice conflict window refers to the time period during which a voice command may conflict with other voice commands in its life cycle, and the size and position of the voice conflict window depend on the execution order of the voice command and the data access mode.
[0091] In some embodiments, the terminal device 200 may respond to the target voice command by first parsing the first voiceprint identifier and then detecting the voice conflict window; alternatively, the terminal device 200 may also respond to the target voice command by first detecting the voice conflict window and then parsing the first voiceprint identifier.
[0092] In order to improve the conflict problem of multiple voice commands, in some embodiments, the terminal device 200 also creates a priority matrix. The priority matrix includes the voiceprint identifier and the enabling relationship of the instruction set of the voiceprint identifier, and the enabling relationship is used to characterize whether the voice conflict window corresponding to the instruction set is effective. Then set the weight of the voiceprint identifier and the parameter value of the enabling relationship. The weight is used to characterize the priority order of the voiceprint identifier, and the parameter value of the enabling relationship includes a first parameter value and a second parameter value. The first parameter value is used to characterize that the voice conflict window of the instruction set is effective, and the second parameter value is used to characterize that the voice conflict window of the instruction set is not effective. Then, the priority matrix is stored for the terminal device 200 to respond to the voice command according to the priority matrix.
[0093] That is to say, the terminal device 200 can calculate the priority of the voice command from the two dimensions of voiceprint identification and instruction set, thereby determining the voice command with the highest priority, and immediately responding to the voice command with the highest priority to execute the program indicated by the voice command. Among them, when the enabling relationship of a certain voiceprint identification corresponding to the instruction set is characterized as the voice conflict window not being effective, the current voiceprint identification will not trigger the voice conflict window.
[0094] In some embodiments, the command set of the voiceprint identification includes at least two subsets of command types, the command type is determined based on the semantic understanding of the voice command of the voiceprint identification, and the subset is set with a parameter value of the enabling relationship. For example, the command type can be a video control command, a driving command, a music playing command, etc.
[0095] In some embodiments, different types of instruction sets may also be configured with different weight values, so that the terminal device 200 may also calculate the priority order of the voice instructions in combination with the weight values corresponding to the instruction sets.
[0096] In some embodiments, weight values may also be set for instructions for implementing different functions in the same type of instruction set, so that the terminal device 200 can give priority to executing the program indicated by the more urgent voice instruction in a specific scenario. For example, taking the terminal device 200 as an intelligent vehicle, for the instruction set of driving instructions, a higher weight value may be set for the braking instruction. When the intelligent vehicle receives multiple voice instructions at the same time and the received voice instructions include the braking instruction, the intelligent vehicle will give priority to executing the braking program indicated by the braking instruction.
[0097] In some embodiments, the priority matrix of the terminal device 200 may also be configured with other parameters to set the priority order of each instruction set or the instructions in the instruction set for implementing different functions. For example, the priority order of each voice instruction may be set according to the time when the voice instruction is received or the scene in which the terminal device 200 is located when receiving the voice instruction.
[0098] Exemplarily, the instruction set may include instruction set 1—driving instructions, instruction set 2—video control instructions, and instruction set 3—music play instructions. The voiceprint identifier may be administrator voiceprint 1, senior user voiceprint 2, ordinary user voiceprint 3, ordinary user voiceprint 4, and ordinary user voiceprint 5. The priority matrix created by the terminal device 200 is shown in the following table:
[0099]
[0100] In the table, Y is the first parameter value, which is used to indicate that the voice conflict window of the instruction set is effective; N is the second parameter value, which is used to indicate that the voice conflict window of the instruction set is not effective. If the voice conflict window of the instruction set identified by the high priority voiceprint is not effective, the terminal device 200 can indicate the instruction set identified by the low priority voiceprint.
[0101] For ease of description, in the following embodiments of the present application, the enabling relationship representing the effectiveness of the voice conflict window is expressed as supporting the voice conflict window, and the enabling relationship representing the ineffectiveness of the voice window is expressed as not supporting the voice conflict window.
[0102] In some embodiments, the user can also perform editing operations on the stored priority matrix. For example, add a voiceprint identifier with a priority, delete the priority of some voiceprint identifiers, modify the enabling relationship of each instruction set, etc. In this way, the user can customize the enabling relationship corresponding to each voiceprint identifier and the priority order of the voiceprint identifier, so that the terminal device 200 can select the execution of the voice instruction in a personalized manner.
[0103] S502: If there is a voice conflict window, obtain a second voiceprint identifier associated with the voice conflict window, and respond to the target voice instruction according to the first voiceprint identifier and the second voiceprint identifier.
[0104] After the terminal device 200 parses the first voiceprint identifier of the target voice command and detects whether there is a voice conflict window, if there is a voice conflict window, it obtains the second voiceprint identifier associated with the voice conflict window, that is, determines which voiceprint identifier the current voice conflict window corresponds to. Then, according to the first voiceprint identifier of the newly received target voice command and the second voiceprint identifier of the current voice conflict window, it responds to the target voice command.
[0105] like Fig. 9As shown, in some embodiments, when the terminal device 200 responds to the target voice command according to the first voiceprint identifier and the second voiceprint identifier, it obtains the control instruction set, and then queries the first priority and the second priority according to the control instruction set. Among them, the control instruction set includes the first instruction set of the first voiceprint identifier and the second instruction set of the second voiceprint identifier, the first priority is the priority order calculated based on the first voiceprint identifier, and the second priority is the priority order calculated based on the second voiceprint identifier. If the first priority is higher than the second priority, the voice conflict window is marked to exit, and the target voice command is responded to according to the priority matrix and the first instruction set.
[0106] For example, as shown in the priority matrix in the table provided in the above example, the terminal device 200 receives the video control instruction of the advanced user voiceprint 2, and detects that the current terminal device 200 is located in the voice conflict window A of the music playback instruction of the ordinary user voiceprint 4, that is, the terminal device 200 currently has a voice conflict window A. Since the video control instruction priority of the advanced user voiceprint 2 is higher than the music playback instruction priority of the ordinary user voiceprint 4, the terminal device 200 can mark the exit of the voice conflict window A and respond to the video control instruction according to the instruction set of the advanced user voiceprint 2.
[0107] In some embodiments, the first priority and the second priority can be calculated based on the priority and enabling relationship of the voiceprint identifier in the priority matrix. That is, the terminal device 200 can calculate and determine the first priority and the second priority based on the parameter values of the weight and enabling relationship through a preset algorithm.
[0108] For example, as shown in the priority matrix in the table provided in the above example, when ordinary user voiceprint 3 and ordinary user voiceprint 4 input music playback instructions to the terminal device 200 at the same time, since the enabling relationship parameter value of the music playback instruction corresponding to the ordinary user voiceprint 3 is N, the music playback instruction of the ordinary user voiceprint 3 does not support the voice conflict window, and the enabling relationship parameter value of the music playback instruction corresponding to the ordinary user voiceprint 4 is Y, the music playback instruction of the ordinary user voiceprint 4 supports the voice conflict window, so the terminal device 200 marks the music playback instruction of the ordinary user voiceprint 4 entering the voice conflict window, and responds to the music playback instruction of the ordinary user voiceprint 4 through the voice conflict window in priority.
[0109] It should be noted that when calculating the priority order corresponding to the voice instructions, the terminal device 200 of the embodiment of the present application can use different algorithms to calculate the priority order corresponding to the voice instructions. For example, different coefficients can be set for different instruction sets in the algorithm and the coefficients can be combined to calculate the product of each weight value, etc. This application does not impose any restrictions on this.
[0110] like Fig.10As shown, in some embodiments, after the terminal device 200 marks the entry into the voice conflict window of any voiceprint identification, the monitoring timing of the voice conflict window is set. If the voice instruction of the current voiceprint identification is not received within the preset time period, the current voice conflict window is marked to exit; if the voice instruction of the current voiceprint identification is received within the preset time period, the timing starting point of the detection timing is reset, and the voice instruction of the current voiceprint identification is continuously monitored within the preset time period. Among them, the preset time period can be set according to the application scenario. For example, the preset time period of the monitoring timing can be 10s, etc.
[0111] That is to say, after the terminal device 200 marks the entry into the voice conflict window of a certain voiceprint identifier, if no voice command of the voiceprint identifier is received within the preset time period, the voice conflict window of the voiceprint identifier is marked to exit; otherwise, the terminal device 200 resets the monitoring timing of the voice conflict window of the voiceprint identifier, and continues to monitor whether the voice command of the voiceprint is received within the preset time period.
[0112] In some embodiments, for target voice commands that do not need to be executed immediately, the terminal device 200 can directly discard or add such target voice commands to the voice control queue, and then execute the target voice commands in the voice control queue after the voice commands in the current voice conflict window are executed.
[0113] That is, in some embodiments, after the terminal device 200 queries the first priority and the second priority according to the reference instruction set, if the first priority is lower than the second priority, the target voice instruction is discarded; and when no voice instruction identified by the second voiceprint is received within a preset time period, the voice conflict window is marked for exit.
[0114] In some embodiments, after the terminal device 200 queries the first priority and the second priority according to the reference instruction set, if the first priority is lower than the second priority, the target voice instruction is added to the voice control queue according to the first priority; and after marking the exit of the voice conflict window, the target program indicated by the target voice instruction is executed according to the voice control queue.
[0115] For the target voice instructions in the voice control queue, in some embodiments, the terminal device 200 can execute the target voice instructions in the voice control queue in the order of the time of addition, or calculate the execution priority of the target voice instructions in the voice control queue according to the priority matrix.
[0116] S503: If the voice conflict window does not exist, obtain a first instruction set identified by the first voiceprint, and respond to the target voice instruction according to the priority matrix and the first instruction set.
[0117] After the terminal device 200 detects the voice conflict window, if there is no voice conflict window currently, the terminal device 200 can obtain the first instruction set of the first voiceprint identifier, and respond to the target voice instruction according to the priority matrix and the first instruction set. Among them, the priority matrix includes the enabling relationship of the first instruction set, and the enabling relationship is used to indicate whether the target voice conflict window corresponding to the first instruction set is effective.
[0118] like Fig.11 As shown, regardless of whether there is a voice conflict window currently, in some embodiments, when the terminal device 200 responds to the target voice instruction according to the priority matrix and the first instruction set, the enabling relationship of the first instruction set is detected in the priority matrix. If the enabling relationship of the first instruction set indicates that the target voice conflict window is effective, the target voice instruction is marked to be added to the target voice conflict window, and the target program indicated by the target voice instruction is executed based on the target voice conflict window; if the enabling relationship of the first instruction set indicates that the target voice conflict window is not effective, the target program indicated by the target voice instruction is executed.
[0119] For example, as shown in the priority matrix in the table provided in the above example, the terminal device 200 receives the video control instruction of the advanced user voiceprint 2, and detects that the current terminal device 200 is not in the voice conflict window, that is, there is no voice conflict window. The terminal device 200 detects the enabling relationship of the video control instruction in the priority matrix. Since the enabling relationship of the video control instruction of the advanced user voiceprint 2 indicates that the voice conflict window is effective, the newly received video control instruction of the advanced user voiceprint 2 is marked and added to the target voice conflict window. Among them, the target voice conflict window is the voice conflict window of the advanced user voiceprint 2.
[0120] In some embodiments, after the terminal device 200 executes the target program indicated by the target voice command based on the target voice conflict window, it also sets the monitoring timing of the target voice conflict window. If the voice command of the first voiceprint identification is received within the preset time period, the starting point of the monitoring timing is reset; if the voice command of the first voiceprint identification is not received within the preset time period, the target voice conflict window is marked to be exited.
[0121] The following is an example to illustrate steps S501-S503 provided in the above embodiment. Fig.12 As shown in the example, the newly received target voice command is represented as a new voice command, and the first voiceprint identifier of the new voice command is represented as id_new; when the terminal device 200 currently has a voice conflict window, the second voiceprint identifier of the voice conflict window is represented as id_current. It is worth noting that the steps and processes provided in this example are only steps and processes under some implementation methods, and do not limit the specific implementation methods of the above steps S501-S503.
[0122] After receiving the new voice command, the terminal device 200 parses the voiceprint identifier id_new of the new voice command, and then determines whether there is a voice conflict window at present. If there is a voice conflict window, the voiceprint identifier id_current of the voice conflict window is obtained, and the priorities of the instruction sets corresponding to id_new and id_current are compared to determine whether the priority of the new voice command is higher than the priority of the voice command in the current voice conflict window. If the priority of the new voice command is lower than the priority of the command in the voice conflict window, the new voice command is not processed; if the priority of the new voice command is higher than the priority of the command in the voice conflict window, the execution strategy of the current voice conflict window is stopped, and the current voice conflict window is marked to exit, and it is determined whether the instruction set corresponding to the new voice command supports the voice conflict window; if it supports, the new voice command is marked to be added to the voice conflict window of id_new, and then the program corresponding to the new voice command is executed, and then the voice conflict window of id_new is marked to exit after a preset time period; if it does not support, the program corresponding to the new voice command is executed.
[0123] If there is no voice conflict window, obtain the instruction set of id_new, and then determine whether the instruction set corresponding to the new voice instruction supports the voice conflict window; if it does, mark the new voice instruction to be added to the voice conflict window of id_new, and then execute the program corresponding to the new voice instruction, and then mark to exit the voice conflict window of id_new after a preset time period; if it does not support, execute the program corresponding to the new voice instruction.
[0124] In some embodiments, the voice application of the terminal device 200 may be configured with a voice receiving module, a voiceprint recognition module, a priority matrix management module, a priority calculation and decision module, a conflict management module, and an instruction execution module. Among them, the voice receiving module is used to receive voice instructions; the voiceprint recognition module is used to perform voiceprint recognition and verification, and perform voiceprint recognition on the received voice instructions; the priority matrix management module is used to generate and store the voiceprint priority matrix; the priority calculation and decision module is used to calculate the priority order of the voice instructions according to the preset priority matrix; the conflict management module is used to manage the instruction queue in the voice conflict window, feedback the instruction execution status, and update the internal status of the system to prepare for the execution of the instruction; the instruction execution module is used to execute the voice instruction with the highest priority determined.
[0125] Based on the above terminal device 200, some embodiments of the present application also provide a method for responding to a voice command, which can be applied to the terminal device 200 provided in the above embodiment. Figure 5 As shown, the response method includes the following steps:
[0126] S501: In response to a target voice command, parsing a first voiceprint identifier of the target voice command, and detecting a voice conflict window, wherein the voice conflict window is used to arrange execution priorities of the voice commands;
[0127] S502: If there is a voice conflict window, obtain a second voiceprint identifier associated with the voice conflict window, and respond to the target voice instruction according to the first voiceprint identifier and the second voiceprint identifier;
[0128] S503: If the voice conflict window does not exist, obtain the first instruction set identified by the first voiceprint, and respond to the target voice instruction according to the priority matrix and the first instruction set, wherein the priority matrix includes an enabling relationship of the first instruction set, and the enabling relationship is used to characterize whether the target voice conflict window corresponding to the first instruction set is effective.
[0129] It can be seen from the above technical solutions that some embodiments of the present application provide a terminal device and a method for responding to voice commands, and the method can respond to the target voice command, parse the first voiceprint identifier of the target voice command, and detect a voice conflict window. Among them, the voice conflict window is used to arrange the execution priority of the voice command. If there is a voice conflict window, obtain the second voiceprint identifier associated with the voice conflict window, and respond to the target voice command according to the first voiceprint identifier and the second voiceprint identifier; if there is no voice conflict window, obtain the first instruction set of the first voiceprint identifier, and respond to the target voice command according to the priority matrix and the first instruction set. Among them, the priority matrix includes the enabling relationship of the first instruction set, and the enabling relationship is used to characterize whether the target voice conflict window corresponding to the first instruction set is effective. The method determines the response mode of the voice command through the voice conflict window and the priority matrix, which can improve the response efficiency of the voice command and improve the user's voice interaction experience.
[0130] The same and similar parts between the various embodiments in this specification can be referenced to each other and will not be described again here.
[0131] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention or certain parts of the embodiments.
[0132] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0133] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A terminal device, characterized in that: include: A detector configured to collect voice data input by a user; The controller is configured as: In response to a target voice command, parsing a first voiceprint identifier of the target voice command, and detecting a voice conflict window, wherein the voice conflict window is used to arrange the execution priority of the voice command; If there is a voice conflict window, obtaining a second voiceprint identifier associated with the voice conflict window, and responding to the target voice instruction according to the first voiceprint identifier and the second voiceprint identifier; If the voice conflict window does not exist, obtain the first instruction set identified by the first voiceprint, and respond to the target voice instruction according to the priority matrix and the first instruction set, wherein the priority matrix includes an enabling relationship of the first instruction set, and the enabling relationship is used to characterize whether the target voice conflict window corresponding to the first instruction set is effective.
2. The terminal device according to claim 1, characterized in that: The controller executes the response to the target voice instruction according to the first voiceprint identifier and the second voiceprint identifier, and is specifically configured as follows: Acquire a comparison instruction set, the comparison instruction set including a first instruction set of the first voiceprint identifier and a second instruction set of the second voiceprint identifier; querying a first priority and a second priority according to the comparison instruction set, wherein the first priority is a priority order calculated based on the first voiceprint identifier, and the second priority is a priority order calculated based on the second voiceprint identifier; If the first priority is higher than the second priority, a mark is provided to exit the voice conflict window, and the target voice instruction is responded to according to the priority matrix and the first instruction set.
3. The terminal device according to claim 1 or 2, characterized in that: The controller executes the response to the target voice instruction according to the priority matrix and the first instruction set, and is specifically configured as follows: Detecting an enabling relationship of the first instruction set in the priority matrix; If the enabling relationship of the first instruction set indicates that the target voice conflict window is effective, adding the target voice instruction to the target voice conflict window, and executing the target program indicated by the target voice instruction based on the target voice conflict window; If the enabling relationship of the first instruction set indicates that the target voice conflict window is not effective, the target program indicated by the target voice instruction is executed.
4. The terminal device according to claim 3, characterized in that: After the controller executes the step of executing the target program indicated by the target voice instruction based on the target voice conflict window, the controller is further configured to: Setting a monitoring timing of the target speech conflict window; If a voice command of the first voiceprint identifier is received within a preset time period, resetting the starting point of the monitoring timing; If no voice instruction identified by the first voiceprint is received within the preset time period, a mark is provided to exit the target voice conflict window.
5. The terminal device according to claim 2, characterized in that: After executing the step of querying the first priority and the second priority according to the comparison instruction set, the controller is further configured to: If the first priority is lower than the second priority, discarding the target voice instruction; And, when no voice instruction of the second voiceprint identification is received within a preset time period, a mark is issued to exit the voice conflict window.
6. The terminal device according to claim 2, characterized in that: After executing the step of querying the first priority and the second priority according to the comparison instruction set, the controller is further configured to: If the first priority is lower than the second priority, adding the target voice command to the voice control queue according to the first priority; And, after marking to exit the voice conflict window, executing the target program indicated by the target voice instruction according to the voice control queue.
7. The terminal device according to claim 1, characterized in that: The controller is also configured to: Creating the priority matrix, wherein the priority matrix includes the voiceprint identifier and the enabling relationship of the instruction set of the voiceprint identifier; The weight of the voiceprint identifier and the parameter value of the enabling relationship are set, wherein the weight is used to characterize the priority order of the voiceprint identifier, and the parameter value of the enabling relationship includes a first parameter value and a second parameter value, wherein the first parameter value is used to characterize that the voice conflict window of the instruction set is effective, and the second parameter value is used to characterize that the voice conflict window of the instruction set is not effective The priority matrix is stored.
8. The terminal device according to claim 7, characterized in that: The instruction set of the voiceprint identification includes at least two subsets of instruction types, the instruction types are determined based on semantic understanding of the voice instruction of the voiceprint identification, and the subsets are set with parameter values of the enabling relationship.
9. The terminal device according to claim 1, characterized in that: The controller is configured to: In response to a voiceprint recording instruction input by a user, acquiring voice data collected by the detector; Analyze the basic voiceprint of the voice data; If the basic voiceprint is in a not stored state, assigning a basic voiceprint identifier to the basic voiceprint; Establishing an association relationship between the basic voiceprint and the basic voiceprint identifier to generate voiceprint entry information; The voiceprint entry information is stored in a voiceprint database.
10. A method for responding to a voice command, characterized in that: include: In response to a target voice command, parsing a first voiceprint identifier of the target voice command, and detecting a voice conflict window, wherein the voice conflict window is used to arrange the execution priority of the voice command; If there is a voice conflict window, obtaining a second voiceprint identifier associated with the voice conflict window, and responding to the target voice instruction according to the first voiceprint identifier and the second voiceprint identifier; If the voice conflict window does not exist, obtain the first instruction set identified by the first voiceprint, and respond to the target voice instruction according to the priority matrix and the first instruction set, wherein the priority matrix includes an enabling relationship of the first instruction set, and the enabling relationship is used to characterize whether the target voice conflict window corresponding to the first instruction set is effective.
Citation Information
Cited By
Equipment control method and device, equipment and storage medium
CN119676016A
A device control method, apparatus, device, and storage medium
CN119676016B
