[go: up one dir, main page]

CN1859358A - Method for series and anti-series link data of equalizing complex strip parallel - Google Patents

Method for series and anti-series link data of equalizing complex strip parallel Download PDF

Info

Publication number
CN1859358A
CN1859358A CN200510035900.0A CN200510035900A CN1859358A CN 1859358 A CN1859358 A CN 1859358A CN 200510035900 A CN200510035900 A CN 200510035900A CN 1859358 A CN1859358 A CN 1859358A
Authority
CN
China
Prior art keywords
link
data
serdes
chip
abnormal
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
CN200510035900.0A
Other languages
Chinese (zh)
Other versions
CN100531183C (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.)
Huawei 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 CNB2005100359000A priority Critical patent/CN100531183C/en
Publication of CN1859358A publication Critical patent/CN1859358A/en
Application granted granted Critical
Publication of CN100531183C publication Critical patent/CN100531183C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

本发明公开了一种在多条并行SERDES数据链路中防止数据传输中断的保护方法,该方法中,芯片通过检测数据帧,对链路状态进行检测,当检测到数据链路出现异常状态时,系统将停止通过出现异常状态的链路传输数据;当检测当数据链路恢复正常时,系统将恢复从该链路传输数据。本发明方案通过对SERDES链路并行传输方案中的链路状态自动检测和均衡,保证部分链路异常时数据传输不中断,在链路恢复正常时自动恢复全速传输。对于安全系数不高的高速互连尤其适用。本发明还提供了高速链路数目的可裁减特性以及灵活配置能力,用户在低业务流量时,可以主动断开并行SERDES数据链路中的一条或多条,而不影响数据的正常传输。

Figure 200510035900

The invention discloses a protection method for preventing data transmission interruption in multiple parallel SERDES data links. In the method, the chip detects the link state by detecting the data frame, and when an abnormal state occurs in the data link is detected , the system will stop transmitting data through the link that has an abnormal state; when it detects that the data link is back to normal, the system will resume data transmission from the link. The solution of the present invention automatically detects and balances the link state in the parallel transmission scheme of the SERDES link to ensure that the data transmission is not interrupted when some links are abnormal, and the full-speed transmission is automatically restored when the link returns to normal. It is especially suitable for high-speed interconnection with low safety factor. The present invention also provides the feature of reducing the number of high-speed links and the flexible configuration capability, and the user can actively disconnect one or more of the parallel SERDES data links without affecting the normal transmission of data when the service flow is low.

Figure 200510035900

Description

一种均衡复数条并行的串行反串行链路数据的方法A method of equalizing multiple parallel serial anti-serial link data

技术领域technical field

本发明涉及一种SERDES(Serialize and Deserialize,串行反串行)链路数据保护方法,特别涉及对复数条并行SERDES链路数据进行检测,将业务均衡到状态正常的链路上的方法。The present invention relates to a SERDES (Serialize and Deserialize, serial anti-serialize) link data protection method, in particular to a method for detecting multiple parallel SERDES link data and balancing services to links with normal states.

背景技术Background technique

目前数字通信领域的发展突飞猛进,芯片间数据的传输速率也越来越快,对于万兆级别的路由器,数据流都是以10Gbps的速度进行交换。目前有2种接口可以实现这么高的速度:一种是专用的标准接口,如CSIX,SPI4等等,这种接口一般是并行总线,有单独的时钟,支持相位的动态调整。但是由于并行总线和分离时钟的原因,其总线数量受到比较大的限制,单根线最多只能达到1Gbps的速度,所以一般只用于板内的芯片互连。另外一种方法就是使用SERDES技术,这种方法使用随路时钟,单根线的速度目前已经可以达到3.125Gps,将来可以进一步提高到10Gps。而且SERDES技术采用差分线路,抗干扰能力强,传输距离长,是芯片间数据传输尤其是过背板、过光纤的首选传输手段。为了达到更高的数据传输速率,常常采用多个SERDES链路并行传输的办法,上行和下行方向都用多根SERDES数据链路并发传输。At present, the development of the digital communication field is advancing by leaps and bounds, and the data transmission rate between chips is also getting faster and faster. For 10 Gigabit routers, data streams are exchanged at a speed of 10Gbps. Currently, there are two types of interfaces that can achieve such a high speed: one is a dedicated standard interface, such as CSIX, SPI4, etc. This interface is generally a parallel bus with a separate clock that supports dynamic adjustment of the phase. However, due to the parallel bus and separate clocks, the number of buses is relatively limited, and a single line can only reach a speed of 1Gbps at most, so it is generally only used for chip interconnection in the board. Another method is to use SERDES technology. This method uses the channel-associated clock. The speed of a single line can reach 3.125Gps at present, and it can be further increased to 10Gps in the future. Moreover, SERDES technology uses differential lines, which has strong anti-interference ability and long transmission distance. It is the preferred transmission method for data transmission between chips, especially through the backplane and optical fiber. In order to achieve a higher data transmission rate, multiple SERDES links are often used for parallel transmission, and multiple SERDES data links are used for concurrent transmission in both the uplink and downlink directions.

