Equipment determination method and device, storage medium and program product

By receiving voice commands and obtaining voice command quality information from multiple devices, the target device that executes voice commands is determined, which solves the problem of low accuracy when smart devices respond to voice commands, and improves response accuracy and efficiency.

CN119673162AActive Publication Date: 2025-03-21NINGBO GONEO ELECTRIC APPLIANCE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411866638.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-03-21
Estimated Expiration
2044-12-17

AI Technical Summary

Technical Problem

When smart devices respond to voice commands, their accuracy is low, resulting in the problem of multiple devices responding at the same time.

Method used

By receiving voice commands and obtaining voice command quality information for multiple devices, including devices in the same group and adjacent control device groups, the target device that executes voice commands are determined.

Benefits of technology

The accuracy of smart devices responding to voice commands is improved, the situation where devices in multiple control device groups respond simultaneously, and the judgment time window is shortened, and the efficiency of device determination is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119673162A_ABST
    Figure CN119673162A_ABST
Patent Text Reader

Abstract

The invention provides an equipment determination method and device, a storage medium and a program product, relates to the technical field of smart home, and is used for solving the problem that the accuracy is low when intelligent equipment responds to voice. The method comprises the following steps: receiving a voice instruction; obtaining respective voice instruction quality information of the plurality of devices; the plurality of devices comprise a first device, a second device except the first device in the first control device group, and a third device in the second control device group, and the second control device group is a control device group adjacent to the first control device group in a space area. And based on the voice instruction quality information of each device in the plurality of devices, determining a target device for executing the voice instruction from the plurality of devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and in particular to a method, device, storage medium and program product for determining a device. Background Art

[0002] With the development of the smart device (such as smart home) industry, voice control has become an irreplaceable way of human-computer interaction and is widely used in smart home network systems, greatly improving the convenience of people's control of home devices. Users can use voice commands to control various smart devices in the system, such as light switches, temperature adjustment, humidity adjustment, curtain opening and closing, etc.

[0003] However, with the popularity of smart devices, there will be multiple smart devices in the area. If the user issues a voice command, multiple smart devices may respond at the same time. Therefore, how to improve the accuracy of smart device responses has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] The present application provides a device determination method, apparatus, storage medium and program product, which are used to solve the problem of low accuracy when a smart device responds to voice.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, the present application provides a method for determining a device, which is applied to a first device, wherein the first device belongs to a first control device group among multiple control device groups, wherein the multiple control device groups correspond to different spatial regions, respectively, and each control device group includes terminal devices in its corresponding spatial region. In the method, a voice command is received. Voice command quality information of each of the multiple devices is obtained; the multiple devices include: a first device, a second device other than the first device in the first control device group, and a third device in a second control device group, wherein the second control device group is a control device group adjacent to the first control device group in a spatial region. Based on the voice command quality information of each of the multiple devices, a target device for executing the voice command is determined from the multiple devices.

[0007] Based on the above technical solution, a voice instruction can be received, and the voice instruction quality information of each device in a plurality of devices to the voice instruction can be obtained, and the plurality of devices include: a first device, a second device other than the first device in the first control device group, and a third device in the second control device group, and the second control device group is a control device group adjacent to the first control device group in the spatial area. That is to say, the first device can not only obtain the voice instruction quality information in the same group, but also obtain the voice instruction quality information of the adjacent control device group. Then, based on the voice instruction quality information of each device in the plurality of devices, the target device for executing the voice instruction can be determined from the plurality of devices. In this way, the first device can determine a target device based on the voice instruction quality information in the same group and the voice instruction quality information of other control device groups, thereby avoiding the situation that the device cannot obtain the voice instruction quality information of other control device groups, resulting in the occurrence of devices in multiple control device groups responding to voice instructions, thereby improving the accuracy of the intelligent device responding to voice. In addition, the voice instruction quality information of other device control device groups obtained by the present application is only the voice instruction quality information of the adjacent control device group, which reduces the amount of information obtained, thereby shortening the time window for judgment and improving the efficiency of determining the device.

[0008] In one possible design, the target device is the device with the best voice quality for receiving the voice command among multiple devices.

[0009] In one possible design, a first candidate device is determined based on the voice command quality information of the first device and the voice command quality information of the second device. The first candidate device is the device with the best voice quality in the control device group where the first device is located and that receives the voice command. A second candidate device is determined based on the voice command quality information of the third device. The second candidate device is the third device with the best voice quality in receiving the voice command. A target device is determined from multiple devices based on the voice command quality information of the first candidate device and the voice command quality information of the second candidate device.

[0010] In one possible design, a target multicast message sent by multiple devices is received, and the target multicast message includes: a first multicast message and / or a second multicast message; the first multicast message is used to enable a terminal device in a first control device group to know the voice command quality information of a second device, and the second multicast message is used to enable a terminal device in a target edge group to know the voice command quality information of a third device; the first device and the third device belong to the same target edge group. The target multicast message is parsed to obtain the voice command quality information of multiple devices.

[0011] In one possible design, the number of transfers of the target multicast message is determined. If the number of transfers of the target multicast message is less than a first preset number threshold, the target multicast message is forwarded. Alternatively, if the number of transfers of the target multicast message is greater than or equal to the first preset number threshold, forwarding the target multicast message is stopped.

[0012] In one possible design, the target edge group includes terminal devices in the first control device group and the second control device group located near a boundary, and the boundary is a boundary between a spatial region corresponding to the first control device group and a spatial region corresponding to the second control device group.

[0013] In a possible design, the number of receptions of the third multicast message is obtained, and the third multicast message is a multicast message of the second control device group. When the number of receptions is greater than or equal to the second preset number threshold, the target edge group is added.

[0014] In one possible design, the updated reception count of the third multicast message is obtained, and when the updated reception count is less than a second preset count threshold, the target edge group is exited.

[0015] In a second aspect, the present application provides a device for determining a device, which is applied to a first device, the first device belongs to a first control device group among multiple control device groups, the multiple control device groups correspond to different spatial regions, and each control device group includes a terminal device in its corresponding spatial region. The device includes a receiving module and a processing module.

[0016] The receiving module is used to receive the voice command. The receiving module is also used to obtain the voice command quality information of each of the multiple devices; the multiple devices include: a first device, a second device other than the first device in a first control device group, and a third device in a second control device group, the second control device group being a control device group adjacent to the first control device group in a spatial area. The processing module is used to determine a target device for executing the voice command from the multiple devices based on the voice command quality information of each device in the multiple devices.

[0017] In a third aspect, the present application provides a determination device of a device, the device comprising: a processor and a memory; the processor and the memory are coupled; the memory is used to store one or more programs, the one or more programs including computer execution instructions, and when the determination device of the device is running, the processor executes the computer execution instructions stored in the memory to implement the method described in the first aspect and any possible implementation of the first aspect.

[0018] In a fourth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a computer, the computer executes the method described in the above-mentioned first aspect and any possible implementation of the first aspect.

[0019] In a fifth aspect, the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement the method described in the first aspect and any possible implementation of the first aspect.

[0020] In a sixth aspect, the present application provides a computer program product comprising instructions, which, when executed by a computer, enables the computer to execute the method described in the above-mentioned first aspect and any possible implementation manner of the first aspect.

[0021] In the above scheme, the technical problems that can be solved by the device determination device, computer equipment, computer storage medium, chip or computer program product and the technical effects achieved can be referred to the technical problems and technical effects solved by the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 An example schematic diagram of a voice wake-up device provided in an embodiment of the present application;

[0023] Figure 2 A schematic diagram of the architecture of a communication system provided in an embodiment of the present application;

[0024] Figure 3 A schematic diagram of a flow chart of a method for determining a device provided in an embodiment of the present application;

[0025] Figure 4 An example schematic diagram of another voice wake-up device provided in an embodiment of the present application;

[0026] Figure 5 An example schematic diagram of another voice wake-up device provided in an embodiment of the present application;

[0027] Figure 6 A flowchart of another device determination method provided in an embodiment of the present application;

[0028] Figure 7 A schematic diagram of the structure of a determination device of a device provided in an embodiment of the present application;

[0029] Figure 8 A schematic diagram of the structure of another determining device provided in an embodiment of the present application;

[0030] Fig. 9A conceptual partial view of a computer program product provided for an embodiment of the present application. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0032] The terms “first” and “second” in the description and claims of the present application are used to distinguish different objects rather than to describe a specific order of the objects.

[0033] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.

[0034] In addition, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present concepts in a specific way.

[0035] After the smart device obtains the voice command, it can obtain the evaluation information of the voice command and broadcast the evaluation information. After that, all devices in the area can obtain the evaluation information and finally determine that one smart device responds to the voice command. However, there may be multiple smart devices in one area. If two users in the area issue voice commands at the same time, each smart device in the area can obtain the quality information of the two voice commands. After that, each device will compare the quality information of the two voice commands together. Then, the device with the best voice quality that receives the voice command responds to the voice command. In this way, different devices in the area cannot execute voice commands issued by different users at the same time.

[0036] For example, Figure 1As shown, user 1 can issue voice command 1 at device 1, and user 2 can issue voice command 2 at device 2. Each device in the area will broadcast the evaluation information of the collected voice command 1 and voice command 2. Then, each device will compare the evaluation information of voice command 1 and voice command 2 together, and finally determine the device response voice command corresponding to the optimal evaluation information.

[0037] At present, the smart devices in the area can be divided into multiple control device groups. The smart devices can obtain the evaluation information broadcast by the smart devices in the control device group and determine a device in the control device group to execute the voice command. In this way, when different users issue voice commands at different locations at the same time, different control device groups can determine a device to execute the corresponding voice command.

[0038] However, after a user issues a voice command, when different control device groups receive the voice command, the devices in each control device group only compare the voice quality information of other devices in the device group to which they belong. After that, each control device group will determine a device to respond to the voice command. This will cause multiple smart devices to respond at the same time. Therefore, how to improve the accuracy of smart device responses has become a technical problem that needs to be solved urgently.

[0039] In order to solve the above technical problems, an embodiment of the present application provides a method for determining a device. In the method, a voice instruction can be received, and the voice instruction quality information of each device in a plurality of devices to the voice instruction is obtained, and the plurality of devices include: a first device, a second device belonging to the same control device group as the first device, and a plurality of third devices that do not belong to the same control device group as the first device. That is to say, the first device can not only obtain the voice instruction quality information within the same group, but also obtain the voice instruction quality information of other control device groups. Then, based on the voice instruction quality information of each device in the plurality of devices, the target device for executing the voice instruction can be determined from the plurality of devices. In this way, the first device can determine a target device based on the voice instruction quality information within the same group and the voice instruction quality information of other control device groups, thereby avoiding the situation where the device cannot obtain the voice instruction quality information of other control device groups, resulting in the occurrence of devices in multiple control device groups responding to voice instructions. In addition, the voice instruction quality information of other device control device groups obtained by the present application is only the voice instruction quality information of adjacent control device groups, which reduces the amount of information obtained, thereby shortening the time window for judgment and improving the efficiency of determining the device.

[0040] It should be noted that the embodiments of the present application do not limit the device. For example, the device may be a switch, a lamp, a television, etc.

[0041] The implementation environment of the embodiments of the present application is introduced below.

[0042] like Figure 2 As shown, a communication system provided by an embodiment of the present application includes: a plurality of devices, and the plurality of devices can be divided into different control device groups. For example, control device group 1 includes: device 201a, device 201b, device 201c, etc., control device group 2 includes: device 202a, device 202b, device 202c, etc., control device group 3 includes: device 203a, device 203b, device 203c, etc., and control device group 4 includes: device 204a, device 204b, device 204c, etc.

[0043] It should be noted that multiple control device groups can be in one area, and one control device group can correspond to one sub-area. For example, if the area is a house, the sub-areas can be bedroom 1, bedroom 2, bedroom 3, living room, dining room, etc. Bedroom 1, bedroom 2, bedroom 3, living room, and dining room can each correspond to one control device group.

[0044] In an embodiment of the present application, a device can establish a connection with a control device (such as a mobile phone). A plurality of control device groups are configured in the control device. A user can set a control device group for a device through the control device. Furthermore, a user can delete a device from a control device group through the control device.

[0045] In a possible implementation, after determining the control device group to which the device belongs, the control device may send the device an identifier of the control device group to which the device belongs. After the control device deletes the device from the control device group, the device may delete the identifier of the control device group to which the device belongs.

[0046] In the embodiment of the present application, a control device group has a multicast address, which is pre-configured for the control device. The network device (such as an intelligent gateway) can forward the multicast message to all members of the control device group according to the multicast address.

[0047] For example, if the multicast address of the control device group 1 is 224.0.0.5, when the device 201a sends a multicast message, the device 201b and the device 201c can both receive and parse the multicast message.

[0048] In the embodiment of the present application, the device 201a can collect voice instructions. Furthermore, the device 201a can generate voice instruction quality information of the voice instructions based on the voice instructions. The device 201a can also send a multicast message carrying the voice instruction quality information so that each device in the control device group 1 obtains the voice instruction quality information of the device 201a.

[0049] Furthermore, the device 201a may obtain the voice instruction quality information of each device in the control device group 1. Then, the device 201a may determine whether to respond to the voice instruction based on the voice instruction quality information of each device in the control device group 1.

[0050] In some embodiments, edge groups may correspond to different control device groups. The edge groups may include terminal devices located near the boundaries of different control device groups. The boundaries are the boundaries between the spatial regions corresponding to at least two control device groups. The edge group may be shared by all control device groups, or by some control device groups. For example, there may be an edge group 1 between control group 1 and control group 2, and there may be an edge group 2 between control group 2 and control group 3. For another example, control group 1, control group 2, control group 3, and control group 4 may share an edge group

[0051] In the embodiment of the present application, the device can establish a connection with a control device (such as a mobile phone). The control device is configured with multiple edge groups, and the user can establish an association relationship between the edge group and the control device group through the control device.

[0052] In a possible implementation, a user can set an edge group for a device by controlling the device, and can delete a device from the edge group by controlling the device.

[0053] In another possible implementation, the device stores the relationship between each edge group and the control device group. The device can determine an edge group based on the received messages of other control device groups and the control device group it is in, and join the edge group.

[0054] In the embodiment of the present application, an edge group has a multicast address. The network device (such as an intelligent gateway) can forward the multicast message to all members belonging to the control device group according to the multicast address.

[0055] In the embodiment of the present application, there is an edge group 1 between the control device group 1 and the control device group 2, and the edge group 1 includes a device 201a and a device 202a. After receiving the voice command, the device in the edge group can send a multicast message not only to the control device group, but also to the edge group.

[0056] For example, device 201a may send multicast message 1 and multicast message 2 carrying voice command quality information, the multicast address of multicast message 1 corresponds to control device group 1, and the multicast address of multicast message 2 corresponds to the edge group. Similarly, device 202a may not only receive voice command quality information of each device in control device group 2, but also receive voice command quality information of device 201a.

[0057] The embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0058] like Figure 3 As shown, a method for determining a device provided in an embodiment of the present application includes:

[0059] S301, receiving a voice command.

[0060] Among them, the first device receiving the voice command belongs to the first control device group among multiple control device groups, the multiple control device groups correspond to different spatial areas respectively, and each control device group includes the terminal device in its corresponding spatial area.

[0061] S302: Acquire voice command quality information of each of the plurality of devices.

[0062] The multiple devices include: a first device, a second device in a first control device group other than the first device, and a third device in a second control device group, and the second control device group is a control device group adjacent to the first control device group in a spatial area.

[0063] It should be noted that the third device may be one or more. Taking the presence of multiple third devices as an example, the multiple third devices may be devices in the same control device group or in different control device groups, which is not limited in the present embodiment of the application. The following takes the first device and the second device as devices in the first control device group, and the third device as a device in the second control device group as an example to introduce the present embodiment of the application.

[0064] In one possible implementation, the first device may obtain voice signal parameters of the voice command, and generate voice command quality information based on the voice signal parameters, where the voice command quality information is used to indicate the quality of the voice command received by the device, and the voice signal parameters include signal-to-noise ratio, recognition rate, signal strength, etc.

[0065] In a possible implementation, the first device may input the collected voice signal of the voice command into a voice evaluation model to obtain the voice command quality information of the first device. The voice evaluation model is used to evaluate the quality of the received voice command.

[0066] It should be noted that the embodiments of the present application do not limit the speech evaluation model. For example, the speech evaluation model can be constructed based on a convolutional neural network. For another example, the speech evaluation model can be constructed based on a generative adversarial network. For another example, the speech evaluation model can be constructed based on a recurrent neural network.

[0067] Optionally, before the first device obtains the voice instruction quality information of the first device, it can determine whether the voice instruction matches the preset wake-up instruction. If the voice instruction matches the preset wake-up instruction, the voice instruction quality information of the received voice instruction can be obtained.

[0068] In the embodiment of the present application, the preset wake-up instruction of the second device and the preset wake-up instruction of the third device are both the voice instruction.

[0069] For example, if the multiple devices include: device a, device b and device c, the preset wake-up instructions of device a and device b are "please turn on the light", and the preset wake-up instruction of device c is "open the curtains". If the voice instruction is "please turn on the light", device a and device b can obtain voice instruction quality information.

[0070] It is understandable that by determining whether the voice command matches, it is possible to increase the restriction conditions for obtaining the voice command quality information, thereby reducing the data processing amount of the first device.

[0071] It should be noted that each of the above multiple devices will evaluate the collected voice commands to obtain corresponding voice command quality information. The specific process of each device obtaining the corresponding voice command quality information can refer to the introduction of the first device obtaining the voice command quality information, which will not be repeated here.

[0072] In an embodiment of the present application, each of the multiple devices may broadcast a broadcast message carrying voice instruction quality information. Afterwards, the first device may receive the broadcast message to obtain the voice instruction quality information of the second device and multiple third devices.

[0073] Optionally, the broadcast message also includes an identifier of a control device group to which the device belongs.

[0074] S303: Determine a target device for executing the voice command from the multiple devices based on the voice command quality information of each device among the multiple devices.

[0075] The target device is a device with the best voice quality for receiving the voice command among multiple devices.

[0076] In a possible implementation, the first device may compare the voice instruction quality information of each device among the multiple devices to determine the target device. Wherein, when the first device is the target device, the first device may execute the voice instruction.

[0077] For example, if multiple devices are divided into devices of control device group a (device 1, device 2, and device 3) and devices of control device group b (device 4 and device 5), the voice command quality information of device 1 is 8, the voice command quality information of device 2 is 7, the voice command quality information of device 3 is 5, the voice command quality information of device 4 is 7.6, and the voice command quality information of device 5 is 6. Then device 1 can determine that device 1 is the target device.

[0078] In another possible implementation, the voice command quality information in each control device group may be compared respectively, and then the target device may be determined based on the optimal voice command quality information in each control device group.

[0079] In a possible implementation, the first device may determine a first candidate device based on the voice instruction quality information of the first device and the voice instruction quality information of the second device, where the first candidate device is the device with the best voice quality in the control device group where the first device is located, and receives the voice instruction. Afterwards, the first device may determine a second candidate device based on the voice instruction quality information of the third device, where the second candidate device is the third device with the best voice quality in receiving the voice instruction. Then, the first device may determine a target device from multiple devices based on the voice instruction quality information of the first candidate device and the voice instruction quality information of the second candidate device.

[0080] For example, if control device group a includes device 1, device 2, and device 3, and control device group b includes device 4 and device 5, the voice command quality information of device 1 is 8, the voice command quality information of device 2 is 7, the voice command quality information of device 3 is 5, the voice command quality information of device 4 is 7.6, and the voice command quality information of device 5 is 6. Then, the first candidate device can be determined to be device 1, the second candidate device to be device 4, and then device 1 can be determined to be the target device.

[0081] It is understandable that the voice command quality information of each device in the first control device group and the second control device group can be compared respectively to select the device with the best voice command quality received in each group. Then, the devices with the best voice command quality in each group can be compared, thereby realizing the comparison of devices between groups to ensure that only one group of devices responds to the voice command.

[0082] Based on the above technical solution, a voice instruction can be received, and the voice instruction quality information of each device in a plurality of devices to the voice instruction can be obtained, and the plurality of devices include: a first device, a second device belonging to the same control device group as the first device, and a plurality of third devices that do not belong to the same control device group as the first device. That is to say, the first device can not only obtain the voice instruction quality information within the same group, but also obtain the voice instruction quality information of other control device groups. Then, based on the voice instruction quality information of each device in the plurality of devices, the target device for executing the voice instruction can be determined from the plurality of devices. In this way, the first device can determine a target device based on the voice instruction quality information within the same group and the voice instruction quality information of other control device groups, thereby avoiding the situation that the device cannot obtain the voice instruction quality information of other control device groups, resulting in the occurrence of devices in multiple control device groups responding to voice instructions. In addition, the voice instruction quality information of other device control device groups obtained by the present application is only the voice instruction quality information of adjacent control device groups, which reduces the amount of information obtained, thereby shortening the time window for judgment and improving the efficiency of determining the device.

[0083] In some embodiments, the device may send a multicast message carrying the voice command quality information so that each device in the control device group obtains the voice command quality information of the devices in the group.

[0084] In some embodiments, multiple devices may send a target multicast message, the target multicast message including: a first multicast message and / or a second multicast message; the first multicast message is used to enable a terminal device in a first control device group to learn voice command quality information of a second device, and the second multicast message is used to enable a terminal device in a target edge group to learn voice command quality information of a third device, and the first device and the third device belong to the same target edge group. Afterwards, the first device may receive the target multicast messages sent by the multiple devices, parse the target multicast messages, and obtain voice command quality information of the multiple devices.

[0085] In a possible implementation, the second device may send a first multicast message, the first multicast message is used to enable the terminal devices in the first control device group to know the voice command quality information of the second device, the first multicast message includes: the voice command quality information of the second device, and the first multicast message is a multicast message of the first control device group. Afterwards, the first device may receive the first multicast message sent by the second device, and parse the first multicast message to obtain the voice command quality information of the second device.

[0086] It should be understood that the first device may also send a fourth multicast message, and the fourth multicast message is used to enable the terminal devices in the first control device group to know the voice instruction quality information of the first device. The second device may receive the fourth multicast message sent by the first device, and parse the fourth multicast message to obtain the voice instruction quality information of the first device.

[0087] In a possible implementation, the first multicast message may include a first multicast address, and the first multicast address is used to identify the first control device group. The first device may determine whether the first device is in the first control device group according to the first multicast address. If the first device is in the first control device group, the first device parses the first multicast message. If the first device is not in the first control device group, the first device discards the first multicast message.

[0088] For example, Figure 4 As shown, if the control device group can be divided into control device group a, control device group b, control device group c and control device group d. After user a issues a voice command at control device group a, the devices in control device group a can issue a multicast message, so that the devices in control device group a obtain the voice command quality information of each device in control device group a. After the devices in control device group b, control device group c and control device group d receive the multicast message of control device group a, they discard the multicast message.

[0089] Furthermore, if user a issues voice command 1 at control device group a, user b issues voice command 2 at control device group b. The devices of control device group a can broadcast voice command quality information of voice command 1 within the group to determine that a device of control device group a executes voice command 1. Furthermore, the devices of control device group b can broadcast voice command quality information of voice command 2 within the group to determine that a device of control device group b executes voice command 2.

[0090] It is understandable that by receiving the first multicast message sent by the second device and parsing the first multicast message, the voice command quality information of the second device can be obtained. In this way, it can be ensured that the first device can obtain the voice command quality information of the devices in the same control device group to the voice command, thereby improving the accuracy of determining the target device. In addition, by sending multicast messages, the control device groups can make independent judgments, so that devices in different control device groups can execute different voice commands at the same time.

[0091] In some embodiments, different control device groups may correspond to edge groups, and the edge groups may include terminal devices located near the boundaries of different control device groups, and the boundaries are the boundaries between the spatial areas corresponding to at least two control device groups. After receiving the voice command, the devices in the edge group can send multicast messages not only to the control device group to which they belong, but also to the edge group to which they belong.

[0092] It should be noted that, usually, the devices in the edge group are usually at the edge of the control device group and are close to the devices in other control device groups, and can frequently receive messages from other control device groups.

[0093] In an embodiment of the present application, the third device may be a device in a target edge group, and the target edge group includes terminal devices in the first control device group and the second control device group located near a boundary, and the boundary is the boundary between the spatial region corresponding to the first control device and the spatial region corresponding to the second control device. Each device in the third device may broadcast a second multicast message, and the second multicast message is used to enable the terminal devices in the target edge group to know the voice command quality information of the third device. The second multicast message may include: voice command quality information, and the second multicast message is a multicast message of the target edge group. Afterwards, the first device may determine whether the first device is a device in the target edge group. If the first device is a device in the target edge group, the first device may parse each second multicast message to obtain the voice command quality information of the third device.

[0094] It should be understood that if the first device is a device in the target edge group, the first device can send the second multicast message. If the third device is a device in the target edge group, the third device can receive and parse the second multicast message to obtain the voice command quality information of the first device.

[0095] For example, Figure 5 As shown, if the control device group can be divided into control device group a, control device group b, control device group c and control device group d. Among them, control device group a includes devices such as device 1, device 2, and device 3, and control device group b includes devices such as device 4, device 5 and device 6. Among them, device 1, device 4 and device 5 are devices in edge group a corresponding to control device group a and control device group b. After user a issues a voice command between control device group a and control device group b, device 4 and device 5 can not only broadcast multicast message 1 in control device group b, but also broadcast multicast message 2 in edge group a. Device 1 can receive and parse multicast message 2 to obtain voice command quality information.

[0096] Optionally, the target edge group may include: terminal devices located near a preset boundary between the control device groups in all control device groups. The preset boundary is a boundary between space areas corresponding to any two control device groups in all control device groups.

[0097] That is to say, the edge group may be one edge group shared by all control device groups or one edge group shared by some control device groups.

[0098] Exemplary, combined Figure 5, the target edge group may be the edge group corresponding to the control device group a and the control device group b, and the target edge group may include: device 1, device 4, and device 5. Alternatively, the target edge group may be the edge group corresponding to the control device group a, the control device group b, the control device group c, and the control device group d, and the target edge group may include: device 1, device 4, device 5, device 6, device 7, device 8, device 9, and device 2.

[0099] It is understandable that, when the third device is a device in the target edge group, the third device can broadcast the second multicast message, so that the first device, which is not in the same control device group as the third device but in the same edge group as the third device, can parse the voice command quality information of the third device. In this way, the first device can not only obtain the voice command quality information of the same control device group, but also obtain the voice command quality information of some devices in other control device groups, which increases the amount of information used by the first device to determine the target device, thereby improving the accuracy of determining the target device.

[0100] In some embodiments, when the first device is the device with the best voice quality for receiving voice commands in the first control device group, the first device can determine whether it is a device in the target edge group and compare the voice command quality information in the target edge group to determine the target device.

[0101] like Figure 6 As shown, a method for determining a device provided in an embodiment of the present application, in which S303 may include:

[0102] S601: Determine whether the first device is a first candidate device based on voice instruction quality information of the first device and voice instruction quality information of the second device.

