CN-117320082-B - Ethernet PCS data transmission method and system
Abstract
The specification provides a method and a system for transmitting Ethernet PCS data, comprising defining the maximum number of sub-slots between two DM as X, obtaining an adjustment ratio N according to a physical port Rate phy and a to-be-obtained Rate Subslot in a transmitting side device, dividing the number of current Subslot by N, sequentially sorting and dividing after DM to obtain sub-slot IDs, carrying out bandwidth configuration according to the data transmission bandwidth requirement of a service channel based on Rate Subslot , and carrying out bandwidth configuration and bandwidth configuration switching with a peer device by the transmitting side device when determining the type of a delimiting marking block DM as a configuration code block. The channel divided by the embodiment of the application has the characteristics of physical isolation, definite time delay and high safety. The bandwidth of the service channel can be adjusted dynamically without loss, the physical bandwidth is almost free from loss, the bandwidth granularity can be flexibly adjusted, and the Ethernet interface of all rates can be adapted.
Inventors
- LIN BEIBEI
- LIN HUI
- LV LEI
- XU JUNJIE
- WANG DONG
Assignees
- 新华三技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20230925
Claims (8)
- 1. The Ethernet PCS data transmission method is characterized by comprising the following steps: defining the maximum number of sub-slots between two delimiting mark blocks DM as X; Obtaining an adjustment ratio N according to a physical port Ethernet bandwidth Rate phy in the transmitting side equipment and a sub-slot bandwidth Rate Rate Subslot to be obtained, wherein N=Rate phy /Rate Subslot , and N can be divided by X; Taking N as the number of current sub-slots Subslot, starting from Subslot to SubslotN-1 in sequence after the marking block DM is delimited, and reciprocally cycling; Performing bandwidth configuration based on a sub-slot bandwidth Rate Subslot according to the data transmission bandwidth requirement of the service channel; The method comprises the steps that a transmitting side device transmits bandwidth configuration and bandwidth configuration switching request information to a peer device when determining that the type of a delimiting mark block DM is a configuration code block; the opposite terminal equipment judges whether to perform bandwidth configuration and bandwidth configuration switching according to the bandwidth configuration and bandwidth configuration switching request information sent by the sending side equipment, and performs bandwidth configuration and switching under the condition that the conditions are met; the bandwidth configuration switching satisfaction condition of the opposite terminal equipment comprises the following steps: if the opposite terminal device detects that the sub-slot Subslot ID and the service channel client ID in the DM code block sent by the sending side device are consistent with the opposite terminal device, sending configuration switching response information; The method comprises the steps that after receiving configuration switching response information, a transmitting side device transmits switching mark information to a corresponding end device; the equipment on two sides carries out bandwidth configuration switching at the same time in the next delimitation marking block DM; If the opposite terminal device detects that the sub-slot Subslot ID and the service channel client ID in the DM code block sent by the sending side device are inconsistent with the opposite terminal device, the opposite terminal device reports error alarm information.
- 2. The method for ethernet PCS data transmission according to claim 1, wherein the transmitting side device determines the type of the delimiter flag block DM to be gcc code block for general data transmission.
- 3. The ethernet PCS data transmission method of claim 2 wherein the bandwidth configuration based on the sub-slot bandwidth Rate Subslot according to the traffic channel data transmission bandwidth requirement includes obtaining the number of sub-slots Subslot needed to transmit data = traffic channel data transmission bandwidth/sub-slot bandwidth Rate Subslot .
- 4. The ethernet PCS data transmission method of claim 3 wherein configuring the bandwidth of the peer device satisfies the condition comprises: The transmitting side device transmits the sub-slot Subslot ID and the service channel client ID in the DM code block to the opposite side device; The peer device detects whether the received sub-slot Subslot ID and the service channel client ID are consistent with itself.
- 5. The ethernet PCS data transmission method of claim 4 wherein the peer device detecting whether the received sub-slot Subslot ID coincides with itself comprises: the transmitting side device transmits Subslot configuration information to the opposite side device; The opposite terminal equipment takes the maximum Subslot ID +1 received by the delimiting mark block as the number of divided sub-slots Subslot; If the number of sub-slots Subslot received by the opposite terminal device is as large as the number of own sub-slots Subslot, the sub-slots Subslot ID are judged to be consistent.
- 6. The ethernet PCS data transmission method of claim 1 wherein bandwidth adjustment for each network element node in the network comprises: the current network element node comprises the current bandwidth configuration and the standby configuration information of the next network element node connected with the current network element node; The method comprises the steps that under the condition that configuration switching request information is set to be effective, a current network element node sends corresponding standby configuration information to a next network element node, and after the standby configuration information is sent, the configuration switching information is set to be ineffective; the next network element node compares the standby configuration information with the configuration information of the next network element node after receiving the transmitted standby configuration information; If the configuration information is consistent, responding to the configuration switching response information to the current network element node, and setting the configuration switching response error information as invalid; after receiving the configuration switching response information, the current network element node sends switching mark information to the next network element node, and starts switching configuration at the boundary of the next delimitation mark block DM; after the next network element node receives the switching mark information, switching configuration is started at the boundary of the next DM at the two sides at the same time; If the configuration information is inconsistent, responding to the configuration switching response information to the current network element node, setting the configuration switching response error information to be effective, and reporting error alarm information.
- 7. The ethernet PCS data transmission method of claim 6 wherein performing sub-slot bandwidth cascading mode division on the ethernet bandwidth according to the physical port ethernet bandwidth Rate phy and the sub-slot bandwidth Rate Subslot to be acquired comprises: Obtaining a first-level sub-slot bandwidth Rate Subslot1 through a physical port Ethernet bandwidth Rate phy and a first-level adjustment ratio N1; Obtaining a sub-slot bandwidth Rate Subslot to be obtained through a first-stage sub-slot bandwidth Rate Subslot1 and a second-stage adjustment ratio N2; Where n1×n2=rate phy /Rate Subslot , and both N1 and N2 are divisible by X.
- 8. An ethernet PCS data transmission system including a transmitting side device and a receiving side device, comprising: The device comprises a transmitting side device, a delimiting mark block DM, a configuration code block, a bandwidth configuration switching information and a bandwidth configuration switching information, wherein the transmitting side device is used for defining the number of maximum sub-slots Subslot between two delimiting mark blocks DM as X, adjusting a ratio N according to a physical port Ethernet bandwidth Rate phy in the device and a sub-slot bandwidth Rate Rate Subslot to be acquired, wherein N=Rate phy /Rate Subslot , N can be divided by X, taking N as the number of dividing current sub-slots Subslot, and repeatedly cycling from Subslot0 to SubslotN-1 after the delimiting mark blocks DM are delimited; The opposite terminal equipment is used for judging whether to perform bandwidth configuration and bandwidth configuration switching according to the bandwidth configuration and bandwidth configuration switching information sent by the sending side equipment; the bandwidth configuration and the bandwidth configuration switching information are a sub-slot Subslot ID and a service channel client ID in a DM code block, respectively.
Description
Ethernet PCS data transmission method and system Technical Field The present disclosure relates to the technical field of data transmission, and in particular, to a method and a system for transmitting ethernet PCS data. Background In recent years, the 5G technology is mature, and is fully applied to the fields of Internet of things, big data, artificial intelligence, cloud computing and the like. At present, 5G networks are continuously fused with vertical industries, such as application in various industries of electric power, medical treatment, industry and the like, and a great deal of requirements are put on a bearing network in a great number of complex application scenes, wherein small bandwidth, deterministic delay, high safety, high reliability and the like are becoming key technologies in application. At present, the Ethernet speed has been developed to be more than hundred gigabytes, however, the bandwidth speed is not required by very specific industry application, but the characteristics of delay, safety and the like are very high. The traditional Ethernet divides a plurality of low-speed sub-interfaces in a high-speed Ethernet interface in a virtual sub-interface (such as virtual LAN technology) mode, but the division mode has the problems of mutual interference of the sub-interfaces, large delay jitter, unsafe and the like. To the best of the inventors' knowledge, the prior art is the SPN (SLICING PACKET Network, slice packet Network) technology proposed by the well-established mobile. The SPN is an innovative technical system provided by China mobile oriented to 5G bearing, a new generation of fusion bearing network architecture based on slice Ethernet kernel is provided, the technical advantages of low time delay, large bandwidth, ultra-high precision synchronization, flexible management and control and the like are achieved, meanwhile, the SPN is compatible with an Ethernet ecological chain, and the SPN has the characteristics of low cost, easiness in deployment and the like. SPN small particle technology (FGU, fine Granularity Unit) inherits the SPN efficient Ethernet kernel, integrates fine-grained slicing technology into the SPN overall architecture, provides a low-cost, fine and hard-isolated small particle bearing pipeline, and refines the granularity of hard slices from 5Gbps to 10Mbps. And the SDN is combined for centralized control, so that open, agile and fine network operation is realized. Specific technical implementation may refer to SPN related protocol, and will not be described herein. However, the prior art has the problems that (1) the bandwidth is about 3% lost, (2) the minimum granularity cannot be adjusted, (3) the bandwidth adjustment step is limited when the SPN is matched with FlexE for use, and the step is 10M to 5G, more than 5G, 5G and no bandwidth such as 6G exists; Disclosure of Invention In order to overcome the problems in the related art, the present specification provides a method and a system for transmitting ethernet PCS data. According to a first aspect of embodiments of the present disclosure, there is provided a method for transmitting ethernet PCS data, the method including: defining the number of maximum subslots Subslot between two delimiting mark blocks DM as X; Obtaining an adjustment ratio N according to a physical port Ethernet bandwidth Rate phy in the transmitting side equipment and a sub-slot bandwidth Rate Rate Subslot to be obtained, wherein N=Rate phy/RateSubslot, and N can be divided by X; taking N as the number of the current sub-slots Subslot, and repeatedly cycling from Subslot to SubslotN-1 after the marking block DM is delimited; Performing bandwidth configuration based on a sub-slot bandwidth Rate Subslot according to the data transmission bandwidth requirement of the service channel; The method comprises the steps that a transmitting side device transmits bandwidth configuration and bandwidth configuration switching request information to a peer device when determining that the type of a delimiting mark block DM is a configuration code block; The opposite terminal equipment judges whether to perform bandwidth configuration and bandwidth configuration switching according to the bandwidth configuration and bandwidth configuration switching information sent by the sending side equipment, and performs bandwidth configuration and bandwidth configuration switching under the condition that the conditions are met. Preferably, the transmitting side device determines that the type of the delimiter mark block DM is gcc code block, and performs general data transmission. Preferably, the bandwidth configuration is performed based on the sub-slot bandwidth Rate Subslot according to the traffic channel data transmission bandwidth requirement, including obtaining the number of sub-slots Subslot required to transmit data = traffic channel data transmission bandwidth/sub-slot bandwidth Rate Subslot. Preferably, the bandwidth configuration meeting con