现有技术中,多个SERDES链路的捆绑没有考虑某个SERDES数据链路断链的情况,默认为SERDES链路必须工作正常,硬件设计必须保证这一点。XAUIXAUI是一种从1000Base-X万兆以太网的物理层直接发展而来的低针数、自发时钟串行总线。XAUI接口的速度为1000Base-X的2.5倍。通过调整4根串行线,这种4bit的XAUI接口可以支持万兆以太网10倍于千兆以太网的数据吞吐量。XAUI是一个使用serdes的10G数据通路的标准,但其中没有serdes链路自动恢复的机制,接收端无论SERDES链路是否正常,都强行从该通道接收数据。发送端不管发送SERDES链路状态如何,向所有的发送SERDES通道发送数据。这种多SERDES链路的捆绑方式不安全。一旦出现问题,将造成整个系统的崩溃和死机。如果是板内的芯片级SERDES链路互连还可以接受(板内PCB走线断开的几率可以忽略不计),但是如果是板间甚至是通过光纤的跨机框连接的SERDES连接,则很可能出现部分SERDES线断开的情况(比如不小心把某根光纤折断了或者拔插了某块连接板),此时系统崩溃的代价很严重。尤其对于电信级的骨干路由器或者交换机,因为这种原因导致整个系统的崩溃,不可接受。In the prior art, the bundling of multiple SERDES links does not consider the disconnection of a certain SERDES data link. The default is that the SERDES link must work normally, and the hardware design must ensure this. XAUIXAUI is a low-pin-count, self-clocking serial bus directly developed from the physical layer of 1000Base-X 10 Gigabit Ethernet. The XAUI interface is 2.5 times faster than 1000Base-X. By adjusting 4 serial lines, this 4bit XAUI interface can support the data throughput of 10 Gigabit Ethernet 10 times that of Gigabit Ethernet. XAUI is a 10G data channel standard using serdes, but there is no automatic recovery mechanism for the serdes link, and the receiving end will forcefully receive data from the channel regardless of whether the SERDES link is normal or not. Regardless of the status of the sending SERDES link, the sending end sends data to all sending SERDES channels. This bundling method of multiple SERDES links is not safe. Once a problem occurs, it will cause the collapse and crash of the entire system. If it is a chip-level SERDES link interconnection in the board, it is acceptable (the probability of disconnection of the PCB trace in the board is negligible), but if it is a SERDES connection between boards or even cross-chassis connections through optical fibers, it is very difficult. Some SERDES cables may be disconnected (for example, a certain optical fiber is accidentally broken or a certain connection board is unplugged). At this time, the cost of system crash is very serious. Especially for carrier-grade backbone routers or switches, it is unacceptable to cause the entire system to collapse due to this reason.

华为技术有限公司的SD566/SD567交换网套片设计中,SERDES的接收端可以检测到链路异常以及链路是否恢复,但是在系统设计的时候没有考虑到通过全双工的连接直接通知对端,而必须由上层软件通过定期查询或者是中断的方式通知对端的发送端,从而对端根据链路状况,关闭出现问题的链路或者打开恢复正常的链路。没有考虑用硬件的手段来进行链路状态的自动传递和链路的自动打开/关闭。In the SD566/SD567 switching network chip design of Huawei Technologies Co., Ltd., the receiving end of SERDES can detect link abnormality and whether the link is restored, but the system design does not consider directly notifying the peer end through a full-duplex connection , and the upper-layer software must notify the sending end of the opposite end through periodic query or interruption, so that the opposite end can close the link with problems or open the link that returns to normal according to the link status. Does not consider the automatic transfer of the link state and the automatic opening/closing of the link by means of hardware.

这种通过软件处理的方式延迟很大,至少是毫秒级别的,如果出现链路状态由好变坏的情况,采用这种技术会导致大量的数据丢失(在对端不知道链路变化的时间内,还是会继续通过错误链路发送数据)。反之,如果链路状态由坏变好,采用这种技术也不能够很快的的恢复数据通过能力。This method of software processing has a large delay, at least at the millisecond level. If the link status changes from good to bad, using this technology will cause a large amount of data loss (the peer end does not know the time of the link change. , it will continue to send data through the wrong link). Conversely, if the link status changes from bad to good, the data passing capability cannot be quickly restored by using this technology.

发明内容Contents of the invention

本发明的目的是:用硬件的手段自动的对SERDES链路进行检测,排除错误的链路,只从正常链路上接收数据。这样即使在部分SERDES链路出问题时,或者用户在低业务流量时主动断开一条或多条链路时,整个系统会自动将正常业务均衡到状态正常的线路上去,业务不会中断,实现了平滑降级。如果系统检测到有SERDES线路恢复,又会自动的重新均衡。The purpose of the invention is to automatically detect SERDES links by means of hardware, eliminate wrong links, and only receive data from normal links. In this way, even when some SERDES links have problems, or users actively disconnect one or more links when the service flow is low, the entire system will automatically balance normal services to the normal lines, and the services will not be interrupted, realizing smooth downgrade. If the system detects that a SERDES line is restored, it will automatically rebalance.

本发明的发明目的是这样实现的:The purpose of the invention of the present invention is achieved like this:

一种均衡复数条并行SERDES链路数据的方法,包括步骤:A method for balancing plural parallel SERDES link data, comprising steps:

a)发送芯片固定所要发送的数据帧的长度,并在数据帧中建立依次排列的帧头、连接帧号域、链路状态域、数据域;a) The sending chip fixes the length of the data frame to be sent, and establishes a sequence of frame headers, connection frame number fields, link state fields, and data fields in the data frames;

b)为每一个数据帧分配连接帧号,并将连接帧号封装进数据帧中;b) assigning a connection frame number to each data frame, and encapsulating the connection frame number into the data frame;

c)发送芯片通过SERDES链路将所述数据帧发送到接收芯片;c) the sending chip sends the data frame to the receiving chip through the SERDES link;

d)接收芯片对接收到的数据帧进行检测,当发现SERDES链路状态异常时,通知发送芯片将该条链路的数据从其它SERDES链路上进行传输。d) The receiving chip detects the received data frame, and when it finds that the state of the SERDES link is abnormal, it notifies the sending chip to transmit the data of this link from other SERDES links.

所述的d步骤具体包括如下步骤:Described d step specifically comprises the following steps:

d1)接收芯片检测到SERDES链路异常后将所述SERDES链路异常状态信息放入发送到发送芯片的帧的链路状态域中;d1) After the receiving chip detects that the SERDES link is abnormal, the abnormal state information of the SERDES link is put into the link state field of the frame sent to the sending chip;

d2)发送芯片接收该SERDES链路异常状态信息后停止从状态异常的链路上传输数据;d2) After receiving the abnormal state information of the SERDES link, the sending chip stops transmitting data from the abnormal link;

d3)发送芯片将该条链路的数据从其它SERDES链路上进行传输。d3) The sending chip transmits the data of this link from other SERDES links.

所述的方法还包括以下步骤:Described method also comprises the following steps:

e)当接收芯片检测到步骤d)中状态异常的SERDES链路的链路状态恢复正常时,通知发送芯片恢复从该链路传输数据帧。e) When the receiving chip detects that the link state of the abnormal SERDES link in step d) returns to normal, it notifies the sending chip to resume transmission of data frames from the link.

所述的步骤e)具体包括步骤:Described step e) specifically comprises steps:

e1)接收芯片检测到SERDES链路正常状态后将链路正常状态放入发送到发送芯片的帧的链路状态信息中;e1) After the receiving chip detects the normal state of the SERDES link, the normal state of the link is put into the link state information of the frame sent to the sending chip;

e2)发送芯片从该链路传输数据帧。e2) The sending chip transmits the data frame from the link.

所述的检测SERDES链路状态的方法包括步骤:The method for detecting SERDES link status comprises steps:

发送芯片连续发送数据帧,且数据帧间没有空隙;如果数据帧不足,则在数据帧间填充空闲帧;连续发送的帧的连接帧号是连续的;The sending chip sends data frames continuously, and there is no gap between the data frames; if the data frames are insufficient, fill the idle frames between the data frames; the connection frame numbers of the continuously sent frames are continuous;

如果接收芯片在每隔规定的数据帧长度的字节内,没有检测到帧头,或检测到帧头后的连接帧号的计数与上一次检测到的连接帧号的计数不连续,或者检测到SERDES的物理层解码出现错误(包括但是不限于8B/10B编解码),就判断SERDES链路状态异常。If the receiving chip does not detect the frame header in every byte of the specified data frame length, or the count of the connection frame number after detecting the frame header is not continuous with the count of the connection frame number detected last time, or detects If there is an error in the physical layer decoding to SERDES (including but not limited to 8B/10B codec), it is judged that the SERDES link status is abnormal.

在SERDES链路状态异常时,接收芯片不断的对链路进行检测,如果接收到连续的且间隔正常的规定数目个帧类型和连接帧号,而且连接帧号的计数是递增的,而且没有检测到SERDES的物理层解码出现错误(包括但是不限于8B/10B编解码),则SERDES链路状态恢复正常。When the SERDES link status is abnormal, the receiving chip continuously detects the link. If a specified number of frame types and connection frame numbers are received continuously and at normal intervals, and the count of the connection frame number is incremented, and there is no detection If there is an error in the decoding of the physical layer to SERDES (including but not limited to 8B/10B codec), the SERDES link status returns to normal.

采用本技术方案,用硬件的手段可以实现多SERDES链路并行传输中的链路状态自动检测和均衡,保证部分链路异常时业务不中断,平滑降级,并在链路恢复正常时自动恢复全速传输。用户在低业务流量时,可以主动断开并行SERDES数据链路中的一条或多条,而不影响数据的正常传输。本技术方案能使处理延时达到微秒级别,对于安全系数不高的高速互连尤其适用(比如远程光纤互连)。With this technical solution, the automatic detection and balance of the link status in the parallel transmission of multiple SERDES links can be realized by means of hardware, so as to ensure that the service is not interrupted when some links are abnormal, and the service is smoothly degraded, and the full speed is automatically restored when the link returns to normal. transmission. When the business flow is low, the user can actively disconnect one or more of the parallel SERDES data links without affecting the normal transmission of data. The technical scheme can make the processing delay reach microsecond level, and is especially suitable for high-speed interconnection with low safety factor (such as remote optical fiber interconnection).

下面结合附图详细描述本发明的较佳实施例,通过对本发明较佳实施例的描述,可以更加清楚的看出和理解本发明的优点所在。The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. Through the description of the preferred embodiments of the present invention, the advantages of the present invention can be seen and understood more clearly.

附图说明Description of drawings

图1是本发明的系统连接示意图Fig. 1 is the system connection schematic diagram of the present invention

图2是本发明数据帧结构示意图Fig. 2 is a schematic diagram of the data frame structure of the present invention

具体实施方式Detailed ways

如图1,数据链路由2条SERDES并行链路组成,分别为上行0和上行1。发送芯片和接收芯片都有发送控制部分和接收控制部分,从芯片内的接收控制部分到发送控制部分有通道连接用以传输链路状态信息。图中的T0,T1,t0,t1是四个SERDES发送单元,R0,R1,r0,r1是四个SERDES接收单元。上行方向和下行方向(从左向右方向的两个SERDES链路为上行方向,从右到左的两个SERDES链路为下行方向)的数据通道合起来构成一个完整的双向数字通道。As shown in Figure 1, the data link consists of two SERDES parallel links, uplink 0 and uplink 1, respectively. Both the sending chip and the receiving chip have a sending control part and a receiving control part, and there is a channel connection from the receiving control part in the chip to the sending control part to transmit link state information. T0, T1, t0, and t1 in the figure are four SERDES sending units, and R0, R1, r0, r1 are four SERDES receiving units. The data channels in the uplink direction and downlink direction (the two SERDES links from left to right are the uplink direction, and the two SERDES links from right to left are the downlink direction) together form a complete bidirectional digital channel.

链路状态的接收是依靠SERDES接收控制部分完成的。如图1所示,r0和r1能够分别检测上行0和上行1两条链路的状态,而R0和R1能够分别检测下行0和下行1两条链路的状态。The reception of the link state is accomplished by relying on the SERDES reception control part. As shown in FIG. 1 , r0 and r1 can respectively detect the states of the two uplink 0 and uplink 1 links, while R0 and R1 can respectively detect the states of the two downlink 0 and downlink 1 links.

