The method and device of IMA delay difference detection
Technical field
The present invention relates to the communications field, in particular to a kind of inverse multiplexed asynchronous transfer mode(Inverse
Multiplexing for ATM, referred to as IMA)The method and device of delay variance detection.
Background technology
Due to voice, image, data service develops rapidly so that asynchronous transfer mode(Asynchronous
Transfer Mode, referred to as ATM)Technology is widely used.But mesh portions are being accessed, due to existing a large amount of E1/E2/E3
Speed grade be respectively 2m, 8m, 34m, its span is larger, be applied in combination it is dumb, and the application of current high-speed atm generally with
Based on 6-12M, in these cases, IMA technologies are just arisen at the historic moment.IMA technologies can be by bundling N(0<N<33)Bar E1 links come
Flexible composition 2-64M ATM paths.
The correlation technique data of delay variance in existing IMA process chips and to(for) ima protocol detects and compensation part
Description be substantially with being consistent in agreement, simply simply describe the principle write exactly in agreement, for realize
Part do not describe clearly substantially.And the less disposal ability of number of links is largely all merely provided, also one
Part is that by means of software to realize the calculating of delay variance so that realization becomes complicated.
Wherein, the LLP chips in correlation technique may determine that for data cached DCB(Delay Compensation
Buffer)Whether occur writing full or read sky, and empty state completely or is read to determine whether link occurs postponing to surpass by reading
The situation of limit.This mode is needed using complicated algorithm generation IDCR, to reach read-write speed identical purpose, but for super
Crossing the more delay variance of DCB capacity can not correctly reflect.
In correlation technique, the method for IMA delay difference detection is complex, and can only handle the less feelings of number of links
Condition.
The content of the invention
The invention provides a kind of method and device of IMA delay difference detection, at least to solve in correlation technique, IMA
The method of delay variance detection is complex, and the problem of number of links less situation can only be handled.
According to an aspect of the invention, there is provided a kind of method of IMA delay difference detection, including:ATM cell is entered
Row serial number;Numbered according to the ATM cell of ATM cell and carry out delay variance detection.
Preferably, numbering progress delay variance detection according to the ATM cell of the ATM cell includes:To own in IMA groups
Compared with the ATM cell numbering of link is numbered successively with ATM cell maximum in the IMA groups;Determine ATM cell numbering with
Whether the difference of the maximum ATM cell numbering exceedes preset first threshold value, wherein, the ATM more than preset first threshold value believes
Member is not detected by delay variance;Remaining ATM cell is to be detected by delay variance.
Preferably, by the ATM cell numbering of all links in IMA groups and maximum ATM cell numbering in the IMA groups according to
It is secondary be compared before, in addition to:It is successively read the ATM cell numbering of all links in the IMA groups;To in the IMA groups
All links ATM cell numbering be ranked up.
Preferably, after being ranked up to the ATM cells of all links in IMA groups numbering, in addition to:Determine institute
The ATM cell for stating all links in IMA groups is numbered within preset range.
Preferably, methods described also includes:When increasing new link in the IMA groups, record in the IMA groups it is current most
Big ATM cell numbering CmaxWith minimum ATM cell numbering Cmin;Judge whether the ATM cell numbering of the new link is more than CmaxWith
Preset the difference of Second Threshold and be less than CminWith the default Second Threshold sum;If it is, confirm that the new link passes through institute
State delay variance detection.
Preferably, carrying out serial number to the ATM cell includes:The ima frame sequence of the ima frame received according to icp cell
Number and ICP deviants generation ATM cell numbering.
Preferably, numbered according to the ATM cell after carrying out delay variance detection, in addition to:To passing through the delay
The link of Difference test, when at least a link enters activation Active states in the IMA groups, by the IMA groups
Read pointer is revised as the ATM cell numbering of minimum.
Preferably, after the read pointer of the IMA groups being revised as into the ATM cell numbering of minimum, in addition to:Described in detection
Whether all ATM cell numberings are both greater than amended read pointer in IMA groups;If it is not, then continue to detect, until all ATM
Untill cell number is both greater than amended read pointer.
According to another aspect of the present invention, there is provided a kind of device of IMA delay difference detection, including:Numbering module, use
In to ATM cell progress serial number;Detection module, delay variance inspection is carried out for being numbered according to the ATM cell of ATM cell
Survey.
Preferably, the detection module includes:Comparing unit, for by IMA groups all links ATM cell numbering with
Maximum ATM cell numbering is compared successively in the IMA groups;Determining unit, for determine ATM cell numbering with it is described most
Whether the difference of big ATM cell numbering exceedes preset first threshold value, wherein, the ATM cell more than preset first threshold value is not
Detected by delay variance;Remaining ATM cell is to be detected by delay variance.
Preferably, described device also includes:Logging modle, during for increasing new link in the IMA groups, described in record
Current maximum ATM cell numbering C in IMA groupsmaxWith minimum ATM cell numbering Cmin;Judge module, for judging the new link
ATM cell numbering whether be more than CmaxAnd the difference of default Second Threshold and it is less than CminWith the default Second Threshold sum;Really
Recognize module, be more than C for the ATM cell numbering in the new linkmaxAnd the difference of default Second Threshold and it is less than CminWith it is described
In the case of default Second Threshold sum, confirm that the new link is detected by the delay variance.
Preferably, described device also includes:Modified module, for the link to being detected by the delay variance, work as institute
In the case of stating the interior at least link entrance activation Active state of IMA groups, the read pointer of the IMA groups is revised as most
Small ATM cell numbering.
Present invention employs following method:Serial number is carried out to ATM cell, and is numbered according to the ATM cell of ATM cell
Carry out delay variance detection.The present invention is numbered by continuous ATM cell and carries out delay variance detection, solves correlation technique
In, the method for IMA delay difference detection is complex, and the problem of number of links less situation can only be handled, and then cause
The methods simplification of IMA delay difference detection, can also carry out delay variance detection in the case that number of links is more,
Improve systematic function.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair
Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the method for IMA delay difference detection according to embodiments of the present invention;
Fig. 2 is the structured flowchart one of the device of IMA delay difference detection according to embodiments of the present invention;
Fig. 3 is the structured flowchart two of the device of IMA delay difference detection according to embodiments of the present invention;
Fig. 4 is the structured flowchart three of the device of IMA delay difference detection according to embodiments of the present invention;
Fig. 5 is the structured flowchart four of the device of IMA delay difference detection according to embodiments of the present invention;
Fig. 6 is the structural representation of the device of IMA delay difference detection according to embodiments of the present invention.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that do not conflicting
In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
Based on exist in correlation technique IMA delay difference detection method it is complex, and can only handle number of links compared with
The problem of few situation, the invention provides a kind of method of IMA delay difference detection, the flow of this method can be such as Fig. 1 institutes
Show, the flow includes step S102 to step S104:
Step S102, serial number is carried out to ATM cell;
Step S104, numbered according to the ATM cell of ATM cell and carry out delay variance detection.
The present embodiment employs the above method, i.e., is numbered by continuous ATM cell and carry out delay variance detection, with continuous
Number to determine temporal continuity, it is no longer necessary to which a large amount of and complicated algorithms generates cell rate to carry out delay variance inspection
Survey, solve in correlation technique, the method for IMA delay difference detection is complex, and can only handle the less feelings of number of links
The problem of condition, and then cause the methods simplification of IMA delay difference detection, can also in the case that number of links is more
Delay variance detection is carried out, improves systematic function.Above-mentioned steps S102 embodies carries out serial number, the step to ATM cell
Rapid purpose is to obtain the serial number of ATM cell, so no matter by which kind of mode, can as long as being that of obtaining serial number
With, those skilled in the art can perform different numberings according to actual conditions, for example, can be carried by ima frame
Relevant information in icp cell is numbered.
Preferably, can be according to ima frame sequence number and ICP deviants generation ATM cell numbering during implementation.
During calculating ATM cell numbering, the volume of different original positions can be carried out according to the different team ATM of its bit wide
Number.The process of the numbering is that the initialization just carried out when receiving first effective icp cell calculates, and now, calculating is
First ATM cell numbering, hereafter, other non-icp cells add one on the basis of can numbering herein, then are generated according to this method
Numbering is continuous.
After continuous ATM cell numbering is achieved, step S104 is performed, the step can include following processing procedure:
(1)The ATM cell numbering of all links in IMA groups and ATM cell numbering maximum in IMA groups are compared successively
Compared with;
(2)Determine whether the difference of ATM cell numbering and maximum ATM cell numbering exceedes preset first threshold value.If
This difference exceedes preset first threshold value, it is determined that ATM cell now is not detected by delay variance;When this difference not
During more than preset first threshold value, it is determined that now ATM cell is to be detected by delay variance.
During judging whether ATM cell is detected by delay variance, by the ATM cell of all links in IMA groups
The workload numbered compared with being numbered successively with ATM cell maximum in IMA groups is larger, in order to reduce above-mentioned processing procedure
(1)Workload, can also be in processing procedure(1)Increase the process of a sequence before:It is successively read all links in IMA groups
ATM cell numbering;The ATM cell numbering of all links in IMA groups is ranked up.In the ATM cell to all links
After numbering is ranked up, then ATM cell numbering just becomes neat, at this point it is possible to will be maximum in the numbering of ATM cell and IMA groups
ATM cell numbering be compared successively, exceed default the with the difference of the ATM cell of maximum numbering if now also found
The ATM cell of one threshold value, then the cell is abandoned, because sequence reason, follow-up ATM cell numbering is compiled with maximum ATM cell
Number difference can also exceed preset first threshold value surely, without carry out it is follow-up compare, save system resource.
It is relatively difficult due to being ranked up to the ATM cell numbering of 32 Member Links during sequence, therefore I
Employ a kind of method of compromise, that is, be just considered ranking results when limiting the value of 32 Member Links in the range of some
Effectively.Based on above-mentioned thought, it after sequence, can determine that whether the ATM cell of all links in IMA groups is numbered in predetermined model
Within enclosing.If within preset range, ranking results are effective, you can to carry out delay variance inspection according to the ranking results
Survey.If not within preset range, then it is assumed that the ranking results are invalid.
After above-mentioned delay variance detection group has built up and enters normal work, when increasing new link in IMA groups, behaviour
Making step can be as follows:Record current maximum ATM cell numbering C in IMA groupsmaxWith minimum ATM cell numbering Cmin;Judge new chain
Whether the ATM cell numbering on road is more than CmaxAnd the difference of default Second Threshold and it is less than CminWith default Second Threshold sum;If
It is then to confirm that new link is detected by delay variance.
In implementation process, because system has very strong compatibility, then it can be detected with originally by delay variance
Link ATM cell numbering ranking results as benchmark, for less than maximum certain value or more than minimum value certain value
Link be determined as that delay variance transfinites, abandon the ima frame, and can report and transfinite with simultaneous selection(LODS)Alarm, notify chain
Road increase failure.The newly-increased link of others then thinks that, by detection, the Link State after participating in redirects.
After the detection of above-mentioned delay variance has result, delay compensation is carried out to the link detected by delay variance, will
Exported after the ima frame alignment not lined up originally in same IMA groups.When at least a link enters activation in IMA groups
(Active)During state, the ATM cell that the read pointer of IMA groups is revised as to minimum is numbered, and hereafter the reading of all links is grasped in group
Make to carry out all using the read pointer as benchmark.
During alignment carries out differential delay compensation, whether all big also need to detect all ATM cell numberings in IMA groups
In amended read pointer.When handling all links in some IMA group, if the ATM cell numbering of all Active links
Group read pointer both greater than now, then this all link can read a cell;Otherwise wait for, until meeting above-mentioned bar
Part.In implementation process, group read pointer serves the effect for the data for recovering original, ensures that all links same time reads
The data come all are to send the same time in data source header, and the effect of protection is served in whole process.
After above-mentioned compensation terminates, after other cells of the incorrect cell of data in the data of all readings are abandoned then
Original ATM data flows are recovered.
Above-described embodiment and preferred embodiment are illustrated with reference to preferred embodiment.
Embodiment one
The present embodiment illustrates embodiment so that one comprising the IMA groups of 32 Member Links as an example.
Assuming that current IMA group M values are 32, i.e. an ima frame includes 32 ATM cells, wherein one and only one ICP letters
Member, 8bit ima frame sequence number and 8bit ICP skews are contained in the icp cell(offset), wherein, ICP offset are used
To specify positions of the ICP in ima frame, the value is more than or equal to 0 and is less than 32 in the present embodiment, you can with any bit in 0 to 31
Put.
After above-mentioned parameter determination, when receiving an effective icp cell, it is possible to which initialization calculates an ATM
Cell number(Here the bit wide that 10bit is the value is taken), calculation formula is:ATM cell numbering=ima frame sequence number x32+ICP
offset.Hereafter the ATM cell numbering of other non-icp cells just adds 1 on the basis of previous cell, material is thus formed
Continuous ATM cell numbering based on ICP.
When handling the IMA groups, by link ID by 0 to 31 all links of order poll, the ATM cell of each link is read
Number value is compared, due to being worth with to 32(These values are also possible to that the situation for writing upset all over occurs, for example count down to 1023
One is added to return to 0 again afterwards)It is ranked up relatively difficult, therefore the numerical value that compares of participation is once limited here, only
At least one value is at [511-N, 511+N] in being worth when 32(N value can adjust as the case may be, compare between 10-20
It is good)Between comparative result be just considered effective, after being specified that, can be protected when the delay variance between link is when being excessive
The ATM cell numbering for demonstrate,proving all links is all relatively close to 511, is not in the situation for filling it up with upset.It is effective when obtaining
Comparative result after have detected with regard to delay variance can be carried out.Wherein, should during choose 511 be 1 to 1023 in one more
Numeral placed in the middle, it is of course also possible to 506 are selected, 512 etc..
Below so that patient delay variance is up to 40ms as an example, above-mentioned detection method is illustrated.
Set up immediately in delay variance detection:If the difference of ATM cell numbering maximum and minimum value is less than in 32 links
Equal to 181(The equivalent time is about 40ms), then all links detected by delay variance.If the difference of maximum and minimum value is big
Detected in the link that 181 all ATM cell number values are between [maximum -181, maximum] by delay variance, its
His reports delay variance LODS to alert.
Increase link during group normal work:Unlike establishment immediately, when organizing normal work, it is impossible to because newly add
Link, which causes the link in group delay variance occur, to transfinite appearance.Therefore, it is necessary to first to normal work when organizing work
The ATM cell numbering of link is ranked up, and the max min at this moment obtained is designated as C respectivelymax、Cmin, increase newly link be with
Under several situations detected by delay variance:
1. newly-increased link ATM cell numbering is in [Cmin, Cmax] between pass through postpone detection.
2. newly-increased link ATM cell numbering is less than Cmin, but in [Cmax- 181, Cmax] between pass through postpone detection.
3. newly-increased link ATM cell numbering is more than Cmax, but in [Cmin, CminBeing detected by delay between+181].
Redirected by postponing the link after detecting according to correlated condition execution Link State, delay compensation is in all links
State is carried out between Active link.
Compensation is set up immediately, minimum with ATM cell numbering in current all links(Link delay is maximum)Link be base
Standard, initialize read pointer, initialization value Cmin-4(4 are used as buffer protection).Increase stood for unified establishment with establishment immediately after
The compensation of link, using following strategy, it is assumed that current group read pointer is rd_ptr:
If 1. currently organize the ATM cell numberings of all Active links all in [rd_ptr+4, rd_ptr+200], then from
In system respectively a cell is read by the order that link Link ID are 0-31.
If 2. there is any Active link ATM cell numbering to be in [rd_ptr-177, rd_ptr+3], then current group
Have to wait for, until meeting the condition all read in 1.
3. represent exception occur if having the appearance of other situations.
Wherein, it above-mentioned 177 can be calculated by fixed delay variance with 200 selection, will finally be read from system
ICP in the data gone out, filling(filler)Cell has just recovered original ATM data flows after abandoning.
The present embodiment utilizes SDH time division multiplexing feature, and on the basis of existing technology, innovation generates ATM cell
Numbering, and delay variance is realized by the cell number and detected, delay compensation and data recovery, not only realize Large Copacity
Ima protocol processing, also achieves IMA data delay compensations and recovers, and avoids the compensating and restoring algorithm of complexity.
The embodiment of the present invention additionally provides a kind of device of IMA delay difference detection, the structure of the device as shown in Fig. 2
Including:Numbering module 10, for carrying out serial number to ATM cell;Detection module 20, coupled with numbering module 10, for root
Delay variance detection is carried out according to the ATM cell numbering of ATM cell.
During implementation, numbering module 10 can be used for according to icp cell receive ima frame ima frame sequence number and
ICP deviants generation asynchronous transfer mode ATM cell numbering.
Wherein, Fig. 3 shows the structural frames of the device of the IMA delay difference detection of the internal structure including detection module 20
Figure, the detection module 20 include:Comparing unit 202, for the ATM cell numbering of all links in IMA groups and IMA groups is interior most
Big ATM cell numbering is compared successively;Determining unit 204, coupled with comparing unit 202, for determining that ATM cell is numbered
Whether exceed preset first threshold value with the difference of the ATM cell numbering of maximum, wherein, more than the ATM cell of preset first threshold value
Not detected by delay variance;Remaining ATM cell is to be detected by delay variance.
Fig. 4 shows the structured flowchart after the present embodiment optimization, and the device can also include:Logging modle 30, with detection
Module 20 couples, for when increasing new link in IMA groups, recording current maximum ATM cell numbering C in IMA groupsmaxAnd minimum
ATM cell numbering Cmin;Judge module 40, coupled with logging modle 30, whether the ATM cell for judging new link numbers big
In CmaxAnd the difference of default Second Threshold and it is less than CminWith default Second Threshold sum;Module 50 is confirmed, with the coupling of judge module 40
Close, be more than C for the ATM cell numbering in new linkmaxAnd the difference of default Second Threshold and it is less than CminWith default Second Threshold
In the case of sum, confirm that new link is detected by delay variance.
Preferably, said apparatus also includes the modified module 60 that newly adds in Fig. 5, for being detected by delay variance
Link, in the case that at least a link enters Active states in IMA groups, the read pointer of IMA groups is revised as minimum
ATM cell numbering.
In implementation process, for the device after addition modified module 60, it is additionally operable to detect all ATM cells in IMA groups
Whether numbering is both greater than amended read pointer;If it is not, then continue to detect, until all ATM cells numbering is both greater than changed
Untill read pointer afterwards.
Preferably, the device can also add the mould that the ATM cell for being successively read all links in IMA groups is numbered
Block;For the module being ranked up to the ATM cell numbering of all links in IMA groups;For determining all links in IMA groups
ATM cell number module within preset range.Certainly, except the above-mentioned module for being optimised device, the device is also
Reception, memory module including indispensability etc..
Above-described embodiment is illustrated with reference to preferred embodiment, the IMA delay difference detection in preferred embodiment
Device be integrally slightly different in structure with said apparatus, but can solve the problems, such as function, realize identical function, reach phase
Same effect.
Embodiment two
The present embodiment is related to SDH(Synchronous Digital Hierarchy, referred to as SDH)/ accurate
Synchronous Digital Hierarchy(Plesiochronous Digital Hierarchy, referred to as PDH)The IMA applications of network, are especially related to
And based on SDH/ Synchronous Optical Networks(Synchronous Optical Network, referred to as SONET)Realize IMA delay differences
Different detection and compensation.
Fig. 6 shows the structural representation of the present embodiment IMA delay difference detection means, wherein IMA solution frames(IMA
deframer)Module is mainly to complete the work of solution frame, such as E1 solution frames, ATM solution frames, IMA solution frames etc., and according in ima frame
The ima frame sequence number of icp cell(IMA Frame Sequence Number)And ICP offset values generation ATM cell number value.
The module realizes the reception of the device of above-described embodiment, solves the function of frame and numbering, passes through the 8th byte in icp cell
The low 2bit of ima frame sequence number, the 9th byte ICP offset and the 13rd byte(M value)Generate 10bit ATM cell numbering
For identifying the position of each ATM cell in a stream.
After generating the numbering, with link number (0-503) for high address, using ATM cell numbering as low order address, it will believe
In member write-in data buffer, while ATM cell numbering is delivered to IMA by link number and recovered(IMA recovery)Module
And Link ID of the IMA group numbers and link belonging to relays link in IMA groups is numbered simultaneously.
Data buffer(data buffer)It is mainly used to store all cell of data by link.
IMA recovery modules mainly complete the recovery work(of IMA delay variance detection, delay compensation and IMA data
Energy.The module realizes the functions such as Difference test, disparity compensation and modification pointer.
The Difference test of the present embodiment and delay compensation are carried out with reference to the device including at least above three module
Explanation.
Delay variance Cleaning Principle:The ATM cell that IMA recovery are received by the Link ID storages in group number and group
The numbering of numbering and link.Then poll handles all IMA groups, all in poll treatment group when handling some IMA group
Member Link.It is successively read ATM cell corresponding to all Member Links to number, and the ATM cell of all links in group is numbered
It is ranked up processing.It is relatively difficult due to being ranked up using hardware to the ATM cell numbering of most 32 Member Links, therefore
We employ a kind of method of compromise, that is, sequence knot is just considered when limiting the value of 32 Member Links in the range of some
Fruit is effective.
Set up immediately in detection, all links being configured participate in comparing, and after obtaining effective ranking results, are believed with ATM
Member numbering is maximum(Delay is minimum)Link on the basis of, ATM cell numbering is judged to prolonging less than the link of reference link certain value
Slow difference transfinites link, reports LODS to alert, other links are then by postponing to detect, the state transition after carrying out.
When link is newly added in the course of work, numbered with the link ATM cell detected originally by delay variance
Ranking results are as benchmark, for being determined as delay variance less than maximum certain value or more than the link of minimum value certain value
Transfinite, report LODS to alert, link increase failure.Others increase link newly and then thought by detection, the link shape after participating in
State redirects.
Delay compensation principle:So-called delay compensation is exactly the ima frame pair for not lining up each link in same group originally
Exported after neat.The present embodiment completes delay compensation also with the ATM cell numbering above generated, when IMA deframer modules
After completing IMA solution frames and generating ATM cell numbering, low order address is used as using link No. as high address using ATM cell numbering
By in ATM cell deposit data buffer, IMA recovery modules complete after delay variance detection according to the result of detection and
Relevant information completes IMA link state machines.
When there is any link to enter Active states in some IMA group, with all Active members in current group
Middle delay is maximum(ATM cell numbering is minimum)Link on the basis of, initialize the read pointers of whole IMA groups(Compiled using ATM cell
Number it is used as read pointer), hereafter the read operation of all links is carried out all using the read pointer as benchmark in group.When handle some group in
If all links when all Active Member Links ATM cell numbering both greater than group read pointer 4 now(Protective effect)
More than, then this all link can read a cell, otherwise wait for, until meeting condition.By in the data of all readings
Incorrect cell of data other cells abandon after then recovered original ATM data flows.
The present embodiment illustrates embodiment so that one comprising the IMA groups of 32 Member Links as an example.
Assuming that current IMA group M values are 32, i.e. an ima frame includes 32 ATM cells, wherein one and only one ICP letters
Member, 8bit ima frame sequence number and 8bit ICP offset are contained in the icp cell, wherein, ICP offset are used to specify
Positions of the ICP in ima frame, the value is more than or equal to 0 and is less than 32 in the present embodiment, you can with 0 to 31 in any position.
After above-mentioned parameter determination, when receiving an effective icp cell, it is possible to which initialization calculates an ATM
Cell number(Here the bit wide that 10bit is the value is taken), calculation formula is:ATM cell numbering=ima frame sequence number x32+ICP
offset.Hereafter the ATM cell numbering of other non-icp cells just adds 1 on the basis of previous cell, material is thus formed
Continuous ATM cell numbering based on ICP.
But it can be seen from ima protocol, after compensating, all cells with identical ATM cell numbering are in distal end
It is alignment during transmission.Using link number as high address, by ATM cell be low order address by data in units of ATM cell
Write in data buffer, while it is cell of data, icp cell or Filler cells to identify cell.In write-in data
Write pointer i.e. ATM cell numbering are delivered to IMA recovery modules while buffer, and stored by link.
In IMA recovery resume module IMA groups, by link ID by 0 to 31 all links of order poll, read
The ATM cell number value of each link is compared, due to being worth with to 32(These values are also possible to that the feelings for writing upset all over occur
Condition, for example add one to return to 0 again after counting down to 1023)It is ranked up numerical value that is relatively difficult, therefore comparing here participation
Once limited, at least one value is at [511-N, 511+N] in being only worth when 32(N value can be adjusted as the case may be
It is whole, it is relatively good between 10-20)Between comparative result be just considered effective, after being specified that, when the delay variance between link
Be not in fill it up with upset it is ensured that the ATM cell numbering of all links is all relatively close to 511 when being not excessive
Situation.It is have detected after effective comparative result is obtained with regard to delay variance can be carried out.Wherein, 511 chosen during being somebody's turn to do are arrived for 1
A numeral more placed in the middle in 1023, it is of course also possible to 506 are selected, 512 etc..
The present embodiment generates the ATM cell numbering for computing relay difference by using the relevant feature of existing protocol,
Reach using better simply hardware to realize the purpose of delay variance detection, and IMA data delays are realized by simple hardware
Compensation and recovery, avoid the compensating and restoring algorithm of complexity.
As can be seen from the above description, the present invention realizes following technique effect:
It is now most of in the art that the speed of reading is all controlled using the IDCR defined in agreement, while used again more multiple
Miscellaneous mode carries out delay variance detection and compensation so that realize extremely complex, the present invention numbers by using ATM cell,
Delay variance detection is completed, while the control of read-out speed is also realized by ATM cell numbering, completely without use
Complicated IDCR controls read-out speed, the realization is more simplified.The bit wide of other ATM cell numbering and the bit wide of write pointer can
With inconsistent, so do not need growth data cache size in the case of, can by increase ATM cell number bit wide come
Improve the detection range to delay variance.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general
Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and formed
Network on, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to they are stored
Performed in the storage device by computing device, and in some cases, can be with different from shown in order execution herein
The step of going out or describing, they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or
Step is fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware and software combination.
The preferred embodiments of the present invention are these are only, are not intended to limit the invention, for those skilled in the art
For member, the present invention can have various modifications and variations.Any modification within the spirit and principles of the invention, being made,
Equivalent substitution, improvement etc., should be included in the scope of the protection.