CN1728720A - Adaptation method in use for syncretizing Ethernet and SHD or synchronous optical network - Google Patents

Adaptation method in use for syncretizing Ethernet and SHD or synchronous optical network Download PDF

Info

Publication number
CN1728720A
CN1728720A CN 200410060647 CN200410060647A CN1728720A CN 1728720 A CN1728720 A CN 1728720A CN 200410060647 CN200410060647 CN 200410060647 CN 200410060647 A CN200410060647 A CN 200410060647A CN 1728720 A CN1728720 A CN 1728720A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
frame
data link
field
value
code
Prior art date
Application number
CN 200410060647
Other languages
Chinese (zh)
Inventor
邓里文
Original Assignee
邓里文
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

Links

Abstract

New layer of data link layer protocol - data link procedure (DLP) is introduced in the invention to realize syncretizing adaptation between Ethernet and SDH / SONET in order to overcome shortage of current adaptation technique including not matched interface speed, not supporting dynamic bandwidth allocation based on packets, and not possible to transmit SDH / SONET on Ethernet, not compatible to IP and packet voice service etc. The method realizes direct transmission of Ethernet on SDH / SONET, and SDH / SONET on Ethernet as well as realizes compatibility to IP network and packet voice network. Using safety mechanism, network control management mechanism, flow management mechanism provided by DLP realizes network management control function such as two layer protected rearrangement, performance management, fault management etc. The method makes current communication network transits to united public network in next generation of using packet switching technology smoothly.

Description

一种用于以太网与同步数字体系或者同步光网络融合的适配方法 One kind or Ethernet adaptation method of the synchronous digital hierarchy synchronous optical network for convergence

发明领域本发明属于以太网和同步数字体系或者同步光网络的数据传送领域,它是一种用于以太网与同步数字体系或者同步光网络融合的适配方法,具体为一种如何在同步数字体系(英文缩写为SDH)或者同步光网络(英文缩写为SONET)上传送以太网以及在以太网上如何传送同步数字体系或者同步光网络的方法,更具体的为如何在SDH/SONET网络上传送以太网/快速以太网/千兆以太网/10G以太网以及在以太网/快速以太网/千兆以太网/10G以太网上如何传送SDH/SONET的方法,本发明的构想主要用于具有各种以太网或者同步数字体系或者同步光网络接口的各种通信设备如各种路由器(核心或者高端交换路由器、边缘或者汇聚交换路由器、接入交换路由器)、基于分组(包)交换的各种高/中/低端以太网交换机、多业务传送平台(英文缩写为MSTP)、用户端综合接入设备、以太网与同 Field of the Invention The present invention belongs to Ethernet and synchronous digital hierarchy or synchronous optical network data transmission field, which is a method for Ethernet and synchronous digital hierarchy or synchronous optical network convergence adaptation method, in particular to a synchronous digital how system (English abbreviation for SDH) or synchronous optical networks (abbreviation of SONET) transmission on Ethernet, and synchronous digital Hierarchy or synchronous optical network method how to transmit over Ethernet, and more particularly to an Ethernet on how to transmit SDH / SONET network network / fast Ethernet / Gigabit Ethernet / 10G Ethernet and how to transport SDH / SONET on Ethernet / fast Ethernet / Gigabit Ethernet / 10G Ethernet, the present invention is primarily contemplated for having various Ethernet network or synchronous digital Hierarchy, or a synchronous optical network interface such as various routers various communication devices (or core-end switch router, the edge or aggregation switch router, access switch router), a variety of packet-based (packet) switching high / medium / low-end Ethernet switches, multi-service transport platform (English abbreviation for MSTP), end users integrated access devices, Ethernet with the same 数字体系或者同步光网络互联的设备以及与通信有关任何互联互通设备。 Digital hierarchy or synchronous optical networking device and a communication device related to any interconnection.

背景技术 Background technique

依据有关文献资料,在SDH/SONET上传送以太网的技术有三种,而在以太网上传送SDH/SONET的技术目前还没有报道。 According to the relevant literature on SDH / SONET transmission of Ethernet technology, there are three, and transmitted over Ethernet SDH / SONET technology has not yet been reported. 在SDH/SONET上传送以太网的英文说法为Ethernet overSDH/SONET,简称为EOS。 Transport of Ethernet over SDH / SONET English parlance Ethernet overSDH / SONET, referred to as EOS. 文献上实现EOS的方法有以下三种:(1)采用“点到点协议”(英文缩写为PPP)加上“高级数据链路规程”(英文缩写为HDLC);(2)采用SDH链路接入规程(英文缩写为LAPS);(3)采用通用成帧规程(英文缩写为GFP)的方式。 EOS-implemented method on the following three documents: (1) "Point Protocol" (abbreviation of PPP) with "high-level data link protocol" (abbreviation of HDLC); (2) using the SDH link access procedure (the English abbreviation for LAPS); (3) using generic framing procedure (abbreviation of GFP) manner.

其中第一种用PPP+HDLC的适配方法是因特网工程任务组(英文缩写为IETF)定义的用来实现因特网(英文缩写为IP)与SDH/SONET融合的一种方法,该方案由IETF的RFC2615、RFC1662、RFC1661定义,RFC为请求评论(英文为Request For Comments),用这种方法可以实现以太网在同步数字体系或者同步光网络上的传送;第二种采用LAPS的方法是ITU-T X.85和X.86建议确定的一种以太网与SDH的适配方法,它是一种对第一种方法进行简化处理的方法,它采用LAPS一项要素代替了PPP+HDLC两项要素;第三种方法即采用通用成帧规程(GFP)的适配方法是ITU-T G.7041/Y.1303规范的一种适配方法,在这种适配方法中用GFP作为数据链路层协议,它可以实现以太网与SDH、IP与SDH、IP与光传送网(英文缩写为OTN)的适配,本质上该适配方法还是一种点到点连接适配处理方案。 Wherein a first PPP + HDLC adaptation method is an Internet Engineering Task Force (IETF abbreviation is) defined to implement the Internet (the English abbreviation for IP) fused to a method of SDH / SONET, the program of the IETF RFC2615, RFC1662, RFC1661 defined, RFC request for comment as (English as request For comments), this method may be implemented in the Ethernet transmission on the synchronous digital hierarchy or synchronous optical network; second method is using LAPS ITU-T X.85 and X.86 recommendations determine a SDH Ethernet adaptation method, which is a simplified method of performing processing on a first method using LAPS element instead of a PPP + HDLC two elements ; third method i.e. using generic framing procedure (GFP) method of adaptation is to ITU-T G.7041 / Y.1303 a specification adaptation method, in which by GFP adaptation method as a data link layer protocol, it can achieve Ethernet SDH, IP and SDH, IP and optical transport network (abbreviation of OTN) adaptation, the adaptation method is also a point to point connection scheme essentially adaptive processing.

众所周知,以太网和SDH/SONET是目前通信网的两大主流通信技术,其中以太网主要与因特网有关,以太网是为传送数据业务特别是因特网业务即IP业务而设计的一种局域网技术,由于以太网具有简单、标准化程度高、适合传送突发性的IP业务等特点而占据了全世界90%以上的局域网市场,而且正在向接入网和城域网方向发展;另一方面,SDH/SONET技术是目前世界上电信骨干网的主要传送技术,人们为传送话音业务而建立的全世界互联的电信网络所采用的传送技术就是SDH(SDH在北美对应的是SONET)。 As we all know, Ethernet and SDH / SONET communications technology is currently two main communication network, which is mainly related to the Internet Ethernet, Ethernet is a LAN technology to transmit data business Internet service that is especially designed for IP services, due to the Ethernet has a simple, high degree of standardization for transmitting bursty IP traffic and other characteristics of the world accounted for 90% of the LAN market, and is developing towards the direction of access and metro networks; on the other hand, SDH / SONET technology is currently the world's major transport technology telecommunications backbone network transmission technology to transmit voice traffic of people and the establishment of telecommunications networks around the world is interconnected used SDH (SDH in North America corresponds to the SONET). 为了减少网络层次,降低网络的组网成本,扩展以太网的传送距离,人们自然就想到了如何在SDH/SONET上传送以太网的问题,这就导致了EOS技术的产生,因此产生了上述三种EOS适配技术,但是由于以太网和SDH/SONET技术是两种截然不同的传送技术,一方面以太网适合传送分组业务,而SDH/SONET是一种时分复用技术,适台传送采用时分复用技术的传统话音业务,另一方面以太网和SDH/SONET都有不同的接口速率级别,由于上述三种适配方法主要解决的是以太网在SDH/SONET上点到点传送的问题,因此上述三种适配方法存在一些不足和缺陷:(1)上述三种适配方法主要解决的是点到点连接问题,由于以太网和SDH/SONET属于不同的传输技术,两者都有各自的接口速率体系,因此上述三种适配方法存在一个速率不匹配的问题,而且在SDH/SONET需要使用高阶虚容器和低阶虚容器的 In order to reduce the network level, reduce network cost of the network, the expansion of Ethernet transmission distance, people naturally think of the problem of how to transport Ethernet over SDH / SONET, which led to the creation EOS technology, thus creating the above three EOS species adaptation techniques, but because Ethernet and SDH / SONET transmission techniques are two distinct techniques, one for transmitting an Ethernet packet service, while SDH / SONET is a time division multiplexing techniques, time division transmission station suitable for Reuse of traditional voice services, on the other hand Ethernet and SDH / SONET interfaces have different levels of speed, since the three fitting methods is mainly to solve the problem of Ethernet transmission point on the SDH / SONET, there is some of the above three methods adapted disadvantages and drawbacks: (1) the three adaptation method is mainly to solve the issue point to point connection, since the Ethernet and SDH / SONET transmission belong to different techniques, both have their own the interface rate system, there is a problem of the three rate adaptation method is not matched, and in SDH / SONET virtual containers need to use high-order and low-order virtual containers 级联,增加了一个设备的复杂性。 Cascade, increases the complexity of a device.

(2)上述三种适配方法都是在SDH/SONET上传送以太网的方案,随着以太网向城域网方向扩展,将来的城域网骨干网可能会采用以太网技术,此时可能会要求SDH/SONET如何在以太网上传送的问题,这三种以太网与SDH/SONET融合的适配方法都不能用于在以太网上传送SDH/SONET。 (2) In the above three methods are adapted to transmit Ethernet protocol on the SDH / SONET, Ethernet extension as the direction of the metropolitan area network, metropolitan area backbone network in the future may use Ethernet technology, this time may will ask questions SDH / SONET how to transfer over Ethernet, three Ethernet integration with the SDH / SONET adaptation method can not be used to transmit SDH / SONET over Ethernet.

(3)未来的统一公用网将采用分组交换技术,采用上述三种适配方法难以实现基于分组的动态带宽分配。 (3) the future unified public network uses packet switching technology, it is difficult to achieve adaptation method using three packet-based dynamic bandwidth allocation described above.

(4)只支持点到点连接,上层业务每经过一个节点需要进行一系列的处理,不能直接转发上层业务。 (4) only support point to point connections, each of the top business through a series of processing nodes need not be forwarded directly to the upper layer service.

(5)对于第一、二种即采用PPP+HDLC以及采LAPS的适配方式,由于HDLC帧以及LAPS帧采用的是特定字节(0X7E)实现帧定界,需要对以太网MAC帧进行透明处理,这种方式有两个缺陷,一是网络安全问题,那些怀有恶意的人如果把净荷信息全部设置为特定的那两个字节(0X7D、0X7E),那么这就导致网络的流量增加一倍,如果采用联合攻击,可能导致网络拥塞;此外,由于这两种适配方式都没有纠错功能,这样如果帧定界字节出现错误(出现错误的理论概率为1/28=1/256=0.00390625,即约为千分之3.9),就可能导致丢包。 (5) for the first, i.e., using two kinds of PPP + HDLC and LAPS adaptation mode adopted, since the frame using the HDLC frame and the LAPS specific byte (0x7E) achieve frame alignment, Ethernet MAC frames need to be transparent treatment, this approach has two drawbacks, one network security issues, those malicious payload if the information is all set to a specific two bytes (0X7D, 0X7E), then this results in network traffic doubled, if the joint Strike could lead to network congestion; in addition, because these two methods are not adapted to error correction, so if the frame alignment byte errors (error theory of probability is 1/28 = 1 /256=0.00390625, which is about 3.9 per one thousand), may lead to packet loss.

(6)采用上述适配方法的网络中,传统的话音业务与IP网业务是分开的,不能实现与IP网络和分组话音网络的兼容,而现在普遍认为未来的统一公用网应将采用分组交换技术,这些适配方法对于如何实现话音业务分组化,促进话音、数据和视频网络的三网融合等方面没有任何帮助。 (6) network adapter using the above methods, the traditional voice services and IP network services are separate, not for compatibility with IP networks and packet voice network, and it is widely considered the future of a unified packet-switched public network should be adopted technology, adapting these methods for how to implement packet voice services, and promote voice, data and video networks such as triple play without any help.

发明内容 SUMMARY

本发明的目的是针对现有的以太网与SDH/SONET融合的适配方法的不足和缺陷而设计的一种新型的以太网与SDH/SONET融合的适配方法,一方面可以实现以太网与SDH/SONET物理层的适配,使SDH/SONET网络能够直接传送以太网,另外一方面又可以解决上述三种以太网与SDH/SONET适配方法中的缺陷和不足,可以在以太网上直接传送SDH/SONET,而且为以太网提供强大的流量工程能力以及包括2层保护倒换、拓扑发现、故障管理、配置管理、性能管理等在内的网络管理功能,支持从低阶虚容器到高阶虚容器(包括级联)的全部速率范围,也特别适合用到光的包交换接口,可以实现全光网络的直接光波长交换,为现有的电信传输资源找到一条好的出路,可以实现与未来分组话音传送网络的兼容,使现有的话音网络平滑过渡到下一代统一的电信级公用网,此外可以实现电信传输和交 Object of the present invention is a novel adaptation between Ethernet and SDH / SONET fusion method for adapting shortcomings and deficiencies of existing Ethernet and SDH / SONET fusion designed, on the one hand and Ethernet adaptation SDH / SONET physical layer of the SDH / SONET network capable of directly transmitting Ethernet, on the other hand it can solve the above three Ethernet and SDH / SONET adaptation process defects and deficiencies, may be directly transmitted over Ethernet SDH / SONET, and provide powerful traffic engineering capabilities include Ethernet and layer 2 protection switching, topology discovery, fault management, configuration management, performance management including network management capabilities to support higher order virtual lower-order virtual container to all containers rate range (including cascaded) is also particularly suitable for optical packet switching interface is used, the wavelength of light can be achieved directly exchange all-optical networks, to find a good way for the existing telecommunication transmission resources can be achieved in the future compatible packetized voice transport network, the existing voice network smooth transition to the next generation of carrier-class public networks unified, and in addition can be realized telecommunications transmission cross 的统一,这样极大的降低网络构建成本。 Unity, so greatly reduce network construction costs.

本发明的目的是通过如下措施来达到的:通过定义一个新型的数据链路层协议——数据链路规程(英文缩写为DLP),一方面利用这个新型的数据链路层协议(DLP)来实现因特网协议(IP)、分组话音业务和分组视频业务(数字电视)与各种物理层设施的直接适配,实现话音、数据(IP)与视频网络的三网融合,在数据链路层统一整个通信网,使现有的通信网络平滑过渡到下一代统一电信级公用网,另一方面用这一新型的数据链路层协议实现包括以太网和同步数字体系或者同步光网络在内的不同网络的融合从而实现不同物理网络的互联,用这个新型的数据链路层协议实现以太网与同步数字体系(SDH)或者同步光网络(SONET)的融合时分别把以太网MAC帧或者SDH/SONET电路仿真信号作为这个新型的数据链路层协议的客户层信号处理,利用这个新型的数据链路层协议作为客户信号( Object of the present invention is achieved by the following measures: by defining a new data link layer protocol - to the data link protocol (abbreviation of DLP), on the one hand the use of this new data link layer protocol (DLP) implement an Internet protocol (IP), packet voice and video packet service (digital TV) and adapted directly to various physical layer facilities, triple play of voice, data (IP) video network, the data link layer uniform the entire communication network, existing communication network unified smooth transition to the next carrier-class public networks, on the other hand with this new data link layer protocol, including Ethernet and synchronous digital hierarchy or synchronous optical network including different fusion interconnection network in order to achieve different physical networks, Ethernet and synchronous digital hierarchy (SDH) with the new data link layer protocol or a synchronous optical convergence network (SONET), respectively, the Ethernet MAC frame or the SDH / SONET this new circuit simulation signal as data link layer protocol client layer signal processing, using the new data link layer protocol as a client signal ( 太网MAC帧或者SDH/SONET电路仿真信号)层与物理层(SDH/SONET或者以太网)的适配协议从而实现在SDH/SONET上传送以太网或者在以太网上传送SDH/SONET,数据链路层(DLP)与客户层间的通信以及物理层与数据链路层(DLP层)间的通信都通过原语来实现,利用这一新型的数据链路层协议定义的分级的、兼容现有电话号码体系的目的地址码和源地址码来表示客户信号的目的地址和源地址,利用二层数据链路层地址实现客户信号的二层转发与交换,利用这一新型数据链路层协议提供的安全机制来保证客户信号(以太网MAC帧或者SDH电路仿真信号)业务在网络传送过程中的安全传送,用所述的新型数据链路层协议中定义的数据帧来传送来自上层的各种业务数据,定义的控制帧来实现网络的包括拓扑发现、2层保护倒换、故障管理、配置管理和性能管理等在内的网络控制管理,定义 Ethernet MAC frame or the SDH / SONET signal circuit simulation) layer and the physical layer (SDH / SONET or Ethernet) is adapted to transmit Ethernet protocol in order to achieve the SDH / SONET transmission or SDH / SONET on Ethernet data link layer (DLP) communication and the communication between the physical layer and the data link layer (DLP layer) between the client layer and the primitives are achieved by using this new classification of data link layer protocol defined, compatibility with existing destination address source address code and a telephone number system code to the source address and destination address of the client signal, the layer 2 data link layer address of the client signal to achieve layer 2 forwarding exchange, the use of this new data link layer protocol provides various security mechanisms to ensure that the client signal (Ethernet MAC SDH circuit emulation or frame signal) transmitted in the security business network transmission process, the data frame of the new data link layer protocol defined transmitted from an upper layer traffic data, control frame defined to implement network comprising topology discovery, layer 2 protection switching, fault management, configuration management and performance management, including a network management control is defined 流量管理帧来实现网络的流量工程管理。 Traffic management frame traffic engineering network management.

按照本发明提供的方法,其特征在于,通过定义一个新型的数据链路层协议——数据链路规程(英文缩写为DLP),一方面利用这个新型的数据链路层协议(DLP)来实现因特网协议(IP)、分组话音业务和分组视频业务(数字电视)与各种物理层的直接适配从而实现话音、数据(IP)与视频网络的三网融合,在数据链路层统一整个通信网,使现有的通信网络平滑过渡到下一代统一电信级公用网,另一方面用这个新型的数据链路层协议实现包括以太网和同步数字体系或者同步光网络在内的不同网络的融合从而实现不同物理网络的互联,所述的新型数据链路层协议帧的帧定界是依靠该数据链路层协议帧最开始一定长度内的比特信息构成的特定相互关联关系(构成某种特定编码关系)来实现的,在所述的新型数据链路层协议中定义一个帧长度(英文为Frame Length,FL)字段用来以 The method provided by the invention, which is characterized in that, by defining a new data link layer protocol - to implement the data link protocol (DLP English abbreviation), on the one hand the use of this new data link layer protocol (DLP) Internet protocol (IP), packet voice and video packet service (digital TV) adapted to direct various physical layer in order to achieve voice, data (IP) network with a triple play video, unified whole communication data link layer network, existing communication networks smooth transition to the next generation unified carrier-class public networks, on the other hand with the new data link layer protocol and comprises a fusion Ethernet or synchronous digital Hierarchy of different networks, including synchronous optical network in order to achieve different physical interconnected networks, frame delimiting said new data link layer protocol frame is to rely on the data link layer protocol frame beginning specific relationship to each other within a length of the information bits consisting of (a particular configuration relationship coding) implemented, defines a frame length (English as Frame Length, FL) in the new data link layer protocol in the field is used to 节形式标识该数据链路层协议帧的总长度,定义一个帧长度校验(英文为Frame Length Check,FLC)字段用来对帧长度字段进行校验并进行单比特错误或者2比特错误纠错处理同时利用这两个字段比特构成的这种特定校验编码关系实现所述的新型数据链路层协议帧的帧定界,定义一个业务类型(英文为Service Type,ST)字段用来标识净荷字段封装的业务类型,从而实现多业务的封装,同时规定不同的业务类型具有不同的优先级,定义一个拓扑字段(英文为Networks Topology,NT)来标识网络节点的拓扑类型,定义一个安全(英文为Security)字段用来标识是否对封装的净荷进行加密、认证处理,定义一个分级的目的地址码(英文为Destination Address Code,DAC)和源地址码(英文为Source Address Code,SAC)来标识封装业务数据包的二层目的地址和源地址,定义一个扩展报头(英文为Extension Header, Section in the form of data link layer protocol identifies the total length of the frame, defining a frame length check (English as Frame Length Check, FLC) field is used to verify a frame length field and a single bit error or 2-bit error correction process while taking advantage of this particular relationship between the two check code bits constituting the field implementation of the new frame delimiter data link layer protocol frame, a define service type (English as service type, ST) field is used to identify the net Dutch field encapsulated service type, thereby achieving encapsulation of multiple services, while predetermined different traffic types with different priorities, define a topological field (English as networks topology, NT) topology type to identify the network nodes, defining a security ( English as Security) field is used to identify whether the payload package is encrypted, the authentication process, the definition of a hierarchical destination address codes (English as Destination address code, DAC) and a source address code (English as source address code, SAC) to Layer destination address and source address of the encapsulated service data packet identification, define an extension header (English as extension header, EH)字段来标识是否对净荷进行扩展处理,定义一个填充长度字段用来以字节形式表示要进行填充处理如对净荷进行认证、加密处理时填充的长度,定义一个帧序列号(英文为Frame Sequence Number,FSN)字段用来标识数据链路层协议帧的发送序列,定义一个安全参数索引(英文为Security Parameter Index,SPI)来标识对数据认证加密处理时通信两端建立的安全关联,定义一个净荷(英文为Payload)字段来封装来自上层的各种业务,定义一个帧校验序列(英文为Frame CheckSequence,FCS)字段来对所述的新型数据链路层协议帧进行校验,在所述的新型数据链路层协议帧中定义一类数据帧来传送来自上层的各种业务数据,定义流量管理帧来实现网络的流量工程管理,定义控制帧来实现网络的包括拓扑发现、2层保护倒换、故障管理、配置管理和性能管理等在内的网络控制管理,这三种 EH) field to identify whether the payload performs an expansion process, a padding length field is defined to be used to indicate the padding process the payload in bytes, such as authentication, encryption processing filling length, define a frame sequence number (English for the frame sequence Number, FSN) field is used to identify the transmission sequence data link layer protocol frame, define a security parameter index (English as security parameter index, SPI) used to identify the security association for both ends of the communication is encrypted authentication data created define a payload (English as payload) encapsulating various business fields from an upper layer, the definition of a frame check sequence (English as frame CheckSequence, FCS) field used to check on the frame for the new data link layer protocol according to , defined in the new data link layer protocol frame in a frame to transmit various types of data from an upper layer service data, to define the traffic management frame traffic engineering network management, the definition of the control frame to implement network topology discovery comprising 2 layer protection switching, fault management, configuration management and performance management, including network management controls, three 同类型的帧由所述的新型数据链路层协议帧中的类型字段来标识,具体如下:定义帧长度(英文缩写为FL)字段长度为16比特,定义帧长度校验字段(英文缩写为FLC)长度为15比特,使FL和FLC字段比特构成BCH(31,16)码(BCH为博斯-乔赫里-霍克文黑姆码的英文缩写),DLP帧利用这种关系来实现DLP帧的帧定界并对FL出现的单比特或者2比特错误进行纠错处理,BCH(31,16)码的生成多项式为G(x)=x15+x11+x10+x9+x8+x7+x5+x3+x2+x+1,初始化值为0,这里x15对应最高有效位(英文缩写为MSB),x0对应最低有效位(英文缩写为LSB),DLP帧利用DLP帧中前面31比特(FL字段和FLC字段)的特定编码关系来实现DLP帧的定界,DLP帧定界过程依据有限状态机来实现,有限状态机包括三个状态:搜索(英文为HUNT)态、预同步(英文为PRESYNC)态、同步(英文为SYNC)态,有限状态机工作流程图如下:(1)在搜索态,DLP处理对接 The same type of frame identified by said new data link layer protocol frame type field, as follows: define the frame length (FL English abbreviation) field length is 16 bits, the frame length is defined check field (the English abbreviation for FLC) 15-bit length of the bits constituting the field FL and FLC BCH (31,16) code (BCH as Bose - Chaudhuri - Hocquenghem code abbreviation), DLP frame using this relationship to achieve DLP frame delimiter frames and single-bit or 2-bit error occurs FL error correction process, a generator polynomial BCH (31,16) code is G (x) = x15 + x11 + x10 + x9 + x8 + x7 + x5 + x3 + x2 + x + 1, the initialization value of 0, this corresponds to the most significant bit x15 (English abbreviation MSB), x0 corresponding to the least significant bit (the English abbreviation for the LSB), DLP DLP frame using 31 bits frame front (FL FLC fields and fields) to achieve a particular coding relationship frames delimited DLP, DLP frame alignment procedure based on finite state machine implemented finite state machine comprises three states: search (English as HUNT) state, pre-synchronization (English as the PRESYNC) state synchronization (English as sYNC) state, a flowchart of a finite state machine are as follows: (1) in the search state, DLP docking process 收到的31比特进行逐比特搜索寻找正确格式的FL和FLC关系,在这种状态下,BCH码不具有对FL字段和FLC字段的单比特错误或者2比特错误纠错功能,一旦在接收到的31比特中找到正确的候选FL和FLC匹配关系值,即可假定确定了一个正确的DLP帧,接收处理进入预同步(英文为PRESYNC)状态,(2)在PRESYNC态,DLP处理通过逐帧搜索处理来实现DLP帧定界,依据上一步逐比特搜索找到的FL和FLC正确匹配值,即可假定搜索到一个正确的DLP帧,然后依据该帧各字段关系可以确定下一帧的FL和FLC字段值,并依据他们的关系确定他们是否匹配,然后再下一帧,一旦连续确定DELTA(DELTA为一个参数,它是一个大于0的正整数)个正确的DLP帧,DLP接收处理进入同步态,反之,如果随后一帧的FL和FLC字段值不匹配,进入搜索态,此时,BCH码不具有对FL字段和FLC字段的单比特错误或者2比特错误纠错 Received 31-bit-by-bit search to find the relationship between FL and FLC of the correct format, in this state, the BCH code does not have a single bit error or 2-bit error correction function and the FL field FLC fields, upon receiving the the 31 bits found correct candidate matching relationship FL and FLC value, assumed to set a correct frame of DLP, the process proceeds to the reception presync (English as PRESYNC) state, (2) in the PRESYNC state, the processing frame by frame DLP search process to achieve the DLP frame delimitation, FL based on step-by-bit search and find the right match FLC value, you can assume the right to search a DLP frame, then the next frame FL may be determined according to the relationship between the frame and the fields FLC field values, and based on their relationship to determine whether they match, then the next frame, once determined continuously DELTA (DELTA is a parameter, which is a positive integer greater than 0) number of correct frame DLP, DLP brought to the synchronized reception process state, whereas if a subsequent FL and FLC field values ​​do not match, enter the search state, this time, the BCH code does not have a single bit error field and the FL field FLC or 2-bit error correction 功能,从搜索态进入同步态需要连续搜索到DELTA+1个正确的DLP帧,(3)在同步态,DLP处理通过一个帧的FL和FLC字段关系可以确定下一个DLP帧的开始,然后可以实现一帧一帧的解析,在这种状态下FLC具有单比特错误或者2比特错误纠错功能,如果发生多个比特(超过2比特错误)错误,则帧定界失效,成帧处理进入搜索态,并给客户适配处理发出客户服务器信号失效(英文缩写为SSF)指示,(4)DLP空帧参与帧定界处理,并随后丢弃空帧,DLP帧定界处理的键壮性与DELTA值有关,本发明建议DELTA值为1,在FLC后定义一个长度为1比特的保留字段留作将来使用(R字段,一直设置为0),定义业务类型字段长度为8比特,共计可识别28=256种业务类型,其中最高有效位为0时表示封装的是低优先级的普通数据业务(如普通IP数据业务),最高有效位为1时表示DLP净荷字段封装的业务为高优先 Function, from entering the search state synchronization state requires a continuous search DELTA + 1 the one correct DLP frame (3) in the synchronization state, DLP process may determine whether the next DLP frame is started by FL relationships between fields of a frame and the FLC, then resolved to achieve a frame, in this state has a single-bit errors FLC or 2-bit error correction function, a plurality of bits if an error occurs (more than 2-bit error), the frame alignment failure, the process proceeds to framing search state, and issued to the customer signal adaptation processing client-server failures (the English abbreviation SSF) indication, (4) DLP participation null frames frame delimitation process, and then discarded null frame, DELTA DLP strong bond of frame delimiter processing values ​​related to, the present invention proposes a DELTA value, the FLC define a length of 1-bit field reserved for future use reserved (R field has been set to 0), the service type field defines the length of 8 bits, a total of 28 can be identified = 256 kinds of service type, wherein the most significant bit is a 0 when the package is a low-priority general traffic data (e.g., normal IP data traffic), the most significant bit is a DLP service payload field when the package 1 is high priority 级的实时业务(如电话、实时视频业务),DLP业务处理的优先级从高到低的顺序依次为:控制帧>流量管理帧>实时业务(实时话音、视频或者其它实时业务)>数据业务(IPv4/IPv6),DLP网络处理队列首先处理高优先级的业务,业务类型字段的用法如表1所示,表1.业务类型字段的用法 Descending order of the priority level of real-time services (such as telephony, real-time video services), DLP business processes as follows: a control frame> Traffic management frame> real-time services (real-time voice, video, or other real-time traffic)> data traffic (IPv4 / IPv6), DLP network processing queue is processed first high-priority traffic, the use of the service type field of usage as shown in table 1. table 1 of the service type field

定义拓扑字段长度为4比特,其中二进制值“0001”表示总线结构,二进制值“0010”表示星形结构,二进制值“0011”表示树形拓扑结构,二进制值“0100”表示环形拓扑结构,二进制值“0101”表示网格(Mesh)拓扑结构,其它值保留给将来使用,对于环形拓扑和网格拓扑,本发明提供50毫秒保护倒换功能,定义安全字段长度为4比特,其中二进制值“0000”表示不对上层业务进行任何加密、认证处理,二进制值为“0001”表示对来自上层的业务数据进行加密处理,二进制值“0010”表示对来自上层的业务数据进行认证处理,二进制值“0100”表示对来自上层的业务数据进行加密和认证处理,其它值保留将来使用,定义目的地址码长度为64比特,定义源地址码字段长度为64比特,目的地址码和源地址码采用相同的分级结构,都由国家码(英文为Country Code,CC)、国内地 Topology defined field length of 4 bits, wherein the binary value of "0001" represents a bus structure, a binary value of "0010" represents a star structure, a binary value of "0011" represents a tree topology, a binary value of "0100" represents a ring topology, binary the value "0101" indicates that the grid (the mesh) topology, other values ​​are reserved for future use, and mesh topologies for ring topology, the present invention provides 50 ms protection switching function, define security field length of 4 bits, wherein the binary value "0000 "denotes an upper service not any encryption, authentication processing, the binary value" 0001 "indicates that the traffic data from an upper layer is encrypted, the binary value" 0010 "indicates that the upper layer service data from the authentication processing, the binary value" 0100 " represents the service data from an upper layer encryption and authentication processing, other values ​​are reserved for future use, define the destination address code length of 64 bits define the source address code field length is 64 bits, a destination address code and the source address code uses the same hierarchical structure , by the country code (English is the country code, CC), the domestic 码(英文为National Region Code,NRC)、节点代码(英文为Node Area Code,NAC)和用户代码(英文为User Code,UC)4个字段组成,每个字段长度为16比特,其中国家码表示上层业务的第一级转发标签,国内地区码表示上层业务的第二级转发标签,节点代码表示上层业务的第三级转发标签,用户代码表示上层业务的第四级转发标签,定义扩展报头字段长度为8比特,其中二进制值为“00000000”表示没有扩展报头,其它值保留将来使用,定义填充长度字段长度为8比特,用来以字节形式标识进行填充处理时DLP净荷字段填充的长度,定义帧序列号字段长度为16比特,用来对发送的DLP帧进行序列标记,该字段值从0开始对发送的DLP帧进行序列标记,直到最大值,如果FSN达到最大值,发送处理器清除寄存器的值,并且从0开始重新计数,以保证DLP帧能够按照正确顺序转发发送、接收处 Code (English as National Region Code, NRC), node codes (English as Node Area Code, NAC) and the user code (English as User Code, UC) 4 fields, each field length is 16 bits, which represents the country code the second stage of the first stage of the upper layer service tag forwarding, indicates the upper parts of the country code label forwarding service, service node code represents the upper layer forwarding label third stage, the upper layer service user code represents the fourth stage of the forwarding label, define the extended header field 8 bits in length, wherein the binary value "00000000" indicates that no extended header, other values ​​reserved for future use, define a fill length field 8 bits in length, in bytes to identify when filling the filling process DLP length payload field definition frame sequence number field length is 16 bits, to be transmitted to the DLP frame sequence tag, the field value from 0 starts DLP labeled frame transmission sequence, up to the maximum, if the FSN maximum transmit processor clears the register value, and re-counting from zero, to ensure that the DLP is able to forward frames sent in the correct order at the receiving 理,同时FSN也提供抗重放功能,定义安全参数索引字段长度为16比特,该字段是可选的,其值是任意的,与DLP目的地址码结合使用唯一地标识该DLP帧所属的安全关联(英文为Security Association,SA),其中SPI值为0保留给本地、特定实现使用,十进制的1~255由IANA(IANA为Internet Assigned Numbers Authority的英文缩写)保留给将来使用,其它值由通信双方依据采用的加密认证算法来确定,定义净荷字段长度为0~65535字节,用来封装来自客户层的整个客户信号分组,定义填充数据(该字段是可选的)字段长度为0~255字节,具体值与采用的加密认证算法有关,其值由加密认证算法确定,定义一个认证数据字段(该字段是可选的)来存放认证处理生成的认证数据,认证数据字段值与采用的认证算法有关,其值由具体的认证算法确定(生成),定义帧校验序列(Frame Check Sequence,FCS)字段 Management, while also providing anti-replay function FSN, define a Security Parameter Index field length is 16 bits, the field is optional, and its value is arbitrary, used to uniquely identify the security frame belongs DLP and DLP binding object address code other values ​​associated with (English as Security association, SA), wherein the SPI value is 0 reserved for local use particular implementation, decimal 1 ~ 255 (IANA to the Assigned Numbers Authority abbreviation of the Internet) by the IANA reserved for future use by the communication is determined based on both the encryption and authentication algorithm, the definition of the payload field length of 0 to 65535 bytes, is used to encapsulate the entire client signal from a client layer packet, stuffing data is defined (which is an optional field) field length from 0 to 255 bytes, with the particular value related to the encryption and authentication algorithm, whose value is determined by the encryption and authentication algorithms, authentication define a data field (the field is optional) to store the authentication processing for generating the authentication data, the authentication data field values ​​and using For authentication algorithm, whose value is determined by the particular authentication algorithm (generated), the definition of a frame check sequence (frame check sequence, FCS) field 度为32比特,用来对数据链路层协议帧(DLP帧)中部分报头字段内容以及封装的净荷进行校验,FCS校验范围包括:从DLP帧中业务类型字段的第一比特开始,一直到DLP帧的结尾,具体包括业务类型字段、拓扑字段、安全字段、目的地址码、源地址码、扩展报头、填充长度字段、帧序列号、安全参数索引(如果有)、净荷、填充数据(如果有)、认证数据(如果有)等字段比特流进行校验处理,校验算法采用IEEE 802.3 2002版定义的CRC-32:生成多项式为G(x)=x32+x26+x26+x23+x22+x16+x12+x11+x10+x8+x7+x5+x4+x2+x1+1,这里,x32对应最高有效位(MSB位),而x0对应最低有效位(LSB位),如果DLP帧发生FCS错误,丢弃发生错误的DLP帧,如果某些字段值不能识别,或者出现FCS错误,则认为是无效的数据链路层协议帧,无效帧将被丢弃,不通知发送方,也不产生任何动作,无效帧包括:(1)接收帧发生FC Of 32 bits, used on the part of the header field content a data link layer protocol frame (DLP frame) of the package and a payload checksum, the FCS check include: DLP from the first bit of the service type field in the frame until the end of the DLP frame, including the service type field, the topology field, a security field, a destination address code, source address code, extension headers, padding length field, a frame sequence number, a security parameter index (if any), the payload, padding data (if any), authentication data (if any), and other fields bitstream check process, check algorithm defined by IEEE 802.3 2002 Edition CRC-32: is a generator polynomial G (x) = x32 + x26 + x26 + x23 + x22 + x16 + x12 + x11 + x10 + x8 + x7 + x5 + x4 + x2 + x1 + 1, where, x32 corresponding to the most significant bit (MSB bit), while x0 corresponding to the least significant bit (LSB bits), if DLP the FCS error occurs, the error is discarded DLP frame, if the values ​​of certain fields can not be identified, or FCS errors, is considered to be invalid data link layer protocol frame, an invalid frame is discarded without notification to the sender, and does not produce any action, invalid frame comprising: (a) receiving a frame occurs FC S错误(FCS不匹配)的DLP帧(2)接收帧长度少于30字节的帧(3)业务类型字段不能识别的帧(4)报头其它字段不能识别的帧如果客户层没有信号需要发送,在DLP帧间隙需要进行填充处理,即发送空帧,发送空帧的目的是为了调节两节点间的速率,空帧从一个节点发送到其相邻的最近节点,邻居节点接收到空帧后不把它转发到任何其它地方,直接把它丢弃,也不通知发送方,在帧间隙发送的填充空帧的内容包括帧长度字段、帧长度校验字段、长度为1比特的保留字段(一直设置为0)和源地址码(只包括源地址码中的节点代码和用户代码字段共计4个字节),在发送端,把封装了客户信号的DLP帧封装到物理层净荷如SDH中的同步净荷封装(SPE)或者以太网MAC帧之前必须进行扰码,在接收端对DLP帧的任何处理之前首先进行解扰码,解扰码后才能对DLP帧进行下一步处理,扰码和解 Error S (FCS mismatch) the DLP frame (2) receives the frame length is less than 30 byte frame (3) frame (4) can not identify the service type field in the header fields does not recognize the other client layer frame if no signal is to be transmitted , after the filling process is required in the DLP space frame, i.e., transmitting a null frame, null frame sending object is to adjust the rate between the two nodes empty frames transmitted from a node to its nearest neighbor node, the neighbor node receives the null frame does not forward it to any other place, it is discarded directly, not notify the sender, the content of the transmitted frame is filled in the empty space frame comprising a frame length field, a frame length check field, a length of 1-bit reserved field (up is set to 0) and a source address code (only nodes including source code and user code address code field of a total of four bytes) at the transmitting end, the DLP encapsulated client signal to the physical layer frame is encapsulated as payload in SDH must be packaged prior to isochronous payload (SPE) or Ethernet MAC frame scrambling code, descrambling the received first before any processing of the frame end DLP, DLP frame to the next step of the process after descrambling, scrambling code reconciliation 码采用自同步扰码/解扰码器,其生成多项式为G(X)=X43+1。 Code self-synchronizing scrambling / descrambling codes, a generator polynomial as G (X) = X43 + 1.

