CN106200870B - A kind of processing method and electronic equipment of audio data - Google Patents

A kind of processing method and electronic equipment of audio data Download PDF

Info

Publication number
CN106200870B
CN106200870B CN201610509977.5A CN201610509977A CN106200870B CN 106200870 B CN106200870 B CN 106200870B CN 201610509977 A CN201610509977 A CN 201610509977A CN 106200870 B CN106200870 B CN 106200870B
Authority
CN
China
Prior art keywords
audio data
processing
processed
audio
processing mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610509977.5A
Other languages
Chinese (zh)
Other versions
CN106200870A (en
Inventor
宋建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610509977.5A priority Critical patent/CN106200870B/en
Publication of CN106200870A publication Critical patent/CN106200870A/en
Application granted granted Critical
Publication of CN106200870B publication Critical patent/CN106200870B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken

Abstract

The invention discloses a kind of processing method of audio data and electronic equipment, method includes: to receive audio data to be processed;First part's audio data in the audio data to be processed is handled using the first processing mode;The second part audio data removed other than first part's audio data in the audio data to be processed is handled using second processing mode;Output is for the audio data to be processed treated audio data completely;Wherein, the power consumption of the second processing mode is lower than the power consumption of first processing mode.It can be seen that the present invention handles audio data by using two kinds of processing modes, it ensure that audio data to be processed can be completely processed, improve the performance of system;And since the power consumption of second processing mode is lower than the power consumption of the first processing mode, it is equivalent to and uses on single software for processing mode in the prior art, and reduce system power dissipation.

Description

A kind of processing method and electronic equipment of audio data
Technical field
The present invention relates to technical field of data processing, the processing method and electricity of more particularly to a kind of audio data Sub- equipment.
Background technique
Electronic equipment is generally handled audio data using the processing mode on software, such as adopted under audio-frequency play mode Handle audio data with APO (Audio Processing Objects) algorithm, under this mode, CPU can quilt every 10ms Access is primary, therefore system power dissipation is larger, seriously affects the battery life of electronic equipment.
To solve the above-mentioned problems, the prior art provides another processing mode, is the processing mode on hardware, this Under mode, CPU can be just accessed once every 1s, therefore system power dissipation is low, but this mode has on processing audio data There is certain limitation, such as cannot support Full Featured Dolby Audio data, seriously affects the performance of system.
Summary of the invention
In view of this, the present invention provides the processing method and electronic equipment of a kind of audio data, to improve system performance On the basis of reduce system power dissipation.
To achieve the above object, the invention provides the following technical scheme:
A kind of processing method of audio data, which comprises
Receive audio data to be processed;
First part's audio data in the audio data to be processed is handled using the first processing mode;
Use second processing mode handle removed in the audio data to be processed first part's audio data with Outer second part audio data;
Output is for the audio data to be processed treated audio data completely;
Wherein, the power consumption of the second processing mode is lower than the power consumption of first processing mode.
Preferably, after the reception audio data to be processed, further includes:
Whether judgement can be realized the complete processing for the audio data to be processed using second processing mode;
If it is not, handling first part's audio in the audio data to be processed using the first processing mode into described The step of data.
Preferably, described that first part's audio number in the audio data to be processed is handled using the first processing mode According to, comprising:
The audio data to be processed is sent to audio processing chip, so that the audio processing chip is using the One processing mode handles first part's audio data in the audio data to be processed;
Receive the audio data that the audio processing chip returns, the audio data includes that treated first part's sound Frequency is accordingly and untreated second part audio data.
Preferably, described that first part's audio number in the audio data to be processed is handled using the first processing mode According to, comprising:
Determine that first part's audio data in the audio data to be processed, first part's audio data include The part that second processing mode cannot be handled in the audio data to be processed;
First part's audio data is sent to audio processing chip, so that the audio processing chip is using the One processing mode processing first part's audio data;
Receive the audio processing chip treated first part's audio data.
Preferably, before reception audio data to be processed, further includes:
When detecting electronic equipment booting, the second processing function in the electronic equipment is opened;
Wherein, the second processing function is function corresponding with second processing mode.
Preferably, whether the judgement can be realized using second processing mode for the audio data to be processed Completely after processing, further includes:
If so, handling the audio data to be processed using the second processing mode.
A kind of electronic equipment, comprising: controller, audio processing chip and output equipment;
The controller is used to receive audio data to be processed, controls the audio processing chip using the first processing Mode handles first part's audio data in the audio data to be processed;
The controller, which is used to handle in the audio data to be processed using second processing mode, removes described first Second part audio data other than portion of audio data;
The output equipment is for export for complete treated the audio data of the audio data to be processed;
Wherein, the power consumption of the second processing mode is lower than the power consumption of first processing mode.
Preferably, the controller is also used to judge using second processing side after receiving audio data to be processed Whether formula can be realized the complete processing for the audio data to be processed, and in a case of no, control the audio Processing chip handles first part's audio data in the audio data to be processed using the first processing mode.
Preferably, the controller is specifically used for the audio data of the processing being sent to the audio processing chip;
The audio processing chip is used to handle first in the audio data to be processed using the first processing mode Portion of audio data, and treated first part's audio data and untreated second part audio data are sent to institute State controller;
The controller is used to receive the audio data that the audio processing chip returns.
Preferably, the controller is used to determine first part's audio data in the audio data to be processed, institute Stating first part's audio data includes the part that second processing mode cannot be handled in the audio data to be processed;It will be described First part's audio data is sent to the audio processing chip;
The audio processing chip is used to handle first part's audio data using the first processing mode, and will processing First part's audio data afterwards is sent to the controller;
The controller treated for receiving audio processing chip first part's audio data.
It preferably, further include interface module, for opening the electronics and setting when detecting electronic equipment booting Second processing function in standby;
Wherein, the second processing function is function corresponding with second processing mode.
Preferably, whether the controller can be realized using second processing mode for the sound to be processed in judgement After the complete processing of frequency evidence, for where it has, handling the sound to be processed using the second processing mode Frequency evidence.
It can be seen via above technical scheme that compared with prior art, the embodiment of the invention discloses a kind of audio datas Processing method, comprising: receive audio data to be processed, handled using the first processing mode in audio data to be processed First part's audio data;The audio data that first part is removed in audio data to be processed is handled using second processing mode Second part audio data in addition, output is for audio data to be processed treated audio data completely, wherein second The power consumption of processing mode is lower than the power consumption of the first processing mode.It can be seen that the present invention locates by using two kinds of processing modes Audio data is managed, ensure that audio data to be processed can be completely processed, improve the performance of system;And due to second processing The power consumption of mode is lower than the power consumption of the first processing mode, therefore is equivalent in the prior art using processing mode on single software For, and reduce system power dissipation.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of the processing method of audio data disclosed in the embodiment of the present invention one;
Fig. 2 is a kind of flow diagram of the processing method of audio data disclosed in the embodiment of the present invention two;
Fig. 3 is a kind of flow diagram of the processing method of audio data disclosed in the embodiment of the present invention three;
Fig. 4 is a kind of flow diagram of the processing method of audio data disclosed in the embodiment of the present invention four;
Fig. 5 is a kind of flow diagram of the processing method of audio data disclosed in the embodiment of the present invention five;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment disclosed in the embodiment of the present invention six;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment disclosed in the embodiment of the present invention ten.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention one discloses a kind of processing method of audio data, as shown in Figure 1, a kind of place of audio data Reason method the following steps are included:
Step 101: receiving audio data to be processed;
Wherein, the processing method of audio data disclosed by the invention is applied to the electronic equipment of playing audio-fequency data In, such as mobile phone, tablet computer, laptop equipment.
In the case where electronic equipment handles audio-frequency play mode, audio data to be processed is received.For example, being in electronic equipment It is inferior that network video, network audio play mode are under local video, local audio play mode or in person's electronic equipment, are connect Receive audio data to be processed.
Step 102: first part's audio data in audio data to be processed is handled using the first processing mode;
Wherein, the processing side of first part's audio data in audio data to be processed is handled using the first processing mode Formula more than one can specifically be described in detail later.
Step 103: use second processing mode handle in audio data to be processed remove first part's audio data with Outer second part audio data;
First processing mode and second processing mode are two different processing modes, specifically, second processing mode Power consumption is lower than the power consumption of the first processing mode.For example, second processing mode is the processing mode on hardware, offload is such as used The mode of (Hardware Offloaded Audio Processing) algorithm process audio data;Second processing mode is soft Processing mode on part, such as by the way of APO (Audio Processing Objects) algorithm process audio data.
It is understood that audio data to be processed is by first part's audio data and second part audio data group At, when the first processing mode has handled first part's audio data, after second processing mode has handled second part audio data, Audio data to be processed can be completely processed.
Step 104: output is for audio data to be processed treated audio data completely.
Specifically, can control output equipment output treated the audio data completely of electronic equipment.
To sum up, in the present embodiment, it by receiving audio data to be processed, is handled using the first processing mode to be processed Audio data in first part's audio data;It is handled using second processing mode in audio data to be processed and removes first Second part audio data other than partial audio data, can export for audio data to be processed completely treated Audio data, wherein the power consumption of second processing mode is lower than the power consumption of the first processing mode.It can be seen that the present invention is by adopting Audio data is handled with two kinds of processing modes, ensure that audio data to be processed can be completely processed, improve system Performance;And since the power consumption of second processing mode is lower than the power consumption of the first processing mode, it is equivalent to and uses in the prior art On single software for processing mode, and reduce system power dissipation.
In the present invention, since the power consumption of second processing mode is lower than the power consumption of the first processing mode, if that second Processing mode can individually realize the complete processing for audio data to be processed, then can further reduce system Power consumption.Based on the consideration, the embodiment of the present invention two discloses a kind of processing method of audio data, as shown in Fig. 2, a kind of audio The processing methods of data the following steps are included:
Step 201: receiving audio data to be processed;
Step 202: whether judgement can be realized the complete place for audio data to be processed using second processing mode Reason;If it is not, entering step 203;If so, entering step 205;
Specifically, can detecte audio data to be processed with which performance data, to judge second processing mode Whether all performance data is capable of handling.
Step 203: first part's audio data in the audio data to be processed is handled using the first processing mode;
If second processing mode independent cannot realize the complete processing for being directed to audio data to be processed, then, then it needs The first processing mode is wanted to handle portion of audio data, wherein first part's audio data handled by the first processing mode includes The part that second processing mode cannot be handled in audio data to be processed, naturally it is also possible to can locate including second processing mode The part of reason.
Wherein, the power consumption of second processing mode is lower than the power consumption of the first processing mode.
Step 204: being handled using second processing mode and remove first part's sound in the audio data to be processed Frequency outer second part audio data accordingly;
Step 205: the audio data to be processed is handled using second processing mode;
If second processing mode independent can realize the complete processing for being directed to audio data to be processed, then being not required to The participation of the first processing mode is wanted, all audio datas to be processed are only handled by second processing mode.
Step 206: output is for audio data to be processed treated audio data completely.
It to sum up, in the present embodiment, cannot using second processing mode determining by receiving audio data to be processed When enough complete processing realized for audio data to be processed, handled using the first processing mode in audio data to be processed First part's audio data;The audio number that first part is removed in audio data to be processed is handled using second processing mode Outer second part audio data accordingly can be exported for audio data to be processed treated completely audio data, In, the power consumption of second processing mode is lower than the power consumption of the first processing mode.It can be seen that the present invention is by using two kinds of processing sides Formula handles audio data, ensure that audio data to be processed can be completely processed, improves the performance of system;And due to The power consumption of two processing modes is lower than the power consumption of the first processing mode, therefore is equivalent in the prior art using on single software For reason mode, and reduce system power dissipation;
Further, the complete processing for audio data to be processed can be realized using second processing mode determining When, using the audio data that the independent processing of second processing mode is to be processed, due to not needing the participation of the first processing mode, because This can further reduce system power dissipation.
The present invention introduces the first processing mode by embodiment three and example IV respectively and handles first part's audio data Two kinds of implementations, in the embodiment of the present invention three, as shown in figure 3, a kind of processing method of audio data includes following step It is rapid:
Step 301: receiving audio data to be processed;
Step 302: the audio data to be processed being sent to audio processing chip, so that audio processing chip is adopted First part's audio data in audio data to be processed is handled with the first processing mode;
Optionally, it after step 301 can also include: whether judgement can be realized using second processing mode for wait locate The complete processing of the audio data of reason, correspondingly, step 302 is specifically to determine that second processing mode can not achieve for wait locate It is executed after the complete processing of the audio data of reason.
The processing method of audio data disclosed in the present embodiment can be applied in the controller of electronic equipment, and controller connects After receiving audio data to be processed, audio data to be processed is sent to audio processing chip, is had on audio processing chip There is the first Processing Algorithm corresponding with the first processing mode.If the first Processing Algorithm can be APO algorithm.It should be noted that should First Processing Algorithm is the simplification algorithm pre-processed, specifically, first Processing Algorithm includes that second processing mode does not have Standby data processing function, naturally it is also possible to including the data processing function that part second processing mode has, but and it is endless It entirely include all data processing functions having of second processing mode.Concrete mode can be set based on actual conditions, with So that audio processing chip is used to handle the portion of audio data in audio data to be processed.
After audio processing chip receives audio data to be processed, used based on possessed first Processing Algorithm itself First processing mode handles first part's audio data in audio data to be processed, and will treated first part's audio Data and untreated second part audio data are sent to controller.
Step 303: receiving the audio data that audio processing chip returns;
Wherein, audio data includes treated first part's audio data and untreated second part audio number According to.
Step 302 and step 303 are that step " handles the audio to be processed using the first processing mode in embodiment one The specific implementation of first part's audio data in data ".
Step 304: use second processing mode handle in audio data to be processed remove first part's audio data with Outer second part audio data;
Wherein, the power consumption of second processing mode is lower than the power consumption of the first processing mode.
In the present embodiment, there is second processing algorithm corresponding with second processing mode, audio processing core in controller Piece is will be after treated first part's audio data and untreated second part audio data be sent to controller, control Device determines which portion of audio data is no processed audio data, thus using second processing algorithm at it Reason carries out audio data after the completion of processing and summarizes, thus output treated completely audio data.
Optionally, controller may include control module and have second processing algorithm corresponding with second processing mode Processing module.On this basis, as a kind of implementation, audio processing chip will treated first part's audio data And untreated second part audio data is sent to the processing module in controller, which part audio is processing module determine Data are no processed audio datas, so that it is handled using second processing algorithm, it is directly defeated after the completion of processing Treated audio data completely out.As another implementation, audio processing chip can will be comprising treated first Portion of audio data and untreated second part audio data are sent to control module, and control module is by untreated second Portion of audio data is given processing module and is handled, and processing module uses the complete second part audio number of second processing algorithm process According to rear, control module carry out audio data summarize and the audio data that exports that treated completely.
It should be noted that when second processing mode is the processing mode on hardware, correspondingly, with second processing mode Processing module can be DSP (digital signal processing, Digital Signal Processing) module.
Step 305: audio data after output is handled completely for audio data to be processed.
It to sum up, in the present embodiment, cannot using second processing mode determining by receiving audio data to be processed When enough complete processing realized for audio data to be processed, handled using the first processing mode in audio data to be processed First part's audio data;The audio number that first part is removed in audio data to be processed is handled using second processing mode Outer second part audio data accordingly can be exported for audio data to be processed treated completely audio data, In, the power consumption of second processing mode is lower than the power consumption of the first processing mode.It can be seen that the present invention is by using two kinds of processing sides Formula handles audio data, ensure that audio data to be processed can be completely processed, improves the performance of system;And due to The power consumption of two processing modes is lower than the power consumption of the first processing mode, therefore is equivalent in the prior art using on single software For reason mode, and reduce system power dissipation.
The embodiment of the present invention four discloses a kind of processing method of audio data, as shown in figure 4, a kind of place of audio data Reason method the following steps are included:
Step 401: receiving audio data to be processed;
Step 402: determining first part's audio data in audio data to be processed;
Optionally, it after step 401 can also include: whether judgement can be realized using second processing mode for wait locate The complete processing of the audio data of reason, correspondingly, step 402 is specifically to determine that second processing mode can not achieve for wait locate It is executed after the complete processing of the audio data of reason.
Wherein, first part's audio data includes the portion that second processing mode cannot be handled in audio data to be processed Point, it can also include the part that second processing mode is capable of handling in audio data to be processed, but first part's audio number According to being not complete audio data to be processed.Preferably, in order to lower the power consumption of system, first part's audio as far as possible Data can only include the part that second processing mode cannot be handled in audio data to be processed.
Step 403: first part's audio data being sent to audio processing chip, so that the audio processing chip is adopted First part's audio data is handled with the first processing mode;
The processing method of audio data disclosed in the present embodiment can be applied in the controller of electronic equipment, and controller connects Audio data to be processed is received, is determined in audio data to be processed after first part's audio data, by first part's audio Data are sent to audio processing chip, have the first Processing Algorithm corresponding with the first processing mode on audio processing chip, from And the first Processing Algorithm is used to handle the first part's audio data received, and first part's audio data is sent out by treated Give controller.If the first Processing Algorithm can be APO algorithm.
Step 404: receiving audio processing chip treated first part's audio data;
Wherein, step 402-404 is that step " handles the audio to be processed using the first processing mode in embodiment one The specific implementation of first part's audio data in data ".
Step 405: being handled using second processing mode and remove first part's sound in the audio data to be processed Frequency outer second part audio data accordingly;
Wherein, the power consumption of second processing mode is lower than the power consumption of first processing mode.
In the present embodiment, there is second processing algorithm corresponding with second processing mode in controller, therefore can adopt With second processing algorithm process second part audio data, so that treated second part audio data and processing will be received First part's audio data afterwards is summarized, output treated audio data completely.
Optionally, controller may include control module and have second processing algorithm corresponding with second processing mode Processing module.On this basis, as a kind of implementation, audio processing chip will treated first part's audio data It is sent to control module, control module will treated first part's audio data and untreated second part audio data Summarized, so that all audio datas are sent to processing module, processing module determines which portion of audio data is that do not have Processed audio data, to be handled using second processing algorithm it, directly output processing completely after the completion of processing Audio data afterwards.As another implementation, by treated, first part's audio data is sent to audio processing chip Untreated second part audio data is also sent to processing module by processing module, control module, and processing module uses second Processing Algorithm handles second part audio data, and by the second part audio data handled and having handled of receiving First part's audio data is summarized, output treated audio data completely.As another implementation, audio processing Chip will treated first part's audio data is sent to control module, control module is by untreated second part audio number It is handled according to processing module is sent to, after processing module uses the complete second part audio data of second processing algorithm process, control Molding block carries out summarizing and exporting treated audio data completely for audio data.
It should be noted that when second processing mode is the processing mode on hardware, correspondingly, with second processing mode Processing module can be DSP (digital signal processing, Digital Signal Processing) module.
Step 406: output is for the audio data to be processed treated audio data completely;
It to sum up, in the present embodiment, cannot using second processing mode determining by receiving audio data to be processed When enough complete processing realized for audio data to be processed, handled using the first processing mode in audio data to be processed First part's audio data;The audio number that first part is removed in audio data to be processed is handled using second processing mode Outer second part audio data accordingly can be exported for audio data to be processed treated completely audio data, In, the power consumption of second processing mode is lower than the power consumption of the first processing mode.It can be seen that the present invention is by using two kinds of processing sides Formula handles audio data, ensure that audio data to be processed can be completely processed, improves the performance of system;And due to The power consumption of two processing modes is lower than the power consumption of the first processing mode, therefore is equivalent in the prior art using on single software For reason mode, and reduce system power dissipation.
The embodiment of the present invention five discloses a kind of processing method of audio data, as shown in figure 5, a kind of place of audio data Reason method the following steps are included:
Step 501: when detecting electronic equipment booting, opening the second processing function in electronic equipment;
Wherein, second processing function is function corresponding with second processing mode.In order to guarantee to carry out to audio data When processing, audio data can be handled using second processing mode, in the present embodiment, directly will in electronic equipment booting The second processing function of electronic equipment is opened.
Step 502: receiving audio data to be processed;
Step 503: first part's audio data in the audio data to be processed is handled using the first processing mode;
Step 504: being handled using second processing mode and remove first part's sound in the audio data to be processed Frequency outer second part audio data accordingly;
Step 505: output is for the audio data to be processed treated audio data completely.
Wherein, the power consumption of the second processing mode is lower than the power consumption of first processing mode.
It to sum up, in the present embodiment, cannot using second processing mode determining by receiving audio data to be processed When enough complete processing realized for audio data to be processed, handled using the first processing mode in audio data to be processed First part's audio data;The audio number that first part is removed in audio data to be processed is handled using second processing mode Outer second part audio data accordingly can be exported for audio data to be processed treated completely audio data, In, the power consumption of second processing mode is lower than the power consumption of the first processing mode.It can be seen that the present invention is by using two kinds of processing sides Formula handles audio data, ensure that audio data to be processed can be completely processed, improves the performance of system;And due to The power consumption of two processing modes is lower than the power consumption of the first processing mode, therefore is equivalent in the prior art using on single software For reason mode, and reduce system power dissipation.
The embodiment of the present invention six discloses a kind of electronic equipment, as shown in fig. 6, a kind of electronic equipment includes: controller 601, audio processing chip 602 and output equipment 603;Wherein:
Controller 601 is used to receive audio data to be processed, and control audio processing chip 602 uses the first processing side Formula handles first part's audio data in audio data to be processed;
Controller 601 is used to handle removing first part's audio number in audio data to be processed using second processing mode Outer second part audio data accordingly;
First processing mode and second processing mode are two different processing modes, specifically, second processing mode Power consumption is lower than the power consumption of the first processing mode.For example, second processing mode is the processing mode on hardware, offload is such as used The mode of (Hardware Offloaded Audio Processing) algorithm process audio data;Second processing mode is soft Processing mode on part, such as by the way of APO (Audio Processing Objects) algorithm process audio data.
It is understood that audio data to be processed is by first part's audio data and second part audio data group At, when the first processing mode has handled first part's audio data, after second processing mode has handled second part audio data, Audio data to be processed can be completely processed.
Output equipment 603 is for export for complete treated the audio data of the audio data to be processed.
To sum up, in the present embodiment, it by receiving audio data to be processed, is handled using the first processing mode to be processed Audio data in first part's audio data;It is handled using second processing mode in audio data to be processed and removes first Second part audio data other than partial audio data, can export for audio data to be processed completely treated Audio data, wherein the power consumption of second processing mode is lower than the power consumption of the first processing mode.It can be seen that the present invention is by adopting Audio data is handled with two kinds of processing modes, ensure that audio data to be processed can be completely processed, improve system Performance;And since the power consumption of second processing mode is lower than the power consumption of the first processing mode, it is equivalent to and uses in the prior art On single software for processing mode, and reduce system power dissipation.
In the present invention, since the power consumption of second processing mode is lower than the power consumption of the first processing mode, if that second Processing mode can individually realize the complete processing for audio data to be processed, then can further reduce system Power consumption.Based on the consideration, the embodiment of the present invention seven discloses a kind of electronic equipment, and on the basis of embodiment six, controller exists After receiving audio data to be processed, it is also used to judge whether can be realized for described to be processed using second processing mode The complete processing of audio data control the audio processing chip and in a case of no and handled using the first processing mode First part's audio data in the audio data to be processed.
Further, whether controller can be realized using second processing mode for the audio to be processed in judgement After the complete processing of data, for where it has, handling the audio to be processed using the second processing mode Data.
It to sum up, in the present embodiment, cannot using second processing mode determining by receiving audio data to be processed When enough complete processing realized for audio data to be processed, handled using the first processing mode in audio data to be processed First part's audio data;The audio number that first part is removed in audio data to be processed is handled using second processing mode Outer second part audio data accordingly can be exported for audio data to be processed treated completely audio data, In, the power consumption of second processing mode is lower than the power consumption of the first processing mode.It can be seen that the present invention is by using two kinds of processing sides Formula handles audio data, ensure that audio data to be processed can be completely processed, improves the performance of system;And due to The power consumption of two processing modes is lower than the power consumption of the first processing mode, therefore is equivalent in the prior art using on single software For reason mode, and reduce system power dissipation;
Further, the complete processing for audio data to be processed can be realized using second processing mode determining When, using the audio data that the independent processing of second processing mode is to be processed, due to not needing the participation of the first processing mode, because This can further reduce system power dissipation.
The present invention introduces the first processing mode by embodiment eight and embodiment nine respectively and handles first part's audio data Two kinds of implementations, in the embodiment of the present invention eight, controller is specifically used for for audio data to be processed being sent to described Audio processing chip;
Audio processing chip is used to handle the first part in the audio data to be processed using the first processing mode Audio data, and treated first part's audio data and untreated second part audio data are sent to control Device;
Controller is used to receive the audio data that the audio processing chip returns.
In the present embodiment, there is the first Processing Algorithm corresponding with the first processing mode on audio processing chip.Such as the One Processing Algorithm can be APO algorithm.First Processing Algorithm is the simplification algorithm pre-processed, specifically, this is at first Adjustment method includes the data processing function that second processing mode does not have, naturally it is also possible to be had including part second processing mode Data processing function, but not fully include all data processing functions having of second processing mode.Concrete mode can To be set based on actual conditions, so that audio processing chip is used to handle the part audio in audio data to be processed Data.
After audio processing chip receives audio data to be processed, used based on possessed first Processing Algorithm itself First processing mode handles first part's audio data in audio data to be processed, and will treated first part's audio Data and untreated second part audio data are sent to controller.
In the present embodiment, there is second processing algorithm corresponding with second processing mode, audio processing core in controller Piece is will be after treated first part's audio data and untreated second part audio data be sent to controller, control Device determines which portion of audio data is no processed audio data, thus using second processing algorithm at it Reason carries out audio data after the completion of processing and summarizes, thus output treated completely audio data.
Optionally, controller may include control module and have second processing algorithm corresponding with second processing mode Processing module.On this basis, as a kind of implementation, audio processing chip will treated first part's audio data And untreated second part audio data is sent to the processing module in controller, which part audio is processing module determine Data are no processed audio datas, so that it is handled using second processing algorithm, it is directly defeated after the completion of processing Treated audio data completely out.As another implementation, audio processing chip can will be comprising treated first Portion of audio data and untreated second part audio data are sent to control module, and control module is by untreated second Portion of audio data is given processing module and is handled, and processing module uses the complete second part audio number of second processing algorithm process According to rear, control module carry out audio data summarize and the audio data that exports that treated completely.
It should be noted that when second processing mode is the processing mode on hardware, correspondingly, with second processing mode Processing module can be DSP (digital signal processing, Digital Signal Processing) module.
It to sum up, in the present embodiment, cannot using second processing mode determining by receiving audio data to be processed When enough complete processing realized for audio data to be processed, handled using the first processing mode in audio data to be processed First part's audio data;The audio number that first part is removed in audio data to be processed is handled using second processing mode Outer second part audio data accordingly can be exported for audio data to be processed treated completely audio data, In, the power consumption of second processing mode is lower than the power consumption of the first processing mode.It can be seen that the present invention is by using two kinds of processing sides Formula handles audio data, ensure that audio data to be processed can be completely processed, improves the performance of system;And due to The power consumption of two processing modes is lower than the power consumption of the first processing mode, therefore is equivalent in the prior art using on single software For reason mode, and reduce system power dissipation.
In the embodiment of the present invention nine, controller is used to determine first part's audio in the audio data to be processed First part's audio data is sent to the audio processing chip by data;
Wherein, first part's audio data include in the audio data to be processed second processing mode cannot handle Part;It can also include the part that second processing mode is capable of handling in audio data to be processed, but first part's audio Data are not complete audio data to be processed.Preferably, in order to lower the power consumption of system, first part's sound as far as possible Frequency is according to the part that cannot only can be handled including second processing mode in audio data to be processed.
Audio processing chip is used to handle first part's audio data using the first processing mode, and will treated first Portion of audio data is sent to controller;
Controller treated for receiving audio processing chip first part's audio data.
In the present embodiment, there is the first Processing Algorithm corresponding with the first processing mode on audio processing chip, thus The first part's audio data received is handled using the first Processing Algorithm, and first part's audio data is sent by treated To controller.If the first Processing Algorithm can be APO algorithm.
In the present embodiment, there is second processing algorithm corresponding with second processing mode in controller, therefore can adopt With second processing algorithm process second part audio data, so that treated second part audio data and processing will be received First part's audio data afterwards is summarized, output treated audio data completely.
Optionally, controller may include control module and have second processing algorithm corresponding with second processing mode Processing module.On this basis, as a kind of implementation, audio processing chip will treated first part's audio data It is sent to control module, control module will treated first part's audio data and untreated second part audio data Summarized, so that all audio datas are sent to processing module, processing module determines which portion of audio data is that do not have Processed audio data, to be handled using second processing algorithm it, directly output processing completely after the completion of processing Audio data afterwards.As another implementation, by treated, first part's audio data is sent to audio processing chip Untreated second part audio data is also sent to processing module by processing module, control module, and processing module uses second Processing Algorithm handles second part audio data, and by the second part audio data handled and having handled of receiving First part's audio data is summarized, output treated audio data completely.As another implementation, audio processing Chip will treated first part's audio data is sent to control module, control module is by untreated second part audio number It is handled according to processing module is sent to, after processing module uses the complete second part audio data of second processing algorithm process, control Molding block carries out summarizing and exporting treated audio data completely for audio data.
It should be noted that when second processing mode is the processing mode on hardware, correspondingly, with second processing mode Processing module can be DSP (digital signal processing, Digital Signal Processing) module.
It to sum up, in the present embodiment, cannot using second processing mode determining by receiving audio data to be processed When enough complete processing realized for audio data to be processed, handled using the first processing mode in audio data to be processed First part's audio data;The audio number that first part is removed in audio data to be processed is handled using second processing mode Outer second part audio data accordingly can be exported for audio data to be processed treated completely audio data, In, the power consumption of second processing mode is lower than the power consumption of the first processing mode.It can be seen that the present invention is by using two kinds of processing sides Formula handles audio data, ensure that audio data to be processed can be completely processed, improves the performance of system;And due to The power consumption of two processing modes is lower than the power consumption of the first processing mode, therefore is equivalent in the prior art using on single software For reason mode, and reduce system power dissipation.
The embodiment of the present invention ten discloses a kind of electronic equipment, as shown in fig. 7, a kind of electronic equipment includes: controller 701, audio output chip 702, output equipment 703 and interface module 704;Wherein:
Interface module 704 is used to open at second in the electronic equipment when detecting electronic equipment booting Manage function;
Wherein, second processing function is function corresponding with second processing mode.
Controller 701 is used to receive audio data to be processed, and control audio processing chip 702 uses the first processing side Formula handles first part's audio data in audio data to be processed;
Controller 701 is used to handle removing first part's audio number in audio data to be processed using second processing mode Outer second part audio data accordingly;
Wherein, the first processing mode and second processing mode are two different processing modes, specifically, second processing side The power consumption of formula is lower than the power consumption of the first processing mode.
It is understood that audio data to be processed is by first part's audio data and second part audio data group At, when the first processing mode has handled first part's audio data, after second processing mode has handled second part audio data, Audio data to be processed can be completely processed.
Output equipment 703 is for export for complete treated the audio data of the audio data to be processed.
To sum up, in the present embodiment, it by receiving audio data to be processed, is handled using the first processing mode to be processed Audio data in first part's audio data;It is handled using second processing mode in audio data to be processed and removes first Second part audio data other than partial audio data, can export for audio data to be processed completely treated Audio data, wherein the power consumption of second processing mode is lower than the power consumption of the first processing mode.It can be seen that the present invention is by adopting Audio data is handled with two kinds of processing modes, ensure that audio data to be processed can be completely processed, improve system Performance;And since the power consumption of second processing mode is lower than the power consumption of the first processing mode, it is equivalent to and uses in the prior art On single software for processing mode, and reduce system power dissipation.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of processing method of audio data, which is characterized in that the described method includes:
Receive audio data to be processed;
Whether judgement can be realized the complete processing for the audio data to be processed using second processing mode;
If it is not, handling first part's audio data in the audio data to be processed using the first processing mode;
It is handled in the audio data to be processed and is removed other than first part's audio data using second processing mode Second part audio data;
Output is for the audio data to be processed treated audio data completely;
Wherein, the power consumption of the second processing mode is lower than the power consumption of first processing mode.
2. the method according to claim 1, wherein it is described using the first processing mode handle it is described to be processed First part's audio data in audio data, comprising:
The audio data to be processed is sent to audio processing chip, so that the audio processing chip uses at first Reason mode handles first part's audio data in the audio data to be processed;
Receive the audio data that the audio processing chip returns, the audio data includes that treated first part's audio number Accordingly and untreated second part audio data.
3. the method according to claim 1, wherein it is described using the first processing mode handle it is described to be processed First part's audio data in audio data, comprising:
Determine that first part's audio data in the audio data to be processed, first part's audio data include described The part that second processing mode cannot be handled in audio data to be processed;
First part's audio data is sent to audio processing chip, so that the audio processing chip uses at first Reason mode handles first part's audio data;
Receive the audio processing chip treated first part's audio data.
4. the method according to claim 1, wherein it is described receive audio data to be processed before, further includes:
When detecting electronic equipment booting, the second processing function in the electronic equipment is opened;
Wherein, the second processing function is function corresponding with second processing mode.
5. the method according to claim 1, wherein whether the judgement can be realized using second processing mode After the complete processing of the audio data to be processed, further includes:
If so, handling the audio data to be processed using the second processing mode.
6. a kind of electronic equipment characterized by comprising controller, audio processing chip and output equipment;
The controller judges whether can be realized for institute using second processing mode for receiving audio data to be processed The complete processing of audio data to be processed is stated, institute is handled using the first processing mode if it is not, controlling the audio processing chip First part's audio data in audio data to be processed is stated, controls the audio processing chip using at the first processing mode Manage first part's audio data in the audio data to be processed;
The controller, which is used to handle in the audio data to be processed using second processing mode, removes the first part Second part audio data other than audio data;
The output equipment is for export for complete treated the audio data of the audio data to be processed;
Wherein, the power consumption of the second processing mode is lower than the power consumption of first processing mode.
7. electronic equipment according to claim 6, which is characterized in that
The controller is specifically used for the audio data of the processing being sent to the audio processing chip;
The audio processing chip is used to handle the first part in the audio data to be processed using the first processing mode Audio data, and treated first part's audio data and untreated second part audio data are sent to the control Device processed;
The controller is used to receive the audio data that the audio processing chip returns.
8. electronic equipment according to claim 6, which is characterized in that the controller is for determining the sound to be processed First part audio data of the frequency in, first part's audio data includes second in the audio data to be processed The part that processing mode cannot be handled;First part's audio data is sent to the audio processing chip;
The audio processing chip is used to handle first part's audio data using the first processing mode, and by treated First part's audio data is sent to the controller;
The controller treated for receiving audio processing chip first part's audio data.
9. electronic equipment according to claim 6, which is characterized in that further include interface module, for when detection To when electronic equipment booting, the second processing function in the electronic equipment is opened;
Wherein, the second processing function is function corresponding with second processing mode.
10. electronic equipment according to claim 6, which is characterized in that the controller uses second processing side in judgement After whether formula can be realized the complete processing for the audio data to be processed, for where it has, using institute It states second processing mode and handles the audio data to be processed.
CN201610509977.5A 2016-06-30 2016-06-30 A kind of processing method and electronic equipment of audio data Active CN106200870B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610509977.5A CN106200870B (en) 2016-06-30 2016-06-30 A kind of processing method and electronic equipment of audio data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610509977.5A CN106200870B (en) 2016-06-30 2016-06-30 A kind of processing method and electronic equipment of audio data

Publications (2)

Publication Number Publication Date
CN106200870A CN106200870A (en) 2016-12-07
CN106200870B true CN106200870B (en) 2019-04-23

Family

ID=57463328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610509977.5A Active CN106200870B (en) 2016-06-30 2016-06-30 A kind of processing method and electronic equipment of audio data

Country Status (1)

Country Link
CN (1) CN106200870B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104793A (en) * 2014-06-30 2014-10-15 百度在线网络技术(北京)有限公司 Audio processing method and device
CN104917904A (en) * 2014-03-14 2015-09-16 联想(北京)有限公司 Voice information processing method and device and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5064995B2 (en) * 2007-12-20 2012-10-31 キヤノン株式会社 Data processing apparatus, data processing method, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104917904A (en) * 2014-03-14 2015-09-16 联想(北京)有限公司 Voice information processing method and device and electronic device
CN104104793A (en) * 2014-06-30 2014-10-15 百度在线网络技术(北京)有限公司 Audio processing method and device

Also Published As

Publication number Publication date
CN106200870A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN103092691B (en) A kind of process management method and administrative unit of Android system
CN104346226A (en) Processor frequency control method and electronic equipment
US20130254571A1 (en) Power management method and apparatus for network access module
CN108924805A (en) Bluetooth connecting method, medium and the first, second electronic equipment and calculating equipment
WO2013026311A1 (en) Method and device for application program operation, mobile terminal
CN104142907B (en) Enhanced processor, processing method and electronic equipment
CN106250747A (en) A kind of information processing method and electronic equipment
CN109032559A (en) A kind of configuration method and system of the same sound pick-up outfit of more Application shares
CN112230877A (en) Voice operation method and device, storage medium and electronic equipment
US9477255B2 (en) Systems and methods for suspending idle devices based on idle policies for the devices
CN105721657A (en) Method and device for adjusting audio parameters of telephone receiver
CN106200870B (en) A kind of processing method and electronic equipment of audio data
CN103631649A (en) Interrupt processing method and device and interrupt controller
CN106598205A (en) Iris recognition module-comprising terminal equipment and power-saving control method therefor
CN206181163U (en) Cell -phone with record is stolen to physics anti -eavesdrop
CN107018192B (en) Upgrade method, device and the audio-frequence player device of audio frequency broadcast system
CN108594952A (en) A kind of method and terminal device of anti-charging interference
CN107239419A (en) It is a kind of that the adaptive method of network interface is realized under PowerPC DPAA patterns
CN110533800B (en) Intelligent door lock control method and device, electronic equipment and storage medium
CN110381379A (en) Idle method, test method and the Related product of network machine top box
CN105740056A (en) Information processing method and electronic device
CN113271646B (en) Decoding and decoding configuration method, terminal and network side equipment
CN105682160B (en) A kind of selection method and device of communication network
CN103747335B (en) A kind of changing method of smart television mode and device
CN109379676A (en) The processing method and processing device of audio data, storage medium, electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant