Voice control method and apparatus

CN115346522BActive Publication Date: 2026-09-11QINGDAO HAIER WASHING MASCH CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110527270.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-14
Publication Date
2026-09-11
Estimated Expiration
2041-05-14

AI Technical Summary

Technical Problem

[0005]本申请提供了一种语音控制方法和装置,解决了现有技术中存在多个设备的位置过于集中时,语音控制的就近唤醒机制失效的技术问题

Benefits of technology

[0077] This application provides a voice control method and apparatus. By receiving a user's voice command and sending a master control request to the network where a first device group resides, and then receiving a first request result from the network, if the first request result confirms that the first device group has obtained response permission, at least one target device is controlled to execute the target task indicated by the voice command. This solves the technical problem in the prior art where the proximity wake-up mechanism of voice control fails when multiple devices are too concentrated, thus improving the user experience of the distributed multi-device voice control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115346522B_ABST
    Figure CN115346522B_ABST
Patent Text Reader

Abstract

The application provides a voice control method and device. The voice control method comprises the following steps: receiving a voice instruction of a user; sending master control request information to a network in which a first device group is located; receiving a first request result fed back by the network; and if the first request result confirms that the first device group has response permission, controlling at least one target device to execute a target task indicated by the voice instruction. The technical problem that the near wake-up mechanism of voice control is invalid when multiple devices are too concentrated is solved, and the technical effect of improving the user experience of a distributed multi-device voice control system is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of voice control technology, specifically to a voice control method and device. Background Technology

[0002] In a distributed multi-device voice control system, if multiple devices use the same wake-up mechanism, a voice control strategy of waking up or responding to the nearest device is generally adopted to avoid confusion caused by multiple devices responding at the same time.

[0003] However, when multiple devices are placed very close together, such as stacked or side-by-side, the existing proximity wake-up mechanism can still cause unstable responses. For example, when two devices are stacked one on top of the other, the two devices often respond randomly when the user performs voice control, causing voice control confusion and affecting the user experience.

[0004] Therefore, existing technologies suffer from the technical problem that the proximity-based wake-up mechanism for voice control fails when multiple devices are located too close together. Summary of the Invention

[0005] This application provides a voice control method and apparatus, which solves the technical problem that the proximity wake-up mechanism of voice control fails when multiple devices are located too close together in the prior art.

[0006] Firstly, this application provides a voice control method applied to a user terminal, including:

[0007] The system receives voice commands from users and sends master control request information to the network where the first device group is located. The network includes multiple device groups, and the first device group is any one of the multiple device groups. The master control request information is used to request the first device group to obtain the permission to respond to voice commands.

[0008] Receive the first request result from the network feedback;

[0009] If it is determined from the result of the first request that the first device group has obtained the response permission, then control at least one target device to execute the target task indicated by the voice command.

[0010] In one possible design, each device in the first device group meets preset distance requirements and / or functional matching requirements.

[0011] In one possible design, the target device includes: a first device, and / or a second device, wherein the first device is a device in a first group of devices, and the second device is a device in another group of devices in the network.

[0012] In one possible design, controlling at least one target device to perform a target task indicated by a voice command includes:

[0013] Use a semantic parsing model to parse speech instructions in order to determine the target task;

[0014] Using a pre-defined control model, the target equipment and control commands are determined based on the target task;

[0015] If the target device includes the first device, then a first control instruction is sent to the first device to enable the first device to complete the target task. The control instruction includes the first control instruction.

[0016] In one possible design, controlling at least one target device to perform the target task indicated by the voice command further includes:

[0017] If the target device includes a second device, then a second control command is sent to the second device to enable the first device to complete the target task. The control command includes the second control command.

[0018] In one possible design, controlling at least one target device to perform a target task indicated by a voice command includes:

[0019] If, using a pre-defined control model, it is determined based on the target task that there are no devices in the network capable of performing the target task; then...

[0020] Using a preset language model, determine the voice feedback information based on the voice command;

[0021] or,

[0022] Send users a purchase link for the target device, which is a device capable of performing the target task.

[0023] In one possible design, when the first device group includes multiple voice control devices, receiving user voice commands includes:

[0024] In response to the received voice command, a group master control request is sent to the network or the first device group. The group master control request is used to request permission to respond to voice commands within the first device group.

[0025] Receive the second request result from the network feedback;

[0026] Based on the result of the second request, the group master control device that has obtained the permission is determined, so that the group master control device responds to the voice command and sends the master control request information to the network.

[0027] In one possible design, the preset distance requirement includes: the distance between each device is less than or equal to a preset distance threshold.

[0028] Secondly, this application provides a voice control method applied to a network central control device, comprising:

[0029] Receive master control request information sent by each device group;

[0030] Based on the request information from each master controller and the preset response allocation principles, determine the first device group to be assigned response permissions;

[0031] Feedback the allocation results of response permissions to the first device group or all device groups.

[0032] In one possible design, before receiving the master control request information sent by each device group, the following is also included:

[0033] Receive intra-group master control requests sent by each voice control device. Intra-group master control requests are used to request voice master control permissions within the home device group. The home device group is the device group to which the voice control device belongs.

[0034] Based on the master control requests within each group and the preset master control allocation principles, determine the master control device within the group that is assigned voice master control permissions;

[0035] Feedback the allocation results of voice master control permissions to the master control device or all voice control devices in the group.

[0036] Thirdly, this application provides a voice control device, comprising:

[0037] The receiving module is used to receive the user's voice commands;

[0038] The sending module is used to respond to voice commands and send master control request information to the network to which the first device group belongs. The network includes multiple device groups, and the first device group is any one of the multiple device groups. The master control request information is used to request the first device group to obtain the permission to respond to voice commands.

[0039] The receiving module is also used to receive the first request result from the network.

[0040] The processing module is used to determine, based on the result of the first request, that the first device group has obtained the response permission, and then control at least one target device to execute the target task indicated by the voice command.

[0041] In one possible design, each device in the first device group meets preset distance requirements and / or functional matching requirements.

[0042] In one possible design, the target device includes: a first device, and / or a second device, wherein the first device is a device in a first group of devices, and the second device is a device in another group of devices in the network.

[0043] In one possible design, the processing module is used for:

[0044] Use a semantic parsing model to parse speech instructions in order to determine the target task;

[0045] Using a pre-defined control model, the target equipment and control commands are determined based on the target task;

[0046] If the target device includes the first device, then a first control instruction is sent to the first device to enable the first device to complete the target task. The control instruction includes the first control instruction.

[0047] In one possible design, the processing module is also used for:

[0048] If the target device includes a second device, then a second control command is sent to the second device to enable the first device to complete the target task. The control command includes the second control command.

[0049] In one possible design, the processing module is used for:

[0050] If, using a pre-defined control model, it is determined based on the target task that there are no devices in the network capable of performing the target task; then...

[0051] Using a preset language model, determine the voice feedback information based on the voice command;

[0052] or,

[0053] Send users a purchase link for the target device, which is a device capable of performing the target task.

[0054] In one possible design, when the first device group includes multiple voice control devices, the sending module is also used to respond to the received voice command by sending an intra-group master control request to the network or the first device group. The intra-group master control request is used to request permission to respond to voice commands within the first device group.

[0055] The receiving module is also used to receive the second request result from the network feedback;

[0056] The processing module is also used to determine the master control device within the group that has obtained the permission based on the result of the second request, so that the master control device within the group responds to the voice command and sends master control request information to the network.

[0057] In one possible design, the preset distance requirement includes: the distance between each device is less than or equal to a preset distance threshold.

[0058] Fourthly, this application provides a voice control device, comprising:

[0059] The receiving module is used to receive master control request information sent by each device group;

[0060] The processing module is used to determine the first device group to be assigned response permissions based on the request information from each master controller and the preset response allocation principles.

[0061] The sending module is used to send feedback on the allocation results of response permissions to the first device group or all device groups.

[0062] In one possible design, the receiving module is also used to receive intra-group master control requests sent by each voice control device. The intra-group master control request is used to request voice master control permissions within the home device group, where the home device group is the device group to which the voice control device belongs.

[0063] The processing module is also used to determine the group master control device that is assigned voice master control permissions based on the master control requests within each group and the preset master control allocation principles.

[0064] The sending module is also used to provide feedback on the allocation results of voice master control permissions to the master control device or all voice control devices in the group.

[0065] Fifthly, this application provides an electronic device, comprising:

[0066] Processor; and,

[0067] Memory for storing the executable instructions of the processor;

[0068] The processor is configured to execute any of the possible voice control methods provided in the first aspect by executing the executable instructions.

[0069] Sixthly, this application provides an electronic device, comprising:

[0070] Processor; and,

[0071] Memory for storing the executable instructions of the processor;

[0072] The processor is configured to execute any of the possible voice control methods provided in the second aspect by executing the executable instructions.

[0073] In a seventh aspect, this application also provides a storage medium storing a computer program for executing any of the possible voice control methods provided in the first aspect.

[0074] Eighthly, this application also provides a storage medium storing a computer program for executing any of the possible voice control methods provided in the second aspect.

