Audio data processing method and apparatus, and home appliance

By playing test audio between the reference device and the device to be compensated, acquiring and comparing energy values, and calculating energy compensation values, the problem of inaccurate wake-up audio caused by differences in device hardware is solved, and the accuracy of wake-up audio response is improved.

CN117373441BActive Publication Date: 2026-11-24FOSHAN SHUNDE MIDEA ELECTRONICS TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210761113.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-29
Publication Date
2026-11-24
Estimated Expiration
2042-06-29

AI Technical Summary

Technical Problem

Due to differences in device hardware, there is a problem where devices further away are woken up during the wake-up process, affecting the accuracy of the wake-up audio.

Method used

By playing test audio between the reference device and the device to be compensated, the energy values ​​are obtained and compared, the energy compensation value is calculated, and the actual energy value of the device is corrected when listening to the wake-up audio.

Benefits of technology

It improves the accuracy of device response when listening to wake-up audio and avoids inaccurate energy values ​​due to hardware differences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117373441B_ABST
    Figure CN117373441B_ABST
Patent Text Reader

Abstract

This application discloses an audio data processing method, apparatus, and home appliance. The method includes: playing test audio to each device to be compensated and obtaining a first energy value fed back by each device to be compensated when receiving the test audio; receiving the test audio played by each device to be compensated and determining a second energy value when receiving each test audio; and calculating an energy compensation value for each device to be compensated based on the first energy value and the second energy value, wherein the energy compensation value is used to correct the actual energy value of the device to be compensated when listening to a wake-up audio. The technical solution provided by this application can improve the accuracy of the device's response to wake-up audio when listening to wake-up audio.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of voice data processing technology, and in particular relates to an audio data processing method, apparatus and household appliance. Background Technology

[0002] With the maturity of voice recognition technology, home appliances with intelligent voice functions have begun to enter users' homes. When users use intelligent voice functions, they must first wake up the device with a wake-up word. Whether the wake-up is successful depends on the wake-up energy value input by the user's voice. However, due to differences in device hardware (such as differences in microphone structure), there is a problem where devices that are far away are woken up by the user's wake-up command. Summary of the Invention

[0003] The embodiments of this application provide an audio data processing method, apparatus, and home appliance, which can at least to some extent improve the accuracy of responding to wake-up audio when the device is listening to wake-up audio.

[0004] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.

[0005] According to a first aspect of the embodiments of this application, an audio data processing method is provided. The method is executed on a reference device. The method includes: playing test audio to each device to be compensated and obtaining a first energy value fed back by each device to be compensated when receiving the test audio; receiving the test audio played by each device to be compensated and determining a second energy value when receiving each test audio; and calculating an energy compensation value for each device to be compensated based on the first energy value and the second energy value, wherein the energy compensation value is used to correct the actual energy value of the device to be compensated when listening to wake-up audio.

[0006] In some embodiments of this application, based on the foregoing scheme, after obtaining the first energy value of the received test audio fed back by each device to be compensated, the method further includes: sending a test audio playback instruction to each device to be compensated to trigger each device to be compensated to play the test audio to the reference device itself.

[0007] In some embodiments of this application, based on the foregoing scheme, determining the second energy value when receiving each test audio includes: sampling the test audio and determining the energy value of each sampling point; averaging the energy values ​​of each sampling point to obtain the second energy value.

[0008] In some embodiments of this application, based on the aforementioned scheme, the step of calculating the energy compensation value of each device to be compensated based on the first energy value and the second energy value includes: using the second energy value as a reference energy value, and calculating the energy compensation value of each device to be compensated using the first energy value.

[0009] In some embodiments of this application, based on the aforementioned scheme, the step of calculating the energy compensation value of each device to be compensated based on the first energy value and the second energy value includes: sending the first energy value and the second energy value to the cloud so as to calculate the energy compensation value of each device to be compensated through the cloud.

[0010] In some embodiments of this application, based on the foregoing scheme, after calculating the energy compensation value of each device to be compensated based on the first energy value and the second energy value, the method further includes: sending each energy compensation value to the device to be compensated corresponding to the energy compensation value, so that the device to be compensated corrects its actual energy value when listening to wake-up audio according to the energy compensation value.

[0011] In some embodiments of this application, based on the foregoing scheme, the method further includes: obtaining the theoretical energy value of a reference device, wherein the theoretical energy value of the reference device is the actual energy value when the reference device hears the wake-up audio; obtaining the theoretical energy value of each device to be compensated, wherein the theoretical energy value of the device to be compensated is obtained by correcting the actual energy value when the device to be compensated hears the wake-up audio using the energy compensation value; selecting the device with the largest theoretical energy value among the devices to be compensated or the reference device as the target response device, so as to respond to the wake-up audio through the target response device.

[0012] According to a second aspect of the embodiments of this application, an audio data processing method is also provided, the method being executed on any one of a plurality of devices to be compensated, the method comprising: receiving test audio played by a reference device; determining a first energy value when receiving the test audio and sending the first energy value to the reference device; playing the test audio to the reference device so that the reference device determines a second energy value when receiving the test audio, and calculating an energy compensation value for each device to be compensated based on the first energy value and the second energy value, the energy compensation value being used to correct the actual energy value of the device to be compensated when listening to wake-up audio.

[0013] In some embodiments of this application, based on the foregoing scheme, determining the first energy value when receiving test audio includes: sampling the test audio and determining the energy value of each sampling point; averaging the energy values ​​of each sampling point to obtain the first energy value.

[0014] In some embodiments of this application, based on the foregoing scheme, playing test audio to the reference device includes: receiving a test audio playback command sent by the reference device; and playing the test audio to the reference device in response to the test audio playback command.

[0015] According to a third aspect of the embodiments of this application, an audio data processing apparatus is provided. The apparatus is disposed on a reference device and includes: a first playback unit, configured to play test audio to each device to be compensated and acquire a first energy value fed back by each device to be compensated when receiving the test audio; a first receiving unit, configured to receive the test audio played by each device to be compensated and determine a second energy value when receiving each test audio; and a calculation unit, configured to calculate an energy compensation value for each device to be compensated based on the first energy value and the second energy value, wherein the energy compensation value is used to correct the actual energy value of the device to be compensated when listening to wake-up audio.

[0016] According to a fourth aspect of the embodiments of this application, an audio data processing apparatus is provided, the apparatus being disposed in any one of a plurality of devices to be compensated, the apparatus comprising: a second receiving unit for receiving test audio played by a reference device; a determining unit for determining a first energy value when receiving the test audio and sending the first energy value to the reference device; and a second playing unit for playing the test audio to the reference device, such that the reference device determines a second energy value when receiving the test audio, and calculates an energy compensation value for each device to be compensated based on the first energy value and the second energy value, the energy compensation value being used to correct the actual energy value of the device to be compensated when listening to wake-up audio.

[0017] According to a fifth aspect of the embodiments of this application, a home appliance is provided, the home appliance including one or more processors and one or more memories, the one or more memories storing at least one piece of program code, the at least one piece of program code being loaded and executed by the one or more processors to implement the method described in any of the embodiments of the first and second aspects above.

[0018] In this application, since the reference device and the device to be compensated receive the test audio played by each other, the energy value of the test audio transmitted to the devices can be guaranteed to be consistent. The reference device and the device to be compensated further determine the energy compensation value by comparing the energy value of the test audio they actually receive. The energy compensation value can be used to characterize the difference between the energy values ​​determined by different devices when receiving audio. Therefore, when each device listens to the wake-up audio in the future, it can correct its actual energy value determined when listening to the wake-up audio by using the energy compensation value, avoiding the problem of inaccurate energy value determination caused by hardware differences between different devices, thereby improving the accuracy of the device's response to the wake-up audio when listening to the wake-up audio.

[0019] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings: Figure 1 A schematic diagram of an exemplary system architecture to which the technical solutions of the embodiments of this application can be applied is shown; Figure 2 A flowchart of an audio data processing method according to an embodiment of this application is shown; Figure 3 A flowchart of an audio data processing method according to an embodiment of this application is shown; Figure 4 A flowchart of an audio data processing method according to an embodiment of this application is shown; Figure 5 An overall flowchart of the audio data processing method in an embodiment of this application is shown; Figure 6 A block diagram of an audio data processing apparatus according to an embodiment of this application is shown; Figure 7 A block diagram of an audio data processing apparatus according to an embodiment of this application is shown; Figure 8 A schematic diagram of the structure of a household appliance in an embodiment of this application is shown. Detailed Implementation

[0021] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0022] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.

[0023] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0024] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0025] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "multiple" means two or more.

[0026] Figure 1 A schematic diagram of an exemplary system architecture to which the technical solutions of the embodiments of this application can be applied is shown.

