Ethernet pcs data transmission method and system

By dividing the Ethernet interface into sub-time slots and configuring them flexibly, the problems of bandwidth loss and adjustment step limitations in the prior art are solved, achieving high security and flexibility to adapt to the Ethernet interface requirements of different speeds.

CN117320082BActive Publication Date: 2026-05-08NEW H3C TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NEW H3C TECH CO LTD
Filing Date
2023-09-25
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Existing technologies in Ethernet interfaces suffer from bandwidth loss, non-adjustable minimum granularity, and limited bandwidth adjustment steps, especially when SPN technology is combined with FlexE, failing to meet the requirements for high security and flexibility.

Method used

By defining the maximum number of subslots X between delimited marker blocks DM, and calculating the adjustment ratio N based on the physical port bandwidth and subslot rate of the transmitting device, subslots are divided. The transmitting device and the peer device exchange bandwidth configuration and switching information, thereby realizing flexible configuration and adjustment of subslot bandwidth.

Benefits of technology

It achieves minimized bandwidth loss, deterministic latency, and high security. The sub-slot bandwidth can be flexibly adjusted to adapt to the Ethernet interface requirements of different rates and supports flexible partitioning of bandwidth granularity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117320082B_ABST
    Figure CN117320082B_ABST
Patent Text Reader

Abstract

The present specification provides an Ethernet PCS data transmission method and system, comprising defining the maximum number of subslots between two DMs as X; according to the physical port rate phy and the desired rate Subslot , obtaining an adjustment ratio N; taking N as the number of current subslots, sequentially dividing the DMs to obtain a subslot ID; according to the service channel data transmission bandwidth requirement, configuring the bandwidth based on the rate Subslot ; and the sending side device determines that the type of the delimiter block DM is a configuration code block, and performs bandwidth configuration and bandwidth configuration switching with the opposite device. The channel divided by the embodiment has the characteristics of physical isolation, delay determination and high security. The service channel bandwidth can be dynamically adjusted without loss; the physical bandwidth has almost no loss; the bandwidth granularity can be flexibly adjusted, and can adapt to all rate Ethernet interfaces.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the technical field, and in particular to an Ethernet PCS data transmission method and system. Background Technology

[0002] In recent years, 5G technology has matured and has been widely applied in industries such as the Internet of Things, big data, artificial intelligence, and cloud computing. Currently, 5G networks are increasingly integrating with vertical industries, such as power, healthcare, and manufacturing. Many complex application scenarios place significant demands on the bearer network, with low bandwidth, deterministic latency, high security, and high reliability becoming increasingly crucial technologies.

[0003] Ethernet speeds have now reached 100 gigabits and above. However, many industry applications do not have high bandwidth requirements, but rather high requirements for latency, security, and other characteristics. Traditional Ethernet uses virtual sub-interfaces (such as virtual LAN technology) to divide a high-speed Ethernet interface into multiple low-speed sub-interfaces. However, this method has problems such as mutual interference between sub-interfaces, large latency jitter, and security vulnerabilities.

[0004] To the inventor's knowledge, the existing technology is SPN (Slicing Packet Network) technology proposed by China Mobile. SPN is an innovative technology system proposed by China Mobile for 5G transport, a new generation of converged transport network architecture based on a sliced ​​Ethernet core. It has technical advantages such as low latency, high bandwidth, ultra-high precision synchronization, and flexible management and control. At the same time, SPN is compatible with the Ethernet ecosystem and has the characteristics of low cost and easy deployment. SPN Fine Granularity Unit (FGU) technology inherits the high-efficiency Ethernet core of SPN and integrates fine-grained slicing technology into the overall SPN architecture, providing low-cost, fine-grained, hard-isolated small-granularity transport pipelines, refining the granularity of hard slices from 5Gbps to 10Mbps. Combined with SDN centralized management and control, it realizes open, agile, and refined network operation. For specific technical implementation, please refer to the relevant SPN protocols, which will not be elaborated here. However, the existing technology has the following limitations: (1) approximately 3% bandwidth loss; (2) the minimum granularity cannot be adjusted; (3) when SPN is used in conjunction with FlexE, the bandwidth adjustment step is limited; in the range of 10M to 5G, the step is 10M; above 5G, the step is 5G; there is no bandwidth such as 6G. Summary of the Invention

[0005] To overcome the problems existing in related technologies, this specification provides an Ethernet PCS data transmission method and system.

[0006] According to a first aspect of the embodiments of this specification, an Ethernet PCS data transmission method is provided, the method comprising:

[0007] Define X as the maximum number of subslots between two delimited marker blocks DM;

[0008] Based on the Ethernet bandwidth Rate of the physical port within the transmitting device phy and the desired sub-slot bandwidth rate. Subslot The adjustment ratio N is obtained, where N = Rate phy / Rate Subslot And N is divisible by X;

[0009] Using N as the number of subslots to divide the current sub-slot, starting from Subslot0 after the delimiting marker block DM and proceeding sequentially up to SubslotN-1, the process is repeated.

[0010] Based on the sub-timeslot bandwidth rate according to the data transmission bandwidth requirements of the service channel. Subslot Configure bandwidth;

[0011] Once the sending device determines that the type of the delimiter block (DM) is a configuration code block, it sends a request for bandwidth configuration and bandwidth configuration switching to the peer device.

[0012] The peer device determines whether to perform bandwidth configuration and bandwidth configuration switching based on the bandwidth configuration and bandwidth configuration switching information sent by the sending device, and performs bandwidth configuration and bandwidth configuration switching if the conditions are met.

[0013] Preferably, the transmitting device determines that the type of the delimiter block DM is a gcc code block and performs general data transmission.

[0014] Preferably, the bandwidth requirement of the service channel is based on the sub-slot bandwidth rate. Subslot Configure bandwidth, including obtaining the number of subslots required for data transmission = service channel data transmission bandwidth / subslot bandwidth rate. Subslot .

[0015] Preferably, the bandwidth configuration of the peer device meets the following conditions:

[0016] The transmitting device sends the Subslot ID and the service channel client ID from its own DM code block to the peer device;

[0017] The peer device checks whether the received Subslot ID and Service Channel Client ID are consistent with its own.

[0018] Preferably, the process by which the peer device detects whether the received Subslot ID matches its own includes:

[0019] The sending device sends the Subslot configuration information to the peer device;

[0020] The peer device uses the maximum Subslot ID+1 received from the delimiter block as the number of subslots to divide the time slot;

[0021] If the number of subslots received by the peer device is the same as the number of its own subslots, then the subslot IDs are considered to be the same.

[0022] Preferably, the conditions for the peer device to switch bandwidth configurations include:

[0023] If the peer device detects that the Subslot ID and Service Channel Client ID in the DM code block sent by the transmitting device are consistent with its own, it sends a configuration switching response message;

[0024] After receiving the configuration handover response information, the transmitting device sends a handover marker information to the peer device;

[0025] Both devices simultaneously switch bandwidth configurations in the next delimiter block (DM).

[0026] If the peer device detects that the Subslot ID and Service Channel Client ID in the DM code block sent by the transmitting device are inconsistent with its own, it will report an error alarm.

[0027] Preferably, the bandwidth adjustment of each network element node in the network includes:

[0028] The current network element node includes the currently used bandwidth configuration and the backup configuration information of the next network element node connected to the current network element node;

[0029] If the current network element node has the configuration switching request information set to valid, it sends the corresponding backup configuration information to the next network element node, and sets the configuration switching information to invalid after sending the backup configuration information;

[0030] The next network element node compares the received backup configuration information with its own configuration information.

[0031] If the configuration information is consistent, a configuration switching response message is sent to the current network element node, and the configuration switching response error message is set to invalid.

[0032] After receiving the configuration handover response information, the current network element node sends the handover marker information to the next network element node; and starts the configuration handover at the boundary of the next delimiter block (DM).

[0033] After the next network element node receives the handover marker information, both sides simultaneously begin the configuration handover at the next DM boundary;

[0034] If the configuration information is inconsistent, the configuration switching response information is sent to the current network element node, the configuration switching response error information is set to valid, and the error alarm information is reported.

[0035] Preferably, based on the physical port Ethernet bandwidth Rate phy and the desired sub-slot bandwidth rate. Subslot The Ethernet bandwidth is divided into sub-slot bandwidth cascading modes, including:

