CN109698728A - Interconnection method, the service of connection devices and the storage medium of Interlaken interface and FlexE IMP - Google Patents
Interconnection method, the service of connection devices and the storage medium of Interlaken interface and FlexE IMP Download PDFInfo
- Publication number
- CN109698728A CN109698728A CN201710986910.5A CN201710986910A CN109698728A CN 109698728 A CN109698728 A CN 109698728A CN 201710986910 A CN201710986910 A CN 201710986910A CN 109698728 A CN109698728 A CN 109698728A
- Authority
- CN
- China
- Prior art keywords
- data
- flexe
- imp
- interface
- packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 238000009432 framing Methods 0.000 claims abstract description 29
- 238000013507 mapping Methods 0.000 claims abstract description 24
- 238000001514 detection method Methods 0.000 claims description 12
- 230000001360 synchronised effect Effects 0.000 claims description 10
- 230000002159 abnormal effect Effects 0.000 claims description 7
- 238000003032 molecular docking Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 15
- 230000005540 biological transmission Effects 0.000 description 14
- 238000004590 computer program Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 238000003780 insertion Methods 0.000 description 4
- 230000037431 insertion Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- RTZKZFJDLAIYFH-UHFFFAOYSA-N Diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/16—Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
- H04J3/1605—Fixed allocated frame structures
- H04J3/1652—Optical Transport Network [OTN]
- H04J3/1658—Optical Transport Network [OTN] carrying packets or ATM cells
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J2203/00—Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
- H04J2203/0001—Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
- H04J2203/0046—User Network Interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J2203/00—Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
- H04J2203/0001—Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
- H04J2203/0046—User Network Interface
- H04J2203/005—Terminal equipment, e.g. codecs, synch
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J2203/00—Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
- H04J2203/0001—Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
- H04J2203/0051—Network Node Interface, e.g. tandem connections, transit switching
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the present invention provides interconnection method, the service of connection devices and the storage medium of a kind of Interlaken interface and FlexE IMP, wherein, the described method includes: by from Interlaken interface to data carry out framing, the data after framing are encoded, coded data is obtained;By the speed adjust of the coded data to preset Ethernet rate;Coded data after the speed regulation is scrambled, and sends the data after scrambling to the IMP mapping block of FlexE.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of sides of docking of Interlaken interface and FlexE IMP
Method, the service of connection devices and storage medium.
Background technique
According to 1.0 standard of flexible Ethernet (Flexible Ethernet, FlexE) agreement, the purpose is to allow interface rate
It is no longer fixed.FlexE, which is mapped to optical transfer network (Optical Transport Network, OTN), 3 kinds of modes: perception mould
Formula, not perceptual model, termination mode.For FlexE under termination mode, being mapped to OTN is using idle mapping process (Idle
Mapping Procedure, IMP) mapping mode, that is, be accomplished that: solving business (client) from the group of FlexE, so
ODUflex is mapped to by way of IMP afterwards (referring to G.709 agreement);Its FlexE client solved is Ethernet media
Access control (Medium Access Control, MAC) rate be 10 gigabit bit/second (G bit/second, Gb/s),
The business of 40Gb/s or m × 25Gb/s.
It is ITU (International that FlexE, which is mapped to OTN by IMP under termination mode,
Telecommunication Union) newest proposition shadowing agreement, there is presently no docking facilities and interconnection method to realize
FlexE is docked with Interlaken interface.
It, can be there are two types of mode with docking for Ethernet: the first, the client66Bit number for the FlexE that solution IMP is solved
Docked according to the standard speed for reverting to Ethernet by speed regulation by the optical port of customer side, second: solution IMP is solved
The client of FlexE recycles Interlaken interface and network by extracting trace routine packet (Packet Tracer, PKT)
The equipment interconnections such as processor (Network Processor, NP).
Summary of the invention
To solve existing technical problem, the embodiment of the present invention provides a kind of Interlaken interface and FlexE
Interconnection method, the service of connection devices and the storage medium of IMP can be realized docking for Interlaken interface and FlexE IMP.
The technical solution of the embodiment of the present invention is achieved in that
In a first aspect, the embodiment of the present invention provides the interconnection method of a kind of Interlaken packet interface and FlexE IMP, institute
The method of stating includes:
By from Interlaken interface to data carry out framing, the data after framing are encoded, are compiled
Code data;
By the speed adjust of the coded data to preset Ethernet rate;
Coded data after the speed regulation is scrambled, and the IMP that the data after scrambling are sent to FlexE is mapped into mould
Block.
Second aspect, the embodiment of the present invention provides the interconnection method of a kind of Interlaken interface and FlexE IMP, described
Method includes:
It is synchronous that the data received from the solution IMP mapping block of FlexE are subjected to block;
Descrambling code is carried out to the data after synchronizing, solution coding is carried out to the data after descrambling code, obtains the number of CGMII format
According to;
Local error code detection is carried out to the data of the CGMII format;
If detecting local error code, lead code, the frame first symbol, frame end of the data of the CGMII format are deleted
Symbol, IPG and local error code, the data packet after obtaining frame decoding, and Interlaken is sent by the data packet after the frame decoding
Transmission interface.
The third aspect, a kind of the service of connection devices of the present invention, the service of connection devices include processor and are configured to store executable
The storage medium of instruction, in which:
Processor is configured to execute the executable instruction of storage, and the executable instruction includes:
By from Interlaken interface to data carry out framing, the data after framing are encoded, are compiled
Code data;
By the speed adjust of the coded data to preset Ethernet rate;
Coded data after the speed regulation is scrambled, and the IMP that the data after scrambling are sent to FlexE is mapped into mould
Block.
Fourth aspect, the embodiment of the present invention provide a kind of the service of connection devices, and the service of connection devices includes processor and is configured to
Store the storage medium of executable instruction, in which:
Processor is configured to execute the executable instruction of storage, and the executable instruction includes:
It is synchronous that the data received from the solution IMP mapping block of FlexE are subjected to block;
Descrambling code is carried out to the data after synchronizing, solution coding is carried out to the data after descrambling code, obtains the number of CGMII format
According to;
Local error code detection is carried out to the data of the CGMII format;
If detecting local error code, lead code, the frame first symbol, frame end of the data of the CGMII format are deleted
Symbol, IPG and local error code, the data packet after obtaining frame decoding, and Interlaken is sent by the data packet after the frame decoding
Transmission interface.
5th aspect, the embodiment of the present invention provide a kind of computer storage medium, store in the computer storage medium
There are computer executable instructions, which is configured to execute above-mentioned Interlaken interface and FlexE
The interconnection method of IMP.
The embodiment of the invention provides the interconnection method of a kind of Interlaken interface and FlexE IMP, the service of connection devices and
Storage medium, in which: first by from Interlaken interface to data carry out framing, the data after framing are compiled
Code, obtains coded data;Then by the speed adjust of the coded data to preset Ethernet rate;Finally to the speed regulation
Coded data afterwards is scrambled, and sends the data after scrambling to the IMP mapping block of FlexE.It so, it is possible to realize
Interlaken interface is docked with FlexE IMP's.
Detailed description of the invention
In attached drawing (it is not necessarily drawn to scale), similar appended drawing reference can describe phase in different views
As component.Similar reference numerals with different letter suffix can indicate the different examples of similar component.Attached drawing with example and
Unrestricted mode generally shows each embodiment discussed herein.
Fig. 1 is the implementation process schematic diagram of Interlaken of embodiment of the present invention interface and the interconnection method of FlexE IMP;
Fig. 2 is the implementation process schematic diagram of Interlaken of embodiment of the present invention interface and the interconnection method of FlexE IMP;
Fig. 3 is the docking facilities that Interlaken of embodiment of the present invention receiving side packet interface is docked to FLEXE IMP mapping
Composed structure schematic diagram;
Fig. 4 be FlexE of embodiment of the present invention IMP demapping be docked to the sending side Interlaken packet interface to tipping
The composed structure schematic diagram set;
Fig. 5 is the composed structure schematic diagram of the service of connection devices of the embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the specific technical solution of invention is described in further detail.The following examples are intended to illustrate the invention, but does not have to
To limit the scope of the invention.
Embodiment one
The embodiment of the present invention provides the interconnection method of a kind of Interlaken interface and FlexE IMP, and Fig. 1 is that the present invention is real
The implementation process schematic diagram for applying an Interlaken interface and the interconnection method of FlexE IMP, as shown in Figure 1, the method packet
Include following steps:
Step S101, by from Interlaken interface to data carry out framing, and to after framing data carry out
Coding, obtains coded data.
Here, Interlaken interface is explained first.
Interlaken interface is the high-speed interface of a kind of chip based on data packet transmission and chip interconnection, compared to tradition
10G Ethernet connection unit and system packet interface, Interlaken interface be suitble to 10Gbps or more high speed transmission,
Interlaken interface can be used in any number of serial link (or " channel "), and the number of active lanes usually supported is 256, can
To expand to 64K, and interface capability can be improved by adjusting the number of deserializer.Interlaken interface has
It is directly related with number of active lanes to imitate bandwidth.
During realization, the step S101 can be realized by following steps:
Step S1011, by since Interlaken interface to data, the lead code of 7 bytes, 1 byte frame
The frame end for according with (Start of Frame Delimiter, SFD) and 1 byte accords with (End of Frame Delimiter, EFD)
It is combined into a frame;
Here, the lead code of 7 bytes, SFD and EFD are pre-set.
The frame first symbol of the preamble data and 1 byte is carried out 8 byte-aligneds by step S1012;
It here, is 8 bytes by the number of data units of Interlaken interface, agreement provides that 8 bytes are a number
It is to be encoded for convenience, and lead data code and frame first symbol are also 8 bytes according to unit, is conducive to adjust interface
Bandwidth.
Data after framing are converted to Media Independent Interface (the 100Gb/s Media of 100G Ethernet by step S1013
Independent Interface, CGMII) format data;
Step S1014 encodes the data of the CGMII format, obtains coded data.
Here, to the data encoding of the CGMII format at 66 bits (bit) data.
Step S102, by the speed adjust of the coded data to preset Ethernet rate.
Here, it since the rate for the data transmitted in Interlaken interface is higher, is carried out pair with FlexE IMP at this time
It is needed when connecing by the speed adjust of coded data to preset Ethernet rate.
During realization, the step S102 can be realized by following steps:
Step S1021 determines the number N for needing the Inter-packet gap (Inter Packet Gap, IPG) being inserted into;
Here, the number for the IPG for needing to be inserted into is determined according to 12 bytes of Inter-packet gap average out to.In other implementations
In example, determines that the number for needing the IPG being inserted into can be realized by following two step: obtaining the data packet of the coded data
The byte number of Inter-packet gap between number and data packet;According to the packet between the data packet number and data packet of the coded data
The byte number in gap determines the number for needing the IPG being inserted into.
For example, it is assumed that there is 3 data packets, the byte number of the Inter-packet gap between current data packet is 20 bytes, due to 3
There are two Inter-packet gap, 12 bytes of Inter-packet gap average out between data packet, then 24 bytes are needed altogether, due to current parlor
The byte number of gap is therefore 20 bytes need to be inserted at this time 4 IPG.
In other embodiments, IDLE also can be inserted, 1 spare bits (IDLE) is 66bit block, including 8 IPG.Such as
When the multiple that the IPG number that fruit needs to be inserted into is 8, the number of the IPG of insertion can according to need, determine the IDLE for needing to be inserted into
Number.
Step S1022 is inserted into N number of IPG in the packet tail of the coded data, using local clock by the coded data
Speed adjust is to preset Ethernet rate.
Step S103 scrambles the coded data after the speed regulation, and sends FlexE's for the data after scrambling
IMP mapping block.
Here, signal scrambling technique is explained.Scrambling is a kind of to encode by data permutation or to data
So that the method for its randomization, this technology mix pseudo-random sequence with original code rate, to realize the mesh such as conversion, direct current equilibrium
, but allow for carrying out data recovery by descrambling.During realization, it can be scrambled by scrambler.
Scrambler includes two types, respectively self-synchronous scrambler and side scrambler.Self-synchronous scrambler directly will be defeated
Enter data as scrambler state, does not need resetting and synchronizing process.The buffer status and transmission data exclusive or of side scrambler
Next state is constituted, this needs to carry out " resetting/synchronous " scrambler state between input and output.
The advantages of self-synchronous scrambler, is not needing using any synchronization character.The function of scrambler is added in transmitting terminal
It disturbs, is receiving descrambling, replying initial data.But self-synchronous scrambler need two feedback ends, in this way can reproducible it is wrong twice
Accidentally.In order to avoid this phenomenon, Interlaken interface protocol uses side scrambler, can be avoided using self-synchronous scrambler and
Caused error code replicates problem.
In other embodiments, the step of the speed adjust by the coded data is to preset Ethernet rate
Later, the method also includes:
Judge whether to detect preset abnormal conditions occur;
There are preset abnormal conditions if detected, the coded data is replaced with into local error code (local
fault)。
Here, it detects that preset abnormal conditions can include but is not limited to: detecting GFP CSF signal, detects OTN
Layer link fault signal (ODU2AIS, ODU2-LCK, ODU2-OCI etc.) detects 100GE input signal failure (LOS) or OTN
Layer link breaks down (ODUk AIS, ODUk-LCK, ODUk-OCI etc.).
The citing of the above abnormal conditions is merely illustrative, in the actual implementation process can be according in IEEE802.3
Protocol definition replaces the abnormal conditions of local error code.
In the interconnection method of a kind of Interlaken interface provided in an embodiment of the present invention and FlexE IMP, first will
From Interlaken interface to data carry out framing, the data after framing are encoded, coded data is obtained;Then
By the speed adjust of the coded data to preset Ethernet rate;Finally the coded data after the speed regulation is added
It disturbs, and sends the data after scrambling to the IMP mapping block of FlexE.So, it is possible realize Interlaken interface with
The docking of FlexE IMP.
Embodiment two
Based on embodiment above-mentioned, the embodiment of the present invention provides docking for a kind of Interlaken interface and FlexE IMP
Method, Fig. 2 are the implementation process schematic diagram of Interlaken of embodiment of the present invention interface and the interconnection method of FlexE IMP, such as
Shown in Fig. 2, it the described method comprises the following steps:
It is synchronous to carry out block to the data received from the solution IMP mapping block of FlexE by step S201.
Here, it carries out block to the data received from the solution IMP mapping block of FlexE to synchronize being each in order to obtain
The packet header of 66bit data packet, after the packet header of data packet has been determined, due to the size of each data packet be it is determining,
It can determine the packet tail of data packet, it is determined that the packet header of data packet and packet tail, then entire data packet just can determine out.
Step S202 carries out descrambling code to the data after synchronizing, carries out solution coding to the data after descrambling code, obtain
The data of CGMII format.
Here, descrambling code is carried out according to scrambling mode corresponding descrambling mode to the 66bit data after synchronizing, and to descrambling
Data after code carry out solution coding according to the corresponding solution coding mode of coding mode, to obtain the data of CGMII format.
Step S203 carries out local error code detection to the data of the CGMII format.
Step S204 deletes the lead code of the data of the CGMII format, frame starts if detecting local error code
Symbol, frame end symbol, IPG and local error code, the data packet after obtaining frame decoding, and send the data packet after the frame decoding to
Interlaken transmission interface.
Here, in other embodiments, described only necessary to delete if not detecting local error code
The lead codes of the data of CGMII format, frame first symbol, frame end symbol and IPG obtain the data packet after frame decoding, then by the frame decoding
Data packet afterwards is sent to Interlaken transmission interface.
It, first will be from the interconnection method of Interlaken interface provided in an embodiment of the present invention and FlexE IMP
It is synchronous that the data that the solution IMP mapping block of FlexE receives carry out block;Then descrambling code is carried out to the data after synchronizing, to solution
Data after scrambling code carry out solution coding, obtain the data of CGMII format;Local event is carried out to the data of the CGMII format again
Hinder code detection;If detecting local error code, lead code, the frame first symbol, frame end of the data of the CGMII format are deleted
Symbol, IPG and local error code, the data packet after obtaining frame decoding, and Interlaken is sent by the data packet after the frame decoding
Transmission interface.It so, it is possible to realize the solution data of IMP and the docking to Interlaken transmission interface of FlexE.
Embodiment three
The embodiment of the present invention first provide a kind of Interlaken receiving side packet interface to FLEXE IMP map to tipping
It sets, Fig. 3 is the composition for the docking facilities that Interlaken of embodiment of the present invention receiving side packet interface is docked to FLEXE IMP mapping
Structural schematic diagram, as shown in figure 3, described device 300 includes: framing module 301, transcoding module 302, coding module 303, IPG
It is inserted into module 304, local alarm replacement module 305 and scrambled code module 306, in which:
The data packet that the framing module 301 is used to arrive Interlaken interface carries out framing, obtains 8 bytes pair
Neat data;
The transcoding module 302 is used to the data after framing carrying out transcoding;
The coding module 303 is for encoding the data after transcoding;
Packet tail of the IPG insertion module 304 for data in encoded is inserted into IPG;
When the local alarm replacement module 305 is used in exception conditions, data flow is replaced with local fault;
The scrambled code module 306 will be scrambled for scrambling the data that local alarm replacement module 305 exports
Data afterwards are sent to FlexE IMP mapping.
The embodiment of the present invention also provides the interconnection method of the IMP of Interlake receiving interface to FlexE a kind of, the side
Method the following steps are included:
Step 31, the lead code of packet 7 bytes of addition of Interlaken interface, 1 byte frame are started into (Start of
Frame Delimiter, SFD) and frame end (End of Frame Delimiter, EFD) data, component frame.Simultaneously before
Leading code alignment of data is to 8 bytes, to meet the alignment of data of IMP mapping to 8 bytes;
Step 32, the data for having added lead code, SFD and EFD are converted to the medium of CGMII format 100G Ethernet without
It closes interface (100Gb/s Media Independent Interface, i.e. CGMII).Data;
Step 33, to the data encoding of CGMII format at 66bit data;
Step 34, the ether network speed of local clock speed regulation to standard is utilized in the mode of packet tail insertion IPG to 66bit data
Rate;IPG number of insertion is determined by 12 bytes of Inter-packet gap average out to;
When step 35, in exception conditions, data flow is replaced with local fault;
Step 36 again scrambles 66bit block number according to completion;
31 to step 36 through the above steps, and the packet that can complete Interlaken interface is docked to the IMP of FlexE
Processing.
The embodiment of the present invention provides pair that a kind of FlexE IMP demapping is docked to the sending side Interlaken packet interface again
Connection device, Fig. 4 are the docking facilities that FlexE of embodiment of the present invention IMP demapping is docked to the sending side Interlaken packet interface
Composed structure schematic diagram, as shown in figure 4, described device 400 include: 66b locking module 401, descrambling code module 402, decoding
Module 403, local alarm detection module 404 conciliate frame module 405, in which:
The client data for the FlexE that the 66b locking module 401 is used to obtain demapping carry out 66bit block number evidence
Block it is synchronous;
The descrambling code module 402 is used to carry out descrambling code to the data after synchronizing;
The decoder module 403 is used to the data after descrambling code carrying out solution coding;
The local alarm detection module 404 is used to carry out local fault detection to the data after solution coding
The data that the solution frame module 405 is used to export local alarm detection module 404 carry out frame decoding, solve data
Packet, is sent to Interlaken transmission interface.
It can be completed using the docking facilities that above-mentioned FlexE IMP demapping is docked to the sending side Interlaken packet interface
FlexE solution IMP to Interlaken transmission interface packet docking operation, the docking operation the following steps are included:
Step 41, IMP mapping is solved from ODuflex, solves the client data of FlexE, first completes 66bit block number evidence
Block is synchronous;
Step 42, descrambling code is completed to the 66bit data after synchronizing;
Step 43, the 66bit data after descrambling code are decoded with the data of CGMII format;
Step 44, local fault detection is carried out to the data of the CGMII format decoded;
Step 45, lead code is deleted to the data of CGMII format, frame starts SFD, postamble EFD, frame gap and local
Fault, frame decoding solve packet, are sent to Interlaken transmission interface;
41 to step 45 through the above steps, and the data that can complete the solution IMP of FlexE connect with to Interlaken transmission
The treatment process of the packet docking of mouth.
It is ITU (International that Ethernet, which is mapped to OTN by IMP under termination mode using new agreement FlexE,
Telecommunication Union) newest proposition shadowing agreement, due to can be with there is presently no circuit device
The packet of Interlaken interface is docked.The Interlaken receiving side packet interface docking provided in through the embodiment of the present invention
The device of the sending side Interlaken packet interface is docked to FLEXE IMP mapping device and FlexE IMP demapping, and
The packet of Interlake receiving interface is docked to the IMP processing method of FlexE and the solution IMP of FlexE is docked to Interlaken hair
The treatment process for sending interface realizes FlexE and connects by IMP mapping demapping data to Interlaken under termination mode
The packet docking of mouth.
10GE, 40GE and n*25GE's (n > 0) that interconnection method and docking facilities provided in an embodiment of the present invention are suitable for
Docking.
Example IV
The embodiment of the present invention provides a kind of the service of connection devices, and Fig. 5 is that the composed structure of the service of connection devices of the embodiment of the present invention is illustrated
Figure, as shown in figure 5, the service of connection devices 500 includes processor 501 and is configured to store the storage medium 502 of executable instruction,
Wherein:
The processor 501 is configured to execute the executable instruction of storage, and the executable instruction includes:
By from Interlaken interface to data carry out framing, the data after framing are encoded, are compiled
Code data;
By the speed adjust of the coded data to preset Ethernet rate;
Coded data after the speed regulation is scrambled, and the IMP that the data after scrambling are sent to FlexE is mapped into mould
Block.
In other embodiments, the data after framing are encoded, obtain coded data, comprising:
Data after framing are converted to the data of the Media Independent Interface CGMII format of 100G Ethernet;
The data of the CGMII format are encoded, coded data is obtained.
In other embodiments, the step of the speed adjust by the coded data is to preset Ethernet rate
Later, the processor 501 is additionally configured to execute following executable instruction:
There are preset abnormal conditions if detected, the coded data is replaced with into local error code.
In other embodiments, it is described by from Interlaken interface to data carry out framing, comprising:
By from Interlaken interface to data, the lead code of 7 bytes, 1 byte frame first symbol SFD and 1 word
The frame end symbol EFD of section is combined into a frame;
The frame first symbol of the preamble data and 1 byte is subjected to 8 byte-aligneds.
In other embodiments, the speed adjust by the coded data is to preset Ethernet rate, comprising:
Determine the number N for needing the IPG being inserted into;
It is inserted into N number of IPG in the packet tail of the coded data, is arrived the speed adjust of the coded data using local clock
Preset Ethernet rate.
In other embodiments, the number N of the determining IPG for needing to be inserted into, comprising:
Obtain the Inter-packet gap number between the data packet number of the coded data and data packet;
According to the Inter-packet gap number between the data packet number and data packet of the coded data, determine what needs were inserted into
The number of IPG.
It should be noted that the description of the above the service of connection devices embodiment, be with the description of above method embodiment it is similar,
With the similar beneficial effect of same embodiment of the method, therefore do not repeat them here.For not disclosed in the service of connection devices embodiment of the present invention
Technical detail, please refer to the description of embodiment of the present invention method and understand.
Accordingly, the embodiment of the present invention provides a kind of computer storage medium, is stored in the computer storage medium
Computer executable instructions, the computer executable instructions are configured to execute the Interlaken that other embodiments of the invention provide
The interconnection method of interface and FlexE IMP.
Embodiment five
The embodiment of the present invention provides a kind of the service of connection devices again, and the service of connection devices includes processor and is configured to store and can hold
The storage medium of row instruction, in which:
Processor is configured to execute the executable instruction of storage, and the executable instruction includes:
It is synchronous that the data received from the solution IMP mapping block of FlexE are subjected to block;
Descrambling code is carried out to the data after synchronizing, solution coding is carried out to the data after descrambling code, obtains the number of CGMII format
According to;
Local error code detection is carried out to the data of the CGMII format;
If detecting local error code, lead code, the frame first symbol, frame end of the data of the CGMII format are deleted
Symbol, IPG and local error code, the data packet after obtaining frame decoding, and Interlaken is sent by the data packet after the frame decoding
Transmission interface.
It should be noted that the description of the above the service of connection devices embodiment, be with the description of above method embodiment it is similar,
With the similar beneficial effect of same embodiment of the method, therefore do not repeat them here.For not disclosed in the service of connection devices embodiment of the present invention
Technical detail, please refer to the description of embodiment of the present invention method and understand.
Accordingly, the embodiment of the present invention provides a kind of computer storage medium, is stored in the computer storage medium
Computer executable instructions, the computer executable instructions are configured to execute the Interlaken that other embodiments of the invention provide
The interconnection method of interface and FlexE IMP.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention
Formula.Moreover, the present invention, which can be used, can use storage in the computer that one or more wherein includes computer usable program code
The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (10)
1. a kind of interconnection method of Interlaken interface and FlexE IMP, which is characterized in that the described method includes:
By from Interlaken interface to data carry out framing, the data after framing are encoded, coded number is obtained
According to;
By the speed adjust of the coded data to preset Ethernet rate;
Coded data after the speed regulation is scrambled, and sends the data after scrambling to the IMP mapping block of FlexE.
2. method according to claim 1, which is characterized in that it is described by from Interlaken interface to data
Carry out framing, comprising:
By from Interlaken interface to data, the lead code of 7 bytes, the frame first symbol SFD of 1 byte and 1 byte
Frame end symbol EFD is combined into a frame;
The frame first symbol of the preamble data and 1 byte is subjected to 8 byte-aligneds.
3. method according to claim 1, which is characterized in that the data to after framing encode, and are compiled
Code data, comprising:
Data after framing are converted to the data of the Media Independent Interface CGMII format of 100G Ethernet;
The data of the CGMII format are encoded, coded data is obtained.
4. method according to claim 1, which is characterized in that in the speed adjust by the coded data in advance
If Ethernet rate the step of after, the method also includes:
There are preset abnormal conditions if detected, the coded data is replaced with into local error code.
5. method according to claim 1, which is characterized in that the speed adjust by the coded data is to default
Ethernet rate, comprising:
Determine the number N for needing the Inter-packet gap IPG being inserted into;
It is inserted into N number of IPG in the packet tail of the coded data, using local clock by the speed adjust of the coded data to presetting
Ethernet rate.
6. method according to claim 4, which is characterized in that the number N of the determining IPG for needing to be inserted into, comprising:
Obtain the Inter-packet gap number between the data packet number of the coded data and data packet;
According to the Inter-packet gap number between the data packet number and data packet of the coded data, determine the IPG's for needing to be inserted into
Number.
7. a kind of interconnection method of Interlaken interface and FlexE IMP, which is characterized in that the described method includes:
It is synchronous that the data received from the solution IMP mapping block of FlexE are subjected to block;
Descrambling code is carried out to the data after synchronizing, solution coding is carried out to the data after descrambling code, obtains the data of CGMII format;
Local error code detection is carried out to the data of the CGMII format;
If detecting local error code, delete the lead codes of the data of the CGMII format, frame first symbol, frame end symbol,
IPG and local error code, the data packet after obtaining frame decoding, and send Interlaken for the data packet after the frame decoding and send
Interface.
8. a kind of the service of connection devices, which is characterized in that the service of connection devices includes processor and is configured to store executable instruction
Storage medium, in which:
Processor is configured to execute the executable instruction of storage, and the executable instruction includes:
By from Interlaken interface to data carry out framing, the data after framing are encoded, coded number is obtained
According to;
By the speed adjust of the coded data to preset Ethernet rate;
Coded data after the speed regulation is scrambled, and sends the data after scrambling to the IMP mapping block of FlexE.
9. a kind of the service of connection devices, which is characterized in that the service of connection devices includes processor and is configured to store executable instruction
Storage medium, in which:
Processor is configured to execute the executable instruction of storage, and the executable instruction includes:
It is synchronous that the data received from the solution IMP mapping block of FlexE are subjected to block;
Descrambling code is carried out to the data after synchronizing, solution coding is carried out to the data after descrambling code, obtains the data of CGMII format;
Local error code detection is carried out to the data of the CGMII format;
If detecting local error code, delete the lead codes of the data of the CGMII format, frame first symbol, frame end symbol,
IPG and local error code, the data packet after obtaining frame decoding, and send Interlaken for the data packet after the frame decoding and send
Interface.
10. a kind of computer storage medium, computer executable instructions are stored in the computer storage medium, the computer
Executable instruction is configured to execute Interlaken interface and FlexE that any one of the claims 1 to 6 or 7 provide
The interconnection method of IMP.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710986910.5A CN109698728B (en) | 2017-10-20 | 2017-10-20 | Interlaken interface and Flexe IMP docking method, docking equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710986910.5A CN109698728B (en) | 2017-10-20 | 2017-10-20 | Interlaken interface and Flexe IMP docking method, docking equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109698728A true CN109698728A (en) | 2019-04-30 |
CN109698728B CN109698728B (en) | 2021-04-06 |
Family
ID=66226530
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710986910.5A Active CN109698728B (en) | 2017-10-20 | 2017-10-20 | Interlaken interface and Flexe IMP docking method, docking equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109698728B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110166382A (en) * | 2019-05-31 | 2019-08-23 | 新华三技术有限公司 | A kind of message forwarding method and device |
CN111314242A (en) * | 2020-01-20 | 2020-06-19 | 烽火通信科技股份有限公司 | Multi-channel supported packet cache scheduling simulation verification method and system |
CN113098658A (en) * | 2021-03-11 | 2021-07-09 | 鹏城实验室 | Ethernet frame interval mean value adjusting method and device, intelligent terminal and storage medium |
WO2024061124A1 (en) * | 2022-09-20 | 2024-03-28 | 深圳市中兴微电子技术有限公司 | Data processing method and apparatus, electronic device, and readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106411454A (en) * | 2015-07-30 | 2017-02-15 | 华为技术有限公司 | Method for data transmission, transmitter and receiver |
CN106612203A (en) * | 2015-10-27 | 2017-05-03 | 中兴通讯股份有限公司 | Method and apparatus for processing data flow of flexible Ethernet client |
-
2017
- 2017-10-20 CN CN201710986910.5A patent/CN109698728B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106411454A (en) * | 2015-07-30 | 2017-02-15 | 华为技术有限公司 | Method for data transmission, transmitter and receiver |
CN106612203A (en) * | 2015-10-27 | 2017-05-03 | 中兴通讯股份有限公司 | Method and apparatus for processing data flow of flexible Ethernet client |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110166382A (en) * | 2019-05-31 | 2019-08-23 | 新华三技术有限公司 | A kind of message forwarding method and device |
CN111314242A (en) * | 2020-01-20 | 2020-06-19 | 烽火通信科技股份有限公司 | Multi-channel supported packet cache scheduling simulation verification method and system |
CN111314242B (en) * | 2020-01-20 | 2022-05-13 | 烽火通信科技股份有限公司 | Multi-channel supporting packet cache scheduling simulation verification method and system |
CN113098658A (en) * | 2021-03-11 | 2021-07-09 | 鹏城实验室 | Ethernet frame interval mean value adjusting method and device, intelligent terminal and storage medium |
WO2024061124A1 (en) * | 2022-09-20 | 2024-03-28 | 深圳市中兴微电子技术有限公司 | Data processing method and apparatus, electronic device, and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109698728B (en) | 2021-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10462471B2 (en) | Data processing method, communications device, and communications system | |
US12074643B2 (en) | Data transmission method and apparatus, terminal device and storage medium | |
US9954644B2 (en) | Ethernet data processing method, physical layer chip and Ethernet equipment | |
KR101363541B1 (en) | Method and apparatus for encoding and decoding data | |
JP3879836B2 (en) | Multiplex converter, demultiplexer, and multiplex transmission system | |
CN109698728A (en) | Interconnection method, the service of connection devices and the storage medium of Interlaken interface and FlexE IMP | |
CN108631908B (en) | Method for carrying signal frame by using Flexe, method and device for restoring Flexe signal frame | |
WO2021180007A1 (en) | Service bearing method, apparatus and system | |
CN105790883B (en) | Method for processing signal and communication equipment | |
JP2007110457A (en) | Transmission apparatus | |
JP5006351B2 (en) | Method and device for realizing data error reporting | |
CN102196321A (en) | Method for transmitting 100GE (100gigabit Ethernet) data in OTN (Optical Transport Network) and data sending device | |
WO2021219079A1 (en) | Service data processing, exchange and extraction methods, devices, and computer-readable medium | |
CN100568841C (en) | A kind of converging device of Ethernet service and method | |
WO2021103640A1 (en) | Data transmission method and apparatus, terminal device, and storage medium | |
WO2019090696A1 (en) | Method and apparatus for transporting optical transport unit signal | |
CA2869236A1 (en) | Ethernet point to point link incorporating forward error correction | |
US10454617B2 (en) | Coding scheme and multiframe transmission in optical networks | |
CN101312385B (en) | Information encoding and decoding method and apparatus | |
JP4885820B2 (en) | Digital transmission apparatus and digital transmission program | |
WO2021013025A1 (en) | Data receiving method and apparatus, and data sending method and apparatus | |
US20100131830A1 (en) | Transparent In-Band Forward Error Correction for Signal Conditioning-Encoded Signals | |
WO2010130137A1 (en) | Method and apparatus for processing message | |
US20150358431A1 (en) | Enhanced data communications in an optical transport network | |
JP2015133555A (en) | CPRI transmission scheme |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |