CN109379214A - A kind of configuration method and device of FlexE link - Google Patents
A kind of configuration method and device of FlexE link Download PDFInfo
- Publication number
- CN109379214A CN109379214A CN201811116607.0A CN201811116607A CN109379214A CN 109379214 A CN109379214 A CN 109379214A CN 201811116607 A CN201811116607 A CN 201811116607A CN 109379214 A CN109379214 A CN 109379214A
- Authority
- CN
- China
- Prior art keywords
- flexe
- local device
- opposite equip
- role
- configuration
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
- H04L12/2869—Operational details of access network equipments
- H04L12/2878—Access multiplexer, e.g. DSLAM
- H04L12/2879—Access multiplexer, e.g. DSLAM characterised by the network type on the uplink side, i.e. towards the service provider network
- H04L12/2881—IP/Ethernet DSLAM
Abstract
The embodiment provides the configuration methods and device of a kind of FlexE link, it is related to field of communication technology, when solving FlexE group, the FlexE map and FlexE instance inconsistent in the FlexE expense that mutually sends of terminal device for the FlexE link for implementing agreement based on flexible Ethernet in the prior art, the problem of FlexE link can not be established.This method includes that local device receives specify information from opposite equip.;Local device is determined there are when entry, according to local device role and opposite equip. role, determines configuration parameter;Local device establishes the FlexE link with opposite equip. according to the configuration parameter.The embodiment of the present invention is used to indicate the configuration of FlexE link.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of configuration methods and device of FlexE link.
Background technique
Optical interconnection forum (full name in English: Optical Internetworking Forum, referred to as: OIF), the spirit of publication
Defining flexible Ethernet in Ethernet implementation agreement (full name in English: Implementation Agreement) living, (English is complete
Claim: Flex Ethernet, referred to as: FlexE) FlexE group in the FlexE expense that mutually sends of terminal device of link,
FlexE map must be consistent with FlexE instance, and equipment can examine above-mentioned field in the FlexE expense received
It looks into, if will issue alarm statement connection error if mismatching, FlexE link can not be established.
It can be seen from the above, the terminal device for implementing the FlexE link of agreement based on flexible Ethernet in the prior art is mutual
When FlexE group, FlexE map and FlexE instance inconsistent in the FlexE expense of transmission, FlexE link without
Method is established.
Summary of the invention
The embodiment of the present invention provides the configuration method and device of a kind of FlexE link, solves and is based in the prior art
FlexE group in FlexE expense that the terminal device that flexible Ethernet implements the FlexE link of agreement is mutually sent,
When FlexE map and FlexE instance are inconsistent, the problem of FlexE link can not be established.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, the embodiment of the present invention provides a kind of configuration method of FlexE link, comprising: local device is from right
End equipment receives specify information;Wherein, specify information includes at least: the FlexE overhead parameter of opposite equip., opposite equip. role
In one or more, opposite equip. role be used to indicate opposite equip. be MASTER or SLAVE;Local device determination is deposited
In entry, according to local device role and opposite equip. role, configuration parameter is determined;Wherein, entry includes at least: state letter
It ceases, the one or more in the local device role of local device, local device role is used to indicate local device and is
MASTER or SLAVE, status information are used to indicate whether local device is completed compared with specify information, and configuration parameter is at least
It include: the FlexE overhead parameter of opposite equip.;Local device establishes the FlexE link with opposite equip. according to configuration parameter.
By above scheme it is found that the configuration method of FlexE link provided in an embodiment of the present invention, when local device is from opposite end
After equipment receives specify information, local device is determined there are when entry, according to the equipment local device role of local device with it is right
The equipment local device role of end equipment, determines configuration parameter;Therefore, it is mutually sent when the terminal device of FlexE link
When FlexE group, FlexE map and FlexE instance inconsistent in FlexE expense, local device can be according to determination
Configuration parameter establish and the FlexE link of opposite equip.;It solves and agreement is implemented based on flexible Ethernet in the prior art
FlexE group, FlexE map and the FlexE in FlexE expense that the terminal device of FlexE link is mutually sent
When instance is inconsistent, the problem of FlexE link can not be established.
Optionally, local device is determined there are when entry, according to local device role and opposite equip. role, determines configuration
Parameter, comprising: local device determines there are entry, and when status information is to be compared, if local device role is SLAVE,
And opposite equip. role is MASTER, it is determined that configuration parameter is the FlexE overhead parameter of opposite equip..
Optionally, local device is determined there are when entry, according to local device role and opposite equip. role, determines configuration
Parameter, comprising: local device determines there are entry, and when status information is to be compared, if local device role is MASTER,
And opposite equip. role is SLAVE, then the FlexE expense of the FlexE overhead parameter and opposite equip. that differentiate local device is joined
Whether number is identical;If so, carrying out data interaction by FlexE link and opposite equip.;If it is not, abandoning specify information.
Optionally, specify information further include: the random number of opposite equip.;Entry further include: the random number of local device;This
End equipment is determined there are when entry, according to local device role and opposite equip. role, determines configuration parameter, comprising: local terminal is set
It is standby to determine that there are entries, and when status information is to be compared, if local device role is identical with opposite equip. role, differentiate originally
Whether the random number of end equipment is greater than the random number of opposite equip.;If it is not, determining that configuration parameter is the FlexE expense of opposite equip.
Parameter;If so, whether the FlexE overhead parameter of differentiation opposite equip. and the FlexE overhead parameter of local device are identical;Local terminal is set
It is standby determine opposite equip. FlexE overhead parameter it is identical as the FlexE overhead parameter of local device when, by FlexE link with
Opposite equip. carries out data interaction.
Optionally, local device is determined there are when entry, according to opposite equip. role and local device role, determines configuration
Parameter, comprising: local device determines that there are entries, and status information is when being completed to compare, to pass through FlexE link and opposite end
Equipment carries out data interaction.
Optionally, this method further include: local device determines that there is no when entry, determine that configuration parameter is opposite equip.
FlexE overhead parameter.
Second aspect, the embodiment of the present invention provide a kind of configuration device of FlexE link, comprising: receiving module is used for
Specify information is received from opposite equip.;Wherein, specify information includes at least: FlexE overhead parameter, the opposite equip. of opposite equip.
One or more in role, it is MASTER or SLAVE that opposite equip. role, which is used to indicate opposite equip.,;Processing module,
For determining there are when entry, according to local device role and the received opposite equip. role of receiving module, configuration parameter is determined;
Wherein, entry includes at least: status information, local device local device role in one or more, local device angle
It is MASTER or SLAVE that color, which is used to indicate local device, and status information is used to indicate whether local device is completed and specified letter
The comparison of breath, configuration parameter include at least: the FlexE overhead parameter of opposite equip.;Processing module is also used to be joined according to configuration
Number establishes the FlexE link with opposite equip..
Optionally, processing module, specifically for determining there are entry, and when status information is to be compared, if local terminal is set
Standby role is SLAVE, and the received opposite equip. role of receiving module is MASTER, it is determined that configuration parameter is opposite equip.
FlexE overhead parameter.
Optionally, processing module, specifically for determining there are entry, and when status information is to be compared, if local terminal is set
Standby role is MASTER, and the received opposite equip. role of receiving module is SLAVE, then differentiates that the FlexE of local device is opened
It is whether identical as the FlexE overhead parameter of the received opposite equip. of receiving module to sell parameter;Processing module is specifically used for determining this
When the FlexE overhead parameter of end equipment is identical as the FlexE overhead parameter of the received opposite equip. of receiving module, pass through FlexE
Link and opposite equip. carry out data interaction;Processing module, specifically for determining the FlexE overhead parameter of local device and receiving
When the FlexE overhead parameter of the received opposite equip. of module is not identical, specify information is abandoned.
Optionally, specify information further include: the random number of opposite equip.;Entry further include: the random number of local device;Place
Module is managed, specifically for determining there are entry, and when status information is to be compared, if local device role connects with receiving module
The opposite equip. role of receipts is identical, differentiates the size relation of the random number of local device and the random number of opposite equip.;Handle mould
Block when specifically for determining that the random number of local device is less than the random number of opposite equip., determines that configuration parameter is opposite equip.
FlexE overhead parameter;Processing module, specifically for determining that the random number of local device is greater than or equal to the random of opposite equip.
When number, whether the FlexE overhead parameter of the FlexE overhead parameter and opposite equip. that differentiate local device is identical;Processing module, tool
Body is for passing through FlexE chain when determining that the FlexE overhead parameter of local device is identical as the FlexE overhead parameter of opposite equip.
Road and opposite equip. carry out data interaction.
Optionally, processing module, specifically for determining that there are entries, and status information is when being completed to compare, to pass through
FlexE link and opposite equip. carry out data interaction.
Optionally, processing module is also used to determine that there is no when entry, determine that configuration parameter is that receiving module is received right
The FlexE overhead parameter of end equipment.
The third aspect, the embodiment of the present invention provide a kind of Flex-Ethernet equipment, comprising: as second aspect provides
Any one FlexE link configuration device.
Fourth aspect, the embodiment of the present invention provide a kind of computer storage medium, including instruction, when its on computers
When operation, so that computer executes the configuration method such as the described in any item FlexE links of above-mentioned first aspect.
5th aspect, the embodiment of the present invention provide a kind of configuration device of FlexE link, comprising: communication interface, processing
Device, memory, bus;For storing computer executed instructions, processor is connect with memory by bus memory, when
When the configuration device operation of FlexE link, processor executes the computer executed instructions of memory storage, so that FlexE link
Configuration device execute as the described in any item FlexE links of above-mentioned first aspect configuration method.
It is to be appreciated that the configuration device of any FlexE link of above-mentioned offer is used to execute presented above the
On the one hand corresponding method, therefore, attainable beneficial effect can refer to first aspect above method and lower stationery
The beneficial effect of corresponding scheme in body embodiment, details are not described herein again.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of one of the flow diagram of configuration method for FlexE link that the embodiment of the present invention provides;
Fig. 2 is the two of the flow diagram of the configuration method for a kind of FlexE link that the embodiment of the present invention provides;
Fig. 3-a is the three of the flow diagram of the configuration method for a kind of FlexE link that the embodiment of the present invention provides;
Fig. 3-b is the four of the flow diagram of the configuration method for a kind of FlexE link that the embodiment of the present invention provides;
Fig. 4-a is the five of the flow diagram of the configuration method for a kind of FlexE link that the embodiment of the present invention provides;
Fig. 4-b is the six of the flow diagram of the configuration method for a kind of FlexE link that the embodiment of the present invention provides;
Fig. 5 is the seven of the flow diagram of the configuration method for a kind of FlexE link that the embodiment of the present invention provides;
Fig. 6 is the eight of the flow diagram of the configuration method for a kind of FlexE link that the embodiment of the present invention provides;
Fig. 7 is the nine of the flow diagram of the configuration method for a kind of FlexE link that the embodiment of the present invention provides;
Fig. 8 is the ten of the flow diagram of the configuration method for a kind of FlexE link that the embodiment of the present invention provides;
Fig. 9 is the structural schematic diagram of FlexE overhead parameter in the prior art;
Figure 10 is a kind of knot of the FlexE overhead parameter of the configuration method for FlexE link that the embodiment of the present invention provides
Structure schematic diagram;
Figure 11 is a kind of structural schematic diagram for FlexE link that the embodiment of the present invention provides;
Figure 12 is a kind of one of the structural schematic diagram of configuration device for FlexE link that the embodiment of the present invention provides;
Figure 13 is a kind of second structural representation of the configuration device for FlexE link that the embodiment of the present invention provides.
Appended drawing reference:
The configuration device -10 of FlexE link;
Receiving module -101;Processing module -102.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
For the ease of clearly describing the technical solution of the embodiment of the present invention, in an embodiment of the present invention, use " the
One ", the printed words such as " second " distinguish function and the essentially identical identical entry of effect or similar item, and those skilled in the art can
To understand that the printed words such as " first ", " second " are not to be defined to quantity and execution order.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This
Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing
Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport
Related notion is being presented in specific ways.
In the description of the embodiment of the present invention, unless otherwise indicated, the meaning of " plurality " is refer to two or more.Example
Such as, multiple networks refer to two or more networks.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes
System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Symbol herein
Number "/" indicates that affiliated partner is that relationship such as A/B perhaps indicates A or B.
This method relates to a new FlexE expense format, is to meet 2.0 institute of OIF FlexE as shown in Figure 10
On the basis of defined FlexE expense (such as Fig. 9), part reserved field is defined.
FlexE expense format according to the present invention, is modified by the 17th~25 bit to the 2nd block,
Defining the 17th~24 bit D bit is that equipment generates number at random, and the 25th bit RLE bit of definition is device role
Number, use 0 indicate main control end MASTER, and use 1 is indicated from control end SLAVE.
A kind of equipment FlexE information database (as shown in table 1) according to the present invention.Corresponding every physical link has
One data library entry, content includes: D bit, RLE bit and status information.The meaning of D bit and RLE bit
Referring to FlexE expense, concrete implementation mode is as follows:
Embodiment one
The embodiment of the present invention provides a kind of configuration method of FlexE link, includes: as shown in Figure 1
S101, local device receive specify information from opposite equip.;Wherein, specify information includes at least: opposite equip.
One or more in FlexE overhead parameter, opposite equip. role, opposite equip. role are used to indicate opposite equip. and are
MASTER or SLAVE.
It should be noted that in actual application, due to including at least one object between local device and opposite equip.
Link is managed, and when configuring FlexE link, it is necessary first to determine whether the FlexE overhead parameter at both ends is identical, if different
FlexE link cannot be established;It is thus necessary to determine that establish the local device of FlexE both link ends local device role and with
The opposite equip. role and random number of machine number and opposite equip.;Specifically, local device and opposite equip. are established in request
Corresponding equipment local device role and random number can be generated before FlexE link.
Specifically, specify information is also referred to as FlexE flow;Illustratively, opposite equip. is when sending FlexE flow,
Include the following steps: as shown in Figure 8
When step 1, opposite equip. need to carry out FlexE flow transmission, entry is checked for (in actual application
In, which is generally held in the opposite equip. role library of opposite equip.).
Step 2, if so, and status information be it is to be compared when (show that opposite equip. once issued FlexE flow, from
Local device receives FlexE flow (this process needs the regular hour), carries out FlexE flow comparison of coherence;Wherein,
FlexE flow comparison of coherence includes: the consistency for comparing FlexE group, FlexE map, FlexE instance.
Step 3 (shows opposite equip. then if not to send FlexE flow for the first time), generates random number and opposite equip.
Role.
Specifically, showing opposite equip. if the entry is not present in equipment information database to send FlexE for the first time
Flow is filled on the D bit in Figure 10 to generate a 8bit random number by a random number generator;Pass through
The role of this equipment is recognized in the FlexE instruction received, is MASTER or SLAVE, is then filled with RLE bit in Figure 10
On position.
If status information is " be completed and compare " in step 4, equipment information database, show that FlexE flow is completed
Comparison of coherence is sent into step 7 then with 0 filling D bit, and with 0 filling RLE bit.
Step 5 will be added in equipment information database about the random number of this link and opposite equip. role, and to this
One entry flag state information is " to be compared ".
Step 6, other fields in FlexE overhead processor filling FlexE expense.
Step 7 completes FlexE flow assembling process, is sent to local device.
Local device is needed to proceed as follows, be specifically included after receiving FlexE flow:
The FlexE flow received is loaded into FlexE flow loader by local device, is therefrom parsed corresponding
FlexE overhead。
The FlexE overhead parsed is packed into FlexE overhead loader by local device, extracts D ratio
Special position and RLE bit.
S102, local device determine that (in actual application, which is generally held in pair of opposite equip. there are entry
In end equipment role library) when, according to local device role and opposite equip. role, determine configuration parameter;Wherein, entry is at least wrapped
Include: status information, local device local device role in one or more, local device role is used to indicate local terminal and sets
Standby is MASTER or SLAVE, and status information is used to indicate whether local device completes the configuration parameter compared with specify information
It includes at least: the FlexE overhead parameter of opposite equip..
Specifically, the format of entry is as shown in table 1, in actual application, if the status information of the entry be " to than
Compared with ", then enter device role processor, RLE bit is compared.
If pair that the RLE bit of local device role and opposite equip. that the RLE bit of local device indicates indicate
End equipment role is MASTER, then further compares the random number of the D bit expression of local device and the D ratio of opposite equip.
The size for the random number that special position indicates.
If the local device role that the RLE bit of local device indicates is MASTER, the RLE bit table of opposite equip.
The random number that the opposite equip. role shown is SLAVE or the D bit of local device indicates is greater than the D bit of opposite equip.
When the random number of expression, FlexE flow comparison of coherence is carried out.
If it is determined that the local device role that the RLE bit of the entry or local device does not indicate is SLAVE, opposite end
The opposite equip. role that the RLE bit of equipment indicates is MASTER, determines that the FlexE expense that configuration parameter is opposite equip. is joined
Number;Specifically, FlexE overhead parameter includes: FlexE group, FlexE map, FlexE instance and FlexE
Calendar corresponding to map and FlexE instance (client calendar A and client calendar B);And
It is completed and the foundation of the FlexE link of opposite equip., the distribution of time slot according to the FlexE overhead parameter.
If when the FlexE flow of local device and the FlexE flow of opposite equip. inconsistent, directly abandoning should
FlexE flow。
If the FlexE flow of local device is consistent with the FlexE flow of opposite equip., in opposite equip. character data
The entry of respective links is generated in library, and flag state information is " be completed and compare ".
Other fields are handled in FlexE overhead processor, and receive data information, are carried out for upper layer
Processing.
It should be noted that in actual application, local device is determined there are when entry, according to local device role with
Opposite equip. role determines that the implementation of configuration parameter is as follows:
Optionally, local device as shown in Figure 2 and Figure 7 is determined there are when entry, is set according to local device role with opposite end
Standby role, determines configuration parameter, comprising:
S1020, local device determine there are entry, and when status information is to be compared, if local device role is
SLAVE, and opposite equip. role is MASTER, it is determined that and configuration parameter is the FlexE overhead parameter of opposite equip..
Optionally, the local device as shown in Fig. 3-a, Fig. 3-b and Fig. 7 is determined there are when entry, according to local device role
With opposite equip. role, configuration parameter is determined, comprising:
S1021, local device determine there are entry, and when status information is to be compared, if local device role is
MASTER, and opposite equip. role is SLAVE, then differentiates the FlexE overhead parameter of local device and the FlexE of opposite equip.
Whether overhead parameter is identical.
S1022, if so, by FlexE link and opposite equip. progress data interaction.
S1023, if it is not, abandon specify information.
Optionally, the specify information as shown in Fig. 4-a, Fig. 4-b and Fig. 7 further include: the random number of opposite equip.;Entry is also wrapped
It includes: the random number of local device;Local device is determined there are when entry, according to local device role and opposite equip. role, really
Determine configuration parameter, comprising:
It should be noted that the length of random number can be set according to practical situation in actual application;Show
Example property, the length of random number is 8bit.
S1024, local device determine there are entry, and when status information is to be compared, if local device role with it is right
End equipment role is identical, and local device differentiates whether the random number of local device is greater than the random number of opposite equip..
S1025, if it is not, determine configuration parameter be opposite equip. FlexE overhead parameter.
S1026, if so, differentiate FlexE overhead parameter and the local device of opposite equip. FlexE overhead parameter whether phase
Together.
S1027, if so, by FlexE link and opposite equip. progress data interaction.
Optionally, local device is determined there are when entry as shown in figure 5 and figure 7, is set according to opposite equip. role with local terminal
Standby role, determines configuration parameter, comprising: local device determines that there are entries, and status information is when being completed to compare, to pass through
FlexE link and opposite equip. carry out data interaction.
Optionally, this method as shown in Figure 6 and Figure 7 further include: local device determines that there is no when entry, determine configuration ginseng
Number is the FlexE overhead parameter of opposite equip..
Illustratively, the present invention passes through processing for FlexE flow in modification FlexE expense format and equipment
Journey increases the definition of device role, when the FlexE information at the both ends FlexE is inconsistent, can realize FlexE information pair automatically
Together, it is established FlexE link, further the configuration of subsequent achievable FlexE client.In addition, can also be achieved accordingly
FlexE link opens the simplification of process, for example, a wherein end equipment is only configured in the terminal device of a FlexE link, it is right
End equipment utilizes the FlexE flow method of reseptance of Fig. 7, can receive other side's configuration automatically, realize the automatic configuration of FlexE, from
And reach the simplification that FlexE link opens process.
Implementation of the invention is specially (following to be merely illustrative one such possible situation):
1, assume had between router A and B by supporting three routers A, B, C of FlexE to form topology as shown in figure 11
One physical link a has a physical link b between router B and C.
2, assume that operation maintenance personnel carries out FlexE configuration to the link between router A, router B and router C, lead to
Configuration script is crossed by the configuration of three equipment while being issued.After configuration distributing, router A for link a generate a 8bit with
Machine number 0,110 0001 (being converted into the decimal system is 97), role definition MASTER;Router B generates a 8bit for link a
Random number 0,110 1000 (being converted into the decimal system is 104), role definition SLAVE;Router B generates one for link b
8bit random number 1,000 1000 (being converted into the decimal system is 136), role definition MASTER;Router C is generated for link b
One 8bit random number 0,001 0110 (being converted into the decimal system is 22), role definition is MASTER.
3, assume that each router is all issued with the transmission process for completing FlexE flow is postponed, below with router receiving
Illustrate for B:
After router B is respectively completed the transmission process of FlexE flow on link a and b, it can exist for this both links
It is as shown in table 1 that two entries are established in equipment information database, and status labeling information is " to be compared ".Receiving router
After the FlexE flow that A is sent, FlexE expense therein and its D bit and RLE bit are parsed, compares RLE bit first
Position, discovery local terminal is SLAVE, after opposite end is MASTER, is established and opposite equip. with the FlexE overhead parameter of opposite equip.
FlexE link;After the FlexE flow for receiving router C transmission, FlexE expense therein and its D and RLE bit are parsed
Position, compares RLE bit first, and discovery is SlAVE, further compares D bit, it is found that the D bit of local terminal is bigger, into
One step carries out FlexE flow comparison of coherence, if unanimously, further comparing the FlexE expense and opposite equip. of local device
FlexE expense it is whether consistent, abandoned if inconsistent.
Link information | D bit | RLE bit | Status information |
Link a | 0110 1000 | SLAVE | It is to be compared |
Link b | 1000 1000 | MASTER | It is completed and compares |
1 equipment information database of table
S103, local device establish the FlexE link with opposite equip. according to configuration parameter.
By above scheme it is found that the configuration method of FlexE link provided in an embodiment of the present invention, when local device is from opposite end
After equipment receives specify information, local device is determined there are when entry, according to the equipment local device role of local device with it is right
The equipment local device role of end equipment, determines configuration parameter;Therefore, it is mutually sent when the terminal device of FlexE link
When FlexE group, FlexE map and FlexE instance inconsistent in FlexE expense, local device can be according to determination
Configuration parameter establish and the FlexE link of opposite equip.;It solves and agreement is implemented based on flexible Ethernet in the prior art
FlexE group, FlexE map and the FlexE in FlexE expense that the terminal device of FlexE link is mutually sent
When instance is inconsistent, the problem of FlexE link can not be established.
Embodiment two
The embodiment of the present invention provides a kind of configuration device 10 of FlexE link, includes: as shown in figure 12
Receiving module 101, for receiving specify information from opposite equip.;Wherein, specify information includes at least: opposite equip.
FlexE overhead parameter, the one or more in opposite equip. role, opposite equip. role is used to indicate opposite equip. and is
MASTER or SLAVE.
Processing module 102 is received right with receiving module 101 according to local device role for determining there are when entry
End equipment role, determines configuration parameter;Wherein, entry includes at least: status information, local device local device role in
One or more, it is MASTER or SLAVE that local device role, which is used to indicate local device, and status information is used to indicate this
Whether end equipment is completed compared with specify information, and configuration parameter includes at least: the FlexE overhead parameter of opposite equip..
Processing module 102 is also used to establish the FlexE link with opposite equip. according to configuration parameter.
Optionally, processing module 102, specifically for determining there are entry, and when status information is to be compared, if local terminal
Device role is SLAVE, and the received opposite equip. role of receiving module 101 is MASTER, it is determined that configuration parameter is pair
The FlexE overhead parameter of end equipment.
Optionally, processing module 102, specifically for determining there are entry, and when status information is to be compared, if local terminal
Device role is MASTER, and the received opposite equip. role of receiving module 101 is SLAVE, then differentiates local device
Whether FlexE overhead parameter is identical as the FlexE overhead parameter of the received opposite equip. of receiving module;Processing module 102, specifically
FlexE overhead parameter for determining local device is identical as the FlexE overhead parameter of the received opposite equip. of receiving module 101
When, data interaction is carried out by FlexE link and opposite equip.;Processing module 102, specifically for determining local device
When the FlexE overhead parameter of FlexE overhead parameter and the received opposite equip. of receiving module 101 is not identical, specify information is abandoned.
Optionally, specify information further include: the random number of opposite equip.;Entry further include: the random number of local device;Place
Module 102 is managed, specifically for determining there are entry, and when status information is to be compared, if local device role and receiving mould
The received opposite equip. role of block 101 is identical, differentiates the size relation of the random number of local device and the random number of opposite equip.;
Processing module 102 determines that configuration parameter is when specifically for determining that the random number of local device is less than the random number of opposite equip.
The FlexE overhead parameter of opposite equip.;Processing module 102, specifically for determine local device random number be greater than or equal to pair
When the random number of end equipment, differentiate the FlexE overhead parameter of local device and opposite equip. FlexE overhead parameter whether phase
Together;Processing module 102, the FlexE overhead parameter phase of FlexE overhead parameter and opposite equip. specifically for determining local device
Meanwhile data interaction is carried out by FlexE link and opposite equip..
Optionally, processing module 102, specifically for determining that there are entries, and status information is when being completed to compare, to lead to
It crosses FlexE link and opposite equip. carries out data interaction.
Optionally, processing module 102 are also used to determine that there is no when entry, determine configuration parameter for receiving module reception
Opposite equip. FlexE overhead parameter.
Wherein, all related contents for each step that above method embodiment is related to can quote corresponding function module
Function description, effect details are not described herein.
Using integrated module, the configuration device of FlexE link include: memory module, processing module with
And receiving module.Processing module is used to carry out control management to the movement of the configuration device of FlexE link, for example, processing module
For supporting the configuration device of FlexE link to execute process S101, S102 and S103 in Fig. 1;Receiving module is for supporting
The configuration device of FlexE link and the information exchange of other equipment.Memory module, for storing the configuration device of FlexE link
Program code and data.
Wherein, using processing module as processor, memory module is memory, and receiving module is for communication interface.Wherein,
The configuration device of FlexE link is referring to Fig.1 shown in 3, including communication interface 501, processor 502, memory 503 and bus
504, communication interface 501, processor 502 are connected by bus 504 with memory 503.
Processor 502 can be a general central processor (Central Processing Unit, CPU), micro process
Device, application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC) or one or more
A integrated circuit executed for controlling application scheme program.
Memory 503 can be read-only memory (Read-Only Memory, ROM) or can store static information and instruction
Other kinds of static storage device, random access memory (Random Access Memory, RAM) or letter can be stored
The other kinds of dynamic memory of breath and instruction, is also possible to Electrically Erasable Programmable Read-Only Memory (Electrically
Erasable Programmable Read-only Memory, EEPROM), CD-ROM (Compact Disc Read-
Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, optical disc, digital universal
Optical disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store to have referring to
Enable or data structure form desired program code and can by any other medium of computer access, but not limited to this.
Memory, which can be, to be individually present, and is connected by bus with processor.Memory can also be integrated with processor.
Wherein, memory 503 is used to store the application code for executing application scheme, and is controlled by processor 502
System executes.Communication interface 501 is used to carry out information exchange, such as the information exchange with remote controler with other equipment.Processor 502
For executing the application code stored in memory 503, to realize method described in the embodiment of the present application.
In addition, a kind of calculating storage media (or medium) is also provided, including carrying out in above-described embodiment when executed
The instruction for the method operation that the configuration device of FlexE link executes.In addition, also providing a kind of computer program product, including upper
State calculating storage media (or medium).
It should be understood that in various embodiments of the present invention, magnitude of the sequence numbers of the above procedures are not meant to execute suitable
Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention
Process constitutes any restriction.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it can be with
It realizes by another way.For example, apparatus embodiments described above are merely indicative, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of equipment or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (full name in English: read-only memory, English letter
Claim: ROM), random access memory (full name in English: random access memory, English abbreviation: RAM), magnetic disk or light
The various media that can store program code such as disk.
It is to be appreciated that the configuration device of any FlexE link of above-mentioned offer is used to execute presented above the
On the one hand corresponding method, therefore, attainable beneficial effect can refer to first aspect above method and lower stationery
The beneficial effect of corresponding scheme in body embodiment, details are not described herein again.
Embodiment three
The embodiment of the present invention provides a kind of Flex-Ethernet equipment, comprising: any one provided such as embodiment two
The configuration device of FlexE link.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (15)
1. a kind of configuration method of FlexE link characterized by comprising
Local device receives specify information from opposite equip.;Wherein, the specify information includes at least: the opposite equip.
One or more in FlexE overhead parameter, opposite equip. role, the opposite equip. role are used to indicate the opposite end and set
Standby is MASTER or SLAVE;
The local device is determined there are when entry, according to local device role and the opposite equip. role, determines configuration ginseng
Number;Wherein, the entry includes at least: status information, the local device local device role in one or more,
It is MASTER or SLAVE that the local device role, which is used to indicate the local device, and the status information is used to indicate institute
State whether local device is completed compared with the specify information, the configuration parameter includes at least: the opposite equip.
FlexE overhead parameter;
The local device establishes the FlexE link with the opposite equip. according to the configuration parameter.
2. the configuration method of FlexE link according to claim 1, which is characterized in that the local device, which determines, to be existed
When entry, according to the local device role and the opposite equip. role, configuration parameter is determined, comprising:
The local device determines that there are the entries, and when the status information is to be compared, if the local device angle
Color is SLAVE, and the opposite equip. role is MASTER, it is determined that the configuration parameter is the opposite equip.
FlexE overhead parameter.
3. the configuration method of FlexE link according to claim 1, which is characterized in that the local device, which determines, to be existed
When entry, according to the local device role and the opposite equip. role, configuration parameter is determined, comprising:
The local device determines that there are the entries, and when the status information is to be compared, if the local device angle
Color is MASTER, and the opposite equip. role is SLAVE, then differentiates FlexE overhead parameter and the institute of the local device
Whether the FlexE overhead parameter for stating opposite equip. is identical;
If so, carrying out data interaction by the FlexE link and the opposite equip.;
If it is not, abandoning the specify information.
4. the configuration method of FlexE link according to claim 1, which is characterized in that the specify information further include: institute
State the random number of opposite equip.;The entry further include: the random number of the local device;
The local device determines that, according to the local device role and the opposite equip. role, determination is matched there are when entry
Set parameter, comprising:
The local device determines that there are the entries, and when the status information is to be compared, if the local device angle
Color is identical as the opposite equip. role, differentiates whether the random number of the local device is greater than the random of the opposite equip.
Number;
If it is not, determining that the configuration parameter is the FlexE overhead parameter of the opposite equip.;
If so, differentiate the FlexE overhead parameter of the opposite equip. and the local device FlexE overhead parameter whether phase
Together;
If so, carrying out data interaction by the FlexE link and the opposite equip..
5. the configuration method of FlexE link according to claim 1, which is characterized in that the local device, which determines, to be existed
When entry, according to the opposite equip. role and the local device role, configuration parameter is determined, comprising:
The local device determines that there are the entries, and the status information is when being completed to compare, to pass through the FlexE
Link and the opposite equip. carry out data interaction.
6. the configuration method of FlexE link according to claim 1, which is characterized in that the method also includes:
The local device determines that there is no when the entry, determine that the configuration parameter is that the FlexE of the opposite equip. is opened
Sell parameter.
7. a kind of configuration device of FlexE link characterized by comprising
Receiving module, for receiving specify information from opposite equip.;Wherein, the specify information includes at least: the opposite end is set
One or more in standby FlexE overhead parameter, opposite equip. role, it is described right that the opposite equip. role is used to indicate
End equipment is MASTER or SLAVE;
Processing module, for determining there are when entry, according to local device role and the received opposite end of the receiving module
Device role determines configuration parameter;Wherein, the entry includes at least: the local device angle of status information, the local device
One or more in color, it is MASTER or SLAVE that the local device role, which is used to indicate the local device, described
Status information is used to indicate whether the local device is completed compared with the specify information, and the configuration parameter is at least wrapped
It includes: the FlexE overhead parameter of the opposite equip.;
The processing module is also used to establish the FlexE link with the opposite equip. according to the configuration parameter.
8. the configuration device of FlexE link according to claim 7, which is characterized in that the processing module is specifically used for
It determines there are the entry, and when the status information is to be compared, if the local device role is SLAVE, and institute
Stating the received opposite equip. role of receiving module is MASTER, it is determined that the configuration parameter is the opposite equip.
FlexE overhead parameter.
9. the configuration device of FlexE link according to claim 7, which is characterized in that the processing module is specifically used for
It determines there are the entry, and when the status information is to be compared, if the local device role is MASTER, and institute
Stating the received opposite equip. role of receiving module is SLAVE, then differentiates FlexE overhead parameter and the institute of the local device
Whether the FlexE overhead parameter for stating the received opposite equip. of receiving module is identical;
The processing module, it is received specifically for the FlexE overhead parameter and the receiving module of the determination local device
When the FlexE overhead parameter of the opposite equip. is identical, data friendship is carried out by the FlexE link and the opposite equip.
Mutually;
The processing module, it is received specifically for the FlexE overhead parameter and the receiving module of the determination local device
When the FlexE overhead parameter of the opposite equip. is not identical, the specify information is abandoned.
10. the configuration device of FlexE link according to claim 7, which is characterized in that the specify information further include:
The random number of the opposite equip.;The entry further include: the random number of the local device;
The processing module, specifically for determining there are the entry, and when the status information is to be compared, if described
End equipment role is identical as the received opposite equip. role of the receiving module, differentiate the random number of the local device with
The size relation of the random number of the opposite equip.;
The processing module, specifically for the determination local device random number be less than the opposite equip. random number when,
Determine that the configuration parameter is the FlexE overhead parameter of the opposite equip.;
The processing module is greater than or equal to the random of the opposite equip. specifically for the random number of the determination local device
When number, whether the FlexE overhead parameter for differentiating the local device is identical as the FlexE overhead parameter of the opposite equip.;
The processing module, the FlexE of FlexE overhead parameter and the opposite equip. specifically for the determination local device
When overhead parameter is identical, data interaction is carried out by the FlexE link and the opposite equip..
11. the configuration device of FlexE link according to claim 7, which is characterized in that the processing module is specific to use
In determination, there are the entries, and the status information is when being completed to compare, to pass through the FlexE link and the opposite end
Equipment carries out data interaction.
12. the configuration device of FlexE link according to claim 7, which is characterized in that the processing module is also used to
Determine that there is no when the entry, determine that the configuration parameter is the FlexE of the received opposite equip. of the receiving module
Overhead parameter.
13. a kind of Flex-Ethernet equipment characterized by comprising such as the described in any item FlexE of claim 7-12
The configuration device of link.
14. a kind of computer storage medium, including instruction, when run on a computer, so that computer is executed as above-mentioned
The configuration method of FlexE link described in any one of claims 1-6.
15. a kind of configuration device of FlexE link, comprising: communication interface, processor, memory, bus;Memory is for depositing
Computer executed instructions are stored up, processor is connect with memory by bus, when the operation of the configuration device of FlexE link, processing
Device executes the computer executed instructions of memory storage, so that the configuration device of FlexE link executes such as the claims 1-6
The configuration method of described in any item FlexE links.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811116607.0A CN109379214B (en) | 2018-09-25 | 2018-09-25 | Configuration method and device of Flexe link |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811116607.0A CN109379214B (en) | 2018-09-25 | 2018-09-25 | Configuration method and device of Flexe link |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109379214A true CN109379214A (en) | 2019-02-22 |
CN109379214B CN109379214B (en) | 2021-07-13 |
Family
ID=65402423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811116607.0A Active CN109379214B (en) | 2018-09-25 | 2018-09-25 | Configuration method and device of Flexe link |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109379214B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022001285A1 (en) * | 2020-07-03 | 2022-01-06 | 华为技术有限公司 | Method and device for automatically configuring flexible ethernet (flexe) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106341207A (en) * | 2015-07-06 | 2017-01-18 | 华为技术有限公司 | Coding block data flow sending and receiving method, device and system |
CN106357421A (en) * | 2015-07-17 | 2017-01-25 | 华为技术有限公司 | Method and device for transmitting flexible business flow of Ethernet |
CN106612220A (en) * | 2015-10-27 | 2017-05-03 | 中兴通讯股份有限公司 | Flexible Ethernet lane management method and apparatus |
CN107204941A (en) * | 2016-03-18 | 2017-09-26 | 中兴通讯股份有限公司 | The method and apparatus that a kind of flexible Ethernet path is set up |
CN107437973A (en) * | 2016-05-25 | 2017-12-05 | 中兴通讯股份有限公司 | Flexible Ethernet expense multi-frame locking means and device, OTN equipment |
US20180123978A1 (en) * | 2015-07-03 | 2018-05-03 | Huawei Technologies Co., Ltd. | Method for Transmitting Data Stream in Flexible Ethernet, Transmitter, and Receiver |
-
2018
- 2018-09-25 CN CN201811116607.0A patent/CN109379214B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180123978A1 (en) * | 2015-07-03 | 2018-05-03 | Huawei Technologies Co., Ltd. | Method for Transmitting Data Stream in Flexible Ethernet, Transmitter, and Receiver |
CN106341207A (en) * | 2015-07-06 | 2017-01-18 | 华为技术有限公司 | Coding block data flow sending and receiving method, device and system |
CN106357421A (en) * | 2015-07-17 | 2017-01-25 | 华为技术有限公司 | Method and device for transmitting flexible business flow of Ethernet |
CN106612220A (en) * | 2015-10-27 | 2017-05-03 | 中兴通讯股份有限公司 | Flexible Ethernet lane management method and apparatus |
CN107204941A (en) * | 2016-03-18 | 2017-09-26 | 中兴通讯股份有限公司 | The method and apparatus that a kind of flexible Ethernet path is set up |
CN107437973A (en) * | 2016-05-25 | 2017-12-05 | 中兴通讯股份有限公司 | Flexible Ethernet expense multi-frame locking means and device, OTN equipment |
Non-Patent Citations (1)
Title |
---|
OIF: "Flex Ethernet 2.0 Implementation Agreement:IA#OIF-FLEXE-02.0", 《 OPTICAL INTERNETWORKING FORUM》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022001285A1 (en) * | 2020-07-03 | 2022-01-06 | 华为技术有限公司 | Method and device for automatically configuring flexible ethernet (flexe) |
Also Published As
Publication number | Publication date |
---|---|
CN109379214B (en) | 2021-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104734931B (en) | Link establishing method and device between a kind of virtual network function | |
US9686146B2 (en) | Reconfiguring interrelationships between components of virtual computing networks | |
JP5459800B2 (en) | Method for initializing server clusters, data media and corresponding server clusters and generating management database operation requests | |
CN103608797B (en) | Data transmission system and network transposition box | |
US20180131634A1 (en) | Logical switches | |
CN103368769B (en) | For improving the compatible method and apparatus between network equipment | |
CN107005480A (en) | The system and method cooperated for SDT and NFV and SDN | |
CN106375176A (en) | Method for accessing physical machine to cloud platform | |
CN109639455A (en) | A kind of network management and system of container cloud platform | |
CN108566445A (en) | A kind of message transmitting method and device | |
CN105324758B (en) | Enable the PCIE virtualization of encapsulation | |
CN103299287A (en) | Transpose box based network scaling | |
CN111182037B (en) | Mapping method and device of virtual network | |
WO2012040237A1 (en) | Transpose boxes for network interconnection | |
CN107959582A (en) | A kind of management method and device of example of cutting into slices | |
CN109088820A (en) | A kind of striding equipment link aggregation method, device, computing device and storage medium | |
CN106471780B (en) | The method, system and logic of link-local are configured based on remote link partner | |
CN108809794A (en) | Transmission net virtual network creation method and device based on SDN and transmission network system | |
CN107003860A (en) | A kind of software defined network controller and its creation method | |
CN108432189A (en) | Load balance on multiple endpoint of a tunnel | |
CN103533068B (en) | IP-based Task Autonomous equilibrium assignment group system | |
WO2015078497A1 (en) | Method and controller for clustering applications in a software-defined network | |
CN106886497A (en) | The storage system and its computer implemented method of remote zone management | |
CN110233767A (en) | Service configuration method, system, device and the readable storage medium storing program for executing of distributed type assemblies | |
CN113055232A (en) | Network configuration deployment method, device and equipment |
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 |