CN106559703A - A kind for the treatment of method and apparatus of voice data - Google Patents
A kind for the treatment of method and apparatus of voice data Download PDFInfo
- Publication number
- CN106559703A CN106559703A CN201510629152.2A CN201510629152A CN106559703A CN 106559703 A CN106559703 A CN 106559703A CN 201510629152 A CN201510629152 A CN 201510629152A CN 106559703 A CN106559703 A CN 106559703A
- Authority
- CN
- China
- Prior art keywords
- information control
- node
- queue
- control node
- buffering area
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000003672 processing method Methods 0.000 claims abstract description 10
- 230000003139 buffering effect Effects 0.000 claims description 108
- 238000012545 processing Methods 0.000 claims description 5
- 238000002372 labelling Methods 0.000 claims 5
- 230000000630 rising effect Effects 0.000 claims 1
- 230000008859 change Effects 0.000 abstract description 10
- 238000001514 detection method Methods 0.000 abstract description 5
- 230000010365 information processing Effects 0.000 abstract description 2
- 239000000523 sample Substances 0.000 description 77
- 239000000872 buffer Substances 0.000 description 24
- 238000010586 diagram Methods 0.000 description 6
- 238000005070 sampling Methods 0.000 description 5
- 241001269238 Data Species 0.000 description 3
- 230000009471 action Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012217 deletion Methods 0.000 description 3
- 230000037430 deletion Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000013467 fragmentation Methods 0.000 description 2
- 238000006062 fragmentation reaction Methods 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 239000013068 control sample Substances 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
- H04N21/4394—Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/44—Receiver circuitry for the reception of television signals according to analogue transmission standards
- H04N5/60—Receiver circuitry for the reception of television signals according to analogue transmission standards for the sound signals
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
A kind for the treatment of method and apparatus of voice data are embodiments provided, is related to technical field of information processing, to solve in prior art when sample rate changes, if continuing using change of voice problem caused by original sample rate playing audio-fequency data.The processing method of the voice data includes:First information control node is obtained, first information control node is configured information control node, the sample rate comprising voice data to be played in configured information control node;In detection first information control node, whether the sample rate of voice data to be played is identical with current broadcasting sample rate;If it is different, the sample rate of voice data to be played is set to current broadcasting sample rate then.The present invention is applied in digital television system.
Description
Technical field
The present invention relates to technical field of information processing, more particularly to a kind of processing method of voice data and
Device.
Background technology
In existing television system, can receive from including ATV Demod, AV,
Component, VGA (English full name:Video Graphics Array, Chinese:Video and graphic
Array), HDMI (English full name:High Definition Multimedia Interface, Chinese:
HDMI) etc. different TV paths voice data, user can be by switching not
Same path obtains the voice data in respective channels.But, the sampling of voice data on each path
Rate is different, or even the sample rate of the voice data on same path is also likely to be different.For example:
The sample rate of ATV paths is 35.15625Khz, and the sample rate of VGA paths is 48Khz, and
HDMI paths support the sample rate of each frequency ranges of 32Khz~192Khz.
But, when path switches, such as when being switched to VGA paths from ATV paths, or
In HDMI paths the sample rate in institute's play signal source from 48Khz be switched to 32Khz when, if after
The continuous problem for adopting original sample rate to occur the change of voice when can cause to play the voice data for newly capturing.
The content of the invention
A kind for the treatment of method and apparatus of voice data are embodiments provided, it is existing for solving
In technology when sample rate changes, if continuing to become using caused by original sample rate playing audio-fequency data
Sound problem.
In a first aspect, a kind of processing method of voice data is embodiments provided, including:
First information control node is obtained, the first information control node is configured information control
Node, the sample rate comprising voice data to be played in the configured information control node;
Detect the sample rate of voice data to be played in the first information control node whether with currently
Broadcasting sample rate it is identical;
If it is different, the sample rate of the voice data to be played is set to current broadcasting sampling then
Rate.
Second aspect, embodiments provides a kind of processing meanss of voice data, including:
Acquiring unit, for obtaining first information control node, the first information control node is for
The information control node of configuration, includes voice data to be played in the configured information control node
Sample rate;
First detector unit, for the audio frequency to be played in the detection first information control node
Whether the sample rate of data is identical with current broadcasting sample rate;
Setting unit, if detecting difference for first detector unit, by the sound to be played
The sample rate of frequency evidence is set to current broadcasting sample rate.
A kind for the treatment of method and apparatus of voice data are embodiments provided, is believed obtaining first
After breath control node, detect whether the sample rate in first information control node is sampled with current broadcasting
Rate is identical, if it is different, the sample rate in first information control node is set to current broadcasting then adopting
Sample rate.So, the voice data on the path of new switching for capturing is played, or same path but
Before the voice data that sample rate changes, the sampling of the voice data to be played by newly capturing
The sample rate of rate and voice data to be played before is compared, in the case where differing, will be new
Capture voice data to be played sample rate as new broadcasting sample rate, so as to according to new broadcasting
Sample rate is played out, it is to avoid is played using the sample rate before path switching in prior art and is newly caught
The change of voice problem that occurs during the voice data for obtaining or before being changed using sample rate in same path
Sample rate plays the change of voice problem occurred during the voice data for newly capturing.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to embodiment or existing
Accompanying drawing to be used needed for technology description does simply to be introduced, it should be apparent that, in describing below
Accompanying drawing is only some embodiments of the present invention, for those of ordinary skill in the art, is not being paid
On the premise of going out creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of schematic flow sheet of the processing method of voice data provided in an embodiment of the present invention
One;
Fig. 2 is a kind of schematic flow sheet of the processing method of voice data provided in an embodiment of the present invention
Two;
Fig. 3 is the schematic diagram of first buffering area corresponding with WDMA provided in an embodiment of the present invention;
Fig. 4 is audio frequency number between read pointer and write pointer in first buffering area provided in an embodiment of the present invention
According to schematic diagram one;
Fig. 5 is audio frequency number between read pointer and write pointer in first buffering area provided in an embodiment of the present invention
According to schematic diagram two;
Fig. 6 is the interactive schematic diagram of first queue provided in an embodiment of the present invention and the 4th queue;
Fig. 7 is the schematic diagram of second buffering area corresponding with WDMA provided in an embodiment of the present invention;
Fig. 8 is a kind of structural representation of the acquisition equipment of voice data provided in an embodiment of the present invention
One;
Fig. 9 is a kind of structural representation of the acquisition equipment of voice data provided in an embodiment of the present invention
Two.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is entered
Row is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the invention,
Rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art are not having
There is the every other embodiment obtained on the premise of making creative work, belong to protection of the present invention
Scope.
Embodiment one
A kind of processing method of voice data is embodiments provided, as shown in figure 1, including:
Step 101, acquisition first information control node.
Wherein, first information control node is configured information control node, configured information control
Sample rate comprising voice data to be played in node processed.
Whether the sample rate in step 102, detection first information control node is sampled with current broadcasting
Rate is identical.
Step 103, if it is different, then the sample rate in first information control node is set to current
Play sample rate.
Based on the processing method of the voice data shown in step 101- step 103, believe obtaining first
After breath control node, detect whether the sample rate in first information control node is sampled with current broadcasting
Rate is identical, if it is different, the sample rate in first information control node is set to current broadcasting then adopting
Sample rate.So, the voice data on the path of new switching for capturing is played, or same path but
Before the voice data that sample rate changes, the sampling of the voice data to be played by newly capturing
The sample rate of rate and voice data to be played before is compared, in the case where differing, will be new
Capture voice data to be played sample rate as new broadcasting sample rate, so as to according to new broadcasting
Sample rate is played out, it is to avoid is played using the sample rate before path switching in prior art and is newly caught
The change of voice problem that occurs during the voice data for obtaining or before being changed using sample rate in same path
Sample rate plays the change of voice problem occurred during the voice data for newly capturing.
Embodiment two
A kind of processing method of voice data is embodiments provided, as shown in Fig. 2 including:
Step 201, setting first queue, second queue, the 3rd queue and the 4th queue.
Wherein, queue is a kind of special linear list, and it only allows to carry out deletion action in the front end of table,
Insertion operation is carried out in the rear end of table.The end for carrying out insertion operation is referred to as tail of the queue, carries out deletion action
End is referred to as team's head.In queue during no element, referred to as empty queue.In this data structure of queue,
The element for inserting at first will be element deleted at first, otherwise the element being finally inserted will be last quilt
The element of deletion, therefore, queue is otherwise known as the linear list of " first in first out ".The storage side of queue
Formula can be stored using linear list, it is also possible to stored using chained list.The embodiment of the present invention with
It is illustrative that queue carries out storage using chained list.Wherein, chained list is a kind of physical memory cell
Upper discontinuous, non-sequential storage organization, the logical order of data element is by the pointer in chained list
What link orders were realized.By a series of nodes, (in chained list, each element is referred to as node (node to chained list
It is referred to as node)) constitute, node can be dynamically generated at runtime.Generally, each node
Including two parts:One be storing data-elements data field (setting domain name as data), another
It is the pointer field (setting domain name as next) of the next node address of storage, the information stored in pointer field
It is also called pointer or chain.Calculator memory space can be made full use of using list structure, realized flexible
Internal memory dynamic management.
In embodiments of the present invention, first queue is used for the configured letter for managing voice data to be played
Breath control node, the 4th queue is used for management, and the configured information of playing audio-fequency data controls to save
Point.It is convenient for subsequent descriptions, first queue is referred to as into tobe_played queues, the 4th queue is claimed
For played queues.During initialization, tobe_played queues and played queues are sky.
Second queue is used to manage information control node to be configured, and the 3rd queue is used to manage configured
Information control node.It is convenient for subsequent descriptions, second queue is referred to as into tobe_pushed queues,
3rd queue is referred to as into pushed queues.During initialization, distribute N number of information control node, pass through
Tail is inserted method and is inserted in tobe_pushed queues, and N is more than or equal to 1;Pushed queue initializations
When for sky.
It should be noted that in embodiments of the present invention, to first queue, second queue, the 3rd team
Row and the 4th queue are initialized simultaneously, it is of course also possible to before certain queue is needed, to institute
Queue is needed to be initialized.The embodiment of the present invention is as a example by initializing to four queues simultaneously simultaneously
Illustrate.
Step 202, voice data to be played is captured using direct internal memory write WDMA.
Wherein, direct internal memory writes (Write Direct Memory Access, abbreviation WDMA)
Corresponding with first buffering area, first buffering area includes read pointer and write pointer.
In a preferred embodiment of the invention, first buffering area is buffer circle (Ring
Buffer), the buffer circle includes write pointer (write pointer, wpt) and read pointer (read
Pointer, rpt), wherein, wpt represents the storage of the voice data that captures in Ring Buffer
Position, rpt represent the storage location of the voice data in Ring Buffer of reading.Therefore, WDMA
Audio capturing and process work and be mainly by its write pointer and read pointer to complete.Wherein, write
By WDMA oneself, pointer mainly safeguards that read pointer is mainly by CPU controls.
Specifically, wpt, rpt of WDMA and its Ring Buffer of maintenance are shown with reference to Fig. 3
Logical relation schematic diagram.Wherein, st_addr (start address) represents Ring Buffer's
Initial address (or first address), end represent the tail address of Ring Buffer.During initialization, wpt
0, the i.e. initial address equivalent to correspondence Ring Buffer are with rpt.When WDMA captures institute
In the voice data of path, the voice data for capturing can be stored from the initial address of wpt,
Further, since relief area is buffer circle, therefore, when wpt reaches the tail of the Ring Buffer
The first address of Ring Buffer during address, can be automatic jumped to, continues the starting from Ring Buffer
Position starts to store voice data, the voice data for so being captured with the management of Ring Buffer formulas
Memory space, the problem that the memory headroom that can be used for capture with effectively solving is wasted, meanwhile, also cancel
The time restriction of audio capturing, supports the audio capturing of Infinite Time length.
Whether the difference of write pointer and read pointer in step 203, detection first buffering area is more than or waits
In the first predetermined threshold value.
Wherein, length of first predetermined threshold value less than relief area.Optionally, the first predetermined threshold value is big
It is little to be set according to the length of Ring Buffer.Example, if the length of Ring Buffer
For N*M, then the first predetermined threshold value can be set to M, that is to say, that WDMA is corresponding
First buffering area is divided into the relief area of N number of first preset threshold length.In addition, during initialization, can be with
Distribute the information control node of same number (i.e. N number of), method is inserted by tail and is linked to tobe_pushed
In queue.
If the difference of step 204, the write pointer and read pointer detected in first buffering area is more than or waits
In the first predetermined threshold value, then activation threshold value interruption.
Step 205, according to threshold value interrupt, from second queue unload unit data letter to be configured
Control node is ceased, and the information control node to be configured to unloading is configured.
In a preferred embodiment of the invention, step 205 specifically includes following sub-step:
205a, according to threshold value interrupt, from second queue unload unit data information control to be configured
Node processed.
Wherein, mainly include following information in information control node to be configured:Place path, such as
ATV Demod, AV, Component, VGA or HDMI;Channel number, such as 8 sound channels, 6
Sound channel, 2 sound channels etc.;Sample rate, such as 32Khz, 35.15625Khz, 48Khz etc.;It is to be played
The initial address of voice data;The data length of voice data to be played.
For the data structure of information control node to be configured can be defined as follows:
Of course, it is possible to according to actually required information, tie to the data of information control node to be configured
Structure is deleted or is increased, to meet the actual demand of user, in embodiments of the present invention, to be configured
Information control node need to include the initial address of voice data to be played, length and sample rate.
205b, according to the voice data to be played in first buffering area between read pointer to write pointer,
Information control node to be configured to unloading is configured.
As first buffering area is buffer circle, therefore, it may appear that feelings of the write pointer more than read pointer
Condition and write pointer are less than the situation of read pointer.Specifically, with reference to shown in Fig. 4 and Fig. 5, wherein,
Fig. 4 be write pointer more than read pointer situation, when write pointer be more than read pointer when, then from read pointer to
Voice data between write pointer is the voice data between [rpt, wpt], the portion as shown in Fig. 4 bends
Point, and then according to the voice data between [rpt, wpt], to the information control node to be configured for unloading
Configured;Fig. 5 is situation of the read pointer more than write pointer, when write pointer is less than read pointer, then
Voice data between read pointer to write pointer is:Between tail address from read pointer to relief area
Voice data and from the first address of relief area to the voice data write pointer, i.e., from [rpt, end]
And [st_addr, wpt] two section audio data, the part as shown in oblique stroke in Fig. 5, and then basis
[rpt, end] and [st_addr, wpt] two section audio data, the information control section to be configured to unloading
Point is configured.
That is, during per subthreshold down trigger, according in first buffering area from read pointer to writing finger
Voice data to be played between pin, the information control node to unloading are configured, with the letter for postponing
Attribute information comprising voice data to be played in breath control node, the attribute of the voice data to be played
Information includes initial address, the length of voice data to be played and the sound to be played of voice data to be played
The sample rate of frequency evidence.Certainly, voice data to be played can also be located in step 205b
Path, channel number are configured in the information control node to be configured of unloading.So, configured letter
Initial address comprising voice data to be played, the length of voice data to be played in breath control node,
And voice data place to be played path, sample rate, channel number etc..
Step 206, configured information control node is linked in the 3rd queue and first queue.
Configured information control node is linked at into pushed queues and tobe_played queues two
In individual different queue, primarily to clearly distinguishing, it is easy to subsequent operation.
In implementing, configured information control node link (chain) for receiving is arrived
Pushed queues and the rear of queue of tobe_played queues.Wherein, the configured letter that will be received
Breath control node is linked to the rear of queue of tobe_played queues and is transmitted by deliver interfaces,
Meanwhile, information control node configured in pushed queues is yet suffered from.
Step 207, from first queue unload unit data first information control node.
In concrete implementation, before execution step 207, tobe_played queues are first determined whether
Whether it is empty, if sky, then continues the configured of the voice data to be played that chain newly arrives
Information control node (such as new_tobe_played_data in Fig. 6) is to tobe_played queues
Afterbody (such as tobe_played_tail in Fig. 6);If non-NULL, from tobe_played teams
Queue heads (such as tobe_played_head in Fig. 6) the unchain unit datas of row it is configured
Information control node, now, the configured information control node meeting of the new voice data to be broadcast for arriving
Continue to be linked to the afterbody of tobe_played queues, as shown in Figure 6.Wherein, unit data is preferred
For an information control node, voice data to be played corresponding with the information control node, can also claim
For a pen data.
Step 208, according to the initial address of voice data to be played in first information control node and
The length of the voice data to be played, buffers to reading RDMA corresponding second with direct internal memory
Control node in area is configured.
In implementing, the voice data of capture is stored in first buffering area (i.e. audio buffer)
In, the voice data in audio buffer belongs to voice data to be played.The embodiment of the present invention is adopted
RDMA (Read Direct Memory Access, direct internal memory read) is reading Audio Buffer
Voice data to be played in area, wherein, RDMA is actually reading DMA, and DMA is easy to
Communication between different hardware units, and need not rely upon a large amount of interrupt loads of CPU.
In implementing, RDMA has corresponding second buffering area, and the second buffering area includes writing
Pointer (write pointer, wpt), read pointer (read pointer, rpt) and multiple controls
Node i tem, each control node item have configuration information.The voice data of RDMA reads work
Make mainly by its write pointer and read pointer to control what is completed.Wherein, write pointer is mainly by CPU
Control, read pointer are safeguarded by RDMA oneself.
In practice, for RDMA, IC (Integrated Circuit, i.e. integrated circuit) can be with
Its second buffering area is embodied as into a buffer circle, wherein, buffer circle is a kind of data knot
Structure is used to represent fixed dimension, a relief area from beginning to end that be adapted to data cached stream, annular to be slow
A useful properties for rushing area are:Its memory space can be recycled.
The embodiment of the present invention is applied to, the control section that can be embodied as one by one by the second buffering area
Point item, the item are primarily used to control RDMA reading voice datas, wherein, each item
It is made up of 64bit, first 32bit, i.e. first character, is initial address parameter start address
(being abbreviated as st_addr), points to RDMA PCM audio datas to be read and is stored in internal memory
Physical address;Second 32bit, i.e., second word mainly include length parameter length member,
The length represents the length of the PCM audio data to be read.The write pointer of RDMA, reading refer to
The relation of control node item of pin and buffer circle as shown in fig. 7, in buffer circle,
Read pointer points to configured good, to be read item in buffer circle, and write pointer points to loop buffer
Configuring in area or item to be configured.
It should be noted that the number of item is determined by CPU in buffer circle, each item's
The configuration informations such as start address and length, also by CPU real-time update.
Therefore, for step 208 specifically includes following sub-step:
208a, determine the target configuration node pointed by write pointer in second buffering area.
In implementing, target item can be determined using two ways, one is to read wpt
Corresponding depositor, preserves corresponding item information in depositor;Two is by the item of RDMA
(if being 20) is embodied as an Array for structural body, by the index corresponding to array wpt
Target item of wpt positions can be obtained.
208b, the starting that the initial address parameter of target configuration node is set to voice data to be played
Address.
208c, the length that the length parameter of target configuration node is set to voice data to be played.
Specifically, after the embodiment of the present invention obtains target configuration node, configure the target configuration node
The first character (i.e. initial address parameter) of item, is allowed to point to what the voice data to be broadcast was located
The physical address of DDR, is reconfigured at second word (i.e. length parameter) of the item so as to store
The length of the voice data to be played of the unit data.It should be noted that the length can preferably be
The multiple of 128 bytes of hardware requirement.
It should be noted that in order to the write pointer ensured in second buffering area has writeable item, reading
Pointer has the item that can read, and then guarantees to be not in fast (the i.e. CPU configuration RDMA for writing
Item simultaneously updates its wpt), read slow (i.e. RDMA reads the corresponding specified addresses of item, refers to
The data of measured length simultaneously update its rpt) caused by sound jump the problem of (broadcast leakage) broadcast, and write it is slow,
The problem of the fast caused sound interim card read, can calculate write pointer and read pointer in second buffering area
Difference, if the difference of write pointer and read pointer is when meeting some requirements in second buffering area, from
The configured information control node of unit data is unloaded in 3rd queue, and according to the configured of unloading
Information control node corresponding item is configured.In addition, for finger is write in second buffering area
Pin is being met some requirements and can be more than with the difference of read pointer for write pointer with the difference of read pointer
Or be equal to the 4th predetermined threshold value, the 4th predetermined threshold value can according in second buffering area item
Number, disposal ability of CPU etc. are configured, and to meet actual demand, the present invention is to the predetermined threshold value
Set-up mode without limitation.
209th, obtain first information control node.
In a kind of preferred embodiment of the present invention, step 209 includes obtaining and first information control
The corresponding voice data to be played of node.Specifically, obtain treat corresponding with first information control node
Playing audio-fequency data includes following sub-step:
209a, the write pointer updated in second buffering area.
As the corresponding second buffering areas of RDMA are buffer circle, therefore, step 211a includes:
209a1, judge that whether target configuration node is last configuration node of second buffering area.
If so, then execution step 209a2;If it is not, then execution step 209a3.
209a2, the starting point that the write pointer if so, then configured in second buffering area is second buffering area
The position that corresponding first control node in location is located.
209a3, if it is not, then configure second buffering area in write pointer be buffer circle in target match somebody with somebody
Put node close to next control node position.
Specifically, as second buffering area is buffer circle, therefore, it is possible to judge that target item
It is whether last item in Ring Buffer, if target item is Ring Buffer
In last item, then configure first item that its wpt is RDMA original positions and be located
Position.Otherwise, configure the position of the back to back next item that its wpt is target item.
The difference of 209b, the write pointer and read pointer calculated in second buffering area.
If the difference of write pointer and read pointer in 209c, second buffering area is default more than or equal to second
Threshold value, then read the corresponding voice data to be played of configuration node pointed by read pointer.
As the wpt of RDMA is by CPU controls, its rpt is safeguarded by hardware oneself.Match somebody with somebody above-mentioned
Target item is put, after have updated write pointer wpt, when the wpt's and RDMA that have updated position
When the difference of rpt is more than or equal to the second predetermined threshold value (such as 1 item), RDMA will be certainly
The dynamic voice data for reading the designated length in the corresponding core positions of item that its rpt is pointed to, so,
Can ensure that now there is the configuration node that can be read, and then read pointer is pointed in reading second buffering area
Configuration node corresponding to voice data to be played.When the difference of the rpt of wpt and RDMA is less than
During four predetermined threshold values, it is meant that the rpt in RDMA catch up with its wpt soon, therefore, CPU
Need to carry out rate-matched restriction, it is to avoid the rpt in RDMA catch up with its wpt.Wherein, the 4th is pre-
If threshold value can be carried out according to the factor such as disposal ability of the number of item, CPU in second buffering area
Setting.It should be noted that the 4th predetermined threshold value can be identical with the second predetermined threshold value, it is also possible to no
Together.
Meanwhile, the RDMA of the embodiment of the present invention can also update read pointer rpt, by rpt automatically more
Newly to the position of the next item of rpt positions.As the buffer of RDMA is annular
Buffer, when its rpt goes to buffer afterbodys, the original position of the automatic ring to the buffer of meeting,
And wpt then needs CPU to safeguard to annular buffer heads, so as to recycle this section of memory headroom.
Whether the sample rate in step 210, detection first information control node is sampled with current broadcasting
Rate is identical.
Step 211, if it is different, then by the sampling of voice data to be played in first information control node
Rate is set to play sample rate.
Further, voice data to be played corresponding with first information control node be played it is same
When or afterwards, as shown in Fig. 2 the method also includes:
Step 212, first information control node is linked in the 4th queue.
As shown in fig. 6, by first information control node (such as new_played_data in Fig. 6) chain
The afterbody (such as played_tail in Fig. 6) of played queues is connected to, so, by first queue
With the 4th queue, playing audio-fequency data can be treated and playing audio-fequency data has made a distinction, be easy to pipe
Reason.
Further, in order that information control node was unloaded and added on suitable opportunity, to solve
Certainly system memory space wastes and implements caused by distribution information control node that memory fragmentation is excessive asks
Topic, as shown in Fig. 2 the method also includes:
Step 213, the position for determining read pointer place in second buffering area.
Step 214, the difference for calculating the first mark pointer and the second mark pointer in second buffering area.
Wherein, upper of the read pointer position in the first mark pointer sensing second buffering area matches somebody with somebody
Put the position at node place, the position that the first mark pointer is located when the second mark pointer is last release
Put;
If the difference of the first mark pointer and the second mark pointer is more than in step 215, second buffering area
Or be equal to the 3rd predetermined threshold value, then by the 4th queue with the first mark pointer and the second mark pointer it
Between the configured corresponding playing audio-fequency data of configuration node the unloading of information control node.
Wherein, the 3rd predetermined threshold value can be according to the place of the number of item, CPU in second buffering area
Reason ability etc. is set.
Further, in the configured corresponding voice data quilt to be played of information control node of unloading
After broadcasting, as shown in Fig. 2 the method also includes:
Step 216, by the corresponding configured information control section of playing audio-fequency data in the 3rd queue
Point is unloaded and is discharged.
Step 217, the information control node for unloading in the 3rd queue and discharge is linked to into second queue
In.
Wherein, by the 3rd queue, the corresponding configured information control node of playing audio-fequency data is unloaded
Carry and discharge it is meant that by the configuration information release in the information control node of unloading while unloading
Fall.
In concrete implementation, after a voice data is played, play_item interfaces are called,
By judging the first mark pointer and the second mark pointer, in the case where condition is met, judge
Played queues whether non-NULL;If played queue not empties, from played queue heads unchain
One has been broadcast the corresponding information control node of voice data;Simultaneously as including in pushed queues
Information control node corresponding with the voice data played, it is played in the voice data to be played
Afterwards, by callback mechanism, (readjustment realizing interface, the interface are used to complete to tobe_pushed queues
With the operation of information control node in pushed queues) by pushed queues with the sound played
Frequency is unloaded and is discharged according to corresponding information control node, and the release refers to the information control for emptying unloading
Configuration information in node processed, is and then linked to the rear of queue of tobe_pushed queues, this
Sample, the information control node that can reach the fixed number distributed during initialization can move in circles utilization
Purpose, further reduce memory fragmentation generation, it is to avoid the waste of system resource.
The processing method of the voice data provided based on above-mentioned steps, by the form of queue, can be with
Playing audio-fequency data is treated in real time and playing audio-fequency data has been managed respectively, meanwhile, according to
The information control node of configuration, reads corresponding voice data to be played, without the need for as prior art,
Voice data to be played is copied on other one piece of memory headroom, and then it is empty to read the internal memory after copy
Between on voice data to be played.Using the technical scheme described in the embodiment of the present invention, broadcast frequency is being treated
While data will not be capped, opening up and using for the memory headroom backed up before saving is rejected
Frequently impact of the memory copying to systematic function, eliminates internal memory alignment action and then simplifies operation
Flow process, evades the expense of memory pool realization, management and the later maintenance of complexity, simplifies mentality of designing,
The problem of the defect that memory pool brings is avoided while will not being capped realizing voice data to be broadcast.
Meanwhile, the voice data on the path of new switching for capturing is played, or same path but adopt
Before the voice data that sample rate changes, the sample rate of the voice data to be played by newly capturing
The sample rate of voice data to be played before is compared, and in the case where differing, is newly caught
The sample rate of the voice data to be played for obtaining as new broadcasting sample rate, to be adopted according to new broadcasting
Sample rate plays out, it is to avoid play new capture using the sample rate before path switching in prior art
Voice data when the change of voice problem that occurs or adopting before being changed using sample rate in same path
Sample rate plays the change of voice problem occurred during the voice data for newly capturing.
Embodiment three
A kind of processing meanss of voice data are embodiments provided, each function in the device
The implementing of unit may be referred to corresponding method description in embodiment one or embodiment two, here
Repeat no more.As shown in figure 8, the device 90 includes:
Acquiring unit 901, for obtaining first information control node, first information control node is for
The information control node of configuration, adopting comprising voice data to be played in configured information control node
Sample rate;
First detector unit 902, for detecting voice data to be played in first information control node
Whether sample rate is identical with current broadcasting sample rate;
Setting unit 903, if detecting difference for the first detector unit 902, by the first information
In control node, the sample rate of voice data to be played is set to play sample rate.
Optionally, as shown in figure 9, the device 90 also includes:
Node link unit 904, for configured information control node is linked in first queue,
First queue is used for the configured information control node for managing voice data to be played;
Node unloading unit 905, for the first information control of unit data is unloaded from first queue
Node.
Optionally, as shown in figure 9, the device 90 also includes:Queue sets unit 906 and configuration
Unit 907;
Queue sets unit 906, for setting second queue and the 3rd queue, second queue is used to manage
Reason information control node to be configured, comprising at least one information control section to be configured in second queue
Point, the 3rd queue are used to manage configured information control node;
Node unloading unit 905, is additionally operable to when threshold value down trigger, unloads single from second queue
The information control node to be configured of position data;
Dispensing unit 907, configures for the information control node to be configured to unloading;
Node link unit 904, is additionally operable to for configured information control node to be linked to the 3rd queue
In first queue.
Optionally, as shown in figure 9, the device 90 also includes:
Capturing unit 908, for adopting direct internal memory write WDMA to capture voice data to be played,
Wherein, WDMA is corresponding with first buffering area, and first buffering area includes read pointer and write pointer;
Second detector unit 909, for detecting that the difference of write pointer and read pointer in first buffering area is
It is no to be more than or equal to the first predetermined threshold value;
Trigger element 910, if the difference for write pointer in first buffering area and read pointer is more than or waits
In the first predetermined threshold value, then activation threshold value interruption.
Optionally, node unloading unit 905 is unloaded from second queue specifically for being interrupted according to threshold value
Carry the information control node to be configured of unit data;
Dispensing unit 907 specifically for according in first buffering area between read pointer to write pointer
Voice data to be played, by the initial address of voice data to be played, the length of voice data to be played,
The sample rate of voice data to be played is configured in the information control node to be configured of unloading.
Optionally, first information control node includes the initial address and length of voice data to be played
Degree;
Wherein, dispensing unit 907 is additionally operable to according to voice data to be played in first information control node
Initial address and length, to reading matching somebody with somebody in the corresponding second buffering areas of RDMA with direct internal memory
Put node to be configured;Wherein, second buffering area includes read pointer, write pointer and multiple configurations
Node, configuration node have configuration information.
Optionally, configuration information includes the initial address parameter of configuration node, and corresponding length
Parameter;
As shown in figure 9, dispensing unit 907 includes:
Determination subelement 907a, for determining that the target pointed by the write pointer in second buffering area is matched somebody with somebody
Put node;
Configuration subelement 907b, for the initial address parameter of target configuration node to be set to wait to broadcast
Put the initial address of voice data;
Configuration subelement 907b, is additionally operable to be set to the length parameter of target configuration node to be played
The data length of voice data.
Optionally, as shown in figure 9, acquiring unit 901 includes:
Subelement 901a is updated, for updating the write pointer in second buffering area;
Computation subunit 901b, for calculating the difference of the write pointer in second buffering area and read pointer;
Subelement 901c is read, if big with the difference of read pointer for the write pointer in second buffering area
In or be equal to the second predetermined threshold value, then read configuration node pair pointed by read pointer in second buffering area
The voice data to be played answered.
Optionally, second buffering area is buffer circle, update subelement 901a specifically for:
Judge that whether target configuration node is last configuration node of second buffering area;
If so, the write pointer for then configuring in second buffering area is corresponding for the initial address of second buffering area
The position that first configuration node is located;
If it is not, it is target configuration node in second buffering area then to configure the write pointer in second buffering area
The position of next configuration node.
Optionally, as shown in figure 9, the device 90 also includes:Determining unit 911 and computing unit
912;
Node link unit 904, is additionally operable to first information control node is linked in the 4th queue,
4th queue is used for the information control node for safeguarding playing audio-fequency data;
Determining unit 911, for determining the position at read pointer place in second buffering area;
Computing unit 912, for calculating the first mark pointer and the second mark pointer in second buffering area
Difference, the first mark pointer point to second buffering area in read pointer position it is upper one configuration
The position that node is located, the position that the first mark pointer is located when the second mark pointer is last release
Put;
Node unloading unit 905, if being additionally operable to the first mark pointer and the second mark in second buffering area
Note pointer difference be more than or equal to the 3rd predetermined threshold value, by the 4th queue with the first mark pointer and
The information control of the corresponding playing audio-fequency data of configured configuration node between second mark pointer
Node is unloaded.
Optionally, node unloading unit 905, be additionally operable to by the 3rd queue with playing audio-fequency data
Corresponding information control node is unloaded and is discharged;
Node link unit 904, is additionally operable to the information control section that will be unloaded from the 3rd queue and discharge
Point is linked in second queue.
A kind of processing meanss of voice data are embodiments provided, first information control is being obtained
After node, detect sample rate in first information control node whether with current broadcasting sample rate phase
Together, if it is different, then using the sample rate of voice data to be played in first information control node as broadcasting
Sample rate.So, the voice data on the path for playing the new switching for capturing, or same path
But before the voice data that sample rate changes, by adopting the voice data to be played of new capture
The sample rate of sample rate and voice data to be played before is compared, in the case where differing, will
The sample rate of the voice data to be played of new capture as new broadcasting sample rate, to be broadcast according to new
Put sample rate to play out, it is to avoid in prior art, play new using the sample rate before path switching
The change of voice problem that occurs during the voice data of capture or before being changed using sample rate in same path
Sample rate plays the change of voice problem occurred during the voice data for newly capturing.
In several embodiments provided herein, it should be understood that disclosed system, device
And method, can realize by another way.For example, device embodiment described above is only
It is schematic, for example, the division of the unit, only a kind of division of logic function are actual real
Can have now other dividing mode, such as multiple units or component can with reference to or can be with integrated
To another system, or some features can be ignored, or not perform.It is another, it is shown or discussed
Coupling each other direct-coupling or communication connection can be by some interfaces, device or list
The INDIRECT COUPLING of unit or communication connection, can be electrical, mechanical or other forms.
It is described as separating component explanation unit can be or may not be it is physically separate,
As the part that unit shows can be or may not be physical location, you can with positioned at a ground
Side, or can also be distributed on multiple NEs.Can select therein according to the actual needs
Some or all of unit is realizing the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit
In, or the independent physics of unit include, it is also possible to two or more units are integrated in
In one unit.Above-mentioned integrated unit both can be realized in the form of hardware, it would however also be possible to employ hard
Part adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in a calculating
In machine read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, if including
Dry instruction is used so that a computer equipment (can be personal computer, server, or network
Equipment etc.) perform the part steps of each embodiment methods described of the invention.And aforesaid storage medium
Including:USB flash disk, portable hard drive, read only memory (Read-Only Memory, abbreviation ROM),
Random access memory (Random Access Memory, abbreviation RAM), magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
Finally it should be noted that:Above example is only illustrating technical scheme, rather than which is limited
System;Although being described in detail to the present invention with reference to the foregoing embodiments, the ordinary skill of this area
Personnel should be understood:Which still can be modified to the technical scheme described in foregoing embodiments,
Or equivalent is carried out to which part technical characteristic;And these modifications or replacement, do not make phase
Answer the spirit and scope of the essence disengaging various embodiments of the present invention technical scheme of technical scheme.
Claims (22)
1. a kind of processing method of voice data, it is characterised in that include:
First information control node is obtained, the first information control node is configured information control section
Point, the sample rate comprising voice data to be played in the configured information control node;
Detect the sample rate of voice data to be played in the first information control node whether with it is current
Play sample rate identical;
If it is different, then the sample rate of voice data to be played in the first information control node is set to
Play sample rate.
2. method according to claim 1, it is characterised in that the acquisition first information control
Before node, methods described also includes:
Configured information control node is linked in first queue, the first queue is treated for management
The configured information control node of playing audio-fequency data;
The first information control node of unit data is unloaded from the first queue.
3. method according to claim 2, it is characterised in that described by configured information control
Before node link processed is in first queue, methods described also includes:
Setting second queue and the 3rd queue, the second queue are used to manage information control section to be configured
Point, includes at least one information control node to be configured in the second queue, the 3rd queue is used
In the configured information control node of management;
When threshold value down trigger, the to be configured information control of unit data is unloaded from the second queue
Node processed, and the information control node to be configured to the unloading configures;
Configured information control node is linked in the 3rd queue and the first queue.
4. method according to claim 3, it is characterised in that described when threshold value down trigger,
The information control node to be configured of unit data is unloaded from the first queue, and to the unloading
Before information control node to be configured is configured, methods described also includes:
Voice data to be played is captured using direct internal memory write WDMA, wherein, the WDMA
Corresponding with first buffering area, the first buffering area includes read pointer and write pointer;
Detect whether the difference of write pointer and read pointer in the first buffering area is pre- more than or equal to first
If threshold value;
If the difference of write pointer and read pointer is default more than or equal to described first in the first buffering area
Threshold value, then trigger the threshold value and interrupt.
5. method according to claim 4, it is characterised in that described when threshold value down trigger,
The information control node to be configured of unit data is unloaded from the second queue, and to the unloading
Information control node to be configured carries out configuration to be included:
Interrupted according to the threshold value, the information control to be configured of unit data is unloaded from the second queue
Node processed;
According in the first buffering area from the read pointer to the audio frequency to be played the write pointer
Data, by the initial address of the voice data to be played, the length of the voice data to be played, institute
The sample rate for stating voice data to be played is configured in the information control node to be configured of the unloading.
6. method according to claim 5, it is characterised in that the first information control node
Include the initial address and length of voice data to be played;The acquisition first information control node it
Afterwards, methods described also includes:
According to the initial address and length of voice data to be played in the first information control node, to
The configuration node that directly internal memory is read in the corresponding second buffering areas of RDMA is configured;Wherein, institute
Stating second buffering area includes read pointer, write pointer and multiple configuration nodes, and the configuration node has
Configuration information.
7. method according to claim 6, it is characterised in that the configuration information includes institute
State the initial address parameter of configuration node, and corresponding length parameter;
The initial address and length according to voice data to be played in the first information control node,
Configuration is carried out to the control node in second buffering area corresponding with direct internal memory reading RDMA includes:
Determine the target configuration node pointed by write pointer in the second buffering area;
The initial address parameter of the target configuration node is set to into rising for the voice data to be played
Beginning address;
The data that the length parameter of the target configuration node is set to the voice data to be played are long
Degree.
8. method according to claim 7, it is characterised in that the acquisition first information control
Node includes:Obtain voice data to be played corresponding with first information control node;
It is described to obtain corresponding with first information control node voice data to be played and include:
Update the write pointer in the second buffering area;
Calculate the difference of the write pointer in the second buffering area and read pointer;
If the write pointer in the second buffering area is with the difference of read pointer more than or equal to the second default threshold
Value, then read the corresponding audio frequency number to be played of configuration node pointed by read pointer in the second buffering area
According to.
9. method according to claim 8, it is characterised in that the second buffering area is annular
Relief area, the write pointer in the renewal second buffering area include:
Judge that whether the target configuration node is last configuration node of the second buffering area;
If so, then configure the initial address that the write pointer in the second buffering area is the second buffering area
The position that corresponding first configuration node is located;
If it is not, it is target described in the second buffering area then to configure the write pointer in the second buffering area
The position of the adjacent next configuration node of configuration node.
10. method according to claim 6, it is characterised in that methods described also includes:
The first information control node is linked in the 4th queue, the 4th queue is used to safeguard
The information control node of playing audio-fequency data;
Determine the position at read pointer place in the second buffering area;
Calculate the difference of the first mark pointer and the second mark pointer in the second buffering area, described first
Mark pointer is pointed to a upper configuration node of the read pointer position in the second buffering area and is located
Position, the position that the first mark pointer described in when second mark pointer is last release is located;
If the difference of the first mark pointer and the second mark pointer is more than or equal in the second buffering area
3rd predetermined threshold value, then will be referred to first mark pointer and second labelling in the 4th queue
The information control node unloading of the corresponding playing audio-fequency data of configured configuration node between pin.
11. methods according to claim 10, it is characterised in that methods described also includes:
Information control node corresponding with playing audio-fequency data in 3rd queue is unloaded and discharged;
The information control node for unloading from the 3rd queue and discharge is linked to into the second queue
In.
12. a kind of processing meanss of voice data, it is characterised in that include:
Acquiring unit, for obtaining first information control node, the first information control node is to match somebody with somebody
The information control node put, adopting comprising voice data to be played in the configured information control node
Sample rate;
First detector unit, for detecting the voice data to be played in the first information control node
Whether sample rate is identical with current broadcasting sample rate;
Setting unit, if detecting difference for first detector unit, by the first information control
In node processed, the sample rate of voice data to be played is set to play sample rate.
13. devices according to claim 12, it is characterised in that described device also includes:
Node link unit, it is for configured information control node is linked in first queue, described
First queue is used for the configured information control node for managing voice data to be played;
Node unloading unit, for the first information control for unloading unit data from the first queue
Node processed.
14. devices according to claim 13, it is characterised in that described device also includes:Team
Row setup unit and dispensing unit;
The queue sets unit, for setting second queue and the 3rd queue, the second queue is used for
Management information control node to be configured, includes at least one information control to be configured in the second queue
Node processed, the 3rd queue are used to manage configured information control node;
The node unloading unit, is additionally operable to when threshold value down trigger, unloads from the second queue
The information control node to be configured of unit data;
The dispensing unit, configures for the information control node to be configured to the unloading;
The node link unit, be additionally operable to by configured information control node be linked to the 3rd queue and
In the first queue.
15. devices according to claim 14, it is characterised in that described device also includes:
Capturing unit, for adopting direct internal memory write WDMA to capture voice data to be played, wherein,
The WDMA is corresponding with first buffering area, and the first buffering area includes read pointer and write pointer;
Second detector unit, for detect write pointer and read pointer in the first buffering area difference whether
More than or equal to the first predetermined threshold value;
Trigger element, if the difference for write pointer and read pointer in the first buffering area is more than or equal to
First predetermined threshold value, then trigger the threshold value and interrupt.
16. devices according to claim 15, it is characterised in that
The node unloading unit, specifically for being interrupted according to the threshold value, unloads from the second queue
Carry the information control node to be configured of unit data;
The dispensing unit, specifically for writing to described from the read pointer according in the first buffering area
Voice data to be played between pointer, by the initial address of the voice data to be played, described waits to broadcast
Put the length of voice data, the sample rate of the voice data to be played and be configured in the to be configured of the unloading
Information control node in.
17. devices according to claim 16, it is characterised in that the first information control section
Point includes the initial address and length of voice data to be played;
The dispensing unit, is additionally operable to according to voice data to be played in the first information control node
Initial address and length, to the configuration section in second buffering area corresponding with direct internal memory reading RDMA
Point is configured;Wherein, the second buffering area includes read pointer, write pointer and multiple control sections
Point, the configuration node have configuration information.
18. devices according to claim 17, it is characterised in that the configuration information includes
The initial address parameter of the configuration node, and corresponding length parameter;
The dispensing unit includes:
Determination subelement, for determining the target configuration section pointed by the write pointer in the second buffering area
Point;
Configuration subelement, for the initial address parameter of the target configuration node to be set to described wait to broadcast
Put the initial address of voice data;
The configuration subelement, is additionally operable to for the length parameter of the target configuration node to be set to described treating
The data length of playing audio-fequency data.
19. devices according to claim 18, it is characterised in that the acquiring unit includes:
Subelement is updated, for updating the write pointer in the second buffering area;
Computation subunit, for calculating the difference of the write pointer in the second buffering area and read pointer;
Read subelement, if the difference for the write pointer in the second buffering area and read pointer be more than or
Equal to the second default threshold value, then the configuration node pair pointed by read pointer in the second buffering area is read
The voice data to be played answered.
20. devices according to claim 19, it is characterised in that the second buffering area is ring
Shape relief area, the renewal subelement, specifically for:
Judge that whether the target configuration node is last configuration node of the second buffering area;
If so, then configure the initial address that the write pointer in the second buffering area is the second buffering area
The position that corresponding first configuration node is located;
If it is not, it is target described in the second buffering area then to configure the write pointer in the second buffering area
The position of the next configuration node of configuration node.
21. devices according to claim 17, it is characterised in that described device also includes:Really
Order unit and computing unit;
The node link unit, is additionally operable to for the first information control node to be linked to the 4th queue
In, the 4th queue is used for the information control node for safeguarding playing audio-fequency data;
The determining unit, for determining the position at read pointer place in the second buffering area;
The computing unit, refers to for calculating the first mark pointer and the second labelling in the second buffering area
The difference of pin, first mark pointer point to the upper of the read pointer position in the second buffering area
The position that one configuration node is located, second mark pointer, first labelling described in during last release
The position that pointer is located;
The determining unit, if be additionally operable to the first mark pointer and the second labelling in the second buffering area referring to
The difference of pin is more than or equal to the 3rd predetermined threshold value, then will refer to first labelling in the 4th queue
The letter of the corresponding playing audio-fequency data of configured configuration node between pin and second mark pointer
Breath control node unloading.
22. devices according to claim 21, it is characterised in that
The node unloading unit, being additionally operable to will be corresponding with playing audio-fequency data in the 3rd queue
Information control node is unloaded and is discharged;
The node link unit, is additionally operable to the information control that will be unloaded from the 3rd queue and discharge
Node link is in two queue.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510629152.2A CN106559703B (en) | 2015-09-28 | 2015-09-28 | A kind for the treatment of method and apparatus of audio data |
PCT/CN2016/072030 WO2017054376A1 (en) | 2015-09-28 | 2016-01-25 | Audio data processing method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510629152.2A CN106559703B (en) | 2015-09-28 | 2015-09-28 | A kind for the treatment of method and apparatus of audio data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106559703A true CN106559703A (en) | 2017-04-05 |
CN106559703B CN106559703B (en) | 2019-09-20 |
Family
ID=58417016
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510629152.2A Active CN106559703B (en) | 2015-09-28 | 2015-09-28 | A kind for the treatment of method and apparatus of audio data |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106559703B (en) |
WO (1) | WO2017054376A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110166430A (en) * | 2019-04-15 | 2019-08-23 | 珠海全志科技股份有限公司 | A kind of method and system optimizing MTP protocol strategy |
CN110704335A (en) * | 2019-09-03 | 2020-01-17 | 苏州浪潮智能科技有限公司 | Data reading and writing method and device based on asynchronous ring buffer |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1963744A (en) * | 2006-12-13 | 2007-05-16 | 北京中星微电子有限公司 | Self adapting method of sampling frequency of audio frequency interface |
JP2013182243A (en) * | 2012-03-05 | 2013-09-12 | Casio Comput Co Ltd | Musical sound generation device and program |
CN103632674A (en) * | 2013-12-17 | 2014-03-12 | 珠海市魅族科技有限公司 | Audio signal processing method and device |
CN103907287A (en) * | 2011-10-25 | 2014-07-02 | Actiwave公司 | Asynchronous sample rate converter |
CN104183251A (en) * | 2014-08-15 | 2014-12-03 | 广东欧珀移动通信有限公司 | Audio playing method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101854469B1 (en) * | 2011-11-30 | 2018-05-04 | 삼성전자주식회사 | Device and method for determining bit-rate for audio contents |
-
2015
- 2015-09-28 CN CN201510629152.2A patent/CN106559703B/en active Active
-
2016
- 2016-01-25 WO PCT/CN2016/072030 patent/WO2017054376A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1963744A (en) * | 2006-12-13 | 2007-05-16 | 北京中星微电子有限公司 | Self adapting method of sampling frequency of audio frequency interface |
CN103907287A (en) * | 2011-10-25 | 2014-07-02 | Actiwave公司 | Asynchronous sample rate converter |
JP2013182243A (en) * | 2012-03-05 | 2013-09-12 | Casio Comput Co Ltd | Musical sound generation device and program |
CN103632674A (en) * | 2013-12-17 | 2014-03-12 | 珠海市魅族科技有限公司 | Audio signal processing method and device |
CN104183251A (en) * | 2014-08-15 | 2014-12-03 | 广东欧珀移动通信有限公司 | Audio playing method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110166430A (en) * | 2019-04-15 | 2019-08-23 | 珠海全志科技股份有限公司 | A kind of method and system optimizing MTP protocol strategy |
CN110166430B (en) * | 2019-04-15 | 2021-11-30 | 珠海全志科技股份有限公司 | Method and system for optimizing MTP (multiple time transfer protocol) strategy |
CN110704335A (en) * | 2019-09-03 | 2020-01-17 | 苏州浪潮智能科技有限公司 | Data reading and writing method and device based on asynchronous ring buffer |
Also Published As
Publication number | Publication date |
---|---|
WO2017054376A1 (en) | 2017-04-06 |
CN106559703B (en) | 2019-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6811755B2 (en) | Voice wake-up method by reading, equipment, equipment and computer-readable media, programs | |
EP2866137A1 (en) | Apparatus, program, and method for controlling storage devices | |
CN107293316A (en) | A kind of audio data processing method and device | |
US7934025B2 (en) | Content terminated DMA | |
US10733122B2 (en) | System and method for direct memory access in a flash storage | |
US8266371B2 (en) | Non-volatile storage device, host device, non-volatile storage system, data recording method, and program | |
CN106559706A (en) | A kind of processing method of voice data, device and system | |
US20180089095A1 (en) | Flushing pages from solid-state storage device | |
CN109542361A (en) | A kind of distributed memory system file reading, system and relevant apparatus | |
KR102168487B1 (en) | Continuous read burst support at high clock rates | |
CN111381954A (en) | Audio data recording method, system and terminal equipment | |
CN110221781B (en) | Manufacturing method and device of disk fragments, storage medium and intelligent terminal | |
US9483186B1 (en) | Selectable policies for identifiable storage command streams | |
CN104601535B (en) | Method for processing video frequency and system | |
CN106133707A (en) | Cache management | |
US10171868B2 (en) | Method for processing audio data, terminal and television | |
CN106559705B (en) | A kind of processing method of audio data, device and system | |
CN106559703A (en) | A kind for the treatment of method and apparatus of voice data | |
CN104834478B (en) | A kind of data write-in and read method based on isomery mixing storage device | |
WO2017219872A1 (en) | Set top box upgrading and channel changing methods and systems | |
JP2006172206A5 (en) | ||
CN109684258A (en) | A kind of signal processing apparatus and method | |
US9652155B2 (en) | Computer system, cash data management method, and computer | |
CN104199729A (en) | Resource management method and system | |
KR101258529B1 (en) | Memory card system, Memory card and method of performing application program thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Patentee after: Hisense Visual Technology Co., Ltd. Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Patentee before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |