[go: up one dir, main page]

CN1543162A - Method and adaptation device for mixed transmission of variable-length data packets and fixed-length cells - Google Patents

Method and adaptation device for mixed transmission of variable-length data packets and fixed-length cells Download PDF

Info

Publication number
CN1543162A
CN1543162A CNA2003101058904A CN200310105890A CN1543162A CN 1543162 A CN1543162 A CN 1543162A CN A2003101058904 A CNA2003101058904 A CN A2003101058904A CN 200310105890 A CN200310105890 A CN 200310105890A CN 1543162 A CN1543162 A CN 1543162A
Authority
CN
China
Prior art keywords
protocol data
data unit
cell
sdh
ufpdu
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
CNA2003101058904A
Other languages
Chinese (zh)
Other versions
CN100493075C (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.)
Xidian University
Wuhan Research Institute of Posts and Telecommunications Co Ltd
Original Assignee
Xidian University
Wuhan Research Institute of Posts and Telecommunications 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 Xidian University, Wuhan Research Institute of Posts and Telecommunications Co Ltd filed Critical Xidian University
Priority to CNB2003101058904A priority Critical patent/CN100493075C/en
Publication of CN1543162A publication Critical patent/CN1543162A/en
Application granted granted Critical
Publication of CN100493075C publication Critical patent/CN100493075C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开一种变长数据分组与定长信元混合传送的方法与适配装置。该方法与适配装置完成变长数据分组和统一组帧协议单元UFPDU、定长信元和修改的异步转移模式ATM信元之间的映射,统一组帧协议单元UFPDU和修改的异步转移模式ATM信元经过混合或分离、速率适配、透明性变换、加扰或解扰、映射或取出等处理,在同步数字体系/同步光网络SDH/SONET同一个虚容器/虚支路VC/VT或裸光纤/电缆上传送。该统一组帧协议数据单元UFPDU标头与异步转移模式ATM标头兼容,变长数据分组传送采用连接或无连接方式。本发明不仅大幅度提高同步数字体系/同步光网络SDH/SONET或裸光纤/电缆的传送效率,而且提供高层数据协议的标识和优先级,可为有关网络设备提供变长数据分组和定长信元传送接口。

The invention discloses a method and an adaptation device for mixed transmission of variable-length data packets and fixed-length cells. The method and the adaptation device complete the mapping between the variable-length data packet and the unified framing protocol unit UFPDU, the fixed-length cell and the modified asynchronous transfer mode ATM cell, and the unified framing protocol unit UFPDU and the modified asynchronous transfer mode ATM Cells are processed in the same virtual container/virtual tributary VC/VT or Transmission over bare fiber/cable. The header of the unified framing protocol data unit UFPDU is compatible with the ATM header of the asynchronous transfer mode, and the transmission of variable-length data packets adopts connection or connectionless mode. The invention not only greatly improves the transmission efficiency of synchronous digital system/synchronous optical network SDH/SONET or bare optical fiber/cable, but also provides identification and priority of high-level data protocols, and can provide variable-length data packets and fixed-length information for relevant network equipment. Metatransfer interface.

Description

变长数据分组与定长信元混合传送的方法与适配装置Method and adaptation device for mixed transmission of variable-length data packets and fixed-length cells

技术领域:Technical field:

本发明涉及信息网中相关的数据传送。特别涉及在同步数字体系/同步光网络SDH/SONET传输线路的同一个虚容器/虚支路VC/VT或裸光纤/电缆上,混合传送变长数据分组与定长信元两种协议数据单元PDU的方法和适配装置,可为有关信息网络设备提供分组传送接口,例如异步转移模式ATM接口、以太网媒质独立接口MII。The invention relates to related data transmission in information network. In particular, it involves mixed transmission of variable-length data packets and fixed-length cells on the same virtual container/virtual branch VC/VT or bare optical fiber/cable of the synchronous digital system/synchronous optical network SDH/SONET transmission line. The PDU method and adaptation device can provide packet transmission interfaces for relevant information network equipment, such as asynchronous transfer mode ATM interface and Ethernet medium independent interface MII.

背景技术:Background technique:

在各种各样的传输系统和信息网络中,网络端点利用同步数字体系/同步光网络SDH/SONET设备完成变长分组或异步转移模式ATM信元的传输。变长数据分组(网际协议IP分组、以太网媒质接入控制MAC帧等)经过点到点协议PPP封装成PPP协议数据单元PDU,该协议数据单元(PPP PDU)再经过高级数据链路控制HDLC(或经过SDH上的链路接入规程LAPS,或经过通用成帧规程GFP)封装成相应的协议数据单元,然后在同步数字体系/同步光网络SDH/SONET的一个虚容器/虚支路VC/VT中传送。变长数据分组也可经过异步转移模式ATM网络中的ATM适配层(AAL)适配处理,再按定长分割,与信元标头一起组装成异步转移模式ATM信元,在同步数字体系/同步光网络SDH/SONET的一个虚容器/虚支路VC/VT中传送。变长数据分组经过上述多种技术封装成的变长协议数据单元和异步转移模式ATM信元,也可在裸光纤/电缆上传送。In various transmission systems and information networks, network endpoints use synchronous digital system/synchronous optical network SDH/SONET equipment to complete the transmission of variable-length packets or asynchronous transfer mode ATM cells. Variable-length data packets (Internet Protocol IP packets, Ethernet media access control MAC frames, etc.) are encapsulated into PPP protocol data units PDU through point-to-point protocol PPP, and the protocol data unit (PPP PDU) is then controlled by advanced data link HDLC (or through the link access procedure LAPS on SDH, or through the general framing procedure GFP) into corresponding protocol data units, and then in a virtual container/virtual branch VC of synchronous digital system/synchronous optical network SDH/SONET /VT to teleport. Variable-length data packets can also be processed by the ATM adaptation layer (AAL) in the asynchronous transfer mode ATM network, and then divided according to the fixed length, and assembled into an asynchronous transfer mode ATM cell together with the cell header, in the synchronous digital system/ It is transmitted in a virtual container/virtual tributary VC/VT of synchronous optical network SDH/SONET. Variable-length data packets can be encapsulated into variable-length protocol data units and asynchronous transfer mode ATM cells through the above-mentioned multiple technologies, and can also be transmitted on bare optical fibers/cables.

上述技术的主要缺陷是在同步数字体系/同步光网络SDH/SONET的一个虚容器/虚支路VC/VT中或裸光纤/电缆上,仅能传送变长协议数据单元或异步转移模式ATM信元中的一种协议数据单元PDU,而不能同时传送两种协议数据单元PDU,从而使得同步数字体系/同步光网络SDH/SONET或裸光纤/电缆的传送效率较低。The main defect of the above-mentioned technology is that in a virtual container/virtual branch VC/VT of Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET or on bare optical fibers/cables, only variable-length protocol data units or asynchronous transfer mode ATM signals can be transmitted. One type of protocol data unit PDU in the unit, but cannot transmit two kinds of protocol data unit PDU at the same time, so that the transmission efficiency of synchronous digital hierarchy/synchronous optical network SDH/SONET or bare optical fiber/cable is low.

ATM论坛(ATM Forum)定义了基于ATM的帧在同步数字体系SDH上传送方式FAST(Frame based ATM over SONET/SDH Transport,fb-fbatm-0151.000,July,2000),采用ATM适配层AAL协议封装高层用户数据分组,但其主要缺陷是:The ATM Forum (ATM Forum) defines the ATM-based frame transmission method FAST (Frame based ATM over SONET/SDH Transport, fb-fbatm-0151.000, July, 2000) on the synchronous digital system SDH, which is encapsulated by the ATM adaptation layer AAL protocol High-level user data grouping, but its main drawbacks are:

(1)承载用户数据主要采用ATM适配层AAL5封装,导致链路层待传送单元是48字节的整倍数(不包括ATM论坛定义的信元标头4/8字节),或将待传送单元加入填充(Padding)以使其成为48字节的整倍数;(1) The bearer user data is mainly encapsulated by the ATM adaptation layer AAL5, resulting in the unit to be transmitted at the link layer being an integer multiple of 48 bytes (excluding the 4/8 bytes of the cell header defined by the ATM Forum), or will be The transmission unit adds padding (Padding) to make it an integer multiple of 48 bytes;

(2)FAST帧格式中采用32位帧校验序列FCS,但在大多数情况下,语音或视频等实时业务并不需要这种帧校验保护;(2) The 32-bit frame check sequence FCS is used in the FAST frame format, but in most cases, real-time services such as voice or video do not require this frame check protection;

(3)未明确提及变长分组与异步转移模式ATM信元混合传送时如何区别两种协议数据单元PDU;(3) There is no clear mention of how to distinguish between the two protocol data units (PDUs) when mixed transmission of variable-length packets and ATM cells in asynchronous transfer mode;

(4)FAST不提供类似于网际协议IP网络的无连接数据传送功能;(4) FAST does not provide a connectionless data transmission function similar to the Internet Protocol IP network;

(5)在高层数据分组较长时,FAST将其分割为多个FAST帧传送,但分组序号和位置要占用3字节开销,开销较大;(5) When the high-level data packet is long, FAST divides it into multiple FAST frames for transmission, but the sequence number and position of the packet will occupy 3 bytes of overhead, which is relatively large;

(6)FAST的协议数据单元PDU中未提供载荷优先级(如高层数据用户业务的优先级),从而使得无连接方式工作的网络转发结点,不能对语言/视频、数据等业务提供不同的转发交换策略,无法保证实时用户业务的服务质量QoS。(6) The load priority (such as the priority of high-level data user services) is not provided in the protocol data unit PDU of FAST, so that the network forwarding node working in the connectionless mode cannot provide different services such as language/video and data. Forwarding and switching strategies cannot guarantee the quality of service (QoS) of real-time user services.

由SCOTT JAMES、WEN-LUNG CHEN、GORDON LEE提出的“在SONET/SDH上映射定长分组和变长分组的系统和方法”(WO 0217543)通过存储4n个信元的字节(n为正整数),将这些异步转移模式ATM信元字节流和用高级数据链路控制HDLC封装的变长数据分组映射到4n个虚支路VT组成的复帧Superframe中。这种方案的缺点是:(1)变长分组与定长分组采用不同的封装,使相关传输及交换设备的实现复杂性增大;(2)由于交换设备利用虚通道标识符/虚通路标识符VPI/VCI实现信元交换,而采用高级数据链路控制HDLC帧只能实现点到点传输,无法用一种交换单元完成变长分组和定长分组交换;(3)因为n可变,复帧结构复杂,而且增加了异步转移模式ATM信元的端到端传送时延。"System and method for mapping fixed-length packets and variable-length packets on SONET/SDH" (WO 0217543) proposed by SCOTT JAMES, WEN-LUNG CHEN, GORDON LEE by storing 4n cells of bytes (n is a positive integer ), map these asynchronous transfer mode ATM cell byte streams and variable-length data packets encapsulated with high-level data link control HDLC into a multi-frame Superframe composed of 4n virtual tributaries VT. The disadvantages of this scheme are: (1) variable-length packets and fixed-length packets adopt different encapsulations, which increases the complexity of the implementation of related transmission and switching equipment; (2) because switching equipment uses virtual channel identifiers/virtual path Symbol VPI/VCI realizes cell switching, and the use of advanced data link control HDLC frame can only realize point-to-point transmission, and it is impossible to use a switching unit to complete variable-length packet and fixed-length packet switching; (3) because n is variable, The multiframe structure is complex, and it increases the end-to-end transmission delay of ATM cells in asynchronous transfer mode.

发明内容:Invention content:

本发明的目的在于克服上述已有技术的不足,提出一种变长数据分组与定长信元混合传送的方法及其适配装置,用于网络端点间实现变长数据分组与信元,在同步数字体系/同步光网络SDH/SONET的同一个虚容器/虚支路VC/VT或裸光纤/电缆上的混合传送。The purpose of the present invention is to overcome the deficiencies of the above-mentioned prior art, and propose a method for mixed transmission of variable-length data packets and fixed-length cells and an adaptation device thereof, which are used for realizing variable-length data packets and cells between network endpoints, and synchronously Hybrid transmission on the same virtual container/virtual tributary VC/VT or bare optical fiber/cable of digital hierarchy/synchronous optical network SDH/SONET.

实现本发明目的的变长数据分组与定长信元混合传送方法,包括发送和接收两个方向的传送处理,如图1所示。该方法在同步数字体系/同步光网络SDH/SONET或裸光纤/电缆传送方式下的处理流程略有差别,其中:The mixed transmission method of variable-length data packets and fixed-length cells for realizing the object of the present invention includes transmission processing in two directions of sending and receiving, as shown in FIG. 1 . The processing flow of this method is slightly different under the Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET or bare optical fiber/cable transmission mode, in which:

发送方向按图1(a)所述的下述过程进行:The sending direction is carried out according to the following process described in Figure 1(a):

(1)使用标准的媒质独立接口MII、异步转移模式通用测试及操作接口UTOPIA等接口,从用户终端、传输设备和交换机等网络部件处接收变长数据帧和定长信元,将变长数据帧中的载荷部分,即变长数据分组,存入发送分组先进先出存储器,并将信元直接放入发送信元先进先出存储器;(1) Use standard media independent interface MII, asynchronous transfer mode universal test and operation interface UTOPIA and other interfaces to receive variable-length data frames and fixed-length cells from user terminals, transmission equipment, switches and other network components, and convert variable-length data The load part in the frame, that is, the variable length data packet, is stored in the sending packet first-in-first-out memory, and the cells are directly put into the sending cell first-in-first-out memory;

(2)将变长数据分组外加控制标头和标头扩展及分组校验序列PCS,封装成统一组帧协议数据单元UFPDU,同时将定长信元变换成修改的信元格式,该修改的信元格式的标头差错控制HEC字段可选择使用;(2) Add control header and header extension and packet check sequence PCS to the variable-length data packet, encapsulate it into a unified framing protocol data unit UFPDU, and convert the fixed-length cell into a modified cell format at the same time. The header error control HEC field of the cell format can be used optionally;

(3)在统一组帧协议数据单元UFPDU和信元之间加入区分两者边界的“特殊标志F”,以区别不同协议数据单元PDU间边界,并根据用户业务的服务质量QoS特性,将统一组帧协议数据单元UFPDU和修改的信元进行混合;(3) Add a "special flag F" between the unified framing protocol data unit UFPDU and the cell to distinguish the boundary between the two, so as to distinguish the boundary between different protocol data units PDU, and according to the quality of service QoS characteristics of the user business, the unified group Frame protocol data unit UFPDU and modified cells are mixed;

(4)在“特殊标志F”和统一组帧协议数据单元UFPDU及信元组成的混合流中加入填充协议数据单元PPDU,保证该四者(即F、UFPDU、ATM信元、PPDU)的速率之和等于同步数字体系/同步光网络SDH/SONET的虚容器/虚支路VC/VT或裸光纤/电缆线路的传输净速率,以实现速率适配;(4) Add padding protocol data unit PPDU to the mixed flow composed of "special flag F" and unified framing protocol data unit UFPDU and cells to ensure the rate of the four (namely F, UFPDU, ATM cell, PPDU) The sum is equal to the net transmission rate of the virtual container/virtual tributary VC/VT of the synchronous digital system/synchronous optical network SDH/SONET or the bare optical fiber/cable line to achieve rate adaptation;

(5)对统一组帧协议数据单元UFPDU、信元和填充协议数据单元PPDU进行透明性处理,即对发送的统一组帧协议数据单元UFPDU、信元及填充协议数据单元PPDU等三种协议数据单元PDU中,出现的“特殊标志F”进行处理;(5) Transparency processing is performed on the unified framing protocol data unit UFPDU, cell, and padding protocol data unit PPDU, that is, the transmitted unified framing protocol data unit UFPDU, cell, and padding protocol data unit PPDU and other three protocol data In the unit PDU, the "special flag F" that appears is processed;

(6)在同步数字体系/同步光网络SDH/SONET传送方式时,将“特殊标志F”、统一组帧协议数据单元UFPDU、信元、填充协议数据单元PPDU组成的混合流,装入或映射到同步数字体系/同步光网络SDH/SONET的虚容器/虚支路VC/VT,并对虚容器/虚支路VC/VT中的净载荷,采用多项式为x43+1的自同步扰码器进行可选择的加扰;在裸光纤/电缆传送方式时,仅对上述混合流采用多项式为x43+1的自同步扰码器进行可选择的加扰;(6) In the synchronous digital system/synchronous optical network SDH/SONET transmission mode, load or map the mixed stream composed of "special flag F", unified framing protocol data unit UFPDU, cell, and filling protocol data unit PPDU To the virtual container/virtual tributary VC/VT of the synchronous digital system/synchronous optical network SDH/SONET, and for the payload in the virtual container/virtual tributary VC/VT, a self-synchronizing scrambling code with a polynomial of x 43 +1 is used Selectable scrambling is performed by the scrambler; in the bare optical fiber/cable transmission mode, only the self-synchronizing scrambler with the polynomial x 43 +1 is used for the above mixed stream to perform optional scrambling;

(7)在同步数字体系/同步光网络SDH/SONET传送方式时,对加扰后的净载荷加入同步数字体系/同步光网络SDH/SONET帧的段开销SOH和通道开销POH,形成同步数字体系/同步光网络SDH/SONET发送帧,并对该发送帧采用多项式g(x)=x7+x6+1进行加扰;(7) In the synchronous digital system/synchronous optical network SDH/SONET transmission mode, add the segment overhead SOH and channel overhead POH of the synchronous digital system/synchronous optical network SDH/SONET frame to the scrambled payload to form a synchronous digital system /Synchronous optical network SDH/SONET transmit frame, and use polynomial g(x)=x 7 +x 6 +1 to scramble the transmit frame;

(8)对同步数字体系/同步光网络SDH/SONET发送帧,或裸光纤/电缆传送方式时的上述(加扰后)混合流的字节进行比特变换,并使用发送时钟产生差分输出数据信号,通过对该输出数据信号的驱动,输出到线路上。(8) Perform bit conversion on the bytes of the synchronous digital system/synchronous optical network SDH/SONET transmission frame, or the above-mentioned (scrambled) mixed stream bytes in the bare optical fiber/cable transmission mode, and use the transmission clock to generate differential output data signals , output to the line by driving the output data signal.

接收方向按图1(b)所述的下述过程进行:The receiving direction is carried out according to the following process described in Figure 1(b):

(1)接收同步数字体系/同步光网络SDH/SONET发送帧或裸光纤/电缆传送方式时的混合流,从输入的差分数据中恢复时钟和数据(或直接输入时钟),将数据比特变换为字节;(1) Receive the synchronous digital system/synchronous optical network SDH/SONET mixed stream when sending frames or bare optical fiber/cable transmission mode, recover the clock and data from the input differential data (or directly input the clock), and convert the data bits into byte;

(2)在同步数字体系/同步光网络SDH/SONET传送方式时,根据同步数字体系/同步光网络SDH/SONET帧的(A1,A2)字节进行帧定界,并采用解扰多项式g(x)=x7+x6+1进行解扰;(2) In the synchronous digital system/synchronous optical network SDH/SONET transmission mode, frame delimitation is performed according to the (A 1 , A 2 ) byte of the synchronous digital system/synchronous optical network SDH/SONET frame, and the descrambling polynomial is used g(x)=x 7 +x 6 +1 for descrambling;

(3)在同步数字体系/同步光网络SDH/SONET传送方式时,取出和处理同步数字体系/同步光网络SDH/SONET帧的段开销SOH和通道开销POH,检测线路远端恶化指示RDI、告警指示信号AIS、字节交织奇偶校验BIP-x(x=8或96)错误是否发生,并给出相应错误指示;(3) In the synchronous digital system/synchronous optical network SDH/SONET transmission mode, extract and process the segment overhead SOH and channel overhead POH of the synchronous digital system/synchronous optical network SDH/SONET frame, and detect the remote deterioration indicator RDI and alarm of the line Indicates whether an error occurs in the signal AIS, byte interleaved parity check BIP-x (x=8 or 96), and gives a corresponding error indication;

(4)在同步数字体系/同步光网络SDH/SONET传送方式时,根据控制开销中的指针指示,取出虚容器/虚支路VC/VT中的净载荷;(4) When the synchronous digital system/synchronous optical network SDH/SONET transmission mode, according to the pointer indication in the control overhead, take out the payload in the virtual container/virtual tributary VC/VT;

(5)在同步数字体系/同步光网络SDH/SONET传送方式时,如果发送方虚容器/虚支路VC/VT中的净载荷已加扰,则采用多项式x43+1进行自同步解扰;在裸光纤/电缆传送方式时,对已加扰的数据字节采用多项式x43+1进行解扰;(5) In the synchronous digital system/synchronous optical network SDH/SONET transmission mode, if the payload in the virtual container/virtual tributary VC/VT of the sender has been scrambled, the polynomial x 43 +1 is used for self-synchronous descrambling ; In the bare optical fiber/cable transmission mode, the polynomial x 43 +1 is used to descramble the scrambled data bytes;

(6)在接收的字节流中搜索“特殊标志F”,并进行字节“去填充”(Destuffing)处理,识别并删除速率适配的填充协议数据单元PPDU中的PPDU格式3和异常中断分组,将两个“特殊标志F”间的数据作为一个协议数据单元PDU进行后续处理;(6) Search for "special flag F" in the received byte stream, and perform byte "destuffing" processing, identify and delete PPDU format 3 and abnormal interruption in the rate-adapted filling protocol data unit PPDU Grouping, the data between two "special flags F" is used as a protocol data unit PDU for subsequent processing;

(7)当发送方统一组帧协议数据单元UFPDU或信元中的标头差错控制HEC字段存在时,根据国际电联ITU I.361完成协议数据单元PDU标头的差错控制处理,对标头差错控制HEC正确的协议数据单元PDU进行后续处理,丢弃标头差错控制HEC处理后仍不正确的协议数据单元PDU;(7) When the header error control HEC field in the unified framing protocol data unit UFPDU or letter element of the sender exists, complete the error control processing of the header of the protocol data unit PDU according to ITU I.361. The correct protocol data unit PDU of the error control HEC is processed subsequently, and the protocol data unit PDU that is still incorrect after being processed by the header error control HEC is discarded;

(8)在接收的标头差错控制HEC正确的协议数据单元PDU中,识别统一组帧协议数据单元UFPDU和信元,如果载荷类型PT字段≠111B且长度为52/53,则判定该协议数据单元PDU为信元,如果载荷类型PT=111B,则判定该协议数据单元PDU为统一组帧协议数据单元UFPDU,当统一组帧协议数据单元UFPDU的分组校验序列PCS存在时,再对其进行循环冗余校验CRC-32处理;(8) In the correct protocol data unit PDU received by the header error control HEC, identify the unified framing protocol data unit UFPDU and the cell, if the payload type PT field ≠ 111B and the length is 52/53, then determine the protocol data unit PDU is a letter element, if the load type PT=111B, then determine that the protocol data unit PDU is a unified framing protocol data unit UFPDU, and when the packet check sequence PCS of the unified framing protocol data unit UFPDU exists, it is then cycled Redundancy check CRC-32 processing;

(9)处理填充协议数据单元PPDU,将统一组帧协议数据单元UFPDU的载荷取出,放入接收分组先进先出存储器,并将信元进行可能的协议数据单元PDU格式变换,再将该协议数据单元PDU放入接收信元先进先出存储器;(9) Process the filling protocol data unit PPDU, take out the load of the unified framing protocol data unit UFPDU, put it into the first-in-first-out memory of the received packet, and perform possible protocol data unit PDU format conversion on the cell, and then the protocol data The unit PDU is put into the first-in-first-out memory of the received cells;

(10)根据标准的媒质独立接口MII和异步转移模式通用测试和操作接口UTOPIA等接口上传送协议数据单元PDU的格式要求,取出接收分组/信元先进先出存储器中的分组和信元,完成可能的格式变换后发送给用户终端、传输设备和交换机等网络部件。(10) According to the standard media independent interface MII and asynchronous transfer mode universal test and operation interface UTOPIA and other interfaces to transmit protocol data unit PDU format requirements, take out the packet and cell in the received packet/cell first-in-first-out memory, complete possible After the format conversion, it is sent to network components such as user terminals, transmission equipment, and switches.

上述变长数据分组与定长信元混合传送的方法,其中统一组帧协议数据单元UFPDU依次由控制标头、标头扩展、变长数据分组和分组校验序列PCS字段组成。In the method for mixed transmission of variable-length data packets and fixed-length cells, the unified framing protocol data unit (UFPDU) is sequentially composed of control header, header extension, variable-length data packet and PCS field.

上述变长数据分组与定长信元混合传送的方法,其中速率适配是在不发送信元时,按优先权从高到低依次发送统一组帧协议数据单元UFPDU,如果既不发信元,也不发统一组帧协议数据单元UFPDU时,发送用于速率适配的填充协议数据单元PPDU,该填充协议数据单元PPDU有不同的格式。The above method for mixed transmission of variable-length data packets and fixed-length cells, wherein the rate adaptation is to send the unified framing protocol data unit UFPDU in order from high to low according to the priority when the cells are not sent. , when the unified framing protocol data unit UFPDU is not sent, the padding protocol data unit PPDU used for rate adaptation is sent, and the padding protocol data unit PPDU has a different format.

上述变长数据分组与定长信元混合传送的方法,其中透明处理的过程为:The above-mentioned mixed transmission method of variable-length data packets and fixed-length cells, wherein the process of transparent processing is:

(1)发送方将发送协议数据单元PDU中出现的“特殊标志F”置换为两个字节,一个是“转义8位二进制组”,另一个是“特殊标志F”与“填充特殊掩码”(8位二进制组)进行“异或”后的数值;(1) The sender replaces the "special flag F" that appears in the sending protocol data unit PDU with two bytes, one is "escape 8-bit binary group", the other is "special flag F" and "filling special mask code" (8-bit binary group) after "XOR" value;

(2)发送方将发送协议数据单元PDU中出现的“转义8位二进制组”也置换为两个字节,一个是“转义8位二进制组”,另一个是“转义8位二进制组”与“填充特殊掩码”(8位二进制组)进行“异或”后的数值;(2) The sender replaces the "escaped 8-bit binary group" that appears in the sending protocol data unit PDU with two bytes, one is "escaped 8-bit binary group", and the other is "escaped 8-bit binary group" Group" and "filling special mask" (8-bit binary group) after "XOR" value;

(3)“转义8位二进制组”和“填充特殊掩码”的设置可改变,两者的默认值分别为0x7d(16进制)和0x20,则透明处理变换将0x7e和0x7d分别置换为(0x7d,0x5e)和(0x7d,0x5d)。(3) The settings of "escape 8-bit binary group" and "fill special mask" can be changed, and the default values of the two are 0x7d (hexadecimal) and 0x20 respectively, and the transparent processing transformation will replace 0x7e and 0x7d with (0x7d, 0x5e) and (0x7d, 0x5d).

上述变长数据分组与定长信元混合传送的方法,其中接收方进行字节“去填充”处理的过程是,先将(0x7d,0x5e)和(0x7d,0x5d)分别置换为0x7e和0x7d,再将两个“特殊标志F”间的数据作为一个协议数据单元PDU进行识别处理。In the mixed transmission method of variable-length data packets and fixed-length cells, the receiver performs byte "defilling" processing by first replacing (0x7d, 0x5e) and (0x7d, 0x5d) with 0x7e and 0x7d respectively, Then, the data between the two "special flags F" is identified as a protocol data unit PDU.

上述变长数据分组与定长信元混合传送的方法,其中由变长分组封装成的统一组帧协议数据单元UFPDU由以下字段组成:In the method for mixed transmission of variable-length data packets and fixed-length cells, the unified framing protocol data unit (UFPDU) encapsulated by variable-length packets is composed of the following fields:

(1)统一组帧协议虚连接标识符/统一组帧协议网络结点标识符UFPVCI/UFPNNI字段,该字段用于表示统一组帧协议数据单元UFPDU的逻辑虚连接标识或分级区域网络结点地址。当表示统一组帧协议虚连接标识符UFPVCI时,其含义类似于异步转移模式ATM信元中的虚通道标识符/虚通路标识符VPI/VCI,由信令协议分配;当表示网络结点地址时,用于区别统一组帧协议联网区域内的不同网络结点;(1) Unified Framing Protocol Virtual Connection Identifier/Unified Framing Protocol Network Node Identifier UFPVCI/UFPNNI field, which is used to indicate the logical virtual connection identifier or hierarchical area network node address of the Unified Framing Protocol Data Unit UFPDU . When it represents the virtual connection identifier UFPVCI of the unified framing protocol, its meaning is similar to the virtual channel identifier/virtual path identifier VPI/VCI in the ATM cell of the asynchronous transfer mode, which is allocated by the signaling protocol; when it represents the network node address , it is used to distinguish different network nodes in the unified framing protocol networking area;

(2)载荷类型PT字段,该字段用于区别统一组帧协议数据单元UFPDU和定长信元混合流中的统一组帧协议数据单元UFPDU和定长信元;(2) The payload type PT field, which is used to distinguish the unified framing protocol data unit UFPDU and the fixed-length cell in the mixed flow of the unified framing protocol data unit UFPDU and the fixed-length cell;

(3)分组丢失优先级PLP字段,该字段用于标识统一组帧协议数据单元UFPDU中的分组丢失优先级,在分组传送过程中,如果转接/交换结点内出现拥塞,可先丢弃PLP=1的分组;(3) Packet loss priority PLP field, which is used to identify the packet loss priority in the unified framing protocol data unit UFPDU. During packet transmission, if congestion occurs in the transfer/switching node, the PLP can be discarded first = 1 grouping;

(4)标头差错控制HEC字段,该字段采用与标准信元的标头差错控制HEC相同的处理,用于保证协议数据单元PDU标头的正确性;(4) header error control HEC field, which adopts the same processing as the header error control HEC of the standard cell, and is used to ensure the correctness of the protocol data unit PDU header;

(5)分组校验序列存在标识PCSE字段,该字段表示是否使用分组校验序列PCS对统一组帧协议数据单元UFPDU的有关字段进行差错控制;(5) The packet check sequence exists to identify the PCSE field, which indicates whether to use the packet check sequence PCS to perform error control on the relevant fields of the unified framing protocol data unit UFPDU;

(6)分组优先级域PPF字段,该字段用于标识统一组帧协议数据单元UFPDU的载荷分组优先级,便于网络转接/交换结点对该协议数据单元PDU进行不同的处理;(6) Packet priority field PPF field, which is used to identify the load packet priority of the unified framing protocol data unit UFPDU, which is convenient for the network transfer/switching node to perform different processing on the protocol data unit PDU;

(7)高层协议标识符ULPI字段,该字段用于标识统一组帧协议数据单元UFPDU中载荷的高层数据协议类型等信息;(7) High layer protocol identifier ULPI field, which is used to identify information such as the type of high layer data protocol carried in the unified framing protocol data unit UFPDU;

(8)最后一段指示LSI字段,该字段用于标识某个统一组帧协议数据单元UFPDU的载荷区为某一个高层用户协议数据单元PDU的开始或中间一部分,还是为某一个高层用户协议数据单元PDU的完整部分或最后一部分;(8) The last paragraph indicates the LSI field, which is used to identify whether the payload area of a certain unified framing protocol data unit UFPDU is the beginning or middle part of a certain high-level user protocol data unit PDU, or is a certain high-level user protocol data unit The full or last part of the PDU;

(9)载荷Payload字段,该字段用于存放高层用户完整的协议数据单元PDU或协议数据单元PDU的一部分(用户数据分组),或操作管理维护OAM分组;(9) The Payload field, which is used to store a complete protocol data unit PDU or a part of a protocol data unit PDU (user data packet) of a high-level user, or an operation management and maintenance OAM packet;

(10)分组校验序列PCS字段,该字段用于对统一组帧协议数据单元UFPDU的标头、标头扩展、数据载荷区(或仅标头扩展和数据载荷区)进行差错校验保护,生成多项式为g(x)=x32+x26+x22+x16+x12+x11+x10+x8+x7+x5+x4+x2+x+1;(10) Packet Check Sequence PCS field, which is used to perform error check protection on the header, header extension, and data load area (or only the header extension and data load area) of the unified framing protocol data unit UFPDU, The generating polynomial is g(x)=x 32 +x 26 +x 22 +x 16 +x 12 +x 11 +x 10 +x 8 +x 7 +x 5 +x 4 +x 2 +x+1;

需说明的是统一组帧协议数据单元UFPDU中的标头差错控制HEC字段、整个标头扩展字段(分组校验序列存在标识PCSE、分组优先级域PPF、高层协议标识符ULPI、最后一段指示LSI)和分组校验序列PCS字段可编程选择是否使用。It should be noted that the header error control HEC field in the unified framing protocol data unit UFPDU, the entire header extension field (packet check sequence presence identifier PCSE, packet priority field PPF, high-level protocol identifier ULPI, and the last segment indicating LSI ) and the packet check sequence PCS field can be programmed to choose whether to use.

上述变长数据分组与定长信元混合传送的方法,其中填充协议数据单元PPDU有以下五种形式:In the mixed transmission method of variable-length data packets and fixed-length cells, the filling protocol data unit PPDU has the following five forms:

(1)填充PDU格式1,用于统一组帧协议联网时的操作维护管理OAM,该填充PDU包括统一组帧协议数据单元UFPDU的标头和载荷区,载荷区内容与异步转移模式ATM的操作维护管理OAM的载荷相同;(1) Filling PDU format 1, which is used for operation, maintenance and management OAM when the unified framing protocol is connected to the network. The filling PDU includes the header and the payload area of the unified framing protocol data unit UFPDU, and the content of the payload area is related to the operation of the asynchronous transfer mode ATM The load of maintenance and management OAM is the same;

(2)填充PDU格式2,是异步转移模式ATM的操作维护管理OAM信元,该填充PDU与标准的异步转移模式ATM的操作维护管理OAM信元相同;(2) fill PDU format 2, be the operation maintenance management OAM cell of asynchronous transfer mode ATM, the operation maintenance management OAM cell of this filling PDU and standard asynchronous transfer mode ATM is identical;

(3)填充PDU格式3,由“特殊标志F”、特殊字符0xdd(可编程为其它值)、“特殊标志F”等三个8位二进制组组成,该格式适用于同步数字体系/同步光网络SDH/SONET或裸光纤/电缆传输线路占用率较高的情况;(3) Filling PDU format 3, consisting of three 8-bit binary groups such as "special flag F", special character 0xdd (programmable to other values), "special flag F", this format is suitable for synchronous digital system/synchronous optical High occupancy rate of network SDH/SONET or bare optical fiber/cable transmission lines;

(4)填充PDU格式4,包括统一组帧协议数据单元UFPDU的标头,没有标头扩展、载荷区、分组校验序列PCS字段;(4) filling PDU format 4, including the header of the unified framing protocol data unit UFPDU, without header extension, payload area, packet check sequence PCS field;

(5)填充PDU格式5,是标准的异步转移模式ATM空闲信元。(5) Filling PDU format 5, which is a standard asynchronous transfer mode ATM idle cell.

填充PDU格式1和格式2的发送取决于操作维护管理OAM协议数据单元的传输带宽,在不发送填充PDU格式1和格式2时,优选的填充PDU发送顺序是填充PDU格式3、填充PDU格式4、填充PDU格式5。The transmission of filling PDU format 1 and format 2 depends on the transmission bandwidth of the operation, maintenance and management OAM protocol data unit. When filling PDU format 1 and format 2 are not sent, the preferred order of filling PDU sending is filling PDU format 3 and filling PDU format 4 , Filling PDU format 5.

实现本发明目的的适配装置包括:业务侧接口、分组/异步转移模式信元Packet/ATMCell先进先出存储器FIFO、统一组帧协议数据单元/异步转移模式信元UFPDU/ATM Cell发送处理器、同步数字体系/同步光网络SDH/SONET发送处理器、线路侧接口、同步数字体系/同步光网络SDH/SONET接收处理器、统一组帧协议数据单元/异步转移模式信元UFPDU/ATM Cell接收处理器、开销接口、微处理器接口等单元或模块,其中同步数字体系/同步光网络SDH/SONET发送处理器和同步数字体系/同步光网络SDH/SONET接收处理器仅用于同步数字体系/同步光网络SDH/SONET传送方式。The adaptation device that realizes the object of the present invention comprises: service side interface, grouping/asynchronous transfer mode cell Packet/ATMCell first-in-first-out memory FIFO, unified framing protocol data unit/asynchronous transfer mode cell UFPDU/ATM Cell sending processor, Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET Transmit Processor, Line Side Interface, Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET Receiver Processor, Unified Framing Protocol Data Unit/Asynchronous Transfer Mode Cell UFPDU/ATM Cell Receiving and Processing devices, overhead interfaces, microprocessor interfaces and other units or modules, among which the synchronous digital hierarchy/synchronous optical network SDH/SONET transmit processor and synchronous digital architecture/synchronous optical network SDH/SONET receiving processor are only used Optical network SDH/SONET transmission mode.

各模块的功能及连接关系如下:The functions and connections of each module are as follows:

(1)业务侧接口,用于通过业务输入/输出接口发送/接收数据帧和信元,实现与分组/信元先进先出存储器FIFO间的分组或信元传送,完成业务输入/输出接口和分组/信元先进先出存储器FIFO中的协议数据单元PDU间的格式转换,该接口与业务输入/输出接口、发送和接收分组/信元先进先出存储器FIFO相连接;(1) The service side interface is used to send/receive data frames and cells through the service input/output interface, realize the packet or cell transmission with the packet/cell first-in-first-out memory FIFO, and complete the service input/output interface and packet /Format conversion between the protocol data unit PDU in the cell first-in-first-out memory FIFO, this interface is connected with the service input/output interface, sending and receiving packets/cell first-in-first-out memory FIFO;

(2)分组/信元(Packet/ATM Cell)先进先出存储器FIFO,包括发送/接收分组先进先出存储器FIFO和发送/接收信元先进先出存储器FIFO等四个存储器,用于存放发送及接收方向的分组和信元,该四个存储器与业务侧接口、统一组帧协议数据单元/信元UFPDU/ATM Cell发送或接收处理器相连接;(2) Packet/ATM Cell (Packet/ATM Cell) first-in-first-out memory FIFO, including four memories such as sending/receiving packet first-in-first-out memory FIFO and sending/receiving cell first-in-first-out memory FIFO, which are used to store sending and receiving For packets and cells in the receiving direction, the four memories are connected to the service side interface, unified framing protocol data unit/cell UFPDU/ATM Cell sending or receiving processor;

(3)统一组帧协议数据单元/信元UFPDU/ATM Cell发送处理器,用于完成将分组/信元先进先出存储器FIFO输入的分组和信元,分别封装成统一组帧协议数据单元UFPDU和修改的信元,混合统一组帧协议数据单元UFPDU和修改的信元,加入填充协议数据单元PPDU以实现速率适配,在协议数据单元PDU间加入区别边界的“特殊标志F”。对准备装入虚容器/虚支路VC/VT或裸光纤/电缆传输线路的净载荷进行透明性处理和加扰后,在同步数字体系/同步光网络SDH/SONET传送方式时,输出到同步数字体系/同步光网络SDH/SONET发送处理器,而在裸光纤/电缆传送方式时,直接输出到线路侧接口;(3) Unified framing protocol data unit/cell UFPDU/ATM Cell sending processor, which is used to complete the packet and cell input into the packet/cell first-in-first-out memory FIFO, and encapsulate them into unified framing protocol data unit UFPDU and Modified cells, mixed unified framing protocol data unit UFPDU and modified cells, add padding protocol data unit PPDU to realize rate adaptation, and add "special flag F" to distinguish boundaries between protocol data units PDUs. After transparent processing and scrambling of the payload to be loaded into the virtual container/virtual tributary VC/VT or bare optical fiber/cable transmission line, in the synchronous digital system/synchronous optical network SDH/SONET transmission mode, output to the synchronous Digital system/synchronous optical network SDH/SONET transmission processor, and in the bare fiber/cable transmission mode, directly output to the line side interface;

(4)同步数字体系/同步光网络SDH/SONET发送处理器,用于在同步数字体系/同步光网络SDH/SONET传送方式时,将统一组帧协议数据单元/信元UFPDU/ATM Cell发送处理器输入的协议数据单元PDU混合流装入(映射到)同步数字体系/同步光网络SDH/SONET的虚容器/虚支路VC/VT,产生段开销SOH和通道开销POH,组装同步数字体系/同步光网络SDH/SONET帧,对该帧加扰后送到线路侧接口;(4) Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET Transmitting Processor, used to send and process Unified Framing Protocol Data Unit/Cell UFPDU/ATM Cell in Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET transmission mode The protocol data unit PDU mixed stream input by the device is loaded (mapped) into the virtual container/virtual tributary VC/VT of the synchronous digital system/synchronous optical network SDH/SONET, generating segment overhead SOH and channel overhead POH, and assembling the synchronous digital system/ Synchronize optical network SDH/SONET frame, scramble the frame and send it to the line side interface;

(5)线路侧接口,用于对同步数字体系/同步光网络SDH/SONET发送处理器的输入,或统一组帧协议数据单元/信元UFPDU/ATM Cell发送处理器的输入,进行并/串交换,产生发送时钟和差分数据信号,将数据信号输出到线路上;从物理线路接收输入数据信号,完成接收时钟信号恢复和数据恢复,并进行数据串/并变换,根据同步数字体系/同步光网络SDH/SONET和裸光纤/电缆两种不同传送方式,将变换后数据传送给同步数字体系/同步光网络SDH/SONET接收处理器,或统一组帧协议数据单元/信元UFPDU/ATM Cell接收处理器;(5) Line-side interface, used for parallel/serial input to the synchronous digital system/synchronous optical network SDH/SONET transmission processor, or the input of the unified framing protocol data unit/cell UFPDU/ATM Cell transmission processor Exchange, generate transmission clock and differential data signal, output the data signal to the line; receive input data signal from the physical line, complete the recovery of the received clock signal and data recovery, and perform data serial/parallel conversion, according to the synchronous digital system/synchronous optical Network SDH/SONET and bare fiber/cable two different transmission methods, the converted data is transmitted to the Synchronous Digital System/Synchronous Optical Network SDH/SONET receiving processor, or unified framing protocol data unit/cell UFPDU/ATM Cell receiving processor;

(6)同步数字体系/同步光网络SDH/SONET接收处理器,对线路侧接口输入的数据搜索以确定同步数字体系/同步光网络SDH/SONET帧的起始位置,并对接收数据帧解扰,取出该帧中的段开销SOH和通道开销POH,根据指针机制确定虚容器/虚支路VC/VT起始位置、载荷区第一个完整协议数据单元PDU的起始位置,再将该帧中数据送到统一组帧协议数据单元/信元UFPDU/ATM Cell接收处理器;(6) Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET receiving processor, search the data input by the line side interface to determine the starting position of the Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET frame, and descramble the received data frame , take out the segment overhead SOH and channel overhead POH in the frame, determine the starting position of the virtual container/virtual branch VC/VT and the starting position of the first complete protocol data unit PDU in the payload area according to the pointer mechanism, and then the frame The middle data is sent to the unified framing protocol data unit/cell UFPDU/ATM Cell receiving processor;

(7)统一组帧协议数据单元/信元UFPDU/ATM Cell接收处理器,用于对同步数字体系/同步光网络SDH/SONET接收处理器输入的虚容器/虚支路VC/VT净载荷区数据,或裸光纤/电缆传送方式下线路侧接口输入的数据,进行解扰、接收定界、“去填充”处理,完成接收分组的标头差错控制HEC计算,识别统一组帧协议数据单元UFPDU和信元,删除填充协议数据单元PPDU,完成分组校验序列PCS计算,将正确的统一组帧协议数据单元UFPDU和信元进行格式变换,分别送到接收分组/信元先进先出存储器FIFO,通过业务侧接口变换格式并输出;(7) Unified framing protocol data unit/cell UFPDU/ATM Cell receiving processor, used for the virtual container/virtual tributary VC/VT payload area input to the Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET receiving processor Data, or the data input by the line-side interface in the bare fiber/cable transmission mode, undergoes descrambling, receiving delimitation, and "de-stuffing" processing, completes the header error control HEC calculation of the received packet, and identifies the unified framing protocol data unit UFPDU and cells, delete and fill the protocol data unit PPDU, complete the calculation of the packet check sequence PCS, convert the correct format of the unified framing protocol data unit UFPDU and cells, and send them to the receiving packet/cell first-in-first-out memory FIFO respectively, and pass the service The side interface converts the format and outputs it;

(8)开销接口,用于完成操作维护管理OAM相关信息的设置和取出,该接口与同步数字体系/同步光网络SDH/SONET发送处理器、同步数字体系/同步光网络SDH/SONET接收处理器、统一组帧协议数据单元/信元(UFPDU/ATM Cell)发送处理器和统一组帧协议数据单元/信元(UFPDU/ATM Cell)接收处理器相连接;(8) Overhead interface, which is used to complete the setting and retrieval of OAM-related information for operation, maintenance and management. This interface is compatible with the Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET Transmit Processor, Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET Receiver Processor 1. The unified framing protocol data unit/cell (UFPDU/ATM Cell) sending processor is connected with the unified framing protocol data unit/cell (UFPDU/ATM Cell) receiving processor;

(9)微处理器接口,用于实现与外接微处理器连接,完成适配装置的配置和状态输出。(9) Microprocessor interface, used to realize the connection with an external microprocessor, and complete the configuration and status output of the adapter device.

需说明的是同步数字体系SDH虚容器VC与同步光网络SONET虚支路VT功能上相同,故本发明对同步数字体系SDH虚容器VC的描述也适用于同步光网络SONET虚支路VT。It should be noted that the synchronous digital hierarchy SDH virtual container VC is functionally the same as the synchronous optical network SONET virtual tributary VT, so the description of the synchronous digital hierarchy SDH virtual container VC in the present invention is also applicable to the synchronous optical network SONET virtual tributary VT.

上述适配装置,其中统一组帧协议数据单元/信元UFPDU/ATM Cell发送处理器输出到同步数字体系/同步光网络SDH/SONET发送处理器或线路侧接口的协议数据单元PDU混合流有4种,统一组帧协议数据单元UFPDU、信元、填充协议数据单元PPDU和“特殊标志F”。The above-mentioned adaptation device, wherein the unified framing protocol data unit/cell UFPDU/ATM Cell sending processor outputs to the synchronous digital system/synchronous optical network SDH/SONET sending processor or the protocol data unit PDU mixed flow of the line side interface has 4 Types, unified framing protocol data unit UFPDU, cell, padding protocol data unit PPDU and "special flag F".

上述适配装置,其中同步数字体系/同步光网络SDH/SONET接收处理器或线路侧接口输出到统一组帧协议数据单元/信元UFPDU/ATM Cell接收处理器的协议数据单元PDU混合流有4种,统一组帧协议数据单元UFPDU、信元、填充协议数据单元PPDU和“特殊标志F”。The above-mentioned adaptation device, wherein the Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET receiving processor or the line side interface outputs to the protocol data unit PDU mixed flow of the unified framing protocol data unit/cell UFPDU/ATM Cell receiving processor has 4 Types, unified framing protocol data unit UFPDU, cell, padding protocol data unit PPDU and "special flag F".

本发明具有如下优点:The present invention has the following advantages:

(1)完成变长数据分组与定长信元在同步数字体系/同步光网络SDH/SONET的单个虚容器/虚支路VC/VT或裸光纤/电缆上的混合传输,大幅度提高传输效率;(1) Complete the hybrid transmission of variable-length data packets and fixed-length cells on a single virtual container/virtual tributary VC/VT or bare optical fiber/cable of synchronous digital system/synchronous optical network SDH/SONET, greatly improving transmission efficiency ;

(2)也可完成变长数据分组或定长信元单独在同步数字体系/同步光网络SDH/SONET的单个虚容器/虚支路VC/VT或裸光纤/电缆上的传输;(2) It can also complete the transmission of variable-length data packets or fixed-length cells alone on a single virtual container/virtual branch VC/VT or bare optical fiber/cable of Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET;

(3)在面向连接的传送方式时,定义的变长数据分组控制标头与标准信元标头完全兼容,减少了相关传输与交换中的处理复杂度;(3) In the connection-oriented transmission mode, the defined variable-length data packet control header is fully compatible with the standard cell header, which reduces the processing complexity in related transmission and exchange;

(4)可根据高层数据分组的业务特性,确定是否采用分组校验序列PCS以提供差错校验保护,应用范围广;(4) According to the business characteristics of high-level data packets, it can be determined whether to use the packet check sequence PCS to provide error check protection, which has a wide range of applications;

(5)提供高层数据分组的协议类型指示功能(如IPv4,IPv6等);(5) Provide the protocol type indication function of high-level data packets (such as IPv4, IPv6, etc.);

(6)为变长数据分组的传送提供优先级,便于交换设备采用区分服务,以提高实时业务的服务质量QoS;(6) Provide priority for the transmission of variable-length data packets, which is convenient for switching equipment to adopt differentiated services to improve the service quality QoS of real-time services;

(7)提供高层数据分组可能需要的数据分组分段/重装功能;(7) Provide data packet segmentation/reassembly functions that may be required by high-level data packets;

(8)可为高层数据分组提供类似于网际协议IP网络的无连接数据传送功能。(8) It can provide a connectionless data transmission function similar to the Internet Protocol IP network for high-level data packets.

附图说明:Description of drawings:

图1是本发明提出的变长数据分组和定长信元混合传送方法的原理框图。Fig. 1 is a functional block diagram of the mixed transmission method of variable-length data packets and fixed-length cells proposed by the present invention.

图2是本发明所提出的统一组帧协议数据单元格式图。Fig. 2 is a format diagram of the unified framing protocol data unit proposed by the present invention.

图3是本发明所提出的、修改的异步转移模式ATM信元格式图。Fig. 3 is a diagram of the ATM cell format of the modified asynchronous transfer mode proposed by the present invention.

图4是高级数据链路控制HDLC帧标志、变长统一组帧协议数据单元和定长信元混合传送示意图。Fig. 4 is a schematic diagram of mixed transmission of advanced data link control HDLC frame flag, variable-length unified framing protocol data unit and fixed-length cells.

图5是变长统一组帧协议数据单元和定长信元流映射到同步数字体系SDH的单个虚容器VC的混合传送示意图。Fig. 5 is a schematic diagram of mixed transmission of variable-length unified framing protocol data unit and fixed-length cell stream mapped to a single virtual container VC of synchronous digital hierarchy SDH.

图6是变长统一组帧协议数据单元和定长信元混合传送时的适配处理装置。Fig. 6 is an adaptation processing device for mixed transmission of variable-length unified framing protocol data units and fixed-length cells.

图7是以太网物理层帧组成格式图。FIG. 7 is a format diagram of an Ethernet physical layer frame.

图8是以太网媒质接入控制MAC帧格式图。FIG. 8 is a format diagram of an Ethernet media access control MAC frame.

图9是传送以太网媒质接入控制MAC帧时,生成的统一组帧协议数据单元UFPDU格式图。FIG. 9 is a format diagram of a unified framing protocol data unit (UFPDU) generated when transmitting an Ethernet medium access control MAC frame.

图10是本发明的应用实施例图。Fig. 10 is a diagram of an application example of the present invention.

具体实施方式:Detailed ways:

以下结合附图详细描述本发明的实现方法和装置。The implementation method and device of the present invention will be described in detail below in conjunction with the accompanying drawings.

如图2所示,本发明所提出的统一组帧协议数据单元UFPDU,包括统一组帧协议虚连接标识符/统一组帧协议网络结点标识符UFPVCI/UFPNNI字段、载荷类型PT字段、分组丢失优先级PLP字段、标头差错控制HEC字段、分组校验序列存在标识PCSE字段、分组优先级域PPF字段、高层协议标识符ULPI字段、最后一段指示LSI、载荷字段、分组校验序列PCS字段等,其协议数据单元中各字段的含义如下:As shown in Figure 2, the unified framing protocol data unit UFPDU proposed by the present invention includes the unified framing protocol virtual connection identifier/unified framing protocol network node identifier UFPVCI/UFPNNI field, load type PT field, packet loss Priority PLP field, header error control HEC field, packet check sequence presence identifier PCSE field, packet priority field PPF field, high-level protocol identifier ULPI field, last segment indication LSI, payload field, packet check sequence PCS field, etc. , the meanings of each field in the protocol data unit are as follows:

(1)统一组帧协议虚连接标识符/统一组帧协议网络结点标识符UFPVCI/UFPNNI(28比特),其作用是标识统一组帧协议数据单元UFPDU相关的逻辑标识或分级区域网络结点地址。(1) Unified Framing Protocol Virtual Connection Identifier/Unified Framing Protocol Network Node Identifier UFPVCI/UFPNNI (28 bits), which is used to identify the logical identifier or hierarchical area network node related to the Unified Framing Protocol Data Unit UFPDU address.

UFPVCI/UFPNNI字段有以下两种形式:第一种形式是其表示统一组帧协议虚连接标识符UFPVCI,含义类似于信元中的虚通道标识符/虚通路标识符VPI/VCI,其中虚通道标识符VPI部分占用8/12位,分别对应用户网络接口/网络结点接口UNI/NNI,虚通路标识符VCI部分占用16位,由信令协议分配;第二种形式是其代表统一组帧协议网络结点标识符UFPNNI,即网络结点地址,用于区别统一组帧协议UFP联网区域内的不同网络结点。统一组帧协议网络结点标识符UFPNNI共28比特,前14比特表示分组的统一组帧协议UFP域内宿结点,后14比特表示该分组的统一组帧协议UFP域内源结点。不同统一组帧协议UFP域结点所包括的用户端点地址范围(如网际协议IP地址)由网管协议规定。由于此方式属于无连接方式,不能保证分组按序到达;如要保证分组按序到达,可由高层协议在协议数据单元载荷区中加入序号。The UFPVCI/UFPNNI field has the following two forms: the first form is that it represents the virtual connection identifier UFPVCI of the unified framing protocol, and its meaning is similar to the virtual channel identifier/virtual channel identifier VPI/VCI in the cell, where the virtual channel The VPI part of the identifier occupies 8/12 bits, corresponding to the user network interface/network node interface UNI/NNI respectively, and the VCI part of the virtual path identifier occupies 16 bits, which is allocated by the signaling protocol; the second form is that it represents unified framing The protocol network node identifier UFPNNI, that is, the network node address, is used to distinguish different network nodes in the UFP networking area. The unified framing protocol network node identifier UFPNNI has a total of 28 bits, the first 14 bits indicate the sink node in the unified framing protocol UFP domain of the packet, and the last 14 bits indicate the source node in the unified framing protocol UFP domain of the packet. The user endpoint address ranges (such as Internet Protocol IP addresses) included in different UFP domain nodes are specified by the network management protocol. Since this method is a connectionless method, it cannot guarantee that the packets arrive in sequence; if it is necessary to ensure that the packets arrive in sequence, the high-level protocol can add a sequence number in the payload area of the protocol data unit.

(2)载荷类型PT(3比特),标识UFPDU的载荷类型。在统一组帧协议数据单元UFPDU与信元混合传送时,载荷类型PT=111B(2进制)标识某个协议数据单元是统一组帧协议数据单元UFPDU,而PT≠111B标识某个协议数据单元是信元Cell。(2) Payload type PT (3 bits), which identifies the payload type of the UFPDU. When the unified framing protocol data unit UFPDU and the cell are mixed, the load type PT=111B (binary) indicates that a certain protocol data unit is a unified framing protocol data unit UFPDU, and PT≠111B indicates that a certain protocol data unit is Cell.

(3)分组丢失优先级PLP(1比特):标明统一组帧协议数据单元UFPDU的分组丢失优先级,PLP的功能、使用方式与信元中的信元丢失优先级CLP相同。在统一组帧协议数据单元UFPDU传送过程中,如果转接/交换结点内出现拥塞,可先丢弃分组丢失优先级PLP=1的分组。(3) Packet loss priority PLP (1 bit): Indicates the packet loss priority of the unified framing protocol data unit UFPDU. The function and usage of PLP are the same as the cell loss priority CLP in the cell. During the UFPDU transmission process, if congestion occurs in the transfer/switching node, the packets with packet loss priority PLP=1 can be discarded first.

(4)分组校验序列存在标识PCSE(1比特):统一组帧协议数据单元UFPDU是否使用分组校验序列PCS的标志。PCSE=1/0分别表示分组校验序列PCS字段存在/不存在。(4) Packet Check Sequence Existence Flag PCSE (1 bit): flag indicating whether the unified framing protocol data unit UFPDU uses the Packet Check Sequence PCS. PCSE=1/0 respectively indicates the presence/absence of the packet check sequence PCS field.

(5)分组优先级域PPF(3比特):指明统一组帧协议数据单元UFPDU的分组优先级。PPF=000~111B标识载荷优先级,111表示优先级最高。(5) Packet priority field PPF (3 bits): indicates the packet priority of the unified framing protocol data unit UFPDU. PPF=000~111B indicates the priority of the load, and 111 indicates the highest priority.

(6)高层协议标识符ULPI(3比特):标识统一组帧协议数据单元UFPDU载荷Payload的高层数据协议类型等信息。高层协议标识符ULPI=0x04标识统一组帧协议数据单元UFPDU载荷为IPv4分组,ULPI=0x06标识统一组帧协议数据单元UFPDU载荷为IPv6分组,ULPI=0x07标识统一组帧协议数据单元UFPDU载荷为点到点协议PPP分组。其它ULPI数值暂时保留。(6) High-level protocol identifier ULPI (3 bits): identifies information such as the high-level data protocol type of the Payload of the unified framing protocol data unit UFPDU. The high-level protocol identifier ULPI=0x04 indicates that the UFPDU payload is an IPv4 packet, ULPI=0x06 indicates that the UFPDU payload is an IPv6 packet, and ULPI=0x07 indicates that the UFPDU payload is a point Point-to-Point Protocol PPP packet. Other ULPI values are temporarily reserved.

(7)最后一段指示LSI(1比特):最后一段指示LSI=1标识某个统一组帧协议数据单元UFPDU的载荷区为某一个高层用户协议数据单元的完整部分或最后一部分,而LSI=0标识某个统一组帧协议数据单元UFPDU的载荷区为某一个高层用户协议数据单元的开始或中间一部分。(7) The last section indicates LSI (1 bit): the last section indicates that LSI=1 identifies that the payload area of a certain unified framing protocol data unit UFPDU is the complete part or the last part of a certain high-level user protocol data unit, and LSI=0 Identify the payload area of a unified framing protocol data unit (UFPDU) as the beginning or middle part of a certain high-level user protocol data unit.

(8)标头差错控制HEC(8比特):标头差错控制采用与标准信元中标头差错控制HEC相同的处理,即采用生成多项式g(x)=x8+x2+x+1对标头4字节信息多项式与x8相乘的结果求余数,该余数经加入01010101B处理后放入该字段。(8) Header error control HEC (8 bits): The header error control adopts the same processing as the header error control HEC in the standard cell, that is, the generator polynomial g(x)=x 8 +x 2 +x+1 pair Calculate the remainder of the multiplication result of the header 4-byte information polynomial and x8 , and put the remainder into this field after adding 01010101B for processing.

(9)载荷Payload:载荷区存放高层用户一个完整的协议数据单元或协议数据单元的一部分(用户数据分组),或操作管理维护OAM分组。(9) Payload Payload: the payload area stores a complete protocol data unit or a part of a protocol data unit (user data packet) of a high-level user, or an OAM packet for operation, management and maintenance.

(10)分组校验序列PCS(32比特):用于对统一组帧协议数据单元UFPDU的标头、标头扩展、数据载荷区(或标头扩展和数据载荷区)进行差错校验保护,生成多项式为g(x)=x32+x26+x22+x16+x12+x11+x10+x8+x7+x5+x4+x2+x+1。(10) Packet Check Sequence PCS (32 bits): Used to perform error check protection on the header, header extension, and data payload area (or header extension and data payload area) of the unified framing protocol data unit UFPDU, The generator polynomial is g(x)=x 32 +x 26 +x 22 +x 16 +x 12 +x 11 +x 10 +x 8 +x 7 +x 5 +x 4 +x 2 +x+1.

需说明的是图2的虚线方框内的字段是可选的,即统一组帧协议数据单元UFPDU中的标头差错控制HEC、整个标头扩展字段(分组校验序列存在标识PCSE、分组优先级域PPF、高层协议标识符ULPI、最后一段指示LSI)、分组校验序列PCS字段可编程选择是否使用。It should be noted that the fields in the dashed box in Figure 2 are optional, that is, the header error control HEC in the unified framing protocol data unit UFPDU, the entire header extension field (packet check sequence presence flag PCSE, packet priority Level field PPF, high layer protocol identifier ULPI, last segment indication LSI), packet check sequence PCS field can be programmed to choose whether to use.

如图3所示,本发明所提出的、修改的异步转移模式ATM信元,其载荷为定长分组。其协议数据单元中各字段的含义与标准信元对应字段的含义相同,区别是其协议数据单元中的标头差错控制HEC字段(虚线方框内)是可选择的,即由网络管理决定其是否存在。As shown in Fig. 3, the modified asynchronous transfer mode ATM cell proposed by the present invention has a load of fixed-length packets. The meaning of each field in the protocol data unit is the same as that of the corresponding field in the standard cell, the difference is that the header error control HEC field (in the dashed box) in the protocol data unit is optional, that is, it is determined by the network management does it exist.

如图4所示,本发明的协议数据单元混合流由“特殊标志F”、统一组帧协议数据单元UFPDU、信元和填充协议数据单元PPDU组成,其中填充协议数据单元PPDU的作用是速率适配。“特殊标志F”长度是一个字节(八位二进制组),可区别协议数据单元混合流中的两个相邻的协议数据单元间的边界,这些协议数据单元包括统一组帧协议数据单元UFPDU、信元和填充协议数据单元PPDU,两个相邻的协议数据单元既可属于同一种类(如一个信元与一个信元),也可属于不同种类(如一个统一组帧协议数据单元UFPDU与一个信元)。在发送统一组帧协议数据单元UFPDU、信元和填充协议数据单元PPDU时,字节的发送顺序是从字节编号1处开始,字节内的比特发送顺序是从字节的最高位(位7)到最低位(位1)。As shown in Fig. 4, the protocol data unit mixed flow of the present invention is made up of " special mark F ", unified framing protocol data unit UFPDU, cell and filling protocol data unit PPDU, wherein the effect of filling protocol data unit PPDU is rate adaptation match. The length of "special flag F" is one byte (octet binary group), which can distinguish the boundary between two adjacent protocol data units in the mixed stream of protocol data units. These protocol data units include unified framing protocol data unit UFPDU , cell and filling protocol data unit PPDU, two adjacent protocol data units can belong to the same type (such as a cell and a cell), and can also belong to different types (such as a unified framing protocol data unit UFPDU and a cell). When sending the unified framing protocol data unit UFPDU, cell and padding protocol data unit PPDU, the sending order of the bytes starts from byte number 1, and the sending order of the bits in the byte starts from the most significant bit of the byte (bit 7) to the lowest bit (bit 1).

如图5所示,本发明的统一组帧协议数据单元UFPDU和信元按照业务优先级等策略,依次装入(或映射到)同步数字体系SDH的虚容器VC中,指针调整由段开销SOH中的H1和H2字节给出。由于信元和统一组帧协议数据单元UFPDU的开始在虚容器VC载荷区中是变化的,需注意一个虚容器VC载荷区的最后部分可能仅装入了一个协议数据单元(信元或统一组帧协议数据单元UFPDU)的开始部分,而同一个协议数据单元的其余部分装入了下一个同步数字体系SDH帧的虚容器VC载荷区的开始部分。As shown in Figure 5, the unified framing protocol data unit UFPDU and the cell of the present invention are sequentially loaded (or mapped) into the virtual container VC of the Synchronous Digital Hierarchy SDH according to policies such as service priority, and the pointer adjustment is performed by the segment overhead SOH The H1 and H2 bytes are given. Since the beginning of the cell and the unified framing protocol data unit UFPDU is changed in the virtual container VC payload area, it should be noted that the last part of a virtual container VC payload area may only be loaded with a protocol data unit (cell or unified group frame protocol data unit UFPDU), and the rest of the same protocol data unit is loaded into the beginning part of the virtual container VC load area of the next Synchronous Digital Hierarchy SDH frame.

如图6所示,本发明的适配装置包括:业务侧接口、分组/异步转移模式信元Packet/ATM Cell先进先出存储器FIFO、统一组帧协议数据单元/信元UFPDU/ATM Cell发送处理器、同步数字体系/同步光网络SDH/SONET发送处理器、线路侧接口、同步数字体系/同步光网络SDH/SONET接收处理器、统一组帧协议数据单元/信元UFPDU/ATMCell接收处理器、开销接口、微处理器接口等单元或模块,但同步数字体系/同步光网络SDH/SONET发送处理器和同步数字体系/同步光网络SDH/SONET接收处理器仅用于同步数字体系/同步光网络SDH/SONET传送方式,其中:As shown in Figure 6, the adaptation device of the present invention includes: service side interface, packet/asynchronous transfer mode cell Packet/ATM Cell FIFO, unified framing protocol data unit/cell UFPDU/ATM Cell sending process Device, Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET Transmit Processor, Line Side Interface, Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET Receiver Processor, Unified Framing Protocol Data Unit/Cell UFPDU/ATMCell Receiver Processor, Overhead interface, microprocessor interface and other units or modules, but the Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET Transmit Processor and Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET Receive Processor are only used for Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET transmission mode, in which:

业务侧接口,完成的功能包括:(1)产生与识别业务输入/输出接口所需控制信号,并在业务输入/输出接口上发送/接收数据;(2)实现与发送信元先进先出存储器FIFO、发送分组先进先出存储器FIFO、接收分组先进先出存储器FIFO、接收信元先进先出存储器FIFO四个存储器间的分组或信元传送;(3)实现业务输入/输出接口和上述四个存储器间的协议数据单元PDU格式转换。The service side interface, the completed functions include: (1) generate and identify the control signals required by the service input/output interface, and send/receive data on the service input/output interface; (2) realize and send the cell first-in first-out memory FIFO, sending packet FIFO, receiving packet FIFO, receiving cell FIFO, packet or cell transmission among four memories; (3) realize service input/output interface and the above four Protocol data unit PDU format conversion between memories.

在传送以太网业务时,业务输入/输出接口中传送的协议数据单元是如图7所示的以太网物理帧,业务侧接口将以太网物理帧转换为图8所示的以太网媒质接入控制MAC帧,输出到发送分组先进先出存储器FIFO。以太网媒质接入控制MAC帧是以太网物理帧除去前置码和帧起始定界符两字段,将其剩余字段作为统一组帧协议数据单元UFPDU的有效载荷传送。业务输入/输出接口支持的传送接口类型包括:(1)异步转移模式通用测试和操作接口UTOPIA,(2)分组在同步数字体系/同步光网络SDH/SONET上传送PoS接口,(3)媒质独立接口MII接口,(4)传送信元的同步数字体系/同步光网络SDH/SONET接口,(5)传送信元或数据分组的准同步数字体系PDH接口,(6)ATM论坛定义的信元传输接口。When transmitting Ethernet services, the protocol data unit transmitted in the service input/output interface is the Ethernet physical frame shown in Figure 7, and the service side interface converts the Ethernet physical frame into the Ethernet media access frame shown in Figure 8. Control the MAC frame and output it to the first-in-first-out memory FIFO for sending packets. The Ethernet media access control MAC frame is an Ethernet physical frame except the two fields of the preamble and the frame start delimiter, and the remaining fields are transmitted as the payload of the unified framing protocol data unit UFPDU. The transmission interface types supported by the service input/output interface include: (1) Universal Test and Operation Interface UTOPIA for Asynchronous Transfer Mode, (2) PoS Interface for Packet Transmission on Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET, (3) Media Independent Interface MII interface, (4) synchronous digital system/synchronous optical network SDH/SONET interface for transmitting cells, (5) quasi-synchronous digital system PDH interface for transmitting cells or data packets, (6) cell transmission defined by ATM Forum interface.

分组/信元Packet/ATM Cell先进先出存储器FIFO,包括发送信元先进先出存储器FIFO、发送分组先进先出存储器FIFO、接收分组先进先出存储器FIFO、接收信元先进先出存储器FIFO四种存储器,用于存放发送及接收方向的变长分组和信元。Packet/Cell Packet/ATM Cell FIFO, including sending cell FIFO, sending packet FIFO, receiving packet FIFO, receiving cell FIFO The memory is used to store variable-length packets and cells in the sending and receiving directions.

统一组帧协议数据单元/信元UFPDU/ATM Cell发送处理器,完成以下功能:Unified framing protocol data unit/cell UFPDU/ATM Cell sending processor, complete the following functions:

(1)产生发送统一组帧协议数据单元/信元(1) Generate and send a unified framing protocol data unit/cell

将从发送信元ATM Cell先进先出存储器FIFO接收的信元进行可能的格式变换,即根据混合传送系统的设置决定是否采用标头差错控制HEC字段。Perform possible format conversion on the cell received from the ATM Cell first-in-first-out memory FIFO of the sending cell, that is, decide whether to use the header error control HEC field according to the setting of the hybrid transmission system.

将从发送分组Packet先进先出存储器FIFO接收的变长分组封装成统一组帧协议数据单元UFPDU。在变长分组封装成统一组帧协议数据单元UFPDU时,网络源点处的混合传送设备THE对变长分组加入标头、标头扩展、分组校验序列。Encapsulating the variable-length packets received from the FIFO of the sending packet Packet into a unified framing protocol data unit UFPDU. When the variable-length packet is encapsulated into a UFPDU, the hybrid transmission device THE at the network source adds a header, header extension, and packet check sequence to the variable-length packet.

标头中设置统一组帧协议虚连接标识符/统一组帧协议网络结点标识符UFPVCI/UFPNNI字段,令载荷类型PT=111B,根据分组重要性设置分组丢失优先级PLP=0/1。标头差错控制HEC字段是可选的,但如果不选用分组校验序列PCS(此时分组校验序列存在标识PCSE=0),则标头差错控制HEC字段必须使用,其生成多项式是g(x)=x8+x2+x+1,标头差错控制HEC的发送方计算方法与信元的HEC计算方法相同。Set the unified framing protocol virtual connection identifier/unified framing protocol network node identifier UFPVCI/UFPNNI field in the header, make the payload type PT=111B, and set the packet loss priority PLP=0/1 according to the importance of the packet. The header error control HEC field is optional, but if the packet check sequence PCS is not selected for use (at this time, the packet check sequence exists and the flag PCSE=0), then the header error control HEC field must be used, and its generator polynomial is g( x)=x 8 +x 2 +x+1, the calculation method of the header error control HEC at the sender is the same as the calculation method of the cell HEC.

对于万维网WWW业务等需进行分组校验序列PCS保护的数据,设置分组校验序列存在标识PCSE=1;对于IP语音VoIP等无需分组校验序列PCS差错保护的数据,置分组校验序列存在标识PCSE=0。根据业务的服务质量QoS特性设置分组优先级域PPF=000~111B。依据高层数据载荷的协议,设置合理的高层协议标识符ULPI值。载荷为IPv4分组时设ULPI=0x04,载荷为IPv6分组时设ULPI=0x06,载荷为PPP分组时设ULPI=0x07。ULPI其它数值的使用可在具体实施时定义。Need to carry out the data of packet check sequence PCS protection for World Wide Web WWW business etc., set packet check sequence existence sign PCSE=1; For the data that does not need packet check sequence PCS error protection such as IP voice VoIP, set packet check sequence existence sign PCSE=0. Set the packet priority field PPF=000~111B according to the quality of service QoS characteristics of the business. According to the protocol of the high-level data load, set a reasonable high-level protocol identifier ULPI value. When the payload is an IPv4 packet, set ULPI=0x04, when the payload is an IPv6 packet, set ULPI=0x06, and when the payload is a PPP packet, set ULPI=0x07. The use of other values of ULPI can be defined at the time of implementation.

在源网络部件处,如果待发送协议数据单元的长度大于最大传送单元长度MTU,则需将待发送信息按[MTU减去PDU控制开销长度]为长度分割,形成M个数据块(1,2,3,---,M,M为正整数)。在数据块组装成统一组帧协议数据单元UFPDU时,对载荷装入数据块(1,2,---,M-1)而形成的统一组帧协议数据单元UFPDU,设置其最后一段指示LSI=0,而对最后一个数据块M形成的统一组帧协议数据单元UFPDU,设置其最后一段指示LSI=1。At the source network component, if the length of the protocol data unit to be sent is greater than the maximum transmission unit length MTU, the information to be sent needs to be divided according to the length of [MTU minus PDU control overhead length] to form M data blocks (1, 2 , 3, ---, M, M is a positive integer). When the data blocks are assembled into a unified framing protocol data unit UFPDU, for the unified framing protocol data unit UFPDU formed by loading the data block (1, 2, ---, M-1) into the payload, set its last segment to indicate LSI =0, and for the unified framing protocol data unit UFPDU formed by the last data block M, set its last segment indication LSI=1.

载荷区装入一个完整的高层协议数据单元PDU或其中一部分,或操作维护管理OAM分组。The load area is loaded with a complete high-level protocol data unit PDU or a part thereof, or an OAM packet for operation, maintenance and management.

分组校验序列PCS计算使用的多项式为g(x)=x32+x26+x22+x16+x12+x11+x10+x8+x7+x5+x4+x2+x+1。The polynomial used in the PCS calculation of the packet check sequence is g(x)=x 32 +x 26 +x 22 +x 16 +x 12 +x 11 +x 10 +x 8 +x 7 +x 5 +x 4 +x 2 +x+1.

当分组校验序列存在标识PCSE=1时,分组校验序列PCS保护的信息字段取决于标头差错控制HEC字段是否存在。在标头差错控制HEC字段存在时,分组校验序列PCS保护的信息字段为统一组帧协议数据单元UFPDU的标头扩展和载荷字段;当标头差错控制HEC字段不存在时,分组校验序列PCS保护的信息字段为统一组帧协议数据单元UFPDU的标头、标头扩展和载荷字段。当分组校验序列存在标识PCSE=0时,分组校验序列PCS字段不存在。When the packet check sequence existence flag PCSE=1, the information field protected by the packet check sequence PCS depends on whether the header error control HEC field exists. When the header error control HEC field exists, the information field protected by the packet check sequence PCS is the header extension and payload field of the unified framing protocol data unit UFPDU; when the header error control HEC field does not exist, the packet check sequence The information fields protected by the PCS are the header, header extension and payload fields of the unified framing protocol data unit UFPDU. When the packet check sequence existence flag PCSE=0, the packet check sequence PCS field does not exist.

发送方分组校验序列PCS的典型计算方法是:设余数寄存器初值全“1”(32位),假定待保护信息字段的信息多项式为m(x),计算m(x)·x32÷g(x)(模‘2’除法)的余数,上述余数在完成与0xFFFFFFFF异或之后,放入分组校验序列PCS字段,最高位放入字节(N-3)的位7,最低位放入字节N的位0。The typical calculation method of the sender's packet check sequence PCS is: set the initial value of the remainder register to all "1" (32 bits), assume that the information polynomial of the information field to be protected is m(x), and calculate m(x) x 32 ÷ The remainder of g(x) (modulo '2' division), after the above remainder is XORed with 0xFFFFFFFF, it is put into the PCS field of the packet check sequence, the highest bit is placed in bit 7 of byte (N-3), and the lowest bit Put in bit 0 of byte N.

在传送以太网媒质接入控制MAC帧时,统一组帧协议数据单元/信元UFPDU/ATMCell发送处理器将太网媒质接入控制MAC帧作为载荷,根据上述处理产生的统一组帧协议数据单元UFPDU如图9所示。When transmitting Ethernet medium access control MAC frames, the unified framing protocol data unit/cell UFPDU/ATMCell sending processor takes the Ethernet medium access control MAC frame as the payload, and the unified framing protocol data unit generated according to the above processing UFPDU is shown in Figure 9.

(2)速率适配(2) Rate adaptation

速率适配的作用是在“特殊标志F”、统一组帧协议数据单元UFPDU、信元的协议数据单元混合流中,加入填充协议数据单元PPDU,以保证发送到同步数字体系/同步光网络SDH/SONET处理器或线路侧接口的上述协议数据单元与填充协议数据单元PPDU的速率之和,等于同步数字体系SDH的虚容器VC净速率,或裸光纤/电缆物理线路传输速率,例如,对同步传送模块STM-1,该速率为149.76Mbps。速率适配的原则是:优先发送信元。在没有信元可发送时,才依次发送优先级从高到低的统一组帧协议数据单元UFPDU。如果既没有信元,也没有统一组帧协议数据单元UFPDU等待发送,此时将发送用于速率适配的填充协议数据单元PPDU,它有以下形式:The function of rate adaptation is to add filling protocol data unit PPDU to the mixed flow of "special flag F", unified framing protocol data unit UFPDU, and cell protocol data unit, so as to ensure that it is sent to the synchronous digital system/synchronous optical network SDH The sum of the rate of the above-mentioned protocol data unit and the padding protocol data unit PPDU of the SONET processor or the line side interface is equal to the net rate of the virtual container VC of the synchronous digital hierarchy SDH, or the transmission rate of the bare fiber/cable physical line, for example, for synchronous Transmission module STM-1, the rate is 149.76Mbps. The principle of rate adaptation is: to send cells first. When there is no cell to send, the unified framing protocol data unit UFPDU with priority from high to low is sent sequentially. If there are neither cells nor UFPDUs waiting to be sent, a padding protocol data unit PPDU for rate adaptation will be sent, which has the following form:

1)填充PDU格式1用于统一组帧协议联网时的操作维护管理OAM,该填充PDU包括图2的统一组帧协议数据单元UFPDU标头和载荷区,用特定的统一组帧协议虚连接标识符/统一组帧协议网络结点标识符UFPVCI/UFPNNI标识虚路径级F4、虚通路级F5的统一组帧协议数据单元UFPDU,标头差错控制HEC是必备项,载荷区内容与异步转移模式ATM的操作维护管理OAM的载荷相同;1) Filling PDU format 1 is used for operation, maintenance and management OAM when the unified framing protocol is connected to the network. The filling PDU includes the unified framing protocol data unit UFPDU header and payload area in Figure 2, and is identified by a specific unified framing protocol virtual connection Character/Unified Framing Protocol Network Node Identifier UFPVCI/UFPNNI identifies the unified framing protocol data unit UFPDU of the virtual path level F4 and virtual path level F5, the header error control HEC is a must, the content of the payload area and the asynchronous transfer mode The load of ATM operation maintenance management OAM is the same;

2)填充PDU格式2是图3格式的异步转移模式ATM的操作维护管理OAM信元,该填充PDU与标准的异步转移模式ATM的操作维护管理OAM信元相同;2) filling PDU format 2 is the operation maintenance management OAM cell of the asynchronous transfer mode ATM of Fig. 3 format, and this filling PDU is identical with the operation maintenance management OAM cell of standard asynchronous transfer mode ATM;

3)填充PDU格式3由“特殊标志F”、特殊字符0xdd(可编程为其它值)、“特殊标志F”等3个8位二进制组组成,该格式适用于同步数字体系/同步光网络SDH/SONET或裸光纤/电缆传输线路占用率较高的情况;3) Filling PDU format 3 consists of 3 8-bit binary groups such as "special flag F", special character 0xdd (programmable to other values), "special flag F", etc. This format is suitable for synchronous digital system/synchronous optical network SDH /SONET or bare optical fiber/cable transmission line occupancy is high;

4)填充PDU格式4包括图2统一组帧协议数据单元UFPDU的标头,此时标头差错控制HEC是必备项。统一组帧协议数据单元UFPDU的标头5字节是(0x0,0x0,0x0,0x1,标头差错控制HEC的有效值),没有标头扩展、载荷区、分组校验序列PCS字段;4) The padding PDU format 4 includes the header of the unified framing protocol data unit UFPDU shown in Fig. 2, and the header error control HEC is a necessary item at this time. The 5 bytes of the header of the unified framing protocol data unit UFPDU are (0x0, 0x0, 0x0, 0x1, the effective value of the header error control HEC), and there is no header extension, payload area, and packet check sequence PCS field;

5)填充PDU格式5是异步转移模式ATM空闲信元,其信元头5字节是(0x0,0x0,0x0,0x1,标头差错控制HEC的有效值),载荷字段放置48字节的“01101010”。5) filling PDU format 5 is an ATM idle cell in asynchronous transfer mode, and its cell head 5 bytes are (0x0, 0x0, 0x0, 0x1, the effective value of header error control HEC), and the payload field places 48 bytes of " 01101010".

填充PDU格式1和格式2的发送取决于操作维护管理OAM协议数据单元的传输带宽,在不发送填充PDU格式1和格式2时,填充PDU优选发送顺序是填充PDU格式3、填充PDU格式4、填充PDU格式5。The transmission of filling PDU format 1 and format 2 depends on the transmission bandwidth of OAM protocol data unit for operation, maintenance and management. When filling PDU format 1 and format 2 are not sent, the preferred sending order of filling PDU is filling PDU format 3, filling PDU format 4, Fill PDU Format 5.

(3)透明性处理(3) Transparency processing

透明性处理完成发送PDU中出现“特殊标志F”时的处理方法,此处“特殊标志F”指用于不同PDU间边界定位的标志,使用0x7e,也可编程设置为其它值。Transparency processing is completed The processing method when "special flag F" appears in the sent PDU, where "special flag F" refers to the flag used for boundary positioning between different PDUs, using 0x7e, and can also be programmed to other values.

发送方将发送协议数据单元PDU中出现的“特殊标志F”置换为两个字节,一个是“转义8位二进制组”,另一个是“特殊标志F”与“填充特殊掩码”(8位二进制组)进行“异或”后的数值。对发送PDU中出现的转义8位二进制组也进行上述处理。转义8位二进制组和填充特殊掩码均可用软件改变设置,默认值分别是0x7d和0x20。作为实例,透明处理变换如下:The sender replaces the "special flag F" that appears in the sending protocol data unit PDU with two bytes, one is "escape 8-bit binary group", the other is "special flag F" and "filling special mask" ( 8-bit binary group) value after "exclusive OR". The above processing is also performed on the escaped 8-bit binary group appearing in the sending PDU. Both the escape 8-bit binary group and the padding special mask can be changed by software, and the default values are 0x7d and 0x20 respectively. As an example, the transparent processing transformation is as follows:

1)0x7e置换为0x7d,0x5e1) Replace 0x7e with 0x7d, 0x5e

2)0x7d置换为0x7d,0x5d2) Replace 0x7d with 0x7d, 0x5d

(4)加扰(4) Scrambling

统一组帧协议数据单元/信元UFPDU/ATM Cell发送处理器可(编程)选择是否对“特殊标志F”、统一组帧协议数据单元UFPDU、信元和填充协议数据单元PPDU的混合流加扰,加扰采用多项式是x43+1的自同步扰码器。加扰计算开始前,将扰码初值设为全“1”。Unified framing protocol data unit/cell UFPDU/ATM Cell sending processor can choose (programmable) whether to scramble the mixed flow of "special flag F", unified framing protocol data unit UFPDU, cell and padding protocol data unit PPDU , the scrambling uses a self-synchronizing scrambler whose polynomial is x 43 +1. Before the scrambling calculation starts, the initial value of the scrambling code is set to all "1".

同步数字体系/同步光网络SDH/SONET发送处理器,完成如下功能:Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET transmit processor, complete the following functions:

(1)统一组帧协议数据单元/信元UFPDU/ATM Cell映射(1) Unified framing protocol data unit/cell UFPDU/ATM Cell mapping

同步数字体系/同步光网络SDH/SONET发送处理器将统一组帧协议数据单元/信元UFPDU/ATM Cell发送处理器输入的“特殊标志F”、统一组帧协议数据单元UFPDU、信元和填充协议数据单元PPDU混合流,按图5方式装入同步数字体系SDH的虚容器VC。需注意这种映射一般在高阶虚容器VC中进行,也可根据配置在低阶虚容器VC中进行,但高阶虚容器VC中的复用效率高,更能体现本发明的优点。例如当采用虚容器VC-12映射时,一个同步传送模块STM-1仅包含63个虚容器VC-12,其最大传输效率为63*2.048/149.76=86%。采用虚容器VC-4映射时,一个同步传送模块STM-1包含1个虚容器VC-4,其最大传输效率为149.76/149.76=100%。The Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET sending processor sends the unified framing protocol data unit/cell UFPDU/ATM Cell input "special flag F", unified framing protocol data unit UFPDU, cell and padding The protocol data unit PPDU mixed flow is loaded into the virtual container VC of the synchronous digital hierarchy SDH according to the method shown in Fig. 5 . It should be noted that this kind of mapping is generally carried out in the high-order virtual container VC, and can also be carried out in the low-order virtual container VC according to the configuration, but the multiplexing efficiency in the high-order virtual container VC is high, which can better reflect the advantages of the present invention. For example, when using virtual container VC-12 mapping, a synchronous transport module STM-1 only includes 63 virtual containers VC-12, and its maximum transmission efficiency is 63*2.048/149.76=86%. When virtual container VC-4 is used for mapping, one synchronous transfer module STM-1 includes one virtual container VC-4, and its maximum transmission efficiency is 149.76/149.76=100%.

根据管理单元指针AU-PTR的原理,管理单元指针AU-PTR中的(H1,H2)字节能指出虚容器VC的起始位置,通道开销POH中H4用于指明第一个完整协议数据单元PDU的头部在当前同步数字体系SDH帧虚容器VC的位置。According to the principle of the management unit pointer AU-PTR, the (H 1 , H 2 ) bytes in the management unit pointer AU-PTR can indicate the starting position of the virtual container VC, and H 4 in the channel overhead POH is used to indicate the first complete The head of the protocol data unit PDU is at the position of the virtual container VC of the SDH frame of the current synchronous digital system.

(2)开销字节产生与处理(2) Generation and processing of overhead bytes

产生同步数字体系SDH帧的帧定界字节(A1,A2)。可编程选择插入线路数据通信信道(D1~D12)。The frame delimiting bytes (A 1 , A 2 ) of the Synchronous Digital Hierarchy SDH frame are generated. Programmable selection of inserted line data communication channels (D 1 -D 12 ).

将前一个同步数字体系SDH帧加扰后的所有比特流计算字节交织校验BIP,BIP-8采用偶校验,其结果放入B1字节。将前一个同步数字体系SDH帧除了段开销SOH的第1~3行外的所有比特流,进行字节交织校验BIP-96偶校验计算,结果放入字节B2。对前一个同步数字体系SDH帧的SDH载荷信封SPE计算BIP-8,BIP-8采用偶校验,其结果放入B3字节。All bit streams after scrambling of the previous synchronous digital system SDH frame are used to calculate byte interleaving check BIP, BIP-8 adopts even check, and the result is put into B 1 byte. Perform byte interleaving check BIP-96 even parity calculation on all bit streams of the previous synchronous digital system SDH frame except the first to third lines of the section overhead SOH, and put the result into byte B 2 . Calculate BIP-8 for the SDH payload envelope SPE of the previous synchronous digital system SDH frame, BIP-8 uses even parity, and the result is put into B 3 bytes.

根据相关规范监测通道传输性能,将监测结果用G1字节传送给另一端。根据相关规范插入自动保护切换APS信道字节(K1,K2)。Monitor the transmission performance of the channel according to relevant specifications, and transmit the monitoring results to the other end with G1 bytes. Insert automatic protection switching APS channel bytes (K 1 , K 2 ) according to relevant specifications.

(3)加扰(3) Scrambling

同步数字体系/同步光网络SDH/SONET发送处理器可使用帧同步器对传输帧流加扰,使用的多项式是g(x)=x7+x6+1,同步数字体系SDH帧控制字节(A1,A2)、J0和Z0不加扰。The Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET transmit processor can use a frame synchronizer to scramble the transmission frame stream. The polynomial used is g(x)=x 7 +x 6 +1, and the Synchronous Digital Hierarchy SDH frame control byte (A 1 , A 2 ), J 0 and Z 0 are not scrambled.

线路侧接口Line side interface

在发送方向,线路侧接口根据同步数字体系/同步光网络SDH/SONET或裸光纤/电缆传送方式,将从同步数字体系/同步光网络SDH/SONET发送处理器或统一组帧协议数据单元/信元UFPDU/ATM Cell发送处理器接收的字节数据,完成并/串变换,以差分方式发送到线路上(TXD+,TXD-)。数据发送时钟应满足G.707和Bellcore GR-253-CORE规范,对155.52MHz/622.08MHz精度为±20ppm。In the sending direction, the line-side interface transmits data from the Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET sending processor or unified framing protocol data unit/signal according to the Synchronous Digital Hierarchy/Synchronous Optical The UFPDU/ATM Cell transmits the byte data received by the processor, completes the parallel/serial conversion, and sends it to the line in a differential manner (TXD + , TXD - ). The data transmission clock should meet the G.707 and Bellcore GR-253-CORE specifications, and the accuracy for 155.52MHz/622.08MHz is ±20ppm.

在接收方向上,线路侧接口从接收的差分数据(RXD+,RXD-)中恢复时钟或直接输入接收时钟参考,并从(RXD+,RXD-)中恢复出数据,完成串/并变换,交给同步数字体系/同步光网络SDH/SONET接收处理器或统一组帧协议数据单元/信元UFPDU/ATM Cell接收处理器。检测信号丢失LOS是否发生,若发生则通过开销接口给出指示。In the receiving direction, the line side interface recovers the clock from the received differential data (RXD + , RXD - ) or directly inputs the received clock reference, and recovers the data from (RXD + , RXD - ) to complete the serial/parallel conversion, Delivered to the Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET receiving processor or Unified Framing Protocol Data Unit/Cell UFPDU/ATM Cell receiving processor. Whether the loss of detection signal LOS occurs, and if so, an indication is given through the overhead interface.

同步数字体系/同步光网络SDH/SONET接收处理器,完成如下功能:Synchronous digital system/synchronous optical network SDH/SONET receiving processor, complete the following functions:

(1)接收段处理(1) Receive segment processing

同步数字体系/同步光网络SDH/SONET接收处理器可取出段开销SOH中的段数据通信信道(D1~D4),并根据(A1,A2)字节完成同步数字体系SDH帧定界。在连续4帧中,如果出现定界差错,可给出帧失步信号LOF。The Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET receiving processor can take out the segment data communication channels (D 1 ~ D 4 ) in the segment overhead SOH, and complete the SDH frame definition of the Synchronous Digital Hierarchy according to the (A 1 , A 2 ) bytes. boundary. In 4 consecutive frames, if there is a delimitation error, the out-of-frame signal LOF can be given.

同步数字体系/同步光网络SDH/SONET接收处理器对接收流进行解扰,是否采用解扰可编程设置。解扰多项式为g(x)=x7+x6+1,同步数字体系SDH帧控制字节(A1,A2)、J0、Z0不参加解扰。The synchronous digital system/synchronous optical network SDH/SONET receiving processor descrambles the received stream, and whether to use descrambling can be programmed. The descrambling polynomial is g(x)=x 7 +x 6 +1, and the synchronous digital system SDH frame control bytes (A 1 , A 2 ), J 0 , and Z 0 do not participate in descrambling.

(2)接收开销处理(2) Receive overhead processing

同步数字体系/同步光网络SDH/SONET接收处理器可检测线路远端恶化指示RDI和告警指示信号AIS是否发生,若发生则给出指示。同步数字体系/同步光网络SDH/SONET接收处理器可取出线路数据信道(D4~D12),通过开销接口输出。根据字节交织奇偶校验BIP原理可检测BIP-8错误和BIP-96错误,通过开销接口给出相应错误指示。The Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET receiving processor can detect whether the remote line deterioration indication RDI and alarm indication signal AIS occur, and give an indication if they occur. The Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET receiving processor can take out the line data channel (D 4 ~ D 12 ) and output it through the overhead interface. According to the BIP principle of byte interleaved parity check, BIP-8 errors and BIP-96 errors can be detected, and corresponding error indications are given through the overhead interface.

(3)接收指针处理(3) Receive pointer processing

同步数字体系/同步光网络SDH/SONET接收处理器实现指针的正确解释,并将虚容器VC中的净载荷取出,交给统一组帧协议数据单元/信元UFPDU/ATM Cell接收处理器处理。如果产生无效指针,通过开销接口给出指示相应指针丢失LOP错误。The Synchronous Digital Hierarchy/Synchronous Optical Network SDH/SONET receiving processor realizes the correct interpretation of the pointer, takes out the payload in the virtual container VC, and hands it to the unified framing protocol data unit/cell UFPDU/ATM Cell receiving processor for processing. If an invalid pointer is generated, a LOP error indicating that the corresponding pointer is missing is given through the overhead interface.

统一组帧协议数据单元/信元UFPDU/ATM Cell接收处理器,完成以下功能:Unified framing protocol data unit / cell UFPDU / ATM Cell receiving processor, complete the following functions:

(1)解扰(1) Descrambling

统一组帧协议数据单元/信元UFPDU/ATM Cell接收处理器以字节方式从同步数字体系/同步光网络SDH/SONET接收处理器或线路侧接口接收数据混合流,能编程选择是否对该输入混合流解扰,该混合流包括“特殊标志F”、统一组帧协议数据单元UFPDU、信元和填充协议数据单元PPDU。解扰采用多项式是x43+1的自同步解扰器。解扰计算开始前,将扰码初值设为全“1”。Unified framing protocol data unit/cell UFPDU/ATM Cell receiving processor receives data mixed stream from synchronous digital system/synchronous optical network SDH/SONET receiving processor or line side interface in byte mode, and can be programmed to choose whether to input Mixed flow descrambling, the mixed flow includes "special flag F", unified framing protocol data unit UFPDU, cell and padding protocol data unit PPDU. Descrambling uses a self-synchronizing descrambler whose polynomial is x 43 +1. Before the descrambling calculation starts, the initial value of the scrambling code is set to all "1".

(2)接收定界与“去填充”处理(2) Receiving delimitation and "de-filling" processing

在接收的(解扰后)数据字节流中搜索“特殊标志F”,进行字节“去填充”处理(Destuffing),删除速率适配的填充PDU(填充PDU格式3)和异常中断分组,将上述处理后的两个“特殊标志F”间的数据作为一个PDU进行统一组帧协议数据单元和信元的识别。异常中断分组指两个“特殊标志F”之间的字节数少于5。Search for "special flag F" in the received (after descrambling) data byte stream, perform byte "destuffing" processing (Destuffing), delete rate-adapted filling PDU (filling PDU format 3) and abnormal interrupt packet, The data between the two "special flags F" after the above processing is used as a PDU to carry out unified framing protocol data unit and cell identification. Abnormal interrupt grouping means that the number of bytes between two "special flags F" is less than 5.

“去填充”处理完成与发送时相反的处理,即将下列2个特殊8位二进制组变换为一个8位二进制组:0x7d,0x5e置换为0x7e,0x7d,0x5d置换为0x7d。The "de-stuffing" process completes the opposite process of sending, that is, the following two special 8-bit binary groups are transformed into an 8-bit binary group: 0x7d, 0x5e are replaced by 0x7e, 0x7d, 0x5d are replaced by 0x7d.

(3)识别统一组帧协议数据单元和信元(3) Identify unified framing protocol data units and cells

当发送方统一组帧协议数据单元UFPDU或信元中的标头差错控制HEC字段存在时,根据g(x)=x8+x2+x+1对前4节字节进行循环冗余校验CRC-8计算,所得结果加上01010101,并与接收的第5字节进行比较,如果正确,则将该协议数据单元PDU作为正确的PDU进行后续处理;否则纠正前4字节中的单个比特错误。如发生多比特错误,则丢弃该协议数据单元PDU。When the header error control HEC field in the unified framing protocol data unit UFPDU or letter element of the sender exists, perform cyclic redundancy check on the first 4 bytes according to g(x)=x 8 +x 2 +x+1 Check the CRC-8 calculation, add 01010101 to the result, and compare it with the received 5th byte. If it is correct, treat the protocol data unit PDU as the correct PDU for subsequent processing; otherwise, correct a single byte in the first 4 bytes. Bit error. If a multi-bit error occurs, the protocol data unit PDU is discarded.

在接收的协议数据单元PDU中,如果载荷类型PT字段≠111B和长度为52/53(标头差错控制HEC字段不存在/存在),则判定该协议数据单元PDU为信元。丢弃满足载荷类型PT字段≠111B和长度≠52/53的协议数据单元PDU。In the received protocol data unit PDU, if the payload type PT field≠111B and the length is 52/53 (the header error control HEC field does not exist/exists), then the protocol data unit PDU is determined to be a cell. Discard the protocol data unit PDU that satisfies the payload type PT field ≠ 111B and the length ≠ 52/53.

在接收的协议数据单元PDU中,如果载荷类型PT=111B,则判定该协议数据单元PDU为统一组帧协议数据单元UFPDU;若载荷类型PT=111B和分组校验序列存在标识PCSE=1,则分组校验序列PCS字段存在,需对协议数据单元PDU进行循环冗余校验CRC-32处理。In the received protocol data unit PDU, if the payload type PT=111B, it is determined that the protocol data unit PDU is a unified framing protocol data unit UFPDU; if the payload type PT=111B and the packet check sequence presence flag PCSE=1, then The packet check sequence PCS field exists, and the protocol data unit PDU needs to be processed by cyclic redundancy check CRC-32.

(4)接收分组校验序列PCS计算(4) Receive packet check sequence PCS calculation

接收方计算循环冗余校验CRC-32的典型方法是:设余数寄存器初值全“1”,设接收的待保护字段信息字段多项式是m(x)′,,则先用串行或并行查表法计算m(x)′·x32÷g(x)的余数。将所得余数结果与0xFFFFFFFF“异或”(模2加),得到的结果与接收帧中的分组校验序列PCS比较,以确定协议数据单元PDU是否有错。当有差错时,对能纠正的错误进行纠正,否则丢弃该协议数据单元PDU。The typical method for the receiver to calculate the cyclic redundancy check CRC-32 is: set the initial value of the remainder register to be all "1", and set the polynomial of the information field of the field to be protected to be m(x)', then first use serial or parallel Calculate the remainder of m(x)′·x 32 ÷g(x) by look-up table method. Exclusively OR (modulo 2 addition) the obtained remainder result with 0xFFFFFFFF, and compare the obtained result with the packet check sequence PCS in the received frame to determine whether there is an error in the protocol data unit PDU. When there is an error, correct the error that can be corrected, otherwise discard the protocol data unit PDU.

(5)接收协议数据单元PDU存贮(5) Receive protocol data unit PDU storage

在判定一个协议数据单元PDU是统一组帧协议数据单元UFPDU或信元之后,先进行可能的协议数据单元PDU格式变换,再将其分别放入接收分组/信元Rx Packet/ATM Cell先进先出存储器FIFO。After determining that a protocol data unit PDU is a unified framing protocol data unit UFPDU or cell, first perform a possible format conversion of the protocol data unit PDU, and then put it into the receiving packet/cell Rx Packet/ATM Cell first-in-first-out Memory FIFOs.

开销接口,用于操作维护管理OAM的统一组帧协议数据单元UFPDU和异步转移模式ATM信元相关操作维护管理信息的设置和取出。在同步数字体系/同步光网络SDH/SONET传送方式时,还完成发送方向段开销SOH、通道开销POH中可选择控制字节的设置,实现接收方向段开销SOH、通道开销POH中控制字节的取出。The overhead interface is used for setting and taking out the operation, maintenance and management information related to the unified framing protocol data unit UFPDU of OAM and ATM cell in asynchronous transfer mode. In the synchronous digital system/synchronous optical network SDH/SONET transmission mode, the setting of optional control bytes in the segment overhead SOH and channel overhead POH in the sending direction is also completed, and the control bytes in the segment overhead SOH and channel overhead POH in the receiving direction are realized. take out.

微处理器接口,主要实现与外接微处理器的接口,包括适配装置的工作模式设置、测试,状态寄存器,适配装置的状态输出,还包括相关的控制逻辑。The microprocessor interface mainly implements the interface with the external microprocessor, including the working mode setting and testing of the adapter device, the status register, the state output of the adapter device, and related control logic.

如图10所示,本发明可用于点到点传送和点到多点或网络传送。在图10(a)中,混合传送设备HTE通过标准的网络接口NI,从交换机、路由器、服务器、网络终端等网络部件处接收变长分组(如Ethernet帧)和定长信元,这些网络接口包括媒质独立接口MII、异步转移模式通用测试和操作接口UTOPIA。混合传送设备HTE对接收的变长分组和定长信元分别按本发明给定的格式封装成协议数据单元PDUs,并将两种形式的协议数据单元PDUs在同步数字体系/同步光网络SDH/SONET的同一个虚容器/虚支路VC/VT或裸光纤/电缆上混合传送。接收方混合传送设备THE对收到的两种协议数据单元PDUs完成识别与分离,再对两种协议数据单元PDUs进行拆封装,完成协议数据单元PDU格式变换,通过网络接口将变长数据分组和定长信元,递交给交换机等网络部件,或以源端网络部件NE递交时的形式传送到宿端网络部件NE中。在图10(b)中,源宿网络部件NE中的变长数据分组/定长信元传送过程与图10(a)基本一致,区别是图10(b)中的网络结点(混合传送设备HTE/交换机SW)具有交换功能。在图10(b)中假定某个网络有6个网络结点,编号分别是N1~N6。源网络部件NE将其接收的变长数据分组/定长信元进行格式变换,传送给N1结点。N1结点的混合传送设备HTE将收到的两种PDUs完成识别与分离,再通过标准接口将变长数据分组和定长信元传送给交换机完成交换。对信元进行标准的虚通道/虚通路VP/VC交换,信元分别送到N1的端口2或端口3。对变长数据分组的交换有两种形式,一种是统一组帧协议虚连接标识符/统一组帧协议网络结点标识符UFPVCI/UFPNNI采用统一组帧协议虚连接标识符UFPVCI,此时N1结点的交换机SW完成相应的VP/VC交换,但交换基本单元是变长协议数据单元PDU。另一种是UFPVCI/UFPNNI采用统一组帧协议网络结点标识符UFPNNI,此时N1结点的交换机SW需根据路由算法,确定该协议数据单元PDU的输出到N1的端口2或端口3。N1中的混合传送设备THE将某一端口(1,2,3)中的等待发送的变长数据分组/定长信元进行格式变换,形成统一组帧协议数据单元UFPDU或修改的信元,通过同步数字体系/同步光网络SDH/SONET或裸光纤/电缆传输线路将两种协议数据单元PDU发送出去。N2中的混合传送设备HTE将从N1结点接收到的统一组帧协议数据单元UFPDU或修改的信元两种PDUs完成识别与分离,再通过标准接口将变长数据分组和信元交给交换机SW进行交换。N2结点的其它后续处理与N1结点相同。网络其它结点的处理也与N1结点相同。宿端点中的混合传送设备HTE将从N6结点接收到的统一组帧协议数据单元UFPDU或修改的信元两种PDUs完成识别与分离,再通过标准接口(如异步转移模式通用测试和操作接口UTOPIA)将变长数据分组和信元交给网络部件NE进行后续处理。As shown in Figure 10, the present invention can be used for point-to-point transmission and point-to-multipoint or network transmission. In Figure 10(a), the hybrid transmission equipment HTE receives variable-length packets (such as Ethernet frames) and fixed-length cells from network components such as switches, routers, servers, and network terminals through standard network interfaces NI. Including media independent interface MII, asynchronous transfer mode general test and operation interface UTOPIA. The hybrid transmission equipment HTE encapsulates the received variable-length packets and fixed-length cells into protocol data units (PDUs) according to the given format of the present invention, and transfers the protocol data units (PDUs) of the two forms to the synchronous digital system/synchronous optical network SDH/ Mixed transmission on the same virtual container/virtual tributary VC/VT or bare fiber/cable of SONET. The mixed transmission equipment THE on the receiving side completes the identification and separation of the two received PDUs, and then decapsulates the two PDUs to complete the format conversion of the PDUs, and through the network interface, the variable-length data packets and The fixed-length cells are submitted to network components such as switches, or transmitted to the sink network component NE in the form submitted by the source network component NE. In Figure 10(b), the variable-length data packet/fixed-length cell transmission process in the source-sink network element NE is basically the same as that in Figure 10(a), the difference is that the network nodes (mixed transmission The equipment HTE/switch SW) has a switching function. In Fig. 10(b), it is assumed that a certain network has 6 network nodes, and the numbers are N1-N6 respectively. The source network component NE converts the format of the received variable-length data packet/fixed-length cell, and transmits it to the N1 node. The hybrid transmission equipment HTE of the N1 node completes the identification and separation of the two received PDUs, and then transmits the variable-length data packets and fixed-length cells to the switch through the standard interface to complete the exchange. Carry out standard virtual channel/virtual channel VP/VC switching on the cells, and send the cells to port 2 or port 3 of N1 respectively. There are two forms for the exchange of variable-length data packets, one is the unified framing protocol virtual connection identifier/unified framing protocol network node identifier UFPVCI/UFPNNI uses the unified framing protocol virtual connection identifier UFPVCI, at this time N1 The switch SW of the node completes the corresponding VP/VC exchange, but the basic unit of exchange is the variable-length protocol data unit PDU. The other is that UFPVCI/UFPNNI adopts the unified framing protocol network node identifier UFPNNI. At this time, the switch SW of the N1 node needs to determine the output of the protocol data unit PDU to port 2 or port 3 of N1 according to the routing algorithm. The hybrid transport equipment THE in N1 converts the format of the variable-length data packets/fixed-length cells waiting to be sent in a certain port (1, 2, 3) to form a unified framing protocol data unit UFPDU or a modified cell, The two protocol data unit PDUs are sent out through synchronous digital hierarchy/synchronous optical network SDH/SONET or bare optical fiber/cable transmission lines. The hybrid transmission equipment HTE in N2 completes the identification and separation of the unified framing protocol data unit UFPDU or the modified cell PDUs received from the N1 node, and then sends the variable-length data packets and cells to the switch SW through the standard interface Make an exchange. Other subsequent processing of the N2 node is the same as that of the N1 node. The processing of other nodes in the network is also the same as that of N1 node. The hybrid transmission equipment HTE in the sink endpoint completes the identification and separation of the unified framing protocol data unit UFPDU or the modified cell received from the N6 node, and then passes the standard interface (such as the asynchronous transfer mode general test and operation interface UTOPIA) delivers the variable-length data packets and cells to the network element NE for subsequent processing.

Claims (8)

1. an elongated packet mixes the method that transmits with fixed length cell, comprises the transmission processing that sends and receive both direction, wherein:
Sending direction is undertaken by following process:
(1) Media Independent Interface (MII), asynchronous transfer mode universal test and the operation-interface interfaces such as (UTOPIA) of use standard, receive elongated Frame and fixed length cell from network componentses such as user terminal, transmission equipment and switches, with the payload segment in the elongated Frame, it is elongated packet, deposit in and send grouping push-up storage (FIFO), and cell is directly put into transmission cell push-up storage (FIFO);
(2) the elongated packet that will send in the grouping push-up storage (FIFO) is taken out, and adds control header and extension header and packet checks sequence (PCS), is packaged into unified framing protocol Data Unit (UFPDU); The fixed length cell that will send simultaneously in the cell push-up storage (FIFO) takes out and is transformed into the cell format of modification, and header error control (HEC) field in the cell format of this modification can be selected to use;
(3) between unified framing protocol Data Unit (UFPDU) and cell, add " distinctive mark (F) " that distinguishes both borders, with border between difference different agreement data cell (PDU), and, will unify framing protocol Data Unit (UFPDU) and the cell revised mixes according to service quality (QoS) characteristic of customer service;
(4) in the mixed flow of " distinctive mark (F) " and unified framing protocol Data Unit (UFPDU) and cell composition, add filling protocol Data Unit (PPDU), guarantee that the speed sum of this (being F, UFPDU, ATM cell, PPDU) equals the net rate of the virtual container of SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET)/empty branch road (VC/VT) or bare fiber/cable line, to realize rate adapted;
(5) unified framing protocol Data Unit (UFPDU), cell and filling protocol Data Unit (PPDU) being carried out the transparency handles, promptly in the unified framing protocol Data Unit (UFPDU), cell and the filling protocol Data Unit three kinds of protocol Data Units (PDU) such as (PPDU) that send, " distinctive mark (F) " of appearance handles;
(6) when SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) load mode, mixed flow with " distinctive mark (F) ", unified framing protocol Data Unit (UFPDU), cell, filling protocol Data Unit (PPDU) composition, pack into or be mapped to virtual container/empty branch road (VC/VT) of SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET), and to the net load in virtual container/empty branch road (VC/VT), the employing multinomial is x 43+ 1 self-synchronous scrambler carries out selectable scrambling; When bare fiber/cable load mode, only above-mentioned mixed flow being adopted multinomial is x 43+ 1 self-synchronous scrambler carries out selectable scrambling;
(7) when SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) load mode, the section overhead (SOH) and the path overhead (POH) that net load after the scrambling are added SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) frame, form SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) transmit frame, and this transmit frame is adopted multinomial g (x)=x 7+ x 6+ 1 carries out scrambling;
(8) to SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) transmit frame, or the byte of above-mentioned (after the scrambling) mixed flow during bare fiber/cable load mode is carried out the bit conversion, and use tranmitting data register to produce the difference outputting data signals, by driving, output on the circuit this outputting data signals;
Receive direction is undertaken by following process:
Mixed flow when (1) receiving SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) transmit frame or bare fiber/cable load mode, recovered clock and data from the differential data of input (or directly input clock) are transformed to byte with data bit;
(2) when SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) load mode, according to (the A of SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) frame 1, A 2) byte is carried out the frame demarcation, and employing descrambling multinomial g (x)=x 7+ x 6+ 1 carries out descrambling;
(3) when SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) load mode, take out and handle the section overhead (SOH) and the path overhead (POH) of SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) frame, the detection line far-end worsens indication (RDI), alarm indication signal (AIS), whether byte-interleaved parity check BIP-x (x=8 or 96) mistake takes place, and provides corresponding wrong indication;
(4) when SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) load mode,, take out the net load in virtual container/empty branch road (VC/VT) according to the pointer indication in the control expense;
(5) when SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) load mode, if multinomial x is then adopted in the net load scrambling in transmit leg virtual container/empty branch road (VC/VT) 43+ 1 carries out the motor synchronizing descrambling; When bare fiber/cable load mode, the data byte of scrambling is adopted multinomial x 43+ 1 carries out descrambling;
(6) search " distinctive mark (F) " in the byte stream that receives, and carry out byte and " go to fill " (Destuffing) processing, PPDU form 3 in the filling protocol Data Unit (PPDU) of identification and deletion rate adapted and aborted grouping are carried out subsequent treatment with the data between two " distinctive mark (F) " as a protocol Data Unit (PDU);
(7) unify header error control (HEC) in framing protocol Data Unit (UFPDU) or the cell when field exists when transmit leg, I.361 finish the error control of protocol Data Unit (PDU) header handles according to the ITU of International Telecommunication Association, the protocol Data Unit (PDU) correct to header error control (HEC) carries out subsequent treatment, still incorrect protocol Data Unit (PDU) after abandoning header error control (HEC) and handling;
(8) in the correct protocol Data Unit (PDU) of the header error control (HEC) that receives, unified framing protocol Data Unit (UFPDU) of identification and cell, if load type (PT) field ≠ 111B and length are 52/53, judge that then this protocol Data Unit (PDU) is a cell, if load type (PT)=111B, judge that then this protocol Data Unit (PDU) is unified framing protocol Data Unit (UFPDU), when the packet checks sequence (PCS) of unified framing protocol Data Unit (UFPDU) when existing, again it is carried out cyclic redundancy check (CRC) (CRC-32) and handle;
(9) handle filling protocol Data Unit (PPDU), to unify the load of framing protocol Data Unit (UFPDU) takes out, put into and receive grouping push-up storage (FIFO), and cell carried out possible protocol Data Unit (PDU) format conversion, this protocol Data Unit (PDU) is put into received cell push-up storage (FIFO) again;
(10) according to the call format of transport protocol data unit (PDU) on the Media Independent Interface (MII) of standard and asynchronous transfer mode universal test and the operation-interface interfaces such as (UTOPIA), take out to receive grouping and cell in the packet/cell push-up storage (FIFO), send to network componentses such as user terminal, transmission equipment and switch after finishing possible format conversion.
2. method according to claim 1 is characterized in that unifying framing protocol Data Unit (UFPDU) and is made up of control header, extension header, elongated packet and packet checks sequence (PCS) field successively.
3. method according to claim 1, it is characterized in that rate adapted divides three kinds of situations to send, promptly one is directly to send cell, the 2nd, when not sending cell, according to priority send unified framing protocol Data Unit (UFPDU) from high to low successively, the 3rd, if in the unit that neither posts a letter, when also not sending out framing protocol Data Unit (UFPDU) unified, send the filling protocol Data Unit (PPDU) of different-format.
4. method according to claim 1 is characterized in that being made up of following field the unified framing protocol Data Unit (UFPDU) that variable-length packets is packaged into:
(1) unify framing agreement virtual connections identifier/unification framing protocol network node identifier (UFPVCI/UFPNNI) field, this field is used to represent the logic virtual connections sign or the stepped zone network node address of unified framing protocol Data Unit (UFPDU); When the unified framing agreement virtual connections identifier of expression (UFPVCI), its implication is similar to the Virtual Path Identifier/virtual path identifiers (VPI/VCI) in asynchronous transfer mode (ATM) cell, is distributed by signaling protocol; When expression network node address, be used to distinguish the heterogeneous networks node in the unified framing agreement networking zone;
(2) load type (PT) field, this field is used for distinguishing the unified framing protocol Data Unit (UFPDU) and the fixed length cell of unified framing protocol Data Unit (UFPDU) and fixed length cell mixed flow;
(3) packet loss priority (PLP) field, this field is used for identifying the packet loss priority of unified framing protocol Data Unit (UFPDU), in the grouping transport process, if appearance is congested in the switching/routing node, can abandon the grouping of PLP=1 earlier;
(4) header error control (HEC) field, this field adopts the identical processing of header error control (HEC) with the standard cell, is used for the correctness of guarantee agreement data cell (PDU) header;
(5) there is sign (PCSE) field in the packet checks sequence, and whether this field represents to use packet checks sequence (PCS) that the relevant field of unified framing protocol Data Unit (UFPDU) is carried out error control;
(6) packet-priority territory (PPF) field, this field is used to identify the load packet-priority of unified framing protocol Data Unit (UFPDU), is used for network switch/routing node this protocol Data Unit (PDU) is carried out different processing;
(7) upper-layer protocol identifier (ULPI) field, this field is used for identifying the information such as high level data protocol type of unified framing protocol Data Unit (UFPDU) load;
(8) final stage indication (LSI) field, this field is used to identify a beginning or the middle part that certain load zones of unifying framing protocol Data Unit (UFPDU) is some high-rise User Agreement data cells (PDU), still is the intact part or the last part of some high-rise User Agreement data cells (PDU);
(9) load (Payload) field, this field is used to deposit the part (user data packets) of complete protocol Data Unit of high-rise user (PDU) or protocol Data Unit (PDU), or operation management maintain (OAM) grouping;
(10) packet checks sequence (PCS) field, this field are used for the header of unified framing protocol Data Unit (UFPDU), extension header, data payload area (or only extension header and data payload area) are carried out the error checking and correction protection, and generator polynomial is g (x)=x 32+ x 26+ x 22+ x 16+ x 12+ x 11+ x 10+ x 8+ x 7+ x 5+ x 4+ x 2+ x+1.
5. according to claim 1 or 3 described methods, it is characterized in that filling protocol Data Unit (PPDU) has following five kinds of forms:
(1) fills protocol Data Unit form 1, oam (OAM) when being used for the networking of unification framing agreement, this filling protocol Data Unit comprises the header and the load zones of unified framing protocol Data Unit (UFPDU), and the load zones content is identical with the load of the oam (OAM) of asynchronous transfer mode (ATM);
(2) filling protocol Data Unit form 2, is oam (OAM) cell of asynchronous transfer mode (ATM), and the filling protocol Data Unit is identical with oam (OAM) cell of the asynchronous transfer mode (ATM) of standard;
(3) fill protocol Data Unit form 3, be made up of three 8 binary system groups such as " distinctive mark (F) ", spcial character 0xdd (being programmed for other value), " distinctive mark (F) ", this form is applicable to SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) or bare fiber/cable transmission circuit occupancy condition with higher;
(4) fill the protocol Data Unit format 4, comprise the header of unified framing protocol Data Unit (UFPDU), do not have extension header, load zones, packet checks sequence (PCS) field;
(5) filling protocol Data Unit form 5, is asynchronous transfer mode (ATM) idle cell of standard.
6. an elongated packet mixes the adaptive device that transmits with fixed length cell, comprises the following function module:
The business side interface is used for transmission/receiving data frames and cell, realizes that packet/cell transmits and transmit control, protocol Data Unit (PDU) format conversion, and this interface is connected with professional input/output interface, packet/cell push-up storage (FIFO);
Packet/cell push-up storage (FIFO), mainly form by transmission/reception grouping push-up storage (FIFO) and transmission/reception cell push-up storage (FIFO), be used to deposit the grouping and the cell of transmission and receive direction, this memory sends with business side interface, unified framing protocol Data Unit/cell (UFPDU/ATM Cell) or receiving processor is connected;
SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) sends processor, be used for when SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) load mode, to unify protocol Data Unit (PDU) mixed flow that framing protocol Data Unit/cell (UFPDU/ATM Cell) sends the processor input, be mapped to virtual container/empty branch road (VC/VT) of SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET), and generation section overhead (SOH) and path overhead (POH), assembling SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) frame is to delivering to the line side interface after this frame scrambling;
The line side interface, be used for SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) is sent processor, or unified framing protocol Data Unit/cell (UFPDU/ATM Cell) sends the input data of processor, carry out parallel/serial exchange, produce tranmitting data register and differential data signals, data-signal is outputed on the circuit; From the physical circuit receiving input data signal, finishing recovery of receive clock signal and data recovers, the serial/parallel conversion of the line data of going forward side by side, according to two kinds of different load modes of SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) and bare fiber/cable, send data after the conversion to SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) receiving processor, or unified framing protocol Data Unit/cell (UFPDU/ATM Cell) receiving processor;
SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) receiving processor, the data search that is used for the line side interface is imported is to determine the original position of SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) frame, and to the receiving data frames descrambling, take out section overhead (SOH) and path overhead (POH) in this frame, determine the original position of virtual container/empty branch road (VC/VT) original position and first complete protocol Data Unit (PDU) of load zones according to pointer mechanism, again data in the frame are delivered to unified framing protocol Data Unit/cell (UFPDU/ATM Cell) receiving processor;
The expense interface, be used for the setting and the taking-up of complete operation maintenance management (OAM) relevant information, this interface sends processor, SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) receiving processor, unified framing protocol Data Unit/cell (UFPDU/ATM Cell) transmission processor and unification framing protocol Data Unit/cell (UFPDU/ATM Cell) receiving processor with SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) and is connected;
Microprocessor Interface is used to realize be connected with all the other functional modules of external microprocessor, adaptive device, finishes the configuration and the state output of adaptive device;
It is characterized in that also comprising:
Unified framing protocol Data Unit/cell (UFPDU/ATM Cell) sends processor, be used to finish the cell that grouping and cell with packet/cell push-up storage (FIFO) input are packaged into unified framing protocol Data Unit (UFPDU) and modification respectively, the cell that mixes unified framing protocol Data Unit (UFPDU) and revise, add and fill protocol Data Unit (PPDU) to realize rate adapted, and the net load in prepare to pack into virtual container/empty branch road (VC/VT) or the bare fiber/cable transmission circuit carried out transparency processing and scrambling, the output of this transmission processor is connected to SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) and sends processor, or is connected to the line side interface in bare fiber/cable load mode;
Unified framing protocol Data Unit/cell (UFPDU/ATM Cell) receiving processor, be used for virtual container/empty branch road (VC/VT) net load district data to the input of SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) receiving processor, or the data of line side interface input when bare fiber/cable load mode, carry out descrambling, receive and delimit and " going to fill " processing, finishing the header error control (HEC) that receives grouping calculates, unified framing protocol Data Unit (UFPDU) of identification and cell, calculate packet checks sequence (PCS), protocol Data Unit (PPDU) is filled in deletion, correct unified framing protocol Data Unit (UFPDU) and cell are carried out format conversion, output to respectively and receive packet/cell push-up storage (FIFO), output to network components by business side interface transform format again.
7. adaptive device according to claim 6, it is characterized in that unified framing protocol Data Unit/cell (UFPDU/ATM Cell) sends processor and outputs to SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) transmission processor, or when bare fiber/cable load mode, output to the mixed flow of line side interface, form by unified framing protocol Data Unit (UFPDU), cell, filling protocol Data Unit (PPDU) and " distinctive mark (F) " four kinds of protocol Data Units (PDU).
8. adaptive device according to claim 6, it is characterized in that SDH (Synchronous Digital Hierarchy)/Synchronous Optical Network (SDH/SONET) receiving processor, or the line side interface outputs to the mixed flow of unified framing protocol Data Unit/cell (UFPDU/ATM Cell) receiving processor during bare fiber/cable load mode, is made up of unified framing protocol Data Unit (UFPDU), cell, filling protocol Data Unit (PPDU) and " distinctive mark (F) " four kinds of protocol Data Units (PDU).
CNB2003101058904A 2003-11-06 2003-11-06 Method and adaptation device for mixed transmission of variable-length data packets and fixed-length cells Expired - Fee Related CN100493075C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101058904A CN100493075C (en) 2003-11-06 2003-11-06 Method and adaptation device for mixed transmission of variable-length data packets and fixed-length cells

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101058904A CN100493075C (en) 2003-11-06 2003-11-06 Method and adaptation device for mixed transmission of variable-length data packets and fixed-length cells

Publications (2)

Publication Number Publication Date
CN1543162A true CN1543162A (en) 2004-11-03
CN100493075C CN100493075C (en) 2009-05-27

Family

ID=34333913

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101058904A Expired - Fee Related CN100493075C (en) 2003-11-06 2003-11-06 Method and adaptation device for mixed transmission of variable-length data packets and fixed-length cells

Country Status (1)

Country Link
CN (1) CN100493075C (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401719C (en) * 2005-03-09 2008-07-09 华为技术有限公司 A communication information processing transmission system
CN100433613C (en) * 2005-11-16 2008-11-12 华为技术有限公司 Method for detecting link disturbing code configuration conformance
CN100466506C (en) * 2006-02-17 2009-03-04 华为技术有限公司 A method of data transmission
CN101483441A (en) * 2008-01-07 2009-07-15 三星电子株式会社 Device for adding cyclic redundancy check in communication system
CN101686313A (en) * 2005-10-11 2010-03-31 三星电子株式会社 A digital broadcasting transmission and reception system, and a signal processing method thereof
CN1946007B (en) * 2006-09-06 2010-08-18 中兴通讯股份有限公司 Device and its method for mixing and converging data service and SDH service
CN101834664A (en) * 2010-04-29 2010-09-15 西安电子科技大学 A SDH multi-domain comprehensive test device and test method
CN1838575B (en) * 2005-03-21 2010-12-08 中兴通讯股份有限公司 A Method for B3 Byte Regeneration after Time Division Interleaving with Large Capacity
CN102096609A (en) * 2009-12-10 2011-06-15 英特尔公司 Instruction-set architecture for programmable cyclic redundancy check (CRC) computations
CN102103557A (en) * 2009-12-22 2011-06-22 英特尔公司 Memory controller functionalities to support data swizzling
CN101631335B (en) * 2009-08-19 2011-12-28 中兴通讯股份有限公司 Method and device for inserting overhead into optical channel data unit frame (ODUk)
US8711695B2 (en) 2008-12-19 2014-04-29 Panasonic Corporation Transmitter and receiver for streaming media including packet padding
US8804841B2 (en) 2005-10-11 2014-08-12 Samsung Electronics Co., Ltd. Method for turbo transmission of digital broadcasting transport stream, a digital broadcasting transmission and reception system, and a signal processing method thereof
CN106464542A (en) * 2014-07-08 2017-02-22 华为技术有限公司 Generic operations, administration, and management (OAM) function
WO2017140076A1 (en) * 2016-02-16 2017-08-24 中兴通讯股份有限公司 Data transmission method and device
CN108989286A (en) * 2018-06-08 2018-12-11 北京开广信息技术有限公司 Packaging method, de-encapsulation method and the device of general data stream
CN111144062A (en) * 2019-12-24 2020-05-12 北京恒光信息技术股份有限公司 Digital synchronization signal analysis system and method
CN111245809A (en) * 2020-01-07 2020-06-05 北京同有飞骥科技股份有限公司 Cross-layer data processing method and system
CN114389753A (en) * 2021-12-15 2022-04-22 中国电子科技集团公司第三十研究所 POS interface capable of adapting to multiple rates
CN115244908A (en) * 2020-03-04 2022-10-25 意大利电信股份公司 Packet loss measurement in a packet switched communication network
WO2023216424A1 (en) * 2022-05-10 2023-11-16 天津航天中为数据系统科技有限公司 Data link service processing system and method for networked encrypted transmission

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401719C (en) * 2005-03-09 2008-07-09 华为技术有限公司 A communication information processing transmission system
CN1838575B (en) * 2005-03-21 2010-12-08 中兴通讯股份有限公司 A Method for B3 Byte Regeneration after Time Division Interleaving with Large Capacity
US8867623B2 (en) 2005-10-11 2014-10-21 Samsung Electronics Co., Ltd. Method for turbo transmission of digital broadcasting transport stream, a digital broadcasting transmission and reception system, and a signal processing method thereof
CN101686313A (en) * 2005-10-11 2010-03-31 三星电子株式会社 A digital broadcasting transmission and reception system, and a signal processing method thereof
US8804841B2 (en) 2005-10-11 2014-08-12 Samsung Electronics Co., Ltd. Method for turbo transmission of digital broadcasting transport stream, a digital broadcasting transmission and reception system, and a signal processing method thereof
CN100433613C (en) * 2005-11-16 2008-11-12 华为技术有限公司 Method for detecting link disturbing code configuration conformance
US7818634B2 (en) 2005-11-16 2010-10-19 Huawei Technologies Co., Ltd. Detecting method and system for consistency of link scrambling configuration
CN100466506C (en) * 2006-02-17 2009-03-04 华为技术有限公司 A method of data transmission
CN1946007B (en) * 2006-09-06 2010-08-18 中兴通讯股份有限公司 Device and its method for mixing and converging data service and SDH service
CN101483441A (en) * 2008-01-07 2009-07-15 三星电子株式会社 Device for adding cyclic redundancy check in communication system
US8711695B2 (en) 2008-12-19 2014-04-29 Panasonic Corporation Transmitter and receiver for streaming media including packet padding
CN101631335B (en) * 2009-08-19 2011-12-28 中兴通讯股份有限公司 Method and device for inserting overhead into optical channel data unit frame (ODUk)
CN102096609B (en) * 2009-12-10 2017-04-12 英特尔公司 Instruction-set architecture for programmable cyclic redundancy check (CRC) computations
CN102096609A (en) * 2009-12-10 2011-06-15 英特尔公司 Instruction-set architecture for programmable cyclic redundancy check (CRC) computations
CN102103557B (en) * 2009-12-22 2015-01-28 英特尔公司 Memory controller functionalities to support data swizzling
CN102103557A (en) * 2009-12-22 2011-06-22 英特尔公司 Memory controller functionalities to support data swizzling
CN101834664A (en) * 2010-04-29 2010-09-15 西安电子科技大学 A SDH multi-domain comprehensive test device and test method
CN101834664B (en) * 2010-04-29 2013-01-23 西安电子科技大学 SDH (Synchronous Digital Hierarchy) multi-domain comprehensive test device and test method thereof
CN106464542B (en) * 2014-07-08 2019-10-15 华为技术有限公司 Systems and methods for network operations, administration and maintenance (OAM)
CN106464542A (en) * 2014-07-08 2017-02-22 华为技术有限公司 Generic operations, administration, and management (OAM) function
US10326680B2 (en) 2014-07-08 2019-06-18 Huawei Technologies Co., Ltd. Generic operations, administration, and maintenance (OAM) function
WO2017140076A1 (en) * 2016-02-16 2017-08-24 中兴通讯股份有限公司 Data transmission method and device
WO2019233155A1 (en) * 2018-06-08 2019-12-12 北京开广信息技术有限公司 General data stream packaging method, and de-packaging method and apparatus
CN108989286A (en) * 2018-06-08 2018-12-11 北京开广信息技术有限公司 Packaging method, de-encapsulation method and the device of general data stream
CN108989286B (en) * 2018-06-08 2020-01-14 北京开广信息技术有限公司 Encapsulation method, decapsulation method and device for universal data stream
US11375051B2 (en) 2018-06-08 2022-06-28 Beijing Kaiguang Infotech Co., Ltd. Method and device for encapsulating and de-encapsulating general data stream
CN111144062A (en) * 2019-12-24 2020-05-12 北京恒光信息技术股份有限公司 Digital synchronization signal analysis system and method
CN111245809A (en) * 2020-01-07 2020-06-05 北京同有飞骥科技股份有限公司 Cross-layer data processing method and system
CN115244908A (en) * 2020-03-04 2022-10-25 意大利电信股份公司 Packet loss measurement in a packet switched communication network
CN114389753A (en) * 2021-12-15 2022-04-22 中国电子科技集团公司第三十研究所 POS interface capable of adapting to multiple rates
CN114389753B (en) * 2021-12-15 2024-01-30 中国电子科技集团公司第三十研究所 A POS interface capable of adapting to multiple rates
WO2023216424A1 (en) * 2022-05-10 2023-11-16 天津航天中为数据系统科技有限公司 Data link service processing system and method for networked encrypted transmission

Also Published As

Publication number Publication date
CN100493075C (en) 2009-05-27

Similar Documents

Publication Publication Date Title
CN1543162A (en) Method and adaptation device for mixed transmission of variable-length data packets and fixed-length cells
EP1005779B1 (en) Device for performing ip forwarding and atm switching
US20040184450A1 (en) Method and system for transport and routing of packets over frame-based networks
US20040252688A1 (en) Routing packets in frame-based data communication networks
CN1232082C (en) Generic Label Encapsulation Protocol
HK1049078A1 (en) Apparatus and method for gfp frame transfer
HK1049077A1 (en) Apparatus and method for gfp frame transfer
US7881187B2 (en) Transmission apparatus
KR20010085789A (en) Data transmission apparatus and method for transmitting data between physical layer side device and network layer device
KR20010085853A (en) Interfacing apparatus and method for adpating ethernet directly to physical channel
CN1367969A (en) Artificial line exchanging system and method, and sender-receiver-side transmitters for said system
JP2010057202A (en) High speed ethernet based on sonet technology
US7133415B2 (en) SONET circuit emulation with VT compression
CN1310905A (en) Data transmission apparatus and method for transmitting data between physical layer side device and network layer device
CN100433707C (en) Method for switching ATM, TDM and packet data through a single communications switch
US6778561B1 (en) Hybrid data transport scheme over optical networks
CN1258899C (en) Method, equipment and system for transmitting information in network containing ether net
US20050169275A1 (en) Method for transmitting multi-protocol label switch protocol data units
Scholten et al. Data transport applications using GFP
CN1744470A (en) Method and device for optical network carrying asynchronous transfer mode service
WO2003021832A1 (en) Routing packets in frame-based data communication networks
Yang et al. Channel statistical multiplexing in SDH/SONET networks
Gorshe Generic Framing Procedure (GFP)
CN1625175A (en) Method for transmitting multiprotocol label switching protocol data unit
Xu et al. A Unified Framing Protocol for Hybrid Data Transport

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090527

Termination date: 20101106