按照本发明提供的方法,其特征在于,用一个新型的数据链路层协议——数据链路规程(DLP)来实现以太网与同步数字体系或者同步光网络的融合,一方面可以用这个新型的数据链路层协议来实现在同步数字体系或者同步光网络上传送以太网,另外一方面可以用这个新型的数据链路层协议来实现在以太网上传送SDH/SONET,其中用这个新型的数据链路层协议来实现在同步数字体系或者同步光网络上传送以太网时把以太网(以太网MAC帧)作为这个新型数据链路层协议的客户层处理,具体做法是把以太网MAC帧作为客户层信号封装到DLP帧的净荷字段中,同时根据以太网接口速率设置业务类型字段值,根据端口的地址设置所述的新型数据链路层协议帧的源地址码和目的地址码,根据节点拓扑类型设置所述的新型数据链路层协议帧的拓扑字段值,根据是否对以太网MAC帧 The method provided by the invention, which is characterized in that, with a new data link layer protocol - data link protocol (DLP) to Ethernet integration with synchronous digital hierarchy or synchronous optical network, one can use this new the data link layer protocol to achieve in a synchronous digital hierarchy or synchronous optical transport network Ethernet, on the other hand can use this new data link layer protocol to achieve transport SDH / SONET on Ethernet, wherein the new data with link layer protocol implemented in a synchronous digital hierarchy or synchronous optical client layer processing when transmitting the Ethernet (Ethernet MAC frames) as the new data link layer protocol on the network, which would be the Ethernet MAC frame as client layer signal into the payload field DLP package frame, while the service type field value is set according to the Ethernet interface rate, set the source address code and a destination address code of the new data link layer protocol frame according to the address port, in accordance with topological node type field value provided the new topology data link layer protocol frame, depending on whether the Ethernet MAC frame 进行加密认证处理设置安全字段值,同时对发送的每个所述的新型数据链路层协议帧进行序列标记,然后把所述的新型数据链路层协议帧封装到SDH/SONET净荷域中,在把所述的新型数据链路层协议帧映射到SDH/SONET净荷域之前首先对所述的新型数据链路层协议帧进行扰码处理,在网络中依据所述的新型数据链路层协议帧的目的地址即可实现以太网MAC帧信号的转发和交换,此时物理层为SDH/SONET,客户层为以太网MAC帧,以太网包括IEEE802.3定义的以太网、IEEE 802.3u定义的快速以太网、IEEE 802.3z定义的千兆以太网以及IEEE 802.3ae定义的10G以太网,物理层为现有的以及将来可能开发的全部速率范围的SDH/SONET物理接口,支持从低阶虚容器到高阶虚容器(包括级联)的全部速率范围,可以实现基于各类虚容器、各类同步传递模式的颗粒的电路的直接交换以及光网络光波长的 Provided security for encrypted authentication field value, while the new data link layer protocol for each of the frames transmitted sequence tags, then the new data link layer protocol frame is encapsulated into SDH / SONET payload field first the new data link layer protocol of the scrambled frame prior to the new data link layer protocol frame is mapped to the SDH / SONET payload field, in a network according to the new data link layer protocol destination address of the frame can be realized and switched Ethernet MAC frame forwarding signal, when the physical layer is a SDH / SONET, Ethernet MAC frames to the client layer, including Ethernet Ethernet, IEEE 802.3u IEEE802.3 definition defined fast Ethernet, Gigabit Ethernet defined in IEEE 802.3z and defined by IEEE 802.3ae 10G Ethernet physical layer for existing and future may be developed in all SDH rates range / SONET physical interfaces, supported from the lower-order virtual container into higher order virtual containers (including cascaded) full rate range, a wavelength of light can be realized based on various types of optical networks and direct exchange of virtual containers, various types of synchronous circuit of the particles pass through mode of 接交换,其中各类虚容器及其带宽、净荷参数如表2所示:表2.SDH的各类虚容器及其带宽、净荷参数 Then switching, and wherein virtual containers of various types of bandwidth payload parameters as shown in Table 2: Table 2.SDH types of virtual containers and bandwidth payload parameter

各类同步传递模式的接口速率如表3所示:表3.SDH各类同步传递模式的接口速率 Various types of synchronous transfer mode interface rate as shown in Table 3: Table 3.SDH various types of synchronous transfer mode interface rate

当物理层采用同步光网络(SONET)时,各类虚容器及其带宽、净荷参数如表4所示:表4.SONET的各类虚容器及其带宽、净荷参数 When the physical layer using synchronous optical network (SONET), and various types of virtual containers bandwidth payload parameters shown in Table 4: Table 4.SONET types of virtual containers and bandwidth payload parameter

同步光网络的各类同步传递模式的接口速率如表5所示:表5.同步光网络的各类同步传递模式的接口速率 Various types of synchronous transfer mode interface rate of the synchronous optical network as shown in Table 5: the rate of various types of synchronous Transfer Mode Interface Table 5. Synchronous Optical Network

数据链路层(数据链路规程DLP)为客户层(以太网MAC帧)提供的服务采用不确认式信息传送服务模式,对发送的数据不作任何确认式操作,所述的新型数据链路层协议层为客户层提供的服务通过“数据链路—数据—请求(英文为DL_DATA.request)”、“数据链路—数据—指示(英文为DL_DATA.indication)”、“数据链路—控制—请求(英文为DL_CONTROL.request)”、“数据链路—控制—指示(英文为DL_CONTROL.indication)”等4个原语来实现,物理层为数据链路层(DLP)提供的服务通过两个原语:“物理链路-数据-请求(英文为PL_DATA.request)”、“物理链路-数据-指示(英文为PL_DATA.indication)”来实现,在发送端,当有MAC帧需要发送时,调用DL_DATA.request(数据链路—数据—请求)原语,该原语包括一系列参数,这些参数用来确定所述的新型数据链路层协议帧报头各字段以及净荷字段的值,在接收端 Data link layer (data link protocol DLP) is a client layer (Ethernet MAC frame) does not recognize the service provider using the service-type information transmission mode, data is transmitted without any acknowledgment operation, a new data link layer protocol layer is a client layer services provided by "data link - data - request (English as DL_DATA.request)", "data link - data - indication (English as DL_DATA.indication)", "data link - control - request (English as DL_CONTROL.request) "," data link - control - indication (English as DL_CONTROL.indication) "other four primitives to implement the physical layer of a data link layer service (DLP) provided by the two primitive: "physical link - data - request (English as PL_DATA.request)", "physical link - data - indication (English as PL_DATA.indication)" to achieve, at the transmitting side, the MAC frames to be transmitted when the time primitive value, the primitive includes a set of parameters, these parameters are determined for the new data link layer protocol frame header fields and payload fields, call DL_DATA.request (data link request - - data) at the receiving end ,当所述的新型数据链路层协议客户实体要接收数据时,所述的新型数据链路层协议实体激活DL_DATA.indication原语,该原语指示输入帧的接收状态和输入所述的新型数据链路层协议帧各字段的值,如果客户层需要所述的新型数据链路层协议提供网络控制功能,调用数据链路-控制原语:“数据链路-控制-请求(DL_CONTROL.request)”和“数据链路-控制-指示(DL_CONTROL.indication)”原语,这两个原语包括一系列的操作码和参数,通过这两个原语可提供网络控制功能,如网络拓扑发现、2层保护倒换、配置管理、故障管理、性能管理等,在发送端,当有数据需要从数据链路层发送到物理实体时,所述的新型数据链路层协议实体激活PL_DATA.request原语,在接收端当有数据要从物理实体发送所述的新型数据链路层协议实体时,激活PL_DATA.indication原语,各原语的语义如下:(1)DL_ When the new data link layer protocol entity to receive customer data, the new data link layer protocol entity activated DL_DATA.indication primitive, the primitive indicates the reception state and the input of the new input frame value of each field in the data link layer protocol frame, if the customer requires a new layer of data link layer protocol provides a network control function, the data link call - control primitives: "data link - control - request (DL_CONTROL.request ) "and" data link - control - indication (DL_CONTROL.indication) "primitive, which includes a series of two primitive operation code and parameters, these two primitive may provide network control functions, such as network topology discovery , the protective layer 2 switching, configuration management, fault management, performance management, at the transmitting end, when there is data to be transmitted from the data link layer to the physical entity, the new data link layer protocol entity activated primary PL_DATA.request language, at the receiving end when data is sent from the new physical entity data link layer protocol entity activated PL_DATA.indication primitives, the semantics of each primitive is as follows: (1) DL_ DATA.request (DestinationAddressCode,SourceAddressCode,DLPServiceData,FrameLength,ServiceType,NetworkTopology,Security,FrameSequenceNumber,SPI)DL_DATA.request原语含有9个参数,各参数的含义分别为:DestinationAddressCode表示目的地址码,用来生成发送所述的新型数据链路层协议帧报头中的目的地址码字段值,SourceAddressCode表示源地址码,用来生成发送所述的新型数据链路层协议帧报头中的源地址码字段值,DLPServiceData表示要发送的客户信号即整个MAC帧,用来生成发送所述的新型数据链路层协议帧中净荷字段值,FrameLength参数确定要发送的所述的新型数据链路层协议帧的总长度,ServiceType参数指示所述的新型数据链路层协议客户层发送的业务类型,它用来生成发送所述的新型数据链路层协议帧报头中业务类型字段值,Security参数指示是否对所述的新型数据链路层协议客户信号进行 DATA.request (DestinationAddressCode, SourceAddressCode, DLPServiceData, FrameLength, ServiceType, NetworkTopology, Security, FrameSequenceNumber, SPI) DL_DATA.request primitive contains nine parameters, meaning of each parameter were: DestinationAddressCode indicates the destination address code, to generate the transmission new data link layer protocol described later, a destination address code field value of the frame header, SourceAddressCode represents a source address code for transmitting said generated new data link layer protocol source address code field value header frame header, DLPServiceData said to payload field value of the frame signal transmitted from the client i.e. the entire MAC frame, for transmitting said generated new data link layer protocol, frameLength parameter to be sent determine the total length of the new data link layer protocol frame, the ServiceType the service type parameter indicates new data link layer protocol level transmitted from the client, sending it to generate the new data link layer protocol frame header of the service type field value, Security parameter indicates whether the new data link layer protocol client signal 密、认证处理,所述的新型数据链路层协议实体用它来确定发送所述的新型数据链路层协议帧报头中的安全字段值,FrameSequenceNumber参数指示要发送帧的帧序列号(FSN),所述的新型数据链路层协议实体用它来确定发送所述的新型数据链路层协议帧报头中的FSN字段值,NetworkTopology参数指示网络节点的网络拓扑,所述的新型数据链路层协议实体用它来确定所述的新型数据链路层协议帧报头中拓扑字段值,SPI(SPI为安全参数索引的英文缩写)参数是一个可选项,用来确定如果对以太网MAC帧进行加密、认证处理时在通信两端建立的安全关联,用来确定所述的新型数据链路层协议帧中的安全参数索引(SPI)字段值,(2)DL_DATA.indication(DestinationAddressCode,SourceAddressCode,DLPServiceData,ServiceType,FrameLength, Secret, the authentication process, the new data link layer protocol entity safety field value that determines the transmission of the new data link layer protocol frame header, FrameSequenceNumber parameter indicates the frame sequence number of a frame to be transmitted (the FSN) the new data link layer protocol entity to use it to determine the network topology FSN field value of the new transmit data link layer protocol frame header, NetworkTopology parameter indicating the network node, the new data link layer header field value topology protocol entity using it to determine said new data link layer protocol frame header, SPI (abbreviation SPI security parameter index) is an optional parameter, is used to determine if the Ethernet MAC frame to encrypt , the authentication security association established communication process ends, to determine the security parameter index (SPI) the new data link layer protocol frame field value, (2) DL_DATA.indication (DestinationAddressCode, SourceAddressCode, DLPServiceData, ServiceType, frameLength,

ReceptionStatus,NetworkTopology,Security,FrameSequenceNumber,SPI)DL_DATDA.indication原语参数的语义如下:DestinationAddressCode确定所述的新型数据链路层协议帧的目的地址码,该参数确定输入所述的新型数据链路层协议帧报头中的目的地址码字段值,SourceAddressCode确定所述的新型数据链路层协议帧的源地址码,该参数确定输入所述的新型数据链路层协议帧报头中的源地址码字段值,DLPServiceData确定输入所述的新型数据链路层协议帧净荷字段值,ReceptionStatus指示输入帧的接收状态,如果输入帧的FCS(帧校验序列)字段没有发生错误,ReceptionStatus的值为FCS_ERROR_FREE,否则,如果输入帧发生错误,则ReceptionStatus值为FCS_ERROR,ServiceType参数指示输入所述的新型数据链路层协议帧的业务类型字段值,FrameLength参数确定输入所述的新型数据链路层协议帧的总长度,Security参数指示输 Semantic ReceptionStatus, NetworkTopology, Security, FrameSequenceNumber, SPI) DL_DATDA.indication primitive parameters is as follows: the purpose of determining the address code DestinationAddressCode new data link layer protocol frame, determines the parameter input new data link layer protocol according to destination address field value of the code frame header packet, SourceAddressCode determined according to the new data link layer protocol frame source address code, the input parameter determines the new data link layer protocol source address code field value header frame header, the novel DLPServiceData determining an input data link layer protocol frame payload field value, ReceptionStatus indicating the reception state of the input frame, if the input frame FCS (frame check sequence) field error has not occurred, ReceptionStatus value FCS_ERROR_FREE, otherwise, If the input frame error occurs, the value ReceptionStatus FCS_ERROR, ServiceType parameter indicative of the service type field value of the input of the new data link layer protocol frame, determining a total length of the input parameters frameLength the new data link layer protocol frame, Security parameter indicates transmission 所述的新型数据链路层协议帧是否进行了加密、认证处理,它指示输入所述的新型数据链路层协议帧的Security字段值,FrameSequenceNumber参数指示所述的输入帧的帧序列号(FSN),NetworkTopology参数指示输入所述的新型数据链路层协议帧中拓扑字段值,SPI参数用来指示所述输入帧的安全参数索引字段值,(3)数据链路-控制-请求(DL_CONTROL.request)原语数据链路-控制-请求(DL_CONTROL.request)原语的格式为:DL_CONTROL.request(操作码,请求操作数列表),其中操作码包括拓扑发现请求(英文为TOPOLOGY_DISCOVERY_REQ)、2层保护倒换请求(英文为L2PS_REQ)、配置请求(英文为CONFIGURATION_REQ)、故障查询请求(英文为FAULT_INQUIRY_REQ)、性能查询请求(英文为PERFORMANCE_INQUIRY_REQ)等,各操作码的具体操作数列表如下:拓扑发现请求(TOPOLOGY_DISCOVERY_REQ)操作码的请求操作数包括目的地址码、源地址码、业务类 The new data link layer protocol frame is encrypted, the authentication processing, it indicates new data link layer protocol frame of said input Security field value, a frame sequence number (FSN FrameSequenceNumber parameter indicative of said input frame ), NetworkTopology input parameter indicating the new topology data field values, SPI parameter to indicate link layer protocol frame of said frame input security parameter index field values, (3) data link - control - request (DL_CONTROL. request) primitive data link - control - request (DL_CONTROL.request) primitive format: DL_CONTROL.request (opcode, operand requests list), wherein the opcode includes topology discovery request (English as TOPOLOGY_DISCOVERY_REQ), 2 layers protection switching request (English as L2PS_REQ), configuration request (English as CONFIGURATION_REQ), failure query request (English as FAULT_INQUIRY_REQ), performance query request (English as PERFORMANCE_INQUIRY_REQ), and specific operand list each operation code as follows: the topology discovery request ( TOPOLOGY_DISCOVERY_REQ) opcode operand request includes a destination address code, address code source, traffic class 、帧序列号、拓扑发现请求帧净荷数据等5个,2层保护倒换请求(L2PS_REQ)操作码的请求操作数包括目的地址码、源地址码、业务类型、帧序列号、2层保护倒换请求帧净荷数据等5个,配置请求(CONFIGURATION_REQ)操作码的请求操作数包括目的地址码、源地址码、业务类型、帧序列号、配置请求帧净荷数据等5个,故障查询请求(FAULT_INQUIRY_REQ)操作码的请求操作数包括目的地址码、源地址码、业务类型、帧序列号、故障查询请求帧净荷数据等5个,性能查询请求(PERFORMANCE_INQUIRY_REQ)操作码的请求操作数包括目的地址码、源地址码、业务类型、帧序列号、性能查询请求帧净荷数据等5个,各操作数中的目的地址码、源地址码、业务类型、帧序列号等参数的含义与数据链路-数据-请求原语对应的参数含义一样,(4)数据链路-控制-指示(DL_CONTROL.indication)数据链路-控制-指示( , 5 operation requests, layer 2 frame sequence number protection switching request, topology discovery request frame payload data (L2PS_REQ) opcode includes a destination address code, address code source, service type, frame sequence number, a two-layer protection switching request frame payload data 5, the configuration request (CONFIGURATION_REQ) requests opcodes including 5, troubleshooting request destination address code, address code source, service type, frame sequence number, configuration request frame payload data and the like ( 5, operation requests performance query request (PERFORMANCE_INQUIRY_REQ) request opcode operand FAULT_INQUIRY_REQ) opcode includes a destination address code, address code source, service type, frame sequence number, failure query request frame payload data includes a destination address parameter code, source address code, business type, a frame sequence number, capability inquiry request frame payload data 5, the destination address of each operand code, address code source, service type, like the meaning frame sequence number data link Road - data - Definition request primitive corresponding to the same, (4) data link - control - indication (DL_CONTROL.indication) data link - control - indication ( DL_CONTROL.indication)原语的格式为DL_CONTROL.indication(操作码,指示操作数列表),其中操作码包括拓扑发现响应指示(英文为TOPOLOGY_DISCOVERY_RESPONSE_IND)、2层保护倒换响应指示(英文为L2PS_RESPONSE_IND)、配置响应指示(英文为CONFIGURATION_RESPONSE_IND)、故障查询响应指示(英文为FAULT_INQUIRY_RESPONSE_IND)、性能查询响应指示(英文为PERFORMANCe_INQUIRY_RESPONSE_IND)等,各操作码的具体操作数列表如下:拓扑发现响应指示(TOPOLOGY_DISCOVERY_RESPONSE_IND)操作码的指示操作数包括目的地址码、源地址码、业务类型、帧序列号、拓扑发现响应帧净荷数据等5个,2层保护倒换响应指示(L2PS_RESPONSE_IND)操作码的指示操作数包括目的地址码、源地址码、业务类型、帧序列号、2层保护倒换响应帧净荷数据等5个,配置响应指示(CONFIGURATION_RESPONSE_IND)操作码的指示操作数包括目的地址码、源地址码、业务类型 Format DL_CONTROL.indication) primitive is DL_CONTROL.indication (opcode, operand indicating the list), wherein the topology discovery response opcode includes an indication (English as TOPOLOGY_DISCOVERY_RESPONSE_IND), 2 layer protection switching in response to an indication (English as L2PS_RESPONSE_IND), configuration response indicating (English as CONFIGURATION_RESPONSE_IND), failure query response indication (English as FAULT_INQUIRY_RESPONSE_IND), the performance of the query response indicator (English as PERFORMANCe_INQUIRY_RESPONSE_IND), and specific operand list each operation code as follows: topology discovery in response to the operation code indicates (TOPOLOGY_DISCOVERY_RESPONSE_IND) instruction operation Objective number address code, address code source includes a destination address, a source address code, business type, a frame sequence number, the topology discovery response frame payload data 5, in response to a two-layer protection switching indication (L2PS_RESPONSE_IND) indicates the number of opcodes includes code, business type, a frame sequence number, layer 2 frame payload protection switching in response to data 5, the configuration response indication (CONFIGURATION_RESPONSE_IND) indicates the number of opcodes includes a destination address code, address code source, service type 帧序列号、配置响应帧净荷数据等5个,故障查询响应指示(FAULT_INQUIRY_RESPONSE_IND)操作码的指示操作数包括目的地址码、源地址码、业务类型、帧序列号、故障查询响应帧净荷数据等5个,性能查询响应指示(PERFORMANCE_INQUIRY_RESPONSE_IND)操作码的指示操作数包括目的地址码、源地址码、业务类型、帧序列号、性能查询响应帧净荷数据等5个,各操作数中的目的地址码、源地址码、业务类型、帧序列号等参数的含义与数据链路-数据-指示原语对应的参数含义一样, Frame sequence number, configuration response frame payload data 5, in response to the query failure indication (FAULT_INQUIRY_RESPONSE_IND) indicates the number of opcodes includes a destination address code, address code source, service type, frame sequence number, payload data frame in response to the query failure 5 etc., query response indicating performance (PERFORMANCE_INQUIRY_RESPONSE_IND) indicates the number of opcodes includes a destination address code, address code source, service type, frame sequence number, the performance of the query response frame payload data 5, the purpose of each of the operands parameter address code, address code source, service type, frame sequence number and the data link and other means - data - Definition indicated as corresponding primitive,

(5)物理链路-数据请求(PL_DATA.request)PL_DATA.request(Userdata),该原语只有一个参数,该参数为用户数据,英文为Userdata,(6)物理链路-数据指示(PL_DATA.indication)PL_DATA.indication(Userdata),该原语只有一个参数,该参数为用户数据,英文为Userdata。 (5) physical link - data requests (PL_DATA.request) PL_DATA.request (Userdata), the primitive only one parameter, the parameter is user data, English as Userdata, (6) the physical link - data indicates (PL_DATA. indication) PL_DATA.indication (Userdata), the primitive only one parameter, the parameter is user data, English as Userdata.

按照本发明提供的方法,其特征在于,用所述的新型的数据链路层协议——数据链路规程(DLP)来实现以太网与同步数字体系或者同步光网络的融合,一方面可以用这个新型的数据链路层协议来实现在同步数字体系或者同步光网络上传送以太网,另外一方面可以用这个新型的数据链路层协议来实现在以太网上传送SDH/SONET,其中用这个新型的数据链路层协议来实现在以太网上传送同步数字体系或者同步光网络时把同步数字体系或者同步光网络作为这个新型的数据链路层协议的客户层处理,首先通过电路仿真把SDH/SONET信号分组化,周期性的输出一定长度的分组化SDH/SONET信号,然后把分组化的SDH/SONET电路仿真信号作为客户层信号封装到所述的新型数据链路层协议帧的净荷字段中,同时根据SDH/SONET接口速率设置业务类型字段值,根据端口的地址设置所述的新 The method provided by the invention, which is characterized in that, with the new data link layer protocol - data link protocol (DLP) to Ethernet integration with synchronous digital hierarchy or synchronous optical network, on the one hand can be used this new data link layer protocol to achieve in a synchronous digital hierarchy or synchronous optical network transmission of Ethernet, on the other hand can use this new data link layer protocol to achieve transport SDH / SONET on Ethernet, wherein the novel use the data link layer protocol to achieve synchronous digital hierarchy transmission on Ethernet or synchronous optical Networking when the synchronous digital hierarchy or synchronous optical network as the client layer processing new data link layer protocol, first by the circuit simulation SDH / SONET packetized signal, periodic output packet of a length of SDH / SONET signal, and then the packetized SDH / SONET signal as a circuit emulation client layer signal into the payload field of encapsulating new data link layer protocol frame while the service type field value is set according to the SDH / SONET interface rate, provided the address of the new port 数据链路层协议帧的源地址码和目的地址码,根据节点拓扑类型设置所述的新型数据链路层协议帧拓扑字段值,根据是否对SDH/SONET电路仿真信号进行加密认证处理设置安全字段值,同时对发送的每个所述的新型数据链路层协议帧进行序列标记,然后把所述的新型数据链路层协议帧封装到以太网MAC帧净荷域中,在把所述的新型数据链路层协议帧映射到以太网MAC帧净荷域之前首先对所述的新型数据链路层协议帧进行扰码处理,随后再按照以太网的通常做法把以太网MAC帧封装到各种速率的全双工的以太网物理接口链路上,在网络中依据所述的新型数据链路层协议帧的目的地址实现SDH/SONET信号的转发和交换,在接收端按照发送端的相反顺序处理提取分组化的SDH/SONET电路仿真信号,依据帧序列号重组为完整的SDH/SONET信号,此时物理层为IEEE 802.3定义的全部各 Destination address source address code and the code data link layer protocol frame, provided the new topology data link layer protocol frame field value according to the type of node topology, according to whether or not the SDH / SONET signal circuit simulation settings for encrypted authentication security field value, while the new data link layer protocol for each of the frames transmitted sequence tags, then the new data link layer protocol frame is encapsulated into an Ethernet MAC frame payload field, in the said new data link layer protocol frame is mapped to the first pair of link layer protocol of the new data frame is scrambled payload field prior to the Ethernet MAC frame, followed by the usual practice of the Ethernet frame is encapsulated into the respective Ethernet MAC full duplex Ethernet physical interface link rate species, implemented in the network and the forwarding switching SDH / SONET signal based on the destination address of the new data link layer protocol frame, the receiving side in accordance with the reverse order of the transmitting end processing the extracted packets of the SDH / SONET signal circuit simulation, based on the frame sequence number of the recombinant full SDH / SONET signal, when the physical layer is defined by all of the respective IEEE 802.3 速率的全双工以太网物理接口,具体的包括IEEE 802.3定义的以太网、IEEE 802.3u定义的快速以太网、IEEE 802.3z定义的千兆以太网、IEEE 802.3ae定义的10G以太网,数据链路层为数据链路规程(DLP)和以太网MAC子层,其中数据链路规程(DLP)位于以太网MAC子层之上,SDH/SONET电路仿真信号作为DLP的客户层处理,SDH/SONET信号的输出周期以及分组长度的与SDH/SONET接口速率有关,表6所示为不同速率SDH/SONET电路仿真信号的分组长度分类,此时应尽量要求以太网接口的总速率大于SDH/SONET接口速率,表6.SDH/SONET信号分组的长度 Rate full duplex Ethernet physical interface, including IEEE 802.3 defined specific Ethernet, Fast Ethernet defined in IEEE 802.3u, defined by IEEE 802.3z Gigabit Ethernet, IEEE 802.3ae defined 10G Ethernet data link road data link layer protocol (DLP), and Ethernet MAC sublayer, wherein the data link protocol (DLP) Ethernet MAC sublayer located above, SDH / SONET signal as a circuit emulation client layer processing of DLP, SDH / SONET periodic output signal and the packet length and the SDH / SONET interface rate related, as shown in table 6 SDH / SONET packet length classification circuit simulation signal is different rates, this time should be required is greater than the total rate of the Ethernet interface SDH / SONET interfaces length rate table 6.SDH / SONET signal packet

数据链路层(数据链路规程DLP)为客户层(SDH/SONET电路仿真信号层)提供的服务采用不确认式信息传送服务模式,对发送的数据不作任何确认式操作,所述的新型数据链路层协议层为客户层提供的服务通过“数据链路—数据—请求(英文为DL_DATA.request)”、“数据链路—数据—指示(英文为DL_DATA.indication)”、“数据链路—控制—请求(英文为DL_CONTROL.request)”、“数据链路—控制—指示(英文为DL_CONTROL.indication)”等4个原语来实现,在发送端,当有SDH/SONET电路仿真信号分组需要发送时,调用DL_DATA.request(数据链路-数据-请求)原语,该原语包括一系列参数,这些参数用来确定所述的新型数据链路层协议帧报头各字段以及净荷字段的值,在接收端,当所述的新型数据链路层协议客户实体要接收数据时,所述的新型数据链路层协议实体激活DL_DATA.indication原语,该原语指 Data link layer (data link protocol DLP) is a client layer (SDH / SONET signal circuit emulation layer) does not recognize the service provider using the service-type information transmission mode, data is transmitted without any acknowledgment type operation, the new data service layer is a link layer protocol provided by the client layer "data link - data - request (English as DL_DATA.request)", "data link - data - indication (English as DL_DATA.indication)", "data link - control - request (English as DL_CONTROL.request) "," data link - control - indication (English as DL_CONTROL.indication) "other four primitives to implement, at the transmitting side, when there are SDH / SONET signal packet circuit simulation needs to be sent, call DL_DATA.request (link data - data - request) primitive, the primitive includes a set of parameters, these parameters are determined for the new data link layer protocol frame header fields and payload field value at the receiving end, when the new data link layer protocol entity to receive customer data, the new data link layer protocol entity activated DL_DATA.indication primitive, the primitive means 输入帧的接收状态和输入所述的新型数据链路层协议帧各字段的值,如果客户层需要所述的新型数据链路层协议提供网络控制功能,调用数据链路-控制原语:“数据链路-控制-请求(DL_CONTROL.request)”和“数据链路-控制-指示(DL_CONTROL.indication)”原语,这两个原语包括一系列的操作码和参数,通过这两个原语可提供网络控制功能,如网络拓扑发现、2层保护倒换、配置管理、故障管理、性能管理等,各原语的语义和与上面描述的一样,以太网MAC子层为所述的新型数据链路层协议层提供的服务通过IEEE 802.3标准(2002版本)定义的原语MA_DATA.request(MAC数据请求)和MA_DATA.indication(MAC数据指示)原语来实现,这两个原语的语义和操作由IEEE 802.3标准确定。 The value of each field of the input frame link layer protocol frame reception state and the input of the new data, if the client layer needs new data link layer protocol provides a network control function, the data link call - control primitives: " data link - control - request (DL_CONTROL.request) "and" data link - control - indication (DL_CONTROL.indication) "primitive, which includes a series of two primitive operation code and parameters through the two original language can provide network control functions, such as network topology discovery, the protective layer 2 switching, configuration management, fault management, performance management, as each of the primitives and semantics as described above, the new Ethernet MAC sublayer of the data primitive MA_DATA.request (MAC data request) layer provides services link layer protocol defined by the IEEE 802.3 standard (2002 version) and MA_DATA.indication (MAC data indication) primitives to implement, the semantics of these primitives and two It is determined by the operation of the IEEE 802.3 standard.

按照本发明提供的方法,其特征在于,所述的新型数据链路层协议(数据链路规程,DLP)帧报头中包括一个目的地址码(英文为DestinationAddressCode,DAC)和源地址码(英文为Source Address Code,SAC),对于IP业务,所述的新型数据链路层协议帧的目的地址码和源地址码分别表示IP包报头中的目的IP地址和源IP地址的转发等价类,对于分组话音业务目的地址码和源地址码分别表示通话双方的电话号码,对于以太网与SDH/SONET的融合的网络,目的地址码和源地址码分别表示以太网与同步数字体系或者同步光网络融合的信号发送端和接收端的地址,用二层的数据链路层地址来实现客户信号(以太网MAC帧或者SDH/SONET电路仿真信号)的二层转发和交换,目的地址码和源地址码采用相同的分级结构,一个完整的目的地址码和源地址码都由国家码(英文为Country Code,CC)、国内地区码(英 The method provided by the invention, wherein the new data link layer protocol (data link protocol, DLP) comprises a frame header a destination address code (English as DestinationAddressCode, DAC) and a source address code (English as source address code, SAC), to IP traffic, the destination address and the source code of the address code of the new data link layer protocol frame forwarding equivalence class are represented by the destination IP address in the IP packet header source IP address and, for voice traffic packet destination address and a source address code symbols respectively represent the telephone number of the call parties, for fusion Ethernet SDH / SONET network of the destination address and a source address code symbols respectively represent Ethernet synchronous digital hierarchy or synchronous optical network fusion the signal transmitting end and receiving end address, data link layer address of the second floor to achieve the client signal (Ethernet MAC frame or the SDH / SONET signal circuit simulation) and layer 2 forwarding exchange, the destination address and the source code using the address code the same hierarchy, a full destination address of the source code and address code by the country code (English is the country code, CC), the country area code (Britain 为NationalRegion Code,NRC)、节点代码(英文为NodeAreaCode,NAC)和用户代码(英文为User Code,UC)四个部分组成,本发明定义目的地址码和源地址码字段长度都是64比特(8个八位位组),其中国家码字段长度为16比特(2个八位位组),用来标识某一个国家或者特定地理区域的某种业务代码,CC为所述的新型数据链路层协议帧的第一级转发标签,一个国家或者地理区域可以有一个或者多个业务代码,如话音业务代码、视频业务代码、IP业务代码(IPv4业务代码或者IPv6业务代码),相关业务的具体国家码值由有关的国际标准机构如ITU指定,国内地区码字段长度为16比特,指示某一国家内某个地区的业务代码,NRC为所述的新型数据链路层协议帧的第二级转发标签,具体的NRC值由该国的通信最高管理机构分配,节点代码字段为16比特,标识某个网络节点的业务代码,该码为所述的 Is NationalRegion Code, NRC), node codes (English as NodeAreaCode, NAC) and the user code (English as User Code, UC) four parts, define the destination address and source address code length code field of the present invention are 64-bit (8 octets), wherein the country code field length is 16 bits (2 octets), service code used to identify a certain country or a particular geographical area, the CC of the new data link layer the first stage of the protocol frame forwarding label, a country or geographic area may have one or more service code, service code, such as voice, video service code, service code the IP (IPv4 or IPv6 service code service code), country-specific business-related code value is specified by relevant international standards bodies such as the ITU, the domestic area code field length is 16 bits, indicating the service code of a region within a country, -NRC frame is a new data link layer protocol of the second stage forwarding tag, the specific value is assigned by the NRC highest communication authority of the country, the node 16-bit code field, a service code identifying the network node, according to the code 新型数据链路层协议帧的第三级转发标签,具体值由网络运营商或者网络服务供应商指定,用户代码字段长度为16比特,表示某个用户的业务代码,该码为所述的新型数据链路层协议帧的第四级转发标签,具体的UC值由网络运营商或者网络服务供应商指定,在采用所述的新型数据链路层协议实现以太网与同步数字体系或者同步光网络的融合时,把以太网MAC帧或者SDH/SONET电路仿真信号封装到所述的新型数据链路层协议帧中,根据网络融合的需要设置目的地址码和源地址码,随后以太网MAC帧或者SDH/SONET电路仿真信号在物理传送网络的处理完全依据所述的新型数据链路层协议帧的目的地址码和源地址码,为了降低报头开销,可以通过在所述的新型数据链路层协议帧报头中的业务类型字段设置的业务类型,用所述的新型数据链路层协议实现以太网与SDH/SONET融 New third level data link layer protocol frame forwarding label, the specific value is specified by the network operator or network service provider, the user code field length of 16 bits indicating a user's service code, the code of the novel the fourth-level data link layer protocol frame forwarding label, UC value is specified by the specific network operator or network service provider, Ethernet and synchronous digital hierarchy or synchronous optical network using the new data link layer protocol according to when fused, the Ethernet MAC frame or the SDH / SONET signal circuit simulation package according to the new data link layer protocol frame, a destination address and a source address code symbols needed for network convergence, or Ethernet MAC frames and then SDH / SONET circuit simulation signal processing of the physical object address code transmission network solely on the basis of the new data link layer protocol frame and the source address code, in order to reduce header overhead, can be prepared by the novel data link layer protocol service type frame header of the service type field is set with the new data link layer protocol and the Ethernet into SDH / SONET 合的网络中所述的新型数据链路层协议帧的目的地址码和源地址码可以只包括国内地区码、节点代码和用户代码三个字段或者只包括节点代码和用户代码两个字段,随后以太网MAC帧或者SDH/SONET电路仿真信号在网络中的传送处理可以类似转发IP包一样的处理,网络转发所述的新型数据链路层协议帧时,首先查找所述的新型数据链路层协议帧中的业务类型字段,通过具体的业务类型确定业务的优先级,然后是查找所述的新型数据链路层协议帧中的目的地址码中的国家码、其次是国内地区码、再次是节点代码、最后是用户代码,一旦发现所述的新型数据链路层协议帧的某一项代码与本地节点的不同,网络节点不再对所述的新型数据链路层协议帧中DAC后面字段进行处理,直接转发到下一个节点,所述的新型数据链路层协议帧转发的原则是采用最长匹配原则 Destination address and the source code of the network address code of the engagement of the new data link layer protocol frame may include only the parts of the country code, the node code and user code only comprises three fields or node code and user code two fields, then Ethernet MAC frame or the SDH / SONET transmission signal processing circuit simulation in a network may forward the IP packet is similar to the same processing, when the new data link layer protocol frame is forwarded to the network, the first search for the new data link layer service protocol frame type field, determined by the particular service type priority service, then the country code object is to find a new address code of the data link layer in the protocol frame, followed by the home area code is again Code node, and finally the user code, if it is found in a field behind a DAC code of the local node novel data link layer protocol frame is different, the network node is not the new frames according to data link layer protocol processed directly forwarded to the next node, the new principle of data link layer protocol frame forwarding is the longest match principle 所述的根据目的地址码决定路由可以是利用IP路由协议如最短路径优先协议(英文为Open Shortest Path First,OSPF)或者边界网关协议(英文为Border Gateway Protocol,BGP)产生的动态路由表,也可以是利用所述的新型数据链路层协议提供的流量工程来显式配置路由。 The decision may be routed according to the destination address code using IP routing protocols such as Shortest Path First (English as Open Shortest Path First, OSPF) or Border Gateway Protocol (English as Border Gateway Protocol, BGP) generated by the dynamic routing table, and may be a traffic engineering using said new data link layer protocol to provide an explicit routing configuration.

按照本发明提供的方法,其特征在于,所述的新型数据链路层协议包括一套安全机制来保证上层业务(以太网MAC帧或者SDH/SONET电路仿真信号)在网络传送过程中的安全,具体方法是通过对上层业务进行加密和认证处理来实现上层信号的安全传送,如果需要对以太网MAC帧或者SDH/SONET电路仿真信号进行加密认证处理,通过在通信的两端经过一系列的协商,确定采用的加密算法、认证算法、设置或者交换初始化密码等,协商加密认证算法以及交换初始化密码等操作可以采用RFC2408定义的因特网安全关联和密钥管理协议(英文缩写为ISAKMP)以及RFC2409定义的因特网密钥交换协议(英文缩写为IKE)来实现,然后在通信的两端建立两个安全关联(英文为Security Association,SA),并且依据目的IP地址、采用的算法等确定一个安全参数索引(英文缩写为SPI),把该索引值添加到所述的 The method provided by the invention, wherein the new data link layer protocol includes a set of security mechanisms to ensure the upper layer service (or Ethernet MAC frame SDH / SONET signal circuit simulation) security network transmission process, the specific method is to achieve secure delivery of upper layer signal by the upper layer service encryption and authentication processing, if necessary Ethernet MAC frame or the SDH / SONET signal circuit simulation encrypted authentication process, by passing through a series of negotiation on both ends of the communication , the encryption algorithm used to determine the authentication algorithm, or set the exchange initialization passwords, encryption and authentication algorithms, and negotiate exchange and other operations can be used to initialize the password defined in RFC2408 Internet security association and key management protocol (abbreviation for the ISAKMP) and RFC2409 defined Internet key exchange (abbreviation of IKE) is achieved, and then two security associations established at both ends of the communication (English as security association, SA), and based on the destination IP address, the algorithm is determined using a security parameter index ( English abbreviation SPI), the index value is added to the 型数据链路层协议帧报头中的安全参数索引字段中,SPI用来标识对IP包进行加密、认证处理时的安全关联,安全参数索引与目的地址码一道唯一地标识安全关联所采用的加密认证算法,同时把有关的参数如目的地址码、采用的加密算法、认证算法、初始化密码、安全参数索引等添加到安全关联数据库内,安全关联数据库记录了与安全有关的各种数据,本发明定义SPI字段长度为32比特,其中十进制值“0”用于节点本地、特定实现使用,十进制值1~255由IANA保留给将来使用,其它值用于标识安全关联,由于加密、认证算法的不同需要进行一些数据填充处理,填充的数据位于净荷字段之后,并把填充的长度值添加到填充长度字段值中,认证处理生成的认证数据位于填充数据字段之后,帧校验字段之前,利用DLP帧报头中的帧序列号值提供抗重播功能,进行 Type data link layer protocol frame header field security parameter index, SPI is used to identify the IP packet to be encrypted, encryption security during authentication process associated security parameter index the security association with the destination address code, a uniquely identifies employed authentication algorithm, while the relevant parameters such as the destination address code, the encryption algorithm, authentication algorithm, initialization code, and other security parameter index added to the security association database, the security association database record the various data related to security, the present invention SPI defined field length is 32 bits, wherein the different decimal value "0" for the local node, the particular implementation used, the decimal value from 1 to 255 for use by the IANA reserved for future, other values ​​used to identify the security association, since the encryption, authentication algorithm after padding process needs some data, located after a payload field, and padding is added to the filling length value in length field populated data, authentication processing for generating authentication data located fill the data field, a frame check field before using DLP frame sequence number value of the frame header provides anti-replay function, for 密处理时,加密的范围包括来自客户层的整个客户信号分组、填充数据等字段内容,进行认证处理时认证的范围包括填充长度字段、帧序列号字段、安全参数索引字段、净荷数据、填充数据等字段内容。 When the encrypting process, the encrypted content field comprises the entire range of client signal from a client layer packet, fill data, data authentication processing of the authentication ranges include stuffing length field, a frame sequence number field, a Security Parameter Index field, a payload, filled data field contents.

按照本发明提供的方法,其特征在于,所述的新型数据链路层协议包括一套完善的网络控制管理机制来实现以太网与SDH/SONET融合的网络的包括拓扑发现、2层保护倒换、链路状态指示、故障管理、性能管理、配置管理等在内的控制管理,所述的网络控制管理通过控制帧来实现,本发明定义当所述的新型数据链路层协议帧的业务类型字段的二进制值为“10000001”时表示所述的新型数据链路层协议帧(DLP帧)净荷字段封装携带的内容为网络控制管理信息,相应的数据链路层协议帧为控制帧,所述的新型数据链路层协议控制帧实现拓扑发现、链路状态指示、故障管理、性能管理、配置管理等网络控制和管理功能,对于环形和网格拓扑,所述的新型数据链路层协议控制帧还提供一种实现50毫秒保护倒换功能的机制,控制帧采用TLV(Type-Length-Value,类型-长度-值)结构 The method provided by the invention, wherein the new data link layer protocol comprises a comprehensive network control and management mechanism to implement Ethernet Network SDH / SONET topology discovery fusion include, a two-layer protection switching, link status indication, fault management, performance management, configuration management, including control and management, control and management of the network is achieved by controlling the frame, the service type field defines when the present invention is novel data link layer protocol frame binary representation of the value is "10000001" of the new data link layer protocol frame (DLP frame) payload field carries the package content for network control and management information, the corresponding data link layer protocol frame is a control frame, the the new data link layer protocol control frame to realize topology discovery, link status indication, fault management, performance management, configuration management, network control and management functions for the ring and mesh topologies, a new data link layer protocol control frame 50 also provides a mechanism for implementing the functions ms protection switching, the control frame using the TLV (type-length-value, type - length - value) structure ,类型字段长度为8比特,用来标识控制帧的类型,长度字段长度为8比特,用来以字节形式表示TLV结构中值(Value)字段的长度,值(Value)字段包含控制帧的有关参数等具体内容,本发明定义控制帧中TLV结构中类型字段的用法如表7所示,其中,类型字段值为二进制的“00010001”时表示控制帧携带的是OSPF(OSPF为最短路径优先协议的英文缩写)路由协议信息,类型字段二进制值为“00010010”表示控制帧携带的是BGP(BGP为边界网关协议的英文缩写)路由协议信息,类型字段二进制值为“00010011”表示控制帧携带的是7号信令系统(英文缩写为SS7)信息,类型字段二进制值为“00010100”表示控制帧携带的是H.323信令信息,类型字段二进制值为“00010101”表示控制帧携带的是会话初始化协议(英文缩写为SIP)信令信息,类型字段二进制值为“00010110”表示控制帧携带的是介质网关 , 8-bit length type field is used to identify the type of control frame, a length field length is 8 bits TLV structure used to represent a length value (Value) field in bytes, the value (Value) control frame field contains For details of the parameters defined in the present invention is a control frame structure in TLV type field, such as the use of which, when the type field value is binary "00010001" shown in table 7 represents the control frame carries the OSPF (OSPF shortest path first abbreviation protocol) routing protocol information, type field binary value "00010010" indicates that the control frame carries the BGP (BGP is the abbreviation border gateway protocol) routing protocol information, type field binary value "00010011" denotes a control frame carries signaling system No. 7 is (the English abbreviation for SS7) message type field binary value "00010100" indicates the H.323 control frame carries signaling information type field binary value "00010101" indicates that the control frame carries the session Initiation protocol (abbreviation of SIP) signaling message type field binary value "00010110" indicates that the control frame carries the media gateway 制协议(英文缩写为MGCP)信令信息,类型字段为二进制的“11111111”时表示控制帧为厂商自定义的管理控制帧,厂商自定义的管理功能包括设备制造商为自己制造的有关设备添加的网络管理控制功能以及运营商自定义的网络管理控制功能,其管理数据内容由厂商自定义,但需采用TLV结构,所述的新型数据链路层协议控制帧的帧序列号值用来标识控制帧发送的先后顺序,实现标识所述的新型数据链路层协议控制信息发送先后序列的功能,所述的新型数据链路层协议控制帧的净荷信息字段可以包括多个控制TLV信息,为了方便本发明芯片的实现(如现在的芯片普遍采用32位,这样要求控制帧总长度为32比特的整数倍),要求整个控制帧的长度为32比特的整数倍,如果原来所述的新型数据链路层协议控制帧长度不是32比特的整数倍,则在控制TLV后用全为0的字节进 System protocol (abbreviation for the MGCP) signaling information, the type of field is binary "11111111" indicates the control frame custom management control frame for manufacturers, manufacturers custom management functions include adding equipment manufacturers for their manufacturing-related equipment network management control functions, and operators from the network management functions to control which content management data customized by the manufacturer, but requires the use of TLV structure, the new data link layer protocol control frame of frame sequence number used to identify new data link layer protocol control frame transmission order to achieve the identification of new data link layer protocol control information sequence has the function of transmitting said control frame payload information field may include a plurality of control information TLV, in order to facilitate the achievement of the present invention, the chip (as is now commonly used 32-bit chips, so that the control frame requires a total length of 32 bit integer multiple thereof), require that the entire length of the control frame an integer multiple of 32 bits, if the original novel data link layer protocol control frame length is not an integer multiple of 32 bits, the control proceeds in the TLV with all zero byte 填充处理,填充的长度用所述的新型数据链路层协议控制帧的填充长度字段以字节形式标识。 Filling process, is filled with the length of the new data link layer protocol control pad length field identifies the frame in bytes.

表7.控制帧中类型字段值(二进制值)的用法 Table 7. Usage control frame type field value (binary value)

按照本发明提供的方法,其特征在于,所述的新型数据链路层协议提供的网络控制管理机制包括拓扑发现机制,拓扑发现用来找出谁是网络节点(DLP节点)的邻居节点以及邻居节点的状态,对于环形和网格拓扑网络节点可以用它来发现环上有多少个节点正在工作,拓扑发现功能的实现主要是依靠拓扑发现请求帧(Topology_Discovery_Request frame)、拓扑发现响应帧(Topology_Discovery_Response frame)和拓扑报告帧(Topology_State_Report frame)来实现的,在项目安装阶段或者工程运行期间,网络节点(DLP节点,如节点A)用该节点的二层地址码作为目的地址周期性地广播拓扑发现请求帧(Topology_Discovery_Request frame)到其它节点(称其中之一为节点B),发送周期由拓扑发现定时器(Timer_Topology_Discovery,发送定时时间是可编程的,缺省为2秒)确定,接收到拓扑发现请求帧的所有节点(如节点B)通过 The method provided by the invention, wherein the network control and management mechanism of the new data link layer topology discovery protocols include mechanisms for topology discovery to find out who is the network node (DLP node) node and neighbor neighbor state of the node, ring, and mesh topologies for the network node can use to discover how many nodes are working on the ring topology discovery function is implemented mainly by the topology discovery request frame (Topology_Discovery_Request frame), topology discovery response frame (Topology_Discovery_Response frame ) and topology report frame (Topology_State_Report frame) to achieve, during the installation phase of the project or project operation, the network node (DLP node, such as node a) Layer with address code as the destination address of the node periodically broadcasts the topology discovery request frame (Topology_Discovery_Request frame) to other nodes (one of which is called node B), sent by the topology discovery cycle timer (Timer_Topology_Discovery, the transmission timing is programmable time, the default is 2 seconds) is determined, the received topology discovery request frame all nodes (e.g., node B) by 扑发现响应帧给节点A作出响应,把节点B的存在及其状态反馈给节点A,节点A把接收到的其它节点的地址码以及相应的工作状态等内容添加到节点A的拓扑地址数据库中,对于环形和网格拓扑,有关节点依据环上各节点的地址码中的节点代码(NAC)字段值内容确定环上或者网格中的节点顺序,如果节点A连续3次(其值是可编程的,缺省值为3)从节点B接收到相同的操作内容,则认为节点的拓扑发现帧操作有效,把相关的拓扑状态内容写入节点的拓扑数据库,拓扑报告帧用来网络节点(DLP节点)向其它节点(尤其是网络管理实体)报告该节点的状态,特别是对于总线拓扑、星形和树形这三类由于拓扑结构原因没有保护倒换功能的拓扑结构的节点报告其拓扑状态,本发明定义控制帧TLV中类型字段值为二进制值“00000001”时表示控制帧为拓扑发现请求帧,二进制值“00000 Flutter database topological address discovery response frame to the node A in response to, the presence and state of the node B back to node A, the node A is added to the address code received to other nodes and the corresponding content to the working status of the node A , ring, and mesh topologies for the relevant node determines the node on the ring or in the order according to the address grid code for each node on the ring node code (NAC) field value of the content, if the node a 3 consecutive times (the value is programmed default value 3) received from the node B to the same operation content is considered valid topology discovery frame operation node, the topology state associated write the contents of the topology database nodes, the network node topology to report frame ( DLP node) reports the status of the node to other nodes (in particular a network management entity), especially for a bus topology, a star topology, and since these three reasons tree structure is not reporting protection switching node topology topological state , the present invention is defined in the control frame TLV type field is a binary value of a control frame is a topology discovery request frame, the binary value "is" 00000001 "00000 010”时为拓扑发现响应帧,二进制值“00000011”时表示控制帧为拓扑报告帧,拓扑发现请求帧、拓扑发现响应帧和拓扑报告帧的值(Value字段值)都是两个参数,第一个为节点地址,长度为8个字节,第二个为节点工作状态,长度为1个字节,节点工作态如表8所示。 010 "is a topology discovery response frame, a binary value of" a control frame is a topology report frame, request frame topology discovery, topology discovery response value (Value field value) and the frame are two topology report frame parameters 00000011 ", the first a node address, 8 bytes in length, the second node to working state, a length of 1 byte, the node operational configuration as shown in table 8.

表8.拓扑发现帧的第二个参数 Table 8. The second parameter topology discovery frames

按照本发明提供的方法,其特征在于,所述的新型数据链路层协议提供的网络控制管理机制包括2层保护倒换机制,2层保护倒换指的是当网络物理链路出现故障(如光纤断裂)或者节点设备出现故障时类似SDH环采用的K1/K2协议机制的允许在50毫秒内实现自愈恢复的强大功能,本发明提供的50毫秒保护倒换功能主要用于环形或者网格拓扑等可以实现保护倒换的链路上,以二纤环为例,如果环上某个节点(DLP节点,假定为节点2)在某个方向(假定为从节点1到节点2的方向)上在20毫秒时间(其值是可编程的,本发明定义的缺省值为20毫秒)内没有接收到任何数据信息(包括数据帧、控制帧、链路管理帧或者空帧等)或者物理链路出现故障(如光纤设施断裂)或者节点出现故障(如物理信号失效或者物理信号退化),该节点进入2层保护倒换状态,发送2层保护状态请求帧(L2PS Reques The method provided by the invention, wherein the network control and management mechanism of the new data link layer protocol layers include protection switching mechanism 2, a two-layer protection switching means that when a network link fails the physical (e.g., optical fiber similar to fracture failure) or SDH ring node apparatus employed K1 / K2 protocol mechanism allows the power of the fault recovery within 50 milliseconds, 50 milliseconds, the present invention provides a protection switching function is mainly used for a ring or mesh topologies protection switching may be implemented on a link, to two-fiber rings, for example, if a node on the ring (DLP node, the node is assumed to be 2) in a direction (assuming the direction from node 2 to node 1) on the 20 ms (this value is programmable, the present invention is defined by the default value of 20 ms) does not receive any data information (including the data frame, a control frame, a management frame or null frame link, etc.) appeared in the physical link or failure (e.g., fiber optic facility fracture) or node failure (e.g., physical failure or a physical signal degradation signal), the protection switching node enters a two-layer, the protective layer 2 transmits the status request frame (L2PS Reques t frame)给网络(环或者网格拓扑)上与其相连的节点(如节点1),节点1接收到该2层保护状态请求帧后也进入2层保护倒换状态(英文缩写为L2PS),并发出2层保护倒换状态报告帧(L2PS_State_Report frame)给连接网络管理实体的节点或者广播到环上处于正常态的所有节点,在L2PS态,从节点1到节点2的所有数据包被倒换到备用的路径上,如果节点2上的故障清除,节点2进入正常态,启动WTR(等待恢复)定时器(Timer_WTR,其值是可编程的,范围为0~1800秒,缺省值为10秒),一旦WTR定时器终止,节点2沿倒换前后的路径发送WTR请求帧(WTR_Request frame)给节点1,节点1接收到该帧后从节点L2PS态返回正常态,本发明定义控制帧的类型字段值为二进制的“00000100”时表示控制帧为2层保护倒换请求帧,控制帧的类型字段值为二进制的“00000101”时表示控制帧为2层保护倒换响应帧,控制帧的类 Node t frame) to the network (ring or mesh topologies) connected thereto (e.g., a node), a node receiving the state request protective layer 2 frame also enters a two-layer protection switching (abbreviation of L2PS), and issued layer 2 report frame protection switching state (L2PS_State_Report frame) to the connection node of the network management entity or broadcast to the ring at all nodes in a normal state, the state in L2PS, by switching from node 1 to all packets 2 to the standby on the path, node if the fault is cleared, the nodes 22 into the normal state, start the WTR (WTR) timer (Timer_WTR, which is a programmable value, ranging from 0 to 1800 seconds, default is 10 seconds), Once WTR timer expires, switching node along the path before and after the WTR 2 transmits a request frame (WTR_Request frame) to node 1, node 1 receives the state returns to the normal state from the node L2PS the frame, the frame type field defines the control value of the present invention binary "00000100" denotes a control frame is a two-layer protection switching request frame, a control frame is a two-layer protection switching in response to a control frame of frame type field value of binary "00000101", the control frame class 字段值为二进制的“00000110”时表示控制帧为2层保护倒换报告帧,2层保护倒换请求帧TLV结构中值(Value,V)字段的参数有2个,第一个为该节点的地址码,长度为8字节,第二个参数为该节点的工作状态(强制倒换FS、物理信号失效PSF、物理信号退化PSD和人工倒换),长度为1个字节,各状态的二进制值如表9所示,该字节的其它值保留作将来使用,2层保护倒换响应帧TLV结构中值字段的参数有两个,第一个为该节点的地址码,长度为8字节,第二个参数长度为1个字节,其中二进制值为“00000000”表示成功实现倒换,二进制值为“11111111”表示倒换不成功,其它二进制值保留给将来使用,2层保护倒换报告帧TLV结构中值字段有三个参数,第一个参数为节点的地址码,长度为8字节,第二个参数为节点的倒换原因,长度为1个字节,各态的二进制值如表9所示,第三个 Field value is binary "00000110" denotes a control frame is a layer 2 frame reporting protection switching, the protection switching request parameter layer 2 frame TLV value (Value, V) has the structure of two fields, the first address for a node code, 8 bytes in length, the second parameter for the operating state of the node (the FS forced switchover, the PSF physical signal failure, the physical and manual switching signal degradation PSD), a length of 1 byte, as the binary value of each state as shown in table 9, other values ​​of the bytes reserved for future use, the protective layer 2 switching parameters in the TLV value field of the response frame structure has two, a first node address code for a length of 8 bytes, the first two parameter length is 1 byte, wherein a binary value of "00000000" indicates successful switchover, the binary value "11111111" indicates that the switchover is unsuccessful, other binary values ​​are reserved for future use, the protective layer 2 switching configuration report frame TLV field has the value of three parameters, the first parameter is the node address code, 8 bytes in length, the second parameter is the reason switching nodes, a length of 1 byte, the binary values ​​of the respective states shown in table 9, The third 数表示节点是否处于2层保护状态,其中二进制值为“11111111”表示处于2层保护倒换状态,二进制值为“00000000”表示处于正常态,其它值保留,当控制帧TLV类型字段值为二进制的“00010000”时,表示控制帧为WTR_Request帧,WTR_Request帧只有一个参数,长度为8比特,值为二进制的“11111111”表示成功等待恢复,其它值保留。 Number 2 indicates whether the node is in the protected state layer, wherein the binary value of "11111111" represents the state in a two-layer protection switching, the binary value "00000000" indicates that in the normal state, other values ​​are reserved as a control frame type field is binary TLV when "00010000", a control frame is a frame WTR_Request, WTR_Request frame only one parameter, a length of 8-bit, binary value "11111111" indicating successful WTR, other values ​​are reserved.

表9.L2PS请求帧和L2PS报告帧的第2个参数类型 Table 9.L2PS L2PS report request frame and a second frame type parameter

按照本发明提供的方法,其特征在于,所述的新型数据链路层协议提供的网络控制管理机制包括配置管理机制,配置管理机制用来实现对网络节点(DLP节点)设备有关端口的配置管理,网络节点(DLP节点)设备的端口地址在项目安装阶段必须配置一个二层的地址作为该端口的源地址码(SAC),配置管理帧包括三种:配置请求帧(Configuration_Request frame)、配置响应帧(Configuration_Response Frame)、配置报告帧(Configuration_Report frame),在项目安装阶段或者工程运行期间,网络管理实体通过网络管理接口对网络节点(DLP节点)设备的每个链路(端口)发出配置请求帧进行配置,网络节点(DLP节点)通过配置响应帧或者配置报告帧向网络管理实体作出响应,本发明定义控制帧TLV中类型字段值为二进制“00000111”值时表示控制帧为配置请求帧,二进制“00001000”时为配置响应帧,二进制“ The method provided by the invention, wherein the network control and management mechanism of the new data link layer protocol include configuration management mechanism, the mechanism used to implement configuration management (DLP node) of the device configuration management of the network node on Port , address of the network node interface (DLP node) of the device must be configured with a floor installation phase of the project as the source address code (SAC) of the port, the frame configuration management includes three: configuration request frame (Configuration_Request frame), configuration response frame (Configuration_Response frame), a frame configuration report (Configuration_Report frame), during the installation phase of the project or project operation, a network management entity configured to issue a network node for each link (DLP node) of the device (port) via a network management interface request frame configuration, the network node (DLP nodes) configured through the configuration report response frame or frames in response to a network management entity, the definition of the present invention is a control frame type field in the TLV value of binary "00000111" represents the control configuration request frame is a frame time value, a binary when '00001000' is arranged response frame, a binary " 00001001”时表示控制帧为配置报告帧,配置请求帧包括两个参数,第一个为原节点地址(长度为8个字节),第二个为新节点地址码(长度为8个字节),配置响应帧的值(Value字段值)包括三个参数:第一个为原节点地址(长度为8个字节),第二个参数为新的节点地址码(长度为8个字节),第三个参数长度为1个字节,其中二进制值为“00000000”表示配置成功,二进制值“11111111”表示配置不成功,其它值保留给将来使用,配置报告帧包括二个参数:第一个为节点地址(长度为8个字节),第二个参数长度为8个字节,表示该节点的配置地址。 00001001 "when a control frame is a frame configuration reporting, configuration request frame includes two parameters, the first source node address (8 bytes in length), a second node address of the new code (length of 8 bytes ), configuration response value (value field values) frame comprising three parameters: a first original node address (8 bytes in length), the second parameter is the new node address codes (length of 8 bytes ), the third parameter length is 1 byte, wherein a binary value of "00000000" configuration is successful, the binary value "11111111" indicates that the configuration fails, other values ​​reserved for future use, configuration report frame comprising two arguments: a node address (8 bytes in length), the second parameter length is 8 bytes and indicates the address of the node configuration.

按照本发明提供的方法,其特征在于,所述的新型数据链路层协议提供的网络控制管理机制包括故障管理机制,故障管理机制用来实现对网络节点(DLP节点)的故障管理,故障管理机制通过故障管理帧来实现,故障管理帧包括三个:故障查询请求帧(Fault_Inquiry_Request frame)、故障查询响应帧(Fault_Inquiry_Response frame)和故障报告帧(Fault_Report frame),本发明定义控制帧TLV中类型字段值为二进制值“00001010”时表示控制帧为故障查询请求帧,二进制值“00001011”时为故障查询响应帧,二进制值“00001100”时表示控制帧为故障报告帧,故障查询请求帧包括1个参数,该参数为节点地址(长度为8个字节),故障查询响应帧的值(Value字段值)包括二个参数:第一个为节点地址(长度为8个字节),第二个参数长度为1个字节用来表示故障类型,其中二进制值为“00000000”表示故障为 The method provided by the invention, wherein the network control and management mechanism of the new data link layer protocols include mechanisms for fault management, fault management, fault management mechanism used to implement the network node (DLP node), fault management mechanism implemented by the fault management frame, the management frame comprises three fault: fault query request frame (Fault_Inquiry_Request frame), troubleshooting response frame (Fault_Inquiry_Response frame) and a failure report frame (Fault_Report frame), the definition of the present invention is a control frame type field in the TLV value binary value query request control frame is a frame fault, fault query response frame when a binary value of "00001011", a control frame is a binary value indicates failure report frame "00001100", the query failure "00001010" request frame includes a parameter, which is a node address (8 bytes in length), troubleshooting response value (value field values) frame comprising two parameters: a first node address (8 bytes in length), a second parameter length is 1 byte is used to indicate the type of fault, wherein a binary value of "00000000" is a failure for the 理信号失效(PSF),二进制值“11111111”表示故障为物理信号退化(PSD),二进制值为“00001111”表示节点正常无故障,其它值保留给将来使用,故障报告帧的值字段包括二个参数:第一个为节点地址(长度为8个字节),第二个参数长度为1个字节用来表示故障类型,其中二进制值为“00000000”表示故障为物理信号失效(PSF),二进制值“11111111”表示故障为物理信号退化(PSD),其它值保留给将来使用。 Failure signal processing (PSF), a binary value of "11111111" is a failure for the physical degradation of the signal (the PSD), the binary value "00001111" indicates that the node is operating normally, the other values ​​are reserved for future use, the value of field failure report frame comprises two parameters: a first node address (8 bytes in length), the second parameter to a length of 1 byte indicates the type, wherein a binary value of "00000000" is a failure as a physical failure signal (PSF), binary value of "11111111" is a failure for the physical degradation signal (PSD), other values ​​reserved for future use.

按照本发明提供的方法,其特征在于,所述的新型数据链路层协议提供的网络控制管理机制包括性能管理机制,性能管理机制用来实现对网络节点(DLP节点)的性能管理,性能管理功能通过性能管理帧来实现,性能管理帧包括三种帧:性能查询请求帧(Performance_Inquiry_Request frame)、性能查询响应帧(Performance_Inquiry_Response frame)和性能报告帧(Performance_Report frame),当控制帧类型字段值为二进制的“00001101”时,表示控制帧为性能查询请求帧,性能查询请求帧用来请求查询某个网络节点(DLP节点)的某个性能指标,控制帧类型字段值为二进制的“00001110”时,表示控制帧为性能查询响应帧,性能查询响应帧用来响应性能查询请求帧提出的某个节点的某个性能指标,控制帧类型字段值为二进制的“00001111”时,表示控制帧为性能报告帧,性能报告帧用来向网络管理实 The method provided by the invention, wherein the network control and management mechanism of the new data link layer protocol include performance management mechanism, performance management, performance management mechanism used to implement the network node (DLP node), performance management function is realized by the performance management frame, the management frame includes three frames properties: properties query request frame (Performance_Inquiry_Request frame), the performance of the query response frame (Performance_Inquiry_Response frame) and performance reports frame (Performance_Report frame), when the binary value of a control frame type field when "00001101", the performance of a control frame is a frame query request, the query request frame for requesting the performance of a network node query (DLP node) a performance index, when the frame type field is binary "00001110" control, when the performance of a control frame is a frame in response to a query, query response frame for responding to the performance properties of a node query request frame made of a performance index, a control frame type field value of binary "00001111", a control frame is a performance report frame, the frame for performance reports to the network management entity 报告某个节点的各项性能指标,性能查询请求帧的值(Value)字段包括三个参数,第一个参数为要请求查询性能的节点地址码,长度为8个字节,第二个参数为用来标识计算性能指标的时间计量单位,长度为4比特,其中二进制的“0001”表示计量单位为秒,二进制的“0010”表示计量单位为分钟,二进制的“0011”表示计量单位为小时,二进制的“0100”表示计量单位为天,其它字段值保留给将来使用,第三个参数为性能指标类型,长度为4比特,其中二进制的“0001”表示性能指标为帧校验序列错误数,二进制的“0010”表示丢包数,二进制的“0011”表示丢包率,二进制的“0100”表示包的时间延迟(时延),其它值保留给将来使用,性能查询响应帧的值(Value)字段包括4个参数,第一个参数长度为8个字节,用来表示对性能查询请求帧作出响应的节点地址,第二个 Reporting the performance index of a node, the performance of the query request frame value (Value) field comprises three parameters, the first parameter is the address code to the requesting node query performance, a length of 8 bytes, the second parameter is a unit of measure used to identify the time of calculation of the performance index, a length of 4 bits, wherein the binary "0001" represents a second measurement unit, binary "0010" indicates the measurement in minutes, binary "0011" indicates the unit of measure in hours , binary "0100" denotes a unit of measurement days, the other field values ​​are reserved for future use, as the performance index third parameter type, length is 4 bits, wherein the binary "0001" represents the performance index for the frame check sequence error number , binary "0010" represents the number of lost packets, binary "0011" denotes a packet loss rate, binary "0100" indicates the packet delay time (latency), other values ​​are reserved for future use, query response performance value of a frame ( Value) field includes four parameters, the first parameter is 8 bytes are used to represent the performance of the query request to the node address of the response frame, the second 数长度为4比特,用来标识计算性能指标的时间计量单位,第三个参数长度为4比特用来标识性能指标类型,第四个参数长度为3个字节,用来表示具体要查询的性能指标值,性能查询响应帧的值(Value)字段的第二和第三个参数(时间计量单位和性能指标类型)的用法与性能查询请求帧的值(Value)字段的第二和第三个参数的用法一样,性能报告帧的值(Value)字段包括4个参数,第一个参数长度为8个字节,用来表示向网络管理实体发出性能报告帧的节点地址,第二个参数长度为4比特,用来标识计算性能指标的时间计量单位,第三个参数长度为4比特用来标识性能指标类型,第四个参数长度为3个字节,用来表示具体要报告的性能指标值,性能报告帧的值(Value)字段的第二和第三个参数(时间计量单位和性能指标类型)的用法与性能查询请求帧的值(Value)字段的第二和第 Number 4-bit length, the time measurement unit for identifying the calculated performance index, the third parameter length is 4 bits used to identify the type of performance, the fourth parameter length of 3 bytes used to represent specific to query the second and third performance index value, the performance of the query response frame value (value) fields of the second and third parameters (time measurement unit and the type of performance) of the usage and performance of the query request frame value (value) fields usage as a parameter, the value of the performance report frame (value) field includes four parameters, the first parameter is 8 bytes, the address for the node represents the performance report frame to the network management entity, the second parameter a length of 4 bits, used to identify the performance index calculation unit of time measurement, the third parameter length is 4 bits used to identify the type of performance, the fourth parameter length of 3 bytes, is used to indicate the specific properties to be reported index value, the second and the third parameter value (value) fields performance report frame (the unit of measurement of time and the type of performance) of usage and performance of the query and the second value (value) fields request frame 三个参数的用法一样。 As the use of three parameters.

按照本发明提供的方法,其特征在于,所述的新型数据链路层协议帧可提供强大的流量管理机制来实现网络的流量工程,方法是首先对流经过网络的所有业务进行分类,即对来自上层的各种业务(话音、IP数据、数字电视、以太网MAC帧、TDM电路仿真信号等)进行优先级分类分为高优先级的业务和低优先级的业务,用分级的位于二层的数据链路层地址(源地址码和目的地址码)表示上层业务地址(目的地址和源地址)同时对业务按照属于哪个国家或者地理区域、某个国家或者地理区域的哪个地区、某个地区的某个节点,某个节点的某个用户进行地域分类,用分级的二层地址表示物理链路端口二层地址从而对物理资源进行地域分类,同时分配不同的物理带宽链路用于传送不同类型的业务,把流经整个网络的各种业务按照不同的优先级类型以及地域类别映射到实 The method provided by the invention, wherein the new data link layer protocol frame may provide a powerful traffic management mechanisms to achieve traffic engineering network by first convection through all traffic network is classified, that is from various upper layer services (voice, the IP data, digital television, Ethernet MAC frame, the TDM circuit emulation signal, etc.) classified into high priority priority traffic and low priority traffic, with the second-floor fractionated the data link layer address (source address and destination address code code) represents the upper service address (destination and source addresses) while business in accordance with any country or geographical region belong, a country or region which geographical area, an area of a node, a node of a user area is classified, the classification using the address representing the physical link interface Layer Layer address of the physical resources so that the classification region, while assigning different physical link bandwidth is used to transmit different types of service, the variety of traffic flows mapped to a real entire network in a different priority type and geographical groupings 的物理链路上,通过流量管理帧实现对整个网络的流量以及带宽资源进行统一调度管理和监控,具体如下:首先对来自数据链路层——DLP层以上层次的所有业务进行分类,分为高优先级的业务和低优先级的业务,高优先级的业务包括网络管理控制信息(控制帧)、流量管理信息(流量管理帧)、各种实时话音业务(包括固定或者移动话音或者可视电话)、各种实时视频(数字电视)、基于IP(IPv4/IPv6)的实时业务、PDH和SDH/SONET电路仿真信号,低优先级的业务为一般的IP数据业务,具体的各种业务类型用所述的新型数据链路层协议帧中的业务类型字段值来标识,在所述的新型数据链路层协议帧中定义了一个分级的目的地址码和源地址码,目的地址码和源地址码采用相同的结构,都由国家码、国内地区码、节点代码和用户代码四部分组成,分别用来标识业务属于哪个 On the physical link, the flow rate achieved by the traffic management frame and the bandwidth resources of the whole unified network management and monitoring, as follows: First above all traffic from the data link layer level --DLP layer is classified into high priority traffic and low-priority traffic, high-priority traffic includes network management control information (control frame), traffic management information (management frame traffic), a variety of real-time voice traffic (comprising voice or visual fixed or mobile phone), a variety of real-time video (digital TV), based on IP (IPv4 / IPv6) of the real-time service, PDH and SDH / SONET signal circuit simulation, a low priority service as a general IP data services, each service type specific link layer protocol frame with the service type field value identifies the new data, defines a destination address hierarchy code and address code in the source of the new data link layer protocol frame, the destination address and the source code address code with the same structure, by country code, area code country, the node code and user code four parts, which are used to identify the service belongs 家或者地理区域、某个国家或者地理区域内的哪个地区,某个地区内的哪个节点,哪个节点内的哪个用户,对于IP业务,目的地址码和源地址码分别表示IP包报头中的目的IP地址和源IP地址的转发等价类,对于话音业务目的地址码和源地址码分别表示通话双方的电话号码,对于数字电视(数字视频)业务目的地址码和源地址码分别表示数字电视信号发送端和接收端的地址,对于以太网MAC帧、采用时分复用(TDM)技术的电路如PDH、SDH/SONET的电路仿真信号等业务目的地址码和源地址码分别表示信号发送端和接收端的地址,这样通过数据链路层地址对来自上层的各种业务(话音、数据、视频、以太网以及TDM电路仿真信号)进行了地域的分类,把各种业务按照不同的国家或者地理区域、特定国家或者地理区域内的某个地区、地区内的某个节点、某个节点的某个用户进 Home or geographic region, a country or which region within a geographical area, which node within a certain area, which users in which node for IP service, destination address, source code and address code represent the destination IP packet header FEC IP address and source IP address, destination address for the voice service source code and address code represent both call the telephone number, the digital television (digital video) traffic destination address and a source address code symbols to represent a digital television signal sending end and receiving end address for the Ethernet MAC frame, the circuit uses time division multiplexing (TDM) techniques, such as business object address code PDH, SDH / SONET signals and a circuit simulation of a source address code signals respectively represent the transmitting and receiving ends address, so that the data link layer address by a variety of services (voice, data, video, Ethernet, and TDM circuit emulation signal) from the upper area of ​​the classification, the various services in different countries or geographic, country or a region within a geographical area, area within a node, a node into a user 行了分类,同时对整个物理传送网络的每个节点端口(包括波分复用系统的每个光波)标识一个二层的数据链路层地址,并规定不同的链路用于传送不同类型以及通往不同地区的业务,这样对整个物理传送网络的带宽资源进行分类,某些带宽用于传送重要的实时业务如话音和实时视频,某些用于传送一般的IP数据业务,某些带宽链路用于传送国际业务,某些带宽链路用于传送跨省的业务,某些带宽链路用于传送本地业务,并且规定如果网络出现故障允许传送IP数据的链路被高优先级的业务抢占,通过本发明定义的流量管理帧对整个网络的流量以及网络带宽资源进行监控处理,网络管理系统包括一个流量工程数据库,该数据库记录了整个网络的链路资源分布情况,流过网络的业务类型、总包数、总流量、物理链路速率、允许最大传送速率等参数,本发明 Line classification, while the entire physical port for each node of the transmission network (WDM lightwave system including each) identifying a data link layer address of the second floor, and provides links for transmitting different types and different leading to the different areas of business, so the bandwidth resources of the entire physical transmission network is classified, some of the bandwidth used to transmit critical real-time services such as voice and video in real time, some for transmitting IP data services in general, certain bandwidth link conveying path for the international business, some link bandwidth for transmitting traffic provinces, some link bandwidth for transmitting local service, if the network fails and a predetermined allowable transmission link IP data traffic is a high priority preemption of the traffic monitoring processing and network bandwidth resources across the network by traffic management frame defined in the present invention, a network management system comprising a traffic engineering database, which records the distribution of the entire network link resources, traffic flow through the network type, total number of packets, the total flow rate of the physical link, the maximum allowable transmission rate and other parameters, according to the present invention 义当所述的新型数据链路层协议帧(DLP帧)报头中业务类型字段值设置为二进制值“10000010”时,表示所述的新型数据链路层协议帧封装的是流量管理信息,相应的数据链路层协议帧为流量管理帧,流量管理帧的流量管理信息采用类型-长度-值(英文为Type-Length-Value,TLV)结构,其中,类型字段长度为8比特,用来指示流量管理帧的类型,长度字段长度为8比特,用来以字节形式指示值(Value)字段的长度,值(Value)字段包含具体的流量管理帧内容,网络管理帧类型字段的用法如表10所示,其中流量管理帧TLV中类型字段值为二进制的“00000001”时表示流量管理帧净荷携带的是链路业务流量属性信息,其值(Value)字段内容包括四个参数,第一个参数为节点地址,长度为8字节,第二个参数为业务类型,用来表示经过某节点流量包(分组)所属的业务类型,长度为1字节,不 Yi new data link layer protocol when said frame (DLP frame) service type header field value is set to binary "10000010", it indicates a new data link layer protocol frame is encapsulated traffic management information corresponding the data link layer protocol frame is a management frame traffic, traffic flow management information management frame types employed - length - value (English as type-length-value, TLV) structure, wherein the type field is 8 bits in length, to indicate traffic management frame type, a length field length is 8 bits in bytes for instruction value (value) length field, the value (value) fields contain specific traffic management frame content, frame type field of network management usage table shown, wherein the flow management frame type field in the TLV value of binary "00000001" represents traffic management frame payload 10 carries the link traffic attribute information, the value (value) fields include the four parameters, the first parameter is the node address, 8 bytes in length, the second service type parameter is used to represent a node via the packet flow (packet) belong to the service type, length of 1 byte, not 同类型的业务的业务类型值由表1确定,第三个参数长度为1个字节用来标识流过某节点链路流量的计量参数类型,其中二进制值为“00000001”表示流量计量参数类型为峰值速率(单位为比特每秒),二进制值为“00000010”表示流量计量参数类型为平均速率(单位为比特每秒),二进制值为“00000011”表示流量计量参数类型为最大包(分组)数(单位为包每秒),二进制值为“00000100”表示流量计量参数类型为平均包(分组)数(单位为包每秒),二进制值为“00000101”表示流量计量参数类型为峰值突发长度(单位为字节),二进制值为“00000110”表示流量计量参数类型为协定突发长度(单位为字节),二进制值为“00000111”表示流量计量参数类型为超额突发长度(单位为字节),其它值保留将来使用,第四个参数长度为4字节用来标识具体各种流量的值,流量管理帧TLV中类型字段 Values ​​for the same service type by the service type determination table 1, the third parameter is the length of one byte is used to identify the type of flow through a measurement parameter link traffic node, wherein the binary value of "00000001" indicates the parameter type flow metering as the peak rate (bits per second), a binary value of "00000010" represents the average flow rate measurement parameter type (bits per second), a binary value of "00000011" represents the maximum flow rate measuring parameters of type packet (packet) number (in packets per second), a binary value of "00000100" represents the flow rate measurement parameter is the average packet type (packet) number (in packets per second), a binary value of "00000101" represents the peak flow rate measurement parameter type burst length (in bytes), a binary value of "00000110" represents the flow rate measurement parameter type agreement burst length (in bytes), a binary value of "00000111" represents the flow rate measurement parameter type excess burst length ( byte), other values ​​reserved for future use, the fourth parameter is 4 bytes used to identify a specific value of various traffic flow management frame type field in the TLV 为二进制“00000100~00100110”时表示各种物理链路的资源属性,各种具体链路的类型值如表10所示,各种物理链路的资源属性值包括有四个参数,第一个参数为节点地址,长度为8字节,第二个参数为业务类型,用来表示经过某节点流量包(分组)所属的业务类型,长度为1字节,不同类型的业务的业务类型值由表1确定,第三个参数长度为1个字节用来标识流过某节点链路流量的计量参数类型,其中二进制值为“00000001”表示流量计量参数类型为峰值速率(单位为比特每秒),二进制值为“00000010”表示流量计量参数类型为平均速率(单位为比特每秒),二进制值为“00000011”表示流量计量参数类型为最大包(分组)数(单位为包每秒),二进制值为“00000100”表示流量计量参数类型为平均包(分组)数(单位为包每秒),二进制值为“00000101”表示流量计量参数类型为峰值 Binary "00000100 ~ 00100110" indicates various attributes of the physical link resources, the specific values ​​of various types of links, such as resource attribute values ​​of various physical link comprises four parameters shown in Table 10, a first parameter node address, 8 bytes in length, the second parameter is the service type, service type used to represent a node via the packet flow (packet) belong to a length of 1 byte, the value of the service type from different types of traffic table 1 is determined, the third parameter is the length of one byte is used to identify the type of flow through a measurement parameter link traffic node, wherein the binary value of "00000001" represents the peak flow rate measurement parameter type (bits per second ), a binary value of "00000010" represents the average flow rate measurement parameter type (bits per second), a binary value of "00000011" represents the maximum flow rate measuring parameters of type packet (packet) number (in packets per second), binary value of "00000100" represents the flow rate measurement parameter is the average packet type (packet) number (in packets per second), a binary value of "00000101" represents the peak flow rate measuring parameters of type 发长度(单位为字节),二进制值为“00000110”表示流量计量参数类型为协定突发长度(单位为字节),二进制值为“00000111”表示流量计量参数类型为超额突发长度(单位为字节),其它值保留将来使用,第四个参数长度为4字节用来标识具体各种流量的值,所述的新型数据链路层协议流量管理帧的帧序列号值用来标识流量管理帧发送的先后顺序,实现标识所述的新型数据链路层协议流量控制管理信息发送先后顺序的功能,所述的新型数据链路层协议流量管理帧的净荷信息字段可以包括多个流量管理TLV信息,为了方便本发明芯片的实现(如现在的芯片普遍采用32位,这样要求流量管理帧总长度为32比特的整数倍),要求整个流量管理帧的长度为32比特的整数倍,如果原来所述的新型数据链路层协议流量管理帧长度不是32比特的整数倍,则在流量管理TLV后用全为0 Hair length (in bytes), a binary value of "00000110" represents the flow rate measurement parameter type agreement burst length (in bytes), a binary value of "00000111" indicates the parameter type flow metering excess burst length ( bytes), other values ​​reserved for future use, the fourth parameter is 4 bytes used to identify a specific value of various flow rates, the frame sequence number value of the new data link layer protocol frame to identify traffic management traffic management frame transmission order to achieve the identification of new data link layer protocol traffic control management information transmitting function sequence, payload information field of the new data link layer protocol traffic management frame may include a plurality of traffic management TLV information, in order to facilitate chip implementation of the present invention (as will now chips commonly used 32-bit, so that the required flow management frame a total length of 32 bit integer multiple thereof), require that the entire traffic management frame length of 32 bits an integral multiple of , if the original new data link layer protocol traffic management frame length is not an integer multiple of 32 bits, then after a traffic management are all 0 TLV 字节进行填充处理,填充的长度用所述的新型数据链路层协议流量管理帧的填充长度字段以字节形式标识。 Bytes filling process, the filling length of the length field is filled with the new data link layer protocol identification management frame traffic in bytes.

表10.流量管理帧类型 Table 10. Traffic management frame type

相对于已有的以太网与SDH/SONET融合的适配方法,本发明具有以下创新:(1)实现不同速率的以太网接口和SDH/SONET接口的速率匹配。 With respect to the existing Ethernet adaptation method SDH / SONET fusion, the present invention has the following innovations: (1) to achieve different rates of Ethernet and SDH / SONET interface rate matching. 现有的以太网与SDH/SONET的适配方法主要解决的是点到点连接问题,由于以太网和SDH/SONET属于不同的传输技术,两者都有各自的接口速率体系,因此上述三种适配方法存在一个速率不匹配的问题,而且在SDH/SONET需要使用高阶虚容器和低阶虚容器的虚级联,增加了一个设备的复杂性。 Existing Ethernet and SDH / SONET adaptation method is mainly to solve the issue point to point connection, since the Ethernet and SDH / SONET transmission belong to different techniques, both systems have their own interface rate, and therefore the three there is a problem of a mismatch rate adaptation method, virtual concatenation and the SDH / SONET virtual containers need to use high-order and low-order virtual container, increases the complexity of a device. 而采用本发明提供的方法,通过实现以太网和SDH/SONET信号的分组化以及本发明提供的流量管理能力可以实现以太网接口和SDH/SONET接口的速率匹配。 The use of the method provided by the invention, the Ethernet and SDH / SONET interface rate matching may be achieved by implementing the packet and traffic management capabilities of the present invention to provide an Ethernet and SDH / SONET signal.

(2)可以实现在以太网上传送SDH/SONET。 (2) may be implemented transmitted SDH / SONET on Ethernet. 现有的以太网与SDH/SONET的适配方法都是在SDH/SONET上传送以太网的方案,随着以太网向城域网方向扩展,将来的城域网骨干网可能会采用以太网技术,此时可能会要求SDH/SONET如何在以太网上传送的问题,这三种以太网与SDH/SONET融合的适配方法都不能用于在以太网上传送SDH/SONET,而采用本发明提供的方法可以实现在以太网上传送SDH/SONET,方法是通过电路仿真实现SDH/SONET信号的分组化,然后把SDH/SONET分组封装到DLP帧,随后通过DLP帧报头中到目的地址实现SDH/SONET信号的转发和交换。 Existing Ethernet and SDH / SONET transmission methods are Ethernet adaptation protocol in SDH / SONET, Ethernet extension as the direction of the metropolitan area network, metropolitan area backbone network in the future may use Ethernet technology in this case the problem may be of SDH / SONET how transmitted over Ethernet, Ethernet fused three SDH / SONET adaptation method can not be used for transmitting SDH / SONET on Ethernet, while the method of the present invention provides may be implemented transmitted SDH / SONET on Ethernet method is implemented SDH / SONET signal by circuit simulation packetized, then SDH / SONET packet into DLP frame, then realize SDH / SONET signal DLP frame header to the destination address forwarding and switching.

(3)实现基于分组的动态带宽分配。 (3) implement a packet-based dynamic bandwidth allocation. 未来的统一公用网将采用分组交换技术,采用上述三种适配方法难以实现基于分组的动态带宽分配。 Unified future public networks will use packet switching technology, it is difficult to achieve adaptation method using three packet-based dynamic bandwidth allocation described above. 而采用本发明提供的方法通过实现以太网和SDH/SONET信号的分组化以及本发明提供的流量管理能力可以实现以太网接口和SDH/SONET接口的速率匹配,实现基于分组的动态带宽分配。 While the method of the invention may be implemented to provide Ethernet interface and SDH / SONET interfaces implemented by the packet and traffic management capabilities of the present invention to provide an Ethernet and SDH / SONET signal rate matching, dynamic bandwidth allocation packet-based.

(4)可以实现上层业务的直接转发和交换。 (4) can achieve upper-layer services directly forwarding and switching. 现有的以太网和同步数字体系或者同步光网络的融合的方法只支持点到点连接,上层业务每经过一个节点需要进行一系列的处理,不能直接转发上层业务。 Existing Ethernet and synchronous digital hierarchy or synchronous optical network fusion only support point to point connection, each of the upper layer service node through a series of processing required, the upper layer service can not be forwarded directly. 而采用本发明提供的方法通过实现给每个以太网或者SDH/SONET电路仿真信号分组的二层地址可以实现以太网MAC帧或者SDH/SONET电路仿真信号的直接转发和交换。 While the method of the invention may provide direct forwarding and switching the Ethernet MAC frame or the SDH / SONET signal to circuit simulation Layer address of each Ethernet or SDH / SONET signal packet circuit simulated by implementing.

(5)提高网络的健壮性,提高网络安全性,减少丢包率。 (5) improve the robustness of the network, improve network security and reduce the packet loss rate. 对于第一种即采用PPP+HDLC以及采LAPS的适配方式,由于HDLC帧以及LAPS帧采用的是特定字节(0X7E)实现帧定界,需要对以太网MAC帧进行透明处理,这种方式有两个缺陷,一是网络安全问题,那些怀有恶意的人只有把净荷信息全部设置为特定的那两个字节(0X7D、0X7E),那么这就导致网络的流量增加一倍,如果采用联合攻击,可能导致网络拥塞;此外,由于这两种适配方式都没有纠错功能,这样如果帧定界字节出现错误(出现错误的理论概率为1/28=1/256=0.00390625,即约为千分之3.9),就可能导致丢包。 For this first embodiment which uses PPP + HDLC Mining and LAPS adaptation mode, frame delimiting, Ethernet MAC frame needs to be processed since the transparent HDLC frame and uses LAPS frame specific byte (0x7E) implemented, there are two flaws, one network security issues, those malicious payload only the information that all the settings for a particular two bytes (0X7D, 0X7E), then this results in network traffic doubled, if use of combination attacks can cause network congestion; in addition, because these two methods are not adapted to error correction, so if the frame alignment byte errors (false theory probability is 1/28 = 1/256 = 0.00390625, That is about 3.9 per one thousand), may lead to packet loss. 本发明采用了BCH(31,16)码来实现DLP帧的定界,采用的是帧长度字段和帧长度校验字段的匹配关系实现帧定界的,实际使用时帧长度值是变化的,无需进行透明处理,而且在上层没有数据发送的时候,帧间隙的填充用的是专门的空闲帧,这样避免了PPP+HDLC或者LAPS适配方法可能带来的安全隐患。 The present invention uses a BCH (31,16) code to achieve delimited DLP frame, frame length is used in matching relation field and frame length check field delimited achieve frame, frame length values ​​actually used is varied, without transparent processing, and when there is no data to be transmitted in the upper layer, a frame gap is filled with idle frames are specialized, thus avoiding PPP + HDLC or LAPS adaptation method may cause safety problems. 此外,BCH(31,16)码提供了强大的纠错能力,最多可以纠3个随机错误,本发明推荐进行2个随机错误的纠错处理,同样在无纠错处理的情况下,PPP+HDLC以及采LAPS的适配方式的帧定界出现错误的理论概率为1/28=1/256=0.00390625,即约为千分之3.9,而采用本发明的出错理论概率为1/230=1/1073741824=0.000000000931,约为百亿分之9.3,这样极大的减少了由于帧定界错误可能带来的丢包。 Further, BCH (31,16) codes provide a powerful error correction capability can correct up to 3 random errors, the present invention is recommended two random error correction process, also in the case without error correction processing, PPP + probability theory and HDLC frame delimiting the mining LAPS adaptation mode error of 1/28 = 1/256 = 0.00390625, i.e., about 3.9 per one thousand, but the present invention is the theoretical probability of error is 1/230 = 1 /1073741824=0.000000000931, about ten billion 9.3 points, this greatly reduces the loss due to the frame alignment error may bring.

(6)与IP网络、分组话音网络兼容,实现多种业务的融合。 (6) compatible with the IP network, packet voice network, the integration of multiple services. 现有的以太网与SDH/SONET的适配方法的网络中,传统的话音业务与IP网业务是分开的,不能实现与IP网络和分组话音网络的兼容,而现在普遍认为未来的统一公用网将采用分组交换技术,这些适配方法对于如何实现话音业务分组化,使分组化话音业务与IP网络的融合等方面没有任何帮助。 Network adaptation of existing methods of Ethernet and SDH / SONET, the traditional voice services and IP network services are separate, not for compatibility with IP networks and packet voice network, and it is widely considered the future of a unified public network the packet switching technique, how to achieve these adaptation methods packetized voice service, so that the integration packetized voice traffic to the IP network and so on without any help. 而采用本发明提供的方法,一方面可以实现话音、数据和视频网络的三网融合,另外一方面可以实现不同物理网络的互联与融合,方法是DLP帧的目的地址码或者源地址码对于IP业务DLP帧的目的地址码或者源地址码分别表示IP包的目的IP地址和源IP地址的转发等价类,对于话音业务,该代码就是呼叫双方的电话号码,对于以太网与同步数字体系或者同步光网络融合的网络,目的地址码和源地址码就是以太网与SDH/SONET融合的信号的发送端和接收端的二层地址。 The use of the method provided by the invention, one can achieve the triple play of voice, data and video networks, on the other hand can be realized with the integration of different physical interconnected networks, the destination address is the source address code or codes frames for IP DLP DLP service object address code or the source address of the frame forwarding equivalence class codes respectively represent the IP packet destination IP address and source IP address for the voice service, the code is the telephone number of the calling and called parties, for Ethernet or synchronous digital Hierarchy synchronous optical network integration network, sending and receiving ends of Layer address of the destination code and the source address is the Ethernet address code and SDH / SONET signal fusion.

附图说明 BRIEF DESCRIPTION

下面结合附图和实例进一步说明本发明的特点。 Further features of the present invention is described below in conjunction with the accompanying drawings and examples.

图1为本发明所采用服务模型(构想示意图)图2为本发明用于同步传递模式传递以太网MAC帧的协议栈结构示意图图3为本发明用于子类同步传递模式传递以太网MAC帧的协议栈结构示意图图4为本发明用于以太网上传递SDH/SONET信号的协议栈结构示意图图5为本发明组网的协议栈配置举例示意图图6为本发明采用的用于传送以太网MAC帧或者SDH/SONET电路仿真信号的DLP帧数据结构图7为本发明采用的DLP控制帧结构图8为本发明采用的DLP流量管理帧结构图9为本发明所采用的DLP帧的帧定界方式所采用的有限状态图图10为本发明采用的目的地址码以及源地址码结构图11为本发明采用的DLP空帧结构图12为本发明所提出的用(X43+1)多项式扰码和解扰码的示意图图13为本发明的以太网MAC帧或者SDH/SONET电路仿真信号分组传送网络图图14为本发明提出的流量工程示意图,图15为本发明提出的 Stack structural diagram of the service model (a schematic conception) 2 of the present invention for synchronizing transfer mode transmission of Ethernet MAC frames of the present invention used in FIG. 1 to 3 of the present invention, the synchronous transfer mode transfer subclass Ethernet MAC frames protocol stack 4 is schematic structural diagram of the invention for transmitting protocol stack structure diagram of SDH / SONET signals over an Ethernet network 5 of the present invention, a protocol stack configuration example 6 of the present invention employs a schematic diagram for transmitting Ethernet MAC DLP frame delimiter frames used DLP traffic management frame configuration employed in FIG. 9 of the present invention DLP control frame structure of FIG. 8 employed in the present invention, the frame data structure of a frame DLP or SDH / SONET signal circuit simulation of the present invention 7 finite state diagram of FIG embodiment employed by the proposed 10 (X43 + 1) polynomial scrambler 11 DLP space frame structure 12 of the present invention employed in the present invention, the source address and destination address codes using the code structure of the present invention, FIG. traffic engineering schematic diagram of Ethernet MAC frames and descrambling the present invention 13 or SDH / SONET transmission signal packet circuit simulation network of the present invention proposes FIG. 14 and FIG. 15 of the present invention provides 太网帧在SDH/SONET上运行的应用举例,图16为本发明提出的SDH/SONET电路仿真分组在以太网上运行的应用举例。 Application of Ethernet frames running on the SDH / SONET example, SDH FIG. 16 the present invention proposes the application running on the Ethernet / SONET circuit emulation packet example.

本发明定义的所有DLP帧框图中信息传输的顺序均为先从左到右,然后从上到下,每个字节中首先传送最高有效位,所有框图中最左边的比特为最高有效位(MSB),最右边的比特为最低有效位(LSB),所有框图中保留字段值为0。 The present invention is defined in the block diagram all DLP frames are sequentially transmitted first information from left to right, then top to bottom, each byte in the most significant bit is transmitted first, all bits of a block diagram of the left-most bit is the most significant ( MSB), the rightmost bit is the least significant bit (LSB), all block diagrams reserved field is 0.

图1所示为本发明所采用服务模型(构想示意图),其中图1(a)所示为用DLP实现在SDH/SONET上传送以太网的构想示意图,在这种框架中,物理层为同步数字体系或者同步光网络,主要包括各类高阶和低阶虚容器,数据链路层为数据链路规程(英文缩写为DLP),以太网MAC帧位于DLP的客户层,数据链路层(DLP)对其客户层(MAC帧)提供的服务通过四个原语:数据链路-数据-请求(英文为DL_DATA.request)、数据链路-数据-指示(英文为DL_DATA.indication)、数据链路-控制-请求(英文为DL_CONTROL.request)、数据链路-控制-指示(英文为DL_CONTROL.indication)来实现,其中数据链路-数据原语为客户层提供数据传送服务而数据链路-控制原语提供网络控制服务,在发送端,如果有客户层有MAC帧需要发送,则调用DL_DATA.request原语,该原语包括一系列的参数,由该原语的参数确定DLP帧有关字段的值,在接收端 Figure 1 shows a service model of the present invention (schematic conception) use, wherein FIG. 1 (a) shows a schematic view of a DLP achieve contemplated Ethernet transmission over SDH / SONET, in this frame, the physical layer synchronization digital hierarchy or synchronous optical network, including mainly higher and lower order virtual container, the data link layer data link protocol (DLP English abbreviation), Ethernet MAC frame located DLP client layer, a data link layer ( DLP) to its client layer service (MAC frame) provided by the four primitives: link data - data - request (English as DL_DATA.request), data link - data - indication (English as DL_DATA.indication), data link - control - request (English as DL_CONTROL.request), data link - control - indication (English as DL_CONTROL.indication) is achieved, wherein the data link - primitive data to the client layer provides data transfer services and the data link - control primitives provide network control services, at the sending end, if a customer has a MAC layer frame needs to be sent, DL_DATA.request primitive is invoked, the primitive includes a series of parameters, determined by the parameters of the primitive frame related to DLP value of the field at the receiving end ,当有数据包(MAC帧)需要传送到上层时,调用DL_DATA.indication原语,利用该原语的参数解析出DLP帧各字段值,如果客户层需要数据链路层提供控制服务,调用DL_CONTROL.request和DL_CONTROL.indication原语,数据链路层与物理层间的通信通过两个原语:物理链路-数据请求(PL_DATA.request)和物理链路-指示(PL_DATA.indication)实现。 When there is a packet (MAC frame) needs to be transmitted to the upper layer, DL_DATA.indication primitive call, using the parameters of the primitive field values ​​DLP parsed frame, if the client layer needs to provide the data link layer control services, call DL_CONTROL achieved indication (PL_DATA.indication) - physical link - data requests (PL_DATA.request) and physical link: two communication primitives between .request and DL_CONTROL.indication primitives, the data link layer and the physical layer. 图1(b)所示为用DLP实现在以太网上传送SDH/SONET的构想示意图,在这种框架中,物理层为各种速率类型的以太网接口,数据链路层有两个子层,一个为以太网MAC子层,一个为DLP子层,其中DLP位于MAC子层之上,客户层为SDH/SONET电路仿真信号,DLP与其客户层间的通信通过四个原语:数据链路-数据-请求(英文为DL_DATA.request)、数据链路-数据-指示(英文为DL_DATA.indication)、数据链路-控制-请求(英文为DL_CONTROL.request)、数据链路-控制-指示(英文为DL_CONTROL.indication)来实现,DLP与以太网MAC子层间的通信通过以太网标准中的MA_DATA.request(MAC数据请求)和MA_DATA.indication(MAC数据指示)原语实现。 FIG 1 (b) shows a schematic concept implemented DLP transmitted SDH / SONET on Ethernet, in this framework, the rate of the physical layer for a variety of types of Ethernet interface, a data link layer has two sublayers, a Ethernet MAC sublayer, a sublayer for the DLP, DLP which is located above the MAC sublayer, the client layer is a SDH / SONET signal circuit simulation, a communication by DLP four primitives between its clients layers: data link - data - request (English as DL_DATA.request), data link - data - indication (English as DL_DATA.indication), data link - control - request (English as DL_CONTROL.request), data link - control - indication (English as DL_CONTROL.indication) to achieve communication between the DLP and the Ethernet MAC sublayer Ethernet standard MA_DATA.request (MAC request data) and MA_DATA.indication (MAC data indication) primitive implemented.

图2所示为本发明用于同步传递模式传递以太网MAC帧的协议栈结构示意图,其中在DLP以下,有两种放入虚容器的方法,一种是把DLP帧放入低阶虚容器,再把低阶虚容器以字节间插的方式按SDH的复用结构复用进高阶虚容器,再按照复用段,再生段和光电传输段的顺序进行传送,在接收端则按相反的顺序提取出DLP帧;另一种是把DLP帧直接映射进高阶虚容器的同步净荷包封(英文缩写SPE),再按照复用段,再生段和光电传输段的顺序进行传送,在接收端则按相反的顺序提取出DLP帧。 Protocol stack structure shown in FIG. 2 a schematic view of the present invention for synchronizing transmitting Ethernet MAC frame transfer mode, wherein in the DLP or less, there are two ways into the virtual container, one is placed in the lower order virtual container frames DLP , then the low order virtual container in byte interleaved manner as SDH multiplex structure multiplexed into higher order virtual containers, and then transmitted in the order multiplex section, regenerator and optical transmission section, the receiving end press DLP reverse order to extract frames; another is directly mapped into the frame DLP isochronous payload encapsulated higher order virtual container (abbreviation the SPE), then transmitted in the order multiplex section, regenerator and optical transmission section, DLP frame extracted at the receiving end in the reverse order.

图3是本发明用于子类同步传递模式传送以太网MAC帧的协议栈结构示意图,在这种方式中只把DLP帧放入低阶虚容器(VC11,VC12,VC2,)再把低阶虚容器以字节间插的方式按SDH的子类复用结构复用进子类复用段,经过再生段和光电传输段的顺序进行传送,在接收端则按相反的顺序提取出DLP帧。 FIG 3 is a subclass of the present invention is a schematic diagram of the synchronous transfer mode protocol stack structure of an Ethernet MAC frame is transmitted in this manner, only the lower order virtual container into the frame DLP (VC11, VC12, VC2,) then the low-order in the virtual containers by byte interleaved manner subclass SDH multiplex structure multiplexed into subclasses multiplex section, and after the order of the regeneration section of the optical transmission section to transmit, at the receiving end in the reverse order of extracted frame DLP .

图4为本发明用于在以太网上传递SDH/SONET信号的协议栈结构示意图,SDH/SONET电路仿真信号位于DLP的客户层,通过电路仿真实现SDH/SONET电路信号的分组化,在DLP之下为以太网MAC帧,以太网MAC帧之下通过协调子层把MAC帧映射到各种以太网的物理链路上,在接收端按照相反的顺序提取DLP帧,然后按照DLP帧帧序列号值按照顺序提取并还原出SDH/SONET信号,图中SDH/SONET表示同步数字体系或者同步光网络,DLP表示数据链路规程,MAC表示介质访问控制子层,PLS表示物理层信令子层,AUI表示附加单元接口子层,PMA表示物理介质接入子层,MDI表示介质相关接口子层,PMD表示物理媒体相关子层,PCS表示物理编码子层,MII表示介质无关接口子层,GMII表示千兆比特介质无关接口子层,XGMII表示10G介质无关接口子层,64B/66B表示64B/66B编码子层,8B/10B表示8B/10B编码子层,WIS表示广域 FIG 4 is a schematic structural diagram of a protocol stack the invention for transmitting SDH / SONET signals over Ethernet, SDH / SONET signal is at DLP circuit emulation client layer, packetized realize SDH / SONET signal circuit by circuit simulation, under the DLP Ethernet MAC frame through the Ethernet MAC frames under the Reconciliation sublayer maps the MAC frame to the various Ethernet physical link, the receiving end extracts frames in reverse order DLP, DLP frames and a sequence number value in accordance with in order to extract and restore the SDH / SONET signal, FIG SDH / SONET or synchronous digital hierarchy represents a synchronous optical network, DLP denotes a data link protocol, medium access control the MAC sublayer indicates, the PLS sublayer represents the physical layer signaling, the AUI Attachment unit Interface represents sublayer, PMA represents a physical medium access sublayer, MDI represents a sub-layer medium dependent interfaces, PMD sublayer represents the physical media dependent, PCS represents a physical coding sublayer, MII represents independent sub-layer media interface, GMII means thousandths media independent Interface megabits sublayer, XGMII represents independent sub-layer media interface 10G, 64B / 66B represents a 64B / 66B coding sublayer, 8B / 10B represents 8B / 10B coding sublayer, WIS represents a wide area 接口子层,实际使用时要求以太网的接口速率要大于或者等于SDH/SONET链路速率。 Sub-layer interfaces, Ethernet interface rate requirement is greater than or equal to the SDH / SONET link rates practical use.

图5为本发明组网的协议栈配置举例示意图,分为两种情况,在图5(a)所示的情况,以太网接口通过SDH/SONET接入另外一个以太网的进端和出端的协议栈配置,其中LLC表示逻辑链路控制子层,MAC表示介质访问控制子层,SDH/SONET表示准同步数字体系,LAN表示局域网,IP表示因特网协议(包括因特网协议第四版IPv4和因特网协议第六版IPv6),TCP表示传输控制协议,UDP表示用户数据报协议,EthernetPHY表示以太网物理接口,DLP表示数据链路规程,“Ethernet over SDH/SONET”表示以太网与同步数字体系或者同步光网络的融合,在网关处,同时配有SDH/SONET和以太网两类物理接口,而客户层仍然是IP不变,但在以太网与SDH/SONET融合的网络中,无需在网络层进行处理,直接在数据链路层通过DLP帧可以实现以太网MAC帧的转发处理;对于图5(b)所示的情况是SDH/SONET接口通过以太网接入另 5 of the present invention networking schematic diagram illustrating a protocol stack configuration, divided into two cases, in the case shown in FIG. 5 (A), Ethernet interface via SDH / SONET access further into the end of an Ethernet end and protocol stack configuration in which represents LLC Logical link Control sub-layer, MAC medium access control sublayer represents, SDH / SONET synchronous digital hierarchy represents quasi, LAN denotes local area network, the Internet represents the IP protocol (Internet protocol version IPv4 and including an Internet protocol sixth Edition IPv6), TCP represents a transmission control protocol, UDP user datagram protocol represents, EthernetPHY the Ethernet physical interface, DLP denotes a data link protocol, "Ethernet over SDH / SONET" indicates Ethernet or synchronous optical synchronous digital Hierarchy integration of the network, at the gateway, while with SDH / SONET and Ethernet physical interface types, and the client is the IP layer remains unchanged, but in an Ethernet network with SDH / SONET fusion, the process need not be at the network layer , the data link layer in the direct transfer process may be implemented by the Ethernet MAC frame DLP frame; Ethernet access to FIG. 5 (b) is shown in the case of SDH / SONET interface to another 一个SDH/SONET接口的进端和出端的协议栈配置即在以太网上传送SDH/SONET的配置,在进端配置有SDH/SONET和以太网两种物理接口,通过电路仿真实现SDH/SONET信号的分组化,把分组化后的SDH/SONET信号封装到DLP帧,然后把DLP帧封装到以太网MAC帧中,随后SDH/SONET信号在网络中的传送处理依据DLP帧来实现,在出端还原为原来的SDH/SONET信号。 A SDH / SONET interface and the intake side end of the protocol stack that is disposed on the Ethernet transmitting SDH / SONET is disposed, is disposed SDH / SONET and Ethernet interfaces at the inlet end of the two physical realize SDH / SONET signal by a circuit simulation packetized, the packets of the SDH / SONET signal frame encapsulated DLP, DLP and the frame is encapsulated into an Ethernet MAC frame, then SDH / SONET transmission signal processing in a network implemented based on DLP frame at the reducing end original SDH / SONET signal.

图6所示为本发明采用的用来传送以太网MAC帧或者SDH/SONET电路仿真信号的DLP帧数据结构,DLP数据帧由帧长度(FL)、帧长度校验(FLC)、R字段(1比特的保留字段)、业务类型字段、拓扑字段、安全字段、目的地址码、源地址码、扩展报头、填充长度字段、帧序列号字段、安全参数索引、净荷字段、填充数据字段、认证数据字段和帧校验序列等字段组成,其中安全参数索引、填充数据字段和认证数据字段是可选项,由采用的认证、加密算法确定,所有框图中信息传输的顺序均为先从左到右,然后从上到下,每个字节中首先传送最高有效位(MSB),所有插图框图中的最左边的比特为最高有效位,最右边的一位为最低有效位(LSB),所有框图中的保留字段值为0。 As shown in FIG. 6 DLP frame data structure for transmitting frames or Ethernet MAC SDH / SONET signal circuit simulation using the present invention, DLP data frame by the frame length (FL), frame length check (FLC), R field ( 1-bit reserved field), the service type field, the topology field, a security field, a destination address code, source address code, extension headers, padding length field, a frame sequence number field, a security parameter index, payload field, fill the data field, the authentication data field and a frame check sequence fields and the like, wherein the security parameter index, fill the data field and the authentication data field is optional, is determined by the authentication encryption algorithm used, all the information transmitted sequence diagram from left to right are first and then from top to bottom, each byte transmitted first block diagram of all the most significant bit (MSB), the left-most bit in the block diagram illustrations of the most significant bits, the rightmost bit is the least significant bit (LSB), 0 is a reserved field.

图7为本发明采用的DLP控制帧结构,DLP控制帧由帧长度、帧长度校验、R字段(1比特保留字段,设置为0)、业务类型、拓扑字段、安全字段、目的地址码、源地址码、扩展报头、填充长度字段、帧序列号、净荷信息字段以及帧校验序列字段等字段组成,其中帧长度、帧长度校验、R字段(1比特保留字段)、业务类型、拓扑字段、安全字段、目的地址码、源地址码、帧序列号等字段长度与DLP数据帧一样,扩展报头字段值为0(二进制值为00000000),业务类型字段值为二进制“10000001”表示DLP净荷字段封装的是控制信息,控制信息采用类型-长度-值(TLV)结构。 FIG 7 DLP control frame structure employed in the present invention, DLP control frame by the frame length, the frame length check, R field (1 bit Reserved field is set to 0), the service type, topology field, a security field, a destination address code, source address code, extension headers, padding length field, a frame sequence number, payload information field, and a frame check sequence field and other fields, wherein the frame length, the frame length check, R field (1 bit reserved field), service type, topology field length field, a security field, a destination address code, address code source, like a DLP frame sequence number as the data frame, the extended header field value of 0 (binary value 00000000), the service type field value is binary "10000001" indicates DLP payload field package, the control information, the control information using the type - length - value (TLV) structure.

图8为本发明采用的DLP流量管理帧结构,DLP流量管理帧由帧长度、帧长度校验、R字段(1比特保留字段,设置为0)、业务类型、拓扑字段、安全字段、目的地址码、源地址码、扩展报头、填充长度、帧序列号、净荷信息字段以及帧校验序列字段等字段组成,其中帧长度、帧长度校验、R字段(保留字段)、业务类型、拓扑字段、安全字段、目的地址码、源地址码、帧序列号等字段长度与DLP数据帧一样,扩展报头字段值为0(二进制值为00000000),业务类型字段值为二进制“10000010”表示DLP净荷为流量管理信息,流量管理信息采用类型-长度-值(TLV)结构。 FIG 8 DLP traffic management using business type frame structure, field topology, the security field, the destination address of the present invention, DLP traffic management frame from the frame length, the frame length check, R field (1 bit Reserved field is set to 0), code, source address code, an extension header, the stuffing length, a frame sequence number, payload information field and a frame check sequence field and other fields, wherein the frame length, the frame length check, R field (reserved field), traffic type, topology field length field, a security field, a destination address code, address code source, like a DLP frame sequence number as the data frame, the extended header field value of 0 (binary value 00000000), the service type field value is binary "10000010" represents the net DLP charge information as traffic management, the management information using the traffic type - length - value (TLV) structure.

图9为发明所采用的DLP帧的帧定界算法所采用的有限状态图,本发明定义的DLP帧采用类似ITU-T1.432.1.1建议中定义的ATM中所采用的基于报头错误校验(英文缩写为HEC)的帧定界描述方法,利用接收到的最初的31比特即FL和FLC字段比特构成BCH(31,16)码的编码关系实现DLP帧的帧定界,DLP帧定界描述算法由有限状态机图确定,有限状态机工作流程图如下:(1)在搜索态,DLP处理对接收到的31比特进行逐比特搜索寻找正确格式的FL和FLC关系,在这种状态下,BCH码不具有对FL字段和FLC字段的单比特错误或者2比特错误纠错功能,一旦在接收到的31比特中找到正确的候选FL和FLC匹配关系值,即可假定确定了一个正确的DLP帧,接收处理进入预同步(英文为PRESYNC)状态,(2)在PRESYNC态,DLP处理通过逐帧搜索处理来实现DLP帧定界,依据上一步逐比特搜索找到的FL和FLC正确匹配值,即可假 FIG 9 is a finite state algorithm DLP frame delimiter frames invention employed employed, DLP frame defined by the present invention employs ATM ITU-T1.432.1.1 similarly defined in recommendation employed based on the header error check frame delimiter described method (abbreviation of HEC), and using the received initial 31 bits i.e. bits constituting the field FL and FLC relationship BCH encoder (31, 16) code frame to achieve frame delimitation DLP, DLP frame delimitation determined by the algorithm described finite state machine diagram, a flowchart of a finite state machine are as follows: (1) in the HUNT state, 31-bit-by-bit search to find the correct relations FL and FLC processing format DLP received in this state , the BCH codes do not have a single bit error or 2-bit error correction function and the FL field FLC field, find the correct candidate value matching relationship FL and FLC Once received 31 bits, it can be assumed to set a correct DLP frame, into a pre-synchronous reception process (English as PRESYNC) state, (2) in the PRESYNC state, DLP DLP process to achieve frame delimiting, frame by frame search processing step by FL and FLC bits found by the search based on the correct matching values , you can fake 搜索到一个正确的DLP帧,然后依据该帧各字段关系可以确定下一帧的FL和FLC字段值,并依据他们的关系确定他们是否匹配,然后再下一帧,一旦连续确定DELTA(DELTA为一个参数,它是一个大于0的正整数)个正确的DLP帧,DLP接收处理进入同步态,反之,如果随后一帧的FL和FLC字段值不匹配,进入搜索态,此时,BCH码不具有对FL字段和FLC字段的单比特错误或者2比特错误纠错功能,从搜索态进入同步态需要连续搜索到DELTA+1个正确的DLP帧,(3)在同步态,DLP处理通过一个帧的FL和FLC字段关系可以确定下一个DLP帧的开始,然后可以实现一帧一帧的解析,在这种状态下FLC具有单比特错误或者2比特错误纠错功能,如果发生多个比特(超过2比特错误)错误,则帧定界失效,成帧处理进入搜索态,并给客户适配处理发出客户服务器信号失效(英文缩写为SSF)指示,(4)空DLP帧参与 Searching for the right to a DLP frame, then you can determine the value of FL and FLC field next frame based on the relationship between the fields of the frame, and based on their relationship to determine whether they match, then the next frame, once determined continuously DELTA (DELTA is a parameter, which is a positive integer greater than 0) number of correct frame DLP, DLP enter the synchronized reception process state, and vice versa, if the FL and FLC of a subsequent field values ​​do not match, enter the search state, this time, the BCH code is not having a single bit error field and the FL field FLC or 2-bit error correction function, enter the search state from the synchronous state needs to continuously search for the one correct DELTA + 1 DLP frame (3) in the synchronization state, a frame is processed by DLP the relationships between fields FL and FLC DLP can determine whether the next frame is started, and may be implemented parse a frame, in this state has a single-bit errors FLC or 2-bit error correction function, if a plurality of bits occurs (more than 2-bit error) error, then the frame delimitation failure, the process proceeds to search for the framing state, and issues the client server signal fail (the English abbreviation SSF) indicating to the client adaptation process, (4) an empty frame DLP participation 定界处理,并随后丢弃空帧,DLP帧定界处理的键壮性与DELTA值有关,本发明建议DELTA值为1。 Delimitation process, and then discarded null frame, DLP frame delimitation of the strong bond with the process-related value DELTA, DELTA present invention suggests a value of 1.

图10为本发明采用的目的地址码和源地址码结构,目的地址码和源地址码分别用来表示DLP客户信号的目的地址和源地址,源地址码的编码结构与目的地址码相同,目的地址码(英文缩写为DAC)的长度为64比特(8个八位位组),用来标识采用DLP的网络中DLP帧的目的转发地址,DAC字段由以下4个部分组成:国家码字段、国内地区码、节点代码、用户代码。 It is used to denote the same coding structure and destination address the destination address and the source address of the client signal DLP, a source address code and the address code object code address source code structure, the destination address and the source code using the address code of the present invention in FIG. 10, the purpose of address code length (abbreviation of DAC) of 64 bits (8 octets) for identifying the destination network using the DLP DLP frame forwarding address, the DAC field consists of the following four components: Country code field, domestic area code, node code and user code. 其中:国家码字段长度为16比特(2个八位位组),该码为DLP帧的第一级转发标签,国内地区码字段长度为16比特,该码为DLP帧的第二级转发标签,节点代码字段为16比特,标识某个网络节点的业务代码,该码为DLP帧的第三级转发标签,具体值由网络运营商或者网络服务供应商指定;用户代码字段长度为16比特,指示某个用户的业务代码,该码为DLP帧的第四级转发标签,具体的UC值由网络运营商或者网络服务供应商指定。 Wherein: country code field length is 16 bits (2 octets), which code for the first stage of the DLP frame forwarding label, home area code field length is 16 bits, the code is a second stage forwarding label frame DLP node code field is 16 bits, a service code identifying the network node, the code for the third stage DLP frame forwarding label, the specific value is specified by the network operator or network service provider; user code field length is 16 bits, indicating a user's business code, the code for the fourth grade DLP frame forwarding label, specific UC value is specified by the network operator or Internet service provider.

图11为本发明采用的DLP空帧结构,发送空帧的目的是为了调节两节点间的速率,它从一个节点发送到其相连的最邻近节点,邻居节点接收到空帧后不把它转发到任何其它地方,直接把它丢弃,DLP空帧由帧长度字段(16比特)、帧长度校验字段(15比特),一个长度为1比特的保留字段(R字段,设置为0),只包括节点代码和用户代码字段长度为4个字节的源地址码组成。 FIG 11 DLP null frame structure employed in the present invention, the object is null frame sending order to adjust the rate between the two nodes, it sends to the nearest node from a node connected to its neighbor nodes after receiving the null frame is not forwarded to it to any other place, it is discarded directly, DLP empty frames frame length field (16 bits), frame length check field (15 bits), a length of 1-bit reserved field (R field set to 0), only node code and user code comprises a length field is 4-byte source address code components.

图12所示为本发明所提出的用(X43+1)多项式扰码和解扰码的示意图,图中D1到D43表示寄存器的第1到43位,虚框围起来的部分表示一个43比特移位寄存器,园圈部分表示一个异或逻辑电路,按照图中的逻辑关系,在发送端,把DLP帧从“扰码前的数据流输入”到“扰码后的数据流输出”即可完成扰码功能;在接收端,从“扰码数据流输入”到“解扰码后的数据流输出”即可完成解扰码功能;也可以从D1到D43移位的移位寄存器,但相应的逻辑关系也应作调整。 As shown in FIG. 12 proposed by the present invention (X43 + 1) polynomial schematic scrambling and descrambling, D1 to D43 in FIG. 1-43 represents the register dotted box represents a portion surrounded shift bit 43 bit registers, circles represent part of an exclusive oR logic circuit, in accordance with the logic diagram, at the transmitting end, from the DLP frame "data before scrambling stream input" to the "output data stream after scrambling" to complete scrambling function; at the receiving end, from the "scrambled data stream input" to the "output data stream descrambled code" to complete the descrambling function; D1 to D43 may be shifted from the shift register, but the corresponding the logic should also be adjusted.

图13为本发明的以太网MAC帧或者SDH/SONET电路仿真信号在用DLP实现的以太网与SDH/SONET融合的网络传送示意图,图中深色园点表示边缘节点,白色圆圈表示核心节点,网络边缘节点接入用户后,依据设置的接口地址所属的国家、哪个地区、哪个节点进行分类处理,并把目的地址码和源地址码值填充到目的地址码和源地址码字段中,同时把整个以太网MAC帧或者SDH/SONET电路仿真信号分组映射到DLP帧的净荷字段中,随后,整个网络只需利用DLP帧报头中的目的地址码实现以太网MAC帧或者SDH/SONET电路仿真信号分组(封装在DLP帧中)的转发;转发处理时,首先依序查找DLP帧目的地址码中的国家码,国内地区码,节点代码,用户代码,本发明采用最长匹配原则对DLP帧进行转发处理,一旦发现DLP帧的目的地址码某一字段值与本地节点对应字段值不同,则停止搜索,直接转发 Ethernet MAC frame or the SDH / SONET signal circuit simulation of FIG. 13 is a schematic view of the invention in a network transmit Ethernet SDH / SONET fusion with DLP implemented Park FIG dark dots represent the edge node, a white circle represents a core node, after the user access network edge node, according to the state of the interface address belongs to which region, which node classification process, and fill the object code and the source address to the destination address value of the address code source code and address code field, while the Ethernet MAC frame or the entire SDH / SONET signal circuit emulation packet is mapped to the payload field DLP frame, then the entire network address code simply use DLP object frame header of frames or Ethernet MAC SDH / SONET signal circuit simulation packet (in the encapsulated frame DLP) forwarded; forwarding process, the first frame sequentially to find DLP country code in the destination address code, national area code, the code node, user code, the present invention is the longest match principle DLP frame forwarding process, once the purpose of a frame DLP address code field values ​​correspond to different field values ​​of the local node, the search is stopped and forwards 该数据包。 The data packet.

具体实施方式 detailed description

本发明所提出的设想主要用于具有以太网接口或SDH/SONET接口的各种通信设备如各种路由器(核心或者高端交换路由器、边缘或者汇聚交换路由器、接入交换路由器)、基于分组(包)交换的各种高/中/低端以太网交换机、多业务传送平台(英文缩写为MSTP)、用户端综合接入设备、以太网与同步数字体系或者同步光网络互联的设备以及与通信有关的各种互联互通设备。 The contemplated by the present invention is mainly used for various communication device interfaces with an Ethernet or SDH / SONET interface, such as various routers (or core-end switch router, the edge or aggregation switch router, access switch router), a packet-based (packet ) exchanges various high / medium / low-end Ethernet switches, multi-service transport platform (abbreviation of the MSTP), the UE integrated access devices, Ethernet synchronous digital hierarchy or synchronous optical networking and communications equipment and related the various interconnection devices.

图14为本发明提出的以太网帧在SDH/SONET上运行的应用举例,其中EOS适配器表示采用本发明提出的以太网与同步数字体系或者同步光网络融合的适配方法的以太网与同步数字体系或者同步光网络融合适配器,ADM表示表示SDH传输设备的分插复用器,利用SDH环中的这一SDH/SONET通道,可以把两个不同地域的以太网交换机连接起来,以太网交换机可以是以太网二层交换机或者是以太网三层交换机,以太网交换机端口速率可以是10Mbps、100Mbps、10/100Mbps、1000Mbps中的任意一种,在实际使用中,本发明提出的以太网与同步数字体系或者同步光网络融合的适配器有三种使用方案:一种是用于SDH/SONET传输设备或者多业务传输平台,使这些设备中直接提供各种速率的以太网接口;一种是用于以太网交换机中,使以太网交换机能够提供SDH/SONET接口从而可以直接与SDH/SONET设备相 Application of the present invention proposes FIG 14 running Ethernet frames on SDH / SONET example, where EOS adapter proposed by the invention represents a use of the synchronous digital hierarchy Ethernet or Synchronous Optical Network adaptation method fused synchronous digital Ethernet fusion system or synchronous optical network adapter, the ADM SDH transmission equipment represents represents drop multiplexer using the SDH / SONET channel SDH ring may be two different areas of the Ethernet switch connected, Ethernet switch Ethernet switch or Ethernet Layer three switches, Ethernet switches may be port rate 10Mbps, 100Mbps, 10 / 100Mbps, 1000Mbps any one of, in actual use, the present invention provides a synchronous digital Ethernet or synchronous optical network system integration scheme using three adapters: one for the SDH / SONET transmission device or a multi-service transport platform, so that the device directly these various speed Ethernet interfaces; one is for Ethernet switch, the Ethernet switch to provide SDH / SONET interfaces and thereby SDH / SONET device relative to the direct 接(互联),还有一种是直接用于以太网与SDH/SONET互联的设备,实现以太网网络和SDH/SONET网络的互联,这样图中的以太网与SDH/SONET的适配器在以太网与SDH/SONET融合的网络中可以是位于SDH分插复用器中,可以是位于以太网交换机中也可以以单独的适配器形式而存在。 Connection (Internet), there is a direct Ethernet for SDH / SONET network devices, interconnected Ethernet, Ethernet with such figures SDH / SONET network adapters and SDH / SONET and Ethernet network network SDH / SONET fusion may be located SDH add-drop multiplexer may be located in the Ethernet switch may also be in the form of a separate adapter is present.

图15为本发明提出的SDH/SONET电路仿真分组在以太网上运行的应用举例,图中SOE适配器表示采用分发明定义的以太网与同步数字体系或者同步光网络融合的适配器,云状部分表示一种以太网组成的一个网络,以太网网络上有各种速率的以太网接口(如10Mbps、100Mbps、10/100Mbps、1000Mbps或者10G以太网接口),以太网交换机可以是以太网二层交换机也可以是以太网三层交换机,通过本发明提出的以太网与SDH/SONET融合的适配方法,可以实现SDH/SONET在以太网上的传送,把两个不同地域的SDH/SONET网络连接起来,SDH/SONET接口的速率可以是现有SDH/SONET标准速率接口中的任意一种(实际使用时应尽量保证SDH/SONET接口速率与以太网接口速率相接近),在实际使用中,本发明提出的以太网与同步数字体系或者同步光网络融合的适配器有三种使用方案:一种是用于SDH/SONET传输设备或者 SDH present invention set forth in FIG. 15 / Ethernet application running on a SONET circuit emulation packet example, represented in FIG SOE adapter sub invention defined using Ethernet synchronous digital hierarchy or synchronous optical network convergence adapter, showing a cloud-like portion Ethernet network consisting of a species, a variety of Ethernet network speed Ethernet interface (e.g., 10Mbps, 100Mbps, 10 / 100Mbps, 1000Mbps Ethernet interfaces or 10G), the Ethernet switch can be an Ethernet switcher may be three Ethernet switch, the Ethernet adaptation and SDH / SONET fusion proposed by the present invention, transmitting SDH / SONET on Ethernet can be achieved, the two different regions of the SDH / SONET network are connected, SDH / SONET rate of the interface may be any conventional SDH / SONET interface standard rate (actual use should try to ensure that SDH / SONET and Ethernet interface rate close to the rate), Ethernet in actual use, the present invention provides network with synchronous digital hierarchy or synchronous optical network adapter fusion three schemes: one is for SDH / SONET transmission device or 多业务传输平台,使这些设备中直接提供各种速率的以太网接口;一种是用于以太网交换机中,使以太网交换机能够提供SDH/SONET接口从而可以直接与SDH/SONET传输设备相连接(互联),还有一种是直接用于以太网与SDH/SONET互联的设备,实现以太网网络和SDH/SONET网络的互联,这样图中的以太网与SDH/SONET的适配器在以太网与SDH/SONET融合的网络中可以是位于SDH分插复用器中,可以是位于以太网交换机中也可以以单独的适配器形式而存在。 Multi-Service Transport Platform device directly so that various rates of these Ethernet interfaces; one is for Ethernet switch, the Ethernet switch to provide SDH / SONET interfaces can be connected directly to the SDH / SONET transmission equipment (Internet), there is a direct Ethernet for SDH / SONET network devices, interconnected Ethernet, Ethernet with such figures SDH / SONET network adapters and SDH / SONET and SDH Ethernet network network / SONET fusion may be located in the SDH add-drop multiplexer may be located in the Ethernet switch may also be in the form of a separate adapter is present.

Claims (13)

  1. 1.一种用于以太网与同步数字体系或者同步光网络的融合的适配方法,其特征在于,通过定义一个新型的数据链路层协议——数据链路规程(英文缩写为DLP),一方面利用这个新型的数据链路层协议(DLP)来实现因特网协议(IP)、分组话音业务和分组视频业务(数字电视)与各种物理层设施的直接适配,实现话音、数据(IP)与视频网络的三网融合,在数据链路层统一整个通信网,使现有的通信网络平滑过渡到下一代统一电信级公用网,另一方面用这一新型的数据链路层协议实现包括以太网和同步数字体系或者同步光网络在内的不同网络的融合从而实现不同物理网络的互联,用这个新型的数据链路层协议实现以太网与同步数字体系(SDH)或者同步光网络(SONET)的融合时分别把以太网MAC帧或者SDH/SONET电路仿真信号作为这个新型的数据链路层协议的客户层信号处理,利用 An Ethernet adapting the synchronous digital hierarchy or synchronous optical method for integration of network, characterized by defining a new data link layer protocol - data link protocol (DLP English abbreviation), with this new aspect of the data link layer protocol (DLP) to implement an Internet protocol (IP), adapted to direct a packet voice and video packet service (digital TV) and various physical layer facilities for voice, data (IP ) with a triple play video network, the data link layer unify the entire communication network, existing communication network unified smooth transition to the next carrier-class public networks, on the other hand with this new data link layer protocol including fusion Ethernet and synchronous digital hierarchy or synchronous optical networks of different networks, including the Internet in order to achieve different physical networks, Ethernet and synchronous digital Hierarchy (SDH) or synchronous optical network with the new data link layer protocol ( the Ethernet MAC frame or each SDH / SONET signal as a circuit simulation of this new data link layer protocol fusion SONET) client layer signal processing, using 这个新型的数据链路层协议作为客户信号(以太网MAC帧或者SDH/SONET电路仿真信号)层与物理层(SDH/SONET或者以太网)的适配协议从而实现在SDH/SONET上传送以太网或者在以太网上传送SDH/SONET,数据链路层(DLP)与客户层间的通信以及物理层与数据链路层(DLP层)间的通信都通过原语来实现,利用这一新型的数据链路层协议定义的分级的、兼容现有电话号码体系的目的地址码和源地址码来表示客户信号的目的地址和源地址,利用二层数据链路层地址实现客户信号的二层转发与交换,利用这一新型数据链路层协议提供的安全机制来保证客户信号(以太网MAC帧或者SDH电路仿真信号)业务在网络传送过程中的安全传送,用所述的新型数据链路层协议中定义的数据帧来传送来自上层的各种业务数据,定义的控制帧来实现网络的包括拓扑发现、2层保护倒换、故障管理、配置管 This new data link layer protocol as a client signal (Ethernet MAC frame or the SDH / SONET signal circuit simulation) layer and the physical layer (SDH / SONET or Ethernet) is adapted to transmit Ethernet protocol in order to achieve the SDH / SONET or transmitting SDH / SONET, the data link layer (DLP) to communicate on Ethernet communication between the physical layer and the data link layer (DLP layer) between the client layer through the primitive, using this new data hierarchical link layer protocol definition, and source code compatible with the destination address the address codes prior to the telephone number system indicates the destination and source addresses of the client signal, the layer 2 data link layer address of the client signal to achieve layer 2 forwarding and exchange, this new security mechanism to provide data link layer protocol to ensure the security of transmitting the client signal (Ethernet MAC frame signals or SDH circuit emulation) operations in the course of transmission network, with the new data link layer protocol defined in the data frame to the control frame transmitted from an upper layer of the kind of service data, to achieve defined network comprises a topology discovery, layer 2 protection switching, fault management, configuration tube 和性能管理等在内的网络控制管理,定义的流量管理帧来实现网络的流量工程管理。 And performance management including network control and management, traffic management frame defined by traffic engineering network management.
  2. 2.根据权利要求1所述的方法,其特征在于,通过定义一个新型的数据链路层协议——数据链路规程(英文缩写为DLP),一方面利用这个新型的数据链路层协议(DLP)来实现因特网协议(IP)、分组话音业务和分组视频业务(数字电视)与各种物理层的直接适配从而实现话音、数据(IP)与视频网络的三网融合,在数据链路层统一整个通信网,使现有的通信网络平滑过渡到下一代统一电信级公用网,另一方面用这个新型的数据链路层协议实现包括以太网和同步数字体系或者同步光网络在内的不同网络的融合从而实现不同物理网络的互联,所述的新型数据链路层协议帧的帧定界是依靠该数据链路层协议帧最开始一定长度内的比特信息构成的特定相互关联关系(构成某种特定编码关系)来实现的,在所述的新型数据链路层协议中定义一个帧长度(英文为Frame Length,FL)字段用 The method according to claim 1, characterized in that, by defining a new data link layer protocol - data link protocol (DLP English abbreviation), on the one hand the use of this new data link layer protocol ( DLP) to implement an Internet protocol (IP), packet voice and video packet service (digital TV) adapted to direct various physical layer in order to achieve the triple play of voice, data (IP) video network, the data link layers unify the entire communication network, existing communication network unified smooth transition to the next carrier-class public networks, on the other hand with the new data link layer protocol, including Ethernet and synchronous digital hierarchy or synchronous optical network including integration of different networks in order to achieve different physical interconnected networks, frame delimiting said new data link layer protocol frame is to rely on the data link layer protocol frame beginning specific relationship to each other within a length of the information bits consisting of ( constitute a specific relation coding) implemented, as defined in the new data link layer protocol according to a frame length (English as Frame Length, FL) with field 以字节形式标识该数据链路层协议帧的总长度,定义一个帧长度校验(英文为Frame Length Check,FLC)字段用来对帧长度字段进行校验并进行单比特错误或者2比特错误纠错处理同时利用这两个字段比特构成的这种特定校验编码关系实现所述的新型数据链路层协议帧的帧定界,定义一个业务类型(英文为Service Type,ST)字段用来标识净荷字段封装的业务类型,从而实现多业务的封装,同时规定不同的业务类型具有不同的优先级,定义一个拓扑字段(英文为Networks Topology,NT)来标识网络节点的拓扑类型,定义一个安全(英文为Security)字段用来标识是否对封装的净荷进行加密、认证处理,定义一个分级的目的地址码(英文为Destination AddressCode,DAC)和源地址码(英文为Source Address Code,SAC)来标识封装业务数据包的二层目的地址和源地址,定义一个扩展报头(英文为Extension Head It identifies the data link layer protocol frame in bytes the total length, a frame length defined check (English as Frame Length Check, FLC) field is used to verify a frame length field and a single bit error or 2-bit error error correction processing while using this particular relationship between the two check code bits constituting the field implementation of the new frame delimiter data link layer protocol frame, a define service type (English as service type, ST) field is used field identifies the payload type encapsulated business, in order to achieve multi-service packages, while predetermined different traffic types with different priorities, a defined topological field (English as networks topology, NT) to identify the type of network topology of nodes, defining a safety (English as security) field is used to identify whether the payload package is encrypted, the authentication process, the definition of a hierarchical destination address codes (English as Destination AddressCode, DAC) and a source address code (English as source address code, SAC) identifying Layer encapsulated service data packet destination address and source address, define an extension header (English as extension head er,EH)字段来标识是否对净荷进行扩展处理,定义一个填充长度字段用来以字节形式表示要进行填充处理如对净荷进行认证、加密处理时填充的长度,定义一个帧序列号(英文为Frame Sequence Number,FSN)字段用来标识数据链路层协议帧的发送序列,定义一个安全参数索引(英文为Security Parameter Index,SPI)来标识对数据认证加密处理时通信两端建立的安全关联,定义一个净荷(英文为Payload)字段来封装来自上层的各种业务,定义一个帧校验序列(英文为Frame Check Sequence,FCS)字段来对所述的新型数据链路层协议帧进行校验,在所述的新型数据链路层协议帧中定义一类数据帧来传送来自上层的各种业务数据,定义流量管理帧来实现网络的流量工程管理,定义控制帧来实现网络的包括拓扑发现、2层保护倒换、故障管理、配置管理和性能管理等在内的网络控制管理,这 er, EH) field to identify whether the payload performs an expansion process, a padding length field is defined to be used to indicate the padding process the payload in bytes, such as authentication, encryption processing filling length, define a frame sequence number (English as frame sequence Number, FSN) field is used to identify a data link layer protocol frame transmission sequence, define a security parameter index (English as security parameter index, SPI) used to identify both ends of the communication data encrypted authentication established security association defines a payload (English as payload) encapsulating various business fields from an upper layer, the definition of a frame check sequence (English as frame check sequence, FCS) field to the frame of the new data link layer protocol verify, define a class of traffic data frame to transmit various data from an upper layer, to define the traffic management frame traffic engineering network management in the new data link layer protocol frame, a control frame defined to achieve network including topology discovery, two-layer protection switching, fault management, configuration management and performance management, including network control and management, which 种不同类型的帧由所述的新型数据链路层协议帧中的类型字段来标识,具体如下:定义帧长度(英文缩写为FL)字段长度为16比特,定义帧长度校验字段(英文缩写为FLC)长度为15比特,使FL和FLC字段比特构成BCH(31,16)码(BCH为博斯-乔赫里-霍克文黑姆码的英文缩写),DLP帧利用这种关系来实现DLP帧的帧定界并对FL出现的单比特或者2比特错误进行纠错处理,BCH(31,16)码的生成多项式为G(x)=x15+x11+x10+x9+x8+x7+x5+x3+x2+x+1,初始化值为0,这里x15对应最高有效位(英文缩写为MSB),x0对应最低有效位(英文缩写为LSB),DLP帧利用DLP帧中前面31比特(FL字段和FLC字段)的特定编码关系来实现DLP帧的定界,DLP帧定界过程依据有限状态机来实现,有限状态机包括三个状态:搜索(英文为HUNT)态、预同步(英文为PRESYNC)态、同步(英文为SYNC)态,有限状态机工作流程图如下:(1)在搜索态,DLP处理 Different types of frame identified by said new data link layer protocol type field in the frame, as follows: define the frame length (FL English abbreviation) field length is 16 bits, the frame length is defined check field (abbreviation as FLC) 15-bit length of the bits constituting the field FL and FLC BCH (31,16) code (BCH as Bose - Chaudhuri - Hocquenghem code abbreviation), DLP frame using this relationship to achieve DLP frame delimiter frames and single-bit or 2-bit error occurs FL error correction process, a generator polynomial BCH (31,16) code is G (x) = x15 + x11 + x10 + x9 + x8 + x7 + x5 + x3 + x2 + x + 1, the initialization value of 0, this corresponds to the most significant bit x15 (English abbreviation MSB), x0 corresponding to the least significant bit (the English abbreviation for the LSB), DLP frame using 31 bits DLP front frame ( field and the FL field FLC) relationship to achieve particular coding frame delimitation DLP, DLP frame alignment procedure based on finite state machine implemented finite state machine comprises three states: search (English as HUNT) state, pre-synchronization (English is the PRESYNC) state synchronization (English as sYNC) state, a flowchart of a finite state machine are as follows: (1) in the search state, DLP process 对接收到的31比特进行逐比特搜索寻找正确格式的FL和FLC关系,在这种状态下,BCH码不具有对FL字段和FLC字段的单比特错误或者2比特错误纠错功能,一旦在接收到的31比特中找到正确的候选FL和FLC匹配关系值,即可假定确定了一个正确的DLP帧,接收处理进入预同步(英文为PRESYNC)状态,(2)在PRESYNC态,DLP处理通过逐帧搜索处理来实现DLP帧定界,依据上一步逐比特搜索找到的FL和FLC正确匹配值,即可假定搜索到一个正确的DLP帧,然后依据该帧各字段关系可以确定下一帧的FL和FLC字段值,并依据他们的关系确定他们是否匹配,然后再下一帧,一旦连续确定DELTA(DELTA为一个参数,它是一个大于0的正整数)个正确的DLP帧,DLP接收处理进入同步态,反之,如果随后一帧的FL和FLC字段值不匹配,进入搜索态,此时,BCH码不具有对FL字段和FLC字段的单比特错误或者2比特错误 The received 31-bit-by-bit search to find the relationship between FL and FLC of the correct format, in this state, the BCH code does not have a single bit error or 2-bit error correction function and the FL field FLC fields, upon receiving bits 31 to find the correct candidate matching relationship FL and FLC value, assumed to set a correct frame of DLP, the process proceeds to the reception presync (English as PRESYNC) state, (2) in the PRESYNC state, by the processing by DLP frame search process to achieve the DLP frame delimitation, step-by-FL and FLC correctly match the value of a bit of searching to find a basis to assume that the search to the right DLP frame, then the next frame can be determined based on the relationship between the fields of the frame FL FLC field values ​​and, based on their relationship and to determine whether they match, then the next frame, once determined continuously DELTA (DELTA is a parameter, which is a positive integer greater than 0) number of correct frame DLP, DLP into the reception process synchronized state, and vice versa, if the FL and FLC field value does not match the subsequent one, enter the search state, this time, the BCH code does not have a single bit error or 2-bit error field and the FL field FLC 纠错功能,从搜索态进入同步态需要连续搜索到DELTA+1个正确的DLP帧,(3)在同步态,DLP处理通过一个帧的FL和FLC字段关系可以确定下一个DLP帧的开始,然后可以实现一帧一帧的解析,在这种状态下FLC具有单比特错误或者2比特错误纠错功能,如果发生多个比特(超过2比特错误)错误,则帧定界失效,成帧处理进入搜索态,并给客户适配处理发出客户服务器信号失效(英文缩写为SSF)指示,(4)DLP空帧参与帧定界处理,并随后丢弃空帧,DLP帧定界处理的键壮性与DELTA值有关,本发明建议DELTA值为1,在FLC后定义一个长度为1比特的保留字段留作将来使用(R字段,一直设置为0),定义业务类型字段长度为8比特,共计可识别28=256种业务类型,其中最高有效位为0时表示封装的是低优先级的普通数据业务(如普通IP数据业务),最高有效位为1时表示DLP净荷字段封装的业务为高 Error correction, the synchronization search state into the state need to continuously search for the one correct DELTA + 1 DLP frame (3) in the synchronization state, the processing may determine DLP DLP start of the next frame by a frame FL relationships between fields and the FLC, may then be resolved to achieve a frame, in this state has a single-bit errors FLC or 2-bit error correction function, a plurality of bits if an error occurs (more than 2-bit error), the frame alignment failure, framing processing enter the search state, and issued to the customer signal adaptation processing client-server failures (the English abbreviation SSF) indication, (. 4) null frame DLP participation frame delimitation process, and then discarded null frame, key frame delimiter strong DLP was treated DELTA values ​​associated with, the present invention proposes a DELTA value, the FLC define a length of 1-bit field reserved for future use reserved (R field has been set to 0), the service type field defines the length of 8 bits, a total available 28 = 256 kinds of identifying the service type, wherein the most significant bit is 0 indicates the package is a low-priority general traffic data (e.g., normal IP data traffic), the most significant bit is 1 indicates that the payload field of DLP service package is high 优先级的实时业务(如电话、实时视频业务),DLP业务处理的优先级从高到低的顺序依次为:控制帧>流量管理帧>实时业务(实时话音、视频或者其它实时业务)>数据业务(IP v4/IP v6),DLP网络处理队列首先处理高优先级的业务,业务类型字段的用法如表1所示,表1.业务类型字段的用法 Descending order of priority of real-time services (such as telephony, real-time video services), DLP business processes as follows: a control frame> Traffic management frame> real-time services (real-time voice, video, or other real-time traffic)> Data service (IP v4 / IP v6), DLP network processing queue is processed first high-priority services, such as the use of the service type field of usage shown in table 1. table 1 of the service type field
    定义拓扑字段长度为4比特,其中二进制值“0001”表示总线结构,二进制值“0010”表示星形结构,二进制值“0011”表示树形拓扑结构,二进制值“0100”表示环形拓扑结构,二进制值“0101”表示网格(Mesh)拓扑结构,其它值保留给将来使用,对于环形拓扑和网格拓扑,本发明提供50毫秒保护倒换功能,定义安全字段长度为4比特,其中二进制值“0000”表示不对上层业务进行任何加密、认证处理,二进制值为“0001”表示对来自上层的业务数据进行加密处理,二进制值“0010”表示对来自上层的业务数据进行认证处理,二进制值“0100”表示对来自上层的业务数据进行加密和认证处理,其它值保留将来使用,定义目的地址码长度为64比特,定义源地址码字段长度为64比特,目的地址码和源地址码采用相同的分级结构,都由国家码(英文为Country Code,CC)、国内地 Topology defined field length of 4 bits, wherein the binary value of "0001" represents a bus structure, a binary value of "0010" represents a star structure, a binary value of "0011" represents a tree topology, a binary value of "0100" represents a ring topology, binary the value "0101" indicates that the grid (the mesh) topology, other values ​​are reserved for future use, and mesh topologies for ring topology, the present invention provides 50 ms protection switching function, define security field length of 4 bits, wherein the binary value "0000 "denotes an upper service not any encryption, authentication processing, the binary value" 0001 "indicates that the traffic data from an upper layer is encrypted, the binary value" 0010 "indicates that the upper layer service data from the authentication processing, the binary value" 0100 " represents the service data from an upper layer encryption and authentication processing, other values ​​are reserved for future use, define the destination address code length of 64 bits define the source address code field length is 64 bits, a destination address code and the source address code uses the same hierarchical structure , by the country code (English is the country code, CC), the domestic 码(英文为National Region Code,NRC)、节点代码(英文为Node Area Code,NAC)和用户代码(英文为User Code,UC)4个字段组成,每个字段长度为16比特,其中国家码表示上层业务的第一级转发标签,国内地区码表示上层业务的第二级转发标签,节点代码表示上层业务的第三级转发标签,用户代码表示上层业务的第四级转发标签,定义扩展报头字段长度为8比特,其中二进制值为“00000000”表示没有扩展报头,其它值保留将来使用,定义填充长度字段长度为8比特,用来以字节形式标识进行填充处理时DLP净荷字段填充的长度,定义帧序列号字段长度为16比特,用来对发送的DLP帧进行序列标记,该字段值从0开始对发送的DLP帧进行序列标记,直到最大值,如果FSN达到最大值,发送处理器清除寄存器的值,并且从0开始重新计数,以保证DLP帧能够按照正确顺序转发发送、接收处 Code (English as National Region Code, NRC), node codes (English as Node Area Code, NAC) and the user code (English as User Code, UC) 4 fields, each field length is 16 bits, which represents the country code the second stage of the first stage of the upper layer service tag forwarding, indicates the upper parts of the country code label forwarding service, service node code represents the upper layer forwarding label third stage, the upper layer service user code represents the fourth stage of the forwarding label, define the extended header field 8 bits in length, wherein the binary value "00000000" indicates that no extended header, other values ​​reserved for future use, define a fill length field 8 bits in length, in bytes to identify when filling the filling process DLP length payload field definition frame sequence number field length is 16 bits, to be transmitted to the DLP frame sequence tag, the field value from 0 starts DLP labeled frame transmission sequence, up to the maximum, if the FSN maximum transmit processor clears the register value, and re-counting from zero, to ensure that the DLP is able to forward frames sent in the correct order at the receiving 理,同时FSN也提供抗重放功能,定义安全参数索引字段长度为16比特,该字段是可选的,其值是任意的,与DLP目的地址码结合使用唯一地标识该DLP帧所属的安全关联(英文为Security Association,SA),其中SPI值为0保留给本地、特定实现使用,十进制的1~255由IANA(IANA为Internet Assigned Numbers Authority的英文缩写)保留给将来使用,其它值由通信双方依据采用的加密认证算法来确定,定义净荷字段长度为0~65535字节,用来封装来自客户层的整个客户信号分组,定义填充数据(该字段是可选的)字段长度为0~255字节,具体值与采用的加密认证算法有关,其值由加密认证算法确定,定义一个认证数据字段(该字段是可选的)来存放认证处理生成的认证数据,认证数据字段值与采用的认证算法有关,其值由具体的认证算法确定(生成),定义帧校验序列(Frame Check Sequence,FCS)字段 Management, while also providing anti-replay function FSN, define a Security Parameter Index field length is 16 bits, the field is optional, and its value is arbitrary, used to uniquely identify the security frame belongs DLP and DLP binding object address code other values ​​associated with (English as Security association, SA), wherein the SPI value is 0 reserved for local use particular implementation, decimal 1 ~ 255 (IANA to the Assigned Numbers Authority abbreviation of the Internet) by the IANA reserved for future use by the communication is determined based on both the encryption and authentication algorithm, the definition of the payload field length of 0 to 65535 bytes, is used to encapsulate the entire client signal from a client layer packet, stuffing data is defined (which is an optional field) field length from 0 to 255 bytes, with the particular value related to the encryption and authentication algorithm, whose value is determined by the encryption and authentication algorithms, authentication define a data field (the field is optional) to store the authentication processing for generating the authentication data, the authentication data field values ​​and using For authentication algorithm, whose value is determined by the particular authentication algorithm (generated), the definition of a frame check sequence (frame check sequence, FCS) field 度为32比特,用来对数据链路层协议帧(DLP帧)中部分报头字段内容以及封装的净荷进行校验,FCS校验范围包括:从DLP帧中业务类型字段的第一比特开始,一直到DLP帧的结尾,具体包括业务类型字段、拓扑字段、安全字段、目的地址码、源地址码、扩展报头、填充长度字段、帧序列号、安全参数索引(如果有)、净荷、填充数据(如果有)、认证数据(如果有)等字段比特流进行校验处理,校验算法采用IEEE 802.32002版定义的CRC-32:生成多项式为G(x)=x32+x26+x26+x23+x22+x16+x12+x11+x10+x8+x7+x5+x4+x2+x1+1,这里,x32对应最高有效位(MSB位),而x0对应最低有效位(LSB位),如果DLP帧发生FCS错误,丢弃发生错误的DLP帧,如果某些字段值不能识别,或者出现FCS错误,则认为是无效的数据链路层协议帧,无效帧将被丢弃,不通知发送方,也不产生任何动作,无效帧包括:(1)接收帧发生FCS Of 32 bits, used on the part of the header field content a data link layer protocol frame (DLP frame) of the package and a payload checksum, the FCS check include: DLP from the first bit of the service type field in the frame until the end of the DLP frame, including the service type field, the topology field, a security field, a destination address code, source address code, extension headers, padding length field, a frame sequence number, a security parameter index (if any), the payload, padding data (if any), authentication data (if any), and other bit stream check process field, version check algorithm defined by IEEE 802.32002 using CRC-32: it is a generator polynomial G (x) = x32 + x26 + x26 + x23 + x22 + x16 + x12 + x11 + x10 + x8 + x7 + x5 + x4 + x2 + x1 + 1, where, x32 corresponding to the most significant bit (MSB bit), while x0 corresponding to the least significant bit (LSB bits), if the DLP FCS error frame occurs, discard the DLP frame error, if the values ​​of certain fields can not be identified, or FCS errors, is considered to be invalid data link layer protocol frame, an invalid frame is discarded without notification to the sender, nor any action, invalid frame comprising: (1) the received frame occurs FCS 错误(FCS不匹配)的DLP帧(2)接收帧长度少于30字节的帧(3)业务类型字段不能识别的帧(4)报头其它字段不能识别的帧如果客户层没有信号需要发送,在DLP帧间隙需要进行填充处理,即发送空帧,发送空帧的目的是为了调节两节点间的速率,空帧从一个节点发送到其相邻的最近节点,邻居节点接收到空帧后不把它转发到任何其它地方,直接把它丢弃,也不通知发送方,在帧间隙发送的填充空帧的内容包括帧长度字段、帧长度校验字段、长度为1比特的保留字段(一直设置为0)和源地址码(只包括源地址码中的节点代码和用户代码字段共计4个字节),在发送端,把封装了客户信号的DLP帧封装到物理层净荷如SDH中的同步净荷封装(SPE)或者以太网MAC帧之前必须进行扰码,在接收端对DLP帧的任何处理之前首先进行解扰码,解扰码后才能对DLP帧进行下一步处理,扰码和解扰 Error (FCS mismatch) the DLP frame (2) receives the frame length is less than 30 byte frame (3) frame (4) can not identify the service type field in the header fields does not recognize the other client layer frame if no signal is to be transmitted, DLP requires processing for filling a gap frame, i.e., a null frame sending, the purpose of transmitting a null frame to adjust the rate between the two nodes, empty frames transmitted from one node to its nearest neighbor nodes, after receiving the null frame is not a neighboring node forwards it to any other place, it is discarded directly, not notify the sender, the content of the transmitted frame is filled in the empty space frame comprising a frame length field, a frame length check field, a length of 1 bit of a reserved field (set up 0) and a source address code (only nodes including source code and user code address code field of a total of four bytes) at the transmitting end, the DLP encapsulated client signal to the physical layer frame is encapsulated as payload in SDH package isochronous payload (SPE) or before the Ethernet MAC frame must be scrambled, prior to any processing of the first frame DLP descrambling at the receiving end, in order to process the next frame DLP after descrambling, scrambling reconciliation harass 码采用自同步扰码/解扰码器,其生成多项式为G(X)=X43+1。 Code self-synchronizing scrambling / descrambling codes, a generator polynomial as G (X) = X43 + 1.
  3. 3.根据权利要求1所述的方法,其特征在于,用一个新型的数据链路层协议——数据链路规程(DLP)来实现以太网与同步数字体系或者同步光网络的融合,一方面可以用这个新型的数据链路层协议来实现在同步数字体系或者同步光网络上传送以太网,另外一方面可以用这个新型的数据链路层协议来实现在以太网上传送SDH/SONET,其中用这个新型的数据链路层协议来实现在同步数字体系或者同步光网络上传送以太网时把以太网(以太网MAC帧)作为这个新型数据链路层协议的客户层处理,具体做法是把以太网MAC帧作为客户层信号封装到DLP帧的净荷字段中,同时根据以太网接口速率设置业务类型字段值,根据端口的地址设置所述的新型数据链路层协议帧的源地址码和目的地址码,根据节点拓扑类型设置所述的新型数据链路层协议帧的拓扑字段值,根据是否对以太网 3. The method according to claim 1, characterized in that, with a new data link layer protocol - data link protocol (DLP) to Ethernet integration with synchronous digital hierarchy or synchronous optical network, on the one hand can use this new data link layer protocol to transmit Ethernet implemented on the synchronous digital hierarchy or synchronous optical network, on the other hand can use this new data link layer protocol to achieve transport SDH / SONET on Ethernet, wherein with this new data link layer protocol to achieve in a synchronous digital hierarchy or synchronous optical client layer processing when transmitting the Ethernet (Ethernet MAC frames) as the new data link layer protocol on the network, which would be the ether as a client network layer encapsulation MAC frame signal to the DLP frame payload field, the service type field value is also set according to the Ethernet interface rate, it sets the new data link layer protocol frame source address and destination address code of the port address code, setting the field value of the new topology data link layer protocol frame type according to the topology of the node, depending on whether the Ethernet MAC帧进行加密认证处理设置安全字段值,同时对发送的每个所述的新型数据链路层协议帧进行序列标记,然后把所述的新型数据链路层协议帧封装到SDH/SONET净荷域中,在把所述的新型数据链路层协议帧映射到SDH/SONET净荷域之前首先对所述的新型数据链路层协议帧进行扰码处理,在网络中依据所述的新型数据链路层协议帧的目的地址即可实现以太网MAC帧信号的转发和交换,此时物理层为SDH/SONET,客户层为以太网MAC帧,以太网包括IEEE802.3定义的以太网、IEEE 802.3u定义的快速以太网、IEEE 802.3z定义的千兆以太网以及IEEE 802.3ae定义的10G以太网,物理层为现有的以及将来可能开发的全部速率范围的SDH/SONET物理接口,支持从低阶虚容器到高阶虚容器(包括级联)的全部速率范围,可以实现基于各类虚容器、各类同步传递模式的颗粒的电路的直接交换以及光网络光波 MAC setting frame for encrypted authentication security field value, while the new data link layer protocol for each of the frames transmitted sequence tags, then the new data link layer protocol frame is encapsulated into SDH / SONET payload domain, first, the new data link layer protocol frame is scrambled prior to the new data link layer protocol frame is mapped to the SDH / SONET payload field, according to the new data in the network link layer protocol frame destination address can be realized forwarding and switching the Ethernet MAC frame signal, when the physical layer is a SDH / SONET, Ethernet MAC frames to the client layer, including Ethernet IEEE802.3 Ethernet defined, IEEE defined 802.3u fast Ethernet, Gigabit Ethernet defined in IEEE 802.3z and defined by IEEE 802.3ae 10G Ethernet physical layer for existing and future may be developed in all SDH rates range / SONET physical interfaces, supported from lower order virtual container into higher order virtual containers (including cascaded) full rate range, and a direct exchange can be realized based on various types of optical lightwave network virtual container, various types of particles synchronous circuit transfer mode is 的直接交换,其中各类虚容器及其带宽、净荷参数如表2所示:表2.SDH的各类虚容器及其带宽、净荷参数 The direct exchange, in which all types of virtual containers and bandwidth parameters of a payload as shown in Table 2: Table 2.SDH types of virtual containers and bandwidth payload parameter
    各类同步传递模式的接口速率如表3所示:表3.SDH各类同步传递模式的接口速率 Various types of synchronous transfer mode interface rate as shown in Table 3: Table 3.SDH various types of synchronous transfer mode interface rate
    当物理层采用同步光网络(SONET)时,各类虚容器及其带宽、净荷参数如表4所示:表4.SONET的各类虚容器及其带宽、净荷参数 When the physical layer using synchronous optical network (SONET), and various types of virtual containers bandwidth payload parameters shown in Table 4: Table 4.SONET types of virtual containers and bandwidth payload parameter
    同步光网络的各类同步传递模式的接口速率如表5所示:表5.同步光网络的各类同步传递模式的接口速率 Various types of synchronous transfer mode interface rate of the synchronous optical network as shown in Table 5: the rate of various types of synchronous Transfer Mode Interface Table 5. Synchronous Optical Network
    数据链路层(数据链路规程DLP)为客户层(以太网MAC帧)提供的服务采用不确认式信息传送服务模式,对发送的数据不作任何确认式操作,所述的新型数据链路层协议层为客户层提供的服务通过“数据链路—数据—请求(英文为DL_DATA.request)”、“数据链路—数据—指示(英文为DL_DATA.indication)”、“数据链路—控制—请求(英文为DL_CONTROL.request)”、“数据链路—控制—指示(英文为DL_CONTROL.indication)”等4个原语来实现,物理层为数据链路层(DLP)提供的服务通过两个原语:“物理链路—数据—请求(英文为PL_DATA.request)”、“物理链路—数据—指示(英文为PL_DATA.indication)”来实现,在发送端,当有MAC帧需要发送时,调用DL_DATA.request(数据链路—数据—请求)原语,该原语包括一系列参数,这些参数用来确定所述的新型数据链路层协议帧报头各字段以及净荷字段的值,在 Data link layer (data link protocol DLP) is a client layer (Ethernet MAC frame) does not recognize the service provider using the service-type information transmission mode, data is transmitted without any acknowledgment operation, a new data link layer protocol layer is a client layer services provided by "data link - data - request (English as DL_DATA.request)", "data link - data - indication (English as DL_DATA.indication)", "data link - control - request (English as DL_CONTROL.request) "," data link - control - indication (English as DL_CONTROL.indication) "other four primitives to implement the physical layer of a data link layer service (DLP) provided by the two primitive: "physical link - data - request (English as PL_DATA.request)", "physical link - data - indication (English as PL_DATA.indication)" to achieve, at the transmitting side, the MAC frames to be transmitted when the time primitive value, the primitive includes a set of parameters, these parameters are determined for the new data link layer protocol frame header fields and payload fields, call DL_DATA.request (data link request - - data) in 收端,当所述的新型数据链路层协议客户实体要接收数据时,所述的新型数据链路层协议实体激活DL_DATA.indication原语,该原语指示输入帧的接收状态和输入所述的新型数据链路层协议帧各字段的值,如果客户层需要所述的新型数据链路层协议提供网络控制功能,调用数据链路—控制原语:“数据链路—控制—请求(DL_CONTROL.request)”和“数据链路—控制—指示(DL_CONTROL.indication)”原语,这两个原语包括一系列的操作码和参数,通过这两个原语可提供网络控制功能,如网络拓扑发现、2层保护倒换、配置管理、故障管理、性能管理等,在发送端,当有数据需要从数据链路层发送到物理实体时,所述的新型数据链路层协议实体激活PL_DATA.request原语,在接收端当有数据要从物理实体发送所述的新型数据链路层协议实体时,激活PL_DATA.indication原语,各原语的语 Terminating, when said new data link layer protocol entity to receive customer data, the new data link layer protocol entity activated DL_DATA.indication primitive, the primitive indicates the reception status and the input frame the new value of each field in the data link layer protocol frame, if the customer requires a new layer of data link layer protocol provides a network control function, the data link call - control primitives: "data link - control - request (DL_CONTROL .request) "and" data link - control - indication (DL_CONTROL.indication) "primitive, which includes a series of two primitive operation code and parameters, these two primitive may provide network control functions, such as network topology discovery, the protective layer 2 switching, configuration management, fault management, performance management, at the transmitting end, when there is data to be transmitted from the data link layer to the physical entity, the new data link layer protocol entity activated PL_DATA. request primitive, at the receiving end when data is sent from the new physical entity data link layer protocol entity activated PL_DATA.indication primitives, each primitive language 义如下:(1)DL_DATA.request(DestinationAddressCode,SourceAddressCode,DLPServiceData,FrameLength,ServiceType,NetworkTopology,Security,FrameSequenceNumber,SPI)DL_DATA.request原语含有9个参数,各参数的含义分别为:DestinationAddressCode表示目的地址码,用来生成发送所述的新型数据链路层协议帧报头中的目的地址码字段值,SourceAddressCode表示源地址码,用来生成发送所述的新型数据链路层协议帧报头中的源地址码字段值,DLPServiceData表示要发送的客户信号即整个MAC帧,用来生成发送所述的新型数据链路层协议帧中净荷字段值,FrameLength参数确定要发送的所述的新型数据链路层协议帧的总长度,ServiceType参数指示所述的新型数据链路层协议客户层发送的业务类型,它用来生成发送所述的新型数据链路层协议帧报头中业务类型字段值,Security参数指示是否对所述的新型数据链路层协议 Are defined as follows: (1) DL_DATA.request (DestinationAddressCode, SourceAddressCode, DLPServiceData, FrameLength, ServiceType, NetworkTopology, Security, FrameSequenceNumber, SPI) DL_DATA.request primitive contains nine parameters, meaning of each parameter were: DestinationAddressCode indicates the destination address code , a destination address field value of the code used to generate the transmitted new data link layer protocol frame header, SourceAddressCode represents a source address code, address code source of new data link layer protocol used to generate the transmission frame header field value, DLPServiceData indicates that the client signal to be transmitted, i.e., the entire MAC frame, for transmitting said generated new data link layer protocol frame payload field values, parameter determination frameLength new data link layer protocol to be sent to the service type header field value new data link layer protocol frame header the total frame length, service type ServiceType parameter indicative of the new data link layer protocol level transmitted from the client, which is used to generate the transmission, the parameter indicates whether Security new data link layer protocol of the 户信号进行加密、认证处理,所述的新型数据链路层协议实体用它来确定发送所述的新型数据链路层协议帧报头中的安全字段值,FrameSequenceNumber参数指示要发送帧的帧序列号(FSN),所述的新型数据链路层协议实体用它来确定发送所述的新型数据链路层协议帧报头中的FSN字段值,NetworkTopology参数指示网络节点的网络拓扑,所述的新型数据链路层协议实体用它来确定所述的新型数据链路层协议帧报头中拓扑字段值,SPI(SPI为安全参数索引的英文缩写)参数是一个可选项,用来确定如果对以太网MAC帧进行加密、认证处理时在通信两端建立的安全关联,用来确定所述的新型数据链路层协议帧中的安全参数索引(SPI)字段值,(2)DL_DATA.indication(DestinationAddressCode,SourceAddressCode,DLPServiceData,ServiceType,FrameLength,ReceptionStatus,NetworkTopology,Security,FrameSequenceNumber,SPI) User signal is encrypted, an authentication process, a new data link layer protocol entity to use it to determine the safety of the new field value of the transmission data link layer protocol frame header, FrameSequenceNumber parameter indicates the frame sequence number of a frame to be transmitted (FSN), a new data link layer protocol entity to determine the network topology which FSN field value of the new transmit data link layer protocol frame header, NetworkTopology parameter indicates a network node, the new data link layer protocol entity to use it to determine whether the new data link layer protocol frame header field value topology, SPI (abbreviation SPI security parameter index) is an optional parameter, is used to determine if the Ethernet MAC frame is encrypted, the authentication security association established communication process ends, to determine the security parameter index (SPI) the new data link layer protocol frame field value, (2) DL_DATA.indication (DestinationAddressCode, SourceAddressCode , DLPServiceData, ServiceType, frameLength, ReceptionStatus, NetworkTopology, Security, FrameSequenceNumber, SPI) DL_DATDA.indication原语参数的语义如下:DestinationAddressCode确定所述的新型数据链路层协议帧的目的地址码,该参数确定输入所述的新型数据链路层协议帧报头中的目的地址码字段值,SourceAddressCode确定所述的新型数据链路层协议帧的源地址码,该参数确定输入所述的新型数据链路层协议帧报头中的源地址码字段值,DLPServiceData确定输入所述的新型数据链路层协议帧净荷字段值,ReceptionStatus指示输入帧的接收状态,如果输入帧的FCS(帧校验序列)字段没有发生错误,ReceptionStatus的值为FCS_ERROR_FREE,否则,如果输入帧发生错误,则ReceptionStatus值为FCS_ERROR,ServiceType参数指示输入所述的新型数据链路层协议帧的业务类型字段值,FrameLength参数确定输入所述的新型数据链路层协议帧的总长度,Security参数指示输入所述的新型数据链路层协议帧是否进行了加密、认证处 Semantic DL_DATDA.indication primitive parameters is as follows: the purpose of determining the address code DestinationAddressCode new data link layer protocol frame, which parameters determine the destination address field value of the input code according to the new data link layer protocol frame header, SourceAddressCode determining the new data link layer protocol frame source address code, the input parameter determines the new data link layer protocol source address code field value header frame header, DLPServiceData determined according to input new data link layer protocol frame payload field value, ReceptionStatus indicating the reception state of the input frame, if the input frame FCS (frame check sequence) field error has not occurred, the value ReceptionStatus FCS_ERROR_FREE, otherwise, if the input frame error occurs, the value ReceptionStatus service type field value FCS_ERROR, ServiceType parameter indicative of said new input data link layer protocol frame, frameLength input parameter determines the total length of the new data link layer protocol frame, Security parameter input indicative of the new data link whether layer protocol frame is encrypted, the authentication 理,它指示输入所述的新型数据链路层协议帧的Security字段值,FrameSequenceNumber参数指示所述的输入帧的帧序列号(FSN),NetworkTopology参数指示输入所述的新型数据链路层协议帧中拓扑字段值,SPI参数用来指示所述输入帧的安全参数索引字段值,(3)数据链路—控制—请求(DL_CONTROL.request)原语数据链路—控制—请求(DL_CONTROL.request)原语的格式为DL_CONTROL.request(操作码,请求操作数列表),其中操作码包括拓扑发现请求(英文为TOPOLOGY_DISCOVERY_REQ)、2层保护倒换请求(英文为L2PS_REQ)、配置请求(英文为CONFIGURATION_REQ)、故障查询请求(英文为FAULT_INQUIRY_REQ)、性能查询请求(英文为PERFORMANCE_INQUIRY_REQ)等,各操作码的具体操作数列表如下:拓扑发现请求(TOPOLOGY_DISCOVERY_REQ)操作码的请求操作数包括目的地址码、源地址码、业务类型、帧序列号、拓扑发现请求帧净荷数据等5个,2层 Security management field value, it indicates that the input of the new data link layer protocol frame, frame sequence number (FSN) FrameSequenceNumber parameter indicative of the input frame, the new input data NetworkTopology parameter indicates the link layer protocol frame topology field values, SPI parameter to indicate the frame of the security parameter index field values, (3) data link - control - request (DL_CONTROL.request) primitive data link - control - request (DL_CONTROL.request) primitive format is DL_CONTROL.request (opcode, operand requests list), wherein the opcode includes topology discovery request (English as TOPOLOGY_DISCOVERY_REQ), 2 layer protection switching request (English as L2PS_REQ), configuration request (English as CONFIGURATION_REQ), fault query request (English as FAULT_INQUIRY_REQ), performance query request (English as PERFORMANCE_INQUIRY_REQ), and specific operand list each operation code as follows: the topology discovery request operand request (TOPOLOGY_DISCOVERY_REQ) opcode includes a destination address code, source address code, service type, frame sequence number, the topology discovery request frame payload data 5, 2 layers 护倒换请求(L2PS_REQ)操作码的请求操作数包括目的地址码、源地址码、业务类型、帧序列号、2层保护倒换请求帧净荷数据等5个,配置请求(CONFIGURATION_REQ)操作码的请求操作数包括目的地址码、源地址码、业务类型、帧序列号、配置请求帧净荷数据等5个,故障查询请求(FAULT_INQUIRY_REQ)操作码的请求操作数包括目的地址码、源地址码、业务类型、帧序列号、故障查询请求帧净荷数据等5个,性能查询请求(PERFORMANCE_INQUIRY_REQ)操作码的请求操作数包括目的地址码、源地址码、业务类型、帧序列号、性能查询请求帧净荷数据等5个,各操作数中的目的地址码、源地址码、业务类型、帧序列号等参数的含义与数据链路—数据—请求原语对应的参数含义一样,(4)数据链路—控制—指示(DL_CONTROL.indication)数据链路—控制—指示(DL_CONTROL.indication)原语的格式为DL_CONTROL.indic Protection switching request operation requests (L2PS_REQ) opcode includes a destination address code, address code source, service type, frame sequence number, the protection switching request requesting layer 2 frame payload data 5, the configuration request (CONFIGURATION_REQ) opcodes includes five operands, the number of the requested operation code comprising a destination address, source address query request fault codes (FAULT_INQUIRY_REQ) code opcode destination address, source address code, business type, a frame sequence number, configuration request frame payload data, business type, frame sequence number, failure query request frame payload data 5, the performance of queries (PERFORMANCE_INQUIRY_REQ) opcode operand request includes a destination address code, address code source, service type, frame sequence number, the net performance of the query request frame the meaning of the parameters and other data bearing 5, the destination address of each operand code, source address code, business type, a frame sequence number and the data link, etc. - data - Definition request primitive corresponding to the same, (4) data link Road - control - indication (DL_CONTROL.indication) data link - control - indication (DL_CONTROL.indication) primitive format DL_CONTROL.indic ation(操作码,指示操作数列表),其中操作码包括拓扑发现响应指示(英文为TOPOLOGY_DISCOVERY_RESPONSE_IND)、2层保护倒换响应指示(英文为L2PS_RESPONSE_IND)、配置响应指示(英文为CONFIGURATION_RESPONSE_IND)、故障查询响应指示(英文为FAULT_INQUIRY_RESPONSE_IND)、性能查询响应指示(英文为PERFORMANCE_INQUIRY_RESPONSE_IND)等,各操作码的具体操作数列表如下:拓扑发现响应指示(TOPOLOGY_DISCOVERY_RESPONSE_IND)操作码的指示操作数包括目的地址码、源地址码、业务类型、帧序列号、拓扑发现响应帧净荷数据等5个,2层保护倒换响应指示(L2PS_RESPONSE_IND)操作码的指示操作数包括目的地址码、源地址码、业务类型、帧序列号、2层保护倒换响应帧净荷数据等5个,配置响应指示(CONFIGURATION_RESPONSE_IND)操作码的指示操作数包括目的地址码、源地址码、业务类型、帧序列号、配置响应帧净荷数据等5个,故 ation (opcode, indicating operand list), wherein the opcode includes topology discovery response indicating (English as TOPOLOGY_DISCOVERY_RESPONSE_IND), 2 layer protection switching in response to an indication (English as L2PS_RESPONSE_IND), configuration response indication (English as CONFIGURATION_RESPONSE_IND), failure query response indicating (English as FAULT_INQUIRY_RESPONSE_IND), the performance of the query response indicator (English as PERFORMANCE_INQUIRY_RESPONSE_IND), and specific operand list each operation code as follows: topology discovery response indicating (TOPOLOGY_DISCOVERY_RESPONSE_IND) indicating opcode operand includes a destination address code, source address code, business type, frame sequence number, the topology discovery response frame payload data 5, in response to a two-layer protection switching indication (L2PS_RESPONSE_IND) indicates the number of opcodes includes a destination address code, address code source, service type, frame sequence number, layer 2 protection switching response frame payload data 5, the configuration response indication (CONFIGURATION_RESPONSE_IND) indicates the number of opcodes includes a destination address code, address code source, service type, frame sequence number, configuration response frame payload data 5, so 障查询响应指示(FAULT_INQUIRY_RESPONSE_IND)操作码的指示操作数包括目的地址码、源地址码、业务类型、帧序列号、故障查询响应帧净荷数据等5个,性能查询响应指示(PERFORMANCE_INQUIRY_RESPONSE_IND)操作码的指示操作数包括目的地址码、源地址码、业务类型、帧序列号、性能查询响应帧净荷数据等5个,各操作数中的目的地址码、源地址码、业务类型、帧序列号等参数的含义与数据链路—数据—指示原语对应的参数含义一样,(5)物理链路—数据请求(PL_DATA.request)PL_DATA.request(Userdata),该原语只有一个参数,该参数为用户数据,英文为Userdata,(6)物理链路—数据指示(PL_DATA.indication)PL_DATA.indication(Userdata),该原语只有一个参数,该参数为用户数据,英文为Userdata。 Barrier query response indicating (FAULT_INQUIRY_RESPONSE_IND) indicates the number of opcodes includes a destination address code, address code source, service type, frame sequence number, failure query response 5, the performance of the query response indicating the frame payload data (PERFORMANCE_INQUIRY_RESPONSE_IND) opcodes indicates the number of operations includes a destination address code, address code source, service type, frame sequence number, the performance of the query response frame payload data 5, the destination address of each operand code, source address code, business type, a frame serial number the meaning of the data link parameters - data - Definition indicated as corresponding primitive, (5) physical link - data requests (PL_DATA.request) PL_DATA.request (Userdata), the primitive only one parameter, the parameter is user data, English as Userdata, (6) the physical link - data indicates (PL_DATA.indication) PL_DATA.indication (Userdata), the primitive only one parameter, the parameter is user data, English as Userdata.
  4. 4.根据权利要求1所述的方法,其特征在于,用所述的新型的数据链路层协议——数据链路规程(DLP)来实现以太网与同步数字体系或者同步光网络的融合,一方面可以用这个新型的数据链路层协议来实现在同步数字体系或者同步光网络上传送以太网,另外一方面可以用这个新型的数据链路层协议来实现在以太网上传送SDH/SONET,其中用这个新型的数据链路层协议来实现在以太网上传送同步数字体系或者同步光网络时把同步数字体系或者同步光网络作为这个新型的数据链路层协议的客户层处理,首先通过电路仿真把SDH/SONET信号分组化,周期性的输出一定长度的分组化SDH/SONET信号,然后把分组化的SDH/SONET电路仿真信号作为客户层信号封装到所述的新型数据链路层协议帧的净荷字段中,同时根据SDH/SONET接口速率设置业务类型字段值,根据端口的地址设置所述 4. The method according to claim 1, characterized in that, with the new data link layer protocol - data link protocol (DLP) to Ethernet integration with synchronous digital hierarchy or synchronous optical network, can use this new aspect of the data link layer protocol to achieve in a synchronous digital hierarchy or synchronous optical transport network Ethernet, on the other hand can use this new data link layer protocol to achieve transport SDH / SONET on Ethernet, wherein with this new data link layer protocol to achieve synchronous digital hierarchy transmission on Ethernet or synchronous optical Networking when the synchronous digital hierarchy or synchronous optical network as the client layer processing new data link layer protocol, first by circuit simulation the SDH / SONET signal packet of the periodic output packets of a certain length of SDH / SONET signal, and then the packetized SDH / SONET signal circuit simulation package as a new client layer signal into the data link layer protocol frame payload field, the service type field value is also set according to SDH / SONET interface rate, it sets the address port 新型数据链路层协议帧的源地址码和目的地址码,根据节点拓扑类型设置所述的新型数据链路层协议帧拓扑字段值,根据是否对SDH/SONET电路仿真信号进行加密认证处理设置安全字段值,同时对发送的每个所述的新型数据链路层协议帧进行序列标记,然后把所述的新型数据链路层协议帧封装到以太网MAC帧净荷域中,在把所述的新型数据链路层协议帧映射到以太网MAC帧净荷域之前首先对所述的新型数据链路层协议帧进行扰码处理,随后再按照以太网的通常做法把以太网MAC帧封装到各种速率的全双工的以太网物理接口链路上,在网络中依据所述的新型数据链路层协议帧的目的地址实现SDH/SONET信号的转发和交换,在接收端按照发送端的相反顺序处理提取分组化的SDH/SONET电路仿真信号,依据帧序列号重组为完整的SDH/SONET信号,此时物理层为1EEES02.3定义的全部 New data link layer protocol frame source address code and a destination address code, provided the new topology data link layer protocol frame type field value according to the node topology, according to whether or not the SDH / SONET signal circuit simulation encrypted authentication security settings field value, while the new data link layer protocol for each of the frames transmitted sequence tags, then the new data link layer protocol frame is encapsulated into an Ethernet MAC frame payload field, in said the new data link layer protocol frame is mapped to the first pair of link layer protocol of the new data frame is scrambled payload field prior to the Ethernet MAC frame, followed by the usual practice in accordance with the Ethernet frame is encapsulated into an Ethernet MAC Full-duplex Ethernet interfaces on a link at different rates in the network, which implements forwarding and switching SDH / SONET signal based on the destination address of the new data link layer protocol frame, opposite to the receiving side in accordance with the transmitting end the order of processing the extracted packets of SDH / SONET signal circuit simulation, based on the frame sequence number of the recombinant full SDH / SONET signal, when the physical layer is defined all 1EEES02.3 各种速率的全双工以太网物理接口,具体的包括IEEE 802.3定义的以太网、IEEE 802.3u定义的快速以太网、IEEE 802.3z定义的千兆以太网、IEEE802.3ae定义的10G以太网,数据链路层为数据链路规程(DLP)和以太网MAC子层,其中数据链路规程(DLP)位于以太网MAC子层之上,SDH/SONET电路仿真信号作为DLP的客户层处理,SDH/SONET信号的输出周期以及分组长度的与SDH/SONET接口速率有关,表6所示为不同速率SDH/SONET电路仿真信号的分组长度分类,此时应尽量要求以太网接口的总速率大于SDH/SONET接口速率,表6.SDH/SONET信号分组的长度 Various rates of full-duplex Ethernet physical interface, including IEEE 802.3 defined specific Ethernet, Fast Ethernet defined in IEEE 802.3u, defined by IEEE 802.3z Gigabit Ethernet, the IEEE802.3ae defined 10G Ethernet, the data link layer data link protocol (DLP), and Ethernet MAC sublayer, wherein the data link protocol (DLP) Ethernet MAC sublayer located above, SDH / SONET signal as a circuit emulation client layer processing of DLP, SDH I / O cycle and the packet length of the SONET signal and the SDH / SONET interface rate related to the length of the packet is shown in table 6 different classification rates SDH / SONET signal circuit simulation, this time should be requested is greater than the Ethernet interface SDH / SONET interface rate, length table 6.SDH / SONET signal packet
    数据链路层(数据链路规程DLP)为客户层(SDH/SONET电路仿真信号层)提供的服务采用不确认式信息传送服务模式,对发送的数据不作任何确认式操作,所述的新型数据链路层协议层为客户层提供的服务通过“数据链路—数据—请求(英文为DL_DATA.request)”、“数据链路—数据—指示(英文为DL_DATA.indication)”、“数据链路—控制—请求(英文为DL_CONTROL.request)”、“数据链路—控制—指示(英文为DL_CONTROL.indication)”等4个原语来实现,在发送端,当有SDH/SONET电路仿真信号分组需要发送时,调用DL_DATA.request(数据链路—数据—请求)原语,该原语包括一系列参数,这些参数用来确定所述的新型数据链路层协议帧报头各字段以及净荷字段的值,在接收端,当所述的新型数据链路层协议客户实体要接收数据时,所述的新型数据链路层协议实体激活DL_DATA.indication原语,该原语 Data link layer (data link protocol DLP) is a client layer (SDH / SONET signal circuit emulation layer) does not recognize the service provider using the service-type information transmission mode, data is transmitted without any acknowledgment type operation, the new data service layer is a link layer protocol provided by the client layer "data link - data - request (English as DL_DATA.request)", "data link - data - indication (English as DL_DATA.indication)", "data link - control - request (English as DL_CONTROL.request) "," data link - control - indication (English as DL_CONTROL.indication) "other four primitives to implement, at the transmitting side, when there are SDH / SONET signal packet circuit simulation needs to be sent, call DL_DATA.request (link data - data - request) primitive, the primitive includes a set of parameters, these parameters are determined for the new data link layer protocol frame header fields and payload field value at the receiving end, when the new data link layer protocol entity to receive customer data, the new data link layer protocol entity activated DL_DATA.indication primitive, the primitive 示输入帧的接收状态和输入所述的新型数据链路层协议帧各字段的值,如果客户层需要所述的新型数据链路层协议提供网络控制功能,调用数据链路—控制原语:“数据链路—控制—请求(DL_CONTROL.request)”和“数据链路—控制—指示(DL_CONTROL.indication)”原语,这两个原语包括一系列的操作码和参数,通过这两个原语可提供网络控制功能,如网络拓扑发现、2层保护倒换、配置管理、故障管理、性能管理等,各原语的语义和与上面描述的一样,以太网MAC子层为所述的新型数据链路层协议层提供的服务通过IEEE 802.3标准(2002版本)定义的原语MA_DATA.request(MAC数据请求)和MA_DATA.indication(MAC数据指示)原语来实现,这两个原语的语义和操作由IEEE 802.3标准确定。 It shows values ​​of the respective fields of the input frame data link layer protocol frame receiving state and input the new data, if the client layer needs new data link layer protocol provides a network control function, the data link call - control primitives: "data link - control - request (DL_CONTROL.request)" and "data link - control - indication (DL_CONTROL.indication)" primitive, which includes a series of two primitive operation code and parameters through the two primitive may provide a network control function, such as network topology discovery, the protective layer 2 switching, configuration management, fault management, performance management, as each of the primitives and semantics as described above, Ethernet MAC sublayer of the novel primitive MA_DATA.request (MAC data request) service layer provides data link layer protocol defined by the IEEE 802.3 standard (2002 version) and MA_DATA.indication (MAC data indication) primitives to implement, these two primitive semantic and the operation is determined by the IEEE 802.3 standard.
  5. 5.根据权利要求1所述的方法,其特征在于,所述的新型数据链路层协议(数据链路规程,DLP)帧报头中包括一个目的地址码(英文为Destination Address Code,DAC)和源地址码(英文为Source AddressCode,SAC),对于IP业务,所述的新型数据链路层协议帧的目的地址码和源地址码分别表示Ip包报头中的目的IP地址和源IP地址的转发等价类,对于分组话音业务目的地址码和源地址码分别表示通话双方的电话号码,对于以太网与SDH/SONET的融合的网络,目的地址码和源地址码分别表示以太网与同步数字体系或者同步光网络融合的信号发送端和接收端的地址,用二层的数据链路层地址来实现客户信号(以太网MAC帧或者SDH/SONET电路仿真信号)的二层转发和交换,目的地址码和源地址码采用相同的分级结构,一个完整的目的地址码和源地址码都由国家码(英文为Country Code,CC)、国内地区 5. The method according to claim 1, wherein said new data link layer protocol (data link protocol, DLP) comprises a frame header a destination address code (English as Destination Address Code, DAC) and source address code (English as source AddressCode, SAC), to IP traffic, the destination address and the source code of the address code of the new data link layer protocol frame are denoted Ip packet forwarding destination address of the IP header and the source IP address equivalence class, the destination address for a packet voice service source code and address code represent both call the telephone number, for fusion Ethernet SDH / SONET network of the destination address and a source address code symbols respectively represent Ethernet synchronous digital Hierarchy fusion or synchronous optical network signal transmitting end and receiving end address, data link layer address of the second floor to achieve the client signal (Ethernet MAC frame or the SDH / SONET signal circuit simulation) and layer 2 forwarding exchange, a destination address code and source address code using the same hierarchy, a full destination address of the source code and address code by the country code (English is the country code, CC), parts of the country (英文为National Region Code,NRC)、节点代码(英文为Node Area Code,NAC)和用户代码(英文为User Code,UC)四个部分组成,本发明定义目的地址码和源地址码字段长度都是64比特(8个八位位组),其中国家码字段长度为16比特(2个八位位组),用来标识某一个国家或者特定地理区域的某种业务代码,CC为所述的新型数据链路层协议帧的第一级转发标签,一个国家或者地理区域可以有一个或者多个业务代码,如话音业务代码、视频业务代码、IP业务代码(IP v4业务代码或者IP v6业务代码),相关业务的具体国家码值由有关的国际标准机构如ITU指定,国内地区码字段长度为16比特,指示某一国家内某个地区的业务代码,NRC为所述的新型数据链路层协议帧的第二级转发标签,具体的NRC值由该国的通信最高管理机构分配,节点代码字段为16比特,标识某个网络节点的业务代码,该码 (English as National Region Code, NRC), node codes (English as Node Area Code, NAC) and the user code (English as User Code, UC) four parts, object of the present invention is defined in the source address code and address code field length are is 64 bits (8 octets), wherein the country code field length is 16 bits (2 octets), service code used to identify a certain country or a particular geographical area, according to the CC the first stage forwarding tag new data link layer protocol frame, a country or geographic area may have one or more service code, service code, such as voice, video service code, service code the IP (IP v4 or IP v6 service code service code ), the specific country code specified by the service value associated with relevant international standards bodies such as the ITU, the domestic area code field length is 16 bits, indicating the service code of a region within a country, -NRC said new data link layer the second stage of the protocol frame forwarding label, the specific value is assigned by the NRC highest communication authority of the country, the node 16-bit code field, a service code identifying the network node, the code 为所述的新型数据链路层协议帧的第三级转发标签,具体值由网络运营商或者网络服务供应商指定,用户代码字段长度为16比特,表示某个用户的业务代码,该码为所述的新型数据链路层协议帧的第四级转发标签,具体的UC值由网络运营商或者网络服务供应商指定,在采用所述的新型数据链路层协议实现以太网与同步数字体系或者同步光网络的融合时,把以太网MAC帧或者SDH/SONET电路仿真信号封装到所述的新型数据链路层协议帧中,根据网络融合的需要设置目的地址码和源地址码,随后以太网MAC帧或者SDH/SONET电路仿真信号在物理传送网络的处理完全依据所述的新型数据链路层协议帧的目的地址码和源地址码,为了降低报头开销,可以通过在所述的新型数据链路层协议帧报头中的业务类型字段设置的业务类型,用所述的新型数据链路层协议实现以太网与 The third stage is a new data link layer protocol frame forwarding label, the specific value is specified by the network operator or network service provider, the user code field length of 16 bits indicating a user's service code, the code is the fourth stage of the new data link layer protocol frame forwarding label, UC value is specified by the specific network operator or network service provider, Ethernet and the new synchronous digital hierarchy in the data link layer protocol is employed or synchronous optical network convergence, the Ethernet MAC frame or the SDH / SONET signal circuit simulation package according to the new data link layer protocol frame, a destination address and a source address code symbols needed for network convergence, then ether mesh MAC frame or SDH / SONET signal processing circuit simulation of the physical transport network based solely on the destination address and the source code of the address code of the new data link layer protocol frame, in order to reduce header overhead, it can be prepared by the novel data type field service type link layer protocol frame header, with the new data link layer protocol is Ethernet and SDH/SONET融合的网络中所述的新型数据链路层协议帧的目的地址码和源地址码可以只包括国内地区码、节点代码和用户代码三个字段或者只包括节点代码和用户代码两个字段,随后以太网MAC帧或者SDH/SONET电路仿真信号在网络中的传送处理可以类似转发IP包一样的处理,网络转发所述的新型数据链路层协议帧时,首先查找所述的新型数据链路层协议帧中的业务类型字段,通过具体的业务类型确定业务的优先级,然后是查找所述的新型数据链路层协议帧中的目的地址码中的国家码、其次是国内地区码、再次是节点代码、最后是用户代码,一旦发现所述的新型数据链路层协议帧的某一项代码与本地节点的不同,网络节点不再对所述的新型数据链路层协议帧中DAC后面字段进行处理,直接转发到下一个节点,所述的新型数据链路层协议帧转发的原则是采用最长 Destination address source address code and a network code SDH / SONET fusion of the novel data link layer protocol frame may include only the parts of the country code, the node code and user code only comprises three fields or code and user code two nodes field, then the frame or Ethernet MAC SDH / SONET transmission signal processing circuit simulation in a network may forward the IP packet is similar to the same process, the network forwarding the new data link layer protocol frame, first find the new data link layer protocol frame in the service type field, determined by the particular service type priority service, then the country code object is to find a new address code of the data link layer in the protocol frame, followed by the country code area , the code is again a node, and finally the user code, a code of a local node if it is found the new data link layer protocol frame is different, the network node is not a new data link layer protocol frame DAC field later processed directly forward to the next node, the new principle of data link layer protocol frame is forwarded using the longest 配原则,所述的根据目的地址码决定路由可以是利用IP路由协议如最短路径优先协议(英文为Open Shortest Path First,OSPF)或者边界网关协议(英文为Border Gateway Protocol,BGP)产生的动态路由表,也可以是利用所述的新型数据链路层协议提供的流量工程来显式配置路由。 With principles, determined according to the destination address of the routing code may be using the IP routing protocols such as Shortest Path First (English as Open Shortest Path First, OSPF) or Border Gateway Protocol (English as Border Gateway Protocol, BGP) generated dynamic routing table may be a traffic engineering using said new data link layer protocol to provide an explicit routing configuration.
  6. 6.根据权利要求1所述的方法,其特征在于,所述的新型数据链路层协议包括一套安全机制来保证上层业务(以太网MAC帧或者SDH/SONET电路仿真信号)在网络传送过程中的安全,具体方法是通过对上层业务进行加密和认证处理来实现上层信号的安全传送,如果需要对以太网MAC帧或者SDH/SONET电路仿真信号进行加密认证处理,通过在通信的两端经过一系列的协商,确定采用的加密算法、认证算法、设置或者交换初始化密码等,协商加密认证算法以及交换初始化密码等操作可以采用RFC2408定义的因特网安全关联和密钥管理协议(英文缩写为ISAKMP)以及RFC2409定义的因特网密钥交换协议(英文缩写为IKE)来实现,然后在通信的两端建立两个安全关联(英文为Security Association,SA),并且依据目的IP地址、采用的算法等确定一个安全参数索引(英文缩写为SPI),把该索引值添加到所 6. The method according to claim 1, wherein said new data link layer protocol includes a set of security mechanisms to ensure the upper layer service (or Ethernet MAC frame SDH / SONET signal circuit emulation) processes in the network transmission the safe, specific method is to achieve secure delivery of upper layer signal by the upper layer service encryption and authentication processing, if necessary Ethernet MAC frame or the SDH / SONET signal circuit simulation encrypted authentication process, passes through the ends of the communication a series of consultations to determine the encryption algorithm used, authentication algorithm, or set the exchange initialization passwords, encryption and authentication algorithms, and negotiate exchange and other operations can be used to initialize the password defined in RFC2408 Internet security association and key management protocol (abbreviation for the ISAKMP) defined in RFC2409 and Internet key exchange (abbreviation of IKE) is achieved, and then two security associations established at both ends of the communication (English as security association, SA), and depending on the destination IP address, such as the use of an algorithm to determine security parameter index (English abbreviation SPI), the index value is added to the 的新型数据链路层协议帧报头中的安全参数索引字段中,SPI用来标识对IP包进行加密、认证处理时的安全关联,安全参数索引与目的地址码一道唯一地标识安全关联所采用的加密认证算法,同时把有关的参数如目的地址码、采用的加密算法、认证算法、初始化密码、安全参数索引等添加到安全关联数据库内,安全关联数据库记录了与安全有关的各种数据,本发明定义SPI字段长度为32比特,其中十进制值“0”用于节点本地、特定实现使用,十进制值1~255由IANA保留给将来使用,其它值用于标识安全关联,由于加密、认证算法的不同需要进行一些数据填充处理,填充的数据位于净荷字段之后,并把填充的长度值添加到填充长度字段值中,认证处理生成的认证数据位于填充数据字段之后,帧校验字段之前,利用DLP帧报头中的帧序列号值提供抗重播功能, New data link layer protocol security parameter index field in the header of the frame header, SPI is used to identify an IP packet is encrypted, the security association when the authentication process, a security association uniquely identifies the destination address, security parameter index codes used encryption and authentication algorithms, the relevant parameters such as the destination address code, the encryption algorithm, authentication algorithm, initialization code, and other security parameter index added to the security association database, the security association database record the various data related to security, the present invention defined SPI field length is 32 bits, the decimal value "0" for the local node, the particular implementation used, the decimal value from 1 to 255 for use by the IANA reserved for future, other values ​​used to identify the security association, since the encryption, authentication algorithm different filling process requires some data, located after a payload field, and padding is added to the filling length value in length field populated data, after the authentication processing for generating authentication data located fill the data field, a frame check field before, using frame sequence number value of the header frame header DLP provides anti-replay function, 行加密处理时,加密的范围包括来自客户层的整个客户信号分组、填充数据等字段内容,进行认证处理时认证的范围包括填充长度字段、帧序列号字段、安全参数索引字段、净荷数据、填充数据等字段内容。 When the encryption processing line, the encrypted content field comprises the entire range of client signal from a client layer packet, stuffing data, etc., for authentication of the authentication process range includes a stuffing length field, a frame sequence number field, a Security Parameter Index field, a payload data, padding data field contents.
  7. 7.根据权利要求1所述的方法,其特征在于,所述的新型数据链路层协议包括一套完善的网络控制管理机制来实现以太网与SDH/SONET融合的网络的包括拓扑发现、2层保护倒换、链路状态指示、故障管理、性能管理、配置管理等在内的控制管理,所述的网络控制管理通过控制帧来实现,本发明定义当所述的新型数据链路层协议帧的业务类型字段的二进制值为“10000001”时表示所述的新型数据链路层协议帧(DLP帧)净荷字段封装携带的内容为网络控制管理信息,相应的数据链路层协议帧为控制帧,所述的新型数据链路层协议控制帧实现拓扑发现、链路状态指示、故障管理、性能管理、配置管理等网络控制和管理功能,对于环形和网格拓扑,所述的新型数据链路层协议控制帧还提供一种实现50毫秒保护倒换功能的机制,控制帧采用TLV(Type-Length-Value,类型—长度— The method comprises a topology discovery according to claim 1, wherein said new data link layer protocol comprises a comprehensive network control and management mechanism to implement Ethernet Network SDH / SONET fused, 2 layer protection switching, link status indication, fault management, performance management, configuration management, including control and management, control and management of the network is achieved by controlling the frame, when the definition of the present invention a novel data link layer protocol frame the binary value representing the service type field when "10000001" new data link layer protocol frame (DLP frame) payload field carries the package content for network control and management information, the corresponding data link layer protocol frame control frame, the new data link layer protocol control frame to realize topology discovery, link status indication, fault management, performance management, configuration management, network control and management functions for the ring and mesh topology, the new data link layer protocol control frame 50 further provides a mechanism for implementing the functions ms protection switching, the control frame using TLV (type-length-Value, type - length - 值)结构,类型字段长度为8比特,用来标识控制帧的类型,长度字段长度为8比特,用来以字节形式表示TLV结构中值(Value)字段的长度,值(Value)字段包含控制帧的有关参数等具体内容,本发明定义控制帧中TLV结构中类型字段的用法如表7所示,其中,类型字段值为二进制的“00010001”时表示控制帧携带的是OSPF(OSPF为最短路径优先协议的英文缩写)路由协议信息,类型字段二进制值为“00010010”表示控制帧携带的是BGP(BGP为边界网关协议的英文缩写)路由协议信息,类型字段二进制值为“00010011”表示控制帧携带的是7号信令系统(英文缩写为SS7)信息,类型字段二进制值为“00010100”表示控制帧携带的是H.323信令信息,类型字段二进制值为“00010101”表示控制帧携带的是会话初始化协议(英文缩写为SIP)信令信息,类型字段二进制值为“00010110”表示控制帧携带的是介 Value) configuration, 8-bit length type field is used to identify the type of control frame, a length field length is 8 bits used to represent a length value TLV structure (Value) field in bytes, the value (Value) field contains For details of the parameters of the control frame, the definition of the usage control frame type field of the present invention TLV structure as shown in table 7, wherein, when the type field is binary "00010001" denotes a control frame carries the OSPF (OSPF is abbreviation shortest path First protocol) routing protocol information, type field binary value "00010010" indicates that the control frame carries the BGP (BGP is the abbreviation border gateway protocol) routing protocol information, type field binary value "00010011" indicates control frame carries the signaling system No. 7 (the English abbreviation for SS7) message type field binary value "00010100" indicates the H.323 control frame carries signaling information type field binary value "00010101" indicates that the control frame It carries the session Initiation protocol (abbreviation of SIP) signaling message type field binary value "00010110" indicates that the control frame carries the dielectric 质网关控制协议(英文缩写为MGCP)信令信息,类型字段为二进制的“11111111”时表示控制帧为厂商自定义的管理控制帧,厂商自定义的管理功能包括设备制造商为自己制造的有关设备添加的网络管理控制功能以及运营商自定义的网络管理控制功能,其管理数据内容由厂商自定义,但需采用TLV结构,所述的新型数据链路层协议控制帧的帧序列号值用来标识控制帧发送的先后顺序,实现标识所述的新型数据链路层协议控制信息发送先后序列的功能,所述的新型数据链路层协议控制帧的净荷信息字段可以包括多个控制TLV信息,为了方便本发明芯片的实现(如现在的芯片普遍采用32位,这样要求控制帧总长度为32比特的整数倍),要求整个控制帧的长度为32比特的整数倍,如果原来所述的新型数据链路层协议控制帧长度不是32比特的整数倍,则在控制TLV后用全为0的 Quality Gateway Control Protocol (abbreviation for the MGCP) signaling information, the type of field is binary "11111111" indicates the control frame for manufacturers to customize the frame of management control, vendor management capabilities include custom manufacturing equipment manufacturers for their related the network management device is added, and the operator control functions from the network management functions to control, the management data content customized by the manufacturer, but requires the use of TLV structure, the new data link layer protocol control frames with a frame sequence number new data link layer protocol to identify the sequence of control frame transmitted, identifying the new implement data link layer protocol control information sequence has the function of transmitting said control frame payload control information field may include a plurality of TLV information, to facilitate the achievement of the present invention, the chip (as is now commonly used 32-bit chips, so that the total length of the control frame requires 32-bit integer multiple), requires the entire length of the control frame is an integral multiple of 32 bits, if the original new data link layer protocol control frame length is not an integer multiple of 32 bits, then the all zero with the control of the TLV 字节进行填充处理,填充的长度用所述的新型数据链路层协议控制帧的填充长度字段以字节形式标识。 Byte padding process, filled with the length of the new data link layer protocol frame control field identifies the length of padding byte format. 表7.控制帧中类型字段值(二进制值)的用法 Table 7. Usage control frame type field value (binary value)
  8. 8.根据权利要求7所述的方法,其特征在于,所述的新型数据链路层协议提供的网络控制管理机制包括拓扑发现机制,拓扑发现用来找出谁是网络节点(DLP节点)的邻居节点以及邻居节点的状态,对于环形和网格拓扑网络节点可以用它来发现环上有多少个节点正在工作,拓扑发现功能的实现主要是依靠拓扑发现请求帧(Topology_Discovery_Request frame)、拓扑发现响应帧(Topology_Discovery_Response frame)和拓扑报告帧(Topology_State_Report frame)来实现的,在项目安装阶段或者工程运行期间,网络节点(DLP节点)(如节点A)用该节点的二层地址码作为目的地址周期性地广播拓扑发现请求帧(Topology_Discovery_Request frame)到其它节点(称其中之一为节点B),发送周期由拓扑发现定时器(Timer_Topology_Discovery,发送定时时间是可编程的,缺省为2秒)确定,接收到拓扑发现请求帧的所有节点(如节点B)通 8. The method according to claim 7, characterized in that the network control and management mechanism of the new data link layer topology discovery protocols include mechanisms for topology discovery to find out who is the network node (DLP node) status to the neighbor and the neighbor nodes, ring, and mesh topologies for the network node can use to discover how many nodes are working on the ring topology discovery function is implemented mainly by the topology discovery request frame (Topology_Discovery_Request frame), topology discovery response frame (Topology_Discovery_Response frame) and topology report frame (Topology_State_Report frame) to achieve, during the installation phase of the project or project operation, the network node (DLP node) (e.g., node a) Layer with address code as the destination address of the node periodically topology broadcast discovery request frame (Topology_Discovery_Request frame) to other nodes (one of which is called node B), sent by the topology discovery cycle timer (Timer_Topology_Discovery, the transmission timing is programmable time, the default is 2 seconds) determined, received topology discovery to all the nodes (e.g., node B) through the request frame 过拓扑发现响应帧给节点A作出响应,把节点B的存在及其状态反馈给节点A,节点A把接收到的其它节点的地址码以及相应的工作状态等内容添加到节点A的拓扑地址数据库中,对于环形和网格拓扑,有关节点依据环上各节点的地址码中的节点代码(NAC)字段值内容确定环上或者网格中的节点顺序,如果节点A连续3次(其值是可编程的,缺省值为3)从节点B接收到相同的操作内容,则认为节点的拓扑发现帧操作有效,把相关的拓扑状态内容写入节点的拓扑数据库,拓扑报告帧用来网络节点(DLP节点)向其它节点(尤其是网络管理实体)报告该节点的状态,特别是对于总线拓扑、星形和树形这三类由于拓扑结构原因没有保护倒换功能的拓扑结构的节点报告其拓扑状态,本发明定义控制帧TLV中类型字段值为二进制值“00000001”时表示控制帧为拓扑发现请求帧,二进制值“ Topology discovery made through the response frame in response to the node A, the node B of the present state and back to the node A, the node A to another node address code added to the received operation state and the like corresponding to the contents of the node address A topology database in, ring, and mesh topologies for the relevant node determines the node on the ring or in the order according to the address grid code for each node on the ring node code (NAC) field value of the content, if the node a 3 consecutive times (the value is programmable, defaults to 3) received from the node B to the same operation content is considered valid topology discovery frame operation node, the topology state associated write the contents of the topology database nodes, the network node topology to report frame (DLP node) reports the status of the node to other nodes (in particular a network management entity), especially for a bus topology, a star topology, and since the three types of tree structures are not protected by reason of the nodes in the topology of the switching function to report its topological state, the present invention is defined in the control frame TLV type field is a binary value of a control frame is a topology discovery request frame, the binary value "00000001" " 00000010”时为拓扑发现响应帧,二进制值“00000011”时表示控制帧为拓扑报告帧,拓扑发现请求帧、拓扑发现响应帧和拓扑报告帧的值(Value字段值)都是两个参数,第一个为节点地址,长度为8个字节,第二个为节点工作状态,长度为1个字节,节点工作态如表8所示。 00000010 "when the topology discovery response frame, a binary value of" a control frame is a topology report frame, request frame topology discovery, topology discovery response value (Value field value) and the frame are two topology report frame parameters 00000011 ", the first a node address, 8 bytes in length, the second node to working state, a length of 1 byte, the node operational configuration as shown in table 8. 表8.拓扑发现帧的第二个参数 Table 8. The second parameter topology discovery frames
  9. 9.根据权利要求7所述的方法,其特征在于,所述的新型数据链路层协议提供的网络控制管理机制包括2层保护倒换机制,2层保护倒换指的是当网络物理链路出现故障(如光纤断裂)或者节点设备出现故障时类似SDH环采用的K1/K2协议机制的允许在50毫秒内实现自愈恢复的强大功能,本发明提供的50毫秒保护倒换功能主要用于环形或者网格拓扑等可以实现保护倒换的链路上,以二纤环为例,如果环上某个节点(DLP节点,假定为节点2)在某个方向(假定为从节点1到节点2的方向)上在20毫秒时间(其值是可编程的,本发明定义的缺省值为20毫秒)内没有接收到任何数据信息(包括数据帧、控制帧、链路管理帧或者空帧等)或者物理链路出现故障(如光纤设施断裂)或者节点出现故障(如物理信号失效或者物理信号退化),该节点进入2层保护倒换状态,发送2层保护状态请求帧(L2PS_ 9. The method according to claim 7, characterized in that the network control and management mechanism of the new data link layer protocol layers include protection switching mechanism 2, a two-layer protection switching when the network refers to the physical link has similar failure when used K1 SDH ring (e.g., a fiber break) or the node equipment failure / K2 protocol mechanism allows the power of the fault recovery within 50 milliseconds, 50 milliseconds, the present invention provides for the ring protection switching functions primarily or mesh topologies can be realized on the protected link switchover to two-fiber rings, for example, if a node on the ring (DLP node, the node is assumed to be 2) in one direction (assumed to be a direction from node 1 to node 2 a) in 20 milliseconds (this value is programmable, the present invention is defined by the default value of 20 ms) does not receive any data information (including the data frame, a control frame, a management frame or null frame link, etc.) or physical link failure (e.g., fiber optic facility fracture) or node failure (e.g., a physical or a physical signal degradation signal fail), which layer protects the switching node enters state 2, the state of the protective layer 2 transmission request frame (L2PS_ Request frame)给网络(环或者网格拓扑)上与其相连的节点(如节点1),节点1接收到该2层保护状态请求帧后也进入2层保护倒换状态(英文缩写为L2PS),并发出2层保护倒换状态报告帧(L2PS_State_Report frame)给连接网络管理实体的节点或者广播到环上处于正常态的所有节点,在L2PS态,从节点1到节点2的所有数据包被倒换到备用的路径上,如果节点2上的故障清除,节点2进入正常态,启动WTR(等待恢复)定时器(Timer_WTR,其值是可编程的,范围为0~1800秒,缺省值为10秒),一旦WTR定时器终止,节点2沿倒换前后的路径发送WTR请求帧(WTR_Request frame)给节点1,节点1接收到该帧后从节点L2PS态返回正常态,本发明定义控制帧的类型字段值为二进制的“00000100”时表示控制帧为2层保护倒换请求帧,控制帧的类型字段值为二进制的“00000101”时表示控制帧为2层保护倒换响应帧,控制帧 Node Request frame) to the network (ring or mesh topologies) connected thereto (e.g., a node), a node receiving the protective layer 2 also enters a state request frame 2 layer protects the switching status (abbreviation of L2PS), and issued layer 2 report frame protection switching state (L2PS_State_Report frame) to the connection node of the network management entity or broadcast to the ring at all nodes in a normal state, the state in L2PS, by switching from node 1 to all packets 2 to the standby on the path, node if the fault is cleared, the nodes 22 into the normal state, start the WTR (WTR) timer (Timer_WTR, which is a programmable value, ranging from 0 to 1800 seconds, default is 10 seconds), Once WTR timer expires, switching node along the path before and after the WTR 2 transmits a request frame (WTR_Request frame) to node 1, node 1 receives the state returns to the normal state from the node L2PS the frame, the frame type field defines the control value of the present invention binary "00000100" denotes a control frame is a two-layer protection switching request frame, a control frame is a two-layer protection switching in response to a control frame of frame type field value of binary "00000101", the control frame 类型字段值为二进制的“00000110”时表示控制帧为2层保护倒换报告帧,2层保护倒换请求帧TLV结构中值(Value,V)字段的参数有2个,第一个为该节点的地址码,长度为8字节,第二个参数为该节点的工作状态(强制倒换FS、物理信号失效PSF、物理信号退化PSD和人工倒换),长度为1个字节,各状态的二进制值如表9所示,该字节的其它值保留作将来使用,2层保护倒换响应帧TLV结构中值字段的参数有两个,第一个为该节点的地址码,长度为8字节,第二个参数长度为1个字节,其中二进制值为“00000000”表示成功实现倒换,二进制值为“11111111”表示倒换不成功,其它二进制值保留给将来使用,2层保护倒换报告帧TLV结构中值字段有三个参数,第一个参数为节点的地址码,长度为8字节,第二个参数为节点的倒换原因,长度为1个字节,各态的二进制值如表9所示,第 Binary value type field indicates "00000110" of the control frame layer protection switching report frame 2, a two-layer protection switching request TLV frame structure parameter (Value, V) have two fields, one for the first node address code, 8 bytes in length, the second parameter for the operating state of the node (the FS forced switchover, the PSF physical signal failure, the physical and manual switching signal degradation PSD), a length of 1 byte, the binary value of each state as shown in table 9, the other byte values ​​are reserved for future use, the protective layer 2 switching parameters in the TLV value field of the response frame structure has two, a first address code for that node, 8 bytes in length, The second parameter is a length of 1 byte, wherein a binary value of "00000000" indicates successful switchover, the binary value "11111111" indicates that the switchover is unsuccessful, other binary values ​​are reserved for future use, the protective layer 2 switching configuration report frame TLV value field has three parameters, the first parameter is the node address code, 8 bytes in length, the second parameter is the reason switching nodes, a length of 1 byte, the binary value of each state is as shown in table 9 The first 个参数表示节点是否处于2层保护状态,其中二进制值为“11111111”表示处于2层保护倒换状态,二进制值为“00000000”表示处于正常态,其它值保留,当控制帧TLV类型字段值为二进制的“00010000”时,表示控制帧为WTR_Request帧,WTR_Request帧只有一个参数,长度为8比特,值为二进制的“11111111”表示成功等待恢复,其它值保留。 Parameter indicates whether the node is in state 2 protection layer, wherein the binary value of "11111111" represents the state in a two-layer protection switching, the binary value "00000000" indicates that in the normal state, other values ​​are reserved as a control frame type field is binary TLV when "00010000", a control frame is a frame WTR_Request, WTR_Request frame only one parameter, a length of 8-bit, binary value "11111111" indicating successful WTR, other values ​​are reserved. 表9.L2PS请求帧和L2PS报告帧的第2个参数类型 Table 9.L2PS L2PS report request frame and a second frame type parameter
  10. 10.根据权利要求7所述的方法,其特征在于,所述的新型数据链路层协议提供的网络控制管理机制包括配置管理机制,配置管理功能用来实现对网络节点(DLP节点)设备有关端口的配置管理,网络节点(DLP节点)设备的端口地址在项目安装阶段必须配置一个二层的地址作为该端口的源地址码(SAC),配置管理帧包括三种:配置请求帧(Configuration_Request frame)、配置响应帧(Configuration_ResponseFrame)、配置报告帧(Configuration_Report frame),在项目安装阶段或者工程运行期间,网络管理实体通过网络管理接口对网络节点(DLP节点)设备的每个链路(端口)发出配置请求帧进行配置,网络节点(DLP节点)通过配置响应帧或者配置报告帧向网络管理实体作出响应,本发明定义控制帧TLV中类型字段值为二进制“00000111”值时表示控制帧为配置请求帧,二进制“00001000”时为配置响应帧,二进 10. The method according to claim 7, characterized in that the network control and management mechanism of the new data link layer protocol include configuration management mechanism, to implement configuration management function (DLP node) node of the network-related equipment configuration management port address port, the network node (DLP node) of the device must be configured with a floor installation phase of the project as the source address code (SAC) of the port, the frame configuration management includes three: configuration request frame (Configuration_Request frame ), configuration response frame (Configuration_ResponseFrame), configuration report frame (Configuration_Report frame), during the installation phase of the project or project operation, the network management entity issues a network node (a node for each link DLP) device (port) via a network management interface configuration request frame configuration, the network node (DLP nodes) configured through the configuration report response frame or frames in response to a network management entity, the definition of the present invention is a control frame type field in the TLV value of binary "00000111" represents the control configuration request frame is a value frame, binary "00001000" as the response frame configuration, binary 制“00001001”时表示控制帧为配置报告帧,配置请求帧包括两个参数,第一个为原节点地址(长度为8个字节),第二个为新节点地址码(长度为8个字节),配置响应帧的值(Value字段值)包括三个参数:第一个为原节点地址(长度为8个字节),第二个参数为新的节点地址码(长度为8个字节),第三个参数长度为1个字节,其中二进制值为“00000000”表示配置成功,二进制值“11111111”表示配置不成功,其它值保留给将来使用,配置报告帧包括二个参数:第一个为节点地址(长度为8个字节),第二个参数长度为8个字节,表示该节点的配置地址。 When the system indicates "00001001" control frame is a frame configuration reporting, configuration request frame includes two parameters, the first one of the original node address (8 bytes in length), a second node address of the new code (length of 8 byte), configuration response value (value field values) frame comprising three parameters: a first original node address (8 bytes in length), the second parameter is the new node address codes (length of 8 byte), the third parameter is the length of 1 byte, wherein a binary value of "00000000" configuration is successful, the binary value "11111111" indicates that the configuration fails, other values ​​reserved for future use, configure reporting parameters comprises two frame : a first node address (8 bytes in length), the second parameter length is 8 bytes and indicates the address of the node configuration.
  11. 11.根据权利要求7所述的方法,其特征在于,所述的新型数据链路层协议提供的网络控制管理机制包括故障管理机制,故障管理机制用来实现对网络节点(DLP节点)的故障管理,故障管理机制通过故障管理帧来实现,故障管理帧包括三个:故障查询请求帧(Fault_Inquiry_Request frame)、故障查询响应帧(Fault_Inquiry_Response frame)和故障报告帧(Fault_Report frame),本发明定义控制帧TLV中类型字段值为二进制值“00001010”时表示控制帧为故障查询请求帧,二进制值“00001011”时为故障查询响应帧,二进制值“00001100”时表示控制帧为故障报告帧,故障查询请求帧包括1个参数,该参数为节点地址(长度为8个字节),故障查询响应帧的值(Value字段值)包括二个参数:第一个为节点地址(长度为8个字节),第二个参数长度为1个字节用来表示故障类型,其中二进制值为“00000000”表示故 11. The method according to claim 7, characterized in that the network control and management mechanism of the new data link layer protocols include mechanisms for fault management, fault management mechanism to implement the failure of a network node (DLP node) management, fault management mechanism implemented by the fault management frame, the management frame comprises three fault: fault query request frame (Fault_Inquiry_Request frame), troubleshooting response frame (Fault_Inquiry_Response frame) and a failure report frame (Fault_Report frame), the definition of the present invention is a control frame TLV type field value in the binary value "00001010" when a control frame is a fault diagnosis request frame, a binary value of "00001011" for the fault diagnosis response frame, a binary value of "00001100" when a control frame is the failure report frame, failure query request frame includes a parameter, which is a node address (8 bytes in length), troubleshooting response value (value field values) frame comprising two parameters: a first node address (8 bytes in length) The second parameter is a length of 1 byte is used to indicate the type of fault, wherein a binary value of "00000000" represents the so 为物理信号失效(PSF),二进制值“11111111”表示故障为物理信号退化(PSD),二进制值为“00001111”表示节点正常无故障,其它值保留给将来使用,故障报告帧的值字段包括二个参数:第一个为节点地址(长度为8个字节),第二个参数长度为1个字节用来表示故障类型,其中二进制值为“00000000”表示故障为物理信号失效(PSF),二进制值“11111111”表示故障为物理信号退化(PSD),其它值保留给将来使用。 Physical signal failure (PSF), a binary value of "11111111" is a failure for the physical degradation of the signal (the PSD), the binary value "00001111" indicates that the node is operating normally, the other values ​​are reserved for future use, the value of field failure report frame comprises two parameters: a first node address (8 bytes in length), the second parameter to a length of 1 byte indicates the type, wherein a binary value of "00000000" is a failure as a physical failure signal (PSF) , a binary value of "11111111" is a failure for the physical degradation of the signal (the PSD), other values ​​reserved for future use.
  12. 12.根据权利要求7所述的方法,其特征在于,所述的新型数据链路层协议提供的网络控制管理机制包括性能管理机制,性能管理机制用来实现对网络节点(DLP节点)的性能管理,性能管理机制通过性能管理帧来实现,性能管理帧包括三种帧:性能查询请求帧(Performance_Inquiry_Request frame)、性能查询响应帧(Performance_Inquity_Response frame)和性能报告帧(Performance_Report frame),当控制帧类型字段值为二进制的“00001101”时,表示控制帧为性能查询请求帧,性能查询请求帧用来请求查询某个网络节点(DLP节点)的某个性能指标,控制帧类型字段值为二进制的“00001110”时,表示控制帧为性能查询响应帧,性能查询响应帧用来响应性能查询请求帧提出的某个节点的某个性能指标,控制帧类型字段值为二进制的“00001111”时,表示控制帧为性能报告帧,性能报告帧用来向网络管 12. The method according to claim 7, characterized in that the network control and management mechanism of the new data link layer protocol include performance management mechanism, the performance management system to achieve the performance of the network node (DLP node) management, performance management, performance management mechanism implemented by the frame, a management frame includes three frames properties: properties query request frame (Performance_Inquiry_Request frame), the performance of the query response frame (Performance_Inquity_Response frame) and performance reports frame (Performance_Report frame), when the control frame type when the field value is binary "00001101", the performance of a control frame is a frame query request, the query request frame for requesting the performance of a network node query (DLP node) a performance index, a control frame type field value of binary " when 00001110 ", the performance of a control frame is a frame in response to a query, query response frame for responding to the performance properties of a node query request frame made of a performance index, a control frame type field value of binary" 00001111 ", a control performance report frame is a frame, the frame is used to report the network performance tube 实体报告某个节点的各项性能指标,性能查询请求帧的值(Value)字段包括三个参数,第一个参数为要请求查询性能的节点地址码,长度为8个字节,第二个参数为用来标识计算性能指标的时间计量单位,长度为4比特,其中二进制的“0001”表示计量单位为秒,二进制的“0010”表示计量单位为分钟,二进制的“0011”表示计量单位为小时,二进制的“0100”表示计量单位为天,其它字段值保留给将来使用,第三个参数为性能指标类型,长度为4比特,其中二进制的“0001”表示性能指标为帧校验序列错误数,二进制的“0010”表示丢包数,二进制的“0011”表示丢包率,二进制的“0100”表示包的时间延迟(时延),其它值保留给将来使用,性能查询响应帧的值(Value)字段包括4个参数,第一个参数长度为8个字节,用来表示对性能查询请求帧作出响应的节点地址,第 Entity reporting the performance of a node, the query performance value (Value) field of the request frame includes three parameters, the first parameter is the address code to the requesting node query performance, a length of 8 bytes, the second parameter is used to identify the performance index calculation unit of time measurement, a length of 4 bits, wherein the binary "0001" represents a second measurement unit, binary "0010" indicates the measurement in minutes, binary "0011" denotes a measurement unit hours, binary "0100" denotes a measurement unit days, the other field values ​​are reserved for future use, as the performance index third parameter type, length is 4 bits, wherein the binary "0001" represents the performance index for the frame check sequence error number, binary "0010" represents the number of lost packets, binary "0011" denotes a packet loss rate, binary "0100" indicates the packet delay time (latency), other values ​​are reserved for future use, the performance of the query response frame value (Value) field includes four parameters, the first parameter is 8 bytes, is used to indicate the node address in response to the performance of the query request frame, the 二个参数长度为4比特,用来标识计算性能指标的时间计量单位,第三个参数长度为4比特用来标识性能指标类型,第四个参数长度为3个字节,用来表示具体要查询的性能指标值,性能查询响应帧的值(Value)字段的第二和第三个参数(时间计量单位和性能指标类型)的用法与性能查询请求帧的值(Value)字段的第二和第三个参数的用法一样,性能报告帧的值(Value)字段包括4个参数,第一个参数长度为8个字节,用来表示向网络管理实体发出性能报告帧的节点地址,第二个参数长度为4比特,用来标识计算性能指标的时间计量单位,第三个参数长度为4比特用来标识性能指标类型,第四个参数长度为3个字节,用来表示具体要报告的性能指标值,性能报告帧的值(Value)字段的第二和第三个参数(时间计量单位和性能指标类型)的用法与性能查询请求帧的值(Value)字段的第 Two parameter length is 4 bits, for identifying units of measurement time calculated performance index, the third parameter length is 4 bits used to identify the type of performance, the fourth parameter length of 3 bytes is used to represent specific value (value) fields query performance indicator values, the second and third parameter values ​​(value) in response to the performance of the query field of a frame (unit of measurement of time and the type of performance) of the usage and performance of the query request and a second frame Just like a third parameter, the value of the performance report frame (value) field includes four parameters, the first parameter is 8 bytes, the address for the node represents the performance report frame to the network management entity, a second parameter length is 4 bits, used to identify the performance index calculation unit of time measurement, the third parameter length is 4 bits used to identify the type of performance, the fourth parameter length of 3 bytes is used to report specifically indicates the first second and third performance parameter value, the value (value) fields performance report frame (unit of measurement of time and the type of performance) of the usage and performance of the query request frame value (value) fields 和第三个参数的用法一样。 And usage of the third parameter of the same.
  13. 13.根据权利要求1所述的方法,其特征在于,所述的新型数据链路层协议帧可提供强大的流量管理机制来实现网络的流量工程,方法是首先对流经过网络的所有业务进行分类,即对来自上层的各种业务(话音、IP数据、数字电视、以太网MAC帧、TDM电路仿真信号等)进行优先级分类分为高优先级的业务和低优先级的业务,用分级的位于二层的数据链路层地址(源地址码和目的地址码)表示上层业务地址(目的地址和源地址)同时对业务按照属于哪个国家或者地理区域、某个国家或者地理区域的哪个地区、某个地区的某个节点,某个节点的某个用户进行地域分类,用分级的二层地址表示物理链路端口二层地址从而对物理资源进行地域分类,同时分配不同的物理带宽链路用于传送不同类型的业务,把流经整个网络的各种业务按照不同的优先级类型以及地域类别映射 13. The method according to claim 1, wherein said new data link layer protocol frame may provide a powerful traffic management mechanisms to achieve traffic engineering network by first convection through all traffic network is classified that various services (voice, the IP data, digital television, Ethernet MAC frame, the TDM circuit emulation signal, etc.) from an upper layer is divided into high priority classification priority traffic and low priority traffic, with a graded located on the second data link layer address (source address and destination address code code) represents the upper service address (destination and source addresses) while business in accordance with any country or geographical region belong, a country or region which geographical area, a node of a region, a user performs a node area classification, with a grading of MAC address represents the physical link ports on the second floor in order to address the physical resources of regionalism, while assigning different physical bandwidth links with to transmit different types of traffic, the various traffic flows across the network in a different type of priority class map area 实际的物理链路上,通过流量管理帧实现对整个网络的流量以及带宽资源进行统一调度管理和监控,具体如下:首先对来自数据链路层——DLP层以上层次的所有业务进行分类,分为高优先级的业务和低优先级的业务,高优先级的业务包括网络管理控制信息(控制帧)、流量管理信息(流量管理帧)、各种实时话音业务(包括固定或者移动话音或者可视电话)、各种实时视频(数字电视)、基于IP(IPv4/IPv6)的实时业务、PDH和SDH/SONET电路仿真信号,低优先级的业务为一般的IP数据业务,具体的各种业务类型用所述的新型数据链路层协议帧中的业务类型字段值来标识,在所述的新型数据链路层协议帧中定义了一个分级的目的地址码和源地址码,目的地址码和源地址码采用相同的结构,都由国家码、国内地区码、节点代码和用户代码四部分组成,分别用来标识业务属于 The actual physical link, implement traffic management frame traffic and bandwidth resources in the entire network unified management and monitoring, in particular by the following: First of all traffic from the above --DLP layer is the data link layer level classification, high priority traffic and low-priority traffic, high-priority traffic includes network management control information (control frame), traffic management information (management frame traffic), a variety of real-time voice traffic (comprising voice or may be fixed or mobile videophone), a variety of real-time video (digital TV), based on IP (IPv4 / IPv6) of the real-time service, PDH and SDH / SONET signal circuit simulation, a low priority service as a general IP data services, various services specific new types of data link layer protocol with the frame to identify the service type field value defines a hierarchy of object code and the source address in the address code of the new data link layer protocol frame, a destination address code, and source address code with the same structure, by country code, area code country, the node code and user code four parts, respectively is used to identify service belongs 哪个国家或者地理区域、某个国家或者地理区域内的哪个地区,某个地区内的哪个节点,哪个节点内的哪个用户,对于IP业务,目的地址码和源地址码分别表示IP包报头中的目的IP地址和源IP地址的转发等价类,对于话音业务目的地址码和源地址码分别表示通话双方的电话号码,对于数字电视(数字视频)业务目的地址码和源地址码分别表示数字电视信号发送端和接收端的地址,对于以太网MAC帧、采用时分复用(TDM)技术的电路如PDH、SDH/SONET的电路仿真信号等业务目的地址码和源地址码分别表示信号发送端和接收端的地址,这样通过数据链路层地址对来自上层的各种业务(话音、数据、视频、以太网以及TDM电路仿真信号)进行了地域的分类,把各种业务按照不同的国家或者地理区域、特定国家或者地理区域内的某个地区、地区内的某个节点、某个节点的某个 Which country or geographical region, a country or which region within a geographical area, which node within a certain area, which users in which node for IP service, destination address, source code and address code represent the IP packet header FEC destination IP address and source IP address, destination address for the voice service source code and address code represent both call the telephone number, the digital television (digital video) traffic destination address and a source address code symbols to represent a digital television transmitting an address signal end and the receiving end, for the Ethernet MAC frame, using the time division multiplexing circuit (TDM) technique such as a service destination address and a source address code code PDH, SDH / SONET signal, respectively, of the circuit simulation signal representing the transmitter and receiver address of the client, so that a variety of services (voice, data, video, Ethernet, and TDM circuit emulation signal) from an upper layer were classified by geographical data link layer address, the various services in different countries or geographical regions, a particular country or a region within a geographical area, area within a node, a node of a 户进行了分类,同时对整个物理传送网络的每个节点端口(包括波分复用系统的每个光波)标识一个二层的数据链路层地址,并规定不同的链路用于传送不同类型以及通往不同地区的业务,这样对整个物理传送网络的带宽资源进行分类,某些带宽用于传送重要的实时业务如话音和实时视频,某些用于传送一般的IP数据业务,某些带宽链路用于传送国际业务,某些带宽链路用于传送跨省的业务,某些带宽链路用于传送本地业务,并且规定如果网络出现故障允许传送IP数据的链路被高优先级的业务抢占,通过本发明定义的流量管理帧对整个网络的流量以及网络带宽资源进行监控处理,网络管理系统包括一个流量工程数据库,该数据库记录了整个网络的链路资源分布情况,流过网络的业务类型、总包数、总流量、物理链路速率、允许最大传送速率等参数,本 We carried out the classification, while each node ports of the entire physical transmission network (WDM lightwave system including each) identifying a data link layer address of the second floor, and provides links for transmitting different types as well as certain bandwidth, leading to the different areas of business, so the bandwidth resources of the entire physical transmission network is classified, some of the bandwidth used to transmit critical real-time services such as voice and video in real time, some for transmitting IP data services in general, link for transmitting international business, some link bandwidth for transmitting traffic provinces, some link bandwidth for transmitting local service, if the network fails and a predetermined allowable transmission link IP data is high priority preemption operations, monitoring and handling of traffic of the entire network bandwidth network traffic management frame defined by the present invention, a network management system comprising a traffic engineering database, which records the distribution of link resources of the entire network, the network flows service type, total number of packets, the total flow rate of the physical link, the maximum allowable transmission rate and other parameters, the present 发明定义当所述的新型数据链路层协议帧(DLP帧)报头中业务类型字段值设置为二进制值“10000010”时,表示所述的新型数据链路层协议帧封装的是流量管理信息,相应的数据链路层协议帧为流量管理帧,流量管理帧的流量管理信息采用类型—长度—值(英文为Type-Length-Value,TLV)结构,其中,类型字段长度为8比特,用来指示流量管理帧的类型,长度字段长度为8比特,用来以字节形式指示值(Value)字段的长度,值(Value)字段包含具体的流量管理帧内容,网络管理帧类型字段的用法如表10所示,其中流量管理帧TLV中类型字段值为二进制的“00000001”时表示流量管理帧净荷携带的是链路业务流量属性信息,其值(Value)字段内容包括四个参数,第一个参数为节点地址,长度为8字节,第二个参数为业务类型,用来表示经过某节点流量包(分组)所属的业务类型,长度为1 When the novel invention is defined in the data link layer protocol frame (DLP frame) service type header field value provided new data link layer protocol frame is encapsulated as a binary value of "10000010", it indicates that the management information traffic, a respective data link layer protocol frame is a management frame traffic, traffic flow management information management frame types employed - length - value (English as type-length-value, TLV) structure, wherein the type field is 8 bits in length, to indicates the type of traffic management frame, a length field length is 8 bits in bytes for instruction value (value) length field, the value (value) fields contain specific traffic management frame content, the usage of the network management, such as the frame type field As shown in table 10, wherein the management frame indicates the flow type field in the TLV value of binary "00000001" traffic management link frame payload traffic is carried in the attribute information, the value (value) fields include the four parameters, the a parameter for the node address, 8 bytes in length, the second parameter is the service type, service type used to represent a node via the packet flow (packet) belongs, length 1 节,不同类型的业务的业务类型值由表1确定,第三个参数长度为1个字节用来标识流过某节点链路流量的计量参数类型,其中二进制值为“00000001”表示流量计量参数类型为峰值速率(单位为比特每秒),二进制值为“00000010”表示流量计量参数类型为平均速率(单位为比特每秒),二进制值为“00000011”表示流量计量参数类型为最大包(分组)数(单位为包每秒),二进制值为“00000100”表示流量计量参数类型为平均包(分组)数(单位为包每秒),二进制值为“00000101”表示流量计量参数类型为峰值突发长度(单位为字节),二进制值为“00000110”表示流量计量参数类型为协定突发长度(单位为字节),二进制值为“00000111”表示流量计量参数类型为超额突发长度(单位为字节),其它值保留将来使用,第四个参数长度为4字节用来标识具体各种流量的值,流量管理帧TLV中类 Section, service type value different types of traffic by a determination table, the third parameter is the length of one byte is used to identify the type of flow through a measurement parameter link traffic node, wherein the binary value of "00000001" represents the flow metering parameter type peak rate (bits per second), a binary value of "00000010" represents the average flow rate measurement parameter type (bits per second), a binary value of "00000011" represents the maximum flow rate measurement parameter packet type ( packet) number (in packets per second), a binary value of "00000100" represents the flow rate measurement parameter is the average packet type (packet) number (in packets per second), a binary value of "00000101" represents the peak flow rate measuring parameters of type the burst length (in bytes), a binary value of "00000110" represents the flow rate measurement parameter type agreement burst length (in bytes), a binary value of "00000111" indicates the parameter type flow metering excess burst length ( bytes), other values ​​reserved for future use, the fourth parameter is 4 bytes used to identify a specific value of various traffic flow management frame class TLV 型字段值为二进制“00000100~00100110”时表示各种物理链路的资源属性,各种具体链路的类型值如表10所示,各种物理链路的资源属性值包括有四个参数,第一个参数为节点地址,长度为8字节,第二个参数为业务类型,用来表示经过某节点流量包(分组)所属的业务类型,长度为1字节,不同类型的业务的业务类型值由表1确定,第三个参数长度为1个字节用来标识流过某节点链路流量的计量参数类型,其中二进制值为“00000001”表示流量计量参数类型为峰值速率(单位为比特每秒),二进制值为“00000010”表示流量计量参数类型为平均速率(单位为比特每秒),二进制值为“00000011”表示流量计量参数类型为最大包(分组)数(单位为包每秒),二进制值为“00000100”表示流量计量参数类型为平均包(分组)数(单位为包每秒),二进制值为“00000101”表示流量计量参数类型 Type field is the binary representation of various resource attributes of the physical link to "00000100 ~ 00100110", values ​​of various types of links, such as concrete, resource attribute values ​​of various physical link comprises four parameters shown in Table 10, the first parameter is the node address, 8 bytes in length, the second parameter is the service type, service type used to represent a node via the packet flow (packet) belong to a length of 1 byte, different types of traffic services type value defined by table 1, the third parameter is the length of one byte is used to identify the type of flow through a measurement parameter link traffic node, wherein the binary value of "00000001" represents the peak flow rate measurement parameter type (in bits per second), a binary value of "00000010" represents the average flow rate measurement parameter type (bits per second), a binary value of "00000011" represents the maximum flow rate measuring parameters of type packet (packet) number (in packets per sec), a binary value of "00000100" represents the flow rate measurement parameter is the average packet type (packet) number (in packets per second), a binary value of "00000101" indicates the parameter type flow metering 为峰值突发长度(单位为字节),二进制值为“00000110”表示流量计量参数类型为协定突发长度(单位为字节),二进制值为“00000111”表示流量计量参数类型为超额突发长度(单位为字节),其它值保留将来使用,第四个参数长度为4字节用来标识具体各种流量的值,所述的新型数据链路层协议流量管理帧的帧序列号值用来标识流量管理帧发送的先后顺序,实现标识所述的新型数据链路层协议流量控制管理信息发送先后顺序的功能,所述的新型数据链路层协议流量管理帧的净荷信息字段可以包括多个流量管理TLV信息,为了方便本发明芯片的实现(如现在的芯片普遍采用32位,这样要求流量管理帧总长度为32比特的整数倍),要求整个流量管理帧的长度为32比特的整数倍,如果原来所述的新型数据链路层协议流量管理帧长度不是32比特的整数倍,则在流量管理TLV后 Peak burst length (in bytes), a binary value of "00000110" represents the flow rate measurement parameter type agreement burst length (in bytes), a binary value of "00000111" indicates the parameter type flow metering excess burst length (in bytes), other values ​​reserved for future use, the fourth parameter is 4 bytes used to identify a variety of particular value of flow rate, the new data link layer protocol frame sequence number value of the management frame traffic order to identify traffic management frame sent, functional new data link layer protocol flow control transmission management information identifying the sequence of payload information field of the new data link layer protocol traffic management frame may TLV information comprising a plurality of traffic management, to facilitate the achievement of the present invention, a chip (e.g., now widely used chip 32, so that the total required traffic management frame length is an integer multiple of 32 bits), length of the whole traffic management frame requires 32 bits integral multiple of the original if the new data link layer protocol traffic management frame length is not an integer multiple of 32 bits, then the traffic management TLV 全为0的字节进行填充处理,填充的长度用所述的新型数据链路层协议流量管理帧的填充长度字段以字节形式标识。 Byte 0 is all-filling process, the filling length of the length field is filled with the new data link layer protocol identification management frame traffic in bytes. 表10.流量管理帧类型字段的用法 Table 10. Use of traffic management frame type field
