Data transmission method and device

By setting corresponding identifiers in the data frame for delay alignment, the problem of delay differences in multi-channel business data transmission is solved, and the synchronous transmission of data frames and the normal operation of customer services are realized.

CN115039358BActive Publication Date: 2024-10-18HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202080094843.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-29
Publication Date
2024-10-18
Estimated Expiration
2040-04-29

AI Technical Summary

Technical Problem

During the communication process, the difference in transmission delays caused by multi-channel business data passing through different transmission channels may affect the normal operation of customer services, especially when transmitting over long distances. The problem is more obvious.

Method used

By setting corresponding identifiers in multiple data frames, these identifiers are used to perform delay alignment on nodes on the transmission path, thereby eliminating delay differences in data frames on the transmission path and ensuring synchronous transmission of data frames.

Benefits of technology

It achieves rapid delay alignment of data frames during transmission, reduces the resource occupation of intermediate nodes, avoids the need to add large-capacity cache on the sink node, and ensures the synchronous transmission of multi-channel data frames to ensure the normality of customer business. run.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115039358B_ABST
    Figure CN115039358B_ABST
Patent Text Reader

Abstract

The present application provides a data transmission method and device, which relates to the field of communication technology. The technical solution is used to enable data frames that need to be transmitted synchronously to quickly complete delay alignment during the transmission process to ensure the synchronous transmission of data frames. The method includes: a source node transmits a first data frame to a first node through a first transmission channel, and transmits a second data frame to the first node through a second transmission channel. Among them, the first node is a downstream node of the source node. The first data frame includes a first identifier, and the second data frame includes a second identifier. The first identifier corresponds to the second identifier, and is used to instruct the first node to perform delay alignment on the first data frame and the second data frame.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular, to a data transmission method and device. Background Art

[0002] During the communication process, when multiple service data are transmitted from the source node to the destination node through the transmission path between the source node and the destination node, since the transmission channels corresponding to each service data may be different, the transmission delay of the service data in different transmission channels in the transmission path will be different. This results in differences in the reception delay of multiple service data sent from the source node at the same time when received at the destination node. Especially when transmitting multiple service data with strict requirements on delay differences, the delay deviation between multiple service data may affect the normal operation of customer services.

[0003] For example, when service data A and service data B need to be sent synchronously from the source node to the destination node. If between the source node and the intermediate node on the transmission path: the transmission channel used to transmit service data A is congested, and the transmission channel used to transmit service data B is unblocked. At this time, service data A may arrive at the intermediate node later than service data B. When the above situation occurs multiple times in multiple intermediate nodes in the transmission path, the delay deviation between service data A and service data B will become larger and larger. In this way, the destination node may be unable to align the delays of service data A and service data B, thereby affecting the normal operation of customer services. Especially in long-distance transmission, the above problems will be more obvious. Summary of the invention

[0004] The embodiments of the present application provide a data transmission method and device, which can delay and align data frames that need to be transmitted synchronously during the transmission process to ensure the normal operation of customer services.

[0005] To achieve the above objectives, the present application provides the following technical solutions:

[0006] In a first aspect, an embodiment of the present application provides a data transmission method. The method includes: a source node transmits a first data frame to a first node through a first transmission channel, and transmits a second data frame to the first node through a second transmission channel. The first node is a downstream node of the source node. The first data frame includes a first identifier, and the second data frame includes a second identifier. The first identifier corresponds to the second identifier, and is used to instruct the first node to perform delay alignment on the first data frame and the second data frame. The downstream node can be a host node or an intermediate node.

[0007] Based on this scheme, in an embodiment of the present application, when a source node sends multiple data frames (such as, including the above-mentioned first data frame and second data frame) that need to be transmitted synchronously to a downstream node (i.e., the first node), mutually corresponding identifiers are respectively set in the multiple data frames (such as the first identifier in the first data frame and the second identifier in the second data frame in the above scheme), and then the multiple data frames are sent to the first node through multiple transmission channels. In this way, the first node can use the mutually corresponding identifiers included in the multiple data frames to find the multiple data frames that need to be delayed aligned, thereby performing delay alignment on the multiple data frames. Through the above method, the delay differences of the multiple data frames on the transmission path can be eliminated, thereby ensuring the normal operation of customer services.

[0008] Furthermore, in the solution provided in the present application, because the data frames sent by the source node include mutually corresponding identifiers, the first node can determine the data frames that need to be delay aligned without parsing the business data in the data frames, thereby achieving the goal of quickly completing delay alignment of data frames that need to be transmitted synchronously during the transmission process, thereby improving the efficiency of delay alignment of data frames.

[0009] In one possible design, the first data frame also includes the first service data, and the second data frame also includes the second service data. Before the source node transmits the first data frame to the first node through the first transmission channel and transmits the second data frame to the first node through the second transmission channel, the method further includes: the source node receives the first service data and the second service data. After receiving the first service data and the second service data, the source node performs delay alignment on the first service data and the second service data.

[0010] Based on this scheme, it is considered that there may be a situation: when the source node receives multiple service data (such as, including the first service data and the second service data) that need to be transmitted synchronously, there may be a delay difference between the multiple service data. Therefore, in order to eliminate the influence of this delay difference on the subsequent transmission, the above scheme of the present application adopts the method of first performing delay alignment on the multiple service data after the source node receives the multiple service data that need to be transmitted synchronously. In this way, the source node can transmit the data frames containing the multiple service data (including: the first data frame containing the first service data and the second data frame containing the second service data) synchronously to the first node as much as possible, thereby reducing the workload of the first node when performing delay alignment on the first data frame and the second data frame.

[0011] In one possible design, the source node performs delay alignment on the first service data and the second service data, specifically including: the source node determines the interval between receiving the first service data and receiving the second service data. Then, the source node performs delay alignment on the first service data and the second service data according to the determined interval.

[0012] Based on the above solution, multiple service data can be synchronously encapsulated into data frames corresponding to each service data, so that the source node can synchronously transmit the data frames containing the multiple service data (including: the first data frame containing the first service data and the second data frame containing the second service data) to the first node as much as possible.

[0013] In one possible design, the first data frame and the second data frame are both optical channel data unit k (ODUk) frames. The first identifier is included in a preset field in the ODUk frame overhead field, and the second identifier is included in a preset field in the ODUk frame overhead field. Alternatively, the first data frame and the second data frame are both optical channel transport unit k (OTUk) frames. The first identifier is included in a preset field in the OTUk frame overhead field, and the second identifier is included in a preset field in the OTUk frame overhead field.

[0014] Based on the above solution, by setting the identifier (including the first identifier and the second identifier) ​​in the data frame for indicating that the data frame is to be delayed aligned in the overhead field of the ODUk frame or the overhead field of the OTUk frame, the downstream first node can determine the data frame that needs to be delayed aligned by parsing the data frame to the ODUk layer or the OTUk layer after receiving the data frame. Since the first node does not need to parse the payload in the data frame, the efficiency of delay alignment of the data frame can be improved through this solution.

[0015] In a possible design, the preset field is a multi-frame alignment signal (MFAS) field.

[0016] Based on the above scheme, considering that the role of the MFAS field in the optical transport network (OTN) standard is to serve as a frame count byte to identify multiple frames continuously sent in the same transmission channel. Therefore, the present application does not affect the original function of the MFAS field by setting the identifier (including the first identifier and the second identifier) ​​in the data frame for indicating the delay alignment of the data frame in the MFAS field, and can also ensure that the identifier for indicating the delay alignment of the data frame is recorded in the data frame. Compared with setting the identifier for indicating the delay alignment of the data frame in other fields, setting the identifier in the MFAS field can avoid the problem of occupying additional overhead resources in the data frame for setting the identifier in the data frame.

[0017] In a possible design, when a first initial value of the MFAS field of the first data frame corresponds to a second initial value of the MFAS field of the second data frame, the first identifier is the first initial value and the second identifier is the second initial value.

[0018] In the above design, when the first initial value corresponds to the second initial value, the initial value of the MFAS field in the data frame may not be changed. In this way, the initial value of the MFAS field in the data frame is changed only when the first initial value does not correspond to the second initial value, thereby reducing the number of changes to the MFAS field in the data frame and reducing the impact on the original function of the MFAS field.

[0019] In a possible design, the first identifier and the second identifier correspond to each other, including that the first identifier and the second identifier are the same.

[0020] Based on the above scheme, the first node can determine whether the two data frames need to be delayed aligned by judging whether the first identifier contained in the data frame received from the first transmission channel and the second identifier contained in the data frame received from the second transmission channel are the same, thereby being able to quickly and effectively find the data frames that need to be delayed aligned.

