Distributed voice response method and apparatus, electronic device, and storage medium
By identifying the target device based on preset rules in a distributed system, the problem of multiple devices responding simultaneously is solved, ensuring that only the target device responds to the user, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2022-07-07
- Publication Date
- 2026-08-04
AI Technical Summary
In existing technologies, the problem of multiple smart devices in a user's home responding to the user's wake word simultaneously leads to a decline in user experience.
In a distributed system, a target device is determined from multiple devices based on preset rules, and the target device is controlled to respond to user input information. The rules include device activation priority, default sorting, and sound intensity priority.
This ensures that only the target device responds to the user in multi-device scenarios, avoiding simultaneous responses from multiple devices and improving the user experience.
Smart Images

Figure CN115294978B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a distributed voice response method, apparatus, electronic device, and storage medium. Background Technology
[0002] With the advancement of technology and the development of the internet, smart devices are becoming increasingly prevalent in households. A home may contain multiple devices capable of recognizing the user's voice, such as air conditioners, televisions, and speakers. Each of these devices has an independent voice input. When a user speaks a wake-up word, multiple voice inputs may "hear" it. Therefore, when a user activates a wake-up word, multiple devices may respond, leaving the user unsure of the next interaction and significantly impacting the user experience. Currently, no effective solution has been proposed to address the problem of multiple voice inputs responding simultaneously. Summary of the Invention
[0003] To address the aforementioned issues, this application provides a distributed voice response method, apparatus, electronic device, and storage medium, which solves the problem of simultaneous response from multiple voice inputs in existing smart devices.
[0004] In a first aspect, this application provides a distributed voice response method applied to a distributed system, the distributed system comprising: multiple devices, the multiple devices being communicatively connected; the method comprising: acquiring user input information; determining a target device from the multiple devices based on the input information and preset rules; and controlling the target device to respond to the input information.
[0005] In some embodiments of this application, the preset rule includes: prioritizing activated devices; determining a target device from multiple devices based on the input information and the preset rule, so that the target device responds to the input information, includes: when the input information contains a device activation signal, selecting the device corresponding to the activation signal as the target device to respond based on the activation signal and the principle of prioritizing activated devices.
[0006] In some embodiments of this application, the preset rules include: a default sorting; the step of determining a target device from multiple devices based on the input information and the preset rules, so that the target device responds to the input information, includes: determining the target device from multiple devices based on the default sorting when the input information does not contain a device activation signal.
[0007] In some embodiments of this application, the input information includes: voice information; the preset rule includes: sound intensity priority; the multiple devices include: multiple devices of the same type; the step of determining a target device from the multiple devices based on the input information and the preset rule, so that the target device responds to the input information, includes: electing the device with the highest sound intensity based on the sound intensity of the voice information obtained by the multiple devices of the same type, so that the target device responds to the voice information.
[0008] In some embodiments of this application, multiple devices of the same type are voice playback devices.
[0009] In some embodiments of this application, the devices interact with each other via a local area network or Bluetooth.
[0010] In some embodiments of this application, the priority of the activated device is greater than the priority of the default sorting, and the priority of the activated device is greater than the priority of the sound intensity priority.
[0011] Secondly, this application provides a distributed voice response device, the device comprising: an acquisition module for acquiring user input information; a determination module for determining a target device from multiple devices based on the input information and preset rules; and a control module for controlling the target device to respond to the input information.
[0012] Thirdly, this application provides an electronic device including a memory and a processor, wherein the memory stores a computer program that, when executed by the processor, performs the distributed voice response method as described in any one of the first aspects.
[0013] Fourthly, this application provides a storage medium storing a computer program that can be executed by one or more processors and can be used to implement the distributed voice response method as described in any of the first aspects.
[0014] Compared with the prior art, one or more embodiments of the above solutions may have the following advantages or beneficial effects:
[0015] This application provides a distributed voice response method, device, electronic device, and storage medium. When a user inputs interactive information, a target device is determined from multiple devices based on the interactive information and preset rules. After the target device is determined, the target device actively responds to the user's interactive voice. This enables only the target device to respond to the user when the same user has multiple smart devices for voice interaction, thereby avoiding multiple devices responding at the same time and improving the user experience. Attached Figure Description
[0016] The present application will be described in more detail below based on embodiments and with reference to the accompanying drawings:
[0017] Figure 1 A flowchart illustrating the overall process of a distributed voice response method provided in this application embodiment;
[0018] Figure 2 A schematic diagram illustrating a distributed voice response method provided in an embodiment of this application;
[0019] Figure 3 This is a structural block diagram of a distributed voice response method provided in an embodiment of this application. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0021] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0022] If the application documents contain similar descriptions such as "first, second, third", the following explanation shall be added: In the following description, the terms "first, second, third" are used only to distinguish similar objects and do not represent a specific order of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0024] Example 1
[0025] Figure 1 For an overall flowchart of a distributed voice response method provided in this application embodiment, please refer to [link / reference]. Figure 1The method is applied to a distributed system, which includes multiple devices connected in communication with each other. The distributed voice response method provided in this embodiment can achieve its functionality by having the processor of an electronic device call program code, wherein the program code can be stored in a computer storage medium. This embodiment provides a distributed voice response method, including:
[0026] Step S101: Obtain user input information.
[0027] In this embodiment, the device refers to a device with voice interaction capabilities, such as smart home appliances like air conditioners, televisions, stereos, washing machines, water dispensers, and refrigerators. When multiple devices receive user input, the distributed control system selects a target device to respond to the user's input. The user's input includes voice messages and activation signals generated when the user clicks on a device. The voice messages contain the user's activation word, also known as a wake-up word. The activation signal generated when the user clicks on a device can be a signal generated by clicking on a device with a screen or a button input by the user.
[0028] Step S102: Determine the target device from multiple devices based on the input information and preset rules.
[0029] In this embodiment, the preset rules include: activation device priority principle, default sorting principle, and sound intensity priority principle. When multiple devices receive user input information, the control system selects a single device from among the multiple devices to respond based on the input information and the aforementioned preset rules; this selected device is the target device.
[0030] Step S103: Control the target device to respond to the input information.
[0031] In this embodiment, after the control system selects the target device, it controls the target device to respond to the user, which can avoid the problem of multiple devices responding at the same time.
[0032] In some embodiments, the preset rule includes: prioritizing activated devices; determining a target device from multiple devices based on the input information and the preset rule, so that the target device responds to the input information, includes: when the input information contains a device activation signal, selecting the device corresponding to the activation signal as the target device to respond based on the activation signal and the principle of prioritizing activated devices.
[0033] For example, the device activation priority principle is as follows: if multiple devices receive the same wake word from the user, and the user also clicks to activate one of the multiple devices, then the activated device will be the target device to respond to the user.
[0034] In some embodiments, the preset rules include: a default sorting; determining a target device from multiple devices based on the input information and the preset rules, so that the target device responds to the input information, includes: determining the target device from multiple devices based on the default sorting when the input information does not contain a device activation signal.
[0035] For example, the default sorting principle is as follows: In multi-device scenarios, the default order is: central control device > TV > audio equipment > mobile phone; for instance, if all of the above devices exist in a home, the central control device will activate the voice assistant to respond to the user during voice wake-up. The above sorting rules are not limited; in practical applications, users can set the sorting according to their personal preferences.
[0036] In some embodiments, the input information includes: voice information; the preset rule includes: sound intensity priority; the multiple devices include: multiple devices of the same type; the step of determining a target device from the multiple devices based on the input information and the preset rule, so that the target device responds to the input information, includes: performing an election based on the sound intensity of the voice information obtained by the multiple devices of the same type, selecting the device with the highest sound intensity as the target device, so that the target device responds to the voice information.
[0037] For example, the sound intensity priority principle is as follows: when multiple similar devices simultaneously receive a wake word, the election protocol and rule adaptation are applied according to the sound intensity priority principle. The sound intensity of the wake word received by each device is different. After comparison, the device with the strongest sound intensity of the received wake word responds to the user via broadcast communication, while other devices remain silent.
[0038] In some embodiments, multiple devices of the same type are voice playback devices. If multiple speaker-like devices exist in a user's home, the voice assistant is activated based on the device with the strongest sound pickup.
[0039] In some embodiments, the devices interact with each other via a local area network (LAN) or Bluetooth. The communication method in this embodiment is not limited to LAN, Bluetooth, or other similar technologies.
[0040] In some embodiments, the priority of the activated device is greater than the priority of the default sorting, and the priority of the activated device is greater than the priority of the sound intensity priority.
[0041] In some embodiments, the preset rule includes: prioritizing activated devices; determining a target device from multiple devices based on the input information and the preset rule, so that the target device responds to the input information, includes: when the input information contains a device activation signal, selecting the device corresponding to the activation signal as the target device to respond based on the activation signal and the principle of prioritizing activated devices.
[0042] In some embodiments, the preset rules include: a default sorting; determining a target device from multiple devices based on the input information and the preset rules, so that the target device responds to the input information, includes: determining the target device from multiple devices based on the default sorting when the input information does not contain a device activation signal.
[0043] In some embodiments, the input information includes: voice information; the preset rule includes: sound intensity priority; the multiple devices include: multiple devices of the same type; the step of determining a target device from the multiple devices based on the input information and the preset rule, so that the target device responds to the input information, includes: performing an election based on the sound intensity of the voice information obtained by the multiple devices of the same type, selecting the device with the highest sound intensity as the target device, so that the target device responds to the voice information.
[0044] In some embodiments, multiple devices of the same type are voice playback devices.
[0045] In some embodiments, the devices interact with each other via a local area network or Bluetooth.
[0046] In some embodiments, the priority of the activated device is greater than the priority of the default sorting, and the priority of the activated device is greater than the priority of the sound intensity priority.
[0047] This embodiment provides a distributed voice response method. When a user inputs interactive information, a target device is determined from multiple devices based on the interactive information and preset rules. After the target device is determined, the target device actively responds to the user's interactive voice. This ensures that when the same user has multiple smart devices for voice interaction, only the target device responds to the user, thereby avoiding multiple devices responding at the same time and improving the user experience.
[0048] Example 2
[0049] Based on Embodiment 1, this embodiment illustrates the method described in Embodiment 1 through a specific implementation example. When multiple devices receive user input information, the distributed control system selects a target device to respond to the user's input information. The user's input information includes voice messages from the user and activation signals generated when the user clicks on a device. The voice messages contain the user's activation word, also known as a wake-up word. The activation signal generated when the user clicks on a device can be a signal generated by the user clicking on a device with a screen, or it can be a button signal input by the user.
[0050] Figure 2 Please refer to the schematic diagram of a distributed voice response method provided in the embodiments of this application. Figure 2In a space, there are multiple devices with voice interaction capabilities. These devices are all connected to the same local area network (LAN). The devices communicate with each other using technologies such as LAN and Bluetooth. The devices can exchange data and perform rule-based elections to select a responding device, which then responds to the user.
[0051] For example, such as Figure 2 As shown, the same space contains smart home devices such as a central control unit, air conditioner, television, and speakers. When a user issues an activation word to wake up the device, all smart home devices simultaneously receive the activation word. To prevent these devices from responding to the user at the same time, this embodiment establishes three rules, as follows:
[0052] Rule 1: Device Activation Priority. The principle of device activation priority is as follows: if smart home devices such as central control units, air conditioners, televisions, and audio systems receive the same wake-up word from the user, and the user also presses the voice button on the remote control, then the device corresponding to that remote control will act as the activation device to respond to the user. For example... Figure 2 As shown, when a user utters the activation word and presses the remote control, the smart device bound to the remote control will respond to the user.
[0053] Rule 2: Default Sorting. In multi-device scenarios, the default sorting is: Central Control Device > TV > Audio Devices > Mobile Phone. For example, if a home has a central control device, TV, audio devices, and a mobile phone, the central control device will activate the voice assistant to respond to the user during voice wake-up. If there is no central control device or it is damaged and unresponsive, the TV will activate the voice assistant. If there is neither a central control device nor a TV, or both are damaged and unresponsive, the audio devices will activate the voice assistant. This sorting rule is not fixed; in practice, users can set the default sorting rule according to their personal preferences.
[0054] Rule 3: Sound Intensity Priority. When multiple similar devices receive a wake word simultaneously, the election protocol and rules apply to the sound intensity priority principle. For example, if a user's home has multiple audio devices, when the user issues an activation word to wake them up, the sound intensity of the wake word received by each audio device will vary. After comparison, the audio device with the loudest wake word will actively respond to the interactive voice and interact with the user, while the other audio devices will remain silent.
[0055] Rule 4: Rule 1 >> Rule 2 ≈ Rule 3. When all three of the above scenario rules exist simultaneously, Rule 1 takes precedence, i.e., device activation takes priority.
[0056] The distributed voice response method provided in this embodiment determines the target device from multiple smart devices based on the interaction information and rules one to four when the user inputs interactive information. After the target device is determined, the target device actively responds to the user's interactive voice. This ensures that when the same user has multiple smart devices for voice interaction, only the target device responds to the user, thereby avoiding multiple devices responding at the same time and improving the user experience.
[0057] Example 3
[0058] Figure 3 Please refer to the structural diagram of a distributed voice response device provided in the embodiments of this application. Figure 3 This embodiment provides a distributed voice response device 200, including:
[0059] Module 201 is used to acquire user input information;
[0060] The determination module 202 is used to determine the target device from multiple devices based on the input information and preset rules;
[0061] The control module 203 is used to control the target device to respond to the input information.
[0062] It should be noted that the acquisition module 201 in this embodiment can be used to execute step S101 in this application embodiment, the determination module 202 in this embodiment can be used to execute step S102 in this application embodiment, and the control module 203 in this embodiment can be used to execute step S103 in this application embodiment.
[0063] The examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the content disclosed in the above embodiments.
[0064] In some embodiments, the preset rules in the determining module 202 include: prioritizing activated devices; determining the target device from multiple devices based on the input information and the preset rules, so that the target device responds to the input information, includes: if the input information contains a device activation signal, selecting the device corresponding to the activation signal as the target device to respond based on the activation signal and the principle of prioritizing activated devices. For example, if multiple devices receive the same wake word from the user, and the user also activates one of the multiple devices, then that activated device will respond to the user as the target device.
[0065] In some embodiments, the preset rules in the determining module 202 include: a default sorting; determining the target device from multiple devices based on the input information and the preset rules, so that the target device responds to the input information, includes: determining the target device from multiple devices based on the default sorting when the input information does not contain a device activation signal. For example, in a multi-device scenario, the default sorting is: central control device > television > audio equipment > mobile phone; for example, if all of these devices exist in a home, the central control device will activate the voice assistant to respond to the user during voice wake-up. The above sorting rules are not limited; in practical applications, users can set the sorting according to their personal preferences.
[0066] In some embodiments, the input information acquired by the acquisition module 201 includes: voice information; the preset rule includes: sound intensity priority; the multiple devices include: multiple devices of the same type; the step of determining a target device from the multiple devices based on the input information and the preset rule, so that the target device responds to the input information, includes: electing the device with the highest sound intensity based on the sound intensity of the voice information acquired by the multiple devices of the same type, so that the target device responds to the voice information. For example, multiple devices of the same type simultaneously receive a wake-up word; the election protocol and rule adaptation are applied according to the sound intensity priority principle. The sound intensity of the wake-up word received by each device is different; after comparison, the device with the highest sound intensity of the received wake-up word responds to the user, while other devices remain silent.
[0067] In some embodiments, multiple devices of the same type are voice playback devices. For example, when multiple speaker-type devices in a user's home simultaneously receive the wake word, the speaker with the strongest pickup volume activates the voice assistant for recognition.
[0068] In some embodiments, the devices interact with each other via a local area network or Bluetooth.
[0069] In some embodiments, the priority of the activated device is greater than the priority of the default sorting, and the priority of the activated device is greater than the priority of the sound intensity priority.
[0070] This embodiment provides a distributed voice response method. When a user inputs interactive information, a target device is determined from multiple devices based on the interactive information and preset rules. After the target device is determined, the target device actively responds to the user's interactive voice. This ensures that when the same user has multiple smart devices for voice interaction, only the target device responds to the user, thereby avoiding multiple devices responding at the same time and improving the user experience.
[0071] Example 4
[0072] This application provides an electronic device, which may be a mobile phone, computer, or tablet computer, etc., including a memory and a processor. The memory stores a calculator program, which, when executed by the processor, implements a distributed voice response method as described in Embodiment 1. It is understood that the electronic device may also include multimedia components, input / output (I / O) interfaces, and communication components.
[0073] The processor is used to execute all or part of the steps in the distributed voice response method as described in Embodiment 1. The memory is used to store various types of data, which may include, for example, instructions for any application or method in the electronic device, as well as application-related data.
[0074] The processor may be implemented as an Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), controller, microcontroller, microprocessor, or other electronic components, and is used to execute the distributed voice response method in Embodiment 1 above.
[0075] The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0076] Example 5
[0077] This embodiment also provides a computer-readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, server, app store, etc., which stores a computer program. When the computer program is executed by a processor, it can implement the following method steps:
[0078] Step S101: Obtain user input information;
[0079] Step S102: Determine the target device from multiple devices based on the input information and preset rules;
[0080] Step S103: Control the target device to respond to the input information.
[0081] For a detailed description of the above method steps, please refer to Example 1. This example will not be repeated here.
[0082] In summary, the distributed voice response method, apparatus, electronic device, and storage medium provided in this application determine the target device from multiple devices based on the interaction information and preset rules when the user inputs interactive information. After the target device is determined, the target device actively responds to the user's interactive voice. This achieves the goal that when the same user has multiple smart devices for voice interaction, only the target device responds to the user, thereby avoiding multiple devices responding at the same time and improving the user experience.
[0083] In the several embodiments provided in this application, it should be understood that the disclosed methods can also be implemented in other ways. The method embodiments described above are merely illustrative.
[0084] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0085] Although the embodiments disclosed in this application are as described above, the content is merely for the purpose of facilitating understanding of this application and is not intended to limit this application. Any person skilled in the art to which this application pertains may make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in this application; however, the scope of patent protection of this application shall still be determined by the scope defined in the appended claims.
Claims
1. A distributed speech response method, characterized in that, The method is applied to a distributed system, the distributed system comprising: multiple devices, the multiple devices being communicatively connected; the method includes: Acquire user input information; wherein, the input information includes voice information emitted by the user and activation signals generated when the user clicks the device; The target device is determined from multiple devices based on the input information and preset rules. The preset rules include: device activation priority, default sorting, and sound intensity priority. Furthermore, device activation priority has a higher priority than default sorting, and the higher priority of device activation priority is higher than sound intensity priority. Device activation priority includes: if the input information contains an activation signal for a first device, then the first device is directly determined as the target device, regardless of other factors. Default sorting includes: if the input information does not contain any device activation signal, then the device is sorted by pre-stored device types, and the device with the highest sorted order is determined as the target device. Sound intensity priority includes: if the input information does not contain any device activation signal, and multiple devices of the same type exist, then the sound intensity of the voice information collected by each device of the same type is compared, and the device with the highest sound intensity is determined as the target device. Control the target device to respond to the input information.
2. The method according to claim 1, characterized in that, Several devices of the same type are voice playback devices.
3. The method according to claim 1, characterized in that, The devices communicate with each other via a local area network or Bluetooth.
4. A distributed voice response device, characterized in that, The device includes: The acquisition module is used to acquire user input information; wherein, the input information includes voice information emitted by the user and activation signals generated when the user clicks the device; A determination module is used to determine a target device from multiple devices based on the input information and preset rules. The preset rules include: device activation priority, default sorting, and sound intensity priority. Furthermore, the priority of device activation priority is greater than the priority of default sorting, and the priority of device activation priority is greater than the priority of sound intensity priority. Specifically, device activation priority includes: if the input information contains an activation signal for a first device, then regardless of other factors, the first device is directly determined as the target device. The default sorting includes: if the input information does not contain any device activation signal, then according to a pre-stored default sorting of device types, the device with the highest sorting value is determined as the target device. The sound intensity priority includes: if the input information does not contain any device activation signal, and multiple devices of the same type exist, then the sound intensity of the voice information collected by each device of the same type is compared, and the device with the highest sound intensity is determined as the target device. A control module is used to control the target device to respond to the input information.
5. An electronic device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program that, when executed by the processor, performs the distributed voice response method as described in any one of claims 1 to 3.
6. A storage medium, characterized in that, The computer program stored in the storage medium can be executed by one or more processors and can be used to implement the distributed voice response method as described in any one of claims 1 to 3.