[0103] In a possible implementation manner, the voice instruction quality information of the first device is compared with the voice instruction quality information of the second device to determine the first candidate device.

[0104] In some embodiments, if the first device is the first candidate device, the first device executes S602. If the first device is not the first candidate device, the first device determines that the first device is not the target device and does not execute S602.

[0105] S602: Determine whether the first device is a device in the target edge group.

[0106] In a possible implementation, the first device may determine whether an identifier of a target edge group is configured. If the identifier of the target edge group is configured, the first device determines that it is a device in the target edge group. If the identifier of the target edge group is not configured, the first device determines that it is not a device in the target edge group.

[0107] In some embodiments, if the first device is a device in the target edge group, the first device executes S603. If the first device is not a device in the target edge group, the first device executes S604.

[0108] S603: Determine whether the first device is a second candidate device based on the voice instruction quality information of the first device and the voice instruction quality information of the third device.

[0109] In some embodiments, if the first device is the second candidate device, the first device executes S604. If the first device is not the second candidate device, the first device determines that the first device is not the target device and does not execute S604.

[0110] It should be understood that when the first device is not the second candidate device, it means that there is a device in the target edge group that receives the voice command with better quality, which means that the first device is not the target device and does not execute the voice command.

[0111] S604: Determine that the first device is a target device.

[0112] In an embodiment of the present application, when the first device is a target device, the first device can execute a voice command.

[0113] Based on the above technical solution, the devices in the target edge group will be compared only when the first device is the first candidate device and the first device is a device in the target edge group. In this way, it is possible to avoid comparing the first device with the target edge group when the first device is not the first candidate device, thereby reducing the amount of data processed by the first device. Moreover, when the first device is the first candidate device, by comparing it with the devices in the target edge group, it is possible to avoid the situation where the device cannot obtain the voice command quality information of other control device groups, resulting in devices in multiple control device groups responding to voice commands.

[0114] It should be noted that when a device broadcasts a message, it may cause network flooding.

[0115] In some embodiments, the first device may determine the number of transfers of the target multicast message. If the number of transfers of the target multicast message is less than a first preset number threshold, the first device may forward the target multicast message. Alternatively, if the number of transfers of the target multicast message is greater than or equal to the first preset number threshold, the first device may stop forwarding the target multicast message.

[0116] In a possible implementation, the first device may determine the number of transfers of the first multicast message. If the number of transfers of the first multicast message is less than a first preset number threshold, the first multicast message may be forwarded. Alternatively, if the number of transfers of the first multicast message is greater than or equal to the first preset number threshold, the first device may stop forwarding the first multicast message.

[0117] In an embodiment of the present application, the first preset number threshold is determined based on the size of the spatial area corresponding to the first control device group.

[0118] For example, if the size of the spatial area corresponding to the first control device group is 10, the first preset number threshold may be 0. If the size of the spatial area corresponding to the first control device group is 20, the first preset number threshold may be 1. If the size of the spatial area corresponding to the first control device group is 30, the first preset number threshold may be 2.

[0119] Optionally, the first multicast message carries a relay count, which is less than a first preset count threshold.

[0120] In a possible implementation, the number of transfers of the second multicast message may be determined. If the number of transfers of the second multicast message is less than a first preset number threshold, the second multicast message is forwarded. Alternatively, if the number of transfers of the second multicast message is greater than or equal to the first preset number threshold, the second multicast message is stopped from being forwarded.

[0121] In the embodiment of the present application, the first preset number threshold is determined based on the size of the spatial area corresponding to the target edge group.

[0122] It is understandable that by limiting the number of times the target multicast message is relayed, the propagation range of the multicast message can be effectively reduced, and the time window for comparing voice command quality information can be shortened, thereby improving the efficiency of determining the target device.

[0123] In some embodiments, if the first device is not a device in the target edge group, the first device discards the second multicast message.

[0124] It is understandable that if the first device is not a device in the target edge group, there is no need to process the multicast message of the device in the target edge group, thereby reducing the amount of processed data and improving the efficiency of determining the target device.

[0125] It should be noted that in the embodiment of the present application, the number of times that the device in the edge group receives multicast messages from other control device groups is greater than the second preset number threshold. The device can determine whether to join the edge group according to the number of times it receives multicast messages from other control device groups.

[0126] In some embodiments, the first device may obtain the number of times a third multicast message is received, where the third multicast message is a multicast message of the second control device group. If the first device is not a device in the target edge group, if the number of times the message is received is greater than a second preset number threshold, the first device is added to the target edge group.

[0127] It is understandable that if the number of receptions is greater than the second preset number threshold, it means that the first device is close to the control device group where the third device is located, and can frequently receive multicast messages from the control device group where the third device is located. Therefore, the first device can be added to the target edge group to facilitate the first device to more accurately determine the target device.

[0128] In some embodiments, the devices in the target edge group may be updated according to the number of receptions, where the number of receptions is the number of times the third multicast message is received within a preset time period before the current time.

[0129] It should be noted that the embodiments of the present application do not limit the preset duration. For example, the preset duration may be 24 hours, 36 hours, 48 ​​hours, etc.

[0130] It is understandable that by limiting the number of reception times to the number of times the third multicast message is received within a preset time period before the current time, the number of reception times can be updated in real time, thereby being able to more accurately determine the devices in the edge group.

[0131] In some embodiments, the first device may obtain the number of updated receptions. If the first device is a device in the target edge group, and the number of updated receptions is less than or equal to a second preset number threshold, the first device is deleted from the target edge group.

[0132] It can be understood that if the number of receptions is less than or equal to the second preset number threshold, it means that the first device is far away from the control device group where the third device is located, and the frequency of receiving multicast messages from the control device group where the third device is located is low. Therefore, the first device can be deleted from the target edge group, so that the first device does not need to parse the second multicast message of the third device in the future, reducing the data processing amount of the first device.

[0133] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. It is understandable that the determination device of the device includes a hardware structure and / or software module corresponding to each function in order to realize the above functions. Those skilled in the art should easily realize that, in combination with the determination method steps of the devices of each example described in the embodiment disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0134] The embodiment of the present application can divide the determination device of the device into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic, which is only a logical function division, and there may be other division methods in actual implementation.

[0135] This embodiment of the application provides a device for determining a device. Figure 7 As shown, the determination device of the device is applied to a first device, the first device belongs to a first control device group among multiple control device groups, the multiple control device groups correspond to different spatial regions, and each control device group includes terminal devices in its corresponding spatial region. The determination device of the device may include: a receiving module 701, a processing module 702, and a sending module 703.

[0136] The receiving module 701 is used to receive voice commands. The receiving module 701 is also used to obtain voice command quality information of each of the multiple devices; the multiple devices include: a first device, a second device other than the first device in a first control device group, and a third device in a second control device group, the second control device group being a control device group adjacent to the first control device group in a spatial area. The processing module 702 is used to determine a target device for executing a voice command from the multiple devices based on the voice command quality information of each device in the multiple devices.

[0137] In one possible design, the target device is the device with the best voice quality for receiving the voice command among multiple devices.

[0138] In one possible design, processing module 702 is specifically used to determine a first candidate device based on voice command quality information of a first device and voice command quality information of a second device, wherein the first candidate device is a device with the best voice quality in the control device group where the first device is located and that receives voice commands. Processing module 702 is specifically used to determine a second candidate device based on voice command quality information of a third device, wherein the second candidate device is a device with the best voice quality in the third device and that receives voice commands. Processing module 702 is specifically used to determine a target device from a plurality of devices based on voice command quality information of the first candidate device and voice command quality information of the second candidate device.

[0139] In a possible design, the receiving module 701 is used to receive a target multicast message sent by multiple devices, and the target multicast message includes: a first multicast message and / or a second multicast message; the first multicast message is used to enable the terminal device in the first control device group to know the voice instruction quality information of the second device, and the second multicast message is used to enable the terminal device in the target edge group to know the voice instruction quality information of the third device; the first device and the third device belong to the same target edge group. The processing module 702 is specifically used to parse the target multicast message to obtain the voice instruction quality information of multiple devices.

[0140] In one possible design, processing module 702 is specifically used to determine the number of transfers of the target multicast message. Processing module 702 is specifically used to forward the target multicast message when the number of transfers of the target multicast message is less than a first preset number threshold. Alternatively, processing module 702 is specifically used to stop forwarding the target multicast message when the number of transfers of the target multicast message is greater than or equal to the first preset number threshold.

[0141] In one possible design, the target edge group includes terminal devices in the first control device group and the second control device group located near a boundary, and the boundary is a boundary between a spatial region corresponding to the first control device group and a spatial region corresponding to the second control device group.

[0142] In one possible design, the processing module 702 is further used to obtain the number of receptions of the third multicast message, where the third multicast message is a multicast message of the second control device group. The processing module 702 is further used to join the target edge group when the number of receptions is greater than or equal to the second preset number threshold.

[0143] In a possible design, the processing module 702 is further used to obtain the updated reception times of the third multicast message. The processing module 702 is further used to exit the target edge group when the updated reception times are less than the second preset times threshold.

[0144] Figure 88 is a schematic diagram of a structure of a determination device of a device according to an exemplary embodiment. The determination device of the device may include a processor 802, and the processor 802 is used to execute application code to implement the determination method of the device in the present application.

[0145] The processor 802 may be a central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0146] like Figure 8 As shown, the determining means of the device may further include a memory 803. The memory 803 is used to store application program codes for executing the solution of the present application, and the execution is controlled by the processor 802.

[0147] The memory 803 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 803 may exist independently and be connected to the processor 802 via the bus 804. The memory 803 may also be integrated with the processor 802.

[0148] like Figure 8 As shown, the determining device of the device may further include a communication interface 801, wherein the communication interface 801, the processor 802, and the memory 803 may be coupled to each other, for example, via a bus 804. The communication interface 801 is used to exchange information with other devices, for example, to support information exchange between the determining device of the device and other devices.

[0149] It should be pointed out that Figure 8 The device structure shown in the figure does not constitute a limitation on the determining means of the device, except Figure 8In addition to the components shown, the device may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0150] In actual implementation, the functions implemented by the processing unit can be Figure 8 The processor 802 shown calls the program code in the memory 803 to implement.

[0151] The present application also provides a computer-readable storage medium, on which instructions are stored, and when the instructions in the computer-readable storage medium are executed by a processor of a computer device, the computer can execute the determination method of the device provided in the above-mentioned embodiment. For example, the computer-readable storage medium may be a memory 803 including instructions, and the above instructions may be executed by a processor 802 of a computer device to complete the above method. Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, a non-temporary computer-readable storage medium may be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.

[0152] Fig. 9 A conceptual partial view of a computer program product provided by an embodiment of the present application is schematically shown, where the computer program product includes a computer program for executing a computer process on a computing device.

[0153] In one embodiment, the computer program product is provided using a signal bearing medium 900. The signal bearing medium 900 may include one or more program instructions that, when executed by one or more processors, may provide the above-described Figure 3 Thus, for example, reference to Figure 3 In the embodiment shown in , one or more features of S301 to S303 may be undertaken by one or more instructions associated with the signal bearing medium 900. In addition, Fig. 9 The program instructions in also describe example instructions.

