CN113473267B - Data transmission method, device and communication device - Google Patents

Data transmission method, device and communication device Download PDF

Info

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
network element
delay
frame
level
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
Application number
CN202010247603.7A
Other languages
Chinese (zh)
Other versions
CN113473267A (en
Inventor
管冬根
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010247603.7A priority Critical patent/CN113473267B/en
Publication of CN113473267A publication Critical patent/CN113473267A/en
Application granted granted Critical
Publication of CN113473267B publication Critical patent/CN113473267B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • H04Q2011/0037Operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects

Abstract

The embodiment of the application provides a data transmission method, a data transmission device and a communication device, wherein the method at a first network element side comprises the following steps: receiving data to be transmitted, wherein the data to be transmitted is borne by an initial frame, determining the delay grade of the data to be transmitted according to the service type of the data to be transmitted, selecting an exchange path matched with the delay grade of the data, and transmitting the data and the delay grade of the data based on the exchange path matched with the delay grade of the data. The method enables the network elements behind the first network element to directly select the path based on the delay grade sent by the first network element without configuring through network management equipment and the like, thereby greatly reducing the complexity of configuring and maintaining the delay grade in the OTN. Meanwhile, the flexibility of time delay grade configuration is greatly improved.

Description

Data transmission method, device and communication device
Technical Field
The embodiment of the application relates to the technical field of communication, and in particular relates to a data transmission method, a data transmission device and a communication device.
Background
An Optical Transport Network (OTN) is a network consisting of a set of optical network elements connected together by optical fiber links, and is capable of providing transport, multiplexing, routing, management, monitoring, and protection (survivability) of optical channels carrying customer signals. The optical transport network includes a plurality of network elements, which may also be referred to as stations. The service data to be transmitted are transmitted from the first network element of the optical transport network to the following network elements one by one. Different service data have different requirements for time delay, so each network element in the optical transport network needs to schedule a switching path capable of meeting the service time delay requirement according to the service time delay requirement.
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. Illustratively, a delay level is manually set for each service according to information such as the type of the service, and the delay level of each service is configured for each network element one by one through network management equipment.
However, the prior art approach can result in a complex configuration and maintenance process for the latency levels.
Disclosure of Invention
The embodiment of the application provides a data transmission method, a data transmission device and a communication device, which are used for solving the problem that the configuration and maintenance process of a time delay grade in the prior art is complex.
In a first aspect, an embodiment of the present application provides a data transmission method, where the method includes:
receiving data to be transmitted, wherein the data to be transmitted is borne by an initial frame, determining the delay grade of the data to be transmitted according to the service type of the data to be transmitted, selecting an exchange path matched with the delay grade of the data, and transmitting the data and the delay grade of the data based on the exchange path matched with the delay grade of the data.
In the method, the first network element determines the delay grade according to the service type of the data and transmits the delay grade and the data to the subsequent network element, so that the subsequent network element can directly select a path based on the delay grade sent by the first network element without configuring through network management equipment and the like, and the complexity of configuring and maintaining the delay grade in the OTN is greatly reduced. In addition, because 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 correspondingly dynamically adjust the delay level of the data, and the flexibility of the configuration of the delay level is greatly improved.
In one possible design, before the transmitting the data and the latency level of the data based on the switch path matched with the latency level of the data, the method further includes:
and mapping the initial frame to obtain a target frame carrying the data, wherein the format of the target frame is different from that of the initial frame, and the delay level of the data is added into the target frame.
In one possible design, the transmitting the data and the latency level of the data based on the switch path matching the latency level of the data includes:
and transmitting the target frame based on the switching path matched with the time delay grade of the data.
In one possible design, the delay level is carried by a service type identifier header of the target frame.
In the method, the delay grade is written into the target frame carrying the data, so that the intermediate network element can acquire the delay grade while receiving the data, and select the matched cross path to transmit the target frame according to the delay grade, thereby simplifying the processing complexity.
In one possible design, the transmitting the data and the latency level of the data based on the switch path matching the latency level of the data includes:
transmitting a data frame mapped by the initial frame based on the exchange path matched with the delay level of the data, wherein the data frame bears the data; and transmitting a delay level frame bearing the delay level based on the exchange path matched with the delay level of the data.
In a possible design, the determining, according to the service type of the data to be transmitted, a delay level of the data includes:
identifying the service type of the data according to the code stream of the data; and determining the delay grade matched with the service type of the data.
According to the method, the service type of the data can be automatically identified by using the code stream of the data, and the time delay grade is further determined, so that manual configuration is not required, and the processing efficiency is greatly improved.
In a possible design, the determining, according to the service type of the data to be transmitted, a delay level of the data includes:
and determining the delay grade matched with the service type of the data according to a preset mapping relation between the service type and the delay grade.
In a second aspect, an embodiment of the present application provides a data transmission method, where the method includes:
receiving data to be transmitted and the time delay grade of the data, and further transmitting the data and the time delay grade of the data based on an exchange path matched with the time delay grade of the data.
In the method, the intermediate network element receives the delay grade 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 grade sent by the first network element without configuring through network management equipment and the like, and the complexity of configuring and maintaining the delay grade in the OTN is greatly reduced.
In one possible design, the data and the latency level of the data are carried by a target frame.
In one possible design, the delay level is carried by a service type identifier header of the target frame.
In one possible design, the transmitting the data and the latency level of the data based on the switch path matching the latency level of the data includes:
and transmitting the target frame based on the switching path matched with the time delay grade of the data.
In one possible design, the data is carried by a data frame and the latency class is carried by a latency class frame.
In a third aspect, an embodiment of the present application provides a data transmission apparatus, including:
and the receiving module is used for receiving the data to be transmitted, and the data to be transmitted is carried by the initial frame.
The processing module is used for determining the time delay grade of the data according to the service type of the data to be transmitted; and selecting a switch path matched with the delay level of the data; and transmitting the data and the delay level of the data based on the exchange path matched with the delay level of the data.
In one possible design, the processing module is further to:
mapping the initial frame to obtain a target frame bearing the data, wherein 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 one possible design, the processing module is specifically configured to:
and transmitting the target frame based on the switching path matched with the time delay grade of the data.
In one possible design, the delay level is carried by a service type identifier header of the target frame.
In one possible design, the processing module is specifically configured to:
transmitting a data frame mapped by the initial frame based on the exchange path matched with the delay level of the data, wherein the data frame bears the data; and transmitting a delay level frame bearing the delay level based on the exchange path matched with the delay level of the data.
In one possible design, the processing module is specifically configured to:
identifying the service type of the data according to the code stream of the data; and determining a delay level matched with the service type of the data.
In one possible design, the processing module is specifically configured to:
and determining the delay grade matched with the service type of the data according to a preset mapping relation between the service type and the delay grade.
In a fourth aspect, an embodiment of the present application provides a data transmission apparatus, including:
and the receiving module is used for receiving the data to be transmitted and the time delay grade of the data.
And the processing module is used for transmitting the data and the time delay grade of the data based on the exchange path matched with the time delay grade of the data.
In one possible design, the data and the latency level of the data are carried by a target frame.
In one possible design, the delay level is carried by a service type identifier header of the target frame.
In one possible design, the processing module is specifically configured to:
and transmitting the target frame based on the switching path matched with the time delay grade of the data.
In one possible design, the data is carried by a data frame and the latency class is carried by a latency class frame.
In a fifth aspect, embodiments of the present application provide a communication apparatus, comprising a processor, the processor being connected to a memory, the memory being configured to store a computer program, and the processor being configured to execute the computer program stored in the memory, so as to cause the apparatus to perform the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a communication apparatus, comprising a processor, the processor being connected to a memory, the memory being configured to store a computer program, and the processor being configured to execute the computer program stored in the memory, so as to cause the apparatus to perform the method according to the first aspect.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed, the method of the first aspect or the second aspect is implemented.
In an eighth aspect, an 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 according to the first aspect or the second aspect.
In a ninth aspect, the present application provides a computer program product, which includes computer program code, and when the computer program code is executed by a computer, the computer executes the method of the first aspect or the second aspect.
In a tenth aspect, an embodiment of the present application provides a communication system, which includes the communication apparatus according to the fifth aspect and the communication apparatus according to the sixth aspect.
Drawings
FIG. 1 is an exemplary diagram of configuring latency levels in the prior art;
fig. 2 is a diagram illustrating an exemplary system architecture of a data transmission method according to an embodiment of the present application;
FIG. 3 is an exemplary frame structure schematic of an OTN;
fig. 4 is an interaction diagram of a data transmission method according to an embodiment of the present application;
fig. 5 is an exemplary diagram of an internal structure of each network element in the OTN;
fig. 6 is an exemplary diagram of an OTN network element selecting a switch path according to a delay level;
FIG. 7 is an exemplary diagram of a cell structure of an OTN;
fig. 8 is a block diagram of a data transmission device according to an embodiment of the present application;
fig. 9 is a block diagram of another data transmission device according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of another communication device according to an embodiment of the present application.
Detailed Description
In the prior art, a delay level is manually set for each service according to information such as the type of the service, and the delay level of each service is configured for each network element one by one through network management equipment. Fig. 1 is an exemplary diagram of configuring a delay level in the prior art, and as shown in fig. 1, a network management device is respectively connected to each network element in an OTN. And configuring the delay level of each service for each network element of the OTN connected with the network management equipment by using a visual interface provided by the network management equipment. Because the OTN includes many network elements and many types of services, the method in the prior art may cause the configuration and maintenance process of the delay level to be complicated. For example, if the delay level of a certain service needs to be adjusted, the configuration information of each network element in the whole OTN needs to be modified. In addition, once the network element is configured with the delay level of a certain service, the network element transmits the data of the service according to the configured delay level, and cannot perform dynamic adjustment.
In consideration of the problem of complex configuration and maintenance process caused by manual configuration of the delay level of the service in the prior art, in the embodiment of the application, the first network element of the OTN automatically determines the delay level of the service data and transmits the delay level to the intermediate network element, so that information of the delay level does not need to be configured and maintained in the intermediate network element, and the complexity of configuration and maintenance of the delay level in the OTN is greatly reduced.
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. 1, an OTN may include a plurality of network elements, a first network element, that is, a network element 1 may be connected to a user equipment or a previous network, the network element 1 may transmit data received from the user equipment or the previous network to an intermediate network element, that is, a network element 2, the data is transmitted to an intermediate network element 3 through the intermediate network element 2, the data is transmitted to a subsequent intermediate network element through the intermediate network element 3, the data is transmitted to a terminal network element, that is, a network element n, and the network element n then sends the data to a next network or a user equipment receiving the data.
As a possible scenario, the OTN includes only two network elements, and then the network element connected to the first network element may be referred to as an intermediate network element or an end network element. For convenience of description, in the embodiment of the present application, this network element is referred to as an intermediate network element, and the intermediate network element is actually an end network element of the OTN.
The OTN may adapt to any client service through the OPUk container, for example, data formats such as Synchronous Digital Hierarchy (SDH), asynchronous Transfer Mode (ATM), ethernet (ethernet), storage Area Network (SAN), and the like may be mapped to a frame structure of the OTN for transmission in the OTN, and mapped to a data format supported by a next network or a user end device on an end network element side of the OTN.
Fig. 3 is a schematic diagram of an exemplary frame structure of an OTN, and as shown in fig. 3, an OPUk may be based on a 192-byte fixed-length cell slice manner to provide a physically isolated communication pipe. Wherein, the channel bandwidth can be the following formula (1):
channel bandwidth (bit/s) = cell number per second (cell rate) × 192 × 8 (1)
In combination with practical requirements, the bandwidth of the communication pipe is at least 2Mbit/s and supports nx2M allocable.
Fig. 4 is an interaction schematic diagram of a data transmission method provided in an embodiment of the present application, where the interaction process relates to a first network element in an OTN and an intermediate network element connected to the first network element, for example, taking the system architecture shown in fig. 2 as an example, the first network element may be a network element 1, and the intermediate network element 2 connected to the first network element. As shown in fig. 4, the interaction process between the first network element in the OTN and the intermediate network element connected to the first network element includes:
s401, the first network element receives data to be transmitted, and the data to be transmitted is borne by an initial frame.
Fig. 5 is an exemplary diagram of an internal structure of each network element in the OTN, and as shown in fig. 5, the first network element and the end network element include a tributary board, a cross board, and a line board, and each intermediate network element includes a line board and a cross board. The branch single board may perform frame structure mapping, and the cross single board may select an exchange path matching the delay level according to the delay level of the data. The line board may receive data from a previous network element and/or send data to a next network element.
Optionally, in this step, the tributary board of the first network element receives an initial frame, and a format of the initial frame may be, for example, a frame format of the SDH, ATM, ethernet, SAN, or the like. After receiving the initial frame, the tributary board performs frame format mapping, and maps the initial frame to the frame format of the OTN, for example, the frame format illustrated in fig. 3.
S402, the first network element determines the time delay grade of the data according to the service type of the data to be transmitted.
Optionally, the branch board in the first network element may determine the delay level of the data.
The data of different service types have different requirements for the delay levels, and the first network element can select the delay level capable of meeting the service requirements for the data according to the service type of the data.
The specific process of the first network element determining the delay level of the data according to the service type of the data will be described in detail in the following embodiments.
And S403, the first network element selects a switching path matched with the delay grade of the data.
The interactive path refers to a switching path when data is transmitted inside the first network element.
As an alternative embodiment, four latency levels, 10us, 20us, 30us and 50us, may be defined in the OTN. Taking a delay level of 10us as an example, it indicates that when data of the delay level is transmitted, the delay needs to be less than or equal to 10us. For data with different delay level requirements, each network element in the OTN may select different switching paths. Fig. 6 is an exemplary diagram of the OTN network element selecting a switch path according to the delay levels, as shown in fig. 6, PR indicates priority (priority), H indicates high priority, and L indicates low priority. SP denotes priority-based scheduling (schedule of priority). The four delay levels are respectively the lowest delay level, the second delay level, the third delay level and the fourth delay level, wherein the priority of the lowest delay level is the highest, so that the switching path is the shortest, and the like, and the priority of the fourth delay level is the lowest, so that the switching path is the longest.
Optionally, after determining the delay level, the branch board of the first network element may send the delay level to the cross board, and the cross board selects the switch path matching the delay level of the data according to the foregoing manner.
And S404, the first network element transmits the data and the time delay grade of the data based on the exchange path matched with the time delay grade of the data.
Optionally, the transmitting data and the delay level of the data in this step are that, inside the first network element, the cross board transmits the data and the delay level to the line board according to an exchange path matched with the delay level of the data, and then the line board transmits the data and the delay level to an intermediate network element connected to the first network element.
Correspondingly, the intermediate network element receives the data to be transmitted and the delay grade 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 board.
Optionally, the first network element may use one frame to transmit data and delay level simultaneously, or may use different frames to transmit data and delay level respectively. The specific transfer process will be described in detail in the following examples.
S405, the intermediate network element transmits the data and the time delay grade of the data based on the exchange path matched with the time delay grade of the data.
Optionally, the data and the delay level may be transmitted by the cross board of the intermediate network element based on the switch path.
In a possible scenario, the intermediate network element does not belong to a terminal network element of the OTN, that is, the intermediate network element is further connected to a next intermediate network element or a terminal network element, and the data transmission and the delay level in this step may refer to that the cross board of the intermediate network element transmits the data and the delay level to the line board according to a switch path matched with the delay level of the data, and then the line board sends the data and the delay level to the next intermediate network element or the terminal network element connected to the intermediate network element.
In another possible scenario, the intermediate network element belongs to a terminal network element of the OTN, that is, the intermediate network element is no longer connected to another network element of the OTN, and the transmitting data and the delay level in this step may refer to that the cross board of the intermediate network element transmits the data and the delay level to the tributary board according to an exchange path matched with the delay level of the data, and then the tributary board performs frame format mapping on the data and then transmits the data.
In the embodiment of the 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 the data to the subsequent network element, so that the subsequent network element can directly select a path based on the delay level sent by the first network element without configuration through network management equipment and the like, and the complexity of configuration and maintenance of the delay level in the OTN is greatly reduced. In addition, because 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 correspondingly dynamically adjust the delay level of the data, and the flexibility of delay level configuration is greatly improved.
A specific method of transmitting data and the delay levels in the above steps S404 and S405 is explained below.
Optionally, the first network element and/or the middle network element may use one frame to transmit data and delay level simultaneously, or may use different frames to transmit data and delay level respectively. The following description is made separately.
First, a transmission method of a first network element is explained.
In a first alternative, the first network element uses the same frame to transmit data and delay level.
Alternatively, one frame of the transmission data and the delay level is referred to as a target frame.
In this optional manner, after receiving the initial frame carrying the data to be transmitted, the tributary board of the first network element may first determine the delay level of the data according to step S402, and then map the initial frame by the tributary board to obtain a target frame carrying the data, where a format of the target frame is different from a format of the initial frame, and a format of the target frame may be, for example, an OTN frame format shown in fig. 3, and then the tributary board may add the determined delay level to the target frame and send the target frame to the cross board. After receiving the target frame, the cross single board reads the time delay grade information from the target frame and selects an exchange path according to the time delay grade. The cross single board further sends the target frame to the line single board along the exchange path, and the line single board then sends the target frame to an intermediate network element connected with the first network element.
As an optional implementation manner, when the tributary board adds the delay level to the target frame, the delay level may be added to the service type identifier of the target frame, that is, the delay level may be carried by the service type identifier of the target frame.
Fig. 7 is an exemplary diagram of a cell structure of an OTN, and as shown in fig. 7, the cell structure of the OTN includes:
(1)、Common Head:
the general cell header, which is expressed by 4 bytes, is mainly used to define the general overhead of the OTN cell.
(2)、PT Specific Head:
The service type identifier (PTID) header is mainly used for bearing application difference brought by fixed bit rate (CBR) and VBR.
(3)、CRC8:
Represents the CRC8 checksum of a 6 byte cell header (common Head + PT Specific Head).
(4)、ESQ/Payload:
ESQ is a sequence number used for link bundling and lossless adjustment, indicating ESQ when EXT in Common Head field is 1, and padding Payload when EXT is 0.
(5)、Payload:
A traffic payload of 181 bytes.
In the embodiment of the present application, the number of bits of RES can be reserved for 3 bits of overhead for carrying the delay level, where the PT Specific Head has 2 bytes, that is, 16 bits, and the 9 th bit is an RES multiframe, which has 64 bits.
Specifically, the delay level occupies 3 bits of RES. Assuming that the OTN includes four delay levels, the four delay levels may be represented by numbers 1, 2, 3, and 4, respectively, and 4 extension numbers are reserved for subsequent use.
Alternatively, the cell shown in fig. 7 may be an OPU payload (OPU payload) slice in fig. 3.
By writing the delay grade into the target frame carrying the data, the intermediate network element can acquire the delay grade while receiving the data, and select the matched cross path to transmit the target frame according to the delay grade, thereby simplifying the processing complexity.
In a second alternative, the first network element transmits data and delay levels using different frames.
Alternatively, the frame for transmitting data is referred to as a data frame, and the frame for transmitting the delay level is referred to as a delay level frame.
In this optional manner, after receiving the initial frame carrying the data to be transmitted, the tributary board of the first network element may determine the delay level of the data according to the step S402 and add the delay level to the delay level frame, where the delay level frame may be a maintenance (OAM) message, and map the initial frame to obtain a data frame carrying the data, where the format of the data frame is different from that of the initial frame, and the format of the data frame may be, for example, the OTN frame format shown in fig. 3, where the tributary board determines the order of performing frame mapping processing on the delay level. Furthermore, the tributary board may send the delay level frame and the data frame to the cross board, respectively. After receiving the delay level frame and the data frame, the cross single board reads the delay level information from the delay level frame and selects an exchange path according to the delay level. The cross single board further sends the data frame and the time delay grade frame to the line single board along the exchange path, and the line single board then sends the data frame and the time delay grade frame to an intermediate network element connected with the first network element.
The transmission method of the intermediate network element is explained below.
In a first alternative, the intermediate network element uses the same frame for transmitting data and delay level.
This mode is used in conjunction with the first alternative mode of the first network element, and if the first network element uses the same frame transmission data and delay level, the intermediate network element correspondingly uses the same frame transmission data and delay level.
In this optional manner, after receiving the target frame, the line board of the intermediate network element sends the target frame to the cross board, and the cross board parses the delay level from the target frame and selects the switch path according to the delay level. If the intermediate network element is not the end network element of the OTN, the cross single board sends the target frame to the line single board along the exchange path, and the line single board sends the target frame to the next intermediate network element or the end network element connected with the intermediate network element. If the intermediate network element is the end network element of the OTN, the cross single board sends the target frame to the tributary single board along the exchange path, and the tributary single board maps the target frame and then sends the target frame to the next network or user side equipment and the like.
In a second alternative, the intermediate network element uses different frame transmission data and delay levels.
Alternatively, the frame for transmitting data is referred to as a data frame, and the frame for transmitting the delay level is referred to as a delay level frame.
If the first network element uses different frame transmission data and delay levels, the intermediate network element correspondingly uses different frame transmission data and delay levels.
In this optional manner, the line board of the intermediate network element receives a data frame carrying data to be transmitted and a delay level frame carrying a delay level. The line board may send the delay level frame and the data frame to the cross board, respectively. After receiving the delay level frame and the data frame, the cross single board reads the delay level information from the delay level frame and selects an exchange path according to the delay level. If the intermediate network element is not the end network element of the OTN, the cross single board sends the data frame and the delay level frame to the line single board along the exchange path, and the line single board sends the data frame and the delay level frame to the next intermediate network element or the end network element connected with the intermediate network element. If the intermediate network element is the end network element of the OTN, the cross board sends the data frame to the tributary board along the switch path, and the tributary board maps the data frame and then sends the mapped data frame to the next network or the user side device.
The following describes a process of determining, by the first network element, the delay level of the data according to the service type of the data to be transmitted in step S402.
In a first alternative, the first network element may identify a service type of the data according to a code stream of the data, and determine a delay level matching the service type of the data.
In this way, the first network element can identify the service type of the data by analyzing the characteristics of the data code stream, and automatically determine the delay level matched with the service type of the data based on the matching rule of the service type and the delay level.
Illustratively, after receiving the data code stream, the first network element identifies that the service type of the data is a video by analyzing the characteristics of the data code stream, and further, based on the matching rule of the service type and the delay, the first network element can obtain that the delay level of the video is the lowest delay level, and transmits the data according to the lowest delay level.
In a second alternative, the first network element may determine the delay level matched with the service type of the data according to a preset mapping relationship between the service type and the delay level.
Optionally, the mapping relationship between the service type and the delay level may be configured by the user on the network management device in advance. The first network element may obtain the mapping relationship from the network management device. After the first network element receives the data to be transmitted, the service type of the data can be determined first, and then the delay grade capable of being matched with the service type is found out according to the mapping relation.
Fig. 8 is a module structure diagram of a data transmission device according to an embodiment of the present application, where the device may be the first network element of the OTN, or may also be a device that enables the first network element to implement the function of the first network element in the method according to the embodiment of the present application, and for example, the device may be a device in the first network element or a chip system. As shown in fig. 8, the apparatus includes:
a receiving module 801, configured to receive data to be transmitted, where the data to be transmitted is carried by an initial frame.
A processing module 802, configured to determine a delay level of the data according to a service type of the data to be transmitted; and selecting a switch path matched with the delay level of the data; and transmitting the data and the delay level of the data based on the exchange path matched with the delay level of the data.
As an optional implementation, the processing module 802 is further configured to:
mapping the initial frame to obtain a target frame bearing the data, wherein 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.
As an optional implementation manner, the processing module 802 is specifically configured to:
and transmitting the target frame based on the switching path matched with the time delay grade of the data.
As an optional implementation manner, the delay level is carried by a service type identifier header of the target frame.
As an optional implementation manner, the processing module 802 is specifically configured to:
transmitting a data frame mapped by the initial frame based on the exchange path matched with the time delay grade of the data, wherein the data frame bears the data; and transmitting a delay level frame carrying the delay level based on the exchange path matched with the delay level of the data.
As an optional implementation manner, the processing module 802 is specifically configured to:
identifying the service type of the data according to the code stream of the data; and determining a delay level matched with the service type of the data.
As an optional implementation manner, the processing module 802 is specifically configured to:
and determining the delay grade matched with the service type of the data according to a preset mapping relation between the service type and the delay grade.
The data transmission device provided in the embodiment of the present application may perform the method steps in the foregoing method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
Fig. 9 is a block structure diagram of another data transmission device provided in this embodiment, where the device may be an intermediate network element of the OTN, or may also be a device that enables the intermediate network element to implement the function of the intermediate network element in the method provided in this embodiment, for example, the device may be a device in the intermediate network element or a chip system. As shown in fig. 9, the apparatus includes:
a receiving module 901, configured to receive data to be transmitted and a delay level of the data.
A processing module 902, configured to transmit the data and the latency class of the data based on a switch path matched with the latency class of the data.
As an optional implementation, the data and the latency 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.
As an optional implementation, the processing module 902 is specifically configured to:
and transmitting the target frame based on the switching path matched with the time delay grade 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 may perform the method steps in the foregoing method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
It should be noted that the division of the modules of the above apparatus is only a logical division, and the actual implementation may be wholly or partially integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the determining module may be a processing element separately set up, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the function of the determining module is called and executed by a processing element of the apparatus. The other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when some of the above modules are implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor that can call program code. As another example, these modules may be integrated together, implemented in the form of a system-on-a-chip (SOC).
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, 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 loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
Fig. 10 is a schematic structural diagram of a communication device according to an embodiment of the present application. Illustratively, the communication device may be a first network element of the OTN described in the foregoing embodiments. As shown in fig. 10, the communication device 1000 may include: a processor 101 (e.g., CPU), memory 102, transceiver 103; the transceiver 103 is coupled to the processor 101, and the processor 101 controls the transceiving action of the transceiver 103. Various instructions may be stored in the memory 102 for performing various processing functions and implementing the method steps performed by the first network element in the embodiments of the present application.
Optionally, the communication apparatus according to the embodiment of the present application may further include: a power supply 104, a system bus 105, and a communication port 106. The transceiver 103 may be integrated in a transceiver of the communication device or may be a separate transceiving antenna on the communication device. The system bus 105 is used to implement communication connections between the elements. The communication port 106 is used for realizing connection communication between the communication device and other peripherals.
In this embodiment of the present application, the processor 101 is configured to be coupled to the memory 102, and read and execute the instructions in the memory 102 to implement the method steps performed by the first network element in the above-described method embodiments. The transceiver 103 is coupled to the processor 101, and the processor 101 controls the transceiver 103 to perform message transceiving, which has similar implementation principles and technical effects, and is not described herein again.
The system bus mentioned in fig. 10 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The memory may comprise RAM, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor mentioned in fig. 10 may be a general-purpose processor, including a central processing unit CPU, a Network Processor (NP), and the like; but also a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
Fig. 11 is a schematic structural diagram of another communication device according to an embodiment of the present application. Illustratively, the communication device may be an intermediate network element of the OTN described in the foregoing embodiments. As shown in fig. 11, the communication apparatus 1100 may include: a processor 111 (e.g., CPU), memory 112, transceiver 113; the transceiver 113 is coupled to the processor 111, and the processor 111 controls the transceiving operation of the transceiver 113. Various instructions may be stored in the memory 112 for performing various processing functions and implementing the method steps performed by the intermediate network element in the embodiments of the present application.
Optionally, the communication apparatus according to the embodiment of the present application may further include: a power supply 114, a system bus 115, and a communication port 116. The transceiver 113 may be integrated in a transceiver of the communication device or may be a separate transceiving antenna on the communication device. The system bus 115 is used to implement communication connections between the elements. The communication port 116 is used for connection communication between the communication device and other peripheral devices.
In this embodiment of the present application, the processor 111 is configured to be coupled to the memory 112, and read and execute the instructions in the memory 112 to implement the method steps performed by the intermediate network element in the above embodiment of the method. The transceiver 113 is coupled to the processor 111, and the processor 111 controls the transceiver 113 to perform message transceiving, which is similar in implementation principle and technical effect and will not be described in detail herein.
The system bus mentioned in fig. 11 may be a PCI bus or an EISA bus, etc. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The memory may comprise RAM, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor referred to in this fig. 11 may be general purpose processors including CPU, NP, etc.; but also DSPs, application specific ASICs, FPGAs or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
Optionally, an embodiment of the present application further provides a readable storage medium, where instructions are stored in the storage medium, and when the instructions are executed on a computer, the computer is caused to execute the method according to the embodiment shown in fig. 4 to 7.
Optionally, an embodiment of the present application further provides a chip for executing the instruction, where the chip is configured to execute the method in the embodiment shown in fig. 4 to 7.
The embodiment of the present application further provides a program product, where the program product includes a computer program, where the computer program is stored in a storage medium, and the computer program can be read from the storage medium by at least one processor, and when the computer program is executed by the at least one processor, the method of the embodiment shown in fig. 4 to 7 can be implemented.
In the embodiments of the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a alone, A and B together, and B alone, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship; in the formula, the character "/" indicates that the preceding and succeeding related objects are in a relationship of "division". "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
It is to be understood that the various numerical references referred to in the embodiments of the present application are merely for convenience of description and distinction and are not intended to limit the scope of the embodiments of the present application.
It should be understood that, in the embodiment of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (24)

1. A data transmission method is applied to a first network element of an Optical Transport Network (OTN), wherein the first network element comprises a branch single board, a cross single board and a line single board; the branch single board performs frame structure mapping, the cross single board selects an exchange path matched with the delay grade according to the delay grade of the data, and the line single board receives the data from a previous network element and/or sends the data to a next network element; it is characterized by comprising:
receiving data to be transmitted, wherein the data to be transmitted is carried by an initial frame;
determining the time delay grade of the data according to the service type of the data to be transmitted;
selecting a switching path matched with the time delay grade of the data;
transmitting the data and the delay level of the data based on the exchange path matched with the delay level of the data;
determining the delay grade of the data according to the service type of the data to be transmitted, including:
identifying the service type of the data according to the code stream of the data;
determining a delay level matched with the service type of the data; or the like, or, alternatively,
and determining the delay grade matched with the service type of the data according to a preset mapping relation between the service type and the delay grade.
2. The method of claim 1, wherein the transmitting the data and the latency level of the data based on the switched path matching the latency level of the data further comprises:
mapping the initial frame to obtain a target frame bearing the data, wherein the format of the target frame is different from that of the initial frame;
and adding the delay grade of the data into the target frame.
3. The method of claim 2, wherein the transmitting the data and the latency level of the data based on the switched path matching the latency level of the data comprises:
and transmitting the target frame based on the switching path matched with the time delay grade of the data.
4. The method of claim 2 or 3, wherein the latency class is carried by a traffic type identifier header of the target frame.
5. The method of claim 1, wherein the transmitting the data and the latency level of the data based on the switched path matching the latency level of the data comprises:
transmitting a data frame mapped by the initial frame based on the exchange path matched with the time delay grade of the data, wherein the data frame bears the data;
and transmitting a delay level frame bearing the delay level based on the exchange path matched with the delay level of the data.
6. A data transmission method is applied to an intermediate network element of an Optical Transport Network (OTN), wherein the intermediate network element comprises a cross single board and a line single board; the cross single board selects an exchange path matched with the delay grade according to the delay grade of the data, and the line single board receives the data from a previous network element and/or sends the data to a next network element; it is characterized by comprising the following steps:
receiving data to be transmitted and the time delay grade of the data; the delay grade is determined by a first network element of an Optical Transport Network (OTN) according to the code stream of the data to be transmitted to identify the service type of the data or according to a preset mapping relation between the service type and the delay grade;
and transmitting the data and the delay level of the data based on a switching path matched with the delay level of the data.
7. The method of claim 6, wherein the data and the latency level of the data are carried by a target frame.
8. The method of claim 7, wherein the latency class is carried by a traffic type identifier header of the target frame.
9. The method of claim 7 or 8, wherein the transmitting the data and the latency level of the data based on the switch path matching the latency level of the data comprises:
and transmitting the target frame based on the switching path matched with the time delay grade of the data.
10. The method of claim 6, wherein the data is carried by a data frame and the latency class is carried by a latency class frame.
11. A data transmission device is arranged at a first network element of an Optical Transport Network (OTN), wherein the first network element comprises a branch single board, a cross single board and a line single board; the branch single board performs frame structure mapping, the cross single board selects a switching path matched with the delay grade according to the delay grade of the data, and the line single board receives the data from a previous network element and/or sends the data to a next network element; it is characterized by comprising:
the receiving module is used for receiving data to be transmitted, and the data to be transmitted is carried by an initial frame;
the processing module is used for determining the time delay grade of the data according to the service type of the data to be transmitted; and the number of the first and second groups,
selecting a switching path matched with the time delay grade of the data; and (c) a second step of,
transmitting the data and the delay level of the data based on the exchange path matched with the delay level of the data;
the processing module is specifically configured to:
identifying the service type of the data according to the code stream of the data, and determining the delay level matched with the service type of the data; alternatively, the first and second electrodes may be,
and determining the delay grade matched with the service type of the data according to a preset mapping relation between the service type and the delay grade.
12. The apparatus of claim 11, wherein the processing module is further configured to:
mapping the initial frame to obtain a target frame bearing the data, wherein the format of the target frame is different from that of the initial frame; and the number of the first and second groups,
and adding the delay grade of the data into the target frame.
13. The apparatus of claim 12, wherein the processing module is specifically configured to:
and transmitting the target frame based on the switching path matched with the time delay grade of the data.
14. The apparatus of claim 12 or 13, wherein the latency class is carried by a traffic type identifier header of the target frame.
15. The apparatus according to claim 11, wherein the processing module is specifically configured to:
transmitting a data frame mapped by the initial frame based on the exchange path matched with the delay level of the data, wherein the data frame bears the data; and the number of the first and second groups,
and transmitting a delay level frame bearing the delay level based on the exchange path matched with the delay level of the data.
16. A data transmission device is arranged in an intermediate network element of an Optical Transport Network (OTN), wherein the intermediate network element comprises a cross single board and a line single board; the cross single board selects an exchange path matched with the delay grade according to the delay grade of the data, and the line single board receives the data from a previous network element and/or sends the data to a next network element; it is characterized by comprising:
the receiving module is used for receiving the data to be transmitted and the time delay grade of the data; the delay grade is determined by a first network element of an Optical Transport Network (OTN) according to the service type of the data identified by the code stream of the data to be transmitted, or according to a preset mapping relation between the service type and the delay grade;
and the processing module is used for transmitting the data and the time delay grade of the data based on the exchange path matched with the time delay grade of the data.
17. The apparatus of claim 16, wherein the data and the latency level of the data are carried by a target frame.
18. The apparatus of claim 17, wherein the latency class is carried by a traffic type identifier header of the target frame.
19. The apparatus according to claim 17 or 18, wherein the processing module is specifically configured to:
and transmitting the target frame based on the switching path matched with the time delay grade of the data.
20. The apparatus of claim 16, wherein the data is carried by a data frame and the latency class is carried by a latency class frame.
21. A communications apparatus comprising a processor coupled to a memory, the memory storing a computer program, the processor being configured to execute the computer program stored in the memory to cause the apparatus to perform the method of any of claims 1 to 5.
22. A communication apparatus comprising a processor coupled to a memory, the memory storing a computer program, the processor being configured to execute the computer program stored in the memory to cause the apparatus to perform the method of any of claims 6 to 10.
23. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed, implements the method of any of claims 1 to 5 or any of claims 6-10.
24. A communication system comprising the communication apparatus of claim 21 and the communication apparatus of claim 22.
CN202010247603.7A 2020-03-31 2020-03-31 Data transmission method, device and communication device Active CN113473267B (en)

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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117527718A (en) * 2022-07-28 2024-02-06 中兴通讯股份有限公司 Time delay resource allocation method, electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
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 kind of binary channels Optical Transmission Network OTN 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

Also Published As

Publication number Publication date
CN113473267A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
RU2187898C2 (en) Method, device, and telecommunication system for generating data locations; method, device and telecommunication system for data burst conveying
CN110505161B (en) Message processing method and device
CN101277196B (en) Communication system, communication method and cable fastener plate based on PCIE switching network
JP2000503828A (en) Method and apparatus for switching data packets over a data network
HU216229B (en) Method and telecommunication network for establishing circuit switched calls
US7330481B2 (en) Highly channelized port polling in a telecommunications switch
US6490264B1 (en) Data transmission method and system
US11206216B2 (en) Flexible ethernet frame forwarding method and apparatus
CN113473267B (en) Data transmission method, device and communication device
CA2260255C (en) Addressable, high speed counter array
KR100745674B1 (en) Packet processing apparatus and method with multiple switching ports support structure and packet processing system using the same
CN113141322A (en) Data communication method, data communication device and computer storage medium
US8787770B2 (en) Transport apparatus
CN209151300U (en) A kind of T-type distribution Ethernet line concentrator
Greaves et al. The Cambridge backbone network an overview and preliminary performance
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
EP4236121A1 (en) Network synchronization method and apparatus, and device, system and readable storage medium
WO2024040884A1 (en) Service processing method, apparatus and system
CN116264590A (en) Service processing method, device and system
US7327752B1 (en) Method and apparatus of universal cross connect
KR100483546B1 (en) Apparatus and method of multicast switching by ATM cell copying
US7143185B1 (en) Method and apparatus for accessing external memories
CN117640791A (en) Service processing method, device and system
EP0369116B1 (en) TDM switching matrix controller
CN115987904A (en) Method and system for transmitting message by multiple networks in one interface based on time slot granularity

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