链路状态的检测有多种手段,为了尽量严格,保证链路工作正常,本发明采用了SERDES硬核标志信号结合数据帧内容检测的方法,数据帧的结构如图2所示,数据帧是定长的,而且格式固定,本实施例将数据帧长度设定为64字节。在帧头中放置一个字节的K28.5字符,在连接帧号域link head中放置递增的连接帧号,在链路状态域linkstatus中存放链路状态信息,在数据域pay load中放置数据载荷。要传输的数据帧是连续的,之间是没有空隙的,如果数据帧不足,则填充一种空闲帧保证链路上数据帧的背靠背的传输。该空闲帧的帧头是一个字节的K28.5字符,其帧上的载荷全部为0。而且该空闲帧的帧长和数据帧相同,也是64字节。空闲帧的帧长不被芯片计算。如果链路状态正常,那么K28.5字符应该每隔64字节出现一次,而且在K28.5字符后面的连接帧号一定是递增的。接收芯片一旦发现违反上述规则,或者检测到SERDES的物理层解码出现错误(包括但是不限于8B/10B编解码),则认为SERDES链路状态异常。在链路状态异常之后,发送芯片仍然从状态异常的SERDES链路上发送空闲帧,接收芯片的接收控制部分不断的对链路进行检测,搜索K28.5字符,如果接收到连续的规定数目个间隔正常的K28.5字符,K28.5字符后面的连接帧号也是递增的,也没有出现SERDES的物理层解码错误,那么就认为链路状态恢复正常。这里的规定数目个可以从1个到几百个,视需要的精确度而定。The detection of the link state has multiple means, in order to be as strict as possible, guarantee the normal operation of the link, the present invention adopts the method that SERDES hard core flag signal combines data frame content detection, the structure of data frame is as shown in Figure 2, and data frame is The length is fixed, and the format is fixed. In this embodiment, the length of the data frame is set to 64 bytes. Place a byte of K28.5 character in the frame header, place an increasing connection frame number in the connection frame number field link head, store link state information in the link state field linkstatus, and place data in the data field payload load. The data frames to be transmitted are continuous and there is no gap between them. If the data frames are insufficient, a kind of idle frame is filled to ensure the back-to-back transmission of the data frames on the link. The frame header of the idle frame is a one-byte K28.5 character, and the load on the frame is all 0. Moreover, the frame length of the idle frame is the same as that of the data frame, which is also 64 bytes. The frame length of the idle frame is not calculated by the chip. If the link status is normal, then the K28.5 character should appear every 64 bytes, and the connection frame number behind the K28.5 character must be incremented. Once the receiving chip finds that the above rules are violated, or detects errors in the physical layer decoding of SERDES (including but not limited to 8B/10B codec), it will consider the SERDES link status to be abnormal. After the link status is abnormal, the sending chip still sends idle frames from the abnormal SERDES link, and the receiving control part of the receiving chip continuously detects the link and searches for K28.5 characters. K28.5 characters with normal intervals, the connection frame number after K28.5 characters is also incremented, and there is no SERDES physical layer decoding error, then the link status is considered to be normal. The specified number here can be from 1 to hundreds, depending on the required accuracy.

如果发现链路状态异常,那么数据将停止从状态异常的SERDES链路上传输,只从状态正常的SERDES链路上传输;如果发现链路状态恢复正常,那么数据将重新从所有正常的SERDES链路上传输。If the link status is found to be abnormal, the data will stop being transmitted from the abnormal SERDES link and only be transmitted from the normal SERDES link; if the link status is found to be normal, then the data will be transmitted from all normal SERDES links again Transport on the road.

如图2,在数据帧结构中有专门的链路状态域(link status)来放置链路状态标志。接收芯片的接收控制部分检测到链路的状态后把这些状态传递给接收芯片的发送控制部分,然后接收芯片的发送控制部分将链路状态插入到发送给发送芯片的帧的链路状态域中,发送芯片的接收控制部分将链路状态提取出来后送给发送芯片的发送控制部分,然后发送芯片的发送控制部分根据此信息重新进行发送调度,断开或恢复从该条链路传输数据,保证将数据只从状态正常的SERDES链路上进行传输。As shown in Figure 2, there is a special link status field (link status) in the data frame structure to place the link status flag. The receiving control part of the receiving chip detects the status of the link and passes these states to the sending control part of the receiving chip, and then the sending control part of the receiving chip inserts the link status into the link status field of the frame sent to the sending chip , the receiving control part of the sending chip extracts the link state and sends it to the sending control part of the sending chip, and then the sending control part of the sending chip re-schedules the sending according to this information, disconnects or resumes the data transmission from this link, Ensure that data is only transmitted from SERDES links that are in a healthy state.

假定开始的时候所有4个链路的状态都是正常的,然后在某个时刻上行0链路突然断开,接收控制部分r0立刻检测到此链路状态异常,该接收控制部分将不再从此链路接收数据,同时将链路异常的信息传递给发送控制部分t0和t1;发送控制部分t0和t1将此信息插入到发送到发送芯片的帧的链路状态域中去,通过下行0和下行1两个链路发送出去;接收控制部分R0和R1接收到帧后从中提取出链路信息,发现对应于上行0的链路状态异常,于是将此信息发送给发送控制部分T0和T1,该发送控制部分T0和T1就会将正常的业务数据流只通过上行1链路发送。为了链路恢复时接收端能够重新检测同步,此时上行0链路上仍然会发送空闲帧。一旦上行0链路重新恢复,按照上面的步骤将链路状态正常的信息传送给发送控制部分T0和T1,发送控制部分T0和T1重新将正常的业务数据流分配到上行0和上行1两个通道上去,这样就实现了链路的自动均衡。Assume that the status of all 4 links is normal at the beginning, and then the uplink 0 link is suddenly disconnected at a certain moment, and the receiving control part r0 detects that the link status is abnormal immediately, and the receiving control part will no longer The link receives data, and at the same time transmits the link abnormality information to the sending control part t0 and t1; the sending control part t0 and t1 inserts this information into the link state field of the frame sent to the sending chip, through the downlink 0 and t1 The two links of downlink 1 are sent out; the receiving control parts R0 and R1 extract the link information after receiving the frame, and find that the link status corresponding to uplink 0 is abnormal, so they send this information to the sending control parts T0 and T1, The sending control parts T0 and T1 will only send the normal service data flow through the uplink 1 link. In order for the receiving end to re-detect synchronization when the link is restored, idle frames will still be sent on the uplink 0 link at this time. Once the uplink 0 link is restored, follow the above steps to send the information that the link status is normal to the sending control part T0 and T1, and the sending control part T0 and T1 will redistribute the normal service data flow to the uplink 0 and uplink 1. In this way, the automatic balance of the link is realized.

Claims (6)

