CN102571561B - PWE3 device and method for reading and writing data in jitter buffer of device - Google Patents

PWE3 device and method for reading and writing data in jitter buffer of device Download PDF

Info

Publication number
CN102571561B
CN102571561B CN201110425275.6A CN201110425275A CN102571561B CN 102571561 B CN102571561 B CN 102571561B CN 201110425275 A CN201110425275 A CN 201110425275A CN 102571561 B CN102571561 B CN 102571561B
Authority
CN
China
Prior art keywords
value
data
dithering cache
pdv
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110425275.6A
Other languages
Chinese (zh)
Other versions
CN102571561A (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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201110425275.6A priority Critical patent/CN102571561B/en
Publication of CN102571561A publication Critical patent/CN102571561A/en
Application granted granted Critical
Publication of CN102571561B publication Critical patent/CN102571561B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a PWE3 (Pseudo-Wire Emulation Edge to Edge) device and a method for reading and writing data in a jitter buffer of the device. The method comprises the steps as follows: setting cycles at intervals, counting residual data amount in the jitter buffer, and obtaining a statistics PDV (path delay value) according to the residual data amount and a TDM (time division multiplexing) business data rate V; ensuring the difference value between the statistics PDV and the current PDV, decreasing the current PDV according to a set step width if the absolute value of the difference value is larger than a set threshold value and the difference value is negative, and increasing the current PDV according to the set step width if the absolute value of the difference value is larger than the set threshold value and the difference value is positive; and determining data amount PDVt according to the TDM business data rate V and the current PDV, and starting to read data from the jitter buffer after data is started to be written in the jitter buffer and until the data amount reaches PDVt. According to the embodiment of the invention, the PDV used for reading and writing jitter buffer data is adjusted dynamically according to a specific step width, so that the balance between delay and packet loss can be realized effectively.

Description

A kind of PWE3 device and the method reading and writing data at dithering cache thereof
Technical field
The present invention relates to Internet technical field, relate in particular to a kind of dithering cache dynamic adjusting method and device.
Background technology
IETF (Internet Engineering Task Force, Internet Engineering task groups) subordinate's PWE3 (Pseudo-Wire Emulation Edge to Edge, the pseudo wire emulation of edge-to-edge) working group is devoted to the research at the upper emulation one deck of PSN (Packet-Switched Network, the packet switching network) and two layer services specially.PWE3 mechanism provides possibility for transmit TDM (Time Division Multiplexing, time division multiplexing) business in packet network.
TDMoIP (Time Division Multiplexing over IP, on IP network, transmit TDM) be a kind of specific implementation technology under PWE3 mechanism, this technology has realized the Circuit Emulation Service of TDM operation transmission on packet switching network, can be at Ethernet, MPLS (Multi-Protocol Label Switching, multiprotocol label switching) Packet Based Network, MEF (Metro Ethernet Forum, Metro Ethernet) etc. carry out PDH (Plesiochronous Digital Hierarchy on network, PDH (Pseudo-synchronous Digital Hierarchy))/SDH (Synchronous Digital Hierarchy, SDH (Synchronous Digital Hierarchy)) etc. the transmission of TDM business.
The network reference model of TDMoIP as shown in Figure 1, PWE3 device completing circuit copying, it transmits the TDM traffic assignments of access in different bundle bundle in Packet Based Network.Each bundle can independently configure the miscellaneous service that any consensus standard in tdmoip, cesopsn and satop and this agreement are supported, PWE3 device can provide multiple bundle, and each bundle has a source address and destination address.
Traditional TDM network utilisation E1 link transmission TDM business, PWE3 device is supported non-structure and is had the TDM business of two types, structure.For structureless TDM business, the data in a whole E1 link of a bundle carrying.For the E1 business that has structure, the data of any number time slot in an E1 link of a bundle carrying.If Fig. 2 is an E1 link, there are 32 time slots, wherein time slot 2,3,4,5 composition bundle0 (B0), time slot 28,29,30 composition bundle1 (B1).
PWE3 device is supported transmitting-receiving bidirectional function, mainly by the processing of following process finishing service:
1) TDM business enters transmitter side PWE3 device;
2) transmitter side PWE3 device, by the TDM business datum receiving, is assigned to the bundle of appointment according to pre-defined rule;
3) transmitter side PWE3 device is for the bundle that is assigned TDM business datum, according to the configuration of this bundle, TDM business datum on this bundle is packaged into PSN packet, it is TDMoIP bag, in TDMoIP bag, carry bundle mark and sequence number, sequence number has identified the time location of TDMoIP bag;
4) transmitter side PWE3 device sends to PSN network by the TDMoIP bag of encapsulation and transmits;
5) receiver side PWE3 device receives TDMoIP bag from PSN network;
6) the TDMoIP bag that the identification of receiver side PWE3 device receives, extracts the bundle mark in TDMoIP bag;
7) receiver side PWE3 device is resolved and is obtained TDM business datum the TDMoIP bag in same bundle, and according to the sequence number in TDMoIP bag, in chronological sequence order is cached to dithering cache district;
8) receiver side PWE3 device is eliminated shake and recovered clock to the TDM business datum in dithering cache district, the recovered clock here recovers the time sequencing of TDM business datum, specific implementation process is PDV of pre-estimation (Path Delay value path delay value) rule of thumb, according to the data v of TDM business datum, obtain data volume PDVt=v*PDV,, in the time that the data volume in dithering cache reaches PDVt, start to read TDM business datum from the original position of dithering cache;
9) receiver side PWE3 device is sent the tdm data of eliminating shake and recovered clock into TDM network according to bundle.
In circuit simulation apparatus, dithering cache has compensated the PDV being brought by Packet Based Network, but has also introduced extra time delay.The TDMoIP bag of burst that dithering cache is level and smooth, the morning TDMoIP bag that buffer memory comes than expection, the late bag that reorders and come than expection, has prevented abandoning of TDMoIP bag.Provide data according to the speed of TDM network to TDM port simultaneously.But because current receiver side PWE3 device is all PDV of rule of thumb pre-estimation, and the PDV of network also can real-time change, when PDV estimates when excessive to bring the extra time delay of TDM network, in the time that PDV is too small, can not compensate the PDV that Packet Based Network is brought, thereby sky phenomenon packet loss can frequently appear reading in dithering cache, be difficult to realize the equilibrium between packet loss and time delay.
Summary of the invention
A kind of method that the invention provides PWE3 device and read and write data at dithering cache, in order to effectively to realize the equilibrium between packet loss and the time delay to occurring when reading and writing data in dithering cache.
The invention provides a kind of method that PWE3 device reads and writes data at dithering cache, comprising:
Interval setting cycle, the remaining data amount in statistics dithering cache, divided by TDM traffic data rate v, obtains adding up PDV value by described remaining data amount;
Determine the difference of statistics PDV value and current PDV value, exceeding setting threshold and described difference at the absolute value of described difference is while bearing, reduces current PDV value by setting step-length;
Exceed setting threshold and described difference is timing at the absolute value of described difference, increase current PDV value by setting step-length;
Current PDV value according to TDM traffic data rate v and after changing, specified data amount PDVt, in the time that the data volume writing in dithering cache reaches PDVt, beginning is from sense data in described dithering cache;
Wherein, the initial value of current PDV value is discreet value.
The present invention also provides a kind of PWE3 device, comprising:
Statistic unit, for interval setting cycle, the remaining data amount in statistics dithering cache, divided by TDM traffic data rate v, obtains adding up PDV value by described remaining data amount;
The first updating block, for determining the difference of statistics PDV value and current PDV value, exceeding setting threshold and described difference at the absolute value of described difference is while bearing, reduces current PDV value by setting step-length;
The second updating block, is timing for exceed setting threshold and described difference at the absolute value of described difference, increases current PDV value by setting step-length;
Read-write cell, for according to TDM traffic data rate v and current PDV value specified data amount PDVt, starting after data writing in dithering cache, when pending data amount reaches PDVt, starts from sense data in described dithering cache;
Wherein, the initial value of current PDV value is discreet value.
The method of utilizing PWE3 device provided by the invention and reading and writing data at dithering cache, there is following beneficial effect: the PDV value using by dynamic adjustment read-write dithering cache data, effectively realize balanced between delay and packet loss, strengthen PWE3 device performance, reduced the requirement to PSN network.
Brief description of the drawings
Fig. 1 is the network reference model figure of existing TDMoIP;
Fig. 2 is the frame structure on existing E1 link;
Fig. 3 is existing dithering cache structural representation;
Fig. 4 is the method flow diagram that embodiment of the present invention PWE3 device reads and writes data at dithering cache;
Fig. 5 is embodiment of the present invention PWE3 structure drawing of device.
Embodiment
Below in conjunction with drawings and Examples, PWE3 device provided by the invention and the method that reads and writes data at dithering cache thereof are illustrated in greater detail.
In PWE3 device, the corresponding dithering cache of each bundle bundle, the structure chart of dithering cache as shown in Figure 3, wherein the movement of PWE3 device by read pointer Read_point is from sense data in dithering cache, TDM traffic data rate v is multiplied by current PDV value specified data amount PDVt, starting after data writing in dithering cache, when pending data amount reaches PDVt (being the position of Fig. 3 pointer pdvt indication), complete the function of initializing of dithering cache, dithering cache enters normal operating conditions, start from sense data in described dithering cache, be that read pointer starts from underrun_limit position to move, until read pointer moves to read pointer maximum Rx_max_size, complete the process of once reading and writing, along with the continuous reception of TDMoIP bag, repeat said process.
Owing to TDMoIP bag being resolved to the TDM business datum that obtains and the sequence number of bag, according to bag sequence number by other data in the TDM business datum being resolved to and this bag in the position that is cached to dithering cache district, as according to sequence number, the message of same bundle, arrange by the sequence number of bag, before what sequence number was number little be buffered in, and then below buffer memory than the bag of previous packet number large 1, the like.Read data side, with fixed rate from dithering cache successively from front to back read data (being that the bag that sequence number is little is first read) then the data of reading are sent to TDM transmission over networks by specific frame format.
The method that the PWE3 device that the embodiment of the present invention provides reads and writes data at dithering cache, constantly update in the following way for PDV value:
Interval setting cycle, the remaining data amount in statistics dithering cache, divided by TDM traffic data rate v, obtains adding up PDV value by described remaining data amount;
Determine the difference of statistics PDV value and current PDV value, exceeding setting threshold and described difference at the absolute value of described difference is while bearing, reduces current PDV value by setting step-length;
Exceed setting threshold and described difference is timing at the absolute value of described difference, increase current PDV value by setting step-length;
Wherein, the initial value of current PDV value is discreet value.
The cycle of above-mentioned statistics PDV value can arrange by CPU as required, and as configuration space, 1ms adds up, and can also be interval At All Other Times certainly.Each step-length of adjusting is time span, and by CPU configuration (it is 2ms that recommendation has the E1 with CAS of structure, and other are 0.5ms), preferably, above-mentioned setting step-length can be 0.5ms.
The PWE3 device that the embodiment of the present invention provides and the method reading and writing data at dithering cache thereof, the current PDV value using when initial is the estimated value of configuration, due to remaining data volume in meeting real-time statistics dithering cache, and be converted into statistics PDV value, according to the difference between current PDV value and statistics PDV value, current PDV value is adjusted, make to add up PDV value and current PDV value difference value remains in certain threshold range, thereby avoid the PDV value of initial estimation excessive or too small, thereby postponing to reach balance effectively between packet loss.
Preferably, the embodiment of the present invention specifically movement by read pointer, from sense data in dithering cache, exceedes setting threshold and described difference when negative at the absolute value of described difference, illustrates that current PDV value is excessive, further comprises:
Read pointer is directly skipped backward in dithering cache to data volume D, then continued mobile read pointer from sense data in dithering cache, described data volume D is multiplied by TDM traffic data rate v and obtains by setting step-length.
In the situation that PDV value is excessive, illustrate that in dithering cache, remaining data amount is too much, therefore read pointer is directly skipped backward in dithering cache to data volume D sense data again, thereby reduce time delay, from time angle, be that read pointer has been moved forward to a step-length, thereby reduced the time delay of a step-length.
Preferably, determine that the difference of statistics PDV value and current PDV value exceedes setting threshold and for timing, illustrates that current PDV value is too small, further comprise:
Repeat to read the data of current read pointer indication in dithering cache, after the data volume that repeats to read reaches data volume D, then continue mobile read pointer from sense data in dithering cache, described data volume D is multiplied by TDM traffic data rate v and obtains by setting step-length.
In the situation that PDV value is too small, the data that adopt particular step size to repeat to read current read pointer indication in dithering cache, increase PDV value, thereby avoid reading sky and caused the big data quantity of burst to be lost, for voice communication, can not cause voice quality obviously to decline, from time angle, the data of first filling a step-length, then from dithering cache sense data.
Further preferably, exceed setting threshold and difference when negative at the absolute value of difference, further comprise:
The remaining data amount of determining dithering cache adds the depth capacity whether setting data amount exceeds dithering cache;
If exceed, only reduce current PDV value by setting step-length, the depth capacity of dithering cache is constant;
If do not exceed, reduce current PDV value by setting step-length, the depth capacity of dithering cache reduces described setting data amount.
Further preferably, the difference of definite statistics PDV value and current PDV value exceedes setting threshold and difference is timing, further comprises:
The depth capacity of dithering cache is increased to setting data amount.
Above-mentioned setting data amount is 2 times of data volume D, and data volume D is multiplied by TDM traffic data rate v and obtains by setting step-length., above-mentioned setting data amount is 2 data of setting step-length.
Contrast the method preferred embodiment that accompanying drawing provides PWE3 device provided by the invention and reads and writes data at dithering cache below.
As shown in Figure 4, mainly comprise the following steps:
Step 400, carries out initialization to device, and when dithering cache initialization, the PDV value that configures an estimation by CPU is current PDV value;
Step 401, determines while arriving measurement period, the remaining data amount in statistics dithering cache, obtains adding up PDV value=remaining data amount/TDM traffic data rate v;
Step 402, determines the difference of adding up PDV value and current PDV value, in the time that difference does not exceed setting threshold, and execution step 403 ', in the time that difference exceedes setting threshold, execution step 403;
Step 403 ', keep current PDV value constant, read pointer and write pointer are by existing procedure normal process;
Step 403, judges whether statistics PDV value is greater than current PDV value, if so, performs step 404, if not, and execution step 406;
Step 404, illustrate that current PDV value is less than the PDV value of real network, increase current PDV value by setting step-length, the depth capacity of dithering cache is increased to setting data amount, setting data amount is 2 times of data volume D, data volume D=sets step-length * TDM traffic data rate v, increases by two step-lengths by the write pointer maximum Rx_max_size of dithering cache;
Step 405, repeat to read the data of current read pointer indication in dithering cache, data volume to be read reaches data volume D, continue again mobile read pointer from sense data in dithering cache, i.e. not mobile read pointer when read data from dithering cache, the data of first filling a step-length send to TDM link, then from dithering cache sense data, determine this dynamically adjustment operation, turned and perform step 401;
When concrete enforcement, above-mentioned steps 404 and step 405 limit without sequencing.
Step 406, the remaining data the amount whether depth capacity of determining dithering cache is greater than dithering cache adds setting data amount, if so, performs step 407, otherwise execution step 408;
Step 407, reduces current PDV value by setting step-length, and the depth capacity of dithering cache reduces described setting data amount, and write pointer maximum reduces by 2 step-lengths;
Step 408, only reduces current PDV value by setting step-length, and the depth capacity of dithering cache is constant, and write pointer maximum remains unchanged;
Step 409, the data that repeat to read current read pointer indication in dithering cache, data volume to be read reaches data volume D, continue again mobile read pointer from sense data in dithering cache, from time angle, read pointer first moves forward a step-length, then reading out data from dithering cache.Determine this dynamically adjustment operation, turned and perform step 401.
The execution of above-mentioned steps 407,408 and 409 limits without sequencing.
The method that the PWE3 device that the embodiment of the present invention provides reads and writes data at dithering cache, dynamically adjusts PDV, with reach postpone with packet loss between balanced; The pointer of employing read-write simultaneously regulates the size of the interior remaining data amount of dithering cache by the next dynamic trace of setting step-length, can not cause the mass data loss that happens suddenly, and causes speech quality obviously to decline, thereby improves the adaptive capacity that PWE3 device changes PSN network jitter.
Based on same inventive concept, a kind of PWE3 device is also provided in the embodiment of the present invention, because the principle that this device is dealt with problems is similar to a kind of method that PWE3 device reads and writes data at dithering cache, therefore the enforcement of this device can be referring to the enforcement of method, repeats part and repeat no more.
The PWE3 device that the embodiment of the present invention provides, as shown in Figure 5, comprising:
Statistic unit 501, for interval setting cycle, the remaining data amount in statistics dithering cache, divided by TDM traffic data rate v, obtains adding up PDV value by described remaining data amount;
The first updating block 502, for determining the difference of statistics PDV value and current PDV value, exceeding setting threshold and described difference at the absolute value of described difference is while bearing, reduces current PDV value by setting step-length;
The second updating block 503, is timing for exceed setting threshold and described difference at the absolute value of described difference, increases current PDV value by setting step-length;
Read-write cell 500, for according to TDM traffic data rate v and current PDV value specified data amount PDVt, starting after data writing in dithering cache, when pending data amount reaches PDVt, starts from sense data in described dithering cache;
Wherein, the initial value of current PDV value is discreet value.
Preferably, the concrete movement by read pointer of read-write cell 500 is from sense data in dithering cache, exceedes setting threshold and difference when negative at the absolute value of difference, and read-write cell 500 is further used for:
Read pointer is directly skipped backward in dithering cache to data volume D, then continued mobile read pointer from sense data in dithering cache, described data volume D is multiplied by TDM traffic data rate v and obtains by setting step-length.
Preferably, the concrete movement by read pointer of read-write cell 500 is from sense data in dithering cache, and the difference of determining statistics PDV value and current PDV value exceedes setting threshold and is timing, and read-write cell 500 further comprises:
Repeat to read the data of current read pointer indication in dithering cache, after the data volume that repeats to read reaches data volume D, then continue mobile read pointer from sense data in dithering cache, described data volume D is multiplied by TDM traffic data rate v and obtains by setting step-length.
Preferably, described the first updating block 502, exceedes setting threshold and described difference when negative at the absolute value of described difference, is further used for:
The remaining data amount of determining dithering cache adds the depth capacity whether setting data amount exceeds dithering cache;
If exceed, only reduce current PDV value by setting step-length, the depth capacity of dithering cache is constant;
If do not exceed, reduce current PDV value by setting step-length, the depth capacity of dithering cache reduces described setting data amount.
Preferably, described the second updating block 503, the difference of definite statistics PDV value and current PDV value exceedes setting threshold and is timing, is further used for: the depth capacity of dithering cache is increased to setting data amount.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, device (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or 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 unit to produce a machine, the instruction that makes to carry out by the processor of computer or other programmable data processing unit produces the device for realizing the function of specifying at flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing unit with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing unit, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame on computer or other programmable devices.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and amendment to these embodiment.So claims are intended to be interpreted as comprising preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if these amendments of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (11)

1. the method that the pseudo wire emulation PWE3 device of edge-to-edge reads and writes data at dithering cache, is characterized in that, comprising:
Interval setting cycle, the remaining data amount in statistics dithering cache, divided by TDM traffic data rate v, obtains adding up path delay value PDV value by described remaining data amount;
Determine that statistics PDV value deducts the difference of current PDV value gained, exceed setting threshold and described difference when bearing at the absolute value of described difference, reduce current PDV value by setting step-length;
Exceed setting threshold and described difference is timing at the absolute value of described difference, increase current PDV value by setting step-length;
Current PDV value according to TDM traffic data rate v and after changing, specified data amount PDVt, in the time that the data volume writing in dithering cache reaches PDVt, beginning is from sense data in described dithering cache;
Wherein, the initial value of current PDV value is discreet value.
2. the method for claim 1, is characterized in that, specifically the movement by read pointer is from sense data in dithering cache, exceedes setting threshold and described difference when negative at the absolute value of described difference, further comprises:
Read pointer is directly skipped backward in dithering cache to data volume D, then continued mobile read pointer from sense data in dithering cache, described data volume D is multiplied by TDM traffic data rate v and obtains by setting step-length.
3. the method for claim 1, it is characterized in that, the concrete movement by read pointer is from sense data in dithering cache, determines that absolute value that statistics PDV value deducts the difference of current PDV value gained exceedes setting threshold and described difference is timing, further comprises:
Repeat to read the data of current read pointer indication in dithering cache, after the data volume that repeats to read reaches data volume D, then continue mobile read pointer from sense data in dithering cache, described data volume D is multiplied by TDM traffic data rate v and obtains by setting step-length.
4. the method for claim 1, is characterized in that, exceedes setting threshold and described difference when negative at the absolute value of described difference, further comprises:
The remaining data amount of determining dithering cache adds the depth capacity whether setting data amount exceeds dithering cache;
If exceed, only reduce current PDV value by setting step-length, the depth capacity of dithering cache is constant;
If do not exceed, reduce current PDV value by setting step-length, the depth capacity of dithering cache reduces described setting data amount.
5. the method for claim 1, is characterized in that, the absolute value that definite statistics PDV value deducts the difference of current PDV value gained exceedes setting threshold and described difference is timing, further comprises:
The depth capacity of dithering cache is increased to setting data amount.
6. the method as described in claim 4 or 5, is characterized in that, described setting data amount is 2 times of data volume D, and data volume D is multiplied by TDM traffic data rate v and obtains by setting step-length.
7. a pseudo wire emulation PWE3 device for edge-to-edge, is characterized in that, comprising:
Statistic unit, for interval setting cycle, the remaining data amount in statistics dithering cache, divided by TDM traffic data rate v, obtains adding up path delay value PDV value by described remaining data amount;
The first updating block, for determining that statistics PDV value deducts the difference of current PDV value gained, exceedes setting threshold and described difference when bearing at the absolute value of described difference, reduces current PDV value by setting step-length;
The second updating block, is timing for exceed setting threshold and described difference at the absolute value of described difference, increases current PDV value by setting step-length;
Read-write cell, for according to TDM traffic data rate v and current PDV value specified data amount PDVt, starting after data writing in dithering cache, when pending data amount reaches PDVt, starts from sense data in described dithering cache;
Wherein, the initial value of current PDV value is discreet value.
8. PWE3 device as claimed in claim 7, it is characterized in that, the described read-write cell specifically movement by read pointer, from sense data in dithering cache, exceedes setting threshold and described difference when negative at the absolute value of described difference, and described read-write cell is further used for:
Read pointer is directly skipped backward in dithering cache to data volume D, then continued mobile read pointer from sense data in dithering cache, described data volume D is multiplied by TDM traffic data rate v and obtains by setting step-length.
9. PWE3 device as claimed in claim 7, it is characterized in that, described read-write cell specifically the movement by read pointer from sense data in dithering cache, the absolute value that definite statistics PDV value deducts the difference of current PDV value gained exceedes setting threshold and described difference is timing, and described read-write cell further comprises:
Repeat to read the data of current read pointer indication in dithering cache, after the data volume that repeats to read reaches data volume D, then continue mobile read pointer from sense data in dithering cache, described data volume D is multiplied by TDM traffic data rate v and obtains by setting step-length.
10. PWE3 device as claimed in claim 7, is characterized in that, described the first updating block exceedes setting threshold and described difference when negative at the absolute value of described difference, is further used for:
The remaining data amount of determining dithering cache adds the depth capacity whether setting data amount exceeds dithering cache;
If exceed, only reduce current PDV value by setting step-length, the depth capacity of dithering cache is constant;
If do not exceed, reduce current PDV value by setting step-length, the depth capacity of dithering cache reduces described setting data amount.
11. PWE3 devices as claimed in claim 7, is characterized in that, described the second updating block determines that absolute value that statistics PDV value deducts the difference of current PDV value gained exceedes setting threshold and described difference is timing, is further used for:
The depth capacity of dithering cache is increased to setting data amount.
CN201110425275.6A 2011-12-16 2011-12-16 PWE3 device and method for reading and writing data in jitter buffer of device Active CN102571561B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110425275.6A CN102571561B (en) 2011-12-16 2011-12-16 PWE3 device and method for reading and writing data in jitter buffer of device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110425275.6A CN102571561B (en) 2011-12-16 2011-12-16 PWE3 device and method for reading and writing data in jitter buffer of device

Publications (2)

Publication Number Publication Date
CN102571561A CN102571561A (en) 2012-07-11
CN102571561B true CN102571561B (en) 2014-08-06

Family

ID=46416064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110425275.6A Active CN102571561B (en) 2011-12-16 2011-12-16 PWE3 device and method for reading and writing data in jitter buffer of device

Country Status (1)

Country Link
CN (1) CN102571561B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182183B (en) * 2014-08-19 2017-03-15 中国航天科技集团公司第九研究院第七七一研究所 A kind of frame data method of reseptance based on frame data serial transmission
CN108924665B (en) * 2018-05-30 2020-11-20 深圳市捷视飞通科技股份有限公司 Method and device for reducing video playing delay, computer equipment and storage medium
CN109378019B (en) * 2018-10-31 2020-12-08 成都极米科技股份有限公司 Audio data reading method and processing system
CN110569102B (en) * 2019-07-22 2022-12-13 华为技术有限公司 Method and device for deploying container instances
CN110620793B (en) * 2019-10-31 2022-03-15 苏州浪潮智能科技有限公司 Method, device and medium for improving audio quality
CN112764933A (en) * 2021-01-27 2021-05-07 惠州Tcl移动通信有限公司 CPU configuration method, device, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110661A (en) * 2007-07-23 2008-01-23 中兴通讯股份有限公司 Dithering cache regulation means for circuit simulation system
CN101640578A (en) * 2009-08-25 2010-02-03 北京邮电大学 TDM service clock recovery method for packet transport network
CN102137012A (en) * 2011-02-21 2011-07-27 华为技术有限公司 Method, system and equipment for ensuring TDM (Time Division Multiplexing) PWE3 (Pseudo-Wire Emulation Edge to Edge) link reliability

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7630409B2 (en) * 2002-10-21 2009-12-08 Lsi Corporation Method and apparatus for improved play-out packet control algorithm

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110661A (en) * 2007-07-23 2008-01-23 中兴通讯股份有限公司 Dithering cache regulation means for circuit simulation system
CN101640578A (en) * 2009-08-25 2010-02-03 北京邮电大学 TDM service clock recovery method for packet transport network
CN102137012A (en) * 2011-02-21 2011-07-27 华为技术有限公司 Method, system and equipment for ensuring TDM (Time Division Multiplexing) PWE3 (Pseudo-Wire Emulation Edge to Edge) link reliability

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
TDM数据在IP分组网传输中的时钟恢复;李晓斐;《中国科技论文在线》;20100104;全文 *
李晓斐.TDM数据在IP分组网传输中的时钟恢复.《中国科技论文在线》.2010,全文.

Also Published As

Publication number Publication date
CN102571561A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
CN102571561B (en) PWE3 device and method for reading and writing data in jitter buffer of device
CN102859941B (en) Renewal to the accumulative residence time being grouped in packet exchange communication network
JP5275466B2 (en) Method and apparatus for providing a modified timestamp in a communication system
US11522801B2 (en) Reducing packet delay variation of time-sensitive packets
CN102804714B (en) Controlling packet transmission
US8149884B2 (en) Jitter buffer control method and communication apparatus
CN108155982B (en) Timestamp processing method and device
CN103825841B (en) A kind of Ethernet packet sorting method and device
CN103299575B (en) Transmitting device and transmission method
KR20150143801A (en) Timestamp generating method, device and system
CN104378193A (en) Time synchronization system and method, exchanger and embedded interface board
CN102377678B (en) Data transmission and processing method and device
CN102457441B (en) PSN (Packet Switched Network) data packet processing method and device
CN113783793A (en) Traffic scheduling method for time-sensitive data frame and related equipment
CN111193567A (en) Time synchronization method, equipment and storage medium
CN108702370A (en) Multithread for network technology interweaves
CN116456450A (en) EtherCAT and 5G fusion networking time synchronization method
CN112838904A (en) TSN network delay jitter measuring device and method
CN108183762A (en) The method for synchronizing time of RapidIO network systems and RapidIO network systems
CN101420281B (en) Method and arrangement for transferring a time of day value between network elements
JP5372699B2 (en) In-vehicle network device
CN103026671A (en) Traffic shaping method and device
CN112039621B (en) Time synchronization method and system
CN101854309A (en) Method and apparatus for managing message output
WO2012162947A1 (en) Method and system for controlling transmission delay

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant