WO2021103640A1 - 数据传输方法、装置、终端设备和存储介质 - Google Patents

数据传输方法、装置、终端设备和存储介质 Download PDF

Info

Publication number
WO2021103640A1
WO2021103640A1 PCT/CN2020/107288 CN2020107288W WO2021103640A1 WO 2021103640 A1 WO2021103640 A1 WO 2021103640A1 CN 2020107288 W CN2020107288 W CN 2020107288W WO 2021103640 A1 WO2021103640 A1 WO 2021103640A1
Authority
WO
WIPO (PCT)
Prior art keywords
basic unit
data
customer data
opu
mapping
Prior art date
Application number
PCT/CN2020/107288
Other languages
English (en)
French (fr)
Inventor
刘峰
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP20891471.3A priority Critical patent/EP4040707A4/en
Priority to US17/770,024 priority patent/US20220393787A1/en
Publication of WO2021103640A1 publication Critical patent/WO2021103640A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • H04J3/1658Optical Transport Network [OTN] carrying packets or ATM cells
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/20Arrangements for detecting or preventing errors in the information received using signal quality detector
    • H04L1/203Details of error rate determination, e.g. BER, FER or WER

Definitions

  • This application relates to the field of communications, for example, to a data transmission method, device, terminal device, and storage medium.
  • the backbone layer of the communication network adopts optical transport network (optical transport network, OTN) technology to carry customer services, and defines containers of various rates from 1.25G to 40G to carry customers of corresponding rates.
  • OTN optical transport network
  • the original carrier container defined by OTN includes 1.25G, 2.5G, 10G, 40G and other speeds, suitable for customers with speeds above 1.25G.
  • customer data that is low-rate data such as various customer services with a rate less than 1.25G
  • a customer service can be transmitted on a 1.25G container to maintain the transmission quality.
  • only one low-rate service is transmitted on a 1.25G container, the transmission efficiency is very low, and there is a serious bandwidth waste problem.
  • This application provides a data transmission method, device, terminal device, and storage medium.
  • An embodiment of the present application provides a data transmission method, including:
  • the rate of the customer data is less than a set value, the set value is determined according to the rate of the carrier container of the OTN frame of the optical transport network, and the basic unit is a basic unit included in a set of basic units;
  • the basic unit set mapping the client data is sent through the OTN frame.
  • the embodiment of the present application also provides a data transmission method, including:
  • the customer data is extracted from the basic unit.
  • the basic unit includes the basic unit that carries the customer data.
  • the rate of the customer data is less than a set value.
  • the set value is based on the carrier container of the OTN frame of the optical transport network. The rate is determined.
  • An embodiment of the present application also provides a data transmission device, including:
  • the determining module is configured to determine the basic unit that carries customer data, the rate of the customer data is less than a set value, the set value is determined according to the rate of the carrier container of the OTN frame of the optical transport network, and the basic unit is a basic unit set The basic units included;
  • a mapping module configured to map the customer data to the basic unit
  • the sending module is configured to send the basic unit set mapping the client data through the OTN frame.
  • An embodiment of the present application also provides a data transmission device, including:
  • the receiving module is set to receive OTN frames
  • the restoration module is configured to restore the basic unit set from the OTN frame
  • the extraction module is configured to extract customer data from the basic unit, the basic unit includes the basic unit carrying the customer data, the rate of the customer data is less than a set value, the set value is based on the optical transport network The rate of the carrier container of the OTN frame is determined.
  • An embodiment of the present application also provides a terminal device, including:
  • One or more processors are One or more processors;
  • Storage device for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement any data transmission method as in the embodiments of the present application.
  • An embodiment of the present application also provides a storage medium that stores a computer program, and when the computer program is executed by a processor, any data transmission method in the embodiments of the present application is implemented.
  • FIG. 1 is a schematic flowchart of a data transmission method provided by this application.
  • Figure 1a is a schematic diagram of the process of OTN technology carrying customer services provided by this application;
  • Figure 1b is a schematic diagram of the OTN frame structure provided by this application.
  • FIG. 2 is a schematic flowchart of another data transmission method provided by this application.
  • Figure 2a is a schematic diagram of the process of transmitting customer data through OTN technology provided by this application;
  • Figure 2b is a schematic diagram of the arrangement of the basic units provided by this application according to their sequence numbers;
  • Fig. 2c is a schematic diagram of the process of carrying the basic unit provided in the application in the OTN frame structure
  • FIG. 2d is a schematic diagram of the process in which the basic unit provided by this application is carried through multiple OTN frame structures;
  • Figure 2e is a schematic diagram of the basic unit structure provided by this application.
  • Figure 2f is a schematic diagram of the process of delivering customer services through the OTN network through the basic unit flow provided by this application;
  • Figure 2g is a schematic diagram of the process of mapping the Ethernet message provided by this application to the basic unit after 64/66 encoding
  • Figure 2h is a schematic diagram of the process of mapping the Ethernet message provided by this application to the basic unit after 64/66 encoding and 256/257 encoding;
  • Figure 2i is a schematic diagram of using 66-bit blocks to form a basic unit to implement small-particle service transmission provided by this application;
  • Figure 2j is a schematic diagram of the process of mapping client services provided by this application to a basic unit composed of 66-bit blocks;
  • Figure 2k is a schematic diagram of the S block structure diagram of the Ethernet message provided by this application after 64/66 encoding
  • FIG. 21 is a schematic diagram of the structure of the S block carrying overhead information in the basic unit provided by this application.
  • 2m is a schematic diagram of the structure of D block overhead information in the basic unit provided by this application.
  • 2n is a schematic diagram of the structure of T block overhead information in the basic unit provided by this application;
  • FIG. 2o is a schematic diagram of using T blocks and D blocks to form a basic unit provided by this application;
  • Fig. 2p is a schematic diagram of using block O and block D to form a basic unit provided by this application;
  • FIG. 3 is a schematic structural diagram of a data transmission device provided by this application.
  • FIG. 4 is a schematic structural diagram of another data transmission device provided by this application.
  • FIG. 5 is a schematic structural diagram of a terminal device provided by this application.
  • FIG. 1 is a schematic flow chart of a data transmission method provided by this application. This method can be applied to the situation of improving the transmission efficiency of customer data whose rate is less than a set value.
  • the data transmission device is executed, and the device can be implemented by software and/or hardware and integrated on the terminal device.
  • Terminal equipment can cover any suitable type of user equipment.
  • the terminal device may be a device that sends customer data.
  • the backbone layer of the communication network adopts OTN technology to carry client services, and defines the client bearing modes of various rates from 1.25G to 40G.
  • OTN technology penetrates from the backbone layer to the access layer, it encounters the problem of carrying efficiency.
  • the original carrier container defined by OTN includes 1.25G, 2.5G, 10G, 40G and other speeds, suitable for customers with speeds above 1.25G.
  • this application For low-rate services with a rate less than 1.25G (this application uniformly refers to such services as small-particle services or small-particle customer services or customer data, that is, various customer services with a rate less than 1.25G, such as 1G, 100M, 10M, 2M) Etc.), based on the OTN protocol, this application provides a high-quality and high-efficiency delivery method for low-rate and small-particle customer services.
  • FIG. 1a is a schematic diagram of the process of OTN technology provided by this application for carrying customer services.
  • an optical channel payload unit (Optical Channel Payload Unit, OPU) is a client bearing unit, which is composed of a client container part and an OPU overhead part, and client services are directly mapped to the OPU container for bearing and transmission.
  • the Optical Channel Data Unit (ODU) is composed of an ODU container part and an ODU overhead part, and the OPU unit is directly mapped to the ODU container.
  • the Optical Channel Transport Unit (OTU) consists of an OTU container part and an OTU overhead part.
  • the ODU unit is directly mapped to the OTU container, and the frame positioning field is added to the OTU unit to form the OTU frame to be transmitted through the optical fiber.
  • the optical connection ( Optical Connection, OC) to the rest of the terminal equipment.
  • FIG. 1b is a schematic diagram of the OTN frame structure provided by this application. See Figure 1b.
  • the frame structure is a frame structure after OPU, ODU, and OTU layer-by-layer mapping from client services.
  • a forward error correction field (Forward Error Correction, FEC) is added after the frame structure, that is, a forward error correction field is added to the error correction area.
  • FEC Forward Error Correction
  • the error correction unit can be used for error detection and correction to improve the quality of information transmission and increase the transmission distance.
  • the OTN frame structure consists of 4 rows and 4080 columns.
  • the first 17 columns are OPU, ODU, and OTU overhead fields
  • the last 256 columns are error correction fields
  • the middle field is the client payload area, that is, the payload area.
  • a data transmission method provided by this application includes S110, S120, and S130.
  • S110 Determine a basic unit that carries customer data, where the rate of the customer data is less than a set value, and the set value is determined according to the rate of the carrier container of the OTN frame of the optical transport network, and the basic unit is a basic unit included in the set of basic units. unit.
  • Customer data can be considered as data to be sent.
  • the customer data can be carried on the basic unit set, and then sent to other terminal devices through OTN frames, such as the terminal device that communicates with the terminal device.
  • the content of the communication includes customer data.
  • the customer data in this application can be carried on some basic units in the basic unit set, and the customer data of a terminal device can be mapped on some basic units of the basic unit set, so that the basic unit set can carry the customer data of at least one terminal device , And the basic unit set can carry the client data of multiple terminal devices, which improves the transmission efficiency.
  • the basic unit that carries the customer data can be determined first, and the basic unit is the basic unit included in the basic unit set.
  • the basic unit set can contain n basic units, and n is a positive integer.
  • the basic unit that carries the client data of the terminal device can be the basic unit labeled 1, 6, 11, 16...., or it can be the basic unit from 1 to m, where m is less than n Positive integer. That is, the basic unit that carries the client data can be at least two basic units or at least two consecutive basic units in a centralized interval of basic units, or one basic unit in a basic unit set.
  • Determining the basic unit in this step can be understood as determining the format of the basic unit and determining the label of the basic unit, that is, the sequence number.
  • Different basic units can have different formats. For example, when the basic unit is a cell, the format of the basic unit can be a 66-bit code block or a byte. The format of the basic unit is not limited here.
  • this application can determine the sequence number of the basic unit. Each basic unit in the basic unit set can be labeled with a sequence number. In this step, the sequence number of the basic unit that carries customer data can be determined.
  • This application does not limit which basic units are used to carry client data, as long as the communication parties pre-book it, so as to avoid the mapping of client data of different terminal devices to the same basic unit.
  • the rate of client data in this application is less than the set value, and the set value can be determined according to the rate of the carrier container of the OTN frame. If the set value is the rate of the carrier container of the OTN frame, the rate of the client data in this application is lower than the rate of the carrier container of the OTN frame. For example, when the rate of the carrier container of the OTN frame is 1.25G, the customer data described in this application is data less than 1.25G, and the customer data may also be referred to as a small-particle customer service.
  • this application may determine the number of basic units that carry customer data based on the bandwidth required by the customer data and the bearer bandwidth of a single basic unit.
  • the bandwidth of a single basic unit can be determined based on the rate of the carrier container of the OTN frame and the cycle period of the basic unit. For example, the rate of the carrier container of the OTN frame divided by the cycle period of the basic unit is used as the bandwidth of a single basic unit.
  • the cycle period can be considered as the number of basic units contained in the basic unit set.
  • this application can map the customer data on the basic unit, that is, the basic unit set carries the customer data.
  • the basic unit set can be sent on the OTN frame in this step.
  • the data transmission method provided in this application determines the basic unit that carries customer data.
  • the rate of the customer data is less than a set value.
  • the set value is determined according to the rate of the carrier container of the OTN frame of the optical transport network.
  • the basic unit is The basic unit included in the basic unit set; the client data is mapped to the basic unit; the basic unit set mapping the client data is sent through the OTN frame.
  • Each basic unit in the basic unit set serves as a transmission channel, and the OTN frame is divided into multiple sub-pipes. The number of sub-pipes can be determined according to the number of basic units contained in the basic unit set. Improved the transmission efficiency of customer data whose rate is less than the set value.
  • the basic unit includes a message or a cell.
  • the length of the basic unit is a fixed length, and the basic unit is composed of a fixed number of bytes or a fixed number of 66-bit code blocks.
  • the fixed number is not limited here, and those skilled in the art can determine it according to the actual situation.
  • the basic unit set includes at least one basic unit, and the basic unit set is used to carry customer data of at least one terminal device.
  • the customer data of each terminal device can be mapped on different basic units in the basic unit set to improve the utilization of OTN frames.
  • the basic unit includes: overhead information, the overhead information includes one or more of the following: sequence information, the sequence information is used to identify the basic unit; empty cell indication information; maintenance management information.
  • the overhead information may be used to identify the basic unit.
  • the sequence information in the overhead information may be a sequence number, which is used to identify which basic unit in the basic unit set the basic unit is.
  • the idle indication information may be used to indicate whether the basic unit is an idle basic unit.
  • the idle indication information may be empty cell indication information, which is used to indicate that it is an idle cell or a service cell.
  • Maintenance management information (Operations Administration and Maintenance, OAM) can be used for the operation, management, and maintenance of the basic unit.
  • the maintenance management information includes at least one or more of the following: local error code, remote error code, customer representation, delay time, customer type, local defect, and remote defect.
  • the cell when the basic unit is a cell, the cell is formed by combining different target code blocks, the target code block includes a boundary control code block and a data code block, and the data code A block is used to carry the client data, the boundary control code block is used to identify the boundary of the cell, and the boundary control code block includes one or more of the following: S block; T block; O block; predefined Control code block.
  • the predefined control code block can be a self-defined control code block, as long as it can be used to identify the boundary of the cell.
  • the S blocks and T blocks can be used to identify the beginning and the end of the basic unit, respectively.
  • the S block can identify the start and end of the basic unit, that is, it can be set at the start and end positions of the basic unit.
  • the T blocks can identify the start and end of the basic unit, that is, it can be set at the start and end positions of the basic unit.
  • the O blocks can be used to identify the beginning and the end of the basic unit, and the O blocks can be set only at the start position.
  • the start and end of the basic unit can be identified by the predefined control code block, and the predefined control code block can be set only at the start position of the basic unit.
  • One or more of the predefined control code blocks can be combined arbitrarily to identify a basic unit, which is not limited here.
  • the overhead information in the basic unit is carried on the target code block.
  • the overhead information of the basic unit can be carried on the target code block, that is, it can be carried on one or more of the following code blocks: boundary control code block and data code block.
  • mapping of the customer data to the basic unit includes:
  • the customer data is directly mapped to the basic unit.
  • this application can directly map customer data to the data block of the cell.
  • this application can map customer data to a message.
  • mapping of the customer data to the basic unit includes:
  • the client data is encoded, and the encoded data is mapped to the basic unit, where the encoding method includes 64/66 encoding; or the encoding method includes 64/66 encoding and 256/257 encoding.
  • the sending the basic unit set mapping the client data through the OTN frame includes:
  • the basic unit set for mapping the client data is mapped to the payload of the optical channel payload unit OPU, where the number of the OPU is at least one; the OTN frame is sent, and the OPU is carried in the OTN frame.
  • mapping customer data in this application, the customer data can be first mapped to the payload of the OPU unit, and then the OPU unit that maps the customer data is mapped to the payload of the ODU unit and the OUT unit in turn, so that the OTN frame
  • the load area carries customer data.
  • the mapping manner of each OPU is the same or each OPU forms an OPU multiframe.
  • each OPU can carry customer data, and customer data at different times can be carried by different OPUs.
  • each OPU forms a multi-frame to carry client data.
  • the mapping position of the basic unit included in the basic unit set for mapping the customer data in the OPU is fixed; or, the mapping position of the basic unit included in the basic unit set for mapping the customer data in the OPU is fixed Floating, the position of each basic unit in the basic unit set in the OPU is determined by the corresponding boundary control code block and overhead information.
  • the basic unit included in the basic unit set such as the basic unit that carries customer data, has a fixed mapping position in the OPU; or the mapping position is floating, the mapping position of the basic unit in the OPU can control the code block and overhead through the boundary of the basic unit
  • the information is OK.
  • the boundary control code block can be used to identify the boundary of the basic unit, and the overhead information can identify the sequence number of the basic unit.
  • FIG. 2 is a schematic flowchart of another data transmission method provided by this application.
  • the method can be applied to the situation of receiving customer data on a terminal device, the customer data is carried on the corresponding basic unit, and the speed of the customer data is less than the set value.
  • the method can be executed by the data transmission device provided in this application, and the device can be implemented by software and/or hardware and integrated on the terminal device.
  • the terminal device may be a device that receives customer data.
  • the data transmission method provided by this application includes: S210, S220, and S230.
  • S210 Receive an OTN frame.
  • This application may first receive the OTN frame.
  • the OTN carries a set of basic units for mapping customer data.
  • Customer data can be extracted by extracting the content in the OTN frame.
  • S220 Restore a basic unit set from the OTN frame.
  • a corresponding number of basic units can be extracted from the OTN frame to restore the basic unit set.
  • Each basic unit in the basic unit set has a corresponding sequence number (ie, sequence information), and the basic unit set can be restored based on the sequence number.
  • the basic unit set is arranged in the sequence of the sequence number to obtain the basic unit set.
  • S230 Collect customer data from the basic unit, which includes a basic unit that carries the customer data.
  • the rate of the customer data is less than a set value, and the set value is based on the OTN frame of the optical transport network.
  • the rate of carrying the container is determined.
  • this application can extract customer data from the basic unit set.
  • the bit value extracted from the basic unit is decoded to recover the original client message content, that is, the client data before encoding.
  • the data transmission method provided by this application receives an OTN frame; restores a basic unit set from the OTN frame; extracts customer data from the basic unit set, and the basic unit set includes the basic unit that carries the customer data.
  • the rate of client data is less than the set value, and the set value is determined according to the rate of the carrier container of the OTN frame of the optical transport network. Using this method can improve the transmission efficiency of customer data whose rate is less than the set value.
  • the restoring a basic unit set from the OTN frame includes:
  • the basic unit set is restored from the payload of the OPU of the OTN frame, and the number of the OPU is at least one.
  • the number of OPUs may be the same as the number of OTN frames. If the number of OPUs is at least one, this application may receive at least one OTN frame. Then restore the basic unit set from the OPU payload of at least one OTN frame.
  • the mapping manner of each OPU is the same or each OPU forms an OPU multiframe.
  • said extracting customer data collectively from said basic unit includes:
  • this application may first determine the basic unit that carries the customer data in a centralized manner. For example, the sequence number of the basic unit that carries the client data is determined, that is, the sequence information, the sequence information may be pre-appointed by the communicating parties.
  • the terminal device that sends the basic unit set may be a sending device
  • the terminal device that receives the basic unit set to extract client data may be a receiving device.
  • this application can directly extract the customer data carried on the basic unit.
  • the number of determined basic units may be at least one, and in the case of at least two, the content carried by the basic units may be spliced according to the sequence numbers of the basic units to obtain customer data.
  • the customer data can be customer data of one terminal device, and the same technical means can be used to extract customer data of different terminal devices, which is not limited here.
  • the basic unit collectively carries the client data 1 of the terminal device a and the client data 2 of the terminal device b.
  • the extraction of customer data in this application can be considered as the process of extracting customer data 1 of terminal device a or extracting customer data 2 of terminal device b.
  • the determining the basic unit that the basic unit collectively carries customer data includes:
  • This application can extract sequence information from the overhead information of the basic unit, and then use the basic unit corresponding to the sequence information in the basic unit set as the basic unit that carries client data.
  • the basic unit set includes at least one basic unit, and the basic unit set is used to carry customer data of at least one terminal device.
  • the basic unit includes a message or a cell.
  • the length of the basic unit is a fixed length, and the basic unit is composed of a fixed number of bytes or a fixed number of 66-bit code blocks.
  • the basic unit includes: overhead information, the overhead information includes one or more of the following: sequence information, the sequence information is used to identify the basic unit; empty cell indication information; maintenance management information.
  • the cell when the basic unit is a cell, the cell is formed by combining different target code blocks, the target code block includes a boundary control code block and a data code block, and the data code A block is used to carry the client data, the boundary control code block is used to identify the boundary of the cell, and the boundary control code block includes one or more of the following: S block; T block; O block; predefined Control code block.
  • the overhead information in the basic unit is carried on the target code block.
  • mapping positions of the basic units included in the basic unit set in the OPU of the OTN frame are fixed; or, the basic units included in the basic unit set are in the OPU of the OTN frame.
  • the mapping position is floating, and the position of each basic unit in the basic unit set in the OPU is determined by the corresponding boundary control code block and overhead information.
  • the data transmission method provided in this application can be considered as a method for realizing small-particle service delivery in OTN services, and the small-particle service can be considered as a customer service with a rate less than 1.25 Gbit/s. This method can realize high-speed and high-quality delivery of small-particle services.
  • the data transmission method provided in this application may include:
  • Step 1 At the sending end, determine the basic unit format and the sequence number of the basic unit carrying the small particle service.
  • Step 2 At the sending end, the small particle service is mapped to the basic unit of the corresponding sequence number, and all basic units are mapped to the OPU payload and sent out through the OTN frame.
  • Step 3 At the receiving end, receive the OTN frame signal, and restore the basic unit from the corresponding OPU payload.
  • Step 4 At the receiving end, extract information from the payload area of the basic unit corresponding to the sequence number, and restore small-particle customer services.
  • Step 1 may include:
  • Step 1.1 The sequence number and overhead bytes are carried on the basic unit.
  • the sequence number divides all the basic units into many sub-basic units, and the sub-basic units provide sub-transmission pipes. That is, the sequence numbers mark the basic units in the group of basic units, and each basic unit provides a sub-transmission pipe.
  • the overhead byte provides including but not limited to OAM information and time information. Overhead information can include sequence numbers and overhead bytes.
  • Step 1.2 The basic unit has a fixed length, which can be composed of a fixed number of bytes or a fixed number of 66-bit code blocks.
  • Step 1.3 When the basic unit is composed of 66-bit code blocks, a special control code block is used to identify the boundary of the basic unit, and the data code block is used to carry client data.
  • the special control code block can be S block, T block, O block or other defined control blocks.
  • Step 1.4 The service bit information of the small-particle client can be directly mapped to the basic unit, or the service content of the small-particle client can be coded first, and then the coding result can be mapped to the basic unit.
  • encoding 64/66 encoding can be used, or a combination of 64/66 encoding and 256/257 encoding can be used.
  • Step 2 can include:
  • Step 2.1 All basic units are mapped to the payload of one OPU unit according to the sequence number, and can also be mapped to the payload of multiple OPU units.
  • Step 2.2 When the basic unit is mapped in the OPU unit payload, fixed position mapping can be used, and the position of each basic unit in the OTN frame remains unchanged; floating mapping can also be used, and the position of the basic unit in the OTN frame is floating , Determine the position of each basic unit by identifying the boundary symbol of the basic unit and the sequence number of the basic unit.
  • Step 4 may include:
  • Step 4.1 Determine the sequence number carried by each basic unit, and extract customer data from the basic unit corresponding to the sequence number.
  • Step 4.2 When the client data is mapped and carried on the basic unit after being encoded, the bit value extracted from the basic unit is decoded to recover the original client data, that is, the client data before encoding.
  • Figure 2a is a schematic diagram of the process of transmitting customer data through OTN technology provided by this application. See Figure 2a. If a virtual intermediate customer is set, the speed bandwidth of the virtual intermediate customer is 1.25G (2.5G or 10G). Intermediate customers are composed of customer 1, customer 2, and customer 3. The customer data of the virtual intermediate customer can be carried on the cell.
  • Figure 2b is a schematic diagram of the arrangement of the basic units provided by this application according to sequence numbers.
  • the virtual intermediate client adopts a fixed-length basic unit (hereinafter referred to as a cell, namely Cell), and n basic units constitute a basic unit set.
  • a cell namely Cell
  • n basic units constitute a basic unit set.
  • Fig. 2c is a schematic diagram of the process in which the basic unit provided by this application is carried in the OTN frame structure.
  • the fixed-length basic unit serves as an ODU client defined in the OTN standard and is carried and sent in an OPU container.
  • the fixed-length basic unit carries a sequence number, and the sequence number recurs. For example, "1" in cell 1 is the sequence number of the corresponding cell, and the sequence number can be cycled every n times, that is, n cells constitute a basic unit set.
  • the sequence number divides the virtual intermediate client message into many sub-slot messages, and each sub-slot message provides a sub-transmission pipe. If the number of cells corresponding to the virtual intermediate client is n, the sequence number divides the virtual intermediate client into n sub-slot messages.
  • the virtual intermediate client When the length of the intermediate client message (that is, the data carried by each cell) are all equal in length, the virtual intermediate client is divided into many sub-slot basic units with the same speed by the sequence number, and each sub-slot basic unit provides a sub-transmission pipeline , The speed of all sub-slot pipes is exactly the same.
  • the real original client is carried in the basic unit of the virtual intermediate client, and the content of different original client messages is put in the basic unit with different sequence numbers (that is, the sub-transmission pipeline), for example, the first client is placed in the sequence number 1, 26 , 51,..., n*25+1 (n is a natural number of 0, 1, 2, 3, the following are the same) in the basic unit message.
  • every 25 basic units select one of the basic units to combine to carry a real customer, so that the virtual intermediate customer is evenly divided into 25 equal parts, and the speed of each is 1/25 of the speed of the virtual intermediate customer ,
  • the speed of the virtual intermediate client is 2.5G
  • the speed of each copy is 100M
  • the intermediate virtual client with the 2.5G speed is evenly divided into 25 parts, forming 25 sub-transmission pipes
  • the bandwidth of each sub-transmission pipe is 100M
  • 25 The 100M sub-pipes share an OPU unit container, and each sub-pipe carries a real customer.
  • the real customers are physically isolated and do not affect each other.
  • the virtual client message format is a basic unit with a fixed length. All sequential basic units can be carried in an OPU payload area. When the size of the OPU payload area is an integer multiple of the length of a single basic unit, the basic unit just fills the OPU payload. area. When the size of the OPU payload area is not an integer multiple of the length of a single basic unit, after the OPU payload area is filled with the basic unit, the remaining space will not be enough to fill a basic unit. At this time, the remaining free space can be filled with a fixed plug Incoming bytes, such as padding (PAD) bytes.
  • PID padding
  • Figure 2d is a schematic diagram of the process in which the basic unit provided by this application is carried through multiple OTN frame structures. See Figure 2d. Filling a fixed plug in the OPU payload will reduce the carrying efficiency, and multiple OPU frames can be combined in implementation. , Forming an OPU multiframe, the length of the OPU multiframe is an integer multiple of the length of a single basic unit, and the basic unit just fills one OPU multiframe.
  • each basic unit is arranged in the OPU container according to the sequence number.
  • the position of each basic unit can be determined by the serial number. Different customers only need to use the serial number. Determine the position in the OPU.
  • CBR Constant Bit Rate
  • Figure 2e is a schematic diagram of the basic unit structure provided by this application.
  • the basic unit structure is composed of a sequence number (such as an SQ sequence), an overhead byte (such as an overhead (OH) byte), and a basic unit payload part.
  • the serial number of the basic unit can determine the sequence number of each basic unit, that is, the sequence information; the overhead byte is used to support basic unit type, OAM and other information, such as carrying the check value of the basic unit, sending time, client signal type, alarm, etc. Information; the payload part of the basic unit is used to carry customer data.
  • FIG. 2f is a schematic diagram of the process of the basic unit flow provided in this application for delivering customer services through the OTN network.
  • 4 devices use OTN technology to form a transmission network.
  • An OPU channel between Device 1 and Device 4 serves as a transmission pipeline for small-particle low-rate clients, and a virtual intermediate client is created on the transmission pipeline.
  • the virtual intermediate client is a fixed-length basic unit, such as a cell.
  • Each basic unit carries a sequence number (cell SQ value in the figure) and other overhead fields.
  • the basic unit message uses a fixed length, and the sequence number recurs.
  • the basic unit message is transmitted from device 1 to device 4 at a rate of 2.5G bit/s.
  • the basic unit receives from the device in one direction To, and then cross to the other direction to send out, there will be new customers on device 2 and device 3 up and down.
  • select some basic units to carry the content of client for example, select basic units with sequence numbers of 1, 26, 51, 76,... to carry client 1, and the bearer bandwidth is 100M bit/s ;
  • select part of the basic unit to carry the content of client For example, select the basic unit with the sequence number of the basic unit 2, 27, 52, 77 across to carry the client 2, and the bearer bandwidth is also 100M bit/s; similarly, when the basic unit passes through the device 3, some basic units are selected to carry the content of client 3.
  • the device 4 extract and restore customer 1 information from the basic unit sequence numbers 1, 26, 51, 76..., and from the basic unit sequence numbers 2, 27, 52, 77...
  • the information of customer 2 is extracted and restored, and the information of customer 3 is extracted and restored from the basic unit sequence numbers 3, 38, 53, 78....
  • the OPU channel is divided into many sub-basic unit time slots, and each basic unit sub-time slot forms a low-rate transmission pipe, and different numbers of basic unit sub-time slots are combined to form a transmission pipe of different rates.
  • different small-particle low-speed customers choose different basic unit sub-pipes to carry, and these small-particle customers are completely isolated from each other, independent of each other and do not affect each other.
  • the customer service is an Ethernet message
  • the customer service is a series of data messages.
  • the message has a start position and an end position. There is a frame interval between the messages.
  • the client message is mapped to the basic unit, Need to mark the start position and end position of the message, as well as the frame gap byte in the message.
  • the client is usually 64/66 encoded first.
  • the Ethernet standard has established 64/66 encoding rules.
  • the 64/66 encoding rule converts client information with a length of 64 bits (8 bytes) into a code block with a length of 66 bits: the first 2 bits are the sync header bits, and the sync header value is "01", which means that the code block is Data block (D block), the following 8 bytes (64 bits) are the byte content of the code block.
  • the sync header value is "10" it means that the code block is a control block.
  • the content of the first byte (8 bits) after the sync header is the type value (block type field) of the control block, and the control value is "0x1E" ( (Hexadecimal) means that the control block is an idle code block (IDLE block), and the following content in the code block is idle information, such as the coding result of the second line in the 64/66 coding rule table, that is, the C block includes C0, C1 , C2, C3, C4, C5, C6 and C7.
  • the control value is "0x78" (hexadecimal) it means that the control block is S block (or S0, which means the message start block), and S block means it is the start block of a message.
  • the client message preamble (including After the frame delimiter) is partially encoded, it becomes an S block, such as the encoding result of the third row in the 64/66 coding rule table, that is, if the S block includes D1, D2, D3, D4, D5, D6, and D7.
  • the S block is the content part of the message, so the D block appears after the S block.
  • the control value is 0x87, 0x99, 0xAA, 0xFF, 0xB4, 0xCC, 0xD2, 0xE1, 0xFF, it means that the control block is T0, T1, T2, T3, T4, T5, T6, T7, a total of 8 T blocks.
  • the T block represents the end code block of a data message.
  • the remaining bytes cannot be encoded into D block if the remaining bytes are less than 8 bytes.
  • the remaining bytes can be 0, 1, 2, 3, 4, 5, 6 , 7 types of bytes, so 8 T block formats are defined.
  • Different T blocks carry different numbers of data bytes in the rest of the message: 0, 1, 2, 3, 4, 5, 6, 7 bytes of customer data bytes.
  • Figure 2g is a schematic diagram of the process of mapping the Ethernet message provided by this application to the basic unit after 64/66 encoding.
  • the original client performs 64/66 encoding before mapping to the basic unit of the virtual intermediate client, and the encoded information content is bit-cut and placed in the basic unit for bearer transmission, thereby realizing bit mapping.
  • the range of the sequence number of the basic unit is 1-250, and the sequence number recurs every 250 basic units.
  • the total bandwidth of all basic units is 2.5G bit/s, and for a basic unit with a fixed sequence number value, its physical bandwidth is 10M bit/s.
  • 10 basic units are selected for transmission among 250 basic units, and the total bandwidth of the 10 basic units is 100M bit/s.
  • the basic units of the bearer are selected at equal intervals during implementation. For 100-rate customer services, one basic unit can be selected every 25 basic units to transmit 100M-rate customer information.
  • the selection sequence number is: 1. The basic units of 26, 51, 76.... carry client messages; for 10M rate customer services, 250 basic units can be selected in one basic unit to transmit 10M rate customer information every interval.
  • the basic unit itself carries overhead bytes, the customer information part of the basic unit only occupies a part of the entire basic unit, and the bandwidth utilization rate of the bearer pipeline cannot reach 100%.
  • the 64/66 encoding of the client message will be 64 bits.
  • the length of the content is increased to 66 bits in length, which brings bandwidth expansion and reduces bandwidth utilization.
  • Figure 2h is a schematic diagram of the process of mapping the Ethernet message provided by this application to the basic unit after 64/66 encoding and 256/257 encoding. See Figure 2h.
  • customer data is 64/66 encoded
  • How to encode customer data? How to map to the basic unit can be implemented in various ways, all of which are within the protection scope of this application.
  • FIG. 2i is a schematic diagram of using 66-bit blocks to form a basic unit to realize small-particle service transmission provided by this application. See Figure 2i.
  • the basic unit is composed of a sequence number, an overhead, and a basic unit container. Each part of the basic unit is composed of one or more
  • the basic unit format can also be composed of multiple 66-bit blocks in practical applications, and the basic unit can be composed of S blocks + D blocks + T blocks.
  • the S block is the basic unit header block
  • the T block is the basic unit tail block
  • the D block is the basic unit carrying part
  • the client data carries the 64-bit data position in the D block.
  • Figure 2j is a schematic diagram of the process of mapping the customer service provided by this application to the basic unit composed of 66-bit blocks. See Figure 2j.
  • the customer data is a continuous service flow of CBR type
  • the customer service is directly mapped to the 64 on the D block.
  • Bit position When the customer service is an Ethernet message, the customer message is encoded first, and then the encoded bit stream is mapped to the 64-bit position on the D block.
  • Figure 2k is a schematic diagram of the S block structure diagram of the Ethernet message provided by this application after 64/66 encoding. See Figure 2k.
  • the content of the 7 bytes after the S block is a fixed value: 6 bytes of content It is "0x55" (preamble byte content) and 1 "0xD5" (frame delimiter byte content), these 7 bytes are fixed values.
  • the position of some of these bytes can be reused to transmit the sequence number and overhead information of the basic unit (such as basic unit type indication, OAM information, etc.).
  • Figure 21 is a schematic diagram of the structure of the S block carrying overhead information in the basic unit provided by this application. See Figure 21.
  • S block 3 bytes (24 bits) are used to transmit the sequence number (ie sequence number) of the basic unit.
  • overhead information the basic unit overhead content is empty.
  • the basic unit indication signal is Null, that is, N, the basic unit forward error indication signal AIS, and the basic unit maintenance management information OAM.
  • the basic unit overhead information can include but is not limited to these types of content.
  • the overhead information of the basic unit can be placed in the second, third, and fourth byte positions of the S block. In practical applications, the overhead information can also be placed in other byte positions in the S block.
  • Figure 2m is a schematic diagram of the structure of the D block overhead information in the basic unit provided in this application. See Figure 2m.
  • the overhead information can also be placed in the D block position after the S block.
  • the overhead information is carried on part of the D block, and the overhead information is placed in the first block.
  • a D code block position, some bytes of the 8 bytes on the first D code block transmit overhead information, and some bytes can transmit information.
  • the first 3 bytes on the first D code block are used to carry overhead information, and the last 5 bytes are used to transmit real customer data, or the first 6 bytes on the first D data block are used to carry real data. Customer data, the next 2 bytes are used to transmit overhead information.
  • FIG. 2n is a schematic diagram of the structure of the T block overhead information in the basic unit provided by this application.
  • the overhead information can also be placed on the T block, and T7 is used as the end block of the basic unit, and other T code blocks can also be used.
  • Some bytes in T7 are used to transmit overhead information, and some bytes are used to transmit client information.
  • the overhead information is placed on the 6th, 7th, and 8th bytes in the T block.
  • the 2nd, 3rd, 4th, and 5th bytes in the T7 block are used to transmit client data.
  • the overhead information can also be in the T block. Other byte positions.
  • the overhead information can be placed on the boundary indication code block of the basic unit.
  • the basic unit code block structure is composed of S blocks + D blocks + T blocks, which is a special case of the basic unit structure.
  • the basic unit structure can be reduced to boundary code block + data code block.
  • the boundary code block is used to indicate the start and end positions of the basic unit.
  • the boundary code block can be two kinds of code blocks, one code block indicates the start position, and one code block indicates the end position.
  • the boundary code block may have only one type of code block, which simultaneously represents the end position of the previous basic unit and the start position of the next basic unit.
  • Data code blocks are used to carry customer information content.
  • the format of the basic unit can be of various types: for example, the S block is not used as the basic unit start block, the T block is used as the basic unit end block, and other types of control type code blocks are used as the start block and the end block of the basic unit.
  • FIG 2o is a schematic diagram of using T blocks and D blocks to form a basic unit provided by this application.
  • two consecutive T blocks can be used as the start block and the end block of the basic unit.
  • the previous T block is the basic unit.
  • End block the following T block is the starting block of the basic unit.
  • Figure 2p is a schematic diagram of the basic unit using O and D blocks provided by this application. See Figure 2p.
  • the basic unit structure may not require a start block and an end block, and only one basic unit boundary code block is required.
  • the basic unit boundary code block It is the end position of the previous basic unit and the end position of the latter basic unit. All data blocks between the boundary code blocks of the basic unit are the basic unit carrying parts.
  • a custom control code is used as the boundary code block of the basic unit.
  • the custom control code block can be the O block in the Ethernet definition code, and the O block carries the custom identification content, such as the coding result of the fourth line in the 64/66 coding rule (The content of the control word in the O block is "0x4B", and the O0 value in the code block can take various values. In this application, a custom special value is used to distinguish it from the existing O0 value in the standard).
  • FIG. 3 is a schematic structural diagram of a data transmission device provided in this application.
  • the device may be integrated in a terminal device, which may be a device that sends customer data.
  • the device includes: a determining module 31, configured to determine the basic unit for carrying customer data, the rate of the customer data is less than a set value, and the set value is based on the carrier container of the OTN frame of the optical transport network.
  • the basic unit is a basic unit included in a basic unit set;
  • a mapping module 32 is configured to map the client data to the basic unit;
  • a sending module 33 is configured to send the mapping through the OTN frame The basic unit set of customer data.
  • the data transmission device provided in this embodiment is used to implement the data transmission method of the embodiment shown in FIG. 1.
  • the implementation principle and technical effect of the data transmission device provided in this embodiment are similar to the data transmission method of the embodiment shown in FIG. I won't repeat it here.
  • the basic unit includes a message or a cell.
  • the length of the basic unit is a fixed length, and the basic unit is composed of a fixed number of bytes or a fixed number of 66-bit code blocks.
  • the basic unit set includes at least one basic unit, and the basic unit set is used to carry customer data of at least one terminal device.
  • the basic unit includes: overhead information, the overhead information includes one or more of the following: sequence information, the sequence information is used to identify the basic unit; empty cell indication information; maintenance management information.
  • the cell when the basic unit is a cell, the cell is formed by combining different target code blocks, the target code block includes a boundary control code block and a data code block, and the data code A block is used to carry the client data, the boundary control code block is used to identify the boundary of the cell, and the boundary control code block includes one or more of the following: S block; T block; O block; predefined Control code block.
  • the overhead information in the basic unit is carried on the target code block.
  • mapping module 32 is configured to:
  • the customer data is directly mapped to the basic unit.
  • mapping module 32 is configured to:
  • the client data is encoded, and the encoded data is mapped to the basic unit, where the encoding method includes 64/66 encoding; or the encoding method includes 64/66 encoding and 256/257 encoding.
  • the sending module 33 is configured to:
  • the basic unit set for mapping the client data is mapped to the payload of the optical channel payload unit OPU, where the number of the OPU is at least one; the OTN frame is sent, and the OPU is carried in the OTN frame.
  • the mapping mode of each OPU is the same or each OPU forms an OPU multiframe.
  • the mapping position of the basic unit included in the basic unit set for mapping the customer data in the OPU is fixed; or, the mapping position of the basic unit included in the basic unit set for mapping the customer data in the OPU is fixed Floating, the position of each basic unit in the basic unit set in the OPU is determined by the corresponding boundary control code block and overhead information.
  • FIG. 4 is a schematic structural diagram of another data transmission device provided in this application.
  • the device may be integrated on a terminal device, which may be a device that receives customer data.
  • the device includes: a receiving module 41, configured to receive OTN frames; a recovery module 42, configured to recover a basic unit set from the OTN frame; and an extraction module 43, configured to extract from the basic unit set
  • the basic units collectively include basic units that carry the customer data, and the rate of the customer data is less than a set value, and the set value is determined according to the rate of the carrier container of the OTN frame of the optical transport network.
  • the data transmission device provided in this embodiment is used to implement the data transmission method in the embodiment shown in FIG. 2.
  • the implementation principle and technical effect of the data transmission device provided in this embodiment are similar to the data transmission method in the embodiment shown in FIG. I won't repeat it here.
  • the recovery module 42 is configured to:
  • the basic unit set is restored from the payload of the OPU of the OTN frame, and the number of the OPU is at least one.
  • the mapping manner of each OPU is the same or each OPU forms an OPU multiframe.
  • the extraction module 43 is configured to:
  • the extraction module 43 is configured to:
  • the basic unit set includes at least one basic unit, and the basic unit set is used to carry customer data of at least one terminal device.
  • the basic unit includes a message or a cell.
  • the length of the basic unit is a fixed length, and the basic unit is composed of a fixed number of bytes or a fixed number of 66-bit code blocks.
  • the basic unit includes: overhead information, the overhead information includes one or more of the following: sequence information, the sequence information is used to identify the basic unit; empty cell indication information; maintenance management information.
  • the cell when the basic unit is a cell, the cell is formed by combining different target code blocks, the target code block includes a boundary control code block and a data code block, and the data code A block is used to carry the client data, the boundary control code block is used to identify the boundary of the cell, and the boundary control code block includes one or more of the following: S block; T block; O block; predefined Control code block.
  • the overhead information in the basic unit is carried on the target code block.
  • mapping positions of the basic units included in the basic unit set in the OPU of the OTN frame are fixed; or, the basic units included in the basic unit set are in the OPU of the OTN frame.
  • the mapping position is floating, and the position of each basic unit in the basic unit set in the OPU is determined by the corresponding boundary control code block and overhead information.
  • FIG. 5 is a schematic structural diagram of a terminal device provided in this application.
  • the terminal device provided by the present application includes one or more processors 51 and a storage device 52; there may be one or more processors 51 in the terminal device.
  • one processor 51 is used as Example; the storage device 52 is used to store one or more programs; the one or more programs are executed by the one or more processors 51, so that the one or more processors 51 implement as in the embodiments of the present application The method described.
  • the terminal equipment further includes: a communication device 53, an input device 54 and an output device 55.
  • the processor 51, the storage device 52, the communication device 53, the input device 54 and the output device 55 in the terminal equipment may be connected by a bus or other means.
  • a bus the connection by a bus is taken as an example.
  • the input device 54 can be used to receive input digital or character information, and generate key signal input related to user settings and function control of the terminal device.
  • the output device 55 may include a display device such as a display screen.
  • the communication device 53 may include a receiver and a transmitter.
  • the communication device 53 is configured to perform information transceiving and communication under the control of the processor 51.
  • the information includes but is not limited to OTN frames.
  • the storage device 52 can be configured to store software programs, computer-executable programs, and modules, such as the program instructions/modules corresponding to the methods described in the embodiments of the present application (for example, the determining module in the data transmission device). 31.
  • the storage device 52 may include a storage program area and a storage data area.
  • the storage program area may store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the terminal device and the like.
  • the storage device 52 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
  • the storage device 52 may include a memory remotely provided with respect to the processor 51, and these remote memories may be connected to the terminal device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the embodiments of the present application also provide a storage medium, where the storage medium stores a computer program, and the computer program implements the method provided in the embodiment of the present application when the computer program is executed by a processor.
  • the data transmission method includes: determining a basic unit that carries customer data, the rate of the customer data is less than a set value, the set value is determined according to the rate of the carrier container of the OTN frame of the optical transport network, and the basic unit is the basic unit The basic unit included in the centralized; the client data is mapped to the basic unit; the basic unit set that maps the client data is sent through the OTN frame.
  • the data transmission method includes: receiving an OTN frame; restoring a basic unit set from the OTN frame; extracting customer data from the basic unit set, and the basic unit set includes a basic unit that carries the customer data, and The rate of client data is less than the set value, and the set value is determined according to the rate of the carrier container of the OTN frame of the optical transport network.
  • the computer storage medium of the embodiment of the present application may adopt any combination of one or more computer-readable media.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above.
  • Examples of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (Read Only) Memory, ROM), Erasable Programmable Read Only Memory (EPROM), flash memory, optical fiber, portable CD-ROM, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to: electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
  • suitable medium including but not limited to: wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
  • the computer program code used to perform the operations of this application can be written in one or more programming languages or a combination thereof.
  • the programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network-including Local Area Network (LAN) or Wide Area Network (WAN)-or, it can be connected to an external computer (For example, use an Internet service provider to connect via the Internet).
  • LAN Local Area Network
  • WAN Wide Area Network
  • terminal equipment encompasses any suitable type of wireless user equipment, such as mobile phones, portable data processing devices, portable web browsers, or vehicular mobile stations.
  • the various embodiments of the present application can be implemented in hardware or dedicated circuits, software, logic or any combination thereof.
  • some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device, although the present application is not limited thereto.
  • Computer program instructions can be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or written in any combination of one or more programming languages Source code or object code.
  • ISA Instruction Set Architecture
  • the block diagram of any logic flow in the drawings of the present application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions.
  • the computer program can be stored on the memory.
  • the memory can be of any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), optical Memory devices and systems (Digital Video Disc (DVD) or Compact Disk (CD)), etc.
  • Computer-readable media may include non-transitory storage media.
  • the data processor can be any type suitable for the local technical environment, such as but not limited to general-purpose computers, special-purpose computers, microprocessors, digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (ASICs) ), programmable logic devices (Field-Programmable Gate Array, FPGA), and processors based on multi-core processor architecture.
  • DSP Digital Signal Processing
  • ASICs application specific integrated circuits
  • FPGA Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本文公开一种数据传输方法、装置、终端设备和存储介质。该数据传输方法包括:确定承载客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据光传送网OTN帧的承载容器的速率确定,所述基本单元为基本单元集中包含的基本单元;将所述客户数据映射到所述基本单元中;通过所述OTN帧发送映射所述客户数据的基本单元集。