[0036] Ethernet bandwidth rate via physical port phy The first-level sub-slot bandwidth rate, Rate, is obtained by adjusting the first-level adjustment ratio N1. Subslot1 ;

[0037] Through the first-level sub-slot bandwidth rate Rate Subslot1 And the second-level adjustment ratio N2, to obtain the desired sub-slot bandwidth rate Rate. Subslot ;

[0038] Where N1*N2=Rate phy / Rate Subslot Both N1 and N2 are divisible by X.

[0039] A second aspect of this application provides an Ethernet PCS data transmission system, including a transmitting-side device and a receiving-side device, comprising:

[0040] The transmitting device defines X as the maximum number of subslots between two delimiter blocks (DM); this is used to determine the Ethernet bandwidth rate of the physical ports within the device. phy and the desired sub-slot bandwidth rate. Subslot Adjust the ratio N, where N = Rate phy / Rate Subslot And N is divisible by X; N is used as the number of subslots to divide the current subslots, starting from Subslot0 after the delimiter block DM and proceeding sequentially to SubslotN-1, repeating the cycle; the type of the delimiter block DM is determined to be a configuration code block, and bandwidth configuration and bandwidth configuration switching information are sent to the peer device;

[0041] The peer device is used to determine whether to perform bandwidth configuration and bandwidth configuration switching based on the bandwidth configuration and bandwidth configuration switching information sent by the sending device; when it determines that its own bandwidth configuration and bandwidth configuration switching information are consistent with those of the sending device, it performs bandwidth configuration switching.

[0042] The technical solutions provided in the embodiments of this specification may include the following beneficial effects:

[0043] This specification describes an embodiment where multiple smaller bandwidth channels are created from the existing Ethernet interface. The number of sub-time slots and their bandwidth rates are allocated according to the actual bandwidth requirements of the service channels for Ethernet PCS data transmission. The created channels are physically isolated, with deterministic latency and high security. Service channel bandwidth can be dynamically adjusted without loss; service channel bandwidth loss is almost nonexistent; bandwidth granularity can be flexibly adjusted to adapt to Ethernet interfaces of all speeds; bandwidth increments are flexible, allowing for arbitrary allocation of the required bandwidth size.

[0044] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this specification. Attached Figure Description

[0045] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this specification and, together with the description, serve to explain the principles of this specification.

[0046] Figure 1 This is a flowchart illustrating a method according to an exemplary embodiment of this specification;

[0047] Figure 2 This is a schematic diagram of sub-slot division shown in an exemplary embodiment of this specification;

[0048] Figure 3 This is a flowchart illustrating the bandwidth configuration consistency detection process of both devices as shown in an exemplary embodiment of this specification;

[0049] Figure 4 This is a schematic diagram illustrating the bandwidth configuration switching process in an exemplary embodiment of this specification;

[0050] Figure 5 This is a flowchart illustrating the bandwidth adjustment process of network element nodes in a network, as shown in an exemplary embodiment of this specification.

[0051] Figure 6 This is a network topology diagram illustrated in this specification based on exemplary embodiments;

[0052] Figure 7 This is a schematic diagram illustrating a cascading application scenario according to an exemplary embodiment of this specification. Detailed Implementation

[0053] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this specification. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this specification as detailed in the appended claims.

[0054] The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to be limiting of this specification. The singular forms “a,” “the,” and “the” as used in this specification and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

[0055] It should be understood that although the terms first, second, third, etc., may be used in this specification to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this specification, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."

[0056] This application provides an Ethernet PCS data transmission method, applied between a sending device and a peer device. For example... Figure 1 As shown, the method includes:

[0057] 101: Define the maximum number of subslots between two delimited marker blocks (DM) as X;

[0058] A time slot is the smallest unit for transmitting summarized information in circuit switching. It is a time slice in Time Division Multiplexing (TDM). A sub-time slot represents one of those time slices.

[0059] For example, in this embodiment, the maximum number of subslots is 8000. Of course, other values ​​can be used depending on the actual situation. This is just an example.

[0060] 102: Based on the Ethernet bandwidth Rate of the physical port of the transmitting device. phy And the desired sub-slot bandwidth rate. Subslot The adjustment ratio N is obtained, where N = Rate phy / Rate Subslot And N is divisible by X;

[0061] In this embodiment, data transmission is performed through the PCS physical port. PCS refers to the Physical Coding Sublayer.

[0062] For example: Ethernet bandwidth Rate of a physical port phy If the bandwidth is 10Gbps, then N=1000, and the desired sub-slot bandwidth rate is... Subslot =100Mbps.

[0063] By adjusting the ratio N, the granularity can be adjusted relatively freely, simplifying the actual configuration and greatly increasing the flexibility of use.

[0064] A subslot N comprises multiple subcode blocks N. A subcode block is a data block encoded in 64-bit or 66-bit format, typically 66 bits per block. Here, we take 1 Subslot = 4 * subslots as an example.

[0065] For example, a subslot0 consists of four subcode blocks named subslot0.

[0066] The delimiter block (DM) here does not participate in actual data transmission; it is used for bandwidth configuration and data transmission, etc. See Tables 1 and 2 for reference:

[0067] Table 1

[0068]

[0069] Table 2

[0070] Table 1 shows the definition information of DM when M code is 0; Table 2 shows the definition information of DM when M code is 1.

[0071] The parameters in the two tables above are defined as follows:

[0072] 0x4B: Block type of PCS code block O.

[0073] M: 1 bit, DM block type. 0 indicates DM is used as a configuration block, and 1 indicates DM is used as a gcc block.

[0074] CR: 1 bit, configures the switching request.

[0075] CA: 1 bit, configuration switch response.

[0076] E: 1 bit, configuration switch response error.

[0077] C: 1 bit, configuration switch flag.

[0078] RF: 1 bit, remote PHY error. This flag is set to notify the local end when the remote PHY is malfunctioning.

[0079] 0xB: Control code for O code, default is 0xB, configurable.

[0080] res: Reserved, fill in all 0s.

[0081] CRC8: The checksum of bits other than 0x4B, i.e., bits [10:57]; for example, the generator polynomial of CRC8 can be g(x)=x^8+x^2+x+1. Of course, this is just an example and does not constitute a limitation on the scope of protection applied for.

[0082] When M is 0, DM is the configuration code block, mainly used to configure transmission and bandwidth switching. The special fields are explained as follows:

[0083] Subslot: 14 bits, subslot ID.

[0084] client: 14 bits, the service channel client ID corresponding to the application sub-slot, fill in all 1s for unused slots.

[0085] For example, data from service channel 2 is transmitted through sub-slots 0 to 3.

[0086] When M is 1, the DM code block is a gcc code block, mainly used for transmitting general information. The special fields are explained as follows:

[0087] gcc data: 33 bits, a gcc code block used to transmit general data information.

[0088] S: 1 bit, sequence marker of the GCC code block.

[0089] When the DM code block is a gcc code block, general data transmission is performed. For details, please refer to Tables 3 and 4.

[0090] Suppose we need to send a GCC message, with message code block 66'h1_12345678_12345678. Two DM code blocks are required to complete the transmission. The specific values ​​to be filled in the DM code blocks are:

[0091] First DM code block:

[0092]

[0093] Table 3

[0094] Second DM code block:

[0095]

[0096] Table 4

[0097] 103: Using N as the number of subslots to divide the current time slot, starting from Subslot0 after the delimiter block DM and proceeding sequentially to SubslotN-1, repeating the cycle.

[0098] Taking N = 1000 and X = 8000 as an example, first, a delimiter block DM is set. Then, in sequence, 4 subslot0 blocks, 4 subslot1 blocks, 4 subslot2 blocks, ..., 4 subslotN-1 blocks, 4 subslot0 blocks, 4 subslot1 blocks, 4 subslot2 blocks, ..., 4 subslotN-1 blocks, until there are 4 * 8000 = 32000 subcode blocks. Then, a second delimiter block is set, and so on. See the detailed reference. Figure 2 As shown in the example, since there is one DM block every 32001 blocks, and the DM block does not participate in actual data transmission, the bandwidth loss for each channel is 1 / 32001 = 0.00312%, which can be easily adjusted by adding or removing IDLE blocks. This is also why the bandwidth of the service channel is almost unaffected.

[0099] This protocol is applicable to all Ethernet interface speeds and also supports the FlexE protocol.

