Background
Flexible Ethernet (FlexE for short) is an improved network based on Ethernet. The flexible Ethernet technology supports the technology of multi-path flexible rate Flexe client MAC by binding one or more paths of Ethernet interfaces defined by the IEEE802.3 standard and carrying out channelization processing by taking a 66b coding block as a basic unit on the basis of the Ethernet interfaces.
Alignment of the signal for each FlexE instance in a FlexE group is achieved by inserting a FlexE overhead block into the encoded stream carried in the group 66 b. The FlexE overhead consists of a 66b block, which occurs approximately every 13.1 microseconds for a 100G FlexE instance. The actual format of the FlexE overhead blocks repeats as 8 consecutive blocks, so the period of consecutive blocks is about 104.77 microseconds.
The Flexe overhead comprises two selectable management channels, one management channel is used for segment-layer management information transmission, two 66b blocks (blocks 4-5) of each Flexe overhead frame are occupied, and the bandwidth capacity is about 1.222 Mb/s; the other management channel is used for transmitting the management information of the Flexe cushion layer, occupies three 66b blocks (blocks 6-8, and a synchronous message transmission channel is not configured) of a Flexe overhead frame, and has the bandwidth capacity of about 1.833 Mb/s.
The nodes of the newly-built network equipment are connected only through a flexible Ethernet interface, and when the time slot mapping configuration of a Flexe Group and a Flexe Client is not performed, a management channel contained in the Flexe overhead frame needs to be used for transmitting the management signaling. Due to the fact that the bandwidth of the management channel is limited (1.222Mb/s and 1.833Mb/s), the management channel cannot cope with high bandwidth occupation scenes such as management signaling data traffic burst and equipment software upgrading, and becomes a bottleneck of node management of newly-built equipment of a communication network.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a method and a system for establishing a flexible Ethernet management channel, which meet the requirement of high bandwidth occupation of management signaling.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows: a flexible Ethernet management channel establishing method comprises the following steps:
when all Flexe examples contained in a sending end of a current network node are judged not to bear effective Client service streams, a plurality of time slots of one Flexe example are selected to bear Flexe Client data streams, and multiplexing configuration of the time slots and Flexe overhead configuration are completed;
the demultiplexing configuration of the corresponding working time slot of the Flexe Shim layer is completed at a receiving end according to the time slot information in the Flexe overhead, and a high bandwidth management channel is established;
when the link cost value of the high bandwidth management channel is smaller than the link cost value of the management channel configured by the user, switching to the high bandwidth management channel to transmit a management signaling; and when the link overhead value of the high-bandwidth management channel is greater than the link overhead value of the management channel configured by the user, switching to the management channel configured by the user to transmit the management signaling.
On the basis of the scheme, the method further comprises the following steps: for the network node connected with the current network node, the same Flexe instance and the same time slot as the current network node are selected at the sending end and the receiving end of the network node, are used for bearing a Flexe Client data stream, carry out multiplexing configuration and overhead configuration, and establish a bidirectional high-bandwidth management channel.
On the basis of the above scheme, the specific determination criteria for determining that all FlexE instances included at the sending end of the current network node do not carry an effective client service stream are as follows: the value of each field corresponding to the Calendar A/B table corresponding to all time slots of all Flexe examples contained in the sending end of the current network node is 0.
On the basis of the above scheme, when the link cost value of the high bandwidth management channel is smaller than the link cost value of the management channel configured by the user, switching to the high bandwidth management channel to transmit the management signaling, specifically including the following steps:
the time slot bound by the first Flexe Client configured by the user is different from the time slot bound by the Flexe Client corresponding to the high-bandwidth management channel without intersection, and the union of the two is used as intermediate configuration;
the time slot bound by the first Flexe Client configured by the user is different from the time slot bound by the Flexe Client corresponding to the high-bandwidth management channel and has an intersection, the two sets are taken as middle configuration, and the time slot intersection part is used for acquiring the time slot bound by the Flexe Client corresponding to the high-bandwidth management channel;
the time slot bound by the first Flexe Client configured by the user is the same as the time slot bound by the Flexe Client corresponding to the high-bandwidth management channel, or the time slot bound by the first Flexe Client is completely contained in the second Flexe Client, the Flexe Client configured by the user is changed to occupy other idle time slots, and the first Flexe Client and the second Flexe Client are combined to be used as intermediate configuration;
and configuring the current non-working table in the Calendar A/B table as intermediate configuration, initiating a switching request, and completing intermediate configuration negotiation and switching.
On the basis of the above scheme, when the link cost value of the high bandwidth management channel is greater than the link cost value of the management channel configured by the user, switching to the management channel configured by the user for transmission, specifically including the following steps:
configuring the current non-working table in the Calendar A/B table as user configuration, initiating a switching request, completing user configuration negotiation and switching, deleting the high-bandwidth management channel, and releasing the time slot resources occupied by the high-bandwidth management channel.
On the basis of the scheme, the method further comprises the following steps: when the effective customer service flow part is deleted, the management signaling is switched to the undeleted management channel configured by other users for transmission; and when all the effective client service flows are deleted, the high-bandwidth management channel is created again, and the management signaling is switched to the high-bandwidth management channel for transmission.
On the basis of the above scheme, when the effective customer service flow part is deleted, the management signaling is switched to the undeleted management channel configured by other users for transmission, which specifically includes the following steps:
when a Flexe Client which occupies a time slot corresponding to a Flexe PHY and is configured by a user needs to be partially deleted, changing the link overhead value of a management channel related to the Flexe Client to be deleted to be maximum, and executing a Flexe Client deletion process after switching a management signaling to a non-deleted management channel configured by other users for transmission;
and changing the Flexe Client number corresponding to a plurality of time slots of the current non-working table in the Calendar A/B table into an effective value, initiating a switching request, and performing configuration negotiation and switching.
On the basis of the above scheme, when all the effective client service flows are deleted, the high bandwidth management channel is created again and the management signaling is switched to the high bandwidth management channel for transmission, which specifically includes the following steps:
when all Flexe clients occupying time slots corresponding to a Flexe PHY configured by a user are deleted, if the last deleted Flexe Client does not occupy all time slots of the Flexe PHY, selecting the unoccupied time slots for bearing a Flexe Client data stream, changing the serial number of the corresponding Client into an effective value, and taking a collection of the Flexe clients occupying the time slots corresponding to the Flexe PHY configured by the user to be deleted as intermediate configuration;
if the last deleted Flexe Client occupies all time slots of a Flexe PHY, selecting part of the time slots for bearing a Flexe Client data stream, and changing the corresponding Client number into other effective values to be used as intermediate configuration;
and configuring the current non-working table in the Calendar A/B table as intermediate configuration, initiating a switching request, and performing intermediate configuration negotiation and switching.
The invention also provides a flexible Ethernet management channel establishing system, which comprises the following steps:
a timeslot assignment module to: when all Flexe instances contained in a sending end of a current network node are judged not to bear effective customer service streams, selecting the Flexe instances and the same time slots which are the same as those of the current network node and are used for bearing Flexe Client data streams, and carrying out multiplexing configuration and Flexe overhead configuration of the time slots;
a channel establishment module to: the demultiplexing configuration of the corresponding working time slot of the Flexe Shim layer is completed at a receiving end according to the time slot information in the Flexe overhead, and a high bandwidth management channel is established;
a channel management module to: when the link overhead value of the high bandwidth management channel is smaller than the link overhead value of the management channel configured by the user, switching to the high bandwidth management channel to transmit a management signaling; and when the link overhead value of the high-bandwidth management channel is greater than the link overhead value of the management channel configured by the user, switching to the management channel configured by the user for transmission.
On the basis of the above scheme, the timeslot allocating module is further configured to: when judging that all Flexe examples contained in a sending end of a network node connected with the current network node do not bear effective customer service streams, selecting a plurality of time slots of one Flexe example for bearing Flexe Client data streams, and carrying out multiplexing configuration of the time slots and Flexe overhead configuration;
the channel establishing module is further configured to: and at a network node receiving end connected with the current network node, according to the time slot information in the Flexe overhead, completing the demultiplexing configuration of the corresponding working time slot of the Flexe Shim layer, and establishing a high-bandwidth management channel.
On the basis of the above scheme, the timeslot allocation module determines that all FlexE instances included at the sending end of the current network node do not carry an effective client service stream, and the specific determination criteria are as follows: and the value of each field corresponding to the Calendar A/B table corresponding to all time slots of all Flexe examples contained in the sending end of the current network node is 0.
On the basis of the above scheme, when the link cost value of the high bandwidth management channel is smaller than the link cost value of the management channel configured by the user, the channel management module switches to the high bandwidth management channel to transmit the management signaling, specifically including the following steps:
the time slot bound by the first Flexe Client configured by the user is different from the time slot bound by the Flexe Client corresponding to the high-bandwidth management channel without intersection, and the union of the two is used as intermediate configuration;
the time slot bound by the first Flexe Client configured by the user is different from the time slot bound by the Flexe Client corresponding to the high-bandwidth management channel and has an intersection, the two sets are taken as middle configuration, and the time slot intersection part is used for acquiring the time slot bound by the Flexe Client corresponding to the high-bandwidth management channel;
the time slot bound by the first Flexe Client configured by the user is the same as the time slot bound by the Flexe Client corresponding to the high-bandwidth management channel, or the time slot bound by the first Flexe Client is completely contained in the second Flexe Client, the Flexe Client configured by the user is changed to occupy other idle time slots, and the first Flexe Client and the second Flexe Client are combined to be used as intermediate configuration;
and configuring the current non-working table in the Calendar A/B table as intermediate configuration, initiating a switching request, and completing intermediate configuration negotiation and switching.
On the basis of the above scheme, when the link cost value of the high bandwidth management channel is greater than the link cost value of the management channel configured by the user, the channel management module switches to the management channel configured by the user for transmission, and specifically includes the following steps:
configuring the current non-working table in the Calendar A/B table as user configuration, initiating a switching request, completing user configuration negotiation and switching, deleting the high-bandwidth management channel, and releasing the time slot resources occupied by the high-bandwidth management channel.
On the basis of the above scheme, the channel management module is further configured to: when the effective customer service flow part is deleted, the management signaling is switched to the undeleted management channel configured by other users for transmission; when all the effective customer service flows are deleted, the high-bandwidth management channel is created again and the management signaling is switched to the high-bandwidth management channel for transmission.
On the basis of the above scheme, when the effective customer service flow is partially deleted, the channel management module switches the management signaling to the undeleted management channel configured by other users for transmission, and specifically includes the following steps:
when a Flexe Client which occupies a time slot corresponding to a Flexe PHY and is configured by a user needs to be partially deleted, changing the link overhead value of a management channel related to the Flexe Client to be deleted to be maximum, and executing a Flexe Client deletion process after switching a management signaling to a non-deleted management channel configured by other users for transmission;
and changing the Flexe Client number corresponding to a plurality of time slots of the current non-working table in the Calendar A/B table into an effective value, initiating a switching request, and performing configuration negotiation and switching.
On the basis of the above scheme, when all the valid client service streams are deleted, the channel management module re-creates a high bandwidth management channel and switches the management signaling to the high bandwidth management channel for transmission, specifically including the following steps:
when all Flexe clients occupying time slots corresponding to a Flexe PHY configured by a user are deleted, if the last deleted Flexe Client does not occupy all time slots of the Flexe PHY, selecting the unoccupied time slots for bearing a Flexe Client data stream, changing the serial number of the corresponding Client into an effective value, and taking a collection of the Flexe clients occupying the time slots corresponding to the Flexe PHY configured by the user to be deleted as intermediate configuration;
if the last deleted Flexe Client occupies all time slots of a Flexe PHY, selecting part of the time slots for bearing a Flexe Client data stream, and changing the corresponding Client number into other effective values to be used as intermediate configuration;
and configuring the current non-working table in the Calendar A/B table as intermediate configuration, initiating a switching request, and performing intermediate configuration negotiation and switching.
Compared with the prior art, the invention has the advantages that:
the invention combines the configuration negotiation mechanism provided by the Flexe overhead by judging whether the Flexe PHY bears the effective client service flow or not: when the effective service flow is not carried, a high bandwidth management channel is established and the management signaling is switched to the high bandwidth management channel for transmission; when bearing effective customer service flow, the management signaling is switched to the management channel configured by the user for transmission, and the high bandwidth management channel is deleted. Meanwhile, before the effective customer service flow is partially or completely deleted, the management signaling is switched to a non-deleted management channel configured by other users or an established high-bandwidth management channel for transmission; when all the effective customer service flows are deleted, the high-bandwidth management channel is created again, and the management signaling is switched to the high-bandwidth management channel for transmission, so that the requirement of high-bandwidth occupation of the management signaling is met.
By adopting the technical scheme provided by the invention, the establishment and deletion of the high-bandwidth management channel and the switching of the management signaling channel can be automatically completed among the network nodes, and the channel where the management signaling is located is ensured to be lossless, thereby meeting the requirement of high-bandwidth occupation of the management signaling. The problem that the newly-built equipment node of the communication network cannot cope with high bandwidth occupation such as management signaling data flow burst, equipment software upgrading and the like due to the limitation of the bandwidth of a management channel provided by the Flexe overhead is solved.
Detailed Description
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
The technical scheme provided by the embodiment of the invention can be applied to the Flexe network architecture shown in figure 1. The flexible ethernet network comprises at least two network devices (a first network node and a second network node) connected by at least one flexible ethernet interface. The network device (e.g., the first network node, the second network node, etc.) is a device having a data transceiving function in the flexible ethernet, such as a router, a switch, etc. supporting the flexible ethernet function. The first network node and the second network node have at least one ethernet physical link therebetween.
FIG. 2 is a diagram illustrating a Flexe overhead frame structure, where the Flexe overhead includes two selectable management channels, one management channel is used for segment-layer management information transfer, occupies two 66b blocks (blocks 4-5) of each Flexe overhead frame, and has a bandwidth capacity of about 1.222 Mb/s; the other management channel is used for transmitting the management information of the Flexe cushion layer, occupies three 66b blocks (blocks 6-8, and a synchronous message transmission channel is not configured) of a Flexe overhead frame, and has the bandwidth capacity of about 1.833 Mb/s. Due to the limitation of bandwidth of a management channel provided by Flexe overhead, a newly-built device node of the communication network cannot cope with high bandwidth occupation scenes such as management/control signaling data traffic burst, device software upgrading and the like.
Referring to fig. 3, a method for establishing a flexible ethernet management channel according to an embodiment of the present invention includes the following steps:
s1, when judging that all Flexe examples contained in the sending end of the current network node do not bear the effective customer service flow, selecting a plurality of time slots of one Flexe example for bearing a Flexe Client data flow, changing the Client number corresponding to the time slots in the current working table of the Calendar A/B table into an effective value, and completing the multiplexing configuration of the time slots and the Flexe overhead configuration;
s2, at the receiving end, according to the time slot information in the Flexe overhead, the demultiplexing configuration of the corresponding working time slot of the Flexe Shim layer is completed, and a high bandwidth management channel is established;
s3, when the link cost value of the high bandwidth management channel is smaller than the link cost value of the management channel configured by the user, switching to the high bandwidth management channel to transmit the management signaling; and when the link overhead value of the high-bandwidth management channel is greater than the link overhead value of the management channel configured by the user, switching to the management channel configured by the user for transmission.
Preferably, the method further comprises the steps of: for the network node connected with the current network node, the same Flexe instance and the same time slot as the current network node are selected at the sending end and the receiving end of the network node, are used for bearing a Flexe Client data stream, carry out multiplexing configuration and overhead configuration, and establish a bidirectional high-bandwidth management channel.
Preferably, it is determined that all FlexE instances contained in the FlexE PHY do not carry valid customer service flow criteria: the value of each field corresponding to the Calendar A/B table corresponding to the time slot is 0. The standard for judging that the FlexE instance carries the effective client service flow is as follows: and the value of each field corresponding to the Calendar A/B table is an effective value specified by a standard and ranges from 1 xFFFE to 0 xFFFE. If all FlexE instances of the FlexE PHY do not carry valid client traffic, the FlexE PHY transmit direction is only available for the low bandwidth overhead management channel.
As shown in table 1, each time slot of the Client callback in the overhead frame sent by each FlexE instance included in the FlexE PHY does not carry an effective Client service stream, and the values of the Client callback fields corresponding to the time slots are all 0;
TABLE 1Client Call null configuration
Slot
| CalendarA
|
CalendarB |
|
0
|
0
|
0
|
1
|
0
|
0
|
2
|
0
|
0
|
…
|
…
|
…
|
17
|
0
|
0
|
18
|
0
|
0
|
19
|
0
|
0 |
The scene not carrying the effective customer service flow also includes a condition that a Client callback field corresponding to the time slot takes a value of 0xFFFF, i.e., the time slot is unavailable.
Preferably, a plurality of time slots of one Flexe instance in the Flexe PHY are selected to be used for bearing Flexe Client data streams, the Client number corresponding to the time slots in the current working table is changed into an effective value, and multiplexing and overhead configuration are completed; and the receiving end completes the demultiplexing configuration of the corresponding working Calendar of the Flexe Shim layer according to the Client Calendar information in the overhead, and establishes a one-way management channel.
As shown in table 2, the last time slot of the last FlexE instance of the FlexE PHY is selected to be used for carrying a FlexE Client data stream, the Client number corresponding to the time slot in the calenar a is changed to 0xFFFE, and multiplexing and overhead configuration are completed; and the receiving end completes the demultiplexing configuration of the non-working Calendar corresponding to the Flexe Shim layer according to the Client Calendar information in the overhead, and establishes a one-way management channel.
TABLE 2 Client Calendar initial configuration
Slot
| CalendarA
|
CalendarB |
|
0
|
0
|
0
|
1
|
0
|
0
|
2
|
0
|
0
|
…
|
…
|
…
|
17
|
0
|
0
|
18
|
0
|
0
|
19
|
0xFFFE
|
0 |
The method of selecting the last time slot of the last example of the FlexE PHY and changing the Client number corresponding to the time slot in the calenar a to 0xFFFE is a preferred scheme for avoiding intersection with subsequent user configurations as much as possible, and other legal configurations may also be adopted in practical implementation, which is not limited herein in the embodiments of the present invention.
Preferably, when the link cost value of the high bandwidth management channel is smaller than the link cost value of the management channel configured by the user, switching to the high bandwidth management channel to transmit the management signaling includes the following steps:
the time slot bound by the first Flexe Client configured by the user is different from the time slot bound by the Flexe Client corresponding to the high-bandwidth management channel without intersection, and the union of the two is used as intermediate configuration;
the time slot bound by the first Flexe Client configured by the user is different from the time slot bound by the Flexe Client corresponding to the high-bandwidth management channel and has an intersection, the two sets are taken as middle configuration, and the time slot intersection part is used for acquiring the time slot bound by the Flexe C content corresponding to the high-bandwidth management channel;
the time slot bound by the first Flexe Client configured by the user is the same as the time slot bound by the Flexe Client corresponding to the high-bandwidth management channel, or the time slot bound by the first Flexe Client is completely contained in the second Flexe Client, the Flexe Client configured by the user is changed to occupy other idle time slots, and the first Flexe Client and the second Flexe Client are combined to be used as intermediate configuration;
and configuring the current non-working table in the Calendar A/B table as intermediate configuration, initiating a switching request, and completing intermediate configuration negotiation and switching.
As shown in tables 3, 4, and 5, the user configuration creates a FlexE Client and occupies a corresponding time slot of a FlexE PHY, and the relationship between the first time slot bound by the FlexE Client configured by the user and the time slot bound by the FlexE Client configured by the method is divided into 3 cases: different and the former comprises the latter, in whole or in part; different and without intersection; the same, or the latter all include the former.
Table 3 Client caller user configuration 1
Slot
| Calendar |
|
0
|
0
|
1
|
0
|
2
|
0
|
…
|
…
|
16
|
0
|
17
|
1
|
18
|
1
|
19
|
1 |
Table 4 Client caller user configuration 2
Slot
| Calendar |
|
0
|
1
|
1
|
1
|
2
|
0
|
…
|
…
|
17
|
0
|
18
|
0
|
19
|
0 |
Table 5 Client caller user configuration 3
Slot
| Calendar |
|
0
|
0
|
1
|
0
|
2
|
0
|
…
|
…
|
17
|
0
|
18
|
0
|
19
|
1 |
Because the management channel established by the method in the embodiment of the present invention only occupies 1 timeslot, there is no scenario in which the former partially includes the latter or the latter entirely includes the former, and there may be a corresponding scenario in actual implementation.
As shown in table 6, the union of the user configuration and the method configuration is used as the intermediate configuration, the time slot intersection part takes the method configuration, i.e., the Client numbers of the time slots 17 and 18 take the value of 1, and the Client number of the time slot 19 takes the value of 0 xFFFE; the current non-working table in the Calendar A/B table, namely the B table, is configured to be in an intermediate configuration.
Table 6 Client calenar intermediate configuration 1
Slot
| CalendarA
|
CalendarB |
|
0
|
0
|
0
|
1
|
0
|
0
|
2
|
0
|
0
|
…
|
…
|
…
|
16
|
0
|
0
|
17
|
0
|
1
|
18
|
0
|
1
|
19
|
0xFFFE
|
0xFFFE |
As shown in table 7, the aggregation of the user configuration and the method configuration is used as an intermediate configuration, that is, the Client numbers of the time slots 1 and 2 take the value of 1, and the Client number of the time slot 19 takes the value of 0 xFFFE; the current non-working table in the Calendara/B table, namely the B table, is configured to be in an intermediate configuration.
TABLE 7 Client Calendar middle configuration 2
Preferably, when the link cost value of the high bandwidth management channel is greater than the link cost value of the management channel configured by the user, switching to the management channel configured by the user for transmission includes the following steps:
configuring the current non-working table in the Calendar A/B table as user configuration, initiating a switching request, completing user configuration negotiation and switching, deleting the high-bandwidth management channel, and releasing the time slot resources occupied by the high-bandwidth management channel.
Preferably, the method further comprises the steps of: when the effective customer service flow part is deleted, the management signaling is switched to the undeleted management channel configured by other users for transmission; and when all the effective client service flows are deleted, the high-bandwidth management channel is created again and the management signaling is switched to the high-bandwidth management channel for transmission.
Preferably, when part of the active customer service flow is deleted, the management signaling is switched to an undeleted management channel configured by another user for transmission, which specifically includes the following steps:
when a Flexe Client which occupies a time slot corresponding to a Flexe PHY and is configured by a user needs to be partially deleted, changing the link overhead value of a management channel related to the Flexe Client to be deleted to be maximum, and executing a Flex xE Client deletion process after switching a management signaling to a non-deleted management channel configured by other users for transmission;
and changing the Flexe Client number corresponding to a plurality of time slots of the current non-working table in the Calendar A/B table into an effective value, initiating a switching request, and performing configuration negotiation and switching.
As shown in table 8, the current non-working table, i.e., table a, in the CalendarA a/B table is configured as a user configuration, a switching request is initiated, user configuration negotiation and switching are completed, the established high bandwidth management channel is deleted, and the corresponding time slot resource is released.
Table 8 Client caller user configuration 4
Preferably, when all the effective client service flows are deleted, the high bandwidth management channel is created again and the management signaling is switched to the high bandwidth management channel for transmission, specifically including the following steps:
when all Flexe clients occupying time slots corresponding to a Flexe PHY configured by a user are deleted, if the last deleted Flexe Client does not occupy all time slots of the Flexe PHY, selecting the unoccupied time slots for bearing a Flexe Client data stream, changing the serial number of the corresponding Client into an effective value, and taking a collection of the Flexe clients occupying the time slots corresponding to the Flexe PHY configured by the user to be deleted as intermediate configuration;
if the last deleted Flexe Client occupies all time slots of a Flexe PHY, selecting part of the time slots for bearing a Flexe Client data stream, and changing the corresponding Client number into other effective values to be used as intermediate configuration;
and configuring the current non-working table in the Calendar A/B table as intermediate configuration, initiating a switching request, and performing intermediate configuration negotiation and switching.
As shown in table 9 and table 10, the last FlexE Client to be deleted is numbered 3, and occupies 0, 1, and 2, respectively, and occupies all time slots of FlexEPHY, and the current working table is a.
Table 9 Client calenar configuration to be deleted 1
Table 10 Client calenar configuration to be deleted 2
Slot
| CalendarA
|
CalendarB |
|
0
|
3
|
0
|
1
|
3
|
0
|
2
|
3
|
0
|
3
|
3
|
0
|
…
|
…
|
…
|
17
|
3
|
0
|
18
|
3
|
0
|
19
|
3
|
0 |
The clientcalenar configuration to be deleted, the worksheet selection configuration and the non-worksheet configuration may have various possibilities, and the embodiment of the present invention is not limited herein.
As shown in table 11, the idle timeslot 19 is selected, the Client number corresponding to the idle timeslot is changed to 0xFFFE, and the aggregation of the idle timeslot and the configuration to be deleted is used as the intermediate configuration.
TABLE 11 Client Calendar middle configuration 3
As shown in table 12, when the FlexE clients occupying the time slots corresponding to the FlexEPHY configured by the user are deleted, and the last deleted FlexE Client3 occupies all the time slots, the occupied time slot 19 is selected, the corresponding Client number is changed to 0xFFFE, and the combination with the configuration to be deleted is used as the intermediate configuration.
Table 12 Client calenar intermediate configuration 4
Slot
| CalendarA
|
CalendarB |
|
0
|
3
|
3
|
1
|
3
|
3
|
2
|
3
|
3
|
3
|
3
|
3
|
…
|
…
|
…
|
17
|
3
|
3
|
18
|
3
|
3
|
19
|
3
|
0xFFFE |
There may be multiple possibilities for the method for selecting the idle time slot or the occupied time slot, and the embodiment of the present invention is not limited herein.
Referring to fig. 4, an embodiment of the present invention further provides a flexible ethernet management channel establishing system, including the following steps:
a timeslot assignment module to: when all Flexe examples contained in a sending end of a current network node are judged not to bear effective Client service streams, selecting a plurality of time slots of one Flexe example for bearing Flexe Client data streams, and carrying out multiplexing configuration of the time slots and Flexe overhead configuration;
a channel establishment module to: the demultiplexing configuration of the corresponding working time slot of the Flexe Shim layer is completed at a receiving end according to the time slot information in the Flexe overhead, and a high bandwidth management channel is established;
a channel management module to: when the link overhead value of the high bandwidth management channel is smaller than the link overhead value of the management channel configured by the user, switching to the high bandwidth management channel to transmit a management signaling; and when the link overhead value of the high-bandwidth management channel is greater than the link overhead value of the management channel configured by the user, switching to the management channel configured by the user for transmission.
As a preferred embodiment, the timeslot assignment module is further configured to: when judging that all Flexe examples contained in a sending end of a network node connected with the current network node do not bear effective customer service streams, selecting a plurality of time slots of one Flexe example for bearing F lex Client data streams, and carrying out multiplexing configuration of the time slots and Flexe overhead configuration;
the channel establishing module is further configured to: and at a network node receiving end connected with the current network node, according to the time slot information in the Flexe overhead, completing the demultiplexing configuration of the corresponding working time slot of the Flexe Shim layer, and establishing a high-bandwidth management channel.
Preferably, the timeslot allocation module determines that all FlexE instances included in the sending end of the current network node do not carry an effective client service stream, and the specific determination criteria are as follows: and the value of each field corresponding to the Calendar A/B table corresponding to all time slots of all Flexe examples contained in the sending end of the current network node is 0.
Preferably, when the link cost value of the high bandwidth management channel is smaller than the link cost value of the management channel configured by the user, the channel management module switches to the high bandwidth management channel to transmit the management signaling, specifically including the following steps:
the time slot bound by the first Flexe Client configured by the user is different from the time slot bound by the Flexe Client corresponding to the high-bandwidth management channel without intersection, and the union of the two is used as intermediate configuration;
the time slot bound by the first Flexe Client configured by the user is different from the time slot bound by the Flexe Client corresponding to the high-bandwidth management channel and has an intersection, the two sets are taken as middle configuration, and the time slot intersection part is used for acquiring the time slot bound by the Flexe C content corresponding to the high-bandwidth management channel;
the time slot bound by the first Flexe Client configured by the user is the same as the time slot bound by the Flexe Client corresponding to the high-bandwidth management channel, or the time slot bound by the first Flexe Client is completely contained in the second Flexe Client, the Flexe Client configured by the user is changed to occupy other idle time slots, and the first Flexe Client and the second Flexe Client are combined to be used as intermediate configuration;
and configuring the current non-working table in the Calendar A/B table as intermediate configuration, initiating a switching request, and completing intermediate configuration negotiation and switching.
Preferably, when the link cost value of the high bandwidth management channel is greater than the link cost value of the management channel configured by the user, the channel management module switches to the management channel configured by the user for transmission, and specifically includes the following steps:
configuring the current non-working table in the Calendar A/B table as user configuration, initiating a switching request, completing user configuration negotiation and switching, deleting the high-bandwidth management channel, and releasing the time slot resources occupied by the high-bandwidth management channel.
Preferably, the channel management module is further configured to: when the effective customer service flow part is deleted, the management signaling is switched to the undeleted management channel configured by other users for transmission; when all the effective customer service flows are deleted, a high bandwidth management channel is created again, and management signaling is switched to the high bandwidth management channel for transmission.
Preferably, when the effective customer service flow is partially deleted, the channel management module switches the management signaling to an undeleted management channel configured by another user for transmission, specifically including the following steps:
when a Flexe Client which occupies a time slot corresponding to a Flexe PHY and is configured by a user needs to be partially deleted, changing the link overhead value of a management channel related to the Flexe Client to be deleted to be maximum, and executing a Flex xE Client deletion process after switching a management signaling to a non-deleted management channel configured by other users for transmission;
and changing the Flexe Client number corresponding to a plurality of time slots of the current non-working table in the Calendar A/B table into an effective value, initiating a switching request, and performing configuration negotiation and switching.
Preferably, when all the valid client service streams are deleted, the channel management module re-creates a high bandwidth management channel and switches the management signaling to the high bandwidth management channel for transmission, specifically including the following steps:
when all Flexe clients occupying time slots corresponding to a Flexe PHY configured by a user are deleted, if the last deleted Flexe Client does not occupy all time slots of the Flexe PHY, selecting the unoccupied time slots for bearing a Flexe Client data stream, changing the serial number of the corresponding Client into an effective value, and taking a collection of the Flexe clients occupying the time slots corresponding to the Flexe PHY configured by the user to be deleted as intermediate configuration;
if the last deleted Flexe Client occupies all time slots of a Flexe PHY, selecting part of the time slots for bearing a Flexe Client data stream, and changing the corresponding Client number into other effective values to be used as intermediate configuration;
and configuring the current non-working table in the Calendar A/B table as intermediate configuration, initiating a switching request, and performing intermediate configuration negotiation and switching.
Based on the same inventive concept, the embodiment of the present invention implements all or part of the processes in the flexible ethernet management channel establishing method, and may also be implemented by using a computer program to instruct related hardware, where the computer program may be stored in a computer-readable storage medium, and when being executed by a processor, the computer program may implement the steps of the various method embodiments. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, as shown in fig. 5, which includes a memory and a processor, where the memory stores a computer program running on the processor, and the processor implements all or part of the method steps in the flexible ethernet management channel establishing method when executing the computer program.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware component, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various portions of the overall computer device being connected using various communication interfaces and lines.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, server, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), servers and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.