[0075] Ninthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements any of the possible voice control methods provided in the first aspect.

[0076] In a tenth aspect, this application also provides a computer program product, including a computer program that, when executed by a processor, implements any of the possible voice control methods provided in the second aspect.

[0077] This application provides a voice control method and apparatus. By receiving a user's voice command and sending a master control request to the network where a first device group resides, and then receiving a first request result from the network, if the first request result confirms that the first device group has obtained response permission, at least one target device is controlled to execute the target task indicated by the voice command. This solves the technical problem in the prior art where the proximity wake-up mechanism of voice control fails when multiple devices are too concentrated, thus improving the user experience of the distributed multi-device voice control system. Attached Figure Description

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

[0079] Figures 1a-1b A schematic diagram illustrating a scenario for the ultra-close-range installation of a voice control device provided in this application;

[0080] Figure 2 A flowchart illustrating a voice control method provided in an embodiment of this application;

[0081] Figure 3 A flowchart illustrating another voice control method provided in an embodiment of this application;

[0082] Figure 4 A schematic diagram of the structure of a voice control device provided in this application;

[0083] Figure 5 A schematic diagram of the structure of a voice control device provided in this application;

[0084] Figure 6 This is a schematic diagram of the structure of an electronic device provided in this application. Detailed Implementation

[0085] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort, including but not limited to combinations of multiple embodiments, are within the scope of protection of this application.

[0086] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0087] Currently, distributed multi-device voice control systems use a proximity wake-up mechanism to prevent multiple devices from responding to a single call. However, this also presents a problem: when multiple devices are placed very close together, such as stacked or side by side, the proximity wake-up mechanism often results in the device responding frequently changing, which can cause great inconvenience to users.

[0088] Figures 1a-1b This is a schematic diagram illustrating a scenario where a voice control device is installed at extremely close range, as provided in this application. Figure 1a The scene depicts a washing machine and a dryer placed side by side. Figure 1b This scenario involves a washing machine and a dryer stacked side-by-side. In this case, existing technologies typically address the issue of the response object randomly jumping between the two devices, a problem that arises with proximity-based response mechanisms, by improving the recognition accuracy of the audio acquisition device.

[0089] Unlike the aforementioned conventional techniques, this application addresses the technical problem of the failure of the proximity-based wake-up mechanism for voice control when multiple devices are too concentrated in one location. The inventive concept of this application is:

[0090] To address the inaccuracy issues arising from proximity-based response mechanisms in voice control at extremely close range, devices placed within very short distances (e.g., less than 1 meter apart) were grouped. Grouping was based on functional compatibility or proximity in installation location. Each device group shares at least one voice module. Multiple device groups may exist in the same scenario. Groups are equal until a user issues a voice command. Once a command is issued, groups compete for control. The group with the winning voice module becomes the master control group, and the remaining groups become slave control groups. Only the master control group has the authority to respond to user voice commands. The master control group's voice module retrieves the function list of all devices in each group and analyzes whether the voice command can be completed by devices within the master control group. If not, control is transferred to a capable slave control group, or the master control group directly controls the slave devices to complete the task specified in the voice command.

[0091] Similarly, if a group contains multiple voice modules, the mechanism for determining the master voice module within the group is also based on a competitive application process. This ensures that the voice control function of the entire group is not affected by a particular voice module being in a working, dormant, or damaged state.

[0092] The voice control method provided in this application will be described in detail below with reference to the accompanying drawings.

[0093] The specific steps of the voice control method provided in this application will be described in detail below with reference to several embodiments.

[0094] Figure 2 This is a flowchart illustrating a voice control method provided in an embodiment of this application. Figure 2 As shown, the specific steps of this voice control method include:

[0095] S201, Receive user's voice commands.

[0096] In this embodiment, a number of electronic devices are installed in a certain space, and some devices are installed very close together, such as placed side by side or stacked one on top of the other. Similar spatial scenarios include: kitchens, bathrooms, balconies, vehicles, factory production areas, product sales and display areas, etc.

[0097] Once these electronic devices are connected to the same network, such as a local area network or the Internet of Things, the central control server or central control equipment can automatically group them according to their functions or installation locations to identify at least one device group.

[0098] In one possible design, users can access the network via a voice control management application on their mobile devices and then customize the groups of individual devices to identify at least one device group.

[0099] In this step, each device group has at least one audio acquisition array, such as a microphone array group, in its voice control device. Each audio acquisition array includes at least two independent acquisition modules, such as two independent microphones.

[0100] When a user speaks a voice command from any location, the corresponding sound wave signal is transmitted to the user's environment and received by the audio acquisition array installed on at least one voice control device in each device group.