[0100] 104: Based on the sub-timeslot bandwidth rate according to the data transmission bandwidth requirements of the service channel. Subslot Configure bandwidth;

[0101] The number of subslots required for data transmission = service channel data transmission bandwidth / subslot bandwidth rate. subslot .

[0102] For example: The data transmission bandwidth of the service channel is the sub-timeslot bandwidth rate. Subslot A multiple of. The service channel data transmission bandwidth is 400Mbps, and the sub-timeslot bandwidth rate is [Rate]. Subslot =100Mbps, service channel number is 2. Therefore, four sub-time slots from Subslot0 to Subslot3 can be used for bandwidth configuration and bandwidth configuration switching, and the client ID is 2.

[0103] 105: The transmitting device determines that the type of the delimiter block (DM) is a configuration code block, and performs bandwidth configuration and bandwidth configuration switching with the peer device;

[0104] The M code of the Delimiter Block (DM) is used to determine the type of DM. Based on the aforementioned definition of DM, when the M code is 0, the DM acts as a configuration block, used for bandwidth configuration and switching with the peer device. When the M code is 1, the DM acts as a GCC block, used for general data transmission.

[0105] 106: The peer device determines whether to perform bandwidth configuration and bandwidth configuration switching based on the bandwidth configuration and bandwidth configuration switching information sent by the sending device, and performs bandwidth configuration and bandwidth configuration switching if the conditions are met.

[0106] The peer device determines whether to perform bandwidth configuration and bandwidth configuration switching by comparing its own Subslot ID and client ID with the Subslot ID and client ID sent by the sending device.

[0107] This application embodiment divides the existing Ethernet interface into multiple smaller bandwidth channels, and allocates the number of sub-time slots and their bandwidth rates according to the actual bandwidth requirements of the service channels for Ethernet PCS data transmission. Time-division multiplexing is used to distinguish which sub-time slot each sub-block belongs to. The divided channels have physical isolation, deterministic delay, and high security. The service channel bandwidth can be dynamically adjusted without loss; the service channel bandwidth has almost no loss; the bandwidth granularity can be flexibly adjusted to adapt to Ethernet interfaces of all rates; the bandwidth step is flexible, and the required bandwidth size can be arbitrarily allocated.

[0108] As mentioned earlier, the client ID in the sent configuration information is the service channel number, so it is only necessary to compare whether the client IDs of both parties are the same. However, comparing the Subslot ID is not feasible because the bandwidth of the service channel may need to be transmitted through two or more subslots, making a one-to-one comparison impossible. Therefore, this application provides a method for comparison based on the number of subslots obtained from the Subslot ID, as detailed below.

[0109] like Figure 3 As shown, the process by which the peer device detects whether the received Subslot ID matches its own includes:

[0110] 301: The sending device sends the Subslot configuration information to the peer device;

[0111] 302: The peer device uses the maximum Subslot ID+1 received from the delimiter block as the number of subslots to divide the time slot;

[0112] For example, if the largest Subslot ID received by the peer device is 999, then the number of subslots divided is 1000.

[0113] 303: If the number of subslots received by the peer device is the same as the number of its own subslots, then the subslot IDs are considered to be the same.

[0114] like Figure 4 As shown, the conditions for the peer device to switch bandwidth configurations include:

[0115] 401: If the peer device detects that the Subslot ID and Service Channel Client ID in the DM code block sent by the transmitting device are consistent with its own, it sends a Configuration Switching Response (CA) message.

[0116] After the sending device sends the bandwidth configuration information to be configured, it sends a configuration switching request (CR) to the peer device. The peer device confirms the consistency of the client ID and the subslot ID by comparing them and then sends a configuration switching response (CA).

[0117] 402: After receiving the configuration handover response information CA, the sending device sends handover marker information C to the peer device;

[0118] 403: Both devices simultaneously switch bandwidth configurations at the next delimiter block (DM).

[0119] 404: If the peer device detects that the Subslot ID and Service Channel Client ID in the DM code block sent by the transmitting device are inconsistent with its own, it will report an error alarm message.

[0120] like Figure 5 As shown, the bandwidth adjustment for each network element node in the network includes:

[0121] 501: The current network element node includes the currently used bandwidth configuration and the backup configuration information of the next network element node connected to the current sending-side network element node;

[0122] Compared to the above, the current network element node is equivalent to the sending side device, and the next network element node is equivalent to the peer device.

[0123] It should be noted that the physical port of the current network element node is connected to the physical ports of different next network element nodes, and the backup information between different physical ports can be different.

[0124] like Figure 6As shown, for example, if physical port 1 of the current network element node A is connected to physical port 2 of the next network element node B, and physical port 2 of the current network element node A is connected to physical port 3 of the next network element node C, then the current bandwidth configuration for the current network element node A is 10Mbps, the backup configuration for physical port 1 is 50Mbps, and the backup configuration for physical port 2 is 100Mbps. This demonstrates that different physical ports of the primary network element node (the current network element node) can be configured with different bandwidth rates.

[0125] 502: If the current network element node has the configuration switch request information CR set to valid, it sends the corresponding backup configuration information to the next network element node, and after sending the backup configuration information, it sets the configuration switch request information CR to invalid.

[0126] 503: The next network element node compares the received backup configuration information with its own configuration information;

[0127] 504: If the configuration information is consistent, then respond with configuration handover response information CA to the current network element node, and set the configuration handover response error information E to invalid;

[0128] 505: After receiving the configuration handover response information CA, the current network element node sends the handover marker information C to the next network element node and starts the configuration handover at the boundary of the next delimiter block DM;

[0129] 506: After the next network element node receives the handover marker information C, both sides simultaneously begin the handover configuration at the boundary of the next DM;

[0130] 507: If the configuration information is inconsistent, the configuration handover response information CA will be sent to the current network element node, and the configuration handover response error information E will be set to valid, and an error alarm information will be reported.

[0131] If the physical link speed is too high, but the minimum required number of channels is small, then multiple modules can be cascaded to allocate a smaller bandwidth. Therefore, this provides a cascading application scenario.

[0132] like Figure 7 As shown, based on the physical port Ethernet bandwidth Rate phy and the desired sub-slot bandwidth rate. Subslot The Ethernet bandwidth is divided into sub-slot bandwidth cascading modes, including:

[0133] 701: Ethernet bandwidth rate via physical port phy The first-level sub-slot bandwidth rate, Rate, is obtained by adjusting the first-level adjustment ratio N1. Subslot1 ;

[0134] 702: Bandwidth Rate via First-Level Sub-Slot Subslot1 And the second-level adjustment ratio N2, to obtain the desired sub-slot bandwidth rate Rate. Subslot Where N1*N2 = Rate phy / Rate Subslot Both N1 and N2 are divisible by X.

[0135] For example, if the physical port is 100Gbps and the minimum required speed is 100Kbps, and there is only one level module, then N needs to be 10. 6 This far exceeds the range of N values. In this case, we can adopt a dual-module cascade approach. The first-level module can have N set to 1000, which divides the minimum rate to 100Mbps. The second-level module can have N set to 1000, which divides the minimum 100Mbps of the first level into 100Kbps. This approach is simple to implement and easy to expand.

[0136] The following is an example based on the above embodiments.

[0137] Example 1:

[0138] The following example illustrates an application scenario: On a 10GE Ethernet network, the minimum channelization is supported to 10Mbps, meaning the smallest sub-time slot is divided into 10Mbps segments. In this scenario, the values ​​for the parameters are: Rate phy It is the standard rate of 10GE Ethernet, 10Gbps (excluding synchronization header overhead); N is 1000.

[0139] Suppose we need to create a 10Mbps service channel, numbered 1. This channel can be placed on Subslot 0. Data for this service channel will only be transmitted in the four code blocks corresponding to Subslot 0, filled in according to the normal Ethernet code block transmission order. Other code blocks will not transmit data for this channel. For the DM code block, the configuration information for Subslot 0 is normally transmitted, as shown in Table 5:

[0140]

[0141] Table 5

[0142] The client values ​​for other Subslots are all 1s, indicating that they are not used.

[0143] Example 2:

