WO2020125154A1 - 成员动态处理方法、系统、接收端、管理实体及存储介质 - Google Patents

成员动态处理方法、系统、接收端、管理实体及存储介质 Download PDF

Info

Publication number
WO2020125154A1
WO2020125154A1 PCT/CN2019/109968 CN2019109968W WO2020125154A1 WO 2020125154 A1 WO2020125154 A1 WO 2020125154A1 CN 2019109968 W CN2019109968 W CN 2019109968W WO 2020125154 A1 WO2020125154 A1 WO 2020125154A1
Authority
WO
WIPO (PCT)
Prior art keywords
added
original
flexe
group
count
Prior art date
Application number
PCT/CN2019/109968
Other languages
English (en)
French (fr)
Inventor
冯全全
安康
郭樑
孙宁建
王闯
Original Assignee
深圳市中兴微电子技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 深圳市中兴微电子技术有限公司 filed Critical 深圳市中兴微电子技术有限公司
Publication of WO2020125154A1 publication Critical patent/WO2020125154A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J2203/00Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
    • H04J2203/0001Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
    • H04J2203/0073Services, e.g. multimedia, GOS, QOS
    • H04J2203/0082Interaction of SDH with non-ATM protocols
    • H04J2203/0085Support of Ethernet

Definitions

  • the invention relates to the field of data communication, in particular to a method, system, receiving end, management entity and storage medium for dynamically processing members in a flexible Ethernet FlexE.
  • Ethernet Flexible Ethernet
  • FLexE Flexible Ethernet
  • Media Access Control Media Access Control
  • PCS Physical Coding Sublayer
  • Group in FlexE Group is an important concept, it can bind 1 to n physical Ethernet ports Physical layer (PHY, Port Physical) Layer members. The members bound in the group can carry the same service or different services, and can add or delete members according to the needs of network transmission to meet the needs of the increase or decrease of the service port .
  • Multiple members in the Group group often carry more than one service port. These services are placed on each PHY member at a fixed position according to the allocated FlexE time slot.
  • FlexE a header overhead byte (OverHead, OH) is added to mark this fixed position, and each member of the Group inserts the OH at the same time.
  • the service corresponding to each fixed time slot after OH is unique and fixed. In the application, as long as the location of OH is found, the service can be recovered from the time slot, that is, the received data can be carried out according to the service distinguish.
  • a service in the MAC layer is often distributed to multiple members in the Group group, and reaches the receiving end after long-distance transmission.
  • the receiving end In order to restore the relationship between the service and the time slot, the receiving end needs to find the position of the OH of the member in the group group. From this position, the relationship between the data and the service can be marked. Due to the physical material difference, distance, environment and other factors during the transmission of the physical PHY, there is a physical delay (skew) for the members of the Group to reach the receiving end. In order to restore the same OH position, the receiving end needs to deskew the PHY members in the group (put the data in the buffer and wait for the OH to arrive and read the data together), remove the delay between different PHY members, and ensure the OH at the same time In the same position.
  • skew physical delay
  • the PHY member In the process of network transmission, when the transmission service needs to be increased or the bandwidth needs to be saved to reduce the transmission service, the PHY member needs to be added or deleted. In the dynamic processing of PHY members, such as adding or deleting members, it is necessary to deksew the PHY members in the Group group, thereby affecting the normal transmission of services and causing abnormal data transmission.
  • the embodiments of the present invention provide a member dynamic processing method, system, receiving end, management entity, and storage medium in the flexible Ethernet FlexE, which can be completed on the premise that data services are not affected Dynamic processing of members, such as adding and deleting operations.
  • a method for dynamically processing members in a flexible Ethernet FlexE includes: acquiring the position of the header overhead byte OH of the cache data corresponding to the member to be added and the original member in the group according to the group to which the member to be added belongs, Determining the relative positional relationship between the OH position of the member to be added and the OH position of the original member; when it is determined that the relative positional relationship does not satisfy the setting conditions, the reading rate of the member to be added or the original member is determined Adjustment.
  • a receiving end includes a processor and a memory for storing a computer program that can run on the processor; wherein, when the processor is configured to run the computer program, the application provided in the embodiments of the present application is performed to receive The member dynamic processing method in the flexible Ethernet FlexE at the end.
  • a member dynamic processing method in a flexible Ethernet FlexE includes: configuring the FlexE time slot table, and configuring the service of the member to be deleted as an empty service according to the position of the head overhead byte OH of the member to be deleted; The member to be deleted is excluded from the read condition of the cache data of the group to which the member to be deleted belongs.
  • a flexible Ethernet management entity FlexESHIM includes a processor and a memory configured to store a computer program that can run on the processor; wherein, when the processor is configured to run the computer program, the embodiment of the present application is executed.
  • a member dynamic processing method in the flexible Ethernet FlexE applied to a management entity is provided.
  • a member dynamic processing system in a flexible Ethernet FlexE including a flexible Ethernet management entity FlexE SHIM, a sending end and a receiving end, the FlexE SHIM is set to configure the group to which the member to be added belongs; the sending end is set to According to the location of the service allocated to the member to be added, the header overhead byte OH is inserted at a set interval; the receiving end is set to execute the flexible Ethernet FlexE applied to the receiving end provided by the embodiment of the present application Member dynamic processing method.
  • a storage medium stores executable instructions, and when the executable instructions are executed by a processor, the member dynamic processing method in the flexible Ethernet FlexE described in any embodiment of the present application is implemented.
  • the method includes: when adding a member, according to the group to which the member to be added belongs is obtained The position of the header overhead byte OH of the cache data corresponding to the member to be added and the original member in the group respectively, to determine the relative positional relationship between the OH position of the member to be added and the OH position of the original member, to determine the relative
  • the reading rate of the member to be added or the original member is adjusted, so that the original member or member to be added can be correspondingly increased by adjusting the reading rate of the member to be added or the original member
  • the path delay is equivalent to adopting the method of data while transmitting, etc., to ensure the normal transmission of the original business, complete the dynamic increase of members, so as to better meet the network transmission needs.
  • configure the FlexE time slot table configure the service of the member to be deleted as an empty service according to the position of the head overhead byte OH of the member to be deleted, and configure the cache data of the group to which the member to be deleted belongs. Remove the member to be deleted from the reading conditions. In this way, you can configure the member to be deleted not to carry valid services. Because the member to be deleted no longer carries valid business data, you can directly discard it to ensure that it does not affect the service flow. , To complete the dynamic deletion of members, so as to better meet the needs of network transmission.
  • FIG. 1 is a schematic diagram of an application scenario of a member dynamic processing method in FlexE according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an application scenario of a member dynamic processing method in FlexE in another embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for dynamically processing members in FlexE according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of determining that the member to be added is ahead of the original member based on the count value of the read data corresponding to the original member and the member to be added in an embodiment of the present invention
  • FIG. 5 is a schematic diagram of determining that the member to be added lags behind the original member based on the count value of corresponding read data of the original member and the member to be added in an embodiment of the present invention
  • FIG. 6 is a schematic flowchart of a method for dynamically processing members in FlexE according to another embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of a method for dynamically processing members in FlexE in an alternative specific embodiment of the present invention.
  • FIG. 9 is a schematic flowchart of a method for dynamically processing members in FlexE in another optional specific embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a receiving end according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of FlexE SHIM in an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a member dynamic processing system in FlexE according to an embodiment of the present invention.
  • Flexible Ethernet FlexE an interface technology for the bearer network to implement business isolation bearer and network fragmentation.
  • the flexible Ethernet technology increases the Ethernet by lightweight, and adds a flexible Ethernet management entity (FlexEShim) in the middle layer between the Ethernet media access control sublayer L2 (MAC) / Ethernet port physical layer L1 (PHY) ), based on the time division multiplexing distribution mechanism, Flex Shim schedules and distributes the data of multiple client ports (Client) to multiple different member link sub-channels in a time slot manner.
  • FlexE Shim can be divided into 20 5G subchannels. Each client-side interface can specify one or more member link subchannels to achieve service isolation.
  • Overhead the net (negative) load is relative to the overhead. Since the network is a hierarchical structure, when data is converted from top to bottom, a certain amount of OH is added to each layer, and the original data is called a payload.
  • each business data consists of a header and data, the header is the overhead, and the subsequent data is the payload of the business data.
  • Group means that multiple interfaces encapsulating the same link layer protocol are bundled together by link bundling to form a logical data link, that is, a group.
  • Member links in the same group can include the following functions: traffic load sharing: outbound and inbound traffic can be shared among multiple member interfaces; increased bandwidth: the bandwidth of the link bundle interface is the sum of the bandwidth of each available member interface; increased Connection reliability: When a member interface fails, traffic is automatically switched to other available member interfaces, thereby improving the connection reliability of the entire bundle link.
  • Corrected delay refers to the influence of factors such as material difference, distance, and environment of the transmission medium during the transmission of data by the group members. There will be a physical delay skew for the members of the same group to reach the receiving end. The way to remove the delay between different members is to correct the delay.
  • the FlexE group multiple members Phy_members are bundled, such as 4, and multiple Flexe_Client interface service data are carried together through the multiple Phy_members, such as 10, the multiple Phy_members are running at full flow, due to communication network transmission requirements,
  • one or more Flexe_Clients need to be added, such as adding a new client (New client), or one or more ports in the multiple Flexe_Clients have increased traffic, and the multiple Phy_members are all When running at full traffic and carrying no additional bandwidth to carry newly added client services, you can add members in the group at this time, such as adding new members (New add phy).
  • multiple Phy_members are bundled in the FlexE group, such as 4, and the multiple Phy_members collectively carry data of multiple, such as 10 Clients.
  • the data traffic of the Client decreases or some service ports no longer have data flow transmission.
  • Processing includes dynamic addition and deletion, to ensure that the dynamic addition or deletion of members is completed under the premise that data services are not affected.
  • FIG. 3 is a member dynamic processing method in a flexible Ethernet FlexE provided by an embodiment of the present application, which can be applied to a receiving end.
  • the method includes the following steps:
  • Step 101 According to the group to which the member to be added belongs, obtain the position of the header overhead byte OH of the cache data corresponding to the member to be added and the original member in the group, and determine the OH position of the member to be added and the The relative position relationship of the original member's OH position;
  • the member to be added refers to a new member that needs to be added to the group according to the transmission requirements of the communication network, as shown in FIG. 1 member New Add phy.
  • the new members added in the group may be completely added link members, or may be link members in the group that were previously in a failed state and restored to link members in the group by restoration.
  • the FlexE time slot table configured by the Flex Shim
  • the sending end places the services of the Client interface carried by the Group according to the allocated FlexE time slots at a fixed position on the members of the Group and inserts The header overhead byte OH marks this position.
  • the group to which the member to be added belongs is configured through Flex Shim, and the sending end inserts the OH at a set interval according to the location of the service allocated to the member to be added.
  • the setting interval it means that OH is periodically inserted into the data, for example, an OH flag is inserted every 1023*20*8 data blocks according to the corresponding protocol.
  • the receiving end writes the corresponding OH and subsequent data into the cache according to the group to which the member to be added belongs when the original member's OH arrives; accordingly, waits for the OH of the member to be added in the belonging group At the time, write the corresponding OH and subsequent data to the cache.
  • the receiving end obtains the OH positions of the cache data corresponding to the members to be added and the original members in the group, and determines the relative position relationship between the OH positions of the members to be added and the OH positions of the original members.
  • the receiving end reads the cache data corresponding to the member to be added and the original member in the group respectively from the cache according to the specified reading rate, and determines the to be added according to the OH position of the corresponding cache data The relative position relationship between the OH position of the member and the OH position of the original member.
  • Step 103 When it is determined that the relative positional relationship does not satisfy the setting condition, adjust the reading rate of the member to be added or the original member.
  • each member of the same group inserts the OH at the same time.
  • the setting condition means that the positions of the OH are the same, or that the difference between the relative positions of the OH is less than the preset value.
  • the receiving end determines the relative position relationship between the OH position of the member to be added and the OH position of the original member in the same Group.
  • the relative position relationship When the relative position relationship does not satisfy the setting condition, it indicates that the member to be added and the original member
  • the data skew of is inconsistent, so that the read rate of the member to be added or the original member to read data from the cache is adjusted to adjust the skew of the member to be added or the original member accordingly.
  • the read rate of the data to be added by the member to be added or the original member from the cache the data is transmitted while waiting, ensuring that the normal transmission of the original service is not affected.
  • the member dynamic processing method in FlexE further includes: when it is determined that the relative positional relationship satisfies the setting condition, the member to be added and the original member realize data synchronization.
  • the receiving end determines the relative position relationship between the OH position of the member to be added and the OH position of the original member in the same Group.
  • the relative position relationship satisfies the setting condition, it indicates that the member to be added and the original member
  • the data skew is consistent or basically consistent, which can ensure that when the next OH arrives, the OH of the member to be added and the original member appear at the same time, the data of the member to be added and the original member are synchronized, and the dynamic increase of the member to be added Joined the group successfully.
  • step 103 when it is determined that the relative positional relationship does not satisfy the setting condition, adjusting the reading rate of the member to be added or the original member includes:
  • the receiving end determines that the relative positional relationship does not satisfy the setting condition according to the relative positional relationship between the OH position of the member to be added and the OH position of the original member in the same Group. In the process of adjusting the reading rate, it may be one adjustment or multiple adjustments.
  • the reading rate of the member to be added may be adjusted to be half of the current rate One, after adjustment, re-determine whether the relative positional relationship between the OH position of the member to be added and the OH position of the original member meets the setting conditions, and when the relative positional relationship still does not meet the setting conditions, you can check again Adjust the reading rate of the member to be added, adjust the reading rate of the member to be added to half of the current rate again, and re-determine the OH position of the member to be added and the original after adjustment Whether the relative position relationship of the OH position of the member satisfies the setting condition; this is repeated until the relative position relationship satisfies the setting condition.
  • the adjustment strategy may be to compare the current read rate according to a certain proportional coefficient. It can be determined by multiplication; alternatively, the current reading rate can be determined by decreasing by a certain amplitude; or, it can also be determined by multiplying the current reading rate by a proportional coefficient that gradually increases or decreases.
  • the relative positional relationship between the OH position of the member to be added and the OH position of the original member can be gradually made It tends to meet the set conditions and ensure that the original business is not affected and continue to transmit data to synchronize the data of the member to be added and the original member.
  • the adjustment of the reading rate of the member to be added or the original member includes:
  • the reading rate of the member to be added is reduced; or, the OH position of the member to be added is determined relative to the OH position of the original member When lagging behind, the reading rate of the original member is reduced.
  • the receiving end determines that the OH position of the member to be added is ahead of the OH position of the original member, it means that the OH of the member to be added appears in advance, that is, the data skew of the member to be added is relative to the original member
  • the data skew is small, the member to be added should cache more data to wait for the original member data, so that the reading rate of the original member remains unchanged, and the reading rate of the newly added member is reduced to reduce the member to be added.
  • the receiving end determines that the OH position of the member to be added lags behind the OH position of the original member, it indicates that the OH of the member to be added lags behind, that is, the data skew of the member to be added is relative to the original
  • the data skew of the member is large, and the data skew of the original member needs to be increased, so that the reading rate of the newly added member remains unchanged, and the reading rate of the original member is reduced to reduce the OH position of the member to be added and the original member The difference between the OH positions.
  • reducing the reading rate of the member to be added includes: reducing the reading rate of the member to be added to half of the current rate; reducing the reading rate of the original member includes: reducing the original member's reading rate The read rate is reduced to one-half of the current rate.
  • the reduction of the reading rate of the member to be added and the reduction of the reading rate of the original member may also be gradually reduced according to the set adjustment strategy.
  • the adjustment strategy may be The second time to reduce the reading rate to the current rate is not limited to other ratios of the half mentioned above; or, it may be to reduce the reading rate by a certain amount each time; or, it may be to reduce the reading rate to the current The product of the rate and the scaling factor that gradually increases or decreases, etc.
  • the relative positional relationship between the OH position of the member to be added and the OH position of the original member can gradually be satisfied to meet the set conditions, ensuring that the original service is not affected and the transmission continues Increase the data synchronization of members and original members.
  • the relative positional relationship of the OH position includes:
  • the relative position relationship between the OH position of the member to be added and the OH position of the original member is determined.
  • the receiving end sets the first counter and the second counter respectively corresponding to the member to be added and the original member. Since OH appears periodically in the corresponding data, the first counter and the second counter respectively calculate the to-be-increased in the same period
  • the count of the read data after the OH position of the cache data corresponding to the member and the original member, and comparing the difference between the two counts can determine the relative positional relationship between the position of the member to be added and the OH position of the original member, so, The OH position of the cache data of the member to be added and the original member corresponding to the obtained at different read rates in the same period can be determined, thereby determining the OH of the member to be added and the original member at different read rates The difference in the relative positional relationship of the position changes.
  • the receiving end writes to the cache when the OH of the member to be added arrives, and when the exclusive storage is not empty, reads the cache data corresponding to the member to be added according to the set first reading rate, and reads The data is counted for the first time, and the count is cleared when OH is read.
  • the condition for reading the data can be that all the OHs of the original members have been written into the cache, and the first group of data read must be the OH mark.
  • the receiving end reads the cache data corresponding to the original members in the group according to the set second reading rate.
  • One read includes pulling one data of each original member from the cache, if the data of one of the original members is empty , Then give up reading and wait for the data to be read out when it is not empty. Each time a set of data is read out, the second count increases by 1, and the count is cleared when OH is read.
  • the receiving end can determine the relative positional relationship between the OH position of the member to be added and the OH position of the original member by comparing the sizes of the first count and the second count.
  • the determining the relative position relationship between the OH position of the member to be added and the OH position of the original member according to the sizes of the first count and the second count includes:
  • the threshold is determined according to the setting interval of the OH flag in the data. Taking an OH identifier inserted every 1023*20*8 data blocks as an example, the threshold may be 1023*20*8/2. Please refer to Figure 4. If the read data corresponding to the member to be added is OH and the count is zero, the count value of the read data corresponding to the original member is greater than the threshold, such as (1023*20*8 ⁇ 1023*20*8/2 ) When it is within the range, it means that the position of the OH of the member to be added is ahead of the original member; please refer to Figure 5, if the read data corresponding to the member to be added is OH and the count is zero, the count value of the read data corresponding to the original member If it is less than the threshold, for example, it can be in the range of [1023*20*8, 2 ⁇ 0), it means that the position of the OH of the member to be added is behind the original member.
  • the reading efficiency of the member to be added and the original member is gradually adjusted accordingly to reduce the member to be added and the position of the original member
  • the data skew difference between the original members is stated until the member to be added and the original member achieve data synchronization.
  • FIG. 6 is a dynamic processing method for members in a flexible Ethernet FlexE provided by an embodiment of the present application, which can be applied to a flexible Ethernet management entity FlexE SHIM.
  • the method includes the following steps:
  • Step 201 Configure a FlexE time slot table, and configure the service of the member to be deleted as an empty service according to the position of the head overhead byte OH of the member to be deleted;
  • the services carried by each member in the Group group are determined by the configuration of the time slot table, and the time slot table allocates the service data corresponding to each time slot starting from the OH position.
  • the FlexE SHIM configures the FlexE time slot table, and configures the service of the member to be deleted as an empty service according to the position of the head overhead byte OH of the member to be deleted, which may be the member of the member to be deleted that the FlexE SHIM will need to delete
  • the service configuration is an empty service, which does not carry valid services, and only retains the OH mark.
  • Step 203 Remove the member to be deleted from the reading conditions of the cache data of the group to which the member to be deleted belongs.
  • the FlexE SHIM removes the member to be deleted, which may be that the FlexE SHIM determines the specific member of the member to be deleted according to the configuration of the time slot table, and reads the data from the cache by the receiving end
  • the read condition is configured to remove the corresponding member, so that the status of the cached data of the member to be deleted is no longer judged. Since the member to be deleted no longer carries valid services, the data can be directly discarded, so that the service flow is not affected. In this case, a dynamic deletion operation for the deleted member can be realized.
  • the FlexE SHIM deletes the member to be deleted from the Group, the operation on the member to be deleted is stopped, and it is set as an unused member for other Groups to add and call.
  • the FlexE SHIM configures the FlexE time slot table, and configures the service of the member to be deleted as an empty service according to the position of the head overhead byte OH of the member to be deleted. Remove the member to be deleted from the read condition of the cache data of the group to which the member to be deleted belongs, so that the member to be deleted can no longer carry valid services because the member to be deleted no longer carries valid business data It can be directly discarded to ensure that the dynamic deletion of members is completed without affecting the service flow, so as to better meet the network transmission needs.
  • the member dynamic processing method in FlexE further includes:
  • the configuration is used to instruct the sending end to insert the OH at a set interval according to the location of the service allocated to the member to be added.
  • the FlexE SHIM configuration includes the group to which the member to be added belongs.
  • the FlexE SHIM uses a command configuration to notify the Group that a new member has joined.
  • the sending end inserts the OH mark at a set interval according to the location of the service allocated to the member to be added; the receiving end determines the group to which the member to be added belongs according to the configuration, and After finding the OH identification lock in the data corresponding to the added member, write the OH and subsequent data into the cache to be able to perform subsequent follow-up by obtaining the cache data corresponding to the member to be added and the original member in the group Add steps dynamically.
  • FlexE there are 4 PHY members bound in the Group (which can be larger or smaller than 4 members, taking 4 members as an example), 4 PHY members carry a total of 10 customer ports (also can be greater than 10 customer ports Or less than 10 client ports, take 10 as an example). All 4 PHY members are running at full flow. Due to the transmission requirements of the communication network, it is necessary to add one client port (or multiple client ports) in this group, or one or more of the 10 client ports Traffic increases, all four members are running at full traffic, and there is no excess bandwidth to carry new client services. At this time, members can be dynamically added.
  • the method for dynamically processing members in FlexE includes the following steps:
  • FlexE SHIM configures the group to which the member to be added belongs; for example, FlexE SHIM notifies the Group that the member to be added will join by command configuration;
  • step S12 the sending end inserts an OH on the member to be added according to the standard of inserting an OH flag every 1023*20*8 data blocks.
  • Step S13 the receiving end detects the OH of the member to be added, and after the OH is detected, stores the OH and subsequent data into the buffer area, reads the data from the buffer area and counts the number of read data; and the receiving end detects The original member's OH will store the OH and subsequent data into the cache area after detecting the OH, and read the data from the cache area and count the number of read data;
  • Step S14 The receiving end compares the data count of the member to be added read from the buffer area and the data count of the original member to determine the relative position relationship between the member OH to be added and the original member OH;
  • step S15 is performed; if the member OH to be added leads the original member OH, step S16 is performed; if the member OH to be added is different from the original member OH If the positions are the same, step S17 is executed;
  • Step S15 the data reading rate corresponding to the original member is reduced until the position of the member OH to be added is the same as the original member OH, and step S17 is executed;
  • Step S16 the data reading rate corresponding to the member to be added is reduced until the position of the member to be added OH is the same as the original member OH, and step S17 is executed;
  • Step S17 The receiving end reads the cache data corresponding to the member to be added and the original member from the cache area according to the same data reading rate;
  • step S18 FlexE SHIM allocates customer port services to the member to be added to carry increased traffic.
  • a PHY member is in the state of failure due to the influence of interference sources during transmission, which has poor stability and a large bit error rate, but it can ensure that the interference disappears within a period of time and the failure state can return to normal.
  • the data link skew of the affected PHY member may change, and the relative position relationship with the OH of the other three members will change.
  • the method for dynamically processing members in FlexE includes the following steps:
  • Step S21 The receiving end determines that the member to be restored has returned to stability according to the link state indication, and determines the group to which the member to be restored belongs;
  • Step S22 the receiving end detects the OH of the member to be restored, and after the OH is detected, stores the OH and subsequent data into the buffer area, reads the data from the buffer area and counts the number of read data; and the receiving end detects The original member's OH will store the OH and subsequent data into the cache area after detecting the OH, and read the data from the cache area and count the number of read data;
  • Step S23 The receiving end compares the data count of the member to be restored read from the buffer area with the data count of the original member to determine the relative position relationship between the member OH to be restored and the original member OH;
  • step S25 is performed; if the member OH to be recovered is ahead of the original member OH, step S26 is performed; if the member OH to be recovered and the original member OH are If the positions are the same, step S27 is executed;
  • Step S25 the data reading rate corresponding to the original member is reduced until the position of the member OH to be restored is the same as the original member OH, and step S27 is executed;
  • Step S26 the data reading rate corresponding to the member to be restored is reduced until the position of the member to be restored OH is the same as the original member OH, and step S27 is executed;
  • Step S27 the receiving end reads the cache data corresponding to the member to be restored and the original member from the cache area according to the same data reading rate;
  • step S28 FlexE SHIM allocates the client port service to the member to be restored, and carries the service before the failure.
  • the member to be restored refers to the member to be added during the operation of dynamically adding members, so as to complete the restoration of the failed member without affecting other normal members in the Group.
  • FlexE SHIM configures the service on the member to be deleted as an empty service.
  • the service carried by the members in the group is configured by a time slot table, and the time slot table is to allocate service data corresponding to each time slot from the OH position. Configure the service of the member to be deleted as an empty service, do not carry valid services, and only keep the OH mark.
  • Step S32 FlexE SHIM will remove the member to be deleted from the reading condition of the data read from the cache; wherein, the member to be deleted is deleted from the reading condition of the data read from the cache, and the member’s In the cache state, because the deleted member no longer carries services, the data can be directly discarded without affecting the service flow and other members. Finally, the lossless deletion of the PHY member is completed.
  • the member dynamic processing method in FlexE provided in the above embodiments of the present application can realize the dynamic addition and deletion of members in the group without affecting the normal operation of other customer ports when adding or deleting customer port services during network transmission. Therefore, the bandwidth can be adjusted dynamically and losslessly, and the flexibility of network transmission can be improved.
  • another embodiment of the present application provides a receiving end, including a processor and a memory for storing a computer program that can be run on the processor; wherein, the processor is used to run the computer program To implement the member dynamic processing method in the FlexE applied to the receiving end provided by the embodiment of the present application.
  • the memory on the receiving end is called the first memory 503, and the processor on the receiving end is called the first processor 501.
  • a method for dynamically processing members in the flexible Ethernet FlexE including: acquiring the header overhead byte OH of the cache data corresponding to the member to be added and the original member in the group according to the group to which the member to be added belongs Position, determine the relative positional relationship between the OH position of the member to be added and the OH position of the original member; when it is determined that the relative positional relationship does not satisfy the setting conditions, read the member to be added or the original member The rate is adjusted.
  • the first processor 501 When the first processor 501 is configured to run the computer program, execute: when it is determined that the relative positional relationship satisfies the setting condition, the member to be added and the original member achieve data synchronization.
  • the first processor 501 When the first processor 501 is set to run the computer program, execute: when it is determined that the relative positional relationship does not satisfy the setting condition, adjust the reading rate of the member to be added or the original member, Including: when it is determined that the relative position relationship does not satisfy the setting condition, adjusting the reading rate of the member to be added or the original member, and re-determining the OH position of the member to be added and the OH of the original member.
  • the relative position relationship of the position when the relative position relationship still does not satisfy the setting condition, return to the step of adjusting the reading rate of the member to be added or the original member until the relative position relationship satisfies the Describe the setting conditions.
  • the adjusting the reading rate of the member to be added or the original member includes: determining that the OH position of the member to be added is relatively When the original member's OH position is ahead, reduce the reading rate of the member to be added; or, when it is determined that the OH position of the member to be added is behind the original member's OH position, reduce the reading of the original member Take rate.
  • the reducing the reading rate of the member to be added includes: reducing the reading rate of the member to be added to half of the current rate;
  • the reducing the original member's reading rate includes: reducing the original member's reading rate to one-half of the current rate.
  • the location of the header overhead byte OH of the cache data corresponding to the member to be added and the original member in the group is determined to determine the The relative position relationship between the OH position of the member to be added and the OH position of the original member includes: reading the cache data corresponding to the member to be added according to the set first reading rate, and performing a first count on the read data , When the OH position of the data is read, the first count is cleared; the cache data corresponding to the original member in the group is read according to the set second read rate, and the read data is counted a second time , When the OH position of the data is read, the second count is cleared; according to the size of the first count and the second count, the OH position of the member to be added and the original member's position are determined The relative position relationship of OH position.
  • the first processor 501 When the first processor 501 is configured to run the computer program, execute: the determining the OH position of the member to be added and the original member's position according to the sizes of the first count and the second count
  • the relative position relationship of the OH position includes: when the first count is zero and the second count is greater than a threshold, it is determined that the position of the OH of the member to be added is ahead of the original member; when the first When the count is zero, and the second count is less than or equal to the threshold, it is determined that the position of the OH of the member to be added is behind the original member.
  • another embodiment of the present application further provides a FlexE SHIM, including a processor and a memory for storing a computer program that can run on the processor; wherein, the processor is configured to run the computer During the program, the member dynamic processing method in the FlexE applied to the FlexE SHIM provided by the embodiment of the present application is executed.
  • the memory of the FlexE SHIM is called the second memory 603, and the processor of the FlexE SHIM is called the second processor 601, and the second processor 601 is configured to run the computer program
  • the implementation a flexible Ethernet FlexE member dynamic processing method, including: configuring the FlexE time slot table, according to the position of the head overhead byte OH of the member to be deleted, the business of the member to be deleted is configured as an empty service Removing the member to be deleted from the read condition of the cache data of the group to which the member to be deleted belongs;
  • the second processor 601 When the second processor 601 is set to run the computer program, it executes: configuring the group to which the member to be added belongs, the configuration is used to instruct the sending end according to the location of the service allocated to the member to be added, according to the set interval Insert OH.
  • the steps in the corresponding method can be allocated by different program modules according to requirements, that is, the The internal structure of the virtual device corresponding to the computer program stored in the corresponding memory is divided into multiple program modules to complete all or part of the processing described above.
  • the receiving end and the FlexE SHIM and the corresponding FlexE member dynamic processing method embodiment belong to the same concept, and the specific implementation process thereof is described in the method embodiment, which will not be repeated here.
  • another aspect of the embodiment of the present invention also provides a member dynamic processing system in FlexE, including a FlexE SHIM11, a sending end 12 and a receiving end 13, the FlexE SHIM11 is configured to configure the group to which the member to be added belongs Group; the sending end 12 is set to insert the header overhead byte OH according to the set interval according to the location of the service allocated to the member to be added; the receiving end 13 is set to execute the application provided by the embodiment of the present application In the method for dynamically processing members in the FlexE at the receiving end, the receiving end may be the receiving end shown in FIG. 10.
  • the FlexE SHIM11 is also configured to configure the FlexE time slot table, and configure the service of the member to be deleted as an empty service according to the position of the head overhead byte OH of the member to be deleted; and configure the member to be deleted
  • the member to be deleted is excluded from the read condition of the cache data of the group to which it belongs.
  • the FlexE SHIM11 is also set to allocate a service port to the member to be added when the member to be added and the original member in the group to which the member belongs to achieve data synchronization.
  • a storage medium for example, including a memory storing a computer program, and the computer program may be executed by a processor to complete the member dynamic processing method in FlexE provided by any embodiment of the present application A step of.
  • the computer storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM; it may also be various devices including one or any combination of the above memories.
  • the member dynamic processing method, system, receiving end, management entity and storage medium in the flexible Ethernet FlexE provided by the above embodiments include: when adding a member, according to the group to which the member to be added belongs The position of the header overhead byte OH of the cache data corresponding to the member to be added and the original member in the group respectively, to determine the relative positional relationship between the OH position of the member to be added and the OH position of the original member, to determine the relative When the positional relationship does not satisfy the setting conditions, the reading rate of the member to be added or the original member is adjusted, so that the original member or member to be added can be correspondingly increased by adjusting the reading rate of the member to be added or the original member
  • the path delay is equivalent to adopting the method of data while transmitting, etc., to ensure the normal transmission of the original business, complete the dynamic increase of members, so as to better meet the needs of network transmission.
  • configure the FlexE time slot table configure the service of the member to be deleted as an empty service according to the position of the head overhead byte OH of the member to be deleted, and configure the cache data of the group to which the member to be deleted belongs. Remove the member to be deleted from the reading conditions. In this way, you can configure the member to be deleted not to carry valid services. Because the member to be deleted no longer carries valid business data, you can directly discard it to ensure that it does not affect the service flow. , To complete the dynamic deletion of members, so as to better meet the needs of network transmission.

Abstract

本发明实施例公开一种灵活以太网FlexE中的成员动态处理方法、系统、接收端、管理实体及存储介质,所述方法包括:根据待增加成员所属群组,获取所述待增加成员和所述群组内原成员分别对应的缓存数据的头开销字节OH的位置,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系;确定所述相对位置关系不满足设置条件时,对所述待增加成员或所述原成员的读取速率进行调整。

Description

成员动态处理方法、系统、接收端、管理实体及存储介质 技术领域
本发明涉及数据通信领域,尤其涉及一种灵活以太网FlexE中的成员动态处理方法、系统、接收端、管理实体及存储介质。
背景技术
随着互联网的快速发展,传统标准以太网络传输不能够满足大速率业务传输的需求。以太灵活网(Flex Ethernet,简称为FLexE)是一种新的弹性以太网客户端接口,它是在介质访问控制子层(媒体接入控制(Media Access Control,简称为MAC)与实体编码子层(Physical Coding Sublayer,简称为PCS)之间的一种介质,用于对客户端业务的分配。FlexE中群组(Group)是一个重要的概念,它可绑定1到n个实体的以太端口物理层(PHY,Port Physical Layer)成员。Group中绑定的成员可承载相同业务,也可承载不同的业务,并且可根据网络传输的需要,添加或者删除成员以适应业务端口增加或减少的需求。
在Group组内多个成员中往往承载大于1个业务端口,这些业务根据分配的FlexE时隙,按照固定的位置放置在每个PHY成员上。FlexE中为标记这个固定的位置增加头开销字节(OverHead,OH),Group内每个成员插入OH的时刻相同。OH后的每个固定的时隙对应的业务都是唯一并且固定的,在应用中,只要找到OH的位置,就能从时隙中恢复出业务,也就是可以将接收到的数据按照业务进行区分。实际应用中,MAC层的一个业务往往被分配到Group组内多个成员上,经过远距离的传输,到达接收端。接收端为恢复出业务与时隙的关系,需要找到group组内成员的OH的位置,从这个位置后可标记出数据与业务的关系。因实体的PHY传输时,受传输介质材料差异,距离,环境等因素影响,Group内成员到达接收端存在一个物理延迟(skew)。为恢复出相同OH位置,接收端需要对group内的PHY成员deskew(将数据放在缓存中,等待OH都到来时, 共同读取数据),去掉不同PHY成员之间的延迟,确保OH同一时刻在同一位置。
网络传输的过程中,在需要增加传输业务,或者需要节约带宽减少传输业务时,需要增加或者删除PHY成员。在对PHY成员动态处理,如增加或删除成员时,需要对Group组内的PHY成员重新deksew,从而影响正常传输的业务,导致数据传输异常。
发明内容
为解决现有存在的技术问题,本发明实施例提供一种灵活以太网FlexE中的成员动态处理方法、系统、接收端、管理实体及存储介质,能够在数据业务不受影响的前提下,完成成员的动态处理,如增加、删除等操作。
为达到上述目的,本发明实施例的技术方案是这样实现的:
一种灵活以太网FlexE中的成员动态处理方法,包括:根据待增加成员所属群组,获取所述待增加成员和所述群组内原成员分别对应的缓存数据的头开销字节OH的位置,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系;确定所述相对位置关系不满足设置条件时,对所述待增加成员或所述原成员的读取速率进行调整。
一种接收端,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器;其中,所述处理器设置为运行所述计算机程序时,执行本申请实施例所提供的应用于接收端的所述灵活以太网FlexE中的成员动态处理方法。
一种灵活以太网FlexE中的成员动态处理方法,包括:配置所述FlexE时隙表,根据待删除成员的头开销字节OH的位置,将所述待删除成员的业务配置为空业务;将所述待删除成员所属群组的缓存数据的读取条件中将所述待删除成员剔除。
一种灵活以太网管理实体FlexE SHIM,包括处理器和设置为存储能 够在处理器上运行的计算机程序的存储器;其中,所述处理器设置为运行所述计算机程序时,执行本申请实施例所提供的应用于管理实体的所述灵活以太网FlexE中的成员动态处理方法。
一种灵活以太网FlexE中的成员动态处理系统,包括灵活以太网管理实体FlexE SHIM、发送端和接收端,所述FlexE SHIM,设置为配置待增加成员所属群组;所述发送端,设置为根据分配到所述待增加成员的业务的位置,按照设置间隔插入头开销字节OH;所述接收端,设置为执行本申请实施例所提供的应用于接收端的所述灵活以太网FlexE中的成员动态处理方法。
一种存储介质,所述存储介质中存储有可执行指令,所述可执行指令被处理器执行时实现本申请任一实施例所述的灵活以太网FlexE中的成员动态处理方法。
上述实施例所提供的灵活以太网FlexE中的成员动态处理方法、系统、接收端、管理实体和存储介质,所述方法包括:在新增成员时,根据待增加成员所属群组,获取所述待增加成员和所述群组内原成员分别对应的缓存数据的头开销字节OH的位置,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系,确定所述相对位置关系不满足设置条件时,对所述待增加成员或所述原成员的读取速率进行调整,如此,可以通过对待增加成员或原成员的读取速率调整而相应增加原成员或待增加成员的路径延迟,相当于采用数据边传输边等的方式,确保原业务的正常传输的情况下,完成成员的动态增加操作,从而更好的满足网络传输需求。在删除成员时,配置FlexE时隙表,根据待删除成员的头开销字节OH的位置,将所述待删除成员的业务配置为空业务,将所述待删除成员所属群组的缓存数据的读取条件中将所述待删除成员剔除,如此,可以通过配置待删除成员不承载有效业务的方式,因待删除成员上不再承载有效业务数据可直接丢弃,确保不影响业务流的情况下,完成成员的动态删除操作,从而更好的满足网络传输需求。
附图说明
图1为本发明一实施例中FlexE中的成员动态处理方法的应用场景示意图;
图2为本发明另一实施例中FlexE中的成员动态处理方法的应用场景示意图;
图3为本发明一实施例中FlexE中的成员动态处理方法的流程示意图;
图4为本发明一实施例中基于原成员和待增加成员对应读出数据的计数值确定所述待增加成员相对所述原成员超前的示意图;
图5为本发明一实施例中基于原成员和待增加成员对应读出数据的计数值确定所述待增加成员相对所述原成员落后的示意图;
图6为本发明另一实施例中FlexE中的成员动态处理方法的流程示意图;
图7为本发明一可选的具体实施例中FlexE中的成员动态处理方法的流程示意图;
图8为本发明另一可选的具体实施例中FlexE中的成员动态处理方法的流程示意图;
图9为本发明又一可选的具体实施例中FlexE中的成员动态处理方法的流程示意图;
图10为本发明一实施例中接收端的结构示意图;
图11为本发明一实施例中FlexE SHIM的结构示意图;
图12为本发明一实施例中FlexE中的成员动态处理系统的结构示意图。
具体实施方式
以下结合说明书附图及具体实施例对本发明技术方案做进一步的详细阐述。除非另有定义,本文所使用的所有的技术和科学术语与属于本发 明的技术领域的技术人员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。
在以下的描述中,涉及到“一些实施例”的表述,其描述了所有可能实施例的子集,但是应当理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。
对本发明进行进一步详细说明之前,对本发明实施例中涉及的名词和术语进行说明,本发明实施例中涉及的名词和术语适用于如下的解释。
1)、灵活以太网FlexE,承载网实现业务隔离承载和网络分片的一种接口技术。其中,灵活以太网技术通过对以太网轻量级增强,在以太网介质访问控制子层L2(MAC)/以太端口物理层L1(PHY)之间的中间层增加灵活以太网管理实体(FlexE Shim),Flex Shim基于时分复用分发机制,将多个客户端口(Client)的数据按照时隙方式调度并分发至多个不同的成员链路子通道。以100GE管道为例,通过FlexE Shim可以划分为20个5G速率的子通道,每个Client侧接口可指定使用某一个或多个成员链路子通道,实现业务隔离。
2)、头开销字节(overhead,OH),净(负)荷是相对开销而言的。由于网络是分层结构,数据自上向下转换时,每层都会加上一定数量的OH,而原来的数据就被称为净荷(payload)。
对于增加OH的业务数据而言,每一个业务数据由头和数据组成,头即是开销,而后面的数据即是业务数据的净荷。
3)、群组(Group),是指通过链路捆绑将多个封装相同的链路层协议的接口捆绑到一起,形成一条逻辑上的数据链路,也即群组。
相同群组内的成员链路可以包括如下作用:流量负载分担:出/入流量可以在多个成员接口之间分担;增加带宽:链路捆绑接口的带宽是各可用成员接口带宽的总和;提高连接可靠性:当某个成员接口出现故障时,流 量会自动切换到其他可用的成员接口上,从而提高整个捆绑链路的连接可靠性。
4)、成员,是指同一群组内包含的链路成员。
5)、校正延迟(deskew),是指群组成员对数据进行传输过程中,受传输介质材料差异,距离,环境等因素影响,同一群组内成员达到接收端将存在一个物理延迟skew,为了去掉不同成员之间的延迟的方式则为校正延迟。
在网络传输的过程中,在需要增加传输业务,或者需要节约带宽减少传输业务时,需要增加或者删除群组内成员。请参阅图1,以灵活以太网FlexE为例,Flex Shim基于时分复用分发机制,将多个客户端口(Client)的数据按照时隙方式调度并分发至多个不同的成员。FlexE群组内捆绑多个成员Phy_member,如4个,通过所述多个Phy_member共同承载多个Flexe_Client接口业务数据,如10个,所述多个Phy_member均是满流量运行,因通讯网络传输需求,在本群组内,需要增加一个或者多个Flexe_Client,如增加新增客户端(New add client),或者所述多个Flexe_Client中有一个或者多个端口流量增大,所述多个Phy_member均为满流量运行无多余带宽承载新增加的客户端业务的情况下,此时可以通过增加群组内成员,如增加新成员(New add phy)的方式。
请参阅图2,仍以FlexE为例,FlexE群组内捆绑多个Phy_member,如4个,所述多个Phy_member共同承载多个,如10个Client的数据。在网络传输过程中,所述Client的数据流量减小或者某些业务端口不再有数据流传输,需要删除一个Flexe_Client,如删除一业务端口(Delete original client),总的流量减少,此时可以根据减少流量的大小去除群组内一个或者多个成员,如删除一个原有成员(Delete original phy)的方式,删除的成员可以被其它群组新增后所调用。
在上述增加或删除成员时,接收端均需要对群组内成员重新deskew,从而可能会影响到正常传输的业务,基于此,有必要提供一种群组内成员 的动态处理方法,所述动态处理包括动态增加、动态删除,确保在数据业务不受影响的前提下,完成成员的动态增加或删除操作。
请参阅图3,为本申请实施例提供的一种灵活以太网FlexE中的成员动态处理方法,可应用于接收端,该方法包括如下步骤:
步骤101,根据待增加成员所属群组,获取所述待增加成员和所述群组内原成员分别对应的缓存数据的头开销字节OH的位置,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系;
这里,待增加成员是指根据通讯网络传输需求,需要在群组内增加的新成员,如图1中所示的成员New add phy。需要说明的是,在群组内增加的新成员可以是完全新增的链路成员、也可以是群组内之前处于失效状态的链路成员通过恢复回复到群组内的链路成员。在FlexE中动态新增成员时,可以首先通过Flex Shim配置FlexE时隙表,配置该待增加成员所属的群组Group。发送端根据所述Flex Shim配置的FlexE时隙表,将所述Group对应承载的Client接口的业务根据所分配的FlexE时隙,按照固定的位置放置在所述Group内的成员上,并通过插入头开销字节OH对这个位置进行标记。通过Flex Shim配置该待增加成员所属Group,发送端根据分配到所述待增加成员的业务的位置按照设置间隔插入所述OH。按照设置间隔是指在数据中周期性插入OH,如,根据相应协议每隔1023*20*8个数据块插入一个OH标识。
所述接收端根据待增加成员所属群组,当所属Group内原成员的OH到来时,将对应的OH以及后续数据同样写入缓存中;相应的,等待所属Group内所述待增加成员的OH到来时,将对应的OH以及后续数据写入缓存中。所述接收端获取所述待增加成员和所述群组内原成员分别对应的缓存数据的OH的位置,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系,所述接收端从缓存中按照指定的读取速率分别读取所述待增加成员和所述群组内原成员分别对应的缓存数据,根据所述对应的缓存数据的OH的位置,确定所述待增加成员的OH位置与所述原 成员的OH位置的相对位置关系。
步骤103,确定所述相对位置关系不满足设置条件时,对所述待增加成员或所述原成员的读取速率进行调整。
在发送端,同一Group内每个成员插入OH的时刻相同,在成员到达接收端不存在路径延迟skew的情况下,待增加成员和原成员的OH在同一时刻应在相同位置。这里,设置条件是指OH的位置相同、或者是指OH的相对位置之间的差值小于预设值。接收端通过确定同一Group内所述待增加成员的OH位置与原成员的OH位置的相对位置关系,当所述相对位置关系不满足设置条件时,则表示所述待增加成员和所述原成员的数据skew不一致,从而对所述待增加成员或所述原成员从缓存中读取数据的读取速率进行调整,以相应调整所述待增加成员或所述原成员的skew。通过对所述待增加成员或所述原成员从缓存中读取数据的读取速率进行调整,实现了数据边传输边等待的方式,确保了不影响原业务的正常传输。
所述FlexE中的成员动态处理方法还包括:确定所述相对位置关系满足所述设置条件时,则所述待增加成员和所述原成员实现数据同步。
接收端通过确定同一Group内所述待增加成员的OH位置与原成员的OH位置的相对位置关系,当所述相对位置关系满足设置条件时,则表示所述待增加成员和所述原成员的数据skew一致或基本一致,可保证在下一个OH到来时,所述待增加成员和原成员的OH同时出现,所述待增加成员和所述原成员实现数据同步,所述待增加成员的动态增加入Group成功。
在一些实施例中,所述步骤103,确定所述相对位置关系不满足设置条件时,对所述待增加成员或所述原成员的读取速率进行调整,包括:
确定所述相对位置关系不满足设置条件时,对所述待增加成员或所述原成员的读取速率进行调整,并重新确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系;
当所述相对位置关系仍然不满足设置条件时,返回所述对所述待增加成员或所述原成员的读取速率进行调整的步骤,直至所述相对位置关系满足所述设置条件。
这里,接收端根据同一Group内所述待增加成员的OH位置与原成员的OH位置的相对位置关系,确定所述相对位置关系不满足设置条件,对所述待增加成员或所述原成员的读取速率进行调整的过程中,可以是一次调整或者多次调整,以对所述待增加成员的读取速率进行调整为例,可以将待增加成员的读取速率调整为当前速率的二分之一,调整后再重新确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系是否满足设置条件,当所述相对位置关系仍然不满足设置条件时,则可以再次对所述待增加成员的读取速率进行调整,再次将待增加成员的读取速率调整为当前速率的二分之一,并于调整后再次重新确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系是否满足设置条件;如此往复进行,直至所述相对位置关系满足所述设置条件。
需要说明的是,上述对所述待增加成员或原成员的读取速率进行调整的过程中,可以是根据设置的调整策略进行,所述调整策略可以是将当前读取速率按照一定比例系数相乘的方式来确定;或者,也可以是当前读取速率按照一定幅度递减的方式来确定;或者,还可以是将当前读取速率按照逐渐递增或递减的比例系数相乘的方式来确定等。
本申请上述实施例中,通过对所述待增加成员或所述原成员的读取速率逐步进行调整,可以使得所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系逐步趋向满足设置条件,确保原业务不受影响继续传输的前提下实现待增加成员和原成员的数据同步。
在一些实施例中,所述对所述待增加成员或所述原成员的读取速率进行调整,包括:
确定所述待增加成员的OH位置相对所述原成员的OH位置超前时, 降低所述待增加成员的读取速率;或者,确定所述待增加成员的OH位置相对所述原成员的OH位置落后时,降低所述原成员的读取速率。
这里,接收端确定所述待增加成员的OH位置相对于所述原成员的OH位置超前时,说明所述待增加成员的OH提前出现,也即所述待增加成员的数据skew相对于原成员的数据skew小,所述待增加成员应多缓存数据以等待原成员数据,从而原成员的读取速率不变,并降低所述新增成员的读取速率,以减小所述待增加成员的OH位置与原成员的OH位置之间的差值。相应的,接收端确定所述待增加成员的OH位置相对于所述原成员的OH位置落后时,说明所述待增加成员的OH落后出现,也即所述待增加成员的数据skew相对于原成员的数据skew大,需要增加原成员的数据skew,从而所述新增成员的读取速率不变,并降低原成员的读取速率,以减小所述待增加成员的OH位置与原成员的OH位置之间的差值。
其中,所述降低待增加成员的读取速率包括:将所述待增加成员的读取速率降低为当前速率的二分之一;所述降低原成员的读取速率包括:将所述原成员的读取速率降低为当前速率的二分之一。
需要说明的是,所述降低所述待增加成员的读取速率以及所述降低所述原成员的读取速率,还可以是根据设置的调整策略逐步降低,如,所述调整策略可以是每次将读取速率降低为当前速率的不限于以上所述的二分之一的其它比例;或者,可以是每次将读取速率降低一定幅度;或者,还可以是将读取速率降低为当前速率与逐渐递增或递减的比例系数的乘积等。通过根据设置的调整策略逐步降低,可以使得所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系逐步趋向满足设置条件,确保原业务不受影响继续传输的前提下实现待增加成员和原成员的数据同步。
在一些实施例中,所述获取所述待增加成员和所述群组内原成员分别对应的缓存数据的头开销字节OH的位置,确定所述待增加成员的OH位 置与所述原成员的OH位置的相对位置关系,包括:
按照设置的第一读取速率读取所述待增加成员对应的缓存数据,并对读出数据进行第一计数,当读取到数据的OH的位置时,所述第一计数清零;
根据设置的第二读取速率读取所述群组内原成员对应的缓存数据,并对读出数据进行第二计数,当读取到数据的OH的位置时,所述第二计数清零;
根据所述第一计数与所述第二计数的大小,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系。
这里,接收端设置分别与待增加成员和原成员对应的第一计数器和第二计数器,由于OH在相应数据中是周期性出现的,通过第一计数器和第二计数器分别计算同一周期内待增加成员和原成员对应的缓存数据在OH的位置之后的读出数据的计数,对比两个计数的差值可以确定所述待增加成员和原成员的OH的位置之间的相对位置关系,如此,可以根据不同读取速率下对应获取到的所述待增加成员和原成员的缓存数据在同一周期内的OH的位置,从而确定在不同读取速率下所述待增加成员和原成员的OH的位置的相对位置关系的差值变化。
其中,接收端在确定待增加成员的OH到来时写入缓存中,在独享存储不为空时,按照设置的第一读取速率读取所述待增加成员对应的缓存数据,并对读出数据进行第一计数,待读取到OH时清空计数。从缓存中读取Group组内原成员对应的缓存数据,可读出数据的条件可以为所有原成员的OH都已经写入缓存中,读出的第一组数据须为OH标识。相应的,接收端按照设置的第二读取速率读取所属Group内原成员对应的缓存数据,一次读取包括从缓存中拉取每个原成员的一个数据,若其中一个原成员的数据为空,则放弃读,并等待数据非空时读出,每次读出一组数据第二计数增加1,待读取到OH时清空计数。接收端通过对比所述第一计数和所述第二计数的大小,可以确定所述待增加成员的OH位置与所述原成 员的OH位置的相对位置关系。
本申请上述实施例中,通过根据对待增加成员和原成员对应的缓存数据在每一周期内OH的位置之后的数据进行计数,利用数据中OH周期性出现的规律,当读取到数据的OH的位置时则相应计数清零,从而可以在对所述待增加成员或所述原成员的读取速率进行调整的过程中,能够获取对应在不同读取速率下,所述待增加成员和原成员对应的缓存数据在每一周期内OH的位置之后的数据的对应计数值,以确定所述待增加成员的OH位置与所述原成员的OH位置之间的相对位置关系。
在一些实施例中,所述根据所述第一计数与所述第二计数的大小,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系,包括:
当所述第一计数为零,所述第二计数大于阈值时,则确定所述待增加成员的OH的位置相对所述原成员超前;
当所述第一计数为零,所述第二计数小于或者等于所述阈值时,则确定所述待增加成员的OH的位置相对所述原成员落后。
这里,所述阈值根据数据中OH标识的设置间隔确定。以每隔1023*20*8个数据块插入一个OH标识为例,所述阈值可以为1023*20*8/2。请参阅图4,若待增加成员对应的读出数据为OH且计数为零,原成员对应读出数据的计数值大于阈值,如可以在(1023*20*8~1023*20*8/2)范围内时,说明待增加成员的OH的位置相对所述原成员超前;请参阅图5,若待增加成员对应的读出数据为OH且计数为零,原成员对应读出数据的计数值小于阈值,如可以在[1023*20*8、2~0)范围内时,说明待增加成员的OH的位置相对所述原成员落后。根据所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系,相应逐步调整所述待增加成员和所述原成员的读取效率,以减小所述待增加成员和所述原成员之间的数据skew的差值,直至所述待增加成员和所述原成员实现数据同步。
请参阅图6,为本申请实施例提供的一种灵活以太网FlexE中的成员动态处理方法,可应用于灵活以太网管理实体FlexE SHIM,该方法包括如下步骤:
步骤201,配置FlexE时隙表,根据待删除成员的头开销字节OH的位置,将所述待删除成员的业务配置为空业务;
这里,Group群组内各成员承载的业务是由时隙表配置确定的,时隙表是从OH位置开始分配每个时隙对应的业务数据。所述FlexE SHIM配置FlexE时隙表,根据待删除成员的头开销字节OH的位置,将所述待删除成员的业务配置为空业务,可以是所述FlexE SHIM将需要删除的待删除成员的业务配置为空业务,不承载有效业务,仅保留OH标记。
步骤203,将所述待删除成员所属群组的缓存数据的读取条件中将所述待删除成员剔除。
这里,所述FlexE SHIM将所述待删除成员剔除,可以是所述FlexE SHIM根据时隙表的配置,确定所述待删除成员具体对应为哪个成员,并将接收端从缓存中读取数据的读取条件配置为将该对应的成员剔除,从而不再判断该待删除成员的缓存数据的状态,由于该待删除成员上不再承载有效业务,数据可直接丢弃,从而在不影响业务流的情况下,可以实现对该删除成员的动态删除操作。所述FlexE SHIM将所述待删除成员从Group内删除后,停止该待删除成员上的操作,并将其设置为未使用成员可供其它Group增加调用。
本申请上述实施例中,在删除成员时,所述FlexE SHIM配置FlexE时隙表,根据待删除成员的头开销字节OH的位置,将所述待删除成员的业务配置为空业务,将所述待删除成员所属群组的缓存数据的读取条件中将所述待删除成员剔除,如此,可以通过配置待删除成员不再承载有效业务的方式,因待删除成员上不再承载有效业务数据可直接丢弃,确保不影响业务流的情况下,完成成员的动态删除操作,从而更好的满足网络传输 需求。
在一些实施例中,所述FlexE中的成员动态处理方法,还包括:
配置待增加成员所属群组,所述配置用于指示发送端根据分配到所述待增加成员的业务的位置,按照设置间隔插入OH。
这里,FlexE中动态增加成员时,接收端确定待增加成员所属群组之前,还包括所述FlexE SHIM配置待增加成员所属群组,如所述FlexE SHIM通过命令配置告知Group有新的成员加入。通过所述FlexE SHIM配置待增加成员所属群组,发送端根据分配到所述待增加成员的业务的位置,按照设置间隔插入OH标识;接收端根据所述配置确定待增加成员所属群组,并对待增加成员对应的数据中找到OH标识锁定后,将所述OH及后续的数据写入缓存中,以能够通过获取所述待增加成员和所述群组内原成员分别对应的缓存数据执行后续的动态增加步骤。
为了能够对本申请实施例所提供的FlexE中的成员动态处理方法的实现流程能够进一步具体的了解,下面结合三个可选的具体实施例进行说明,请参阅图7,以动态处理为动态增加为例,其中,FlexE中Group内绑定4个PHY成员(也可大于也可小于4个成员,以4成员为例),4个PHY成员共承载10个客户端口(也可大于10个客户端口或少于10个客户端口,以10个为例)。4个PHY成员均是满流量运行,因通讯网络传输需求,在本Group内,需要增加1个客户端口(也可增加多个客户端口),或者,10个客户端口中有一个或者多个端口的流量增大,4个成员均为满流量运行,无多余带宽承载新增客户端业务,此时可通过动态增加成员的方式,所述FlexE中的成员动态处理方法包括如下步骤:
步骤S11,FlexE SHIM配置待增加成员所属群组;如,FlexE SHIM通过命令配置告知Group有待增加成员将加入;
步骤S12,发送端在待增加成员上按照每隔1023*20*8个数据块插入 一个OH标识的标准插入OH。
步骤S13,接收端检测待增加成员的OH,待检测到OH后将OH及后续数据存入缓存区内,并从缓存区内读出数据并对读出数据个数进行计数;且接收端检测原成员的OH,待检测到OH后将OH及后续数据存入缓存区内,并从缓存区内读出数据并对读出数据个数进行计数;
步骤S14,接收端根据从缓存区中读出待增加成员的数据计数、以及读出原成员的数据计数进行对比,确定所述待增加成员OH与原成员OH之间的相对位置关系;
若所述待增加成员OH相对于原成员OH落后,则执行步骤S15;若所述待增加成员OH相对于原成员OH超前,则执行步骤S16;若所述待增加成员OH与原成员OH的位置相同,则执行步骤S17;
步骤S15,降低所述原成员对应的数据读取速率,直至所述待增加成员OH与原成员OH的位置相同,执行步骤S17;
步骤S16,降低所述待增加成员对应的数据读取速率,直至所述待增加成员OH与原成员OH的位置相同,执行步骤S17;
步骤S17,接收端根据相同的数据读取速率从缓存区读取所述待增加成员和原成员对应的缓存数据;
步骤S18,FlexE SHIM对所述待增加成员上分配客户端口业务,承载增加的流量。
请参阅图8,以动态处理为动态增加为例,其中,FlexE中Group内绑定4个PHY成员(也可大于或小于4个成员,以4成员为例),4个PHY成员共承载10个客户端口(也可大于10个客户端口或少于10个客户端口,以10个为例)。在网络传输过程中,某个PHY成员在传输途中由于受干扰源影响,稳定性较差,误码率较大,处于失效状态,但是可确保一段时间内干扰消失,失效状态可恢复正常。但受到干扰的影响,受影响的PHY成员的数据链路skew可能发生变化,与其他三个成员的OH的相对位置关系将发生变化,需要重新确定Group内OH的位置,在重新确定的 过程中,可通过动态增加成员的方式将要恢复的成员作为待增加成员增加到Group内,所述FlexE中的成员动态处理方法包括如下步骤:
步骤S21,接收端根据链路状态指示确定待恢复成员已恢复稳定,并确定所述待恢复成员所属群组;
步骤S22,接收端检测待恢复成员的OH,待检测到OH后将OH及后续数据存入缓存区内,并从缓存区内读出数据并对读出数据个数进行计数;且接收端检测原成员的OH,待检测到OH后将OH及后续数据存入缓存区内,并从缓存区内读出数据并对读出数据个数进行计数;
步骤S23,接收端根据从缓存区中读出待恢复成员的数据计数、以及读出原成员的数据计数进行对比,确定所述待恢复成员OH与原成员OH之间的相对位置关系;
若所述待恢复成员OH相对于原成员OH落后,则执行步骤S25;若所述待恢复成员OH相对于原成员OH超前,则执行步骤S26;若所述待恢复成员OH与原成员OH的位置相同,则执行步骤S27;
步骤S25,降低所述原成员对应的数据读取速率,直至所述待恢复成员OH与原成员OH的位置相同,执行步骤S27;
步骤S26,降低所述待恢复成员对应的数据读取速率,直至所述待恢复成员OH与原成员OH的位置相同,执行步骤S27;
步骤S27,接收端根据相同的数据读取速率从缓存区读取所述待恢复成员和原成员对应的缓存数据;
步骤S28,FlexE SHIM对所述待恢复成员上分配客户端口业务,承载失效之前的业务。
上述实施例中,所述待恢复成员即指动态增加成员操作过程中的待增加成员,实现在不影响Group内其它正常成员的情况下完成失效成员的恢复。
请参阅图9,以动态处理为动态删除为例,其中,FlexE中Group内 绑定4个PHY成员(也可大于或小于4个成员,以4成员为例),4个PHY成员共承载10个客户端口(也可大于10个客户端口或少于10个客户端口,以10个为例)。在网络传输过程中,10个客户端口的流量减小或者某些客户端口不再有数据流传输,总的流量减少,此时可以根据减少流量的大小适量去除Group内成员,去除的成员可被其他Group利用,在去除的过程中相当于在Group内删除一个成员,需要重新确定Group内OH的位置,在重新确定的过程中,可通过动态删除成员的方式,所述FlexE中的成员动态处理方法包括如下步骤:
步骤S31,FlexE SHIM将要删除的成员上的业务配置为空业务;其中,Group内成员承载的业务是由时隙表配置,时隙表是从OH位置开始分配每个时隙对应的业务数据。将需要删除的成员的业务配置为空业务,不承载有效业务,只保留OH标记。
步骤S32,FlexE SHIM将从缓存中读取数据的读取条件中将该要删除的成员剔除;其中,从缓存中读数据的读取条件中将该要删除的成员剔除,不判断此成员的缓存状态,因删除的成员上不再承载业务,数据可直接丢弃,不影响业务流,且不会影响其他的成员,最后完成PHY成员的无损删除。
本申请上述实施例提供的FlexE中的成员动态处理方法,在网络传输中增加或删除客户端口业务时,可不影响其他客户端口的正常工作的前提下,实现Group内成员的动态增加和删除操作,从而能够动态无损调整带宽的大小,提高网络传输的灵活性。
请参阅图10,本申请实施例另一方面提供一种接收端,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器;其中,所述处理器用于运行所述计算机程序时,执行本申请实施例所提供的应用于接收端的所述FlexE中的成员动态处理方法。为了便于区别描述,将所述接收端的存储器称为第一存储器503,且将所述接收端的处理器称为第一处理器501, 所述第一处理器501设置为运行所述计算机程序时,执行:一种灵活以太网FlexE中的成员动态处理方法,包括:根据待增加成员所属群组,获取所述待增加成员和所述群组内原成员分别对应的缓存数据的头开销字节OH的位置,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系;确定所述相对位置关系不满足设置条件时,对所述待增加成员或所述原成员的读取速率进行调整。
所述第一处理器501设置为运行所述计算机程序时,执行:确定所述相对位置关系满足所述设置条件时,则所述待增加成员和所述原成员实现数据同步。
所述第一处理器501设置为运行所述计算机程序时,执行:所述确定所述相对位置关系不满足设置条件时,对所述待增加成员或所述原成员的读取速率进行调整,包括:确定所述相对位置关系不满足设置条件时,对所述待增加成员或所述原成员的读取速率进行调整,并重新确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系;当所述相对位置关系仍然不满足设置条件时,返回所述对所述待增加成员或所述原成员的读取速率进行调整的步骤,直至所述相对位置关系满足所述设置条件。
所述第一处理器501设置为运行所述计算机程序时,执行:所述对所述待增加成员或所述原成员的读取速率进行调整,包括:确定所述待增加成员的OH位置相对所述原成员的OH位置超前时,降低所述待增加成员的读取速率;或者,确定所述待增加成员的OH位置相对所述原成员的OH位置落后时,降低所述原成员的读取速率。
所述第一处理器501设置为运行所述计算机程序时,执行:所述降低待增加成员的读取速率包括:将所述待增加成员的读取速率降低为当前速率的二分之一;所述降低原成员的读取速率包括:将所述原成员的读取速率降低为当前速率的二分之一。
所述第一处理器501设置为运行所述计算机程序时,执行:所述获取所述待增加成员和所述群组内原成员分别对应的缓存数据的头开销字节 OH的位置,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系,包括:按照设置的第一读取速率读取所述待增加成员对应的缓存数据,并对读出数据进行第一计数,当读取到数据的OH的位置时,所述第一计数清零;根据设置的第二读取速率读取所述群组内原成员对应的缓存数据,并对读出数据进行第二计数,当读取到数据的OH的位置时,所述第二计数清零;根据所述第一计数与所述第二计数的大小,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系。
所述第一处理器501设置为运行所述计算机程序时,执行:所述根据所述第一计数与所述第二计数的大小,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系,包括:当所述第一计数为零,所述第二计数大于阈值时,则确定所述待增加成员的OH的位置相对所述原成员超前;当所述第一计数为零,所述第二计数小于或者等于所述阈值时,则确定所述待增加成员的OH的位置相对所述原成员落后。
请参阅图11,本申请实施例另一方面还提供一种FlexE SHIM,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器;其中,所述处理器设置为运行所述计算机程序时,执行本申请实施例所提供的应用于FlexE SHIM的所述FlexE中的成员动态处理方法。为了便于区别描述,将所述FlexE SHIM的存储器称为第二存储器603,且将所述FlexE SHIM的处理器称为第二处理器601,所述第二处理器601设置为运行所述计算机程序时,执行:一种灵活以太网FlexE中的成员动态处理方法,包括:配置FlexE时隙表,根据待删除成员的头开销字节OH的位置,将所述待删除成员的业务配置为空业务;将所述待删除成员所属群组的缓存数据的读取条件中将所述待删除成员剔除。
所述第二处理器601设置为运行所述计算机程序时,执行:配置待增加成员所属群组,所述配置用于指示发送端根据分配到所述待增加成员的业务的位置,按照设置间隔插入OH。
上述实施例提供的接收端在进行FlexE中的成员动态增加、以及FlexE SHIM在进行FlexE中的成员动态删除时,可以根据需求而将对应方法中的步骤分配由不同的程序模块完成,即可以将对应存储器中所存储的计算机程序对应的虚拟装置的内部结构划分成多个程序模块,以完成以上描述的全部或部分处理。所述接收端和FlexE SHIM与对应的FlexE中的成员动态处理方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
请参阅图12,本发明实施例另一方面,还提供一种FlexE中的成员动态处理系统,包括FlexE SHIM11、发送端12和接收端13,所述FlexE SHIM11,设置为配置待增加成员所属群组;所述发送端12,设置为根据分配到所述待增加成员的业务的位置,按照设置间隔插入头开销字节OH;所述接收端13,设置为执行本申请实施例所提供的应用于接收端的所述FlexE中的成员动态处理方法,所述接收端可以是如图10所示的接收端。
其中,所述FlexE SHIM11,还设置为配置所述FlexE时隙表,根据待删除成员的头开销字节OH的位置,将所述待删除成员的业务配置为空业务;将所述待删除成员所属群组的缓存数据的读取条件中将所述待删除成员剔除。
其中,所述FlexE SHIM11,还设置为当所述待增加成员和所属群组内原成员实现数据同步时,对所述待增加成员分配业务端口。
本申请实施例另一方面还提供一种存储介质,例如包括存储有计算机程序的存储器,该计算机程序可以由处理器执行,以完成本申请任一实施例所提供的FlexE中的成员动态处理方法的步骤。该计算机存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局 限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。本发明的保护范围应以所述权利要求的保护范围以准。
工业实用性
上述实施例所提供的灵活以太网FlexE中的成员动态处理方法、系统、接收端、管理实体和存储介质,所述方法包括:在新增成员时,根据待增加成员所属群组,获取所述待增加成员和所述群组内原成员分别对应的缓存数据的头开销字节OH的位置,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系,确定所述相对位置关系不满足设置条件时,对所述待增加成员或所述原成员的读取速率进行调整,如此,可以通过对待增加成员或原成员的读取速率调整而相应增加原成员或待增加成员的路径延迟,相当于采用数据边传输边等的方式,确保原业务的正常传输的情况下,完成成员的动态增加操作,从而更好的满足网络传输需求。在删除成员时,配置FlexE时隙表,根据待删除成员的头开销字节OH的位置,将所述待删除成员的业务配置为空业务,将所述待删除成员所属群组的缓存数据的读取条件中将所述待删除成员剔除,如此,可以通过配置待删除成员不承载有效业务的方式,因待删除成员上不再承载有效业务数据可直接丢弃,确保不影响业务流的情况下,完成成员的动态删除操作,从而更好的满足网络传输需求。

Claims (15)

  1. 一种灵活以太网FlexE中的成员动态处理方法,包括:
    根据待增加成员所属群组,获取所述待增加成员和所述群组内原成员分别对应的缓存数据的头开销字节OH的位置,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系;
    确定所述相对位置关系不满足设置条件时,对所述待增加成员或所述原成员的读取速率进行调整。
  2. 如权利要求1所述的方法,其中,还包括:
    确定所述相对位置关系满足所述设置条件时,则所述待增加成员和所述原成员实现数据同步。
  3. 如权利要求1所述的方法,其中,所述确定所述相对位置关系不满足设置条件时,对所述待增加成员或所述原成员的读取速率进行调整,包括:
    确定所述相对位置关系不满足设置条件时,对所述待增加成员或所述原成员的读取速率进行调整,并重新确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系;
    当所述相对位置关系仍然不满足设置条件时,返回所述对所述待增加成员或所述原成员的读取速率进行调整的步骤,直至所述相对位置关系满足所述设置条件。
  4. 如权利要求1所述的方法,其中,所述对所述待增加成员或所述原成员的读取速率进行调整,包括:
    确定所述待增加成员的OH位置相对所述原成员的OH位置超前时,降低所述待增加成员的读取速率;或者,确定所述待增加成员的OH位置相对所述原成员的OH位置落后时,降低所述原成员的读取 速率。
  5. 如权利要求4所述的方法,其中,所述降低待增加成员的读取速率包括:将所述待增加成员的读取速率降低为当前速率的二分之一;
    所述降低原成员的读取速率包括:将所述原成员的读取速率降低为当前速率的二分之一。
  6. 如权利要求1所述的方法,其中,所述获取所述待增加成员和所述群组内原成员分别对应的缓存数据的头开销字节OH的位置,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系,包括:
    按照设置的第一读取速率读取所述待增加成员对应的缓存数据,并对读出数据进行第一计数,当读取到数据的OH的位置时,所述第一计数清零;
    根据设置的第二读取速率读取所述群组内原成员对应的缓存数据,并对读出数据进行第二计数,当读取到数据的OH的位置时,所述第二计数清零;
    根据所述第一计数与所述第二计数的大小,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系。
  7. 如权利要求6所述的方法,其中,所述根据所述第一计数与所述第二计数的大小,确定所述待增加成员的OH位置与所述原成员的OH位置的相对位置关系,包括:
    当所述第一计数为零,所述第二计数大于阈值时,则确定所述待增加成员的OH的位置相对所述原成员超前;
    当所述第一计数为零,所述第二计数小于或者等于所述阈值时, 则确定所述待增加成员的OH的位置相对所述原成员落后。
  8. 一种接收端,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器;其中,
    所述处理器设置为运行所述计算机程序时,执行权利要求1至7中任一项所述的灵活以太网FlexE中的成员动态处理方法。
  9. 一种灵活以太网FlexE中的成员动态处理方法,包括:
    配置FlexE时隙表,根据待删除成员的头开销字节OH的位置,将所述待删除成员的业务配置为空业务;
    将所述待删除成员所属群组的缓存数据的读取条件中将所述待删除成员剔除。
  10. 如权利要求9所述的方法,其中,还包括:
    配置待增加成员所属群组,所述配置用于指示发送端根据分配到所述待增加成员的业务的位置,按照设置间隔插入OH。
  11. 一种灵活以太网管理实体FlexE SHIM,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器;其中,
    所述处理器设置为运行所述计算机程序时,执行权利要求9或10所述的灵活以太网FlexE中的成员动态处理方法。
  12. 一种灵活以太网FlexE中的成员动态处理系统,包括灵活以太网管理实体FlexE SHIM、发送端和接收端,
    所述FlexE SHIM,设置为配置待增加成员所属群组;
    所述发送端,设置为根据分配到所述待增加成员的业务的位置,按照设置间隔插入头开销字节OH;
    所述接收端,设置为执行权利要求1至7中任一项所述的灵活以太网FlexE中的成员动态处理方法。
  13. 如权利要求12所述的系统,其中,所述FlexE SHIM,还设置为配置所述FlexE时隙表,根据待删除成员的头开销字节OH的位置,将所述待删除成员的业务配置为空业务;将所述待删除成员所属群组的缓存数据的读取条件中将所述待删除成员剔除。
  14. 如权利要求12所述的系统,其中,所述FlexE SHIM,还设置为当所述待增加成员和所属群组内原成员实现数据同步时,对所述待增加成员分配业务端口。
  15. 一种存储介质,所述存储介质中存储有可执行指令,所述可执行指令被处理器执行时实现权利要求1至7中任一项所述的灵活以太网FlexE中的成员动态处理方法、或者所述可执行指令被处理器执行时实现权利要求9或10所述的灵活以太网FlexE中的成员动态处理方法。
PCT/CN2019/109968 2018-12-18 2019-10-08 成员动态处理方法、系统、接收端、管理实体及存储介质 WO2020125154A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811548878.3 2018-12-18
CN201811548878.3A CN111342983B (zh) 2018-12-18 2018-12-18 成员动态处理方法、系统、接收端、管理实体及存储介质

Publications (1)

Publication Number Publication Date
WO2020125154A1 true WO2020125154A1 (zh) 2020-06-25

Family

ID=71102922

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/109968 WO2020125154A1 (zh) 2018-12-18 2019-10-08 成员动态处理方法、系统、接收端、管理实体及存储介质

Country Status (2)

Country Link
CN (1) CN111342983B (zh)
WO (1) WO2020125154A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114726733B (zh) * 2022-03-16 2024-04-26 轻舟微电子(杭州)有限公司 一种基于ram实现无损增删FlexE成员的方法

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140164634A1 (en) * 2012-11-30 2014-06-12 Yamaha Corporation Apparatus and method for determining buffer size of network reception buffer, and network session system
CN106850465A (zh) * 2016-12-27 2017-06-13 深圳市海思半导体有限公司 一种Flex E数据交换方法及交换设备
CN107204941A (zh) * 2016-03-18 2017-09-26 中兴通讯股份有限公司 一种灵活以太网路径建立的方法和装置
CN108156074A (zh) * 2016-12-02 2018-06-12 华为技术有限公司 保护倒换方法、网络设备及系统
CN108631908A (zh) * 2017-03-21 2018-10-09 中兴通讯股份有限公司 使用FlexE承载信号帧的方法、FlexE信号帧还原的方法及装置
CN108809674A (zh) * 2017-04-28 2018-11-13 华为技术有限公司 配置链路组的方法和设备
CN108988977A (zh) * 2017-05-31 2018-12-11 中兴通讯股份有限公司 一种灵活以太网协议中传递业务流的方法、装置和系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9800361B2 (en) * 2015-06-30 2017-10-24 Ciena Corporation Flexible ethernet switching systems and methods
CN106612203A (zh) * 2015-10-27 2017-05-03 中兴通讯股份有限公司 一种处理灵活以太网客户端数据流的方法及装置
CN107888516B (zh) * 2016-09-29 2021-05-11 中兴通讯股份有限公司 一种承载业务的方法、设备和系统

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140164634A1 (en) * 2012-11-30 2014-06-12 Yamaha Corporation Apparatus and method for determining buffer size of network reception buffer, and network session system
CN107204941A (zh) * 2016-03-18 2017-09-26 中兴通讯股份有限公司 一种灵活以太网路径建立的方法和装置
CN108156074A (zh) * 2016-12-02 2018-06-12 华为技术有限公司 保护倒换方法、网络设备及系统
CN106850465A (zh) * 2016-12-27 2017-06-13 深圳市海思半导体有限公司 一种Flex E数据交换方法及交换设备
CN108631908A (zh) * 2017-03-21 2018-10-09 中兴通讯股份有限公司 使用FlexE承载信号帧的方法、FlexE信号帧还原的方法及装置
CN108809674A (zh) * 2017-04-28 2018-11-13 华为技术有限公司 配置链路组的方法和设备
CN108988977A (zh) * 2017-05-31 2018-12-11 中兴通讯股份有限公司 一种灵活以太网协议中传递业务流的方法、装置和系统

Also Published As

Publication number Publication date
CN111342983A (zh) 2020-06-26
CN111342983B (zh) 2022-07-12

Similar Documents

Publication Publication Date Title
KR102339054B1 (ko) 플렉서블 이더넷에 기초하여 서비스 플로우를 송신하는 방법, 장치, 및 통신 시스템
US11528169B2 (en) Method for adjusting PHY in FlexE group, related device, and storage medium
WO2017133623A1 (zh) 一种数据流处理方法、装置和系统
US11108485B2 (en) Clock synchronization method and apparatus
KR20200003002A (ko) 링크 그룹을 구성하는 방법 및 디바이스
WO2019042124A1 (zh) 一种通信方法、设备及存储介质
WO2019024930A1 (zh) 建立灵活以太网路径的方法和网络设备
EP3618374A1 (en) Data transmission methods, devices, apparatuses, and system
EP2954424B1 (en) Method, device, and system for peer-to-peer data replication and method, device, and system for master node switching
WO2021109705A1 (zh) 灵活以太网组的管理方法、设备及计算机可读存储介质
WO2020125154A1 (zh) 成员动态处理方法、系统、接收端、管理实体及存储介质
WO2020043161A1 (zh) 一种传输业务的方法和装置
CN112804276B (zh) 虚拟化宽带远程接入服务器及其控制方法、通信系统
WO2023273080A1 (zh) 通用通信通道数据传输方法、光网络设备和存储介质
EP2798790B1 (en) Compression method for tdm frames in a packet network
WO2019174424A1 (zh) 链路容量调整方法及装置、系统、控制器、网络节点
CN102332997B (zh) 一种网络设备及其进行链路容量调整的方法
WO2022021409A1 (zh) 灵活以太网组中物理接口调整方法和设备
US20150229423A1 (en) Procedure, apparatus, and computer program for reducing a probability of fragmentation when supporting virtual concatenation (vcat) services
CN117202271A (zh) 一种带宽调整方法、装置及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19897704

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19897704

Country of ref document: EP

Kind code of ref document: A1