[0021] In a second aspect, an embodiment of the present application provides a data transmission method, the method comprising: a first node receives a first data frame through a first transmission channel, and receives a second data frame through a second transmission channel. The first data frame includes a first identifier, and the second data frame includes a second identifier. When the first node determines that the first identifier corresponds to the second identifier, the first node performs delay alignment on the first data frame and the second data frame. The first node is an intermediate node or a sink node.

[0022] Based on this solution, the first node performs delay alignment on data frames with corresponding identifiers in data frames from multiple transmission channels, thereby ensuring the synchronous transmission of these data frames. Furthermore, in the solution provided by the present application, because the data frames include corresponding identifiers, the first node can determine the data frames that need to be delayed aligned without parsing the business data in the data frames, thereby achieving the effect of quickly completing the delay alignment of the data frames that need to be transmitted synchronously during the transmission process, thereby ensuring the synchronous transmission of the data frames.

[0023] In one possible design, delay alignment of the first data frame and the second data frame includes: the first node determines an interval between receiving the first data frame and receiving the second data frame. The first node delays the first data frame and the second data frame according to the interval.

[0024] Based on the above scheme, the delays of multiple data frames (including the first data frame and the second data frame) can be aligned so as to synchronously transmit the multiple data frames to the downstream nodes or synchronously parse the multiple data frames to obtain the service data in the data frames.

[0025] In one possible design, the first data frame and the second data frame are both optical channel data unit k (ODUk) frames. The first identifier is included in a preset field in the ODUk frame overhead field, and the second identifier is included in a preset field in the ODUk frame overhead field. Alternatively, the first data frame and the second data frame are both optical channel transport unit k (OTUk) frames. The first identifier is included in a preset field in the OTUk frame overhead field, and the second identifier is included in a preset field in the OTUk frame overhead field.

[0026] Based on the above solution, by setting the identifier (including the first identifier and the second identifier) ​​in the data frame for indicating that the data frame is to be delayed aligned in the overhead field of the ODUk frame or the overhead field of the OTUk frame, the first node can determine the data frame that needs to be delayed aligned by parsing the data frame to the ODUk layer or the OTUk layer after receiving the data frame. Since the first node does not need to parse the payload in the data frame, the efficiency of delay alignment of the data frame can be improved through this solution.

[0027] In a possible design, the preset field is a multi-frame alignment signal (MFAS) field.

[0028] Based on the above scheme, considering that the role of the MFAS field in the optical transport network (OTN) standard is to serve as a frame count byte to identify multiple frames continuously sent in the same transmission channel. Therefore, the present application does not affect the original function of the MFAS field by setting the identifier (including the first identifier and the second identifier) ​​in the data frame for indicating the delay alignment of the data frame in the MFAS field, and can also ensure that the identifier for indicating the delay alignment of the data frame is recorded in the data frame. Compared with setting the identifier for indicating the delay alignment of the data frame in other fields, setting the identifier in the MFAS field can avoid the problem of occupying additional overhead resources in the data frame for setting the identifier in the data frame.

[0029] In a possible design, the first identifier and the second identifier correspond to each other, including that the first identifier and the second identifier are the same.

[0030] Based on the above scheme, the first node can determine whether the two data frames need to be delayed aligned by judging whether the first identifier contained in the data frame received from the first transmission channel and the second identifier contained in the data frame received from the second transmission channel are the same, thereby being able to quickly and effectively find the data frames that need to be delayed aligned.

[0031] In a possible design, when the first node is an intermediate node, delay alignment is performed on the first data frame and the second data frame, including:

[0032] The first node synchronously transmits the first data frame and the second data frame to a downstream node of the first node.

[0033] In a third aspect, an embodiment of the present application provides a data transmission device, which may be a chip or a system on chip of a data transmission node, and the data transmission device may implement the functions performed by the source node in the above-mentioned first aspect or the possible design in the first aspect. These functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions. For example, the data transmission device may include a transmission unit. The transmission unit may be used to transmit a first data frame to a first node through a first transmission channel. The second data frame is transmitted to the first node through a second transmission channel. Among them, the first node is a downstream node of the data transmission device. The first data frame includes a first identifier, and the second data frame includes a second identifier. The first identifier corresponds to the second identifier, and is used to instruct the first node to perform delay alignment on the first data frame and the second data frame. Of course, the data transmission device may also include more or fewer units for implementing other functions of the source node.

[0034] In one possible design, the first data frame also includes first business data, and the second data frame also includes second business data; the data transmission device also includes: a receiving unit, used to receive the first business data and the second business data before the transmission unit transmits the first data frame to the first node through the first transmission channel and transmits the second data frame to the first node through the second transmission channel; the receiving unit is also used to delay align the first business data and the second business data after receiving the first business data and the second business data.

[0035] In one possible design, the receiving unit is specifically used to determine the interval duration between receiving the first business data and receiving the second business data; the receiving unit is also specifically used to delay align the first business data and the second business data according to the interval duration.

[0036] In a possible design, the receiving unit is specifically configured to synchronously send the first service data and the second service data to the transmission unit according to the interval duration. The transmission unit is also configured to encapsulate the first service data from the receiving unit into the first data frame and the second service data from the receiving unit into the second data frame before transmitting the first data frame to the first node through the first transmission channel and transmitting the second data frame to the first node through the second transmission channel.

[0037] In a possible design, the first data frame and the second data frame are both optical path data unit ODUk frames; the first identifier is included in a preset field in the ODUk frame overhead field; the second identifier is included in a preset field in the ODUk frame overhead field; or, the first data frame and the second data frame are both optical path transmission unit OTUk frames; the first identifier is included in a preset field in the OTUk frame overhead field; the second identifier is included in a preset field in the OTUk frame overhead field.

[0038] In a possible design, the preset field is a multi-frame alignment signal MFAS field.

[0039] In a possible design, when a first initial value of the MFAS field of the first data frame corresponds to a second initial value of the MFAS field of the second data frame, the first identifier is the first initial value and the second identifier is the second initial value.

[0040] In a possible design, the first identifier and the second identifier correspond to each other, including: the first identifier and the second identifier are the same.

[0041] In a fourth aspect, an embodiment of the present application provides a data transmission device, which may be a chip or a system on chip of a data transmission node. The data transmission device may implement the functions performed by the first node in the above-mentioned second aspect or the possible design of the second aspect. These functions may be implemented by hardware, or by hardware executing corresponding software implementations. The hardware or software includes one or more modules corresponding to the above-mentioned functions. For example, the data transmission device may include: a receiving unit and a delay alignment unit. Among them, the receiving unit is used to receive a first data frame through a first transmission channel and a second data frame through a second transmission channel; the first data frame includes a first identifier, and the second data frame includes a second identifier; the delay alignment unit is used to perform delay alignment on the first data frame and the second data frame when it is determined that the first identifier corresponds to the second identifier; wherein the data transmission device is an intermediate node or a host node.

[0042] In one possible design, the delay alignment unit is specifically used to determine the interval between receiving the first data frame and receiving the second data frame when it is determined that the first identifier corresponds to the second identifier; the delay alignment unit is also specifically used to perform delay alignment on the first data frame and the second data frame according to the interval duration.

[0043] In a possible design, the first data frame and the second data frame are both optical path data unit ODUk frames; the first identifier is included in a preset field in the ODUk frame overhead field; the second identifier is included in a preset field in the ODUk frame overhead field; or, the first data frame and the second data frame are both optical path transmission unit OTUk frames; the first identifier is included in a preset field in the OTUk frame overhead field; the second identifier is included in a preset field in the OTUk frame overhead field.

[0044] In a possible design, the preset field is a multi-frame alignment signal MFAS field.

[0045] In a possible design, the first identifier and the second identifier correspond to each other, including: the first identifier and the second identifier are the same.

[0046] In a possible design, when the first node is an intermediate node, the delay alignment unit is specifically used to synchronously transmit the first data frame and the second data frame to a downstream node of the data transmission device.

[0047] In a fifth aspect, an embodiment of the present application provides a data transmission device, which includes one or more processors, and the one or more processors are coupled to one or more memories. The one or more memories store computer instructions. When the one or more processors execute the computer instructions, the data transmission device executes the data transmission method executed by the source node in the above-mentioned first aspect or the possible design of the first aspect, or when the one or more processors execute the computer instructions, the data transmission device executes the data transmission method executed by the first node in the above-mentioned second aspect or the possible design of the second aspect.

[0048] In a sixth aspect, an embodiment of the present application provides a data transmission system, the data transmission system comprising: a source node, one or more intermediate nodes and a destination node. The source node is used to execute the data transmission method provided in the first aspect. At least one of the one or more intermediate nodes, and / or the destination node, is used to execute the data transmission method provided in the second aspect.

