Audio processing methods, apparatus, devices and storage media
By acquiring the parameter information of the audio playback device, determining the matching information, and controlling playback, the problem of damage caused by the mismatch between audio information and the device is solved, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-24
- Publication Date
- 2026-03-13
AI Technical Summary
The incompatibility between the audio information and the audio playback device can lead to device damage and a decline in user experience.
By obtaining the device parameter information of the audio playback device, the audio matching information is determined, and the playback of the audio playback device is controlled according to the information to ensure that the audio information matches the device.
Effectively prevents equipment damage and enhances user experience.
Smart Images

Figure CN116471519B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of audio processing technology, and in particular to an audio processing method, apparatus, device, and storage medium. Background Technology
[0002] With the development of technology, more and more devices are using AI (Artificial Intelligence) voice skills. These devices not only have AI voice interaction functions, but also connect to other audio resources to provide users with various audio information through AI voice interaction. However, because these AI voice devices use different hardware requirements, and the third-party audio information they connect to lacks a unified standard, hardware incompatibility can cause unpredictable damage to the devices when playing this audio information. Summary of the Invention
[0003] In view of this, in order to solve the technical problem in the prior art that audio playback devices are damaged due to incompatibility between audio information and audio playback devices, this disclosure provides an audio processing method, apparatus, device and storage medium.
[0004] According to a first aspect of the present disclosure, an audio processing method is provided, the audio processing method comprising:
[0005] Obtain device parameter information for the audio playback device;
[0006] Based on the device parameter information, determine the audio matching information corresponding to the audio playback device;
[0007] Get the audio information to be played;
[0008] Based on the audio matching information, the audio playback device is controlled to play the audio information to be played.
[0009] In an optional implementation, controlling the audio playback device to play the audio information to be played based on the audio matching information includes:
[0010] If it is determined that the audio information to be played does not match the audio matching information, then the audio information to be played is processed according to the audio matching information to determine the target audio information corresponding to the audio information to be played; wherein, the target audio information matches the audio matching information.
[0011] The target audio information is transmitted to the audio playback device so that the audio playback device plays the target audio information.
[0012] In an optional implementation, processing the audio information to be played based on the audio matching information to determine the target audio information includes:
[0013] Send the audio matching information and the audio to be played information to the audio integration device;
[0014] The system receives the target audio information sent by the audio integration device; wherein the target audio information is determined by the audio integration device through processing the audio information to be played based on the audio matching information.
[0015] In an optional implementation, controlling the audio playback device to play the audio information to be played based on the audio matching information includes:
[0016] If it is determined that the audio information to be played matches the audio matching information, then the audio information to be played is transmitted to the audio playback device so that the audio playback device plays the audio information to be played.
[0017] In an optional implementation, obtaining the device parameter information of the audio playback device includes:
[0018] When the audio playback device is in a set state, a request message is sent to the audio playback device;
[0019] The device parameter information is received from the audio playback device; wherein the device parameter information is sent by the audio playback device in response to receiving the request information.
[0020] In one optional implementation, the setting state includes at least one of the following:
[0021] Restart status, power-on status after power failure.
[0022] In one optional implementation, the device parameter information includes at least one of the following:
[0023] The output power of the audio driver chip, the driving power of the audio driver chip, the rated power of the power amplifier, and the rated power of the speaker.
[0024] According to a second aspect of the present disclosure, an audio processing apparatus is provided, the audio processing apparatus comprising:
[0025] The acquisition module is used to acquire device parameter information of the audio playback device;
[0026] The determining module is used to determine the audio matching information corresponding to the audio playback device based on the device parameter information;
[0027] The acquisition module is also used to acquire audio information to be played;
[0028] The control module is used to control the audio playback device to play the audio information to be played based on the audio matching information.
[0029] In one optional implementation,
[0030] According to a third aspect of the present disclosure, an audio processing apparatus is provided, the audio processing apparatus comprising:
[0031] processor;
[0032] Memory used to store the processor's executable instructions;
[0033] The processor is configured to perform the audio processing method as described in the first aspect.
[0034] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an audio processing device, the audio processing device is enabled to perform the audio processing method as described in the first aspect.
[0035] According to a fourth aspect of the present disclosure, an audio playback device is provided, the audio playback device including a transmitting module.
[0036] The sending module is used to send device parameter information to the audio processing device so that the audio processing device performs the audio processing method as described in the first aspect.
[0037] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: In this disclosure, audio matching information corresponding to the audio playback device can be determined based on the device parameter information of the audio playback device. When it is necessary to use the audio playback device to play audio, the playback of the audio information to be played can be controlled according to the above-mentioned audio matching information, so that the audio information played by the audio playback device matches the audio playback device, better avoiding damage to the audio playback device due to the mismatch between the audio information to be played and the audio playback device, thus better protecting the audio playback device and improving the user experience.
[0038] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0039] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0040] Figure 1 This is a flowchart illustrating an audio processing method according to an exemplary embodiment.
[0041] Figure 2 This is a flowchart illustrating an audio processing method according to an exemplary embodiment.
[0042] Figure 3 This is a flowchart illustrating an audio processing method according to an exemplary embodiment.
[0043] Figure 4 This is a flowchart illustrating an audio processing method according to an exemplary embodiment.
[0044] Figure 5 This is a block diagram illustrating an audio processing system according to an exemplary embodiment.
[0045] Figure 6 This is a block diagram illustrating a parameter adjustment device according to an exemplary embodiment.
[0046] Figure 7 This is a block diagram of a smart device according to an exemplary embodiment. Detailed Implementation
[0047] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods for some embodiments of this disclosure.
[0048] This disclosure provides an audio processing method. In this method, based on the device parameter information of an audio playback device, audio matching information corresponding to the audio playback device can be determined. When it is necessary to play audio using the audio playback device, the playback of the audio information to be played can be controlled according to the aforementioned audio matching information, so that the audio information played by the audio playback device matches the audio playback device. This better avoids damage to the audio playback device due to mismatch between the audio information to be played and the audio playback device, thus better protecting the audio playback device and improving the user experience.
[0049] In one exemplary embodiment, an audio processing method is provided, which can be applied to an audio processing device. The audio processing device can be a server or other devices, and is not limited thereto.
[0050] refer to Figure 1 and Figure 5 As shown, the method may include:
[0051] S110. Obtain device parameter information of the audio playback device;
[0052] S120. Determine the audio matching information corresponding to the audio playback device based on the device parameter information;
[0053] S130, Obtain audio information to be played;
[0054] S140. Based on the audio matching information, control the audio playback device to play the audio information to be played.
[0055] In step S110, the audio playback device refers to a device capable of playing audio information. The audio playback device can be a smart device with AI (Artificial Intelligence) voice functionality, or other devices capable of playing audio information; there is no limitation in this regard. For example, audio playback devices may include smart home appliances, smartphones, smart home devices, and so on.
[0056] It should be noted that the audio processing device and the audio playback device can be the same device or different devices; there is no limitation on this.
[0057] The device parameter information may include at least one of the following:
[0058] The output power of the audio driver chip, the driving power of the audio driver chip, the rated power of the power amplifier, and the rated power of the speaker.
[0059] The driving power of the audio driver chip can also be referred to as the input power of the audio driver chip.
[0060] It should be noted that different audio playback devices have different base volumes of audio information they can handle. Specifically, hardware parameters such as the output power of the audio driver chip, the driving power of the audio driver chip, the rated power of the supplier, and the rated power of the speaker can all affect the audio matching with the audio playback device.
[0061] In this step, by obtaining the aforementioned device parameter information of the audio playback device, it is convenient to control the playback of audio information by the audio playback device based on the device parameter information, so that the audio information played by the audio playback device is compatible with the audio playback device.
[0062] In some implementations...
[0063] An audio playback device can send its device parameter information to an audio processing device, enabling the audio processing device to obtain this information. In other words, the audio processing device can directly obtain device parameter information from the audio playback device.
[0064] In some implementations...
[0065] The device parameter information of the audio playback device can be stored on other storage devices, and the audio processing device can obtain the device parameter information of the audio playback device from the aforementioned storage devices.
[0066] In some implementations...
[0067] The audio playback device and the audio processing device are the same device, which can be referred to as a smart device. A smart device can directly retrieve its own device parameter information from its own memory.
[0068] It should be noted that, in addition to the methods mentioned above, audio processing devices can also obtain device parameter information through other means, and there are no restrictions on this.
[0069] In step S120, after the audio processing device obtains the device parameter information of the audio playback device, it can analyze the device parameter information to determine the audio matching information corresponding to the device parameter information.
[0070] The audio matching information may include audio waveform information. Audio waveform information refers to the characteristics of the audio waveform that the audio playback device can tolerate; it can also be understood as the characteristics of the audio waveform that will not damage the audio playback device. In other words, this audio waveform information can characterize the relatively good audio waveform characteristics that the audio playback device can tolerate.
[0071] The audio matching information may include volume matching information. Volume matching information refers to the range of basic audio volume that the audio playback device can handle; it can also be understood as the range of basic audio volume that will not impair the audio playback device. In other words, this volume matching information characterizes the volume range within which the audio playback device can reasonably handle a basic volume level.
[0072] There may be a mapping relationship between device parameter information and audio matching information. After obtaining the device parameter information, the audio processing device can determine the corresponding audio matching information based on the above mapping relationship.
[0073] In some implementations...
[0074] The device parameter information may include the output power of the audio driver chip, the driving power of the audio driver chip, the rated power of the power amplifier, and the rated power of the speaker. The audio processing device may include four configuration information entries, which can be respectively designated as the first sub-configuration information, the second sub-configuration information, the third sub-configuration information, and the fourth sub-configuration information. Specifically, the first sub-configuration information includes the mapping relationship between the output power of the audio driver chip and the volume range; the second sub-configuration information may include the mapping relationship between the driving power of the audio driver chip and the volume range; the third sub-configuration information may include the mapping relationship between the rated power of the power amplifier and the volume range; and the fourth sub-configuration information may include the mapping relationship between the rated power of the speaker and the volume range.
[0075] In this embodiment, after the audio processing device obtains the device parameter information of the audio playback device, it can determine the first volume range corresponding to the output power of the audio driver chip, the second volume range corresponding to the driving power of the audio driver chip, the third volume range corresponding to the rated power of the power amplifier, and the fourth volume range corresponding to the rated power of the speaker from the configuration information. Then, based on the first, second, third, and fourth volume ranges, it determines the audio matching information corresponding to the device parameter information. For example, the intersection of the four volume ranges can be determined as the marked volume range.
[0076] It should be noted that, in addition to the methods described above, audio matching information can also be determined through other methods, and there are no limitations on these methods.
[0077] In step S130, the audio information to be played can refer to audio information acquired by the audio processing device that has not been processed by the audio processing device. The audio information to be played can be audio information stored in the audio processing device's own memory, or audio information in a third-party device; there is no limitation in this regard. The third-party device can be a server or other devices; there is no limitation in this regard.
[0078] In some implementations...
[0079] The audio playback device can be a smart device with AI voice functionality, and the audio processing device can be a first server corresponding to the aforementioned smart device. The first server may store some audio information. In this embodiment, when the smart device needs to play audio information stored in the first server, the first server can retrieve the audio information to be played from its own memory.
[0080] In some implementations...
[0081] The audio playback device can be a smart device with AI voice functionality, and the audio processing device can be the first server corresponding to the aforementioned smart device. In this embodiment, when the smart device needs to play audio information from music platform B, the first server can obtain the audio information to be played from the second server corresponding to music platform B.
[0082] It should be noted that, in addition to obtaining the audio information to be played through the methods mentioned above, other methods can also be used to obtain the audio information to be played, and there are no restrictions on these methods.
[0083] In step S140, after the audio processing device obtains the audio matching information and the audio information to be played, it can analyze the audio information to be played based on the audio matching information to determine whether to transmit it to the audio playback device for playback.
[0084] If the audio information to be played matches the audio matching information, it means that the audio information to be played meets the playback requirements of the audio playback device. In other words, even if the audio playback device plays the audio information to be played, it will not damage the audio playback device. In this case, the audio processing device can control the audio playback device to play the audio information to be played. It should be noted that when the audio processing device and the audio playback device are the same device, the audio processing device can directly play the audio information to be played. When the audio processing device and the audio playback device are different devices, the audio processing device can transmit the audio information to be played to the audio playback device so that the audio playback device can play the audio information to be played.
[0085] If the audio information to be played does not match the audio matching information, it indicates that the audio information to be played may not meet the playback requirements of the audio playback device. That is, if the audio playback device plays the audio information to be played, it may damage the audio playback device. In this case, the audio processing device can control the audio playback device to prevent the playback of the audio information to be played. It should be noted that when the audio processing device and the audio playback device are the same device, the audio processing device will not play the audio information to be played. When the audio processing device and the audio playback device are different devices, the audio processing device will not transmit the audio information to be played to the audio playback device to prevent the audio playback device from playing the audio information to be played.
[0086] In this method, audio matching information corresponding to the audio playback device can be determined based on the device parameter information of the audio playback device. When it is necessary to play audio using the audio playback device, the playback of the audio information to be played can be controlled according to the above-mentioned audio matching information, so that the audio information played by the audio playback device matches the audio playback device, better avoiding damage to the audio playback device due to the mismatch between the audio information to be played and the audio playback device, thus better protecting the audio playback device and improving the user experience.
[0087] In one exemplary embodiment, an audio processing method is provided. (Reference) Figure 2 and Figure 5 As shown, in this method, controlling the audio playback device to play the audio information to be played based on audio matching information may include:
[0088] S210. Determine whether the audio information to be played matches the audio matching information; if it is determined that the audio information to be played matches the audio matching information, then execute step S240; if it is determined that the audio information to be played does not match the audio matching information, then execute steps S220 to S230.
[0089] S220. Process the audio information to be played based on the audio matching information to determine the target audio information corresponding to the audio information to be played; wherein, the target audio information is matched with the audio matching information.
[0090] S230: Transmit the target audio information to the audio playback device so that the audio playback device plays the target audio information;
[0091] S240. Transmit the audio information to be played to the audio playback device so that the audio playback device can play the audio information to be played.
[0092] In step S210, the audio matching information may include volume matching information. Specifically, the base volume information of the audio information to be played can be determined first. If a set percentage of the base volume in the base volume information of the audio information to be played is within the volume range represented by the volume matching information, then the base volume of the audio information to be played is considered to match the volume matching information, and the audio information to be played is determined to match the audio matching information.
[0093] In determining the relationship between the base volume information and the volume matching information, the judgment can be based on the waveform corresponding to the audio information to be played. For example, if a set percentage of the waveform corresponding to the audio information to be played is within the volume range represented by the volume matching information, then it can be considered that the set percentage of the base volume in the base volume information of the audio information to be played is within the volume range represented by the volume matching information.
[0094] The percentage setting can be configured according to actual needs, and its specific value is not limited. The percentage setting can be greater than or equal to 70%, for example, it can be 80%.
[0095] In addition, in this step, if less than a set percentage of the waveform corresponding to the audio information to be played is within the volume range represented by the volume matching information, it can be considered that less than a set percentage of the basic volume of the basic volume information of the audio information to be played is within the volume range represented by the volume matching information. Therefore, it can be considered that the basic volume of the audio information to be played does not match the volume matching information, and thus it is determined that the audio information to be played does not match the audio matching information.
[0096] It should be noted that, in addition to the above methods, other methods can also be used to determine whether the audio information to be played matches the audio matching information, and there are no limitations on these methods.
[0097] In step S220, since it is determined that the audio information to be played does not match the audio matching information, it indicates that directly playing the audio information to be played by the audio playback device may damage the audio playback device. In this case, the audio information to be played can be processed according to the audio matching information to obtain audio information that matches the audio matching information. This audio information can be recorded as the target audio information corresponding to the audio information to be played.
[0098] The audio processing device can directly process the audio information to be played based on audio matching information to obtain the target audio information. Alternatively, the audio processing device can also process the audio information to be played based on audio matching information through other devices to obtain the target audio information.
[0099] When the audio matching information includes volume matching information, the basic volume information of the audio information to be played can be processed based on the volume matching information. For example, the basic volume information of the audio information to be played can be processed by processing the waveform corresponding to the audio information to be played, so as to obtain the target volume information that matches the basic volume information with the volume matching information. That is, in the basic volume information of the target audio information, a certain percentage of the basic volume is within the volume range represented by the volume matching information.
[0100] It should be noted that, in addition to processing the audio information to be played based on the waveform corresponding to the audio information to be played, other methods can also be used to process the audio information to be played, and there are no limitations on this.
[0101] In step S230, after the audio processing device obtains the target audio information corresponding to the audio information to be played, it can transmit the target audio information to the audio playback device. Upon receiving the target audio information, the audio playback device can play the target audio information through its audio playback module to ensure the output of the content corresponding to the audio information to be played. Furthermore, because the target audio information matches the audio matching information, the audio playback device can play the target audio information well without any damage.
[0102] It should be noted that when the audio processing device and the audio playback device are the same device, the device can play the target audio information after obtaining the target audio information. This ensures the output of the content corresponding to the audio information to be played and also avoids damage to the device.
[0103] In step S240, since it is determined that the audio information to be played matches the audio matching information, it means that directly playing the audio information to be played will not damage the audio playback device. In this case, the audio information to be played can be transmitted to the audio playback device. After receiving the audio information to be played, the audio playback device can play the audio information through the audio playback module to ensure the output of the content corresponding to the audio information to be played. In addition, since the audio information to be played matches the audio matching information, the audio playback device can play the audio information to be played well without being damaged.
[0104] It should be noted that when the audio processing device and the audio playback device are the same device, the device can play the audio information to be played after determining that the audio information to be played matches the audio matching information. This can ensure the output of the corresponding content of the audio information to be played and also avoid damage to the device.
[0105] In this method, when the audio information to be played matches the audio matching information, the audio playback device can play the audio information to be played; when the audio information to be played does not match the audio matching information, the audio information to be played can be processed to obtain the target audio information that matches the audio matching information, and then the target audio information can be played. This method can ensure the output of the content corresponding to the audio information to be played, and also ensure that the audio playback device is not damaged, thus better protecting the audio playback device and improving the user experience.
[0106] In one exemplary embodiment, an audio processing method is provided. (Reference) Figure 3 and Figure 5 As shown, in this method, the audio information to be played is processed according to the audio matching information to determine the target audio information, which may include:
[0107] S310, Send audio matching information and audio information to be played to the audio integration device;
[0108] S320, Receive target audio information sent by the audio integration device; wherein, the target audio information is determined by the audio integration device based on the audio matching information to be played audio information.
[0109] In step S310, the audio integration device can be a server or other devices, and there is no limitation on this.
[0110] After determining the audio matching information, the audio processing device can transmit the audio matching information to the audio integration device so that the audio integration device can obtain the audio matching information.
[0111] After the audio processing device determines that the audio information to be played does not match the audio matching information, it can transmit the audio information to be played to the audio integration device so that the audio integration device can obtain the audio information to be played.
[0112] The audio processing device can send audio matching information and audio information to be played to the audio integration device simultaneously, or it can send them separately; there is no limitation on this.
[0113] After obtaining the audio matching information and the audio information to be played, the audio integration device can integrate the audio information to be played based on the audio matching information to obtain the target audio information corresponding to the audio information to be played. Specific processing methods can be found in step S220 of other examples, and will not be elaborated here.
[0114] This system, by deploying audio processing and audio integration equipment, allows the audio processing equipment to still control the audio playback device to play a portion of the audio information even if the audio integration equipment malfunctions. Here, "partial audio information" refers to audio information that matches the audio matching information.
[0115] In step S320, after the audio integration device determines the target audio information, it can transmit the target audio information to the audio processing device so that the audio processing device can receive the target audio information. After receiving the target audio information, the audio processing device can transmit the target audio information to the audio playback device so that the audio playback device can play the target audio information.
[0116] When the audio integration device sends target audio information to the audio processing device, it can mark the target audio information. After receiving the marked target audio information, the audio processing device can determine that the target audio information matches the audio matching information, and then transmit the target audio information to the audio playback device for playback.
[0117] It should be noted that when the audio processing device and the audio playback device are the same device, the device can directly play the target audio information after receiving the target audio information with the tag.
[0118] In this method, the audio processing device can integrate the audio information to be played through the audio integration device to obtain the target audio information. This not only ensures that the audio playback device is not damaged and can better protect the audio playback device, but also allows the audio processing device to still control the audio playback device to play some audio information even when the audio integration device is damaged, thus improving the user experience.
[0119] In one exemplary embodiment, an audio processing method is provided. (Reference) Figure 4 and Figure 5 As shown, in this method, obtaining the device parameter information of the audio playback device may include:
[0120] S410. Send a request message to the audio playback device when the audio playback device is in the setting state;
[0121] S420: Receive device parameter information sent by the audio playback device; wherein the device parameter information is sent by the audio playback device in response to receiving the request information.
[0122] In step S410, the setting state can be configured according to actual needs, and there is no limitation thereto. For example, the setting state may include at least one of the following:
[0123] Restart status, power-on status after power failure.
[0124] It should be noted that the set state can also include other states, and there is no limitation on this.
[0125] The request information can be information that controls the audio playback device to return device parameter information to the audio processing device. That is, in response to receiving the request information sent by the audio processing device, the audio playback device can send its own device parameter information to the audio processing device.
[0126] In step S420, after the audio processing device sends a request message to the audio playback device, the audio playback device, in response to receiving the request message, can send device parameter information to the audio processing device. The audio processing device can then receive the device parameter information sent by the audio playback device.
[0127] It should be noted that when the audio processing device does not store device parameter information, it can save the received device parameter information upon receipt. When the audio processing device already stores the device parameter information of the audio playback device, it can update the existing device parameter information upon receiving new device parameter information. That is, the newly received device parameter information replaces the original device parameter information, thus completing the update of the device parameter information and ensuring its validity and reliability.
[0128] In some implementations...
[0129] The audio playback device can be a smart home appliance. The audio processing device can be the server corresponding to the aforementioned smart home appliance. When the user restarts the smart home appliance, the server can send a request message to the smart home appliance. After receiving the request message, the smart home appliance can return its device parameter information to the server. The server can then receive the device parameter information returned by the smart home appliance, thus enabling the server to obtain the device parameter information.
[0130] It should be noted that, in addition to obtaining device parameter information through the methods described above, audio processing devices may also obtain device parameter information through other methods, and there are no restrictions on this.
[0131] In this method, the audio processing device can save or update device parameter information in a timely manner, thereby obtaining more reliable audio matching information. This better avoids damage to the audio playback device due to mismatch between the audio information to be played and the audio playback device, thus better protecting the audio playback device and improving the user experience.
[0132] In one exemplary embodiment, an audio processing system is provided. (Reference) Figure 5 As shown, the audio processing system may include an audio playback device 101, an audio processing device 102, an audio integration device 103, and a third-party device 104.
[0133] The audio playback device 101 can be a smart home appliance or a smart home system. The audio processing device 102 can be a server corresponding to the audio playback device 101, and this server can be referred to as the first server. The audio integration device 103 can be a second server. The third-party device 104 can act as an audio resource provider, and the third-party device 104 can also be a server, referred to as the third-party server.
[0134] In this audio processing system, when the audio playback device 101 is in a set state, the audio processing device 102 sends a request message to the audio playback device 101. The audio processing device 102 receives device parameter information sent by the audio playback device 101; wherein, the device parameter information is sent by the audio playback device 101 in response to receiving the request message. Based on the device parameter information, the audio processing device 102 determines the audio matching information corresponding to the audio playback device 101. The audio processing device 102 obtains the audio information to be played from the third-party device 104. The audio processing device 102 determines whether the audio information to be played matches the audio matching information; if it is determined that the audio information to be played matches the audio matching information, step S590 is executed; if it is determined that the audio information to be played does not match the audio matching information, steps S560 to S580 are executed. The audio processing device 102 sends the audio matching information and the audio information to be played to the audio integration device 103. Audio processing device 102 receives target audio information sent by audio integration device 103; wherein, the target audio information is determined by audio integration device 103 based on audio matching information to be played. Audio processing device 102 transmits the target audio information to audio playback device 101, so that audio playback device 101 plays the target audio information. Audio processing device 102 also transmits audio information to be played to audio playback device 101, so that audio playback device 101 plays the audio information to be played.
[0135] This audio processing system can better prevent damage to the audio playback device 101 due to mismatch between the audio information to be played and the audio playback device 101, thus better protecting the audio playback device 101 and improving the user experience.
[0136] In one exemplary embodiment, an audio processing apparatus is provided. This apparatus can be applied to an audio processing device. The audio processing device can be a server or other devices, and is not limited thereto. This apparatus can be used to implement the audio processing method described above. For example, refer to... Figure 6 As shown, the device may include an acquisition module 10, a determination module 20, and a control module 30. During the implementation of the above method, the device...
[0137] Module 10 is used to acquire device parameter information of the audio playback device;
[0138] The determination module 20 is used to determine the audio matching information corresponding to the audio playback device based on the device parameter information;
[0139] The acquisition module 10 is also used to acquire audio information to be played;
[0140] The control module 30 is used to control the audio playback device to play the audio information to be played based on the audio matching information.
[0141] In one exemplary embodiment, an audio processing apparatus is provided. (Reference) Figure 6 As shown, in this device, the control module 30 can be used for:
[0142] If it is determined that the audio information to be played does not match the audio matching information, then the audio information to be played is processed according to the audio matching information to determine the target audio information corresponding to the audio information to be played; wherein, the target audio information matches the audio matching information.
[0143] The target audio information is transmitted to the audio playback device so that the audio playback device can play the target audio information.
[0144] In one exemplary embodiment, an audio processing apparatus is provided. (Reference) Figure 6 As shown, in this device, the control module 30 can be used for:
[0145] Send audio matching information and audio to be played information to the audio integration device;
[0146] Receive target audio information sent by the audio integration device; wherein the target audio information is determined by the audio integration device based on the audio matching information to be played.
[0147] In one exemplary embodiment, an audio processing apparatus is provided. (Reference) Figure 6 As shown, in this device, the control module 30 can be used for:
[0148] If it is determined that the audio information to be played matches the audio matching information, the audio information to be played is transmitted to the audio playback device so that the audio playback device can play the audio information to be played.
[0149] In one exemplary embodiment, an audio processing apparatus is provided. (Reference) Figure 6 As shown, in this device, the acquisition module 10 can be used for:
[0150] When the audio playback device is in the setting state, send a request message to the audio playback device;
[0151] Receive device parameter information sent by the audio playback device; wherein the device parameter information is sent by the audio playback device in response to receiving the request information.
[0152] In one exemplary embodiment, an audio processing apparatus is provided. In this apparatus, a setting state includes at least one of the following:
[0153] Restart status, power-on status after power failure.
[0154] In one exemplary embodiment, an audio processing apparatus is provided. The apparatus includes device parameter information comprising at least one of the following:
[0155] The output power of the audio driver chip, the driving power of the audio driver chip, the rated power of the power amplifier, and the rated power of the speaker.
[0156] In one exemplary embodiment, a smart device is provided. The smart device can be an audio processing device or an audio playback device. The smart device may have AI voice functionality and can include smart home appliances, smartphones, smart home devices, etc., without limitation.
[0157] Among them, reference Figure 7 As shown, the intelligent device 700 includes: at least one processor 701, a memory 702, at least one network interface 704, and a user interface 703. The various components in the intelligent device 700 are coupled together via a bus system 705. It is understood that the bus system 705 is used to implement communication between these components. In addition to a data bus, the bus system 705 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 7 The general labeled all buses as Bus System 705.
[0158] The user interface 703 may include a display, keyboard or clicking device (e.g., mouse, trackball), touchpad or touch screen.
[0159] It is understood that the memory 702 in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 702 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0160] In some implementations, memory 702 stores elements, executable units or data structures, or subsets thereof, or extended sets thereof: operating system 7021 and application program 7022.
[0161] The operating system 7021 includes various system programs, such as the framework layer, core library layer, and driver layer, used to implement various basic business functions and handle hardware-based tasks. The application program 7022 includes various applications, such as a media player and a browser, used to implement various application functions. The program implementing the method of the embodiments of this application can be included in the application program 7022.
[0162] In this embodiment, by calling a program or instruction stored in memory 702, specifically a program or instruction stored in application program 7022, processor 701 executes the method steps provided in each method embodiment, including, for example:
[0163] Obtain device parameter information for the audio playback device;
[0164] Based on the device parameter information, determine the audio matching information corresponding to the audio playback device;
[0165] Get the audio information to be played;
[0166] Based on the audio matching information, control the audio playback device to play the audio information to be played.
[0167] The methods disclosed in the embodiments of this application can be applied to or implemented by processor 701. Processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 701 or by instructions in the form of software. The processor 701 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software units in the decoding processor. The software units may be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 702. Processor 701 reads the information in memory 702 and, in conjunction with its hardware, completes the steps of the above method.
[0168] It is understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions of this application, or combinations thereof.
[0169] For software implementation, the techniques described herein can be implemented through units that perform the functions described herein. The software code can be stored in memory and executed by a processor. The memory can be implemented within the processor or external to the processor.
[0170] The terminal provided in this embodiment can execute all the steps of the above-described audio processing method, thereby achieving the technical effects of the above-described audio processing method. For details, please refer to the relevant description of the above-described audio processing method. For the sake of brevity, it will not be elaborated here.
[0171] This application also provides a storage medium (computer-readable storage medium). This storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; it may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; and it may also include combinations of the above types of memory.
[0172] When one or more programs in the storage medium can be executed by one or more processors to implement the audio processing method described above that is executed on the smart device side.
[0173] The processor executes a program stored in memory to implement the following steps of an audio processing method performed on the smart device side:
[0174] Obtain device parameter information for the audio playback device;
[0175] Based on the device parameter information, determine the audio matching information corresponding to the audio playback device;
[0176] Get the audio information to be played;
[0177] Based on the audio matching information, control the audio playback device to play the audio information to be played.
[0178] This application also provides an audio playback device. The audio playback device may include a sending module. The sending module is used to send device parameter information to an audio processing device, so that the audio processing device performs the aforementioned audio processing method.
[0179] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0180] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0181] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of this application. It should be understood that the above description is only a specific embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. An audio processing method, characterized by, The audio processing method is applied to an audio processing device, and the audio processing method comprises: obtaining device parameter information of an audio playing device; determining audio matching information corresponding to the audio playing device according to the device parameter information; obtaining to-be-played audio information; controlling the audio playing device to play the to-be-played audio information according to the audio matching information; the obtaining of the device parameter information of the audio playing device comprises: sending request information to the audio playing device when the audio playing device is in a set state; wherein the request information indicates information for controlling the audio playing device to return the device parameter information to the audio processing device; receiving the device parameter information sent by the audio playing device; wherein the device parameter information is sent by the audio playing device in response to the reception of the request information, and the device parameter information comprises at least one of output power of an audio driving chip, driving power of the audio driving chip, rated power of a power amplifier, and rated power of a loudspeaker; the set state comprises at least one of the following: a restart state, a state of power-on after power-off.
2. The audio processing method of claim 1, wherein, the controlling of the audio playing device to play the to-be-played audio information according to the audio matching information comprises: if it is determined that the to-be-played audio information does not match the audio matching information, processing the to-be-played audio information according to the audio matching information to determine target audio information corresponding to the to-be-played audio information; wherein the target audio information matches the audio matching information; transmitting the target audio information to the audio playing device to enable the audio playing device to play the target audio information.
3. The audio processing method of claim 2, wherein, the processing of the to-be-played audio information according to the audio matching information to determine target audio information comprises: sending the audio matching information and the to-be-played audio information to an audio integration device; receiving the target audio information sent by the audio integration device; wherein the target audio information is determined by the audio integration device by processing the to-be-played audio information according to the audio matching information.
4. The audio processing method of claim 1, wherein, the controlling of the audio playing device to play the to-be-played audio information according to the audio matching information comprises: if it is determined that the to-be-played audio information matches the audio matching information, transmitting the to-be-played audio information to the audio playing device to enable the audio playing device to play the to-be-played audio information.
5. The audio processing method of any of claims 1-4, wherein, the device parameter information comprises at least one of the following: output power of an audio driving chip, driving power of the audio driving chip, rated power of a power amplifier, and rated power of a loudspeaker.
6. An audio processing apparatus, characterized by comprising: The audio processing device is applied to an audio processing device, and the audio processing device comprises: an obtaining module configured to obtain device parameter information of an audio playing device; a determining module configured to determine audio matching information corresponding to the audio playing device according to the device parameter information; the obtaining module is further configured to obtain to-be-played audio information; A control module is configured to control the audio playback device to play the audio information to be played according to the audio matching information. The device parameter information of the audio playback device includes: When the audio playback device is in a set state, sending request information to the audio playback device, wherein the request information indicates information for controlling the audio playback device to return the device parameter information to the audio processing device; Receiving the device parameter information sent by the audio playback device, wherein the device parameter information is sent by the audio playback device in response to receiving the request information, and the device parameter information includes at least one of the output power of the audio drive chip, the drive power of the audio drive chip, the rated power of the power amplifier, and the rated power of the loudspeaker. The set state includes at least one of: The restart state is the state of power-on after power-off.
7. An audio processing device, characterized by The audio processing device includes: A processor; A memory for storing instructions executable by the processor; The processor is configured to execute the audio processing method according to any one of claims 1-5.
8. A non-transitory computer-readable storage medium, comprising: When the instructions in the storage medium are executed by the processor of the audio processing device, the audio processing device can execute the audio processing method according to any one of claims 1-5.
9. An audio playback device, comprising: The audio playback device includes a sending module, The sending module is configured to send the device parameter information to the audio processing device, so that the audio processing device executes the audio processing method according to any one of claims 1-5.
Citation Information
Patent Citations
Output method of audio signal and apparatus
CN103841492A
Audio playing method, display device and server
CN112612443A