[0101] S202. Send master control request information to the network where the device group is located.

[0102] In this step, the network includes multiple device groups, and the master control request information is used to request the first device group to obtain the permission to respond to voice commands.

[0103] Specifically, at least one voice control device in each device group sends a master control request to the central server or central control device in the network to obtain the permission to respond to user voice commands.

[0104] It should be noted that the implementation methods of the central server or central control equipment include at least one of the following: cloud server, local server, independent central control unit, and a pre-set device to be controlled.

[0105] S203, Receive master control request information sent by each device group.

[0106] In this step, the central control device or central server receives the master control request information sent by each device group through the gateway interface.

[0107] S204. Based on the master control request information and the preset response allocation principle, determine the first device group to be assigned the response permission.

[0108] In this step, the preset response allocation principles include: the principle of permission contention, which means that the response permission is allocated to the device group that made the request first, i.e., the first device group.

[0109] Correspondingly, in one possible implementation, the master control request information includes the request sending time, which facilitates the central control device to identify the earliest request based on the request sending time.

[0110] In another possible design, the central control device allocates resources based on the first master control request received, rather than based on the time the request was sent.

[0111] In one possible design, the preset response allocation principle includes: allocating responses based on the response level of each device group, with the device group having the highest response level receiving the response permission.

[0112] It should be noted that in this design, the response level of the device group needs to be defined in advance when the device group is created.

[0113] It is understandable that if multiple device groups have the same response level, the two allocation methods mentioned above can be combined. That is, the device group that requests the request first among those with the same response level will obtain the response permission, or the device group corresponding to the master control request that is first received by the central control device will obtain the response permission.

[0114] S205. Feedback the allocation results of response permissions to the first device group or all device groups.

[0115] S206. Receive the first request result from the network.

[0116] For steps S205 to S206, specifically, in one possible implementation, the central control device only feeds back the first request result of obtaining response permission to the first device group. If other device groups do not receive the first request result within a preset time, it is confirmed that they have not obtained response permission.

[0117] In another possible implementation, the central control device feeds back the first request result to all device groups through the network bus. The first request result includes the first identity information of the first device group that has obtained the response permission. Each device group reads the first request result and matches its own identity information with the first identity information to determine whether it has obtained the response permission.

[0118] S207. If the first device group obtains response permission based on the result of the first request, then the first device group controls at least one target device to execute the target task indicated by the voice command.

[0119] In this step, after the first device group confirms that it has obtained the response permission, the semantic parsing model is used to perform semantic parsing on the user's voice commands in order to determine the target device and control commands.

[0120] For example, the content of voice commands is recognized and converted into corresponding text, and then semantic recognition is performed on the text to extract the target control device.

[0121] For example, if the text recognized from the sound content is "wash jeans in standard mode", then the semantic recognition indicates that the target control device is a washing machine, and the control command is to turn on standard mode.

[0122] It should be noted that, in one possible implementation, voice commands may not include a wake word, which can provide users with a more intelligent user experience.

[0123] It is worth noting that the target device includes: a first device, and / or a second device, wherein the first device is a device in the first device group, and the second device is a device in another device group in the network.

[0124] Specifically, the target device may be at least one device in the first device group, and may also include devices from other device groups. Alternatively, the target device may be at least one device from other device groups. That is, the target device can consist of devices from multiple device groups to perform the target task indicated in the user's voice command.

[0125] In one possible design, after confirming that the first device group has obtained the response permission, it sends response feedback information to the user, including at least one of visual feedback information and audio feedback information. For example, the voice indicator light may light up or flash, a beep may be played, and the voice message "Received" may be announced.

[0126] For example, on a balcony, a washing machine and a dryer are stacked together to form one device group, and an electronic clothes drying rack forms another. When a user issues a voice command, "Dry at 30 degrees Celsius for half an hour and then sterilize with ultraviolet light," the two device groups compete for the right to respond. Assuming the device group containing the dryer gains the right to respond, but the dryer does not have voice control functionality, the washing machine's voice control module responds to the user's voice command, and the washing machine announces, "Received, dryer drying temperature set to 30 degrees Celsius, drying time 30 minutes, ultraviolet sterilization mode activated."

[0127] This effectively solves the problem of insufficient precision and stability of the local response mechanism when multiple devices are installed too close together, and also reduces the cost of each device by reducing the number of voice control modules.

[0128] It should also be noted that the voice control module can be configured as a separate, independent device, capable of managing all devices within a preset range, meaning these devices share a single voice control module. The voice control module executes the voice control method provided in this embodiment to control the devices within the device group to respond to user voice commands. This design enables voice control of non-voice-controlled devices, with low modification costs and simple operation.

