[go: up one dir, main page]

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
value
static charge
check value
code check
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

本发明涉及一种实现串接监视静荷误码校验值补偿下插的方法及其装置。本发明采用了相应的寄存器保存对TCM-B3进行补偿下插需要的参数,并根据保存的参数进行实际TCM-B3补偿值的计算,最后,将计算获得的TCM-B3补偿值下插至数据流中的B3字节。本发明的实现使得在网络通信中可以较为简便地实现对串接监视静荷误码校验值进行补偿下插处理;而且,本发明中还对协议中定义的补偿下插公式进行了相应的处理,从而使得可以在占用较小的芯片资源的情况下实现相应的TCM-B3补偿下插处理。本发明为准确定位通信网络中误码发生的区段提供了相应的技术支持。

The invention relates to a method and a device for realizing the compensating down-insertion of the code error check value of the cascade monitoring static payload. The present invention adopts corresponding registers to save the parameters required for TCM-B3 compensation and interpolation, and calculates the actual TCM-B3 compensation value according to the saved parameters, and finally, inserts the calculated TCM-B3 compensation value into the data B3 bytes in the stream. The realization of the present invention makes it possible to realize the compensating and down-inserting processing of the tandem monitoring static load error check value in the network communication relatively easily; moreover, the present invention also carries out the corresponding compensation and down-inserting formula defined in the protocol Processing, so that the corresponding TCM-B3 compensation down-insertion processing can be realized under the condition of occupying less chip resources. The invention provides corresponding technical support for accurately locating the section where the code error occurs in the communication network.

Description

实现串接监视静荷误码校验值补偿下插的方法及其装置Method and device for realizing compensation and interpolation of code error check value of serial monitoring static load

技术领域technical field

本发明涉及网络通信技术领域,尤其涉及一种实现串接监视静荷误码校验值补偿下插的方法及其装置。The invention relates to the technical field of network communication, and in particular to a method and a device for realizing the compensatory down-insertion of the code error check value of serial monitoring payload.

背景技术Background technique

在网络通信中,TCM(串接监视)模块主要运用于多运营商的网络环境中,定位误码发生的区段,而且,如图1所示,在网络中,为准确定位误码发生的区段,必需成对设置TCM-SOURCE(串接监视的源端)和TCM-SINK(串接监视的终端)。其工作原理主要是通过成对的TCM-SOURCE和TCM-SINK对某段网络进行监控,从而判定该段网络的工作情况。具体而言就是在TCM-SOURCE将当前帧的数据进行异或运算获得该帧数据的B3(静荷误码校验值),并将结果插入下一帧数据中;在TCM-SINK则重新采用上述异或计算方法计算接收到的相应的数据帧的B3,同时将重新计算获得的B3和下一帧数据中的B3进行比较,从而判断该段网络传输中是否存在误码,具体为,如果两值相同,则不存在误码,否则存在误码。In network communication, the TCM (Tandem Monitoring) module is mainly used in a multi-operator network environment to locate the section where bit errors occur, and, as shown in Figure 1, in the network, to accurately locate the bit error occurred Section, it is necessary to set TCM-SOURCE (the source of serial monitoring) and TCM-SINK (the terminal of serial monitoring) in pairs. Its working principle is to monitor a certain section of network through paired TCM-SOURCE and TCM-SINK, so as to determine the working condition of this section of network. Specifically, in TCM-SOURCE, the data of the current frame is XORed to obtain the B3 (static load error check value) of the frame data, and the result is inserted into the next frame data; in TCM-SINK, it is re-used The above XOR calculation method calculates the B3 of the corresponding received data frame, and compares the recalculated B3 with the B3 in the next frame of data, so as to determine whether there is a bit error in this segment of network transmission, specifically, if If the two values are the same, there is no bit error, otherwise there is a bit error.