[0027] like Figure 1 As shown, the system architecture may include home appliance 101, network 102, and cloud (e.g., cloud) 103. Network 102 serves as a medium for providing a communication link between home appliance 101 and cloud 103. Network 102 may include various connection types, such as wired communication links, wireless communication links, etc.

[0028] Based on one aspect of this application, the proposed audio data processing scheme can be applied to a reference device (e.g., home appliance 1 can be used as the reference device). Specifically, home appliance 1 can play test audio to each device to be compensated (e.g., home appliance 2 and home appliance 3 can be used as the devices to be compensated), and obtain a first energy value fed back by each device to be compensated when receiving the test audio. Then, home appliance 1 receives the test audio played by each device to be compensated and determines a second energy value when receiving each test audio. Finally, based on the first energy value and the second energy value, an energy compensation value is calculated for each device to be compensated to correct the actual energy value of the device to be compensated when listening to wake-up audio.

[0029] In this application, the calculation of the energy compensation value of each device to be compensated can be completed by a reference device (such as home appliance 1). In other embodiments, the calculation of the energy compensation value of each device to be compensated can also be completed by other entities (such as home appliance 2, or home appliance 3, or cloud 103).

[0030] Based on another aspect of this application, an audio data processing scheme for a device to be compensated is also proposed. Specifically, the device to be compensated (e.g., home appliance 2 or home appliance 3) receives test audio played by a reference device. Then, a first energy value is determined when the test audio is received, and the first energy value is sent to the reference device. Finally, the device to be compensated plays the test audio to the reference device, so that the reference device determines a second energy value when it receives the test audio, and calculates an energy compensation value for each device to be compensated based on the first energy value and the second energy value. The energy compensation value is used to correct the actual energy value of the device to be compensated when listening to wake-up audio.

[0031] In this application, it should be noted that the wake-up audio can refer to the audio used by the user to wake up the device's smart voice function. For example, in a scenario where various home appliances (such as multiple air conditioners) are equipped with voice recognition functions, if a user wants to turn on the air conditioner closest to them via voice command, they need to wake up the air conditioner with a voice command (i.e., the wake-up audio, such as the wake-up audio for "air conditioner"). After the air conditioner is woken up, the user can then issue a voice command to turn it on.

[0032] It should be noted that in this application, in the above scheme, the test audio played on different devices is the same test audio.

[0033] In this application, since the reference device and the device to be compensated receive the test audio played by each other, the energy value of the test audio transmitted to the devices can be guaranteed to be consistent. The reference device and the device to be compensated further determine the energy compensation value by comparing the energy value of the test audio they actually receive. The energy compensation value can be used to characterize the difference between the energy values ​​determined by different devices when receiving audio. Therefore, when each device listens to the wake-up audio in the future, it can correct its actual energy value determined when listening to the wake-up audio by using the energy compensation value, avoiding the problem of inaccurate energy value determination caused by hardware differences between different devices, thereby improving the accuracy of the device's response to the wake-up audio when listening to the wake-up audio.

[0034] It should be noted that the audio data processing method provided in this application embodiment can be executed by the home appliance 101, and correspondingly, the audio data processing device is generally disposed in the home appliance 101. However, in other embodiments of this application, the cloud 103 itself may also have similar functions to the home appliance, thereby executing the audio data processing scheme provided in this application embodiment.

[0035] It should also be noted that, Figure 1 The number of home appliances, networks, and cloud devices mentioned is merely illustrative. The cloud primarily provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.

[0036] It's important to explain that cloud computing, as described above, is a computing model that distributes computing tasks across a resource pool comprised of numerous computers, enabling various application systems to access computing power, storage space, and information services as needed. The network providing these resources is called the "cloud." From the user's perspective, the resources in the "cloud" appear infinitely scalable and can be accessed, used on demand, and expanded at any time. By establishing a cloud computing resource pool (referred to as a cloud platform, generally called an IaaS (Infrastructure as a Service) platform), various types of virtual resources are deployed within the resource pool for external customers to choose from. The cloud computing resource pool mainly includes: computing devices (virtualized machines containing operating systems), storage devices, and network devices.

[0037] It should also be noted in this application that the home appliances mentioned in this application may be air conditioners, washing machines, refrigerators, robot vacuum cleaners, etc.

[0038] The implementation details of the technical solutions in the embodiments of this application will be described in detail from multiple perspectives below: From the perspective of the reference device.

