CN103793194A - Voice data effectively processed device and method - Google Patents
Voice data effectively processed device and method Download PDFInfo
- Publication number
- CN103793194A CN103793194A CN201210425972.6A CN201210425972A CN103793194A CN 103793194 A CN103793194 A CN 103793194A CN 201210425972 A CN201210425972 A CN 201210425972A CN 103793194 A CN103793194 A CN 103793194A
- Authority
- CN
- China
- Prior art keywords
- voice data
- module
- processing unit
- central processing
- cpu
- 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.)
- Withdrawn
Links
Images
Abstract
The invention relates to a voice data effectively processed device and method. The voice data effectively processed device comprises an input module which inputs voice data, a storage module which stores the voice data in the storage module, a calculation module which calculates the usage rate of a central processing unit, a processing module which processes whether the input module stops inputting and storing the voice data or not according to the usage rate of the central processing unit, a composition module which composites the stored voice data and a playing module which plays the voice data.
Description
Technical field
The present invention relates to a kind of sound play device and method, especially a kind of apparatus and method of effective processing voice data.
Background technology
Electronic installation has the trend that several functions is market simultaneously, so can meet user's demand in many ways.General electronic installation has CPU (central processing unit) as processing enter, makes electronic installation can carry out multiple different function.Wherein, the processing speed of CPU (central processing unit) is the key factor that affects electronic installation, particularly has the electronic installation of sound-playing function, understands the treatment efficiency because of CPU (central processing unit), and affects the play quality of sound.
In the time that the requirement of sound quality is higher, required central processing unit for processing speed just must be faster.General electronic installation, particularly portable electric device, its storage area having is less, therefore the mode playing sound is mostly when reading in voice data, carry out the broadcasting of voice data on one side, rather than once by the voice data play of wish all read in behind the storage area of electronic installation, then the action of playing.
In conventional art, because the central processing unit for processing speed of some electronic installation is limited, and storage area is less, therefore the performance that makes sound quality is restricted.Illustrate, when the electronic installation of tool playing function is at input audio data and while playing, if CPU (central processing unit) just in time has other multiple programs carrying out and in busy state, so just can cause the action of input audio data to be delayed, in the short time, cannot capture voice data broadcasting is provided and cause.Therefore, the process that causes sound to be play be there will be to the phenomenon of pause and transition in rhythm or melody, make play quality not good, and then cannot meet user's demand.
Summary of the invention
The present invention solves the above-mentioned technical matters existing in background technology, and proposes a kind of apparatus and method of effective processing voice data.
Technical solution of the present invention is: the present invention is a kind of device of effective processing voice data, and its special character is: this device comprises: input audio data, and memory module, is stored in storage module by voice data; Computing module, the utilization rate of calculating CPU (central processing unit); Processing module, according to the utilization rate of CPU (central processing unit), processes load module and whether stops input and stored voice data; Synthesis module, synthesizes the voice data storing; Playing module, data play sound.
When the utilization rate of above-mentioned CPU (central processing unit) is greater than default value, processing module is processed load module and is stopped at storage module input and stored voice data.
Said apparatus comprises: judge module, when the utilization rate of CPU (central processing unit) is greater than default value, and storage module is without the data that can play sound, and processes load module input audio data and provides and give playing module and play.
A method for effective processing voice data, its special character is: the method comprises the following step:
1) input audio data;
2) voice data is stored in to storage module;
3) utilization rate of calculating CPU (central processing unit);
4) judge whether to stop at storage module input and stored voice data;
5) voice data storing is synthesized;
6) data that play sound.
Accompanying drawing explanation
Fig. 1 is apparatus of the present invention embodiment schematic diagram one;
Fig. 2 is apparatus of the present invention embodiment schematic diagram two;
Embodiment
Referring to Fig. 1, the device of effective processing voice data proposed by the invention, be applied in the electronic installation with CPU (central processing unit), this device comprises: load module 10, computing module 20, processing module 30, playing module 40, storage module 50, synthesis module 31.
The device of effective processing voice data proposed by the invention, its practice can use the producer and consumer's model as metaphor.First, playing sound before data, load module 10 is first inputted enough voice datas in storage module 50, and stored data can be guaranteed within a period of time in storage module 50, if CPU (central processing unit) 1 is all in busy state, playing flow still has enough voice datas for playing.In the time that playing module 40 starts to input and play sound data, processing module 30 can be according to computing module 20 current CPU (central processing unit) 1 utilization rate of calculating, and in good time lasting input source voice data is in storage module 50.When CPU (central processing unit) 1 is in busy state, playing module 40 still can be play by obtaining voice data in storage module 50.So, not only guarantee that voice data can normal play, also can solve in prior art, as long as CPU (central processing unit) is busier, can cause the action of input audio data to postpone, making does not have voice data to supply with in the short time, causes playing process to occur sound pause and transition in rhythm or melody problem.
The amount of capacity of storage module 50 is set according to the quality of voice data.If voice data quality is higher, represent that the archives size of voice data is relatively large, therefore the amount of capacity of required storage module 50 is relatively large.On the other hand, storage module 50 amount of capacity also can be set according to CPU (central processing unit) 1 treatment efficiency, when the treatment efficiency of CPU (central processing unit) 1 is higher, represent the speed that CPU (central processing unit) 1 is carried out for program, therefore the amount of capacity of required storage module 50 relatively can be less.Certainly, also can consider after assessment according to conditions such as the tut quality of data and CPU (central processing unit) 1 treatment efficiencies, and be set suitable storage module 50 amount of capacity.
Referring to Fig. 2, the judge modules 60 that increase in embodiment bis-more.
If played sound in the process of data, the utilization rate of CPU (central processing unit) 1 continues to be greater than default value, be that CPU (central processing unit) 1 is always in busy state, make voice data stored in storage module 50 all be played module 40 to playing totally, now can process load module 10 input audio datas by judge module 60, directly offer playing module 40 and play.Under this situation, the voice data of inputting does not need to be stored in storage module 50 again, plays but directly inputted voice data is offered to playing module 40.
A method for effective processing voice data, its special character is: the method comprises the following step:
1) input audio data;
2) voice data is stored in to storage module;
3) utilization rate of calculating CPU (central processing unit);
4) judge whether to stop at storage module input and stored voice data;
5) voice data storing is synthesized;
6) data that play sound.
According to CPU (central processing unit) utilization rate, determine whether to stop at storage module input and stored voice data.In the time that CPU (central processing unit) utilization rate is greater than default value, stop at storage module input and stored voice data.And in the time that CPU (central processing unit) utilization rate is less than default value, in storage module input audio data storage.Wherein, default value can be CPU (central processing unit) overall utilization rate 70%.
Except above-mentioned steps, if CPU (central processing unit) utilization rate is greater than default value, and in storage module without the voice data that can play, directly input audio data and playing.
Claims (4)
1. a device of effectively processing voice data, is characterized in that: this device comprises: load module, and input audio data, memory module, is stored in storage module by voice data; Computing module, the utilization rate of calculating CPU (central processing unit); Processing module, according to the utilization rate of CPU (central processing unit), processes load module and whether stops input and stored voice data; Synthesis module, synthesizes the voice data storing; Playing module, data play sound.
2. the device of a kind of effective processing voice data according to claim 1, is characterized in that: when the utilization rate of described CPU (central processing unit) is greater than default value, processing module is processed load module and stopped at storage module input and stored voice data.
3. the device of a kind of effective processing voice data according to claim 1, it is characterized in that: this device comprises: judge module, when the utilization rate of CPU (central processing unit) is greater than default value, and storage module is without the data that can play sound, processes load module input audio data and provide and give playing module and play.
4. a method of effectively processing voice data, is characterized in that: the method comprises the following step:
1) input audio data;
2) voice data is stored in to storage module;
3) utilization rate of calculating CPU (central processing unit);
4) judge whether to stop at storage module input and stored voice data;
5) voice data storing is synthesized;
6) data that play sound.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210425972.6A CN103793194A (en) | 2012-10-29 | 2012-10-29 | Voice data effectively processed device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210425972.6A CN103793194A (en) | 2012-10-29 | 2012-10-29 | Voice data effectively processed device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103793194A true CN103793194A (en) | 2014-05-14 |
Family
ID=50668920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210425972.6A Withdrawn CN103793194A (en) | 2012-10-29 | 2012-10-29 | Voice data effectively processed device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103793194A (en) |
-
2012
- 2012-10-29 CN CN201210425972.6A patent/CN103793194A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103164215B (en) | Data handling system and the method for being switched between foreign peoples's accelerator | |
WO2008007273A3 (en) | A device and a method for managing power consumption of a plurality of data processing units | |
CN104660792A (en) | Method and device for awakening applications | |
CN104267801A (en) | Power consumption and bandwidth reducing method and system | |
CN108377409A (en) | A kind of seamless play method, terminal device and the storage medium of multimedia file | |
TWI307601B (en) | Power control method for tv module used with portable electronic apparatus | |
CN102609048B (en) | Computer and method for playing audio and video files on demand | |
US20110099404A1 (en) | Electronic device, method of controlling an electronic device, and system-on-chip | |
CN104035725A (en) | Electronic apparatus for data access and data access method therefor | |
CN202373295U (en) | Recording detection device | |
CN103065654B (en) | Mobile device chip and mobile device control method thereof | |
US8682460B2 (en) | System and method for performing audio processing operations by storing information within multiple memories | |
CN103793194A (en) | Voice data effectively processed device and method | |
CN112672405A (en) | Power consumption calculation method and device, storage medium, electronic device and server | |
CN204595833U (en) | A kind of cloud data handling system | |
CN103647914A (en) | Method and device for timed wake-up after television turning-off | |
CN104391564A (en) | Power consumption control method and device | |
CN203038663U (en) | Cloud music player based on cloud computing | |
CN105843363A (en) | Low-power optimization method and device for chip | |
CN100480960C (en) | Control method and system for adjusting operation frequency of microprocessor | |
US20100077189A1 (en) | Computer system having music playing function | |
CN102118645A (en) | System and control method for playing MP3 arranged on set top box | |
CN201425707Y (en) | Device for improving audio frequency playing efficiency | |
CN109656476A (en) | A kind of hardware accelerator and video processing equipment | |
US20130103392A1 (en) | Apparatus and method of reproducing audio data using low power |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20140514 |