Method and apparatus for data transmission
By defining an indicator field in the overhead area of optical communication data frames to indicate the relationship between time slot status and service data, the overhead design problem in optical communication is solved, and the system transmission performance is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2022-11-22
- Publication Date
- 2026-05-29
AI Technical Summary
How to balance the overhead of normal transmission and bandwidth adjustment in the field of optical communication to improve system transmission performance.
By defining a first indicator field and a second indicator field in the overhead area of the data frame, the status of the first time slot and its association with the service data are indicated, simplifying the overhead design and ensuring that the correspondence between time slots and services is effectively transmitted in normal transmission and bandwidth adjustment scenarios.
Save costs, improve transmission performance, and ensure the effective correspondence between services and time slots in different application scenarios.
Smart Images

Figure CN120896665B_ABST
Abstract
Description
[0001] This application is a divisional application. The original application has the application number 202211469527.X and the original application date is November 22, 2022. The entire contents of the original application are incorporated herein by reference. Technical Field
[0002] This application relates to the field of optical communications, and more specifically, to a method and apparatus for data transmission. Background Technology
[0003] The optical service unit (OSU) is a high-quality leased line that can be used for different bandwidth levels. Based on the optical transport network (OTN), it has a flexible bandwidth channel for efficient carrying of metropolitan area networks and can achieve efficient carrying of services with granularity of 10 Mbit / s to 1 Gbit / s.
[0004] However, as the demand for dedicated line services increases, how to balance the overhead during normal transmission and bandwidth adjustments, and improve system transmission performance, is an urgent problem to be solved. Summary of the Invention
[0005] This application provides a data transmission method and apparatus that can simplify overhead design and improve system transmission performance.
[0006] Firstly, a method for data transmission is provided. This method can be executed by a transmitting device or by a component of the transmitting device (such as a chip or chip system), and this application does not limit this. The method includes: acquiring service data, mapping the service data into a data frame, and sending the data frame to a receiving device. The data frame includes an overhead area and a payload area. The overhead area includes a first indication field and a second indication field. The first indication field indicates the state of a first timeslot in the payload area, and the second indication field indicates the association between the first timeslot and the service data.
[0007] Based on the above scheme, by defining a first indicator field and a second indicator field in the overhead area of the data frame, and simultaneously indicating the status of the first time slot and the association between the first time slot and the service data, overhead can be saved and transmission performance can be improved. This ensures the effective transmission of the correspondence between services and time slots in different application scenarios, especially for normal transmission and bandwidth adjustment scenarios.
[0008] In conjunction with the first aspect, in some implementations of the first aspect, the association between the first time slot and the business data includes: the first time slot being in an idle state, indicating that the first time slot is not carrying business data, or the first time slot being occupied by business data, or the first time slot being configured to be added to carry business data, or the first time slot being configured to be deleted and not used to carry business data.
[0009] In conjunction with the first aspect, in some implementations of the first aspect, the first indicator field is located in the 4th row and 15th column of the overhead area of the data frame, and the second indicator field is located in the 4th row and 15th to 16th columns of the overhead area of the data frame.
[0010] In conjunction with the first aspect, in some implementations of the first aspect, the first time slot is 16 bytes, the first indicator field is 2 bits, and the second indicator field is 10 bits.
[0011] In conjunction with the first aspect, in some implementations of the first aspect, the overhead region further includes a first optical payload unit multiframe indicator, a second optical payload unit multiframe indicator, and a multiframe alignment signal, wherein the first time slot satisfies: TS = A*119 + B*6 + C. Wherein, TS is the first time slot, A is the first optical payload unit multiframe indicator, B is the second optical payload unit multiframe indicator, C is the multiframe alignment signal, B is an integer greater than or equal to 0 and less than or equal to 19, and C is an integer greater than or equal to 1 and less than or equal to 6.
[0012] In conjunction with the first aspect, in some implementations of the first aspect, the first optical payload unit multiframe indicator is 3 bits, the second optical payload unit multiframe indicator is 5 bits, and the multiframe alignment signal is 3 bits.
[0013] In conjunction with the first aspect, in some implementations of the first aspect, when the data frame includes optical payload unit 0 frames, the value of A is 0, the payload area includes N periods, each period includes time slots 1 to 119, and the first optical payload unit multiframe indicator is used to indicate time slots 1 to 119 in the first period of the fourth row of the payload area of the data frame.
[0014] In conjunction with the first aspect, in certain implementations of the first aspect, when the data frame includes a 2x rate optical payload unit 0 frame, the value of A is 0 or 1, and the payload area includes N periods, each period including time slots 1 to 238. Specifically, when the value of A is 0, the first optical payload unit multiframe indicates time slots 1 to 119 in the fourth row used to indicate the payload area of the data frame; when the value of A is 1, the first optical payload unit multiframe indicates time slots 120 to 238 in the fourth row used to indicate the payload area of the data frame.
[0015] Based on the above scheme, the association between the service carried by the current data frame and the time slot can be determined by the multiframe indication of the first optical payload unit, which corresponds to the 1st to 119th time slot or the 120th to 238th time slot.
[0016] In conjunction with the first aspect, in some implementations of the first aspect, the data frame is an optical transport network (OTN) frame.
[0017] Secondly, a method for data transmission is provided. This method can be performed by a receiving device or by a component of the receiving device (such as a chip or chip system), and this application does not limit this. The method includes: receiving a data frame and demapping service data from the data frame according to a first indication field and a second indication field.
[0018] Based on the above scheme, by defining a first indicator field and a second indicator field in the overhead area of the data frame, and simultaneously indicating the status of the first time slot and the association between the first time slot and the service data, overhead can be saved and transmission performance can be improved. This ensures the effective transmission of the correspondence between services and time slots in different application scenarios, especially for normal transmission and bandwidth adjustment scenarios.
[0019] In conjunction with the second aspect, in some implementations of the second aspect, the association between the first time slot and the business data includes: the first time slot being in an idle state, indicating that the first time slot is not carrying business data, or the first time slot being occupied by business data, or the first time slot being configured to be added to carry business data, or the first time slot being configured to be deleted and not used to carry business data.
[0020] In conjunction with the second aspect, in some implementations of the second aspect, the first indicator field is located in the 4th row and 15th column of the overhead area of the data frame, and the second indicator field is located in the 4th row and 15th to 16th columns of the overhead area of the data frame.
[0021] In conjunction with the second aspect, in some implementations of the second aspect, the first time slot is 16 bytes, the first indicator field is 2 bits, and the second indicator field is 10 bits.
[0022] In conjunction with the second aspect, in some implementations of the second aspect, the overhead region further includes a first optical payload unit multiframe indicator, a second optical payload unit multiframe indicator, and a multiframe alignment signal. The first time slot satisfies: TS = A*119 + B*6 + C. Where TS is the first time slot, A is the first optical payload unit multiframe indicator, B is the second optical payload unit multiframe indicator, C is the multiframe alignment signal, B is an integer greater than or equal to 0 and less than or equal to 19, and C is an integer greater than or equal to 1 and less than or equal to 6.
[0023] In conjunction with the second aspect, in some implementations of the second aspect, the first optical payload unit multiframe indicator is 3 bits, the second optical payload unit multiframe indicator is 5 bits, and the multiframe alignment signal is 3 bits.
[0024] In conjunction with the second aspect, in some implementations of the second aspect, when the data frame includes optical payload unit 0 frames, the value of A is 0, the payload area includes N periods, each period includes time slots 1 to 119, and the first optical payload unit multiframe indicator is used to indicate time slots 1 to 119 in the first period of the fourth row of the payload area of the data frame.
[0025] In conjunction with the second aspect, in some implementations of the second aspect, when the data frame includes a 2x rate optical payload unit 0 frame, the value of A is 0 or 1, and the payload area includes N periods, each period including time slots 1 to 238. Specifically, when the value of A is 0, the first optical payload unit multiframe indicates time slots 1 to 119 in the fourth row used to indicate the payload area of the data frame; when the value of A is 1, the first optical payload unit multiframe indicates time slots 120 to 238 in the fourth row used to indicate the payload area of the data frame.
[0026] Based on the above scheme, the association between the service carried by the current data frame and the time slot can be determined by the multiframe indication of the first optical payload unit, which corresponds to the 1st to 119th time slot or the 120th to 238th time slot.
[0027] In conjunction with the second aspect, in some implementations of the second aspect, the data frame is an Optical Transport Network (OTN) frame.
[0028] Thirdly, a data frame is provided. The data frame includes an overhead area and a payload area. The overhead area includes a first indicator field and a second indicator field. The first indicator field is used to indicate the status of a first timeslot in the payload area, and the second indicator field is used to indicate the association between the first timeslot and the service data.
[0029] In conjunction with the third aspect, in some implementations of the third aspect, the first indicator field is located in the 4th row and 15th column of the overhead area of the data frame, and the second indicator field is located in the 4th row and 15th to 16th columns of the overhead area of the data frame.
[0030] In conjunction with the third aspect, in some implementations of the third aspect, the first indicator field is 2 bits and the second indicator field is 10 bits.
[0031] In conjunction with the third aspect, in some implementations of the third aspect, the overhead area also includes a first optical payload unit multiframe indicator, a second optical payload unit multiframe indicator, and a multiframe alignment signal. The first optical payload unit multiframe indicator and the second optical payload unit multiframe indicator are located in the 4th row and 16th column of the overhead area of the data frame. The first optical payload unit multiframe indicator is 3 bits, the second optical payload unit multiframe indicator is 5 bits, and the multiframe alignment signal is 3 bits.
[0032] In conjunction with the third aspect, in some implementations of the third aspect, the data frame is an optical transport network (OTN) frame.
[0033] Fourthly, a data transmission apparatus is provided. This apparatus is used to perform the method provided in the first aspect. Specifically, the communication apparatus may include units and / or modules for performing the method provided in the first aspect or any of the above-described implementations of the first aspect.
[0034] In one implementation, the device is a transmitting end device. The transceiver can be a transceiver unit or an input / output interface. The processing module can be at least one processor. Optionally, the transceiver can be a transceiver circuit. Optionally, the input / output interface can be an input / output circuit.
[0035] In another implementation, the device is a chip, chip system, or circuit in the transmitting device. The transceiver module can be an input / output interface, interface circuit, output circuit, input circuit, pin, or related circuit on the chip, chip system, or circuit. The processing module can be at least one processor, processing circuit, or logic circuit.
[0036] The beneficial effects of the methods shown in the fourth aspect and its possible designs above can be referred to the beneficial effects in the first aspect and its possible designs.
[0037] Fifthly, a data transmission apparatus is provided. This apparatus is used to perform the method provided in the second aspect. Specifically, the communication apparatus may include units and / or modules for performing the method provided in the second aspect or any of the above-described implementations of the second aspect.
[0038] In one implementation, the device is a receiving end device. The transceiver can be a transceiver unit or an input / output interface. The processing module can be at least one processor. Optionally, the transceiver can be a transceiver circuit. Optionally, the input / output interface can be an input / output circuit.
[0039] In another implementation, the device is a chip, chip system, or circuit in the receiving device. The transceiver module can be an input / output interface, interface circuit, output circuit, input circuit, pin, or related circuit on the chip, chip system, or circuit. The processing module can be at least one processor, processing circuit, or logic circuit.
[0040] The beneficial effects of the methods shown in the fifth aspect above and its possible designs can be referred to the beneficial effects in the second aspect and its possible designs.
[0041] Sixthly, a processor is provided for performing the methods provided in the foregoing aspects. Unless otherwise specified, or if it does not contradict its actual function or internal logic in the relevant description, the transmission and acquisition / reception operations involved in the processor can be understood as processor output and reception, input, and other operations, or as transmission and reception operations performed by radio frequency circuits and antennas; this application does not limit these operations.
[0042] In a seventh aspect, a computer-readable storage medium is provided. This computer-readable storage medium stores program code for execution by a device, the program code including methods for performing any implementation of the first or second aspect described above.
[0043] Eighthly, a computer program product containing instructions is provided. When the computer program product is run on a computer, it causes the computer to perform the method provided by any implementation of the first or second aspect described above.
[0044] Ninthly, a chip is provided, comprising a processor and a communication interface. The processor reads instructions stored in memory through the communication interface and executes the method provided in any implementation of the first or second aspect described above.
[0045] Optionally, as one implementation, the chip also includes a memory storing computer programs or instructions, and a processor for executing the computer programs or instructions stored in the memory. When the computer programs or instructions are executed, the processor is used to execute the method provided by the second aspect or any implementation thereof.
[0046] In a tenth aspect, a communication system is provided, comprising: the data transmission apparatus described in the fourth aspect and the data transmission apparatus described in the fifth aspect. Attached Figure Description
[0047] Figure 1 This is a schematic diagram of a possible application scenario of an embodiment of this application.
[0048] Figure 2 This is a schematic diagram of a possible network device hardware structure.
[0049] Figure 3 This is a schematic diagram of the frame structure of an OTN frame.
[0050] Figure 4This is a schematic diagram of the frame structure of an OTN frame provided in an embodiment of this application.
[0051] Figure 5 This is a schematic diagram of the frame structure of an OPU0 multiframe provided in an embodiment of this application.
[0052] Figure 6 yes Figure 5 The diagram shows the byte division of the fourth row of the frame structure of the OPU0 multiframe.
[0053] Figure 7 This is a schematic diagram of the frame structure of an OPUflex multiframe provided in an embodiment of this application.
[0054] Figure 8 yes Figure 7 The diagram shows the byte division of the fourth row of the frame structure of the OPUflex multiframe.
[0055] Figure 9 This is a flowchart illustrating a data transmission method provided in an embodiment of this application.
[0056] Figure 10 This is a schematic diagram of a data transmission device provided in an embodiment of this application. Detailed Implementation
[0057] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0058] The embodiments of this application are applicable to optical networks, such as OTN. An OTN is typically composed of multiple devices connected by optical fibers, and can be configured into different topologies such as linear, ring, and mesh, depending on specific needs.
[0059] Figure 1 This is a schematic diagram illustrating a possible application scenario of an embodiment of this application. For example... Figure 1 As shown, OTN 100 includes eight interconnected OTN devices 101, also known as devices AH. 102 indicates an optical fiber used to connect two devices; 103 indicates a customer service interface used to receive or transmit customer service data. Figure 1 As shown, OTN 100 is used to transmit service data for customer equipment 1-3. The customer equipment connects to the OTN device through a customer service interface. For example, Figure 1 In the middle, customer equipment 1-3 are connected to OTN equipment A, H and F respectively.
[0060] Depending on the specific needs, an OTN device may possess different functions. Generally speaking, OTN devices are categorized into optical layer devices, electrical layer devices, and hybrid optoelectronic devices. Optical layer devices refer to those capable of processing optical layer signals, such as optical amplifiers (OA) and optical add-drop multiplexers (OADMs). OAs, also known as optical line amplifiers (OLAs), are primarily used to amplify optical signals to support longer transmission distances while maintaining specific optical signal performance. OADMs are used to spatially transform optical signals, allowing them to be output from different output ports (sometimes referred to as directions). Electrical layer devices refer to those capable of processing electrical layer signals, such as devices capable of processing OTN signals. Hybrid optoelectronic devices refer to devices capable of processing both optical and electrical layer signals. It should be noted that, depending on specific integration requirements, an OTN device can integrate multiple different functions. The technical solutions provided in this application are applicable to OTN devices with different forms and integration levels that include electrical layer functions.
[0061] It should be noted that the data frame structure used by the OTN device in this application embodiment is the OTN frame, which is used to carry various service data and provide rich management and monitoring functions. The OTN frame can be an Optical Data Unit frame (ODUk), ODUn, ODUflex, or an Optical Transport Unit frame (OTUk), OTUn, or a Flexible OTN (FlexO) frame, etc. The difference between an ODU frame and an OTU frame is that an OTU frame includes both the ODU frame and OTU overhead. k represents different rate levels; for example, k=1 represents 2.5Gbps, k=4 represents 100Gbps; Cn represents a variable rate, specifically a positive integer multiple of 100Gbps. Unless otherwise specified, an ODU frame refers to any one of ODUk, ODUn, or ODUflex, and an OTU frame refers to any one of OTUk, OTUn, or FlexO. It should also be noted that as OTN technology develops, new types of OTN frames may be defined, which will also apply to this application.
[0062] Figure 2 This is a schematic diagram of a possible network device hardware structure. For example, Figure 1This is one of the OTN devices AH in the diagram. Specifically, the OTN device 200 includes a tributary board 201, a cross-connect board 202, a line board 203, an optical layer processing board (not shown in the diagram), and a system control and communication board 204. It should be noted that the type and number of boards included in the network device may vary depending on specific needs. For example, a network device acting as a core node may not have a tributary board 201. Another example is a network device acting as an edge node, which may have multiple tributary boards 201 or no optical cross-connect board 202. Yet another example is a network device that only supports electrical layer functions may not have an optical layer processing board.
[0063] Tributary board 201, cross-connect board 202, and line board 203 are used to process OTN electrical layer signals (such as ODU frames in OTN). Tributary board 201 is used to receive and transmit various customer services, such as Synchronous Digital Hierarchy (SDH) services, packet services, Ethernet services, and fronthaul services. Further, tributary board 201 can be divided into a customer-side optical transceiver module and a signal processor. The customer-side optical transceiver module, also called an optical transceiver, is used to receive and / or transmit service data. The signal processor is used to perform mapping and demapping of service data to data frames. Cross-connect board 202 is used to implement data frame switching, completing the switching of one or more types of data frames. Line board 203 mainly implements line-side data frame processing. Specifically, line board 203 can be divided into a line-side optical module and a signal processor. The line-side optical module, also called an optical transceiver, is used to receive and / or transmit data frames. The signal processor is used to perform multiplexing and demultiplexing, or mapping and demapping, of data frames on the line side. The system control and communication board 204 is used to implement system control. Specifically, it can collect information from different boards or send control commands to the corresponding boards.
[0064] It should be noted that, unless otherwise specified, a specific component (such as a signal processor) may be one or more, and this application does not impose any restrictions. This application also does not impose any restrictions on the type of single board included in the device, or on the functional design and number of the single boards. It should also be noted that, in a specific implementation, the two single boards mentioned above may also be designed as a single board. Furthermore, network devices may also include backup power supplies, fans for device cooling, auxiliary boards for providing external alarms or accessing external clocks, etc.
[0065] To facilitate understanding of the embodiments of this application, the following points are provided.
[0066] First, in the embodiments of this application, the terms "first," "second," and various numerical designations used in the embodiments shown below are merely for descriptive convenience and are not intended to limit the scope of the embodiments of this application. The order of the process numbers below does not imply the order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0067] Second, the terms “comprising” and “having” and any variations thereof in the embodiments of this application shown below are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such processes, methods, products or devices.
[0068] Third, in the embodiments of this application, terms such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Embodiments or designs described as "exemplary" or "for example" should not be construed as being more preferred or advantageous than other embodiments or designs. The use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner for ease of understanding.
[0069] Fourth, in the embodiments of this application, "protocol" may refer to standard protocols in the OTN field, such as the ITU-T G.709 standard protocol and related protocols applied to future OTN systems. This application does not limit this.
[0070] Fifth, in the embodiments of this application, "used to indicate" includes direct indication and indirect indication. When describing information as being used to indicate A, it may include the information directly indicating A or indirectly indicating A, but does not necessarily mean that the information carries A.
[0071] Fifth, in the embodiments of this application, the character "*" is an operator symbol representing multiplication.
[0072] Sixth, in the embodiments of this application, an OTN frame (i.e., an example of a data frame) is used as an example for illustration, and should not be construed as limiting the technical solution of this application in any way. It should be understood that this application also applies to other OTN-bearing frames, or metrotransport network (MTN) frames, or as OTN and MTN technologies develop, new types of OTN and MTN frames may be defined.
[0073] With the advent of the fifth-generation fixed network (F5G) era, the demands for leased line services in different scenarios are becoming increasingly refined. For example, industry production networks and high-quality user terminals are experiencing a growing need for high-quality connections. These customer services are characterized by small bandwidth requirements and a large number of connections, necessitating simple and quick flexible bandwidth adjustments. Currently, different overheads are defined for normal transmission and lossless bandwidth adjustment scenarios, complicating bandwidth adjustment processes. For instance, payload structure indication (PSI) overhead identifies whether a time slot is occupied or occupied by each ODU pipeline; another example is the high-order resize control overhead (RCOH) defining the relationship between time slots and ODU pipelines for addition or deletion. Furthermore, as the carrying capacity of leased line services increases, with the number of time slots and services growing, continuing to define overhead using traditional methods will affect the efficiency of overhead utilization.
[0074] Therefore, how to balance overhead design during normal transmission and bandwidth adjustment to improve system transmission performance is an urgent problem to be solved. In view of this, the technical solution of this application provides a data transmission method and apparatus. By defining a first indicator field and a second indicator field in the overhead area of the data frame, the state of the first timeslot in the payload area of the data frame, as well as the association between the first timeslot and the service data, can be simultaneously indicated. This ensures that the correspondence between timeslots and services is effectively transmitted in both normal transmission and lossless bandwidth adjustment scenarios, saving overhead design costs and thus improving transmission performance.
[0075] Figure 3 This is a schematic diagram of the frame structure of an OTN frame. For example... Figure 3 As shown, the OTN frame has a single-byte structure of 4 rows * 3824 columns. The first 4 rows * 16 columns constitute the overhead area of the OTN frame, and the remaining bytes constitute the payload area. For other specific features of the OTN frame structure, please refer to the relevant descriptions in the current protocol.
[0076] based on Figure 3 The OTN frame shown Figure 4 This is a schematic diagram of the frame structure of an OTN frame provided in an embodiment of this application. Figure 4As shown, the frame structure of this OTN frame is divided into 4 rows * 3824 columns, with each row containing 3824 bytes. The first 4 rows * 14 columns constitute the OTU / ODU overhead area, the middle 4 rows * 2 columns (i.e., columns 15 and 16) constitute the OPU overhead area, and the last 4 rows * 3808 columns constitute the OPU payload area. For example, defining a 16-byte time slot block in this OPU payload area, and defining a 16-byte time slot block rate of approximately 10.4 Mbps, can achieve efficient transport of services with a granularity of 1238.95431 Mbit / s. The payload area is divided into 119 time slots, meaning the payload area represents a 4 rows * 238 columns 16-byte structure, for a total of 8 periods of 119 time slots. Therefore, in this embodiment, the payload area of an OTN frame can be divided into 8 periods, each period containing one period from time slot 1 to time slot 119.
[0077] in addition, Figure 4 The first three rows (6 bytes) of the OPU overhead area are defined as justification control (JC), used to indicate whether the time slot in a specific position of the fourth row of the OPU payload area carries data or padding. For example, if each bit of the first three rows of the OPU overhead area is defined as a JC, then there are 16 JCs in the OPU overhead area, corresponding to indicating whether the first 16 time slots in the first cycle of the fourth row carry data or padding. Bits 5 and 6 (2 bits) in the 15th column of the fourth row of the OPU overhead area are defined as the first indicator field, used to indicate the status of the first time slot in the OPU payload area. Bits 7 and 8 (15 bits) in the 15th column of the fourth row of the OPU overhead area, and bits 1 to 8 (10 bits) in the 16th column of the fourth row of the OPU overhead area, are defined as the second indicator field, used to indicate the association between the first time slot and the service data. It should be noted that this first time slot is a specific time slot in the fourth row of the OPU payload area; the method for determining the first time slot will be described in detail below and will not be explained here.
[0078] based on Figure 4 The OTN frame shown Figure 5 This is a schematic diagram of the frame structure of an OPU0 multiframe provided in an embodiment of this application. For example... Figure 5As shown, this OPU0 multiframe includes 8 OPU0 single frames. For example, the 6th to 8th bits of the multiframe alignment signal (MFAS), a total of 3 bits (000-111), indicate these 8 OPU0 single frames. The structure of each OPU0 single frame is 4 rows * 3824 columns. That is, the frame structure of this OPU0 multiframe is divided into 32 rows * 3824 columns, with each row including 3824 bytes. The first 32 rows * 14 columns are the OTU / ODU overhead area (not shown in the figure), the middle 32 rows * 2 columns, that is, the 15th and 16th columns are the OPU0 overhead area, and the last 32 rows * 3808 columns are the OPU0 payload area. For example, if a 16-byte time slot block is defined in the OPU0 payload area, and the rate of the 16-byte time slot block is defined to be approximately 10.4 Mbps, then the OPU0 payload area represents a 16-byte structure with 32 rows * 238 columns, comprising time slots 1 to 119 of 64 cycles. Therefore, in this embodiment, the payload area of an OPU0 multiframe can be divided into 64 cycles, each cycle containing one time slot from 1 to 119.
[0079] in addition, Figure 5The first three rows of each data frame in the overhead area (columns 15 and 16) shown represent JCs, resulting in a total of 119 JCs for this OPU0 multiframe, with each OPU0 single frame containing 16 JCs. Specifically, in the first OPU0 single frame, the fourth row of the overhead area includes the payload type (PT), the first optical multiple fame indicator (OMFI-1), and the second optical multiple fame indicator (OMFI-2). In each OPU0 single frame within this OPU0 multiframe, OMFI-1 is equal to 0, located in bits 1 to 3 of column 16 (3 bits total), and OMFI-2 is located in bits 4 to 8 of column 16 (5 bits total). In the second to seventh OPU0 single frames, the fourth row of the overhead area for each OPU0 single frame includes a first indicator field and a second indicator field. The first indicator field indicates the status of the first timeslot in the payload area of the corresponding OPU0 single frame, and the second indicator field indicates the association between the first timeslot and the service data. It should be understood that in the 2nd to 7th OPU0 frames, the first time slot is a specific time slot from the 1st to the 119th time slot in the first period of the 4th row of the payload area of the corresponding OPU0 frame. For example, in the 2nd OPU0 frame (corresponding to MFSI bit 001) marked in the figure, the first indicator field of the 4th row of the overhead area is used to indicate the status of the first time slot 1 in the 4th row of the payload area of this OPU0 frame, and the second indicator field is used to indicate the association between time slot 1 and service data. Similarly, in the 7th OPU0 frame (corresponding to MFSI bit 110), the first indicator field of the 4th row of the overhead area is used to indicate the status of the first time slot 6 in the 4th row of the payload area of this OPU0 frame, and the second indicator field is used to indicate the association between time slot 6 and service data (not shown in the figure). The meanings of the first and second indicator fields in other OPU0 frames are similar, and for the sake of simplicity, they will not be repeated here. In the 8th OPU0 single frame, the 4th line is used to transmit the cyclic redundancy check (CRC) code.
[0080] Therefore, based on the above definition, combined with Figure 5 It can be seen that a first indicator field can be sent through the overhead area of a single OPU0 frame, indicating the status of a time slot in the first cycle of the fourth row of the payload area of that OPU0 frame; and a second indicator field can be sent through the overhead area of that OPU0 frame, indicating the association between that time slot and the service data. In other words, Figure 5The eight OPU0 single frames shown can indicate the status of six first time slots and the association between the first time slot and the service data. Therefore, the transmitting device needs to send at least 20 OPU0 single frames to indicate 119 time slots at specific positions in the 32 periods (marked in the figure) of the payload area of the OPU0 multiframe.
[0081] It should be noted that, in Figure 5 In the OPU0 multiframe shown, the first three rows of time slots in the payload area of each OPU0 single frame can be understood as being used for normal service data transmission. Certain specific time slots in the fourth row can be used to determine their correspondence with service data during bandwidth adjustment, based on the meanings of the first and second indicator fields. For example, the payload areas of the 1st and 8th OPU0 single frames can be used for normal service data transmission; the first time slot 1 in the fourth row of the payload area of the 2nd OPU0 single frame can be used for bandwidth adjustment; the first time slot 2 in the fourth row of the payload area of the 3rd OPU0 single frame can be used for bandwidth adjustment; and so on, with the first time slot 6 in the fourth row of the payload area of the 7th OPU0 single frame being used for bandwidth adjustment. Therefore, based on the above scheme, both normal service data transmission and bandwidth adjustment scenarios can be considered, simplifying overhead design and ensuring the reliability of system transmission performance.
[0082] Next, based on Figure 5 The structure of the OPU0 multiframe shown, combined with Figure 6 The document provides a detailed explanation of the status of the first time slot indicated by the first indication field, the association between the first time slot indicated by the second indication field and the business data, and the method for determining the first time slot.
[0083] Figure 6 yes Figure 5 The diagram shows the byte division of the fourth row of the frame structure of the OPU0 multiframe. Figure 6 The diagram shows the format content consisting of the overhead of 20 eight-frame rows 4 in columns 15 and 16 of the overhead area of the OPU0 multiframe. The value of OMFI-1 is 0, indicating... Figure 5 The 119 time slots at specific locations within the 32 cycles shown, for example, time slot 1 in the 4th row of the payload area of the 2nd OPU0 single frame (e.g.) Figure 6 The marked dashed box corresponds to Figure 5 The dashed box indicating the overhead area, and Figure 5The timeslot 1 marked in the payload area is shown, followed by timeslot 2 in the fourth row of the payload area of the third OPU0 frame, and so on, up to timeslot 119 in the fourth row of the payload area of the 158th OPU0 frame. The value of OMFI-2 is an integer from 0 to 19, corresponding to 20 8-frames. In this embodiment, the first indication field is defined as the control CTRL field, which includes 2 bits, and the second indication field is defined as the tributary port identifier, also known as the tag protocol identifier (TPID) field, which includes 10 bits.
[0084] For example, the 2 bits of the CTRL field are 00, 01, 10, and 11 respectively. Combining the mapping relationship between the first time slot indicated by the TPID field and the service data, when the CTRL field is 00, it indicates that the first time slot is idle. This can be understood as the first time slot not being occupied by any service data, meaning that the service data carried in the aforementioned data frame also does not occupy the first time slot. Therefore, the service data corresponding to the TPID will not occupy the first time slot. Thus, when the receiving device determines that the first time slot is idle based on the CTRL field, it does not need to further decode the TPID field. When the CTRL field is 01, it indicates that the first time slot is occupied. This can be understood as the service data corresponding to the TPID occupying the first time slot; or, when the CTRL field is 01, it indicates that the first time slot is normal. This can be understood as the service data corresponding to the TPID being transmitted normally in the first time slot. When the CTRL field is 10, it indicates that the first time slot is in the "to be added" state. This can be understood as the first time slot being added during bandwidth adjustment to carry the service data corresponding to the TPID. When the CTRL field is 11, it indicates that the first time slot is in the "to be removed" state. This can be understood as the first time slot being removed during bandwidth adjustment and not being used to carry the service data corresponding to the TPID. The bit sizes of the CTRL and TPID fields, and the time slot states corresponding to different bits, are merely examples for ease of understanding and should not be construed as limiting the technical solution of this application.
[0085] Specifically, the first time slot satisfies:
[0086] TS=A*119+B*6+C; (1)
[0087] In this context, TS is the first time slot, A is OMFI-1, B is OMFI-2, and C is MFAS.
[0088] For example, such as Figure 6 The overhead of the fourth row of the first 8 frames shown corresponds to... Figure 5The overhead is shown in the fourth row of the eight data frames. Here, OMFI-1 equals 0, OMFI-2 equals 0, and the 3 bits of MFAS are 000 to 111 respectively. For example, when the number of bits in MFAS is 001, it corresponds to... Figure 5 The second data frame shown, calculated according to formula (1), indicates that the CTRL and TPID fields in the fourth row correspond to the state of TS#1 (i.e., the first time slot), and the relationship between TS#1 and service data. Assuming the CTRL field is 10, it indicates that TS#1 (i.e., the first time slot)... Figure 5 The first time slot (1) in the first period of the fourth row of the OPU0 payload area of the second data frame shown will be increased during bandwidth adjustment, meaning that the service data corresponding to TS#1 will occupy TS#1 for transmission. For example, when the number of bits in MFAS is equal to 101, the corresponding... Figure 5 The 6th data frame shown, calculated according to formula (1), indicates that the CTRL and TPID fields in the 4th row correspond to the status of TS#5 (i.e., the first time slot), and the relationship between TS#5 and service data. Assuming the CTRL field is 11, it indicates that TS#5 (i.e., the first time slot)... Figure 5 The first time slot (5) in the first period of the fourth row of the OPU0 payload area of the fifth data frame shown will be deleted during bandwidth adjustment, meaning that the service data corresponding to TS#5 will not occupy TS#5 for transmission. Similarly, Figure 6 The overhead of the fourth line of the other OPU0 frames shown above, following the indication method of the CTRL and TPID fields in the example above, indicates the status of the first time slot at a specific location in the OPU0 payload area and its mapping relationship with the service data. For the sake of brevity, it will not be described again here.
[0089] Based on the above scheme, by defining a first indicator field and a second indicator field in the OPU overhead area, and simultaneously indicating the status of the first time slot and its association with service data, the overhead design can be simplified and the overhead can be saved. In particular, for scenarios of normal transmission and bandwidth adjustment, the effective transmission of the correspondence between services and time slots can be guaranteed.
[0090] based on Figure 4 The OTN frame shown Figure 7 This is a schematic diagram of a frame structure for a 2*OPU0 multiframe provided in an embodiment of this application. For example... Figure 7 As shown, this 2*OPU0 multiframe is Figure 5The OPU0 multiframe shown is at twice the rate. This 2*OPU0 multiframe consists of 16 OPU0 single frames, for example, indicated by bits 000-111 of two rounds of MFAS. Each OPU0 single frame has a structure of 4 rows * 3824 columns. That is, the frame structure of this 2*OPU0 multiframe is divided into 64 rows * 3824 columns, of which the first 64 rows * 14 columns are the OTU / ODU overhead area (not shown in the figure), the middle 64 rows * 2 columns, that is, the 15th and 16th columns are the 2*OPU0 overhead area, and the last 32 rows * 3808 columns are the 2*OPU0 payload area. For example, if a 16-byte time slot block is defined within the 2*OPU0 payload area, and the rate of the 16-byte time slot block is defined to be approximately 10.4 Mbps, then the 2*OPU0 payload area represents a 16-byte structure with 64 rows * 238 columns, comprising the 1st to 238th time slots of 64 cycles. Therefore, in this embodiment, the payload area of a 2*OPU0 multiframe can be divided into 64 cycles, each cycle containing one time slot from the 1st to the 238th.
[0091] in addition, Figure 7The first three rows of each data frame in the overhead area (columns 15 and 16) shown represent JCs, resulting in a total of 238 JCs for this 2*OPU0 multiframe, with each OPU0 single frame including 16 JCs. Specifically, in the 1st and 9th OPU0 single frames, the 4th row of the overhead area includes PT, OMFI-1, and OMFI-2. OMFI-1 is located in bits 1 to 3 of column 16, totaling 3 bits, while OMFI-2 is located in bits 4 to 8 of column 16, totaling 5 bits. OMFI-1 = 0 for the 1st to 8th OPU0 single frames, and OMFI-1 = 1 for the 9th to 16th OPU0 single frames. In the 2nd to 7th and 10th to 15th OPU0 single frames, the 4th row of the overhead area for each OPU0 single frame includes a first indicator field and a second indicator field. The first indicator field indicates the status of the first timeslot in the payload area of the corresponding OPU0 single frame, and the second indicator field indicates the association between the first timeslot and the service data. It should be understood that in the 2nd to 7th OPU0 single frames, the first time slot is a specific time slot among the 1st to 119th time slots in the 4th row of the payload area of the corresponding OPU0 single frame. In the 10th to 15th OPU0 single frames, the first time slot is a specific time slot among the 120th to 238th time slots in the 4th row of the payload area of the corresponding OPU0 single frame. For example, in the 2nd OPU0 single frame marked in the figure (the bit corresponding to MFSI is 001), the first indicator field in the 4th row of the overhead area is used to indicate the status of time slot 1 in the 4th row of the payload area of the OPU0 single frame, and the second indicator field is used to indicate the association relationship between time slot 1 and service data. For example, in the 10th OPU0 frame (corresponding to MFSI bit 001) marked in the diagram, the first indicator field in the 4th row of the overhead area indicates the status of time slot 120 in the 4th row of the payload area of this OPU0 frame, and the second indicator field indicates the association between time slot 120 and the service data. The meanings of the first and second indicator fields in other OPU0 frames are similar, and for simplicity, they will not be repeated here. In the 8th and 16th OPU0 frames, the 4th row is used to transmit CRC.
[0092] Therefore, based on the above definition, combined with Figure 6 It is known that the transmitting device needs to send at least 40 OPU0 single frames to indicate the status of 238 time slots at a specific location in the payload area of the 2*OPU0 multiframe, as well as the association between the time slots and the service data. For example, the first 20 OPU0 single frames are used to indicate time slots 1 to 119 at a specific location in the left dashed box, and the last 20 OPU0 single frames are used to indicate time slots 120 to 238 at a specific location in the right dashed box.
[0093] Next, based on Figure 7 The structure of the 2*OPU0 multiframe shown, combined with Figure 8The status of the first time slot indicated by the first indication field and the relationship between the first time slot indicated by the second indication field and the business data are explained in detail.
[0094] Figure 8 yes Figure 7 The diagram shows the byte division of the fourth row of the frame structure for a 2*OPU0 multiframe. Figure 8 The diagram shows the format content consisting of the overhead of 40 eight-frame rows in the overhead area of columns 15 and 16 of a 2*OPU0 multiframe. The OMFI-1 value of the first 20 OPU0 single frames is 0, indicating... Figure 7 The first to 119th time slots are located at specific positions within the left dashed box in the payload area shown. For example, time slot 1 in the 4th row of the payload area of the 2nd OPU0 single frame (e.g.) Figure 8 The first dashed box marked corresponds to Figure 7 The first dashed box of the overhead area shown, and Figure 7 The time slot marked as "Pay Zone 1" is shown below. The indication method for other time slots is similar and will not be repeated for simplicity. The OMFI-1 value for the last 20 OPU0 frames is 1, used to indicate... Figure 7 The 120th to 238th time slots at specific locations within the right dashed box in the payload area shown, for example, time slot 120 in the 4th row of the payload area of the 22nd OPU0 single frame (as shown). Figure 8 The second dashed box marked corresponds to Figure 7 The second dashed box in the overhead area shown, and Figure 7 The time slot 120 marked in the payload area is shown. The indication method for other time slots is similar and will not be repeated for simplicity. OMFI-2 takes the value of an integer from 0 to 19. Similarly, the first indication field is defined as the CTRL field, and the second indication field is defined as the TPID field. The indication meanings of the CTRL and TPID fields can be found above. Figure 6 The relevant descriptions can be found above. Additionally, the method for determining the first time slot can also be referenced above. Figure 6 The relevant descriptions are in the [reference needed]. For the sake of brevity, they will not be repeated here.
[0095] Based on the above scheme, by defining a first indicator field and a second indicator field in the OPU overhead area, and simultaneously indicating the status of the first time slot and its association with service data, the overhead design can be simplified and the overhead can be saved. In particular, for scenarios of normal transmission and bandwidth adjustment, the effective transmission of the correspondence between services and time slots can be guaranteed.
[0096] It should be noted that the above Figure 7 and Figure 8The OPUflex example shown is based on twice the OPU0 rate (i.e., dividing the OPU payload area into time slots with a granularity of 10.4M, corresponding to a time slot rate of 1238.95431 Mbit / s). Optionally, OPUflex can also be an OPU frame with other different rates, which is not specifically limited in this application.
[0097] It should also be noted that the above Figures 4 to 8 The frame structure shown is illustrated using a 16-byte time slot block as an example. Optionally, the frame structure of this embodiment can also divide the time slots into 8-byte blocks. When dividing the time slots into 8-byte blocks, each cycle in the OPU payload area includes 238 time slots. In this case, the JC overhead in the OPU overhead area is 238. The transmitting device needs to send at least 40 8-frames carrying a first indication field and a second indication field to indicate the status of a time slot at a specific location in the payload area, as well as the mapping relationship between that time slot and the service data. Alternatively, each cycle in the OPU payload area includes 476 time slots, and so on. In this case, the JC overhead in the OPU overhead area is 476, and 80 8-frames are needed to carry a first indication field and a second indication field to indicate the status of a time slot at a specific location in the OPU payload area, as well as the mapping relationship between that time slot and the service data. The indication method of the first and second indication fields, and the method of determining the time slot at a specific location, can be referred to the above. Figures 5 to 8 For the sake of brevity, the relevant descriptions will not be repeated here.
[0098] Figure 9 This is a flowchart illustrating a data transmission method 900 provided in an embodiment of this application. Figure 9 As shown, the transmitting device can be an OTN device, or it can be performed by a component of an OTN device (such as a chip or chip system). The receiving device can be an OTN device, or it can be performed by a component of an OTN device (such as a chip or chip system). Specifically, the method 900 includes the following steps.
[0099] S910, the sending device acquires service data.
[0100] For example, service data refers to services carried by an optical transport network or a metropolitan area transport network. These include, but are not limited to, Ethernet services, packet services, and wireless backhaul services. Service data can also be referred to as service signals, customer data, or customer service data. It should be understood that the type of service data is not limited in this embodiment.
[0101] In this embodiment of the application, the transmitting device can be the aforementioned OTN device (such as...). Figure 1 The OTN device A shown in the figure, from the customer device (such as Figure 1The client device shown receives service data. Alternatively, the sending device can be any other device capable of implementing an OTN device. The specific form of the sending device is not limited in this application embodiment, as long as it can perform the corresponding communication function. It should be understood that a device can be called a node or node device, and a sending device can be called a sending node, sending end, or source node. Similarly, a receiving device can be called a receiving end device, receiving end, or destination node.
[0102] In S920, the sending device maps service data into data frames.
[0103] For example, the sending device can map service data to the above-mentioned Figure 4 , Figure 5 or Figure 7 In the aforementioned data frame.
[0104] S930, the transmitting device sends a data frame to the receiving device.
[0105] Correspondingly, the receiving device receives data frames from the sending device.
[0106] For example, the sending device can directly send data frames (such as OTN) to the receiving device, or it can encapsulate the data frames into a bearer container ODU frame and then send the ODU frame to the receiving device. This application does not specifically limit this.
[0107] S940, the receiving device demaps the service data from the data frame according to the first indication field and the second indication field.
[0108] It should be noted that the embodiments of this application do not limit the implementation method of how the receiving device demaps the service data from the received data frame. You can refer to the description of demapping in the relevant technologies.
[0109] For example, the receiving device can determine the state of a time slot at a specific position in the fourth row of the payload area of the data frame, and the relationship between that time slot and the service data, based on the first indicator field and the second indicator field in the overhead area of the data frame. For instance, in the overhead area of a data frame sent by the transmitting device, MFAS equals 3 (corresponding to bit 011), OMFI-1 = 1, OMFI-2 = 0 (corresponding to...). Figure 8The 4th data frame in the 21st 8-frame shown has a first indicator field corresponding to bit 10. The receiving device can determine the first time slot as TS#122 according to the above formula (1), which is the 122nd time slot in the 4th row of the payload area of the data frame. It can also determine the service corresponding to the TPID based on TS#122, and determine that TS#122 will be deleted during bandwidth adjustment and will not be used to carry the service data. The scheme disclosed in this application provides a common overhead design for normal transmission and lossless bandwidth adjustment, which can save overhead and improve transmission performance.
[0110] It should be understood that, in the embodiments of this application Figures 4 to 9 The specific examples shown are only intended to help those skilled in the art better understand the embodiments of this application, and are not intended to limit the scope of the embodiments of this application.
[0111] It should also be understood that, in the various embodiments of this application, unless otherwise specified or in case of logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced by each other, and the technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.
[0112] It should also be understood that in some of the above embodiments, the examples are mainly based on devices in existing network architectures (such as OTN devices), and this application does not limit the specific form of the devices in the embodiments. For example, any device that can achieve the same function in the future is applicable to this application.
[0113] The above, combined with Figures 4 to 9 The data transmission method provided in the embodiments of this application is described in detail. The above data transmission method is mainly described from the perspective of the interaction between the receiving device and the sending device. It is understood that, in order to achieve the above functions, the receiving device and the sending device include corresponding hardware structures and / or software modules for performing each function.
[0114] The following, combined with Figure 10 This application provides a detailed description of the data transmission apparatus provided in the embodiments. It should be understood that the descriptions of the apparatus embodiments correspond to the descriptions of the method embodiments; therefore, any content not described in detail can be found in the above method embodiments. For brevity, some content is omitted.
[0115] This application embodiment can divide the transmitting or receiving device into functional modules according to the above method examples. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation. The following description uses the division of functional modules according to each function as an example.
[0116] Figure 10 This is a schematic diagram of a data transmission device provided in an embodiment of this application. Figure 10 As shown, the device 1000 includes a processor 1001, a transceiver 1002, and a memory 1003. The memory 1003 is optional. The device 1000 can be applied to both transmitting-side devices (e.g., the transmitting end device described above) and receiving-side devices (e.g., the receiving end device described above).
[0117] When applied to a transmitting device, the processor 1001 and transceiver 1002 are used to implement... Figure 9 The method performed by the transmitting device shown in the figures. In implementation, each step of the processing flow can be accomplished by integrated logic circuitry in the hardware of the processor 1001 or by instructions in software form. The transceiver 1002 is used to receive data frames for transmission to the peer device (also referred to as the receiving device).
[0118] When applied to a receiving device, the processor 1001 and transceiver 1002 are used to implement... Figure 9 The method executed by the receiving device shown is illustrated. In implementation, each step of the processing flow can be accomplished by integrated logic circuitry in the hardware of the processor 1001 or by software instructions. The transceiver 1002 is used to receive data frames sent by the peer device (also called the sending device) and then forward them to the processor 1001 for further processing.
[0119] Memory 1003 is used to store instructions so that processor 1001 can perform the steps mentioned in the above figure. Alternatively, memory 1003 may also be used to store other instructions to configure parameters of processor 1001 to achieve corresponding functions.
[0120] It should be noted that the processor 1001 and the memory 1003 are in Figure 2In the network device hardware structure diagram, the processor 1001 may be located in a tributary board, or it may be located in a single board that combines tributary and line circuitry. Alternatively, multiple processors 1001 and memory 1003 may be included, located on the tributary board and line circuitry board respectively, with the two boards working together to complete the aforementioned method steps.
[0121] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the scope of the embodiments of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims of this application and their equivalents, this application also intends to include these modifications and variations.
[0122] It should be understood that the processor mentioned in the embodiments of this application can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0123] It should also be understood that the memory mentioned in the embodiments of this application can be volatile memory and / or non-volatile memory. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM). For example, RAM can be used as an external cache. By way of example and not limitation, RAM can include a variety of forms, such as: static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0124] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, the memory (storage module) can be integrated into the processor.
[0125] As will be apparent to those skilled in the art, the units and steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented using electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, and such implementations should be considered within the scope of protection of this application.
[0126] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of apparatus or units may be electrical, mechanical, or other forms.
[0127] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to implement the solution provided in this application, depending on actual needs. Furthermore, the functional units in the various embodiments of this application may be integrated into one unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0128] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. For example, the computer can be a personal computer, a server, or a network device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, an optical medium, or a semiconductor medium. For example, the aforementioned available media can include, but is not limited to, various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory, random access memory, magnetic disks, or optical disks.
[0129] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for transmitting a data frame, characterized in that, include: Generate a data frame, the data frame including an overhead area and a payload area, the overhead area including a first indicator field and a tributary port identifier, the first indicator field being used to indicate the status of a first timeslot in the payload area, and the tributary port identifier being located in the 4th row and 15th to 16th columns of the overhead area of the data frame; When the first time slot is in the state of pending addition, the first time slot is added during bandwidth adjustment and used to carry the service data indicated by the tributary port identifier; When the first time slot is in the state of pending deletion, the first time slot is deleted during bandwidth adjustment; When the first time slot is occupied, the first time slot is occupied by the service data indicated by the tributary port identifier; Send the data frame.
2. The method according to claim 1, characterized in that, The first indication field is located in the fourth row of the overhead area of the data frame.
3. The method according to claim 1 or 2, characterized in that, The first indication field is 2 bits, and the tributary port identifier is 10 bits.
4. The method according to any one of claims 1 to 3, characterized in that, The first time slot corresponds to 16 bytes.
5. The method according to any one of claims 1 to 4, characterized in that, The rate of the first time slot is 10.4M.
6. The method according to any one of claims 1 to 5, characterized in that, The data frame is an OTN (Optical Transport Network) frame.
7. A method for receiving data frames, characterized in that, include: A data frame is received, the data frame including an overhead area and a payload area, the overhead area including a first indicator field and a tributary port identifier, the first indicator field being used to indicate the status of a first timeslot in the payload area, and the tributary port identifier being located in the 4th row and 15th to 16th columns of the overhead area of the data frame; When the first time slot is in the state of pending addition, the first time slot is added during bandwidth adjustment and used to carry the service data indicated by the tributary port identifier; When the first time slot is in the state of pending deletion, the first time slot is deleted during bandwidth adjustment; When the first time slot is occupied, the first time slot is occupied by the service data indicated by the tributary port identifier.
8. The method according to claim 7, characterized in that, The first indication field is located in the fourth row of the overhead area of the data frame.
9. The method according to claim 7 or 8, characterized in that, The first indication field is 2 bits, and the tributary port identifier is 10 bits.
10. The method according to any one of claims 7 to 9, characterized in that, The first time slot corresponds to 16 bytes.
11. The method according to any one of claims 7 to 10, characterized in that, The rate of the first time slot is 10.4M.
12. The method according to any one of claims 7 to 11, characterized in that, The data frame is an OTN (Optical Transport Network) frame.
13. A data transmission apparatus, characterized in that, include: A module for performing the method as described in any one of claims 1 to 6, or a module for performing the method as described in any one of claims 7 to 12.