[0039] Reference Figure 2 The diagram illustrates a flowchart of an audio data processing method according to an embodiment of this application. This audio data processing method can be executed by a device with computational processing capabilities, such as a reference device (e.g., Figure 1 The household appliance 1 shown is used to perform this action. (Refer to...) Figure 2 As shown, the audio data processing method includes at least steps 210 to 230, which are described in detail below: In step 210, test audio is played to each device to be compensated, and the first energy value of the received test audio is obtained from each device to be compensated.

[0040] In this application, it should be noted that, as Figure 1 In the application scenario of the system architecture shown, the reference device can be the home appliance that the user uses most frequently, or it can be a user-defined home appliance. The hardware of the reference device can be considered standard hardware; therefore, the sound energy value it determines when receiving audio is without deviation.

[0041] In this application, the reference device can play test audio to each device to be compensated, wherein the test audio can be a standard audio preset according to set audio and EQ parameters. After determining a first energy value based on the received test audio, the device to be compensated can send the first energy value information to the reference device via a local area network, thereby enabling the reference device to obtain the first energy value received from each device to be compensated when receiving the test audio.

[0042] In one embodiment of this application, after obtaining the first energy value of the received test audio fed back by each of the devices to be compensated, the reference device may also send a test audio playback command to each of the devices to be compensated to trigger each of the devices to be compensated to play the test audio to the reference device itself.

[0043] In this embodiment, by triggering each device to be compensated to play the test audio to the reference device, the energy value determined by the reference device when receiving the same test audio can also be measured. This facilitates subsequent comparison of the degree of hardware (e.g., microphone) difference between the devices to be compensated and the reference device in determining the sound energy value.

[0044] Continue to refer to Figure 2 In step 220, test audio played by each device to be compensated is received, and a second energy value is determined when each test audio is received.

[0045] In this application, after the reference device sends a test audio playback instruction to each device to be compensated, it can enter the listening process. When the energy value of the listened test audio reaches a set threshold, it begins to determine the second energy value when receiving each test audio.

[0046] In one embodiment of this application, determining the second energy value when receiving each test audio can be performed according to the following steps 221 to 222: Step 221: Sample the test audio and determine the energy value of each sampling point.

[0047] Step 222: Average the energy values ​​of each sampling point to obtain the second energy value.

[0048] In this embodiment, the test audio is sampled either at equal time intervals or randomly; this application does not limit the sampling method. Each sampling point yields an energy value, and the second energy value is obtained by averaging the energy values ​​from all sampling points.

[0049] It should also be noted that the test audio can be sampled using a continuous peak sampling (i.e., taking the peak value of each frame of audio) algorithm.

[0050] In this application, by sampling the test audio and further taking the average energy value of each sampling point as the second energy value, the advantage is that the accuracy of determining the second energy value can be improved, thereby improving the accuracy of determining the energy compensation value of each device to be compensated, and further improving the accuracy of the device responding to the wake-up audio when listening to the wake-up audio. Continue to refer to Figure 2 In step 230, based on the first energy value and the second energy value, the energy compensation value of each device to be compensated is calculated. The energy compensation value is used to correct the actual energy value of the device to be compensated when listening to wake-up audio.

[0051] In one embodiment of this application, the step of calculating the energy compensation value of each device to be compensated based on the first energy value and the second energy value may be to use the second energy value as the reference energy value and calculate the energy compensation value of each device to be compensated using the first energy value.

[0052] Specifically, for example, when the device to be compensated receives the test audio played by the reference device, the first energy value determined is V1, and when the reference device receives the test audio played by the device to be compensated, the second energy value determined is V2. Therefore, the energy compensation value for the device to be compensated can be calculated as "V2-V1".

[0053] In one embodiment of this application, the step of calculating the energy compensation value of each device to be compensated based on the first energy value and the second energy value may be to send the first energy value and the second energy value to the cloud so that the energy compensation value of each device to be compensated can be calculated through the cloud.

[0054] In this application, specifically, in addition to the reference device itself calculating the energy compensation value for each device to be compensated, the reference device can also send the second energy value determined when receiving the test audio and the first energy value determined for each device to be compensated to the cloud, whereby the cloud calculates the energy compensation value for each device. The advantage of this approach is that it alleviates the local operator load on the device while improving the accuracy of the calculation results.

[0055] In one embodiment of this application, after calculating the energy compensation value of each device to be compensated based on the first energy value and the second energy value, the energy compensation value can be sent to the device to be compensated corresponding to the energy compensation value, so that the device to be compensated can correct its actual energy value when listening to wake-up audio according to the energy compensation value.

[0056] In this application, if the energy compensation value for each device to be compensated is calculated by a reference device, the reference device can send each energy compensation value to the device to be compensated corresponding to that energy compensation value. If the energy compensation value for each device to be compensated is calculated by the cloud, the cloud can send each energy compensation value to the device to be compensated corresponding to that energy compensation value.

[0057] Furthermore, in one embodiment of this application, after determining the energy compensation value for each device to be compensated, the following can also be performed: Figure 3 The scheme shown.

[0058] See Figure 3 The flowchart illustrates the audio data processing method according to an embodiment of this application. Specifically, it includes steps 241 to 243: Step 241: Obtain the theoretical energy value of the reference device, where the theoretical energy value of the reference device is the actual energy value when the reference device detects the wake-up audio.

[0059] Step 242: Obtain the theoretical energy value of each device to be compensated. The theoretical energy value of the device to be compensated is obtained by correcting the actual energy value of the device to be compensated when it hears the wake-up audio using the energy compensation value.

[0060] Step 243: Select the device with the largest theoretical energy value among the various devices to be compensated or the reference device as the target response device, so as to respond to the wake-up audio through the target response device.

[0061] This embodiment specifically discloses how to use the energy compensation value determined by the aforementioned scheme to select the target response device for the wake-up audio response from the reference device and each device to be compensated. To enable those skilled in the art to better understand this embodiment, the following will be combined with... Figure 1 The application scenario of the system architecture shown is illustrated with a specific example to explain this embodiment.

[0062] In this specific example, appliance 1 is used as the reference device, and appliances 2 and 3 are used as devices to be compensated. The energy compensation value of appliance 2 is "+8" (meaning that the sound detection hardware of appliance 1 is more sensitive than that of appliance 2, i.e., more sensitive to 8 units of energy value), and the energy compensation value of appliance 3 is "-6" (meaning that the sound detection hardware of appliance 3 is more sensitive than that of appliance 1, i.e., more sensitive to 6 units of energy value).

[0063] When a user sends a wake-up audio from a certain location, the actual energy value determined by appliance 1 upon receiving the wake-up audio is "60", the actual energy value determined by appliance 2 upon receiving the wake-up audio is "58", and the actual energy value determined by appliance 3 upon receiving the wake-up audio is "62". Therefore, the theoretical energy value corresponding to appliance 1 is "60", the theoretical energy value corresponding to appliance 2 is "58+8=66", and the theoretical energy value corresponding to appliance 3 is "62-6=56". It is evident that appliance 2 has the highest theoretical energy value, indicating that appliance 2 is closest to the user. Therefore, appliance 2 can be selected as the target response device to respond to the user's wake-up audio.

[0064] It should be noted that the technical solution in this embodiment can be executed not only in the reference device, but also in the device to be compensated, in the cloud, and in other electronic devices in the local area network where each device is located. This application does not limit it in this regard.

[0065] From the perspective of the device to be compensated.

[0066] Reference Figure 4 The diagram illustrates a flowchart of an audio data processing method according to an embodiment of this application. This audio data processing method can be executed by a device with computing processing capabilities, such as multiple [devices / devices]. Compensation Equipment (e.g.) Figure 1 Perform the operation using any one of the household appliances shown (2, 3). Refer to... Figure 2 As shown, the audio data processing method includes at least steps 250 to 270, which are described in detail below: Step 250: Receive test audio played by the reference device.

[0067] Step 260: Determine the first energy value when receiving the test audio, and send the first energy value to the reference device.

[0068] Step 270: Play test audio to the reference device so that the reference device determines the second energy value when it receives the test audio, and calculates the energy compensation value for each device to be compensated based on the first energy value and the second energy value. The energy compensation value is used to correct the actual energy value of the device to be compensated when listening to the wake-up audio.

[0069] In one embodiment of this application, determining the first energy value when receiving test audio can be performed according to the following steps 261 to 262: Step 261: Sample the test audio and determine the energy value of each sampling point.

[0070] Step 262: Average the energy values ​​of each sampling point to obtain the first energy value.

[0071] In one embodiment of this application, playing the test audio to the reference device can be performed according to the following steps 271 to 272: Step 271: Receive the test audio playback command sent by the reference device.

[0072] Step 272: In response to the test audio playback command, play the test audio to the reference device.

[0073] To enable those skilled in the art to better understand this application, the following will be combined with Figure 5 The audio data processing scheme proposed in this application will be briefly described in general with reference to a specific embodiment.

[0074] Reference Figure 5 The diagram shows the overall flowchart of the audio data processing method in the embodiments of this application.

[0075] like Figure 5 As shown, in step S1, the reference device 501 plays test audio to the device to be compensated.

[0076] In step S2, after receiving the test audio sent by the reference device, the compensation device 502 feeds back the first energy value when receiving the test audio to the reference device 501.

[0077] In step S3, after receiving the first energy value fed back by the device to be compensated 502, the reference device 501 sends a playback command for the test audio to the device to be compensated.

[0078] In step S4, the reference device 501 receives the test audio played by the device to be compensated and determines the second energy value when receiving the test audio.

[0079] In step S5, the reference device 501 sends the first energy value and the second energy value to the cloud so that the cloud can calculate the energy compensation value of each device to be compensated.

[0080] In step S6, the cloud 503 sends the energy compensation value to the device to be compensated.

[0081] In step S7, the reference device 501 obtains the actual energy value when the wake-up audio is detected as the theoretical energy value.

[0082] In step S8, the compensation device 502 obtains the actual energy value when the wake-up audio is detected, and corrects the actual energy value with the energy compensation value to determine the theoretical energy value.

[0083] In step S9, the compensation device 502 sends the theoretical energy value determined by the device to be compensated to the reference device.

[0084] In step S10, the reference device 501 selects the device with the largest theoretical energy value as the target response device, so as to respond to the wake-up audio through the target response device.

[0085] As can be seen, in the scheme proposed in this embodiment, since the reference device and the device to be compensated receive the test audio played by each other, the energy value of the test audio transmitted to the device can be guaranteed to be consistent. The reference device and the device to be compensated further determine the energy compensation value by comparing the energy value of the test audio they actually receive. The energy compensation value can be used to characterize the difference between the energy values ​​determined by different devices when receiving the audio. Therefore, when each device listens to the wake-up audio in the future, it can correct the actual energy value determined by itself when listening to the wake-up audio through the energy compensation value, avoiding the problem of inaccurate energy value determination caused by hardware differences between different devices, thereby improving the accuracy of the device's response to the wake-up audio when listening to the wake-up audio.

[0086] The following describes an apparatus embodiment of this application, which can be used to execute the audio data processing method in the above embodiments of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the audio data processing method described above.

[0087] See Figure 6 The diagram shows a block diagram of an audio data processing apparatus according to an embodiment of the present application, which may be disposed on a reference device.

[0088] like Figure 6As shown, the audio data processing apparatus 600 according to an embodiment of this application includes: a first playback unit 601, a first receiving unit 602, and a calculation unit 603.

[0089] The system includes a first playback unit 601, configured to play test audio to each device to be compensated and obtain a first energy value from each device when receiving the test audio. A first receiving unit 602 is configured to receive the test audio played by each device to be compensated and determine a second energy value when receiving each test audio. A calculation unit 603 is configured to calculate an energy compensation value for each device to be compensated based on the first energy value and the second energy value, wherein the energy compensation value is used to correct the actual energy value of the device when listening to wake-up audio.

[0090] In some embodiments of this application, based on the foregoing scheme, the apparatus further includes: a first transmitting unit, configured to send a test audio playback command to each device to be compensated after acquiring a first energy value when receiving test audio fed back by each device to be compensated, so as to trigger each device to be compensated to play the test audio to the reference device itself.

[0091] In some embodiments of this application, based on the foregoing scheme, the first receiving unit 602 is configured to: sample the test audio and determine the energy value of each sampling point; and average the energy values ​​of each sampling point to obtain the second energy value.

[0092] In some embodiments of this application, based on the foregoing scheme, the calculation unit 603 is configured to: use the second energy value as a reference energy value, and calculate the energy compensation value of each device to be compensated using the first energy value.

[0093] In some embodiments of this application, based on the foregoing scheme, the calculation unit 603 is configured to send the first energy value and the second energy value to the cloud so as to calculate the energy compensation value of each device to be compensated through the cloud.

[0094] In some embodiments of this application, based on the foregoing scheme, the first sending unit is configured to: after calculating the energy compensation value of each device to be compensated based on the first energy value and the second energy value, send each energy compensation value to the device to be compensated corresponding to the energy compensation value, so that the device to be compensated corrects its actual energy value when listening to wake-up audio according to the energy compensation value.

[0095] In some embodiments of this application, based on the foregoing scheme, the apparatus further includes: a selection unit, configured to obtain the theoretical energy value of a reference device, wherein the theoretical energy value of the reference device is the actual energy value when the reference device detects the wake-up audio; obtain the theoretical energy value of each device to be compensated, wherein the theoretical energy value of the device to be compensated is obtained by correcting the actual energy value when the device to be compensated detects the wake-up audio using the energy compensation value; and select the device with the largest theoretical energy value among the devices to be compensated or the reference device as the target response device, so as to respond to the wake-up audio through the target response device.

[0096] See Figure 7 The diagram shows a block diagram of an audio data processing apparatus according to an embodiment of this application. This apparatus can be disposed in any one of a plurality of devices to be compensated.

[0097] like Figure 7 As shown, the audio data processing apparatus 700 according to an embodiment of this application includes: a second receiving unit 701, a determining unit 702, and a second playback unit 703.

[0098] The second receiving unit 701 is used to receive test audio played by a reference device. The determining unit 702 is used to determine a first energy value when receiving the test audio and send the first energy value to the reference device. The second playing unit 703 is used to play the test audio to the reference device, so that the reference device determines a second energy value when receiving the test audio, and calculates an energy compensation value for each device to be compensated based on the first energy value and the second energy value. The energy compensation value is used to correct the actual energy value of the device to be compensated when listening to wake-up audio.

[0099] In some embodiments of this application, based on the foregoing scheme, the determining unit 702 is configured to: sample the test audio and determine the energy value of each sampling point; average the energy values ​​of each sampling point to obtain the first energy value.

[0100] In some embodiments of this application, based on the foregoing scheme, the second playback unit 703 is configured to: receive a test audio playback command sent by the reference device; and, in response to the test audio playback command, play the test audio to the reference device.

[0101] Based on the same inventive concept, this application also provides a household appliance, see reference. Figure 8The diagram shows a structural schematic of a home appliance in an embodiment of this application. The home appliance includes one or more memories 804, one or more processors 802, and at least one computer program (program code) stored in the memory 804 and executable on the processor 802. When the processor 802 executes the computer program, it implements the audio data processing method as described above.

[0102] Among them, Figure 8 In this document, a bus architecture (represented by bus 800) is used. Bus 800 may include any number of interconnected buses and bridges, linking various circuits including one or more processors represented by processor 802 and memory represented by memory 804. Bus 800 may also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. Bus interface 805 provides an interface between bus 800 and receiver 801 and transmitter 803. Receiver 801 and transmitter 803 may be the same element, i.e., a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 802 is responsible for managing bus 800 and general processing, while memory 804 can be used to store data used by processor 802 during operation.

[0103] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on or transmitted via a computer-readable medium. Other examples and embodiments are within the scope and spirit of this application and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or any combination thereof. Furthermore, the functional units may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit.

[0104] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0105] The units described as separate components may or may not be physically separate. Similarly, the components of the control device may or may not be physical units; they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0106] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0107] The above description is merely an embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. An audio data processing method, characterized in that, The method is performed on a reference device, and the method includes: Play test audio to each device to be compensated and obtain the first energy value of the received test audio from each device to be compensated; Send a test audio playback command to each device to be compensated to trigger each device to play the test audio to the reference device; Receive test audio played by each device to be compensated, and determine the second energy value when receiving each test audio; Based on the first energy value and the second energy value, calculate the energy compensation value for each device to be compensated. The energy compensation value is used to correct the actual energy value of the device to be compensated when listening to wake-up audio. Obtain the theoretical energy value of the reference device, wherein the theoretical energy value of the reference device is the actual energy value when the reference device detects the wake-up audio; The theoretical energy value of each device to be compensated is obtained. The theoretical energy value of the device to be compensated is obtained by correcting the actual energy value of the device to be compensated when it hears the wake-up audio with the energy compensation value. Among the various devices to be compensated or reference devices, the device with the largest theoretical energy value is selected as the target response device, so that the wake-up audio is responded to by the target response device.

2. The method according to claim 1, characterized in that, The determination of the second energy value when receiving each test audio includes: The test audio is sampled, and the energy value of each sampling point is determined; The energy values ​​at each sampling point are averaged to obtain the second energy value.

3. The method according to claim 1, characterized in that, The step of calculating the energy compensation value for each device to be compensated based on the first energy value and the second energy value includes: Using the second energy value as the reference energy value, the energy compensation value of each device to be compensated is calculated based on the first energy value.

4. The method according to claim 1, characterized in that, The step of calculating the energy compensation value for each device to be compensated based on the first energy value and the second energy value includes: The first energy value and the second energy value are sent to the cloud so that the cloud can calculate the energy compensation value for each device to be compensated.

5. The method according to claim 1, characterized in that, After calculating the energy compensation value for each device to be compensated based on the first energy value and the second energy value, the method further includes: Each energy compensation value is sent to the device to be compensated corresponding to the energy compensation value, so that the device to be compensated can correct its actual energy value when listening to wake-up audio based on the energy compensation value.

6. An audio data processing method, characterized in that, The method is executed on any one of a plurality of devices to be compensated, and the method includes: Receive test audio played by a reference device; Determine a first energy value when receiving test audio, and send the first energy value to the reference device; Receive a test audio playback command sent by the reference device; in response to the test audio playback command, play the test audio to the reference device so that the reference device determines a second energy value when it receives the test audio, and calculates an energy compensation value for each device to be compensated based on the first energy value and the second energy value, wherein the energy compensation value is used to correct the actual energy value of the device to be compensated when listening to the wake-up audio; The reference device is configured to: obtain the theoretical energy value of the reference device, which is the actual energy value of the reference device when it hears the wake-up audio; obtain the theoretical energy value of each device to be compensated, which is obtained by correcting the actual energy value of the device to be compensated when it hears the wake-up audio using the energy compensation value; and select the device with the largest theoretical energy value among the devices to be compensated or the reference device as the target response device to respond to the wake-up audio.

7. The method according to claim 6, characterized in that, Determining the first energy value when receiving test audio includes: The test audio is sampled, and the energy value of each sampling point is determined; The energy values ​​at each sampling point are averaged to obtain the first energy value.

8. An audio data processing device, characterized in that, The device is disposed on a reference device, and the device includes: The first playback unit is used to play test audio to each device to be compensated and to obtain the first energy value of the received test audio fed back by each device to be compensated. The first sending unit is used to send a test audio playback command to each device to be compensated, so as to trigger each device to be compensated to play the test audio to the reference device; The first receiving unit is used to receive test audio played by each device to be compensated, and to determine the second energy value when receiving each test audio. The calculation unit is used to calculate the energy compensation value of each device to be compensated based on the first energy value and the second energy value, wherein the energy compensation value is used to correct the actual energy value of the device to be compensated when listening to wake-up audio; A selected unit is used to obtain the theoretical energy value of a reference device, which is the actual energy value of the reference device when it hears the wake-up audio. The theoretical energy values ​​of each device to be compensated are obtained, which are obtained by correcting the actual energy value of the device to be compensated when it hears the wake-up audio using the energy compensation value. Among the devices to be compensated or the reference device, the device with the largest theoretical energy value is selected as the target response device to respond to the wake-up audio.

