CN102843339A - Method and device for processing time delay - Google Patents

Method and device for processing time delay Download PDF

Info

Publication number
CN102843339A
CN102843339A CN2011101673058A CN201110167305A CN102843339A CN 102843339 A CN102843339 A CN 102843339A CN 2011101673058 A CN2011101673058 A CN 2011101673058A CN 201110167305 A CN201110167305 A CN 201110167305A CN 102843339 A CN102843339 A CN 102843339A
Authority
CN
China
Prior art keywords
delay
jitter
jitter buffer
parameter
network
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
Application number
CN2011101673058A
Other languages
Chinese (zh)
Other versions
CN102843339B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201110167305.8A priority Critical patent/CN102843339B/en
Publication of CN102843339A publication Critical patent/CN102843339A/en
Application granted granted Critical
Publication of CN102843339B publication Critical patent/CN102843339B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for processing time delay to improve connection quality of a VoIP business under different network conditions. The method for processing the time delay comprises the following steps: determining a network jitter parameter for expressing a current network jitter condition; adjusting the time delay parameter of jitter buffer (Jitter Buffer) according to the current network jitter parameter; and carrying out time delay treatment on a data packet in the Jitter Buffer according to the adjusted time delay parameter of Jitter Buffer.

Description

A kind of delay process method and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of delay process method and device.
Background technology
IP-based voice transfer (Voice over Internet Protocol, VoIP) be a kind of be main value-added service with the IP phone, just the sound signal of simulation is done real-time transmission with the pattern of " data packet " on the IP data network.Along with the extensive use of voip technology, various gateway products are used in international and domestic beginning more and more widely, realizing the conversion of analoging sound signal to voice packet, and voice packet are faxed on IP network.Voice packet is according to the packing of real time transport protocol (RTP) form, and the opposite end gateway converts voice packet into analoging sound signal again and plays back.This technology, making becomes possibility through the IP network transferring voice, has formed a kind of public switch telephone network (Public Switched Telephone Network, voice transfer pattern PSTN) of being different from.
Compare PSTN, voip technology has that networking is convenient, investment is little, make things convenient for advantage such as service extension, but because the IP network inherent instability; For example: packet loss, shake, time-delay; Can cause voip quality of service unstable, cause time-delay increase, audio discontinuity, influence communication effect.Especially the problem of network jitter can cause very big influence to voice quality, can serious comfort level and the intelligibility that reduces voice call.Network jitter is that the propagation delay time difference by the heterogeneous networks bag causes.In order to resist this network jitter, in gateway, need the corresponding time-delay of design go to tremble module, promptly dithering cache (Jitter Buffer) is shaken the influence that causes through the mode cancellation network of suitable increase time-delay.
But, do not provide in the prior art and how to confirm the scheme that time-delay is regulated the speed, and the too fast or slow excessively adjustment of delaying time can cause Network Packet Loss, influences speech quality according to the network jitter situation.
Summary of the invention
The embodiment of the invention provides a kind of delay process method and device, in order to improve the speech quality of VoIP business under the heterogeneous networks situation.
A kind of delay process method that the embodiment of the invention provides comprises:
Confirm to be used to represent the network jitter parameter of current network jitter conditions;
According to the current network jitter parameter, the delay parameter of adjustment dithering cache Jitter Buffer;
According to the delay parameter of adjusted Jitter Buffer, the packet among the Jitter Buffer is carried out delay process.
A kind of delay process device that the embodiment of the invention provides comprises:
The unit is confirmed in network jitter, is used to confirm to be used to represent the network jitter parameter of current network jitter conditions;
The delay parameter adjustment unit is used for according to the current network jitter parameter, the delay parameter of adjustment dithering cache Jitter Buffer;
Processing unit is used for the delay parameter according to adjusted Jitter Buffer, and the packet among the Jitter Buffer is carried out delay process.
The embodiment of the invention confirms to be used to represent the network jitter parameter of current network jitter conditions; According to the current network jitter parameter, the delay parameter of adjustment dithering cache Jitter Buffer; According to the delay parameter of adjusted Jitter Buffer, the packet among the Jitter Buffer is carried out delay process, thereby improve the speech quality of VoIP business under the heterogeneous networks situation.
Description of drawings
The schematic flow sheet of a kind of delay process method that Fig. 1 provides for the embodiment of the invention;
The cumulative model sketch map of time-delay when the 20ms that Fig. 2 provides for the embodiment of the invention packs at interval;
The cumulative model sketch map of time-delay when the 10ms that Fig. 3 provides for the embodiment of the invention packs at interval;
The structural representation of a kind of delay process device that Fig. 4 provides for the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of delay process method and device, in order to improve the speech quality of VoIP business under the heterogeneous networks situation.
The time-delay that the embodiment of the invention adopts goes the basic principle of the scheme of trembling to be: when network jitter is serious, increase time-delay; When network jitter alleviates, reduce time-delay.The embodiment of the invention is according to the different situations of change of network jitter, providing time-delay and regulating the speed, through distinguishing the speed that time-delay increases and time-delay reduces, to reach lower actual packet loss and sound effect preferably.When time-delay needs to increase, adjust quickly, to avoid too much Network Packet Loss, when time-delay need reduce, adjustment process slowed down as far as possible, caused unnecessary packet loss to avoid frequent adjustment, influence conversation continuity.
The embodiment of the invention is adjusted time-delay in real time according to the variation of network condition, avoids out realize voice interrupted; In addition, prevent that through adjusting mechanism mouth-to-ear delay from adding up.
Referring to Fig. 1, a kind of delay process method that the embodiment of the invention provides totally comprises step:
S101, confirm to be used to represent the network jitter parameter of current network jitter conditions;
S102, according to the current network jitter parameter, the delay parameter of adjustment dithering cache Jitter Buffer;
S103, according to the delay parameter of adjusted Jitter Buffer, the packet among the Jitter Buffer is carried out delay process.
Provide the concrete scheme the explanation how embodiment of the invention solves the delay accumulation problem below.
Through the packet receiving of synchronous Jitter Buffer chained list and the process of giving out a contract for a project, keep the Jitter Buffer degree of depth constant, make time-delay constant.It is more little to delay time, and the ability of anti-network jitter is poor more, and it is big more to delay time, and communication effect more can not be satisfactory.Therefore, need under the various network environment, test, confirm suitable delay parameter.
Wherein, the said Jitter Buffer degree of depth, the i.e. quantity of the voice packet of Jitter Buffer buffer memory.
Particularly, be to solve the delay accumulation problem, follow the tracks of the process of Jitter Buffer processed voice bag, when the storage of voice packet with read sequential when having skew, adopt at interval the packet loss scheme to remove this skew.So it is constant that the Jitter Buffer degree of depth keeps, time-delay can not increase.
Wherein, described interval packet loss scheme is meant: when needs abandon n voice packet, be not disposable n voice packet to be abandoned continuously, but whenever lose one at a distance from several voice packets (for example 100 voice packets), divide and lost for n time.Adopt this packet loss mode, can avoid serious voice distortion.
The simple packet loss scheme that adopts solves the delay accumulation problem, can reduce the adaptability of gateway under the relatively poor situation of network more, therefore need improve the packet loss scheme.
Before voice packet gets into Jitter Buffer chained list, think and accomplish redundancy packet and the work of reordering of removing that therefore in the Jitter Buffer algorithm that the embodiment of the invention provides, only accomplish following work: time-delay goes to tremble.
Jitter Buffer delays time and trembles when handling, and three kinds of states is arranged: asynchronous (Unsync) state, broadcast (Play) state and wait (Wait) state.
When Jitter Buffer is in Unsync state (Jitter Buffer initial condition); Jitter Buffer carries out synchronously; Guarantee that all delay time time of appointment of later bag synchronously handles again; Saidly synchronously promptly receive bag, reach the preset Jitter Buffer degree of depth up to the quantity of the bag that receives.After accomplishing synchronously, Jitter Buffer is got into the Play state.It is relevant that synchronous result receives the distribution situation of bag with synchronously the time, only can accomplish to make synchronized result near the preset Jitter Buffer degree of depth at present as far as possible.
When Jitter Buffer is in Play state (Jitter Buffer normal operating conditions), get package operation (each 1) from Jitter Buffer evenly.If network jitter is too big, Jitter Buffer can be moved to the Unsync state, if the instantaneous value of i.e. network jitter surpasses the maximum delay of preset permission, then Jitter Buffer can be moved to the Unsync state; If Jitter Buffer is empty, Jitter Buffer can get into the Wait state.
When Jitter Buffer was in Wait state (Jitter Buffer transition state), decision was to digital signal processing chip (DSP) the last bag of repeating transmission or is failure to actuate as requested.According to packet receiving number situation, the decision Jitter Buffer Play state of moving into still is the Unsync state.
The main delay parameter of Jitter Buffer that is provided with in the embodiment of the invention has:
Standard time-delay (Nom Delay): standard time-delay (10ms unit) requires to make synchronized result as far as possible near this value at the Unsync state.For example, Nom_Delay=4.
The maximum delay (Max_Delay) that allows: the maximum delay (10ms unit) of permission.If the time-delay of network maximum instantaneous surpasses this scope, packet loss will appear, and synchronous again, promptly Jitter Buffer gets into the Unsync state again.
Discarded Packets compensation (PLC): this parameter only determines Jitter Buffer when empty, is to retransmit a last bag or be failure to actuate to DSP.For example, PLC is 1, when expression is empty as Jitter Buffer, retransmits a last bag to DSP, and PLC is 0, when expression is empty as Jitter Buffer, is failure to actuate.
The synchronous stand-by period (WaitTimesForSync): decision synchronizing speed.The value of WaitTimesForSync is big more, when Jitter Buffer is in the Unsync state, needs synchronous number of times many more, and synchronized result is more near Nom_Delay, but synchronously consuming time many more.For example, WaitTimesForSync=2.
This WaitTimesForSync parameter is optional.
The maximum retransmit time (MaxResendTimes): when expression is empty as Jitter Buffer, if PLC is 1, the maximum times of continuous retransmission bag.For example, MaxResendTimes=3.
When network packet evenly arrived, Jitter Buffer state machine was in the Play state all the time, and this moment, time-delay should not increase.But because send-receive clock exists asynchronously, the cumulative problem of delaying time can occur, at set intervals, actual time delay will increase by 1 unit (10ms).
The 10ms voice packet number of supposing the current actual Jitter of entering Buffer is P;
Because sampling is inaccurate, detecting new is P ' to 10ms voice packet number;
Before DSP gave out a contract for a project, the 10ms voice packet number among the Jitter Buffer was K;
After DSP gave out a contract for a project, the 10ms voice packet number of staying among the Jitter Buffer was Ks.
For simplicity, suppose that the sampling delay deviation is 2ms.
As shown in Figure 2, actual time delay N is changed to: 4-->5-->6;
As shown in Figure 3, actual time delay N is changed to: 5-->6-->7;
According to above-mentioned analysis; Adjustment Jitter Buffer state machine algorithms; Be under the Play state at Jitter Buffer; Introduce 1 new argument: the actual buffer depth (RealJittDeep) of Jitter Buffer, be used to write down the actual buffer depth of current Jitter Buffer, the relation of it and current actual time delay N is:
N=RealJittDeep-SegNum
Wherein, SegNum is the number of the 10ms voice packet that contains in 1 network packet, i.e. SegNum=PI/10.PI is the packing interval, and for example: if PI is 10ms, then every is a voice packet at a distance from 10ms, if PI is 20ms, is a voice packet at a distance from 20ms whenever then.
That is to say that need the delay time time span of N 10ms of Jitter Buffer is play the voice packet of buffer memory.
According to RealJittDeep, adjust the voice packet buffering number among the Jitter Buffer under the current Play state, the value with RealJittDeep is identical all the time to make the maximum of the voice packet buffering number in the Jitter Buffer chain, promptly remains a normal value.That is to say that the voice packet buffering number among the Jitter Buffer under playing the Play state during greater than RealJittDeep, is carried out packet loss and handled, make that the voice packet buffering number among the Jitter Buffer is RealJittDeep.For example: the maximum of the voice packet buffering number among the Jitter Buffer under the current Play state is 10, and current RealJittDeep is 8, then need abandon 10-8=2 voice packet.
The solution of the cumulative problem of time-delay in the Jitter Buffer new algorithm makes the broadcast time-delay of voice packet accurately to control.
Provide adaptive time-delay in the embodiment of the invention below and go the detailed description of the scheme of trembling.
When network condition changes, calculate current network jitter, and revise delay parameter in view of the above, reaching time-delay and going the purpose of trembling.If network jitter surpasses the Jitter Buffer degree of depth, need to increase time-delay to adapt to this shake, when network condition takes a turn for the better, can make the voice time-delay return to normal level gradually again.
Jitter Buffer state machine algorithms simplicity of design, delay parameter can not be accomplished self adaptation according to network condition, bigger processing can only be set in advance delay time and adapt to network jitter.In order not influence transparently-transmitted fax, modulator-demodulator transmission (Modem) performance; The initial value value of Nom_Delay, Max_Delay is all bigger; For example; The Nom_Delay initial value can be set to 8, and the Max_Delay initial value can be set to 20, so that Jitter Buffer still can operate as normal when network condition is relatively poor.Therefore, be necessary further to improve algorithm, accomplish that delay parameter is along with the network condition adaptive change.
The Jitter Buffer of gateway will realize self adaptation, exactly will be along with network condition is adjusted relevant delay parameter adaptively.Network condition comprises time-delay, shake, packet loss, wherein shakes to have the greatest impact to what Jitter Buffer handled.Therefore, said here self adaptation is exactly that gateway can be adjusted the broadcast time-delay of Jitter Buffer automatically according to the network jitter situation, goes the purpose of trembling thereby reach time-delay.
Realize delaying time and go to tremble, will calculate network jitter parameter (J), this parameter can reflect current network shake situation, removes to adjust in real time the delay parameter in the Jitter Buffer state machine according to it.Treatment step is following:
One, with the each number that arrives the 10ms bag of Jitter Buffer of PktComeThisTime record.Write down Hn PktComeThisTime, obtain maximum wherein, be designated as Pm.Wherein, Hn for example can be 80.
Two, obtain F Pm altogether, be designated as: (Pm) 1, (Pm) 2, (Pm) 3, (Pm) 4 ..., (Pm) F.
For example, F=5.
Three,, calculate current network jitter J (its unit is the number of 10ms bag) according to above-mentioned record case:
J={[(Pm)1*A1]+[(Pm)2*A2]+[(Pm)3*A3]+[(Pm)4*A4]+...+[(Pm)F*AF]}/AH
Wherein, A1, A2, A3, A4...AF represent weights, and:
A1+A2+A3+A4+...+AF=AH;
AF>=AF-1>=...>=A3>=A2>=A1.
Confirm parameters such as Nom_Delay, Max_Delay, RealJittDeep according to J, reach the purpose of adjustment time-delay.
For example, can make Nom_Delay=J, Max_Delay=2J, RealJittDeep=J.
Need to prove,, can slow down the influence of network jitter through the J that said method is confirmed.The shared proportion of AF is big more, and it is fast more that J changes.
Because when Jitter Buffer was in the Play state, parameters such as Nom_Delay, Max_Delay, RealJittDeep also can be adjusted according to J automatically, so the number of times of Jitter Buffer entering Unsync state can significantly reduce.
According to actual test result, other parameters of adjustment Jitter Buffer, for example: the speed that time-delay increases or reduces, promptly adjust A1, A2 ..., the weights of AF distribute.
Adaptive purpose is when network has shake, improves time-delay automatically to adapt to shake; When network recovery just often, reduce gradually and delay time to normal value.Through analyzing final definite following improvement of doing:
In order to reduce packet loss, well change network when relatively poor when big (value of J by from little change) into from network, the AF proportion will increase (but still being the maximum in all weights) when calculating J, thereby guarantees that time-delay is widened rapidly.
When from relatively poor network when good when diminishing greatly (value of J from) that changes into of network, need packet loss to reach the purpose that time-delay reduces, the AF proportion will reduce (but still being the maximum in all weights) when calculating J, guarantees that time-delay slowly descends.
Therefore, when the network variation, the weights AF that is adopted when calculating J is a preset AF value; When network improved, the weights AF that is adopted when calculating J was preset the 2nd AF value; Wherein, an AF value is greater than the 2nd AF value.
The cycle that J recomputates is 10ms.When J became big, the expression network jitter increased, and then will be immediately upgrades delay parameter according to the value of the J of latest computed; When J diminished, the expression network jitter reduced, and the value according to the J of latest computed after the Tw that then can wait for a period of time is upgraded delay parameter.
For example, Tw=5 second.
Can guarantee like this network jitter is reacted rapidly, and can make delay parameter keep constant, avoid frequent adjustment.Tw is big more, can cover bigger shake zone, prevents frequently to adjust delay parameter and causes too many packet loss.
Referring to Fig. 4, a kind of delay process device that the embodiment of the invention provides comprises:
Unit 11 is confirmed in network jitter, is used to confirm to be used to represent the network jitter parameter of current network jitter conditions;
Delay parameter adjustment unit 12 is used for according to the current network jitter parameter, the delay parameter of adjustment dithering cache Jitter Buffer;
Processing unit 13 is used for the delay parameter according to adjusted Jitter Buffer, and the packet among the Jitter Buffer is carried out delay process.
Preferably, unit 11 is confirmed in said network jitter, with the each number that arrives the 10ms bag of Jitter Buffer of PktComeThisTime record; Write down a plurality of PktComeThisTime, and confirm maximum wherein, be designated as Pm; Confirm F Pm altogether, be designated as: (Pm) 1, (Pm) 2, (Pm) 3, (Pm) 4 ..., (Pm) F; Utilize following formula to calculate the network jitter parameter J that is used to represent the current network jitter conditions:
J={[(Pm)1*A1]+[(Pm)2*A2]+[(Pm)3*A3]+[(Pm)4*A4]+...+[(Pm)F*AF]}/AH
Wherein, A1, A2, A3, A4...AF represent weights, and:
A1+A2+A3+A4+...+AF=AH;
AF>=AF-1>=...>=A3>=A2>=A1。
Preferably, the periodically definite said network jitter parameter J in unit 11 is confirmed in said network jitter; And when the network variation, the weights AF that is adopted when calculating J is a preset AF value; When network improved, the weights AF that is adopted when calculating J was preset the 2nd AF value; Wherein, an AF value is greater than the 2nd AF value.
Preferably, said delay parameter adjustment unit 12 is according to J settle the standard delay parameter Nom_Delay, maximum delay parameter Max_Delay;
Said processing unit 13 when Jitter Buffer is in asynchronous Unsync state, receives packet, so that the number of the packet that receives reaches Nom_Delay; When the time-delay of network maximum instantaneous surpasses Max_Delay, make Jitter Buffer be in the Unsync state again, to receive packet again.
Preferably, said delay parameter adjustment unit 12 is further confirmed the actual buffer depth parameters R ealJittDeep of Jitter Buffer according to J;
Said processing unit 13, further the buffering of the voice packet in the Jitter Buffer that plays under Play state number during greater than RealJittDeep, is carried out packet loss and is handled, and makes that the voice packet buffering number among the Jitter Buffer is RealJittDeep.
Preferably, a kind of delay process device that the embodiment of the invention provides is gateway.
In sum; The embodiment of the invention relates to the time-delay of the RTP bag of VoIP communication field and goes the measure of trembling; A kind of speech play delay accumulation that prevents is provided; And the Jitter Buffer time-delay with network self-adapting property goes the technical scheme of trembling, and can improve the communication effect of VoIP under the heterogeneous networks situation, the continuity of especially conversing.Compared with prior art, can be according to the different situations of network change, (relatively poor to change network into good to network to adopt asymmetric manner; And network well changes the relatively poor different situations of network into; Provide different processing modes, select different AF values), realize the time-delay adjustment better; Reduce number of dropped packets and avoid extra packet loss, better communication effect is provided.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of the embodiment of complete hardware embodiment, complete software implementation example or combination software and hardware aspect.And the present invention can be employed in the form that one or more computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code go up the computer program of implementing.
The present invention is that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out through the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in ability vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work; Make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device; Make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of on computer or other programmable devices, carrying out is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1. a delay process method is characterized in that, this method comprises:
Confirm to be used to represent the network jitter parameter of current network jitter conditions;
According to the current network jitter parameter, the delay parameter of adjustment dithering cache Jitter Buffer;
According to the delay parameter of adjusted Jitter Buffer, the packet among the Jitter Buffer is carried out delay process.
2. method according to claim 1 is characterized in that, the said network jitter parameter of confirming to be used to represent the current network jitter conditions comprises:
With the each number that arrives the 10ms bag of Jitter Buffer of PktComeThisTime record; Write down a plurality of PktComeThisTime, and confirm maximum wherein, be designated as Pm;
Confirm F Pm altogether, be designated as: (Pm) 1, (Pm) 2, (Pm) 3, (Pm) 4 ..., (Pm) F;
Utilize following formula to calculate the network jitter parameter J that is used to represent the current network jitter conditions:
J={[(Pm)1*A1]+[(Pm)2*A2]+[(Pm)3*A3]+[(Pm)4*A4]+...+[(Pm)F*AF]}/AH
Wherein, A1, A2, A3, A4...AF represent weights, and:
A1+A2+A3+A4+...+AF=AH;
AF>=AF-1>=...>=A3>=A2>=A1。
3. method according to claim 2 is characterized in that, the calculating of said network jitter parameter J is to carry out in the cycle;
When the network variation, the weights AF that is adopted when calculating J is a preset AF value;
When network improved, the weights AF that is adopted when calculating J was preset the 2nd AF value;
Wherein, an AF value is greater than the 2nd AF value.
4. according to claim 2 or 3 described methods, it is characterized in that said according to the current network shake, the delay parameter of adjustment dithering cache Jitter Buffer comprises:
According to J settle the standard delay parameter Nom_Delay, maximum delay parameter Max_Delay;
Said delay parameter according to adjusted Jitter Buffer carries out delay process to the packet among the Jitter Buffer, comprising:
When Jitter Buffer is in asynchronous Unsync state, receive packet, so that the number of the packet that receives reaches Nom_Delay;
When the time-delay of network maximum instantaneous surpasses Max_Delay, make Jitter Buffer be in the Unsync state again, to receive packet again.
5. method according to claim 4 is characterized in that, and is said according to the current network shake, and the delay parameter of adjustment dithering cache Jitter Buffer also comprises:
Confirm the actual buffer depth parameters R ealJittDeep of Jitter Buffer according to J;
Said delay parameter according to adjusted Jitter Buffer carries out delay process to the packet among the Jitter Buffer, also comprises:
Voice packet buffering number among the Jitter Buffer under playing the Play state during greater than RealJittDeep, is carried out packet loss and is handled, and makes that the voice packet buffering number among the Jitter Buffer is RealJittDeep.
6. a delay process device is characterized in that, this device comprises:
The unit is confirmed in network jitter, is used to confirm to be used to represent the network jitter parameter of current network jitter conditions;
The delay parameter adjustment unit is used for according to the current network jitter parameter, the delay parameter of adjustment dithering cache Jitter Buffer;
Processing unit is used for the delay parameter according to adjusted Jitter Buffer, and the packet among the Jitter Buffer is carried out delay process.
7. device according to claim 6 is characterized in that the unit is confirmed in said network jitter, with the each number that arrives the 10ms bag of Jitter Buffer of PktComeThisTime record; Write down a plurality of PktComeThisTime, and confirm maximum wherein, be designated as Pm; Confirm F Pm altogether, be designated as: (Pm) 1, (Pm) 2, (Pm) 3, (Pm) 4 ..., (Pm) F; Utilize following formula to calculate the network jitter parameter J that is used to represent the current network jitter conditions:
J={[(Pm)1*A1]+[(Pm)2*A2]+[(Pm)3*A3]+[(Pm)4*A4]+...+[(Pm)F*AF]}/AH
Wherein, A1, A2, A3, A4...AF represent weights, and:
A1+A2+A3+A4+...+AF=AH;
AF>=AF-1>=...>=A3>=A2>=A1。
8. device according to claim 7 is characterized in that, the periodically definite said network jitter parameter J in unit is confirmed in said network jitter; And when the network variation, the weights AF that is adopted when calculating J is a preset AF value; When network improved, the weights AF that is adopted when calculating J was preset the 2nd AF value; Wherein, an AF value is greater than the 2nd AF value.
9. according to claim 7 or 8 described devices, it is characterized in that said delay parameter adjustment unit is according to J settle the standard delay parameter Nom_Delay, maximum delay parameter Max_Delay;
Said processing unit when Jitter Buffer is in asynchronous Unsync state, receives packet, so that the number of the packet that receives reaches Nom_Delay; When the time-delay of network maximum instantaneous surpasses Max_Delay, make Jitter Buffer be in the Unsync state again, to receive packet again.
10. device according to claim 9 is characterized in that, said delay parameter adjustment unit is further confirmed the actual buffer depth parameters R ealJittDeep of Jitter Buffer according to J;
Said processing unit, further the buffering of the voice packet in the Jitter Buffer that plays under Play state number during greater than RealJittDeep, is carried out packet loss and is handled, and makes that the voice packet buffering number among the Jitter Buffer is RealJittDeep.
CN201110167305.8A 2011-06-21 2011-06-21 A kind of delay process method and device Active CN102843339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110167305.8A CN102843339B (en) 2011-06-21 2011-06-21 A kind of delay process method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110167305.8A CN102843339B (en) 2011-06-21 2011-06-21 A kind of delay process method and device

Publications (2)

Publication Number Publication Date
CN102843339A true CN102843339A (en) 2012-12-26
CN102843339B CN102843339B (en) 2017-09-19

Family

ID=47370404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110167305.8A Active CN102843339B (en) 2011-06-21 2011-06-21 A kind of delay process method and device

Country Status (1)

Country Link
CN (1) CN102843339B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991477A (en) * 2015-02-11 2016-10-05 腾讯科技(深圳)有限公司 Adjusting method of voice jitter buffer area and apparatus thereof
CN104168218B (en) * 2014-08-15 2018-03-06 珠海多玩信息技术有限公司 Jitter buffer method and device
CN109743263A (en) * 2019-01-14 2019-05-10 北京三体云联科技有限公司 Dynamic jitter buffer method, apparatus and computer equipment
WO2020108540A1 (en) * 2018-11-27 2020-06-04 华为技术有限公司 Data transmission method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1627747A (en) * 2003-12-09 2005-06-15 华为技术有限公司 Method of realizing dynamic adjusting dithered buffer in procedure of voice transmission
US7079486B2 (en) * 2002-02-13 2006-07-18 Agere Systems Inc. Adaptive threshold based jitter buffer management for packetized data
CN101582832A (en) * 2008-05-17 2009-11-18 红杉树(杭州)信息技术有限公司 Method for dynamically processing VoIP jitter buffer area
CN101924683A (en) * 2009-06-09 2010-12-22 华为技术有限公司 Method, device and electronic equipment for dynamically adjusting jitter buffer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7079486B2 (en) * 2002-02-13 2006-07-18 Agere Systems Inc. Adaptive threshold based jitter buffer management for packetized data
CN1627747A (en) * 2003-12-09 2005-06-15 华为技术有限公司 Method of realizing dynamic adjusting dithered buffer in procedure of voice transmission
CN101582832A (en) * 2008-05-17 2009-11-18 红杉树(杭州)信息技术有限公司 Method for dynamically processing VoIP jitter buffer area
CN101924683A (en) * 2009-06-09 2010-12-22 华为技术有限公司 Method, device and electronic equipment for dynamically adjusting jitter buffer

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168218B (en) * 2014-08-15 2018-03-06 珠海多玩信息技术有限公司 Jitter buffer method and device
CN105991477A (en) * 2015-02-11 2016-10-05 腾讯科技(深圳)有限公司 Adjusting method of voice jitter buffer area and apparatus thereof
CN105991477B (en) * 2015-02-11 2019-07-19 腾讯科技(深圳)有限公司 A kind of method of adjustment and device in voice jitter buffer area
WO2020108540A1 (en) * 2018-11-27 2020-06-04 华为技术有限公司 Data transmission method and device
CN109743263A (en) * 2019-01-14 2019-05-10 北京三体云联科技有限公司 Dynamic jitter buffer method, apparatus and computer equipment
CN109743263B (en) * 2019-01-14 2022-06-17 北京世纪好未来教育科技有限公司 Dynamic jitter buffering method and device and computer equipment

Also Published As

Publication number Publication date
CN102843339B (en) 2017-09-19

Similar Documents

Publication Publication Date Title
KR100644978B1 (en) Network telephone and voice decording device
KR100902456B1 (en) Method and apparatus for managing end-to-end voice over internet protocol media latency
JP4744444B2 (en) STREAM DATA RECEIVING / REPRODUCING DEVICE, COMMUNICATION SYSTEM, AND STREAM DATA RECEIVING / REPRODUCING METHOD
CN1320805C (en) Regulating method of adaptive scillation buffer zone of packet switching network
KR101590972B1 (en) A method of scheduling transmission in a communication network, corresponding communication node and computer program product
AU2008330261B2 (en) Play-out delay estimation
CN102843339A (en) Method and device for processing time delay
EP2057522B1 (en) Clock skew compensation
US20180054764A1 (en) Facilitation of adaptive dejitter buffer between mobile devices
CN102292943A (en) Receiving node in a packet communications system and method for managing a buffer in a receiving node in a packet communications system
CN103888381A (en) Device and method used for controlling jitter buffer
US10439948B2 (en) Facilitation of adaptive dejitter buffer
JP2002368800A (en) Method for managing traffic and system for managing traffic
CN102761468A (en) Method and system for adaptive adjustment of voice jitter buffer
JP4699947B2 (en) Communication terminal device
CN108011845A (en) A kind of method and apparatus for reducing time delay
JP2008005392A (en) Communication terminal device and buffer controlling method
JP2006050488A (en) Communication terminal device and buffer control method
EP3202061B1 (en) Managing jitter buffer depth
JP7148199B2 (en) Communication device, communication method and program
JP2011244097A (en) Moving image reproduction terminal, moving image reproduction method, and program
JP4706575B2 (en) Network communication apparatus and reception buffer control method
KR100847168B1 (en) Apparatus and method for rearranging packet sequence for processing jitter in network based on udp/rtp
JP4174017B2 (en) Jitter buffer control method and IP telephone
JP2008311887A (en) Sound signal receiver, sound signal communication equipment, and sound signal receiving method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170628

Address after: Yuhuatai District of Nanjing City, Jiangsu province 210012 Bauhinia Road No. 68

Applicant after: Nanjing Zhongxing New Software Co., Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Applicant before: ZTE Corporation

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191118

Address after: 518057 Nanshan District science and technology, Guangdong Province, South Road, No. 55, No.

Patentee after: ZTE Communications Co., Ltd.

Address before: Yuhuatai District of Nanjing City, Jiangsu province 210012 Bauhinia Road No. 68

Patentee before: Nanjing Zhongxing New Software Co., Ltd.