Description

数据传输方法、装置、终端设备和存储介质
本申请要求在2019年11月28日提交中国专利局、申请号为201911190838.0的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,例如涉及一种数据传输方法、装置、终端设备和存储介质。
背景技术
通讯网络骨干层采用光传送网(optical transport network,OTN)技术承载客户业务,定义了从1.25G到40G之间的各种速率的容器,来承载对应速率的客户。在OTN技术从骨干层向接入层渗透中,遇到承载效率问题。原有OTN定义的承载容器包括1.25G、2.5G、10G、40G等几种速率,适合1.25G速率以上的客户。对于客户数据为低速率数据,如速率小于1.25G的各类客户业务,当需要低时延、高质量地传输需求时,一条客户业务可以在一个1.25G的容器上传递,保持了传输质量,但一个1.25G容器上只传输一条低速率业务,传递效率非常低,存在严重的带宽浪费问题。
发明内容
本申请提供一种数据传输方法、装置、终端设备和存储介质。
本申请实施例提供一种数据传输方法,包括:
确定承载客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据光传送网OTN帧的承载容器的速率确定,所述基本单元为基本单元集中包含的基本单元;
将所述客户数据映射到所述基本单元中;
通过所述OTN帧发送映射所述客户数据的基本单元集。
本申请实施例还提供一种数据传输方法,包括:
接收OTN帧;
从所述OTN帧中恢复基本单元集;
从所述基本单元集中提取客户数据,所述基本单元集中包括承载所述客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据光传送网 OTN帧的承载容器的速率确定。
本申请实施例还提供一种数据传输装置,包括:
确定模块,设置为确定承载客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据光传送网OTN帧的承载容器的速率确定,所述基本单元为基本单元集中包含的基本单元;
映射模块,设置为将所述客户数据映射到所述基本单元中;
发送模块,设置为通过所述OTN帧发送映射所述客户数据的基本单元集。
本申请实施例还提供一种数据传输装置,包括:
接收模块,设置为接收OTN帧;
恢复模块,设置为从所述OTN帧中恢复基本单元集;
提取模块,设置为从所述基本单元集中提取客户数据,所述基本单元集中包括承载所述客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据光传送网OTN帧的承载容器的速率确定。
本申请实施例还提供一种终端设备,包括:
一个或多个处理器;
存储装置,用于存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本申请实施例中任意一种数据传输方法。
本申请实施例还提供了一种存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现本申请实施例中的任意一种数据传输方法。
附图说明
图1为本申请提供的一种数据传输方法的流程示意图;
图1a为本申请提供的OTN技术承载客户业务的过程示意图;
图1b为本申请提供的OTN帧结构示意图;
图2为本申请提供的又一种数据传输方法的流程示意图;
图2a为本申请提供的通过OTN技术传递客户数据的过程示意图;
图2b为本申请提供的基本单元按照顺序号排列示意图;
图2c为本申请提供的基本单元在OTN帧结构中承载的过程示意图;
图2d为本申请提供的基本单元通过多个OTN帧结构承载的过程示意图;
图2e为本申请提供的基本单元结构示意图;
图2f为本申请提供的基本单元流通过OTN网络传递客户业务的过程示意图;
图2g为本申请提供的以太网报文经过64/66编码映射到基本单元的过程示意图;
图2h为本申请提供的以太网报文经过64/66编码和256/257编码映射到基本单元的过程示意图;
图2i为本申请提供的采用66比特块组成基本单元实现小颗粒业务传输示意图;
图2j为本申请提供的客户业务映射到66比特块组成的基本单元的过程示意图;
图2k为本申请提供的以太网报文在64/66编码后S块结构图示意图;
图2l为本申请提供的基本单元中S块承载开销信息的结构示意图;
图2m为本申请提供的基本单元中D块开销信息的结构示意图;
图2n为本申请提供的基本单元中T块开销信息的结构示意图;
图2o为本申请提供的采用T块和D块组成基本单元的示意图;
图2p为本申请提供的采用O块和D块组成基本单元的示意图;
图3为本申请提供的一种数据传输装置的结构示意图;
图4为本申请提供的又一种数据传输装置的结构示意图;
图5为本申请提供的一种终端设备的结构示意图。
具体实施方式
下文中将结合附图对本申请的实施例进行说明。
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在一些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
在一个示例性实施方式中,图1为本申请提供的一种数据传输方法的流程示意图,该方法可以适用于提升速率小于设定值的客户数据的传输效率的情况,该方法可以由本申请的数据传输装置执行,该装置可以由软件和/或硬件实现,并集成在终端设备上。终端设备可以涵盖任何适合类型的用户设备。该终端设备可以为发送客户数据的设备。
通讯网络骨干层采用OTN技术承载客户业务,定义了从1.25G到40G之间的各种速率的客户承载方式。在OTN技术从骨干层向接入层渗透中,遇到承载效率问题。原有OTN定义的承载容器包括1.25G、2.5G、10G、40G等几种速率,适合1.25G速率以上的客户。在接入层有许多低速率客户,如2M、10M、100M的客户,如果用1.25G容器来承载时存在严重的带宽浪费问题。对于小于1.25G速率的低速率业务(本申请统一将这类业务称为小颗粒业务或小颗粒客户业务或客户数据,即速率小于1.25G的各类客户业务,如1G、100M、10M、2M等),本申请在OTN协议基础上,给出一种低速率小颗粒客户业务的高质量、高效率的传递方法。
图1a为本申请提供的OTN技术承载客户业务的过程示意图。如图1a所示,光信道净荷单元(Optical Channel PayloadUnit,OPU)是客户承载单元,由客户容器部分和OPU开销部分组成,客户业务是直接映射到OPU容器中进行承载和传递。光信道数据单元(Optical Channel Data Unit,ODU)由ODU容器部分和ODU开销部分组成,OPU单元直接映射到ODU容器中。光信道传送单元(Optical Channel Transport Unit,OTU)由OTU容器部分和OTU开销部分组成,ODU单元直接映射到OTU容器中,OTU单元上增加帧定位字段,构成OTU帧通过光纤进行传递,光连接(Optical Connection,OC)至其余的终端设备。
图1b为本申请提供的OTN帧结构示意图,参见图1b,该帧结构为从客户业务经过OPU、ODU、OTU层层映射后的帧结构。为了提高OTN帧的传输距离,在帧结构后面增加前向纠错字段(Forward Error Correction,FEC),即在纠错区域增加前向纠错字段。当光纤中OTN帧在传递过程中遇到少量错误时,可以通过纠错单元进行检错和纠错,以提高信息传递质量,加大传输距离。OTN帧结构由4行4080列组成,其中前17列是OPU、ODU、OTU开销字段,后256列是纠错字段,中间字段是客户净荷承载区域,即净荷区域。k代表不同速率等级,k=0时OPU容器承载速度为1.25G,k=1时OPU容器承载速率是2.5G,依次类推,分别是10G、40G的承载容器速率。
如图1所示,本申请提供的一种数据传输方法,包括S110、S120和S130。
S110、确定承载客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据光传送网OTN帧的承载容器的速率确定,所述基本单元为基本单元集中包含的基本单元。
客户数据可以认为是待发送的数据,客户数据可以承载在基本单元集上,然后通过OTN帧发送至其他的终端设备,如与本终端设备通信的终端设备,通信的内容包括客户数据。
本申请中的客户数据可以承载在基本单元集中的部分基本单元上,一个终 端设备的客户数据可以映射在基本单元集的部分基本单元上,从而该基本单元集可以承载至少一个终端设备的客户数据,进而该基本单元集可以承载多个终端设备的客户数据,提升了传递效率。
本申请在发送客户数据的情况下,可以首先确定承载客户数据的基本单元,该基本单元为基本单元集包含的基本单元。基本单元集中可以包含n个基本单元,n为正整数。本申请中承载本终端设备的客户数据的基本单元可以是标号为1、6、11、16.....的基本单元,也可以为1到m的基本单元,其中,m为小于n的正整数。即承载客户数据的基本单元可以为基本单元集中间隔的至少两个基本单元或连续的至少两个基本单元,也可以为基本单元集中的一个基本单元。
本步骤确定基本单元可以理解为确定基本单元的格式和确定基本单元的标号,即顺序号。不同的基本的单元可以具有不同的格式,如在基本单元为信元的情况下,基本单元的格式可以为66比特码块,也可以为字节。此处不对基本单元的格式进行限定。确定完基本单元的格式后,本申请可以确定基本单元的顺序号。基本单元集中各基本单元可以以顺序号进行标号。本步骤可以确定承载客户数据的基本单元的顺序号。
本申请并不限定哪些基本单元用于承载客户数据,只要通信双方预先预定即可,以避免不同终端设备的客户数据映射到相同的基本单元上。
本申请中的客户数据的速率小于设定值,设定值可以根据OTN帧的承载容器的速率确定。如设定值为OTN帧的承载容器的速率,本申请中的客户数据的速率小于OTN帧的承载容器的速率。如在OTN帧的承载容器的速率为1.25G的情况下,本申请所述的客户数据为小于1.25G的数据,该客户数据也可以称为小颗粒客户业务。
在一个实施例中,本申请可以基于客户数据需求的带宽和单个基本单元的承载带宽,确定承载客户数据的基本单元的个数。其中,可以基于OTN帧的承载容器的速率和基本单元的循环周期,确定单个基本单元的带宽,如OTN帧的承载容器的速率除以基本单元的循环周期作为单个基本单元的带宽。循环周期可以认为是基本单元集中所包含基本单元的个数。
S120、将所述客户数据映射到所述基本单元中。
确定基本单元后,本申请可以将客户数据映射在基本单元上,即基本单元集上承载了客户数据。
S130、通过所述OTN帧发送映射所述客户数据的基本单元集。
映射完客户数据后,本步骤可以将基本单元集承载在OTN帧上发送。
本申请提供的数据传输方法,确定承载客户数据的基本单元,所述客户数 据的速率小于设定值,所述设定值根据光传送网OTN帧的承载容器的速率确定,所述基本单元为基本单元集中包含的基本单元;将所述客户数据映射到所述基本单元中;通过所述OTN帧发送映射所述客户数据的基本单元集。基本单元集中每个基本单元作为一个传输通道,将OTN帧划分为多个子管道,子管道的个数可以根据基本单元集所包含基本单元的个数确定。提升了速率小于设定值的客户数据的传递效率。
在上述实施例的基础上,提出了上述实施例的变型实施例,为了使描述简要,在变型实施例中仅描述与上述实施例的不同之处。
在一个实施例中,所述基本单元包括报文或信元。
在一个实施例中,所述基本单元的长度为固定长度,所述基本单元由固定数量的字节组成或由固定数量的66比特码块组成。
此处不对固定数量进行限定,本领域技术人员可以根据实际情况进行确定。
在一个实施例中,所述基本单元集包括至少一个基本单元,所述基本单元集用于承载至少一个终端设备的客户数据。
各终端设备的客户数据可以映射在基本单元集中不同的基本单元上,以提升OTN帧的利用率。
在一个实施例中,所述基本单元上包括:开销信息,所述开销信息包括以下一个或多个:顺序信息,所述顺序信息用于标识所述基本单元;空信元指示信息;维护管理信息。
开销信息可以用于标识基本单元,如开销信息中的顺序信息可以为顺序号,用于标识该基本单元为基本单元集中的哪一基本单元。空闲指示信息可以用于指示基本单元是否为空闲的基本单元。空闲指示信息可以为空信元指示信息,用于指示为空闲信元或业务信元。维护管理信息(Operations Administration and Maintenance,OAM)可以用于基本单元的操作、管理和维护。如维护管理信息至少包含以下一个或多个:本端误码、远端误码、客户表示、延迟时间、客户类型、本地缺陷和远端缺陷。
在一个实施例中,在所述基本单元为信元的情况下,所述信元采用不同的目标码块组合形成,所述目标码块包括边界控制码块和数据码块,所述数据码块用于承载所述客户数据,所述边界控制码块用于标识所述信元的边界,所述边界控制码块包括以下一个或多个:S块;T块;O块;预定义的控制码块。
预定义的控制码块可以为自定义的控制码块,只要能够用于标识信元的边界即可。
在边界控制码块包含S块和T块的情况下,S块和T块可以分别用于标识基本单元的开始和结束。在边界控制码块仅包含S块的情况下,S块可以标识基本单元的开始和结束,即可以设置在基本单元的开始位置和结束位置。在边界控制码块仅包含T块的情况下,T块可以标识基本单元的开始和结束,即可以设置在基本单元的开始位置和结束位置。在仅包含O块的情况下,O块可以用于标识基本单元的开始和结束,可以仅在开始位置设置O块。在仅包含预定义的控制码块的情况下,可以通过预定义的控制码块标识基本单元的开始和结束,可以仅在基本单元的开始位置设置预定义的控制码块。
S块;T块;O块;预定义的控制码块中的一个或多个可以任意组合,以标识一个基本单元,此处不作限定。
在一个实施例中,所述基本单元中的开销信息承载在所述目标码块上。
基本单元的开销信息可以承载在目标码块上,即可以承载在以下一个或多个码块上:边界控制码块和数据码块。
在一个实施例中,所述将所述客户数据映射到所述基本单元中,包括:
将所述客户数据直接映射到所述基本单元中。
示例性的,在基本单元为信元的情况下,本申请可以直接将客户数据映射到信元的数据块中,在基本单元为报文的情况下,本申请可以将客户数据映射到报文的承载内容部分。
在一个实施例中,所述将所述客户数据映射到所述基本单元中,包括:
对所述客户数据进行编码,并将编码后的数据映射到所述基本单元中,其中,编码的方式包括64/66编码;或编码的方式包括64/66编码和256/257编码。
本申请在对客户数据进行编码的情况下,可以仅进行64/66编码;或进行64/66编码后,再进行256/257编码。
在一个实施例中,所述通过所述OTN帧发送映射所述客户数据的基本单元集,包括:
将映射所述客户数据的基本单元集映射到光信道净荷单元OPU的净荷中,所述OPU的个数为至少一个;发送所述OTN帧,所述OTN帧中承载所述OPU。
本申请在映射客户数据的情况下,可以首先将客户数据映射至OPU单元的净荷中,然后将映射客户数据的OPU单元依次映射在ODU单元和OUT单元的净荷中,以使OTN帧的载荷区域承载有客户数据。
在一个实施例中,在OPU的个数为至少两个的情况下,每个OPU的映射方式相同或各OPU形成OPU复帧。
在OPU的个数为至少两个的情况下,每个OPU可以承载客户数据,不同时刻的客户数据可以通过不同的OPU承载。或者,每个OPU形成复帧承载客户数据。
在一个实施例中,映射所述客户数据的基本单元集所包括的基本单元在OPU中的映射位置固定;或,映射所述客户数据的基本单元集所包括的基本单元在OPU中的映射位置浮动,所述基本单元集中各基本单元在所述OPU中的位置通过对应的边界控制码块和开销信息确定。
基本单元集中所包括的基本单元,如承载客户数据的基本单元,在OPU中的映射位置固定;或者映射位置浮动,基本单元在OPU中的映射位置可以通过该基本单元的边界控制码块和开销信息确定。边界控制码块可以用于标识基本单元的边界,开销信息可以标识基本单元的顺序号。
本申请提供了一种数据传输方法,图2为本申请提供的又一种数据传输方法的流程示意图。该方法可以适用于在终端设备上接收客户数据的情况,该客户数据承载在对应的基本单元上,该客户数据的速度小于设定值。该方法可以由本申请提供的数据传输装置执行,该装置可以由软件和/或硬件实现,并集成在终端设备上。该终端设备可以为接收客户数据的设备。
如图2所示,本申请提供的数据传输方法,包括:S210、S220和S230。
S210、接收OTN帧。
本申请可以首先接收OTN帧。该OTN中承载有映射客户数据的基本单元集。通过提取该OTN帧中的内容可以提取客户数据。
S220、从所述OTN帧中恢复基本单元集。
本申请可以基于基本单元集所包含的基本单元的个数,从OTN帧中提取相应数量的基本单元,以恢复出基本单元集。基本单元集中各基本单元存在对应的顺序号(即顺序信息),基于顺序号可以恢复基本单元集,如将各基本单元按照顺序号顺序排列,得到基本单元集。
S230、从所述基本单元集中提取客户数据,所述基本单元集中包括承载所述客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据光传送网OTN帧的承载容器的速率确定。
在恢复基本单元集后,本申请可以从基本单元集中提取客户数据。
在提取客户数据时,可以首先确定承载该客户数据的基本单元,然后从基本单元中提取所承载的数据,最后,根据各基本单元的顺序号及所承载的内容,得到客户数据,如按照顺序号将各基本单元的数据进行拼接得到客户数据。
当客户数据是通过编码后在报文或信元上承载时,对基本单元中提取的比特值进行解码,恢复出原始客户报文内容,即编码前的客户数据。
本实施例尚未详尽的内容可以参见上述实施例,此处不作赘述。
本申请提供的数据传输方法,接收OTN帧;从所述OTN帧中恢复基本单元集;从所述基本单元集中提取客户数据,所述基本单元集中包括承载所述客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据光传送网OTN帧的承载容器的速率确定。利用该方法可以提升速率小于设定值的客户数据的传递效率。
在上述实施例的基础上,提出了上述实施例的变型实施例,在此需要说明的是,为了使描述简要,在变型实施例中仅描述与上述实施例的不同之处。
在一个实施例中,所述从所述OTN帧中恢复基本单元集,包括:
从所述OTN帧的OPU的净荷中恢复基本单元集,所述OPU的个数为至少一个。
OPU的个数可以与OTN帧的个数相同,在OPU的个数为至少一个的情况下,本申请可以接收至少一个OTN帧。然后从至少一个OTN帧的OPU净荷中恢复基本单元集。
在一个实施例中,在OPU的个数为至少两个的情况下,每个OPU的映射方式相同或各OPU形成OPU复帧。
在一个实施例中,所述从所述基本单元集中提取客户数据,包括:
确定所述基本单元集中承载客户数据的基本单元;提取所述基本单元中承载的客户数据。
在提取客户数据的情况下,本申请可以首先确定基本单元集中承载客户数据的基本单元。如确定承载客户数据的基本单元的顺序号,即顺序信息,该顺序信息可以为通信双方预先约定的。本申请中发送基本单元集的终端设备可以为发送设备,接收基本单元集,以提取客户数据的终端设备可以为接收设备。
在确定基本单元后,本申请可以直接提取基本单元上承载的客户数据。确定出的基本单元的个数可以为至少一个,在为至少两个的情况下,可以按照基本单元的顺序号将基本单元所承载的内容进行拼接,得到客户数据。
本申请在提取客户数据的情况下,客户数据可以为一个终端设备的客户数据,不同的终端设备的客户数据的提取可以采用相同的技术手段,此处不作限定。如基本单元集中承载了终端设备a的客户数据1和终端设备b的客户数据2。本申请中提取客户数据可以认为是提取终端设备a的客户数据1或者提取终端 设备b的客户数据2的过程。
在一个实施例中,所述确定所述基本单元集中承载客户数据的基本单元,包括:
确定承载客户数据的基本单元的顺序信息;基于所述顺序信息确定所述基本单元集中承载客户数据的基本单元。
本申请可以从基本单元的开销信息中提取顺序信息,然后将基本单元集中该顺序信息对应的基本单元作为承载客户数据的基本单元。
在一个实施例中,所述基本单元集包括至少一个基本单元,所述基本单元集用于承载至少一个终端设备的客户数据。
在一个实施例中,所述基本单元包括报文或信元。
在一个实施例中,所述基本单元的长度为固定长度,所述基本单元由固定数量的字节组成或由固定数量的66比特码块组成。
在一个实施例中,所述基本单元上包括:开销信息,所述开销信息包括以下一个或多个:顺序信息,所述顺序信息用于标识所述基本单元;空信元指示信息;维护管理信息。
在一个实施例中,在所述基本单元为信元的情况下,所述信元采用不同的目标码块组合形成,所述目标码块包括边界控制码块和数据码块,所述数据码块用于承载所述客户数据,所述边界控制码块用于标识所述信元的边界,所述边界控制码块包括以下一个或多个:S块;T块;O块;预定义的控制码块。
在一个实施例中,基本单元中的开销信息承载在所述目标码块上。
在一个实施例中,所述基本单元集中所包括的基本单元在所述OTN帧的OPU中的映射位置固定;或,所述基本单元集所包括的基本单元在所述OTN帧的OPU中的映射位置浮动,所述基本单元集中各基本单元在所述OPU中的位置通过对应的边界控制码块和开销信息确定。
以下对本申请进行示例性的描述:
本申请提供的数据传输方法可以认为是一种OTN业务中实现小颗粒业务传递的方法,小颗粒业务可以认为是速率小于1.25G bit/s的客户业务。该方法可以实现小颗粒业务的高速率、高质量的传递。
本申请提供的数据传输方法可以包括:
步骤1:在发送端,确定承载小颗粒业务的基本单元格式及基本单元的顺序 号。
步骤2:在发送端,小颗粒业务映射到对应顺序号的基本单元中,所有基本单元映射到OPU净荷中通过OTN帧发送出去。
步骤3:在接收端,接收OTN帧信号,从对应的OPU净荷中恢复基本单元。
步骤4:在接收端,从对应顺序号的基本单元净荷区提取信息,恢复小颗粒客户业务。
步骤1可包括:
步骤1.1:基本单元上携带有顺序号,以及开销字节。顺序号将所有基本单元划分成许多子基本单元,子基本单元提供子传输管道,即顺序号将基本单元集中各基本单元进行标号,每个基本单元提供子传输管道。开销字节提供包括但不限于OAM信息、时间信息。开销信息可以包括顺序号及开销字节。
步骤1.2:基本单元长度为固定长度,可以由固定数量的字节组成,也可以是固定数量的66比特码块组成。
步骤1.3:基本单元由66比特码块组成时,用特殊的控制码块来标识基本单元的边界,数据码块用来承载客户数据。特殊的控制码块可以是S块、T块、O块或其他定义的各种控制块。
步骤1.4:小颗粒客户业务比特信息可以直接映射到基本单元中,也可以先对小颗粒客户业务内容进行编码,然后将编码结果映射到基本单元中。编码时可以采用64/66编码,也可采用64/66编码和256/257编码组合起来。
步骤2可包括:
步骤2.1:所有基本单元按照顺序号映射到一个OPU单元的净荷中,也可以映射到多个OPU单元的净荷。
步骤2.2:基本单元在OPU单元净荷中映射时可以采用固定位置映射,每个基本单元在OTN帧中的位置保持不变;也可以采用浮动映射,基本单元在OTN帧中的位置是浮动的,通过识别基本单元边界符号、基本单元的顺序号确定每个基本单元位置。
步骤4可包括:
步骤4.1:确定每个基本单元携带的顺序号,从对应顺序号的基本单元上提取客户数据。
步骤4.2:当客户数据是通过编码后才在基本单元上映射承载时,则对基本单元中提取的比特值进行解码,恢复出原始的客户数据,即编码前的客户数据。
图2a为本申请提供的通过OTN技术传递客户数据的过程示意图,参见图2a,如果设定一个虚拟中间客户,虚拟中间客户的速度带宽为1.25G(也可以是2.5G、10G),该虚拟中间客户由客户1、客户2和客户3构成。该虚拟中间客户的客户数据可以承载在信元上。
图2b为本申请提供的基本单元按照顺序号排列示意图。参见图2b,该虚拟中间客户采用定长的基本单元(后续称为信元,即Cell),n个基本单元构成基本单元集。
图2c为本申请提供的基本单元在OTN帧结构中承载的过程示意图。如图2c,定长基本单元充当OTN标准中定义的ODU客户,在OPU容器中承载发送。定长基本单元携带顺序号,顺序号循环出现。如信元1中的“1”为对应信元的顺序号,顺序号可以每隔n个循环一次,即n个信元构成基本单元集。顺序号将虚拟中间客户报文划分成许多子时隙报文,每个子时隙报文提供一条子传输管道。如虚拟中间客户对应的信元个数为n个,则顺序号将虚拟中间客户划分为n个子时隙报文。
当中间客户报文(即每个信元承载的数据)长度全部相等时,通过顺序号将虚拟中间客户划分成速度相同的许多子时隙基本单元,每个子时隙基本单元提供一条子传输管道,所有子时隙管道的速度完全相同。真实的原始客户放在虚拟中间客户基本单元中承载,不同的原始客户报文内容放在不同顺序号的基本单元中(即子传输管道),例如第1个客户放在顺序号为1、26、51、......,n*25+1(n为0、1、2、3的自然数,以下类同)的基本单元报文中。采用这种方法,每间隔25个基本单元选择其中1个基本单元组合起来承载一条真实客户,这样将虚拟中间客户均匀地划分成25等份,每一份速度为虚拟中间客户速度的1/25,当虚拟中间客户速度为2.5G时,每一份速度100M,这样将2.5G速率的中间虚拟客户均匀地划分成25份,形成25个子传输管道,每个子传输管道的带宽是100M,25个100M的子管道共享一个OPU单元容器,每个子管道上承载一条真实客户,真实客户之间在物理上是完全隔离的,相互不影响。
虚拟客户报文格式是固定长度的基本单元,所有顺序基本单元可以在一个OPU净荷区承载,当OPU净荷区的大小是单个基本单元长度的整数倍时,则基本单元刚好充满OPU净荷区域。当OPU净荷区的大小不是单个基本单元长度的整数倍时,则OPU净荷区域在填充基本单元后,还会剩余部分空间不足于填充一个基本单元,这时剩余的空闲位置可以填充固定塞入字节,如填充(PAD)字节。
图2d为本申请提供的基本单元通过多个OTN帧结构承载的过程示意图,参见图2d,在OPU净荷中填入固定塞入会降低承载效率,在实现上可以将多个 OPU帧组合在一起,形成OPU复帧,OPU复帧长度是单基本单元长度的整数倍,基本单元刚好填充满一个OPU复帧。
基本单元在OPU容器中承载时可以采用固定位置,每个基本单元按照顺序号顺序依次排列在OPU容器中,通过序列号可以确定每个基本单元的位置,不同的客户只需要根据序列号就可以确定在OPU中位置。客户业务内容是恒定比特率(Constant Bit Rate,CBR)业务(恒定速率)时,业务流是连续不断,没有起始和终止时刻,基本单元可以采用精简结构。
图2e为本申请提供的基本单元结构示意图,参见图2e,基本单元结构由序列号(如SQ序列)、开销字节(如开销(Overhead,OH)字节)和基本单元净荷部分组成。基本单元序列号可以确定每个基本单元的顺序编号,即顺序信息;开销字节用来支持基本单元类型、OAM等信息,如携带基本单元的校验值、发送时刻、客户信号类型、告警等信息;基本单元净荷部分用来承载客户数据。
图2f为本申请提供的基本单元流通过OTN网络传递客户业务的过程示意图。参见图2f,在图中4台设备采用OTN技术组成传输网络,在设备1到设备4之间的一条OPU通道作为小颗粒低速率客户的传输管道,在该传输管道上创建一个虚拟中间客户,虚拟中间客户为定长的基本单元,如信元,每个基本单元上携带顺序号(如图中cell SQ值)和其他开销字段。基本单元报文采用固定长度,顺序号循环出现,基本单元报文以2.5G bit/s速率从设备1传送到设备4,在中间设备2和设备3上,基本单元从设备的一个方向上接收到,然后交叉到另外一个方向上发送出去,在设备2和设备3上会有新客户上下。在设备1上,选择部分基本单元来承载客户1的内容,如选择基本单元顺序号为1、26、51、76.....的基本单元来承载客户1,承载带宽为100M bit/s;当基本单元通过设备2时,选择部分基本单元来承载客户2的内容,如选择基本单元顺序号为2、27、52、77.....的基本单元来承载客户2,承载带宽也是100M bit/s;类似地,当基本单元通过设备3时,选择部分基本单元来承载客户3的内容,如选择基本单元顺序号3、28、53、78.....的基本单元承载客户3。在设备4上,从基本单元顺序号1、26、51、76.....上提取、恢复出客户1的信息,从基本单元顺序号2、27、52、77.....上提取、恢复出客户2的信息,从基本单元顺序号3、38、53、78.....上提取、恢复出客户3的信息。通过这些基本单元将OPU通道分成许多子基本单元时隙,每个基本单元子时隙组成低速率的传输管道,不同数量的基本单元子时隙组合起来形成不同速率的传输管道。在本申请中,不同的小颗粒低速客户选择不同的基本单元子管道承载,这些小颗粒客户相互之间完全隔离,相互独立相互不影响。
当客户业务是以太网报文时,客户业务是一串串数据报文,报文有起始位 置和终止位置,报文之间存在帧间隔,在将客户报文映射到基本单元中时,需要标注报文的起始位置、结束位置,以及报文中的帧间隙字节。在实现上通常先对客户进行64/66编码。以太网标准制定了64/66编码规则。64/66编码规则将64比特长度(8个字节)的客户信息转化为66比特长度的码块:其中前2个比特是同步头比特,同步头值为“01”时表示该码块是数据块(D块),后面的8个字节(64比特)是码块的字节内容。同步头值为“10”时表示该码块是控制块,同步头后面的第一个字节(8比特)内容是控制块的类型值(block type field字段),控制值为“0x1E”(十六进制)时表示该控制块是空闲码块(IDLE块),码块中后面内容是空闲信息,如64/66编码规则表中第二行的编码结果,即C块包括C0、C1、C2、C3、C4、C5、C6和C7。控制值为“0x78”(十六进制)时表示该控制块是S块(或S0块,表示报文开始块),S块表示是一个报文的开始块,客户报文前导码(包括帧定界符)部分编码后就变成S块,如64/66编码规则表中第三行编码结果,即如S块包括D1、D2、D3、D4、D5、D6和D7。S块之后就是报文的内容部分,因此S块后面出现的是D块。控制值为0x87、0x99、0xAA、0xFF、0xB4、0xCC、0xD2、0xE1、0xFF时表示该控制块是T0、T1、T2、T3、T4、T5、T6、T7块,共8种T块。T块表示一个数据报文结束码块。由于报文长度不确定,一个报文主体部分编码成D块后,剩余字节不足8字节时无法编码成D块,剩余字节可以有0、1、2、3、4、5、6、7几种数量的字节,因此定义8种T块格式,不同的T块中携带报文中剩余部分的不同数量的数据字节:0、1、2、3、4、5、6、7字节的客户数据字节。
图2g为本申请提供的以太网报文经过64/66编码映射到基本单元的过程示意图。如图2g所示,原始客户在映射到虚拟中间客户的基本单元前进行64/66编码,将编码后的信息内容进行比特切割后放在基本单元中进行承载传输,从而实现比特映射。
在一个示例中,基本单元顺序号范围是1-250,顺序号每间隔250个基本单元循环出现。当所有基本单元是通过一个OPU1容器进行承载传输时,所有基本单元的总带宽为2.5G bit/s,对于一个固定的顺序号值的基本单元,其物理带宽为10M bit/s。对于100M速率的客户业务,在250个基本单元中选择10个基本单元承载传输,10个基本单元的总带宽为100M bit/s。为了减少客户报文延迟时间,实现时采用等间隔地选择承载基本单元,对于100速率的客户业务,可以每间隔25个基本单元选取一个基本单元传递100M速率的客户信息,比如选择顺序号为:1、26、51、76.....的基本单元承载客户报文;对于10M速率的客户业务,可以每间隔250个基本单元选在一个基本单元传递10M速率的客户信息。
由于基本单元自身携带开销字节,基本单元上承载客户信息部分只占整个 基本单元的一部分,承载管道的带宽利用率无法达到100%,同时对客户报文进行64/66编码后,将64比特长度的内容增大为66比特长度,带来带宽膨胀,降低了带宽利用率。
图2h为本申请提供的以太网报文经过64/66编码和256/257编码映射到基本单元的过程示意图,参见图2h,为了提高带宽利用率,当客户数据进行64/66编码后,可以再进行一次256/257编码,这样可以将4个66比特比特码块再编码成1个257比特长度的码块,降低编码带来的带宽膨胀,提高带宽利用率,客户数据如何进行编码,如何映射到基本单元中可以有各种实现方式,这些都在本申请的保护范围内。
图2i为本申请提供的采用66比特块组成基本单元实现小颗粒业务传输示意图,参见图2i,基本单元是由序列号、开销和基本单元容器组成,基本单元中每一部分都是由一个或多个字节(8位比特数据)组成,在实际应用中基本单元格式也可以是由多个66比特块组成,基本单元可以由S块+D块+T块组成。S块是基本单元头块,T块是基本单元尾块,D块是基本单元承载部分,客户数据承载D块中的64个比特数据位置上。
图2j为本申请提供的客户业务映射到66比特块组成的基本单元的过程示意图,参见图2j,当客户数据是CBR类的连续业务流时,则将客户业务直接映射到D块上的64比特位置;当客户业务是以太网报文时,则对客户报文先进行编码,然后将编码后的比特码流映射到D块上的64比特位置。
图2k为本申请提供的以太网报文在64/66编码后S块结构图示意图,参见图2k,在以太网标准中,S块后面7个字节内容是固定值:6个字节内容为“0x55”(前导码字节内容)和1个“0xD5”(帧定界符字节内容),这7个字节内容是固定值。在本申请中可以重新利用部分这些字节的位置来传递基本单元的顺序号和开销信息(如基本单元类型指示、OAM信息等)。
图2l为本申请提供的基本单元中S块承载开销信息的结构示意图,参见图2l,在S块中,用3个字节(24个比特)位置来传递基本单元的序列号(即顺序号)和开销信息,基本单元开销内容有空基本单元指示信号空(Null),即N、基本单元前向错误指示信号AIS、基本单元维护管理信息OAM。在实现中,基本单元开销信息可以包括但不限这几类内容。基本单元的开销信息可以放在S块的第2、3、4个字节位置,在实际应用中,开销信息也可以放在S块中其他字节位置。
图2m为本申请提供的基本单元中D块开销信息的结构示意图,参见图2m,开销信息也可以放在S块之后的D块位置,在部分D块上承载开销信息,开销信息放在第一个D码块位置,第一个D码块上8个字节中部分字节传开销信息, 部分字节传可以信息。例如第一个D码块上前3个字节用来承载开销信息,后面5个字节用来传递真实客户数据,也可以是第一个D数据块上前6个字节用来承载真实客户数据,后面2个字节用来传递开销信息。
图2n为本申请提供的基本单元中T块开销信息的结构示意图,参见图2n,开销信息也可以放在T块上,采用T7作为基本单元结束块,也可以采用其他T码块。T7中部分字节用来传开销信息,部分字节用来传客户信息。例如开销信息放在T块中第6、7、8三个字节上,T7块中第2、3、4、5字节用来传递客户数据,实际应用中开销信息也可以在T块中其他字节位置。当采用其他控制码块作为基本单元的边界指示时,开销信息可以放在基本单元边界指示码块上。
当基本单元是有多个66比特码块组成时,基本单元码块结构由S块+D块+T块组成,这是基本单元结构的一个特例。基本单元结构可以精简为边界码块+数据码块。边界码块用来指示基本单元的开始和结束位置。边界码块可以是两种码块,一个码块指示开始位置,一个码块指示结束位置。边界码块可以只有一种码块,同时表示前一个基本单元的结束位置和后一个基本单元的开始位置。数据码块用来承载客户信息内容。基本单元的格式可以是各种类型的:例如不用S块作为基本单元开始块、T块作为基本单元结束块,采用其他类型的控制类型码块作为基本单元的起始块和结束块。
图2o为本申请提供的采用T块和D块组成基本单元的示意图,参见图2o,可以将连续的两个T块作为基本单元的起始块和结束块,前面的T块是基本单元的结束块,后面的T块是基本单元起始块。
图2p为本申请提供的采用O块和D块组成基本单元的示意图,参见图2p,基本单元结构可以不需要起始块和结束块,只需要一个基本单元边界码块,基本单元边界码块是前一个基本单元结束位置,也是后一个基本单元的结束位置,基本单元边界码块之间的所有数据块就是基本单元承载部分。采用自定义的控制码作为基本单元边界码块,自定义的控制码块可以是以太网定义编码中O块,O块中携带自定义标识内容,如64/66编码规则中第4行编码结果(O块中控制字内容为“0x4B”,码块中O0值可以采用各种值,在本申请中取自定义的特殊值,以和标准中已有O0值区分开)。
本申请提供了一种数据传输装置,图3为本申请提供的一种数据传输装置的结构示意图,该装置可以集成在终端设备中,该终端设备可以为发送客户数据的设备。如图3所示,该装置包括:确定模块31,设置为确定承载客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据光传送网OTN帧的承载容器的速率确定,所述基本单元为基本单元集中包含的基本单元;映射模块32,设置为将所述客户数据映射到所述基本单元中;发送模块33,设置 为通过所述OTN帧发送映射所述客户数据的基本单元集。
本实施例提供的数据传输装置用于实现如图1所示实施例的数据传输方法,本实施例提供的数据传输装置实现原理和技术效果与图1所示实施例的数据传输方法类似,此处不再赘述。
在上述实施例的基础上,提出了上述实施例的变型实施例,在此需要说明的是,为了使描述简要,在变型实施例中仅描述与上述实施例的不同之处。
在一个实施例中,所述基本单元包括报文或信元。
在一个实施例中,所述基本单元的长度为固定长度,所述基本单元由固定数量的字节组成或由固定数量的66比特码块组成。
在一个实施例中,所述基本单元集包括至少一个基本单元,所述基本单元集用于承载至少一个终端设备的客户数据。
在一个实施例中,所述基本单元上包括:开销信息,所述开销信息包括以下一个或多个:顺序信息,所述顺序信息用于标识所述基本单元;空信元指示信息;维护管理信息。
在一个实施例中,在所述基本单元为信元的情况下,所述信元采用不同的目标码块组合形成,所述目标码块包括边界控制码块和数据码块,所述数据码块用于承载所述客户数据,所述边界控制码块用于标识所述信元的边界,所述边界控制码块包括以下一个或多个:S块;T块;O块;预定义的控制码块。
在一个实施例中,所述基本单元中的开销信息承载在所述目标码块上。
在一个实施例中,映射模块32是设置为:
将所述客户数据直接映射到所述基本单元中。
在一个实施例中,映射模块32是设置为:
对所述客户数据进行编码,并将编码后的数据映射到所述基本单元中,其中,编码的方式包括64/66编码;或编码的方式包括64/66编码和256/257编码。
在一实施例中,发送模块33是设置为:
将映射所述客户数据的基本单元集映射到光信道净荷单元OPU的净荷中,所述OPU的个数为至少一个;发送所述OTN帧,所述OTN帧中承载所述OPU。
在一实施例中,在OPU的个数为至少两个的情况下,每个OPU的映射方式相同或各OPU形成OPU复帧。
在一实施例中,映射所述客户数据的基本单元集所包括的基本单元在OPU中的映射位置固定;或,映射所述客户数据的基本单元集所包括的基本单元在 OPU中的映射位置浮动,所述基本单元集中各基本单元在所述OPU中的位置通过对应的边界控制码块和开销信息确定。
本申请提供了一种数据传输装置,图4为本申请提供的又一种数据传输装置的结构示意图,该装置可以集成在终端设备上,该终端设备可以为接收客户数据的设备。如图4所示,该装置包括:接收模块41,设置为接收OTN帧;恢复模块42,设置为从所述OTN帧中恢复基本单元集;提取模块43,设置为从所述基本单元集中提取客户数据,所述基本单元集中包括承载所述客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据光传送网OTN帧的承载容器的速率确定。
本实施例提供的数据传输装置用于实现如图2所示实施例的数据传输方法,本实施例提供的数据传输装置实现原理和技术效果与图2所示实施例的数据传输方法类似,此处不再赘述。
在上述实施例的基础上,提出了上述实施例的变型实施例,在此需要说明的是,为了使描述简要,在变型实施例中仅描述与上述实施例的不同之处。
在一个实施例中,恢复模块42,是设置为:
从所述OTN帧的OPU的净荷中恢复基本单元集,所述OPU的个数为至少一个。
在一个实施例中,在OPU的个数为至少两个的情况下,每个OPU的映射方式相同或各OPU形成OPU复帧。
在一个实施例中,提取模块43是设置为:
确定所述基本单元集中承载客户数据的基本单元;
提取所述基本单元中承载的客户数据。
在一个实施例中,提取模块43是设置为:
确定承载客户数据的基本单元的顺序信息;基于所述顺序信息确定所述基本单元集中承载客户数据的基本单元。
在一个实施例中,所述基本单元集包括至少一个基本单元,所述基本单元集用于承载至少一个终端设备的客户数据。
在一个实施例中,所述基本单元包括报文或信元。
在一个实施例中,所述基本单元的长度为固定长度,所述基本单元由固定数量的字节组成或由固定数量的66比特码块组成。
在一个实施例中,所述基本单元上包括:开销信息,所述开销信息包括以下一个或多个:顺序信息,所述顺序信息用于标识所述基本单元;空信元指示信息;维护管理信息。
在一个实施例中,在所述基本单元为信元的情况下,所述信元采用不同的目标码块组合形成,所述目标码块包括边界控制码块和数据码块,所述数据码块用于承载所述客户数据,所述边界控制码块用于标识所述信元的边界,所述边界控制码块包括以下一个或多个:S块;T块;O块;预定义的控制码块。
在一个实施例中,基本单元中的开销信息承载在所述目标码块上。
在一个实施例中,所述基本单元集中所包括的基本单元在所述OTN帧的OPU中的映射位置固定;或,所述基本单元集所包括的基本单元在所述OTN帧的OPU中的映射位置浮动,所述基本单元集中各基本单元在所述OPU中的位置通过对应的边界控制码块和开销信息确定。
本申请实施例还提供了一种终端设备,图5为本申请提供的一种终端设备的结构示意图。如图5所示,本申请提供的终端设备,包括一个或多个处理器51和存储装置52;该终端设备中的处理器51可以是一个或多个,图5中以一个处理器51为例;存储装置52用于存储一个或多个程序;所述一个或多个程序被所述一个或多个处理器51执行,使得所述一个或多个处理器51实现如本申请实施例中所述的方法。
终端设备还包括:通信装置53、输入装置54和输出装置55。
终端设备中的处理器51、存储装置52、通信装置53、输入装置54和输出装置55可以通过总线或其他方式连接,图5中以通过总线连接为例。
输入装置54可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的按键信号输入。输出装置55可包括显示屏等显示设备。
通信装置53可以包括接收器和发送器。通信装置53设置为根据处理器51的控制进行信息收发通信。信息包括但不限于OTN帧。
存储装置52作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序以及模块,如本申请实施例所述方法对应的程序指令/模块(例如,数据传输装置中的确定模块31、映射模块32和发送模块33;又如数据传输装置中的接收模块41、恢复模块42和提取模块43)。存储装置52可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储装置52可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至 少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储装置52可包括相对于处理器51远程设置的存储器,这些远程存储器可以通过网络连接至终端设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
本申请实施例还提供一种存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现本申请实施例提供的方法。该数据传输方法包括:确定承载客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据光传送网OTN帧的承载容器的速率确定,所述基本单元为基本单元集中包含的基本单元;将所述客户数据映射到所述基本单元中;通过所述OTN帧发送映射所述客户数据的基本单元集。
或该数据传输方法,包括:接收OTN帧;从所述OTN帧中恢复基本单元集;从所述基本单元集中提取客户数据,所述基本单元集中包括承载所述客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据光传送网OTN帧的承载容器的速率确定。
本申请实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(Random Access Memory,RAM)、只读存储器(Read Only Memory,ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、闪存、光纤、便携式CD-ROM、光存储器件、磁存储器件、或者上述的任意合适的组合。计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于:电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、无线电频率(Radio Frequency,RF)等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN)——连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
以上所述,仅为本申请的示例性实施例而已,并非用于限定本申请的保护范围。
术语终端设备涵盖任何适合类型的无线用户设备,例如移动电话、便携数据处理装置、便携网络浏览器或车载移动台。
一般来说,本申请的多种实施例可以在硬件或专用电路、软件、逻辑或其任何组合中实现。例如,一些方面可以被实现在硬件中,而其它方面可以被实现在可以被控制器、微处理器或其它计算装置执行的固件或软件中,尽管本申请不限于此。
本申请的实施例可以通过移动装置的数据处理器执行计算机程序指令来实现,例如在处理器实体中,或者通过硬件,或者通过软件和硬件的组合。计算机程序指令可以是汇编指令、指令集架构(Instruction Set Architecture,ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码。
本申请附图中的任何逻辑流程的框图可以表示程序步骤,或者可以表示相互连接的逻辑电路、模块和功能,或者可以表示程序步骤与逻辑电路、模块和功能的组合。计算机程序可以存储在存储器上。存储器可以具有任何适合于本地技术环境的类型并且可以使用任何适合的数据存储技术实现,例如但不限于只读存储器(Read-Only Memory,ROM)、随机访问存储器(Random Access Memory,RAM)、光存储器装置和系统(数码多功能光碟(Digital Video Disc,DVD)或光盘(Compact Disk,CD))等。计算机可读介质可以包括非瞬时性存储介质。数据处理器可以是任何适合于本地技术环境的类型,例如但不限于通用计算机、专用计算机、微处理器、数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑器件(Field-Programmable Gate Array,FPGA)以及基于多核处理器架构的处理器。

Claims (28)

  1. 一种数据传输方法,包括:
    确定承载客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据光传送网OTN帧的承载容器的速率确定,所述基本单元为基本单元集中包含的基本单元;
    将所述客户数据映射到所述基本单元中;
    通过所述OTN帧发送映射所述客户数据的基本单元集。
  2. 根据权利要求1所述的方法,其中,所述基本单元包括报文或信元。
  3. 根据权利要求1所述的方法,其中,所述基本单元的长度为固定长度,所述基本单元由固定数量的字节组成或由固定数量的66比特码块组成。
  4. 根据权利要求1所述的方法,其中,所述基本单元集包括至少一个基本单元,所述基本单元集用于承载至少一个终端设备的客户数据。
  5. 根据权利要求1所述的方法,其中,所述基本单元包括:开销信息,所述开销信息包括以下至少之一:顺序信息,所述顺序信息用于标识所述基本单元;空信元指示信息;维护管理信息。
  6. 根据权利要求1所述的方法,其中,
    在所述基本单元为信元的情况下,所述信元采用不同的目标码块组合形成,所述目标码块包括边界控制码块和数据码块,所述数据码块用于承载所述客户数据,所述边界控制码块用于标识所述信元的边界,所述边界控制码块包括以下至少之一:S块;T块;O块;预定义的控制码块。
  7. 根据权利要求6所述的方法,其中,所述基本单元中的开销信息承载在所述目标码块上。
  8. 根据权利要求1所述的方法,其中,所述将所述客户数据映射到所述基本单元中,包括:
    将所述客户数据直接映射到所述基本单元中。
  9. 根据权利要求1所述的方法,其中,所述将所述客户数据映射到所述基本单元中,包括:
    对所述客户数据进行编码,并将编码后的数据映射到所述基本单元中,其中,编码的方式包括64/66编码;或编码的方式包括64/66编码和256/257编码。
  10. 根据权利要求1所述的方法,其中,所述通过所述OTN帧发送映射所述客户数据的基本单元集,包括:
    将映射所述客户数据的基本单元集映射到光信道净荷单元OPU的净荷中, 所述OPU的个数为至少一个;
    发送所述OTN帧,所述OTN帧中承载所述OPU。
  11. 根据权利要求10所述的方法,其中,在所述OPU的个数为至少两个的情况下,每个OPU的映射方式相同或每个OPU形成OPU复帧。
  12. 根据权利要求10所述的方法,其中,映射所述客户数据的基本单元集所包括的基本单元在所述OPU中的映射位置固定;或,映射所述客户数据的基本单元集所包括的基本单元在所述OPU中的映射位置浮动,所述基本单元集中的每个基本单元在所述OPU中的位置通过对应的边界控制码块和开销信息确定。
  13. 一种数据传输方法,包括:
    接收光传送网OTN帧;
    从所述OTN帧中恢复基本单元集;
    从所述基本单元集中提取客户数据,所述基本单元集中包括承载所述客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据所述OTN帧的承载容器的速率确定。
  14. 根据权利要求13所述的方法,其中,所述从所述OTN帧中恢复基本单元集,包括:
    从所述OTN帧的光信道净荷单元OPU的净荷中恢复基本单元集,所述OPU的个数为至少一个。
  15. 根据权利要求14所述的方法,其中,在所述OPU的个数为至少两个的情况下,每个OPU的映射方式相同或每个OPU形成OPU复帧。
  16. 根据权利要求13所述的方法,其中,所述从所述基本单元集中提取客户数据,包括:
    确定所述基本单元集中承载客户数据的基本单元;
    提取所述基本单元中承载的客户数据。
  17. 根据权利要求16述的方法,其中,所述确定所述基本单元集中承载客户数据的基本单元,包括:
    确定承载客户数据的基本单元的顺序信息;
    基于所述顺序信息确定所述基本单元集中承载客户数据的基本单元。
  18. 根据权利要求13所述的方法,其中,所述基本单元集包括至少一个基本单元,所述基本单元集用于承载至少一个终端设备的客户数据。
  19. 根据权利要求18所述的方法,其中,所述基本单元包括报文或信元。
  20. 根据权利要求18所述的方法,其中,所述基本单元的长度为固定长度,所述基本单元由固定数量的字节组成或由固定数量的66比特码块组成。
  21. 根据权利要求18所述的方法,其中,所述基本单元包括:开销信息,所述开销信息包括以下至少之一:顺序信息,所述顺序信息用于标识所述基本单元;空信元指示信息;维护管理信息。
  22. 根据权利要求18所述的方法,其中,在所述基本单元为信元的情况下,所述信元采用不同的目标码块组合形成,所述目标码块包括边界控制码块和数据码块,所述数据码块用于承载所述客户数据,所述边界控制码块用于标识所述信元的边界,所述边界控制码块包括以下至少之一:S块;T块;O块;预定义的控制码块。
  23. 根据权利要求22所述的方法,其中,所述基本单元中的开销信息承载在所述目标码块上。
  24. 根据权利要求13所述的方法,其中,所述基本单元集中所包括的基本单元在所述OTN帧的OPU中的映射位置固定;或,所述基本单元集所包括的基本单元在所述OTN帧的OPU中的映射位置浮动,所述基本单元集中的每个基本单元在所述OPU中的位置通过对应的边界控制码块和开销信息确定。
  25. 一种数据传输装置,包括:
    确定模块,设置为确定承载客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据光传送网OTN帧的承载容器的速率确定,所述基本单元为基本单元集中包含的基本单元;
    映射模块,设置为将所述客户数据映射到所述基本单元中;
    发送模块,设置为通过所述OTN帧发送映射所述客户数据的基本单元集。
  26. 一种数据传输装置,包括:
    接收模块,设置为接收光传送网OTN帧;
    恢复模块,设置为从所述OTN帧中恢复基本单元集;
    提取模块,设置为从所述基本单元集中提取客户数据,所述基本单元集中包括承载所述客户数据的基本单元,所述客户数据的速率小于设定值,所述设定值根据所述OTN帧的承载容器的速率确定。
  27. 一种终端设备,包括:
    至少一个处理器;
    存储装置,设置为存储至少一个程序;
    当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1-24中任一项所述的数据传输方法。
  28. 一种存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-24中任一项所述的数据传输方法。
PCT/CN2020/107288 2019-11-28 2020-08-06 数据传输方法、装置、终端设备和存储介质 WO2021103640A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20891471.3A EP4040707A4 (en) 2019-11-28 2020-08-06 DATA TRANSMISSION METHOD AND DEVICE, TERMINAL AND STORAGE MEDIUM
US17/770,024 US20220393787A1 (en) 2019-11-28 2020-08-06 Data transmission method and apparatus, terminal device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911190838.0 2019-11-28
CN201911190838.0A CN112865910A (zh) 2019-11-28 2019-11-28 一种数据传输方法、装置、终端设备和存储介质

Publications (1)

Publication Number Publication Date
WO2021103640A1 true WO2021103640A1 (zh) 2021-06-03

Family

ID=75995529

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/107288 WO2021103640A1 (zh) 2019-11-28 2020-08-06 数据传输方法、装置、终端设备和存储介质

Country Status (4)

Country Link
US (1) US20220393787A1 (zh)
EP (1) EP4040707A4 (zh)
CN (1) CN112865910A (zh)
WO (1) WO2021103640A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111490845B (zh) * 2019-01-28 2023-06-30 中兴通讯股份有限公司 一种传递客户业务的方法、装置和系统
CN115580370A (zh) * 2021-06-21 2023-01-06 中兴通讯股份有限公司 业务处理方法及业务处理设备
CN116566542A (zh) * 2022-01-29 2023-08-08 中兴通讯股份有限公司 业务数据承载方法、承载帧结构及业务处理设备
CN115065439B (zh) * 2022-08-16 2022-11-11 中国信息通信研究院 一种spn网络恒定比特率业务传送方法和设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100209107A1 (en) * 2009-02-13 2010-08-19 Hui Yin Method and device for multiplexing and mapping services to an otu
CN108632886A (zh) * 2017-03-21 2018-10-09 华为技术有限公司 一种业务处理方法及装置
CN109981209A (zh) * 2017-12-28 2019-07-05 中兴通讯股份有限公司 光传送网中业务发送、接收方法及装置
CN110266612A (zh) * 2018-03-12 2019-09-20 中兴通讯股份有限公司 数据传输方法及装置、网络设备及存储介质
CN111092686A (zh) * 2019-11-28 2020-05-01 中兴通讯股份有限公司 一种数据传输方法、装置、终端设备和存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051879B (zh) * 2007-04-06 2012-04-04 华为技术有限公司 低速业务复用及解复用的方法和装置
CN101695144B (zh) * 2009-10-10 2015-08-12 中兴通讯股份有限公司 一种支持多业务接入和传输的方法及系统
CN108809901B (zh) * 2017-05-02 2021-05-04 华为技术有限公司 一种业务承载的方法、设备和系统
EP4336753A3 (en) * 2018-05-10 2024-05-29 Huawei Technologies Co., Ltd. Method for processing low-rate service data in optical transport network, apparatus, and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100209107A1 (en) * 2009-02-13 2010-08-19 Hui Yin Method and device for multiplexing and mapping services to an otu
CN108632886A (zh) * 2017-03-21 2018-10-09 华为技术有限公司 一种业务处理方法及装置
CN109981209A (zh) * 2017-12-28 2019-07-05 中兴通讯股份有限公司 光传送网中业务发送、接收方法及装置
CN110266612A (zh) * 2018-03-12 2019-09-20 中兴通讯股份有限公司 数据传输方法及装置、网络设备及存储介质
CN111092686A (zh) * 2019-11-28 2020-05-01 中兴通讯股份有限公司 一种数据传输方法、装置、终端设备和存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4040707A4

Also Published As

Publication number Publication date
US20220393787A1 (en) 2022-12-08
EP4040707A1 (en) 2022-08-10
EP4040707A4 (en) 2024-03-27
CN112865910A (zh) 2021-05-28

Similar Documents

Publication Publication Date Title
WO2021103928A1 (zh) 一种数据传输方法、装置、终端设备和存储介质
WO2021103640A1 (zh) 数据传输方法、装置、终端设备和存储介质
US10462471B2 (en) Data processing method, communications device, and communications system
CN102196321A (zh) 100ge数据在光传送网中的传送方法和数据发送装置
CN113784437A (zh) 一种FlexE承载小颗粒业务的实现方法和装置
CN110830143B (zh) 一种业务传输方法及装置、光传送网设备、存储介质
WO2020001127A1 (zh) 使用灵活光网络的业务传输方法、装置、设备及存储介质
WO2020147661A1 (zh) 信号传输方法及装置、网络设备及计算机可读存储介质
CN103281263A (zh) 一种otn光传送网中数据的处理方法、装置和系统
WO2022088907A1 (zh) Cbr信号传输方法、系统及设备
CN109698728A (zh) Interlaken接口与FlexE IMP的对接方法、对接设备及存储介质
CN108988977B (zh) 一种灵活以太网协议中传递业务流的方法、装置和系统
CN111327970B (zh) 无源光网络管理通道、建立方法和系统、发送端和接收端
CN110830152B (zh) 接收码块流的方法、发送码块流的方法和通信装置
CN111181682A (zh) 一种基于fpga的gfp帧分片传输的实现方法
US8279891B2 (en) Techniques for ethernet optical reach improvement
WO2024032297A1 (zh) 业务信息的处理方法、网络设备及存储介质
CN101977186B (zh) 一种实现STM-1接口汇聚多路Ethernet over E1协议转换的装置
WO2024001230A1 (zh) 承载方法、通信设备以及存储介质
WO2024001220A1 (zh) 切片方法、业务处理方法、通信节点及存储介质
WO2023165222A1 (zh) 待映射内容的映射方法、装置、存储介质及电子装置
WO2023143403A1 (zh) 业务数据承载方法、承载帧结构及业务处理设备
CN110830153B (zh) 接收码块流的方法、发送码块流的方法和通信装置
WO2023231429A1 (zh) 数据传输方法、源端设备、宿端设备及存储介质
WO2024007804A1 (zh) 固定速率信号的速率恢复方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20891471

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020891471

Country of ref document: EP

Effective date: 20220505

NENP Non-entry into the national phase

Ref country code: DE