Method for judging multi-device voice control, computer device and readable storage medium
By calculating the audio and operating information of multiple smart home appliances and determining the device that should respond, it solves the difficult problem of responding to voice commands in a multi-device environment, improving the user experience and the intelligence of smart home appliances.
Patent Information
- Application Number
- CN202110362964.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-02
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-04-02
AI Technical Summary
In an environment with multiple smart home appliances, it is difficult to determine which device should respond to a user's voice command, resulting in device wake-up that is not expected by the customer or the target device being uncontrollable, affecting the user experience.
By obtaining the audio information and operating information of multiple devices, calculating energy information and matching information, combining the microphone coefficient and scene weight value, calculating the response value, and judging the device corresponding to the highest response value to obtain the interaction right to determine the device that should respond.
It effectively solves the problem of device response judgment, ensures the correct application of voice control functions in multiple smart home appliances, and improves the user experience and the intelligence level of smart home appliances.
Smart Images

Figure CN114863925B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control of household devices, and in particular to a method for determining voice control of multiple devices, a computer device and a readable storage medium. Background Art
[0002] Smart homes often involve voice interaction, where users issue voice control commands at home and smart appliances perform tasks based on the control commands. Voice interaction involves microphones capturing voice commands. When there are multiple smart appliances at home, there is the question of which device will execute the voice command.
[0003] In a more specific scenario, the user's position at home is generally not fixed. When the user moves around the home, some devices are closer to the user and can receive voice at a higher volume. However, the smart home appliance that the user wants to control by voice is not necessarily the closer device. When the user speaks a voice command, the command signal may be preempted by the device closer to the user, and other devices may wake up unexpectedly; or the user walks to the device he wants to control, but the voice command he issued is received by the previous device, affecting the control of the target device. That is, among multiple smart home appliances, it is difficult to determine which device responds to the user's voice command, which limits the application of voice control functions in smart home appliances and reduces the user experience. Summary of the invention
[0004] In order to solve at least one of the above-mentioned problems in the prior art, an object of the present invention is to provide a method for determining multi-device voice control, a computer device and a readable storage medium.
[0005] To achieve the above-mentioned object of the invention, an embodiment of the present invention provides a method for determining multi-device voice control, comprising the following steps:
[0006] Get audio information of multiple devices;
[0007] Acquire operation information of a device corresponding to the audio information;
[0008] Determine energy information and energy weight value corresponding to the audio information according to the audio information;
[0009] Determine the matching information and matching weight value corresponding to the operation information according to the operation information;
[0010] Calculating a response value of each audio information according to the energy information and the energy weight value, and the matching information and the matching weight value;
[0011] It is determined that the device corresponding to the highest response value obtains the interaction right.
[0012] As a further improvement of the present invention, the step of "determining energy information and energy weight value corresponding to the audio information according to the audio information" includes:
[0013] The audio information includes amplitude value information;
[0014] The energy information is calculated according to the amplitude value information.
[0015] As a further improvement of the present invention, the steps are also included:
[0016] The audio information includes microphone information of a microphone that acquires the audio information;
[0017] Determine a microphone coefficient corresponding to the microphone information according to the microphone information;
[0018] The energy weight value is determined according to the microphone coefficient.
[0019] As a further improvement of the present invention, the response value includes the product of the energy information and the energy weight value.
[0020] As a further improvement of the present invention, the steps are also included:
[0021] When the energy information corresponding to the highest response value is lower than a preset value, the device corresponding to the highest response value is controlled to operate according to the audio information with the highest energy information.
[0022] As a further improvement of the present invention, the operation information includes scene information of a device corresponding to the audio information, and the scene information is an interaction scene before the device obtains the audio information;
[0023] The matching information includes a scene coefficient corresponding to the scene information;
[0024] The matching weight value includes a scene weight value;
[0025] The response value includes the product of the scene coefficient and the scene weight value.
[0026] As a further improvement of the present invention, the matching information includes volume information of a device corresponding to the audio information;
[0027] The matching weight value includes a volume weight value;
[0028] The response value includes the product of the volume information and the volume weight value.
[0029] As a further improvement of the present invention, the volume information is set to be a ratio of a current volume value of a device corresponding to the audio information to a maximum volume value of the device.
[0030] As a further improvement of the present invention, the volume information is set to an absolute volume value of a current volume of a device corresponding to the audio information.
[0031] As a further improvement of the present invention, the steps are also included:
[0032] The device corresponding to the response value that is not the highest is controlled to stop obtaining audio information.
[0033] To achieve one of the above-mentioned purposes of the invention, an embodiment of the present invention provides a computer device, including:
[0034] a storage module storing a computer program executable on the processing module;
[0035] A processing module, when executing the computer program, the processing module can implement the steps in the above-mentioned method for determining multi-device voice control.
[0036] To achieve one of the above-mentioned purposes of the invention, an embodiment of the present invention provides a readable storage medium storing a computer program, which, when executed by a processing module, can implement the steps in the above-mentioned method for determining multi-device voice control.
[0037] Compared with the prior art, the present invention has the following beneficial effects: by processing and calculating the audio information picked up by multiple microphones and based on the current operating status of the device, the smart home appliance that the user wants to control is judged. This method finds the device that best meets the user's expected control among multiple smart home appliances, solves the problem of judging which device responds to the user's voice command, facilitates the promotion of voice control functions on multiple smart home appliances, further improves the intelligence of smart home appliances, and enhances the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 is a flowchart of a method for determining multi-device voice control according to an embodiment of the present invention;
[0039] Figure 2 is a structural block diagram of a smart home appliance according to an embodiment of the present invention;
[0040] Figure 3 is a structural block diagram of a server and a smart home appliance according to an embodiment of the present invention;
[0041] Among them, 1. sound pickup module; 2. sound generation module; 3. display module; 4. processing module; 5. storage module; 6. signal input / output module; 7. communication bus. DETAILED DESCRIPTION
[0042] The present invention will be described in detail below in conjunction with the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, methodological, or functional changes made by a person skilled in the art based on these embodiments are all within the scope of protection of the present invention.
[0043] An embodiment of the present invention provides a method for determining voice control of multiple devices, a computer device, and a readable storage medium. Through this method, a device that best meets the user's expected control can be found among multiple smart home appliances, solving the problem of determining which device responds to the user's voice command, and facilitating the promotion of voice control functions on multiple smart home appliances.
[0044] The multiple devices of this embodiment, taking a home environment, or a home appliance showroom, or a home appliance store as an example, refer to multiple devices that can be controlled by intelligent voice, such as multiple smart refrigerators, or multiple smart refrigerators, freezers, wine cabinets, or multiple smart appliances such as smart refrigerators, smart TVs, smart speakers, etc., which can perform corresponding operations through voice command information issued by the user.
[0045] The execution subject of the following method steps is a computer device, which can exist in a smart terminal in the home, can be a user's mobile phone, can be a cloud server, etc.
[0046] Specifically, the method for determining multi-device voice control includes the following steps:
[0047] Step 101: Acquire audio information of multiple devices;
[0048] Audio information is obtained through a microphone. Smart home appliances generally have a microphone, or an external bound microphone. The microphone converts analog sound signals into digital electrical signals for transmission to obtain audio information.
[0049] Before the smart home appliance obtains audio information, the user can first issue a wake-up command to wake it up. Before waking up, the audio information is continuously monitored with low power consumption until the key wake-up command is matched, and then the device is woken up to prepare to respond to the next user's voice command and obtain audio information. For example, a user needs to wake up 5 refrigerators, and the wake-up keywords of the 5 refrigerators are all "Xiaoyou Xiaoyou". When the user says the wake-up command, the 5 refrigerators are all woken up, and the microphones of all refrigerators are ready to listen to the user's next voice command, that is, to obtain audio information. When all 5 refrigerators are woken up, if the refrigerator was making a sound before, such as playing music, the volume of the refrigerator can be lowered or even muted first, and it is prepared to obtain the next audio information, and then the obtained audio information is uploaded to the computer device that executes the method.
[0050] Step 102: Acquire operation information of a device corresponding to the audio information;
[0051] The operation information reflects the current interactive state of the device. For example, if the device has a sound module or a display module, the operation information may include information such as the content displayed by the display module and the sound emitted by the sound module. These information reflect the current operation state of the device.
[0052] Step 103: determining energy information and energy weight value corresponding to the audio information according to the audio information;
[0053] Energy information mainly depends on the energy of the audio that reaches the device when the user wakes up. This energy value can also reflect the distance between the device and the sound source. When the user makes a wake-up sound at a certain location, when the sound theoretically reaches devices at different specific sound source locations, the audio intensity collected by the microphone will vary with the distance. Different types of devices match their energy weight values.
[0054] Step 104: determining the matching information and matching weight value corresponding to the operation information according to the operation information;
[0055] The matching information reflects the matching relationship between the operating status of the device and the user. When the device is in different states, it can be judged that the possibility of interaction is different. The matching information can reflect the possible value of the device's need to interact, and the matching weight values of different types of devices can be matched.
[0056] Step 105: Calculate the response value of each audio information according to the energy information and the energy weight value, and the matching information and the matching weight value;
[0057] The response value combines the above energy information, energy weight value, matching information and matching weight value, and calculates these parameters. The response value reflects the score for each audio information, and the degree of matching required is reflected through the score. The higher the response value, the more suitable it is for interacting with the user, or the lower the response value, the more suitable it is. The specific value can be determined according to the parameter design.
[0058] Step 106: Determine whether the device corresponding to the highest response value obtains the interaction right.
[0059] Interaction rights mean that the next voice interaction will be performed by the device with the highest response value, and the smart home appliance can then respond based on the current audio information or the instruction information contained in the user's next audio information. Other devices that have not obtained interaction rights will not execute the user's voice instructions until the user wakes up all devices again next time and continues to use the above method to determine which device will participate in the next round of interaction.
[0060] Which device matches the voice command issued by the user is the problem to be solved by the above method. Judging the device that needs to execute the voice command by the response value objectively reflects the distance of different devices from the user and the current status of the device. If the device is closer to the user, the energy information is higher. If the device participated in the previous round of interaction, it will be higher in the matching information. In addition, different energy weight values and matching weight values also reflect the performance differences of each device itself. Based on the above judgment method, the distance and active status of different devices are compared to obtain the response value. For example, when a device is closer to the user and the user is performing related operations before waking up, the user is more likely to still need to wake up the device this round. On the contrary, when a device is farther away from the user and is in a dormant state before waking up, the user is less likely to need to wake up the device this round.
[0061] Although the present application provides the method operation steps as described in the following embodiments or flow charts, more or fewer operation steps may be included in the method based on routine or no creative labor. In addition, in the steps of the method where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided in the embodiments of the present application. For example, there is no logical sequence relationship between steps 101 and 102, between steps 102 and 103, and between steps 103 and 104, and the order of the steps can be adjusted as needed.
[0062] Furthermore, the step of “determining energy information and energy weight value corresponding to the audio information according to the audio information” includes:
[0063] The audio information includes amplitude value information;
[0064] The energy information is calculated according to the amplitude value information.
[0065] The amplitude value information reflects the waveform of the audio information received by the microphone device, and also reflects the energy of the audio information obtained by the microphone. The voice commands issued by the user are generally finite-length, non-periodic signals. The amplitude at different time points describes the energy distribution of the signal with frequency. By calculating its spectral density, it reflects the distribution of the energy of the voice signal at each frequency point. The larger the amplitude, the higher the intensity of the sound signal received by the audio signal at some frequencies. By calculating the amplitude values of all audio information, the energy information corresponding to each audio information can be obtained.
[0066] And also includes the steps of:
[0067] The audio information includes microphone information of a microphone that acquires the audio information;
[0068] Determine a microphone coefficient corresponding to the microphone information according to the microphone information;
[0069] The energy weight value is determined according to the microphone coefficient.
[0070] The ability of microphones of different devices to obtain audio is different. Some devices are close to the user, but the performance of the microphone is not as good as that of devices at a longer distance. The audio information obtained cannot objectively reflect that the device is closer to the user. On the contrary, some devices are farther away from the user, but the microphone performance is good. If only the audio information obtained by the microphone is considered, it may be mistaken that the device is closer to the user. Therefore, different microphone coefficients are matched to the microphones of different devices through the obtained microphone information. The microphone coefficient is inversely related to the strength of its performance, which is further reflected in the inverse relationship between the ability weight value and the performance of the microphone, that is, the better the performance of the microphone, the lower its ability weight value. In addition, some devices have multiple microphones, and their ability to obtain audio is different from that of devices with fewer microphones, so their microphone coefficients are adjusted. From the microphone coefficient to the energy weight value, the energy weight value can be generated according to the order of magnitude of the response value to be finally obtained and the matching relationship of other parameters, supplemented by the adjustment of a certain coefficient. By adjusting the microphone coefficients of different devices, the energy weight value is balanced, and different energy information is further balanced.
[0071] After acquiring the above information, the response value includes the product of the energy information and the energy weight value.
[0072] Additionally, the steps include:
[0073] When the energy information corresponding to the highest response value is lower than a preset value, the device corresponding to the highest response value is controlled to operate according to the audio information with the highest energy information.
[0074] Some devices are closer to the user, but after combining the matching information and matching weight values, it is concluded that they are not devices that need to be operated. However, some devices are farther away and are finally judged to be devices that need to be operated. For devices at farther locations, the audio information they obtain is not as clear as that of devices at close range, especially when the energy information is lower than a reference preset value, it can be judged that the device may not be able to execute the user's voice commands well. Therefore, for devices at farther locations, the content of the audio information of devices that are closer is executed, so that the distant devices can accurately perform the operations required by the user.
[0075] And, also includes the steps of:
[0076] The device corresponding to the response value that is not the highest is controlled to stop obtaining audio information.
[0077] When multiple smart home appliances determine which device executes a voice command, the remaining devices can stop monitoring the next voice message and return to their previous states. Combined with the above steps, there may also be a scenario where, when it is determined that a device at a farther distance needs to execute a voice command, it will operate according to the audio information obtained by the device at the closest distance, and the remaining devices except the two devices will stop monitoring.
[0078] Furthermore, the operation information includes scene information of a device corresponding to the audio information, and the scene information is an interaction scene before the device obtains the audio information;
[0079] The matching information includes a scene coefficient corresponding to the scene information;
[0080] The matching weight value includes a scene weight value;
[0081] The response value includes the product of the scene coefficient and the scene weight value.
[0082] The scene information reflects the importance of the current interaction scene to the device, or reflects the relevance to its own need to be controlled. In different usage scenarios, the scene information is different. Different scene coefficients are matched for different scenes, and according to the matching relationship of the order of magnitude and other parameters, a certain coefficient is adjusted to generate a scene weight value. Finally, the scene coefficient is multiplied by the scene weight value, and the result reflects the importance of the scene in the matching information to the device interaction. Exceptionally, when a device does not have a usage scene before waking up, its scene coefficient can be very low, which also lowers the response value corresponding to the voice information.
[0083] Further, the matching information includes volume information of a device corresponding to the audio information;
[0084] The matching weight value includes a volume weight value;
[0085] The response value includes the product of the volume information and the volume weight value.
[0086] More specifically, the method may include the following two embodiments:
[0087] In one embodiment, the volume information is set as a ratio of a current volume value of a device corresponding to the audio information to a maximum volume value of the device.
[0088] The response value includes the product of the ratio of the current volume information to the maximum volume information and the volume weight value.
[0089] The current volume information is the volume emitted by the sound module of the device. When the volume of a device is very high, it objectively reflects that the user may be currently operating the device, or that the device is very important to the user. On the contrary, when the volume of a device is very low, it also reflects that the user does not want to operate the device at present. In extreme cases, for example, the smart TV is in a silent state, indicating that the user does not want the TV to participate in the control of his voice command at this time. Its current volume information is 0, and the product of the ratio of the current volume information to the maximum volume information and the volume weight value is also 0. This item also lowers the response value corresponding to the voice information. In this way, B=y(current) / y(upper limit), where B is the volume information, y(current) is the current volume value, that is, the volume value controlled by the user, and y(upper limit) is the maximum volume value, that is, the maximum volume value that the device can emit.
[0090] The volume information of this embodiment is a relative volume. Although the ability of different devices to emit sound is different, the ratio of the current volume information to the maximum volume information reflects the ratio of the sound emitted by the device to the sound it can emit. When all smart home appliances are smart refrigerators, this value can be used to compare the sound of different refrigerators horizontally. When smart home appliances include multiple types of devices, since the sound-emitting ability of household appliances is not arbitrarily set, its maximum volume information is designed according to the user's usage environment. When a device that can emit a loud sound emits a very small sound, it also reflects the current inactivity of the device. When the relative maximum volume information is not large, but the current volume information is very large, it also reflects that the user needs to operate the device more.
[0091] In another embodiment, the volume information is set to an absolute volume value of a current volume of a device corresponding to the audio information.
[0092] Here, the sound emitted by the speaker is the sound generated by the movement of the current-carrying conductor in the magnetic field. The calculation formula is F=BIL, where I=U / R, so F=BUL / R, where B and L are hardware constants, U is the speaker voltage, and R is the speaker resistance. These can be used as parameters that can be confirmed and calculated, and then the volume of the current speaker is determined according to the spl of the current speaker, where spl refers to the sound pressure level sensitivity, BUL / R*spl is the maximum absolute volume that the device can emit, and the corresponding volume value is B=y(current) / y(upper limit)*BUL / R*spl, where B, which is the same as the above embodiment, is the volume information, y(current) is the current volume value, that is, the volume value controlled by the user, and y(upper limit) is the maximum volume value, that is, the maximum volume value that the device can emit, that is, the volume information represents the standard value of the current volume.
[0093] The volume information of this embodiment is an absolute volume. The volume information of each device is a value that can be compared horizontally with each other. It is a conversion value based on a standard volume of a unified real environment, that is, the volume of speakers with different sound capabilities is converted to a unified volume for calculation. It is considered here that if the absolute volume of the current device is high, it means that the user is paying more attention to the device, and if the absolute volume is low, the user is less likely to use the device.
[0094] Specifically, the volume information needed for calculation can be simulated based on experimental parameters to determine which method can better match the device that the user actually needs to wake up according to the user's environment, and specify appropriate volume information.
[0095] Exceptionally, when a device does not have a sound module, a constant value may be assigned to the current volume information, maximum volume information and volume weight value corresponding to the device to facilitate comparison with other devices.
[0096] The specific usage scenarios are as follows:
[0097] Through the above description, the calculation formula can be generated: Response value = A*a+B*b+C*c
[0098] Wherein A is the energy information, a is the energy weight value, B is the scene coefficient, b is the scene weight value, C is the ratio of the current volume information to the maximum volume information, and c is the volume weight value;
[0099] When the home appliances are two smart refrigerators and two smart TVs, both smart refrigerators and smart TVs have many usage scenarios, such as standby, playing music, food management, introducing recipes, online shopping, playing movies, ordering takeout, playing news, etc.
[0100] For a refrigerator, the scenario coefficients can be assigned as follows:
[0101] Food management 1.8 = recipe 1.8 > music playback 1.7 > mall 1.6 > takeaway 1.5 > standby 1
[0102] For television, the scene coefficients can be assigned as follows:
[0103] Movie 1.8 = Music 1.8 > Radio 1.7 > Mall 1.6 > News 1.5 > Standby 1
[0104] When refrigerator A is on the food management page, the current volume information being issued is 30, refrigerator B is on the shopping page, the current volume information being issued is 40, TV A is on the news page, the current volume information being issued is 40, TV B is in standby mode, the current volume information being issued is 0, and the maximum volume information of the four devices is 100. The four devices receive the wake-up command at the same time, such as "Xiaoyou Xiaoyou". Assuming that the user is standing in the middle of the four devices, the energy weight values of the TV and the refrigerator are equal, the scene weight value is 10000, and the volume weight value is 10000, the volume information takes the above relative volume as an example:
[0105] Response value of refrigerator A = A*a + 1.8*b +30 / 100*c = A*a+18000+3000
[0106] Response value of refrigerator B = A*a + 1.6*b +40 / 100*c = A*a+16000+4000
[0107] The response value of TV A = A*a + 1.5*b +40 / 100*c = A*a+15000+4000
[0108] The response value of TV B = A*a + 1*b +0 / 100*c = A*a+10000+0,
[0109] Through calculation, it can be known that refrigerator A currently has the highest response value and obtains the interaction right of the wake-up command. The computer device determines that refrigerator A responds to the voice information, and the other three devices do not participate in the interaction of the current voice information. From the above example, it can be seen that the calculation of the response value combines the current scene of the device, the volume of the device itself, and the audio energy that the device can receive. The weighted parameters are used to determine the distribution of the interaction right, so that the multi-device smart home appliance can specify the device that meets the user's needs to respond.
[0110] The above-mentioned specific scene coefficients, scene weight values, volume weight values, as well as energy information and energy weight value calculation and assignment can be obtained based on laboratory data.
[0111] An embodiment of the present invention provides a computer device. As described above, the above-mentioned method for determining voice control of multiple devices can be completed on a smart home appliance and controlled by a smart home appliance, or the information can be uploaded to a server, or a cloud, such as a user's mobile phone or computer, and the above-mentioned analysis is performed on the server, that is, the computer device can be a smart home appliance or a server, including a storage module 5 and a processing module 4. The storage module 5 stores a computer program that can be run on the processing module 4. When the processing module 4 executes the computer program, the steps in the above-mentioned method for determining voice control of multiple devices can be implemented, that is, the steps in any one of the technical solutions in the above-mentioned method for determining voice control of multiple devices can be implemented.
[0112] The device running the above method takes a smart home appliance as an example, Figure 2 As shown, in addition to the processing module 4 and the storage module 5, it also includes a sound pickup module 1, a signal input / output module 6 and a communication bus 7. In addition, it can be optionally equipped with a sound module 2 and / or a display module 3. The sound pickup module 1 includes the above-mentioned microphone for obtaining external audio command information; when the smart home appliance has the function of making a sound, the sound module 2 includes a speaker for playing the sound, and when the smart home appliance has the function of displaying an image, the display module 3 includes a display screen for presenting the image. The signal input / output module 6 uploads the information of the smart home appliance to the server, and the communication bus 7 is used to establish a connection between the sound pickup module 1, the sound module 2, the display module 3, the signal input / output module 6, the processing module 4 and the storage module 5. The communication bus 7 may include a path for transmitting information between the above-mentioned multiple modules.
[0113] The computer device running the above method may be a server, such as Figure 3 As shown, it has a signal receiving module, a processing module 4 and a storage module 5, which analyze and calculate the information transmitted by the smart home appliances, for example, receiving information from two smart refrigerators and two smart TVs, namely smart refrigerators A and B, and smart TVs A and B. The computer device receives the audio information and operation information of the smart home appliances, and calculates which device the user's voice interaction rights are given to.
[0114] In addition, an embodiment of the present invention provides a readable storage medium storing a computer program, which can implement the steps in the above-mentioned method for determining multi-device voice control when executed by the processing module 4. In other words, the steps in any one of the technical solutions in the above-mentioned method for determining multi-device voice control are implemented.
[0115] In the above description, it should be understood that the disclosed systems, systems and methods can be implemented in other ways. For example, the system implementation described above is only schematic, for example, the division of device modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or modules, which can be electrical, mechanical or other forms.
[0116] For example, the processing modules 4 of the present application may be concentrated in one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0117] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for a computer system (which can be a personal computer, a server, or a network system, etc.) or a processing module (processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0118] Compared with the prior art, this embodiment has the following beneficial effects:
[0119] By processing and calculating the audio information picked up by multiple microphones and based on the current operating status of the device, the smart home appliance that the user wants to control is determined. This method finds the device that best meets the user's expected control among multiple smart home appliances, solves the problem of determining which device responds to the user's voice command, facilitates the promotion of voice control functions on multiple smart home appliances, further improves the intelligence of smart home appliances, and enhances the user experience.
[0120] It should be understood that although this specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each implementation mode may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
[0121] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for determining multi-device voice control, characterized in that: The steps include: Acquire audio information of a plurality of devices, wherein the audio information includes a user's voice command acquired through a microphone of each device; Acquire operation information of a device corresponding to the audio information, wherein the operation information is used to reflect the current operation status of the device; Determine energy information and energy weight value corresponding to the audio information according to the audio information, wherein the magnitude of the energy information reflects the distance between the device and the sound source; Determine, according to the operation information, the matching information and the matching weight value corresponding thereto, wherein the operation information includes scene information of a device corresponding to the audio information, the scene information is an interaction scene before the device acquires the audio information, the matching information includes a scene coefficient corresponding to the scene information, and the matching weight value includes a scene weight value; Calculating a response value of each audio information according to the energy information and the energy weight value, and the matching information and the matching weight value; Determine that the device corresponding to the highest response value obtains the interaction right; When the energy information corresponding to the highest response value is lower than a preset value, the device corresponding to the highest response value is controlled to operate according to the audio information with the highest energy information.
2. The method for determining multi-device voice control according to claim 1, characterized in that: The step of "determining energy information and energy weight value corresponding to the audio information according to the audio information" includes: The audio information includes amplitude value information; The energy information is calculated according to the amplitude value information.
3. The method for determining multi-device voice control according to claim 2, characterized in that: The steps are also included: the audio information includes microphone information of a microphone that acquires the audio information; Determine a microphone coefficient corresponding to the microphone information according to the microphone information; The energy weight value is determined according to the microphone coefficient.
4. The method for determining multi-device voice control according to claim 3, characterized in that: The response value includes the product of the energy information and the energy weight value.
5. The method for determining multi-device voice control according to claim 1, characterized in that: The response value includes the product of the scene coefficient and the scene weight value.
6. The method for determining multi-device voice control according to claim 1, characterized in that: The matching information includes volume information of a device corresponding to the audio information; The matching weight value includes a volume weight value; The response value includes the product of the volume information and the volume weight value.
7. The method for determining multi-device voice control according to claim 6, characterized in that: The volume information is set as the ratio of the current volume value of the device corresponding to the audio information to the maximum volume value of the device.
8. The method for determining multi-device voice control according to claim 6, characterized in that: The volume information is set to the absolute volume value of the current volume of the device corresponding to the audio information.
9. The method for determining multi-device voice control according to claim 1, characterized in that: Also includes the steps: Control the device that does not correspond to the highest response value to stop obtaining audio information.
10. A computer device comprising: a storage module storing a computer program executable on the processing module; A processing module, characterized in that when the processing module executes the computer program, it can implement the steps in the method for determining multi-device voice control as described in any one of claims 1 to 9.
11. A readable storage medium storing a computer program, characterized in that: When the computer program is executed by the processing module, the steps in the method for determining multi-device voice control described in any one of claims 1 to 9 can be implemented.
