Data transmission method and device

By using the overhead area indication information of the data frame to indicate the location of the rate compensation block in the optical transport network, the problem of difficulty in achieving rate compensation in the optical transport network is solved, caching and processing delays are reduced, and system transmission performance is improved.

CN118631380APending Publication Date: 2024-09-10HUAWEI TECH CO LTD
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202310278199.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In optical transport networks, how to effectively provide rate compensation, reduce buffering and processing delays, and improve transmission performance to cope with the growth in business carrying requirements.

Method used

By using indication information in the overhead area of ​​the data frame to indicate whether a certain block in the payload area is a rate compensation block, rate compensation is allowed to be performed at a specific position of a specific data frame, simplifying the rate compensation process and reducing caching and processing delays. The specific method includes mapping the service data to the data frame in the sending device and inserting the rate compensation block in the payload area. The receiving device demaps the service data according to the instruction information and deletes the rate compensation block to obtain the service data.

Benefits of technology

It achieves effective rate compensation in optical transmission networks, reduces cache and processing delays, improves system transmission performance, and simplifies the rate compensation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118631380A
    Figure CN118631380A
Patent Text Reader

Abstract

The embodiment of the invention provides a data transmission method and device which are applied to an optical transport network. The method comprises the following steps: a sending device obtains service data, maps the service data into a data frame, and sends the data frame to a receiving device; wherein the data frame comprises an overhead area and a payload area, the payload area comprises a plurality of blocks, the overhead area comprises indication information, and the indication information is used for indicating whether a certain block in the plurality of blocks of the payload area is a rate compensation block or not. According to the method disclosed by the invention, the design of the fixed filling rate compensation block can be simplified, the rate compensation is effectively carried out, the cache and the time delay are further reduced, and the system transmission performance is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical communications, and more specifically, to a method and device for data transmission. Background Art

[0002] Optical transport network (OTN) is based on wavelength division multiplexing technology, which can provide higher transmission rate, higher transmission efficiency and better operations, administration and maintenance (OAM) capabilities, and has become the mainstream technology of backbone transmission network. OTN has flexible bandwidth pipelines for efficient bearing of metropolitan area networks, and can realize efficient bearing of 10Mbit / s to 1Gbit / s granularity services.

[0003] As the demand for business carrying grows, how to provide effective rate compensation, reduce buffering and processing delays, and improve transmission performance is an urgent problem to be solved. Summary of the invention

[0004] The embodiments of the present application provide a method and device for data transmission, which can provide effective rate compensation and improve system transmission performance.

[0005] In a first aspect, a method for data transmission is provided. The method may be performed by a sending device or by a component of the sending device (such as a chip or a chip system, etc.), and the present application does not limit this. The method includes: acquiring service data, mapping the service data into a data frame, and sending the data frame to a receiving device. The data frame includes an overhead area and a payload area, the payload area includes a plurality of blocks, and the overhead area includes indication information, the indication information is used to indicate whether a block among the plurality of blocks in the payload area is a rate compensation block.

[0006] Based on the above scheme, the indication information in the overhead area indicates whether a certain block in the payload area of ​​the current data frame is a rate compensation block, so that rate compensation can be performed at a specific position of a specific data frame, effectively eliminating the current rate loss caused by deleting the alignment marker (AM), simplifying the rate compensation process, reducing cache and processing delays, and thereby improving transmission performance.

[0007] Exemplarily, when the indication information indicates that one of the multiple blocks in the payload area is a rate compensation block, the sending device will also insert the rate compensation block into one of the multiple blocks in the payload area of ​​the data frame when mapping the service data to the data frame.

[0008] In combination with the first aspect, in some implementations of the first aspect, the first indication information includes a first multiframe indication and a second multiframe indication, the second multiframe indication is a second multiframe number in each X frame-multiframe, the numbers are integers from 0 to X-1, representing the frame numbers of the X data frames contained in each X frame-multiframe, and the first multiframe indication is a first multiframe number of each X frame-multiframe contained in each Y X frame-multiframe, which are integers from 0 to Y-1, representing the X frame-multiframe numbers of the Y X frame-multiframes contained in each Y X frame-multiframe. In each Y X frame-multiframe, the Q data frames containing the rate compensation block are determined according to the first multiframe indication and the second multiframe indication, and the Q data frames containing the rate compensation block are discretely distributed in each Y X frame-multiframe, and X, Y and Q are integers greater than 0. It should be understood that X frame-multiframe refers to X multiframes including X single frames. For example, if the value of X is 256, then 256 frame-multiframe means 256 multiframes including 256 single frames. At this time, the second multiframe indication is the number corresponding to the 256 single frames, and the value is an integer from 0 to 255.

[0009] Optionally, in the embodiment of the present application, the first multiframe number may also be referred to as the value of the first multiframe indication, and the two may be replaced unless otherwise specified. Similarly, the second multiframe number may also be replaced with the value of the second multiframe indication, and the present application does not specifically limit this.

[0010] Exemplarily, the X value is 256, the Y value is 80 or 160, and the Q value is 237. For example, in the case where the indication information indicates that one of the multiple blocks in the payload area is a rate compensation block, when the value range of the first multiframe number is 0 to 79, the second multiframe numbers corresponding to M data frames in the Q data frames including the rate compensation block may be 0, 85, and 171, and the second multiframe numbers corresponding to the other data frames except the M data frames in the Q data frames including the rate compensation block are 0 and 85, and M is an integer greater than 0, for example, the value of M is 77. When the value range of the first multiframe number is 0 to 159, the second multiframe numbers corresponding to N data frames in the Q data frames including the rate compensation block may be 0 and 128, and the second multiframe numbers corresponding to the other data frames except the N data frames in the Q data frames including the rate compensation block are 0, and N is an integer greater than 0, for example, the value of N is 77. Based on the above solution, the first multiframe indication and the second multiframe indication are combined to indicate whether the payload area of ​​the data frame includes a rate compensation block, and uniform insertion of the rate compensation block can be ensured, thereby providing effective rate compensation.

[0011] In combination with the first aspect, in some implementations of the first aspect, a first multiframe number and a second multiframe number associated with Q data frames including a rate compensation block are fixed in every Y X-frame-multiframes.

[0012] In combination with the first aspect, in some implementations of the first aspect, each X frame-multiframe contains Q data frames. or indivual, or The second multiframe number of the data frame is discretely distributed. represents the floor function, for example The following appears Similar, no further elaboration.

[0013] For example, when X=255, Y=80, Q=237, then or That is, each 255-frame multiframe contains 2 or 3 rate compensation blocks. When X = 255, Y = 160, Q = 237, then or That is, each 255-frame multiframe contains 1 or 2 rate compensation blocks.

[0014] In combination with the first aspect, in certain implementations of the first aspect, the size of the rate compensation block in each Y X frame-multiframe is Q / (X*Y*Z), where Z is the number of multiple blocks included in the payload area of ​​each data frame, and the result of Z is an integer greater than 0, for example, the value of X is 80 or 160, the value of Y is 256, and the value of Z is 237 or 118.5, then the value of X*Y*Z is 80*256*237 or 160*256*118.5.

[0015] Exemplarily, when the bit rate of the data frame is 800Gbit / s Ethernet, the size of the rate compensation block is 2*257 bits. When the bit rate of the data frame is 1.6Tbit / s Ethernet, the size of the rate compensation block is 4*257 bits. In other words, the size of the rate compensation block can be a multiple of 2*257 bits, or an even multiple of 257 bits. Based on this scheme, when performing rate compensation, the size of the rate compensation block is made the same as the size of a rate adaptation unit as much as possible, which can avoid confusing the order of two 257b code streams, effectively provide rate compensation, and improve system transmission performance.

[0016] In combination with the first aspect, in certain implementations of the first aspect, the position of the rate compensation block in the payload area is predefined.

[0017] Optionally, the sending device sends second indication information to the receiving device, and the second indication information is used to indicate the position of the rate compensation block in the payload area. Optionally, the second indication information is carried in the overhead area of ​​the data frame, or the second indication information is decoupled from the data frame and sent independently, which is not limited in this application.

[0018] In conjunction with the first aspect, in some implementations of the first aspect, the data frame is an optical transport network OTN frame. Exemplarily, the OTN frame may be an ODUk frame or an ODUflex frame.

[0019] In a second aspect, a method for data transmission is provided. The method may be performed by a receiving device or by a component of a receiving device (such as a chip or a chip system, etc.), and the present application does not limit this. The method includes: receiving a data frame, and demapping service data from the data frame according to indication information. The data frame includes an overhead area and a payload area, the overhead area includes indication information, the payload area includes multiple blocks, and the indication information is used to indicate whether a block among the multiple blocks in the payload area is a rate compensation block.

[0020] In combination with the second aspect, in certain implementations of the second aspect, service data is demapped from a data frame according to indication information, including: when the indication information indicates that a block among the multiple blocks in the payload area is a rate compensation block, deleting a block among the multiple blocks in the payload area; and obtaining service data carried in blocks other than the block among the multiple blocks in the payload area.

[0021] In combination with the second aspect, in some implementations of the second aspect, the first indication information includes a first multiframe indication and a second multiframe indication, the second multiframe indication is a second multiframe number in each X frame-multiframe, and the first multiframe indication is a first multiframe number in each Y X frame-multiframe, wherein, in each Y X frame-multiframe, the Q data frames including the rate compensation block are determined according to the first multiframe indication and the second multiframe indication, and the Q data frames including the rate compensation block are discretely distributed in each Y X frame-multiframe, and X, Y, and Q are integers greater than 0.

[0022] In combination with the second aspect, in some implementations of the second aspect, the first multiframe number and the second multiframe number associated with the Q data frames including the rate compensation block are fixed in every Y X-frame-multiframes.

[0023] In conjunction with the second aspect, in certain implementations of the second aspect, each X frame-multiframe contains Q data frames. or indivual, or The second multiframe numbers of the data frames are discretely distributed.

[0024] In combination with the second aspect, in certain implementations of the second aspect, the proportion of the rate compensation block in each Y X frame-multiframe is Q / (X*Y*Z), where Z is the number of multiple blocks included in the payload area of ​​each data frame, and X*Y*Z is an integer greater than 0.

[0025] In combination with the second aspect, in certain implementations of the second aspect, the position of the rate compensation block in the payload area is predefined.

[0026] In combination with the second aspect, in some implementations of the second aspect, the data frame is an optical transport network OTN frame.

[0027] The beneficial effects of the method shown in the above second aspect and its possible design can refer to the beneficial effects in the first aspect and its possible design.

[0028] In a third aspect, a data transmission device is provided. The device is used to execute the method provided in the first aspect. Specifically, the communication device may include a unit and / or module for executing the method provided in the first aspect or any one of the above implementations of the first aspect.

[0029] In one implementation, the apparatus is a transmitting device. The transceiver may be a transceiver, or an input / output interface. The processing module may be at least one processor. Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.

[0030] In another implementation, the device is a chip, a chip system or a circuit in a transmitting device. The transceiver module may be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin or a related circuit on the chip, the chip system or the circuit. The processing module may be at least one processor, a processing circuit or a logic circuit.

[0031] The beneficial effects of the method shown in the third aspect and its possible design above can refer to the beneficial effects in the first aspect and its possible design.

[0032] In a fourth aspect, a data transmission device is provided. The device is used to execute the method provided in the second aspect. Specifically, the communication device may include a unit and / or module for executing the method provided in the second aspect or any one of the above implementations of the second aspect.

[0033] In one implementation, the apparatus is a receiving device. The transceiver may be a transceiver, or an input / output interface. The processing module may be at least one processor. Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.

[0034] In another implementation, the device is a chip, a chip system or a circuit in a receiving device. The transceiver module may be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin or a related circuit on the chip, the chip system or the circuit. The processing module may be at least one processor, a processing circuit or a logic circuit.

[0035] The beneficial effects of the method shown in the fourth aspect and its possible design can refer to the beneficial effects in the second aspect and its possible design.