通常在网络中传输的一帧数据包括上一帧数据的B3和用于记录B3误码的N1字节(N1字节记录了误码和告警监视值),所述的B3误码为根据上一帧数据的实际B3和根据收到的上一帧数据计算出的B3的异或运算结果获得,所述的记录B3误码的N1字节需要下插至当前帧数据中,如图2所示,因为当前帧(即Frame N)的B3需要下插到下一帧(即Frame N+1)中,且当前帧的B3是当前的一帧数据异或运算的结果,这样,每次N1的下插都将改变当前帧数据的实际B3,因此,为保证下插于下一帧的当前帧数据的B3维持不变,需要对B3进行补偿后插入下一帧数据中,即进行所谓的TCM-B3(串接监视静荷误码校验值)补偿下插操作。Usually a frame of data transmitted in the network includes B3 of the previous frame of data and N1 bytes for recording B3 error codes (N1 bytes record error codes and alarm monitoring values), and the B3 error codes are based on the above The actual B3 of one frame of data and the XOR operation result of B3 calculated according to the received last frame of data are obtained, and the N1 byte of recording B3 error bit needs to be inserted into the current frame data, as shown in Figure 2 As shown, because B3 of the current frame (ie Frame N) needs to be inserted into the next frame (ie Frame N+1), and B3 of the current frame is the result of the XOR operation of the data of the current frame, so that each time N1 The down-interpolation will change the actual B3 of the current frame data. Therefore, in order to ensure that the B3 of the current frame data inserted in the next frame remains unchanged, it is necessary to compensate B3 and insert it into the next frame data, that is, the so-called TCM-B3 (tandem monitoring payload error check value) compensates for the down-insertion operation.

对插入下一帧B3进行补偿所采用的补偿计算公式已由G.707协议定义,具体为:B3′(t)=B3(t-1)B3′(t-1)N1(t-1)N′(t-1)B3(t);The compensation calculation formula used to compensate for the insertion of the next frame B3 has been defined by the G.707 protocol, specifically: B3'(t)=B3(t-1)B3'(t-1)N1(t- 1)N'(t-1)B3(t);

其中:in:

B3表示原数据流中B3字节的数值;B3 represents the value of the B3 byte in the original data stream;

B3′表示确定补偿后B3字节的数值;B3' indicates the value of the B3 byte after the compensation is determined;

N1表示原数据流中N1字节的数值(即误码和告警监视值原值);N1 represents the value of the N1 byte in the original data stream (that is, the original value of the error code and alarm monitoring value);

N1′表示更新的N1字节数值(即记录了新的B3误码后的误码和告警监视值新值);N1' represents the updated N1 byte value (that is, the new value of the error code and the alarm monitoring value after the new B3 error code is recorded);

表示比特位异或运算; represents a bit XOR operation;

t表示当前帧时刻;t represents the current frame time;

t-1表示上一帧时刻。t-1 represents the moment of the previous frame.

尽管协议中已经定义了补偿下插的计算公式,但由于目前尚未在通信设备中应用该技术,故目前还没有一种具体的实现方案用于对TCM-B3进行补偿下插处理。Although the protocol has defined the calculation formula of compensation down-interpolation, since this technology has not been applied in communication equipment, there is no specific implementation scheme for performing compensation down-interpolation processing on TCM-B3.

发明内容Contents of the invention

本发明的目的是提供一种实现串接监视静荷误码校验值补偿下插的方法及其装置,从而可以较为简便地实现对TCM-B3进行相应的补偿下插处理。The purpose of the present invention is to provide a method and device for realizing compensation and interpolation of code error check value of serial monitoring payload, so that the corresponding compensation and interpolation processing of TCM-B3 can be realized relatively simply.

本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:

本发明首先提供了一种实现串接监视静荷误码校验值补偿下插的方法,包括:The present invention firstly provides a method for compensating and interpolating the code error check value of static payloads in serial monitoring, including:

A、记录接收的上一帧数据中的静荷误码校验值及实际下插的静荷误码校验值,以及上一帧数据的误码和告警监视值原值及新值;A. Record the static payload error check value in the received last frame of data and the actually inserted static payload error check value, as well as the original value and new value of the error code and alarm monitoring value of the previous frame of data;

B、在当前帧数据到来时,获取当前帧数据中的静荷误码校验值,并将其与记录的上一帧数据中的静荷误码校验值、实际下插的静荷误码校验值,以及上一帧数据的误码和告警监视值原值及新值进行异或运算;B. When the current frame data arrives, obtain the static payload error check value in the current frame data, and compare it with the static payload error check value in the recorded previous frame data and the actual down-interpolated static payload error check value. Code check value, as well as the original value and new value of the bit error and alarm monitoring value of the previous frame of data to perform XOR operation;

C、将异或运算获得的结果作为串接监视静荷误码校验值下插于当前帧的静荷误码校验值字节中。C. Insert the result obtained by the XOR operation into the payload error check value byte of the current frame as the serial monitoring static payload error check value.

本发明所述的实现串接监视静荷误码校验值补偿下插的方法中:In the method for realizing serial connection monitoring static load error check value compensation and interpolation of the present invention:

所述的步骤A包括:Described step A comprises:

记录接收的上一帧数据中的静荷误码校验值与实际下插的静荷误码校验值的异或运算结果,即静荷误码校验值补偿中间值,以及上一帧数据的误码和告警监视值原值及新值;Record the XOR operation result of the static payload error check value in the received last frame of data and the actual down-interpolated static payload error check value, that is, the intermediate value of the static payload error check value compensation, and the previous frame The original value and new value of data bit error and alarm monitoring value;

且所述的步骤B包括:And the step B includes:

在当新帧数据到来时,获取相应的上一帧数据的误码和告警监视值原值和新值,同时还调用保存的上一帧的静荷误码校验值补偿中间值,并将各值进行异或运算,然后,利用异或运算获得的当前帧的静荷误码校验值补偿中间值和当前帧的静荷误码校验值进行异或运算。When a new frame of data arrives, the original value and new value of the error and alarm monitoring value of the corresponding previous frame of data are obtained, and the stored static error check value of the previous frame is also called to compensate the intermediate value, and the An XOR operation is performed on each value, and then, an XOR operation is performed on the compensation intermediate value of the payload error check value of the current frame obtained by the XOR operation and the static payload error check value of the current frame.

本发明还提供了一种基于上述方法的实现串接监视静荷误码校验值补偿下插的装置,包括:The present invention also provides a device based on the above-mentioned method to realize the compensation and interpolation of the static load error code check value of serial monitoring, including:

输入数据中的静荷误码校验值寄存器、补偿后的静荷误码校验值寄存器,以及输入数据的误码和告警监视值寄存器、生成的新的误码和告警监视值寄存器和异或运算模块;The static payload error check value register in the input data, the static payload error check value register after compensation, the error code and alarm monitoring value register of the input data, the generated new code error and alarm monitoring value register and the exception or operation module;

当新的一帧数据到来时,调用输入数据的误码和告警监视值寄存器中保存的上一帧的误码和告警监视值,调用生成的新的误码和告警监视值寄存器中保存的上一帧的误码和告警监视值,并从输入数据的静荷误码校验值寄存器及补偿后的静荷误码校验值寄存器中分别调出上一帧的静荷误码校验值和静荷误码校验值补偿值;然后,将各值与当前帧的静荷误码校验值通过异或运算模块进行异或运算处理,最后将计算获得的静荷误码校验值补偿值下插于当前帧的静荷误码校验值字节。When a new frame of data arrives, call the error code and alarm monitoring value of the previous frame saved in the error code and alarm monitoring value register of the input data, and call the generated new code error and alarm monitoring value register saved in the previous frame. The error and alarm monitoring value of one frame, and the static payload error checking value of the previous frame is called out from the static payload error checking value register of the input data and the compensated static payload error checking value register respectively and static payload error check value compensation value; then, each value and the static payload error check value of the current frame are subjected to XOR operation processing through the exclusive OR operation module, and finally the calculated static payload error check value The compensation value is inserted into the payload error check value byte of the current frame.