CN 200410060647 2004-07-27 2004-07-27 Adaptation method in use for syncretizing Ethernet and SHD or synchronous optical network CN1728720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410060647 CN1728720A (en) 2004-07-27 2004-07-27 Adaptation method in use for syncretizing Ethernet and SHD or synchronous optical network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410060647 CN1728720A (en) 2004-07-27 2004-07-27 Adaptation method in use for syncretizing Ethernet and SHD or synchronous optical network

Publications (1)

Publication Number Publication Date
CN1728720A true true CN1728720A (en) 2006-02-01

Family

ID=35927723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410060647 CN1728720A (en) 2004-07-27 2004-07-27 Adaptation method in use for syncretizing Ethernet and SHD or synchronous optical network

Country Status (1)

Country Link
CN (1) CN1728720A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008092389A1 (en) * 2007-01-26 2008-08-07 Huawei Technologies Co., Ltd. Multi-component compatible data architecture
WO2008106888A1 (en) * 2007-03-05 2008-09-12 Huawei Technologies Co., Ltd. Sdh/sonet convergent network
WO2008128446A1 (en) * 2007-04-20 2008-10-30 Huawei Technologies Co., Ltd. Multi-network compatible data architecture
CN100534040C (en) 2006-06-02 2009-08-26 杭州华三通信技术有限公司 Ethernet optical terminal adapter and ethernet transmission method
US7787498B2 (en) 2007-01-26 2010-08-31 Futurewei Technologies, Inc. Closed-loop clock synchronization
US7809027B2 (en) 2006-09-25 2010-10-05 Futurewei Technologies, Inc. Network clock synchronization floating window and window delineation
US7813271B2 (en) 2006-09-25 2010-10-12 Futurewei Technologies, Inc. Aggregated link traffic protection
CN101080106B (en) 2007-07-18 2010-12-08 中兴通讯股份有限公司 Traffic control method of Gbit passive optical network system
US7961751B2 (en) 2006-09-25 2011-06-14 Futurewei Technologies, Inc. Multiplexed data stream timeslot map
US7986700B2 (en) 2006-09-25 2011-07-26 Futurewei Technologies, Inc. Multiplexed data stream circuit architecture
US8295310B2 (en) 2006-09-25 2012-10-23 Futurewei Technologies, Inc. Inter-packet gap network clock synchronization
US8340101B2 (en) 2006-09-25 2012-12-25 Futurewei Technologies, Inc. Multiplexed data stream payload format
US8494009B2 (en) 2006-09-25 2013-07-23 Futurewei Technologies, Inc. Network clock synchronization timestamp
US8660152B2 (en) 2006-09-25 2014-02-25 Futurewei Technologies, Inc. Multi-frame network clock synchronization
US8824504B2 (en) 2008-08-20 2014-09-02 Huawei Technologies Co., Ltd. Packet add/drop multiplexer and data transmission method of packet add/drop multiplexer
US8976796B2 (en) 2006-09-25 2015-03-10 Futurewei Technologies, Inc. Bandwidth reuse in multiplexed data stream
CN105407108A (en) * 2006-02-06 2016-03-16 艾利森电话股份有限公司 Method Of Transporting Packets

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407108A (en) * 2006-02-06 2016-03-16 艾利森电话股份有限公司 Method Of Transporting Packets
CN100534040C (en) 2006-06-02 2009-08-26 杭州华三通信技术有限公司 Ethernet optical terminal adapter and ethernet transmission method
US8660152B2 (en) 2006-09-25 2014-02-25 Futurewei Technologies, Inc. Multi-frame network clock synchronization
US9019996B2 (en) 2006-09-25 2015-04-28 Futurewei Technologies, Inc. Network clock synchronization floating window and window delineation
US7675945B2 (en) 2006-09-25 2010-03-09 Futurewei Technologies, Inc. Multi-component compatible data architecture
US8982912B2 (en) 2006-09-25 2015-03-17 Futurewei Technologies, Inc. Inter-packet gap network clock synchronization
US7809027B2 (en) 2006-09-25 2010-10-05 Futurewei Technologies, Inc. Network clock synchronization floating window and window delineation
US7813271B2 (en) 2006-09-25 2010-10-12 Futurewei Technologies, Inc. Aggregated link traffic protection
US8976796B2 (en) 2006-09-25 2015-03-10 Futurewei Technologies, Inc. Bandwidth reuse in multiplexed data stream
US7961751B2 (en) 2006-09-25 2011-06-14 Futurewei Technologies, Inc. Multiplexed data stream timeslot map
US7986700B2 (en) 2006-09-25 2011-07-26 Futurewei Technologies, Inc. Multiplexed data stream circuit architecture
US8837492B2 (en) 2006-09-25 2014-09-16 Futurewei Technologies, Inc. Multiplexed data stream circuit architecture
US8289962B2 (en) 2006-09-25 2012-10-16 Futurewei Technologies, Inc. Multi-component compatible data architecture
US8295310B2 (en) 2006-09-25 2012-10-23 Futurewei Technologies, Inc. Inter-packet gap network clock synchronization
US9106439B2 (en) 2006-09-25 2015-08-11 Futurewei Technologies, Inc. System for TDM data transport over Ethernet interfaces
US8401010B2 (en) 2006-09-25 2013-03-19 Futurewei Technologies, Inc. Multi-component compatible data architecture
US8494009B2 (en) 2006-09-25 2013-07-23 Futurewei Technologies, Inc. Network clock synchronization timestamp
US8532094B2 (en) 2006-09-25 2013-09-10 Futurewei Technologies, Inc. Multi-network compatible data architecture
US8588209B2 (en) 2006-09-25 2013-11-19 Futurewei Technologies, Inc. Multi-network compatible data architecture
US8340101B2 (en) 2006-09-25 2012-12-25 Futurewei Technologies, Inc. Multiplexed data stream payload format
US8605757B2 (en) 2007-01-26 2013-12-10 Futurewei Technologies, Inc. Closed-loop clock synchronization
WO2008092389A1 (en) * 2007-01-26 2008-08-07 Huawei Technologies Co., Ltd. Multi-component compatible data architecture
CN101569147B (en) 2007-01-26 2012-05-02 华为技术有限公司 Multi-component compatible data architecture
US7787498B2 (en) 2007-01-26 2010-08-31 Futurewei Technologies, Inc. Closed-loop clock synchronization
WO2008106888A1 (en) * 2007-03-05 2008-09-12 Huawei Technologies Co., Ltd. Sdh/sonet convergent network
WO2008128446A1 (en) * 2007-04-20 2008-10-30 Huawei Technologies Co., Ltd. Multi-network compatible data architecture
CN101080106B (en) 2007-07-18 2010-12-08 中兴通讯股份有限公司 Traffic control method of Gbit passive optical network system
US8824504B2 (en) 2008-08-20 2014-09-02 Huawei Technologies Co., Ltd. Packet add/drop multiplexer and data transmission method of packet add/drop multiplexer

Similar Documents

Publication Publication Date Title
US6804256B2 (en) Automatic bandwidth adjustment in a passive optical network
US7315554B2 (en) Simple peering in a transport network employing novel edge devices
US6647428B1 (en) Architecture for transport of multiple services in connectionless packet-based communication networks
Martini et al. Pseudowire setup and maintenance using the label distribution protocol (LDP)
US6963561B1 (en) Facility for transporting TDM streams over an asynchronous ethernet network using internet protocol
US6847644B1 (en) Hybrid data transport scheme over optical networks
US20020093955A1 (en) Packet tag for support of remote network function/packet classification
Bryant et al. Pseudo wire emulation edge-to-edge (PWE3) architecture
US20020165978A1 (en) Multi-service optical infiniband router
US6961348B2 (en) Data transmission apparatus and method for transmitting data between physical layer side device and network layer device
US20040252688A1 (en) Routing packets in frame-based data communication networks
US20040184450A1 (en) Method and system for transport and routing of packets over frame-based networks
US20050129059A1 (en) Method of implementing PSEUDO wire emulation edge-to-edge protocol
Manchester et al. IP over Sonet
US7002967B2 (en) Multi-protocol networking processor with data traffic support spanning local, regional and wide area networks
US20030043736A1 (en) Method for supporting SDH/SONET APS on ethernet
US20050108401A1 (en) Method for supporting SDH/SONET OAMP on Ethernet
US7225259B2 (en) Service tunnel over a connectionless network
US20050008013A1 (en) Embedded management channel for SONET path terminating equipment connectivity
US6778561B1 (en) Hybrid data transport scheme over optical networks
US6973084B1 (en) Hybrid data transport scheme over optical networks
US20050220022A1 (en) Method and apparatus for processing labeled flows in a communications access network
US7127523B2 (en) Spanning tree protocol traffic in a transparent LAN
US20070140271A1 (en) Method and system for terminating SONET/SDH circuits in an IP network
US20060007854A1 (en) Implementation method on multi-service flow over rpr and apparatus therefor

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C20 Patent right deemed to be abandoned