[0036] In a fifth aspect, a processor is provided for executing the methods provided in the above aspects. For operations such as sending and obtaining / receiving involved in the processor, if there is no special description, or if it does not conflict with its actual role or internal logic in the relevant description, it can be understood as operations such as processor output and reception, input, etc., and can also be understood as sending and receiving operations performed by the radio frequency circuit and antenna, and this application does not limit this.

[0037] In a sixth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a program code for execution by a device, wherein the program code includes a method for executing any one of the implementations of the first aspect or the second aspect.

[0038] In a seventh aspect, a computer program product comprising instructions is provided. When the computer program product is run on a computer, the computer is caused to execute the method provided in any one of the implementations of the first aspect or the second aspect.

[0039] In an eighth aspect, a chip is provided, the chip comprising a processor and a communication interface. The processor reads instructions stored in a memory through the communication interface and executes the method provided in any one of the implementations of the first aspect or the second aspect.

[0040] Optionally, as an implementation method, the chip also includes a memory, in which a computer program or instructions are stored, and the processor is used to execute the computer program or instructions stored in the memory. When the computer program or instructions are executed, the processor is used to execute the method provided in any one of the implementation methods of the first or second aspect above.

[0041] In a ninth aspect, an optical communication system is provided, comprising the apparatus for data transmission as described in the third aspect and the apparatus for data transmission as described in the fourth aspect.

[0042] The beneficial effects brought about by the third to ninth aspects above can refer to the description of the beneficial effects in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a schematic diagram of an OTN optical network system applicable to an embodiment of the present application.

[0044] Figure 2 This is a possible schematic diagram of the hardware structure of a network device.

[0045] Figure 3The present invention is a schematic diagram of a frame structure of an OTN frame applicable to an embodiment of the present application.

[0046] Figure 4 It is a schematic diagram of a frame structure of an ODUflex frame provided in an embodiment of the present application.

[0047] Figure 5 It is a schematic diagram of a frame structure of another ODUflex frame provided in an embodiment of the present application.

[0048] Figure 6 It is a flowchart of a data transmission method provided in an embodiment of the present application.

[0049] Figure 7 It is a structural diagram of an OTN device 700 provided in an embodiment of the present application.

[0050] Figure 8 It is a structural diagram of an OTN device 800 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0052] The embodiments of the present application are applicable to optical networks, such as OTN. An OTN is usually composed of multiple devices connected by optical fibers, and can be formed into different topology types such as linear, ring and mesh according to specific needs.

[0053] Figure 1 Schematic diagram of an OTN optical network system applicable to the embodiment of the present application. Figure 1 As shown, OTN 100 includes eight interconnected OTN devices 101, namely, devices AH. 102 indicates an optical fiber used to connect two devices; 103 indicates a customer service interface used to receive or send customer service data. Figure 1 As shown, OTN 100 is used to transmit service data for customer devices 1-3. The customer devices are connected to the OTN device through the customer service interface. For example, Figure 1 In the example, customer devices 1-3 are connected to OTN devices A, H, and F respectively.

[0054] According to actual needs, an OTN device may have different functions. Generally speaking, OTN devices are divided into optical layer devices, electrical layer devices and optoelectronic hybrid devices. Optical layer devices refer to devices that can process optical layer signals, such as optical amplifiers and optical add-drop multiplexers. Optical amplifiers are used to amplify optical signals to support transmission over longer distances while ensuring the specific performance of optical signals. Optical add-drop multiplexers are used to spatially transform optical signals so that they can be output from different output ports (sometimes also called directions). Electrical layer devices refer to devices that can process electrical layer signals, such as devices that can process OTN signals. Optoelectronic hybrid devices refer to devices that have the ability to process optical layer signals and electrical layer signals. It should be noted that, according to specific integration needs, an OTN device can combine multiple different functions. The technical solution provided in this application is applicable to OTN devices of different forms and integration levels that contain electrical layer functions.

[0055] It should be noted that the data frame structure used by the OTN device in the embodiment of the present application is an OTN frame, which is used to carry various service data and provide rich management and monitoring functions. The OTN frame can be an optical data unit frame (Optical Data Unit k, ODUk), ODUCn, a flexible optical data unit (Flexible Optical Data Unit, ODUflex), or an optical channel transmission unit k (optical transport unit k, OTUk), OTUCn, or a flexible OTN (FlexO) frame, etc. Among them, the difference between the ODU frame and the OTU frame is that the OTU frame includes the ODU frame and the OTU overhead. k represents different rate levels, for example, k = 1 represents 2.5Gbps, k = 4 represents 100Gbps; Cn represents a variable rate, specifically a rate of a positive integer multiple of 100Gbps. Unless otherwise specified, an ODU frame refers to any one of ODUk, ODUCn or ODUflex, and an OTU frame refers to any one of OTUk, OTUCn or FlexO. It should also be pointed out that, with the development of OTN technology, new types of OTN frames may be defined, which are also applicable to the present application.

[0056] Figure 2 This is a possible schematic diagram of the hardware structure of a network device. For example, Figure 1One of the OTN devices AH in the figure. Specifically, the OTN device 200 includes a branch board 201, a cross board 202, a line board 203, an optical layer processing board (not shown in the figure), and a system control and communication board 204. It should be noted that, according to specific needs, the type and quantity of boards included in the network device may be different. For example, a network device that serves as a core node does not have a branch board 201. For another example, a network device that serves as an edge node has multiple branch boards 201, or no optical cross board 202. For another example, a network device that only supports electrical layer functions may not have an optical layer processing board.

[0057] The tributary board 201, the cross board 202 and the line board 203 are used to process the electrical layer signals of the OTN (such as the ODU frame in the OTN). Among them, the tributary board 201 is used to realize the reception and transmission of various customer services, such as synchronous digital hierarchy (SDH) services, packet services, Ethernet services and fronthaul services. Furthermore, the tributary board 201 can be divided into a customer-side optical transceiver module and a signal processor. Among them, the customer-side optical transceiver module can also be called an optical transceiver, which is used to receive and / or send service data. The signal processor is used to realize the mapping and demapping processing of service data to data frames. The cross board 202 is used to realize the exchange of data frames and complete the exchange of one or more types of data frames. The line board 203 mainly realizes the processing of line-side data frames. Specifically, the line board 203 can be divided into a line-side optical module and a signal processor. Among them, the line-side optical module can be called an optical transceiver, which is used to receive and / or send data frames. The signal processor is used to implement multiplexing and demultiplexing, or mapping and demapping processing of data frames on the line side. The system control and communication board 204 is used to implement system control. Specifically, information can be collected from different boards, or control instructions can be sent to the corresponding board.

[0058] It should be noted that, unless otherwise specified, the specific components (such as signal processors) can be one or more, and this application does not impose any restrictions. This application does not impose any restrictions on the types of boards contained in the device and the functional design and quantity of the boards. It should also be noted that in a specific implementation, the above two boards may also be designed as one board. In addition, the network equipment may also include a power supply for backup, a fan for equipment cooling, an auxiliary board for providing external alarms or accessing external clocks, etc.

[0059] To facilitate understanding of the embodiments of the present application, the following explanations are given.

[0060] First, in the embodiments of the present application, the "first", "second" and various digital numbers in the embodiments shown below are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. The size of the sequence number of each process below does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0061] Second, in the embodiments of the present application, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising 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 are inherent to these processes, methods, products or apparatuses.

[0062] Third, in the embodiments of the present application, "exemplarily" or "for example" is used to indicate an example, illustration or description, and the embodiments or designs described as "exemplarily" or "for example" should not be interpreted as being more preferred or more advantageous than other embodiments or designs. The use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way for easy understanding.

[0063] Fourth, in the embodiments of the present application, "protocol" may refer to a standard protocol in the OTN field, such as the ITU-T G.709 standard protocol and related protocols used in future OTN systems, which is not limited in the present application.

[0064] Fifth, in the embodiments of the present application, "used to indicate" includes direct indication and indirect indication. When describing that a certain information is used to indicate A, it may include that the information directly indicates A or indirectly indicates A, but it does not mean that A must be carried in the information.

[0065] Sixth, in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can represent: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.

[0066] Seventh, in the embodiments of the present application, the preset may include a pre-definition, for example, a protocol definition. The "pre-definition" may be implemented by pre-saving the corresponding code, table or other methods that can be used to indicate the relevant information in the device, and the present application does not limit the specific implementation method thereof.

[0067] Eighth, in the embodiments of the present application, the character “*” is an operation symbol, indicating a product.

[0068] OTN has become the mainstream technology used in transmission networks due to its high bandwidth, large capacity, high reliability, and low latency. It is widely used in backbone, metro core, and aggregation networks. It has flexible bandwidth pipes for efficient bearing of metro networks and can achieve efficient bearing of 10Mbit / s to 1Gbit / s granularity services. Among them, for 400GE mapped to ODUflex, the transmitter uses the method of inserting Z*66b rate compensation (RC) code blocks continuously in each Z*20k 66b code block stream to perform rate compensation. Correspondingly, the receiver identifies the RC insertion position by searching for continuous Z*66b RC code blocks, which has a high processing cost.

[0069] In order to solve the above problems, the present application proposes a method for data transmission, which indicates whether a block in the payload area of ​​the current data frame is a rate compensation block through the indication information in the overhead area, constrains the rate compensation block to a specific position in a specific data frame, provides simple and effective rate compensation, can reduce cache and processing delays, and improve system transmission performance.

[0070] Figure 3 This is a schematic diagram of the frame structure of an OTN frame. Figure 3 As shown, the frame structure of the OTN frame is a single-byte structure of 4 rows*3824 columns, wherein the first 4 rows*16 columns are the overhead area of ​​the OTN frame, and the remaining bytes are the payload area of ​​the OTN frame. Specifically, other features of the OTN frame structure can refer to the relevant description in the current protocol.

[0071] based on Figure 3 The OTN frame shown, Figure 4 is a schematic diagram of a frame structure of an OTN frame provided in an embodiment of the present application, taking 800GE mapped to an ODUflex frame as an example, such as Figure 4As shown in (a), the ODUflex#i frame includes a rate compensation block, and the frame structure of the ODUflex#i frame is divided into 4 rows * 3824 columns, each row includes 3824 bytes, the first 4 rows * 16 columns are defined as the overhead (OH) area, and the last 4 rows * 3808 columns are defined as the payload area. Among them, the overhead area includes indication information #1, and the indication information #1 is used to indicate whether a certain block (such as the first block) among the multiple blocks in the payload area is a rate compensation block. Specifically, the indication information #1 includes a first multiframe indication and a second multiframe indication. The first multiframe indication can be an optical multiframe identifier (OMFI), which is located in the 4th row and 16th column of the overhead area, and the second multiframe indication can be a multiframe alignment signal (MFAS), which is located in the 1st row and 7th column of the overhead area, that is, the first multiframe indication and the second multiframe indication are combined to indicate whether a certain block among the multiple blocks in the payload area is a rate compensation block. The payload area is divided into multiple blocks, such as 237 blocks. The size of each block can be 2*257 bits. The first block is a rate compensation block (such as RC) used to carry rate compensation information. The remaining 236 blocks are data blocks used to carry service data. In addition, the payload area also includes 38 bits of padding information, such as 6 bits of PAD fixed padding and 32 bits of cyclic redundancy check-32 (CRC-32) check information. CRC-32 is used for payload area verification. Figure 4 As shown in (b), the ODUflex#j frame does not include a rate compensation block, that is, the 237 blocks in the payload area of ​​the ODUflex#i frame are all data blocks for carrying service data. For other features of the ODUflex#j frame structure, please refer to the relevant description of the above ODUflex#i, which will not be repeated here for the sake of brevity.

[0072] Exemplarily, the rate compensation block may be replaced by a rate adjustment block or a rate matching block, and the present application does not impose any specific limitation on the names thereof.

