Audio information processing method and device, electronic equipment and readable storage medium

By transmitting audio information to a low-power processor for processing, the problems of high power consumption during AP processor wake-up and low efficiency caused by transmission path occupancy are solved, achieving energy-efficient and high-performance audio data processing.

CN121596989APending Publication Date: 2026-03-03BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411179716.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

In electronic devices, waking up the AP processor to perform audio processing when it is not in operation requires high power consumption, while when it is in operation, the transmission path with the audio output device is occupied, resulting in low audio data processing efficiency and affecting user experience.

Method used

By transmitting audio information to a low-power processor for processing, which consumes less power than the AP processor, audio processing is performed when the AP processor is not woken up or the transmission path is occupied, thus avoiding the high power consumption of waking up the AP processor and the occupation of the transmission path.

Benefits of technology

It saves power consumption in audio processing, improves the efficiency of audio data processing, and ensures timely processing and output of audio data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121596989A_ABST
    Figure CN121596989A_ABST
Patent Text Reader

Abstract

The invention provides an audio information processing method and device, electronic equipment and a readable storage medium. According to one example of the disclosure, the method is applied to the electronic equipment; the electronic equipment is provided with an AP processor and a low-power-consumption processor. The power consumption of the low-power-consumption processor for processing services related to audio is lower than that of the AP processor; the method comprises the steps of obtaining audio information of a target audio in response to a trigger operation for the target audio; in response to the fact that the AP processor is not awakened or the AP processor is awakened but a transmission path between the AP processor and audio output equipment is occupied, transmitting the audio information to the low-power-consumption processor, so that the low-power-consumption processor processes the target audio based on the audio information, and outputting the processed target audio based on the audio output device. According to the invention, power consumption can be saved and audio data processing efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, electronic device, and readable storage medium for processing audio information. Background Technology

[0002] An AP (Application Processor) is a central processing unit in a smart device (e.g., a smartphone, tablet, or smartwatch) that is responsible for handling various applications and operating system tasks. It is mainly used for computing and processing application data in the device.

[0003] Audio information refers to information related to audio-related services, based on which the target audio can be processed.

[0004] In current technology, when an electronic device receives audio information of a target audio source, it typically transmits this audio information to the AP processor, which then processes the target audio based on this information.

[0005] Therefore, when the AP processor is not running, it typically needs to be woken up for processing. Wake-up requires power, and the AP processor's power consumption for processing the target audio is also relatively high, resulting in high power consumption for the electronic device processing this low-power service. Furthermore, when the AP processor is running but the transmission path between it and the audio output device is occupied, processing the audio data by the AP processor leads to low efficiency, negatively impacting the user experience. Summary of the Invention

[0006] This disclosure provides a method for processing audio information, applied to an electronic device; the electronic device is equipped with an AP processor and a low-power processor; the power consumption of the low-power processor in processing audio-related services is lower than that of the AP processor; the method includes:

[0007] In response to a trigger operation targeting the target audio, the audio information of the target audio is acquired;

[0008] In response to the AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied, the audio information is transmitted to the low-power processor so that the low-power processor can process the target audio based on the audio information and output the processed target audio based on the audio output device.

[0009] Optionally, the audio information includes at least one of the following:

[0010] Audio data;

[0011] Control information corresponding to the target audio;

[0012] Storage address information corresponding to the target audio.

[0013] Optionally, the electronic device stores audio format information; the audio format information includes audio formats supported by the low-power processor;

[0014] Before transmitting the audio information to the low-power processor, the method further includes:

[0015] Based on the audio format information, determine whether the audio format of the target audio is an audio format supported by the low-power processor;

[0016] If the target audio is in an audio format supported by the low-power processor, the audio information is further transmitted to the low-power processor.

[0017] Optionally, the electronic device is configured with a hardware bus; the hardware bus is used to transmit data related to audio services; the hardware bus includes a first interface for transmitting audio information to a low-power processor; and a second interface for transmitting data processed by the low-power processor to an audio output device.

[0018] The audio information is transmitted to the low-power processor, which processes the target audio based on the audio information and outputs the processed target audio based on the audio output device, including:

[0019] The first interface is invoked to transmit the audio information to the low-power processor, so that the low-power processor can process the target audio based on the audio information. The second interface is then invoked to transmit the processed target audio to the audio output device for output.

[0020] This disclosure also provides a method for processing audio information, applied to a low-power processor in an electronic device; the electronic device is further equipped with an AP processor; the power consumption of the low-power processor in processing audio-related services is lower than that of the AP processor; the method includes:

[0021] The electronic device receives audio information of a target audio transmitted by the electronic device; wherein the audio information is acquired by the electronic device in response to a trigger operation for the target audio and transmitted to the low-power processor in response to the AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied;

[0022] Based on the audio information, the target audio is processed, and the processed target audio is output based on the audio output device.

[0023] Optionally, the audio information includes audio data;

[0024] Based on the audio information, the target audio is processed, and the processed target audio is output based on the audio output device, including:

[0025] The audio data is decoded, and the decoded audio data is played back using the audio output device.

[0026] Optionally, the audio information includes storage address information corresponding to the target audio;

[0027] Based on the audio information, the target audio is processed, and the processed target audio is output based on the audio output device, including:

[0028] Based on the storage address information, obtain the audio data of the target audio;

[0029] The audio data is decoded, and the decoded audio data is played back using the audio output device.

[0030] Optionally, the audio information includes control information corresponding to the target audio;

[0031] Based on the audio information, the target audio is processed, and the processed target audio is output based on the audio output device, including:

[0032] Based on the control information corresponding to the target audio, the audio output device is controlled to perform an operation corresponding to the control information for the target audio.

[0033] This disclosure also provides an audio information processing apparatus for use in an electronic device; the electronic device is equipped with an AP processor and a low-power processor; the power consumption of the low-power processor in processing audio-related services is lower than that of the AP processor; the apparatus includes:

[0034] The acquisition unit is used to acquire the audio information of the target audio in response to a trigger operation on the target audio.

[0035] A transmission unit is configured to transmit the audio information to the low-power processor in response to the AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied, so that the low-power processor can process the target audio based on the audio information and output the processed target audio based on the audio output device.

[0036] This disclosure also provides an audio information processing apparatus, applied to a low-power processor mounted on an electronic device; the electronic device further includes an AP processor; the low-power processor consumes less power than the AP processor when processing audio-related services; the apparatus includes:

[0037] A receiving unit is configured to receive audio information of a target audio transmitted by the electronic device; wherein the audio information is acquired by the electronic device in response to a trigger operation for the target audio and transmitted to the low-power processor in response to the AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied;

[0038] The processing unit is configured to process the target audio based on the audio information and output the processed target audio based on the audio output device.

[0039] This disclosure also provides an electronic device, including a communication interface, a processor, a memory, and a bus, wherein the communication interface, the processor, and the memory are interconnected via the bus;

[0040] The memory stores machine-readable instructions, and the processor executes the audio information processing method by calling the machine-readable instructions.

[0041] This disclosure also provides a machine-readable storage medium storing machine-readable instructions, which, when called and executed by a processor, implement the method for processing the audio information.

[0042] The technical solution provided in this disclosure can include at least the following beneficial effects:

[0043] Through the above embodiments, the electronic device can acquire the audio information of the target audio in response to a trigger operation targeting the target audio; and can transmit the audio information to the onboard low-power processor in response to the onboard AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied. The low-power processor then processes the target audio based on the audio information and outputs the processed target audio based on the audio output device. Since the power consumption of the low-power processor in processing audio-related services is lower than that of the AP processor, the power consumption required for audio processing can be saved; in addition, since audio data can be processed in a timely manner when the transmission path between the AP processor and the audio output device is occupied, the efficiency of audio data processing can be improved. Attached Figure Description

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

[0045] Figure 1 This is a system architecture diagram illustrating an audio information processing method according to an exemplary embodiment.

[0046] Figure 2 This is a flowchart illustrating an audio information processing method according to an exemplary embodiment.

[0047] Figure 3 This is a flowchart illustrating another method for processing audio information according to an exemplary embodiment.

[0048] Figure 4 This is a block diagram illustrating an audio information processing apparatus according to an exemplary embodiment.

