CN113473267B - Data transmission method, device and communication device - Google Patents
Data transmission method, device and communication device Download PDFInfo
- Publication number
- CN113473267B CN113473267B CN202010247603.7A CN202010247603A CN113473267B CN 113473267 B CN113473267 B CN 113473267B CN 202010247603 A CN202010247603 A CN 202010247603A CN 113473267 B CN113473267 B CN 113473267B
- Authority
- CN
- China
- Prior art keywords
- data
- delay
- network element
- level
- frame
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0005—Switch and router aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q11/0067—Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0005—Switch and router aspects
- H04Q2011/0037—Operation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请实施例提供一种数据传输方法、装置及通信装置,首网元侧的方法包括:接收待传输的数据,该待传输的数据由初始帧承载,根据该待传输的数据的业务类型,确定待传输数据的时延等级,并选择与所述数据的时延等级匹配的交换路径,进而,基于所述与所述数据的时延等级匹配的交换路径,传输所述数据以及所述数据的时延等级。该方法使得首网元之后的网元可以直接基于首网元所发送的时延等级选择路径,而无需通过网管设备等进行配置,从而极大降低OTN中时延等级的配置和维护的复杂度。同时还极大提升了时延等级配置的灵活性。
Embodiments of the present application provide a data transmission method, device, and communication device. The method on the first network element side includes: receiving data to be transmitted, the data to be transmitted is carried by an initial frame, and according to the service type of the data to be transmitted, Determining the latency level of the data to be transmitted, and selecting an exchange path that matches the latency level of the data, and then, based on the switching path that matches the latency level of the data, transmitting the data and the data the delay level. This method enables network elements after the first network element to directly select paths based on the delay level sent by the first network element, without configuring through network management equipment, thereby greatly reducing the complexity of configuration and maintenance of delay levels in OTN . At the same time, the flexibility of delay level configuration is greatly improved.
Description
技术领域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 communication device.
背景技术Background technique
光传送网(optical transport network,OTN)是由一组通过光纤链路连接在一起的光网元组成的网络,能够提供承载客户信号的光信道的传送、复用、路由、管理、监控以及保护(可生存性)。光传送网中包括多个网元,网元也可以称为站点。待传输的业务数据从光传送网的第一个网元开始,逐个向后面的网元传输。不同的业务数据对于时延的要求不同,因此,光传送网中的各网元需要根据业务的时延要求,调度能够满足业务时延要求的交换路径。Optical transport network (OTN) is a network composed of a group of optical network elements connected together through optical fiber links, which can provide transmission, multiplexing, routing, management, monitoring and protection of optical channels carrying customer signals (survivability). The optical transport network includes multiple network elements, and the network elements may also be called stations. The service data to be transmitted starts from the first network element of the optical transport network and is transmitted to the following network elements one by one. Different service data have different delay requirements. Therefore, each network element in the optical transport network needs to schedule switching paths that can meet the service delay requirements according to the service delay requirements.
现有技术中,通过人工方式区分每条业务的时延等级,并通过人工方式向光传送网中的各网元下发每条业务的时延等级。示例性的,根据业务的类型等信息人工为每种业务设置时延等级,并通过网管设备逐个为各网元配置每种业务的时延等级。In the prior art, the delay level of each service is manually distinguished, and the delay level of each service is manually issued to each network element in the optical transport network. Exemplarily, the delay level is manually set for each service according to information such as the service type, and the delay level of each service is configured for each network element one by one through the network management device.
但是,现有技术的方法会导致时延等级的配置和维护过程复杂。However, the method in the prior art will lead to a complicated configuration and maintenance process of the delay level.
发明内容Contents of the invention
本申请实施例提供一种数据传输方法、装置及通信装置,用于解决现有技术中时延等级的配置和维护过程复杂的问题。Embodiments of the present application provide a data transmission method, device, and communication device, which are used to solve the problem of complex configuration and maintenance processes of delay levels in the prior art.
第一方面,本申请实施例提供一种数据传输方法,该方法包括:In the first aspect, the embodiment of the present application provides a data transmission method, the method including:
接收待传输的数据,该待传输的数据由初始帧承载,根据该待传输的数据的业务类型,确定待传输数据的时延等级,并选择与所述数据的时延等级匹配的交换路径,进而,基于所述与所述数据的时延等级匹配的交换路径,传输所述数据以及所述数据的时延等级。receiving data to be transmitted, the data to be transmitted is carried by the initial frame, determining the delay level of the data to be transmitted according to the service type of the data to be transmitted, and selecting a switching path matching the delay level of the data, Furthermore, the data and the delay level of the data are transmitted based on the switching path matching the delay level of the data.
在该方法中,首网元根据数据的业务类型确定出时延等级,并将时延等级和数据传输至后续的网元,从而使得后续的网元可以直接基于首网元所发送的时延等级选择路径,而无需通过网管设备等进行配置,从而极大降低OTN中时延等级的配置和维护的复杂度。另外,由于首网元可以根据数据的业务类型动态确定时延等级,因此,使得首网元和后续网元可以相应地动态调整数据的时延等级,极大提升了时延等级配置的灵活性。In this method, the first network element determines the delay level according to the service type of the data, and transmits the delay level and data to the subsequent network elements, so that the subsequent network elements can be directly based on the delay sent by the first network element The path can be selected according to the level without configuration through the network management equipment, which greatly reduces the complexity of configuration and maintenance of the delay level in OTN. In addition, since the first network element can dynamically determine the delay level according to the service type of the data, the first network element and the subsequent network elements can dynamically adjust the data delay level accordingly, which greatly improves the flexibility of delay level configuration .
在一种可能的设计中,所述基于所述与所述数据的时延等级匹配的交换路径,传输所述数据以及所述数据的时延等级之前,还包括:In a possible design, before transmitting the data and the delay level of the data based on the switching path that matches the delay level of the data, further includes:
对所述初始帧进行映射处理,得到承载所述数据的目标帧,所述目标帧的格式与所述初始帧的格式不同,并且,将所述数据的时延等级加入所述目标帧。Performing mapping processing on the initial frame to obtain a target frame carrying the data, the format of the target frame is different from that of the initial frame, and adding the delay level of the data to the target frame.
在一种可能的设计中,所述基于所述与所述数据的时延等级匹配的交换路径,传输所述数据以及所述数据的时延等级,包括:In a possible design, the transmitting the data and the delay level of the data based on the switching path that matches the delay level of the data includes:
基于所述与所述数据的时延等级匹配的交换路径,传输所述目标帧。The target frame is transmitted based on the switching path matching the delay level of the data.
在一种可能的设计中,所述时延等级通过所述目标帧的业务类型标识头承载。In a possible design, the delay level is carried by a service type identifier header of the target frame.
在该方法中,通过将时延等级写入承载数据的目标帧中,使得中间网元在接收到数据的同时可以获知时延等级,并根据时延等级选择匹配的交叉路径传输目标帧,从而可以简化处理复杂度。In this method, by writing the delay level into the target frame carrying data, the intermediate network element can know the delay level while receiving the data, and select the matching cross path to transmit the target frame according to the delay level, so that The processing complexity can be simplified.
在一种可能的设计中,所述基于所述与所述数据的时延等级匹配的交换路径,传输所述数据以及所述数据的时延等级,包括:In a possible design, the transmitting the data and the delay level of the data based on the switching path that matches the delay level of the data includes:
基于所述与所述数据的时延等级匹配的交换路径,传输由所述初始帧映射得到的数据帧,所述数据帧承载所述数据;基于所述与所述数据的时延等级匹配的交换路径,传输承载所述时延等级的时延等级帧。Based on the switching path that matches the delay level of the data, transmit a data frame obtained by mapping the initial frame, where the data frame carries the data; based on the switching path that matches the delay level of the data, Switch paths, and transmit delay-level frames bearing the delay level.
在一种可能的设计中,所述根据所述待传输的数据的业务类型,确定所述数据的时延等级,包括:In a possible design, the determining the delay level of the data according to the service type of the data to be transmitted includes:
根据所述数据的码流识别所述数据的业务类型;确定与所述数据的业务类型匹配的时延等级。identifying the service type of the data according to the code stream of the data; and determining the delay level matching the service type of the data.
在该方法中,可以利用数据的码流自动识别出数据的业务类型,进而确定出时延等级,从而无需依赖人工配置,极大提升处理效率。In this method, the service type of the data can be automatically identified by using the code stream of the data, and then the delay level can be determined, so that there is no need to rely on manual configuration, and the processing efficiency is greatly improved.
在一种可能的设计中,所述根据所述待传输的数据的业务类型,确定所述数据的时延等级,包括:In a possible design, the determining the delay level of the data according to the service type of the data to be transmitted includes:
根据预设的业务类型与时延等级的映射关系,确定与所述数据的业务类型匹配的时延等级。According to the preset mapping relationship between the service type and the delay level, the delay level matching the service type of the data is determined.
第二方面,本申请实施例提供一种数据传输方法,该方法包括:In a second aspect, an embodiment of the present application provides a data transmission method, the method including:
接收待传输的数据以及所述数据的时延等级,进而,基于与所述数据的时延等级匹配的交换路径,传输所述数据以及所述数据的时延等级。The data to be transmitted and the delay level of the data are received, and then, based on the switching path matching the delay level of the data, the data and the delay level of the data are transmitted.
在该方法中,中间网元从首网元接收到时延等级以及待传输的数据,从而使得中间网元可以直接基于首网元所发送的时延等级选择路径,而无需通过网管设备等进行配置,从而极大降低OTN中时延等级的配置和维护的复杂度。In this method, the intermediate network element receives the delay level and the data to be transmitted from the first network element, so that the intermediate network element can directly select a path based on the delay level sent by the first network element, without going through network management equipment, etc. configuration, thereby greatly reducing the complexity of configuration and maintenance of delay levels in OTN.
在一种可能的设计中,所述数据以及所述数据的时延等级由目标帧承载。In a possible design, the data and the delay level of the data are carried by target frames.
在一种可能的设计中,所述时延等级通过所述目标帧的业务类型标识头承载。In a possible design, the delay level is carried by a service type identifier header of the target frame.
在一种可能的设计中,所述基于与所述数据的时延等级匹配的交换路径,传输所述数据以及所述数据的时延等级,包括:In a possible design, the transmitting the data and the delay level of the data based on the switching path matching the delay level of the data includes:
基于所述与所述数据的时延等级匹配的交换路径,传输所述目标帧。The target frame is transmitted based on the switching path matching the delay level of the data.
在一种可能的设计中,所述数据由数据帧承载,所述时延等级由时延等级帧承载。In a possible design, the data is carried by a data frame, and the delay level is carried by a delay level frame.
第三方面,本申请实施例提供一种数据传输装置,该装置包括:In a third aspect, the embodiment of the present application provides a data transmission device, which includes:
接收模块,用于接收待传输的数据,所述待传输的数据由初始帧承载。The receiving module is configured to receive the data to be transmitted, and the data to be transmitted is carried by the initial frame.
处理模块,用于根据所述待传输的数据的业务类型,确定所述数据的时延等级;以及,选择与所述数据的时延等级匹配的交换路径;以及,基于所述与所述数据的时延等级匹配的交换路径,传输所述数据以及所述数据的时延等级。A processing module, configured to determine the delay level of the data according to the service type of the data to be transmitted; and select an exchange path that matches the delay level of the data; and, based on the The switching path that matches the delay level of the data transmits the data and the delay level of the data.
在一种可能的设计中,所述处理模块还用于:In a possible design, the processing module is also used for:
对所述初始帧进行映射处理,得到承载所述数据的目标帧,所述目标帧的格式与所述初始帧的格式不同;以及,将所述数据的时延等级加入所述目标帧。performing mapping processing on the initial frame to obtain a target frame carrying the data, the format of the target frame being different from that of the initial frame; and adding the delay level of the data into the target frame.
在一种可能的设计中,所述处理模块具体用于:In a possible design, the processing module is specifically used for:
基于所述与所述数据的时延等级匹配的交换路径,传输所述目标帧。The target frame is transmitted based on the switching path matching the delay level of the data.
在一种可能的设计中,所述时延等级通过所述目标帧的业务类型标识头承载。In a possible design, the delay level is carried by a service type identifier header of the target frame.
在一种可能的设计中,所述处理模块具体用于:In a possible design, the processing module is specifically used for:
基于所述与所述数据的时延等级匹配的交换路径,传输由所述初始帧映射得到的数据帧,所述数据帧承载所述数据;以及,基于所述与所述数据的时延等级匹配的交换路径,传输承载所述时延等级的时延等级帧。Based on the switching path matching the delay level of the data, transmitting a data frame obtained by mapping the initial frame, the data frame carrying the data; and, based on the delay level of the data and the data; A matching switching path transmits a delay-level frame carrying the delay level.
在一种可能的设计中,所述处理模块具体用于:In a possible design, the processing module is specifically used for:
根据所述数据的码流识别所述数据的业务类型;以及,确定与所述数据的业务类型匹配的时延等级。identifying the service type of the data according to the code stream of the data; and determining a delay level matching the service type of the data.
在一种可能的设计中,所述处理模块具体用于:In a possible design, the processing module is specifically used for:
根据预设的业务类型与时延等级的映射关系,确定与所述数据的业务类型匹配的时延等级。According to the preset mapping relationship between the service type and the delay level, the delay level matching the service type of the data is determined.
第四方面,本申请实施例提供一种数据传输装置,该装置包括:In a fourth aspect, the embodiment of the present application provides a data transmission device, which includes:
接收模块,用于接收待传输的数据以及所述数据的时延等级。The receiving module is configured to receive the data to be transmitted and the delay level of the data.
处理模块,用于基于与所述数据的时延等级匹配的交换路径,传输所述数据以及所述数据的时延等级。A processing module, configured to transmit the data and the delay level of the data based on the switching path matching the delay level of the data.
在一种可能的设计中,所述数据以及所述数据的时延等级由目标帧承载。In a possible design, the data and the delay level of the data are carried by target frames.
在一种可能的设计中,所述时延等级通过所述目标帧的业务类型标识头承载。In a possible design, the delay level is carried by a service type identifier header of the target frame.
在一种可能的设计中,所述处理模块具体用于:In a possible design, the processing module is specifically used for:
基于所述与所述数据的时延等级匹配的交换路径,传输所述目标帧。The target frame is transmitted based on the switching path matching the delay level of the data.
在一种可能的设计中,所述数据由数据帧承载,所述时延等级由时延等级帧承载。In a possible design, the data is carried by a data frame, and the delay level is carried by a delay level frame.
第五方面,本申请实施例提供一种通信装置,包括处理器,所述处理器与存储器相连,所述存储器用于存储计算机程序,所述处理器用于执行所述存储器中存储的计算机程序,以使得所述装置执行如上述第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a communication device, including a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the device executes the method described in the first aspect above.
第六方面,本申请实施例提供一种通信装置,包括处理器,所述处理器与存储器相连,所述存储器用于存储计算机程序,所述处理器用于执行所述存储器中存储的计算机程序,以使得所述装置执行如上述第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a communication device, including a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the device executes the method described in the first aspect above.
第七方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,当所述计算机程序被运行时,实现上述第一方面或第二方面所述的方法。In the seventh aspect, the embodiments of the present application provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is run, the above-mentioned first or second aspect can be realized. method.
第八方面,本申请实施例提供一种芯片,包括处理器和接口。In an eighth aspect, the embodiment of the present application provides a chip, including a processor and an interface.
所述处理器用于读取指令以执行上述第一方面或第二方面所述的数据传输方法。The processor is configured to read instructions to execute the data transmission method described in the first aspect or the second aspect.
第九方面,本申请实施例提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码被计算机执行时,使得所述计算机执行上述第一方面或第二方面所述的方法。In a ninth aspect, an embodiment of the present application provides a computer program product, the computer program product includes computer program code, and when the computer program code is executed by a computer, the computer executes the above-mentioned first aspect or the second aspect. described method.
第十方面,本申请实施例提供一种通信系统,包括上述第五方面所述的通信装置以及上述第六方面所述的通信装置。In a tenth aspect, an embodiment of the present application provides a communication system, including the communication device described in the fifth aspect and the communication device described in the sixth aspect.
附图说明Description of drawings
图1为现有技术中配置时延等级的示例图;FIG. 1 is an example diagram of configuring delay levels in the prior art;
图2为本申请实施例的数据传输方法的一种示例性系统架构图;FIG. 2 is an exemplary system architecture diagram of a data transmission method according to an embodiment of the present application;
图3为一种OTN的示例性的帧结构示意;FIG. 3 is a schematic diagram of an exemplary frame structure of an OTN;
图4为本申请实施例提供的数据传输方法的交互示意图;FIG. 4 is an interactive schematic diagram of a data transmission method provided in an embodiment of the present application;
图5为OTN中各网元的内部结构示例图;FIG. 5 is an example diagram of the internal structure of each network element in the OTN;
图6为OTN网元根据时延等级选择交换路径的示例图;Figure 6 is an example diagram of an OTN network element selecting a switching path according to a delay level;
图7为OTN的信元结构示例图;FIG. 7 is an example diagram of a cell structure of OTN;
图8为本申请实施例提供的一种数据传输装置的模块结构图;FIG. 8 is a block diagram of a data transmission device provided in an embodiment of the present application;
图9为本申请实施例提供的另一种数据传输装置的模块结构图;FIG. 9 is a block diagram of another data transmission device provided in an embodiment of the present application;
图10为本申请实施例提供的一种通信装置的结构示意图;FIG. 10 is a schematic structural diagram of a communication device provided by an embodiment of the present application;
图11为本申请实施例提供的另一种通信装置的结构示意图。FIG. 11 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
具体实施方式Detailed ways
现有技术中,根据业务的类型等信息人工为每种业务设置时延等级,并通过网管设备逐个为各网元配置每种业务的时延等级。图1为现有技术中配置时延等级的示例图,如图1所示,网管设备分别与OTN中的各网元连接。利用网管设备提供的可视化界面,为网管设备连接的OTN的各网元配置每种业务的时延等级。由于OTN所包括的网元众多,所涉及的业务类型众多,因此,现有技术的方法会导致时延等级的配置和维护过程复杂。例如,如果需要调整某种业务的时延等级,则需要修改整个OTN中每个网元的配置信息。另外,一旦为网元配置了某种业务的时延等级,则网元均按照该配置的时延等级传输该种业务的数据,而无法进行动态调整。In the prior art, a delay level is manually set for each service according to information such as a service type, and the delay level of each service is configured for each network element one by one through a network management device. FIG. 1 is an example diagram of configuring delay levels in the prior art. As shown in FIG. 1 , a network management device is respectively connected to each network element in the OTN. Use the visualized interface provided by the network management device to configure the delay level of each service for each network element of the OTN connected to the network management device. Since the OTN includes many network elements and involves many types of services, the method in the prior art will lead to complex configuration and maintenance processes of delay levels. For example, if the delay level of a certain service needs to be adjusted, the configuration information of each network element in the entire OTN needs to be modified. In addition, once the delay level of a certain service is configured for the network element, the network element will transmit the data of this kind of service according to the configured delay level, and cannot be adjusted dynamically.
考虑到现有技术中人工配置业务的时延等级所导致的配置和维护过程复杂的问题,本申请实施例中由OTN的首网元自动确定业务数据的时延等级并将时延等级传输至中间网元,从而无需在中间网元配置和维护时延等级的信息,从而极大降低OTN中时延等级的配置和维护的复杂度。Considering the complex configuration and maintenance process caused by manual configuration of service delay levels in the prior art, in the embodiment of this application, the first network element of the OTN automatically determines the delay level of service data and transmits the delay level to the There is no need to configure and maintain delay level information on intermediate network elements, thereby greatly reducing the complexity of configuring and maintaining delay levels in the OTN.
图2为本申请实施例的数据传输方法的一种示例性系统架构图,如图1所示,OTN中可以包括多个网元,首网元,即网元1可以同用户端设备或上一网络连接,网元1可以将从用户端设备或上一网络接收的数据传输至中间网元,即网元2,经中间网元2传输至中间网元3,再由中间网元3传输至后续的中间网元,经过多个中间网元的逐层传输,传输至末端网元,即网元n,网元n再将数据发送给下一网络或者接收数据的用户端设备。FIG. 2 is an exemplary system architecture diagram of a data transmission method according to an embodiment of the present application. As shown in FIG. A network connection, network element 1 can transmit the data received from the user end equipment or the previous network to the intermediate network element, that is,
作为一种可能的场景,OTN中仅包括两个网元,则与首网元连接的网元既可以称为中间网元,也可以称为末端网元。为便于描述,本申请实施例中将该网元称为中间网元,该中间网元实际为OTN的末端网元。As a possible scenario, the OTN includes only two network elements, and the network element connected to the first network element can be called an intermediate network element or an end network element. For ease of description, this network element is referred to as an intermediate network element in the embodiment of the present application, and the intermediate network element is actually an end network element of the OTN.
OTN通过OPUk容器可以适配任意客户业务,示例性的,可以将同步数字体系(synchronous digital hierarchy,SDH)、异步传输模式(asynchronous transfer mode,ATM)、以太网(ethernet)、存储区域网络(storage area network,SAN)等数据格式映射为OTN的帧结构在OTN中传输,并在OTN的末端网元侧映射为下一网络或用户端设备所支持的数据格式。OTN can adapt to any customer service through the OPUk container. For example, synchronous digital hierarchy (synchronous digital hierarchy, SDH), asynchronous transfer mode (asynchronous transfer mode, ATM), Ethernet (ethernet), storage area network (storage area network) Area network, SAN) and other data formats are mapped to the frame structure of the OTN for transmission in the OTN, and are mapped to the data format supported by the next network or user end equipment on the end network element side of the OTN.
图3为一种OTN的示例性的帧结构示意,如图3所示,可以将OPUk基于192字节定长信元切片方式提供物理隔离的通信管道。其中,通道带宽可以为下述公式(1):FIG. 3 is a schematic diagram of an exemplary frame structure of an OTN. As shown in FIG. 3 , the OPUk can provide physically isolated communication channels based on 192-byte fixed-length cell slices. Wherein, the channel bandwidth can be the following formula (1):
通道带宽(bit/s)=每秒分配信元数量(信元率)×192×8(1)Channel bandwidth (bit/s) = number of allocated cells per second (cell rate) × 192 × 8 (1)
结合实际的需求,通信管道的带宽最小为2Mbit/s,并且支持n×2M可配。Combined with actual needs, the bandwidth of the communication channel is at least 2Mbit/s, and supports n×2M configurable.
图4为本申请实施例提供的数据传输方法的交互示意图,该交互过程涉及OTN中首网元与同其连接的中间网元,例如,以上述图2所示的系统架构为例,首网元可以为网元1,同其连接的中间网元2。如图4所示,OTN中首网元与同其连接的中间网元的交互过程包括:Figure 4 is a schematic diagram of the interaction of the data transmission method provided by the embodiment of the present application. The interaction process involves the first network element in the OTN and the intermediate network elements connected to it. For example, taking the system architecture shown in Figure 2 above as an example, the first network element The element may be a network element 1 and an
S401、首网元接收待传输的数据,该待传输的数据由初始帧承载。S401. The first network element receives data to be transmitted, and the data to be transmitted is carried by an initial frame.
图5为OTN中各网元的内部结构示例图,如图5所示,首网元和末端网元中包括支路单板、交叉单板和线路单板,各中间网元中均包括线路单板以及交叉单板。其中,支路单板可以进行帧结构映射,交叉单板可以按照数据的时延等级,选择与时延等级匹配的交换路径。线路单板可以从前一网元接收数据和/或向后一网元发送数据。Figure 5 is an example diagram of the internal structure of each network element in the OTN. As shown in Figure 5, the first network element and the terminal network element include branch boards, cross-connect boards, and line boards, and each intermediate network element includes line boards. Single board and cross board. Among them, the tributary board can perform frame structure mapping, and the cross-connect board can select a switching path matching the delay level according to the data delay level. The line board can receive data from a previous network element and/or send data to a subsequent network element.
可选的,本步骤中,由首网元的支路单板接收初始帧,该初始帧的格式例如可以为前述的SDH、ATM、以太网、SAN等帧格式。支路单板接收到初始帧后,进行帧格式的映射,将初始帧映射为OTN的帧格式,例如上述图3所示例的帧格式。Optionally, in this step, the tributary board of the first network element receives the initial frame, and the format of the initial frame may be, for example, the SDH, ATM, Ethernet, SAN and other frame formats mentioned above. After receiving the initial frame, the tributary board performs frame format mapping, and maps the initial frame to an OTN frame format, for example, the frame format shown in FIG. 3 above.
S402、首网元根据待传输的数据的业务类型,确定数据的时延等级。S402. The first network element determines the delay level of the data according to the service type of the data to be transmitted.
可选的,可以由首网元中的支路单板确定数据的时延等级。Optionally, the tributary board in the first network element may determine the data delay level.
不同业务类型的数据对于时延等级的要求不同,首网元可以根据数据的业务类型为数据选择能够满足业务要求的时延等级。Data of different service types has different requirements on latency levels, and the first network element can select a latency level that can meet service requirements for the data according to the service types of the data.
首网元根据数据的业务类型确定数据的时延等级的具体过程将在下述实施例中进行详细说明。The specific process of determining the delay level of data by the first network element according to the service type of the data will be described in detail in the following embodiments.
S403、首网元选择与上述数据的时延等级匹配的交换路径。S403. The first network element selects a switching path that matches the delay level of the above data.
其中,上述交互路径是指数据在首网元内部传输时的交换路径。Wherein, the foregoing interaction path refers to an exchange path when data is transmitted inside the first network element.
作为一种可选的实施方式,OTN中可以定义四个时延等级,分别为10us、20us、30us和50us。以10us的时延等级为例,表明传输该时延等级的数据时,时延需要小于等于10us。对于具有不同时延等级要求的数据,OTN中各网元可以选择不同的交换路径。图6为OTN网元根据时延等级选择交换路径的示例图,如图6所示,PR表示优先级(priority),H表示高优先级,L表示低优先级。SP表示基于优先级调度(schedule of priority)。四个时延等级分别为最低时延等级、第二时延等级、第三时延等级和第四时延等级,其中,最低时延等级的优先级最高,因此,交换路径最短,以此类推,第四时延等级的优先级最低,因此,交换路径最长。As an optional implementation manner, four delay levels may be defined in the OTN, which are 10us, 20us, 30us and 50us respectively. Taking the delay level of 10us as an example, it indicates that when transmitting data of this delay level, the delay needs to be less than or equal to 10us. For data with different delay level requirements, each network element in the OTN can select different switching paths. Fig. 6 is an example diagram of an OTN network element selecting a switching path according to a delay level. As shown in Fig. 6, PR represents a priority, H represents a high priority, and L represents a low priority. SP means priority-based scheduling (schedule of priority). The four latency classes are the lowest latency class, the second latency class, the third latency class, and the fourth latency class. Among them, the lowest latency class has the highest priority, therefore, the switching path is the shortest, and so on , the priority of the fourth delay class is the lowest, therefore, the switching path is the longest.
可选的,首网元的支路单板在确定出时延等级后,可以将时延等级发送至交叉单板,由交叉单板按照上述方式选择与数据的时延等级匹配的交换路径。Optionally, after determining the delay level, the tributary board of the first network element may send the delay level to the cross-connect board, and the cross-connect board selects a switching path matching the data delay level in the above manner.
S404、首网元基于上述与上述数据的时延等级匹配的交换路径,传输上述数据以及上述数据的时延等级。S404. The first network element transmits the data and the delay level of the data based on the switching path that matches the delay level of the data.
可选的,本步骤所述的传输数据以及数据的时延等级,是指在首网元内部,由交叉单板按照与数据的时延等级匹配的交换路径将数据和时延等级传输至线路单板,再由线路单板将数据和时延等级发送给与首网元连接的中间网元。Optionally, the data transmission and the data delay level described in this step refer to that within the first network element, the cross-connect board transmits the data and the delay level to the line according to the switching path matching the data delay level The single board, and then the line single board sends the data and delay level to the intermediate network element connected to the first network element.
相应的,中间网元接收到待传输的数据以及数据的时延等级。具体的,可以由中间网元的线路单板接收数据以及数据的时延等级,进而,线路单板将数据和时延等级发送至交叉单板。Correspondingly, the intermediate network element receives the data to be transmitted and the delay level of the data. Specifically, the line board of the intermediate network element may receive the data and the delay level of the data, and then the line board sends the data and the delay level to the cross-connect board.
可选的,首网元可以使用一个帧同时传输数据以及时延等级,或者,也可以使用不用的帧分别传输数据以及时延等级。具体传输过程将在下述实施例中详细说明。Optionally, the first network element may use one frame to transmit data and delay levels at the same time, or may use different frames to transmit data and delay levels separately. The specific transmission process will be described in detail in the following embodiments.
S405、中间网元基于上述数据的时延等级匹配的交换路径,传输上述数据以及上述数据的时延等级。S405. The intermediate network element transmits the data and the delay level of the data based on the switching path that matches the delay level of the data.
可选的,可以由中间网元的交叉单板基于交换路径传输上述数据和时延等级。Optionally, the cross-connect board of the intermediate network element may transmit the foregoing data and delay level based on the switching path.
一种可能的场景中,该中间网元不属于OTN的末端网元,即该中间网元之后还连接下一中间网元或末端网元,则本步骤所述的传输数据以及时延等级可以指由中间网元的交叉单板按照与数据的时延等级匹配的交换路径将数据和时延等级传输至线路单板,再由线路单板将数据和时延等级发送给与中间网元连接的下一中间网元或末端网元。In a possible scenario, the intermediate network element does not belong to the terminal network element of the OTN, that is, the intermediate network element is connected to the next intermediate network element or terminal network element, then the transmission data and the delay level described in this step can be It means that the cross-connect board of the intermediate network element transmits the data and delay level to the line board according to the switching path matching the data delay level, and then the line board sends the data and delay level to the network element connected to the intermediate network element. The next intermediate NE or terminal NE.
另一种可能的场景中,该中间网元属于OTN的末端网元,即该中间网元之后不再连接OTN的其他网元,则本步骤所述的传输数据以及时延等级可以指由中间网元的交叉单板按照与数据的时延等级匹配的交换路径将数据和时延等级传输至支路单板,再由支路单板对数据进行帧格式的映射之后进行发送。In another possible scenario, the intermediate network element belongs to the terminal network element of the OTN, that is, the intermediate network element is no longer connected to other network elements of the OTN, then the transmission data and delay level described in this step can refer to the The cross-connect board of the network element transmits the data and the delay level to the tributary board according to the switching path that matches the data delay level, and then the tributary board maps the data in a frame format before sending it.
本申请实施例中,OTN的首网元根据数据的业务类型确定出时延等级,并将时延等级和数据传输至后续的网元,从而使得后续的网元可以直接基于首网元所发送的时延等级选择路径,而无需通过网管设备等进行配置,从而极大降低OTN中时延等级的配置和维护的复杂度。另外,由于首网元可以根据数据的业务类型动态确定时延等级,因此,使得首网元和后续网元可以相应地动态调整数据的时延等级,极大提升了时延等级配置的灵活性。In the embodiment of this application, the first network element of the OTN determines the delay level according to the service type of the data, and transmits the delay level and data to the subsequent network elements, so that the subsequent network elements can be directly based on the data sent by the first network element. The path can be selected according to the delay level, without the need to configure through the network management equipment, thus greatly reducing the complexity of configuration and maintenance of the delay level in OTN. In addition, since the first network element can dynamically determine the delay level according to the service type of the data, the first network element and the subsequent network elements can dynamically adjust the data delay level accordingly, which greatly improves the flexibility of delay level configuration .
以下说明上述步骤S404和S405中传输数据和时延等级的具体方法。The specific methods for transmitting data and delay levels in the above steps S404 and S405 are described below.
可选的,首网元和/或中间网元可以使用一个帧同时传输数据以及时延等级,也可以使用不用的帧分别传输数据以及时延等级。以下分别进行说明。Optionally, the head network element and/or the intermediate network element may use one frame to transmit data and delay levels at the same time, or may use different frames to transmit data and delay levels respectively. Each will be described below.
首先说明首网元的传输方法。First, the transmission method of the first network element is described.
第一种可选方式中,首网元使用同一帧传输数据和时延等级。In the first optional mode, the first network element uses the same frame to transmit data and delay level.
可选的,将传输数据和时延等级的一个帧称为目标帧。Optionally, a frame for transmitting data and a delay level is called a target frame.
在该可选方式中,首网元的支路单板接收到承载待传输的数据的初始帧后,可以首先按照上述步骤S402确定数据的时延等级,进而,支路单板对初始帧进行映射处理,得到承载数据的目标帧,该目标帧的格式与初始帧的格式不同,该目标帧的格式例如可以为图3所示的OTN帧格式,进而,支路单板可以将所确定出的时延等级加入上述目标帧中,并将目标帧发送至交叉单板。交叉单板接收到目标帧后,从目标帧中读取时延等级信息,并按照时延等级选择交换路径。交叉单板进而沿交换路径将目标帧发送给线路单板,线路单板再将目标帧发送给与首网元连接的中间网元。In this optional mode, after the tributary board of the first network element receives the initial frame carrying the data to be transmitted, it may first determine the delay level of the data according to the above step S402, and then, the tributary board performs The mapping process obtains the target frame carrying data, the format of the target frame is different from the format of the initial frame, the format of the target frame can be the OTN frame format shown in Figure 3, for example, and then, the tributary board can determine the Add the delay level of the target frame to the target frame, and send the target frame to the cross-connect board. After receiving the target frame, the cross-connect board reads the delay level information from the target frame, and selects the switching path according to the delay level. The cross-connect board then sends the target frame to the line board along the switching path, and the line board then sends the target frame to the intermediate network element connected to the first network element.
作为一种可选的实施方式,支路单板在将时延等级加入目标帧时,可以将时延等级加入目标帧的业务类型标识头中,即,时延等级可以通过目标帧的业务类型标识头承载。As an optional implementation, when adding the delay level to the target frame, the tributary board can add the delay level to the service type identifier header of the target frame, that is, the delay level can be determined by the service type of the target frame Identity header bearer.
图7为OTN的信元结构示例图,如图7所示,OTN的信元结构包括:Figure 7 is an example diagram of the cell structure of the OTN, as shown in Figure 7, the cell structure of the OTN includes:
(1)、Common Head:(1), Common Head:
通用信元头,使用4字节表示,主要用于定义OTN信元的通用开销。General cell header, represented by 4 bytes, is mainly used to define the general overhead of OTN cells.
(2)、PT Specific Head:(2), PT Specific Head:
业务类型标识头,主要用于承载固定比特速率(CBR)和VBR所带来的应用差异。The service type identification header is mainly used to carry the application differences brought about by constant bit rate (CBR) and VBR.
(3)、CRC8:(3), CRC8:
表示6字节信元头(common Head+PT Specific Head)的CRC8校验和。Indicates the CRC8 checksum of the 6-byte cell header (common Head+PT Specific Head).
(4)、ESQ/Payload:(4), ESQ/Payload:
ESQ为序列号,用于链路捆绑和无损调整,当Common Head域中的EXT为1时表示ESQ,EXT为0时,填充Payload。ESQ is a serial number, which is used for link bundling and lossless adjustment. When EXT in the Common Head field is 1, it means ESQ, and when EXT is 0, it is filled with Payload.
(5)、Payload:(5), Payload:
181字节的业务净荷。181-byte business payload.
其中,PT Specific Head共2个字节,即16bit,第9个比特位为RES复帧,共64bit,本申请实施例中,可以将该RES保留开销的其中3位,用于承载时延等级。Among them, the PT Specific Head has a total of 2 bytes, that is, 16 bits, and the ninth bit is the RES multiframe, with a total of 64 bits. In the embodiment of this application, 3 bits of the RES overhead can be reserved for carrying the delay level .
具体的,时延等级占用RES的3个比特位。假设OTN包括四个时延等级,则可以分别使用数字1、2、3、4表示四个时延等级,并预留4个扩展数字供后续使用。Specifically, the delay level occupies 3 bits of the RES. Assuming that the OTN includes four delay classes, the
可选的,上述图7中所示的信元可以为前述图3中的一个OPU载荷(OPU payload)切片。Optionally, the cell shown in FIG. 7 above may be a slice of an OPU payload (OPU payload) in FIG. 3 above.
通过将时延等级写入承载数据的目标帧中,使得中间网元在接收到数据的同时可以获知时延等级,并根据时延等级选择匹配的交叉路径传输目标帧,从而可以简化处理复杂度。By writing the delay level into the target frame carrying data, the intermediate network element can know the delay level while receiving the data, and select the matching cross path to transmit the target frame according to the delay level, thus simplifying the processing complexity .
第二种可选方式中,首网元使用不同帧传输数据和时延等级。In the second optional mode, the first network element uses different frames to transmit data and delay levels.
可选的,将传输数据的帧称为数据帧,将传输时延等级的帧称为时延等级帧。Optionally, frames for transmitting data are called data frames, and frames for transmitting delay levels are called delay level frames.
在该可选方式中,首网元的支路单板接收到承载待传输的数据的初始帧后,可以按照上述步骤S402确定数据的时延等级并将时延等级加入时延等级帧中,该时延等级帧可以为维护(OAM)报文,并且对初始帧进行映射处理,得到承载数据的数据帧,该数据帧的格式与初始帧的格式不同,该数据帧的格式例如可以为图3所示的OTN帧格式其中,支路单板确定时延等级进行帧映射处理的顺序不分先后。进而,支路单板可以将时延等级帧和数据帧分别发送至交叉单板。交叉单板接收到时延等级帧和数据帧后,从时延等级帧中读取时延等级信息,并按照时延等级选择交换路径。交叉单板进而沿交换路径将数据帧和时延等级帧发送给线路单板,线路单板再将数据帧和时延等级帧发送给与首网元连接的中间网元。In this optional mode, after the tributary board of the first network element receives the initial frame carrying the data to be transmitted, it can determine the delay level of the data according to the above step S402 and add the delay level to the delay level frame, The delay level frame can be a maintenance (OAM) message, and the initial frame is mapped to obtain a data frame carrying data. The format of the data frame is different from the format of the initial frame. The format of the data frame can be, for example, In the OTN frame format shown in 3, the order in which the tributary boards determine the delay level and perform frame mapping processing is not in particular order. Furthermore, the tributary board can send the delay level frame and the data frame to the cross board respectively. After receiving the delay class frame and the data frame, the cross-connect board reads the delay class information from the delay class frame, and selects the switching path according to the delay class. The cross-connection board then sends the data frame and the delay-level frame to the line board along the switching path, and the line board then sends the data frame and the delay-level frame to the intermediate network element connected to the first network element.
以下说明中间网元的传输方法。The transmission method of the intermediate network element is described below.
第一种可选方式中,中间网元使用同一帧传输数据和时延等级。In the first optional manner, the intermediate network element uses the same frame to transmit data and delay level.
该方式与上述首网元的第一种可选方式配合使用,如果首网元使用同一帧传输数据和时延等级,则中间网元相应使用同一帧传输数据和时延等级。This method is used in conjunction with the first optional method of the first network element above. If the first network element uses the same frame to transmit data and delay level, the intermediate network element uses the same frame to transmit data and delay level accordingly.
在该可选方式中,中间网元的线路单板接收到目标帧后,将目标帧发送至交叉单板,交叉单板从目标帧中解析出时延等级,并按照时延等级选择交换路径。如果中间网元不为OTN的末端网元,则交叉单板沿交换路径将目标帧发送给线路单板,线路单板再将目标帧发送给与中间网元连接的下一中间网元或末端网元。如果中间网元为OTN的末端网元,则交叉单板沿交换路径将目标帧发送给支路单板,支路单板对目标帧进行映射后发送给下一网络或用户侧设备等。In this optional mode, after receiving the target frame, the line board of the intermediate network element sends the target frame to the cross-connect board, and the cross-connect board parses the delay level from the target frame and selects the switching path according to the delay level . If the intermediate network element is not the end network element of the OTN, the cross-connect board sends the target frame to the line board along the switching path, and the line board then sends the target frame to the next intermediate network element connected to the middle network element or the end network element. If the intermediate network element is the end network element of the OTN, the cross-connect board sends the target frame to the branch board along the switching path, and the branch board maps the target frame and sends it to the next network or user-side equipment.
第二种可选方式中,中间网元使用不同帧传输数据和时延等级。In the second optional manner, the intermediate network element uses different frames to transmit data and delay levels.
可选的,将传输数据的帧称为数据帧,将传输时延等级的帧称为时延等级帧。Optionally, frames for transmitting data are called data frames, and frames for transmitting delay levels are called delay level frames.
该方式与上述首网元的第二种可选方式配合使用,如果首网元使用不同帧传输数据和时延等级,则中间网元相应使用不同帧传输数据和时延等级。This method is used in conjunction with the second optional method of the first network element above. If the first network element uses different frames to transmit data and delay levels, the intermediate network elements use different frames to transmit data and delay levels accordingly.
在该可选方式中,中间网元的线路单板接收承载待传输的数据的数据帧以及承载时延等级的时延等级帧。线路单板可以将时延等级帧和数据帧分别发送至交叉单板。交叉单板接收到时延等级帧和数据帧后,从时延等级帧中读取时延等级信息,并按照时延等级选择交换路径。如果中间网元不为OTN的末端网元,则交叉单板沿交换路径将数据帧和时延等级帧发送给线路单板,线路单板再将数据帧和时延等级帧发送给与中间网元连接的下一中间网元或末端网元。如果中间网元为OTN的末端网元,则交叉单板沿交换路径将数据帧发送给支路单板,支路单板对数据帧进行映射后发送给下一网络或用户侧设备等。In this optional manner, the line board of the intermediate network element receives the data frame carrying the data to be transmitted and the delay level frame carrying the delay level. The line board can send delay-level frames and data frames to the cross-connect board respectively. After receiving the delay class frame and the data frame, the cross-connect board reads the delay class information from the delay class frame, and selects the switching path according to the delay class. If the intermediate network element is not the end network element of the OTN, the cross-connect board sends the data frame and delay class frame to the line board along the switching path, and the line board then sends the data frame and delay class frame to the intermediate network The next intermediate network element or terminal network element connected to the network element. If the intermediate network element is the terminal network element of the OTN, the cross-connect board sends the data frame to the branch board along the switching path, and the branch board maps the data frame and sends it to the next network or user-side equipment.
以下说明上述步骤S402中首网元根据待传输的数据的业务类型,确定数据的时延等级的过程。The following describes the process of determining the delay level of data by the first network element in step S402 according to the service type of the data to be transmitted.
第一种可选方式中,首网元可以根据数据的码流识别数据的业务类型,并确定与数据的业务类型匹配的时延等级。In the first optional manner, the first network element can identify the service type of the data according to the code stream of the data, and determine the delay level matching the service type of the data.
在该方式中,首网元可以通过分析数据码流的特征识别出数据的业务类型,并基于业务类型与时延等级的匹配规则,自动确定与数据的业务类型匹配的时延等级。In this method, the first network element can identify the service type of the data by analyzing the characteristics of the data stream, and automatically determine the delay level that matches the service type of the data based on the matching rules between the service type and the delay level.
示例性的,首网元接收到数据码流后,通过分析数据码流的特征识别出数据的业务类型为视频,进而,基于业务类型与时延的匹配规则,可以得到视频的时延等级为最低时延等级,并按照最低时延等级传输数据。Exemplarily, after the first network element receives the data code stream, it identifies the service type of the data as video by analyzing the characteristics of the data code stream, and then, based on the matching rule between the service type and the delay, the delay level of the video can be obtained as The lowest latency level, and transmit data according to the lowest latency level.
第二种可选方式中,首网元可以根据预设的业务类型与时延等级的映射关系,确定与数据的业务类型匹配的时延等级。In the second optional manner, the first network element may determine the delay level matching the service type of the data according to the preset mapping relationship between the service type and the delay level.
可选的,业务类型与时延等级的映射关系可以由用户预先在网管设备上配置。首网元可以从网管设备处获取该映射关系。当首网元接收到待传输的数据后,首先可以确定数据的业务类型,进而,根据上述的映射关系,查找出能够匹配该业务类型的时延等级。Optionally, the mapping relationship between the service type and the delay level can be pre-configured by the user on the network management device. The first network element can obtain the mapping relationship from the network management device. After the first network element receives the data to be transmitted, it can first determine the service type of the data, and then, according to the above mapping relationship, find out the delay level that can match the service type.
图8为本申请实施例提供的一种数据传输装置的模块结构图,该装置可以为前述的OTN的首网元,也可以为能够使得首网元实现本申请实施例提供的方法中的首网元的功能的装置,例如该装置可以是首网元中的装置或芯片系统。如图8所示,该装置包括:Fig. 8 is a module structure diagram of a data transmission device provided by the embodiment of the present application. The device may be the first network element of the aforementioned OTN, or may be the first network element capable of implementing the method provided by the embodiment of the present application. A function device of a network element, for example, the device may be a device or a chip system in the first network element. As shown in Figure 8, the device includes:
接收模块801,用于接收待传输的数据,所述待传输的数据由初始帧承载。The receiving
处理模块802,用于根据所述待传输的数据的业务类型,确定所述数据的时延等级;以及,选择与所述数据的时延等级匹配的交换路径;以及,基于所述与所述数据的时延等级匹配的交换路径,传输所述数据以及所述数据的时延等级。The
作为一种可选的实施方式,处理模块802还用于:As an optional implementation manner, the
对所述初始帧进行映射处理,得到承载所述数据的目标帧,所述目标帧的格式与所述初始帧的格式不同;以及,将所述数据的时延等级加入所述目标帧。performing mapping processing on the initial frame to obtain a target frame carrying the data, the format of the target frame being different from that of the initial frame; and adding the delay level of the data into the target frame.
作为一种可选的实施方式,处理模块802具体用于:As an optional implementation manner, the
基于所述与所述数据的时延等级匹配的交换路径,传输所述目标帧。The target frame is transmitted based on the switching path matching the delay level of the data.
作为一种可选的实施方式,所述时延等级通过所述目标帧的业务类型标识头承载。As an optional implementation manner, the delay level is carried by a service type identifier header of the target frame.
作为一种可选的实施方式,处理模块802具体用于:As an optional implementation manner, the
基于所述与所述数据的时延等级匹配的交换路径,传输由所述初始帧映射得到的数据帧,所述数据帧承载所述数据;以及,基于所述与所述数据的时延等级匹配的交换路径,传输承载所述时延等级的时延等级帧。Based on the switching path matching the delay level of the data, transmitting a data frame obtained by mapping the initial frame, the data frame carrying the data; and, based on the delay level of the data and the data; A matching switching path transmits a delay-level frame carrying the delay level.
作为一种可选的实施方式,处理模块802具体用于:As an optional implementation manner, the
根据所述数据的码流识别所述数据的业务类型;以及,确定与所述数据的业务类型匹配的时延等级。identifying the service type of the data according to the code stream of the data; and determining a delay level matching the service type of the data.
作为一种可选的实施方式,处理模块802具体用于:As an optional implementation manner, the
根据预设的业务类型与时延等级的映射关系,确定与所述数据的业务类型匹配的时延等级。According to the preset mapping relationship between the service type and the delay level, the delay level matching the service type of the data is determined.
本申请实施例提供的数据传输装置,可以执行上述方法实施例中的方法步骤,其实现原理和技术效果类似,在此不再赘述。The data transmission device provided in the embodiment of the present application can execute the method steps in the above method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
图9为本申请实施例提供的另一种数据传输装置的模块结构图,该装置可以为前述的OTN的中间网元,也可以为能够使得中间网元实现本申请实施例提供的方法中的中间网元的功能的装置,例如该装置可以是中间网元中的装置或芯片系统。如图9所示,该装置包括:Fig. 9 is a module structure diagram of another data transmission device provided by the embodiment of the present application. The device may be the aforementioned intermediate network element of the OTN, or may be an intermediate network element capable of implementing the method provided in the embodiment of the present application. A device for the function of the intermediate network element, for example, the device may be a device or a chip system in the intermediate network element. As shown in Figure 9, the device includes:
接收模块901,用于接收待传输的数据以及所述数据的时延等级。The receiving
处理模块902,用于基于与所述数据的时延等级匹配的交换路径,传输所述数据以及所述数据的时延等级。The
作为一种可选的实施方式,所述数据以及所述数据的时延等级由目标帧承载。As an optional implementation manner, the data and the delay level of the data are carried by a target frame.
作为一种可选的实施方式,所述时延等级通过所述目标帧的业务类型标识头承载。As an optional implementation manner, the delay level is carried by a service type identifier header of the target frame.
作为一种可选的实施方式,处理模块902具体用于:As an optional implementation manner, the
基于所述与所述数据的时延等级匹配的交换路径,传输所述目标帧。The target frame is transmitted based on the switching path matching the delay level of the data.
作为一种可选的实施方式,所述数据由数据帧承载,所述时延等级由时延等级帧承载。As an optional implementation manner, the data is carried by a data frame, and the delay level is carried by a delay level frame.
本申请实施例提供的数据传输装置,可以执行上述方法实施例中的方法步骤,其实现原理和技术效果类似,在此不再赘述。The data transmission device provided in the embodiment of the present application can execute the method steps in the above method embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
需要说明的是,应理解以上装置的各个模块的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块通过处理元件调用软件的形式实现,部分模块通过硬件的形式实现。例如,确定模块可以为单独设立的处理元件,也可以集成在上述装置的某一个芯片中实现,此外,也可以以程序代码的形式存储于上述装置的存储器中,由上述装置的某一个处理元件调用并执行以上确定模块的功能。其它模块的实现与之类似。此外这些模块全部或部分可以集成在一起,也可以独立实现。这里所述的处理元件可以是一种集成电路,具有信号的处理能力。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be noted that it should be understood that the division of each module of the above device is only a division of logical functions, and may be fully or partially integrated into one physical entity or physically separated during actual implementation. And these modules can all be implemented in the form of calling software through processing elements; they can also be implemented in the form of hardware; some modules can also be implemented in the form of calling software through processing elements, and some modules can be implemented in the form of hardware. For example, the determining module may be a separate processing element, or may be integrated in a chip of the above-mentioned device. In addition, it may be stored in the memory of the above-mentioned device in the form of program code, and a certain processing element of the above-mentioned device may Call and execute the functions of the modules identified above. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, and can also be implemented independently. The processing element mentioned here may be an integrated circuit with signal processing capability. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
例如,以上这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(application specific integrated circuit,ASIC),或,一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA)等。再如,当以上某个模块通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(centralprocessing unit,CPU)或其它可以调用程序代码的处理器。再如,这些模块可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。For example, the above modules may be one or more integrated circuits configured to implement the above method, for example: one or more specific integrated circuits (application specific integrated circuit, ASIC), or one or more microprocessors (digital signal processor, DSP), or, one or more field programmable gate arrays (field programmable gate array, FPGA), etc. For another example, when one of the above modules is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (central processing unit, CPU) or other processors that can call program codes. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘solid state disk(SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, 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 (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
图10为本申请实施例提供的一种通信装置的结构示意图。示例性的,该通信装置可以为前述实施例中所述的OTN的首网元。如图10所示,该通信装置1000可以包括:处理器101(例如CPU)、存储器102、收发器103;收发器103耦合至处理器101,处理器101控制收发器103的收发动作。存储器102中可以存储各种指令,以用于完成各种处理功能以及实现本申请实施例中首网元执行的方法步骤。FIG. 10 is a schematic structural diagram of a communication device provided by an embodiment of the present application. Exemplarily, the communication device may be the head network element of the OTN described in the foregoing embodiments. As shown in FIG. 10 , the
可选的,本申请实施例涉及的通信装置还可以包括:电源104、系统总线105以及通信端口106。收发器103可以集成在通信装置的收发信机中,也可以为通信装置上独立的收发天线。系统总线105用于实现元件之间的通信连接。上述通信端口106用于实现通信装置与其他外设之间进行连接通信。Optionally, the communication device involved in this embodiment of the present application may further include: a
在本申请实施例中,上述处理器101用于与存储器102耦合,读取并执行存储器102中的指令,以实现上述方法实施例中首网元执行的方法步骤。收发器103与处理器101耦合,由处理器101控制收发器103进行消息收发,其实现原理和技术效果类似,在此不再赘述。In the embodiment of the present application, the above-mentioned
该图10中提到的系统总线可以是外设部件互连标准(peripheral componentinterconnect,PCI)总线或扩展工业标准结构(extended industry standardarchitecture,EISA)总线等。所述系统总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。通信接口用于实现数据库访问装置与其他设备(例如客户端、读写库和只读库)之间的通信。存储器可能包含RAM,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The system bus mentioned in FIG. 10 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus or the like. The system bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is used to realize the communication between the database access device and other devices (such as client, read-write library and read-only library). The memory may include RAM, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
该图10中提到的处理器可以是通用处理器,包括中央处理器CPU、网络处理器(network processor,NP)等;还可以是数字信号处理器DSP、专用集成电路ASIC、现场可编程门阵列FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The processor mentioned in this Figure 10 can be a general-purpose processor, including a central processing unit CPU, a network processor (network processor, NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate Array FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
图11为本申请实施例提供的另一种通信装置的结构示意图。示例性的,该通信装置可以为前述实施例中所述的OTN的中间网元。如图11所示,该通信装置1100可以包括:处理器111(例如CPU)、存储器112、收发器113;收发器113耦合至处理器111,处理器111控制收发器113的收发动作。存储器112中可以存储各种指令,以用于完成各种处理功能以及实现本申请实施例中中间网元执行的方法步骤。FIG. 11 is a schematic structural diagram of another communication device provided by an embodiment of the present application. Exemplarily, the communication device may be an intermediate network element of the OTN described in the foregoing embodiments. As shown in FIG. 11 , the
可选的,本申请实施例涉及的通信装置还可以包括:电源114、系统总线115以及通信端口116。收发器113可以集成在通信装置的收发信机中,也可以为通信装置上独立的收发天线。系统总线115用于实现元件之间的通信连接。上述通信端口116用于实现通信装置与其他外设之间进行连接通信。Optionally, the communication device involved in this embodiment of the present application may further include: a
在本申请实施例中,上述处理器111用于与存储器112耦合,读取并执行存储器112中的指令,以实现上述方法实施例中中间网元执行的方法步骤。收发器113与处理器111耦合,由处理器111控制收发器113进行消息收发,其实现原理和技术效果类似,在此不再赘述。In the embodiment of the present application, the above-mentioned
该图11中提到的系统总线可以是PCI总线或EISA总线等。所述系统总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。通信接口用于实现数据库访问装置与其他设备(例如客户端、读写库和只读库)之间的通信。存储器可能包含RAM,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The system bus mentioned in FIG. 11 may be a PCI bus or an EISA bus or the like. The system bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is used to realize the communication between the database access device and other devices (such as client, read-write library and read-only library). The memory may include RAM, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
该图11中提到的处理器可以是通用处理器,包括CPU、NP等;还可以是DSP、专ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The processor mentioned in Figure 11 can be a general-purpose processor, including CPU, NP, etc.; it can also be a DSP, a dedicated ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
可选的,本申请实施例还提供一种可读存储介质,所述存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如上述图4至图7所示实施例的方法。Optionally, the embodiment of the present application also provides a readable storage medium, and instructions are stored in the storage medium, and when it is run on a computer, the computer executes the method as shown in the above-mentioned embodiments shown in FIG. 4 to FIG. 7 .
可选的,本申请实施例还提供一种运行指令的芯片,所述芯片用于执行上述图4至图7所示实施例的方法。Optionally, the embodiment of the present application further provides a chip for running instructions, and the chip is used to execute the method in the above embodiments shown in FIG. 4 to FIG. 7 .
本申请实施例还提供一种程序产品,所述程序产品包括计算机程序,所述计算机程序存储在存储介质中,至少一个处理器可以从所述存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序时可实现上述图4至图7所示实施例的方法。The embodiment of the present application also provides a program product, the program product includes a computer program, the computer program is stored in a storage medium, at least one processor can read the computer program from the storage medium, and the at least one When the processor executes the computer program, the methods in the above embodiments shown in FIG. 4 to FIG. 7 can be realized.
在本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系;在公式中,字符“/”,表示前后关联对象是一种“相除”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中,a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship; in the formula, the character "/" indicates that the contextual objects are a "division" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein, a, b, c can be single or multiple indivual.
可以理解的是,在本申请实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请实施例的范围。It can be understood that the various numbers involved in the embodiments of the present application are only for convenience of description, and are not used to limit the scope of the embodiments of the present application.
可以理解的是,在本发明的实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It can be understood that, in the embodiments of the present invention, the serial numbers of the above-mentioned processes do not mean the order of execution, and the order of execution of the processes should be determined by their functions and internal logic, and should not be used in the embodiments of the present application. The implementation process constitutes any limitation.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
Claims (24)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010247603.7A CN113473267B (en) | 2020-03-31 | 2020-03-31 | Data transmission method, device and communication device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010247603.7A CN113473267B (en) | 2020-03-31 | 2020-03-31 | Data transmission method, device and communication device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113473267A CN113473267A (en) | 2021-10-01 |
| CN113473267B true CN113473267B (en) | 2023-03-28 |
Family
ID=77865915
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010247603.7A Active CN113473267B (en) | 2020-03-31 | 2020-03-31 | Data transmission method, device and communication device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113473267B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116366196B (en) * | 2021-12-27 | 2025-09-16 | 中国移动通信有限公司研究院 | Signal transmission method, network element and communication equipment |
| CN117527718A (en) * | 2022-07-28 | 2024-02-06 | 中兴通讯股份有限公司 | Delay resource allocation method, electronic device and storage medium |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102447980B (en) * | 2010-09-30 | 2015-01-28 | 中兴通讯股份有限公司 | Routing control method, routing control system and path computation device |
| CN103825751B (en) * | 2012-11-16 | 2017-11-24 | 华为技术有限公司 | Method, veneer, Network Management Equipment and the system to activate the service |
| CN106972885B (en) * | 2017-02-24 | 2019-09-27 | 东华大学 | A Dual-Channel Optical Transport Network Channel Optimization System Based on BBU and RRU |
| CN108667643A (en) * | 2017-03-30 | 2018-10-16 | 华为技术有限公司 | A kind of communication failure restoration methods and the first communication network element |
| CN108959143B (en) * | 2017-05-22 | 2023-06-27 | 中兴通讯股份有限公司 | Optical transmission network equipment and service processing method |
| WO2019061406A1 (en) * | 2017-09-30 | 2019-04-04 | 华为技术有限公司 | Service data transmission method and apparatus |
-
2020
- 2020-03-31 CN CN202010247603.7A patent/CN113473267B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN113473267A (en) | 2021-10-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20210203588A1 (en) | Data forwarding method and device | |
| CN109729588B (en) | Service data transmission method and device | |
| US5379295A (en) | Cross-connect system for asynchronous transfer mode | |
| US20080260385A1 (en) | Signal processing apparatus and method for gigabit passive optical network | |
| CN108616402B (en) | Management method and system of remote equipment | |
| WO2019029419A1 (en) | Method and device for pass-through of service frequency | |
| CN104734998A (en) | Network device and information transmission method | |
| US12231333B2 (en) | Routing flexe data in a network | |
| US20240333824A1 (en) | Service Processing Method, Apparatus, and System | |
| CN113473267B (en) | Data transmission method, device and communication device | |
| CN116471194A (en) | Flow statistics method, device and system | |
| CN110460548A (en) | Time-triggered Ethernet switch and scheduling packet switching method based on multi-plane | |
| WO2023143577A1 (en) | Method, apparatus and system for processing data frame in optical transport network | |
| US11206216B2 (en) | Flexible ethernet frame forwarding method and apparatus | |
| WO2024040884A1 (en) | Service processing method, apparatus and system | |
| US12568323B2 (en) | DCN packet processing method, network device, and system | |
| US12244684B2 (en) | Network synchronization method, apparatus, device, and system, and readable storage medium | |
| US8787770B2 (en) | Transport apparatus | |
| CN116112452B (en) | Message transmission method and communication device | |
| US11438091B2 (en) | Method and apparatus for processing bit block stream, method and apparatus for rate matching of bit block stream, and method and apparatus for switching bit block stream | |
| CN118075221A (en) | Data processing method, device, equipment, system and readable storage medium | |
| CN111083073B (en) | Interface extension method of Ethernet switch equipment | |
| KR100745674B1 (en) | Packet processing apparatus, method and apparatus for applying multiple switching port support structure | |
| CN100505736C (en) | Method and apparatus of supporting multi loading to realize signal transformission | |
| CN120263286B (en) | An optical network communication method and communication device |
Legal Events
| 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 |