[0154] In some examples, the signal bearing medium 900 may include a computer readable medium 901, such as, but not limited to, a hard drive, a compact disk (CD), a digital video disk (DVD), a digital tape, a memory, a read-only memory (ROM) or a random access memory (RAM), and the like.

[0155] In some implementations, signal bearing medium 900 may include computer recordable medium 902 such as, but not limited to, memory, read / write (R / W) CD, R / W DVD, and the like.

[0156] In some implementations, signal bearing medium 900 may include communication medium 903 such as, but not limited to, digital and / or analog communication media (eg, fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).

[0157] The signal bearing medium 900 may be communicated by a wireless form of communication medium 903. The one or more program instructions may be, for example, computer executable instructions or logic implemented instructions.

[0158] In some examples, the determining means of the device may be configured to provide various operations, functions, or actions in response to one or more program instructions through computer-readable medium 901 , computer-recordable medium 902 , and / or communication medium 903 .

[0159] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0160] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0161] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0162] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0163] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the full classification part or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes various media that can store program codes, such as-U disk, mobile hard disk, ROM, RAM, disk or CD.

[0164] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for determining a device, characterized in that: Applied to a first device, the first device belongs to a first control device group among a plurality of control device groups, the plurality of control device groups respectively correspond to different spatial regions, each of the control device groups includes a terminal device in the corresponding spatial region, the method includes: Receive voice commands; Acquire voice command quality information of each of a plurality of devices; the plurality of devices include: the first device, a second device other than the first device in the first control device group, and a third device in a second control device group, the second control device group being a control device group adjacent to the first control device group in a spatial area; Based on the voice instruction quality information of each of the plurality of devices, a target device for executing the voice instruction is determined from the plurality of devices.

2. The method according to claim 1, characterized in that The target device is a device with the best voice quality for receiving the voice instruction among the multiple devices.

3. The method according to claim 2, characterized in that The step of determining a target device for executing the voice command from the multiple devices based on the voice command quality information of each of the multiple devices includes: Determine a first candidate device based on the voice command quality information of the first device and the voice command quality information of the second device, where the first candidate device is a device with the best voice quality for receiving the voice command in the control device group where the first device is located; Determine a second candidate device based on the voice command quality information of the third device, where the second candidate device is a third device with the best voice quality when receiving the voice command; The target device is determined from the plurality of devices based on the voice instruction quality information of the first candidate device and the voice instruction quality information of the second candidate device.

4. The method according to claim 1, characterized in that: The obtaining of voice command quality information of each of the plurality of devices includes: receiving a target multicast message sent by the multiple devices, the target multicast message including: a first multicast message and / or a second multicast message; the first multicast message is used to enable a terminal device in the first control device group to learn voice command quality information of the second device, and the second multicast message is used to enable a terminal device in a target edge group to learn voice command quality information of the third device; the first device and the third device belong to the same target edge group; The target multicast message is parsed to obtain voice command quality information of the multiple devices.

5. The method according to claim 4, characterized in that The method further comprises: Determining the number of transfers of the target multicast message; If the number of transfers of the target multicast message is less than a first preset number threshold, forwarding the target multicast message; or, When the transfer times of the target multicast message is greater than or equal to the first preset times threshold, stop forwarding the target multicast message.

6. The method according to claim 4, characterized in that The target edge group includes terminal devices located near a boundary between the first control device group and the second control device group, and the boundary is a boundary between a spatial region corresponding to the first control device group and a spatial region corresponding to the second control device group.

7. The method according to claim 6, characterized in that Before receiving the second multicast message sent by the third device, the method further includes: Acquire a reception count of a third multicast message, where the third multicast message is a multicast message of the second control device group; When the number of receptions is greater than or equal to a second preset number threshold, the target edge group is added.

8. The method according to claim 7, characterized in that After adding the target edge group, the method further includes: Obtaining an updated reception count of the third multicast message; When the number of updated receptions is less than the second preset number threshold, exit the target edge group.

9. A device for determining a device, characterized in that: Applied to a first device, the first device belongs to a first control device group among a plurality of control device groups, the plurality of control device groups correspond to different spatial regions respectively, and each of the control device groups includes a terminal device in its corresponding spatial region; the apparatus includes: A receiving module, used for receiving voice commands; The receiving module is further used to obtain voice command quality information of each of a plurality of devices; the plurality of devices include: the first device, a second device other than the first device in the first control device group, and a third device in a second control device group, the second control device group being a control device group adjacent to the first control device group in a spatial area; The processing module is used to determine a target device for executing the voice instruction from the multiple devices based on the voice instruction quality information of each device in the multiple devices.

10. A device for determining a device, characterized in that: include: Processor and memory; The processor is coupled to the memory; The memory is used to store one or more programs, and one or more of the programs include computer-executable instructions. When the determination device of the device is running, the processor executes the computer-executable instructions stored in the memory to enable the determination device of the device to perform the method as described in any one of claims 1-8.

11. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When a computer executes the instruction, the computer performs the method according to any one of claims 1 to 8.

12. A computer program product comprising instructions, characterized in that When the instructions are executed by a computing device, the computing device is caused to perform the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Voice interaction method, device and system

    CN110767225A

  • Device and method for voice interaction and computer readable medium

    CN111326151A

  • Audio optimization method, device and system and medium

    CN114360484A

  • Cross-space voice processing method and device, equipment and storage medium

    CN118471224A

  • Outputing notifications using device groups

    US10616726B1