Disclosure of Invention
The present disclosure provides a code stream transparent transmission method and a router, by which SPN equipment can be abutted with an enterprise network by using a GE port, and the transparent transmission of an Ethernet code stream from end to end of the enterprise is provided.
The present disclosure provides a transparent transmission method of a code stream, which includes:
receiving a 64B/66B coded first OAM code stream sent by a data link layer;
distributing the first OAM code stream to a corresponding GE interface by utilizing a Sub-Calendar module;
converting the first OAM code stream into a second OAM code stream coded by 8B/10B, and sending the second OAM code stream to an SPN (service provider network) through a GE (GE) interface so that the SPN can transparently transmit the second OAM code stream;
the Sub-Calendar module is used for dividing each FlexE Shim time slot into 5 1G Sub-time slots, so that each 1G Sub-time slot corresponds to the GE interface.
Optionally, after the receiving the 64B/66B encoded first OAM code stream sent by the data link layer, the method further includes:
and adding an alignment identifier at the 16383 th 66B position of the first OAM code stream.
Optionally, the distributing the first OAM code stream to the corresponding GE interface using a Sub-canendar module includes:
distributing the first OAM code stream to GE interfaces corresponding to each GE by utilizing a time division multiplexing technology; or,
and splitting the first OAM code stream according to the preset specification, adding a GE interface identifier to the split code stream, and transmitting the first OAM code stream through a corresponding GE interface by utilizing the GE interface identifier.
Optionally, receiving an 8B/10B coded third OAM code stream sent by the SPN network;
converting the third OAM code stream into a fourth OAM code stream coded by 64B/66B;
and transmitting the fourth OAM code stream to the user side.
The disclosure also provides a transparent transmission method of the code stream, the method is applied to the SPN network, and the method comprises the following steps:
receiving a second OAM code stream of 8B/10B codes sent by a user side;
converting the second OAM code stream into a first OAM code stream coded by 64B/66B, and transmitting the first OAM code stream to target equipment;
the destination device distributes the first OAM code stream to a corresponding GE interface by utilizing a Sub-Calendar module;
converting the first OAM code stream into a second OAM code stream, and sending the second OAM code stream to a user side;
the Sub-Calendar module is used for dividing each FlexE Shim time slot into 5 1G Sub-time slots, so that each 1G Sub-time slot corresponds to the GE interface.
The present disclosure also provides a router applied to a user side, the router including:
a receiving module, configured to receive a first OAM code stream encoded by 64B/66B sent by a data link layer;
the Sub-Calendar module is used for dividing each FlexE Shim time slot into 5 1G Sub-time slots, enabling each 1G Sub-time slot to correspond to a GE interface, and distributing the first OAM code stream to the corresponding GE interface;
the conversion module is used for converting the first OAM code stream into a second OAM code stream coded by 8B/10B;
and the sending module is used for sending the second OAM code stream to an SPN network through a GE interface so that the SPN network can transparently transmit the second OAM code stream.
Optionally, the receiving module is further configured to add an alignment identifier at a 16383 th 66B position of the first OAM code stream.
Optionally, the Sub-Calendar module is specifically configured to distribute the first OAM code stream to a GE interface corresponding to each GE by using a time division multiplexing technology; or,
and splitting the first OAM code stream according to the preset specification, adding a GE interface identifier to the split code stream, and transmitting the first OAM code stream through a corresponding GE interface by utilizing the GE interface identifier.
Optionally, the receiving module is further configured to receive an 8B/10B encoded third OAM code stream sent by the SPN network;
the conversion module is further configured to convert the third OAM code stream into a fourth OAM code stream encoded by 64B/66B;
and the sending module is also used for sending the fourth OAM code stream to the user side.
The present disclosure also provides a router applied to an SPN network side, the router including: a receiving module, configured to receive an 8B/10B encoded second OAM code stream sent by a user side;
the conversion module is used for converting the second OAM code stream into a first OAM code stream coded by 64B/66B;
the sending module is used for transmitting the first OAM code stream to the destination equipment;
the Sub-Calendar module is used for dividing each FlexE Shim time slot into 5 1G Sub-time slots, enabling each 1G Sub-time slot to correspond to a GE interface, and distributing the first OAM code stream to the corresponding GE interface;
the conversion module is used for converting the first OAM code stream into a second OAM code stream;
and the sending module is used for sending the second OAM code stream to the user side.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present specification. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present description as detailed in the accompanying claims.
The terminology used in the description presented herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the present description. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
To fully illustrate the disclosed technology, a brief description of an SPN network follows.
As shown in fig. 1, the SPN transport network architecture is divided from the device level into 4 logical layers:
1) MTN traffic layer: ethernet MAC based on IEEE802.3 definition and conventional packet switching technology construction;
2) MTN Path layer: based on the realization of the mobile enterprise standard, the OAM function and the 66B XC function are mainly added, and the standardization is being promoted in the ITU-T G.MTN working group at present;
3) MTN Section layer: flexE specification implementation based on OIF definition;
4) MTN transport layer: PHY implementation based on IEEE802.3 defined ethernet.
When carrying service, the SPN device can realize that the 66B code stream of the Ethernet is directly exchanged in the Path layer on the intermediate device of the forwarding Path due to the 66B crossing technology introduced in the Path layer, and the processing of Ethernet MAC deframes of the MTN service layer and packet exchanges of the upper layer is not needed, thereby greatly improving the forwarding efficiency of the intermediate device, eliminating the jitter and delay introduced by the packet exchanges and well ensuring the end-to-end delay and jitter of the carrying service. Meanwhile, OAM functions added on the Path layer realize the functions of detection, quality measurement, quick switching and the like of the whole Path, and provide a foundation for the omnibearing quality monitoring of the whole Path.
The MTN service layer consists of packet switching processing and MAC defined by IEEE802.3, the MAC completes framing of Ethernet data frames and then restores the Ethernet messages, and the packet switching module completes table look-up forwarding according to the Ethernet messages; the MTN Path layer consists of an OAM module and a 66B XC module, the OAM module is used for realizing the detection of time delay, jitter, packet loss rate and the like by replacing an idle code in an Ethernet data code stream and inserting various predefined OAM data frames, and meanwhile, the rapid switching function is realized; the 66B XC module realizes direct code stream crossing based on FlexE. The MTN Section layer implements 5G granularity slicing of ethernet based on the FlexE definition of OIF, currently supporting 50G, 100G, 200G and 400G IEEE802.3 defined PHYs. The MTN transport layer is mainly composed of PHYs defined by IEEE802.3
In the present disclosure, a GE PHY is supported by MTN Section layer (FlexE technology) extension, so that the SPN network has the capability of GE code stream transparent transmission, and provides a solution based on SPN for high quality private lines of an enterprise network.
In order to achieve the capability of enabling the SPN to have the transparent transmission of the GE code stream, the embodiment of the disclosure provides a transparent transmission method and a router of the code stream.
As shown in fig. 2, an embodiment of the present disclosure provides a method for transmitting a code stream, where the method includes:
s201, receiving a 64B/66B coded first OAM code stream sent by a data link layer;
s202, distributing the first OAM code stream to a corresponding GE interface by utilizing a Sub-Calendar module;
s203, converting the first OAM code stream into a second OAM code stream coded by 8B/10B, and sending the second OAM code stream to an SPN (service provider network) through a GE (GE) interface so that the SPN can transparently transmit the second OAM code stream;
the Sub-Calendar module is used for dividing each FlexE Shim time slot into 5 1G Sub-time slots, so that each 1G Sub-time slot corresponds to the GE interface.
As shown in fig. 3, in this embodiment, the MTN Section layer is established based on the FlexE technology defined by the OIF, by introducing the FlexE Shim layer on the basis of IEEE802.3, decoupling of the MAC and the PHY layers is achieved, the rate of the MAC is no longer strongly related to the PHY layer, and the PHY layer of the FlexE can flexibly support 50G, 100G, 200G and 400G rates by splitting the code stream by the Shim in the 66B layer, and simultaneously support bundling of multiple PHYs, for example: 2 100G PHY bundles provide the capability of 200G PHY to the outside, 256 bundles can be supported for 100G PHY at maximum. Meanwhile, the flexes realize 66B time division multiplexing by inserting overheads, taking 100G as an example, and the overheads of flexes are inserted into 66B code streams according to 1023×20 intervals, each 8 overheads form 1 FlexE basic frame, and 32 basic frames form a multiframe for transmitting configuration information of the channels.
In the present disclosure, the expansion of the MTN Section layer (FlexE) supports GE PHY, and the realization between PHY layer and Shim layer is defined, by which the crossing of GE code stream into FlexE of NNI interface can be completed, thus realizing end-to-end code stream intercommunication.
In step S201, the enterprise router receives the 64B/66B encoded OAM code stream sent by the data link layer MAC, and for convenience of distinction, refers herein to the received OAM code stream from the MAC as the first OAM code stream.
In step S202, the Sub-canendar module is used to send the first OAM code stream to the corresponding GE interface.
The Sub-Calendar module mainly completes the adaption of GE granularity of Shim (FlexE Shim for short) and completes the insertion of 1023×20 FlexE OH, in other words, the Sub-Calendar module is used for realizing the splitting of each FlexE Shim time slot into 5 1G Sub-time slots, so that each 1G Sub-time slot corresponds to a GE interface.
In practical application, the first OAM code stream can be distributed to GE interfaces corresponding to each GE by using a time division multiplexing technology; or,
and splitting the first OAM code stream according to the preset specification, adding a GE interface identifier to the split code stream, and transmitting the first OAM code stream through a corresponding GE interface by utilizing the GE interface identifier.
Specifically, as shown in fig. 4, in the scheme of distributing the first OAM code stream to the GE interface corresponding to each GE by using the time division multiplexing technology, uniform add/drop multiplexing is performed on 66B in a single 5G Slot according to a manner of 5 sub-slots, 5G slots of two flexes of Slot #1 and Slot #2 are respectively split into 5 sub-slots of 1G, and then the corresponding slots #1 and Slot #2 are polled and inserted to realize the GE granularity of the single sub-Slot. The corresponding Sub-Calendar module also decomposes the corresponding 5 1G Sub-slots of each 5G to the corresponding GE interfaces in a time division multiplexing manner.
As shown in fig. 4, in the scheme of using data frame encapsulation, for the data of the GE channel, the 66B code stream is encapsulated as data into a specific ethernet data frame, the specific OH field is encapsulated to identify the frame and related control information, and then the data of each GE slot is transmitted as data of the FlexE 5G slot. At this time, the Shim layer needs to parse out the data frame belonging to each channel, and then constructs a Sub-Calendar module to decompose to the corresponding GE port according to 5 1G Sub-slots.
The Sub-Calendar module performs add-drop multiplexing to 5 GE ports according to 5G data given by Shim, and inserts the FlexE overheads defined by OIF FLEXE-02.1 Figure 25 at intervals of 1023×20 66B defined by the FlexE protocol.
The implementation of the calendar of the Shim module is strictly rate matched to the 100GE PHY, and the subsequent OIF extensions 50G and 200G/400G PHYs maintain this rate unchanged by increasing 66B PAD at the 50G and 200G/400G PHYs in order to ensure Shim normalization. The G.MTN defined by ITU also utilizes the property of the SHIM normalization to realize the physical layer cross function of the code stream.
The rate of 100G ethernet is as follows:
16383/16384 is defined by IEEE802.3, and the 100G PCS increases the bandwidth loss after AM; 100ppm is the standard frequency offset tolerance of Ethernet.
For the GE interface, according to the definition of IEEE802.3, the raw rate: 1.25Gb/s
After the FlexE is adapted, bandwidth loss caused by the requirement of adapting the AM of 100G needs to be achieved:
since GE does not have AM, there is a need to insert a custom AM at 16383 66B locations to eliminate this rate difference, which custom AM can be identified for alignment.
Since the GE PHY transmits data using 8B and 10B codes as defined by IEEE802.3 Clause 46, since the FlexE technology is implemented based on 64B/66B defined by Clause 82, to implement FlexE to carry on GE, step S203 is required to perform the interconversion of 64B/66B and 8B/10B codes.
In the actual conversion process, the following 3 steps can be executed:
1. the 66B data is removed from the 2bit sync field, and the 64bit Payload data is split in 8 byte units.
2. The Payload data divided into 8 groups is subjected to 8B/10B conversion according to the conversion rules defined by Clause 46.
3. And transferring the converted 10B data to the GE PHY.
When the reception direction is opposite to the transmission direction, the data is decoded by 10B to 8B, and then the data is restored 66B according to a specific coding format.
In this embodiment, the enterprise router may obtain the OAM code stream from the MAC layer, and transmit the OAM code stream to the enterprise router of the opposite end through the SPN network, and at the same time, the enterprise router of the home end may also receive the OAM code stream sent by the enterprise router of the opposite end through the SPN network.
Accordingly, the present disclosure also provides an embodiment comprising:
receiving an 8B/10B coded third OAM code stream sent by an SPN network;
converting the third OAM code stream into a fourth OAM code stream coded by 64B/66B;
and transmitting the fourth OAM code stream to the user side.
In this embodiment, the enterprise router receives the 8B/10B encoded third OAM code stream from the SPN network via the GE interface, obtains the fourth OAM code stream of 66B via conversion of the third code stream, and sends it to the user.
Therefore, after the GE interface is expanded and supported under the FlexE system, the SPN has the capacity of transmitting Ethernet code streams of the GE interface of the enterprise network from end to end, and meanwhile, after the scheme of the invention is realized on the interface of the enterprise network router, the enterprise network router can select OAM of an MTN path layer to be realized, and OAM pull-through from end to end is realized; meanwhile, the device has the capacity of realizing GE port slicing between enterprise network routers.
The embodiment of the disclosure also provides a transparent transmission method of the code stream, which is applied to the SPN network and comprises the following steps:
receiving a second OAM code stream of 8B/10B codes sent by a user side;
converting the second OAM code stream into a first OAM code stream coded by 64B/66B, and transmitting the first OAM code stream to target equipment;
the destination device distributes the first OAM code stream to a corresponding GE interface by utilizing a Sub-Calendar module;
converting the first OAM code stream into a second OAM code stream, and sending the second OAM code stream to a user side;
the Sub-Calendar module is used for dividing each FlexE Shim time slot into 5 1G Sub-time slots, so that each 1G Sub-time slot corresponds to the GE interface.
The disclosure also provides a specific embodiment of implementing a transparent transmission method of the code stream, as shown in fig. 5, where the left enterprise network communicates with the right enterprise network through the SPN network.
A router in the left enterprise network obtains the 64B/66B encoded first OAM code stream through the MAC layer.
And distributing the first OAM code stream to a corresponding GE interface by utilizing a Sub-Calendar module, converting the first OAM code stream into a second OAM code stream coded by 8B/10B, and sending the second OAM code stream to an SPN network through the GE interface so that the SPN network transparently transmits the second OAM code stream.
The second OAM code stream flows into the SPN network, and a router in the SPN network receives the 8B/10B encoded second OAM code stream sent by the left enterprise network, converts the second OAM code stream into a 64B/66B encoded first OAM code stream, and transmits the first OAM code stream to a destination router.
Wherein, there may be a plurality of SPN routing devices between the SPN router receiving the second OAM code stream and the destination router, and the SPN routing devices transmit the code stream encoded by 66B.
The router distributes the first OAM code stream to the corresponding GE interface by utilizing a Sub-Calendar module, converts the first OAM code stream into a second OAM code stream and sends the second OAM code stream to the right enterprise router
The technical scheme provided by the embodiment can realize that the left OAM code stream is transmitted to the right enterprise network user through the SPN.
Based on the above method embodiments, the disclosure further provides a router, where the router is applied to a user side, and the router includes:
a receiving module, configured to receive a first OAM code stream encoded by 64B/66B sent by a data link layer;
the Sub-Calendar module is used for dividing each FlexE Shim time slot into 5 1G Sub-time slots, enabling each 1G Sub-time slot to correspond to a GE interface, and distributing the first OAM code stream to the corresponding GE interface;
the conversion module is used for converting the first OAM code stream into a second OAM code stream coded by 8B/10B;
and the sending module is used for sending the second OAM code stream to an SPN network through a GE interface so that the SPN network can transparently transmit the second OAM code stream.
The receiving module is further configured to add an alignment identifier at a 16383 th 66B position of the first OAM code stream.
The Sub-Calendar module is specifically configured to distribute the first OAM code stream to GE interfaces corresponding to each GE by using a time division multiplexing technology; or,
and splitting the first OAM code stream according to the preset specification, adding a GE interface identifier to the split code stream, and transmitting the first OAM code stream through a corresponding GE interface by utilizing the GE interface identifier.
The receiving module is further configured to receive an 8B/10B encoded third OAM code stream sent by the SPN network;
the conversion module is further configured to convert the third OAM code stream into a fourth OAM code stream encoded by 64B/66B;
and the sending module is also used for sending the fourth OAM code stream to the user side.
The embodiment of the disclosure also provides a router, which is applied to the SPN network side, and comprises:
a receiving module, configured to receive an 8B/10B encoded second OAM code stream sent by a user side;
the conversion module is used for converting the second OAM code stream into a first OAM code stream coded by 64B/66B;
the sending module is used for transmitting the first OAM code stream to the destination equipment;
the Sub-Calendar module is used for dividing each FlexE Shim time slot into 5 1G Sub-time slots, enabling each 1G Sub-time slot to correspond to a GE interface, and distributing the first OAM code stream to the corresponding GE interface;
the conversion module is used for converting the first OAM code stream into a second OAM code stream;
and the sending module is used for sending the second OAM code stream to the user side.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Other embodiments of the present description will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This specification is intended to cover any variations, uses, or adaptations of the specification following, in general, the principles of the specification and including such departures from the present disclosure as come within known or customary practice within the art to which the specification pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the specification being indicated by the following claims.
It is to be understood that the present description is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
The foregoing description of the preferred embodiments is provided for the purpose of illustration only, and is not intended to limit the scope of the disclosure, since any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the disclosure are intended to be included within the scope of the disclosure.