[0049] Figure 5 This is a block diagram of another audio information processing apparatus according to an exemplary embodiment.

[0050] Figure 6 This is a hardware structure diagram of an electronic device containing an audio information processing apparatus, according to an exemplary embodiment. Detailed Implementation

[0051] 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.

[0052] It should be noted that in other embodiments, the steps of the corresponding methods are not necessarily performed in the order shown and described in this disclosure. In some other embodiments, the methods may include more or fewer steps than those described in this disclosure.

[0053] The following specific embodiments, combined with specific application scenarios, describe the audio information processing method provided in this disclosure. This method transmits audio information to a low-power processor, which then processes the target audio, thereby saving power and improving audio processing efficiency.

[0054] In implementation, this method can be applied to an electronic device; the electronic device can be equipped with an AP processor and a low-power processor; the low-power processor consumes less power than the AP processor when processing audio-related services; and can acquire audio information of the target audio in response to a trigger operation for the target audio.

[0055] In response to the AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied, the audio information is transmitted to the low-power processor so that the low-power processor can process the target audio based on the audio information and output the processed target audio based on the audio output device.

[0056] Through the above embodiments, the electronic device can acquire the audio information of the target audio in response to a trigger operation targeting the target audio; and can transmit the audio information to the onboard low-power processor in response to the onboard AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied. The low-power processor then processes the target audio based on the audio information and outputs the processed target audio based on the audio output device. Since the power consumption of the low-power processor in processing audio-related services is lower than that of the AP processor, the power consumption required for audio processing can be saved; in addition, since audio data can be processed in a timely manner when the transmission path between the AP processor and the audio output device is occupied, the efficiency of audio data processing can be improved.

[0057] The present disclosure will now be described through specific embodiments and in conjunction with specific application scenarios.

[0058] Please see Figure 1 , Figure 1 This is a system architecture diagram illustrating an audio information processing method according to an exemplary embodiment. Figure 1As shown, the electronic device can be equipped with an AP processor and a low-power processor. Both the low-power processor and the AP processor can handle audio-related services. The low-power processor consumes less power to process the service than the AP processor.

[0059] The electronic device can acquire the audio information of the target audio in response to a trigger operation for the target audio, and can transmit the audio information to the aforementioned low-power processor in response to the AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied.

[0060] The low-power processor can receive audio information transmitted by the electronic device, process the target audio based on the audio information, and output the processed target audio based on the audio output device.

[0061] The audio information may include audio data. When the low-power processor receives the audio data, it can decode the audio data and play the decoded audio data based on the audio output device.

[0062] The audio information may include storage address information corresponding to the target audio. When the low-power processor receives the storage address information, it can obtain the audio data of the target audio based on the storage address information; it can decode the audio data and play the decoded audio data based on the audio output device.

[0063] The audio information may include control information corresponding to the target audio. When the low-power processor receives the control information, it can control the audio output device to perform the operation corresponding to the control information based on the control information corresponding to the target audio.

[0064] The electronic device can store audio format information, which may include audio formats supported by the low-power processor. Before transmitting the audio information to the low-power processor, the electronic device can determine whether the audio format of the target audio is an audio format supported by the low-power processor based on the audio format information. If the audio format of the target audio is an audio format supported by the low-power processor, the electronic device can further transmit the audio information to the low-power processor.

[0065] The electronic device may be configured with a hardware bus; the hardware bus may be used to transmit data related to audio services; the hardware bus includes a first interface for transmitting audio information to a low-power processor; and a second interface for transmitting the data processed by the low-power processor to an audio output device; the electronic device may call the first interface to transmit the audio information to the low-power processor for processing, and call the second interface to transmit the processed audio to the audio output device for output.

[0066] It should be noted that this method can also be used to process other low-power services and is not limited to audio information processing.

[0067] Please see Figure 2 , Figure 2 This is a flowchart illustrating an audio information processing method according to an exemplary embodiment.

[0068] like Figure 2 As shown, the above-mentioned electronic device can perform the following steps:

[0069] Step 202: In response to a trigger operation on the target audio, obtain the audio information of the target audio.

[0070] The triggering operation can refer to the playback operation of the target audio, the stop playback operation of the target audio, or the volume adjustment operation of the target audio; this disclosure does not limit this operation.

[0071] The specific triggering method for the target audio can be set according to actual needs, and this disclosure does not limit it.

[0072] For example, the electronic device may be equipped with a user interface that can display control options corresponding to the target audio to the user. The electronic device can respond to the user's triggering operation on the control options displayed on the user interface, determine the control operation for the target audio, and can obtain the audio information of the target audio in response to the control operation for the target audio.

[0073] For example, the control options may include playback options. The electronic device may determine the playback operation for the target audio in response to a user's triggering operation on the playback options displayed on the user interface, and may obtain the audio information of the target audio in response to the playback operation for the target audio.

[0074] The audio information may refer to information related to audio-related services.

[0075] The specific content of the audio information can be set according to actual needs, and this disclosure does not impose any restrictions on it.

[0076] In one embodiment shown, the audio information may include at least one of the following: audio data; control information corresponding to the target audio; and storage address information corresponding to the target audio.

[0077] Audio data refers to data that records or transmits sound information. It typically includes various characteristics of sound, such as frequency, amplitude, and time, and is used to reproduce sound on different devices.

[0078] For example, when the triggering operation for the target audio is a playback operation, the audio data of the target audio can be obtained.

[0079] Control information corresponding to the target audio can refer to information used to control the output format of the audio. This control information may include control information triggered by the user for the target audio, or control information generated by the electronic device in response to a triggering operation for other audio to process the target audio.

[0080] For example, the control information may include indication information for instructing the processor to control the audio output device to play audio, indication information for instructing the processor to control the audio output device to stop playing audio, and indication information for instructing the processor to control the audio output device to temporarily stop playing audio.

[0081] For example, an electronic device can generate control information to lower the volume of a target audio in response to a trigger operation on other audio.

[0082] The storage address information corresponding to the target audio can refer to the storage address of the audio data of the target audio.

[0083] For example, the target audio can be stored on a server, and the storage address can refer to the storage address of the target audio on that server. Based on this storage address, the server can be accessed, and the audio data of the target audio can be retrieved from the server.

[0084] For example, the target audio can be stored in the local storage space of the electronic device, and the storage address can refer to the storage address of the target audio in that local storage space. Based on this storage address, the audio data of the target audio can be retrieved from the local storage space.

[0085] This method allows for the transmission of corresponding audio information based on the actual audio conditions, improving the flexibility of audio processing.

[0086] Step 204: In response to the AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied, the audio information is transmitted to the low-power processor so that the low-power processor can process the target audio based on the audio information and output the processed target audio based on the audio output device.

[0087] When the AP processor is in a non-operating state, that is, a low-power state, the power consumption of waking up the AP processor and processing audio-related services by the AP processor is relatively high. Therefore, in order to avoid the power waste caused by waking up the AP processor and processing the target audio by the AP processor, the audio information can be transmitted to the low-power processor when the AP processor is not woken up, and the low-power processor can process the target audio based on the audio information.

[0088] When the AP processor is running, i.e., awakened, it can process the target audio and transmit the processed audio to the DSP microprocessor. The DSP microprocessor can then transmit the target audio to the audio output device via the I2S bus. However, since the I2S bus can be used by the AP processor to transmit other data while it is running, the transmission path between the AP processor and the audio output device may be occupied, preventing the timely transmission of the processed target audio and reducing audio processing efficiency. In this situation, the electronic device can transmit the audio information to a low-power processor, which will then process the target audio based on this information.

[0089] This method saves power consumption and improves the processing efficiency of the target audio.

[0090] In one embodiment shown, the electronic device stores audio format information; the audio format information includes audio formats supported by the low-power processor; the electronic device can determine, based on the audio format information, whether the audio format of the target audio is an audio format supported by the low-power processor before transmitting the audio information to the low-power processor; if the audio format of the target audio is an audio format supported by the low-power processor, the audio information is further transmitted to the low-power processor.

[0091] Audio format refers to the file format used to encode and store audio data. It typically defines the structure, compression method, storage method, and other related parameters of the audio data.

[0092] The specific content of the aforementioned audio format information can be set and adjusted according to the audio formats supported by the low-power processor, and this disclosure does not limit it in this regard.