1.一种均衡复数条并行的串行反串行SERDES链路数据的方法,包括步骤:1. A method for equalizing multiple parallel serial anti-serial SERDES link data, comprising steps: a)发送芯片固定所要发送的数据帧的长度,并在数据帧中建立依次排列的帧头、连接帧号域、链路状态域、数据域;a) The sending chip fixes the length of the data frame to be sent, and establishes a sequence of frame headers, connection frame number fields, link state fields, and data fields in the data frames; b)为每一个数据帧分配连接帧号,并将连接帧号封装进数据帧中;b) assigning a connection frame number to each data frame, and encapsulating the connection frame number into the data frame; c)发送芯片通过SERDES链路将所述数据帧发送到接收芯片;c) the sending chip sends the data frame to the receiving chip through the SERDES link; d)接收芯片对接收到的数据帧进行检测,当发现SERDES链路状态异常时,通知发送芯片将该条链路的数据从其它SERDES链路上进行传输。d) The receiving chip detects the received data frame, and when it finds that the state of the SERDES link is abnormal, it notifies the sending chip to transmit the data of this link from other SERDES links. 2.根据权利要求1所述的方法,其特征在于,所述的d步骤具体包括如下步骤:2. method according to claim 1, is characterized in that, described d step specifically comprises the following steps: d1)接收芯片检测到SERDES链路异常后将所述SERDES链路异常状态信息放入发送到发送芯片的帧的链路状态域中;d1) After the receiving chip detects that the SERDES link is abnormal, the abnormal state information of the SERDES link is put into the link state field of the frame sent to the sending chip; d2)发送芯片接收该SERDES链路异常状态信息后停止从状态异常的链路上传输数据;d2) After receiving the abnormal state information of the SERDES link, the sending chip stops transmitting data from the abnormal link; d3)发送芯片将该条链路的数据从其它SERDES链路上进行传输。d3) The sending chip transmits the data of this link from other SERDES links. 3.根据权利要求1所述的方法,其特征在于还包括以下步骤:3. The method according to claim 1, further comprising the steps of: e)当接收芯片检测到步骤d)中状态异常的SERDES链路的链路状态恢复正常时,通知发送芯片恢复从该链路传输数据帧。e) When the receiving chip detects that the link state of the abnormal SERDES link in step d) returns to normal, it notifies the sending chip to resume transmission of data frames from the link. 4.根据权利要求3所述的方法,其特征在于,所述的步骤e)具体包括步骤:4. method according to claim 3, is characterized in that, described step e) specifically comprises the step: e1)接收芯片检测到SERDES链路正常状态后将链路正常状态放入发送到发送芯片的帧的链路状态信息中;e1) After the receiving chip detects the normal state of the SERDES link, the normal state of the link is put into the link state information of the frame sent to the sending chip; e2)发送芯片从该链路传输数据帧。e2) The sending chip transmits the data frame from the link. 5.根据权利要求1或3所述的方法,其特征在于,所述的检测SERDES链路状态的方法包括步骤:5. according to the described method of claim 1 or 3, it is characterized in that, the method for described detection SERDES link status comprises steps: 发送芯片连续发送数据帧,且数据帧间没有空隙;如果数据帧不足,则在数据帧间填充空闲帧;连续发送的帧的连接帧号是连续的;The sending chip sends data frames continuously, and there is no gap between the data frames; if the data frames are insufficient, fill the idle frames between the data frames; the connection frame numbers of the continuously sent frames are continuous; 如果接收芯片在每隔规定的数据帧长度的字节内没有检测到帧头,或检测到连接帧号的计数与上一次检测到的连接帧号的计数不连续,或者检测到SERDES的物理层解码出现错误,就判断SERDES链路状态异常;If the receiving chip does not detect the frame header in every byte of the specified data frame length, or detects that the count of the connection frame number is not continuous with the count of the connection frame number detected last time, or detects the physical layer of SERDES If there is an error in decoding, it is judged that the SERDES link status is abnormal; 在SERDES链路状态异常时,发送芯片继续在状态异常的SERDES链路上发送空闲帧,接收芯片不断的对链路进行检测,如果接收到连续的且间隔正常的规定数目个帧头和连接帧号,而且连接帧号的计数是递增的,也没有出现SERDES的物理层解码错误,则SERDES链路状态恢复正常。When the status of the SERDES link is abnormal, the sending chip continues to send idle frames on the abnormal SERDES link, and the receiving chip continuously detects the link. number, and the count of the connection frame number is incremented, and there is no SERDES physical layer decoding error, then the SERDES link status returns to normal. 6.根据权利要求5所述的方法,其特征在于,所述规定数目为5个或8个。6. The method according to claim 5, wherein the prescribed number is 5 or 8.
CNB2005100359000A 2005-07-08 2005-07-08 Method for series and anti-series link data of equalizing complex strip parallel Expired - Lifetime CN100531183C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100359000A CN100531183C (en) 2005-07-08 2005-07-08 Method for series and anti-series link data of equalizing complex strip parallel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100359000A CN100531183C (en) 2005-07-08 2005-07-08 Method for series and anti-series link data of equalizing complex strip parallel

Publications (2)

Publication Number Publication Date
CN1859358A true CN1859358A (en) 2006-11-08
CN100531183C CN100531183C (en) 2009-08-19

Family

ID=37298221

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100359000A Expired - Lifetime CN100531183C (en) 2005-07-08 2005-07-08 Method for series and anti-series link data of equalizing complex strip parallel

Country Status (1)

Country Link
CN (1) CN100531183C (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447613A (en) * 2010-10-15 2012-05-09 中兴通讯股份有限公司 Data transmission method, exchange device and system
WO2012155684A1 (en) * 2011-08-09 2012-11-22 中兴通讯股份有限公司 Link processing method, device and system
CN104106021A (en) * 2011-12-22 2014-10-15 英特尔公司 Interconnection of multiple chips in a package utilizing on-package input/output interfaces
CN104823167A (en) * 2012-12-28 2015-08-05 英特尔公司 Field Error Recovery
WO2017000737A1 (en) * 2015-06-30 2017-01-05 深圳市中兴微电子技术有限公司 Transmission checking method, node, system and computer storage medium
CN106603276A (en) * 2016-11-22 2017-04-26 华为技术有限公司 Fault processing method and device of SERDES link group
CN109245950A (en) * 2018-11-01 2019-01-18 郑州云海信息技术有限公司 A kind of method and relevant apparatus that link failure position is determining
CN110061890A (en) * 2019-04-16 2019-07-26 维沃移动通信有限公司 Data transfer control circuit, terminal device and data line
CN110519096A (en) * 2019-08-29 2019-11-29 西安电子工程研究所 RocketIO communication link detects automatically and restoration methods
WO2023236847A1 (en) * 2022-06-09 2023-12-14 华为技术有限公司 Path recovery method and apparatus, device, system, and computer-readable storage medium

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447613B (en) * 2010-10-15 2016-08-24 中兴通讯股份有限公司 Data transmission method, exchange device and system
CN102447613A (en) * 2010-10-15 2012-05-09 中兴通讯股份有限公司 Data transmission method, exchange device and system
WO2012155684A1 (en) * 2011-08-09 2012-11-22 中兴通讯股份有限公司 Link processing method, device and system
CN102932820A (en) * 2011-08-09 2013-02-13 中兴通讯股份有限公司 Link processing method, device and system
CN104106021B (en) * 2011-12-22 2018-03-30 英特尔公司 Utilize the multichip interconnection in the encapsulation of the upper input/output interface of encapsulation
US9535865B2 (en) 2011-12-22 2017-01-03 Intel Corporation Interconnection of multiple chips in a package
CN104106021A (en) * 2011-12-22 2014-10-15 英特尔公司 Interconnection of multiple chips in a package utilizing on-package input/output interfaces
CN104823167A (en) * 2012-12-28 2015-08-05 英特尔公司 Field Error Recovery
US10019300B2 (en) 2012-12-28 2018-07-10 Intel Corporation Live error recovery
US10691520B2 (en) 2012-12-28 2020-06-23 Intel Corporation Live error recovery
CN106330357B (en) * 2015-06-30 2019-11-15 深圳市中兴微电子技术有限公司 A SERDES transmission verification method, node and system
WO2017000737A1 (en) * 2015-06-30 2017-01-05 深圳市中兴微电子技术有限公司 Transmission checking method, node, system and computer storage medium
CN106330357A (en) * 2015-06-30 2017-01-11 深圳市中兴微电子技术有限公司 A SERDES transmission verification method, node and system
US10523235B2 (en) 2015-06-30 2019-12-31 Sanechips Technology Co., Ltd. Transmission checking method, node, system and computer storage medium
CN106603276A (en) * 2016-11-22 2017-04-26 华为技术有限公司 Fault processing method and device of SERDES link group
CN109245950A (en) * 2018-11-01 2019-01-18 郑州云海信息技术有限公司 A kind of method and relevant apparatus that link failure position is determining
CN109245950B (en) * 2018-11-01 2021-09-17 郑州云海信息技术有限公司 Method for determining link failure position and related device
CN110061890A (en) * 2019-04-16 2019-07-26 维沃移动通信有限公司 Data transfer control circuit, terminal device and data line
CN110061890B (en) * 2019-04-16 2021-04-27 维沃移动通信有限公司 Data transmission control circuit, terminal device and data transmission line
CN110519096A (en) * 2019-08-29 2019-11-29 西安电子工程研究所 RocketIO communication link detects automatically and restoration methods
WO2023236847A1 (en) * 2022-06-09 2023-12-14 华为技术有限公司 Path recovery method and apparatus, device, system, and computer-readable storage medium

Also Published As

Publication number Publication date
CN100531183C (en) 2009-08-19

Similar Documents

Publication Publication Date Title
US7995580B2 (en) Backplane interface adapter with error control and redundant fabric
JP4732594B2 (en) Method and apparatus for multiple gigabit ethernet architecture
US8332563B2 (en) Interface for bridging out-of-band information from a downstream communication link to an upstream communication link
US6961347B1 (en) High-speed interconnection link having automated lane reordering
US7020729B2 (en) Protocol independent data transmission interface
US6894970B1 (en) Router switch fabric protection using forward error correction
US6584535B1 (en) Configurable serial interconnection
US6879559B1 (en) Router line card protection using one-for-N redundancy
US6226290B1 (en) Method and apparatus for adjusting an interpacket gap using a network device in a data communications network
US7411946B2 (en) Network monitor and method
CN1859358A (en) Method for series and anti-series link data of equalizing complex strip parallel
CN1018227B (en) Telecommunications transmission security arrangement
US8873373B2 (en) Ethernet transmission method, transmission apparatus and system
CN1214576C (en) Method and device for inversing optical fibre node
US9729472B2 (en) Network physical link (PHY) switch system
CN1845525A (en) Master-slave device system
CN115314168A (en) Redundancy system for Ethernet transmission data
US9451338B2 (en) Line card with network processing device and data pump device
Durvaux The Implementation of the MAC and Physical Layers
CN101212408A (en) Switching system in load sharing mode and port-level protection switching method
HK1060671B (en) Protocol independent transmission using a 10 gigabit attachment unit interface

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
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20090819