所述的各个寄存器均为在新的一帧数据到来时,刷新寄存器寄存的相应的数据值。Each of the above-mentioned registers is the corresponding data value stored in the refresh register when a new frame of data arrives.

本发明还提供了一种基于上述方法的实现串接监视静荷误码校验值补偿下插的装置,包括:The present invention also provides a device based on the above-mentioned method to realize the compensation and interpolation of the static load error code check value of serial monitoring, including:

静荷误码校验值补偿中间值寄存器,用于保存静荷误码校验值补偿中间值,以及输入数据的误码和告警监视值寄存器、生成的新的误码和告警监视值寄存器和异或运算模块;Static load error check value compensation intermediate value register, used to save the static load error check value compensation intermediate value, and the error code and alarm monitoring value register of the input data, the new generated code error and alarm monitoring value register and XOR operation module;

当新一帧到来时,调用静荷误码校验值补偿中间值寄存器中的上一帧的静荷误码校验值补偿中间值,以及输入数据的误码和告警监视值寄存器、生成的新的误码和告警监视值寄存器中的当前帧的误码和告警监视值原值和新值,并将各值通过异或运算模块进行异或运算,接着再将异或运算获得的新的静荷误码校验值补偿中间值与当前帧的静荷误码校验值异或得到当前帧的实际静荷误码校验值补偿值,并将计算得到的实际静荷误码校验值补偿值下插于当前帧的静荷误码校验值字节中。When a new frame arrives, call the static load error check value compensation intermediate value of the previous frame in the static load error check value compensation intermediate value register, and the error code and alarm monitoring value register of the input data, the generated The original value and the new value of the error and alarm monitoring value of the current frame in the new error and alarm monitoring value register, and each value is subjected to an exclusive OR operation through the exclusive OR operation module, and then the new value obtained by the exclusive OR operation XOR the intermediate value of static payload error check value compensation with the static payload error check value of the current frame to obtain the actual static payload error check value compensation value of the current frame, and calculate the actual static payload error check value The value compensation value is inserted into the payload error check value byte of the current frame.

所述的B3补偿中间值寄存器连接有新业务指示信号,在每次有新的业务到来时,清除其中寄存的B3补偿中间值。The B3 compensation intermediate value register is connected with a new service indication signal, and the B3 compensation intermediate value registered therein is cleared each time a new service arrives.

本发明的实现使得在网络通信中可以较为简便地实现对串接监视静荷误码校验值进行补偿下插处理;而且,本发明中还对协议中定义的补偿下插公式进行了相应的处理,从而使得可以在占用较小的芯片资源的情况下实现相应的TCM-B3补偿下插处理。本发明为准确定位通信网络中误码发生的区段提供了相应的技术支持。The realization of the present invention makes it possible to realize the compensating and down-inserting processing of the tandem monitoring static payload error check value in the network communication relatively easily; moreover, the present invention also carries out the corresponding compensation and down-inserting formula defined in the protocol processing, so that the corresponding TCM-B3 compensation down-insertion processing can be realized in the case of occupying less chip resources. The invention provides corresponding technical support for accurately locating the section where the code error occurs in the communication network.

附图说明Description of drawings

图1为实现TCM的网络结构示意图;FIG. 1 is a schematic diagram of a network structure for implementing TCM;

图2为现有技术中TCM相应的B3误码值的原理示意图;FIG. 2 is a schematic diagram of the principle of the corresponding B3 bit error value of the TCM in the prior art;

图3为本发明所述的装置的结构示意图1;Fig. 3 is a schematic structural view 1 of the device of the present invention;

图4为本发明所述的装置的结构示意图2。Fig. 4 is a schematic structural diagram 2 of the device of the present invention.

具体实施方式Detailed ways