[0093] For example, the audio format information may include WAV (Waveform Audio File Format), MP3 (Moving Picture Experts Group Layer Audio 3), and FLAC (Free Lossless Audio Codec).

[0094] The electronic device can determine whether the target audio format is supported by the low-power processor based on the audio format information. If the target audio format is supported by the low-power processor, the audio information can be further transmitted to the low-power processor, which will then process the target audio based on the audio information. If the target audio format is not supported by the low-power processor, the audio information can be transmitted to the AP processor, which will then process the target audio based on the audio information.

[0095] For example, the audio format information may include WAV and AP3 formats. When the target audio is in WAV format, the electronic device can determine that the target audio is in an audio format supported by the low-power processor, and can further transmit the audio information to the low-power processor, which will then process the target audio based on the audio information. When the target audio is in FLAC format, the electronic device can determine that the target audio is in an audio format not supported by the low-power processor, and can transmit the audio information to the AP processor, which will then process the target audio based on the audio information.

[0096] In this way, audio information corresponding to audio formats not supported by the low-power processor can be avoided, thereby improving audio processing efficiency.

[0097] In one embodiment shown, the electronic device is configured with a hardware bus for transmitting data related to audio services. The hardware bus includes a first interface for transmitting audio information to a low-power processor and a second interface for transmitting data processed by the low-power processor to an audio output device. The first interface is invoked to transmit audio information to the low-power processor for processing of target audio based on the audio information, and the second interface is invoked to transmit the processed target audio to the audio output device for output.

[0098] A hardware bus can refer to an actual physical connection facility used to transfer data between different components in a computer or embedded system. In this disclosure, a hardware bus can be configured in an electronic device for transmitting data related to audio services, enabling data transfer between modules and processors within the electronic device.

[0099] For example, the hardware bus may include a first interface for transmitting audio information to a low-power processor, and a second interface for transmitting data processed by the low-power processor to an audio output device.

[0100] For example, the first interface may include an interface provided to an application, in which the application can call the first interface to transmit audio information to the low-power processor; the first interface may also include an interface provided to an audio processing module, in which the audio processing module can call the first interface to transmit received audio information sent by the application to the low-power processor.

[0101] For example, a low-power processor can process the target audio based on the audio information and call the second interface to transmit the processed target audio to the audio output device for output.

[0102] In this way, audio information can be transmitted based on the hardware bus used to transmit audio-related data even when other buses are occupied, thereby improving audio processing efficiency.

[0103] Please see Figure 3 , Figure 3 This is a flowchart illustrating another method for processing audio information according to an exemplary embodiment.

[0104] The electronic device can be equipped with a low-power processor and an AP processor, the low-power processor consuming less power than the AP processor when handling audio-related services.

[0105] like Figure 3 As shown, the aforementioned low-power processor can perform the following steps:

[0106] Step 302: Receive audio information of the target audio transmitted by the electronic device; wherein the audio information is acquired by the electronic device in response to a trigger operation for the target audio and transmitted to the low-power processor in response to the AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied.

[0107] Step 304: Based on the audio information, process the target audio and output the processed target audio based on the audio output device.

[0108] Since the power consumption of the low-power processor in handling audio-related services is lower than that of the AP processor, power consumption can be saved by having the low-power processor handle the target audio.

[0109] When the AP processor is awakened, it can process the target audio and transmit it to the audio output device via the I2S bus. However, since the I2S bus can be used by the AP processor to transmit other data while it is running, the transmission path between the AP processor and the audio output device may be occupied, preventing the timely transmission of the processed target audio and reducing audio processing efficiency. In this situation, the electronic device can transmit the audio information to a low-power processor, which can then process the target audio based on this information, thereby improving the processing efficiency.

[0110] In addition, the low-power processor can be in an operating state. Due to the hardware limitations of the low-power processor, even if the low-power processor is always in an operating state, its power consumption is not high. Therefore, the low-power processor does not need to be woken up before receiving the target audio information transmitted by the electronic device, and thus there is no power consumption required for wake-up, which can further save power. In addition, since the low-power processor can directly process the target audio based on the received audio information, the processing efficiency of audio information can be further improved.

[0111] The audio output device can be configured according to actual needs, and this disclosure does not impose any limitations on it.

[0112] For example, the audio output device can be a speaker, headphones, or other devices capable of outputting audio.

[0113] In one embodiment shown, the audio information may include audio data; the low-power processor may decode the audio data and play the decoded audio data based on an audio output device.

[0114] Audio data refers to data that records or transmits sound information. It typically includes various characteristics of sound, such as frequency, amplitude, and time, and is used to reproduce sound on different devices.

[0115] For example, the audio information could be audio data recording music A. After receiving the audio data, the low-power processor could decode the audio data and play the decoded audio data based on the audio output device.

[0116] In one embodiment shown, the audio information may include storage address information corresponding to the target audio; the low-power processor may obtain the audio data of the target audio based on the storage address information; decode the audio data; and play the decoded audio data based on the audio output device.

[0117] This storage address information can refer to the storage address of the audio data of the target audio.

[0118] For example, the target audio can be stored on a server, and the storage address can refer to the storage address of the target audio on that server. Based on this storage address, the low-power processor can access the server and retrieve the audio data of the target audio from the server.

[0119] For example, the target audio can be stored in the local storage space of the electronic device, and the storage address can refer to the storage address of the target audio in that local storage space. Based on this storage address, the low-power processor can retrieve the audio data of the target audio from the local storage space.

[0120] In one embodiment shown, the audio information may include control information corresponding to the target audio; the low-power processor may control the audio output device to perform an operation corresponding to the control information for the target audio based on the control information corresponding to the target audio.

[0121] Control information corresponding to the target audio can refer to information used to control the output format of the audio. This control information may include control information triggered by the user for the target audio, or control information generated by the electronic device in response to a triggering operation for other audio to process the target audio.

[0122] For example, the control information may include instruction information for instructing the processor to control the audio output device to play audio. The low-power processor may control the audio output device to play the target audio based on the control information corresponding to the target audio.

[0123] For example, the control information may include instruction information for instructing the processor to control the audio output device to stop playing audio. The low-power processor may control the audio output device to stop playing the target audio based on the control information corresponding to the target audio.

[0124] In addition to the aforementioned embodiments of the audio information processing method, this disclosure also provides embodiments of an audio information processing apparatus. See also... Figure 4The device is applied to an electronic device; the electronic device is equipped with an AP processor and a low-power processor; the low-power processor consumes less power than the AP processor when processing audio-related services; the device includes:

[0125] The acquisition unit 402 is used to acquire the audio information of the target audio in response to a trigger operation on the target audio.

[0126] The transmission unit 404 is configured to transmit the audio information to the low-power processor in response to the AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied, so that the low-power processor can process the target audio based on the audio information and output the processed target audio based on the audio output device.

[0127] In this embodiment, the audio information may include at least one of the following:

[0128] Audio data;

[0129] Control information corresponding to the aforementioned target audio;

[0130] The storage address information corresponding to the target audio mentioned above.

[0131] In this embodiment, the electronic device can store audio format information; the audio format information can include audio formats supported by the low-power processor.

[0132] The above-mentioned apparatus may further include a determining unit, used for:

[0133] Before transmitting the aforementioned audio information to the aforementioned low-power processor, based on the aforementioned audio format information, it is determined whether the audio format of the aforementioned target audio is an audio format supported by the aforementioned low-power processor.

[0134] If the audio format of the target audio is an audio format supported by the low-power processor, the audio information is further transmitted to the low-power processor.

[0135] In this embodiment, the electronic device may be configured with a hardware bus; the hardware bus may be used to transmit data related to audio services; the hardware bus includes a first interface for transmitting audio information to a low-power processor; and a second interface for transmitting data processed by the low-power processor to an audio output device.

[0136] The aforementioned transmission unit 404 can be specifically used for:

[0137] The first interface is invoked to transmit the audio information to the low-power processor, which processes the target audio. The second interface is then invoked to transmit the processed target audio to the audio output device for output.

[0138] This disclosure also provides an embodiment of another audio information processing apparatus. See [link to related document]. Figure 5 The device is applied to a low-power processor in an electronic device; the electronic device also includes an AP processor; the low-power processor consumes less power than the AP processor when processing audio-related services; the device includes:

[0139] The receiving unit 502 is used to receive audio information of the target audio transmitted by the electronic device; wherein the audio information is acquired by the electronic device in response to a trigger operation for the target audio and transmitted to the low-power processor in response to the AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied;

[0140] The processing unit 504 is used to process the target audio based on the audio information and output the processed target audio based on the audio output device.

[0141] In this embodiment, the audio information may include audio data;

[0142] The aforementioned processing unit 504 can specifically be used for:

[0143] The audio data is decoded, and the decoded audio data is played back on the audio output device.

[0144] In this embodiment, the audio information may include storage address information corresponding to the target audio.

[0145] The aforementioned processing unit 504 can specifically be used for:

[0146] Based on the above storage address information, obtain the audio data of the target audio.

[0147] The audio data is decoded, and the decoded audio data is played back on the audio output device.

[0148] In this embodiment, the audio information may include control information corresponding to the target audio.

[0149] The aforementioned processing unit 504 can specifically be used for:

[0150] Based on the control information corresponding to the target audio, the audio output device is controlled to perform the operation corresponding to the control information for the target audio.

[0151] The specific implementation process of the functions and roles of each module in the device is detailed in the implementation process of the corresponding steps in the method, and will not be repeated here.

[0152] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this disclosure according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0153] The systems, devices, or modules described in the embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which can take the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email sending and receiving device, game console, tablet computer, wearable device, or any combination of these devices.

[0154] Embodiments of this disclosure also provide an electronic device, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to implement the method described in any of the above embodiments.

[0155] Figure 6 This is a block diagram illustrating an electronic device according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0156] Reference Figure 6 The electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power supply component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.

[0157] Processing component 602 typically controls the overall operation of electronic device 600, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 602 may include one or more processors 620 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 602 may include one or more modules to facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.

[0158] Memory 604 is configured to store various types of data to support the operation of electronic device 600. Examples of this data include instructions for any application or method operating on electronic device 600, contact data, phonebook data, messages, pictures, videos, etc. Memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0159] Power supply component 606 provides power to various components of electronic device 600. Power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 600.

[0160] Multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 608 includes a front-facing camera and / or a rear-facing camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0161] Audio component 610 is configured to output and / or input audio signals. For example, audio component 610 includes a microphone (MIC) configured to receive external audio signals when electronic device 600 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 604 or transmitted via communication component 616. In some embodiments, audio component 610 also includes a speaker for outputting audio signals.

[0162] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0163] Sensor assembly 614 includes one or more sensors for providing state assessments of various aspects of electronic device 600. For example, sensor assembly 614 can detect the on / off state of electronic device 600, the relative positioning of components such as the display and keypad of electronic device 600, changes in position of electronic device 600 or a component of electronic device 600, the presence or absence of user contact with electronic device 600, orientation or acceleration / deceleration of electronic device 600, and temperature changes of electronic device 600. Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 614 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0164] Communication component 616 is configured to facilitate wired or wireless communication between electronic device 600 and other devices. Electronic device 600 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, 4G LTE, 5G NR, or combinations thereof. In one exemplary embodiment, communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 616 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0165] In an exemplary embodiment, the electronic device 600 may be implemented by 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), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described in any of the above embodiments.

[0166] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, which can be executed by a processor 620 of an electronic device 600 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0167] Embodiments of this disclosure also provide a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the steps of the method described in any of the above embodiments.

[0168] Embodiments of this disclosure also provide a computer program product configured to perform the wireless charging foreign object detection method described in any of the above embodiments.

[0169] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0170] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

[0171] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points shall be provided for users to choose to authorize or refuse.

Claims

1. A method for processing audio information, characterized in that, Applied to electronic devices; the electronic devices are equipped with an AP processor and a low-power processor; The low-power processor consumes less power than the AP processor when processing audio-related services; the method includes: In response to a trigger operation targeting the target audio, the audio information of the target audio is acquired; In response to the AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied, the audio information is transmitted to the low-power processor so that the low-power processor can process the target audio based on the audio information and output the processed target audio based on the audio output device.

2. The method according to claim 1, characterized in that, The audio information includes at least one of the following: Audio data; Control information corresponding to the target audio; Storage address information corresponding to the target audio.

3. The method according to claim 1, characterized in that, The electronic device stores audio format information; the audio format information includes audio formats supported by the low-power processor; Before transmitting the audio information to the low-power processor, the method further includes: Based on the audio format information, determine whether the audio format of the target audio is an audio format supported by the low-power processor; If the target audio is in an audio format supported by the low-power processor, the audio information is further transmitted to the low-power processor.

4. The method according to claim 1, characterized in that, The electronic device is configured with a hardware bus; the hardware bus is used to transmit data for audio-related services; the hardware bus includes a first interface for transmitting audio information to a low-power processor; And a second interface for transmitting data processed by the low-power processor to an audio output device; The audio information is transmitted to the low-power processor, which processes the target audio based on the audio information and outputs the processed target audio based on the audio output device, including: The first interface is invoked to transmit the audio information to the low-power processor, so that the low-power processor can process the target audio based on the audio information. The second interface is then invoked to transmit the processed target audio to the audio output device for output.

5. A method for processing audio information, characterized in that, A low-power processor is applied to an electronic device; the electronic device also includes an access point (AP) processor; the low-power processor consumes less power than the AP processor when processing audio-related services; the method includes: The electronic device receives audio information of a target audio transmitted by the electronic device; wherein the audio information is acquired by the electronic device in response to a trigger operation for the target audio and transmitted to the low-power processor in response to the AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied; Based on the audio information, the target audio is processed, and the processed target audio is output based on the audio output device.

6. The method according to claim 5, characterized in that, The audio information includes audio data; Based on the audio information, the target audio is processed, and the processed target audio is output based on the audio output device, including: The audio data is decoded, and the decoded audio data is played back using the audio output device.

7. The method according to claim 5, characterized in that, The audio information includes the storage address information corresponding to the target audio; Based on the audio information, the target audio is processed, and the processed target audio is output based on the audio output device, including: Based on the storage address information, obtain the audio data of the target audio; The audio data is decoded, and the decoded audio data is played back using the audio output device.

8. The method according to claim 5, characterized in that, The audio information includes control information corresponding to the target audio; Based on the audio information, the target audio is processed, and the processed target audio is output based on the audio output device, including: Based on the control information corresponding to the target audio, the audio output device is controlled to perform an operation corresponding to the control information for the target audio.

9. An audio information processing device, characterized in that, Applied to electronic devices; the electronic devices are equipped with an AP processor and a low-power processor; The low-power processor consumes less power than the AP processor when processing audio-related services; the device includes: The acquisition unit is used to acquire the audio information of the target audio in response to a trigger operation on the target audio. A transmission unit is configured to transmit the audio information to the low-power processor in response to the AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied, so that the low-power processor can process the target audio based on the audio information and output the processed target audio based on the audio output device.

10. An audio information processing apparatus, characterized in that, A low-power processor for use in electronic devices; the electronic device also includes an access point (AP) processor; the low-power processor consumes less power than the AP processor when processing audio-related services; the device includes: A receiving unit is configured to receive audio information of a target audio transmitted by the electronic device; wherein the audio information is acquired by the electronic device in response to a trigger operation for the target audio and transmitted to the low-power processor in response to the AP processor not being woken up, or the AP processor being woken up but the transmission path between the AP processor and the audio output device being occupied; The processing unit is configured to process the target audio based on the audio information and output the processed target audio based on the audio output device.

11. A user equipment, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is used to implement the method according to any one of claims 1 to 8.

12. A machine-readable storage medium, characterized in that, The machine-readable storage medium stores machine-readable instructions, which, when invoked and executed by a processor, implement the method described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Log information reporting method and device, storage medium, ADSP (audio digital signal processor) and terminal

    CN107609120A

  • Data processing method and device, electronic equipment and computer storage medium

    CN113593541A

  • Audio processing method, device and system, electronic equipment and readable storage medium

    CN117896652A

  • Application processor for rendering audio content and method for rendering audio content using it

    KR1020110096631A

  • Wearable device and audio processing method therefor

    WO2022127498A1