[0073] Exemplarily, the position of the rate compensation block in the payload area is predefined, or the transmitting device may send indication information #2 to the receiving device, and the indication information #2 is used to indicate the position of the rate compensation block in the payload area, that is, to indicate the position of one of the above-mentioned multiple blocks in the payload area. Among them, the indication information #2 may be carried in the overhead area of ​​the ODUflex#i frame, or may be sent separately from the ODUflex#i frame. That is, the present application does not make any specific limitation on the position of the rate compensation block in the payload area, that is, the rate compensation block may be located at the position of any of the 237 blocks in the payload area. Moreover, the present application does not make any special limitation on the pattern of the rate compensation block, for example, it may be all 0 or all 1, because the receiving device can predetermine through OMFI and MFAS that the rate compensation block is placed at a fixed position in a known fixed frame (for example, the first block of ODUflex#i), so no special pattern is required for identification.

[0074] Optionally, the present application does not specifically limit the location of indication information #1 and indication information #2 in the overhead area.

[0075] based on Figure 3 The OTN frame shown, Figure 5 is a schematic diagram of a frame structure of another OTN frame provided in an embodiment of the present application, taking 1.6TE mapped to an ODUflex frame as an example, such as Figure 5 As shown in (a), the ODUflex#k frame includes a rate compensation block, and the frame structure of the ODUflex#k frame is divided into 4 rows * 3824 columns, each row includes 3824 bytes, the first 4 rows * 16 columns are defined as the overhead area, and the last 4 rows * 3808 columns are defined as the payload area. Among them, the overhead area includes indication information #1, and the indication information #1 is used to indicate whether a certain block (such as the first block) among the multiple blocks in the payload area is a rate compensation block. Specifically, the indication information #1 includes a first multiframe indication and a second multiframe indication. The first multiframe indication can be OMFI, which is located in the 4th row and 16th column of the overhead area, and the second multiframe indication can be MFAS, which is located in the 1st row and 7th column of the overhead area. That is, the first multiframe indication and the second multiframe indication are combined to indicate whether a certain block among the multiple blocks in the payload area is a rate compensation block. The payload area is divided into multiple blocks, namely the first part of the first block to the first 118th block. The size of each block can be 4*257 bits, of which the first block is a rate compensation block (such as RC) used to carry rate compensation information, and the remaining blocks are data blocks used to carry service data. In addition, the payload area also includes 38 bits of padding information, such as 6 bits of PAD fixed padding and 32-bit CRC-32 check information. CRC-32 is used for verification of the payload area. Figure 5As shown in (b), the ODUflex#k+1 frame does not include a rate compensation block, that is, multiple blocks in the payload area of ​​the ODUflex#k+1 frame (i.e., the latter part of the 118th block to the 237th block) are all data blocks for carrying service data. For other features of the ODUflex#k+1 frame structure, please refer to the relevant description of the above ODUflex#k, which will not be repeated here for the sake of brevity.

[0076] Among them, the position of the rate compensation block in the payload area, the pattern of the rate compensation block, the indication method of the position of the rate compensation block in the payload area, the name of the rate compensation block, the position of the indication information in the overhead area, etc., can refer to the above Figure 4 For the sake of brevity, the relevant description is not repeated here.

[0077] Figure 6 FIG. 6 is a flow chart of a method 600 for data transmission provided in an embodiment of the present application. Figure 6 As shown, the method 600 is a schematic flow chart shown from the perspective of device interaction, wherein the sending device may be an OTN device, or may be executed by a component of an OTN device (such as a chip or a chip system, etc.). The receiving device may be an OTN device, or may be executed by a component of an OTN device (such as a chip or a chip system, etc.). Specifically, the method 600 includes the following steps.

[0078] S610, the sending device obtains service data.

[0079] Exemplarily, the service data involved in the embodiments of the present application refers to the services carried by the optical transport network or the metropolitan area transport network. For example, it includes but is not limited to Ethernet services, packet services, wireless backhaul services, etc. Service data may also be referred to as service signals, customer data, or customer service data. It should be understood that the types of service data are not limited in the embodiments of the present application.