[0129] The voice control method provided in this embodiment receives user voice commands from each device group and sends master control request information to the network where the device group is located. Then, the central control device or central server in the network determines the first device group to be assigned response permissions based on the master control request information and preset response allocation principles. The allocation result of the response permissions is then fed back to the first device group or all device groups. The first device group or all device groups then receive the first request result fed back from the network and confirm that the first device group has obtained response permissions. The first device group then controls at least one target device to execute the target task indicated by the voice command. This solves the technical problem in the prior art where the proximity wake-up mechanism of voice control fails when multiple devices are too concentrated, thus improving the user experience of the distributed multi-device voice control system.

[0130] Figure 3 This is a flowchart illustrating another voice control method provided in an embodiment of this application. Figure 3 As shown, the specific steps of this voice control method include:

[0131] S301: Receive voice commands issued by the user.

[0132] In this embodiment, there are multiple devices in a space. These devices are divided into several device groups according to a preset grouping principle. Each device group has at least one voice control device or at least one voice control module unit.

[0133] The grouping principles include: each device meeting the preset distance requirements, and / or, functional matching requirements.

[0134] The preset distance requirements include: the distance between each device is less than or equal to the preset distance threshold, such as within 1 meter or within 0.5 meters.

[0135] Understandably, the preset distance requirement can also be that the distance between each device is greater than the preset distance threshold, which is used to connect multiple devices that are far apart but whose functions complement each other.

[0136] Functional combination requirements include: each device working together to complete a preset task. For example, a washing machine and dryer work together to wash and dry dirty clothes. A stove and range hood work together to prevent users from forgetting to turn on the range hood while cooking or forgetting to turn it off after cooking.

[0137] It should be noted that in one possible design, all devices are connected to the same network, such as a local area network (LAN) or an Internet of Things (IoT). This network includes at least one central control device or central server for overall management of the entire network system.

[0138] In another possible design, all voice control devices only need to be connected to the same network. Devices within the group can communicate via wired or wireless connections (such as Bluetooth or Wi-Fi), eliminating the need for each device to be connected to the network system individually. This streamlines the network system, simplifies maintenance, and reduces the complexity and cost of network management. Furthermore, it eliminates the need for a network interface for each device, lowering equipment costs and reducing the overall expense for users.

[0139] In this embodiment, if a device group contains multiple voice control devices or multiple independent voice control module units, to prevent the central control device or central server in the network system from receiving multiple master control request messages from the same device group when deciding which device group has the right to respond to user voice commands, it is necessary to determine a master voice control device or voice control module unit within the same device group.

[0140] S302. In response to the received voice command, send an intra-group master control request to the network where the device group is located or within the device group.

[0141] In this step, the group master request is used to request permission to respond to voice commands within the device group.

[0142] Specifically, after receiving a voice command from a user, if a device group includes multiple voice control devices or multiple voice control module units, the first step is to determine which voice control device will act as the representative of the device group to send the master control request information to the network system.

[0143] At this point, there are two implementation methods in this embodiment:

[0144] One approach involves each voice control device within a group sending a master control request to the network system. The central control device or server in the network then determines the master voice control device within the group based on preset rules. In other words, it decides which voice control device has the authority to respond to voice commands.

[0145] It should be noted that this permission is not the ultimate permission to respond to voice commands, but only the permission to make one of the voice control devices act as the representative of its device group.

[0146] Another method involves each voice control device sending group master control request information to each other. Each voice control device determines which device obtains group master control permissions based on the time it sends and receives the group master control request information.

[0147] S303: Receive group master control requests sent by each voice control device.

[0148] In this step, the intra-group master control request is used to request voice master control permissions within the home device group, which is the device group to which the voice control device belongs.

[0149] Corresponding to the two implementation methods in the previous step, the central control device in the network can receive the group master control request, or each voice control device in the group can receive the group master control request sent by other voice control devices.

[0150] It should be noted that, in order to avoid ambiguity in the interpretation of the flowchart, Figure 3 The example shown only illustrates an implementation where a central control device receives requests from the main control unit within the group.

[0151] S304. Based on the master control requests within each group and the preset master control allocation principles, determine the master control devices within the group that are assigned voice master control permissions.

[0152] In this step, the preset master control allocation principles include: determining the ownership of permissions based on the sending time of the master control request within the group, or determining the ownership of permissions based on the time when the central control device receives the master control request within the group, or determining the ownership of permissions based on the current status of the voice control device (such as whether it is processing another voice control task), or determining the ownership of permissions based on the preset priority of each voice control device.

[0153] S305. Feedback the allocation results of voice master control permissions to the master control device or all voice control devices in the group.

[0154] In this step, if the group master control permission is assigned by the central control device or central server, then this step will be executed by that device; if it is assigned by the device group itself, then the group master control device will report the assignment result of obtaining the group master control permission to other voice control devices in the group.

[0155] S306, Receive the second request result from within the network or device group.

[0156] S307. Based on the result of the second request, determine the master control device within the group that has obtained the permission, so that the master control device within the group responds to the voice command and sends the master control request information to the network.

[0157] In this step, after the master control device within the group is determined, it sends a master control request message to the master control device of the network system on behalf of its group. This master control request message is used to request the group to obtain the final response authority to voice commands.

[0158] S308: Receive master control request information sent by each device group.

[0159] S309. Based on the master control request information and the preset response allocation principle, determine the first device group to be assigned the response permission.

[0160] S310: Feedback the allocation results of response permissions to the first device group or all device groups.

[0161] S311, Receive the first request result from the network feedback.

[0162] For details on the implementation methods, terminology explanations, and working principles of steps S308 to S311, please refer to [link / reference]. Figure 2 S203 to S206 are not described in detail here.

[0163] S312. If the first device group obtains response permission based on the result of the first request, then the first device group controls at least one target device to execute the target task indicated by the voice command.

[0164] In this step, the target device includes: a first device, and / or a second device, wherein the first device is a device in a first device group, and the second device is a device in another device group in the network.

[0165] In one possible design, controlling at least one target device to perform a target task indicated by a voice command includes:

[0166] Use a semantic parsing model to parse speech instructions in order to determine the target task;

[0167] Using a pre-defined control model, the target equipment and control commands are determined based on the target task;

[0168] If the target device includes the first device, then a first control instruction is sent to the first device to enable the first device to complete the target task. The control instruction includes the first control instruction.

[0169] In one possible design, controlling at least one target device to perform the target task indicated by the voice command further includes:

[0170] If the target device includes a second device, then a second control command is sent to the second device to enable the first device to complete the target task. The control command includes the second control command.

[0171] In one possible design, controlling at least one target device to perform a target task indicated by a voice command includes:

[0172] If a preset control model is used to determine that there is no device in the network capable of performing the target task, then a preset language model is used to determine the voice feedback information based on the voice command.

[0173] For example, the content of a voice command is recognized and converted into corresponding text. Then, semantic recognition is performed on the text to extract the target control device. For instance, if the text recognized from the voice content is "wash jeans in standard mode," then semantic recognition identifies the target control device as a washing machine, and the control command is to turn on standard mode.

[0174] or,

[0175] Send users a purchase link for the target device, which is capable of performing the target task. This helps users identify their purchasing needs and addresses the issue of users not knowing what to do when a suitable device to complete voice commands is unavailable, thus improving the user experience.

[0176] The voice control method provided in this embodiment receives user voice commands from each device group and sends master control request information to the network where the device group is located. Then, the central control device or central server in the network determines the first device group to be assigned response permissions based on the master control request information and preset response allocation principles. The allocation result of the response permissions is then fed back to the first device group or all device groups. The first device group or all device groups then receive the first request result fed back from the network and confirm that the first device group has obtained response permissions. The first device group then controls at least one target device to execute the target task indicated by the voice command. This solves the technical problem in the prior art where the proximity wake-up mechanism of voice control fails when multiple devices are too concentrated, thus improving the user experience of the distributed multi-device voice control system.

[0177] Figure 4 This is a schematic diagram of a voice control device provided in this application. The voice control device can be implemented through software, hardware, or a combination of both.

[0178] like Figure 4 As shown, the voice control device 400 provided in this embodiment includes:

[0179] Receiver module 401 is used to receive user voice commands;

[0180] The sending module 402 is used to send master control request information to the network to which the first device group belongs in response to a voice command. The network includes multiple device groups, and the first device group is any one of the multiple device groups. The master control request information is used to request the first device group to obtain the permission to respond to the voice command.

[0181] The receiving module 401 is also used to receive the first request result fed back from the network;

[0182] The processing module 403 is used to determine, based on the result of the first request, that the first device group has obtained the response permission, and then control at least one target device to execute the target task indicated by the voice command.

[0183] In one possible design, each device in the first device group meets preset distance requirements and / or functional matching requirements.

[0184] In one possible design, the target device includes: a first device, and / or a second device, wherein the first device is a device in a first group of devices, and the second device is a device in another group of devices in the network.

[0185] In one possible design, processing module 403 is used for:

[0186] Use a semantic parsing model to parse speech instructions in order to determine the target task;

[0187] Using a pre-defined control model, the target equipment and control commands are determined based on the target task;

[0188] If the target device includes the first device, then a first control instruction is sent to the first device to enable the first device to complete the target task. The control instruction includes the first control instruction.

[0189] In one possible design, processing module 403 is also used for:

[0190] If the target device includes a second device, then a second control command is sent to the second device to enable the first device to complete the target task. The control command includes the second control command.

[0191] In one possible design, processing module 403 is used for:

[0192] If, using a pre-defined control model, it is determined based on the target task that there are no devices in the network capable of performing the target task; then...

[0193] Using a preset language model, determine the voice feedback information based on the voice command;

[0194] or,

[0195] Send users a purchase link for the target device, which is a device capable of performing the target task.

[0196] In one possible design, when the first device group includes multiple voice control devices, the sending module 402 is further configured to respond to the received voice command by sending an intra-group master control request to the network or the first device group. The intra-group master control request is used to request permission to respond to voice commands within the first device group.

[0197] The receiving module 401 is also used to receive the second request result fed back from the network;

[0198] The processing module 403 is also used to determine the group master control device that has obtained the permission based on the result of the second request, so that the group master control device responds to the voice command and sends master control request information to the network.

[0199] In one possible design, the preset distance requirement includes: the distance between each device is less than or equal to a preset distance threshold.

[0200] It is worth noting that, Figure 4 The voice control device provided in the illustrated embodiment can execute the method steps performed on the device group side provided in any of the above method embodiments. Its specific implementation principle, technical features, explanation of technical terms and technical effects are similar, and will not be repeated here.

[0201] Figure 5 This is a schematic diagram of a voice control device provided in this application. The voice control device can be implemented through software, hardware, or a combination of both.

[0202] like Figure 5 As shown, the voice control device 500 provided in this embodiment includes:

[0203] The receiving module 501 is used to receive master control request information sent by each device group;

[0204] The processing module 502 is used to determine the first device group to be assigned response permissions based on the request information of each master control and the preset response allocation principle;

[0205] The sending module 503 is used to send feedback on the allocation results of response permissions to the first device group or all device groups.

[0206] In one possible design, the receiving module 501 is also used to receive intra-group master control requests sent by each voice control device. The intra-group master control request is used to request to obtain voice master control permissions within the home device group, where the home device group is the device group to which the voice control device belongs.

[0207] The processing module 502 is also used to determine the group master control device that is assigned to the voice master control permission based on the master control request in each group and the preset master control allocation principle.

[0208] The sending module 503 is also used to provide feedback on the allocation results of voice master control permissions to the master control device or all voice control devices in the group.

[0209] It is worth noting that, Figure 5 The voice control device provided in the illustrated embodiment can execute the method steps performed by the central control device side provided in any of the above method embodiments. Its specific implementation principle, technical features, explanation of professional terms and technical effects are similar, and will not be repeated here.

[0210] Figure 6 This is a schematic diagram of the structure of an electronic device provided in this application. Figure 6 As shown, the electronic device 600 may include at least one processor 601 and a memory 602. Figure 6 The example shown is an electronic device using a processor.

[0211] The memory 602 is used to store programs. Specifically, the program may include program code, which includes computer operation instructions.

[0212] The memory 602 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0213] The processor 601 is used to execute computer execution instructions stored in the memory 602 to implement the methods described in the above embodiments.

[0214] The processor 601 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.

[0215] Optionally, the memory 602 can be either standalone or integrated with the processor 601. When the memory 602 is a device independent of the processor 601, the electronic device 600 may further include:

[0216] Bus 603 is used to connect the processor 601 and the memory 602. The bus can be an industry standard architecture (ISA) bus, a peripheral component (PCI) bus, or an extended industry standard architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc., but this does not mean there is only one bus or one type of bus.

[0217] Optionally, in a specific implementation, if the memory 602 and the processor 601 are integrated on a single chip, the memory 602 and the processor 601 can communicate through an internal interface.

[0218] This application also provides a computer-readable storage medium, which may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. Specifically, the computer-readable storage medium stores program instructions, which are used in the methods described in the above embodiments.

[0219] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the methods described in the above embodiments.

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

Claims

