












技术领域technical field
本申请实施例涉及通信技术领域,尤其涉及一种数据传输方法、装置和系统。The embodiments of the present application relate to the field of communication technologies, and in particular, to a data transmission method, device, and system.
背景技术Background technique
在通信过程中,经常需要将一个或多个业务的数据从一台设备(如源节点)传输到另一台设备(如宿节点),即实现端到端(end to end,E2E)的业务通信。而在该数据传输过程中,往往存在一些干扰因素会影响宿节点接收到的数据的质量,进而影响到E2E通信的稳定性。In the communication process, it is often necessary to transmit the data of one or more services from one device (such as a source node) to another device (such as a sink node), that is, to realize end-to-end (E2E) services communication. During the data transmission process, there are often some interference factors that will affect the quality of the data received by the sink node, thereby affecting the stability of the E2E communication.
以通过光通信实现E2E的数据传输为例。在数据传输过程中,光纤断裂、光损耗过大、光信号干扰等都会对被传输的数据引入大小不等的误码,严重时甚至导致数据传输通道失效,影响宿节点接收到的数据的质量,使得E2E通信的稳定性下降。Take the realization of E2E data transmission through optical communication as an example. In the process of data transmission, fiber breakage, excessive optical loss, and optical signal interference will introduce errors of varying sizes to the transmitted data, and even lead to the failure of the data transmission channel in severe cases, affecting the quality of the data received by the sink node. , making the stability of E2E communication decrease.
发明内容Contents of the invention
本申请实施例提供一种数据传输方法、装置和系统,能够有效地简化数据传输过程,减小延时,同时提高传输过程中的容错健壮性,以达到提高E2E通信的稳定性的目的。Embodiments of the present application provide a data transmission method, device, and system, which can effectively simplify the data transmission process, reduce delay, and improve fault tolerance and robustness in the transmission process, so as to achieve the purpose of improving the stability of E2E communication.
为达到上述目的,本申请实施例提供如下技术方案。In order to achieve the above purpose, the embodiments of the present application provide the following technical solutions.
第一方面,提供一种数据传输方法。该方法包括:源节点对待发送业务的数据进行前向纠错(FEC)编码,以获得传输数据。该源节点将该传输数据分发到源节点与中间节点之间的M路传输通道进行传输,M是大于1且小于或等于N的整数,N是该待发送业务的数据的传输路径上,任意两个相邻节点之间传输通道数量的最小值,该中间节点是该传输路径上该源节点的下游节点。其中,被分发到该M路传输通道中的每路传输通道的数据块均携带有第一标识,该第一标识用于指示对应数据块属于该待发送业务。In a first aspect, a data transmission method is provided. The method includes: the source node performs forward error correction (FEC) coding on the data of the service to be sent, so as to obtain the transmission data. The source node distributes the transmission data to M transmission channels between the source node and the intermediate node for transmission, M is an integer greater than 1 and less than or equal to N, and N is the transmission path of the data to be sent, any The minimum value of the number of transmission channels between two adjacent nodes, the intermediate node is the downstream node of the source node on the transmission path. Wherein, the data blocks distributed to each of the M transmission channels carry a first identifier, and the first identifier is used to indicate that the corresponding data block belongs to the service to be sent.
基于该方案,源节点针对一个业务或同源同宿的多个业务进行FEC编码,不会出现多个非同源同宿的业务的数据块混合在一起被发送给中间节点,同时通过第一标识来标识这些数据块是属于待发送业务的数据块,以便其他节点不需对数据进行FEC终止就可以知晓该数据块对应的下游节点。同时,使用一部分传输通道(如M路传输通道)进行待发送业务对应的M路数据块的数据传输,能够有效地提升每路传输通道的数据传输效率,同时使得一路业务的数据块不会被过于分散地进行传输。因此,通过上述方法能在使用FEC编码进行数据传输的同时,能够有效地简化数据传输过程,减小数据传输延时,同时提高传输过程中的容错健壮性,以达到提高E2E通信的稳定性的目的。Based on this scheme, the source node performs FEC coding on one service or multiple services of the same source and same destination, so that data blocks of multiple non-same source and same destination services will not be mixed together and sent to the intermediate node, and at the same time, the These data blocks are identified as data blocks belonging to the service to be sent, so that other nodes can know the downstream node corresponding to the data block without performing FEC termination on the data. At the same time, using a part of transmission channels (such as M transmission channels) to transmit the data of M data blocks corresponding to the service to be sent can effectively improve the data transmission efficiency of each transmission channel, and at the same time prevent the data blocks of one service from being Transmitting too spread out. Therefore, the above method can effectively simplify the data transmission process, reduce the data transmission delay, and improve the fault-tolerant robustness in the transmission process while using FEC coding for data transmission, so as to achieve the goal of improving the stability of E2E communication. Purpose.
在一种可能的设计中,待发送业务为待发送的单个业务,或,待发送业务包括待发送的同源同宿的多个业务。基于该方案,可以将多个同源同宿的多业务捆绑为一个业务进行处理,能够提高对同源同宿业务的传输效率。In a possible design, the service to be sent is a single service to be sent, or the service to be sent includes multiple services of the same source and destination to be sent. Based on this solution, multiple services of the same source and destination can be bundled into one service for processing, which can improve the transmission efficiency of services of the same source and destination.
在一种可能的设计中,分发到该M路传输通道中的每路传输通道的数据块还分别携带有与该数据块对应的第二标识。其中,该第二标识用于指示对应数据块被分发前在该传输数据中的位置。基于该方案,其他节点就可以通过第二标识确定对应数据块被分发前在该传输数据中的位置,不需确认接收该数据块的通道即可实现对一个业务的多路数据块进行重组。In a possible design, the data block distributed to each of the M transmission channels further carries a second identifier corresponding to the data block. Wherein, the second identifier is used to indicate the position of the corresponding data block in the transmission data before being distributed. Based on this solution, other nodes can use the second identification to determine the position of the corresponding data block in the transmission data before it is distributed, and realize the reassembly of multiple data blocks of a service without confirming the channel for receiving the data block.
在一种可能的设计中,该方法还包括:该源节点对该M路传输通道中的每路传输通道的数据块进行FEC编码。基于该方案,可以对要传输的数据块进行二级FEC编码,进一步提高传输过程中的容错健壮性。In a possible design, the method further includes: the source node performs FEC encoding on the data blocks of each of the M transmission channels. Based on this scheme, two-level FEC coding can be performed on the data block to be transmitted, which further improves the fault-tolerant robustness in the transmission process.
在一种可能的设计中,该源节点对待发送业务的数据进行FEC编码,以获得传输数据,包括:该源节点将该待发送业务的数据映射到光业务单元(OSU)帧中,获得携带有该数据的OSU帧,并对该带有该数据的OSU帧进行FEC编码,以获得该传输数据。基于该方案,通过OSU帧承载数据块,实现了针对待发送业务的FEC编码。In a possible design, the source node performs FEC encoding on the data of the service to be sent to obtain the transmission data, including: the source node maps the data of the service to be sent into an optical service unit (OSU) frame, and obtains the There is an OSU frame with the data, and FEC coding is performed on the OSU frame with the data to obtain the transmission data. Based on this scheme, the FEC coding for the service to be sent is realized by carrying the data block in the OSU frame.
在一种可能的设计中,该方法还包括:源节点根据该传输路径中任意相邻两个节点之间传输通道数量确定传输该待发送业务的传输通道数量M。基于该方案,源节点可以根据待发送业务的传输路径上各段链路的传输通道数量,确定需要的最少传输通道的数量,并最终确定传输该待发送业务使用的传输通道数量。例如,传输该待发送业务使用的传输通道数量M可以为上述确定的最小值,又如,传输该待发送业务使用的传输通道数量M可以小于上述确定的最小值。这样就可以在保证其他节点在需要转发待发送业务的数据块时不会存在数据块数量大于下游节点的传输通道数量的问题,同时能够提高每路传输通道的数据发送效率,并避免一个业务的数据分散在多路传输通道进行传输。In a possible design, the method further includes: the source node determines the number M of transmission channels for transmitting the service to be sent according to the number of transmission channels between any two adjacent nodes in the transmission path. Based on this solution, the source node can determine the minimum number of transmission channels required according to the number of transmission channels of each link on the transmission path of the service to be sent, and finally determine the number of transmission channels used to transmit the service to be sent. For example, the number M of transmission channels used to transmit the service to be sent may be the minimum value determined above, and for another example, the number M of transmission channels used to transmit the service to be sent may be smaller than the minimum value determined above. In this way, it can be ensured that when other nodes need to forward the data blocks of the business to be sent, there will be no problem that the number of data blocks is greater than the number of transmission channels of the downstream nodes, and at the same time, the data transmission efficiency of each transmission channel can be improved, and a service can be avoided. Data is distributed across multiplex channels for transmission.
第二方面,提供一种数据传输方法,该方法包括:第一节点接收来自第二节点的第一数据块,该第一节点是待发送业务的数据的传输路径上的任意一个中间节点,该第二节点是该传输路径上该第一节点的上游节点。该第一数据块携带有第一标识,该第一标识用于指示该第一数据块属于该待发送业务。该第一节点根据该第一标识将该第一数据块分发到第一传输通道进行传输,该第一传输通道是该第一节点和该传输路径上该第一节点的下游节点之间的传输通道中的任意一个。基于该方案,第一节点通过上游节点传输的数据块中,均携带有用于指示该数据块所属业务的标识,如携带有用于指示对应数据块属于待发送业务的第一标识,则不需要经过FEC终止,第一节点就可确定该第一数据块对应业务的下游节点,因此可以进行快速转发,节省了FEC终止、重新编码以及分发的耗时。In a second aspect, a data transmission method is provided, the method includes: a first node receives a first data block from a second node, the first node is any intermediate node on a transmission path of data of a service to be sent, the The second node is an upstream node of the first node on the transmission path. The first data block carries a first identifier, and the first identifier is used to indicate that the first data block belongs to the service to be sent. The first node distributes the first data block to a first transmission channel for transmission according to the first identifier, and the first transmission channel is a transmission between the first node and a downstream node of the first node on the transmission path any one of the channels. Based on this solution, the data blocks transmitted by the first node through the upstream node all carry the identifier used to indicate the service to which the data block belongs. If the first identifier is used to indicate that the corresponding data block belongs to the service to be sent, no need to go through After the FEC is terminated, the first node can determine the downstream node of the service corresponding to the first data block, so fast forwarding can be performed, saving time for FEC termination, re-encoding and distribution.
在一种可能的设计中,待发送业务为待发送的单个业务,或,待发送业务包括待发送的同源同宿的多个业务。基于该方案,可以将多个同源同宿的多业务捆绑为一个业务进行处理,能够提高对同源同宿业务的传输效率。In a possible design, the service to be sent is a single service to be sent, or the service to be sent includes multiple services of the same source and destination to be sent. Based on this solution, multiple services of the same source and destination can be bundled into one service for processing, which can improve the transmission efficiency of services of the same source and destination.
在一种可能的设计中,该方法还包括:该第一节点接收来自该第二节点的第二数据块,该第二数据块和该第一数据块来自该第二节点和该第一节点之间的不同传输通道。该第二数据块携带有该第一标识。该第一节点根据该第一标识将该第二数据块分发到第二传输通道进行传输,该第二传输通道是该第一节点和该传输路径上该第一节点的下游节点之间的传输通道中的任意一个,该第二传输通道与该第一传输通道不同。基于该方案,属于相同待发送业务的不同数据块,可以通过不同的传输通道进行传输,使得不同的数据块能够相对独立的传输。示例性的,中间节点在进行数据块转发时,将一路传输通道接收到的数据块转发到下游节点的一路传输通道,而如果一路上游的传输通道中发送了两个或多个一个待发送业务的数据块,那么该节点在进行数据转发时还需要将这些数据块区分开,分别进行转发。因此,该方案能够有效提升数据转发效率。In a possible design, the method further includes: the first node receives a second data block from the second node, and the second data block and the first data block come from the second node and the first node between different transmission channels. The second data block carries the first identifier. The first node distributes the second data block to a second transmission channel for transmission according to the first identifier, and the second transmission channel is a transmission between the first node and a downstream node of the first node on the transmission path Any one of the channels, the second transmission channel is different from the first transmission channel. Based on this solution, different data blocks belonging to the same service to be sent can be transmitted through different transmission channels, so that different data blocks can be transmitted relatively independently. Exemplarily, when an intermediate node forwards a data block, it forwards a data block received by a transmission channel to a transmission channel of a downstream node, and if two or more services to be sent are sent in an upstream transmission channel data blocks, then the node needs to distinguish these data blocks and forward them separately when forwarding data. Therefore, this solution can effectively improve data forwarding efficiency.
在一种可能的设计中,该第一数据块和该第二数据块还分别携带有第二标识,该第二标识用于指示对应数据块被分发前在传输数据中的位置。基于该方案,中间节点在进行数据转发时,可以根据第二标识将数据转发到下游节点的任意一路传输通道中。In a possible design, the first data block and the second data block also respectively carry a second identifier, and the second identifier is used to indicate the position of the corresponding data block in the transmission data before being distributed. Based on this solution, when the intermediate node forwards data, it can forward the data to any transmission channel of the downstream node according to the second identifier.
在一种可能的设计中,该方法还包括:该第一节点对该第一数据块和该第二数据块进行前向纠错(FEC)解码。基于该方案,当上游节点发送的数据块是进行过二级FEC编码的数据块时,第一节点可以先对该数据块进行FEC解码,以便对接收到的数据块进行FEC恢复并将恢复后的较为完整的数据块进行转发。In a possible design, the method further includes: the first node performing forward error correction (FEC) decoding on the first data block and the second data block. Based on this scheme, when the data block sent by the upstream node is a data block that has undergone secondary FEC encoding, the first node can perform FEC decoding on the data block first, so as to perform FEC recovery on the received data block and restore the The relatively complete data block is forwarded.
第三方面,提供一种数据传输方法,该方法包括:宿节点接收来自待发送业务的数据的传输路径上该宿节点上游节点的P路数据块,P为大于1的整数。该宿节点确定该P路数据块的M路中携带有第一标识的数据块,该第一标识用于指示对应数据块属于该待发送业务,M为大于1,且小于或等于P的整数。该宿节点对该M路中携带有第一标识的数据块进行重组,获得该待发送业务的数据。基于该方案,宿节点可以从接收到的P路数据块中根据第一标识筛选出属于待发送业务的M路数据块。可以理解的是,当宿节点从P路数据块中已经筛选出M路数据块时,就可以确定出待发送业务所有的数据,针对这些数据进行重组即可获取待发送业务相关的完整的数据。In a third aspect, a data transmission method is provided, the method includes: a sink node receives P-way data blocks from an upstream node of the sink node on a data transmission path of a service to be sent, where P is an integer greater than 1. The sink node determines that the data blocks in the M paths of the P-path data blocks carry the first identifier, and the first identifier is used to indicate that the corresponding data block belongs to the service to be sent, and M is an integer greater than 1 and less than or equal to P . The sink node reassembles the data block carrying the first identifier in the M channel to obtain the data of the service to be sent. Based on this scheme, the sink node can filter out the M-way data blocks belonging to the service to be sent from the received P-way data blocks according to the first identifier. It can be understood that when the sink node has screened the M-way data blocks from the P-way data blocks, it can determine all the data of the service to be sent, and reorganize these data to obtain the complete data related to the service to be sent .
在一种可能的设计中,待发送业务为待发送的单个业务,或,待发送业务包括待发送的同源同宿的多个业务。基于该方案,可以将多个同源同宿的多业务捆绑为一个业务进行处理,能够提高对同源同宿业务的传输效率。In a possible design, the service to be sent is a single service to be sent, or the service to be sent includes multiple services of the same source and destination to be sent. Based on this solution, multiple services of the same source and destination can be bundled into one service for processing, which can improve the transmission efficiency of services of the same source and destination.
在一种可能的设计中,该M路中携带有第一标识的数据块,还分别携带有第二标识,该第二标识用于指示对应数据块在该待发送业务的数据中的位置。该宿节点对该M路中携带有第一标识的数据块进行重组,包括:该宿节点根据M路中携带有该第一标识的数据块携带的第二标识,对该M路数据块进行重组。基于该方案,在确定出待发送业务的所有数据块后,可以根据每路数据块携带的第二标识来对其进行重组,而不需要参考获取这些数据块的传输通道的相关信息,因此能够更加快速准确地实现对数据的重组。In a possible design, the data blocks carrying the first identifier in the M paths also respectively carry a second identifier, and the second identifier is used to indicate the position of the corresponding data block in the data of the service to be sent. The sink node reorganizing the data block carrying the first identifier in the M path includes: the sink node reorganizing the M path data block according to the second identifier carried by the data block carrying the first identifier in the M path reorganize. Based on this solution, after determining all the data blocks of the service to be sent, they can be reassembled according to the second identifier carried by each data block without referring to the relevant information of the transmission channel for obtaining these data blocks, so it can Reorganize data more quickly and accurately.
在一种可能的设计中,该宿节点根据M路中携带有该第一标识的数据块携带的第二标识,对该M路数据块进行重组,包括:该宿节点根据M路中携带有该第一标识的数据块携带的第二标识,获得完整的传输数据。该获得该待发送业务的数据,包括:该宿节点对该传输数据进行FEC解码,获得该待发送业务的数据。基于该方案,在获取重组后的传输数据后,可以对其进行FEC解码,以实现在宿节点处获取待发送业务的完整数据的传输目的。In a possible design, the sink node reorganizes the data blocks of the M paths according to the second identifier carried by the data blocks carrying the first identifier in the M paths, including: the sink node reassembles the data blocks of the M paths according to the The second identifier carried by the first-identified data block obtains complete transmission data. Obtaining the data of the service to be sent includes: the sink node performs FEC decoding on the transmission data to obtain the data of the service to be sent. Based on this scheme, after the recombined transmission data is obtained, FEC decoding can be performed on it, so as to realize the transmission purpose of obtaining the complete data of the service to be sent at the sink node.
在一种可能的设计中,该方法还包括:该宿节点对接收到的该P路数据块进行前向纠错(FEC)解码。基于该方案,当宿节点接收到的数据块是经过二级FEC编码的数据块时,可以在接收到这些数据块后,先对其进行FEC解码,之后对其进行重组以获取对应的完整数据。In a possible design, the method further includes: the sink node performs forward error correction (FEC) decoding on the received P-way data block. Based on this scheme, when the data blocks received by the sink node are data blocks encoded by two-level FEC, after receiving these data blocks, they can be decoded by FEC first, and then reassembled to obtain the corresponding complete data .
第四方面,提供一种数据传输装置,该数据传输装置可以为数据传输节点的芯片或者片上系统。该数据传输装置可以实现上述第一方面或者第一方面中可能的设计中源节点所执行的功能。这些功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个上述功能相应的模块。如:该数据传输装置可以包括:编码单元,分发单元和确定单元以实现源节点的相关功能。示例性的,编码单元可以用于对待发送业务的数据进行前向纠错(FEC)编码,以获得传输数据,待发送业务为单个业务,或,包括同源同宿的多个业务。分发单元可以用于将该传输数据分发到该源节点与中间节点之间的M路传输通道进行传输,M是大于1且小于或等于N的整数,N是该待发送业务的数据的传输路径上,任意两个相邻节点之间传输通道数量的最小值,该中间节点是该传输路径上该源节点的下游节点。其中,被分发到该M路传输通道中的每路传输通道的数据块均携带有第一标识,该第一标识用于指示对应数据块属于该待发送业务。当然,该数据传输装置中还可以包括更多或更少的单元,用于实现源节点其他的功能。In a fourth aspect, a data transmission device is provided, and the data transmission device may be a chip or a system on a chip of a data transmission node. The data transmission device may realize the function performed by the source node in the above first aspect or possible design in the first aspect. These functions may be implemented by hardware, or may be implemented by executing corresponding software through hardware. Hardware or software includes one or more modules corresponding to the above functions. For example, the data transmission device may include: an encoding unit, a distribution unit and a determination unit to realize related functions of the source node. Exemplarily, the coding unit may be used to perform forward error correction (FEC) coding on the data of the service to be sent to obtain the transmission data. The service to be sent is a single service, or includes multiple services of the same source and same destination. The distribution unit may be used to distribute the transmission data to M transmission channels between the source node and the intermediate node for transmission, M is an integer greater than 1 and less than or equal to N, and N is the transmission path of the data of the service to be sent , the minimum value of the number of transmission channels between any two adjacent nodes, the intermediate node is the downstream node of the source node on the transmission path. Wherein, the data blocks distributed to each of the M transmission channels carry a first identifier, and the first identifier is used to indicate that the corresponding data block belongs to the service to be sent. Of course, the data transmission device may also include more or less units for implementing other functions of the source node.
第五方面,提供一种数据传输装置,该数据传输装置可以为数据传输节点的芯片或者片上系统。该数据传输装置可以实现上述第二方面或者第二方面中可能的设计中中间节点所执行的功能。这些功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个上述功能相应的模块。如:该数据传输装置可以包括:接收单元,解码单元和分发单元以实现中间节点的相关功能。示例性的,接收单元可以用于接收来自上游节点的第一数据块,该待发送业务为单个业务,或,该待发送业务包括同源同宿的多个业务。该第一数据块携带有第一标识,该第一标识用于指示该第一数据块属于该待发送业务。当然,该数据传输装置中还可以包括更多或更少的单元,用于实现中间节点其他的功能。In a fifth aspect, a data transmission device is provided, and the data transmission device may be a chip or a system on a chip of a data transmission node. The data transmission device can realize the above second aspect or the function performed by the intermediate node in the possible design of the second aspect. These functions may be implemented by hardware, or may be implemented by executing corresponding software through hardware. Hardware or software includes one or more modules corresponding to the above functions. For example, the data transmission device may include: a receiving unit, a decoding unit and a distributing unit to realize related functions of the intermediate node. Exemplarily, the receiving unit may be configured to receive the first data block from the upstream node, the service to be sent is a single service, or the service to be sent includes multiple services of the same source and destination. The first data block carries a first identifier, and the first identifier is used to indicate that the first data block belongs to the service to be sent. Of course, the data transmission device may also include more or less units for implementing other functions of the intermediate node.
第六方面,提供一种数据传输装置,该数据传输装置可以为数据传输节点的芯片或者片上系统。该数据传输装置可以实现上述第三方面或者第三方面中可能的设计中宿节点所执行的功能。这些功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个上述功能相应的模块。如:该数据传输装置可以包括:接收单元,确定单元和重组单元以实现宿节点的相关功能。示例性的,接收单元,可以用于接收来自待发送业务的数据的传输路径上该宿节点上游节点的P路数据块,该待发送业务为单个业务,或,该待发送业务包括同源同宿的多个业务,P为大于1的整数。确定单元,可以用于确定该P路数据块的M路中携带有第一标识的数据块,该第一标识用于指示对应数据块属于该待发送业务,M为大于1,且小于或等于P的整数。重组单元,可以用于对该M路中携带有第一标识的数据块进行重组,获得该待发送业务的数据。当然,该数据传输装置中还可以包括更多或更少的单元,用于实现宿节点其他的功能。According to a sixth aspect, a data transmission device is provided, and the data transmission device may be a chip or a system on a chip of a data transmission node. The data transmission device may implement the above third aspect or the function performed by the sink node in a possible design of the third aspect. These functions may be implemented by hardware, or may be implemented by executing corresponding software through hardware. Hardware or software includes one or more modules corresponding to the above functions. For example, the data transmission device may include: a receiving unit, a determining unit and a recombining unit to realize related functions of the sink node. Exemplarily, the receiving unit may be used to receive a P-channel data block from an upstream node of the sink node on the data transmission path of the service to be sent, the service to be sent is a single service, or the service to be sent includes the same source and the same sink For multiple businesses, P is an integer greater than 1. The determining unit may be used to determine the data block carrying the first identifier in the M paths of the P-way data blocks, the first identifier is used to indicate that the corresponding data block belongs to the service to be sent, and M is greater than 1 and less than or equal to Integer of P. The reassembly unit may be used to reassemble the data blocks carrying the first identifier in the M paths to obtain the data of the service to be sent. Of course, the data transmission device may also include more or less units for implementing other functions of the sink node.
第七方面,提供一种数据传输装置,该数据传输装置包括一个或多个处理器,该一个或多个处理器和一个或多个存储器耦合。该一个或多个存储器存储有计算机指令。当该一个或多个处理器执行该计算机指令时,使得该数据传输装置执行上述第一方面或者第一方面中可能的设计中源节点所执行的数据传输方法,或者,当该一个或多个处理器执行该计算机指令时,使得该数据传输装置执行上述第二方面或者第二方面中可能的设计中中间节点所执行的数据传输方法,或者,当该一个或多个处理器执行该计算机指令时,使得该数据传输装置执行上述第三方面或者第三方面中任一可能的设计中宿节点所执行的数据传输方法。According to a seventh aspect, a data transmission device is provided, and the data transmission device 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 performed by the source node in the first aspect or the possible design of the first aspect, or, when the one or more When the processor executes the computer instruction, the data transmission device executes the data transmission method executed by the intermediate node in the second aspect or the possible design of the second aspect, or, when the one or more processors execute the computer instruction , make the data transmission device perform the data transmission method performed by the sink node in the above third aspect or any possible design of the third aspect.
第八方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当该指令运行时,执行上述第一方面或者第一方面中可能的设计中源节点所执行的数据传输方法,或者,当该指令运行时,执行上述第二方面或者第二方面中可能的设计中中间节点所执行的数据传输方法,或者,当该指令运行时,执行上述第三方面或者第三方面中可能的设计中宿节点所执行的数据传输方法。In an eighth aspect, a computer-readable storage medium is provided, and instructions are stored in the computer-readable storage medium. When the instructions are executed, the above-mentioned first aspect or the source node in the possible design of the first aspect are executed. A data transmission method, or, when the instruction is running, execute the second aspect above or the data transmission method performed by the intermediate node in the possible design of the second aspect, or, when the instruction is running, execute the third aspect or the second aspect above The data transmission method performed by the sink node in the possible design of the three aspects.
第九方面,提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第一方面或者第一方面中可能的设计中源节点所执行的数据传输方法,或者,使得计算机可以执行上述第二方面或者第二方面中可能的设计中中间节点所执行的数据传输方法,或者,使得计算机可以执行上述第三方面或者第三方面中任一可能的设计中宿节点所执行的数据传输方法。In the ninth aspect, there is provided a computer program product containing instructions, which, when run on a computer, enable the computer to execute the data transmission method performed by the source node in the above-mentioned first aspect or a possible design of the first aspect, or, Allowing the computer to execute the data transmission method performed by the intermediate node in the second aspect or the possible design in the second aspect, or enabling the computer to execute the data transmission method performed by the sink node in the third aspect or any possible design in the third aspect The data transfer method to execute.
第十方面,提供一种芯片系统,该芯片系统包括处理器、通信接口,用于支持数据传输装置实现上述方面中所涉及的功能。在一种可能的设计中,芯片系统还包括存储器,存储器,用于保存网络设备必要的程序指令和数据。需要说明的是,该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。In a tenth aspect, a chip system is provided, and the chip system includes a processor and a communication interface, configured to support a data transmission device to implement the functions involved in the above aspect. In a possible design, the chip system further includes a memory, and the memory is used for storing necessary program instructions and data of the network device. It should be noted that the system-on-a-chip may consist of chips, or may include chips and other discrete devices.
第十一方面,提供一种数据传输系统,该数据传输系统包括两个或多个如上述第四方面和/或第五方面和/或第六方面和/或第七方面提供的数据传输装置,该两个或多个数据传输装置分别通过数据传输线路连接,使得数据按照如第一方面及其可能的设计和/或第二方面及其可能的设计和/或第三方面及其可能的设计中提供的数据传输方法进行传输。In the eleventh aspect, a data transmission system is provided, the data transmission system includes two or more data transmission devices as provided in the fourth aspect and/or the fifth aspect and/or the sixth aspect and/or the seventh aspect , the two or more data transmission devices are respectively connected by data transmission lines, so that the data is in accordance with the first aspect and its possible design and/or the second aspect and its possible design and/or the third aspect and its possible design The data transmission method provided in the design is used for transmission.
示例性地,第四方面至第十一方面中任一种设计方式均可对应到上述第一方面及其任一种可能的设计或者第二方面及其任一种可能的设计或者第三方面及其任一种可能的设计,因此,能够带来类似的技术效果,此处不再赘述。Exemplarily, any of the design methods from the fourth aspect to the eleventh aspect can correspond to the above-mentioned first aspect and any possible design thereof, or the second aspect and any possible design thereof, or the third aspect And any possible design thereof, therefore, can bring about similar technical effects, and will not be repeated here.
附图说明Description of drawings
图1为现有技术提供的一种同源同宿业务的数据传输的示意图;FIG. 1 is a schematic diagram of data transmission of a same-source and same-destination service provided by the prior art;
图2为一种多业务传输网络的示意图;Fig. 2 is a schematic diagram of a multi-service transmission network;
图3为本申请实施例提供的一种数据传输方法的流程示意图;FIG. 3 is a schematic flow diagram of a data transmission method provided by an embodiment of the present application;
图4为本申请实施例提供的又一种数据传输方法的流程示意图;FIG. 4 is a schematic flow diagram of another data transmission method provided by the embodiment of the present application;
图5为本申请实施例提供的又一种数据传输方法的流程示意图;FIG. 5 is a schematic flow diagram of another data transmission method provided by the embodiment of the present application;
图6为本申请实施例提供的一种数据分发的方法示意图;FIG. 6 is a schematic diagram of a data distribution method provided by an embodiment of the present application;
图7为本申请实施例提供的一种数据映射到光净荷单元k帧的方法示意图;FIG. 7 is a schematic diagram of a method for mapping data to optical payload unit k frames provided by an embodiment of the present application;
图8为本申请实施例提供的又一种数据传输方法的流程示意图;FIG. 8 is a schematic flowchart of another data transmission method provided by the embodiment of the present application;
图9为本申请实施例提供的一种数据传输装置的组成示意图;FIG. 9 is a schematic diagram of the composition of a data transmission device provided by an embodiment of the present application;
图10为本申请实施例提供的又一种数据传输装置的组成示意图;FIG. 10 is a schematic diagram of the composition of another data transmission device provided in the embodiment of the present application;
图11为本申请实施例提供的又一种数据传输装置的组成示意图;FIG. 11 is a schematic diagram of the composition of another data transmission device provided by the embodiment of the present application;
图12为本申请实施例提供的又一种数据传输装置的组成示意图;FIG. 12 is a schematic diagram of the composition of another data transmission device provided in the embodiment of the present application;
图13为本申请实施例提供的一种芯片系统的组成示意图。FIG. 13 is a schematic diagram of a chip system provided by an embodiment of the present application.
具体实施方式Detailed ways
在E2E通信过程中,提高通信的稳定性是提高通信效率的重要方法。现有技术通过设置额外的保护通道来达到此目的。示例性地,当传输数据所使用的传输通道出现故障(如误码率过大)时,会触发自动保护机制,将数据切换到保护通道上进行传输,以实现数据的传输不彻底中断。但是,该方法通常会发生传输数据丢失。例如,在第一时刻,正在被使用的传输通道出现故障,则触发自动保护机制,开始将数据切换到保护通道上进行传输,并在第二时刻完成切换。这样会导致接收端节点接收不到第一时刻和第二时刻之间应该被发送的数据。这种数据传输过程中的丢失,也会降低E2E通信的稳定性。In the E2E communication process, improving communication stability is an important method to improve communication efficiency. The prior art achieves this purpose by setting up additional protection channels. For example, when the transmission channel used for data transmission fails (for example, the bit error rate is too high), an automatic protection mechanism will be triggered to switch the data to the protection channel for transmission, so as to realize that the data transmission is not completely interrupted. However, this method often suffers from loss of transferred data. For example, at the first moment, if the transmission channel being used fails, the automatic protection mechanism will be triggered, and the data will be switched to the protection channel for transmission, and the switch will be completed at the second moment. This will cause the receiving end node to fail to receive the data that should be sent between the first moment and the second moment. Such loss during data transmission will also reduce the stability of E2E communication.
为了避免上述问题,还可以通过对数据进行冗余前向纠错(Forward ErrorCorrection,FEC)编码,以提升E2E通信的稳定性。示例性地,在源节点处对业务的数据进行整体FEC编码,并将经过FEC编码的数据通过传输通道进行传输。宿节点在接收到经过FEC编码的数据后,对其进行解码来获取完整的业务数据。由于被传输的数据经过FEC编码,因此即便宿节点接收到的数据出现部分错误或丢失,宿节点也可以经过FEC解码获取较为完整的业务的数据。这种方法可以适用于多种业务场景,如频谱迁移,波长增删,波长变色以及N:M故障保护等。该方法通过提高传输容错健壮性,有效地提升了E2E通信业务的稳定性。In order to avoid the above problems, it is also possible to perform redundant forward error correction (Forward Error Correction, FEC) coding on the data to improve the stability of the E2E communication. Exemplarily, the overall FEC coding is performed on the service data at the source node, and the FEC coded data is transmitted through the transmission channel. After receiving the FEC-encoded data, the sink node decodes it to obtain complete service data. Since the transmitted data is encoded by FEC, even if the data received by the sink node is partially wrong or lost, the sink node can obtain relatively complete service data through FEC decoding. This method can be applied to a variety of business scenarios, such as spectrum migration, wavelength addition and deletion, wavelength discoloration, and N:M fault protection. The method effectively improves the stability of the E2E communication service by improving the fault-tolerant robustness of the transmission.
一般而言,在数据传输过程中会存在多个不同业务的数据被同时传输。本申请实施例中,可以将传输路径完全相同(即具有相同的源节点、中间节点和宿节点)的不同业务称为同源同宿。而传输路径不完全相同的不同业务则称为非同源同宿。示例性地,以2个业务是非同源同宿的业务为例,这2个业务可能是具有不同源节点的业务,也可能是具有不同宿节点的业务,还可能是源节点和宿节点相同,但在传输过程中经过不同中间节点的2个业务。Generally speaking, data of multiple different services may be transmitted simultaneously during the data transmission process. In this embodiment of the present application, different services with exactly the same transmission path (that is, having the same source node, intermediate node, and sink node) may be referred to as the same source and same sink. Different services whose transmission paths are not exactly the same are called non-homogeneous and same-destination services. Exemplarily, taking two services that are not of the same source and same destination as an example, these two services may be services with different source nodes, or services with different sink nodes, or the source node and the sink node may be the same, However, two services passing through different intermediate nodes during the transmission process.
图1为现有技术提供的一种同源同宿业务的数据传输的示意图。图1以待发送的同源同宿的多个业务的传输路径包括源节点、2个中间节点(节点1和节点2)和宿节点为例进行说明。在进行数据传输之前,源节点对待发送的多个业务的数据进行整体FEC编码,并将编码后的数据均匀分发到源节点与节点1之间的传输通道中的每个传输通道传输给节点1。节点1可以通过与源节点之间的传输通道接收到多个数据块,并将这些数据块转发给节点2,接着由节点2转发给宿节点。宿节点通过与节点2之间的传输通道接收到多个数据块后,将这些数据块进行重组,并对重组后的数据进行FEC解码,从而获取完整的多个业务的数据。FIG. 1 is a schematic diagram of data transmission of a same-source and same-destination service provided by the prior art. FIG. 1 illustrates by taking the transmission path of multiple services of the same source and the same destination to be sent including a source node, two intermediate nodes (
然而,对于非同源同宿的多个业务,数据的传输会变得复杂很多。以下结合附图进行详细说明。图2为一种多业务传输网络的示意图。图2以待发送的业务包括非同源同宿的业务A、业务B、业务C以及业务D为例。如图2所示,业务A的传输路径包括节点1-节点3-节点4-节点5-节点7,共4段链路。业务B的传输路径包括节点1-节点3-节点4-节点6,共3段链路。业务C的传输路径包括节点2-节点3-节点4-节点5-节点8,共4段链路。业务D的传输路径包括节点2-节点3-节点4-节点6,共3段链路。本申请实施例中,业务A的传输路径可以表示为[NE1<->NE3]=N1,[NE3<->NE4]=N3,[NE4<->NE5]=N4,[NE5<->NE7]=N6。其中,NE用于标示节点,例如,NE1表示节点1,NE2表示节点2,以此类推。N对应节点之间的传输通道的数量。例如,N1为NE1与NE3之间的传输通道的数量,N3为NE3与NE4之间的传输通道的数量,以此类推。类似地,业务B的传输路径可以表示为[NE1<->NE3]=N1,[NE3<->NE4]=N3,[NE4<->NE6]=N5。业务C的传输路径可以表示为[NE2<->NE3]=N2,[NE3<->NE4]=N3,[NE4<->NE5]=N4,[NE5<->NE8]=N7。业务D的传输路径可以表示为[NE2<->NE3]=N2,[NE3<->NE4]=N3,[NE4<->NE6]=N5。However, for multiple services with different origins and destinations, data transmission will become much more complicated. A detailed description will be given below in conjunction with the accompanying drawings. Fig. 2 is a schematic diagram of a multi-service transmission network. FIG. 2 takes an example in which the services to be sent include service A, service B, service C and service D which are not of the same source and same destination. As shown in FIG. 2 , the transmission path of service A includes node 1 - node 3 - node 4 - node 5 - node 7, a total of 4 links. The transmission path of service B includes three links from
在数据传输过程中,中间节点在接收到上游节点发送的数据后,需要进行较为复杂的处理才可将对应的数据传输到业务对应的传输路径上的下游节点。以NE4为例进行说明。NE4会同时接收到来自于节点1的包括业务A和业务B的数据,以及来自节点2的包括业务C和业务D的数据。不同业务的数据的传输路径并不相同。因此,在接收到这些数据后,NE4需哪些数据所述的具体业务,进而确定对应业务的传输路径上的下游节点,并将对应业务的数据传输给对应的下游节点。也就是说,在NE4接收到来自于节点1和节点2的数据后,首先需要对接收到的所有数据进行FEC解码,即执行FEC终止,并重组接收到的数据,以获取完整的业务A、业务B、业务C以及业务D的数据。然后对业务A和业务C进行整体FEC编码,并将编码后的业务数据传输给节点5。类似地,NE4还需对业务B和业务D进行整体FEC编码,并将编码后的业务数据传输给节点6。In the process of data transmission, after receiving the data sent by the upstream node, the intermediate node needs to perform more complex processing before transmitting the corresponding data to the downstream node on the transmission path corresponding to the service. Take NE4 as an example for illustration. NE4 will simultaneously receive the data including service A and service B from
可以理解的是,上述方案中,源节点处数据进行FEC编码,以便后续节点可以通过FEC解码对接收到的数据进行恢复,使得数据能够被更加完整地接收,以此达到提高传输过程中的容错健壮性的效果,最终使得端到端业务的通信稳定性得以提高。但是,由于被传输的数据是进行了FEC编码的数据,中间节点在接收该数据后,需进行FEC终止、重新编码和分发的操作。这会带来数据传输系统复杂度高、时延大等问题,进而影响到E2E业务的数据传输,也就会降低通信过程的稳定性。It can be understood that, in the above scheme, the data at the source node is FEC encoded, so that the subsequent node can recover the received data through FEC decoding, so that the data can be received more completely, so as to improve the fault tolerance in the transmission process The effect of robustness ultimately improves the communication stability of the end-to-end business. However, since the transmitted data is FEC-encoded data, after receiving the data, the intermediate node needs to perform operations of FEC termination, re-encoding and distribution. This will bring problems such as high complexity of the data transmission system and long delay, which will affect the data transmission of E2E services and reduce the stability of the communication process.
为了解决上述问题,本申请实施例提供一种数据传输方法、装置和系统,能够有效地简化数据传输过程,减小延时,同时提高传输过程中的容错健壮性,以提高E2E通信的稳定性。In order to solve the above problems, the embodiment of the present application provides a data transmission method, device and system, which can effectively simplify the data transmission process, reduce the delay, and improve the fault tolerance and robustness during the transmission process, so as to improve the stability of E2E communication .
需要说明的是,本申请实施例提供的技术方案,可以应用于具有多个网元(或称为节点)的数据传输系统中,不同节点之间可以通过数据传输链路连接,不同的数据传输链路可以包括一个或多个传输通道。本申请实施例中,每个节点也可称为一个数据传输装置。示例性地,该数据传输系统可以为光传送网(Optical Transport Network,OTN)。相邻节点之间的数据传输线路可以为光载波,光传送单元(Optical Transport Unit,OTU),承载容器,或者光数据单元k(Optical data unit k,ODUk)中的一种或多种。在一些实施例中,该节点可以为包括线路板,支路板和交叉板的OTN设备。It should be noted that the technical solution provided by the embodiment of this application can be applied to a data transmission system with multiple network elements (or called nodes), and different nodes can be connected through data transmission links, and different data transmission A link may consist of one or more transmission lanes. In this embodiment of the present application, each node may also be referred to as a data transmission device. Exemplarily, the data transmission system may be an optical transport network (Optical Transport Network, OTN). The data transmission line between adjacent nodes may be one or more of an optical carrier, an optical transport unit (Optical Transport Unit, OTU), a bearer container, or an optical data unit k (Optical data unit k, ODUk). In some embodiments, the node may be an OTN device including a line board, a tributary board and a cross-connect board.
业务数据的传输的起点也称为该业务的源节点,其传输的终点也称为该业务的宿节点。传输业务的数据所经过的路径,也称为该业务的传输路径。业务路径由传输路径上多个相邻节点之间的链路组成。该业务路径可以是在进行业务的数据传输之前就确定的。或者,业务路径也可以是根据网络情况进行实时调整的。本申请实施例在此不做限制。The starting point of the transmission of service data is also called the source node of the service, and the end point of the transmission is also called the sink node of the service. The path through which the data of the transmission service passes is also referred to as the transmission path of the service. A service path consists of links between multiple adjacent nodes on the transmission path. The service path may be determined before data transmission of the service is performed. Alternatively, the service path may also be adjusted in real time according to network conditions. The embodiments of the present application are not limited here.
可选地,业务的传输路径还可以包括中间节点,用于对数据进行转发,实现数据的长距离传输。需要说明的是,本申请实施例中,中间节点可以是一个或多个。以下以业务的传输路径上包括多个节点作为中间节点为例进行说明。Optionally, the service transmission path may also include an intermediate node for forwarding data to realize long-distance transmission of data. It should be noted that, in this embodiment of the application, there may be one or more intermediate nodes. In the following, description will be made by taking a service transmission path including multiple nodes as intermediate nodes as an example.
图3为本申请实施例提供的一种数据传输方法的流程示意图。为了更加清楚地说明本申请实施例提供的数据传输方法,以下以待发送业务的数据为图2所示的业务A为例。如图3所示,该方法可以包括S301-S306。FIG. 3 is a schematic flowchart of a data transmission method provided by an embodiment of the present application. In order to more clearly illustrate the data transmission method provided by the embodiment of the present application, the data of the service to be sent is service A shown in FIG. 2 as an example below. As shown in Fig. 3, the method may include S301-S306.
S301、源节点对待发送业务的数据进行FEC编码,以获得传输数据。S301. The source node performs FEC encoding on the data of the service to be sent, so as to obtain the transmission data.
本申请实施例中,可以用光业务单元(Optica Service Unit,OSU)帧承载业务的数据,以便源节点对业务的数据进行处理和发送。示例性地,OSU帧可以包括开销区和净荷区。其中,开销区可以用于承载业务相关的标识。例如,该标识可以包括以下标识中的一个或多个:业务帧头指示,路径踪迹指示(Trail Trace Identifier,TTI),X比特间插奇偶校验(X Bit-Interleaved Parity,BIP-X),后向错误指示(Backward Error Indication,BEI),后向缺陷指示(Backward Defect Indication,BDI),状态指示(Status,STAT),时戳,顺序标识,映射开销等。当然,开销区还可以包括其他信息与业务传输相关的信息,本申请实施在此不做限制。OSU帧的净荷区可以用于承载业务数据。例如,净荷区中可以包括数据单元,该数据单元可以提供8字节,16字节,32字节,64字节,128字节,196字节,240字节,256字节或512字节等大小的存储空间来存储业务数据。In the embodiment of the present application, an Optical Service Unit (Optica Service Unit, OSU) frame may be used to carry service data, so that the source node can process and send the service data. Exemplarily, an OSU frame may include an overhead area and a payload area. Wherein, the overhead area may be used to carry service-related identifiers. For example, the identifier may include one or more of the following identifiers: service frame header indication, trail trace indication (Trail Trace Identifier, TTI), X bit interleaved parity (X Bit-Interleaved Parity, BIP-X), Backward Error Indication (BEI), Backward Defect Indication (BDI), Status Indication (Status, STAT), time stamp, sequence identification, mapping overhead, etc. Of course, the overhead area may also include other information related to service transmission, which is not limited in the implementation of this application. The payload area of the OSU frame can be used to carry service data. For example, a data unit may be included in the payload area, and the data unit may provide 8 bytes, 16 bytes, 32 bytes, 64 bytes, 128 bytes, 196 bytes, 240 bytes, 256 bytes or 512 words The storage space of equal size is used to store business data.
如图2所示,NE1为业务A的源节点。NE1可以对承载有业务A的数据的OSU帧进行FEC编码,以获取对应的经过FEC编码的传输数据。As shown in Figure 2, NE1 is the source node of service A. NE1 can perform FEC encoding on the OSU frame carrying the data of service A to obtain the corresponding FEC-encoded transmission data.
可选地,当一个源节点中包括两个或多个同源同宿的业务时,可以将这些同源同宿的业务的数据捆绑作为一个业务进行处理,即待发送业务可以包括同源同宿的多个业务。Optionally, when a source node includes two or more services of the same source and same destination, the data binding of these services of the same source and same destination can be processed as one service, that is, the services to be sent can include multiple services of the same source and same destination. business.
当然,源节点在对业务的数据进行FEC编码时,也可以采用不同于上述OSU帧的其他数据帧类型作为业务A的数据的载体进行FEC编码。或者,源节点也可以直接对业务的数据进行FEC编码并获取对应的传输数据。本申请实施例在此不做限制。Of course, when the source node performs FEC encoding on the data of the service, it may also use other data frame types different from the above-mentioned OSU frame as the carrier of the data of the service A to perform FEC encoding. Alternatively, the source node may directly perform FEC encoding on service data and obtain corresponding transmission data. The embodiments of the present application are not limited here.
S302、源节点将传输数据分发到源节点与中间节点之间的M路传输通道进行传输。S302. The source node distributes the transmission data to M transmission channels between the source node and the intermediate node for transmission.
其中,M是大于1且小于或等于N的整数,N是待发送业务的数据的传输路径上,任意两个相邻节点之间传输通道数量的最小值,该中间节点是上述传输路径上源节点的下游节点。Among them, M is an integer greater than 1 and less than or equal to N, N is the minimum value of the number of transmission channels between any two adjacent nodes on the transmission path of the data to be sent, and the intermediate node is the source on the above transmission path Node's downstream nodes.
如图2所示,NE1可以将经过FEC编码的业务A对应的传输数据发送给业务A对应传输路径上的下游节点,即NE3。As shown in FIG. 2 , NE1 can send the FEC-encoded transmission data corresponding to service A to the downstream node on the transmission path corresponding to service A, that is, NE3.
本申请实施例中,NE1在将业务A对应的传输数据分发到NE1与NE3之间的传输通道时,可以选用NE1与NE3之间的N1个传输通道的一部分传输通道进行传输。In the embodiment of the present application, when NE1 distributes the transmission data corresponding to service A to the transmission channels between NE1 and NE3, it may select a part of the transmission channels of N1 transmission channels between NE1 and NE3 for transmission.
示例性地,NE1可以在分发业务A对应的传输数据前,确定业务A的传输路径上包括的多个传输链路中每个传输链路的传输通道数量,并取最小值作为传输业务A对应传输数据的通道数量。例如,NE1可以统计业务A的传输路径上,各段传输链路的传送线路数量分别为N1,N3,N4和N6,则NE1可以取N=min{N1,N3,N4,N6}作为传输业务A对应传输数据的通道数量M,即取M=N。这样,就使得中间节点在对业务A对应传输数据的转发过程中,不会出现接收端传输通道数量大于发送端传输断传输通道的问题。同时也能够使得业务A对应的传输数据集中在几个通道中进行传输,有利于提高数据传输的稳定性。For example, before distributing the transmission data corresponding to service A, NE1 can determine the number of transmission channels of each of the multiple transmission links included in the transmission path of service A, and take the minimum value as the number of transmission channels corresponding to service A. The number of channels to transfer data. For example, NE1 can count the number of transmission lines of each transmission link on the transmission path of service A as N1, N3, N4, and N6, and NE1 can take N=min{N1,N3,N4,N6} as the transmission service A corresponds to the number M of channels for transmitting data, that is, M=N. In this way, when the intermediate node forwards the corresponding transmission data of service A, there will be no problem that the number of transmission channels at the receiving end is greater than that at the sending end. At the same time, the transmission data corresponding to service A can be concentrated in several channels for transmission, which is conducive to improving the stability of data transmission.
本申请实施例中,传输业务A对应传输数据的通道数量M还可以是小于N且大于1的任意一个整数。对于M的具体设置,可以根据实际使用场景灵活设置,只要满足M小于获得等于N即可,本申请实施例在此不做限制。In this embodiment of the present application, the number M of channels for transmitting data corresponding to the transmission service A may also be any integer less than N and greater than 1. The specific setting of M can be flexibly set according to the actual usage scenario, as long as M is less than or equal to N, and this embodiment of the present application does not limit it here.
另外,NE1确定传输业务A对应传输数据的通道数量M的操作,可以是在开始传输业务A之前进行的,也可以是在完成FEC编码后,分发业务A对应的传输数据之前进行的。In addition, the operation of NE1 to determine the channel number M corresponding to the transmission service A can be performed before starting the transmission service A, or after completing the FEC encoding and before distributing the transmission data corresponding to the service A.
示例性地,NE1可以将M个分支中的M个数据块,按照预先设定的顺序,分发到M个传输通道中,以便传输路径上的其他节点(如宿节点)可以根据接收到M个数据块的传输通道,知晓该数据块被分发前在传输数据中的位置。For example, NE1 can distribute M data blocks in M branches to M transmission channels in a preset order, so that other nodes (such as sink nodes) on the transmission path can The transmission channel of the data block knows the position of the data block in the transmission data before it is distributed.
S303、中间节点接收来自上游节点的数据块。S303. The intermediate node receives the data block from the upstream node.
中间节点可以通过与上游节点之间的传输通道,接收到多个数据块。其中,一个传输通道对应一个数据块。示例性地,结合图2,对于业务A,以中间节点NE3为例。NE3可以通过与NE1之间的N1个通道中的每个通道,接收到一个承载有数据块的OTUk帧。一般而言,在数据通信过程中,大多传输通道都会有数据进行传输。因此,NE3就可以从与NE1之间的N1个传输通道中接收到N1个OTUk帧。其中,每个OUTk帧所承载的数据块均携带有用于指示对应数据块所属业务的标识。本申请实施例中,上述中间节点(如NE3)也可称为第一节点,其上游节点也可称为第二节点。The intermediate node can receive multiple data blocks through the transmission channel with the upstream node. Wherein, one transmission channel corresponds to one data block. Exemplarily, with reference to FIG. 2 , for service A, the intermediate node NE3 is taken as an example. NE3 can receive an OTUk frame carrying a data block through each of the N1 channels between NE1 and NE1. Generally speaking, in the process of data communication, most transmission channels will have data to transmit. Therefore, NE3 can receive N1 OTUk frames from N1 transmission channels between NE1 and NE1. Wherein, the data block carried by each OUTk frame carries an identifier for indicating the service to which the corresponding data block belongs. In the embodiment of the present application, the above-mentioned intermediate node (such as NE3) may also be called the first node, and its upstream node may also be called the second node.
例如,NE3可以分别接收到来自NE1的第一数据块和第二数据块。该第一数据是承载有属于业务A的数据块1,第二数据是承载有属于业务A的数据块2。数据块1和数据块2可以分别携带有第一标识,用于标识对应的数据块属于业务A。For example, NE3 may respectively receive the first data block and the second data block from NE1. The first data carries data block 1 belonging to service A, and the second data carries data block 2 belonging to service
S304、中间节点将接收到的数据转发到与下游节点通信的对应通道中。S304. The intermediate node forwards the received data to a corresponding channel for communicating with the downstream node.
中间节点在一个传输通道中接收到数据块后,可以根据该数据块所携带的指示该数据块所属业务的标识,确定该数据块的对应下游节点,并将该数据块转发到与对应下游节点的传输通道中。After the intermediate node receives the data block in a transmission channel, it can determine the corresponding downstream node of the data block according to the identification of the service carried by the data block indicating the service to which the data block belongs, and forward the data block to the corresponding downstream node in the transmission channel.
示例性地,结合图2,以中间节点为NE3为例。NE3可以从与NE1之间传输通道接收到多个OTUk帧。其中包括承载有携带第一标识的M个数据块的OTUk帧。针对接收到的多个OTUk帧中的每个OTUk帧,NE3可以确定通过解映射获取该OTUk帧中承载的数据块。Exemplarily, referring to FIG. 2 , the intermediate node is NE3 as an example. NE3 can receive multiple OTUk frames from the transmission channel with NE1. It includes an OTUk frame carrying M data blocks carrying the first identifier. For each OTUk frame among the multiple received OTUk frames, the NE3 may determine to acquire the data blocks carried in the OTUk frame through demapping.
例如,NE3通过与NE1之间的一个传输通道,接收到包括一个OTUk帧的第一数据。则首先确定该OTUk帧在第一数据中的起始位置,从中提取OTUk开销以及ODUk开销,获取该OTUk帧中的光净荷单元k(Optical Payload Unit k,OPUk)帧,进而可以通过解映射获取该OPUk帧中承载的数据块1。For example, NE3 receives first data including an OTUk frame through a transmission channel with NE1. Then first determine the starting position of the OTUk frame in the first data, extract OTUk overhead and ODUk overhead therefrom, obtain the optical payload unit k (Optical Payload Unit k, OPUk) frame in the OTUk frame, and then can be demapped Obtain
NE3可以通过数据块所携带的用于指示对应数据块所属业务的标识,确定该数据块对应的下游节点,并将该数据块分发到与对应下游节点之间的传输通道上。NE3 can determine the downstream node corresponding to the data block through the identifier carried by the data block for indicating the service to which the corresponding data block belongs, and distribute the data block to the transmission channel between the corresponding downstream node.
例如,NE3通过解映射,获取了数据块1,并且该数据块1携带有用于指示该数据块1是属于业务A的第一标识。那么,NE3就可以将该数据块1分发到NE3与NE4之间的一个传输通道(如第一传输通道)上进行传输。For example, NE3 acquires
类似地,NE3可以对通过多个传输通道中的每个传输通道接收到的数据执行以上操作,则NE3就可以按照数据块所携带的指示对应数据块所属业务的标识,将该数据块分发到传输路径上的下游传输链路上。Similarly, NE3 can perform the above operations on the data received through each of the multiple transmission channels, and then NE3 can distribute the data block to the On the downstream transmission link on the transmission path.
需要说明的是,NE3会将不同的数据块分发到不同的传输通道中,保证一个传输通道中不会发送同一个业务来自上游节点的两个或多个传输通道中的数据块。示例性地,NE3通过解映射获取数据块2,该数据块2携带有第一标识,则NE3会将该数据块2分发到NE3与NE4之间的传输通道(如第二传输通道)中,该第二传输通道是NE3与NE4之间,与第一传输通道不同的一个传输通道。It should be noted that NE3 distributes different data blocks to different transmission channels to ensure that one transmission channel does not send the same service from data blocks in two or more transmission channels of upstream nodes. Exemplarily, NE3 obtains
S305、宿节点接收来自待发送业务传输路径上的上游节点的数据块。S305. The sink node receives the data block from the upstream node on the transmission path of the service to be sent.
S306、宿节点对接收到的数据进行处理,获取待发送业务的数据。S306. The sink node processes the received data, and acquires the data of the service to be sent.
目标节点的宿节点可以通过与待发送业务的传输路径上的上游节点之间的传输通道,接收到多个数据块。其中,一个传输通道对应一个数据块。The sink node of the target node may receive multiple data blocks through a transmission channel with an upstream node on the transmission path of the service to be sent. Wherein, one transmission channel corresponds to one data block.
示例性地,宿节点(NE7)可以通过与NE5之间的N6个传输通道中的每一个通道,接收到一个携带有用于标示对应数据块所属业务的标识的数据块。NE7可以根据该标识,确定对应数据块所属的业务,并对这些具有相同标识的数据块进行处理,获取对应的传输数据,进而获得对应的业务的数据。Exemplarily, the sink node (NE7) may receive a data block carrying an identifier for indicating the service to which the corresponding data block belongs through each of the N6 transmission channels between the sink node and the NE5. The NE7 can determine the service to which the corresponding data block belongs according to the identification, and process these data blocks with the same identification to obtain the corresponding transmission data, and then obtain the data of the corresponding service.
例如,NE7可以通过N6个传输通道接收到N6个承载有数据块的OTUk帧,通过类似于S304中的解映射处理,可以获取对应的N6个数据块。其中包括有携带有第一标识的M个数据块。NE7可以将这M个数据块进行重组,以获取业务A对应的传输数据。介质NE7可以对该传输数据进行FEC解码,便可获取业务A的完整数据。For example, NE7 can receive N6 OTUk frames carrying data blocks through N6 transmission channels, and can obtain corresponding N6 data blocks through a demapping process similar to that in S304. It includes M data blocks carrying the first identifier. NE7 can reassemble the M data blocks to obtain the transmission data corresponding to service A. The medium NE7 can perform FEC decoding on the transmission data to obtain the complete data of the service A.
需要说明的是,本申请实施例中,在源节点或中间节点对数据块进行分发传输时,对传输通道的选取,可以是按照预设的规则,选取与数据块对应的传输通道进行分发,也可以是随机地从下游传输通道中选取一个通道进行一个数据块的传输。It should be noted that, in the embodiment of the present application, when the source node or the intermediate node distributes and transmits the data block, the selection of the transmission channel may be to select the transmission channel corresponding to the data block according to the preset rules for distribution. It is also possible to randomly select a channel from the downstream transmission channels to transmit a data block.
在一些实施例中,当数据块在源节点处被传输之前,每个数据块在传输路径上各段链路的传输通道已经分配好,则发送数据块的节点可以将对应的数据块分发到对应的传输通道中进行传输。宿节点在接收到多个数据块后,可以根据接收这些数据块的传输通道,确定每一个数据块被分发前在传输数据中的位置并进行数据块的重组。In some embodiments, before the data block is transmitted at the source node, the transmission channel of each link of each data block on the transmission path has been allocated, and the node sending the data block can distribute the corresponding data block to Transmit in the corresponding transmission channel. After receiving multiple data blocks, the sink node can determine the position of each data block in the transmission data before being distributed and reassemble the data blocks according to the transmission channel that receives these data blocks.
在另一些实施例中,当在数据块开始被传输之前,并未确定该数据块在各段链路上的传输通道时,则发送数据块的节点可以在与下游节点之间的多个传输通道中随机选取一个传输通道进行数据块的传输,并在传输时为该数据块添加对应的出口标识,以便宿节点可以根据各个链路上传输该数据块时的出口标识,确定该数据块在源节点处未被分发前在传输数据中的位置并进行数据块的重组。In other embodiments, when the transmission channel of the data block on each segment of the link is not determined before the data block starts to be transmitted, the node sending the data block can perform multiple transmissions with the downstream node. Randomly select a transmission channel in the channel to transmit the data block, and add a corresponding exit identifier for the data block during transmission, so that the sink node can determine the data block according to the exit identifier when the data block is transmitted on each link. The position of the source node in the transmitted data before being distributed and the reorganization of the data block.
以上方法能够实现对于非同源同宿以及同源同宿业务的传输。在该方法中,源节点以业务为单位对数据进行FEC编码,并将编码后的数据经过中间节点传输到宿节点。在此过程中,中间节点可以根据每个数据块所携带的指示对应数据块所属业务的标识(如待发送业务对应的数据块携带有第一标识)对数据块进行转发,而不需要进行FEC终止、重新编码以及分发的过程,在通过FEC编码增强传输通道健壮性的同时,显著减小了中间节点转发数据所需时间,并降低了系统复杂度。同时,由于在源节点处选取了传输待发送业务的数据所需最少的通道数量进行传输,使得数据传输过程中对于传输通道的选择更加灵活。The above method can realize the transmission of non-same-source-same-destination and same-source-same-destination services. In this method, the source node performs FEC encoding on the data in units of services, and transmits the encoded data to the sink node through the intermediate node. During this process, the intermediate node can forward the data block according to the identifier of the service that the corresponding data block carries (for example, the data block corresponding to the service to be sent carries the first identifier) carried by each data block, without FEC The process of termination, re-encoding, and distribution, while enhancing the robustness of the transmission channel through FEC encoding, significantly reduces the time required for intermediate nodes to forward data and reduces system complexity. At the same time, since the source node selects the minimum number of channels required to transmit the data of the service to be sent for transmission, the selection of the transmission channel during the data transmission process is more flexible.
如上述说明,本申请的一些实施例中,可以采用OSU帧承载业务数据,并对OSU帧进行相关处理,以实现对业务的数据的传输。示例性地,图4所示,当采用OSU帧承载业务的数据时,S301具体的可以包括S401-S402。As described above, in some embodiments of the present application, OSU frames may be used to carry service data, and relevant processing may be performed on the OSU frames to realize the transmission of service data. Exemplarily, as shown in FIG. 4 , when OSU frames are used to carry service data, S301 may specifically include S401-S402.
S401、NE1将业务A的数据映射到OSU帧中的净荷区的数据单元中,以便获取携带有业务A的数据的OSU数据帧。S401, NE1 maps the data of service A to the data unit of the payload area in the OSU frame, so as to obtain the OSU data frame carrying the data of service A.
一般而言,一个OSU帧的净荷区的数据单元可能无法承载所有业务A的数据。因此,在将业务A的数据映射到OSU帧中时,NE1可以将业务A的数据映射到多个OSU帧中,对应的可以获得多个携带有业务A的数据的OSU数据帧。需要说明的是,将数据映射到OSU帧中的方式,可以是同步映射,也可以是异步映射,也可以是根据通用映射规程(Generic MappingProcedure,GMP)进行的映射中的任意一种。当然,将数据映射到OSU帧中的方式也可以不同于上述示例,本申请实施例对此不做限制。Generally speaking, the data unit in the payload area of an OSU frame may not be able to carry all the data of service A. Therefore, when mapping the data of service A into OSU frames, NE1 can map the data of service A into multiple OSU frames, and correspondingly obtain multiple OSU data frames carrying the data of service A. It should be noted that the manner of mapping data to the OSU frame may be synchronous mapping, asynchronous mapping, or any one of mapping performed according to a generic mapping procedure (Generic Mapping Procedure, GMP). Certainly, the manner of mapping data into the OSU frame may also be different from the foregoing example, which is not limited in this embodiment of the present application.
S402、NE1对OSU数据帧进行FEC编码,以获取业务A对应的传输数据。S402. The NE1 performs FEC encoding on the OSU data frame to obtain the transmission data corresponding to the service A.
NE1在对OSU数据帧进行FEC编码后,会获得对应的FEC编码信息。本申请实施例中,可以将该FEC编码信息存储到OSU编码帧中。需要说明的是,在一些实施例中,对OSU数据帧进行FEC编码后,获取的OSU编码帧可以同时包括FEC编码信息以及对应OSU数据帧承载的业务的数据,则对业务A对应的OSU数据帧进行FEC编码后获取的OSU编码帧就是业务A对应的传输数据。在另一些实施例中,对OSU数据帧进行FEC编码后,获取的OSU编码帧可以仅包括FEC编码的相关编码信息。则业务A对应的传输数据可以包括业务A对应的OSU数据帧,以及对该OSU数据帧进行FEC编码后获取的OSU编码帧。After NE1 performs FEC encoding on the OSU data frame, it will obtain the corresponding FEC encoding information. In this embodiment of the present application, the FEC encoding information may be stored in an OSU encoding frame. It should be noted that, in some embodiments, after FEC encoding is performed on the OSU data frame, the obtained OSU encoded frame may include FEC encoding information and the data of the service carried by the corresponding OSU data frame at the same time, then the OSU data corresponding to service A The OSU coded frame obtained after the frame is FEC coded is the transmission data corresponding to service A. In some other embodiments, after FEC encoding is performed on the OSU data frame, the obtained OSU encoded frame may only include relevant encoding information of FEC encoding. Then, the transmission data corresponding to the service A may include the OSU data frame corresponding to the service A, and the OSU coded frame obtained after performing FEC coding on the OSU data frame.
这样,NE1就完成了对于业务A的数据的FEC编码,并获得了对应的传输数据。类似的,对于其他业务(如图2中的业务B、业务C以及业务D),源节点也可以对对应的业务的数据按照上述方法进行FEC编码,并获得与业务对应的传输数据。In this way, NE1 completes the FEC encoding of the data of service A and obtains the corresponding transmission data. Similarly, for other services (such as service B, service C, and service D in FIG. 2 ), the source node can also perform FEC encoding on the data of the corresponding service according to the above method, and obtain the transmission data corresponding to the service.
另外,在本申请的另一些实施例中,在执行上述S302时,在NE1要将业务A对应的传输数据分发到M个传输通道中进行传输时,可以先对业务A对应的传输数据进行划分。示例性的,当对传输数据进行划分时,请参考图5,上述S302可以包括S501-S503。In addition, in other embodiments of the present application, when executing the above S302, when NE1 distributes the transmission data corresponding to service A to M transmission channels for transmission, it can first divide the transmission data corresponding to service A . Exemplarily, when dividing the transmission data, please refer to FIG. 5 , the above S302 may include S501-S503.
S501、NE1将业务A对应的传输数据分发到M个分支中。S501. NE1 distributes the transmission data corresponding to service A to M branches.
NE1可以通过将传输数据分发到M个分支中,实现对于传输数据的划分。例如,如图6所示,以业务A对应的传输数据包括P个OSU编码帧和Q个OSU数据帧为例。NE1可以分别将这P个OSU编码帧和Q个OSU数据帧分发到M路分支中。其中,每路分支中可以包括一个由OSU编码帧和/或OSU数据帧构成的数据块。NE1 can divide the transmission data by distributing the transmission data to M branches. For example, as shown in FIG. 6 , it is taken that the transmission data corresponding to service A includes P OSU coded frames and Q OSU data frames as an example. NE1 can distribute the P OSU coded frames and Q OSU data frames to M branches respectively. Wherein, each branch may include a data block composed of an OSU coded frame and/or an OSU data frame.
S502、NE1为M个分支中的每个分支中的数据块添加用于指示该数据块属于待发送业务的第一标识。S502. NE1 adds a first identifier for indicating that the data block belongs to the service to be sent to the data block in each of the M branches.
任意相邻两个节点之间的数据传输包括多个业务的数据。因此,本申请实施例中,可以为每个通道中的数据块添加用于指示该数据块所属业务的标识。示例性地,NE1可以为M个分支中的M个数据块分别添加第一标识。例如,该标识可以为“#业务A”,该标识可以通过16比特值来表示。可以理解的是,属于待发送业务的数据块,携带有相同的第一标识。Data transmission between any two adjacent nodes includes data of multiple services. Therefore, in the embodiment of the present application, an identifier for indicating the service to which the data block belongs may be added to the data block in each channel. Exemplarily, NE1 may respectively add first identifiers to M data blocks in M branches. For example, the identifier may be "#Service A", and the identifier may be represented by a 16-bit value. It can be understood that the data blocks belonging to the service to be sent carry the same first identifier.
需要说明的是,当待发送业务是由两个或多个同源同宿的业务捆绑形成的业务时,源节点可以为该捆绑的业务对应的所有分支中的数据块添加聚合业务标识,用于标示这些数据块属于对应的同源同宿的业务。It should be noted that when the service to be sent is a service formed by bundling two or more services of the same source and same destination, the source node can add an aggregated service identifier to the data blocks in all branches corresponding to the bundled service, for Indicate that these data blocks belong to the corresponding same-source and same-destination business.
S503、NE1将M个分支中的数据块分别通过M个传输通道传输给中间节点。S503. NE1 transmits the data blocks in the M branches to the intermediate node through M transmission channels respectively.
一般而言,相邻两个节点之间的多个传输通道中的每个传输通道都包括一个对应的传送线路帧。当需要通过一个传输通道传输数据时,可以将数据映射到该传输通道对应的传送线路帧中,以实现通过该传送线路帧传输该数据。Generally speaking, each of the multiple transmission channels between two adjacent nodes includes a corresponding transmission line frame. When data needs to be transmitted through a transmission channel, the data may be mapped into a transmission line frame corresponding to the transmission channel, so as to realize the transmission of the data through the transmission line frame.
示例性地,以传送线路帧为OTUk帧为例。其中,一个OTUk帧中可以包括一个用于进行链路监控的ODUk帧。一个ODUk帧中可以包括一个用于承载数据的OPUk帧以及对应的ODUk开销。Exemplarily, it is taken that the transmission line frame is an OTUk frame as an example. Wherein, an OTUk frame may include an ODUk frame for link monitoring. An ODUk frame may include an OPUk frame for carrying data and a corresponding ODUk overhead.
NE1可以将M个分支中的一个分支中的数据块(如称为数据块1)映射到M个传输通道中的一个传输通道的OPUk帧中,获取承载有数据块1的OPUk帧。接着NE1可以为承载有数据块1的OPUk帧添加ODUk开销,获取对应的ODUk帧。然后NE1可以为该ODUk帧添加对应的OTUk开销,以获取承载有数据块1的OTUk帧。类似的,NE1可以将M个分支中的其他数据块分别映射到不同的OTUk帧中,以实现通过OTUk帧将M个数据块传输给中间节点。其中,一个传输通道中的OTUk帧中承载有一个数据块。NE1 may map a data block (for example, data block 1) in one of the M branches to an OPUk frame of one of the M transmission channels, and obtain the OPUk frame carrying the
需要说明的是,本申请实施例中,在将数据块映射到OPUk帧中之前,可以将OPUk帧中的用于存储数据的连续净荷区划分为多个净荷块,每个净荷块可以用于承载一个数据块。以在提升OPUk帧存储空间的利用率的同时,实现对OPUk帧存储空间的复用。如图7所示,假设一个OPUk帧中可以包括4行净荷区,则可以将第1行OPUk帧的净荷区划分为多个净荷块,每个净荷块的大小等于一个数据块的大小。则NE1可以将数据块1映射到标号为#1的净荷块中,将与数据块1连续的数据块2映射到其他净荷块中,例如可以将数据块2映射到标号为#3的净荷块中。这样就使得每个净荷块均承载有与其最大容量相当的数据块,进而提升了净荷区的存储效率。而当一个净荷区中存在空闲的净荷块时,可以用来承载除业务A对应数据块之外的数据块,这样就实现了OPUk帧存储空间的复用。It should be noted that, in the embodiment of the present application, before the data block is mapped into the OPUk frame, the continuous payload area for storing data in the OPUk frame can be divided into multiple payload blocks, and each payload block Can be used to carry a data block. In order to realize the multiplexing of the OPUk frame storage space while improving the utilization rate of the OPUk frame storage space. As shown in Figure 7, assuming that an OPUk frame can include 4 lines of payload area, the payload area of the first line of OPUk frame can be divided into multiple payload blocks, and the size of each payload block is equal to a data block the size of. Then NE1 can map data block 1 to the payload block labeled #1, and map data block 2 continuous with data block 1 to other payload blocks. For example, it can map data block 2 to the payload block labeled #3. payload block. In this way, each payload block carries a data block equivalent to its maximum capacity, thereby improving the storage efficiency of the payload area. And when there is an idle payload block in a payload area, it can be used to carry data blocks other than the data block corresponding to service A, thus realizing the multiplexing of the OPUk frame storage space.
这样,通过以上S501-S503,NE1就实现了源节点将业务A对应的M个携带有第一标识的数据块发送给中间节点的目的。需要说明的是,在本申请实施例中,M个携带有第一标识的数据块会按照一定的顺序被分发到对应的M个传输通道中,以便宿节点能够按照接收数据块的通道,确定M个数据块中的每个数据块被分发前在传输数据中的位置,并据此重组获得业务A对应的传输数据。In this way, through the above S501-S503, NE1 achieves the purpose of the source node sending the M data blocks corresponding to the service A and carrying the first identifier to the intermediate node. It should be noted that, in the embodiment of the present application, the M data blocks carrying the first identifier will be distributed to the corresponding M transmission channels in a certain order, so that the sink node can determine the The position of each data block in the transmission data before being distributed among the M data blocks, and the transmission data corresponding to service A is obtained by reorganizing accordingly.
以上实施例中,是以宿节点根据接收到数据块的传输通道确定该数据块在所述业务中的位置为例进行说明的,本申请的另一些实施例中,还可以通过在数据块中添加第二标识,用于指示该数据块被分发前在对应业务数据中的位置,使得宿节点可以根据该第二标识对数据块进行重组以获取业务数据。In the above embodiments, the sink node determines the position of the data block in the service according to the transmission channel of the received data block as an example. In other embodiments of the present application, the A second identifier is added to indicate the position of the data block in the corresponding service data before distribution, so that the sink node can reorganize the data block according to the second identifier to obtain service data.
示例性地,请参考图8,该方法可以包括S801-S809。Exemplarily, referring to FIG. 8 , the method may include S801-S809.
S801、NE1将业务A的数据映射到OSU帧中的净荷区的数据单元中,以便获取携带有业务A的数据的OSU数据帧。S801, NE1 maps the data of service A to the data unit of the payload area in the OSU frame, so as to obtain the OSU data frame carrying the data of service A.
S802、NE1对OSU数据帧进行FEC编码,以获取业务A对应的传输数据。S802. NE1 performs FEC encoding on the OSU data frame to obtain the transmission data corresponding to service A.
S803、NE1将业务A对应的传输数据分发到M个分支中。S803. NE1 distributes the transmission data corresponding to service A to M branches.
S804、NE1为M个分支中的每个分支中的数据块添加第一标识和第二标识。所述第一标识用于指示该数据块属于业务A,所述第二标识用于指示对应数据块被分发前在所述传输数据中的位置。S804, NE1 adds a first identifier and a second identifier to the data block in each of the M branches. The first identifier is used to indicate that the data block belongs to service A, and the second identifier is used to indicate the position of the corresponding data block in the transmission data before being distributed.
第二标识可以通过一个8比特值表示,其取值范围为0到255。例如,对M个分支的数据块而言,可以为M个分支中的第一个数据块添加#0的第二标识,为M个分支中的第二个数据块添加#2的第二标识,以此类推,就可以获得分别被标识有#0到#M-1的M个数据块。The second identifier can be represented by an 8-bit value, and its value ranges from 0 to 255. For example, for the data blocks of M branches, the second identifier #0 can be added to the first data block in the M branches, and the
S805、NE1将M个分支中的数据块分别通过M个传输通道传输给中间节点。S805. NE1 transmits the data blocks in the M branches to the intermediate node through M transmission channels respectively.
可以理解的是,由于每个数据块均携带有第二标识,因此,针对M个分支中的每个分支的数据块,NE1可以将其分发到NE1与NE3之间的N1个传输通道中的任意一个传输通道即可。需要说明的是,在分发数据块的过程中,相同业务的不同数据块不会被分发到同一个传输通道上,以此保证数据块传输的相对独立。It can be understood that, since each data block carries the second identifier, NE1 can distribute the data block of each of the M branches to the N1 transmission channels between NE1 and NE3 Any transmission channel will do. It should be noted that in the process of distributing data blocks, different data blocks of the same service will not be distributed to the same transmission channel, so as to ensure the relative independence of data block transmission.
S806、中间节点接收来自上游节点的数据块。S806. The intermediate node receives the data block from the upstream node.
S807、中间节点将接收到的数据转发到与下游节点通信的对应通道中。S807. The intermediate node forwards the received data to a corresponding channel for communicating with the downstream node.
类似于上述S805中的说明,由于每个数据块均携带有第二标识,因此,中间节点在根据数据块携带的第一标识确定该数据块所述业务后,可以将该数据块分发到对应业务的传输路径上的下一段传输链路上的任意一个传输通道中。Similar to the description in S805 above, since each data block carries a second identifier, the intermediate node can distribute the data block to the corresponding In any transmission channel on the next transmission link on the transmission path of the service.
S808、NE7接收来自业务A传输路径上的上游节点的数据块。S808. The NE7 receives the data block from the upstream node on the service A transmission path.
S809、NE7对接收到的数据进行处理,获取业务A的数据。S809, NE7 processes the received data to obtain the data of service A.
对于宿节点而言,在接收到携带有第一标识的M个数据块后,可以根据每个数据块携带的第二标识,对M个数据块进行重组,即可获取完整的业务A对应的传输数据。接着对该传输数据进行FEC解码,即可获取完整的业务A的数据。For the sink node, after receiving the M data blocks carrying the first identifier, the M data blocks can be reorganized according to the second identifier carried by each data block to obtain the complete service A corresponding to transfer data. Then FEC decoding is performed on the transmission data to obtain the complete data of service A.
通过以上S801-S809,可实现业务A的数据从源节点到宿节点的传输。需要说明的是,在如图8所示的方法中,除每个数据块还携带有第二标识外,其他方法与图3所示的方法类似,其具体说明在此处不再赘述。Through the above S801-S809, the data transmission of service A from the source node to the sink node can be realized. It should be noted that, in the method shown in FIG. 8 , except that each data block also carries a second identifier, other methods are similar to the method shown in FIG. 3 , and the specific description thereof will not be repeated here.
需要说明的是,本申请实施例中,在业务A的数据的传输过程中,还可进行第二次FEC编码(或称为进行二级FEC编码),进一步提高数据传输的稳定性。It should be noted that, in the embodiment of the present application, during the data transmission process of service A, a second FEC encoding (or secondary FEC encoding) may also be performed to further improve the stability of data transmission.
示例性地,在NE1将M个分支的数据分发到与NE3之间的传输通道上进行传输时,可以对M个数据块分别进行FEC编码,完成二级FEC编码。例如,以传输通道上的传送线路帧为OTUk帧为例。针对M个分支中的M个数据块的一个数据块(如数据块1),NE1可以将该数据块1按照上述方法承载到一个OTUk帧中。在获取承载有数据块1的OTUk帧后,NE1可以对该OUTk帧进行FEC编码,并将获取的FEC编码信息存储到该OTUk帧的FEC区域。对应的,NE3在接收到该经过二级FEC编码的OTUk帧后,可以根据FEC区域存储的FEC编码信息,对其进行二级FEC解码,以获取承载有数据块1的OTUk帧。Exemplarily, when NE1 distributes data of M branches to the transmission channel between NE3 and NE3 for transmission, FEC encoding may be performed on M data blocks respectively to complete secondary FEC encoding. For example, take the transmission line frame on the transmission channel as an OTUk frame as an example. For one data block (such as data block 1) of the M data blocks in the M branches, NE1 can carry the data block 1 into an OTUk frame according to the above method. After acquiring the OTUk frame carrying
本申请实施例中,对于一个业务的数据传输过程,可以在传输路径上的每个节点都进行二级FEC编码,以最大程度地增强数据传输的稳定性。也可以在传输路径上的部分节点进行二级FEC编码,以适当缩短由于二级FEC编码/解码导致的延时。当然,也可以在传输过程中不进行二级FEC编码,以消除由于二级FEC编码/解码导致的延时。在具体过程中,可以根据具体需求进行灵活选取,本申请实施例对此不作限制。In the embodiment of the present application, for the data transmission process of a service, each node on the transmission path may perform two-level FEC coding, so as to enhance the stability of data transmission to the greatest extent. Secondary FEC encoding may also be performed on some nodes on the transmission path, so as to properly shorten the delay caused by secondary FEC encoding/decoding. Of course, it is also possible not to perform secondary FEC encoding during transmission, so as to eliminate the delay caused by secondary FEC encoding/decoding. In the specific process, it can be flexibly selected according to specific requirements, which is not limited in this embodiment of the present application.
根据以上方法,在通过FEC编码增强传输通道健壮性的同时,显著减小了中间节点转发数据所需时间,并降低了系统复杂度。同时,由于在源节点处选取了传输待发送业务的数据所需最少的通道数量进行传输,使得数据传输过程中对于传输通道的选择更加灵活。同时,由于为每个传输的数据块添加了第二标识,使得数据在传输过程中可以被分发到对应业务的传输路径上的任一个传输通道中,增加了数据分发的灵活性。另外,由于对传输的数据块进行了二级FEC编码,进一步增强了数据传输的稳定性。According to the above method, while the robustness of the transmission channel is enhanced through FEC coding, the time required for the intermediate node to forward data is significantly reduced, and the complexity of the system is reduced. At the same time, since the source node selects the minimum number of channels required to transmit the data of the service to be sent for transmission, the selection of the transmission channel during the data transmission process is more flexible. At the same time, since the second identifier is added to each transmitted data block, the data can be distributed to any transmission channel on the transmission path of the corresponding service during transmission, which increases the flexibility of data distribution. In addition, since the transmitted data blocks are subjected to secondary FEC encoding, the stability of data transmission is further enhanced.
以上主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍。应理解,上述节点为了实现对应的功能,其包括了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The above mainly introduces the solution provided by the embodiment of the present application from the perspective of interaction between various network elements. It should be understood that, in order to realize corresponding functions, the foregoing nodes include corresponding hardware structures and/or software modules for performing respective functions. Those skilled in the art should easily realize that the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the units of each example described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
本申请实施例可以根据上述方法示例对节点(如源节点,中间节点以及宿节点)进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。可选的,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application can divide the nodes (such as source node, intermediate node, and sink node) into functional modules according to the above-mentioned method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be divided into integrated in one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. Optionally, the division of modules in this embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.
图9示出了的一种数据传输装置900的组成示意图。数据传输装置900可以为源节点中的芯片或者片上系统。该数据传输装置900用于执行上述实施例中涉及的源节点的功能。作为一种可实现方式,该数据传输装置900包括:编码单元901和分发单元902。FIG. 9 shows a schematic composition diagram of a data transmission device 900 . The data transmission device 900 may be a chip or a system on a chip in the source node. The data transmission apparatus 900 is configured to execute the functions of the source node involved in the above embodiments. As an implementable manner, the data transmission apparatus 900 includes: an encoding unit 901 and a distribution unit 902 .
编码单元901用于执行如图3所示的S301。其中,编码单元901所处理的待发送业务可以是多种形式的业务。示例性地,在一些实施例中,待发送业务为单个业务。在另一些实施例中,待发送业务包括同源同宿的多个业务。分发单元902用于执行如图3所示的S302。示例性地,分发单元902在分发业务数据时,承载数据块的传输通道数M可以是大于1且小于或等于N的整数,N是待发送业务数据的传输路径上,任意两个相邻节点之间传输通道数量的最小值。需要说明的是,被分发到M路传输通道中的每路传输通道的数据块均携带有第一标识,该第一标识可以用于指示对应数据块属于待发送业务。The coding unit 901 is configured to execute S301 as shown in FIG. 3 . Wherein, the services to be sent processed by the encoding unit 901 may be services in various forms. Exemplarily, in some embodiments, the service to be sent is a single service. In some other embodiments, the service to be sent includes multiple services of the same source and same destination. The distribution unit 902 is configured to execute S302 as shown in FIG. 3 . Exemplarily, when the distribution unit 902 distributes service data, the number M of transmission channels carrying data blocks may be an integer greater than 1 and less than or equal to N, where N is the transmission path of the service data to be sent, and any two adjacent nodes The minimum value of the number of transmission channels between. It should be noted that the data blocks distributed to each of the M transmission channels carry a first identifier, and the first identifier may be used to indicate that the corresponding data block belongs to a service to be sent.
在一种可能的设计中,被分发单元902分发到M路传输通道中的每路传输通道的数据块还分别携带第二标识,用于指示对应数据块被分发前在传输数据中的位置。In a possible design, the data blocks distributed to each of the M transmission channels by the distribution unit 902 also respectively carry a second identifier, which is used to indicate the position of the corresponding data block in the transmission data before being distributed.
在一种可能的设计中,编码单元901还用于对M路传输通道中的每路传输通道的数据块进行FEC编码。在该示例中,编码单元901可以对已经分发到传输通道中的数据块(如承载有数据块的OTUk帧)进行二级FEC编码,以便进一步增强传输通道传输数据的容错健壮性。In a possible design, the encoding unit 901 is further configured to perform FEC encoding on the data blocks of each of the M transmission channels. In this example, the encoding unit 901 may perform two-stage FEC encoding on the data blocks that have been distributed to the transmission channel (such as the OTUk frame carrying the data blocks), so as to further enhance the error tolerance and robustness of the data transmitted by the transmission channel.
在一种可能的设计中,编码单元901具体的可以用于执行如图4所示的S401-S402以及如图8所示的S801-S802。In a possible design, the encoding unit 901 may be specifically configured to execute S401-S402 shown in FIG. 4 and S801-S802 shown in FIG. 8 .
在一种可能的设计中,该数据传输装置900还可以包括确定单元903。该确定单元903用于,根据待发送业务的传输路径中任意相邻两个节点之间传输通道数量,确定传输该待发送业务的传输通道数量M。示例性地,确定单元903可以在开始对待发送业务的数据进行传输之前执行上述操作,也可以在对传输数据进行分发前进行上述操作。In a possible design, the data transmission apparatus 900 may further include a determining unit 903 . The determining unit 903 is configured to determine the number M of transmission channels for transmitting the service to be sent according to the number of transmission channels between any two adjacent nodes in the transmission path of the service to be sent. Exemplarily, the determining unit 903 may perform the above operations before starting to transmit the data of the service to be sent, or may perform the above operations before distributing the transmission data.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。本申请实施例提供的数据传输装置,用于执行上述数据传输方法中源节点的功能,因此可以达到与上述数据传输方法相同的效果。作为可选而不是必须,必要时,本申请实施例提供的数据传输装置900还可以包括用于支持上述编码单元901和/或分发单元902和/或确定单元903完成相应功能的处理模块或者控制模块。It should be noted that all relevant content of the steps involved in the above method embodiments can be referred to the function description of the corresponding function module, and will not be repeated here. The data transmission device provided in the embodiment of the present application is used to perform the function of the source node in the above data transmission method, so it can achieve the same effect as the above data transmission method. As an option but not a must, if necessary, the data transmission device 900 provided by the embodiment of the present application may also include a processing module or control unit for supporting the above-mentioned encoding unit 901 and/or distribution unit 902 and/or determination unit 903 to complete corresponding functions module.
图10示出了又一种数据传输装置1000的组成示意图,该数据传输装置1000可以为中间节点中的芯片或者片上系统,该数据传输装置1000用于执行上述实施例中涉及的中间节点的功能。作为一种可实现方式,该数据传输装置1000包括接收单元1001和分发单元1002。Fig. 10 shows a schematic diagram of the composition of another data transmission device 1000, the data transmission device 1000 may be a chip or a system-on-chip in an intermediate node, and the data transmission device 1000 is used to perform the functions of the intermediate node involved in the above-mentioned embodiments . As an implementable manner, the data transmission apparatus 1000 includes a receiving unit 1001 and a distributing unit 1002 .
其中,接收单元1001用于执行如图3所示的S303。其中,被处理的待发送业务可以是多种形式的业务。示例性地,在一些实施例中,待发送业务可以为单个业务,在另一些实施例中,待发送业务同时包括同源同宿的多个业务。需要说明的是,被接收单元1001接收的第一数据块携带有第一标识,该第一标识用于指示第一数据块属于待发送业务。Wherein, the receiving unit 1001 is configured to execute S303 as shown in FIG. 3 . Wherein, the service to be sent to be processed may be a service in various forms. Exemplarily, in some embodiments, the service to be sent may be a single service, and in other embodiments, the service to be sent includes multiple services of the same source and same destination. It should be noted that the first data block received by the receiving unit 1001 carries a first identifier, and the first identifier is used to indicate that the first data block belongs to a service to be sent.
分发单元1002用于执行如图3所示的S304。在本申请实施例中,分发单元1002在对数据块进行分发时,一个传输通道中不会同时被分发属于同一业务的两个或多个数据块,以此保证数据块传输的相对独立性。The distribution unit 1002 is configured to execute S304 as shown in FIG. 3 . In this embodiment of the application, when the distribution unit 1002 distributes data blocks, two or more data blocks belonging to the same service will not be distributed in one transmission channel at the same time, so as to ensure the relative independence of data block transmission.
在一种可能的设计中,接收单元1001还用于接收来自上游节点的第二数据块。其中,第二数据块和第一数据块来自于不同传输通道。并且,被接收单元1001接收的第二数据块也携带有第一标识。In a possible design, the receiving unit 1001 is also configured to receive the second data block from the upstream node. Wherein, the second data block and the first data block come from different transmission channels. Moreover, the second data block received by the receiving unit 1001 also carries the first identifier.
分发单元1002还可以用于根据第一标识将第二数据块分发到第二传输通道进行传输。其中,第二传输通道是第一节点和下游节点之间的传输通道中的任意一个,并且第二传输通道与第一传输通道不同。The distributing unit 1002 may also be configured to distribute the second data block to the second transmission channel for transmission according to the first identifier. Wherein, the second transmission channel is any one of the transmission channels between the first node and the downstream node, and the second transmission channel is different from the first transmission channel.
在一种可能的设计中,被接收单元1001接收的第一数据块和第二数据块还分别携带有第二标识,第二标识用于指示对应数据块被分发前在传输数据中的位置。In a possible design, the first data block and the second data block received by the receiving unit 1001 also respectively carry a second identifier, and the second identifier is used to indicate the position of the corresponding data block in the transmission data before being distributed.
在一种可能的设计中,数据传输装置1000还可以包括解码单元1003,用于对第一数据块和第二数据块进行FEC解码。在该示例中,当第一数据块和第二数据块在被传输给第一节点前,进行了二级FEC编码,则在接收到上述两个数据块后,解码单元1003可以先对其进行FEC解码,在执行其他操作。In a possible design, the data transmission apparatus 1000 may further include a decoding unit 1003, configured to perform FEC decoding on the first data block and the second data block. In this example, when the first data block and the second data block are subjected to secondary FEC encoding before being transmitted to the first node, after receiving the above two data blocks, the decoding unit 1003 may perform FEC decoding, performing other operations.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。本申请实施例提供的数据传输装置,用于执行上述数据传输方法中的中间节点的功能,因此可以达到与上述数据传输方法相同的效果。作为可选而不是必须,必要时,本申请实施例提供的数据传输装置1000还可以包括用于支持上述接收单元1001和/或分发单元1002和/或解码单元1003完成相应功能的处理模块或者控制模块。It should be noted that all relevant content of the steps involved in the above method embodiments can be referred to the function description of the corresponding function module, and will not be repeated here. The data transmission device provided in the embodiment of the present application is used to perform the function of the intermediate node in the above data transmission method, so it can achieve the same effect as the above data transmission method. As an option but not a must, if necessary, the data transmission device 1000 provided by the embodiment of the present application may also include a processing module or a control unit for supporting the above-mentioned receiving unit 1001 and/or distributing unit 1002 and/or decoding unit 1003 to complete corresponding functions module.
图11示出了又一种数据传输装置1100的组成示意图。该数据传输装置1100可以为宿节点中的芯片或者片上系统,该数据传输装置1100可以用于执行上述实施例中涉及的宿节点的功能。作为一种可实现方式,该数据传输装置1100可以包括接收单元1101,确定单元1102和重组单元1103。FIG. 11 shows a schematic composition diagram of another data transmission device 1100 . The data transmission device 1100 may be a chip or a system-on-chip in the sink node, and the data transmission device 1100 may be used to perform the functions of the sink node involved in the above-mentioned embodiments. As an implementable manner, the data transmission apparatus 1100 may include a receiving unit 1101 , a determining unit 1102 and a recombining unit 1103 .
接收单元1101用于执行如图3所示的S305。确定单元1102可以用于确定P路数据块的M路中携带有第一标识的数据块,该第一标识用于指示对应数据块属于所述待发送业务。其中,M为大于1,且小于或等于P的整数。重组单元1103可以用于对M路中携带有第一标识的数据块进行重组,获得待发送业务的数据。其中,被处理的待发送业务可以是多种形式的业务。在一些实施例中,待发送业务可以为单个业务,在另一些实施例中,待发送业务同时包括同源同宿的多个业务。示例性地,确定单元1102以及重组单元1103用于执行如图3所示的S306。The receiving unit 1101 is configured to execute S305 as shown in FIG. 3 . The determining unit 1102 may be configured to determine a data block carrying a first identifier in the M paths of the P-way data blocks, where the first identifier is used to indicate that the corresponding data block belongs to the service to be sent. Wherein, M is an integer greater than 1 and less than or equal to P. The reassembly unit 1103 may be configured to reassemble the data blocks carrying the first identifier in the M paths to obtain data of services to be sent. Wherein, the service to be sent to be processed may be a service in various forms. In some embodiments, the service to be sent may be a single service, and in other embodiments, the service to be sent includes multiple services of the same source and destination. Exemplarily, the determining unit 1102 and the recombining unit 1103 are configured to execute S306 as shown in FIG. 3 .
在一种可能的设计中,接收单元1101所接收的M路中携带有第一标识的数据块,还分别携带有第二标识,用于指示对应数据块在待发送业务的数据中的位置。重组单元1103用于根据M路中携带有第一标识的数据块携带的第二标识,对所述M路数据块进行重组。In a possible design, the data blocks in the M channels received by the receiving unit 1101 that carry the first identifier also carry the second identifier, which is used to indicate the position of the corresponding data block in the data of the service to be sent. The reassembly unit 1103 is configured to reassemble the data blocks of the M paths according to the second identifier carried by the data blocks carrying the first identifier in the M paths.
在一种可能的设计中,重组单元1103具体可以用于根据M路中携带有第一标识的数据块携带的第二标识,获得完整的传输数据。该数据传输装置1100还包括解码单元1104。解码单元1104可以用于对传输数据进行FEC解码,获得待发送业务的数据。In a possible design, the reassembly unit 1103 may be specifically configured to obtain complete transmission data according to the second identifier carried by the data block carrying the first identifier in the M path. The data transmission device 1100 also includes a decoding unit 1104 . The decoding unit 1104 can be configured to perform FEC decoding on the transmission data to obtain the data of the service to be sent.
在一种可能的设计中,解码单元1104还用于对接收到的所述P路数据块进行FEC解码。在该示例中,当第一数据块和第二数据块在被传输给第一节点前,进行了二级FEC编码,则在接收到上述两个数据块后,解码单元1104可以先对其进行FEC解码,在执行其他操作。In a possible design, the decoding unit 1104 is further configured to perform FEC decoding on the received P-way data blocks. In this example, when the first data block and the second data block are subjected to secondary FEC encoding before being transmitted to the first node, after receiving the above two data blocks, the decoding unit 1104 may perform FEC decoding, performing other operations.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。本申请实施例提供的数据传输装置1100,用于执行上述数据传输方法中宿节点的功能,从而达到与上述数据传输方法相同的效果。作为可选而不是必须,必要时,数据传输装置1100还可以包括用于支持上述接收单元1101和/或确定单元1102和/或重组单元1103和/或解码单元1104完成相应功能的处理模块或者控制模块。It should be noted that all relevant content of the steps involved in the above method embodiments can be referred to the function description of the corresponding function module, and will not be repeated here. The data transmission device 1100 provided in the embodiment of the present application is configured to perform the function of the sink node in the above data transmission method, so as to achieve the same effect as the above data transmission method. As optional but not necessary, when necessary, the data transmission device 1100 may also include a processing module or control for supporting the above-mentioned receiving unit 1101 and/or determining unit 1102 and/or recombining unit 1103 and/or decoding unit 1104 to complete corresponding functions module.
图12示出了另一种数据传输装置1200的组成示意图。数据传输装置1200包括:一个或多个处理器1201以及一个或多个存储器1202。一个或多个处理器1201与一个或多个存储器1202耦合,存储器1202用于存储计算机执行指令。示例性地,在一些实施例中,当处理器1201执行存储器1202存储的指令时,使得该数据传输装置1200执行如图3所示的S301-S302和/或如图8所示的S801-S805,以及源节点需要执行的其他操作。在另一些实施例中,当处理器1201执行该存储器1202存储的指令时,使得数据传输装置1200执行如图3所示的S303-S304和/或如图8所示的S806-S807,以及中间节点需要执行的其他操作。在另一些实施例中,当该处理器1201执行该存储器1202存储的指令时,使得该数据传输装置1200执行如图3所示的S305-S306和/或如图8所示的S808-S809,以及宿节点需要执行的其他操作。FIG. 12 shows a schematic composition diagram of another data transmission device 1200 . The data transmission device 1200 includes: one or more processors 1201 and one or more memories 1202 . One or more processors 1201 are coupled with one or more memories 1202 for storing computer-executable instructions. Exemplarily, in some embodiments, when the processor 1201 executes the instruction stored in the memory 1202, the data transmission device 1200 is made to execute S301-S302 as shown in FIG. 3 and/or S801-S805 as shown in FIG. 8 , and other operations that the source node needs to perform. In some other embodiments, when the processor 1201 executes the instruction stored in the memory 1202, the data transmission device 1200 is made to execute S303-S304 as shown in FIG. 3 and/or S806-S807 as shown in FIG. 8 , and the intermediate Other operations that the node needs to perform. In some other embodiments, when the processor 1201 executes the instruction stored in the memory 1202, the data transmission device 1200 is made to execute S305-S306 as shown in FIG. 3 and/or S808-S809 as shown in FIG. 8 , and other operations that the sink node needs to perform.
图13示出了一种芯片系统1300的组成示意图。该芯片系统1300包括处理器1301和通信接口1302,用于支持实现上述装置实施例中所涉及的功能。在一种可能的设计中,芯片系统还包括存储器,用于保存装置必要的程序指令和数据。需要说明的是,该芯片系统1300,可以由芯片构成,也可以包含芯片和其他分立器件。FIG. 13 shows a schematic composition diagram of a chip system 1300 . The chip system 1300 includes a processor 1301 and a communication interface 1302, configured to support and realize the functions involved in the above device embodiments. In a possible design, the chip system further includes a memory for storing necessary program instructions and data of the device. It should be noted that the system-on-a-chip 1300 may be composed of chips, or may include chips and other discrete devices.
在上述实施例中的功能或动作或操作或步骤等,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。The functions or actions or operations or steps in the above-mentioned embodiments may be fully or partially implemented by software, hardware, firmware or any combination thereof. When implemented using a software program, it may 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 the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in 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, computer, server, or data center Transmission to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or may include one or more data storage devices such as servers and data centers that can be integrated with the medium. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (solid state disk, SSD)), etc.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包括这些改动和变型在内。Although the application has been described in conjunction with specific features and embodiments thereof, it will be apparent that various modifications and combinations can be made thereto without departing from the spirit and scope of the application. Accordingly, the specification and drawings are merely illustrative of the application as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of this application. Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of the application fall within the scope of the claims of the application and their equivalent technologies, the application also intends to include these modifications and variations.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010079071.0ACN113206721B (en) | 2020-02-03 | 2020-02-03 | Data transmission method, device and system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010079071.0ACN113206721B (en) | 2020-02-03 | 2020-02-03 | Data transmission method, device and system |
| Publication Number | Publication Date |
|---|---|
| CN113206721A CN113206721A (en) | 2021-08-03 |
| CN113206721Btrue CN113206721B (en) | 2023-03-28 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010079071.0AActiveCN113206721B (en) | 2020-02-03 | 2020-02-03 | Data transmission method, device and system |
| Country | Link |
|---|---|
| CN (1) | CN113206721B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114142968A (en)* | 2021-10-29 | 2022-03-04 | 视联动力信息技术股份有限公司 | Data packet transmission method and device, terminal equipment and storage medium |
| CN114339488B (en)* | 2021-12-28 | 2023-09-22 | 北京格林威尔科技发展有限公司 | Method and device for protecting Ethernet service in optical transmission network |
| CN114567828B (en)* | 2022-03-01 | 2024-07-16 | 北京华环电子股份有限公司 | Method, device and system for cross multiplexing OSU service to OPUK |
| CN114401248B (en)* | 2022-03-24 | 2022-07-01 | 中国电子科技集团公司第二十八研究所 | Rapid synchronization method for system reorganization address book based on Beidou broadcast |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101478704A (en)* | 2008-12-31 | 2009-07-08 | 华为技术有限公司 | Data resolution method and apparatus for optical channel transmission unit |
| CN102763355A (en)* | 2010-02-02 | 2012-10-31 | 瑞典爱立信有限公司 | Traffic differentiation in a transport network |
| WO2017036178A1 (en)* | 2015-09-06 | 2017-03-09 | 中兴通讯股份有限公司 | Method and device for statistically multiplexing optical transport network |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101478704A (en)* | 2008-12-31 | 2009-07-08 | 华为技术有限公司 | Data resolution method and apparatus for optical channel transmission unit |
| CN102763355A (en)* | 2010-02-02 | 2012-10-31 | 瑞典爱立信有限公司 | Traffic differentiation in a transport network |
| WO2017036178A1 (en)* | 2015-09-06 | 2017-03-09 | 中兴通讯股份有限公司 | Method and device for statistically multiplexing optical transport network |
| Publication number | Publication date |
|---|---|
| CN113206721A (en) | 2021-08-03 |
| Publication | Publication Date | Title |
|---|---|---|
| CN113206721B (en) | Data transmission method, device and system | |
| JP7282187B2 (en) | FLEXIBLE ETHERNET COMMUNICATION METHOD AND NETWORK DEVICE | |
| CN114285462B (en) | Service protection method and network node | |
| WO2021121352A1 (en) | Data transmission method and apparatus | |
| US20210273826A1 (en) | Communication method and communications apparatus | |
| WO2021197208A1 (en) | Service flow adjustment method and communication device | |
| US20240064111A1 (en) | Service Protection Method and Network Node | |
| US12177118B2 (en) | Data frame sending method and network device | |
| CN116582219A (en) | A method, device and system for processing data frames in an optical transport network | |
| WO2019090696A1 (en) | Method and apparatus for transporting optical transport unit signal | |
| JP7163508B2 (en) | Flexible Ethernet communication methods and network devices | |
| WO2021027434A1 (en) | Service transmission method, device and system | |
| US8374147B2 (en) | System and method for protecting payload information in radio transmission | |
| US11804982B2 (en) | Communication method and apparatus | |
| CN115039358B (en) | Data transmission method and device | |
| CN110830152B (en) | Method for receiving code block stream, method for transmitting code block stream and communication device | |
| WO2023141777A1 (en) | Communication method and network device | |
| JP6929436B2 (en) | Methods and devices for processing bit block streams, methods and devices for rate matching of bit block streams, and methods and devices for switching bit block streams. | |
| US20250240187A1 (en) | Network Device with High Bandwidth Packet Processing Capabilities | |
| CN118827524A (en) | Message processing method, device, communication equipment and storage medium | |
| CN118282507A (en) | PeOTN communication system and communication method | |
| WO2025002059A1 (en) | Service code block stream transmission method, and quality of service monitoring method and system | |
| CN102957557B (en) | A kind of group protection method and system | |
| CN117675078A (en) | Data encoding method, data checking method and related equipment | |
| CN118632148A (en) | Data processing method and related equipment |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |