Data processing method, device and non-volatile storage medium
By inserting the overhead code block and alignment identifier into a fixed interval processing in flexible Ethernet technology, the problems of complex processing and high delay caused by the inconsistency of overhead code block and alignment identifier in the prior art are solved, and data transmission efficiency is improved and delay is reduced.
Patent Information
- Application Number
- CN202211218029.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-30
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2042-09-30
AI Technical Summary
In the existing flexible Ethernet technology, the overhead code block and alignment identifier are not related, resulting in complex processing on the receiving end and high delay. The forwarding device has repetitive operations in the descrambling and scrambling processes, increasing latency and resource waste.
By intersecting the overhead code block and alignment identifier into a fixed interval for the fixed interval, the data transmission process is optimized, the processing process is simplified, and the delay and overhead complexity is reduced. Scramble code processing is performed in advance at the sending end and alignment processing is performed at the receiving end, eliminating the internal scramble code and descramble code operations of the forwarding device.
It has achieved simplification of data processing flow, improved data transmission efficiency, reduced delay and overhead complexity, and solved the problems of low alignment efficiency and excessive overhead caused by the unrelated relationship between overhead code blocks and alignment identifiers.
Smart Images

Figure CN115632753B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a data processing method, device and non-volatile storage medium. Background Art
[0002] Currently, flexible Ethernet technology has been widely used in communication systems. Take the interaction between communication equipment PE1 and communication equipment PE2 as an example. Figure 1 As shown in the figure, when the sending device PE1 sends a signal to the receiving device PE2, the sending device PE1 generates a signal and sends the signal to the forwarding device P. The forwarding device P receives and forwards the signal and transmits the signal to the receiving device PE2. The receiving device PE2 analyzes the received signal to obtain the data in the signal. The signal transmission and reception process of the sending device PE1, the receiving device PE2 and the forwarding device P is as follows Figures 2 to 4 shown.
[0003] It can be seen that the current data processing methods based on Flexible Ethernet technology have at least the following problems: the insertion of overhead code blocks is unrelated to the insertion of alignment markers, which makes the extraction and processing of overhead at the receiving end complex and leads to high latency; the forwarding device P has repetitive operations during the descrambling and scrambling process, resulting in high latency.
[0004] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention
[0005] Embodiments of the present invention provide a data processing method, device, and non-volatile storage medium to at least solve the technical problem of low alignment efficiency and excessive overhead, which in turn causes high delay, due to the fact that overhead code blocks and alignment identifiers in related technologies are unrelated and time-sharing proofreading is required.
[0006] According to one aspect of an embodiment of the present invention, a data processing method is provided, including: determining a first time slot based on a first bandwidth, and a first data transmission channel corresponding to the above-mentioned first time slot; based on the above-mentioned first data transmission channel, transmitting a second number of target data code blocks to a forwarding device, wherein the first transmission message corresponding to the above-mentioned second number of target data code blocks includes: a first alignment identifier, and a first number of first overhead code blocks, the interval between the above-mentioned first alignment identifier and the above-mentioned first number of first overhead code blocks is fixed, and the above-mentioned first number of first overhead code blocks is used to store configuration information corresponding to the above-mentioned first time slot.
[0007] According to one aspect of an embodiment of the present invention, another data processing method is provided, including: obtaining a second number of target data code blocks, wherein a first transmission message corresponding to the second number of target data code blocks includes: a first alignment identifier, and a first number of first overhead code blocks, the interval between the first alignment identifier and the first number of first overhead code blocks is fixed, and the first number of first overhead code blocks is used to store configuration information corresponding to the first time slot; processing the target data code blocks to obtain second data code blocks; determining a second time slot based on a second bandwidth, and a second data transmission channel corresponding to the second time slot; based on the second data transmission channel, transmitting a second number of second data code blocks to a receiving device, wherein a second transmission message corresponding to the second number of second data code blocks includes: a second alignment identifier, a first number of second overhead code blocks, the interval between the second alignment identifier and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks is used to store configuration information corresponding to the second time slot.
[0008] According to one aspect of an embodiment of the present invention, another data processing method is provided, including: obtaining a second number of second data code blocks, wherein the above-mentioned second data code blocks are transmitted based on a second data transmission channel, wherein the second transmission message corresponding to the above-mentioned second number of second data code blocks includes: a second alignment identifier, a first number of second overhead code blocks, the interval between the above-mentioned second alignment identifier and the above-mentioned first number of second overhead code blocks is fixed, and the above-mentioned first number of second overhead code blocks is used to store configuration information corresponding to the second time slot; based on the above-mentioned second data code blocks, obtaining the restored data to be transmitted.
[0009] According to another aspect of an embodiment of the present invention, another data processing method is provided, including: a sending device determines a first time slot based on a first bandwidth, and a first data transmission channel corresponding to the above-mentioned first time slot; the above-mentioned sending device transmits a second number of target data code blocks to a forwarding device based on the above-mentioned first data transmission channel, wherein the first transmission message corresponding to the above-mentioned second number of target data code blocks includes: a first alignment identifier, and a first number of first overhead code blocks, the interval between the above-mentioned first alignment identifier and the above-mentioned first number of first overhead code blocks is fixed, and the above-mentioned first number of first overhead code blocks is used to store configuration information corresponding to the above-mentioned first time slot; the above-mentioned forwarding device processes the above-mentioned target data code blocks Processing to obtain a second data code block; determining a second time slot based on the second bandwidth, and a second data transmission channel corresponding to the above-mentioned second time slot; the above-mentioned forwarding device transmits a second number of second data code blocks to the receiving device based on the above-mentioned second data transmission channel, wherein the second transmission message corresponding to the above-mentioned second number of second data code blocks includes: a second alignment identifier, a first number of second overhead code blocks, the interval between the above-mentioned second alignment identifier and the above-mentioned first number of second overhead code blocks is fixed, and the above-mentioned first number of second overhead code blocks is used to store the configuration information corresponding to the above-mentioned second time slot; the above-mentioned receiving device obtains the second number of second data code blocks; based on the above-mentioned second data code blocks, obtains the restored data to be transmitted.
[0010] According to another aspect of an embodiment of the present invention, a data processing system is further provided, comprising: a sending device, configured to determine a first time slot based on a first bandwidth, and a first data transmission channel corresponding to the first time slot; based on the first data transmission channel, transmitting a second number of target data code blocks to a forwarding device, wherein a first transmission message corresponding to the second number of target data code blocks comprises: a first alignment identifier, and a first number of first overhead code blocks, wherein the interval between the first alignment identifier and the first number of first overhead code blocks is fixed, and the first number of first overhead code blocks is used to store configuration information corresponding to the first time slot; the forwarding device is connected to the sending device, and is configured to process the target data code blocks. The first embodiment of the present invention is to process the first and second data code blocks of the second transmission message of the present invention to obtain a second data code block; determine a second time slot based on the second bandwidth, and a second data transmission channel corresponding to the above second time slot; transmit a second number of second data code blocks to the receiving device based on the above second data transmission channel, wherein the second transmission message corresponding to the above second number of second data code blocks includes: a second alignment identifier, a first number of second overhead code blocks, the interval between the above second alignment identifier and the above first number of second overhead code blocks is fixed, and the above first number of second overhead code blocks is used to store the configuration information corresponding to the above second time slot; the above receiving device is connected to the above forwarding device to obtain the second number of second data code blocks; based on the above second data code blocks, the restored data to be transmitted is obtained.
[0011] According to another aspect of an embodiment of the present invention, a data processing device is also provided, including: a first determination module, used to determine a first time slot based on a first bandwidth, and a first data transmission channel corresponding to the above-mentioned first time slot; a first forwarding module, used to transmit a second number of target data code blocks to a forwarding device based on the above-mentioned first data transmission channel, wherein the first transmission message corresponding to the above-mentioned second number of target data code blocks includes: a first alignment identifier, and a first number of first overhead code blocks, the interval between the above-mentioned first alignment identifier and the above-mentioned first number of first overhead code blocks is fixed, and the above-mentioned first number of first overhead code blocks is used to store the configuration information corresponding to the above-mentioned first time slot.
[0012] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided. The non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing any one of the above-mentioned data processing methods.
[0013] In an embodiment of the present invention, data to be transmitted is obtained; a target data code block corresponding to the data to be transmitted is determined; a first bandwidth corresponding to the target data code block is obtained; a first time slot and a first data transmission channel corresponding to the first time slot are determined based on the first bandwidth; and a second number of target data code blocks are transmitted to a forwarding device using a first preset transmission method based on the first data transmission channel, wherein the first preset transmission method is: sequentially transmitting a first alignment identifier, a first number of first overhead code blocks and the second number of target data code blocks, the first number of first overhead code blocks being used to store configuration information corresponding to the first time slot, thereby achieving the purpose of associating and inserting the overhead code block and the alignment identifier, thereby achieving the technical effect of simplifying the processing flow, improving data transmission efficiency, and reducing delay and overhead complexity, thereby solving the technical problem of low alignment efficiency and excessive overhead, which in turn causes high delay, due to the fact that the overhead code block and the alignment identifier are not associated in the related technology and time-sharing proofreading is required. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0015] Figure 1 It is a schematic diagram of the communication system structure according to the prior art;
[0016] Figure 2 It is a schematic diagram of the data processing flow of a sending device according to the prior art;
[0017] Figure 3It is a schematic diagram of the data processing flow of a receiving device according to the prior art;
[0018] Figure 4 It is a schematic diagram of the data processing flow of a forwarding device according to the prior art;
[0019] Figure 5 is a schematic diagram of an overhead code block insertion mechanism according to the prior art;
[0020] Figure 6 is a schematic diagram of a data storage format of an overhead code block according to the prior art;
[0021] Figure 7 is a schematic diagram of an alignment mark insertion mechanism according to the prior art;
[0022] Figure 8 is a schematic diagram of a data transmission form according to the prior art;
[0023] Figure 9 is a flow chart of a data processing method according to an embodiment of the present invention;
[0024] Figure 10 is a schematic diagram of an optional data transmission method according to an embodiment of the present invention;
[0025] Figure 11 is a schematic diagram of a data processing flow of an optional sending device according to an embodiment of the present invention;
[0026] Figure 12 is a schematic diagram of a data processing flow of an optional forwarding device according to an embodiment of the present invention;
[0027] Figure 13 is a schematic diagram of a data processing flow of an optional receiving device according to an embodiment of the present invention;
[0028] Figure 14 is a structural diagram of a data processing system according to an embodiment of the present invention;
[0029] Figure 15 2 is a schematic structural diagram of a data processing device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] First, to facilitate understanding of the embodiments of the present invention, some of the terms or nouns involved in the present invention are explained below:
[0033] The Media Access Control (MAC) sublayer is a sublayer specific to the Ethernet data link layer, used to solve the problem of allocating shared channels.
[0034] The physical layer (PHY) defines the electrical and optical signals, line status, clock baseline, data encoding, and circuits required for data transmission and reception, and provides a standard interface to the data link layer. It is mainly used to process analog signals in communications.
[0035] Flexible Ethernet (FlexE), proposed by the Optical Internetworking Forum, adds a core processing logic layer (the FlexE Shim) between the media access control (MAC) and physical (PHY) layers of a standard Ethernet interface. This decouples the MAC and PHY layer rates, transforming the mapping between MAC layer entities and PHY layer entities from a one-to-one relationship to an m-to-n relationship, enabling flexible rate matching. The FlexE architecture consists of the FlexEClient (service interface layer), the FlexE Shim (core processing logic layer), and the FlexE Group (physical interface aggregation layer).
[0036] FlexE Clients correspond to the various service interfaces observed in the network. Each FlexE Client can be flexibly configured based on bandwidth requirements, supporting Ethernet MAC data streams of various rates and passing the data streams to the FlexE Shim layer using 64B / 66B encoding. The FlexE Shim, a logical layer inserted between the MAC and PHY layers, implements the core architecture of Flexible Ethernet technology through a timeslot distribution mechanism based on a Calendar timeslot allocator. A FlexE Group, essentially a collection of Ethernet PHY layers, pools PHY layer bandwidth into 5G bandwidth granularity by default.
[0037] FlexE technology uses time slot crossover technology to achieve physical layer-based user service flow forwarding, laying the foundation for carrying ultra-low latency services. However, the current low latency technology of FlexE technology still needs to be optimized. Figure 1 For example, Figure 1 This is a schematic diagram of a commonly used communication system. The communication system may include communication device PE1, communication device P, and communication device PE2. Taking the interaction between communication device PE1 and communication device PE2 as an example, when communication device PE1 (hereinafter referred to as transmitting device PE1) sends a signal to communication device PE2 (hereinafter referred to as receiving device PE2), transmitting device PE1 generates the signal and sends it to communication device P (hereinafter referred to as forwarding device P). Forwarding device P receives and forwards the signal and transmits it to receiving device PE2. Receiving device PE2 parses the received signal to obtain data from the signal.
[0038] In the traditional flexible Ethernet technology solution, the signal transmission process of the sending device PE1 is as follows: Figure 2 As shown; the receiving signal process of the receiving device PE2 is as follows Figure 3 The forwarding signal processing flow of the forwarding device P is as shown in Figure 4 As shown, Figures 2 to 4 Each module in the FlexE technology corresponds to a program execution step. It is not difficult to find that the current calendar-based time slot distribution mechanism of Flexible Ethernet (FlexE) technology has two main problems:
[0039] (1) Overhead insertion is unrelated to alignment flag insertion, which makes overhead extraction and processing complex at the receiving end and results in high latency.
[0040] Taking a FlexE Group consisting of 100GE physical interface PHYs as an example, FlexE evenly divides the PHY bandwidth of each physical interface into 20 5GE timeslots. It then allocates available timeslots in the FlexE Group according to the bandwidth required by each service interface (FlexE Client), mapping the service data flow (FlexE Client) to one or more timeslots.
[0041] The specific mechanism for inserting overhead is as follows: a 66B overhead code block is inserted every 20*1023 66B (bit, binary bit) data code blocks. Eight consecutive overhead code blocks form an overhead frame, and 32 overhead frames form an overhead multiframe, which carries a complete set of flexible Ethernet FlexE control information. The specific insertion method is as follows: Figure 5 As shown; the overhead code stores the configuration information corresponding to each time slot, and the specific storage format is as follows Figure 6 shown.
[0042] The specific mechanism for inserting alignment markers is as follows: a physical interface PHY with a bandwidth of 100GE distributes the signal to 20 PCS data channels in the PCS layer, and inserts a 66B alignment marker code block every 16383 66B data code blocks in each physical coding sublayer PCS data channel. The specific insertion form is as follows Figure 7 As shown in the figure, the black code blocks are alignment mark code blocks, and the white code blocks are data code blocks. The overhead code blocks originally appearing in an Ethernet 100GE physical interface will appear in turn on the 20 physical coding sublayer PCS data channels according to certain rules. The distribution of overhead code blocks on the 20 physical coding sublayer PCS data channels is shown in the figure. Figure 8 As shown. Figure 8 As can be seen in the figure, the alignment marker insertion position is unrelated to the overhead block insertion position. Therefore, when receiving device PE2 receives a signal from transmitting device PE1, it must further lock the position of the first overhead block among the 256 overhead blocks of the Flexible Ethernet (FlexE) network after processing it in the alignment marker locking module. All data blocks before this overhead block is locked are invalid. Therefore, the addition of the overhead block locking module has two negative effects: first, increased latency, the amount of which depends on the relative position of the first overhead block and the alignment marker block. Second, it wastes resources, as the overhead block locking module requires a large number of variables and logic processing units. The same problem also exists for forwarding device P.
[0043] (2) The forwarding device P performs repetitive operations during the descrambling and scrambling process, resulting in high latency.
[0044] from Figure 4 As can be seen in the figure, when forwarding device P receives data block D, it first performs a descrambling operation to form data block D'. When sending data, it performs a scrambling operation to restore it to data block D. It is not difficult to see that these descrambling and scrambling operations are redundant and also have two negative effects: one is increased latency, and the other is waste of resources.
[0045] Based on the above problems, an embodiment of the present invention provides an embodiment of a data processing method. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0046] Figure 9 is a flow chart of a data processing method according to an embodiment of the present invention. Figure 9 As shown, the method includes the following steps:
[0047] Step S902: Determine a first time slot and a first data transmission channel corresponding to the first time slot based on the first bandwidth.
[0048] Optionally, before step S902, it is necessary to obtain the data to be transmitted, determine the target data code block corresponding to the data to be transmitted, and the first bandwidth corresponding to the above-mentioned target data code block. The first bandwidth corresponding to the above-mentioned target data code block can be determined, but is not limited to, according to the type of data to be transmitted. For example, when it is determined that the above-mentioned first bandwidth is 40GB, 8 unoccupied standard time slots are selected from 20 standard time slots as the first time slots corresponding to the above-mentioned target data code block, and the data transmission channels corresponding to the selected 8 unoccupied standard time slots are used as the first data transmission channels corresponding to the above-mentioned target data code block. The above-mentioned target data code block is a data code block in the form of binary bits, which can be, but is not limited to, a 66B data code block, wherein the first two bits are the alignment identification bits corresponding to the data code block, and the last 64 bits correspond to the data to be transmitted.
[0049] Step S904: Based on the above-mentioned first data transmission channel, the second number of target data code blocks are transmitted to the forwarding device, wherein the first transmission message corresponding to the above-mentioned second number of target data code blocks includes: a first alignment identifier, and a first number of first overhead code blocks, and the interval between the above-mentioned first alignment identifier and the above-mentioned first number of first overhead code blocks is fixed, and the above-mentioned first number of first overhead code blocks is used to store the configuration information corresponding to the above-mentioned first time slot.
[0050] Optionally, the specific transmission form of the target data code block and the corresponding first transmission message in the above step S904 can be: based on the above first data transmission channel, the above first alignment identifier, the above first number of first overhead code blocks, and the above second number of the above target data code blocks are transmitted to the above forwarding device in sequence. After the transmission of the last target data code block in the above second number of the above target data code blocks is completed, the transmission of a complete set of flexible Ethernet control information and the second number of target data code blocks is completed. At this time, the operation of transmitting the above first alignment identifier, the above first number of first overhead code blocks, and the above second number of the above target data code blocks in sequence is re-executed, and this cycle is repeated until all data code blocks corresponding to the transmission data are transmitted. The above first number of first overhead code blocks are used to store the configuration information corresponding to the above first time slot, that is, the above first number of first overhead code blocks can carry a complete set of flexible Ethernet control information.
[0051] It should be noted that, when there are multiple first data transmission channels corresponding to the data to be transmitted, since the data transmission speed and data transmission order of each data transmission channel may be different, there may be a sequence deviation in the data received by the receiving device or forwarding device. Therefore, an alignment marker (i.e., the above-mentioned first alignment marker) is inserted into the first transmission message corresponding to the data code block, which is used to synchronize the target data code blocks in the multiple first data transmission channels to ensure the consistency of data transmission. The specific insertion format ensures that the interval between the target first alignment marker and the first number of first overhead code blocks is fixed. For example, the above-mentioned first overhead code block is fixedly inserted in the next clock cycle of the above-mentioned first alignment marker. The specific insertion mechanism may be, but is not limited to: inserting a first alignment marker at intervals of a preset number of code blocks (data code blocks or overhead code blocks); the insertion mechanism of the above-mentioned first overhead code block may be, but is not limited to: inserting a first number of consecutive first overhead code blocks at intervals of the above-mentioned preset number of code blocks, and the insertion position of the above-mentioned first overhead code block is adjacent to the above-mentioned first alignment marker and is located in the next clock cycle of the above-mentioned first alignment marker. Taking the physical transmission channel with a bandwidth of 100GE divided into 20 standard time slots as an example, the insertion mechanism of the above-mentioned first alignment identifier can be, but is not limited to, inserting a first alignment identifier at intervals of 16383 66B code blocks (data code blocks or overhead code blocks); the above-mentioned first number can be, but is not limited to, 20, and the insertion mechanism of the above-mentioned first overhead code block can be, but is not limited to, inserting 20 consecutive first overhead code blocks at intervals of 16383 66B code blocks (data code blocks or first alignment identifiers). The above-mentioned first overhead code block is inserted in the next clock cycle of the above-mentioned first alignment identifier. The specific data transmission form is as follows: Figure 10 shown.
[0052] It should still be noted that in the embodiment of the present invention, the overhead code blocks are all inserted in the next clock cycle after the alignment marker is inserted. Since the alignment markers of the 20 PCS data channels are spaced 16383 times 66B code blocks apart, the interval for inserting the overhead code blocks is also improved to 16383 times 66B (taking 100GE PHY and 5G bandwidth granularity as an example). At the same time, the 256 complete overhead code blocks are optimized to 20 code blocks, and the complete control information is improved to be sent at one time. The advantages are: First, the alignment marker and the overhead code block can be inserted at the same time at the transmitting end, and there is no need to use two processing modules (overhead insertion module and alignment marker insertion module) separately in the traditional flexible Ethernet mechanism. Two unrelated processing links are used to insert the alignment marker and the overhead code block. Second, when the receiving end locks the alignment marker, the overhead code block is also locked. This saves the delay caused by the receiving end processing the overhead code block.
[0053] It can be understood that the execution subject of the above steps S902 to S910 is the sending device. It can be, but is not limited to, Ethernet based on IEEE802.3, applied to a physical transmission channel with a bandwidth of 100GE, and the above physical transmission channel with a bandwidth of 100GE is divided into 20 standard time slots, and the bandwidth corresponding to each time slot is 5GB, that is, the bandwidth of the data transmission channel corresponding to each time slot is 5GB. Through the above steps S902 to S910, the purpose of associating and inserting the overhead code block and the alignment identifier can be achieved, thereby achieving the technical effect of simplifying the processing flow, improving data transmission efficiency, and reducing latency and overhead complexity. In addition, it solves the technical problem that the overhead code block and the alignment identifier are not associated in the related technology, and time-sharing proofreading is required, resulting in low alignment efficiency and excessive overhead, which in turn causes high latency.
[0054] In an optional embodiment, before transmitting the second number of target data code blocks to the forwarding device based on the above-mentioned first data transmission channel, the above-mentioned method also includes: obtaining the data to be transmitted; encoding the above-mentioned data to be transmitted to obtain the first data code block; and perturbing the above-mentioned first data code block to obtain the above-mentioned target data code block, wherein the descrambling processing corresponding to the above-mentioned perturbation processing is performed by the receiving device.
[0055] It should be noted that the encoding and scrambling (i.e., perturbation) steps of the transmission data in the related art are not completed continuously. Figure 2As shown, the insertion process of the overhead code block and the alignment marker in the transmitting device is not performed continuously, and the scrambling process is located between the overhead code block insertion process and the alignment marker insertion process. Different from the prior art, the present application advances the scrambling process. After the encoding process of the data to be transmitted is performed to obtain the first data code block, the first data code block is directly scrambled to obtain the target data code block, and on this basis, the first alignment marker and the first overhead code block are associated and inserted into the obtained target data code block. This is equivalent to Figure 2 The scrambling module in the sending device is moved up between the flexible Ethernet calendar module (i.e., FlexE Calendar module) and the encoding module. The data processing flow of the adjusted sending device is as follows: Figure 11 The above adjustments do not affect the data processing results of the sending device, but can enable the forwarding device to omit the internal scrambling and descrambling processes of the data code blocks during subsequent data processing, thereby reducing data processing time and improving the data processing efficiency of the forwarding device.
[0056] According to an embodiment of the present invention, another data processing method is provided, which includes the following steps:
[0057] Step S911: Acquire a second number of target data code blocks.
[0058] Optionally, the first transmission message corresponding to the second number of target data code blocks includes: a first alignment identifier, and a first number of first overhead code blocks, the interval between the first alignment identifier and the first number of first overhead code blocks is fixed, and the first number of first overhead code blocks is used to store the configuration information corresponding to the first time slot.
[0059] Step S912: Process the target data code block to obtain a second data code block.
[0060] In an optional embodiment, the above-mentioned processing of the target data code block to obtain the second data code block includes: obtaining the above-mentioned first alignment identifier corresponding to the above-mentioned target data code block, and the above-mentioned first number of first overhead code blocks; based on the above-mentioned first alignment identifier and the above-mentioned first number of first overhead code blocks, aligning the above-mentioned target data code block to obtain the above-mentioned second data code block.
[0061] Optionally, the above-mentioned alignment processing is performed on the above-mentioned target data code block based on the above-mentioned first alignment identifier and the above-mentioned first number of first overhead code blocks to obtain the above-mentioned second data code block, including: performing alignment processing on the above-mentioned target data code block to obtain a third data code block, and then performing restoration processing on the above-mentioned third data code block to remove related time slot information to obtain the above-mentioned second data code block.
[0062] It should be noted that when a target data code block corresponds to multiple first data transmission channels, the data transmission speed and data transmission order of each data transmission channel may vary, resulting in a sequence deviation in the data received by the forwarding device. Therefore, after obtaining the target data code block, the forwarding device aligns the target data code block based on the first alignment identifier and the first number of first overhead code blocks to ensure consistent synchronization of the target data code blocks from the multiple first data transmission channels, thereby ensuring consistent data transmission.
[0063] Optional, Figure 12 FIG. 1 is a schematic diagram of a data processing flow of an optional forwarding device according to an embodiment of the present invention. Figure 12 As shown, the embodiment of the present invention is compared with Figure 4 The data processing flow of the forwarding device in the prior art shown realizes the associated transmission of the second alignment identifier and the second overhead code block, while eliminating the internal scrambling and descrambling processing flows for the data code blocks, thereby reducing the data processing time and improving the data processing efficiency of the forwarding device.
[0064] Step S913: Determine a second time slot and a second data transmission channel corresponding to the second time slot based on the second bandwidth.
[0065] It can be understood that the second bandwidth is the transmission bandwidth corresponding to the second data code block. The second bandwidth corresponding to the second data code block can be the same as or different from the first bandwidth corresponding to the target data code block. For example, if the second bandwidth is determined to be the same as the first bandwidth, both being 40 GB, 8 unoccupied standard time slots are selected from the 20 standard time slots as the second time slots corresponding to the second data code block, and the data transmission channels corresponding to the selected 8 unoccupied standard time slots are used as the second data transmission channels corresponding to the second data code block.
[0066] Step S914: Based on the above-mentioned second data transmission channel, a second number of second data code blocks are transmitted to the receiving device, wherein the second transmission message corresponding to the above-mentioned second number of second data code blocks includes: a second alignment identifier, a first number of second overhead code blocks, and the interval between the above-mentioned second alignment identifier and the above-mentioned first number of second overhead code blocks is fixed, and the above-mentioned first number of second overhead code blocks is used to store the configuration information corresponding to the above-mentioned second time slot.
[0067] Optionally, the second transmission message includes: a second alignment marker, a first number of second overhead code blocks, and the interval between the second alignment marker and the first number of second overhead code blocks is fixed. For example, the second overhead code block is fixedly inserted in the next clock cycle of the second alignment marker. The first number of second overhead code blocks is used to store the configuration information corresponding to the second time slot, that is, the first number of second overhead code blocks can carry a complete set of flexible Ethernet control information. The insertion mechanism and insertion process of the second alignment marker and the second overhead code block are the same as those of the first alignment marker and the first overhead code block, and will not be repeated here.
[0068] It is understood that the execution entity of steps S911 to S915 is a forwarding device. This can be, but is not limited to, Ethernet based on IEEE 802.3, applied to a physical transmission channel with a bandwidth of 100GE. The physical transmission channel with a bandwidth of 100GE is divided into 20 standard time slots, each of which corresponds to a bandwidth of 5GB. That is, the bandwidth of the data transmission channel corresponding to each time slot is 5GB. Through steps S911 to S915, the overhead code blocks and alignment markers are associated and locked, thereby achieving the purpose of simultaneous verification of the overhead code blocks and alignment markers. This achieves the technical effect of simplifying the processing flow, improving data transmission efficiency, and reducing latency and overhead complexity. This solves the technical problem of low alignment efficiency and excessive overhead caused by the lack of association between overhead code blocks and alignment markers in related technologies, requiring time-sharing verification.
[0069] According to an embodiment of the present invention, another data processing method is provided, which includes the following steps:
[0070] Step S921: Acquire a second number of second data code blocks.
[0071] Optionally, the second data code block is transmitted based on a second data transmission channel, wherein the second transmission message corresponding to the second number of second data code blocks includes: a second alignment identifier, a first number of second overhead code blocks, and the interval between the second alignment identifier and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks is used to store the configuration information corresponding to the second time slot.
[0072] Step S922: Obtain restored data to be transmitted based on the second data code block.
[0073] In an optional embodiment, the above-mentioned restored data to be transmitted is obtained based on the above-mentioned second data code block, including: obtaining the above-mentioned second alignment identifier corresponding to the above-mentioned second data code block, and the above-mentioned first number of second overhead code blocks; based on the above-mentioned second alignment identifier and the above-mentioned first number of second overhead code blocks, aligning the above-mentioned second data code block to obtain a fourth data code block; performing descrambling processing on the above-mentioned fourth data code block to obtain a sixth data code block, wherein the disturbance processing corresponding to the above-mentioned descrambling processing is performed by a sending device; and decoding the above-mentioned sixth data code block to obtain the above-mentioned restored data to be transmitted.
[0074] It should be noted that when the second data code block corresponds to multiple second data transmission channels, the data transmission speed and data transmission order of each data transmission channel may vary, resulting in a sequence deviation in the data received by the receiving device. Therefore, after receiving the second data code block, the receiving device aligns the second data code block based on the second alignment identifier and the first number of second overhead code blocks to ensure consistent synchronization of the second data code blocks from the multiple second data transmission channels, thereby ensuring consistent data transmission.
[0075] Optionally, performing descrambling processing on the fourth data code block to obtain the sixth data code block specifically includes: first performing restoration processing on the fourth data code block (i.e., removing relevant time slot division information) to obtain a fifth data code block; and then performing descrambling processing on the fifth data code block to obtain a sixth data code block. The restoration processing is used to restore and merge the time-slotted fourth data code blocks from multiple second data transmission channels to obtain a non-time-slotted sixth data code block.
[0076] It should be noted that the scrambling and descrambling steps for the transmitted data in the related art are not completed continuously. Figure 3 As shown, the insertion process of the overhead code block and the alignment marker in the receiving device is not performed continuously, and the descrambling process is located between the overhead locking and alignment locking processes. Different from the prior art, the disturbance processing corresponding to the descrambling process in this application is performed by the transmitting device. By shifting the descrambling process backward, after the alignment processing of the above-mentioned second data code block is performed based on the second alignment marker and the second overhead code block, the descrambling process and the decoding process are performed in sequence. Figure 3 The descrambling module in the receiving device has been moved between the FlexE Calendar module and the decoding module. This adjustment does not affect the data processing results of the receiving device, but it does allow the forwarding device to eliminate the internal scrambling and descrambling of the data code blocks during subsequent data processing, thereby reducing data processing time and improving data processing efficiency of the forwarding device.
[0077] It is understood that the receiving device performs steps S921 and S922. Through steps S921 and S922, the overhead code blocks and alignment markers are associated and locked, thereby enabling simultaneous verification of the overhead code blocks and alignment markers. This simplifies the processing flow, improves data transmission efficiency, and reduces latency and overhead complexity. This addresses the technical issues of low alignment efficiency and excessive overhead caused by the lack of association between overhead code blocks and alignment markers in related technologies, requiring time-sharing verification.
[0078] According to an embodiment of the present invention, another data processing method is provided, which includes the following steps:
[0079] Step S931: The sending device determines a first time slot and a first data transmission channel corresponding to the first time slot based on the first bandwidth;
[0080] Step S932: The sending device transmits a second number of target data code blocks to the forwarding device based on the first data transmission channel, wherein the first transmission message corresponding to the second number of target data code blocks includes: a first alignment marker, and a first number of first overhead code blocks, wherein the first alignment marker and the first number of first overhead code blocks are spaced at a fixed interval, and the first number of first overhead code blocks are used to store configuration information corresponding to the first time slot;
[0081] Step S933: The forwarding device processes the target data code block to obtain a second data code block; determines a second time slot based on the second bandwidth, and a second data transmission channel corresponding to the second time slot;
[0082] Step S934: The forwarding device transmits a second number of second data code blocks to the receiving device based on the second data transmission channel, where a second transmission message corresponding to the second number of second data code blocks includes: a second alignment marker and a first number of second overhead code blocks, wherein an interval between the second alignment marker and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks is used to store configuration information corresponding to the second time slot;
[0083] Step S935: The receiving device obtains a second number of second data code blocks; and obtains restored data to be transmitted based on the second data code blocks.
[0084] It is understood that the execution entity of steps S931 to S932 is a sending device, the execution entity of steps S933 to S934 is a forwarding device, and the execution entity of step S935 is a receiving device. The sending device, forwarding device, and receiving device can be, but are not limited to, routers, terminal devices, etc. Through the above steps, the purpose of inserting and locking the overhead code blocks and alignment markers in association can be achieved, thereby achieving the technical effects of simplifying the processing flow, improving data transmission efficiency, and reducing latency and overhead complexity. This further solves the technical problem of low alignment efficiency and excessive overhead caused by the lack of association between overhead code blocks and alignment markers in related technologies, requiring time-sharing insertion and verification.
[0085] Based on the above embodiments and optional embodiments, the present invention proposes an optional implementation mode: Figure 11 is a schematic diagram of a data processing flow of an optional sending device according to an embodiment of the present invention; Figure 12 is a schematic diagram of a data processing flow of an optional forwarding device according to an embodiment of the present invention; Figure 13 FIG. 1 is a schematic diagram of a data processing flow of an optional receiving device according to an embodiment of the present invention. Figures 11 to 13 As shown, the data processing method specifically includes:
[0086] The sending device PE1 obtains the data to be transmitted through the media access control sending module (i.e., MAC sending module). In the flexible Ethernet processing module (i.e., FlexE module), the encoding module is used to encode the above-mentioned data to be transmitted to obtain the first data code block; the scrambling module is used to scramble the above-mentioned first data code block to obtain the above-mentioned target data code block. In the physical coding sublayer module (i.e., PCS module, Physical Coding Sublayer). The alignment marker and overhead insertion module are used to insert the first alignment marker and the first number of consecutive first overhead code blocks into the above-mentioned target data code block in sequence. The above-mentioned target data code block, the first alignment marker and the first number of first overhead code blocks are sent to the forwarding device via the physical medium adaptation layer (i.e., PMA module, Physical Media Attachment) according to the first preset transmission method.
[0087] After the forwarding device P receives the target data code block from the sending device through the receiving module and the physical medium adaptation layer (i.e., PMA module) in sequence. In the physical coding sublayer module (i.e., PCS module), the block synchronization module is used to perform block synchronization processing on the target data code block to obtain the synchronized target data code block; the above-mentioned synchronized target data code block is aligned in sequence through the alignment mark, overhead locking module, physical coding sublayer PCS channel alignment module, and physical layer PHY channel alignment module to obtain a third data code block. The FlexE Calendar module is used to restore the third data code block to obtain a second data code block. The alignment mark and overhead insertion module are used to insert the second alignment mark and the first number of consecutive second overhead code blocks into the above-mentioned second data code block in sequence. The above-mentioned target data code block, the second alignment mark, and the first number of second overhead code blocks are sent to the receiving device via the physical medium adaptation layer (i.e., PMA module) according to the second preset transmission mode.
[0088] After the receiving device receives the second data block from the forwarding device through the receiving module and the physical medium adaptation layer (PMA module), and then receives the target data block from the transmitting device through the receiving module and the physical medium adaptation layer (PMA module), the physical coding sublayer module (PCS module) performs block synchronization on the second data block to obtain a synchronized second data block. The synchronized second data block is then aligned sequentially through the alignment marker, overhead lock module, physical coding sublayer PCS lane alignment module, and physical layer PHY lane alignment module to obtain a fourth data block. In the flexible Ethernet module (FlexE module), the flexible Ethernet calendar module (FlexE Calendar module) descrambles the fourth data block to obtain a fifth data block. The descrambling module descrambles the fifth data block to obtain a sixth data block. The decoding module decodes the sixth data block to obtain the descrambled data to be transmitted. The descrambled data to be transmitted is then transmitted to the media access control receiving module (MAC receiving module), completing the entire data transmission process.
[0089] It should be noted that the embodiments of the present invention mainly solve the following two problems: one is to insert the associated overhead and alignment flag modules to reduce the processing delay of sending and receiving; the other is to move the scrambling module and descrambling module upward and further sink the 1.5-layer Flexible Ethernet FlexE module, thereby reducing data forwarding delay.
[0090] Compared to the prior art, the embodiments of the present invention move the scrambling module of the sending device up between the FlexE Calendar module and the encoding module, and move the descrambling module of the receiving device up between the FlexE Calendar module and the decoding module. This relocation has no impact on the latency of the sending and receiving devices. However, for the forwarding device between the sending and receiving devices, the scrambling module and descrambling module for the data code blocks within the forwarding device can be omitted, thereby reducing data processing time and improving the data processing efficiency of the forwarding device. For the forwarding device P, the scrambling and descrambling operations are omitted in the receiving and sending processes compared to the prior art. However, the data code block received by the receiving device is D, and the data code block received in the sending module is still D. The data code block has no impact, thereby reducing latency.
[0091] Moreover, in the embodiment of the present invention, the overhead code blocks are all inserted in the next clock cycle after the alignment marker is inserted. Since the alignment markers of the 20 PCS data channels are spaced 16,383 times 66B code blocks apart, the interval for inserting the overhead code blocks is also improved to 16,383 times 66B (taking 100GE PHY and 5G bandwidth granularity as an example). At the same time, the 256 complete overhead code blocks are optimized to 20 code blocks, and the complete control information is improved to be sent all at once. The advantages are: First, the alignment marker and the overhead code block can be inserted at the same time at the transmitting end, and there is no need to use two processing modules (overhead insertion module and alignment marker insertion module) separately in the traditional flexible Ethernet mechanism. Two unrelated processing links are used to insert the alignment marker and the overhead code block. Second, when the receiving end locks the alignment marker, the overhead code block is also locked. This saves the delay caused by the receiving end processing the overhead code block.
[0092] It should be noted that for the aforementioned method embodiments, for simplicity of description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0093] According to an embodiment of the present invention, a system embodiment for implementing the above data processing method is also provided. Figure 14 FIG. 1 is a structural diagram of a data processing system according to an embodiment of the present invention. Figure 14As shown, the data processing system includes: a sending device 1400, a forwarding device 1402, and a receiving device 1404, wherein: the sending device 1400 is used to determine a first time slot based on a first bandwidth, and a first data transmission channel corresponding to the first time slot; based on the first data transmission channel, a second number of target data code blocks are transmitted to the forwarding device, wherein the first transmission message corresponding to the second number of target data code blocks includes: a first alignment identifier, and a first number of first overhead code blocks, the interval between the first alignment identifier and the first number of first overhead code blocks is fixed, and the first number of first overhead code blocks is used to store the configuration information corresponding to the first time slot; the forwarding device 1402 is connected to the sending device and is used to The above-mentioned target data code block is processed to obtain a second data code block; a second time slot and a second data transmission channel corresponding to the above-mentioned second time slot are determined based on the second bandwidth; based on the above-mentioned second data transmission channel, a second number of second data code blocks are transmitted to the receiving device, wherein the second transmission message corresponding to the above-mentioned second number of second data code blocks includes: a second alignment identifier, a first number of second overhead code blocks, the interval between the above-mentioned second alignment identifier and the above-mentioned first number of second overhead code blocks is fixed, and the above-mentioned first number of second overhead code blocks is used to store the configuration information corresponding to the above-mentioned second time slot; a receiving device 1404 is connected to the above-mentioned forwarding device to obtain the second number of second data code blocks; based on the above-mentioned second data code blocks, the restored data to be transmitted is obtained.
[0094] In an embodiment of the present invention, by setting a sending device 1400, a forwarding device 1402, and a receiving device 1404, the overhead code block and the alignment identifier are associated, inserted, and locked, thereby achieving the technical effect of simplifying the processing flow, improving data transmission efficiency, and reducing latency and overhead complexity. This solves the technical problem that in related technologies, the overhead code block and the alignment identifier are not associated and need to be inserted and proofread in time, resulting in low alignment efficiency and excessive overhead, and thus high latency.
[0095] It should be noted that the Figure 14 The specific structure of the data processing system shown in the figure is only for reference. In specific applications, the data processing system in this application can be compared with the data processing system in the figure. Figure 14 The sending device 1400, forwarding device 1402, and receiving device 1404 shown in the figure may have more or less structures. It should be noted that any optional or preferred data processing system method in the above embodiments can be executed or implemented in the sending device 1400, forwarding device 1402, and receiving device 1404 provided in this embodiment. In addition, it should be noted that the optional or preferred implementation methods of this embodiment can be referred to the relevant description in the embodiment and will not be repeated here.
[0096] In this embodiment, a data processing device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments. Details that have already been described will not be repeated here. As used below, the terms "module" and "device" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.
[0097] According to an embodiment of the present invention, there is also provided an embodiment of a device for implementing the above data processing method. Figure 15 is a structural diagram of a data processing device according to an embodiment of the present invention. Figure 15 As shown, the above-mentioned data processing device includes: a first acquisition module 1500, a first forwarding module 1502, wherein: the above-mentioned first determination module 1500 is used to determine the first time slot based on the first bandwidth, and the first data transmission channel corresponding to the above-mentioned first time slot; the above-mentioned first forwarding module 1502 is connected to the above-mentioned first determination module 1500, and is used to transmit the second number of target data code blocks to the forwarding device based on the above-mentioned first data transmission channel, wherein the first transmission message corresponding to the above-mentioned second number of target data code blocks includes: a first alignment identifier, and a first number of first overhead code blocks, the interval between the above-mentioned first alignment identifier and the above-mentioned first number of first overhead code blocks is fixed, and the above-mentioned first number of first overhead code blocks is used to store the configuration information corresponding to the above-mentioned first time slot.
[0098] In an embodiment of the present invention, the first determination module 1500 is provided for determining a first time slot and a first data transmission channel corresponding to the first time slot based on a first bandwidth; the first forwarding module 1502 is connected to the first determination module 1500 and is used to transmit a second number of target data code blocks to a forwarding device based on the first data transmission channel, wherein the first transmission message corresponding to the second number of target data code blocks includes: a first alignment identifier and a first number of first overhead code blocks, the interval between the first alignment identifier and the first number of first overhead code blocks is fixed, and the first number of first overhead code blocks is used to store configuration information corresponding to the first time slot, thereby achieving the purpose of associating and inserting the overhead code blocks and the alignment identifier, thereby simplifying the processing flow, and solving the technical problem of low alignment efficiency and excessive overhead, which results in high delay, caused by the overhead code blocks and alignment identifier being unrelated and requiring time-sharing proofreading in the related art, thereby achieving the technical effect of reducing delay and overhead complexity and improving data transmission efficiency.
[0099] According to an embodiment of the present invention, another device embodiment for implementing the above-mentioned data processing method is also provided, which device includes: a first acquisition module, used to acquire a second number of target data code blocks, wherein the first transmission message corresponding to the above-mentioned second number of target data code blocks includes: a first alignment identifier, and a first number of first overhead code blocks, the interval between the above-mentioned first alignment identifier and the above-mentioned first number of first overhead code blocks is fixed, and the above-mentioned first number of first overhead code blocks is used to store configuration information corresponding to the first time slot; a first processing module, used to process the above-mentioned target data code blocks to obtain second data code blocks; a second determination module, used to determine the second time slot and the second data transmission channel corresponding to the above-mentioned second time slot based on the second bandwidth; a first transmission module, used to transmit the second number of second data code blocks to a receiving device based on the above-mentioned second data transmission channel, wherein the second transmission message corresponding to the above-mentioned second number of second data code blocks includes: a second alignment identifier, a first number of second overhead code blocks, the interval between the above-mentioned second alignment identifier and the above-mentioned first number of second overhead code blocks is fixed, and the above-mentioned first number of second overhead code blocks is used to store configuration information corresponding to the above-mentioned second time slot.
[0100] According to an embodiment of the present invention, another device embodiment for implementing the above-mentioned data processing method is also provided, and the device includes: a second acquisition module, used to obtain a second number of second data code blocks, wherein the above-mentioned second data code blocks are transmitted based on a second data transmission channel, wherein the second transmission message corresponding to the above-mentioned second number of second data code blocks includes: a second alignment identifier, a first number of second overhead code blocks, the interval between the above-mentioned second alignment identifier and the above-mentioned first number of second overhead code blocks is fixed, and the above-mentioned first number of second overhead code blocks is used to store the configuration information corresponding to the second time slot; a third acquisition module, used to obtain the restored data to be transmitted based on the above-mentioned second data code blocks.
[0101] According to an embodiment of the present invention, another embodiment of a device for implementing the above-mentioned data processing method is also provided, and the device includes: a third determination module, which is used for the sending device to determine the first time slot based on the first bandwidth, and the first data transmission channel corresponding to the above-mentioned first time slot; a second transmission module, which is used for the above-mentioned sending device to transmit the second number of target data code blocks to the forwarding device based on the above-mentioned first data transmission channel, wherein the first transmission message corresponding to the above-mentioned second number of target data code blocks includes: a first alignment mark, and a first number of first overhead code blocks, the interval between the above-mentioned first alignment mark and the above-mentioned first number of first overhead code blocks is fixed, and the above-mentioned first number of first overhead code blocks is used to store the configuration information corresponding to the above-mentioned first time slot; a second processing module, which is used for the above-mentioned forwarding device to transmit the second number of target data code blocks to the forwarding device based on the above-mentioned first data transmission channel, The target data code block is processed to obtain a second data code block; a second time slot and a second data transmission channel corresponding to the above-mentioned second time slot are determined based on the second bandwidth; a third transmission module is used for the above-mentioned forwarding device to transmit a second number of second data code blocks to the receiving device based on the above-mentioned second data transmission channel, wherein the second transmission message corresponding to the above-mentioned second number of second data code blocks includes: a second alignment identifier, a first number of second overhead code blocks, the interval between the above-mentioned second alignment identifier and the above-mentioned first number of second overhead code blocks is fixed, and the above-mentioned first number of second overhead code blocks is used to store the configuration information corresponding to the above-mentioned second time slot; a fourth acquisition module is used for the above-mentioned receiving device to obtain the second number of second data code blocks; based on the above-mentioned second data code blocks, the restored data to be transmitted is obtained.
[0102] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0103] The above-mentioned data processing device may also include a processor and a memory. The above-mentioned first acquisition module 1500, first forwarding module 1502, etc. are all stored in the memory as program modules, and the processor executes the above-mentioned program modules stored in the memory to implement the corresponding functions. The processor includes a kernel, and the kernel retrieves the corresponding program modules from the memory. The above-mentioned kernel may be provided in one or more forms. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. The memory includes at least one memory chip.
[0104] According to an embodiment of the present application, an embodiment of a non-volatile storage medium is further provided. Optionally, in this embodiment, the non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute any of the above-mentioned data processing methods.
[0105] Optionally, in this embodiment, the non-volatile storage medium may be located in any one of a computer terminal group in a computer network, or in any one of a mobile terminal group in a mobile terminal group, and the non-volatile storage medium includes a stored program. According to an embodiment of the present application, an embodiment of a computer program product is also provided, which, when executed on a data processing device, is adapted to execute a program that initializes the steps of any of the above-described data processing methods.
[0106] An embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the program follows any one of the steps of the above-mentioned data processing method.
[0107] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0108] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0109] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the above modules can be a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, modules or indirect coupling or communication connection of modules, which can be electrical or other forms.
[0110] The modules described above as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0111] In addition, the functional modules in various embodiments of the present invention may be integrated into a single processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or software functional modules.
[0112] If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a computer-readable non-volatile storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a non-volatile storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present invention. The aforementioned non-volatile storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk, and other media that can store program codes.
[0113] The above are only preferred embodiments of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A data processing method, characterized in that: include: determining a first time slot based on a first bandwidth, and a first data transmission channel corresponding to the first time slot; Transmitting a second number of target data code blocks to a forwarding device based on the first data transmission channel, wherein a first transmission message corresponding to the second number of target data code blocks includes: a first alignment identifier, and a first number of first overhead code blocks, wherein an interval between the first alignment identifier and the first number of first overhead code blocks is fixed, and the first number of first overhead code blocks is used to store configuration information corresponding to the first time slot; In which, the first transmission message is constructed based on the Flexible Ethernet FlexE protocol, the first alignment identifier is used to align data transmitted by multiple first data transmission channels of the same physical transmission channel, and the first overhead code block is also used to align data transmitted by the first data transmission channels of different physical transmission channels in the physical interface set.
2. The method according to claim 1, characterized in that Before transmitting the second number of target data code blocks to the forwarding device based on the first data transmission channel, the method further includes: Get the data to be transmitted; Encoding the data to be transmitted to obtain a first data code block; Performing a scrambling process on the first data code block to obtain the target data code block, wherein a descrambling process corresponding to the scrambling process is performed by a receiving device.
3. A data processing method, characterized in that: include: Obtain a second number of target data code blocks, wherein the first transmission message corresponding to the second number of target data code blocks includes: a first alignment identifier, and a first number of first overhead code blocks, the interval between the first alignment identifier and the first number of first overhead code blocks is fixed, and the first number of first overhead code blocks is used to store configuration information corresponding to the first time slot, wherein the first transmission message is constructed based on the Flexible Ethernet FlexE protocol, the first alignment identifier is used to align data transmitted by multiple first data transmission channels of the same physical transmission channel, and the first overhead code block is also used to align data transmitted by the first data transmission channels of different physical transmission channels in the physical interface set; Processing the target data code block to obtain a second data code block; determining a second time slot based on the second bandwidth, and a second data transmission channel corresponding to the second time slot; Transmitting a second number of second data code blocks to a receiving device based on the second data transmission channel, wherein a second transmission message corresponding to the second number of second data code blocks includes: a second alignment marker and a first number of second overhead code blocks, wherein an interval between the second alignment marker and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks is used to store configuration information corresponding to the second time slot; In which, the second transmission message is constructed based on the Flexible Ethernet FlexE protocol, the second alignment identifier is used to align data transmitted by multiple second data transmission channels of the same physical transmission channel, and the second overhead code block is also used to align data transmitted by the second data transmission channels of different physical transmission channels in the physical interface set.
4. The method according to claim 3, characterized in that The processing of the target data code block to obtain a second data code block includes: Obtaining the first alignment identifier corresponding to the target data code block and the first number of first overhead code blocks; Based on the first alignment identifier and the first number of first overhead code blocks, alignment processing is performed on the target data code block to obtain the second data code block.
5. A data processing method, characterized in that: include: Obtain a second number of second data code blocks, where the second data code blocks are transmitted based on a second data transmission channel, where a second transmission message corresponding to the second number of second data code blocks includes: a second alignment identifier, and a first number of second overhead code blocks, where the interval between the second alignment identifier and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks is used to store configuration information corresponding to the second time slot; Obtaining restored data to be transmitted based on the second data code block; In which, the second transmission message is constructed based on the Flexible Ethernet FlexE protocol, the second alignment identifier is used to align data transmitted by multiple second data transmission channels of the same physical transmission channel, and the second overhead code block is also used to align data transmitted by the second data transmission channels of different physical transmission channels in the physical interface set.
6. The method according to claim 5, characterized in that The obtaining restored data to be transmitted based on the second data code block includes: Obtaining the second alignment identifier corresponding to the second data code block and the first number of second overhead code blocks; Performing alignment processing on the second data code block based on the second alignment identifier and the first number of second overhead code blocks to obtain a fourth data code block; performing a descrambling process on the fourth data code block to obtain a sixth data code block, wherein a scrambling process corresponding to the descrambling process is performed by a sending device; The sixth data code block is decoded to obtain the restored data to be transmitted.
7. A data processing method, characterized in that: include: The sending device determines a first time slot and a first data transmission channel corresponding to the first time slot based on the first bandwidth; The sending device transmits a second number of target data code blocks to the forwarding device based on the first data transmission channel, wherein the first transmission message corresponding to the second number of target data code blocks includes: a first alignment identifier, and a first number of first overhead code blocks, the interval between the first alignment identifier and the first number of first overhead code blocks is fixed, and the first number of first overhead code blocks is used to store configuration information corresponding to the first time slot, wherein the first transmission message is constructed based on the Flexible Ethernet FlexE protocol, the first alignment identifier is used to align data transmitted by multiple first data transmission channels of the same physical transmission channel, and the first overhead code block is also used to align data transmitted by the first data transmission channels of different physical transmission channels in the physical interface set; The forwarding device processes the target data code block to obtain a second data code block; determines a second time slot and a second data transmission channel corresponding to the second time slot based on the second bandwidth; The forwarding device transmits a second number of second data code blocks to a receiving device based on the second data transmission channel, wherein the second transmission message corresponding to the second number of second data code blocks includes: a second alignment identifier, a first number of second overhead code blocks, the interval between the second alignment identifier and the first number of second overhead code blocks is fixed, and the first number of second overhead code blocks is used to store configuration information corresponding to the second time slot, wherein the second transmission message is constructed based on the Flexible Ethernet FlexE protocol, the second alignment identifier is used to align data transmitted by multiple second data transmission channels of the same physical transmission channel, and the second overhead code block is also used to align data transmitted by the second data transmission channels of different physical transmission channels in the physical interface set; The receiving device obtains a second number of second data code blocks; and obtains restored data to be transmitted based on the second data code blocks.
8. A data processing system, characterized in that: include: a transmitting device, configured to determine a first time slot and a first data transmission channel corresponding to the first time slot based on a first bandwidth; Based on the first data transmission channel, a second number of target data code blocks are transmitted to the forwarding device, wherein the first transmission message corresponding to the second number of target data code blocks includes: a first alignment identifier, and a first number of first overhead code blocks, the interval between the first alignment identifier and the first number of first overhead code blocks is fixed, the first number of first overhead code blocks is used to store configuration information corresponding to the first time slot, the first transmission message is constructed based on the Flexible Ethernet FlexE protocol, the first alignment identifier is used to align data transmitted by multiple first data transmission channels of the same physical transmission channel, and the first overhead code block is also used to align data transmitted by the first data transmission channels of different physical transmission channels in the physical interface set; The forwarding device is connected to the sending device and is used to process the target data code block to obtain a second data code block; determine a second time slot based on a second bandwidth, and a second data transmission channel corresponding to the second time slot; based on the second data transmission channel, transmit a second number of second data code blocks to the receiving device, wherein the second transmission message corresponding to the second number of second data code blocks includes: a second alignment identifier, a first number of second overhead code blocks, the interval between the second alignment identifier and the first number of second overhead code blocks is fixed, the first number of second overhead code blocks is used to store configuration information corresponding to the second time slot, the second transmission message is constructed based on the Flexible Ethernet FlexE protocol, the second alignment identifier is used to align data transmitted by multiple second data transmission channels of the same physical transmission channel, and the second overhead code block is also used to align data transmitted by the second data transmission channels of different physical transmission channels in the physical interface set; The receiving device is connected to the forwarding device and is used to obtain a second number of second data code blocks; based on the second data code blocks, obtain the restored data to be transmitted.
9. A data processing device, characterized in that: include: A first determining module, configured to determine a first time slot and a first data transmission channel corresponding to the first time slot based on a first bandwidth; a first forwarding module, configured to transmit a second number of target data code blocks to a forwarding device based on the first data transmission channel, wherein a first transmission message corresponding to the second number of target data code blocks includes: a first alignment identifier, and a first number of first overhead code blocks, wherein an interval between the first alignment identifier and the first number of first overhead code blocks is fixed, and the first number of first overhead code blocks is used to store configuration information corresponding to the first time slot; In which, the first transmission message is constructed based on the Flexible Ethernet FlexE protocol, the first alignment identifier is used to align data transmitted by multiple first data transmission channels of the same physical transmission channel, and the first overhead code block is also used to align data transmitted by the first data transmission channels of different physical transmission channels in the physical interface set.
10. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the data processing method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Data transmission method, transmission device and transmission system
WO2019062227A1