1. A voice control method, characterized in that, The method is applied to voice control devices in multiple device groups, each device group including multiple voice control devices, wherein each device in the device group meets preset distance requirements and / or functional matching requirements, and the voice control method includes: In response to the received voice command, a group master control request is sent to the network where the voice control device belongs to the device group or to the device group where the voice control device belongs. The group master control request is used to request voice master control permissions within the device group where the voice control device belongs. Receive the second request result fed back from the network or the device group to which the voice control device belongs; Based on the result of the second request, the group master control device that has obtained the permission is determined, so that the group master control device responds to the voice command and sends master control request information to the network of the device group to which the group master control device belongs. The master control request information is used to request the device group to which the group master control device belongs to obtain the permission to respond to the voice command. Receive the first request result fed back by the network; If it is determined from the first request result that the first device group has obtained the response permission, then at least one target device is controlled to execute the target task indicated by the voice command. The first device group is the device group among multiple device groups that has obtained the response permission to the voice command.

2. The voice control method according to claim 1, characterized in that, The target device includes: a first device, and / or a second device, wherein the first device is a device in the first device group, and the second device is a device in another device group in the network.

3. The voice control method according to claim 2, characterized in that, Controlling at least one target device to execute the target task indicated by the voice command includes: The speech instructions are parsed using a semantic parsing model to determine the target task; Using a preset control model, the target device and control commands are determined based on the target task; If the target device includes the first device, then a first control instruction is sent to the first device to enable the first device to complete the target task, and the control instruction includes the first control instruction.

4. The voice control method according to claim 3, characterized in that, The method of controlling at least one target device to execute the target task indicated by the voice command further includes: If the target device includes the second device, then a second control instruction is sent to the second device to enable the second device to complete the target task, and the control instruction includes the second control instruction.

5. The voice control method according to claim 3 or 4, characterized in that, Controlling at least one target device to execute the target task indicated by the voice command includes: If, using the preset control model, it is determined based on the target task that there are no devices in the network capable of performing the target task; then, Using a preset language model, determine the voice feedback information based on the voice command; or, Send a purchase link to the user for the target device, which is a device capable of performing the target task.

6. The voice control method according to any one of claims 1-4, characterized in that, The preset distance requirement includes: the distance between each of the devices is less than or equal to a preset distance threshold.

7. A voice control method, characterized in that, Applied to network central control equipment, the method includes: Receive intra-group master control requests sent by each voice control device. The intra-group master control requests are used to request voice master control permissions within the home device group, where the home device group is the device group to which the voice control device belongs. Based on the master control requests within each group and the preset master control allocation principles, the master control device within the group that is assigned the voice master control permission is determined; Feedback the allocation result of the voice master control permission to the master control device within the group or to all the voice control devices; Receive master control request information sent by each device group, the master control request information being used to request the device group to obtain the permission to respond to voice commands; Based on the master control request information and the preset response allocation principle, the first device group assigned to the response permission is determined; The allocation result of the response permission is fed back to the first device group or all of the device groups.

8. A voice control device, characterized in that, include: The sending module is used to respond to the received voice command and send an intra-group master control request to the network where the voice control device belongs or to the intra-group of the voice control device. The intra-group master control request is used to request to obtain voice master control permissions within the intra-group of the voice control device. The receiving module is also configured to receive a second request result fed back from the network or the voice control device's home device group; The processing module is further configured to determine the group master control device that has obtained the permission based on the second request result, so that the group master control device responds to the voice command and sends the master control request information to the network; The sending module is used to send master control request information to the network to which the master control device in the group belongs. The master control request information is used to request the master control device in the group to obtain the permission to respond to the voice command. The receiving module is also used to receive the first request result fed back by the network; The processing module is configured to determine, based on the first request result, that a first device group has obtained the response permission, and then control at least one target device to execute the target task indicated by the voice command. The first device group is the device group among multiple device groups that has obtained the response permission to the voice command.

9. A voice control device, characterized in that, include: The receiving module is used to receive master control request information sent by each device group; The processing module is used to determine the first device group to be assigned response permissions based on the master control request information and the preset response allocation principle. The sending module is used to send the allocation result of the response permission to the first device group or all of the device groups; The receiving module is also used to receive group master control requests sent by each voice control device. The group master control request is used to request to obtain voice master control permissions within the home device group, where the home device group is the device group to which the voice control device belongs. The processing module is also used to determine the group master control device assigned to the voice master control permission based on the master control requests of each group and the preset master control allocation principle. The sending module is also used to feed back the allocation result of the voice master control permission to the master control device in the group or all the voice control devices.

Citation Information

Patent Citations

  • Method and system for processing voice instruction in coexistence of multiple intelligent devices

    CN109360559A

  • Voice wake-up method among multiple devices and auto-negotiation voice wake-up method, device and system

    CN111048086A

  • Single awakening method, device and system

    CN111614768A