Summary of the invention
A kind of novel Ethernet that the objective of the invention is the deficiency of the adaptation method that merges at existing Ethernet and SDH/SONET and defective and design and the adaptation method of SDH/SONET fusion; can realize the adaptive of Ethernet and SDH/SONET physical layer on the one hand; make the SDH/SONET network can directly transmit Ethernet; can solve defective and deficiency in above-mentioned three kinds of Ethernets and the SDH/SONET adaptation method in addition on the one hand again; can on Ethernet, directly transmit SDH/SONET; and powerful traffic engineering ability is provided and comprises that 2 layers of protection switch for Ethernet; Topology Discovery; fault management; configuration management; performance managements etc. are at interior Network Management Function; support (comprises cascade) from the Lower Order Virtual Container to the higher order virtual container whole speed ranges; also be particularly suitable for using the packet switch interface of light; can realize the direct sunshine wavelength exchange of all-optical network; for existing telecommunication transmission resource finds a good outlet; can realize transmitting the compatibility of network with following packet voice; make existing voice network be smoothly transitted into unified carrier class public network of future generation; can realize the unification of telecommunication transmission and exchange in addition, so great reduction network struction cost.
The objective of the invention is to reach: by defining a novel data link layer protocol by following measure---data link rules (english abbreviation is DLP); utilize this novel data link layer protocol (DLP) to realize Internet Protocol (IP) on the one hand; packet voice business and packet video business (Digital Television) are directly adaptive with various physical layer facilities; realize speech; the integration of three networks of data (IP) and video network; in the unified whole communication network of data link layer; make existing communication network be smoothly transitted into unified carrier class public network of future generation; realize comprising that thereby the fusion of the Ethernet and the heterogeneous networks of SDH (Synchronous Digital Hierarchy) or Synchronous Optical Network realizes the interconnected of different physical networks with this novel data link layer protocol on the other hand; when realizing the fusion of Ethernet and SDH (Synchronous Digital Hierarchy) (SDH) or Synchronous Optical Network (SONET) with this novel data link layer protocol respectively the client layer signal processing of ethernet mac frame or SDH/SONET circuit simulation signal as this novel data link layer protocol; utilize this novel data link layer protocol as client signal (ethernet mac frame or SDH/SONET circuit simulation signal) layer with physical layer (SDH/SONET or Ethernet) thus adapting protocol be implemented in SDH/SONET and go up the transmission Ethernet or on Ethernet, transmit SDH/SONET; between data link layer (DLP) and client layer communicate by letter and physical layer and data link layer (DLP layer) between communicate by letter and all realize by primitive; utilize the classification of this novel data link layer protocol definition; destination address and source address that the destination address sign indicating number of compatible existing telephone number system and source address sign indicating number are represented client signal; utilize theLayer 2 data link layer address to realize the two layers of forwarding and the exchange of client signal; the security mechanism of utilizing this new types of data link layer protocol to provide guarantees that the professional safety in the network transport process of client signal (ethernet mac frame or SDH circuit simulation signal) transmits; send miscellaneous service data with the Frame that defines in the described new types of data link layer protocol from the upper strata; the control frame of definition is realized the Topology Discovery that comprises of network; 2 layers of protection are switched; fault management; configuration management and performance management etc. are in interior network control management, and the traffic management frame of definition is realized the traffic engineering management of network.
According to method provided by the invention; it is characterized in that; by defining a novel data link layer protocol---data link rules (english abbreviation is DLP); utilize this novel data link layer protocol (DLP) to realize Internet Protocol (IP) on the one hand; professional and the packet video business (Digital Television) of packet voice thereby and the direct adaptive realization speech of various physical layers; the integration of three networks of data (IP) and video network; in the unified whole communication network of data link layer; make existing communication network be smoothly transitted into unified carrier class public network of future generation; realize comprising that thereby the fusion of the Ethernet and the heterogeneous networks of SDH (Synchronous Digital Hierarchy) or Synchronous Optical Network realizes the interconnected of different physical networks with this novel data link layer protocol on the other hand; it is that the specific phase mutual correlation relation (constituting certain specific coding relation) that relies on this data link layer protocol frame to begin the bit information formation in the certain-length most realizes that the frame of described new types of data link layer protocol frame is delimited; (English is Frame Length to frame length of definition in described new types of data link layer protocol; FL) field is used for identifying with the byte form total length of this data link layer protocol frame; (English is Frame Length Check to define a frame length verification; FLC) field is used for frame length field is carried out verification and carried out single-bit error or this particular verified encoding relation that 2 bit mistake correction process utilize these two field bit to constitute simultaneously realizes that the frame of described new types of data link layer protocol frame delimits; (English is Service Type to define a type of service; ST) field is used for identifying the type of service of payload field encapsulation; thereby realize multiple services encapsulation; the type of service that regulation is different has different priority simultaneously; (English is Networks Topology to define a topological field; NT) come the topological classification of marked network node; whether define a safety (English for Security) field is used for identifying and the payload of encapsulation is encrypted; authentication processing; (English is Destination Address Code to the destination address sign indicating number of a classification of definition; DAC) and the source address sign indicating number (English is Source Address Code; SAC) identify the two layers of destination address and the source address of encapsulation business data packet; (English is Extension Header to define an extension header; EH) field identifies and whether payload is carried out extension process; defining a filling length field is used for indicating to fill processing as payload is authenticated with the byte form; the length of filling during encryption; (English is Frame Sequence Number to define a number of frames; FSN) field is used for the transmission sequence of identification data link layer protocol frame; (English is Security Parameter Index to define a Security Parameter Index; SPI) identify the security association that the communication two ends were set up when the data authenticated encryption handled; define a payload (the English Payload of being) field and encapsulate miscellaneous service from the upper strata; (English is Frame CheckSequence to define a Frame Check Sequence; FCS) field comes described new types of data link layer protocol frame is carried out verification; definition one class Frame sends the miscellaneous service data from the upper strata in described new types of data link layer protocol frame; definition traffic management frame is realized the traffic engineering management of network; the definition control frame is realized the Topology Discovery that comprises of network; 2 layers of protection are switched; fault management; configuration management and performance management etc. are in interior network control management; these three kinds of dissimilar frames are identified by the type field in the described new types of data link layer protocol frame; specific as follows: definition frame length (english abbreviation is FL) field length is 16 bits; definition frame length check field (english abbreviation is FLC) length is 15 bits; make FL and FLC field bit constitute BCH (31; 16) sign indicating number (BCH is the english abbreviation of BCH Bose-Chadhuri-Hocquengham's sign indicating number); this relation of utilizing the DLP frame realizes the frame demarcation of DLP frame and single-bit or 2 bit mistakes that FL occurs is carried out correction process; the generator polynomial of BCH (31,16) sign indicating number is G (x)=x15+ x11+ x10+ x9+ x8+ x7+ x5+ x3+ x2+ x+1, initialization value are 0, here x15Corresponding highest significant position (english abbreviation is MSB), x0Corresponding least significant bit (english abbreviation is LSB), the DLP frame utilizes the specific coding of front 31 bits in the DLP frame (FL field and FLC field) to concern the demarcation that realizes the DLP frame, the DLP frame is delimited process and is realized according to finite state machine, finite state machine comprises three states: search (English is HUNT) attitude, presynchronization (English is PRESYNC) attitude, (English is SYNC) attitude synchronously, the finite state machine workflow diagram is as follows: (1) is in the search attitude, DLP handles 31 bits that receive is pursued FL and the FLC relation that correct format is sought in the bit search, in this state, BCH code does not have the single-bit error of FL field and FLC field or 2 bit mistake error corrections, in case in 31 bits that receive, find correct candidate FL and FLC matching relationship value, can suppose and determine a correct DLP frame, receive presynchronization (the English PRESYNC of the being) state that enters of handling, (2) in the PRESYNC attitude, DLP handles by searching for frame by frame to handle and realizes the demarcation of DLP frame, pursue FL and the correct matching value of FLC that the bit search is found according to previous step, can suppose and search a correct DLP frame, can determine the FL and the FLC field value of next frame then according to each field relation of this frame, and determine according to their relation whether they mate, and then next frame, in case determine that continuously (DELTA is a parameter to DELTA, it be one greater than 0 positive integer) individual correct DLP frame, DLP receives to handle and enters synchronous state, otherwise, if the FL of a frame and FLC field value do not match subsequently, enter the search attitude, at this moment, BCH code does not have the single-bit error of FL field and FLC field or 2 bit mistake error corrections, enter synchronous state from the search attitude and need search DELTA+1 correct DLP frame continuously, (3) at synchronous state, DLP handles the beginning that can determine next DLP frame by the FL of a frame and FLC field relation, can realize the parsing of a frame one frame then, FLC has single-bit error or 2 bit mistake error corrections in this state, if a plurality of bits (surpassing 2 bit mistakes) mistake takes place, then frame is delimited and was lost efficacy, framing is handled and is entered the search attitude, and send client server Signal Fail (english abbreviation is SSF) indication for client's adaptation processing, (4) the empty frame of DLP participates in frame and delimits processing, and abandon the sky frame subsequently, it is relevant with the DELTA value that the DLP frame is delimited the strong property of the key of handling, the present invention advises that the DELTA value is 1, the reserved field that length of definition is 1 bit behind FLC gives over to and uses (R field in the future, be set to 0) always, definition business type field length is 8 bits, can discern 28=256 kind type of service altogether, wherein highest significant position is that what represented in 0 o'clock to encapsulate is the general data business (as common IP data service) of low priority, highest significant position is that the business of representing the encapsulation of DLP payload field at 1 o'clock is that the real time business of high priority is (as phone, real-time video traffic), the priority of DLP Business Processing order from high to low is followed successively by: control frame>traffic management frame>real time business (real-time speech, video or other real time business)>data service (IPv4/IPv6), the business of high priority is at first handled in the formation of DLP network processes, the usage of business type field is as shown in table 1
The usage of table 1. business type field
| The binary value of business type field | Usage |
| 00000000~00000011 | Keep |
| 00000100 | The IPv4 data |
| 00000101 | Themobile IPv 4 data |
| 00000110 | The IPv6 data |
| 00000111 | MovingIPv 6 data |
| 00001000~00111111 | Keep and give other data, services |
| 01000000 | The 10Mbps Ethernet |
| 01000001 | The 100Mbps Ethernet |
| 01000010 | The 10/100Mbps Ethernet |
| 01000011 | Gigabit Ethernet |
| 01000100~01111111 | Keep |
| 10000001 | Control frame |
| 10000010 | The traffic management frame |
| 10000011 | Real-time fixedly local call (local telephone) business |
| 10000100 | Real-time fixedly National calls business |
| 10000101 | Real-time fixedly international long-distance telephone business |
| 10000110 | In real time fixing local video telephone (local telephone) business |
| 10000111 | Real-time fixedly national distance visual telephone service |
| 10001000 | Real-time fixedly international long-distance visual telephone service |
| 10001001 | Landline telephone is called out local (local telephone) business that moves in real time |
| 10001010 | Landline telephone is called out mobile National calls business in real time |
| 10001011 | Landline telephone is called out international mobile long-distance telecommunications service in real time |
| 10001100 | Landline telephone is called out local mobile video telephone business in real time |
| 10001101 | Landline telephone is called out mobile national distance visual telephone service in real time |
| 10001110 | Landline telephone is called out the international long-distance visual telephone service that moves in real time |
| 10001111 | Move domestic voice service in real time |
| 10010000 | Move international voice service in real time |
| 10010001 | Move domestic visual voice service in real time |
| 10010010 | Move international visual voice service in real time |
| 10010011 | Real-time video traffic (broadcast type TV) |
| 10010100 | Real-time video traffic (unicast type TV) |
| 10010101 | Real time business based on IPv4 |
| 10010110 | Real time business based on IPv6 |
| 10010111 | Real time business based onmobile IPv 4 |
| 10011000 | Real time business based onmobile IP v 6 |
| 10011001 | G.702PDH circuit emulation service: asynchronous circuit 1544 kilobits/second |
| 10011010 | G.702PDH circuit emulation service: asynchronous circuit 2048 kilobits/second |
| 10011011 | G.702PDH circuit emulation service: asynchronous circuit 6312 kilobits/second |
| 10011100 | G.702PDH circuit emulation service: asynchronous circuit 8448 kilobits/second |
| 10011101 | G.702PDH circuit emulation service: asynchronous circuit 34368 kilobits/second |
| 10011110 | G.702PDH circuit emulation service: asynchronous circuit 44736 kilobits/second |
| 10011111 | G.702PDH circuit emulation service: synchronous circuit 1544 kilobits/second |
| 10100000 | G.702PDH circuit emulation service: synchronous circuit 2048 kilobits/second |
| 10100001 | G.702PDH circuit emulation service: synchronous circuit 6312 kilobits/second |
| 10100010 | G.702PDH circuit emulation service: synchronous circuit 8448 kilobits/second |
| 10100011 | G.702PDH circuit emulation service: synchronous circuit 34368 kilobits/second |
| 10100100 | G.702PDH circuit emulation service: synchronous circuit 44736 kilobits/second |
| 10100101 | G.702PDH circuit emulation service: 139264 kilobits/second |
| 10100111 | G.707SDH circuit emulation service: C-11,1648 kilobits/second |
| 10101000 | G.707SDH circuit emulation service: C-12,2224 kilobits/second |
| 10101001 | G.707SDH circuit emulation service: C-2,6832 kilobits/second |
| 10101010 | G.707SDH circuit emulation service: C-3,48384 kilobits per seconds |
| 10101011 | G.707SDH circuit emulation service: C-4,149760 kilobits per seconds |
| 10101100 | G.707SDH circuit emulation service: VC-11,1664 kilobits per seconds |
| 10101101 | G.707SDH circuit emulation service: VC-12,2240 kilobits/second |
| 10101110 | G.707SDH circuit emulation service: VC-2,6848 kilobits/second |
| 10101111 | G.707SDH circuit emulation service: VC-3,48960 kilobits/second |
| 10110000 | G.707SDH circuit emulation service: VC-4,150336 kilobits/second |
| 10110001 | G.707SDH circuit emulation service: TU-11,1728 kilobits per seconds |
| 10110010 | G.707SDH circuit emulation service: TU-12,2304 kilobits per seconds |
| 10110011 | G.707SDH circuit emulation service: TU-2,6912 kilobits per seconds |
| 10110100 | G.707SDH circuit emulation service: TU-3,49152 kilobits per seconds |
| 10110101 | G.707SDH circuit emulation service: AU-3,50304 kilobits per seconds |
| 10110110 | G.707SDH circuit emulation service: AU-4,150912 kilobits per seconds |
| 10110111 | G.707SDH circuit emulation service: STM-0,51 480 kilobits/second |
| 10111001 | G.707SDH circuit emulation service: STM-1/OC-3c, 155 520 kilobits/second |
| 10111010 | G.707SDH circuit emulation service: STM-4OC-12c, 600 080 kilobits/second |
| 10111011 | G.707SDH circuit emulation service: STM-16 ,/OC-48c 2 488 320 kilobits/second |
| 10111100 | DVB.MPEG-1 transmits bit stream |
| 10111101 | DVB, MPEG-2 transmits bit stream |
| 10111110 | DVB, MPEG-4 transmits bit stream |
| 10111111~11111111 | Keep and give other real time business |
Defining topological field length is 4 bits; wherein binary value " 0001 " is represented bus structures; binary value " 0010 " expression star structure; binary value " 0011 " expression tree topology; binary value " 0100 " expression ring topology; binary value " 0101 " expression grid (Mesh) topological structure; other value keeps to give in the future to be used; for ring topology and network topology; the invention provides 50 milliseconds of protection switch functions; definition secure fields length is 4 bits; wherein binary value " 0000 " expression is not carried out any encryption to upper-layer service; authentication processing; binary value is represented carry out encryption from the business datum on upper strata for " 0001 "; binary value " 0010 " expression is carried out authentication processing to the business datum from the upper strata; binary value " 0100 " expression is to encrypting and authentication processing from the business datum on upper strata; other value keeps in the future to be used; definition destination address code length is 64 bits; definition source address code field length is 64 bits; the destination address sign indicating number adopts identical hierarchy with the source address sign indicating number; all (English is Country Code by national code; CC); (English is National Region Code to domestic area code; NRC); (English is Node Area Code to station code; NAC) and personal code work (English is User Code; UC) 4 fields are formed; each field length is 16 bits; wherein national code is represented the first order forwarding label of upper-layer service; domestic area code is represented the second level forwarding label of upper-layer service; station code is represented the third level forwarding label of upper-layer service; personal code work is represented the fourth stage forwarding label of upper-layer service; definition header field length is 8 bits; wherein binary value does not have extension header for " 00000000 " expression; other value keeps in the future to be used; it is 8 bits that length field length is filled in definition; be used for filling the length that the DLP payload field is filled when handling with byte form sign; definition frame sequence-number field length is 16 bits; be used for the DLP frame that sends is carried out sequence mark; this field value carries out sequence mark since 0 to the DLP frame that sends; up to maximum,, send the value that processor is removed register if FSN reaches maximum; and count again since 0; send to guarantee that the DLP frame can be transmitted according to correct order; receive and handle, FSN also provides anti-playback simultaneously, and definition Security Parameter Index field length is 16 bits; this field is optional; its value is arbitrarily, is used in combination the security association that identifies uniquely under this DLP frame with DLP destination address sign indicating number and (Englishly is Security Association, SA); wherein the SPI value is that 0 reservation is given local; specific implementation is used;metric 1~255 is kept to using in the future by IANA (IANA is the english abbreviation of Internet Assigned Numbers Authority), and other value is determined according to the encrypting and authenticating algorithm that adopts that by communicating pair defining payload field length is 0~65535 byte; be used for encapsulating whole client signal grouping from client layer; definition padding data (this field is optional) field length is 0~255 byte, and occurrence is relevant with the encrypting and authenticating algorithm of employing, and its value is determined by the encrypting and authenticating algorithm; define an authentication data field (this field is optional) and deposit the verify data that authentication processing generates; the authentication data field value is relevant with the identifying algorithm of employing, and its value is determined (generation), definition frame verification sequence (Frame Check Sequence by concrete identifying algorithm; FCS) field length is 32 bits; be used for the payload of part header fields content in the data link layer protocol frame (DLP frame) and encapsulation is carried out verification, FCS verification scope comprises: first bit of business type field begins from the DLP frame, until the ending of DLP frame; specifically comprise business type field; the topology field; secure fields; the destination address sign indicating number; the source address sign indicating number; extension header; fill length field; number of frames; the Security Parameter Index (if there is); payload; the padding data (if there is); field bit streams such as verify data (if there is) carry out checking treatment, and checking algorithm adopts the CRC-32 of 802.3 2002 editions definition of IEEE: generator polynomial is G (x)=x32+ x26+ x26+ x23+ x22+ x16+ x12+ x11+ x10+ x8+ x7+ x5+ x4+ x2+ x1+ 1, here, x32Corresponding highest significant position (MSB position), and x0Corresponding least significant bit (LSB position), if DLP frame generation fcs error, abandon the DLP frame that makes a mistake, if some field value can not be discerned, fcs error perhaps appears, then think invalid data link layer protocol frame, invalid frame will be dropped, do not notify transmit leg, also do not produce any action, invalid frame comprises:
(1) the DLP frame of received frame generation fcs error (FCS does not match)
(2) received frame length is less than the frame of 30 bytes
(3) frame that can not discern of business type field
(4) frame that can not discern of other field of header
If client layer does not have signal demand to send, need fill processing at the DLP frame gap, promptly send empty frame, the purpose that sends empty frame is in order to regulate two internodal speed, empty frame sends to its adjacent nearest node from a node, neighbor node is not forwarded to any other place to it after receiving the sky frame, directly it is abandoned, do not notify transmit leg yet, the content of the empty frame of filling that sends at frame gap comprises frame length field, the frame length check field, length is the reserved field (always being set to 0) and the source address sign indicating number (station code and the personal code work field that include only in the source address sign indicating number amount to 4 bytes) of 1 bit, at transmitting terminal, synchronous payload encapsulation (SPE) or ethernet mac frame that the DLP frame that has encapsulated client signal is encapsulated among physical layer payload such as the SDH must carry out scrambler before, before receiving terminal is to any processing of DLP frame, at first carry out descrambling code, could be for further processing to the DLP frame behind the descrambling code, scrambler and descrambling code adopt motor synchronizing scrambler/descrambler, and its generator polynomial is G (X)=X43+ 1.
According to method provided by the invention, it is characterized in that, with a novel data link layer protocol---data link rules (DLP) realize the fusion of Ethernet and SDH (Synchronous Digital Hierarchy) or Synchronous Optical Network, can be implemented on SDH (Synchronous Digital Hierarchy) or the Synchronous Optical Network with this novel data link layer protocol on the one hand and transmit Ethernet, can be implemented in this novel data link layer protocol on the one hand in addition and transmit SDH/SONET on the Ethernet, wherein be implemented on SDH (Synchronous Digital Hierarchy) or the Synchronous Optical Network when transmitting Ethernet Ethernet (ethernet mac frame) is handled as the client layer of this new types of data link layer protocol with this novel data link layer protocol, specific practice is to be encapsulated into the ethernet mac frame in the payload field of DLP frame as client layer signal, simultaneously the business type field value is set according to Ethernet interface speed, source address sign indicating number and destination address sign indicating number according to the described new types of data link layer protocol of the address setting of port frame, the topological field value of described new types of data link layer protocol frame is set according to the node topology type, according to whether the ethernet mac frame being carried out encrypting and authenticating handles the security word segment value is set, simultaneously each the described new types of data link layer protocol frame that sends is carried out sequence mark, then described new types of data link layer protocol frame is encapsulated in the SDH/SONET payload field, at first described new types of data link layer protocol frame being carried out scrambler before described new types of data link layer protocol frame is mapped to the SDH/SONET payload field handles, in network, can realize the forwarding and the exchange of ethernet mac frame signal according to the destination address of described new types of data link layer protocol frame, this moment, physical layer was SDH/SONET, client layer is the ethernet mac frame, Ethernet comprises the Ethernet of IEEE802.3 definition, the Fast Ethernet of IEEE 802.3u definition, the 10G Ethernet of the gigabit Ethernet of IEEE 802.3z definition and IEEE 802.3ae definition, physical layer is SDH/SONET physical interfaces existing and whole speed ranges that may develop future, support (comprises cascade) from the Lower Order Virtual Container to the higher order virtual container whole speed ranges, can realize based on all kinds of virtual containers, the direct exchange of the circuit of the particle of all kinds of Synchronous Transfer Modes and the direct exchange of optical-fiber network optical wavelength, wherein all kinds of virtual containers and bandwidth thereof, the payload parameter is as shown in table 2:
All kinds of virtual containers of table 2.SDH and bandwidth thereof, payload parameter
| The virtual container type | The virtual container bandwidth | The virtual container payload |
| Virtual container-11 | Its bandwidth is 1664 kilobits/second | Payload 1600 kilobits/second |
| Virtual container-12 | Its bandwidth is 2240 kilobits/second | Payload 2176 kilobits/second |
| Virtual container-2 | Its bandwidth is 6848 kilobits/second | Payload 6784 kilobits/second |
| Virtual container-3 | Its bandwidth is 48960 kilobits/second | Payload 48384 kilobits/second |
| Virtual container-4 | Its bandwidth is 150336 kilobits/second | Payload 149760 kilobits/second |
| Virtual container-4-4c | Its bandwidth is 601344 kilobits/second | Payload 599040 kilobits/second |
| Virtual container-4-16c | Its bandwidth is 2405376 kilobits/second | Payload 2396160 kilobits/second |
| Virtual container-4-64c | Its bandwidth is 9621504 kilobits/second | Payload 9584640 kilobits/second |
| Virtual container-4-256c | Its bandwidth is 38486016 kilobits/second | Payload 38338560 kilobits/second |
The interface rate of all kinds of Synchronous Transfer Modes is as shown in table 3:
The interface rate of all kinds of Synchronous Transfer Modes of table 3.SDH
| The Synchronous Transfer Mode type | Bit rate |
| sSTM-11 | 2880 kilobits/second |
| sSTM-12 | 5184 kilobits/second |
| sSTM-14 | 9792 kilobits/second |
| sSTM-18 | 19792 kilobits/second |
| sSTM-116 | 37444 kilobits/second |
| sSTM-21 | 7488 kilobits/second |
| sSTM-22 | 14400 kilobits/second |
| sSTM-24 | 28224 kilobits/second |
| STM-0 | 51840 kilobits/second |
| STM-1 | 155052 kilobits/second |
| STM-4 | 622080 kilobits/second |
| STM-16 | 2488320 kilobits/second |
| STM-64 | 9953280 kilobits/second |
| STM-256 | 39813120 kilobits/second |
When physical layer adopted Synchronous Optical Network (SONET), all kinds of virtual containers and bandwidth thereof, payload parameter were as shown in table 4:
All kinds of virtual containers of table 4.SONET and bandwidth thereof, payload parameter
| The virtual container type | The virtual container bandwidth | The virtual container payload |
| Virtual container-11 | Its bandwidth is 1664 kilobits/second | Payload 1600 kilobits/second |
| Virtual container-12 | Its bandwidth is 2240 kilobits/second | Payload 2176 kilobits/second |
| Virtual container-2 | Its bandwidth is 6848 kilobits/second | Payload 6784 kilobits/second |
| Virtual container-3 | Its bandwidth is 48960 kilobits/second | Payload 48384 kilobits/second |
| Virtual container-4 | Its bandwidth is 150336 kilobits/second | Payload 149760 kilobits/second |
| Virtual container-4-4c | Its bandwidth is 601344 kilobits/second | Payload 599040 kilobits/second |
| Virtual container-4-16c | Its bandwidth is 2405376 kilobits/second | Payload 2396160 kilobits/second |
| Virtual container-4-64c | Its bandwidth is 9621504 kilobits/second | Payload 9584640 kilobits/second |
| Virtual container-4-256c | Its bandwidth is 38486016 kilobits/second | Payload 38338560 kilobits/second |
The interface rate of all kinds of Synchronous Transfer Modes of Synchronous Optical Network is as shown in table 5:
The interface rate of all kinds of Synchronous Transfer Modes of table 5. Synchronous Optical Network
| The Synchronous Transfer Mode type | Bit rate |
| STS-1 | 51840 kilobits/second |
| STS-3 | 155520 kilobits/second |
| STS-9 | 466560 kilobits/second |
| STS-12 | 622080 kilobits/second |
| STS-18 | 933120 kilobits/second |
| STS-24 | 1422160 kilobits/second |
| STS-36 | 1866240 kilobits/second |
| STS-48 | 2488320 kilobits/second |
| STS-192 | 9953280 kilobits/second |
| STS-768 | 39813120 kilobits/second |
The service that data link layer (data link rules DLP) provides for client layer (ethernet mac frame) is adopted and is not confirmed formula information transfer service pattern; the data that send are not done any affirmation formula operation; described new types of data link layer protocol layer passes through " data link-data-request (the English DL_DATA.request of being) " for the service that client layer provides; " data link-data-indication (English is DL_DATA.indication) "; " data link-control-request (English is DL_CONTROL.request) "; 4 primitive such as " data link-control-indication (English are DL_CONTROL.indication) " are realized; physical layer is that two primitive are passed through in the service that data link layer (DLP) provides: " physical link-data-request (the English PL_DATA.request of being) "; " physical link-data-indication (English is PL_DATA.indication) " realizes; at transmitting terminal; when mac frame need send; call DL_DATA.request (data link-data-request) primitive; this primitive comprises series of parameters; these parameters are used for determining the value of described new types of data link layer protocol frame each field of header and payload field; at receiving terminal; when described new types of data link layer protocol client entity will receive data; described new types of data link layer protocol entity activates DL_DATA.indication primitive; the accepting state of this primitive indication incoming frame and the value of described each field of new types of data link layer protocol frame of input; if client layer needs described new types of data link layer protocol that network control function is provided; call data link-control primitive: " data link-control-request (DL_CONTROL.request) " and " data link-control-indication (DL_CONTROL.indication) " primitive; these two primitive comprise a series of command code and parameter; can provide network control function by these two primitive; as discovering network topology; 2 layers of protection are switched; configuration management; fault management; performance management etc.; at transmitting terminal; need be when data link layer sends to physical entity as data; described new types of data link layer protocol entity activates PL_DATA.request primitive; will be when physical entity sends described new types of data link layer protocol entity at receiving terminal as data; activate PL_DATA.indication primitive, each primitive semantic as follows:
(1)DL_DATA.request (
DestinationAddressCode,
SourceAddressCode,
DLPServiceData,
FrameLength,
ServiceType,
NetworkTopology,
Security,
FrameSequenceNumber,
SPI) DL_DATA.request primitive contains 9 parameters, the implication of each parameter is respectively: DestinationAddressCode represents the destination address sign indicating number, with generating the destination address code word segment value that sends in the described new types of data link layer protocol frame header, SourceAddressCode represents the source address sign indicating number, with generating the source address code word segment value that sends in the described new types of data link layer protocol frame header, the client signal that DLPServiceData indicates to send is a whole M AC frame, send payload word segment value in the described new types of data link layer protocol frame with generating, the total length of the definite described new types of data link layer protocol frame that will send of FrameLength parameter, the type of service that the ServiceType parameter indicates described new types of data link layer protocol client layer to send, it sends business type field value in the described new types of data link layer protocol frame header with generating, the Security parameter indicates whether described new types of data link layer protocol client signal is encrypted, authentication processing, described new types of data link layer protocol entity determines to send security word segment value in the described new types of data link layer protocol frame header with it, the number of frames (FSN) of transmit frame is wanted in the indication of FrameSequenceNumber parameter, described new types of data link layer protocol entity determines to send FSN field value in the described new types of data link layer protocol frame header with it, the network topology of NetworkTopology parameter indication network node, described new types of data link layer protocol entity is determined topological field value in the described new types of data link layer protocol frame header with it, SPI (SPI is the english abbreviation of Security Parameter Index) parameter is an option, determine the ethernet mac frame is encrypted if be used for, the security association of setting up at the communication two ends during authentication processing, be used for determining Security Parameter Index (SPI) field value in the described new types of data link layer protocol frame
(2)DL_DATA.indication(
DestinationAddressCode,
SourceAddressCode,
DLPServiceData,
ServiceType,
FrameLength,
ReceptionStatus,
NetworkTopology,
Security,
FrameSequenceNumber,
SPI) the DL_DATDA.indication primitive parameter is semantic as follows: DestinationAddressCode determines the destination address sign indicating number of described new types of data link layer protocol frame, this parameter is determined the destination address code word segment value in the described new types of data link layer protocol frame header of input, SourceAddressCode determines the source address sign indicating number of described new types of data link layer protocol frame, this parameter is determined the source address code word segment value in the described new types of data link layer protocol frame header of input, DLPServiceData determines the described new types of data link layer protocol frame payload word segment value of input, the accepting state of ReceptionStatus indication incoming frame, if the FCS of incoming frame (Frame Check Sequence) field does not make a mistake, the value of ReceptionStatus is FCS_ERROR_FREE, otherwise, if incoming frame makes a mistake, then the ReceptionStatus value is FCS_ERROR, the business type field value of the described new types of data link layer protocol frame of ServiceType parameter indication input, the FrameLength parameter is determined the total length of the described new types of data link layer protocol frame of input, whether the described new types of data link layer protocol frame of Security parameter indication input is encrypted, authentication processing, the Security field value of the described new types of data link layer protocol frame of its indication input, the FrameSequenceNumber parameter is indicated the number of frames (FSN) of described incoming frame, topological field value in the described new types of data link layer protocol frame of NetworkTopology parameter indication input, the SPI parameter is used to refer to the Security Parameter Index field value of described incoming frame
The form of (3) data link-control-request (DL_CONTROL.request) primitive data link-control-request (DL_CONTROL.request) primitive is: DL_CONTROL.request (command code; solicit operation ordered series of numbers table); wherein command code comprises Topology Discovery request (the English TOPOLOGY_DISCOVERY_REQ of being); 2 layers of protection switching request (English is L2PS_REQ); configuring request (English is CONFIGURATION_REQ); fault inquiry request (English is FAULT_INQUIRY_REQ); performance queries request (English is PERFORMANCE_INQUIRY_REQ) etc.; the concrete operations ordered series of numbers table of each command code is as follows: the solicit operation number of Topology Discovery request (TOPOLOGY_DISCOVERY_REQ) command code comprises the destination address sign indicating number; the source address sign indicating number; type of service; number of frames; 5 of Topology Discovery claim frame payload datas etc.; the solicit operation number of 2 layers of protection switching request (L2PS_REQ) command code comprises the destination address sign indicating number; the source address sign indicating number; type of service; number of frames; 5 of 2 layers of protection switching request frame payload datas etc.; the solicit operation number of configuring request (CONFIGURATION_REQ) command code comprises the destination address sign indicating number; the source address sign indicating number; type of service; number of frames; 5 of configuring request frame payload datas etc.; the solicit operation number of fault inquiry request (FAULT_INQUIRY_REQ) command code comprises the destination address sign indicating number; the source address sign indicating number; type of service; number of frames; 5 of fault inquiry claim frame payload datas etc.; the solicit operation number of performance queries request (PERFORMANCE_INQUIRY_REQ) command code comprises the destination address sign indicating number; the source address sign indicating number; type of service; number of frames; 5 of performance queries claim frame payload datas etc.; destination address sign indicating number in each operand; the source address sign indicating number; type of service; the isoparametric implication of number of frames is the same with data link-data-request primitive corresponding parameters implication
The form of (4) data link-control-indication (DL_CONTROL.indication) data link-control-indication (DL_CONTROL.indication) primitive is a DL_CONTROL.indication (command code; the tabulation of indication operand); wherein command code comprises Topology Discovery response indication (the English TOPOLOGY_DISCOVERY_RESPONSE_IND of being); response indication (the English L2PS_RESPONSE_IND of being) is switched in 2 layers of protection; configuration response indication (English is CONFIGURATION_RESPONSE_IND); fault inquiry response indication (English is FAULT_INQUIRY_RESPONSE_IND); performance queries response indication (English is PERFORMANCe_INQUIRY_RESPONSE_IND) etc.; the concrete operations ordered series of numbers table of each command code is as follows: the indication operand of Topology Discovery response indication (TOPOLOGY_DISCOVERY_RESPONSE_IND) command code comprises the destination address sign indicating number; the source address sign indicating number; type of service; number of frames; 5 of Topology Discovery response frame payload datas etc.; 2 layers of protection are switched response and are indicated the indication operand of (L2PS_RESPONSE_IND) command code to comprise the destination address sign indicating number; the source address sign indicating number; type of service; number of frames; 5 of response frame payload datas etc. are switched in 2 layers of protection; the indication operand of configuration response indication (CONFIGURATION_RESPONSE_IND) command code comprises the destination address sign indicating number; the source address sign indicating number; type of service; number of frames; 5 of configuration response frame payload datas etc.; the indication operand of fault inquiry response indication (FAULT_INQUIRY_RESPONSE_IND) command code comprises the destination address sign indicating number; the source address sign indicating number; type of service; number of frames; 5 of fault inquiry response frame payload datas etc.; the indication operand of performance queries response indication (PERFORMANCE_INQUIRY_RESPONSE_IND) command code comprises the destination address sign indicating number; the source address sign indicating number; type of service; number of frames; 5 of performance queries response frame payload datas etc.; destination address sign indicating number in each operand; the source address sign indicating number; type of service; the isoparametric implication of number of frames is the same with data link-data-indication corresponding parameters implication
(5) physical link-request of data (PL_DATA.request) PL_DATA.request (Userdata), this primitive has only a parameter, and this parameter is a user data, and English is Userdata,
(6) physical link-data indication (PL_DATA.indication) PL_DATA.indication (Userdata), this primitive has only a parameter, and this parameter is a user data, and English is Userdata.
According to method provided by the invention, it is characterized in that, with described novel data link layer protocol---data link rules (DLP) realize the fusion of Ethernet and SDH (Synchronous Digital Hierarchy) or Synchronous Optical Network, can be implemented on SDH (Synchronous Digital Hierarchy) or the Synchronous Optical Network with this novel data link layer protocol on the one hand and transmit Ethernet, can be implemented in this novel data link layer protocol on the one hand in addition and transmit SDH/SONET on the Ethernet, wherein be implemented on the Ethernet when transmitting SDH (Synchronous Digital Hierarchy) or Synchronous Optical Network SDH (Synchronous Digital Hierarchy) or Synchronous Optical Network are handled as the client layer of this novel data link layer protocol with this novel data link layer protocol, at first by circuit simulation the SDH/SONET signal packetsization, the packetizing SDH/SONET signal of periodic output certain-length, be encapsulated into the SDH/SONET circuit simulation signal of packetizing in the payload field of described new types of data link layer protocol frame as client layer signal then, simultaneously the business type field value is set according to the SDH/SONET interface rate, source address sign indicating number and destination address sign indicating number according to the described new types of data link layer protocol of the address setting of port frame, according to the node topology type described new types of data link layer protocol frame topology field value is set, according to whether SDH/SONET circuit simulation signal being carried out encrypting and authenticating handles the security word segment value is set, simultaneously each the described new types of data link layer protocol frame that sends is carried out sequence mark, then described new types of data link layer protocol frame is encapsulated in the ethernet mac frame payload field, at first described new types of data link layer protocol frame being carried out scrambler before described new types of data link layer protocol frame is mapped to ethernet mac frame payload field handles, the ethernet mac frame is encapsulated on the Ethernet physical interface link of full duplex of various speed according to the common way of Ethernet more subsequently, in network, realize the forwarding and the exchange of SDH/SONET signal according to the destination address of described new types of data link layer protocol frame, handle the SDH/SONET circuit simulation signal that extracts packetizing at receiving terminal according to the reverse order of transmitting terminal, be reassembled as complete SDH/SONET signal according to number of frames, this moment, physical layer was the FDX Ethernet physical interface of whole various speed of IEEE 802.3 definition, the concrete Ethernet that comprises IEEE 802.3 definition, the Fast Ethernet of IEEE 802.3u definition, the gigabit Ethernet of IEEE 802.3z definition, the 10G Ethernet of IEEE 802.3ae definition, data link layer is data link rules (DLP) and ethernet mac sublayer, wherein data link rules (DLP) are positioned on the ethernet mac sublayer, SDH/SONET circuit simulation signal is handled as the client layer of DLP, the output cycle of SDH/SONET signal and block length relevant with the SDH/SONET interface rate, table 6 is depicted as the block length classification of different rates SDH/SONET circuit simulation signal, should require total speed of Ethernet interface greater than the SDH/SONET interface rate this moment as far as possible
The length of table 6.SDH/SONET signal packets
| The client signal type | The block length of SDH/SONET signal (byte) |
| G.707C-11,1648 kilobits per seconds | 103 |
| G.707C-12,2224 kilobits per seconds | 139 |
| G.707C-2,6832 kilobits per seconds | 427 |
| G.707C-3,48384 kilobits per seconds | 756 |
| G.707C-4,149760 kilobits per seconds | 260 |
| G.707VC-11,1664 kilobits per seconds | 104 |
| G.707VC-12,2240 kilobits per seconds | 140 |
| G.707VC-2,6848 kilobits per seconds | 428 |
| G.707VC-3,48960 kilobits per seconds | 765 |
| G.707VC-4,150336 kilobits per seconds | 261 |
| G.707TU-11,1728 kilobits per seconds | 108 |
| G.707TU-12,2304 kilobits per seconds | 144 |
| G.707TU-2,6912 kilobits per seconds | 432 |
| G.707TU-3,49152 kilobits per seconds | 768 |
| G.707AU-3,50304 kilobits per seconds | 786 |
| G.707AU-4,150912 kilobits per seconds | 262 |
| G.707STM-0,51840 kilobits per seconds | 810 |
| G.707SDH STM-1/OC-3c | 270 |
| G.707SDH STM-4/OC-12c | 1080 |
| G.707 SDH STM-16/OC-48c | 1080 |
The service that data link layer (data link rules DLP) provides for client layer (SDH/SONET circuit simulation signals layer) is adopted and is not confirmed formula information transfer service pattern; the data that send are not done any affirmation formula operation; described new types of data link layer protocol layer passes through " data link-data-request (the English DL_DATA.request of being) " for the service that client layer provides; " data link-data-indication (English is DL_DATA.indication) "; " data link-control-request (English is DL_CONTROL.request) "; 4 primitive such as " data link-control-indication (English are DL_CONTROL.indication) " are realized; at transmitting terminal; when SDH/SONET circuit simulation signal packets need send; call DL_DATA.request (data link-data-request) primitive; this primitive comprises series of parameters; these parameters are used for determining the value of described new types of data link layer protocol frame each field of header and payload field; at receiving terminal; when described new types of data link layer protocol client entity will receive data; described new types of data link layer protocol entity activates DL_DATA.indication primitive; the accepting state of this primitive indication incoming frame and the value of described each field of new types of data link layer protocol frame of input; if client layer needs described new types of data link layer protocol that network control function is provided; call data link-control primitive: " data link-control-request (DL_CONTROL.request) " and " data link-control-indication (DL_CONTROL.indication) " primitive; these two primitive comprise a series of command code and parameter; can provide network control function by these two primitive; as discovering network topology; 2 layers of protection are switched; configuration management; fault management; performance management etc.; each primitive semantic with above-described the same; the ethernet mac sublayer realizes by the primitive MA_DATA.request (MAC request of data) and MA_DATA.indication (indication of the MAC data) primitive of IEEE 802.3 standards (2002 version) definition that for the service that described new types of data link layer protocol layer provides the semanteme of these two primitive and operation are determined by IEEE 802.3 standards.
According to method provided by the invention, it is characterized in that, described new types of data link layer protocol (data link rules, DLP) comprise a destination address sign indicating number (the English DestinationAddressCode of being in the frame header, DAC) and the source address sign indicating number (English is Source Address Code, SAC), for IP operation, the destination address sign indicating number of described new types of data link layer protocol frame and source address sign indicating number are represented the purpose IP address in the IP packet head and the forwarding equivalence class of source IP address respectively, the telephone number of representing both call sides for packet voice business purpose address code and source address sign indicating number respectively, network for the fusion of Ethernet and SDH/SONET, destination address sign indicating number and source address sign indicating number are represented Ethernet and SDH (Synchronous Digital Hierarchy) or the signal sending end of Synchronous Optical Network fusion and the address of receiving terminal respectively, realize that with two layers data-link layer address two layers of client signal (ethernet mac frame or SDH/SONET circuit simulation signal) are transmitted and exchange, the destination address sign indicating number adopts identical hierarchy with the source address sign indicating number, all (English is Country Code by national code for complete destination address sign indicating number and source address sign indicating number, CC), (English is NationalRegion Code to domestic area code, NRC), (English is NodeAreaCode to station code, NAC) and personal code work (English is User Code, UC) four parts are formed, the present invention defines the destination address sign indicating number and source address code field length all is 64 bits (8 eight hytes), wherein the national code field length is 16 bits (2 eight hytes), be used for identifying certain service code of some countries or specific geographical area, CC is the first order forwarding label of described new types of data link layer protocol frame, can there be one or more service code country or geographic area, as the voice service code, the video traffic code, IP operation code (IPv4 service code or IPv6 service code), the concrete national code value of related service is specified by relevant international standard mechanism such as ITU, domestic area code field length is 16 bits, certain regional service code in the indication a state, NRC is the second level forwarding label of described new types of data link layer protocol frame, concrete NRC value is distributed by the communication highest administration mechanism of this state, the station code field is 16 bits, identify the service code of certain network node, this yard is the third level forwarding label of described new types of data link layer protocol frame, occurrence is specified by Virtual network operator or Internet service provider, the personal code work field length is 16 bits, the service code of representing certain user, this yard is the fourth stage forwarding label of described new types of data link layer protocol frame, concrete UC value is specified by Virtual network operator or Internet service provider, when adopting described new types of data link layer protocol to realize the fusion of Ethernet and SDH (Synchronous Digital Hierarchy) or Synchronous Optical Network, ethernet mac frame or SDH/SONET circuit simulation signal are encapsulated in the described new types of data link layer protocol frame, needs according to the network integration are provided with destination address sign indicating number and source address sign indicating number, ethernet mac frame or SDH/SONET circuit simulation signal transmit processing complete the destination address sign indicating number and the source address sign indicating number according to described new types of data link layer protocol frame of network at physics subsequently, in order to reduce header overhead, can be by the type of service of the setting of the business type field in described new types of data link layer protocol frame header, destination address sign indicating number and source address sign indicating number with the new types of data link layer protocol frame described in the network of described new types of data link layer protocol realization Ethernet and SDH/SONET fusion can include only domestic area code, three fields of station code and personal code work or include only station code and two fields of personal code work, ethernet mac frame or the SDH/SONET circuit simulation signal transmission in network is subsequently handled and can be wrapped the same processing by similar forwarding IP, during the described new types of data link layer protocol of forwarded frame, at first search the business type field in the described new types of data link layer protocol frame, determine professional priority by concrete type of service, be the national code in the destination address sign indicating number of searching in the described new types of data link layer protocol frame then, next is domestic area code, be station code once more, be personal code work at last, in case a certain item code of finding described new types of data link layer protocol frame is different with local node, network node is no longer handled DAC back field in the described new types of data link layer protocol frame, directly be forwarded to next node, the principle that described new types of data link layer protocol frame is transmitted is to adopt longest match principle, described can be to utilize IP routing protocol such as OSPF (the English Open Shortest Path First of being according to destination address sign indicating number decision route, OSPF) or Border Gateway Protocol (English is Border Gateway Protocol, BGP) dynamic routing table of Chan Shenging also can be that the traffic engineering of utilizing described new types of data link layer protocol to provide is come explicit configuration route.
According to method provided by the invention, it is characterized in that, described new types of data link layer protocol comprises that a cover security mechanism guarantees the safety of upper-layer service (ethernet mac frame or SDH/SONET circuit simulation signal) in the network transport process, concrete grammar is to realize that by upper-layer service being encrypted with authentication processing the safety of upper layer signal transmits, if desired ethernet mac frame or SDH/SONET circuit simulation signal are carried out the encrypting and authenticating processing, by a series of negotiation of two ends process of communicating by letter, determine the cryptographic algorithm of employing, identifying algorithm, be provided with or exchange initialization password etc., consulting operations such as encrypting and authenticating algorithm and exchange initialization password can adopt the internet security internet key exchange (english abbreviation is IKE) related and IKMP (english abbreviation is ISAKMP) and RFC2409 definition of RFC2408 definition to realize, set up two security associations (English Security Association of being then at the two ends of communication, SA), and according to purpose IP address, the algorithms that adopt etc. are determined a Security Parameter Index (english abbreviation is SPI), this index value is added in the Security Parameter Index field in the described new types of data link layer protocol frame header, SPI is used for identifying the IP bag is encrypted, security association during authentication processing, the encrypting and authenticating algorithm that Security Parameter Index identifies security association uniquely and adopted with the destination address sign indicating number, simultaneously relevant parameter such as destination address sign indicating number, the cryptographic algorithm that adopts, identifying algorithm, the initialization password, Security Parameter Indexs etc. add in the security association database, security association database has write down and security-related various data, it is 32 bits that the present invention defines the SPI field length, wherein decimal value " 0 " is used for node this locality, specific implementation is used, decimal value 1~255 is kept to using in the future by IANA, other value is used to identify security association, owing to encrypt, the different needs of identifying algorithm carries out some data and fills processing, the data of filling are positioned at after the payload field, and a length value of filling adds in the filling length field value, the verify data that authentication processing generates is positioned at after the padding data field, before the frame check field, utilize the number of frames value in the DLP frame header that anti-reproducing function is provided, when carrying out encryption, the scope of encrypting comprises the whole client signal grouping from client layer, field contents such as padding data, the scope that authenticates when carrying out authentication processing comprises the filling length field, the number of frames field, the Security Parameter Index field, payload data, field contents such as padding data.
According to method provided by the invention; it is characterized in that; described new types of data link layer protocol comprise the perfect network control administrative mechanism of a cover realize Ethernet and SDH/SONET fusion network comprise Topology Discovery; 2 layers of protection are switched; the Link State indication; fault management; performance management; configuration managements etc. are in interior control and management; described network control management realizes by control frame; the present invention's definition represents that when the binary value of the business type field of described new types of data link layer protocol frame is " 10000001 " content that the encapsulation of described new types of data link layer protocol frame (DLP frame) payload field is carried is a network control management information; corresponding data link layer protocol frame is a control frame; described new types of data link layer protocol control frame is realized Topology Discovery; the Link State indication; fault management; performance management; network control and management functions such as configuration management; for annular and network topology; described new types of data link layer protocol control frame also provides a kind of mechanism that realizes 50 milliseconds of protection switch functions; control frame adopts TLV (Type-Length-Value; type-length-value) structure; type field length is 8 bits; be used for identifying the type of control frame; length field length is 8 bits; be used for representing the length of TLV structure intermediate value (Value) field with the byte form; what value (Value) field comprised control frame has particular contents such as related parameter; it is as shown in table 7 that the present invention defines in the control frame in the TLV structure usage of type field; wherein; what represent when type field value is binary " 00010001 " that control frame carries is OSPF (OSPF is the english abbreviation of OSPF) Routing Protocol information; control frame carries the type field binary value is BGP (BGP is the english abbreviation of Border Gateway Protocol) Routing Protocol information for " 00010010 " expression; control frame carries the type field binary value is Signaling System 7(SS-7) (english abbreviation is SS7) information for " 00010011 " expression; what the type field binary value carried for " 00010100 " expression control frame is signaling information H.323; control frame carries the type field binary value is conversation initialized protocol (english abbreviation is SIP) signaling information for " 00010101 " expression; control frame carries the type field binary value is Media Gateway Control Protocol (english abbreviation is MGCP) signaling information for " 00010110 " expression; when being binary " 11111111 ", type field represents that control frame is the self-defining management control frame of manufacturer; the self-defining management function of manufacturer comprises that equipment manufacturers are the self-defining network management control function of network management control function and operator that home built relevant devices is added; its management data content is self-defined by manufacturer; but need to adopt the TLV structure; the number of frames value of described new types of data link layer protocol control frame is used for identifying the sequencing that control frame sends; realize that the described new types of data link layer protocol control information of sign sends the function of sequence successively; the payload information field of described new types of data link layer protocol control frame can comprise a plurality of control TLV information; the realization of chip of the present invention for convenience (is generally adopted 32 as present chip; requiring the control frame total length like this is the integral multiple of 32 bits); requiring the length of The whole control frame is the integral multiple of 32 bits; if originally described new types of data link layer protocol control frame length is not the integral multiple of 32 bits; then fill processing with the byte that is 0 entirely behind control TLV, the length of filling identifies with the byte form with the filling length field of described new types of data link layer protocol control frame.
The usage of type field value in table 7. control frame (binary value)
| The binary value of type field | Usage |
| 00000000 | Keep |
| 00000001 | The Topology Discovery claim frame |
| 00000010 | The Topology Discovery response frame |
| 00000011 | Topology report frame |
| 00000100 | 2 layers of protection switching request frame |
| 00000101 | Response frame is switched in 2 layers of protection |
| 00000110 | 2 layers of protection switch status report frame |
| 00000111 | The configuring request frame |
| 00001000 | The configuration response frame |
| 00001001 | The configuration report frame |
| 00001010 | The fault inquiry claim frame |
| 00001011 | The fault inquiry response frame |
| 00001100 | The Trouble Report frame |
| 00001101 | The performance queries claim frame |
| 00001110 | The performance queries response frame |
| 00001111 | The performance report frame |
| 00010000 | WTR_Request (Wait-to-Restore claim frame) |
| 00010001 | Routing Protocol---OSPF |
| 00010010 | Routing Protocol---BGP |
| 00010011 | Signaling---Signaling System 7(SS-7) (english abbreviation is SS7) |
| 00010100 | Signaling---H.323 |
| 00010101 | Signaling---conversation initialized protocol (SIP) |
| 00010110 | Signaling---Media Gateway Control Protocol (MGCP) |
| 00010111~11111110 | Keep |
| 11111111 | Manufacturer's self-defining dedicated network control and management frame |
According to method provided by the invention; it is characterized in that; the network control administrative mechanism that described new types of data link layer protocol provides comprises Topology Discovery mechanism; whom Topology Discovery is used for finding out is the neighbor node of network node (DLP node) and the state of neighbor node; can find have what nodes to work on the ring with it for annular and network topology network node; the realization of topology discovery function mainly is to rely on Topology Discovery claim frame (Topology_Discovery_Request frame); Topology Discovery response frame (Topology_Discovery_Response frame) and topology report frame (Topology_State_Report frame) are realized; during installation of project stage or engineering operation; network node (DLP node; as node A) with the L2 address sign indicating number of this node as destination address periodically broadcast topology find that claim frame (Topology_Discovery_Request frame) is to other node (claiming that one of them is a Node B); the transmission cycle is by Topology Discovery timer (Timer_Topology_Discovery; it is programmable sending timing; default to 2 seconds) determine; all nodes (as Node B) that receive the Topology Discovery claim frame respond for node A by the Topology Discovery response frame; give node A the existence of Node B and state feedback thereof; node A adds contents such as other address of node sign indicating number that receives and corresponding work state in the topological address database of node A to; for annular and network topology; station code (NAC) the field value content that has artis to go up in each address of node sign indicating number according to ring is determined to encircle upward or the node sequence in the grid; if continuous 3 times (its value is programmable to node A; default value is 3) receive the identical operations content from Node B; then think the Topology Discovery frame efficient in operation of node; relevant topological state content is write the topological database of ingress; topology report frame is used for network node (DLP node) and reports the state of this node to other node (especially network management entity); particularly for bus topology; star and tree-like this three class are not protected its topological state of node report of the topological structure of switch function owing to the topological structure reason; the present invention defines and represents when type field value is binary value " 00000001 " among the control frame TLV that control frame is the Topology Discovery claim frame; be the Topology Discovery response frame during binary value " 00000010 "; represent during binary value " 00000011 " that control frame is a topology report frame; the Topology Discovery claim frame; the value (Value field value) of Topology Discovery response frame and topology report frame all is two parameters; first is a node address; length is 8 bytes; second is the node operating state; length is 1 byte, and the node operating conditions is as shown in table 8.
Second parameter of table 8. Topology Discovery frame
| The binary value of second parameter of Topology Discovery frame | State |
| 00000111~11111111 | Keep |
| 00000110 | Forced Switch (Forced Switch, FS) |
| 00000101 | The physical signalling inefficacy (Physical Signal Fail, PSF) |
| 00000100 | The physical signalling degeneration (Physical Signal Degrade, PSD) |
| 00000011 | Manual Switch (Manual Switch, MS) |
| 00000010 | Wait-to-Restore (Wait to Restore, WTR) |
| 00000001 | Operate as normal (Operation normally) or idle (Idle) |
| 00000000 | Initialization (Initiation state) |
| Attention: 1. Forced Switch and Manual Switch state only are used for annular and network topology |
According to method provided by the invention; it is characterized in that; the network control administrative mechanism that described new types of data link layer protocol provides comprises 2 layers of wrap protection; 2 layers of protection switched to refer to when the network physical link and broken down (as fibercuts) or the permission of the node device K1/K2 protocol that similar SDH ring adopts when breaking down realizes the power of self-healing recovery in 50 milliseconds; 50 milliseconds of protection switch functions provided by the invention are mainly used in annular or network topology etc. and can realize protecting on the link of switching; with two fine rings is example; if certain node (DLP node on the ring; be assumed to node 2) go up in certain direction (be assumed to from node 1 to node 2 direction) that (its value is programmable 20 milliseconds of times; the default value of the present invention definition is 20 milliseconds) in do not receive any data message and (comprise Frame; control frame; link management frame or empty frame etc.) or physical link breaks down (as the fracture of optical fiber facility) or node breaks down (losing efficacy or the physical signalling degeneration as physical signalling); this node enters 2 layers of protection switch status; sending 2 layers of guard mode claim frame (L2PS Request frame) goes up coupled node (as node 1) for network (ring or network topology); node 1 also enters 2 layers of protection switch status (english abbreviation is L2PS) after receiving these 2 layers of guard mode claim frames; and send 2 layers of protection switch status report frame (L2PS_State_Report frame) and give the node that connects network management entity or be broadcast to all nodes that are in normal state on the ring; in the L2PS attitude; all packets of 2 are switched on the standby path from node 1 to node; if the fault clearance on the node 2; node 2 enters normal state; start WTR (Wait-to-Restore) timer (Timer_WTR; its value is programmable; scope is 0~1800 second; default value is 10 seconds); in case the WTR timer stops; node 2 sends WTR claim frame (WTR_Request frame) along the path before and after switching and gives node 1; node 1 returns normal state from node L2PS attitude after receiving this frame; when being binary " 00000100 ", the type field value that the present invention defines control frame represents that control frame is 2 layers of protection switching request frame; when being binary " 00000101 ", the type field value of control frame represents that control frame is that response frame is switched in 2 layers of protection; when being binary " 00000110 ", the type field value of control frame represents that control frame is that the report frame is switched in 2 layers of protection; 2 layers of protection switching request frame TLV structure intermediate value (Value; V) parameter of field has 2; first is this address of node sign indicating number; length is 8 bytes; second operating state (Forced Switch FS that parameter is this node; physical signalling inefficacy PSF; physical signalling degeneration PSD and Manual Switch); length is 1 byte; the binary value of each state is as shown in table 9; other value of this byte keeps to be done to use in the future; the parameter that value field in the response frame TLV structure is switched in 2 layers of protection has two; first is this address of node sign indicating number; length is 8 bytes; second parameter length is 1 byte; wherein binary value is successfully realized switching for " 00000000 " is represented; binary value is switched unsuccessful for " 11111111 " expression; other binary value keeps to using in the future; 2 layers of protection are switched and are reported that value field has three parameters in the frame TLV structure; first parameter is the address of node sign indicating number; length is 8 bytes; second parameter is the reason of switching of node; length is 1 byte; the binary value of each attitude is as shown in table 9; whether the 3rd parametric representation node is in 2 layers of guard mode; wherein binary value is in 2 layers of protection switch status for " 11111111 " expression; binary value is in normal state for " 00000000 " expression; other is worth reservation; when control frame TLV type field value is binary " 00010000 "; the expression control frame is the WTR_Request frame; the WTR_Request frame has only a parameter; length is 8 bits; value is represented successful Wait-to-Restore for binary " 11111111 ", and other is worth reservation.
The 2nd parameter type of table 9.L2PS claim frame and L2PS report frame
| Binary value | State |
| 10000000 | Forced Switch (Forced Switch, FS) |
| 00100000 | The physical signalling inefficacy (Physical Signal Fail, PSF) |
| 00001000 | The physical signalling degeneration (Physical Signal Degrade, PSD) |
| 00000010 | Manual Switch (Manual Switch, MS) |
According to method provided by the invention, it is characterized in that, the network control administrative mechanism that described new types of data link layer protocol provides comprises deployment management mechanism, deployment management mechanism is used for realizing to the relevant configuring ports management of network node (DLP node) equipment, the port address of network node (DLP node) equipment must dispose one two layers address as the source address sign indicating number (SAC) of this port in the installation of project stage, the configuration management frame comprises three kinds: configuring request frame (Configuration_Request frame), configuration response frame (Configuration_Response Frame), configuration report frame (Configuration_Report frame), during installation of project stage or engineering operation, network management entity is sent the configuring request frame by network management interface to each link (port) of network node (DLP node) equipment and is configured, network node (DLP node) responds to network management entity by configuration response frame or configuration report frame, the present invention defines when type field value is binary system " 00000111 " value among the control frame TLV and represents that control frame is the configuring request frame, be the configuration response frame during binary system " 00001000 ", represent during binary system " 00001001 " that control frame is the configuration report frame, the configuring request frame comprises two parameters, first is origin node address (length is 8 bytes), second is new node address sign indicating number (length is 8 bytes), the value of configuration response frame (Value field value) comprises three parameters: first is origin node address (length is 8 bytes), second parameter is new node address sign indicating number (length is 8 bytes), the 3rd parameter length is 1 byte, wherein binary value is " 00000000 " expression configuration successful, binary value " 11111111 " expression configuration is unsuccessful, other value keeps to give in the future to be used, the configuration report frame comprises two parameters: first is a node address (length is 8 bytes), second parameter length is 8 bytes, represents the configuration address of this node.
According to method provided by the invention, it is characterized in that, the network control administrative mechanism that described new types of data link layer protocol provides comprises fault management mechanism, fault management mechanism is used for realizing the fault management to network node (DLP node), fault management mechanism realizes by the fault management frame, the fault management frame comprises three: fault inquiry claim frame (Fault_Inquiry_Request frame), fault inquiry response frame (Fault_Inquiry_Response frame) and Trouble Report frame (Fault_Report frame), the present invention defines and represents when type field value is binary value " 00001010 " among the control frame TLV that control frame is the fault inquiry claim frame, be the fault inquiry response frame during binary value " 00001011 ", represent during binary value " 00001100 " that control frame is the Trouble Report frame, the fault inquiry claim frame comprises 1 parameter, this parameter is node address (length is 8 bytes), the value of fault inquiry response frame (Value field value) comprises two parameters: first is a node address (length is 8 bytes), second parameter length is that 1 byte is used for representing fault type, wherein binary value is physical signalling inefficacy (PSF) for " 00000000 " expression fault, binary value " 11111111 " expression fault is physical signalling degeneration (PSD), binary value is the normal fault-free of " 00001111 " expression node, other value keeps to give in the future to be used, the value field of Trouble Report frame comprises two parameters: first is a node address (length is 8 bytes), second parameter length is that 1 byte is used for representing fault type, wherein binary value is physical signalling inefficacy (PSF) for " 00000000 " expression fault, binary value " 11111111 " expression fault is that physical signalling is degenerated (PSD), and other value keeps to give in the future to be used.
According to method provided by the invention, it is characterized in that, the network control administrative mechanism that described new types of data link layer protocol provides comprises performance management mechanism, performance management mechanism is used for realizing the performance management to network node (DLP node), performance management function through performance management frames realizes, the performance management frame comprises three kinds of frames: performance queries claim frame (Performance_Inquiry_Request frame), performance queries response frame (Performance_Inquiry_Response frame) and performance report frame (Performance_Report frame), when the control frame type field value is binary " 00001101 ", the expression control frame is the performance queries claim frame, the performance queries claim frame is used for asking certain performance index of certain network node of inquiry (DLP node), when the control frame type field value is binary " 00001110 ", the expression control frame is the performance queries response frame, the performance queries response frame is used for certain performance index of certain node that response performance query requests frame proposes, when the control frame type field value is binary " 00001111 ", the expression control frame is the performance report frame, the performance report frame is used for reporting to network management entity every performance index of certain node, the value of performance queries claim frame (Value) field comprises three parameters, first parameter is for asking the node address sign indicating number of query performance, length is 8 bytes, second parameter is the time measurement unit that is used for identifying calculation of performance indicators, length is 4 bits, wherein binary " 0001 " expression unit of measurement is second, binary " 0010 " expression unit of measurement is minute, binary " 0011 " expression unit of measurement is hour, binary " 0100 " expression unit of measurement is the sky, other field value keeps to using in the future, the 3rd parameter is the performance index type, length is 4 bits, wherein binary " 0001 " expression performance index are Frame Check Sequence mistake number, binary " 0010 " expression number of dropped packets, binary " 0011 " expression packet loss, the time delay (time delay) of binary " 0100 " expression bag, other value keeps to give in the future to be used, the value of performance queries response frame (Value) field comprises 4 parameters, first parameter length is 8 bytes, be used for representing node address that the performance queries claim frame is responded, second parameter length is 4 bits, be used for identifying the time measurement unit of calculation of performance indicators, the 3rd parameter length is that 4 bits are used for identifying the performance index type, the 4th parameter length is 3 bytes, be used for representing the performance index value that specifically will inquire about, the value of performance queries response frame (Value) field second the same with the usage of second and the 3rd parameter of value (Value) field of performance queries claim frame with the usage of the 3rd parameter (time measurement unit and performance index type), the value of performance report frame (Value) field comprises 4 parameters, first parameter length is 8 bytes, be used for representing to send the node address of performance report frame to network management entity, second parameter length is 4 bits, be used for identifying the time measurement unit of calculation of performance indicators, the 3rd parameter length is that 4 bits are used for identifying the performance index type, the 4th parameter length is 3 bytes, be used for representing the performance index value that specifically will report, the value of performance report frame (Value) field second the same with the usage of second and the 3rd parameter of value (Value) field of performance queries claim frame with the usage of the 3rd parameter (time measurement unit and performance index type).
According to method provided by the invention, it is characterized in that the traffic engineering that described new types of data link layer protocol frame can provide powerful traffic management mechanism to realize network, method are that at first convection current is classified through all business of network, promptly to miscellaneous service (speech from the upper strata, the IP data, Digital Television, the ethernet mac frame, TDM circuit simulation signals etc.) carrying out priority classification is divided into the business of high priority and the business of low priority, with classification be positioned at two layers data-link layer address (source address sign indicating number and destination address sign indicating number) expression upper-layer service address (destination address and source address) simultaneously to business according to belonging to which country or geographic area, which area of certain country or geographic area, certain node in certain area, certain user of certain node carries out the classification of countries, thereby represents that with the L2 address of classification physical link port L2 address carries out the classification of countries to physical resource, distribute different band width in physical links to be used to transmit dissimilar business simultaneously, the miscellaneous service of the whole network of flowing through is mapped on the actual physical link according to different priority type and region classification, realizes the flow and the bandwidth resources of whole network are unified dispatching management and monitoring by the traffic management frame, specific as follows: at first to from data link layer---all business of the above level of DLP layer are classified, be divided into the business of high priority and the business of low priority, the business packet includes network managing control information (control frame) of high priority, traffic management information (traffic management frame), various real-time voice services (comprising fixing or mobile voice or video telephone), various real-time videos (Digital Television), real time business based on IP (IPv4/IPv6), PDH and SDH/SONET circuit simulation signal, the business of low priority are general IP data service, and concrete various types of traffic identifies with the business type field value in the described new types of data link layer protocol frame, the destination address sign indicating number and the source address sign indicating number of a classification in described new types of data link layer protocol frame, have been defined, the destination address sign indicating number adopts identical structure with the source address sign indicating number, all by national code, domestic area code, station code and personal code work four parts are formed, and are used for identification service respectively to belong to which country or geographic area, which area in certain country or the geographic area, which node in certain area, which user of which intranodal, for IP operation, destination address sign indicating number and source address sign indicating number are represented the purpose IP address in the IP packet head and the forwarding equivalence class of source IP address respectively, the telephone number of representing both call sides for voice service destination address sign indicating number and source address sign indicating number respectively, represent the address of digital television signal transmitting terminal and receiving terminal respectively for Digital Television (digital video) business purpose address code and source address sign indicating number, for the ethernet mac frame, adopt the circuit such as the PDH of Time Division Multiplexing technology, business purpose address codes such as the circuit simulation signal of SDH/SONET and source address sign indicating number are represented the address of signal sending end and receiving terminal respectively, like this by data-link layer address to miscellaneous service (speech from the upper strata, data, video, Ethernet and TDM circuit simulation signal) carried out the classification of region, miscellaneous service according to different countries or geographic area, certain area in particular country or the geographic area, certain node in the area, certain user of certain node classifies, simultaneously whole physics is transmitted the data-link layer address of one two layers of each node port (each light wave that comprises wavelength-division multiplex system) signs of network, and the different link of regulation is used to transmit business dissimilar and that lead to different regions, the bandwidth resources that whole physics is transmitted network are classified like this, some bandwidth is used to transmit important real time business such as speech and real-time video, some is used to transmit general IP data service, and some bandwidth link is used to transmit international business, and some bandwidth link is used to transmit business transprovincially, some bandwidth link is used to transmit local service, if and the regulation network break down allow to transmit the IP data link by the service occupation of high priority, by the traffic management frame of the present invention's definition the flow and the network bandwidth resources of whole network are monitored processing, network management system comprises a traffic engineering database, this data-base recording the link circuit resource distribution situation of whole network, flow through the type of service of network, the overall budget number, total flow, physical link speed, allow parameters such as maximum transfer rate, the present invention defines when the business type field value is set to binary value " 10000010 " in described new types of data link layer protocol frame (DLP frame) header, and what represent described new types of data link layer protocol frame encapsulation is traffic management information, corresponding data link layer protocol frame is the traffic management frame, the traffic management information employing type-length-value of traffic management frame (English is Type-Length-Value, TLV) structure, wherein, type field length is 8 bits, be used to refer to the type of traffic management frame, length field length is 8 bits, is used for length with byte form indicated value (Value) field, value (Value) field comprises concrete traffic management content frame, the usage of network management frame type field is as shown in table 10, and what represent when wherein type field value is binary " 00000001 " among the traffic management frame TLV that traffic management frame payload carries is link traffic flow attribution information, and its value (Value) field contents comprises four parameters, first parameter is a node address, length is 8 bytes, and second parameter is type of service, is used for expression through the type of service under certain node flow bag (grouping), length is 1 byte, the service class offset of dissimilar business determines that by table 1 the 3rd parameter length is that 1 byte is used for identifying the measuring parameter type that flows through certain node link flow, and wherein binary value is peak rate (unit is a bits per second) for " 00000001 " expression flow measurement parameter type, binary value is Mean Speed (unit is a bits per second) for " 00000010 " expression flow measurement parameter type, binary value is that " 00000011 " expression flow measurement parameter type is maximum bag (grouping) number (unit is the bag per second), and binary value is average packet (grouping) number (unit is the bag per second) for " 00000100 " expression flow measurement parameter type, and binary value is peak value burst length (unit is a byte) for " 00000101 " expression flow measurement parameter type, binary value is agreement burst length (unit is a byte) for " 00000110 " expression flow measurement parameter type, binary value is burst excess length (unit is a byte) for " 00000111 " expression flow measurement parameter type, and other value keeps in the future to be used, and the 4th parameter length is the value that 4 bytes are used for identifying concrete various flows, the Resource Properties of representing various physical links when type field value is binary system " 00000100~00100110 " among the traffic management frame TLV, the types value of various concrete links is as shown in table 10, and the source attribute values of various physical links includes four parameters, and first parameter is a node address, length is 8 bytes, second parameter is type of service, is used for expression through the type of service under certain node flow bag (grouping), and length is 1 byte, the service class offset of dissimilar business is determined by table 1, the 3rd parameter length is that 1 byte is used for identifying the measuring parameter type that flows through certain node link flow, and wherein binary value is peak rate (unit is a bits per second) for " 00000001 " expression flow measurement parameter type, and binary value is Mean Speed (unit is a bits per second) for " 00000010 " expression flow measurement parameter type, binary value is that " 00000011 " expression flow measurement parameter type is maximum bag (grouping) number (unit is the bag per second), binary value is average packet (grouping) number (unit is the bag per second) for " 00000100 " expression flow measurement parameter type, and binary value is peak value burst length (unit is a byte) for " 00000101 " expression flow measurement parameter type, and binary value is agreement burst length (unit is a byte) for " 00000110 " expression flow measurement parameter type, binary value is burst excess length (unit is a byte) for " 00000111 " expression flow measurement parameter type, other value keeps in the future to be used, and the 4th parameter length is the value that 4 bytes are used for identifying concrete various flows, and the number of frames value of described new types of data link layer protocol traffic management frame is used for identifying the sequencing that the traffic management frame sends, realize that the described new types of data link layer protocol flow control management information of sign sends the function of sequencing, the payload information field of described new types of data link layer protocol traffic management frame can comprise a plurality of traffic management TLV information, for convenience the realization (generally adopt 32 as present chip, requiring traffic management frame total length like this is the integral multiple of 32 bits) of chip of the present invention, the length that requires whole traffic management frame is the integral multiple of 32 bits, if originally described new types of data link layer protocol traffic management frame length is not the integral multiple of 32 bits, then behind traffic management TLV, fill processing with the byte that is 0 entirely, the length of filling identifies with the byte form with the filling length field of described new types of data link layer protocol traffic management frame.
Table 10. traffic management frame type
| The binary value of type field | Usage |
| 00000000 | Keep |
| 00000001 | The link flow attribute |
| 00000010 | 10Mbps ethernet link attribute |
| 00000011 | 100Mbps ethernet link attribute |
| 00000100 | 10/100Mbps ethernet link attribute |
| 00000101 | The gigabit ethernet link attribute |
| 00000110 | 10Gb/s ethernet link attribute |
| 00000111 | The STM-0SDH link attribute |
| 00001000 | STM-1/OC-3c SDH link attribute |
| 00001001 | STM-4/OC-12c SDH link attribute |
| 00001010 | STM-16/OC-48c SDH link attribute |
| 00001011 | STM-64/OC-192c SDH link attribute |
| 00001100 | STM-256/OC-768c SDH link attribute |
| 00001101 | 64 kilobits/second physical link attributes |
| 00001110 | 1544 kilobits/second PDH link attributes |
| 00001111 | 2048 kilobits/second PDH link attributes |
| 00010000 | 6312 kilobits/second PDH link attributes |
| 00010001 | 8448 kilobits/second PDH link attributes |
| 00010010 | 34368 kilobits/second PDH link attributes |
| 00010011 | 44736 kilobits/second PDH link attributes |
| 00010100 | 139264 kilobits/second PDH link attributes |
| 00010101 | IEEE 802.11a link attribute |
| 00010110 | IEEE 802.11b link attribute |
| 00010111 | IEEE 802.11g link attribute |
| 00011000 | IEEE 802.11h link attribute |
| 00011001 | The GSM link attribute |
| 00011010 | IEEE 802.16a (2-11GHz) link attribute |
| 00011011 | IEEE 802.16c (10-66GHz) link attribute |
| 00011100 | The WCDMA link attribute |
| 00011101 | The TD-SCDMA link attribute |
| 00011110 | The CDMA2000 link attribute |
| 00011111 | The DVB link attribute |
| 00100000 | The MPEG-1 link attribute |
| 00100001 | The MPEG-2 link attribute |
| 00100010 | The MPEG-3 link attribute |
| 00100011 | The isdn link attribute |
| 00100100 | The adsl link attribute |
| 00100101 | The VDSL link attribute |
| 00100110 | Other xDSL link attribute |
| 00100111~11111111 | Keep |
With respect to the adaptation method of existing Ethernet and SDH/SONET fusion, the present invention has following innovation:
(1) realizes the Ethernet interface of different rates and the rate-matched of SDH/SONET interface.What the adaptation method of existing Ethernet and SDH/SONET mainly solved is the point-to-point connectivity problem, because Ethernet belongs to different transmission technologys with SDH/SONET, the both has interface rate system separately, therefore there is the unmatched problem of speed in above-mentioned three kinds of adaptation methods, and need use the Virtual Concatenation of higher order virtual container and Lower Order Virtual Container at SDH/SONET, increased the complexity of an equipment.And adopt method provided by the invention, by realizing Ethernet and the packetizing of SDH/SONET signal and the rate-matched that traffic management ability provided by the invention can realize Ethernet interface and SDH/SONET interface.
(2) can be implemented in and transmit SDH/SONET on the Ethernet.The adaptation method of existing Ethernet and SDH/SONET all is the scheme that transmits Ethernet on SDH/SONET, along with Ethernet is expanded to the metropolitan area network direction, metropolitan area network backbone network in the future may adopt ethernet technology, the problem that may require SDH/SONET how to transmit on Ethernet this moment, the adaptation method that these three kinds of Ethernets and SDH/SONET merge all can not be used for transmitting SDH/SONET on Ethernet, transmit SDH/SONET on the Ethernet and adopt method provided by the invention can be implemented in, method is to realize the packetizing of SDH/SONET signal by circuit simulation, then the SDH/SONET packet encapsulation is arrived the DLP frame, subsequently by arriving forwarding and the exchange that destination address is realized the SDH/SONET signal in the DLP frame header.
(3) realize packet-based Dynamic Bandwidth Allocation.Following unified public network will adopt packet-switch technology, adopt above-mentioned three kinds of adaptation methods to be difficult to realize packet-based Dynamic Bandwidth Allocation.And adopt method provided by the invention by realizing Ethernet and the packetizing of SDH/SONET signal and the rate-matched that traffic management ability provided by the invention can realize Ethernet interface and SDH/SONET interface, realize packet-based Dynamic Bandwidth Allocation.
(4) can realize the direct forwarding and the exchange of upper-layer service.The method of the existing Ethernet and the fusion of SDH (Synchronous Digital Hierarchy) or Synchronous Optical Network only supports that point-to-point is connected, and upper-layer service is every need carry out a series of processing through a node, can not directly transmit upper-layer service.And adopt method provided by the invention by realizing to realize the direct forwarding and the exchange of ethernet mac frame or SDH/SONET circuit simulation signal to the L2 address of each Ethernet or SDH/SONET circuit simulation signal packets.
(5) robustness of raising network improves internet security, reduces packet loss.For first kind of adaptive mode that promptly adopts PPP+HDLC and adopt LAPS, because what HDLC frame and LAPS frame adopted is that specified byte (0X7E) achieve frame is delimited, need carry out transparent processing to the ethernet mac frame, this mode has two defectives, the one, network security problem, those spiteful people have only payload information all are set to those specific two bytes (0X7D, 0X7E), this doubles with regard to the flow that causes network so, gang up against if adopt, may cause network congestion; In addition, because these two kinds of adaptive modes all do not have error correction, if the frame delimiter byte occurs that wrong (theoretical probability that mistake occurs is 1/2 like this8=1/256=0.00390625 promptly is about 3.9/1000ths), just may cause packet loss.The present invention has adopted BCH (31,16) sign indicating number is realized the demarcation of DLP frame, what adopt is the matching relationship achieve frame demarcation of frame length field and frame length check field, the actual time frame length value that uses changes, need not to carry out transparent processing, and when the upper strata does not have data to send, the filling usefulness of frame gap be special idle frame, the potential safety hazard of having avoided PPP+HDLC or LAPS adaptation method to bring like this.In addition, BCH (31,16) sign indicating number provides powerful error correcting capability, can entangle 3 random errors at most, the present invention recommends to carry out the correction process of 2 random errors, same under the situation of no correction process, it is 1/2 that PPP+HDLC and the frame of adopting the adaptive mode of LAPS are delimited the theoretical probability that mistake occurs8=1/256=0.00390625 promptly is about 3.9/1000ths, is 1/2 and adopt the theoretical probability of makeing mistakes of the present invention30=1/1073741824=0.000000000931 is about 9.3/10000000000ths, great like this minimizing because frame is delimited the wrong packet loss that may bring.
(6) with IP network, packet voice Web-compatible, realize the fusion of multiple business.In the network of the adaptation method of existing Ethernet and SDH/SONET, traditional voice service is what to be separated with the IP network business, can not realization and the compatibility of IP network and packet voice network, and generally believe that now following unified public network will adopt packet-switch technology, how these adaptation methods are for realizing the voice service packetizing, and the aspects such as fusion that make packetized voice business and IP network are without any help.And adopt method provided by the invention, can realize speech on the one hand, the integration of three networks of data and video network, can realize the interconnected of different physical networks on the one hand and merge in addition, method is that the destination address sign indicating number or the source address sign indicating number of DLP frame represented the purpose IP address of IP bag and the forwarding equivalence class of source IP address respectively for the destination address sign indicating number or the source address sign indicating number of IP operation DLP frame, for voice service, this code is exactly the telephone number of calling both sides, for the network that Ethernet and SDH (Synchronous Digital Hierarchy) or Synchronous Optical Network merge, destination address sign indicating number and source address sign indicating number are exactly Ethernet and the transmitting terminal of the signal of SDH/SONET fusion and the L2 address of receiving terminal.
The order of communication is first from left to right in all DLP frame block diagrams of the present invention's definition, then from top to bottom, at first transmit highest significant position in each byte, leftmost bit is highest significant position (MSB) in all block diagrams, rightmost bit is least significant bit (LSB), and the reserved word segment value is 0 in all block diagrams.
Figure 1 shows that service model that the present invention adopts (conception schematic diagram), wherein Fig. 1 (a) is depicted as with DLP and is implemented in the upper conception schematic diagram that transmits Ethernet of SDH/SONET, in this framework, Physical layer is SDH or Synchronous Optical Network, mainly comprise all kinds of high-orders and Lower Order Virtual Container, data link layer is data link rules (english abbreviation is DLP), the ethernet mac framing bit is in the client layer of DLP, data link layer (DLP) is passed through four primitive to the service that its client layer (mac frame) provides: data link-data-request (the English DL_DATA.request of being), data link-data-indication (English is DL_DATA.indication), data link-control-request (English is DL_CONTROL.request), data link-control-indication (English is DL_CONTROL.indication) realizes, wherein data link-data primitive provides the network control service for client layer provides data to transmit service data link-control primitive, at transmitting terminal, if there is client layer to have mac frame to need to send, then call DL_DATA.request primitive, this primitive comprises a series of parameter, determined the value of the relevant field of DLP frame by the parameter of this primitive, at receiving terminal, when having packet (mac frame) to be sent to the upper strata, call DL_DATA.indication primitive, utilize the parametric solution of this primitive to separate out each field value of DLP frame, if client layer needs data link layer that the control service is provided, call DL_CONTROL.request and DL_CONTROL.indication primitive, communicating by letter by two primitive between data link layer and Physical layer: physical link-data request (PL_DATA.request) and physical link-indication (PL_DATA.indication) realization. Fig. 1 (b) is depicted as with DLP and is implemented in the conception schematic diagram that transmits SDH/SONET on the Ethernet, in this framework, Physical layer is the Ethernet interface of various speed types, data link layer has two sublayers, one is the ethernet mac sublayer, one is the DLP sublayer, wherein DLP is positioned on the media access control sublayer, client layer is SDH/SONET circuit simulation signal, communicating by letter by four primitive between DLP and its client layer: data link-data-request (English be DL_DATA.request), data link-data-indication (English be DL_DATA.indication), data link-control-request (English be DL_CONTROL.request), data link-control-indication (English is DL_CONTROL.indication) realizes, communicating by letter between DLP and ethernet mac sublayer passed through MA_DATA.request (request of MAC data) and the realization of MA_DATA.indication (indication of MAC data) primitive in the ethernet standard.
Figure 2 shows that the present invention is used for the protocol stack structural representation that Synchronous Transfer Mode transmits the ethernet mac frame, wherein below DLP, two kinds of methods of putting into virtual container are arranged, a kind of is that the DLP frame is put into Lower Order Virtual Container, the mode that again Lower Order Virtual Container is interleave with byte is advanced higher order virtual container by the multiplexing structure of SDH is multiplexing, according to multiplex section, the order of regenerator section and photoelectricity transmission section transmits, and then extracts the DLP frame by opposite order at receiving terminal again; Another kind is that the synchronous payload that higher order virtual container is advanced in the direct mapping of DLP frame is sealed (english abbreviation SPE), and again according to multiplex section, the order of regenerator section and photoelectricity transmission section transmits, and then extracts the DLP frame by opposite order at receiving terminal.
Fig. 3 is that the present invention is used for the protocol stack structural representation that the subclass Synchronous Transfer Mode transmits the ethernet mac frame, in this mode, only the DLP frame is put into Lower Order Virtual Container (VC11, VC12, VC2,) mode that again Lower Order Virtual Container interleave with byte advances the subclass multiplex section by the subclass multiplexing structure of SDH is multiplexing, order through regenerator section and photoelectricity transmission section transmits, and then extracts the DLP frame by opposite order at receiving terminal.
Fig. 4 is the protocol stack structural representation that the present invention is used for transmitting at Ethernet the SDH/SONET signal, SDH/SONET circuit simulation signal is positioned at the client layer of DLP, realize the packetizing of SDH/SONET circuit signal by circuit simulation, it is the ethernet mac frame under DLP, mac frame is mapped on the physical link of various Ethernets by coordinating the sublayer under the ethernet mac frame, extract the DLP frame at receiving terminal according to opposite order, then extract in order and restore the SDH/SONET signal according to DLP frame frame sequence number value, SDH/SONET represents SDH or Synchronous Optical Network among the figure, DLP represents the data link rules, MAC represents MAC sublayer, PLS represents the physical layer signaling sublayer, AUI represents extra cell interface sublayer, PMA represents physical medium access sublayer, MDI represents the Media Dependent Interface sublayer, PMD represents physical layer medium dependent, PCS represents Physical Coding Sublayer, MII represents the Media Independent Interface sublayer, GMII represents gigabit Media Independent Interface sublayer, XGMII represents 10G Media Independent Interface sublayer, 64B/66B represents 64B/66B coding sublayer, 8B/10B represents 8B/10B coding sublayer, WIS represents the Wide Area Network interface sublayer, requires the interface rate of Ethernet to be greater than during actual the use or equals the SDH/SONET link rate.
Fig. 5 is the protocol stack configuration example schematic of networking of the present invention, be divided into two kinds of situations, in the situation shown in Fig. 5 (a), Ethernet interface is by the inlet side of SDH/SONET access another one Ethernet and the protocol stack configuration that goes out end, wherein LLC presentation logic link is controlled the sublayer, MAC represents MAC sublayer, SDH/SONET represents PDH, LAN represents LAN, IP represents Internet Protocol (comprising the 4th edition IPv4 of Internet Protocol and Internet Protocol sixth version IPv6), TCP represents transmission control protocol, UDP represents UDP, EthernetPHY represents the Ethernet physical interface, DLP represents the data link rules, the fusion of " Ethernet over SDH/SONET " expression Ethernet and SDH or Synchronous Optical Network, at gateway, are furnished with simultaneously SDH/SONET and Ethernet two class physical interfaces, and that client layer remains IP is constant, but in the network of Ethernet and SDH/SONET fusion, need not to process in Internet, directly can realize the forwarding processing of ethernet mac frame in data link layer by the DLP frame; For the inlet side that is the SDH/SONET interface by Ethernet access another one SDH/SONET interface of the situation shown in Fig. 5 (b) with go out the protocol stack configuration of end namely transmits SDH/SONET at Ethernet configuration, dispose two kinds of physical interfaces of SDH/SONET and Ethernet in the inlet side, realize the packetizing of SDH/SONET signal by circuit simulation, SDH/SONET signal after the packetizing is encapsulated into the DLP frame, then the DLP frame is encapsulated in the ethernet mac frame, the subsequently transmission of SDH/SONET signal in network processed and to be realized according to the DLP frame, is reduced to original SDH/SONET signal going out end.
Figure 6 shows that the DLP frame data structure that is used for transmitting ethernet mac frame or SDH/SONET circuit simulation signal that the present invention adopts, the DLP Frame is by frame length (FL), frame length verification (FLC), R field (reserved field of 1 bit), the type of service field, the topology field, secure fields, the destination address code, the source address code, extension header, fill length field, the frame sequence field, Security Parameter Index, payload field, the padding data field, the fields such as verify data field and Frame Check Sequence form, Security Parameter Index wherein, padding data field and verify data field are options, by the authentication of adopting, AES is determined, the order of communication is first from left to right in all block diagrams, then from top to bottom, at first transmit highest significant position (MSB) in each byte, leftmost bit in all illustration block diagrams is highest significant position, rightmost one is least significant bit (LSB), and the reserved word segment value in all block diagrams is 0.
Fig. 7 is the DLP Control signal frame that the present invention adopts, the DLP control frame is by frame length, frame length verification, R field (1 bit reserved field, be set to 0), the fields such as type of service, topological field, secure fields, destination address code, source address code, extension header, filling length field, frame sequence number, payload information field and Frame Check Sequence field form, wherein the field length such as frame length, frame length verification, R field (1 bit reserved field), type of service, topological field, secure fields, destination address code, source address code, frame sequence number is the same with the DLP Frame, the header field value is 0 (binary value is 00000000), the type of service field value be the encapsulation of binary system " 10000001 " expression DLP payload field be control information, type-length-value (TLV) structure is adopted in control information.
Fig. 8 is the DLP traffic management frame structure that the present invention adopts, DLP traffic management frame is by frame length, frame length verification, R field (1 bit reserved field, be set to 0), the fields such as type of service, topological field, secure fields, destination address code, source address code, extension header, filling length, frame sequence number, payload information field and Frame Check Sequence field form, wherein the field length such as frame length, frame length verification, R field (reserved field), type of service, topological field, secure fields, destination address code, source address code, frame sequence number is the same with the DLP Frame, the header field value is 0 (binary value is 00000000), the type of service field value is that binary system " 10000010 " expression DLP payload is traffic management information, and traffic management information adopts type-length-value (TLV) structure.
Fig. 9 is the finite state digraph that the frame key-machine of the DLP frame that adopts of invention adopts, the DLP frame of the present invention's definition adopts the frame based on header error verification (english abbreviation is HEC) that adopts among the ATM of definition in the similar ITU-T 1.432.1.1 suggestion to delimit the description method, the 31 initial bits that utilization receives are that FL and FLC field bit consist of BCH (31,16) encoding relation of code is realized the frame demarcation of DLP frame, the DLP frame is delimited the description algorithm and is determined by finite state machine figure, the finite state machine workflow diagram is as follows: (1) is in the search attitude, DLP processes 31 bits that receive is pursued FL and the FLC relation that correct format is sought in the bit search, in this state, BCH code does not have the single-bit error of FL field and FLC field or 2 bit mistake error corrections, in case in 31 bits that receive, find correct candidate FL and FLC coupling relation value, can suppose and determine a correct DLP frame, reception ﹠ disposal enters presynchronization (the English PRESYNC of being) state, (2) in the PRESYNC attitude, DLP processes by searching for frame by frame to process and realizes the demarcation of DLP frame, pursue FL and the correct matching value of FLC that the bit search is found according to previous step, can suppose and search a correct DLP frame, then can determine FL and the FLC field value of next frame according to each field relation of this frame, and determine according to their relation whether they mate, and then next frame, in case determine that continuously (DELTA is a parameter to DELTA, it be one greater than 0 positive integer) individual correct DLP frame, the DLP reception ﹠ disposal enters synchronous state, otherwise, if the FL of a frame and FLC field value do not mate subsequently, enter the search attitude, at this moment, BCH code does not have the single-bit error of FL field and FLC field or 2 bit mistake error corrections, enter synchronous state from the search attitude and need to search continuously DELTA+1 correct DLP frame, (3) at synchronous state, DLP processes the beginning that can determine next DLP frame by the FL of a frame and FLC field relation, then can realize parsing one by one, FLC has single-bit error or 2 bit mistake error corrections in this state, if a plurality of bits (surpassing 2 bit mistakes) mistake occurs, then frame is delimited and was lost efficacy, framing processing enters the search attitude, and send client server Signal Fail (english abbreviation is SSF) indication for the adaptive processing of client, (4) empty DLP frame participates in frame and delimits processing, and abandon subsequently the sky frame, it is relevant with the DELTA value that the DLP frame is delimited the strong property of the key of processing, and the present invention advises that the DELTA value is 1.
Figure 10 is destination address code and the source address code structure that the present invention adopts, destination address code and source address code are used for respectively representing destination address and the source address of DLP client signal, the coding structure of source address code is identical with the destination address code, the length of destination address code (english abbreviation is DAC) is 64 bits (8 eight hytes), be used for identifying the purpose forwarding address of DLP frame in the network that adopts DLP, the DAC field is comprised of following 4 parts: national code field, domestic area code, station code, personal code work. Wherein: the national code field length is 16 bits (2 eight hytes), this yard is the first order forwarding label of DLP frame, domestic area code field length is 16 bits, this yard is the second level forwarding label of DLP frame, the station code field is 16 bits, identify the service code of certain network node, this yard is the third level forwarding label of DLP frame, and occurrence is specified by Virtual network operator or Internet service provider; The personal code work field length is 16 bits, indicates certain user's service code, and this yard is the fourth stage forwarding label of DLP frame, and concrete UC value is specified by Virtual network operator or Internet service provider.
Figure 11 is the empty frame structure of DLP that the present invention adopts, the purpose that sends empty frame is in order to regulate two internodal speed, the adjacent node that it sends to from a node that it links to each other, neighbor node is not forwarded to any other place to it after receiving the sky frame, directly it is abandoned, the empty frame of DLP is by frame length field (16 bit), frame length verification field (15 bit), reserved field (the R field that length is 1 bit, be set to 0), including only station code and personal code work field length is the source address code composition of 4 bytes.
Figure 12 shows that usefulness (X proposed by the invention43+ 1) schematic diagram of multinomial scrambler and descrambling code, D1 represents the 1st to 43 of register among the figure to D43, the part that empty frame fences up represents 43 bit shift registers, garden circle part represents an XOR circuit, according to the logical relation among the figure, at transmitting terminal, can finish the scrambler function to the DLP frame from " the data flow input before the scrambler " to " the data flow output behind the scrambler "; At receiving terminal, can finish the descrambling code function from " input of scrambler data flow " to " the data flow output behind the descrambling code "; The shift register that also can from D1 to D43, be shifted, but corresponding logical relation also should adjust.
Figure 13 is that ethernet mac frame of the present invention or SDH/SONET circuit simulation signal transmit schematic diagram at the network of the Ethernet of realizing with DLP and SDH/SONET fusion, dark round spot represents fringe node among the figure, white circle represents core node, behind the network edge node access user, according to the processing of classifying of country, which area, which node under the interface IP address that arranges, and destination address code and source address code value be filled in destination address code and the source address code word section, simultaneously whole ethernet mac frame or SDH/SONET circuit simulation signal packet map in the payload field of DLP frame, subsequently, whole network only need utilize destination address code in the DLP frame header to realize the forwarding of ethernet mac frame or SDH/SONET circuit simulation signal grouping (being encapsulated in the DLP frame); Transmit when processing, at first sequentially search the national code in the DLP frame destination address code, domestic area code, station code, personal code work, the present invention adopts longest match principle that the DLP frame is transmitted processing, in case find that a certain field value of destination address code of DLP frame is different from local node corresponding field value, then stop search, directly transmit this packet.