CN1619995A - Method of realizing series monitoring static charge error code calibration value compensation underthrust and its device - Google Patents

Method of realizing series monitoring static charge error code calibration value compensation underthrust and its device Download PDF

Info

Publication number
CN1619995A
CN1619995A CNA2003101167174A CN200310116717A CN1619995A CN 1619995 A CN1619995 A CN 1619995A CN A2003101167174 A CNA2003101167174 A CN A2003101167174A CN 200310116717 A CN200310116717 A CN 200310116717A CN 1619995 A CN1619995 A CN 1619995A
Authority
CN
China
Prior art keywords
error code
static charge
value
code check
check value
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
CNA2003101167174A
Other languages
Chinese (zh)
Other versions
CN100365966C (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.)
HiSilicon Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2003101167174A priority Critical patent/CN100365966C/en
Publication of CN1619995A publication Critical patent/CN1619995A/en
Application granted granted Critical
Publication of CN100365966C publication Critical patent/CN100365966C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

This invention refers to a method and apparatus for obtain series connected monitor dead load error code check value compensation under interpolation. Said invention adopts relevant register to store parameter for compensation under interpolation to TCM-B3 and makes calculation, finally under interpolates the obtained TCM-B3 compensation value to B3 byte in data stream. Said invention using less chip resource provides a technology to accurately locating error code occurring section in communication network.

Description

Realize method and device thereof that the compensation of tandem connection monitor static charge error code check value is inserted down
Technical field
The present invention relates to network communications technology field, relate in particular to a kind of method and device thereof of realizing that the compensation of tandem connection monitor static charge error code check value is inserted down.
Background technology
In network service, TCM (tandem connection monitor) module mainly applies in the network environment of multi-operator, the section that the location error code takes place, and, as shown in Figure 1, in network, be as the criterion and determine the section that the position error code takes place, TCM-SOURCE (the source end of tandem connection monitor) and TCM-SINK (terminal of tandem connection monitor) must be set in pairs.Its operation principle mainly is by paired TCM-SOURCE and TCM-SINK certain section network to be monitored, thereby judges the working condition of this section network.Particularly exactly the data of present frame are carried out the B3 (static charge error code check value) that XOR obtains these frame data, and the result is inserted in the next frame data at TCM-SOURCE; Then adopt above-mentioned XOR computational methods to calculate the B3 of the corresponding Frame that receives again at TCM-SINK, to recomputate the B3 of acquisition and the B3 in the next frame data simultaneously compares, thereby judge and whether have error code in this section Network Transmission, be specially, if two values are identical, then there is not error code, otherwise has error code.
Usually frame data that transmit in network comprise the B3 of previous frame data and are used to write down the N1 byte of B3 error code (N1 byte records error code and alarm monitoring value), described B3 error code obtains for the XOR result of the B3 that goes out according to the actual B3 of previous frame data with according to the previous frame data computation of receiving, the N1 byte of described record B3 error code need be inserted in the current frame data down, as shown in Figure 2, because the B3 of present frame (being Frame N) need be inserted into down in the next frame (being Frame N+1), and the B3 of present frame is the result of a current frame data XOR, like this, the following actual B3 that all will change current frame data that inserts of each N1, therefore, for the B3 of the current frame data that guarantees down to insert in next frame remains unchanged, need compensate the back to B3 and insert in the next frame data, promptly carry out so-called TCM-B3 (tandem connection monitor static charge error code check value) compensation and insert operation down.
Compensate the compensation computing formula that adopted by protocol definition G.707 to inserting next frame B3, be specially: B3 ' (t)=(t-1) (t-1) B3 (t) of N1 (t-1) N ' of B3 (t-1) B3 ';
Wherein:
B3 represents the numerical value of B3 byte in the former data flow;
The numerical value of compensation back B3 byte is determined in B3 ' expression;
N1 represents the numerical value (being error code and alarm monitoring value initial value) of N1 byte in the former data flow;
The N1 byte numerical value that N1 ' expression is upgraded (error code and the alarm monitoring value that have promptly write down behind the new B3 error code newly are worth);
represents the bit XOR;
T represents that present frame constantly;
T-1 represents that previous frame constantly.
Although defined the computing formula of inserting under the compensation in the agreement,, also there is not a kind of concrete implementation to be used for TCM-B3 is compensated down slotting the processing at present owing in communication equipment, use this technology at present as yet.
Summary of the invention
The purpose of this invention is to provide a kind of method and device thereof of realizing that the compensation of tandem connection monitor static charge error code check value is inserted down, thereby can realize comparatively easily TCM-B3 is carried out inserting under the corresponding compensation processing.
The objective of the invention is to be achieved through the following technical solutions:
The present invention at first provides a kind of method that realizes that the compensation of tandem connection monitor static charge error code check value is inserted down, comprising:
Static charge error code check value in the previous frame data of A, recorder and the actual static charge error code check value of inserting down, and the error code of previous frame data and alarm monitoring value initial value and new value;
B, when current frame data arrives, obtain the static charge error code check value in the current frame data, and with its with the previous frame data of record in static charge error code check value, the actual static charge error code check value of inserting down, and the error code of previous frame data and alarm monitoring value initial value and new value are carried out XOR;
C, result that XOR is obtained are as in the static charge error code check value byte that inserts in present frame under the tandem connection monitor static charge error code check value.
In the method that realization tandem connection monitor static charge error code check value compensation of the present invention is inserted down:
Described steps A comprises:
Static charge error code check value in the previous frame data of recorder and the actual XOR result of slotting static charge error code check value down, i.e. static charge error code check value compensation median, and the error code of previous frame data and alarm monitoring value initial value and new value;
And described step B comprises:
When new frame data arrive, obtain error code and the alarm monitoring value initial value and the new value of corresponding previous frame data, also call the static charge error code check value compensation median of the previous frame of preservation simultaneously, and each value carried out XOR, then, utilize the static charge error code check value compensation median of the present frame that XOR obtains and the static charge error code check value of present frame to carry out XOR.
The present invention also provides a kind of device of inserting down based on the realization tandem connection monitor static charge error code check value compensation of said method, comprising:
The static charge error code check value register of input in the data, the static charge error code check value register after the compensation, and new error code and the alarm monitoring value register and the XOR module of the error code of input data and alarm monitoring value register, generation;
When new frame data arrive, call the error code and the alarm monitoring value of the previous frame of preserving in input error code of data and the alarm monitoring value register, call the error code and the alarm monitoring value of the previous frame of preserving in the new error code of generation and the alarm monitoring value register, and from the static charge error code check value register of input data and the static charge error code check value register after the compensation, access the static charge error code check value and the static charge error code check value offset of previous frame respectively; Then, the static charge error code check value of each value and present frame is carried out XOR by the XOR module handle, will calculate the static charge error code check value byte that inserts in present frame under the static charge error code check value offset of acquisition at last.
Described each register is when new frame data arrive, and refreshes the corresponding data values that register is deposited.
The present invention also provides a kind of device of inserting down based on the realization tandem connection monitor static charge error code check value compensation of said method, comprising:
Static charge error code check value compensation median register is used to preserve static charge error code check value compensation median, and new error code and the alarm monitoring value register and the XOR module of the error code of input data and alarm monitoring value register, generation;
When a new frame arrives, call the static charge error code check value compensation median of the previous frame in the static charge error code check value compensation median register, and the error code and the alarm monitoring value register of input data, the new error code that generates and the error code of the present frame in the alarm monitoring value register and alarm monitoring value initial value and new value, and each value carried out XOR by the XOR module, the new static charge error code check value compensation median that then again XOR is obtained and the static charge error code check value XOR of present frame obtain the actual static charge error code check value offset of present frame, and insert in the static charge error code check value byte of present frame under the actual static charge error code check value offset that will calculate.
Described B3 compensation median register is connected with the new business index signal, when having new business to arrive, removes the B3 compensation median of wherein depositing at every turn.
Realization of the present invention makes and can realize comparatively easily tandem connection monitor static charge error code check value is compensated slotting down the processing in network service; And, also slotting formula under the compensation that defines in the agreement has been carried out corresponding processing among the present invention, thereby made and can realize inserting processing under the corresponding TCM-B3 compensation under the situation that take less resources of chip.The present invention is as the criterion and determines that the section that error code takes place in the bit walk network provides the corresponding techniques support.
Description of drawings
Fig. 1 is for realizing the schematic network structure of TCM;
Fig. 2 is the principle schematic of the corresponding B3 error code values of TCM in the prior art;
Fig. 3 is structural representation Fig. 1 of device of the present invention;
Fig. 4 is structural representation Fig. 2 of device of the present invention.
Embodiment
The method that realization tandem connection monitor static charge error code check value compensation of the present invention is inserted down and the embodiment of device thereof specifically describe as follows as shown in the figure:
Method of the present invention comprises: B3 (t) value in the present frame of at first determining to receive (being Frame N frame); Then, call the error code of previous frame (being Frame N-1 frame) of preservation and alarm monitoring value initial value and new value N1 (t-1), N1 ' (t-1), and static charge error code check value B3 (t-1) is worth and compensation deals after static charge error code check value B3 ' (t-1) be worth; At last, each value is carried out XOR according to slotting formula under the compensation of agreement regulation, and draw the TCM-B3 compensation that needs down interpolation B3 ' (t) and described B3 ' is inserted in the B3 byte of present frame under (t), thereby realize the operation that the TCM-B3 compensation is inserted down.
Based on said method, the invention provides a kind of device, as shown in Figure 3, its structure comprises the B3 register in the input data, the B3 register after the compensation, and imports the N1 value register (promptly importing the error code and the alarm monitoring value register of data) of data, new N1 value register (i.e. new error code of Sheng Chenging and alarm monitoring value register) and the XOR module that generates; When new frame data arrive, call N1 (t-1) value of the previous frame of preserving in the N1 value register of input data, the N1 ' that calls the previous frame of preserving in the new N1 value register of generation is value (t-1), and accesses (t-1) value of the B3 (t-1) of previous frame and B3 ' from the B3 register of input data and the B3 register after the compensation respectively; Then, with corresponding N 1 (t-1) value, N1 ' (t-1) value, B3 (t-1), B3 ' (t-1) B3 (t) value of value and present frame carry out XOR by the XOR module and handle, result of calculation is the tandem connection monitor static charge error code check value offset that the present invention needs, the promptly actual tandem connection monitor static charge error code check value of inserting down, to calculate at last under the TCM-B3 that inserts under the reality that obtains and insert in the B3 byte of present frame, thereby operation is inserted in the compensation that has realized TCM-B3 down.
The present invention also provides another kind of implementation, and the principle of wherein said method is with slotting computing formula both sides while XOR B3 (t) under the compensation of above-mentioned agreement regulation, obtains following formula:
B3′(t)B3(t)=B3(t-1)B3′(t-1)N1(t-1)N′(t-1);
And define (t) B3 (t) of A (t)=B3 ', so following formula can be expressed as:
A(t)=A(t-1)N1(t-1)N1′(t-1);
Wherein A (t) is exactly the B3 compensation median that we need, and it and B3 (t) XOR of importing just obtain actual B3 value of inserting down.As follows:
B3′(t)=B3(t)A(t)
It is as follows that simultaneously I am easy to release the initial value of B3 offset:
A(0)=B3′(0)B3(0)=0
Based on above-mentioned principle, method of the present invention is: when a new frame arrives, obtain the error code of corresponding previous frame and alarm monitoring value initial value N1 (t-1) and new value N1 ' (t-1), also call the B3 compensation median A (t-1) of the previous frame of preservation simultaneously, and with N1 (t-1), N1 ' (t-1) and A (t-1) value carry out XOR, thereby obtain the B3 compensation median A (t) of present frame, at last, utilize B3 (t) value and the described B3 compensation median A (t) of present frame to carry out XOR, the B3 offset B3 ' that obtains corresponding present frame (t), B3 ' is inserted in the present frame under (t), thereby realizes the operation that the TCM-B3 compensation is inserted down.
Based on the described method of the invention described above, device of the present invention as shown in Figure 4, construct an initial value and be 8 B3 compensation median registers of 0, described B3 compensation median register is used to preserve B3 compensation median, when a new frame arrives, call the B3 compensation median A (t-1) of previous frame, and with the new error code of the input error code of data and alarm monitoring value register and generation and alarm monitoring value register in the XOR result of the error code of the previous frame preserved and alarm monitoring value initial value and new value (being (t-1) value of N1 (t-1) value and N1 ') carry out XOR again and obtain new B3 and compensate median A (t), B3 value B3 (t) with present frame compensates following interpolation B3 ' (t) (being the B3 offset) with the actual B3 that B3 compensation median A (t) XOR that newly obtains obtains present frame again, at last, the B3 compensation that calculates is inserted in the B3 byte of present frame under the interpolation down.And, B3 compensation median register of the present invention also is connected with the new business index signal, when having new business to arrive at every turn, under the effect of new business index signal, remove the B3 compensation median wherein deposit so that new business carry out corresponding TCM-B3 compensation down slotting processing be not subjected to the influence of the B3 compensation median of the former business of wherein depositing.
Except that B3 compensation median register, when other each registers are new frame data arrival, refresh the corresponding data values that register is deposited among the present invention.
By foregoing description as can be seen, second kind of scheme provided by the invention saved the quantity of the register that adopts than first kind of scheme, saved the relevant chip resource.
Therefore, the present invention not only provides a kind of method and apparatus of realizing that the compensation of tandem connection monitor static charge error code check value is inserted down, but also has guaranteed that the method and apparatus realization that is provided is comparatively easy, reasonable.

Claims (6)

1, a kind of method that realizes that the compensation of tandem connection monitor static charge error code check value is inserted down is characterized in that comprising:
Static charge error code check value in the previous frame data of A, recorder and the actual static charge error code check value of inserting down, and the error code of previous frame data and alarm monitoring value initial value and new value;
B, when current frame data arrives, obtain the static charge error code check value in the current frame data, and with its with the previous frame data of record in static charge error code check value, the actual static charge error code check value of inserting down, and the error code of previous frame data and alarm monitoring value initial value and new value are carried out XOR;
C, result that XOR is obtained are as in the static charge error code check value byte that inserts in present frame under the tandem connection monitor static charge error code check value.
2, the slotting down method of realization tandem connection monitor static charge error code check value compensation according to claim 1 is characterized in that:
Described steps A comprises:
Static charge error code check value in the previous frame data of recorder and the actual XOR result of slotting static charge error code check value down, i.e. static charge error code check value compensation median, and the error code of previous frame data and alarm monitoring value initial value and new value;
And described step B comprises:
When new frame data arrive, obtain error code and the alarm monitoring value initial value and the new value of corresponding previous frame data, also call the static charge error code check value compensation median of the previous frame of preservation simultaneously, and each value carried out XOR, then, utilize the static charge error code check value compensation median of the present frame that XOR obtains and the static charge error code check value of present frame to carry out XOR.
3, a kind of device of inserting down based on the realization tandem connection monitor static charge error code check value compensation of said method is characterized in that comprising:
The static charge error code check value register of input in the data, the static charge error code check value register after the compensation, and new error code and the alarm monitoring value register and the XOR module of the error code of input data and alarm monitoring value register, generation;
When new frame data arrive, call the error code and the alarm monitoring value of the previous frame of preserving in input error code of data and the alarm monitoring value register, call the error code and the alarm monitoring value of the previous frame of preserving in the new error code of generation and the alarm monitoring value register, and from the static charge error code check value register of input data and the static charge error code check value register after the compensation, access the static charge error code check value and the static charge error code check value offset of previous frame respectively; Then, the static charge error code check value of each value and present frame is carried out XOR by the XOR module handle, will calculate the static charge error code check value byte that inserts in present frame under the static charge error code check value offset of acquisition at last.
4, the slotting down device of realization tandem connection monitor static charge error code check value compensation according to claim 3 is characterized in that described each register is when new frame data arrive, and refreshes the corresponding data values that register is deposited.
5, a kind of device of inserting down based on the realization tandem connection monitor static charge error code check value compensation of said method is characterized in that comprising:
Static charge error code check value compensation median register is used to preserve static charge error code check value compensation median, and new error code and the alarm monitoring value register and the XOR module of the error code of input data and alarm monitoring value register, generation;
When a new frame arrives, call the static charge error code check value compensation median of the previous frame in the static charge error code check value compensation median register, and the error code and the alarm monitoring value register of input data, the new error code that generates and the error code of the present frame in the alarm monitoring value register and alarm monitoring value initial value and new value, and each value carried out XOR by the XOR module, the new static charge error code check value compensation median that then again XOR is obtained and the static charge error code check value XOR of present frame obtain the actual static charge error code check value offset of present frame, and insert in the static charge error code check value byte of present frame under the actual static charge error code check value offset that will calculate.
6, the slotting down device of realization tandem connection monitor static charge error code check value compensation according to claim 5, it is characterized in that described B3 compensation median register is connected with the new business index signal, when having new business to arrive, remove the B3 compensation median of wherein depositing at every turn.
CNB2003101167174A 2003-11-18 2003-11-18 Method of realizing series monitoring static charge error code calibration value compensation underthrust and its device Expired - Fee Related CN100365966C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101167174A CN100365966C (en) 2003-11-18 2003-11-18 Method of realizing series monitoring static charge error code calibration value compensation underthrust and its device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101167174A CN100365966C (en) 2003-11-18 2003-11-18 Method of realizing series monitoring static charge error code calibration value compensation underthrust and its device

Publications (2)

Publication Number Publication Date
CN1619995A true CN1619995A (en) 2005-05-25
CN100365966C CN100365966C (en) 2008-01-30

Family

ID=34760741

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101167174A Expired - Fee Related CN100365966C (en) 2003-11-18 2003-11-18 Method of realizing series monitoring static charge error code calibration value compensation underthrust and its device

Country Status (1)

Country Link
CN (1) CN100365966C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154995B (en) * 2006-09-27 2011-05-11 华为技术有限公司 Method and device for monitoring network quality
US8189485B2 (en) 2006-09-01 2012-05-29 Huawei Technologies Co., Ltd Method for allocating and configuring tandem connection monitoring (TCM)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1041760A1 (en) * 1999-03-29 2000-10-04 Lucent Technologies Inc. Detection and compensation of ingressing frame offset discontinuities for tandem connection trails
ATE327606T1 (en) * 1999-09-07 2006-06-15 Lucent Technologies Inc IMPROVED MULTI-FRAME SYNCHRONIZATION FOR TANDEM CONNECTION TRACKS
US7143161B2 (en) * 2001-11-16 2006-11-28 Nortel Networks Limited Tandem connection monitoring parallel processing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8189485B2 (en) 2006-09-01 2012-05-29 Huawei Technologies Co., Ltd Method for allocating and configuring tandem connection monitoring (TCM)
CN101154995B (en) * 2006-09-27 2011-05-11 华为技术有限公司 Method and device for monitoring network quality

Also Published As

Publication number Publication date
CN100365966C (en) 2008-01-30

Similar Documents

Publication Publication Date Title
US20200285514A1 (en) Automated reconfiguration of real time data stream processing
CN1932812A (en) Method and apparatus for holding journal
US10009239B2 (en) Method and apparatus of estimating conversation in a distributed netflow environment
CN1933431A (en) Method for detecting QoS
CN1687922A (en) Distributed data source data integration system and method
CN1929462A (en) Device and method for digital household network media format transcoding
CN101039281A (en) Method for sharing load of stream media server
CN1859505A (en) Bill checking system and method
CN1469602A (en) Apparatus and method for compressing header and multiplying group in network environment
CN117201368A (en) Network flow base number estimation method and system based on pre-sampling
CN1619995A (en) Method of realizing series monitoring static charge error code calibration value compensation underthrust and its device
CN101052014A (en) IP bearing call connection control method and device
CN102821423B (en) Message method of reseptance and device
CN1859128A (en) Method for content charging of data service
CN1946035A (en) Method for managing net element data configuration and net element
CN1199392C (en) Charge method based on data flow quantity
CN104657089B (en) A kind of Explore of Unified Management Ideas of placement group on object storage device
CN101079816A (en) A fast control method based on network status parameter estimation
CN1667585A (en) A digit signal processor software debugging information output method
CN1529476A (en) Ethernet and ATM tier joined data vonversion and correction device and method
CN1960198A (en) Analysis method of sub carrier wave, bits, power in use for orthogonal frequency division multiple access system
CN101064685A (en) Agent allocation program, method and apparatus
CN115225712B (en) Interface arrangement method and terminal
US20090059808A1 (en) Memory Access Optimization
CN1741461A (en) Method and system for processing equipment information in network management system

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
ASS Succession or assignment of patent right

Owner name: SHENZHEN CITY HAISI SEMICONDUCTOR CO., LTD.

Free format text: FORMER OWNER: HUAWEI TECHNOLOGY CO., LTD.

Effective date: 20090929

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20090929

Address after: HUAWEI electric production center, Bantian HUAWEI base, Longgang District, Guangdong City, Shenzhen Province: 518129

Patentee after: Haisi Semiconductor Co., Ltd., Shenzhen

Address before: Bantian HUAWEI headquarters office building, Longgang District, Shenzhen, Guangdong

Patentee before: Huawei Technologies Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080130

Termination date: 20201118

CF01 Termination of patent right due to non-payment of annual fee