9. An audio data processing device, characterized in that, The device is disposed in any one of a plurality of devices to be compensated, and the device includes: The second receiving unit is used to receive test audio played by the reference device; A determining unit is configured to determine a first energy value when receiving test audio and send the first energy value to the reference device; The second playback unit is configured to receive a test audio playback command sent by the reference device; in response to the test audio playback command, play the test audio to the reference device so that the reference device determines a second energy value when it receives the test audio, and calculates an energy compensation value for each device to be compensated based on the first energy value and the second energy value, wherein the energy compensation value is used to correct the actual energy value of the device to be compensated when listening to the wake-up audio; The reference device includes a selection unit for obtaining the theoretical energy value of the reference device, which is the actual energy value of the reference device when it hears the wake-up audio; obtaining the theoretical energy value of each device to be compensated, which is obtained by correcting the actual energy value of the device to be compensated when it hears the wake-up audio using the energy compensation value; and selecting the device with the largest theoretical energy value among the devices to be compensated or the reference device as the target response device, so as to respond to the wake-up audio through the target response device.

10. A household appliance, characterized in that, It includes one or more processors and one or more memories, wherein at least one piece of program code is stored in the one or more memories, and the at least one piece of program code is loaded and executed by the one or more processors to implement the method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Pickup volume control method and device and storage medium

    CN111417053A

  • Cross-platform distributed local awakening method and device

    CN111883146A