[0049] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed, the data transmission method executed by the source node in the above-mentioned first aspect or a possible design in the first aspect is executed, or when the instructions are executed, the data transmission method executed by the first node in the above-mentioned second aspect or a possible design in the second aspect is executed.

[0050] In an eighth aspect, an embodiment of the present application provides a computer program product comprising instructions. When the computer is run on a computer, the computer can execute the data transmission method executed by the source node in the first aspect or a possible design of the first aspect, or the computer can execute the data transmission method executed by the first node in the second aspect or a possible design of the second aspect.

[0051] In a ninth aspect, an embodiment of the present application provides a chip, which includes a processor. When the processor executes a computer program instruction, the chip executes the data transmission method executed by the source node in the above-mentioned first aspect or a possible design in the first aspect, or the chip executes the data transmission method executed by the first node in the above-mentioned second aspect or a possible design in the second aspect. The computer program instruction may come from a memory inside the chip or from a memory outside the chip. Optionally, the chip may also serve as an input and output circuit of a communication interface.

[0052] Among them, the technical effects brought about by any design method in the third to ninth aspects mentioned above can refer to the technical effects brought about by different design methods in the first or second aspects mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 The frame structure of OPUk frame, ODUk frame and OTUk frame in the OTN network provided by the embodiment of the present application;

[0054] Figure 2 One of the flow diagrams of transmitting data in an OTN network provided in an embodiment of the present application;

[0055] Figure 3 A second schematic diagram of a process for transmitting data in an OTN network provided in an embodiment of the present application;

[0056] Figure 4 A schematic diagram of the structure of a transmission network provided in an embodiment of the present application;

[0057] Figure 5 One of the flowcharts of a data transmission method provided in an embodiment of the present application;

[0058] Figure 6 A second flowchart of a data transmission method provided in an embodiment of the present application;

[0059] Figure 7 A third flowchart of a data transmission method provided in an embodiment of the present application;

[0060] Figure 8 One of the structural schematic diagrams of a data transmission device provided in an embodiment of the present application;

[0061] Fig. 9 A second structural diagram of a data transmission device provided in an embodiment of the present application;

[0062] Fig.10 A third structural diagram of a data transmission device provided in an embodiment of the present application;

[0063] Fig.11 A fourth structural diagram of a data transmission device provided in an embodiment of the present application;

[0064] Fig.12 A fifth structural diagram of a data transmission device provided in an embodiment of the present application;

[0065] Fig.13 A schematic diagram of the structure of a data transmission system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0066] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0067] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0068] In order to facilitate the understanding of this application, the relevant technologies involved in this application are now described.

[0069] Optical transport network (OTN): OTN refers to a transmission network that realizes the transmission, multiplexing, routing, and monitoring of service signals in the optical domain and guarantees its performance indicators and survivability.

[0070] In the OTN network, after the source node obtains the service data to be transmitted, it first encapsulates the service data into the Optical Channel Payload Unit-k (OPUk) frame. Then, by adding the ODUk overhead to the OPUk frame, the OPUk frame is encapsulated into the ODUk frame. The ODUk frame is then encapsulated into the OTUk frame and transmitted to the downstream node. Among them, in OPUk, ODUk or OTUk, k refers to the channel level corresponding to the data frame. Among them, the larger the value of k, the higher the channel level, and the higher the corresponding transmission rate. For example, the transmission rate of the OTU1 channel is the lowest, and the transmission rates of the OTU1 channel, OTU2 channel, and OTU3 channel increase successively. Similarly, the same is true for the OPUk channel and the ODUk channel.

[0071] For example, first map the service data to the OPU1 payload area to obtain the OPU1 frame; then add the ODU overhead to obtain the ODU1 frame, and then add the OTU1 overhead to obtain the OTU1 frame. For another example, map the service data to the OPU2 payload area to obtain the OPU2 frame; then add the ODU overhead to obtain the ODU2 frame, and then add the OTU2 overhead to obtain the OTU2 frame.

[0072] In addition, when multiplexing technology is used, after encapsulating the service data into a low-price OPUk frame and increasing the ODU overhead to obtain a low-order ODUk frame, the low-order ODUk frame can be multiplexed into a higher-rate high-order OPUk and the ODU overhead can be increased to obtain a high-order ODUk, and then a higher-order OTUk frame with a higher transmission rate can be used to complete data transmission.

[0073] For example, in the OTN network, the transmission rate of OTU2 is four times that of OTU1. Therefore, four ODU1 channels can be multiplexed into one OTU2 channel for transmission. In this case, the ODU1 frame needs to be encapsulated into an ODTUG frame, and then the ODTUG frame needs to be mapped to OTU2 to complete the transmission.

[0074] Among them, the frame structure of OPUk, ODUk, and OTUk is as follows: Figure 1 As shown. Among them, Figure 1 (a) shows the OPUk frame structure. The OPUk frame includes 4 lines of 3810 bytes, specifically 4 lines of 2-byte OPUk overhead area and 4 lines of 3808-byte OPUk payload area. The OPUk payload area is used to carry service data (in addition, in the case of multiplexing, the overhead area of ​​the high-order OPUk is used to multiplex the low-order ODUk frame).

[0075] Figure 1(b) shows the frame structure of ODUk, and the ODUk frame includes 4 rows of 3824 bytes. It includes 4 rows of 3810 bytes of OPUk frames and ODUk overhead area. In addition, the first 14 bytes of the first row of the ODUk frame also include the reserved area for FA and OTUk overhead. What is not shown in the figure is that the FA specifically includes the frame alignment signal (FAS) field and the multi-frame alignment signal (MFAS) field.

[0076] Figure 1 (c) shows the frame structure of the OTUk frame, which includes 4 rows of 4080 bytes. Compared with the ODUk frame, the OTUk frame adds an OTUk forward error correction code (FEC) field (i.e. Figure 1 (c) 3825-4080 bytes).

[0077] It should be noted that when the multiplexing technology is not used, the FA and OTUk overhead in the OTUk frame can be parsed at the OTUk layer or at the ODUk layer. When the OTN multiplexing technology is used, the 4 lines of 3810 bytes included in the low-order ODUk frame are multiplexed in the high-order OPUk payload field. At this time, the low-order ODUk frame and the high-order OTUk frame generated by the multiplexing each include their own FA and OTUk overhead fields.

[0078] In addition, it should be noted that in the OTN network, usually, the process between two upstream and downstream nodes on the transmission path, from the encapsulation of ODUk frames at the upstream node to the parsing of ODUk frames at the downstream node, is regarded as one ODUk channel. Similarly, the process from the encapsulation of OTUk frames at the upstream node to the parsing of OTUk frames at the downstream node is regarded as one OTUk channel. Among them, when the multiplexing technology is not adopted, one ODUk channel corresponds to one OTUk channel, that is, there is a one-to-one correspondence between the ODUk channel and the OTUk channel. When the multiplexing technology is adopted, there is a situation where multiple low-order ODUk channels correspond to one high-order OTUk channel.

[0079] For example, without using multiplexing technology, Figure 2As shown, after receiving two channels of service data (service data a and service data b), the source node 101 encapsulates the two channels of service data layer by layer to obtain OTU1 frames corresponding to each service data, and then transmits the OTU1 frames to the first node 102 (the first node 102 can be one of the downstream nodes of the source node 101) through the optical channel. The process from the source node 101 encapsulating service data a into ODU1 frames to the first node 102 parsing to obtain the ODU1 frames corresponding to service data a constitutes one ODU1 channel; the process from the source node 101 encapsulating service data b into ODU1 frames to the first node 102 parsing to obtain the ODU1 frames corresponding to service data b constitutes another ODU1 channel. These two ODUk channels correspond to one OTU1 channel respectively.

[0080] In the case of multiplexing technology, such as Figure 3 As shown, after receiving two channels of service data (service data a and service data b), the source node 101 can encapsulate the two channels of service data into ODU1 frames and then multiplex the two ODU1 channels corresponding to the two channels of service data into one high-order OTU2 channel for transmission. At this time, service data a and service data b each correspond to one ODU1 channel (two ODU1 channels in total), and the two ODU1 channels are multiplexed into one high-order OTU2 channel (such as Figure 3 In the process, two ODU1s are multiplexed into one OTU2 for data transmission.

[0081] It should be noted that Figure 2 and Figure 3 The transmission process of service data in the OTN network is introduced only by way of example. In a specific implementation, when the first node 102 is an intermediate node, when the first node 102 parses the received data frame, the data frame can be parsed into different layers according to different requirements, and the service data does not need to be parsed out of the data frame. For example, in one implementation, the first node 102 may not parse the OTUk frame, but directly send the OTUk frame to the downstream node in the transmission path; for another example, the first node 102 may also parse the data frame into the ODUk layer, and then re-encapsulate the parsed ODUk frame into the OTUk frame and transmit it to the downstream node.

[0082] During the communication process, the conventional data transmission method is that the source node maps the service data to be transmitted to a transmission channel to transmit to the downstream node, and then after passing through one or more intermediate nodes, the destination node receives the data frame and obtains the service data by parsing the data frame. Among them, the transmission channel can be an independent transmission channel divided by hardware or software programs between the upstream and downstream nodes in the transmission path. For example, the transmission channel can be an ODUk channel, OTUk channel, etc. in the OTN network.

[0083] Exemplarily, in an OTN network, a source node encapsulates service data into an optical channel data unit (ODUk) frame, and then transmits the ODUk frame to a downstream node through an ODUk channel. After passing through one or more intermediate nodes, the destination node receives the ODUk frame through the corresponding ODUk channel and obtains the service data by parsing the ODUk frame.

[0084] The above method can realize the transmission of service data. However, in some scenarios, multiple service data need to be transmitted to the sink node synchronously. For example, in the transmission of some FlexE services, it is necessary to ensure that multiple service data are synchronously received and parsed at the sink node for subsequent processing.

[0085] In view of the above situation, if conventional data transmission methods are used, due to the differences in the delay when the data is transmitted in the multi-channel transmission path, it will often be difficult for the host node to align the delays of the multi-channel service data after receiving the multi-channel service data from the multi-channel transmission channel, resulting in the delay deviation between the multi-channel service data failing to meet the requirements, which may affect the normal operation of customer services.

[0086] For example, Figure 4As shown, in the process of sending two-way service data from the source node 201 to the destination node 203, one or more intermediate nodes may be included in the transmission path from the source node 201 to the destination node 203 (only one intermediate node, namely the intermediate node 202, is drawn as an example in the figure. Other intermediate nodes may also be included between the source node 201 and the intermediate node 202 or between the intermediate node 202 and the destination node 203). After the source node 201 obtains the two-way service data with requirements for delay deviation, the source node 201 encapsulates the first service data into a data frame and sends it to the intermediate node 202 through the transmission channel 1. The intermediate node 202 then sends the data frame including the first service data to the destination node 203 through the transmission channel 3; in addition, the source node 202 encapsulates the second service data into a data frame and sends it to the intermediate node 202 through the transmission channel 2. The intermediate node 202 then sends the data frame including the second service data to the destination node 203 through the transmission channel 4. Among them, transmission channels 1 / 2 / 3 / 4 can all be ODUk channels, or transmission channels 1 / 2 / 3 / 4 can all be OTUk channels, or other types of transmission channels. Since the transmission delay of data frames in different transmission channels is different. Therefore, the delay of data frames carrying two channels of service data arriving at the destination node will be deviated. As the transmission distance increases and the number of intermediate nodes between the source node and the destination node increases, this delay deviation will become larger and larger. Ultimately, the destination node cannot eliminate the delay deviation between the two channels of service data, which may lead to service transmission failure.

[0087] In order to solve the above problems, the related technology provides the following technical solutions:

[0088] Solution 1: A large-capacity cache can be set up on the sink node. The sink node can then use the large-capacity cache to absorb the delay on the transmission path. For example, after the source node maps two channels of service data to two transmission channels for transmission, the transmission frames carrying the two channels of service data pass through multiple intermediate nodes on the transmission path and then reach the sink node. At this time, the delay deviation between the two data frames reaching the sink node is large, so the sink node can use a large-capacity cache to cache the service data carried by the first received data frame, and then process the two channels of service data after receiving another data frame to complete service delay alignment.

[0089] Although the above implementation process can realize the synchronous transmission of multiple service data, it requires adding a large-capacity cache on the service data sink node, which will increase the cost of the entire system. In addition, as the service transmission path increases, more and more nodes need to be added with cache, which will further increase the cost of the system.

[0090] Solution 2 is to parse the service signals in the data frames at multiple intermediate nodes in the transmission path. After determining that the service data in the multiple data frames are service data that need delay alignment, the multiple data frames are delay aligned and then forwarded to the next node.

[0091] For example, the source node sends a first data frame including first service data to the intermediate node through the first transmission channel, and sends a first data frame including second service data to the intermediate node through the second transmission channel. The intermediate node receives the data frame from the source node through the first transmission channel and the second transmission channel, and parses each received data frame to obtain the service data in the data frame. Then, the intermediate node determines that the delay of the first data frame and the second data frame needs to be aligned based on the content of the service data, performs delay alignment on the two data frames, and then sends them to the next node. And so on, until the first data frame and the second data frame are sent to the destination node.

[0092] It can be seen that when the above implementation process is applied, in order to determine which data frames need delay alignment, the nodes in the transmission path need to occupy node resources to parse the service data in the data frames, and then delay alignment can be performed on the data frames. This will also increase the cost of the system.

[0093] Solution three, the service data that needs delay alignment can be bundled at the source node, and then the bundled data can be mapped to a transmission channel for transmission. For example, in an OTN network, the source node bundles multiple service data and transmits the service data using the same ODUk channel. Although this method can control the delay difference between multiple service data, it cannot be achieved when the total bandwidth of multiple service data exceeds the bandwidth limit of the transmission channel due to the limited bandwidth of the transmission channel. Therefore, this method is only suitable for the transmission of multiple service data with a small amount of data, and the scenarios in which it can be applied are limited.

[0094] In order to solve the above problem, in the embodiment of the present application, during the transmission of multi-channel service data with requirements on transmission delay, after the source node obtains these service data and encapsulates the service data into data frames, a mutually corresponding identifier can be set in multiple data frames containing the multiple service data.

[0095] For example, after the source node obtains N channels of service data that have requirements for transmission delay, it encapsulates these N channels of service data into N data frames respectively, and each of these N data frames is provided with an identifier (for example, data frame 1 includes identifier 1, data frame 2 includes identifier 2, data frame 3 includes identifier 3... data frame N includes identifier N), and there is a preset corresponding relationship between identifiers 1 to N (for example, identifiers 1 to N are the same, that is, data frames 1 to N include the same identifier).

[0096] Then, the source node transmits the N data frames to the first node (the first node may be an intermediate node or a sink node) through N transmission channels. In this way, when the first node receives the data frames through the N transmission channels, it can find the data frames that need to be delayed aligned according to the preset correspondence between the above-mentioned identifiers 1 to N, and complete the delay alignment. Through the above method, the synchronous transmission of multiple data frames during the transmission process can be achieved, thereby ensuring the normal operation of customer services.

[0097] Further, in an embodiment of the present application, the intermediate node can use the identifier in the data frame to find the data frame that needs to be delayed aligned. In this way, the intermediate node no longer needs to parse the service data in the data frame to determine the data frame for delay alignment according to the content of the service data. Therefore, the data transmission method provided by the embodiment of the present application can reduce the resource occupancy of the intermediate node, and can also quickly align the data frame for delay. On the other hand, since in the embodiment of the present application, the intermediate node can use the identifier in the data frame to find the data frame that needs to be delayed aligned. Therefore, when multiple data frames are transmitted to the destination node, the destination node only needs to delay the delay difference of multiple data frames on the partial transmission path near the destination node (that is, the transmission path between the intermediate node and the destination node where the multiple data frames have been delayed aligned). Therefore, there is no need to add a large-capacity cache on the destination node. On the other hand, since the technical solution provided by the embodiment of the present application can ensure the synchronous transmission of multiple data frames in multiple transmission channels, the application scenario of the solution will not be limited due to the limited bandwidth of a single transmission channel.

[0098] Based on the above technical principles, the present application embodiment provides a data transmission method, which can be applied to Figure 4 In the application scenario shown in FIG. Figure 5 As shown, the data transmission method may include the following contents of S301-S303:

[0099] S301. A source node transmits a first data frame to a first node through a first transmission channel, and the source node transmits a second data frame to the first node through a second transmission channel.

[0100] The first node is a downstream node of the source node. In one implementation, the downstream node may be an intermediate node. In another implementation, the downstream node may also be a sink node.

[0101] In an embodiment of the present application, the first transmission channel and the second transmission channel may be two independent transmission channels divided between the source node and the first node by hardware or software programs. For example, when the method provided in the embodiment of the present application is applied to an OTN network, the first transmission channel and the second transmission channel may both be ODUk channels. Or the first transmission channel and the second transmission channel may both be OTUk channels. Alternatively, the first transmission channel and the second transmission channel may also be other types of transmission channels in the OTN network. Among them, when the first transmission channel and the second transmission channel are ODUk channels, the first data frame and the second data frame may both be ODUk frames. When the first transmission channel and the second transmission channel are OTUk channels, the first data frame and the second data frame may both be OTUk frames. There may be no limitation on the types of the first transmission channel and the second transmission channel, and the types of the first data frame and the second data frame in the embodiment of the present application.

[0102] In addition, the first data frame includes a first identifier, and the second data frame includes a second identifier, and the first identifier corresponds to the second identifier, and is used to instruct the first node to perform delay alignment on the first data frame and the second data frame.

[0103] In the embodiment of the present application, there is no restriction on the positions of the first identifier and the second identifier in the first data frame and the second data frame, respectively. As long as the first node can use the first identifier and the second identifier to identify the first data frame and the second data frame as data frames that need to be delayed aligned from the data frames from the first transmission channel and the second transmission channel, there is no restriction on this embodiment of the present application.

[0104] S302: The first node receives a first data frame through a first transmission channel, and receives a second data frame through a second transmission channel.

[0105] S303: When determining that the first identifier corresponds to the second identifier, the first node performs delay alignment on the first data frame and the second data frame.

[0106] Specifically, when the first node receives a data frame from the source node through the first transmission channel and the second transmission channel, it can determine whether the first identifier carried in the data frame received through the first transmission channel corresponds to the second identifier carried in the data frame received through the second transmission channel. Then, when it is determined that the first identifier and the second identifier correspond, the two data frames are delayed and aligned.

[0107] For example, when the first node receives the first data frame carrying the first identifier through the first transmission channel, the first node starts to detect the data frame from the second transmission channel. If the detection finds that the second data frame carrying the second identifier has not been received from the second transmission channel, the first data frame is cached until the second data frame is detected, and the first data frame and the second data frame are delayed and aligned.

[0108] It should be noted that the delay alignment referred to in the embodiments of the present application may specifically refer to the corresponding operations performed to enable two data frames to be transmitted synchronously.

[0109] For example, when the first node is an intermediate node, the first node performs delay alignment on the first data frame and the second data frame, which may specifically include: the first node synchronously transmits the first data frame and the second data frame to the downstream node of the first node. For another example, when the first node is a sink node, the first node performs delay alignment on the first data frame and the second data frame, which may specifically include: the first node synchronously unpacks the first data frame and the second data frame to synchronously obtain the service data included in the first data frame and the second data frame.

[0110] Among them, the "synchronous transmission" described in the embodiments of the present application may specifically refer to the simultaneous transmission of two data frames to the next transmission node. In addition, "synchronous transmission" may specifically refer to: when transmitting data frames to the next transmission node, the transmission delay of the two data frames is controlled within a certain range. "Synchronous unpacking" may specifically refer to the simultaneous unpacking of two data frames. In addition, "synchronous unpacking" may specifically refer to: controlling the delay difference between the two data frames during the unpacking process within a certain range. In other words, the term "synchronous" used in the embodiments of the present application does not necessarily mean "simultaneously", and may also be used to indicate the control of the delay of two data frames in transmission or unpacking, so that the delay difference between the two data frames in transmission or unpacking meets the relevant requirements of business data transmission.

[0111] In a possible design, in order to perform delay alignment on the first data frame and the second data frame, the interval between the first data frame and the second data frame received by the first node may be detected, and the two data frames may be delayed aligned according to the interval to ensure the effect of delay alignment. Figure 6 As shown, the above step S303 may include:

[0112] S3031. The first node determines an interval between receiving a first data frame and receiving a second data frame.

[0113] For example, the first node receives the first service data from the source node at time A, and then receives the second service data at time B. The interval between receiving the first service data and the second service data is determined to be: the time interval between time A and time B.

[0114] S3032: The first node performs delay alignment on the first data frame and the second data frame according to the interval duration determined in S3031.

[0115] Specifically, when the first node is an intermediate node, delay alignment is performed on the first data frame and the second data frame, which may specifically include: the first node synchronously transmits the first data frame and the second data frame to the next node according to the interval duration.

[0116] When the first node is a host node, the first data frame and the second data frame are delayed aligned, which may specifically include: the first node synchronously unpacks the first data frame and the second data frame according to the interval duration to obtain the first business data and the second business data, so that the first node synchronously transmits the first business data and the second business data to the corresponding business system.

[0117] It should be noted that, in the embodiment of the present application, only the transmission task of completing two data frames between a source node and a first node through two transmission channels (a first transmission channel and a second transmission channel) is used as an example to describe the technical solution provided by the present application. In practical applications, when there is a large amount of business data that needs to be transmitted synchronously, the multiple channels of business data that need to be transmitted synchronously can be encapsulated into more than three data frames. Then, using the same principle, the more than three data frames are transmitted through different transmission channels respectively. Similarly, in the more than three data frames, each data frame includes an identification of a corresponding relationship, which is used to instruct the downstream node to delay and align the more than three data frames. This application will not be described in detail.

[0118] In a possible design, in an embodiment of the present application, the first identifier corresponds to the second identifier, which may specifically include that the first identifier and the second identifier are the same. That is, the preset field used to represent the first identifier in the first data frame has the same value as the preset field used to represent the second identifier in the second data frame.

[0119] For example, the first node receives a data frame a with a preset field of x from the first transmission channel, and then the first node caches the data frame a and starts to check the data frame received from the second transmission channel. When the data frame b with a preset field of x is received from the second transmission channel, the first node reads the data frame a from the cache, and transmits or unpacks the data frame a and the data frame b synchronously, that is, delays align the data frame a and the data frame b.

[0120] In some other designs, the first identifier and the second identifier correspond to each other, which may also refer to other preset correspondences between the value of the preset field used to represent the first identifier in the first data frame and the value of the preset field used to represent the second identifier in the second data frame. For example, the difference between the value of the preset field used to represent the first identifier in the first data frame and the value of the preset field used to represent the second identifier in the second data frame is a preset value. As long as the first node can find the first data frame and the second data frame from the received data frame according to this correspondence between the first identifier and the second identifier, the present application may not limit the correspondence between the first identifier and the second identifier.

[0121] In a possible design, in order to facilitate the first node to identify the first identifier in the first data frame and the second identifier in the second data frame, the first identifier and the second identifier may be respectively set in the overhead field of the data frame in the present application.

[0122] Further, taking the case where both the first data frame and the second data frame are OTUk frames as an example, the first identifier includes a preset field of the OTUk frame overhead field. The second identifier includes a preset field of the OTUk frame overhead field. That is to say, after receiving the first data frame and the second data frame, the first node can identify the first identifier and the second identifier respectively included in the two data frames by parsing the data frames to the OTUk layer, and then perform delay alignment on the two data frames according to the instructions of the first identifier and the second identifier. It can be seen that since the first node does not need to parse the payload field (payload) in the data frame, this solution can improve the efficiency of delay alignment of the data frames.

[0123] Considering that when encapsulating the ODUk frame into the OTUk frame, there may be a situation where multiple low-order ODUk channels are multiplexed to one high-order OTUk channel. Therefore, it may happen that one OTUk channel carries not only the first service data and the second service data mentioned above in this application, but also other service data that is not related to the first service data and the second service data. Therefore, in order to avoid affecting the transmission of other service data, in an embodiment of the present application, the above-mentioned first data frame and the second data frame may both be ODUk frames. Accordingly, the first identifier includes a preset field of the ODUk frame overhead field. The second identifier includes a preset field of the ODUk frame overhead field.

[0124] In a possible design, the above-mentioned preset field may specifically be an MFAS field.

[0125] Specifically, the first identifier may include the MFAS field of the ODUk frame overhead field, and the second identifier may include the MFAS field of the ODUk frame overhead field. Alternatively, the first identifier may include the MFAS field of the OTUk frame overhead field, and the second identifier may include the MFAS field of the OTUk frame overhead field.

[0126] In the above design, it is considered that the role of the MFAS field in the OTN standard is to serve as a frame count byte to identify multiple multiframes continuously sent in the same transmission channel. Therefore, by multiplexing the function of the MFAS field, the content of the MFAS field can not only play the role of the above-mentioned first identifier or second identifier, but also be used to indicate multiframe positioning information. In this way, it will not affect the original function of the MFAS field, and at the same time, it can ensure that the data frame is recorded with an identifier for indicating delay alignment of the data frame. Compared with setting the identifier for indicating delay alignment of the data frame in other fields, setting the identifier in the MFAS field can avoid the problem of occupying additional overhead resources in the data frame for setting the identifier in the data frame.

[0127] In a possible design, because the source node will determine the value of the MFAS field in the ODUk frame or the OTUk frame according to the need of multi-frame positioning when encapsulating the service data into the ODUk frame or the OTUk frame (referred to as the initial value of the MFAS field in this application). At this time, the MFAS fields of the first data frame and the second data frame determined in the above manner may not necessarily have a corresponding relationship. Therefore, it is necessary to modify the initial value of the MFAS field of the first data frame and the second data frame accordingly. Therefore, in order to reduce the number of changes to the MFAS field in the data frame and reduce the impact on the original function of the MFAS field, in the above embodiment of the present application, in the process of generating the first data frame and the second data frame, the initial value of the MFAS field of the first data frame (e.g., referred to as the first initial value) and the initial value of the MFAS field of the second data frame (e.g., referred to as the second initial value) can be detected to determine whether the first initial value and the second initial value correspond to each other.

[0128] When the first initial value and the second initial value do not correspond, the values ​​of the MFAS fields of the first data frame and the second data frame are regenerated to achieve the effect that the first identifier in the first data frame and the second identifier in the second data frame correspond to each other.

[0129] When the first initial value corresponds to the second initial value, the value of the MFAS field of the first data frame and the second data frame is no longer changed. That is, the first identifier included in the first data frame is the first initial value, and the second identifier included in the second data frame is the second initial value.

[0130] In addition, when the first initial value of the MFAS field of the first data frame does not correspond to the second initial value of the MFAS field of the second data frame, the source node can reassign the MFAS field of the first data frame and / or the second data frame so that the values ​​of the MFAS field of the first data frame and the second data frame correspond. That is, at this time, at least one of the following situations exists: the first identifier is not the first initial value, or the second identifier is not the second initial value.

[0131] For example, taking the case where the first identifier and the second identifier correspond to each other and the first identifier and the second identifier are the same as follows:

[0132] If the first initial value and the second initial value generated by the source node are both X (X can be any value between 0 and 255), the source node no longer modifies the MFAS fields of the first data frame and the second data frame (i.e., the first identifier is the first initial value and the second identifier is the second initial value). In addition, if the first initial value and the second initial value generated by the source node are different, the corresponding effect of the first identifier and the second identifier can be achieved by reassigning the MFAS field of the first data frame, or by reassigning the MFAS field of the second data frame, or by generating a target value and assigning the target value to the MFAS field of the first data frame and the second data frame.

[0133] In a possible design, when the source node receives the first service data (i.e., the service data to be carried in the first data frame) and the second service data (i.e., the service data to be carried in the second data frame) from the upstream service system, there may be a delay difference between the first service data and the second service data. For example, the source node may receive the first service data first, and then the source node receives the second service data after a long interval. Therefore, if Figure 7 As shown, in the technical solution provided in the embodiment of the present application, before the source node executes the above step S301, the method may further include the following steps S304-S305:

[0134] S304: The source node receives the first service data and the second service data.

[0135] S305: The source node performs delay alignment on the first service data and the second service data.

[0136] In the above design, after the source node receives two channels of service data that need to be transmitted synchronously, the two channels of service data are first delayed and aligned. In this way, the source node can transmit the data frame containing the two channels of service data synchronously to the first node as much as possible, thereby reducing the workload of the first node when delay aligning the first data frame with the second data frame.

[0137] In one implementation, the above step S305 may specifically be: the source node determines the interval duration between receiving the first service data and the second service data. For example, the source node receives the first service data from the service system at time A, and then receives the second service data at time B, then the interval duration between receiving the first service data and the second service data is determined to be: the time length between time A and time B. The source node performs delay alignment on the first service data and the second service data according to the above interval duration.

[0138] For example, the source node includes a hardware unit for encapsulating service data into a data frame and sending the data frame to the first node through a first transmission channel: a first transmission subunit, and a hardware unit for encapsulating service data into a data frame and sending the data frame to the first node through a second transmission channel: a second transmission subunit. The source node can control the time of sending the first service data to the first transmission subunit and the time of sending the second service data to the second transmission subunit, so as to synchronously encapsulate the first service data into the first data frame and the second service data into the second data frame. In this way, delay alignment of the first service data and the second service data is achieved.

[0139] In the above technical solution provided in the embodiment of the present application, when the source node sends multiple data frames that need to be transmitted synchronously to the downstream node (i.e., the first node), mutually corresponding identifiers are respectively set in the multiple data frames, and then the multiple data frames are sent to the first node through multiple transmission channels. In this way, the first node can use the mutually corresponding identifiers included in the multiple data frames to find the data frames that need to be delayed aligned, so as to perform delay alignment on these data frames. Through the above method, the delay difference of multiple data frames on the transmission path can be eliminated, so as to ensure the normal operation of customer services. Further, in the scheme provided by the present application, because the data frames sent by the source node include mutually corresponding identifiers, the first node does not need to parse the business data in the data frame, and can determine the data frames that need to be delayed aligned, thereby realizing that the data frames that need to be transmitted synchronously are quickly delayed aligned during the transmission process, and the efficiency of delay alignment of the data frames is improved.

[0140] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the interaction between various network elements. It should be understood that in order to realize the corresponding functions, the above-mentioned nodes include hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units of the various examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware 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, but such implementation should not be considered to be beyond the scope of this application.

[0141] The embodiment of the present application can divide the nodes (such as source nodes, intermediate nodes and destination nodes) into functional modules according to the above method examples. 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. Optionally, the division of modules in the embodiment of the present application is schematic, which is only a logical function division, and there can be other division methods in actual implementation.

[0142] Figure 8 A schematic diagram of the composition of a data transmission device 400 is shown. The data transmission device 400 may be a chip or a system on a chip in a source node. The data transmission device 400 is used to perform the functions of the source node involved in the above embodiment. As an implementable manner, the data transmission device 400 includes: a transmission unit 401. Among them:

[0143] The transmission unit 401 is used to perform the following steps: Figure 5 Step S301 in. For example, the transmission unit 401 may transmit a first data frame to a first node through a first transmission channel, and transmit a second data frame to the first node through a second transmission channel. The first node is a downstream node of the source node; the first data frame includes a first identifier, and the second data frame includes a second identifier; the first identifier corresponds to the second identifier, and is used to instruct the first node to perform delay alignment on the first data frame and the second data frame.

[0144] In one possible design, the first data frame further includes the first service data, and the second data frame further includes the second service data. Figure 8 As shown, the data transmission device 400 may further include: a receiving unit 402 and a delay alignment unit 403. The receiving unit 402 may be used to perform the following steps: Figure 5 In step S304, the delay alignment unit 403 may be used to perform the following steps: Figure 5 Step S302 in .

[0145] For example, the receiving unit 402 may be configured to receive first service data and second service data.

[0146] The delay alignment unit 403 may be configured to perform delay alignment on the first service data and the second service data.

[0147] In a possible design, the delay alignment unit 403 may be used to determine the interval between receiving the first service data and receiving the second service data. The delay alignment unit 403 may also be used to perform delay alignment on the first service data and the second service data according to the interval.

[0148] In a possible design, the delay alignment unit 403 can be specifically used to control the receiving unit 402 to synchronously send the first service data and the second service data to the transmission unit according to the interval duration.

[0149] The transmission unit 401 may also be configured to encapsulate the first service data into a first data frame, and encapsulate the second service data into a second data frame.

[0150] In one possible design, the first data frame and the second data frame are both ODUk frames; the first identifier includes a preset field in the ODUk frame overhead field; the second identifier includes a preset field in the ODUk frame overhead field;

[0151] or,

[0152] The first data frame and the second data frame are both OTUk frames; the first identifier includes a preset field in the OTUk frame overhead field; and the second identifier includes a preset field in the OTUk frame overhead field.

[0153] In one possible design, the preset field is the MFAS field.

[0154] In a possible design, the first identifier and the second identifier correspond to each other, including: the first identifier and the second identifier are the same.

[0155] In a possible design, when a first initial value of the MFAS field of the first data frame corresponds to a second initial value of the MFAS field of the second data frame, the first identifier is the first initial value and the second identifier is the second initial value.

[0156] As an example, the transmission unit 401 may include a first transmission subunit 4011, a second transmission subunit 4012, and a marker alignment subunit 4013, and the receiving unit 402 may include a first receiving subunit 4021 and a second receiving subunit 4022. Fig. 9 As shown, the present embodiment also provides a schematic diagram of another data transmission device 400. Among them:

[0157] The first receiving subunit 4021 is used to receive first service data.

[0158] The second receiving subunit 4022 is used to receive second service data.

[0159] The delay alignment unit 403 is specifically used to control the first receiving subunit 4021 and the second receiving subunit 4022 to synchronously send the first service data and the second service data to the first transmitting subunit 4011 and the second transmitting subunit 4012 .

[0160] The identifier alignment subunit 4013 is specifically used to control the first transmission subunit 4011 and the second transmission subunit 4012 to make the first identifier in the first data frame and the second identifier in the second data frame correspond to each other when encapsulating the first business data into the first data frame and encapsulating the second business data into the second data frame.

[0161] The first transmission subunit 4011 is used to transmit a first data frame to the first node through a first transmission channel. The second transmission subunit 4012 is used to transmit a second data frame to the first node through a second transmission channel.

[0162] Fig.10 A schematic diagram of the composition of a data transmission device 500 is shown. The data transmission device 500 may be a chip or a system on a chip in a first node. The data transmission device 500 is used to perform the functions of the first node involved in the above-mentioned embodiment. As an implementable manner, the data transmission device 500 includes: a receiving unit 501, and a delay alignment unit 502. Among them:

[0163] The receiving unit 501 can be used to perform the following steps: Figure 5 S302 shown. For example, the receiving unit 501 may be configured to receive a first data frame through a first transmission channel and receive a second data frame through a second transmission channel; the first data frame includes a first identifier, and the second data frame includes a second identifier.

[0164] The delay alignment unit 502 may be used to perform the following steps: Figure 5 S303 is shown. The delay alignment unit 502 may be configured to perform delay alignment on the first data frame and the second data frame when it is determined that the first identifier corresponds to the second identifier.

[0165] For example, the first node is a first node or a sink node.

[0166] In a possible design, the delay alignment unit 502 can be specifically used to determine the interval length between receiving the first data frame and receiving the second data frame when it is determined that the first identifier corresponds to the second identifier.

[0167] The delay alignment unit 502 may be further specifically configured to perform delay alignment on the first data frame and the second data frame according to the interval duration.

[0168] In a possible design, the first data frame and the second data frame are both ODUk frames; the first identifier includes a preset field in the ODUk frame overhead field; and the second identifier includes a preset field in the ODUk frame overhead field.

[0169] or,

[0170] The first data frame and the second data frame are both OTUk frames; the first identifier includes a preset field in the OTUk frame overhead field; and the second identifier includes a preset field in the OTUk frame overhead field.

[0171] In one possible design, the preset field is the MFAS field.

[0172] In a possible design, the first identifier and the second identifier correspond to each other, including: the first identifier and the second identifier are the same.

[0173] In a possible design, when the first node is an intermediate node, the delay alignment unit 502 is specifically used to synchronously transmit the first data frame and the second data frame to a downstream node of the data transmission device 50.

[0174] As an example, when the first node is an intermediate node, the receiving unit 501 may be composed of a first transmission subunit 5011 and a second transmission subunit 5012. Fig.11 As shown, the embodiment of the present application also provides a schematic diagram of the composition of another data transmission device 500. Among them:

[0175] The first transmission subunit 5011 is used to receive a first data frame through a first transmission channel.

[0176] The second transmission subunit 5012 is used to receive a second data frame through a second transmission channel.

[0177] The delay alignment unit 502 is specifically used to control the first transmission subunit 5011 and the second transmission subunit 5012 to synchronously send the first data frame and the data frame to the second node, so as to achieve delay alignment of the first data frame and the second data frame.

[0178] In another embodiment, Fig.12FIG. 6 is a schematic diagram showing the composition of another data transmission device 600. The data transmission device 600 includes: one or more processors 601 and one or more memories 602. The one or more processors 601 are coupled to the one or more memories 602, and the memories 602 are used to store computer-executable instructions. For example, in some embodiments, when the processor 601 executes the instructions stored in the memory 602, the data transmission device 600 executes the following steps: Figure 5 In some other embodiments, when the processor 601 executes the instructions stored in the memory 602, the data transmission device 600 executes the following steps: Figure 7 S304-S305 shown, and other operations that the first node needs to perform.

[0179] The embodiment of the present application also provides a data transmission system. The data transmission system includes a source node, one or more intermediate nodes and a sink node. Fig.13 As shown, the data transmission system 70 includes: a source node 701 , intermediate nodes 702 / 703 / 704 and a sink node 705 .

[0180] The source node is used to transmit the data frame including the identifier to the downstream node of the source node according to the method provided in the above embodiment.

[0181] For example, Fig.13 The source node 701 transmits a first data frame including a first identifier to the intermediate node 702 through a first transmission channel, and transmits a second data frame including a second identifier to the intermediate node 702 through a second transmission channel (wherein the first identifier and the second identifier have the corresponding relationship described in the above embodiment. In addition, the first transmission channel and the second transmission channel are transmission channels between the source node 701 and the intermediate node 702, respectively. Fig.13 The steps executed by the source node may refer to the steps executed by the source node in the data transmission method provided in the above embodiment, and will not be described in detail here.

[0182] In addition, in the data transmission system, at least one of the one or more intermediate nodes, and / or the sink node, is used to perform delay alignment on the data frame including the identifier according to the method provided in the above embodiment.

[0183] If, continue with the above Fig.13 Example: After the intermediate node 702 receives the first data frame through the first transmission channel and the second data frame through the second transmission channel, upon determining that the first identifier included in the first data frame corresponds to the second identifier included in the second data frame, the intermediate node 702 performs delay alignment on the first data frame and the second data frame.

[0184] Then, after the intermediate node 702 sends the first data frame and the second data frame after delay alignment to the intermediate node 703 through the transmission channel between the intermediate node 702 and the intermediate node 703, based on the same principle as the processing process of the intermediate node 702, the intermediate node 703 and the intermediate node 704 can respectively perform delay alignment on the first data frame and the second data frame in the same method as the intermediate node 702, and then transmit the data frames to the downstream node, after determining that the first identifier included in the first data frame corresponds to the second identifier included in the second data frame, until the data frame is transmitted to the destination node 705.

[0185] Then, similarly, when the destination node 705 determines that the first identifier included in the first data frame corresponds to the second identifier included in the second data frame, the destination node 705 delays the first data frame and the second data frame so that the destination node 705 can synchronously parse and obtain the business data carried in the first data frame and the second data frame.

[0186] It should be noted that, in the above example, for the sake of ease of description, after the first data frame and the second data frame are sent from the source node 701, at each transmission node (i.e., the intermediate nodes 702 / 703 / 704 and the destination node 705) that the data frame passes through, the data frame is delayed and aligned according to the technical means provided by this application. However, it is easy to understand that in the specific implementation process, it is not necessary for each transmission node to delay align the data frame according to the technical means provided by this application. The following is an example:

[0187] In one implementation, in order to reduce the overhead of the transmission node and other considerations, during the data frame transmission process, it is not necessary for each transmission node to perform delay alignment on the data frame.

[0188] For example, in Fig.13 In the embodiment, after the first data frame and the second data frame are sent from the source node 701, the intermediate node 702 may not perform delay alignment on the data frame, but directly transmit the data frame to the next node (i.e., the intermediate node 703). Then the intermediate node 703 performs delay alignment on the data frame according to the technical means provided in the present application. Afterwards, the intermediate node 704 may not perform delay alignment on the data frame, but directly transmit the data frame to the destination node 705. Afterwards, the destination node 705 performs delay alignment on the data frame according to the technical means provided in the present application.

[0189] In another implementation, considering that the devices included in the data transmission system may include devices from different suppliers. Therefore, when the data frames pass through the devices of different suppliers, the methods of delay alignment of the data frames may also be different. Some of the transmission nodes may perform delay alignment on the data frames according to the technical means provided in this application, while other transmission nodes may use other methods to delay alignment on the data frames.

[0190] For example, in Fig.13 In the embodiment, after the first data frame and the second data frame are sent from the source node 701, the intermediate node 702 performs delay alignment on the data frames according to the technical means provided in the present application (i.e., when it is determined that the first identifier included in the first data frame corresponds to the second identifier included in the second data frame, the first data frame and the second data frame are delayed aligned). Then the intermediate node 703 may not perform delay alignment on the data frames according to the technical means provided in the present application (for example, the intermediate node 703 may parse the business data in the data frame; then, based on the business data obtained, determine which data frames carrying which business data need to be delayed aligned; and then delay align the determined data frames). Similarly, in the subsequent transmission process, the intermediate node 704 and the destination node 705 may also perform delay alignment on the data frames in their respective corresponding ways.

[0191] In other words, in the data transmission system provided in the embodiment of the present application, there is at least one transmission node in one or more intermediate nodes or sink nodes that can perform delay alignment on the data frame including the identifier according to the method provided in the above embodiment. This application does not limit the working process of the transmission node in the data transmission system that does not apply the method provided in the embodiment of the present application.

[0192] The embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed, the method provided in the embodiment of the present application is executed.

[0193] The embodiment of the present application also provides a computer program product including instructions. When the computer program product is run on a computer, the computer can execute the method provided by the embodiment of the present application.

[0194] In addition, an embodiment of the present application further provides a chip. The chip includes a processor. When the processor executes a computer program instruction, the chip can execute the method provided in the embodiment of the present application. The instruction can come from a memory inside the chip or from a memory outside the chip. Optionally, the chip also includes an input and output circuit as a communication interface.

[0195] The functions or actions or operations or steps in the above embodiments can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, 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. 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 a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or may include one or more servers, data centers and other data storage devices that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0196] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations 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.

Claims

1. A data transmission method, It is characterized in that The method comprises: The source node receives the first service data and the second service data; The source node determines the interval between receiving the first service data and receiving the second service data; The source node performs delay alignment on the first service data and the second service data according to the interval duration; The source node transmits a first data frame to the first node through a first transmission channel, and transmits a second data frame to the first node through a second transmission channel, wherein the first data frame includes the first service data, and the second data frame includes the second service data; Among them, the first node is the downstream node of the source node; the first data frame also includes a first identifier, and the second data frame also includes a second identifier; the first identifier corresponds to the second identifier, and is used to instruct the first node to determine the first data frame and the second data frame from the received multiple data frames and perform delay alignment.

2. The data transmission method according to claim 1, It is characterized in that The first data frame and the second data frame are both optical channel data unit ODUk frames; the first identifier is included in a preset field in the ODUk frame overhead field; the second identifier is included in a preset field in the ODUk frame overhead field; or, The first data frame and the second data frame are both optical path transmission unit (OTUk) frames; the first identifier is included in a preset field in the overhead field of the OTUk frame; and the second identifier is included in a preset field in the overhead field of the OTUk frame.

3. The data transmission method according to claim 2, It is characterized in that The preset field is a multi-frame alignment signal MFAS field.

4. The data transmission method according to claim 3, It is characterized in that When the first initial value of the MFAS field of the first data frame corresponds to the second initial value of the MFAS field of the second data frame, the first identifier is the first initial value, and the second identifier is the second initial value.

5. The data transmission method according to claim 1, It is characterized in that The first identifier and the second identifier correspond to each other, including: the first identifier and the second identifier are the same.

6. A data transmission method, It is characterized in that The method comprises: The first node receives a first data frame through a first transmission channel, and receives a second data frame through a second transmission channel; the first data frame includes a first identifier, and the second data frame includes a second identifier; When determining that the first identifier corresponds to the second identifier, the first node determines an interval between receiving the first data frame and receiving the second data frame; The first node performs delay alignment on the first data frame and the second data frame according to the interval duration; Wherein, the first node is an intermediate node or a sink node; When the first node is an intermediate node, the first node performs delay alignment on the first data frame and the second data frame according to the interval duration, including: the first node synchronously transmits the first data frame and the second data frame to the next node according to the interval duration; When the first node is a host node, the first node performs delay alignment on the first data frame and the second data frame according to the interval duration, including: the first node synchronously unpacks the first data frame and the second data frame according to the interval duration to obtain first business data and second business data.

7. The data transmission method according to claim 6, It is characterized in that The first data frame and the second data frame are both optical channel data unit ODUk frames; the first identifier is included in a preset field in the ODUk frame overhead field; the second identifier is included in a preset field in the ODUk frame overhead field; or, The first data frame and the second data frame are both optical path transmission unit (OTUk) frames; the first identifier is included in a preset field in the overhead field of the OTUk frame; and the second identifier is included in a preset field in the overhead field of the OTUk frame.

8. The data transmission method according to claim 7, It is characterized in that The preset field is a multi-frame alignment signal MFAS field.

9. The data transmission method according to claim 6, It is characterized in that The first identifier and the second identifier correspond to each other, including: the first identifier and the second identifier are the same.

10. A data transmission device, It is characterized in that include: A receiving unit, configured to receive first service data and second service data; a delay alignment unit, configured to determine an interval between receiving the first service data and receiving the second service data, and perform delay alignment on the first service data and the second service data according to the interval; a transmission unit, configured to transmit a first data frame to a first node through a first transmission channel, and transmit a second data frame to the first node through a second transmission channel, wherein the first data frame includes first service data, and the second data frame includes second service data; Among them, the first node is the downstream node of the data transmission device; the first data frame also includes a first identifier, and the second data frame also includes a second identifier; the first identifier and the second identifier correspond to each other, and are used to instruct the first node to determine the first data frame and the second data frame from the received multiple data frames and perform delay alignment.

11. The data transmission device according to claim 10, It is characterized in that The delay alignment unit is specifically configured to control the receiving unit to synchronously send the first service data and the second service data to the transmission unit according to the interval duration; The transmission unit is further used to encapsulate the first service data into the first data frame, and encapsulate the second service data into the second data frame.

12. The data transmission device according to claim 10, It is characterized in that The first data frame and the second data frame are both optical channel data unit ODUk frames; the first identifier is included in a preset field in the ODUk frame overhead field; the second identifier is included in a preset field in the ODUk frame overhead field; or, The first data frame and the second data frame are both optical path transmission unit (OTUk) frames; the first identifier is included in a preset field in the overhead field of the OTUk frame; and the second identifier is included in a preset field in the overhead field of the OTUk frame.

13. The data transmission device according to claim 12, It is characterized in that The preset field is a multi-frame alignment signal MFAS field.

14. The data transmission device according to claim 13, It is characterized in that When the first initial value of the MFAS field of the first data frame corresponds to the second initial value of the MFAS field of the second data frame, the first identifier is the first initial value, and the second identifier is the second initial value.

15. The data transmission device according to claim 10 or 11, It is characterized in that The first identifier and the second identifier correspond to each other, including: the first identifier and the second identifier are the same.

16. A data transmission device, It is characterized in that include: A receiving unit, configured to receive a first data frame through a first transmission channel and receive a second data frame through a second transmission channel; The first data frame includes a first identifier, and the second data frame includes a second identifier; a delay alignment unit, configured to determine, when determining that the first identifier corresponds to the second identifier, an interval between receiving the first data frame and receiving the second data frame, and perform delay alignment on the first data frame and the second data frame according to the interval; Wherein, the data transmission device is an intermediate node or a sink node; When the data transmission device is an intermediate node, the data transmission device synchronously transmits the first data frame and the second data frame to the next node according to the interval duration; When the data transmission device is a sink node, the data transmission device synchronously unpacks the first data frame and the second data frame according to the interval duration to obtain first service data and second service data.

17. The data transmission device according to claim 16, It is characterized in that The first data frame and the second data frame are both optical channel data unit ODUk frames; the first identifier is included in a preset field in the ODUk frame overhead field; the second identifier is included in a preset field in the ODUk frame overhead field; or, The first data frame and the second data frame are both optical path transmission unit (OTUk) frames; the first identifier is included in a preset field in the overhead field of the OTUk frame; and the second identifier is included in a preset field in the overhead field of the OTUk frame.

18. The data transmission device according to claim 17, It is characterized in that The preset field is a multi-frame alignment signal MFAS field.

19. The data transmission device according to claim 16, It is characterized in that The first identifier and the second identifier correspond to each other, including: the first identifier and the second identifier are the same.

20. A data transmission device, It is characterized in that The data transmission device comprises one or more processors and one or more memories, wherein the one or more processors are coupled to the one or more memories; the one or more memories store computer instructions; When the one or more processors execute the computer instructions, the data transmission device executes the data transmission method according to any one of claims 1 to 5, or When the one or more processors execute the computer instructions, the data transmission device executes the data transmission method according to any one of claims 6 to 9.

21. A data transmission system, It is characterized in that It includes a source node, one or more intermediate nodes and a destination node; wherein the source node is used to execute the data transmission method as described in any one of claims 1-5; at least one of the one or more intermediate nodes, and / or the destination node, is used to execute the data transmission method as described in any one of claims 6-9.

22. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the data transmission method according to any one of claims 1 to 5, or the computer executes the data transmission method according to any one of claims 6 to 9.

23. A computer program product, It is characterized in that The computer program product comprises instructions, and when the computer program product is run on a computer, the computer is caused to execute the data transmission method according to any one of claims 1 to 5, or the computer is caused to execute the data transmission method according to any one of claims 6 to 9.

24. A chip, It is characterized in that The chip comprises a processor, and when the processor executes computer program instructions, the chip executes the data transmission method according to any one of claims 1 to 5, or executes the data transmission method according to any one of claims 6 to 9.

Citation Information

Patent Citations

  • Method, site and system for compensating transmission delay deviations among synchronous transmission channels

    CN101873186A

  • Multi-lane signal transmitting and receiving apparatuses

    US20100158518A1