[0080] In the embodiment of the present application, the sending device may be the above-mentioned OTN device (such as Figure 1 OTN equipment A) shown in the figure, from the customer equipment (such as Figure 1 The client device shown in FIG. 1 receives service data. Alternatively, the sending device is other devices that can implement OTN devices. In the embodiments of the present application, there is no limitation on the specific form of the sending device, as long as it can implement the corresponding communication function. It should be understood that a device can be referred to as a node or a node device, and a sending device can be referred to as a sending end device, a sending node, a sending end, or a source node. Similarly, a receiving device can be referred to as a receiving end device, a receiving node, a receiving end, or a sink node.

[0081] S620: The sending device maps the service data into a data frame.

[0082] The data frame may be an OTN frame, such as an ODUk frame or an ODUflex frame, which is not limited in the present application. It should be understood that other OTN frames or metropolitan transport network (MTN) frames, or new types of OTN frames and MTN frames may be defined with the development of OTN technology and MTN technology, which are also applicable to the present application.

[0083] In one example, taking 800GE mapped to ODUflex frame as an example, the sending device can map the service data to the above Figure 4 The ODUflex#i frame or the ODUflex#j frame.

[0084] In conjunction with Table 1, an example is given below for the mapping of service data to an ODUflex#i frame or an ODUflex#j frame by a transmitting device. The second multiframe indication is a 256-multiframe indication of an ODUflex frame, and the corresponding second multiframe numbers are integers from 0 to 255, that is, each frame increases by 1, and counts cyclically between 0 and 255. The first multiframe indication represents the number of 256 multiframes (i.e., 256 multiframes containing 256 single frames) of an ODUflex frame, and the corresponding first multiframe numbers are integers from 0 to 79, that is, each 256 multiframe increases by 1, and counts cyclically between 0 and 79, indicating 80 256 multiframes. The transmitting device can indicate the specific insertion position of the rate compensation block in the 20k frame, that is, the 20480 frame, through the combination of the first multiframe indication and the second multiframe indication, which means that a rate compensation block of 1 frame size is inserted into every 20480 ODUflex frames (equivalent to inserting 237 2*257b rate compensation blocks into every 80 256 multiframes), and the 237 rate compensation blocks can be evenly inserted into each ODUflex frame of 20480. In order to avoid confusing the order of the two 257b code streams, 2*257b can be kept as a rate adaptation unit, and when performing rate compensation, the size of the rate compensation block is also 2*257b.

[0085] Table 1

[0086]

[0087] For example, when the first multiframe number is 0, the second multiframe number is 0, and the rate compensation block is Y, the sending device can map the service data to Figure 4 In the payload area of ​​the ODUflex#i frame shown in (a), a rate compensation block is inserted at the first block position of the payload area of ​​the ODUflex#i frame. When the first multiframe number is 76, the second multiframe number is 76, and the rate compensation block is N, the sending device can map the service data to Figure 4In the ODUflex#j frame shown in (b), no rate compensation block needs to be inserted, and the payload area of ​​the ODUflex#j frame is used to carry valid data blocks. For simplicity, examples of whether to insert rate compensation blocks corresponding to other values ​​of the first multiframe indicator and the second multiframe indicator are not described one by one.

[0088] It can be seen from Table 1 that in every 80 256-multiframes, when the first multiframe is numbered from 0 to 76 and the second multiframe is numbered from 0, 85 and 171, and when the first multiframe is numbered from 77 to 79 and the second multiframe is numbered from 0 and 85, the sending device can insert a rate compensation block at the position of the first block in the payload area of ​​the data frame and map the service data to the other 236 blocks in the payload area of ​​the data frame. That is to say, in every 80 256-multiframes, one rate compensation block is inserted into the first block of the payload area of ​​the 0th frame, the 85th frame and the 171th frame in the 0th to 76th 256-multiframes and the 0th frame and the 85th frame in the 77th to 79th 256-multiframes, respectively, and the payload areas of the other frames (i.e., the 1st to 84th frames, the 86th to 170th frames, the 172nd to 255th frames in the 0th to 76th 256-multiframes and the 1st to 84th frames, the 86th to 255th frames in the 77th to 79th 256-multiframes) all carry valid data blocks without rate compensation blocks.

[0089] In another example, taking 1.6TE mapped to ODUflex frame as an example, the sending device can map the service data to the above Figure 5 The ODUflex#k frame or ODUflex#k+1.

[0090] In conjunction with Table 2, an example is given below for the mapping of service data to the ODUflex#k frame or ODUflex#k+1 by the transmitting device. The second multiframe indication is a 256-multiframe indication of the ODUflex frame, and the corresponding second multiframe number is an integer from 0 to 255 in sequence, that is, it increases by 1 for each frame, and counts cyclically between 0 and 255. The first multiframe indication represents the number of 256 multiframes (i.e., 256 multiframes containing 256 single frames), and the corresponding first multiframe number is an integer from 0 to 159 in sequence, that is, it increases by 1 for each 256 multiframe, and counts cyclically between 0 and 159, indicating 160 256 multiframes. The transmitting device can indicate the specific insertion position of the rate compensation block in the 40k frame, that is, the 40960 frame, through the combination of the first multiframe indication and the second multiframe indication, which means that a rate compensation block of 2 frames is inserted into every 40960 ODUflex frames (equivalent to inserting 237 4*257b rate compensation blocks into every 160 256 multiframes), and the 237 rate compensation blocks can be evenly inserted into each ODUflex frame of 40960. In order to avoid confusing the order of the 4-way 257b code stream, 4*257b can be kept as a rate adaptation unit, and when performing rate compensation, the size of the rate compensation block is also 4*257b.

[0091] Table 2

[0092]

[0093]

[0094] For example, when the first multiframe number is 0, the second multiframe indication value is 0, and the rate compensation block is Y, the sending device can map the service data to Figure 5 In the payload area of ​​the ODUflex#k frame shown in (a), a rate compensation block is inserted at the first block position of the payload area of ​​the ODUflex#k frame. When the first multiframe number is 0, the second multiframe indication value is 1, and the rate compensation block is N, the sending device can map the service data to Figure 5 In the ODUflex#k+1 frame shown in (b), no rate compensation block needs to be inserted, and the payload area of ​​the ODUflex#k+1 frame is used to carry valid data blocks. For simplicity, examples of whether to insert rate compensation blocks corresponding to other values ​​of the first multiframe indicator and the second multiframe indicator are not described one by one.

[0095] It can be seen from Table 2 that in every 160 256-multiframes, when the first multiframe is numbered 0, 2, ..., 155, 156, 157, 158 and 159 and the second multiframe is numbered 0, and when the first multiframe is numbered 1, 3, ..., 153 and the second multiframe is numbered 0 and 128, the sending device can insert a rate compensation block at the position of the first block in the payload area of ​​the data frame, and map the service data to other blocks in the payload area of ​​the data frame.

[0096] It should be understood that the above Tables 1 and 2 are only for ease of understanding, and provide a schematic diagram of inserting a rate compensation block at a fixed position. There may be other changes, and the present application does not impose specific restrictions on the method of inserting a fixed position of a rate compensation block. For example, the above insertion of the rate compensation block into the first block of the payload area is only an example, and the rate compensation block may also be inserted into the position of any block in the multiple blocks of the payload area, such as the 237th block. As long as the rate compensation block is inserted more evenly at the same position in the payload area of ​​the data frame containing the rate compensation block, data transmission errors can be avoided and the system transmission performance can be improved. In one example, for the 80 256-multiframes in Table 1, one rate compensation block is inserted into the position of the 237th block of the payload area of ​​the 0th frame and the 85th frame in the 0th to 2nd 256-multiframes, and the 0th frame, the 85th frame and the 171st frame in the 3rd to 79th 256-multiframes, respectively, and the payload areas of other data frames all carry valid data blocks; or, one rate compensation block is inserted into the position of the 237th block of the payload area of ​​the 0th frame and the 85th frame in the 0th to 65th 256-multiframes, and the 0th frame, the 85th frame and the 171st frame in the 66th to 79th 256-multiframes, respectively, and the payload areas of other data frames all carry valid data blocks. In another example, for the 160 256-multiframes in Table 2, one rate compensation block is inserted into the position of the 237th block in the payload area of ​​the 0th frame and the 128th frame in the 0th to 77th 256-multiframes and the 128th frame in the 79th to 159th 256-multiframes, respectively, and the payload areas of other data frames all carry valid data blocks.

[0097] S630: The sending device sends a data frame to the receiving device.

[0098] Correspondingly, the receiving device receives the data frame from the transmitting device.

[0099] Exemplarily, the sending device may directly send data frames (such as OTN) to the receiving device, or may encapsulate the data frames into a bearer container ODU frame and then send the ODU frame to the receiving device, which is not specifically limited in the present application.

[0100] S640: The receiving device demaps the service data from the data frame according to the indication information.

[0101] Exemplarily, after receiving a data frame, the receiving device queries the above Table 1 or Table 2 according to the indication information #1 (such as the values ​​of MFAS and OMFI) in the overhead area of ​​the data frame, and further determines whether the sending device inserts a rate compensation block at a fixed position in the payload area of ​​the data frame. If the indication information #1 indicates that one of the multiple blocks in the payload area is a rate compensation block, the receiving device deletes the rate compensation block, that is, one of the multiple blocks in the payload area, and then demaps the other data blocks except the one of the multiple blocks in the payload area to obtain service data. If the indication information #1 indicates that one of the multiple blocks in the payload area is not a rate compensation block, it means that all the multiple blocks in the payload area of ​​the data frame are used to carry service data, and the receiving device demaps the data frame to obtain the service data.

[0102] In one example, taking 800GE mapped to ODUflex frame as an example, assuming that the receiving device receives Figure 4 For the ODUflex#i frame shown in (a), the values ​​of OMFI and MFAS in the overhead area of ​​the ODUflex#i frame are 0 and 85 respectively. The receiving device obtains the inserted compensation block as Y according to Table 1, and further determines that the sending device has inserted the rate compensation block at the position of the first block in the payload area of ​​the ODUflex#i frame. The receiving device deletes the rate compensation block and demaps the other 236 blocks in the payload area to obtain service data.

[0103] It should be noted that the embodiments of the present application do not limit the implementation method of how the receiving device demaps the service data from the received data frame, and reference may be made to the description of demapping in the current related technology.

[0104] It should be understood that the Figure 4 and Figure 5 The specific examples shown are only intended to help those skilled in the art to better understand the embodiments of the present application, rather than to limit the scope of the embodiments of the present application.

[0105] In the various embodiments of the present application, unless otherwise specified or provided for in any logical conflict, the terms and / or descriptions between the different embodiments are consistent and may be referenced to each other, and the technical features in the different embodiments may be combined to form new embodiments according to their inherent logical relationships.

[0106] It should be understood that in some of the above embodiments, the devices in the existing network architecture are mainly used as examples for exemplary description (such as OTN devices), and the present application does not limit the specific form of the device in the present application embodiment. For example, devices that can achieve the same function in the future are applicable to the present application.

[0107] The above describes in detail the data transmission method provided by the embodiment of the present application. The above data transmission method is mainly introduced from the perspective of interaction between the receiving device and the sending device. It is understandable that in order to implement the above functions, the receiving device and the sending device include hardware structures and / or software modules corresponding to the execution of each function.

[0108] The following, combined Figure 7 and Figure 8 The device for data transmission provided by the embodiment of the present application is described in detail. It should be understood that the description of the device embodiment corresponds to the description of the method embodiment, so the contents not described in detail can be referred to the method embodiment above, and some contents will not be repeated for the sake of brevity.

[0109] The embodiment of the present application can divide the functional modules of the sending device or the receiving device according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. The following is an example of dividing each functional module corresponding to each function.

[0110] Figure 7 700 is a schematic diagram of the structure of an OTN device 700 provided in an embodiment of the present application. The device 700 includes a receiving module 701, which can be used to implement a corresponding receiving function. The receiving module 701 can also be called a receiving unit.

[0111] The device 700 further includes a processing module 702, which can be used to implement corresponding processing functions.

[0112] The device 700 further includes a sending module 703 , which can be used to implement a corresponding sending function. The sending module 703 can also be called a sending unit.

[0113] Optionally, the device 700 also includes a storage unit, which can be used to store at least one of instructions, data and other configuration parameters. The processing unit 702 can read the content stored in the storage unit so that the device implements the actions of the relevant devices in the aforementioned method embodiments.

[0114] The apparatus 700 may be used to execute the actions executed by the sending device in each of the above method embodiments. In this case, the apparatus 700 may be a component of the sending device, the receiving module 701 is used to execute the receiving-related operations of the sending device in the above method embodiments, the processing module 702 is used to execute the processing-related operations of the sending device in the above method embodiments, and the sending module 703 is used to execute the sending-related operations of the sending device in the above method embodiments.

[0115] It should be understood that the specific process of each module executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.

[0116] Figure 8 8 is a schematic diagram of the structure of an OTN device 800 provided in an embodiment of the present application. Figure 8 As shown, the apparatus 800 includes a processor 801, a transceiver 802, and a memory 803. The memory 803 is optional. The apparatus 800 can be applied to both a sending device and a receiving device.

[0117] When applied to a sending device, the processor 801 and the transceiver 802 are used to implement Figure 6 In the implementation process, each step of the processing flow can be completed by the hardware integrated logic circuit or software instructions in the processor 801 to complete the method performed by the sending device described in the above figure. The transceiver 802 is used to receive a data frame to send to the opposite end device (also called a receiving device).

[0118] When applied to a receiving device, the processor 801 and the transceiver 802 are used to implement Figure 6 In the implementation process, each step of the processing flow can be completed by the hardware integrated logic circuit or software instructions in the processor 801 to complete the method performed by the receiving device described in the above figure. The transceiver 802 is used to receive the data frame sent by the opposite device (also called the sending device) and send it to the processor 801 for subsequent processing.

[0119] The memory 803 is used to store instructions so that the processor 801 can be used to perform the steps mentioned in the above figure. Alternatively, the memory 803 is also used to store other instructions to configure the parameters of the processor 801 to achieve corresponding functions.

[0120] It should be noted that the processor 801 and the memory 803 are Figure 2 In the hardware structure diagram of the network device, it may be located in a branch board, or in a single board that combines the branch and the line. Alternatively, the processor 801 and the memory 803 both include multiple ones, which are located in the branch board and the line board respectively, and the two boards cooperate to complete the above method steps.

[0121] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0122] It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0123] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory and / or a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM). For example, RAM can be used as an external cache. By way of example and not limitation, RAM may include the following forms: static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0124] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) can be integrated into the processor.

[0125] It is known to those skilled in the art that the units and steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, and such implementation should be considered to belong to the scope of protection of this application.

[0126] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0127] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement the solution provided by the present application. In addition, the functional units in the various embodiments of the present application may be integrated into one unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0128] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. For example, the computer may be a personal computer, a server, or a network device, etc. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, an optical medium, or a semiconductor medium, etc. For example, the aforementioned available medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk.

[0129] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for data transmission, characterized in that: The method is used for sending a device, comprising: Get business data; Mapping the service data into a data frame, the data frame comprising an overhead area and a payload area, the overhead area comprising indication information, the payload area comprising a plurality of blocks, the indication information being used to indicate whether a block among the plurality of blocks in the payload area is a rate compensation block; The data frame is sent.

2. The method according to claim 1, characterized in that: The first indication information includes a first multiframe indication and a second multiframe indication, the second multiframe indication is a second multiframe number of each X-frame-multiframe, and the first multiframe indication is a first multiframe number of each X-frame-multiframe included in each Y X-frame-multiframes, wherein, in each Y X-frame-multiframes, the Q data frames including the rate compensation block are determined according to the first multiframe indication and the second multiframe indication, and the Q data frames including the rate compensation block are discretely distributed in each Y X-frame-multiframes, and X, Y and Q are integers greater than 0.

3. The method according to claim 2, characterized in that The first multiframe number and the second multiframe number associated with the Q data frames including the rate compensation block are fixed in each of the Y X-frame-multiframes.

4. The method according to claim 2 or 3, characterized in that: Each X frame-multiframe contains the Q data frames or , or The second multiframe numbers of the data frames are discretely distributed.

5. The method according to any one of claims 2 to 4, characterized in that The proportion of the rate compensation block in each of the Y X frame-multiframes is Q / (X*Y*Z), wherein Z is the number of multiple blocks included in the payload area of ​​each of the data frames, and Z is an integer greater than 0.

6. The method according to any one of claims 2 to 5, characterized in that The Q value is 237.

7. The method according to any one of claims 2 to 6, characterized in that When the value range of the first multiframe number is 0 to 79, the second multiframe numbers corresponding to M of the Q data frames that include the rate compensation block are 0, 85 and 171, and the second multiframe numbers corresponding to the other data frames except M of the Q data frames that include the rate compensation block are 0 and 85, where M is an integer greater than 0.

8. The method according to any one of claims 2 to 7, characterized in that When the value range of the first multiframe number is 0 to 159, the second multiframe numbers corresponding to N of the Q data frames that include the rate compensation block are 0 and 128, and the second multiframe numbers corresponding to the other data frames except N of the Q data frames that include the rate compensation block are 0, and N is an integer greater than 0.

9. The method according to any one of claims 1 to 8, characterized in that When the bit rate of the data frame is 800 Gbit / s Ethernet, the size of the rate compensation block is 2*257 bits.

10. The method according to any one of claims 1 to 9, characterized in that When the bit rate of the data frame is 1.6 Tbit / s Ethernet, the size of the rate compensation block is 4*257 bits.

11. The method according to any one of claims 1 to 10, characterized in that The position of the rate compensation block in the payload area is predefined.

12. The method according to any one of claims 1 to 11, characterized in that The data frame is an optical transport network OTN frame.

13. A method for data transmission, characterized in that: The method is used for a receiving device, comprising: receiving a data frame, the data frame comprising an overhead area and a payload area, the overhead area comprising indication information, the payload area comprising a plurality of blocks, the indication information being used to indicate whether a block among the plurality of blocks in the payload area is a rate compensation block; According to the indication information, the service data is demapped from the data frame.

14. The method according to claim 13, characterized in that Demapping the service data from the data frame according to the indication information includes: When the indication information indicates that a certain block among the multiple blocks in the payload area is the rate compensation block, deleting the certain block among the multiple blocks in the payload area; The service data carried in other blocks except one of the multiple blocks in the payload area is obtained.

15. The method according to claim 13 or 14, characterized in that The first indication information includes a first multiframe indication and a second multiframe indication, the second multiframe indication is a second multiframe number in each X-frame-multiframe, and the first multiframe indication is a first multiframe number in each Y X-frame-multiframe, wherein, in each Y X-frame-multiframe, the Q data frames including the rate compensation block are determined according to the first multiframe indication and the second multiframe indication, and the Q data frames including the rate compensation block are discretely distributed in each Y X-frame-multiframe, and X, Y and Q are integers greater than 0.

16. The method according to any one of claims 13 to 15, characterized in that The proportion of the rate compensation block in each of the Y X frame-multiframes is Q / (X*Y*Z), wherein Z is the number of multiple blocks included in the payload area of ​​each of the data frames, and Z is an integer greater than 0.

17. The method according to any one of claims 13 to 16, characterized in that The Q value is 237.

18. The method according to any one of claims 13 to 17, characterized in that The position of the rate compensation block in the payload area is predefined.

19. The method according to any one of claims 13 to 18, characterized in that The data frame is an optical transport network OTN frame.

20. An optical transmission network (OTN) device, characterized in that: The OTN device includes a processor and a communication interface, the communication interface is used to send the OTN frame to other communication devices other than the communication device including the chip, the processor is used to execute the method as described in any one of claims 1 to 12, or the communication interface is used to receive the OTN frame and transmit it to the processor, and the processor is used to execute the method as described in any one of claims 13 to 19.

21. The OTN device according to claim 20, characterized in that: The OTN device further includes an optical transceiver.

22. An optical transmission network OTN system, characterized in that: include: At least one device as claimed in claim 20 or 21.

23. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the method according to any one of claims 1 to 12 or the method according to any one of claims 13 to 19 is implemented.

Citation Information

Cited By

  • Optical communication service data bearing method, bearing equipment and transceiving equipment

    CN119544079A

  • Data transmission method and apparatus

    EP4664799A1

  • Data transmission method and apparatus

    WO2024188099A1

  • Data mapping method and device

    WO2026086330A1

  • OTN chip, board, and device

    WO2026179154A1