本发明所述的实现串接监视静荷误码校验值补偿下插的方法及其装置的具体实施方式如图所示,具体描述如下:The specific implementation of the method and device for implementing serial connection monitoring static load error check value compensation and interpolation of the present invention is shown in the figure, and the specific description is as follows:

本发明所述的方法包括:首先确定接收的当前帧(即为Frame N帧)中的B3(t)值;然后,调用保存的上一帧(即为Frame N-1帧)的误码和告警监视值原值和新值N1(t-1)、N1’(t-1),以及静荷误码校验值B3(t-1)值和补偿处理后的静荷误码校验值B3’(t-1)值;最后,根据协议规定的补偿下插公式将各值进行异或运算,并得出需要的TCM-B3补偿下插值B3’(t),并将所述的B3’(t)下插至当前帧的B3字节中,从而实现TCM-B3补偿下插的操作。Method of the present invention comprises: at first determine the B3 (t) value in the current frame (being Frame N frame) that receives; Alarm monitoring value original value and new value N1(t-1), N1'(t-1), and static payload error check value B3(t-1) value and static payload error check value after compensation B3'(t-1) value; finally, XOR operation is performed on each value according to the compensation interpolation formula specified in the agreement, and the required TCM-B3 compensation interpolation value B3'(t) is obtained, and the B3 '(t) down-insert into the B3 byte of the current frame, so as to realize the operation of TCM-B3 compensation down-insertion.

基于上述方法,本发明提供了一种装置,如图3所示,其结构包括输入数据中的B3寄存器、补偿后的B3寄存器,以及输入数据的N1值寄存器(即输入数据的误码和告警监视值寄存器)、生成的新的N1值寄存器(即生成的新的误码和告警监视值寄存器)和异或运算模块;当新的一帧数据到来时,调用输入数据的N1值寄存器中保存的上一帧的N1(t-1)值,调用生成的新的N1值寄存器中保存的上一帧的N1’(t-1)值,并从输入数据的B3寄存器及补偿后的B3寄存器中分别调出上一帧的B3(t-1)和B3’(t-1)值;然后,将相应的N1(t-1)值、N1’(t-1)值、B3(t-1)、B3’(t-1)值和当前帧的B3(t)值通过异或运算模块进行异或运算处理,计算结果便是本发明需要的串接监视静荷误码校验值补偿值,即实际下插的串接监视静荷误码校验值,最后将计算获得的实际下插的TCM-B3下插于当前帧的B3字节中,从而实现了TCM-B3的补偿下插操作。Based on the above method, the present invention provides a device, as shown in Figure 3, its structure includes the B3 register in the input data, the B3 register after compensation, and the N1 value register of the input data (that is, the bit error and alarm of the input data monitoring value register), the generated new N1 value register (that is, the generated new error code and alarm monitoring value register) and the XOR operation module; when a new frame of data arrives, call the N1 value register of the input data to save The N1(t-1) value of the previous frame, call the N1'(t-1) value of the previous frame saved in the new N1 value register generated, and from the B3 register of the input data and the compensated B3 register respectively call out the B3(t-1) and B3'(t-1) values of the previous frame; then, the corresponding N1(t-1) value, N1'(t-1) value, B3(t-1) 1), the B3'(t-1) value and the B3(t) value of the current frame are processed through the XOR operation module, and the calculation result is the compensation of the tandem monitoring static payload error check value required by the present invention Value, that is, the actual down-inserted tandem monitoring payload error check value, and finally the calculated actual down-inserted TCM-B3 is inserted into the B3 byte of the current frame, thus realizing the compensation of TCM-B3 insert operation.

本发明还提供了另一种实现方案,其中所述的方法的原理为将上述协议规定的补偿下插计算公式两边同时异或B3(t),得到如下公式:The present invention also provides another implementation scheme, wherein the principle of the method is to simultaneously XOR B3(t) on both sides of the compensation calculation formula stipulated in the above agreement to obtain the following formula:

B3′(t)B3(t)=B3(t-1)B3′(t-1)N1(t-1)N′(t-1);B3'(t)B3(t)=B3(t-1)B3'(t-1)N1(t-1)N'(t-1);

并定义A(t)=B3′(t)B3(t),所以上式可表示为:And define A(t)=B3'(t)B3(t), so the above formula can be expressed as:

A(t)=A(t-1)N1(t-1)N1′(t-1);A(t)=A(t-1)N1(t-1)N1'(t-1);

其中A(t)就是我们需要的B3补偿中间值,它和输入的B3(t)异或就得到实际下插的B3值。如下所示:Among them, A(t) is the intermediate value of B3 compensation we need, and it is XORed with the input B3(t) to obtain the actual B3 value interpolated. As follows:

B3′(t)=B3(t)A(t)B3'(t)=B3(t)A(t)

同时我很容易推出B3补偿值的初值如下:At the same time, I can easily deduce that the initial value of the B3 compensation value is as follows:

A(0)=B3′(0)B3(0)=0A(0)=B3'(0)B3(0)=0

基于上述原理,本发明所述的方法为:当新的一帧到来时,获取相应的上一帧的误码和告警监视值原值N1(t-1)和新值N1’(t-1),同时还调用保存的上一帧的B3补偿中间值A(t-1),并将N1(t-1)、N1’(t-1)和A(t-1)值进行异或运算,从而获得当前帧的B3补偿中间值A(t),最后,利用当前帧的B3(t)值和所述的B3补偿中间值A(t)进行异或运算,获得相应的当前帧的B3补偿值B3’(t),将B3’(t)下插至当前帧中,从而实现TCM-B3补偿下插的操作。Based on the above principles, the method of the present invention is: when a new frame arrives, obtain the original value N1(t-1) and the new value N1'(t-1) of the error code and alarm monitoring value of the corresponding previous frame ), and at the same time call the saved B3 compensation intermediate value A(t-1) of the previous frame, and perform XOR operation on N1(t-1), N1'(t-1) and A(t-1) values , so as to obtain the B3 compensation intermediate value A(t) of the current frame, and finally, use the B3(t) value of the current frame and the B3 compensation intermediate value A(t) to perform an XOR operation to obtain the corresponding B3 of the current frame Compensation value B3'(t), B3'(t) is inserted into the current frame, so as to realize the operation of TCM-B3 compensation and down-interpolation.

基于上述本发明所述的方法,本发明所述的装置如图4所示,构造一个初值为0的8位B3补偿中间值寄存器,所述的B3补偿中间值寄存器用于保存B3补偿中间值,当新一帧到来时,调用上一帧的B3补偿中间值A(t-1),并与输入数据的误码和告警监视值寄存器和生成的新的误码和告警监视值寄存器中保存的上一帧的误码和告警监视值原值和新值(即N1(t-1)值和N1’(t-1)值)的异或运算结果再进行异或得到新的B3补偿中间值A(t),再将当前帧的B3值B3(t)与新得到的B3补偿中间值A(t)异或得到当前帧的实际B3补偿下插值B3′(t)(即B3补偿值),最后,将计算得到的B3补偿下插值下插于当前帧的B3字节中。而且,本发明所述的B3补偿中间值寄存器还连接有新业务指示信号,在每次有新的业务到来时,在新业务指示信号的作用下清除其中寄存的B3补偿中间值,以便于新的业务进行相应的TCM-B3补偿下插处理不受其中寄存的原业务的B3补偿中间值的影响。Based on the above-mentioned method of the present invention, the device of the present invention, as shown in Figure 4, constructs an 8-bit B3 compensation intermediate value register with an initial value of 0, and the B3 compensation intermediate value register is used to save the B3 compensation intermediate Value, when a new frame arrives, call the B3 compensation intermediate value A(t-1) of the previous frame, and combine it with the error code and alarm monitoring value register of the input data and the generated new code error and alarm monitoring value register Exclusive OR operation results of the original value and new value (ie N1(t-1) value and N1'(t-1) value) of the stored error and alarm monitoring value of the previous frame are then XORed to obtain a new B3 compensation The intermediate value A(t), and then XOR the B3 value B3(t) of the current frame with the newly obtained B3 compensation intermediate value A(t) to obtain the actual B3 compensation interpolation value B3'(t) of the current frame (that is, the B3 compensation value), and finally, down-interpolate the calculated B3 compensation down-interpolation into the B3 byte of the current frame. Moreover, the B3 compensation intermediate value register of the present invention is also connected with a new business indication signal, and when a new business arrives each time, the B3 compensation intermediate value registered therein is cleared under the action of the new business indication signal, so that new The corresponding TCM-B3 compensation down-insertion processing of the business is not affected by the B3 compensation intermediate value of the original business stored therein.

本发明中除B3补偿中间值寄存器外,其他各个寄存器均为新的一帧数据到来时,刷新寄存器寄存的相应的数据值。In the present invention, except for the B3 compensation intermediate value register, all other registers refresh the corresponding data values stored in the registers when a new frame of data arrives.

由上述描述可以看出,本发明提供的第二种方案较第一种方案节省了采用的寄存器的数量,节省了相应的芯片资源。It can be seen from the above description that, compared with the first solution, the second solution provided by the present invention saves the number of registers used and corresponding chip resources.

因此,本发明不仅提供了一种实现串接监视静荷误码校验值补偿下插的方法和装置,而且还保证了所提供的方法和装置实现较为简便、合理。Therefore, the present invention not only provides a method and device for compensating and interpolating the code error check value of static payloads in series monitoring, but also ensures that the provided method and device are relatively simple and reasonable to implement.

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 and device for realizing compensation and interpolation of code error check value of serial monitoring static load 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 and device for realizing compensation and interpolation of code error check value of serial monitoring static load

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101167174A CN100365966C (en) 2003-11-18 2003-11-18 Method and device for realizing compensation and interpolation of code error check value of serial monitoring static load

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 and device for realizing compensation and interpolation of code error check value of serial monitoring static load

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
US20190372717A1 (en) Method for Transmitting Data in Flexible Ethernet and Device
US8605797B2 (en) Method and system for partitioning and encoding of uncompressed video for transmission over wireless medium
CN1163047C (en) Device and method for transmitting/receiving wireless data
CN1366737A (en) Encoding/decoding device and encoding/decoding method
CN1227816C (en) Efficient Lattice State Metric Normalization
CN101064724A (en) Method and device for dividing and numbering service data units in wireless communication system
KR20080046227A (en) Data segmentation, encoding method and system for transmitting uncompressed video over wireless communication channel
CN1344069A (en) First recovery device and first recovery method
US20220141133A1 (en) Concept for Segmenting an Application Buffer into Data Packets
CA3195727A1 (en) Line coding method and apparatus
CN1469602A (en) Apparatus and method for compressing headers and multiplexing packets in a network environment
CN1728626A (en) Method and device for detecting error code in wireless digital communication system
CN1829972A (en) Method and apparatus for providing tandem connection, performance monitoring, and protection architectures over Ethernet protocols
CN1619995A (en) Method of realizing series monitoring static charge error code calibration value compensation underthrust and its device
CN1321028A (en) Data transmission method with packet check
CN1581798A (en) Recognition device and method for frame correction sequence in general frame treating package mode
CN1132363C (en) Data block transmission method and central station, base station and radio system for realizing the method
CN1446405A (en) Methods, communication deivces and computer program products for communication information via frame check sequence having information block associated therewith
CN101848055A (en) Method and device for correcting data
CN101065941A (en) Digital signal transmitting apparatus
CN1757166A (en) TURBO decoder using parallel processing
CN108574814A (en) Data processing method and device
CN1697556A (en) Method for transferring status report
CN1778092A (en) Overhead reduction and address protection in communication stack
EP4336752A1 (en) Data transmission method, apparatus, and system, and computer-readable storage medium

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