[0144] Based on the above, if another 100Mbps service channel, numbered 2, needs to be added, this channel will be mapped to Subslot 1 through Subslot 10. Then, the relevant configurations at both ends of the port will be updated, and data from channel 2 will be transmitted on the corresponding code blocks in Subslots 1 through 10. For the delimiter DM, under normal circumstances, the configuration information for Subslots 1 through 10 (Subslot 0 configuration remains unchanged) is transmitted, as shown in Table 6 below:

[0145]

[0146] Table 6

[0147] The information for Subslots 2 through 10 is similar, mainly differing in that the client field is 2. For other Subslots, the client value is all 1s, indicating that it is not used.

[0148] Example 3:

[0149] Based on the above, if the bandwidth of service channel 1 needs to be increased from 10Mbps to 50Mbps, then 4 more subslots need to be allocated, assuming subslots 20-23 are specified. Referring to the bandwidth adjustment process described above, after the configuration updates at both ends are completed in the first step, the master node begins to send the updated configuration. The fields of the DM code block are shown in Table 7 below:

[0150]

[0151]

[0152] Table 7

[0153] The configurations for Subslots 21 to 23 are similar. The subsequent steps will be executed according to the bandwidth switching process. The specific values ​​of each field will not be described in detail here.

[0154] This application embodiment also provides an Ethernet PCS data transmission system, including a transmitting-side device and a receiving-side device, including:

[0155] The transmitting-side device is used to define the maximum number of subslots between two delimited marker blocks (DMs) as X; and to determine the Ethernet bandwidth rate based on the physical port within the device. phy and the desired sub-slot bandwidth rate. Subslot Adjust the ratio N, where N = Rate phy / Rate SubslotAnd N is divisible by X; for each of the 4*X sub-code blocks, a delimiting block DM is set; N is used as the number of subslots to divide the current sub-time slot, and after the delimiting block DM, starting from Subslot0 and proceeding sequentially to SubslotN-1, repeating the cycle; the type of the delimiting block DM is determined to be a configuration code block, and bandwidth configuration and bandwidth configuration switching information are sent to the peer device;

[0156] The peer device is used to determine whether to perform bandwidth configuration and bandwidth configuration switching based on the bandwidth configuration and bandwidth configuration switching information sent by the sending device; when it determines that its own bandwidth configuration and bandwidth configuration switching information are consistent with those of the sending device, it performs bandwidth configuration switching.

[0157] In all the above embodiments, Subslot refers to a sub-time slot, while subslot refers to a sub-code block.

[0158] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0159] Other embodiments of this specification will readily occur to those skilled in the art upon consideration of the specification and practice of the invention claimed herein. This specification is intended to cover any variations, uses, or adaptations that follow the general principles of this specification and include common knowledge or customary techniques in the art not claimed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this specification are indicated by the following claims.

[0160] It should be understood that this specification is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this specification is limited only by the appended claims.

[0161] The above description is merely a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of protection of this specification.

Claims

1. A method for transmitting data via Ethernet PCS, characterized in that, include: Define X as the maximum number of sub-slots between two delimited marker blocks DM; Based on the Ethernet bandwidth Rate of the physical port within the transmitting device phy and the desired sub-slot bandwidth rate. Subslot The adjustment ratio N is obtained, where N = Rate phy / Rate Subslot And N is divisible by X; Using N as the number of the current subslot, starting from Subslot0 after the delimiter block DM and proceeding sequentially to SubslotN-1, the process is repeated. Based on the sub-timeslot bandwidth rate according to the data transmission bandwidth requirements of the service channel. Subslot Configure bandwidth; Once the sending device determines that the type of the delimiter block (DM) is a configuration code block, it sends bandwidth configuration and bandwidth configuration switching request information to the peer device. The peer device determines whether to perform bandwidth configuration and bandwidth configuration switching based on the bandwidth configuration and bandwidth configuration switching request information sent by the sending device, and performs bandwidth configuration and switching if the conditions are met. The conditions for switching bandwidth configurations on the peer device include: If the peer device detects that the Subslot ID and Service Channel Client ID in the DM code block sent by the transmitting device are consistent with its own, it sends a configuration switching response message; After receiving the configuration handover response information, the transmitting device sends a handover marker information to the peer device; Both devices simultaneously switch bandwidth configurations in the next delimiter block (DM). If the peer device detects that the Subslot ID and Service Channel Client ID in the DM code block sent by the transmitting device are inconsistent with its own, it will report an error alarm.

2. The Ethernet PCS data transmission method according to claim 1, characterized in that, The transmitting device determines that the type of the delimiter block DM is a gcc code block and performs general data transmission.

3. The Ethernet PCS data transmission method according to claim 2, characterized in that, Based on the sub-timeslot bandwidth rate according to the data transmission bandwidth requirements of the service channel. Subslot Configure bandwidth, including obtaining the number of subslots required for data transmission = service channel data transmission bandwidth / subslot bandwidth rate. Subslot .

4. The Ethernet PCS data transmission method according to claim 3, characterized in that, The bandwidth configuration conditions for the peer device include: The transmitting device sends the Subslot ID and the service channel client ID from its own DM code block to the peer device; The peer device checks whether the received Subslot ID and Service Channel Client ID are consistent with its own.

5. The Ethernet PCS data transmission method according to claim 4, characterized in that, The peer device checks whether the received Subslot ID matches its own, including: The sending device sends the Subslot configuration information to the peer device; The peer device uses the maximum Subslot ID+1 received from the delimiter block as the number of subslots to divide the time slot; If the number of subslots received by the peer device is the same as the number of its own subslots, then the subslot IDs are considered to be the same.

6. The Ethernet PCS data transmission method according to claim 1, characterized in that, Bandwidth adjustments for each network element node in the network configuration include: The current network element node includes the currently used bandwidth configuration and the backup configuration information of the next network element node connected to the current network element node; If the current network element node has the configuration switching request information set to valid, it sends the corresponding backup configuration information to the next network element node, and sets the configuration switching information to invalid after sending the backup configuration information; The next network element node compares the received backup configuration information with its own configuration information. If the configuration information is consistent, a configuration switching response message is sent to the current network element node, and the configuration switching response error message is set to invalid. After receiving the configuration handover response information, the current network element node sends the handover marker information to the next network element node; and starts the configuration handover at the boundary of the next delimiter block (DM). After the next network element node receives the handover marker information, both sides simultaneously begin the handover configuration at the boundary of the next DM. If the configuration information is inconsistent, a configuration switching response is sent to the current network element node, and the configuration switching response error information is set to valid, and an error alarm is reported.

7. The Ethernet PCS data transmission method according to claim 6, characterized in that, Based on the physical port Ethernet bandwidth Rate phy and the desired sub-slot bandwidth rate. Subslot The Ethernet bandwidth is divided into sub-slot bandwidth cascading modes, including: Ethernet bandwidth rate via physical port phy The first-level sub-slot bandwidth rate, Rate, is obtained by adjusting the first-level adjustment ratio N1. Subslot1 ; Through the first-level sub-slot bandwidth rate Rate Subslot1 And the second-level adjustment ratio N2, to obtain the desired sub-slot bandwidth rate Rate. Subslot ; Where N1*N2=Rate phy / Rate Subslot Both N1 and N2 are divisible by X.

8. An Ethernet PCS data transmission system, comprising a transmitting-side device and a receiving-side device, characterized in that, include: The transmitting-side device is used to define the maximum number of subslots between two delimited marker blocks (DMs) as X; and to determine the Ethernet bandwidth rate based on the physical port within the device. phy and the desired sub-slot bandwidth rate. Subslot Adjust the ratio N, where N = Rate phy / Rate Subslot And N is divisible by X; N is used as the number of subslots to divide the current time slot. After the delimiter block DM, starting from Subslot0, the sequence continues until SubslotN-1, repeating the cycle; the type of the delimiter block DM is determined to be a configuration code block, and bandwidth configuration and bandwidth configuration switching information are sent to the peer device. The peer device is used to determine whether to perform bandwidth configuration and bandwidth configuration switching based on the bandwidth configuration and bandwidth configuration switching information sent by the sending device; when it determines that its own bandwidth configuration and bandwidth configuration switching information is consistent with that of the sending device, it performs bandwidth configuration and bandwidth configuration switching. The bandwidth configuration and the bandwidth configuration switching information are respectively the Subslot ID and the service channel client ID in the DM code block.

Citation Information

Patent Citations

  • Bandwidth configuration method and device

    CN110266511A

  • Communication method and network device

    WO2023141777A1