WO2023143577A1 - Method, apparatus and system for processing data frame in optical transport network - Google Patents

Method, apparatus and system for processing data frame in optical transport network Download PDF

Info

Publication number
WO2023143577A1
WO2023143577A1 PCT/CN2023/073722 CN2023073722W WO2023143577A1 WO 2023143577 A1 WO2023143577 A1 WO 2023143577A1 CN 2023073722 W CN2023073722 W CN 2023073722W WO 2023143577 A1 WO2023143577 A1 WO 2023143577A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
payload
transport network
optical transport
service identifier
Prior art date
Application number
PCT/CN2023/073722
Other languages
French (fr)
Chinese (zh)
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 华为技术有限公司
Publication of WO2023143577A1 publication Critical patent/WO2023143577A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0084Formats for payload data
    • 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
    • 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/1664Optical Transport Network [OTN] carrying hybrid payloads, e.g. different types of packets or carrying frames and packets in the paylaod
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • 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/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • H04L1/0007Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length
    • H04L1/0008Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length by supplementing frame payload, e.g. with padding bits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/1893Physical mapping arrangements

Definitions

  • the present application relates to the technical field of optical communication, and in particular to a method, device and system for processing data frames in an optical transport network.
  • the optical transport network includes optical bearer containers of various rates.
  • the optical data unit 0 (ODU0) frame is the bearer container with the lowest rate in the current OTN technology, and its rate is about 1.25 gigabit per second (Gbps), which is used to carry 1Gbps Ethernet business data.
  • Gbps gigabit per second
  • the optical bearer container of the current OTN adopts time division multiplexing technology. Specifically, a high-rate bearer container is divided into multiple fixed time slots to implement multi-service bearer.
  • OTN can support two granularities of 1.25G time slot and 5G time slot. For services below 1Gbps, the time slot granularity of the current OTN bearer container cannot provide an effective bearer solution.
  • the current practice is to divide the payload area of the OTN bearer container into multiple payload blocks and define a new low-rate frame.
  • low-rate service data is carried.
  • the current mainstream method of mapping the low-rate frame to the payload block is that when the OTN device receives the service data, it allocates the required payload block for the service data and transmits it through the OTN frame.
  • each payload block carries indication information that can uniquely identify the service data.
  • the device receiving the OTN frame will not be able to judge the service data carried by the low-rate frame, resulting in partial loss of the corresponding service data, which reduces the transmission efficiency of the OTN network .
  • the embodiments of the present application provide a method, device and system for processing service data in an optical transport network.
  • the embodiment of the present application provides a new data structure of an optical transport network frame.
  • the optical transport network frame includes an overhead area and a payload area, and the payload area includes a plurality of payload blocks.
  • Each of the plurality of payload blocks includes a plurality of fields, so as to implement one or more of a service configuration verification function, a defect detection function, an occupation indication function, a rate adaptation indication function and/or a bandwidth adjustment indication function.
  • Each function instruction is completed separately through multiple fields. This design method decouples each function instruction, which can reduce the failure of all functions when errors occur.
  • each of the multiple payload blocks includes a service identification field and a rate adaptation field.
  • the service identification field is used to implement the service configuration verification function, defect detection function and occupation function
  • the rate adaptation indication field is used to complete the rate adaptation indication function.
  • the service identifier indicates that the PB where the service identifier is located is not occupied through a special bit or a special value.
  • each of the multiple payload blocks includes a service identification field, an occupation field, a rate adaptation indication field, and a rate adaptation field, so as to complete all the aforementioned functions. answer It is understood that when the value of the occupied field indicates that the corresponding payload block is not occupied, the receiving device does not need to parse other fields. When the value of the occupied field indicates that the corresponding payload block is occupied, the receiving device will parse other fields. For example, the receiving device parses the service identification field to perform service configuration information verification and/or fast defect detection.
  • the embodiment of the present application provides a method for processing an OTN frame.
  • the method includes several steps. Firstly, the first device receives an OTN frame from the second device, the payload area of the OTN frame includes multiple payload blocks, and each payload block of the multiple payload blocks contains a service identifier. In addition, the first device acquires service configuration information, where the service configuration information includes service identifiers configured for the multiple payload blocks of the optical transport network frame.
  • the first device Two service identifiers, determining quantity information that the bits of the first service identifier have the same value as the corresponding bits of the second service identifier. According to the quantity information and a preset threshold, the first device determines whether the first service identifier matches the second service identifier.
  • the preset threshold indicates the number of different bits, which is a smaller value such as 1 or 2.
  • the preset threshold indicates the number of identical bits, and the value is a value close to the length of the service identifier. For example, if the service identifier is 12 bits, the preset threshold is 10 or 11.
  • the position of the payload block carrying the same service among the multiple payload blocks of the optical transport network frame in the service configuration information satisfies: two adjacent payload blocks Satisfy the spacing constraints of the preset number of payload blocks.
  • the first device that is, the receiving device uses the PB information specified by the service configuration information to recover service data from the received OTN frame.
  • the method disclosed in the embodiment of the present application can tolerate a certain line error, which reduces the impact of the line error on the verification function, thereby improving the robustness of the service identification information verification.
  • the embodiment of the present application provides a method for detecting mismatch of service identifiers.
  • the detection method includes whether the first device matches the received service configuration information with the received identification information of multiple payload blocks of the optical transmission frame, and the multiple payload blocks are distributed continuously or sequentially according to a predetermined interval arranged. When it is determined that at least one piece of configuration information of the plurality of payload blocks is incorrect, a service identifier mismatch defect indication is generated. Or, when it is determined that the configuration information of the multiple consecutive payload blocks is correct and there is a service identifier mismatch defect indication, the service identifier mismatch defect indication is eliminated.
  • the above detection method is performed based on the fact that the payload block of the optical transport network frame includes at least a service identifier.
  • the payload block of the optical transport network frame includes at least a service identifier.
  • other functions mentioned above may also be implemented by including other fields.
  • the number of the plurality of payload blocks is 16.
  • the detection method disclosed in the embodiment of the present application takes a shorter time and can identify line problems faster. It is also used to complete management functions such as fast protection switching.
  • the first device determines whether the configuration information of the N payload block groups is correct, and each of the N payload block groups includes multiple payload blocks that are continuously distributed or arranged at fixed intervals.
  • the incorrect configuration information of at least one of the multiple payload blocks indicates that the configuration information of the payload block group to which the multiple payload blocks belong is incorrect; or, the configuration information of each of the multiple payload blocks Correctly indicates that the configuration information of the payload block group to which the multiple payload blocks belong is correct.
  • the first device When determining that at least two of the configuration information of the N payload block groups are incorrect, the first device generates a service identifier mismatch defect indication. Alternatively, when determining the N When the configuration information of the payload block groups is correct and there is a service identifier mismatch defect indication, the first device eliminates the service identifier mismatch defect. N is greater than or equal to 2.
  • the above method based on the payload block group can reduce the impact of random line errors on the accuracy of detection and improve the accuracy of defect detection.
  • the implementation of this application also provides a method for adjusting service bandwidth in an optical transport network.
  • the method includes bandwidth increasing and/or bandwidth decreasing methods.
  • the sending device When the service bandwidth needs to be increased, the sending device firstly sets the service identifier of the new PB as the service identifier corresponding to the service that needs to increase the bandwidth, without modifying its bandwidth adjustment indication (that is, it is still unoccupied), and then in the subsequent optical
  • the bandwidth adjustment instruction is modified in the corresponding PB in the multiframe of the transport network to complete the process of increasing the service bandwidth.
  • the process of increasing the service bandwidth is described by taking the receiving device as an example.
  • the first device receives a first optical transport network multiframe from the second device, and each of the multiple payload blocks of the first optical transport network multiframe includes a service identifier and a bandwidth adjustment indication, so The bandwidth adjustment indication is used to indicate the bandwidth adjustment of the service carried by the corresponding payload block. Then, the first device determines that the service identifier of the first payload block of the first optical transport network multiframe is the third service identifier, and determines that the bandwidth adjustment indication of the first payload block is a first value, the The first value is used to indicate that the payload area of the first payload block in the first optical transport network multiframe does not carry the service corresponding to the third service identifier.
  • the first device demaps the service corresponding to the third service identifier from the first group of payload blocks in the first optical transport network multiframe, and the first group of payload blocks does not include the Describe the first payload block.
  • the first device receives a second optical transport network multiframe from the second device, and the second optical transport network multiframe is received after the first device receives the first optical transport network multiframe multiframe.
  • the first device determines that the service identifier of the first payload block of the second optical transport network multiframe is the third service identifier, and the bandwidth adjustment indication of the first payload block is a second value, so The second value is used to indicate that the first payload block in the second optical transport network multiframe carries the service corresponding to the third service identifier.
  • the first device demaps the service corresponding to the third service identifier from the second group of payload blocks in the second optical transport network multiframe, and the second group of payload blocks includes the second optical transmission network The first payload block of the network multiframe.
  • the sending device When the service bandwidth needs to be reduced, the sending device firstly sets the bandwidth adjustment indication of the PB to be deleted as uncarried service, and then modifies the service identifier and or occupancy indication (used to indicate that the PB not occupied), to complete the process of service bandwidth reduction.
  • the process of reducing the service bandwidth is described by taking the receiving device as an example.
  • the first device determines that the service identifier of the second payload block of the third optical transport network multiframe is the fourth service identifier, and determines that the bandwidth adjustment indication of the second payload block is a third value, so The third value is used to indicate that the payload area of the first payload block in the third OTN multiframe is used to bear the service corresponding to the fourth service identifier.
  • the first device demaps the service corresponding to the fourth service identifier from the third group of payload blocks in the third optical transport network multiframe, and the third group of payload blocks includes the The second payload block of the third OTN multiframe. Then, the first device receives a fourth OTN multiframe from the second device, and the fourth OTN multiframe is after the first device receives the third OTN multiframe Received multiframe.
  • the first device determines that the service identifier of the second payload block of the fourth optical transport network multiframe is the fourth service identifier, and the bandwidth adjustment indication of the second payload block is a fourth value, the first The value of four is used to indicate that the second payload block in the fourth optical transport network multiframe does not carry the service corresponding to the fourth service identifier. Demap the service corresponding to the fourth service identifier from the fourth group of payload blocks in the fourth optical transport network multiframe, and the fourth group of payload blocks does not include the fourth optical transport network said second payload block in a multiframe. Next, the service identifier and/or occupancy indication of the second payload block in the multiframe received by the first network device is set to unoccupied, indicating that the second payload block is released by the service corresponding to the fourth service identifier.
  • the service bandwidth adjustment is no longer bound to the optical transport network frame, and the service bandwidth adjustment can be realized relatively quickly.
  • the adjustment of service bandwidth can be flexibly realized.
  • the embodiment of the present application provides an optical transport network device.
  • the device includes a processor and a transceiver.
  • the transceiver is configured to receive the optical transport network frame
  • the processor is configured to execute any one of the second to fourth aspects or the method described in any specific implementation manner of these aspects.
  • Receiving an OTN frame includes the processor receiving the OTN frame from the transceiver.
  • the embodiment of the present application provides an optical communication system.
  • the optical communication system includes sending equipment and the optical transport network equipment provided in the fifth aspect.
  • the sending device sends the OTN frame to the OTN device.
  • the optical communication system further includes client equipment.
  • the client device is configured to send services to the sending device.
  • the sending device is further configured to: map the service into the payload block of the optical transport network frame.
  • the embodiment of the present application provides a chip.
  • the chip includes a processor and a communication interface.
  • the processing is used to execute any one of the second to fourth aspects or the method described in any specific implementation manner of these aspects.
  • the communication interface is used to interact with the processor to complete sending or receiving frames.
  • FIG. 1 is a schematic diagram of a possible application scenario of an embodiment of the present application
  • FIG. 2 is a schematic diagram of a possible network device hardware structure
  • Fig. 3 is a schematic diagram of a possible optical service unit (OSU) frame being mapped to an OTN frame;
  • OSU optical service unit
  • FIG. 4 is a schematic diagram of a payload block structure provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a first optical transport network frame processing method provided in an embodiment of the present application
  • FIG. 6 is a schematic flowchart of a second optical transport network frame processing method provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of continuous payload blocks used for defect detection in the embodiment shown in FIG. 6;
  • FIG. 8 is a schematic flowchart of a third optical transport network frame processing method provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of service bandwidth increase processing steps in the embodiment shown in FIG. 8;
  • FIG. 10 is a schematic flowchart of a fourth optical transport network frame processing method provided by an embodiment of the present application.
  • Fig. 11 is a schematic structural diagram of a possible network device.
  • a plurality refers to two or more.
  • “And/or” describes the association relationship of associated objects, and there may be three kinds of relationships.
  • a and/or B may mean: A exists alone, A and B exist simultaneously, and B exists alone.
  • terms such as “first” and “second” are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
  • Data is transmitted from source device A to destination device B, and passes through device M; in the data transmission direction, device M is located between device A and device B, then device A is in the upstream direction of device M, and device B is in the direction of device M downstream direction.
  • Service data refers to services that can be carried by the optical transport network.
  • it may be an Ethernet service, a packet service, a wireless backhaul service, and the like.
  • the rounded value of an operation formula may be rounded up or rounded down.
  • mapping of A to B mentioned in this application refers to encapsulating A into B.
  • the optical business unit Optical Mapping a Service Unit (OSU) frame into an OTN frame refers to encapsulating an OSU frame or an OSU signal into an OTN frame.
  • OSU Service Unit
  • the specific description of some technical features in one embodiment can also be used to explain the corresponding technical features mentioned in other embodiments.
  • the overhead and meaning contained in one embodiment for the payload block can also be applied to the payload block mentioned in other embodiments.
  • the specific examples and descriptions for the OTN frame may be applied to the OTN frame mentioned in different specific embodiments or used to replace the specific example of the OTN frame.
  • the present application uses the same or similar reference numbers to indicate components or method steps with the same or similar functions in different embodiments.
  • the embodiments of the present application are applicable to optical transport networks, such as OTN or flexible Ethernet (Flexible Ethernet, FlexE).
  • An OTN is usually formed by connecting multiple devices through optical fibers, and can be composed of different topology types such as line, ring, and mesh according to specific needs.
  • the OTN 100 shown in FIG. 1 is composed of eight OTN equipment 101, that is, equipment A-H.
  • 102 indicates an optical fiber, which is used to connect two devices
  • 103 indicates a customer service interface, which is used to receive or send customer service data.
  • OTN 100 is used to transmit service data for client equipment 1-3.
  • the customer equipment is connected to the OTN equipment through the customer service interface.
  • client devices 1-3 are connected to OTN devices A, H and F respectively.
  • an OTN device may have different functions.
  • OTN equipment is divided into optical layer equipment, electrical layer equipment, and optoelectronic hybrid equipment.
  • Optical layer equipment refers to equipment capable of processing optical layer signals, such as: optical amplifier (optical amplifier, OA), optical add-drop multiplexer (optical add-drop multiplexer, OADM).
  • the OA can also be called an optical line amplifier (OLA), which is mainly used to amplify the optical signal to support the transmission of a longer distance under the premise of ensuring the specific performance of the optical signal.
  • OVA optical line amplifier
  • the OADM is used to transform the space of the optical signal so that it can be output from different output ports (also called directions sometimes).
  • Electrical-layer devices refer to devices that can process electrical-layer signals, for example, devices that can process OTN signals.
  • Optical hybrid equipment refers to equipment capable of processing optical layer signals and electrical layer signals. It should be noted that, according to specific integration requirements, an OTN device can integrate multiple different functions. The technical solutions provided by this application are applicable to OTN devices with different forms and integration levels including electrical layer functions.
  • the data frame structure used by the optical transmission device in the embodiment of the present application may be an OTN frame, which is used to carry various service data and provide rich management and monitoring functions.
  • the OTN frame can be an optical data unit frame (Optical Data Unit k, ODUk), ODUCn, ODUflex, or an optical channel transmission unit k (optical transport unit k, OTUk), OTUCn, or a flexible OTN (FlexO) frame, etc.
  • the difference between the ODU frame and the OTU frame is that the OTU frame includes the ODU frame and the OTU overhead.
  • the ODU frame refers to any one of ODUk, ODUCn or ODUflex
  • the OTU frame refers to any one of OTUk, OTUCn or FlexO. It should also be pointed out that with the development of optical transport network technology, new types of OTN frames may be defined, which are also applicable to this application. In addition, the method disclosed in this application can also be applied to other OTN frames such as FlexE frames.
  • FIG. 2 is a schematic diagram of a possible hardware structure of a network device.
  • the optical transport network device 200 includes a tributary board 201 , a cross-connect board 202 , a line board 203 , an optical layer processing board (not shown in the figure), and a system control and communication board 204 .
  • the type and number of boards included in the network device may be different.
  • a network device serving as a core node does not have a tributary board 201 .
  • a network device serving as an edge node has multiple tributary boards 201 , or has no optical cross-connect board 202 .
  • a network device that only supports electrical layer functions may not have an optical layer processing board.
  • the tributary board 201 , the cross board 202 and the circuit board 203 are used for processing electrical layer signals.
  • the tributary board 201 is used to realize the receiving and sending of various customer services, such as SDH service, packet service, Ethernet service and/or fronthaul service and so on.
  • the tributary board 201 may be divided into a client-side optical transceiver module and a signal processor.
  • the client-side optical transceiver module may also be called an optical transceiver, and is used for receiving and/or sending service data.
  • the signal processor is used to realize the mapping and de-mapping processing of business data to data frames.
  • the cross-connect board 202 is used to realize the exchange of data frames and complete one or more types of data frame exchange.
  • the circuit board 203 mainly implements the processing of data frames on the line side.
  • the circuit board 203 can be divided into a line-side optical module and a signal processor.
  • the line-side optical module may be called an optical transceiver, and is used for receiving and/or sending data frames.
  • the signal processor is used to implement multiplexing and demultiplexing, or mapping and demapping processing of data frames on the line side.
  • the system control and communication board 204 is used to implement system control. Specifically, information may be collected from different boards, or control instructions may be sent to corresponding boards.
  • FIG. 3 is a schematic diagram of a possible mapping of an Optical Service Unit (OSU) frame to an OTN frame.
  • the OTN frame 302 is a schematic diagram of an optical transport network frame; it has a structure of 4 rows and multiple columns, including an overhead area, a payload area, and a forward error correction (Forward Error Correction, FEC) area.
  • the payload area is divided into multiple payload blocks (Payload Block, PB).
  • PB payload Block
  • Each PB occupies a position of a fixed length (also referred to as a size) in the payload area, for example, 128 bytes.
  • PB payload Block
  • Each PB occupies a position of a fixed length (also referred to as a size) in the payload area, for example, 128 bytes.
  • OTN frame 302 is only one example. Other deformed OTN frames are also suitable for this application.
  • an OTN frame that does not contain an FEC area.
  • the frame structure has a different number of rows and columns than the OTN frame 302 .
  • a PB may also be called a time slot, a time slot block, or a time slice. This application is not bound by its name.
  • OSU frame 301 includes an overhead area and a payload area.
  • the overhead area of the OSU frame 301 is used to carry overhead information.
  • the overhead information may include one or more pieces of information shown in Table 1.
  • the payload area of the OSU frame 301 is used to carry service data.
  • the rate of an OSU frame is defined as an integer multiple of the base rate. Wherein, the reference rate may be 2.6 Mbps, 5.2 Mbps or 10.4 Mbps or multiples of the aforementioned values.
  • the OSU frame is mapped to the payload area of the OTN frame. Specifically, OSU frames are mapped into PBs of OTN frames. In one possible implementation, one OSU frame is mapped into one PB. In another possible implementation, one OSU frame is mapped into multiple PBs. In this regard, this application does not make a limitation. To simplify the description, the following embodiments take the mapping of one OSU frame into one PB as an example. It should be understood that the subsequent embodiments are also applicable to the case where one OSU frame is mapped to multiple PBs. The modification of the technical solution for the latter also belongs to the protection scope of the present application.
  • the OSU frame structure shown in FIG. 3 is just an example.
  • the OSU frame may also be a data structure including overhead subframes and payload subframes. In this regard, this application does not make a limitation.
  • PBs in an OTN frame are defined as a transmission cycle.
  • the PB block is allocated for the OSU frame with the transmission cycle as the basic unit. For example, assuming that OSU frames and PBs have the same size and rate, 10 OSU frames carrying service data of the same service may occupy PBs numbered 0-9 in a transmission cycle including 20 PBs.
  • an OSU frame carrying the same service data is called an OSU signal.
  • An OSU signal is a bit stream carrying a service data, and the frame format of the bit stream is the frame format of an OSU frame.
  • An OSU signal can include one or more OSU frames.
  • the transmission period is jointly determined by the rate of the payload area of the OTN frame and the reference rate of the OSU frame.
  • the number of PBs (P) included in the transmission cycle can be defined as: in, Represents rounding down; R opu_pld represents the rate of the payload area of the OPU frame; Topu represents the frequency offset of the OPU frame (for example: can be 20ppm); R ref represents the reference rate of the OSU frame. 1000ppm is the frequency offset of the base rate, and this value can be replaced with 100ppm or other values. It should be understood that the above definition is only an example, and the P value can also be calculated in other ways such as formula (1-2). Among them, 10.4M is the basic rate of the OSU frame.
  • x ppm is frequency offset, can be 0, 20 or 100, ppm is one millionth.
  • the size of a PB is an integer multiple of a single byte, for example, 16 bytes, 32 bytes, 64 bytes, 128 bytes, 192 bytes or 256 bytes.
  • one multiplexing frame includes the payload area of 1.5 ODU frames.
  • the boundaries of the multiplex frame and ODU frame constructed in this way Maintain alignment, simplify design implementation, and facilitate data frame management.
  • the OTN multiplexing frame may also be constructed based on other types of OTN frames.
  • ODU1 OTN multiplexing frames
  • the P value can be calculated according to the following formula.
  • the above formula takes the OSU rate of 10.4M as an example, and 119 takes the P value included in the multiplex frame constructed based on ODU0 as an example. Or, taking the OSU rate as 2.6M as an example, then the P value contained in the multiplexing frame constructed based on ODU0 is 476.
  • the meaning of each field refer to the description of other formulas mentioned above, and will not repeat them here. If other OTN frames are used as a reference, the value needs to be replaced accordingly.
  • Table 2 gives examples of other P values calculated by the above formula (1-3).
  • the multiplexing frame mapped to the OSU frame is based on OPU2 (or ODU2)
  • the multiplexing frame includes 12 OPU2 frames (or ODU2).
  • the multiframe overhead indication of the OTN frame can be used. For example, by performing a 0-11 cycle through the value of the multiframe indication overhead, the number of the initial OTN frame and the included OTN frame corresponding to the multiplex frame can be determined by obtaining the value of the multiframe overhead indication.
  • the transmission period may be called a P frame, a payload block group, a time slot multiplexing frame, a time slot multiplexing group, a multiplexing frame, a multiplexing cycle, an optical transport network multiplexing frame or a transmission frame.
  • this application does not make a limitation.
  • Table 3 gives some examples of P corresponding to some OTN frames. It should be noted that Table 3 calculates the corresponding P value by taking the reference rate of the OSU frame as 2.6 Mbit/s as an example.
  • a possible way to map OSU frames to PB blocks is to dynamically allocate PB positions in the current transmission cycle for these OSU frames when the OTN equipment obtains OSU frames carrying a certain service data (that is, a certain OSU signal) .
  • a certain service data that is, a certain OSU signal
  • an identifier capable of uniquely identifying the service data is added to the corresponding PB. If a bit error occurs during transmission of the identifier, the receiving device cannot determine the service data carried by the OSU frame, and thus cannot recover the service data.
  • the PB positions occupied by OSU frames change dynamically, which brings great complexity to the management and maintenance of data frames.
  • mapping OSU frames to PB blocks is to allocate PBs in descending order of the rates of OSU frames, and also carry service data identifiers to uniquely identify service data carried in OSU frames.
  • This method also has the problem of the previous mapping method (that is, the service is lost after a code error is identified).
  • the PB allocated by the OSU frame with a low rate will get the opportunity to allocate PB relatively late, and the uniformity of PB distribution will become worse and worse, and a larger cache needs to be introduced, which increases the complexity of the device.
  • the embodiment of the present application provides a new method for processing optical transport network frames. Obtaining service configuration information through the receiving end device and performing service configuration information verification that allows transmission errors, this processing method reduces the impact of transmission errors on service configuration information verification, and greatly reduces the possibility of unidentifiable services.
  • Fig. 4 is a schematic diagram of a payload block structure provided by an embodiment of the present application.
  • the size of an OSU frame 301 is 190 bytes, and the size of a PB is 192 bytes.
  • the OSU frame can also be 192 bytes, of which the first 2 bytes are used as reserved bytes, and are used as the overhead area of the PB when mapped into the PB.
  • the payload area of the PB is used to carry the OSU frame 301, and the overhead area of the PB includes the following pieces of information:
  • Service identifier (12 bits (b): used to indicate the service carried in the PB where it is located, and this information may be able to uniquely indicate a service. That is to say, in order to recover the service data of the same service from the PB, the PB blocks with the same value of the service identifier can be parsed together, so as to obtain the service data corresponding to the service identifier. It should be understood that, according to specific implementation requirements, a certain value may be set as the reserved service identifier, and the certain value is used to indicate the uncarried service of the PB to which it belongs.
  • the service identifier in this application is used to verify the service configuration information, and for details, refer to the description of the embodiment shown in FIG. 5 .
  • the service identifier can also be used for fast defect detection and cooperate with other fields to complete functions such as bandwidth adjustment.
  • the service identifier can also be used for fast defect detection and cooperate with other fields to complete functions such as bandwidth adjustment.
  • the service identifier can also be used for fast defect detection and cooperate with other fields to complete functions such as bandwidth adjustment.
  • Occupation indication (1b) used to indicate whether the PB to which it belongs carries services (or can also be described as carrying OSU frames). For example, if the occupancy indication is equal to 1, it means that the PB to which the occupancy indication belongs carries an OSU frame; if the occupancy indication is equal to 0, it means that the PB to which the occupancy indication belongs does not carry an OSU frame (that is, it is idle).
  • the indication is an overall information containing special values (for example, the two functions together are still called service identifiers), for example, the service identifier is 13b, and the value is XXXXXXXXXX1 indicates that the PB is idle, XXXXXXXXXX0 indicates that the PB carries OSU frames, and X The value of can be 0 or 1, and the value of all X bits is used to indicate the service identifier of the bearer. In this regard, this application does not make a limitation.
  • the service identifiers mentioned in subsequent embodiments may be the above-mentioned service identifiers, and may also include the above-mentioned service identifiers and occupancy indications. It should be understood that the service identification information may also be called a service identification number, a service identification number, service indication information, service occupation indication information, or service occupation PB indication information.
  • Rate adaptation indication (1b) used to indicate whether the PB block to which the indication belongs is used to bear OSU frames or is filled; this indication is only valid when the value of the service identifier is a specific service. For example, when the service identifier is set to service A, the rate adaptation indication is 0, indicating that the PB where the indication is located is padding (the purpose is to perform OSU frame and PB rate adaptation); or, the rate adaptation indication is 1, indicating that the It indicates that the PB bears the OSU frame.
  • Rate adjustment indication (3b) used to indicate the bandwidth adjustment of the service carried by the payload block corresponding to the indication.
  • the rate adjustment indication is used together with the service identifier to complete information exchange between optical transport network devices for service bandwidth adjustment.
  • the indication may be used in a scenario where the service bandwidth is increased and/or the service bandwidth is decreased.
  • multiple steps may be used to complete the foregoing process.
  • the service bandwidth can be increased by first setting the service identifier and then carrying the service data.
  • FIG. 8 or FIG. 10 and details are not repeated here. It should be understood that the value of the bandwidth adjustment indication is only an example, and the present application does not limit the value in actual application.
  • the overhead area includes one or more pieces of the above information.
  • the embodiment shown in FIG. 5 may include a service identifier, or a service identifier and an occupancy indication.
  • the embodiments shown in FIG. 8 and FIG. 10 include a service identifier and a bandwidth adjustment instruction.
  • the optical transport network frame in the embodiment shown in FIG. 5 , FIG. 6 , FIG. 8 or FIG. 10 may include a rate adaptation indication.
  • FIG. 5 is a schematic flowchart of a first OTN frame processing method provided by an embodiment of the present application. As shown in Fig. 5, the method includes the following steps. In this embodiment, it is assumed that the sending device is device A shown in FIG. 1 and the receiving device is device F shown in FIG. 1 .
  • the execution subject of step S401 is the network management system.
  • the network management system sends service configuration information to the service source device (device A) and destination device (device) F respectively.
  • device A After receiving the service configuration information, device A performs mapping from OSU frames carrying services to PB frames and corresponding overhead processing according to the service configuration information.
  • device B After receiving the service configuration information, device B uses the information to perform service analysis.
  • Table 4 provides an example of specific service configuration information.
  • the network management system may determine the number C of PBs to be allocated according to the service rate and the PB rate, and then randomly select C PBs in a P frame to bear the service.
  • the network management system may allocate C PBs according to the interval constraints of the predetermined number of PBs. As shown in Table 4, the service whose service identifier is 20 occupies 7 PBs, and the interval between two adjacent PBs of the 7 PBs is 10 PBs. Alternatively, the spacing constraint can also be expressed as a predetermined range of values. In this regard, this application does not make a limitation.
  • the network management system may also be called a network controller or a network control system, and is responsible for allocating resources (PB) for services.
  • PB resource
  • client business is for a certain period of time.
  • the service configuration information issued by the network management system is valid for the OTN frames within this period of time, unless the network system issues new service configuration information to change the PB allocation information corresponding to the current service.
  • S405 According to the service configuration information, map the service data into the payload block of the optical transport network frame, and write the service identifier of the service carried by the payload block into the overhead area of the payload block;
  • the execution subject of steps S403, S405 and S407 is the sending device (that is, device A in this embodiment). Specifically, device A first receives service data sent by client device 1 from client device 1 through the client service interface. In this embodiment, the service data of client device 1 needs to be sent to client device 3 . Then, device A maps the received service data to the PB of the optical transport network frame according to the service configuration information obtained from the network management system. In addition, device A will also set corresponding overhead information for these PBs carrying customer data.
  • mapping the service data into the payload block of the OTN frame may specifically include mapping the service data into an OSU frame, and then mapping the OSU frame into a PB.
  • the service data may also be mapped one or more times through one or more intermediate frames, and finally mapped to the PB of the optical transport network frame.
  • This application does not limit this.
  • map service data to OSU frames, and then map OSU frames to PBs as an example.
  • the service data may refer to service data sent by the client equipment, or may refer to an OSU frame carrying service data.
  • mapping paths it should be understood that they also belong to the protection scope of the present application.
  • mapping data services into OSU frames refers to mapping acquired service data into one or more in OSU frames. Then, in the next unit time, the service data will be loaded into the next or more OSU frames. In the aforementioned two unit times, the positions of the PB payload blocks occupied by the OSU frame may be the same or different. This application is not limited to this.
  • service data is mapped to the OSU frame
  • synchronous mapping for example, bit synchronous mapping (Bit Synchronous Mapping)
  • asynchronous mapping for example, general mapping procedure (Generic Mapping Procedure, GMP)
  • idle mapping IDLE Mapping Procedure, IMP
  • PB overhead information including service identifiers and occupation indications
  • their occupation indications are set to idle (It can also be called unoccupied, for example, the value is 0)
  • its occupation indicator is set to occupied (for example, the value is 1)
  • its service indicator is set to the service corresponding to the service it bears logo.
  • the service indication may specifically carry a tributary port (Tributary Port Number, TPN) or other identifiers that can uniquely indicate a service data.
  • TPN Tributary Port Number
  • the PB overhead information includes a service identifier and a rate adaptation indication as an example.
  • a service identifier there is a special bit in the service identifier to indicate whether the corresponding PB is occupied or the service identifier indicates that the PB is occupied by a special value, and indicates the service that actually occupies the PB by other values instructions for the .
  • a special value of the service identifier indicates that the PB is not occupied.
  • a stuffing block may be inserted for rate matching (the stuffing block does not contain service data, and is usually a preset value).
  • the service identifier can carry the service information of the corresponding service, and the rate adaptation indication is 0 or 1 to distinguish whether the PB where the indication is located is a stuffing block or an OSU frame for rate adaptation. Doing so can better realize service isolation (that is, the PB position belonging to a certain OSU signal can be clearly identified).
  • device A sends the processed OTN frame to device F.
  • device A and device F are not directly connected. Therefore, device A needs to send OTN frames to device F through other devices.
  • the path that the optical transport network frame passes is: device A-device H-device G-device F.
  • S409 Determine according to the first service identifier included in the first payload block in the received optical transport network frame and the second service identifier for the first payload block included in the service configuration information Quantity information that the bits of the first service identifier and the corresponding bits of the second service identifier have the same value;
  • S411 Determine whether the first service identifier matches the second service identifier according to the quantity information and a preset threshold.
  • S409 and S411 are operations performed by the receiving device, that is, device F.
  • device F uses the service configuration information received from the network management system (subsequent configuration information) and the service identifier received from the received optical transport network frame (hereinafter referred to as received information) to perform verification to determine the service Whether the configuration information is accurate.
  • the configuration information and the received information are compared in an error-tolerant manner, that is, part of the bit information in the configuration information and the received information can be compared, and the part of the bit information can be any corresponding part of the configuration information and the received information. Any part of the above information is located at the same bit position in the configuration information and the received information.
  • the preset threshold may be a value that differs from the number of bits occupied by the service identifier by a small value such as 1 or 2.
  • the device F can extract service data from the corresponding PB in the optical transport network frame.
  • the threshold is set to a small value, which is used to indicate the number of transmission error bits that the system can tolerate.
  • the number information of different bits is compared with the threshold, and when the number information is less than or equal to the threshold, the verification is successful. Otherwise, the verification fails, and the corresponding PB will analyze according to the local configuration information or generate a configuration information error alarm. For example, when the number of bits occupied by the business identifier is 12 bits, if the preset threshold is 1, then compare the number of different bits among the 12 bits. As long as the number of bits is less than or equal to 1, two business identifiers are considered match, that is, the verification is successful.
  • Bit errors may occur during transmission of OTN frames (that is, on the line), so device F may have correct service configuration information but fail to verify, resulting in loss of service data. For this reason, a fault-tolerant mechanism is introduced in step S411 to ensure that the device F can still ensure the correct verification of the service configuration information even when the optical transport network frame is transmitted on the line with a bit error.
  • the length of the service identifier of the PB band is 12b as an example.
  • the preset threshold is 1. That is to say, if the value of at most one bit differs between the obtained configuration information and the received information, the device F considers that the verification of the service configuration for this PB is successful.
  • the binary value of the service identifier of the service configured by the PB (abbreviated as PB#A) of the optical transport network frame numbered as A is 1 1 1 0 1 0 1 1 1 0 0 1 1, as shown in Table 5.
  • the value of the service identifier of the PB whose number is A in the OTN frame received by device F satisfies the condition that the threshold value is 1, and the received information of device F is any of the situations shown in Table 5, and PB#A can be identified If the verification of the service configuration is successful, the PB can be used for subsequent service demapping.
  • Table 5 shows the successful verification of configuration information and received information
  • the preset threshold is 2. That is to say, if the value of at most two bits differs between the obtained configuration information and the received information, the device F considers that the verification of the service configuration for this PB is successful. It should be understood that the two bits may be continuous or discontinuous. It can be set according to specific needs, which is not limited in this application.
  • This application uses a service configuration verification method that can tolerate line errors, while solving the problem of service loss caused by only using service identifiers, it improves the robustness of configuration verification, that is, reduces the possibility of OTN frames being transmitted during transmission. The impact of existing bit errors on service verification at the receiving end.
  • FIG. 6 is a schematic flowchart of a second OTN frame processing method provided by an embodiment of the present application.
  • the processing method includes the following steps.
  • S501 Receive service configuration information
  • S405 According to the service configuration information, map the service data into the payload block of the optical transport network frame, and write the service identifier of the service carried by the payload block into the overhead area of the payload block;
  • Step S501 is similar to step S401 shown in FIG. 5 , and S403 , S405 and S407 are the same as those shown in FIG. 5 . Please refer to the detailed description in FIG. 5 , which will not be repeated here.
  • S502 Receive service configuration information
  • S506 Determine whether the received configuration information of multiple payload blocks of the optical transmission frame is correct, and the multiple payload blocks are continuously distributed or arranged sequentially according to predetermined intervals;
  • S508 When it is determined that at least one of the configuration information of the plurality of payload blocks is incorrect, generate a service identifier mismatch defect indication; and/or, when it is determined that the configuration information of the plurality of consecutive payload blocks is correct and exists When the service identifier does not match the defect indication, the service identifier does not match the defect indication.
  • device A After receiving the service configuration information and the service identifier carried in the optical transport network frame, device A uses these two pieces of information to verify the service configuration information. In a possible implementation manner, when device A determines that the service configuration information for a certain PB is equal to the received service identifier, it determines that the verification of the service configuration information is correct. In another possible implementation manner, device A may determine whether the service configuration information is correct according to the verification method with the error tolerance mechanism of the receiving device shown in FIG. 5 .
  • FIG. 7 is a schematic diagram of continuous payload blocks in the embodiment shown in FIG. 6 .
  • a multiplexing frame also called a P frame
  • N*476 PBs including payload areas of 6N OPU frames.
  • the numbering of each PB in the P frame is as shown in FIG. 7 .
  • device A checks the service configuration information on the 16 consecutive PBs starting from PB numbered 1 of the P frame.
  • each service configuration information of the 16 PBs When it is determined that each service configuration information of the 16 PBs is successfully verified, it is considered that there is no service identifier mismatch defect. When it is determined that the verification of at least one service configuration information in the 16 PBs fails, it is considered that there is a service identifier mismatch defect, and a corresponding indication signal is generated.
  • the continuous defect detection of 16 PBs as described above may be a continuous detection process. Then, the defect detection of the current 16 PBs triggers the generation of corresponding indication signals. If the next 16 PB defect detections find that all service configuration information is successfully verified, the previously generated indication signals need to be eliminated.
  • defect detection for multiple consecutive PBs is a specific example.
  • defect detection may be performed for non-contiguous PBs.
  • defect detection may be performed on a plurality of PBs with a fixed interval.
  • defect detection can be performed according to multiple PBs of other mathematical distributions.
  • the PB group may be used instead to perform defect detection.
  • device A determines whether the configuration information of the N payload block groups is correct to determine whether to generate a service identifier mismatch defect indication signal.
  • each of the N payload block groups includes multiple payload blocks that are distributed continuously or arranged at fixed intervals. If the configuration information of at least one of the multiple payload blocks in a group is incorrect, it means that the configuration information of the payload block group to which the multiple payload blocks belong is incorrect; otherwise, all of the multiple payload blocks in a group The configuration information of the group is correct, indicating that the configuration information of the group is correct.
  • a service identifier mismatch defect indication is generated. If device A determines When all the configuration information of the N payload block groups is correct, no service identifier mismatch defect indication will be generated. Similar to the first example, if the defect detection is a continuous process, then on the premise that the service indication mismatch defect indication signal has been generated, device A determines that in the subsequent defect detection of N payload block groups, its If all configuration information is correct, it is necessary to eliminate the generated service identifier mismatch defect indication.
  • N is a positive integer greater than or equal to 2.
  • the service identifiers of multiple PBs may also be called multiplexing structure indicators (Multiplexing Structure Identifier, MSI). Therefore, the service identifier mismatch defect may also be called an MSI mismatch defect (MSI Mismatch defect, dMSIM).
  • the service configuration information configured for the sending device may be called Transmit MSI (Transmit MSI, TxMSI); the service configuration information configured for the receiving device may be called expected MSI (Expected MSI, ExMSI).
  • the TPN carried in the data frame received by the receiving device may be called a received TPN (Accepted TPN, AcTPN).
  • generating the identification mismatch defect indication as described above can be understood as generating a dMSIM signal.
  • the method provided in this embodiment performs defect detection based on multiple PBs, which has a faster detection speed and can sense the line (that is, the path for transmitting OTN frames) in a timely manner.
  • the bit errors that occur can be used for fast protection switching applications and other management and O&M operations that rely on fast detection mechanisms to ensure timeliness.
  • the following two embodiments are methods, devices and systems for using the bandwidth adjustment instruction carried in the PB to implement service bandwidth increase or service bandwidth decrease scenarios.
  • Table 6 provides descriptions of some relevant field combinations and their functions.
  • the service identifier is represented by TPN
  • the service bandwidth adjustment indication is represented by ADJ. It should be noted that the numerical values in Table 5 are only examples. The present application does not limit the selection of specific numerical values.
  • FIG. 8 is a schematic flowchart of a third OTN frame processing method provided by an embodiment of the present application. As shown in Fig. 8, the method includes the following steps.
  • the sending device is device A shown in FIG. 1 and the receiving device is device H shown in FIG. 1 as an example.
  • device A may directly send the OTN frame to device H through an optical fiber.
  • device A can also send to device H through other intermediate devices, for example: device B, device C and device G.
  • this embodiment does not make a limitation.
  • S601 Use a group of PBs of multiplexing frames of the optical transport network to transmit the data of service A, the service identifier of each payload block in the group of PBs is the identifier of the service A, and each of the group of PBs
  • the bandwidth adjustment indication of the is 111;
  • step S601 takes the optical transport network multiplexing frame (that is, the aforementioned P frame) as the object for description.
  • the P frame is also composed of optical transport network frames, therefore, the description of the preceding steps in FIG. 5 is also applicable to this step, so details are not repeated here.
  • the group of PBs used to transmit the data of service A in this step is determined by the service configuration information provided by the network management system.
  • the service identifier in the group of PBs is set to the service identifier of the transmission service A, and the bandwidth adjustment indication is set to 111, which is used to indicate that the corresponding PB bears the service.
  • device A determines that the bandwidth (or rate) of service A needs to be increased, it means that device A should allocate one or more new PBs to carry service A. It should be understood that at this time, the network management system will send new service configuration information to the sending device and the receiving device for service mapping and demapping respectively. As shown in Table 5, after a new PB (that is, the first PB in Table 5) is determined, a corresponding value is set for its overhead.
  • S603 Map the service data of service A to a first group of PBs in the multiframe of the first optical transport network, where the first group of PBs does not include the first PB;
  • S604 Send the first OTN multiplexing frame
  • the newly added PB has not been used for service bearing, so the sending device still uses the previously allocated PB (that is, the first group PB).
  • mapping service #A device A sends the P frame to device H.
  • S605 Demap the data of the service A from the first group of PBs of the first optical transmission multiframe
  • the device H obtains the first group of PBs from the received P frames according to the received service configuration information and the bandwidth adjustment indication in the PBs, and parses out the data of the service #A carried therein. That is to say, although the service configuration information of device H includes the first group of PBs and the newly added PBs, the value of the bandwidth adjustment indication of the newly added PBs indicates that the newly added PBs are not used for service bearing, so there is no need to set The payload information in the newly added PB is taken out for service recovery.
  • S606 Map the service data of service A to the second group of PBs in the second optical transport network multiframe, the second group of PBs includes the first PB, and the bandwidth adjustment indication in the first PB is set to 111 , used to instruct the first PB to start carrying the data of the service A;
  • S607 Send the second OTN multiplexing frame
  • S608 Demap the data of the service A from the second group of PBs of the second optical transmission multiframe.
  • device A indicates to device H the start time for the newly added PB to carry services by changing the bandwidth adjustment indication of the first PB of a certain P frame, so that device H can detect the From the moment when the value of the bandwidth adjustment indication of the first PB of a P frame is changed, the first PB of the certain P frame is used for extracting the service #A.
  • FIG. 9 is a schematic diagram of processing steps of service bandwidth increase in the embodiment shown in FIG. 8 .
  • Fig. 9 shows a group of P frames and the moments when PB in the P frames change in time order.
  • the numbers of PB allocated for OSU signal #a (abbreviated as OSU#a in the figure) are 1, 5, i+2, P-3 (P is the net number of loads).
  • Figure 9 only shows one P frame moment (that is, the 10th P frame), it should be understood that before the 10th P frame, if the service configuration information does not change, the PB allocated for OSU#a is the same as the 10th P frame Frames are the same.
  • #j+3 is idle, that is to say, if the PB carries an occupation indication, its occupation indication may be 0, indicating that it is not occupied by any service.
  • the network device determines a newly added PB according to the new service configuration information to use for OSU#a with increased bandwidth (or called rate). In the example shown in FIG. 9, the network device determines PB#j+3, that is, the new service configuration information specifies that PB#j+3 is assigned to OSU#a compared with the previous service configuration information. PB.
  • the service identifier value of PB#j+3 is set, that is, it is set as the TPN of OSU#a, and the bandwidth adjustment indication of PB#j+3 is set to 000, indicating that it is not used To carry business data.
  • the sending device sets the bandwidth adjustment indication of PB#j+3 to 111, so as to complete the path bandwidth increase corresponding to the service bandwidth increase.
  • the certain interval is 4 P frame times, so at the 15th P frame, the bandwidth adjustment indication of #PB#j+3 of the P frame is set to 111, thereby notifying the receiving end that it can use All PBs allocated in the new service configuration information (that is, PBs of #1, ⁇ 5, #(i+2), #(j+3) and #(P-3)) are used for service analysis. It should be understood that the originating device may select the aforementioned interval time according to specific requirements, which is not limited in this application.
  • the embodiment of the present application can realize the lossless increase of service bandwidth, that is, there is no need to tear down the original service path and establish a new path, but by adding PB to the OSU frame carrying the service, and orderly through the above steps The bandwidth to complete the service path is increased.
  • resource reservation can be completed quickly and service transmission can be completed by using the newly added PB when the sending device needs it.
  • FIG. 10 is a schematic flowchart of a fourth OTN frame processing method provided by an embodiment of the present application. As shown in Fig. 10, the method includes the following steps. In this embodiment, it is assumed that the sending device is device A shown in FIG. 1 and the receiving device is device H shown in FIG. 1 as an example.
  • S601 Use a group of PBs of multiplexing frames of the optical transport network to transmit the data of service A, the service identifier of each payload block in the group of PBs is the identifier of the service A, and each of the group of PBs
  • the bandwidth adjustment indication of the is 111;
  • This step is the same as step S601 shown in FIG. 8 , and will not be repeated here.
  • S703 Map the service data of service A to a third group of PBs in the multiframe of the first optical transport network, where the first PB is not included in the third group of PBs;
  • S704 Send the first OTN multiplexing frame
  • S705 Demap the data of the service A from the third group of PBs of the first optical transmission multiframe.
  • the sending device After determining the PB that needs to be deleted among the PBs used to carry service A, the sending device first modifies the bandwidth adjustment instruction of the PB to be deleted (the first PB). information to instruct the receiving end to stop using the PB block for service A bearer. At this time, the receiving device does not take the first PB into consideration when performing service analysis. It should be understood that at this time, the first PB is still allocated to service A.
  • the sending device After a certain time interval, the service identifier of the first PB can be set to a certain value to indicate that the PB is idle, or the occupation indication can be set to indicate that the first PB is in an idle state.
  • the embodiment of the present application can realize the lossless reduction of bandwidth, that is, there is no need to tear down the original service path and establish a new path, but by reducing the allocated PB for the OSU frame carrying the service, and orderly through the above steps
  • the bandwidth reduction of the service path can be completed efficiently.
  • the network device may execute either one of FIG. 8 or FIG. 10 , or both. In this regard, this application does not make a limitation.
  • Fig. 11 is a schematic structural diagram of a possible network device.
  • a network device 800 includes a processor 801 , a transceiver 802 and a memory 803 . Wherein, the memory 803 is optional.
  • the network device 800 can be applied to both the sending device and the receiving device.
  • the processor 801 When applied to a sending device, the processor 801 is configured to implement the method executed by the sending device shown in FIG. 5 , FIG. 6 , FIG. 8 or FIG. 10 . In the implementation process, each step of the processing flow can implement the method executed by the sending device in the above-mentioned figures through an integrated logic circuit of hardware in the processor 801 or an instruction in the form of software.
  • the transceiver 802 is used to receive and process the optical transport network frame sent to send to the peer device (also called the receiving device); and/or receive the optical transport network frame sent from the peer device to send to the processor 801 for processing.
  • the transceiver 802 is also configured to receive service configuration information from the network management system, and send it to the processor 801 for processing.
  • the processor 801 When applied to a receiving device, the processor 801 is configured to implement the method executed by the receiving device shown in FIG. 5 , FIG. 6 , FIG. 8 or FIG. 10 . In the implementation process, each step of the processing flow can complete the method executed by the receiving side device described in the preceding figures through an integrated logic circuit of hardware in the processor 801 or an instruction in the form of software.
  • the transceiver 802 is used to receive the optical transmission network frame sent by the peer device (also referred to as the sending device), to send to the processor 801 for subsequent processing; and/or, to receive the optical transmission network frame sent from the peer device The network frame is sent to the processor 801 for processing.
  • the transceiver 802 is also configured to receive service configuration information from the network management system, and send it to the processor 801 for processing.
  • the memory 803 may be used to store instructions such that the process 801 may be used to perform steps as mentioned in the above figures. Alternatively, the storage 803 may also be used to store other instructions to configure parameters of the processor 801 to implement corresponding functions. The memory 803 may also be used to store service data or OTN frames, so that the processor processes the service data and OTN frames.
  • the processor 801 and the memory 803 may be located in a tributary board; they may also be located in a single board that integrates a tributary and a line.
  • both the processor 801 and the memory 803 include multiple ones, respectively located on the tributary board and the circuit board, and the two boards cooperate to complete the foregoing method steps.
  • FIG. 11 may also be used to execute the method steps mentioned in the modification of the embodiment shown in the above-mentioned drawings or the alternative solution, and details are not repeated here.
  • the processor 801 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
  • a general purpose processor may be a microprocessor or any conventional processor or the like.
  • the steps of the methods disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software units in the processor.
  • the program codes executed by the processor 801 to implement the above methods may be stored in the memory 803 .
  • the memory 803 is coupled to the processor 801 .
  • the coupling in the embodiments of the present application is an indirect coupling or a communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
  • Processor 801 may cooperate with memory 803 .
  • the memory 803 may be a non-volatile memory, such as a hard disk drive (HDD), or a volatile memory (volatile memory), such as a random-access memory (random-access memory, RAM).
  • memory 803 is Any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.
  • the embodiments of the present application further provide a computer-readable storage medium.
  • a software program is stored in the storage medium, and when the software program is read and executed by one or more processors, the method provided by any one or more embodiments above can be implemented.
  • the computer-readable storage medium may include: a U disk, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, and other media capable of storing program codes.
  • the embodiment of the present application further provides a chip.
  • the chip includes a processor configured to implement the functions involved in any one or more of the above embodiments, such as acquiring or processing the data frames involved in the above methods.
  • the chip further includes a memory for necessary program instructions and data executed by the processor.
  • the chip may consist of chips, or may include chips and other discrete devices.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
  • the device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

Abstract

Disclosed in the present application are a method, apparatus and system for processing an optical transport network frame. The method for processing an optical transport network frame comprises a plurality of steps: first, a first device receiving an optical transport network frame from a second device, wherein a payload area of the optical transport network frame comprises a plurality of payload blocks; in addition, the first device acquiring service configuration information comprising service identifiers which are configured for the plurality of payload blocks of the optical transport network frame; according to a first service identifier included in a first payload block in the received optical transport network frame and a second service identifier which is included in the service configuration information and concerns the first payload block, the first device determining quantity information of bits having the same numerical value among corresponding bits of the two service identifiers; and according to the quantity information and a preset threshold value, the first device determining whether the first service identifier matches the second service identifier. By means of said steps, the method for processing an optical transport network frame can improve the robustness of service identifier inspection. Optionally, the first device implements rapid defect detection by means of verifying the service identifiers of a plurality of consecutive payload blocks. Optionally, the first device implements lossless adjustment of a service bandwidth by means of carrying a bandwidth adjustment indication in the payload blocks.

Description

一种光传送网中的数据帧的处理方法、装置和系统A method, device and system for processing data frames in an optical transport network
本申请要求于2022年1月30日提交中国国家知识产权局、申请号为202210114138.9、申请名称为“一种光传送网中的数据帧的处理方法、装置和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office of China on January 30, 2022, with the application number 202210114138.9, and the application title "A method, device and system for processing data frames in an optical transport network" , the entire contents of which are incorporated in this application by reference.
技术领域technical field
本申请涉及光通信技术领域,尤其涉及光传送网中的数据帧的处理方法、装置和系统。The present application relates to the technical field of optical communication, and in particular to a method, device and system for processing data frames in an optical transport network.
背景技术Background technique
光传送网(optical transport network,OTN)作为一种骨干承载网络的核心技术,包括多种速率的光承载容器。例如,光数据单元0(optical data unit 0,ODU0)帧为当前OTN技术的速率最小的承载容器,其速率约为1.25吉比特每秒(Gigabit per second,Gbps),用于承载1Gbps的以太网业务数据。As a core technology of a backbone bearer network, the optical transport network (OTN) includes optical bearer containers of various rates. For example, the optical data unit 0 (ODU0) frame is the bearer container with the lowest rate in the current OTN technology, and its rate is about 1.25 gigabit per second (Gbps), which is used to carry 1Gbps Ethernet business data.
为提升承载效率,当前OTN的光承载容器采用时分复用技术。具体地,通过将一个高速率的承载容器划分为多个固定的时隙,用于实现多业务承载。当前,OTN可以支持1.25G时隙和5G时隙两种颗粒度。对于低于1Gbps的业务,当前的OTN承载容器的时隙粒度无法提供有效的承载方案。To improve bearer efficiency, the optical bearer container of the current OTN adopts time division multiplexing technology. Specifically, a high-rate bearer container is divided into multiple fixed time slots to implement multi-service bearer. Currently, OTN can support two granularities of 1.25G time slot and 5G time slot. For services below 1Gbps, the time slot granularity of the current OTN bearer container cannot provide an effective bearer solution.
为此,当前的做法是将OTN承载容器的净荷区划分为多个净荷块并定义了一种新的低速率帧。通过将低速率帧映射到净荷块的方法,实现了承载低速率的业务数据。当前主流的将低速率帧映射到净荷块的方法是,OTN设备收到业务数据时,为该业务数据分配需要的净荷块,通过OTN帧来传输。此外,为了区分不同的业务数据,每个净荷块携带了能够唯一标识该业务数据的指示信息。但是,当该指示信息在传输过程中发生误码时,会导致接收OTN帧的设备无法判断低速率帧携带的业务数据,从而造成对应的业务数据的部分丢失,这降低了OTN网络的传输效率。For this reason, the current practice is to divide the payload area of the OTN bearer container into multiple payload blocks and define a new low-rate frame. By mapping low-rate frames to payload blocks, low-rate service data is carried. The current mainstream method of mapping the low-rate frame to the payload block is that when the OTN device receives the service data, it allocates the required payload block for the service data and transmits it through the OTN frame. In addition, in order to distinguish different service data, each payload block carries indication information that can uniquely identify the service data. However, when a bit error occurs during the transmission of the indication information, the device receiving the OTN frame will not be able to judge the service data carried by the low-rate frame, resulting in partial loss of the corresponding service data, which reduces the transmission efficiency of the OTN network .
发明内容Contents of the invention
现有技术提供的方案存在业务数据部分丢失的问题。为此,本申请实施例提供了一种光传送网中业务数据的处理方法、装置和系统。The solution provided by the prior art has the problem of partial loss of service data. To this end, the embodiments of the present application provide a method, device and system for processing service data in an optical transport network.
第一方面,本申请实施例提供了新的光传送网帧的数据结构。该光传送网帧包括开销区和净荷区,净荷区包括多个净荷块。该多个净荷块的每一个包括多个字段,以完成业务配置校验功能、缺陷检测功能、占用指示功能、速率适配指示功能和/或带宽调整指示功能的一个或者多个。通过多个字段分别完成各功能指示,该设计方式将各个功能指示进行了解耦,可降低错误发生时导致所有功能失效的情况。In the first aspect, the embodiment of the present application provides a new data structure of an optical transport network frame. The optical transport network frame includes an overhead area and a payload area, and the payload area includes a plurality of payload blocks. Each of the plurality of payload blocks includes a plurality of fields, so as to implement one or more of a service configuration verification function, a defect detection function, an occupation indication function, a rate adaptation indication function and/or a bandwidth adjustment indication function. Each function instruction is completed separately through multiple fields. This design method decouples each function instruction, which can reduce the failure of all functions when errors occur.
在一种具体的实现中,多个净荷块的每一个净荷块包括业务标识字段和速率适配字段。其中,业务标识字段用于实现业务配置校验功能、缺陷检测功能和占用功能,速率适配指示字段用于完成速率适配指示功能。其中,业务标识通过特殊的比特位或者特殊的取值来指示该业务标识所在的PB未被占用。在另一种具体的实现中,多个净荷块的每一个净荷块包括业务标识字段,占用字段、速率适配指示字段和速率适配字段,以完成前述的所有功能。应 理解,当占用字段的取值指示对应的净荷块未被占用时,接收设备无需解析其他字段。当占用字段的取值指示对应的净荷块被占用时,接收设备才会去解析其他字段。例如,接收设备解析业务标识字段,以进行业务配置信息校验和/或快速的缺陷检测。In a specific implementation, each of the multiple payload blocks includes a service identification field and a rate adaptation field. Among them, the service identification field is used to implement the service configuration verification function, defect detection function and occupation function, and the rate adaptation indication field is used to complete the rate adaptation indication function. Wherein, the service identifier indicates that the PB where the service identifier is located is not occupied through a special bit or a special value. In another specific implementation, each of the multiple payload blocks includes a service identification field, an occupation field, a rate adaptation indication field, and a rate adaptation field, so as to complete all the aforementioned functions. answer It is understood that when the value of the occupied field indicates that the corresponding payload block is not occupied, the receiving device does not need to parse other fields. When the value of the occupied field indicates that the corresponding payload block is occupied, the receiving device will parse other fields. For example, the receiving device parses the service identification field to perform service configuration information verification and/or fast defect detection.
基于上述光传送网帧的数据结构,下面提供了利用这些字段的光传送网帧的处理方法、装置和系统。应理解,下述的多个方面提及的方法可以结合使用,以完成多个上述功能。对此,本申请不做限定。Based on the above data structure of the OTN frame, the following provides the processing method, device and system of the OTN frame using these fields. It should be understood that the methods mentioned in the following multiple aspects can be used in combination to accomplish multiple above-mentioned functions. In this regard, this application does not make a limitation.
第二方面,本申请实施例提供了一种光传送网帧的处理方法。该方法包括多个步骤。首先,第一设备从第二设备接收光传送网帧,所述光传送网帧的净荷区包括多个净荷块,所述多个净荷块的每一个净荷块包含业务标识。此外,第一设备获取业务配置信息,所述业务配置信息包括为所述光传送网帧的所述多个净荷块配置的业务标识。然后,所述第一设备根据接收到的所述光传送网帧中的所述第一净荷块包含的第一业务标识和所述业务配置信息包含的针对所述第一净荷块的第二业务标识,确定所述第一业务标识的比特位和第二业务标识的对应比特位的数值相同的数量信息。根据所述数量信息和预设的阈值,所述第一设备确定所述第一业务标识和所述第二业务标识是否匹配。In a second aspect, the embodiment of the present application provides a method for processing an OTN frame. The method includes several steps. Firstly, the first device receives an OTN frame from the second device, the payload area of the OTN frame includes multiple payload blocks, and each payload block of the multiple payload blocks contains a service identifier. In addition, the first device acquires service configuration information, where the service configuration information includes service identifiers configured for the multiple payload blocks of the optical transport network frame. Then, according to the first service identifier included in the first payload block in the received optical transport network frame and the first service identifier for the first payload block included in the service configuration information, the first device Two service identifiers, determining quantity information that the bits of the first service identifier have the same value as the corresponding bits of the second service identifier. According to the quantity information and a preset threshold, the first device determines whether the first service identifier matches the second service identifier.
具体地,例如,预设的阈值指示不同比特位的数量,取值为1或2等较小的数值。又如,预设的阈值指示的是相同比特的数量,取值为接近业务标识长度的数值。例如,如果业务标识为12比特,则预设的阈值为10或11。Specifically, for example, the preset threshold indicates the number of different bits, which is a smaller value such as 1 or 2. In another example, the preset threshold indicates the number of identical bits, and the value is a value close to the length of the service identifier. For example, if the service identifier is 12 bits, the preset threshold is 10 or 11.
在一种可能的实现方式中,所述业务配置信息中针对所述光传送网帧的所述多个净荷块中承载同一业务的净荷块的位置满足:相邻的两个净荷块满足预设的净荷块数量的间隔约束。这样可以简化针对光传送网帧的管理,降低设备复杂度。In a possible implementation manner, the position of the payload block carrying the same service among the multiple payload blocks of the optical transport network frame in the service configuration information satisfies: two adjacent payload blocks Satisfy the spacing constraints of the preset number of payload blocks. In this way, the management of optical transport network frames can be simplified, and the complexity of equipment can be reduced.
当所述数量信息满足预设的阈值,则确定业务标识匹配,第一设备(即接收设备)利用业务配置信息指定的PB信息来从接收到的光传送网帧中恢复出业务数据。通过设置阈值,本申请实施例揭示的方法能够容忍一定的线路误码,降低了线路误码对校验功能的影响,从而提高了业务标识信息校验的健壮性。When the quantity information satisfies the preset threshold, it is determined that the service identifier matches, and the first device (that is, the receiving device) uses the PB information specified by the service configuration information to recover service data from the received OTN frame. By setting the threshold, the method disclosed in the embodiment of the present application can tolerate a certain line error, which reduces the impact of the line error on the verification function, thereby improving the robustness of the service identification information verification.
第三方面,本申请实施例提供了一种业务标识不匹配的检测方法。该检测方法包括第一设备利用接收的业务配置信息和接收到的所述光传送帧的多个净荷块的标识信息是否匹配,所述多个净荷块为连续分布的或按照预定间隔依次排列的。当确定所述多个净荷块的配置信息的至少一个不正确时,产生业务标识不匹配缺陷指示。或者,当确定所述连续多个净荷块的配置信息均正确且存在业务标识不匹配缺陷指示时,消除所述业务标识不匹配缺陷指示。In a third aspect, the embodiment of the present application provides a method for detecting mismatch of service identifiers. The detection method includes whether the first device matches the received service configuration information with the received identification information of multiple payload blocks of the optical transmission frame, and the multiple payload blocks are distributed continuously or sequentially according to a predetermined interval arranged. When it is determined that at least one piece of configuration information of the plurality of payload blocks is incorrect, a service identifier mismatch defect indication is generated. Or, when it is determined that the configuration information of the multiple consecutive payload blocks is correct and there is a service identifier mismatch defect indication, the service identifier mismatch defect indication is eliminated.
需要说明的是,上述检测方法是基于光传送网帧的净荷块至少包括业务标识来执行的方法。可选地,还可以通过包括其他字段,来完成上述提及的其他功能。It should be noted that the above detection method is performed based on the fact that the payload block of the optical transport network frame includes at least a service identifier. Optionally, other functions mentioned above may also be implemented by including other fields.
在一种可能的实现方式中,该多个净荷块的数量为16。In a possible implementation manner, the number of the plurality of payload blocks is 16.
通过基于多个净荷块的检测方式,相较于现有技术基于光传送网帧的缺陷检测方式,本申请实施例揭示的检测方法使用的时间较短,能够较快地识别出线路问题,并用于完成快速的保护倒换等管理功能。Through the detection method based on multiple payload blocks, compared with the defect detection method based on optical transport network frames in the prior art, the detection method disclosed in the embodiment of the present application takes a shorter time and can identify line problems faster. It is also used to complete management functions such as fast protection switching.
应理解,上述基于多个净荷块的检测方式也可以替换为基于多个净荷块组的方法。具体地,第一个设备确定N个净荷块组的配置信息是否正确,所述N个净荷块组的每一个包括连续分布或按照固定间隔排列的多个净荷块。所述多个净荷块的至少一个的配置信息不正确表示所述多个净荷块所属的净荷块组的配置信息不正确;或者,所述多个净荷块的每一个的配置信息正确表示所述多个净荷块所属的净荷块组的配置信息正确。当确定N个净荷块组的配置信息的至少两个不正确时,第一设备产生业务标识不匹配缺陷指示。或者,当确定所述N 个净荷块组的配置信息均正确且存在业务标识不匹配缺陷指示时,第一设备消除所述业务标识不匹配缺陷。N大于等于2。It should be understood that the foregoing detection manner based on multiple payload blocks may also be replaced by a method based on multiple payload block groups. Specifically, the first device determines whether the configuration information of the N payload block groups is correct, and each of the N payload block groups includes multiple payload blocks that are continuously distributed or arranged at fixed intervals. The incorrect configuration information of at least one of the multiple payload blocks indicates that the configuration information of the payload block group to which the multiple payload blocks belong is incorrect; or, the configuration information of each of the multiple payload blocks Correctly indicates that the configuration information of the payload block group to which the multiple payload blocks belong is correct. When determining that at least two of the configuration information of the N payload block groups are incorrect, the first device generates a service identifier mismatch defect indication. Alternatively, when determining the N When the configuration information of the payload block groups is correct and there is a service identifier mismatch defect indication, the first device eliminates the service identifier mismatch defect. N is greater than or equal to 2.
上述基于净荷块组的方式可以降低随机线路误码对检测的准确性的影响,提高缺陷检测的准确性。The above method based on the payload block group can reduce the impact of random line errors on the accuracy of detection and improve the accuracy of defect detection.
第四方面,本申请实施还提供一种在光传送网中的业务带宽调整的方法。该方法包括带宽增加和/或带宽减少的方法。In a fourth aspect, the implementation of this application also provides a method for adjusting service bandwidth in an optical transport network. The method includes bandwidth increasing and/or bandwidth decreasing methods.
当业务带宽需要增加时,发送设备通过首先将新的PB的业务标识设置为该需要增加带宽的业务对应的业务标识,不修改其带宽调整指示(即仍为未占用),然后在后续的光传送网复帧中对应的PB中再修改带宽调整指示,来完成业务带宽增加的过程。具体地,以接收设备为例来描述该业务带宽增加的过程。具体地,首先,第一设备从所述第二设备接收第一光传送网复帧,所述第一光传送网复帧的多个净荷块的每一个包括业务标识和带宽调整指示,所述带宽调整指示用于指示对应的净荷块承载的业务的带宽调整。然后,第一设备确定所述第一光传送网复帧的第一净荷块的业务标识为第三业务标识,并确定所述第一净荷块的带宽调整指示为第一数值,所述第一数值用于指示所述第一光传送网复帧中的所述第一净荷块的净荷区未承载所述第三业务标识对应的业务。接着,所述第一设备从所述第一光传送网复帧中的第一组净荷块中解映射出所述第三业务标识对应的业务,所述第一组净荷块不包括所述第一净荷块。所述第一设备从所述第二设备接收第二光传送网复帧,所述第二光传送网复帧为在所述第一设备接收到所述第一光传送网复帧后接收到的复帧。所述第一设备确定所述第二光传送网复帧的第一净荷块的业务标识为所述第三业务标识,且所述第一净荷块的带宽调整指示为第二数值,所述第二数值用于指示所述第二光传送网复帧中的所述第一净荷块承载所述第三业务标识对应的业务。第一设备从所述第二光传送网复帧中的第二组净荷块中解映射出所述第三业务标识对应的业务,所述第二组净荷块包括所述第二光传送网复帧的所述第一净荷块。When the service bandwidth needs to be increased, the sending device firstly sets the service identifier of the new PB as the service identifier corresponding to the service that needs to increase the bandwidth, without modifying its bandwidth adjustment indication (that is, it is still unoccupied), and then in the subsequent optical The bandwidth adjustment instruction is modified in the corresponding PB in the multiframe of the transport network to complete the process of increasing the service bandwidth. Specifically, the process of increasing the service bandwidth is described by taking the receiving device as an example. Specifically, first, the first device receives a first optical transport network multiframe from the second device, and each of the multiple payload blocks of the first optical transport network multiframe includes a service identifier and a bandwidth adjustment indication, so The bandwidth adjustment indication is used to indicate the bandwidth adjustment of the service carried by the corresponding payload block. Then, the first device determines that the service identifier of the first payload block of the first optical transport network multiframe is the third service identifier, and determines that the bandwidth adjustment indication of the first payload block is a first value, the The first value is used to indicate that the payload area of the first payload block in the first optical transport network multiframe does not carry the service corresponding to the third service identifier. Next, the first device demaps the service corresponding to the third service identifier from the first group of payload blocks in the first optical transport network multiframe, and the first group of payload blocks does not include the Describe the first payload block. The first device receives a second optical transport network multiframe from the second device, and the second optical transport network multiframe is received after the first device receives the first optical transport network multiframe multiframe. The first device determines that the service identifier of the first payload block of the second optical transport network multiframe is the third service identifier, and the bandwidth adjustment indication of the first payload block is a second value, so The second value is used to indicate that the first payload block in the second optical transport network multiframe carries the service corresponding to the third service identifier. The first device demaps the service corresponding to the third service identifier from the second group of payload blocks in the second optical transport network multiframe, and the second group of payload blocks includes the second optical transmission network The first payload block of the network multiframe.
当业务带宽需要减少时,发送设备通过首先将待删除的PB的带宽调整指示设置为未承载业务,然后在后续的光传送网复帧中再修改业务标识和或占用指示(用于表示该PB未被占用),来完成业务带宽减少的过程。具体地,以接收设备为例来描述该业务带宽减少的过程。具体地,第一设备确定所述第三光传送网复帧的第二净荷块的业务标识为第四业务标识,并确定所述第二净荷块的带宽调整指示为第三数值,所述第三数值用于指示所述第三光传送网复帧中的所述第一净荷块的净荷区用于承载所述第四业务标识对应的业务。此时,第一设备从所述第三光传送网复帧中的第三组净荷块中解映射出所述第四业务标识对应的业务,所述第三组净荷块中包括所述第三光传送网复帧的所述第二净荷块。然后,所述第一设备从所述第二设备接收第四光传送网复帧,所述第四光传送网复帧为所述第一设备在接收到所述第三光传送网复帧后接收到的复帧。第一设备确定所述第四光传送网复帧的第二净荷块的业务标识为所述第四业务标识,且所述第二净荷块的带宽调整指示为第四数值,所述第四数值用于指示所述第四光传送网复帧中的所述第二净荷块未承载所述第四业务标识对应的业务。从所述第四光传送网复帧中的第四组净荷块中解映射出所述第四业务标识对应的业务,所述第四组净荷块中不包括所述第四光传送网复帧中的所述第二净荷块。接着,第一网络设备收到的复帧中该第二净荷块的业务标识和/或占用指示被设置为未占用,标识该第二净荷块被第四业务标识对应的业务释放了。When the service bandwidth needs to be reduced, the sending device firstly sets the bandwidth adjustment indication of the PB to be deleted as uncarried service, and then modifies the service identifier and or occupancy indication (used to indicate that the PB not occupied), to complete the process of service bandwidth reduction. Specifically, the process of reducing the service bandwidth is described by taking the receiving device as an example. Specifically, the first device determines that the service identifier of the second payload block of the third optical transport network multiframe is the fourth service identifier, and determines that the bandwidth adjustment indication of the second payload block is a third value, so The third value is used to indicate that the payload area of the first payload block in the third OTN multiframe is used to bear the service corresponding to the fourth service identifier. At this time, the first device demaps the service corresponding to the fourth service identifier from the third group of payload blocks in the third optical transport network multiframe, and the third group of payload blocks includes the The second payload block of the third OTN multiframe. Then, the first device receives a fourth OTN multiframe from the second device, and the fourth OTN multiframe is after the first device receives the third OTN multiframe Received multiframe. The first device determines that the service identifier of the second payload block of the fourth optical transport network multiframe is the fourth service identifier, and the bandwidth adjustment indication of the second payload block is a fourth value, the first The value of four is used to indicate that the second payload block in the fourth optical transport network multiframe does not carry the service corresponding to the fourth service identifier. Demap the service corresponding to the fourth service identifier from the fourth group of payload blocks in the fourth optical transport network multiframe, and the fourth group of payload blocks does not include the fourth optical transport network said second payload block in a multiframe. Next, the service identifier and/or occupancy indication of the second payload block in the multiframe received by the first network device is set to unoccupied, indicating that the second payload block is released by the service corresponding to the fourth service identifier.
通过上述方式,业务带宽调整不再和光传送网帧绑定,能够较为快速地实现业务带宽调整。此外,通过分步的方式,可以灵活地实现业务带宽的调整。 Through the above method, the service bandwidth adjustment is no longer bound to the optical transport network frame, and the service bandwidth adjustment can be realized relatively quickly. In addition, in a step-by-step manner, the adjustment of service bandwidth can be flexibly realized.
第五方面,本申请实施例提供了一种光传送网设备。该设备包括处理器和收发器。所述收发器用于接收所述光传送网帧,所述处理器用于执行第二至第四方面任一或者这些方面的任一具体实现方式所述的方法。接收光传送网帧包括:所述处理器从所述收发器接收所述光传送网帧。In a fifth aspect, the embodiment of the present application provides an optical transport network device. The device includes a processor and a transceiver. The transceiver is configured to receive the optical transport network frame, and the processor is configured to execute any one of the second to fourth aspects or the method described in any specific implementation manner of these aspects. Receiving an OTN frame includes the processor receiving the OTN frame from the transceiver.
第六方面,本申请实施例提供了一种光通信系统。该光通信通信系统包括发送设备和第五方面所提供的光传送网设备。其中,所述发送设备发送所述光传送网帧给所述光传送网设备。In a sixth aspect, the embodiment of the present application provides an optical communication system. The optical communication system includes sending equipment and the optical transport network equipment provided in the fifth aspect. Wherein, the sending device sends the OTN frame to the OTN device.
在一种具体的实现方式中,所述光通信系统还包括客户设备。所述客户设备用于发送业务给所述发送设备。所述发送设备还用于:将所述业务映射到所述光传送网帧的净荷块中。In a specific implementation manner, the optical communication system further includes client equipment. The client device is configured to send services to the sending device. The sending device is further configured to: map the service into the payload block of the optical transport network frame.
第七方面,本申请实施例提供一种芯片。所述芯片包括处理器和通信接口。所述处理用于执行第二至第四方面任一或者这些方面的任一具体实现方式所述的方法。所述通信接口用于和处理器交互完成帧的发送或接收。In a seventh aspect, the embodiment of the present application provides a chip. The chip includes a processor and a communication interface. The processing is used to execute any one of the second to fourth aspects or the method described in any specific implementation manner of these aspects. The communication interface is used to interact with the processor to complete sending or receiving frames.
附图说明Description of drawings
下面将参照所示附图对本申请实施例进行更详细的描述:The embodiment of the present application will be described in more detail below with reference to the accompanying drawings:
图1为本申请实施例的一种可能的应用场景示意图;FIG. 1 is a schematic diagram of a possible application scenario of an embodiment of the present application;
图2为一种可能的网络设备硬件结构示意图;FIG. 2 is a schematic diagram of a possible network device hardware structure;
图3为一种可能的光业务单元(OSU)帧映射到OTN帧的示意图;Fig. 3 is a schematic diagram of a possible optical service unit (OSU) frame being mapped to an OTN frame;
图4为本申请实施例提供的一种净荷块结构的示意图;FIG. 4 is a schematic diagram of a payload block structure provided by an embodiment of the present application;
图5为本申请实施例提供的第一种光传送网帧的处理方法的流程示意图;FIG. 5 is a schematic flowchart of a first optical transport network frame processing method provided in an embodiment of the present application;
图6为本申请实施例提供的第二种光传送网帧的处理方法的流程示意图;FIG. 6 is a schematic flowchart of a second optical transport network frame processing method provided by an embodiment of the present application;
图7为图6所示实施例的连续净荷块用于缺陷检测的示意图;FIG. 7 is a schematic diagram of continuous payload blocks used for defect detection in the embodiment shown in FIG. 6;
图8为本申请实施例提供的第三种光传送网帧的处理方法的流程示意图;FIG. 8 is a schematic flowchart of a third optical transport network frame processing method provided by an embodiment of the present application;
图9为图8所示实施例的业务带宽增加处理步骤的示意图;FIG. 9 is a schematic diagram of service bandwidth increase processing steps in the embodiment shown in FIG. 8;
图10为本申请实施例提供的第四种光传送网帧的处理方法的流程示意图;FIG. 10 is a schematic flowchart of a fourth optical transport network frame processing method provided by an embodiment of the present application;
图11为一种可能的网络设备的结构示意图。Fig. 11 is a schematic structural diagram of a possible network device.
具体实施方式Detailed ways
首先,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。First of all, some terms used in this application are explained to facilitate the understanding of those skilled in the art.
1)、多个指两个或两个以上。“和/或”描述关联对象的关联关系,可以存在三种关系。例如,A和/或B可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请的描述中,“第一”、“第二”等词汇仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。1) A plurality refers to two or more. "And/or" describes the association relationship of associated objects, and there may be three kinds of relationships. For example, A and/or B may mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the present application, terms such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
2)、数学符号“*”表示乘号。2). The mathematical symbol "*" means the multiplication sign.
3)、上游或下游。从源设备A向目的设备B传输数据,并经过设备M;在数据传输方向上,设备M点位于设备A和设备B点之间,则设备A在设备M的上游方向,设备B在设备M的下游方向。3), upstream or downstream. Data is transmitted from source device A to destination device B, and passes through device M; in the data transmission direction, device M is located between device A and device B, then device A is in the upstream direction of device M, and device B is in the direction of device M downstream direction.
4)、业务数据指的是光传送网络可以承载的业务。例如,可以是以太网业务、分组业务、无线回传业务等。4) Service data refers to services that can be carried by the optical transport network. For example, it may be an Ethernet service, a packet service, a wireless backhaul service, and the like.
5)、一个运算公式的取整值具体可以是向上取整或者向下取整。5). Specifically, the rounded value of an operation formula may be rounded up or rounded down.
6)、本申请提到的A映射到B中指的是将A封装进B中。例如,将光业务单元(Optical  Service Unit,OSU)帧映射到OTN帧中指的是将OSU帧或者OSU信号封装到OTN帧中。6). The mapping of A to B mentioned in this application refers to encapsulating A into B. For example, the optical business unit (Optical Mapping a Service Unit (OSU) frame into an OTN frame refers to encapsulating an OSU frame or an OSU signal into an OTN frame.
7)、除非特殊说明,一个实施例中针对一些技术特征的具体描述也可以应用于解释其他实施例提及对应的技术特征。例如,一个实施例中针对净荷块包含的开销和含义也可以应用于其他实施例中提及的净荷块。又如,针对光传送网帧的具体举例和说明等可以应用到不同的具体实施例中提及到的光传送网帧或者用于替换光传送网帧的具体示例。此外,为了更加明显地体现不同实施例中的组件的关系,本申请采用相同或相似的附图编号来表示不同实施例中功能相同或相似的组件或方法步骤。7) Unless otherwise specified, the specific description of some technical features in one embodiment can also be used to explain the corresponding technical features mentioned in other embodiments. For example, the overhead and meaning contained in one embodiment for the payload block can also be applied to the payload block mentioned in other embodiments. As another example, the specific examples and descriptions for the OTN frame may be applied to the OTN frame mentioned in different specific embodiments or used to replace the specific example of the OTN frame. In addition, in order to more clearly reflect the relationship between components in different embodiments, the present application uses the same or similar reference numbers to indicate components or method steps with the same or similar functions in different embodiments.
本申请实施例适用于光传送网,例如:OTN或者灵活以太网(Flexible Ethernet,FlexE)。一个OTN通常由多个设备通过光纤连接而成,可以根据具体需要组成如线型、环形和网状等不同的拓扑类型。如图1所示的OTN 100由8个OTN设备101组成,即设备A-H。其中,102指示光纤,用于连接两个设备;103指示客户业务接口,用于接收或发送客户业务数据。如图1所示,OTN 100用于为客户设备1-3传输业务数据。客户设备通过客户业务接口跟OTN的设备相连。例如,图1中,客户设备1-3分别和OTN设备A、H和F相连。The embodiments of the present application are applicable to optical transport networks, such as OTN or flexible Ethernet (Flexible Ethernet, FlexE). An OTN is usually formed by connecting multiple devices through optical fibers, and can be composed of different topology types such as line, ring, and mesh according to specific needs. The OTN 100 shown in FIG. 1 is composed of eight OTN equipment 101, that is, equipment A-H. Wherein, 102 indicates an optical fiber, which is used to connect two devices; 103 indicates a customer service interface, which is used to receive or send customer service data. As shown in Figure 1, OTN 100 is used to transmit service data for client equipment 1-3. The customer equipment is connected to the OTN equipment through the customer service interface. For example, in Fig. 1, client devices 1-3 are connected to OTN devices A, H and F respectively.
根据实际的需要,一个OTN设备可能具备不同的功能。一般地来说,OTN设备分为光层设备、电层设备以及光电混合设备。光层设备指的是能够处理光层信号的设备,例如:光放大器(optical amplifier,OA)、光分插复用器(optical add-drop multiplexer,OADM)。OA也可被称为光线路放大器(optical line amplifier,OLA),主要用于对光信号进行放大,以支持在保证光信号的特定性能的前提下传输更远的距离。OADM用于对光信号进行空间的变换,从而使其可以从不同的输出端口(有时也称为方向)输出。电层设备指的是能够处理电层信号的设备,例如:能够处理OTN信号的设备。光电混合设备指的是具备处理光层信号和电层信号能力的设备。需要说明的是,根据具体的集成需要,一个OTN设备可以集合多种不同的功能。本申请提供的技术方案适用于不同形态和集成度的包含电层功能的OTN设备。According to actual needs, an OTN device may have different functions. Generally speaking, OTN equipment is divided into optical layer equipment, electrical layer equipment, and optoelectronic hybrid equipment. Optical layer equipment refers to equipment capable of processing optical layer signals, such as: optical amplifier (optical amplifier, OA), optical add-drop multiplexer (optical add-drop multiplexer, OADM). The OA can also be called an optical line amplifier (OLA), which is mainly used to amplify the optical signal to support the transmission of a longer distance under the premise of ensuring the specific performance of the optical signal. The OADM is used to transform the space of the optical signal so that it can be output from different output ports (also called directions sometimes). Electrical-layer devices refer to devices that can process electrical-layer signals, for example, devices that can process OTN signals. Optical hybrid equipment refers to equipment capable of processing optical layer signals and electrical layer signals. It should be noted that, according to specific integration requirements, an OTN device can integrate multiple different functions. The technical solutions provided by this application are applicable to OTN devices with different forms and integration levels including electrical layer functions.
需要说明的是,本申请实施例中的光传送设备使用的数据帧结构可以是OTN帧,用于承载各种业务数据,并提供丰富的管理和监控功能。OTN帧可以是光数据单元帧(Optical Data Unit k,ODUk)、ODUCn、ODUflex,或者光通道传输单元k(optical transport unit k,OTUk),OTUCn,或者灵活OTN(FlexO)帧等。其中,ODU帧和OTU帧区别在于,OTU帧包括ODU帧和OTU开销。k代表了不同的速率等级,例如,k=1表示2.5Gbps,k=4表示100Gbps;Cn表示可变速率,具体为100Gbps的正整数倍的速率。除非特殊的说明,ODU帧指的是ODUk、ODUCn或ODUflex的任意一种,OTU帧指的是OTUk、OTUCn或者FlexO的任意一种。还需要指出的是,随着光传送网技术的发展,可能定义出新的类型的OTN帧,也适用于本申请。此外,本申请揭示的方法也可以适用于FlexE帧等其他光传送网帧。It should be noted that the data frame structure used by the optical transmission device in the embodiment of the present application may be an OTN frame, which is used to carry various service data and provide rich management and monitoring functions. The OTN frame can be an optical data unit frame (Optical Data Unit k, ODUk), ODUCn, ODUflex, or an optical channel transmission unit k (optical transport unit k, OTUk), OTUCn, or a flexible OTN (FlexO) frame, etc. The difference between the ODU frame and the OTU frame is that the OTU frame includes the ODU frame and the OTU overhead. k represents different rate levels, for example, k=1 represents 2.5Gbps, k=4 represents 100Gbps; Cn represents a variable rate, specifically a rate that is a positive integer multiple of 100Gbps. Unless otherwise specified, the ODU frame refers to any one of ODUk, ODUCn or ODUflex, and the OTU frame refers to any one of OTUk, OTUCn or FlexO. It should also be pointed out that with the development of optical transport network technology, new types of OTN frames may be defined, which are also applicable to this application. In addition, the method disclosed in this application can also be applied to other OTN frames such as FlexE frames.
图2为一种可能的网络设备硬件结构示意图。例如,图1中的设备A。具体地,光传送网设备200包括支路板201、交叉板202、线路板203、光层处理单板(图中未示出)以及系统控制和通信类单板204。根据具体的需要,网络设备包含的单板类型和数量可能不相同。例如,作为核心节点的网络设备没有支路板201。又如,作为边缘节点的网络设备有多个支路板201,或者没有光交叉板202。再如,只支持电层功能的网络设备可能没有光层处理单板。FIG. 2 is a schematic diagram of a possible hardware structure of a network device. For example, device A in FIG. 1 . Specifically, the optical transport network device 200 includes a tributary board 201 , a cross-connect board 202 , a line board 203 , an optical layer processing board (not shown in the figure), and a system control and communication board 204 . According to specific requirements, the type and number of boards included in the network device may be different. For example, a network device serving as a core node does not have a tributary board 201 . For another example, a network device serving as an edge node has multiple tributary boards 201 , or has no optical cross-connect board 202 . For another example, a network device that only supports electrical layer functions may not have an optical layer processing board.
支路板201、交叉板202和线路板203用于处理电层信号。其中,支路板201用于实现各种客户业务的接收和发送,例如SDH业务、分组业务、以太网业务和/或前传业务等。更进一步地,支路板201可以划分为客户侧光收发模块和信号处理器。其中,客户侧光收发模块也可以称为光收发器,用于接收和/或发送业务数据。信号处理器用于实现对业务数据到数据帧的映射和解映射处理。交叉板202用于实现数据帧的交换,完成一种或多种类型的数据 帧的交换。线路板203主要实现线路侧数据帧的处理。具体地,线路板203可以划分为线路侧光模块和信号处理器。其中,线路侧光模块可以称为光收发器,用于接收和/或发送数据帧。信号处理器用于实现对线路侧的数据帧的复用和解复用,或者映射和解映射处理。系统控制和通信类单板204用于实现系统控制。具体地,可以从不同的单板收集信息,或将控制指令发送到对应的单板上去。需要说明的是,除非特殊说明,具体的组件(例如信号处理器)可以是一个或多个,本申请不做限制。还需要说明的是,对设备包含的单板类型以及单板的功能设计和数量,本申请不做任何限制。需要说明的是,在具体的实现中,上述两个单板也可能设计为一个单板。此外,网络设备还可能包括备用电源、用于散热的风扇等。The tributary board 201 , the cross board 202 and the circuit board 203 are used for processing electrical layer signals. Among them, the tributary board 201 is used to realize the receiving and sending of various customer services, such as SDH service, packet service, Ethernet service and/or fronthaul service and so on. Furthermore, the tributary board 201 may be divided into a client-side optical transceiver module and a signal processor. Wherein, the client-side optical transceiver module may also be called an optical transceiver, and is used for receiving and/or sending service data. The signal processor is used to realize the mapping and de-mapping processing of business data to data frames. The cross-connect board 202 is used to realize the exchange of data frames and complete one or more types of data frame exchange. The circuit board 203 mainly implements the processing of data frames on the line side. Specifically, the circuit board 203 can be divided into a line-side optical module and a signal processor. Wherein, the line-side optical module may be called an optical transceiver, and is used for receiving and/or sending data frames. The signal processor is used to implement multiplexing and demultiplexing, or mapping and demapping processing of data frames on the line side. The system control and communication board 204 is used to implement system control. Specifically, information may be collected from different boards, or control instructions may be sent to corresponding boards. It should be noted that, unless otherwise specified, there may be one or more specific components (such as signal processors), which are not limited in this application. It should also be noted that this application does not impose any restrictions on the types of boards included in the device, as well as the functional design and quantity of the boards. It should be noted that, in a specific implementation, the above two boards may also be designed as one board. In addition, network equipment may also include backup power supplies, fans for cooling, and so on.
图3为一种可能的光业务单元(OSU)帧映射到OTN帧的示意图。如图3所示,OTN帧302为一种光传送网帧的示意;其为4行多列的结构,包括开销区、净荷区和前向纠错(Forward Error Correction,FEC)区域。其中,净荷区划分为多个净荷块(Payload Block,PB)。每个PB占据净荷区中固定的一定长度(也可以称为大小)的位置,例如128个字节。应理解,OTN帧302仅是一个示例。其他变形的OTN帧也适用于本申请。例如,不包含FEC区域的OTN帧。又如,行数和列数跟OTN帧302不同的帧结构。应理解,PB也可以称作时隙、时隙块或时间片等。本申请对其名称不做约束。FIG. 3 is a schematic diagram of a possible mapping of an Optical Service Unit (OSU) frame to an OTN frame. As shown in FIG. 3, the OTN frame 302 is a schematic diagram of an optical transport network frame; it has a structure of 4 rows and multiple columns, including an overhead area, a payload area, and a forward error correction (Forward Error Correction, FEC) area. Wherein, the payload area is divided into multiple payload blocks (Payload Block, PB). Each PB occupies a position of a fixed length (also referred to as a size) in the payload area, for example, 128 bytes. It should be understood that OTN frame 302 is only one example. Other deformed OTN frames are also suitable for this application. For example, an OTN frame that does not contain an FEC area. As another example, the frame structure has a different number of rows and columns than the OTN frame 302 . It should be understood that a PB may also be called a time slot, a time slot block, or a time slice. This application is not bound by its name.
OSU帧301,如图3所示,包括开销区和净荷区。其中,OSU帧301的开销区用于承载开销信息。例如,开销信息可以包括表1所示的一种或多种信息。OSU帧301的净荷区用于承载业务数据。一个OSU帧的速率定义为基准速率的整数倍。其中,基准速率可以为2.6Mbps、5.2Mbps或10.4Mbps或前述这些数值的倍数等。OSU frame 301, as shown in FIG. 3, includes an overhead area and a payload area. Wherein, the overhead area of the OSU frame 301 is used to carry overhead information. For example, the overhead information may include one or more pieces of information shown in Table 1. The payload area of the OSU frame 301 is used to carry service data. The rate of an OSU frame is defined as an integer multiple of the base rate. Wherein, the reference rate may be 2.6 Mbps, 5.2 Mbps or 10.4 Mbps or multiples of the aforementioned values.
表1 OSU帧可能携带的开销举例

Table 1 Examples of overheads that OSU frames may carry

如图3所示,OSU帧映射到OTN帧的净荷区。具体地,OSU帧映射到OTN帧的PB中。在一种可能的实现中,一个OSU帧映射到一个PB中。在另外一种可能的实现中,一个OSU帧映射到多个PB中。对此,本申请不做限定。为简化说明,后续的实施例以一个OSU帧映射到一个PB中为例。应理解,后续的实施例同样适用于一个OSU帧映射到多个PB中的情况。针对后者的技术方案变形,也属于本申请保护的范围。As shown in Figure 3, the OSU frame is mapped to the payload area of the OTN frame. Specifically, OSU frames are mapped into PBs of OTN frames. In one possible implementation, one OSU frame is mapped into one PB. In another possible implementation, one OSU frame is mapped into multiple PBs. In this regard, this application does not make a limitation. To simplify the description, the following embodiments take the mapping of one OSU frame into one PB as an example. It should be understood that the subsequent embodiments are also applicable to the case where one OSU frame is mapped to multiple PBs. The modification of the technical solution for the latter also belongs to the protection scope of the present application.
应理解,图3所示的OSU帧结构仅是一个示例。在其他具体实现中,OSU帧还可以为包括开销子帧和净荷子帧的数据结构。对此,本申请不做限定。It should be understood that the OSU frame structure shown in FIG. 3 is just an example. In other specific implementations, the OSU frame may also be a data structure including overhead subframes and payload subframes. In this regard, this application does not make a limitation.
为了简化和高效承载OSU帧,将OTN帧中连续的多个PB定义为一个传送周期。以传送周期为基本单位,来为OSU帧分配PB块。例如,假设OSU帧和PB的大小和速率相同,承载了同一业务的业务数据的10个OSU帧可以占据包括20个PB的传送周期中的编号为0-9的PB。为简化描述,将承载了同一业务数据的OSU帧称为OSU信号。一个OSU信号是携带了一个业务数据的比特流,该比特流的帧格式是OSU帧的帧格式。一个OSU信号可以包括一个或者多个OSU帧。In order to simplify and efficiently bear OSU frames, multiple consecutive PBs in an OTN frame are defined as a transmission cycle. The PB block is allocated for the OSU frame with the transmission cycle as the basic unit. For example, assuming that OSU frames and PBs have the same size and rate, 10 OSU frames carrying service data of the same service may occupy PBs numbered 0-9 in a transmission cycle including 20 PBs. To simplify the description, an OSU frame carrying the same service data is called an OSU signal. An OSU signal is a bit stream carrying a service data, and the frame format of the bit stream is the frame format of an OSU frame. An OSU signal can include one or more OSU frames.
传送周期由OTN帧的净荷区的速率和OSU帧的基准速率共同决定。例如,传送周期包含的PB个数(P)可以定义为:

其中,表示向下取整;Ropu_pld表示OPU帧的净荷区的速率;Topu表示OPU帧的频
偏(例如:可以是20ppm);Rref表示OSU帧的基准速率。1000ppm是基准速率的频偏,该数值可以替换为100ppm或者其他数值。应理解,上述定义只是示例,也可以如采用公式(1-2)等其他方式来计算P值。

其中,10.4M为OSU帧的基础速率。x ppm为频偏,可以为0,20或100,ppm为百万分
之一。RODU_PLD为OTN帧的净荷区的速率,ODU0帧的速率为:1238.954310000Mbps。以频偏为20ppm,以PB为192字节为例,那么P=119。通常地,PB的大小为单字节的整数倍,例如,16字节,32字节,64字节,128字节,192字节或256字节等。在一种典型的设计中,假设PB的大小为192字节;那么,一个复用帧占用的ODU0帧的数量为119*192/(4*3808)=1.5。也就是说一个复用帧包括了1.5个ODU帧的净荷区。这么做构造的复用帧和ODU帧的边界 保持对齐,简化设计实现,同时便于进行数据帧的管理。
The transmission period is jointly determined by the rate of the payload area of the OTN frame and the reference rate of the OSU frame. For example, the number of PBs (P) included in the transmission cycle can be defined as:

in, Represents rounding down; R opu_pld represents the rate of the payload area of the OPU frame; Topu represents the frequency offset of the OPU frame (for example: can be 20ppm); R ref represents the reference rate of the OSU frame. 1000ppm is the frequency offset of the base rate, and this value can be replaced with 100ppm or other values. It should be understood that the above definition is only an example, and the P value can also be calculated in other ways such as formula (1-2).

Among them, 10.4M is the basic rate of the OSU frame. x ppm is frequency offset, can be 0, 20 or 100, ppm is one millionth. R ODU_PLD is the rate of the payload area of the OTN frame, and the rate of the ODU0 frame is: 1238.954310000 Mbps. Taking the frequency offset as 20ppm and the PB as 192 bytes as an example, then P=119. Generally, the size of a PB is an integer multiple of a single byte, for example, 16 bytes, 32 bytes, 64 bytes, 128 bytes, 192 bytes or 256 bytes. In a typical design, it is assumed that the size of a PB is 192 bytes; then, the number of ODU0 frames occupied by one multiplexing frame is 119*192/(4*3808)=1.5. That is to say, one multiplexing frame includes the payload area of 1.5 ODU frames. The boundaries of the multiplex frame and ODU frame constructed in this way Maintain alignment, simplify design implementation, and facilitate data frame management.
应理解,OTN复用帧还可以基于其他类型的OTN帧来构建。例如,ODU1等。为了简化复用帧的构建,可以按照如下公式来计算P值。
It should be understood that the OTN multiplexing frame may also be constructed based on other types of OTN frames. For example, ODU1, etc. In order to simplify the construction of multiplexing frames, the P value can be calculated according to the following formula.
应理解,上面公式是以OSU速率为10.4M为例,119是以基于ODU0构造的复用帧包含的P值为例。或者,可以用OSU速率为2.6M为例,那么基于ODU0构造的复用帧包含的P值为476。各个字段的含义可以参见前述其他公式的说明,在此不予赘述。如果以其他OTN帧为参考,那么该数值需要对应地进行替换。It should be understood that the above formula takes the OSU rate of 10.4M as an example, and 119 takes the P value included in the multiplex frame constructed based on ODU0 as an example. Or, taking the OSU rate as 2.6M as an example, then the P value contained in the multiplexing frame constructed based on ODU0 is 476. For the meaning of each field, refer to the description of other formulas mentioned above, and will not repeat them here. If other OTN frames are used as a reference, the value needs to be replaced accordingly.
表2给出了上述公式(1-3)计算出来的其他的P值的示例。例如,如果OSU帧映射的复用帧为基于OPU2(或ODU2)的,那么该复用帧包括12个OPU2帧(或ODU2)。为了从一组连续的OPU2帧(或ODU2)识别出一个复用帧所包含的OPU2帧(或ODU2),可以采用OTN帧的复帧开销指示。例如,通过复帧指示开销的取值进行0-11循环的方式,可以通过获取复帧开销指示的值的方式来确定复用帧对应的开始的OTN帧和包含的OTN帧的数量。Table 2 gives examples of other P values calculated by the above formula (1-3). For example, if the multiplexing frame mapped to the OSU frame is based on OPU2 (or ODU2), then the multiplexing frame includes 12 OPU2 frames (or ODU2). In order to identify the OPU2 frame (or ODU2) included in a multiplex frame from a group of continuous OPU2 frames (or ODU2), the multiframe overhead indication of the OTN frame can be used. For example, by performing a 0-11 cycle through the value of the multiframe indication overhead, the number of the initial OTN frame and the included OTN frame corresponding to the multiplex frame can be determined by obtaining the value of the multiframe overhead indication.
表2基于ODU0帧计算出来的其他OTN帧的P值等信息
Table 2 P value and other information of other OTN frames calculated based on ODU0 frame
需要说明的是,传送周期可以称为P帧、净荷块组、时隙复用帧、时隙复用组、复用帧、复用周期、光传送网复用帧或传送帧。对此,本申请不做限定。表3给出了一些OTN帧对应的P的一些示例。需要说明的是,表3是以OSU帧的基准速率为2.6Mbit/s为例,来计算对应的P值的。It should be noted that the transmission period may be called a P frame, a payload block group, a time slot multiplexing frame, a time slot multiplexing group, a multiplexing frame, a multiplexing cycle, an optical transport network multiplexing frame or a transmission frame. In this regard, this application does not make a limitation. Table 3 gives some examples of P corresponding to some OTN frames. It should be noted that Table 3 calculates the corresponding P value by taking the reference rate of the OSU frame as 2.6 Mbit/s as an example.
表3一些OTN帧的P值示例
Table 3 Examples of P values for some OTN frames
一种可能的映射OSU帧到PB块中的方式是,当OTN设备获取到承载了某一业务数据的OSU帧(即某一OSU信号)时,动态为这些OSU帧分配当前传送周期的PB位置。此外,为了区分不同的业务数据,在将OSU信号映射到PB中后,还在对应的PB中添加能够唯一标识该业务数据的标识。如果该标识在传输中发生误码,那么接收设备无法判断OSU帧承载的业务数据,则导致无法恢复出业务数据。此外,OSU帧占据的PB位置动态变化,给数据帧的管理和维护带了较大的复杂性。A possible way to map OSU frames to PB blocks is to dynamically allocate PB positions in the current transmission cycle for these OSU frames when the OTN equipment obtains OSU frames carrying a certain service data (that is, a certain OSU signal) . In addition, in order to distinguish different service data, after the OSU signal is mapped to the PB, an identifier capable of uniquely identifying the service data is added to the corresponding PB. If a bit error occurs during transmission of the identifier, the receiving device cannot determine the service data carried by the OSU frame, and thus cannot recover the service data. In addition, the PB positions occupied by OSU frames change dynamically, which brings great complexity to the management and maintenance of data frames.
另一种可能的映射OSU帧到PB块中的方式是,按照OSU帧的速率从大到小的顺序来分配PB,同样地携带业务数据标识来唯一识别OSU帧中携带的业务数据。这种方式也存在前一种映射方式的问题(即标识误码后业务丢失)。此外,速率低的OSU帧分配的PB相对比较晚地获得分配PB的机会,PB分布均匀度会越来越差,需要引入较大的缓存,增加了设备的复杂度。Another possible way of mapping OSU frames to PB blocks is to allocate PBs in descending order of the rates of OSU frames, and also carry service data identifiers to uniquely identify service data carried in OSU frames. This method also has the problem of the previous mapping method (that is, the service is lost after a code error is identified). In addition, the PB allocated by the OSU frame with a low rate will get the opportunity to allocate PB relatively late, and the uniformity of PB distribution will become worse and worse, and a larger cache needs to be introduced, which increases the complexity of the device.
为此,本申请实施例提供了一种新的光传送网帧的处理方法。通过收端设备获取业务配置信息并执行容许传输错误的业务配置信息校验,该处理方法降低了传输错误对业务配置信息校验的影响,大大地降低业务无法识别的可能性。To this end, the embodiment of the present application provides a new method for processing optical transport network frames. Obtaining service configuration information through the receiving end device and performing service configuration information verification that allows transmission errors, this processing method reduces the impact of transmission errors on service configuration information verification, and greatly reduces the possibility of unidentifiable services.
图4为本申请实施例提供的一种净荷块结构的示意图。如图4所示,OSU帧301的大小为190字节,PB的大小为192字节。OSU帧也可以是192字节,其中前2字节作为保留字节,当映射入PB时作为PB的开销区。Fig. 4 is a schematic diagram of a payload block structure provided by an embodiment of the present application. As shown in FIG. 4, the size of an OSU frame 301 is 190 bytes, and the size of a PB is 192 bytes. The OSU frame can also be 192 bytes, of which the first 2 bytes are used as reserved bytes, and are used as the overhead area of the PB when mapped into the PB.
PB的净荷区用于承载OSU帧301,PB的开销区包括如下多个信息:The payload area of the PB is used to carry the OSU frame 301, and the overhead area of the PB includes the following pieces of information:
1)业务标识(12比特(b)):用于指示所在的PB中承载的业务,该信息可以能够唯一地指示一个业务。也就是说,为了从PB中恢复出同一个业务的业务数据,可以将业务标识的数值相同的PB块一起进行解析,从而获得该业务标识对应的业务数据。应理解,根据具体实现的需要,可以设定某一数值为预留的业务标识,该某一数值用于指示其所属的PB未承载业务。此外,本申请中的业务标识用于进行业务配置信息的校验,具体可以参见图5所示的实施例的描述。在此,不予赘述。此外,该业务标识还可以用于快速的缺陷检测,配合其他字段完成带宽调整等功能,具体可以参见图6,图8或者图10所示的实施例的描述。在此,不予赘述。1) Service identifier (12 bits (b)): used to indicate the service carried in the PB where it is located, and this information may be able to uniquely indicate a service. That is to say, in order to recover the service data of the same service from the PB, the PB blocks with the same value of the service identifier can be parsed together, so as to obtain the service data corresponding to the service identifier. It should be understood that, according to specific implementation requirements, a certain value may be set as the reserved service identifier, and the certain value is used to indicate the uncarried service of the PB to which it belongs. In addition, the service identifier in this application is used to verify the service configuration information, and for details, refer to the description of the embodiment shown in FIG. 5 . Here, no further details are given. In addition, the service identifier can also be used for fast defect detection and cooperate with other fields to complete functions such as bandwidth adjustment. For details, refer to the description of the embodiment shown in FIG. 6 , FIG. 8 or FIG. 10 . Here, no further details are given.
2)占用指示(1b):用于指示其所属的PB是否承载了业务(或者也可以描述为承载了OSU帧)。例如,占用指示等于1,表示该占用指示所属的PB承载了OSU帧;占用指示等于0,表示该占用指示所属的PB未承载OSU帧(即空闲)。应理解,也可以将业务标识和占 用指示看成一个包含特殊取值的整体信息(例如,两个功能一起仍然称为业务标识),例如,业务标识为13b,取值为XXXXXXXXXXXX1表示PB空闲,XXXXXXXXXXXX0表示PB承载了OSU帧,X的取值可以为0或1,所有X比特位的取值用于指示承载的业务标识。对此,本申请不做限定。除非特殊说明,后续的实施例中提及的业务标识可以是上述的业务标识,也可以包括上述业务标识和占用指示。应理解,业务标识信息也可以称为业务标识号、业务识别号、业务指示信息、业务占用指示信息或业务占用PB指示信息等。2) Occupation indication (1b): used to indicate whether the PB to which it belongs carries services (or can also be described as carrying OSU frames). For example, if the occupancy indication is equal to 1, it means that the PB to which the occupancy indication belongs carries an OSU frame; if the occupancy indication is equal to 0, it means that the PB to which the occupancy indication belongs does not carry an OSU frame (that is, it is idle). It should be understood that business identification and account Use the indication as an overall information containing special values (for example, the two functions together are still called service identifiers), for example, the service identifier is 13b, and the value is XXXXXXXXXXXX1 indicates that the PB is idle, XXXXXXXXXXXX0 indicates that the PB carries OSU frames, and X The value of can be 0 or 1, and the value of all X bits is used to indicate the service identifier of the bearer. In this regard, this application does not make a limitation. Unless otherwise specified, the service identifiers mentioned in subsequent embodiments may be the above-mentioned service identifiers, and may also include the above-mentioned service identifiers and occupancy indications. It should be understood that the service identification information may also be called a service identification number, a service identification number, service indication information, service occupation indication information, or service occupation PB indication information.
3)速率适配指示(1b):用于指示该指示所属的PB块是用于承载OSU帧,还是进行了填充;该指示只有在业务标识取值为某一具体业务时才有效。例如,当业务标识设置为业务A,速率适配指示为0,表示该指示所在的PB为填充(目的是进行OSU帧和PB的速率适配);或者,速率适配指示为1,标识该指示所在的PB承载的为OSU帧。3) Rate adaptation indication (1b): used to indicate whether the PB block to which the indication belongs is used to bear OSU frames or is filled; this indication is only valid when the value of the service identifier is a specific service. For example, when the service identifier is set to service A, the rate adaptation indication is 0, indicating that the PB where the indication is located is padding (the purpose is to perform OSU frame and PB rate adaptation); or, the rate adaptation indication is 1, indicating that the It indicates that the PB bears the OSU frame.
4)速率调整指示(3b):用于指示该指示对应的净荷块承载的业务的带宽调整。速率调整指示和业务标识配合使用,用来完成光传送网设备之间来进行业务带宽调整的信息交互。具体地,该指示可以用于业务带宽的增加和/或业务带宽减小的场景。为了能够让接收设备顺利进行业务解析,可能采用多个步骤来完成前述过程。例如,通过先设置业务标识,然后再进行业务数据承载的方式,完成业务带宽的增加。具体可参见图8或者图10的描述,在此不予赘述。应理解,带宽调整指示的取值仅是示例,本申请对实际应用中的取值不做限定。4) Rate adjustment indication (3b): used to indicate the bandwidth adjustment of the service carried by the payload block corresponding to the indication. The rate adjustment indication is used together with the service identifier to complete information exchange between optical transport network devices for service bandwidth adjustment. Specifically, the indication may be used in a scenario where the service bandwidth is increased and/or the service bandwidth is decreased. In order to enable the receiving device to perform service analysis smoothly, multiple steps may be used to complete the foregoing process. For example, the service bandwidth can be increased by first setting the service identifier and then carrying the service data. For details, refer to the description in FIG. 8 or FIG. 10 , and details are not repeated here. It should be understood that the value of the bandwidth adjustment indication is only an example, and the present application does not limit the value in actual application.
需要说明的是,根据实际实现的需要,开销区包含上述信息的一个或者多个。例如,图5所示的实施例可以包含业务标识,或者,业务标识和占用指示。又如,图8和图10所示的实施例包含业务标识和带宽调整指示。再如,可选地,图5,图6,图8或图10所示的实施例中的光传送网帧可以包含速率适配指示。It should be noted that, according to actual implementation requirements, the overhead area includes one or more pieces of the above information. For example, the embodiment shown in FIG. 5 may include a service identifier, or a service identifier and an occupancy indication. As another example, the embodiments shown in FIG. 8 and FIG. 10 include a service identifier and a bandwidth adjustment instruction. For another example, optionally, the optical transport network frame in the embodiment shown in FIG. 5 , FIG. 6 , FIG. 8 or FIG. 10 may include a rate adaptation indication.
基于上面描述的本申请的一些共性方面,下面结合更多的附图来描述本申请实施例。下述实施例包括方法、系统和/或设备。Based on some general aspects of the present application described above, the following describes the embodiments of the present application in conjunction with more drawings. The embodiments described below include methods, systems and/or devices.
图5为本申请实施例提供的第一种光传送网帧的处理方法的流程示意图。如图5所示,该方法包括如下多个步骤。在本实施例中,以发送设备为图1所示的设备A,接收设备为图1所示的设备F为例。FIG. 5 is a schematic flowchart of a first OTN frame processing method provided by an embodiment of the present application. As shown in Fig. 5, the method includes the following steps. In this embodiment, it is assumed that the sending device is device A shown in FIG. 1 and the receiving device is device F shown in FIG. 1 .
S401:发送光传送网帧的业务配置信息S401: Send the service configuration information of the optical transport network frame
在本示例中,步骤S401的执行主体是网络管理系统。具体地,网络管理系统给业务的源端设备(设备A)和目的端设备(设备)F分别发送业务配置信息。设备A接收到这个业务配置信息后,根据该业务配置信息来进行承载了业务的OSU帧到PB帧的映射,以及对应的开销处理。设备B接收到这个业务配置信息后,利用该信息来做业务解析。In this example, the execution subject of step S401 is the network management system. Specifically, the network management system sends service configuration information to the service source device (device A) and destination device (device) F respectively. After receiving the service configuration information, device A performs mapping from OSU frames carrying services to PB frames and corresponding overhead processing according to the service configuration information. After receiving the service configuration information, device B uses the information to perform service analysis.
以P帧包含119个PB为例,表4给出了一个具体的业务配置信息的示例。在一种可能的示例中,网络管理系统可以根据业务速率和PB速率,确定需要分配的PB数量C,然后随机挑选一个P帧中的C个PB来承载该业务。在另一种可能的实现中,网络管理系统可以按照预定PB数量的间隔约束来分配C个PB。如表4所示,业务标识为20的业务占用的PB为7个,这7个PB的相邻的两个PB之间的间隔数值为10个PB。或者间隔约束也可以表示为一个预定的数值范围。对此,本申请不做限定。Taking a P frame containing 119 PBs as an example, Table 4 provides an example of specific service configuration information. In a possible example, the network management system may determine the number C of PBs to be allocated according to the service rate and the PB rate, and then randomly select C PBs in a P frame to bear the service. In another possible implementation, the network management system may allocate C PBs according to the interval constraints of the predetermined number of PBs. As shown in Table 4, the service whose service identifier is 20 occupies 7 PBs, and the interval between two adjacent PBs of the 7 PBs is 10 PBs. Alternatively, the spacing constraint can also be expressed as a predetermined range of values. In this regard, this application does not make a limitation.
表4业务配置信息示例Table 4 Example of service configuration information
PB编号PB number 业务标识信息business identification information
11 33
22 77
33 2020
44 33
1313 2020
1414 33
23twenty three 2020
24twenty four 77
3333 2020
4343 2020
4444 1919
5353 2020
6363 2020
119119 1919
应理解,网络管理系统也可以称为网络控制器或者网络控制系统,负责为业务进行资源(PB)的分配。应理解,客户业务是持续一定时间的。对应地,网络管理系统下发的业务配置信息针对该段时间内的光传送网帧都是有效的,除非网络系统下发新的业务配置信息来改变当前业务对应的PB分配信息。It should be understood that the network management system may also be called a network controller or a network control system, and is responsible for allocating resources (PB) for services. It should be understood that client business is for a certain period of time. Correspondingly, the service configuration information issued by the network management system is valid for the OTN frames within this period of time, unless the network system issues new service configuration information to change the PB allocation information corresponding to the current service.
S403:接收业务数据;S403: receiving service data;
S405:根据所述业务配置信息,将所述业务数据映射到光传送网帧的净荷块中,并将净荷块承载的业务的业务标识写入净荷块的开销区;S405: According to the service configuration information, map the service data into the payload block of the optical transport network frame, and write the service identifier of the service carried by the payload block into the overhead area of the payload block;
S407:发送所述光传送网帧;S407: Send the OTN frame;
步骤S403,S405和S407的执行主体是发送设备(即本实施例中的设备A)。具体地,设备A首先通过客户业务接口从客户设备1接收客户设备1发送的业务数据。在本实施例中,客户设备1的业务数据需要发送给客户设备3。然后,设备A根据从网络管理系统中获取的业务配置信息,将接收到的业务数据映射到光传送网帧的PB中。此外,设备A还会为这些承载了客户数据的PB设置对应的开销信息。The execution subject of steps S403, S405 and S407 is the sending device (that is, device A in this embodiment). Specifically, device A first receives service data sent by client device 1 from client device 1 through the client service interface. In this embodiment, the service data of client device 1 needs to be sent to client device 3 . Then, device A maps the received service data to the PB of the optical transport network frame according to the service configuration information obtained from the network management system. In addition, device A will also set corresponding overhead information for these PBs carrying customer data.
应理解,将所述业务数据映射到光传送网帧的净荷块中具体可以包括将业务数据映射到OSU帧,再将OSU帧映射到PB中。或者,该业务数据还可以通过其他一个或多个中间帧,进行一次或者多次映射最终再映射到光传送网帧的PB中。本申请对此不做限定。后续,为简化描述,以业务数据映射到OSU帧,再将OSU帧到PB中为例说明。在后续实施例,业务数据可以指的是客户设备发送的业务数据,或者可以指的是承载了业务数据的OSU帧。对于其他映射路径的变形方案,应理解也属于本申请的保护范围。It should be understood that mapping the service data into the payload block of the OTN frame may specifically include mapping the service data into an OSU frame, and then mapping the OSU frame into a PB. Alternatively, the service data may also be mapped one or more times through one or more intermediate frames, and finally mapped to the PB of the optical transport network frame. This application does not limit this. In the following, to simplify the description, map service data to OSU frames, and then map OSU frames to PBs as an example. In subsequent embodiments, the service data may refer to service data sent by the client equipment, or may refer to an OSU frame carrying service data. As for other deformation schemes of mapping paths, it should be understood that they also belong to the protection scope of the present application.
通常情况下,业务数据在一段时间内持续不断地产生。因此,将数据业务映射到OSU帧中,指的是在任一单位时间(例如在一个传送周期)内,将获取的业务数据映射到一个或多 个OSU帧中。那么,在下一个单位时间内,业务数据会装载入下一个或者多个OSU帧中。在前述两个单位时间内,OSU帧占用的PB净荷块的位置可能相同,也可能不同。对此本申请不做限定。Typically, business data is continuously generated over a period of time. Therefore, mapping data services into OSU frames refers to mapping acquired service data into one or more in OSU frames. Then, in the next unit time, the service data will be loaded into the next or more OSU frames. In the aforementioned two unit times, the positions of the PB payload blocks occupied by the OSU frame may be the same or different. This application is not limited to this.
需要说明的是,业务数据映射到OSU帧的方式可以为同步映射(例如,比特同步映射(Bit Synchronous Mappping))或异步映射(例如,通用映射规程(Generic Mapping Procedure,GMP)),或者空闲映射(IDLE Mapping Procedure,IMP)对此,本申请不做限定。It should be noted that the manner in which service data is mapped to the OSU frame can be synchronous mapping (for example, bit synchronous mapping (Bit Synchronous Mapping)) or asynchronous mapping (for example, general mapping procedure (Generic Mapping Procedure, GMP)), or idle mapping (IDLE Mapping Procedure, IMP) This application does not limit this.
在本实施例一种可能的实现方式中,以PB开销信息包括业务标识和占用指示为例,如果一个光传送网帧包括476个PB,那么对于未承载业务的PB,其占用指示设置为空闲(也可以称为未被占用,例如取值为0),对于承载了具体业务的PB,其占用指示设置为占用(例如取值为1),其业务指示设置为其所承载业务对应的业务标识。例如,对于承载了具体业务的PB中承载了业务标识为A的业务,那么这些PB的业务指示设置为A。应理解,业务指示具体可以通过携带支路端口(Tributary Port Number,TPN)或者其他能够唯一指示一个业务数据的标识。In a possible implementation of this embodiment, taking PB overhead information including service identifiers and occupation indications as an example, if an optical transport network frame includes 476 PBs, then for PBs that do not carry services, their occupation indications are set to idle (It can also be called unoccupied, for example, the value is 0), for a PB that bears a specific service, its occupation indicator is set to occupied (for example, the value is 1), and its service indicator is set to the service corresponding to the service it bears logo. For example, as for the service with the service identifier A in the PBs carrying the specific service, then the service indication of these PBs is set to A. It should be understood that the service indication may specifically carry a tributary port (Tributary Port Number, TPN) or other identifiers that can uniquely indicate a service data.
在本实施例中的另一种可能的实现方式中,以PB开销信息包括业务标识和速率适配指示为例。其中,业务标识中有一个特殊的比特位用来表示对应的PB是否被占用或者业务标识通过一个特殊的取值来表示该PB为被占用,通过其他取值来表示实际占用了该PB的业务的指示信息。或者,业务标识的特殊取值(例如,0xFFF)表示PB未占用。OSU帧映射到PB中时,为了进行速率匹配,可能会插入填充块(该填充块不包含业务数据,通常为预先设定的数值)。为了识别出这些携带填充块的PB,可以通过业务标识携带对应业务的业务信息,以及速率适配指示为0或1来分别区分该指示所在的PB是速率适配用的填充块或OSU帧。这么做能够更好地实现业务隔离(即可以明确地识别出属于某一路OSU信号的PB位置)。In another possible implementation manner in this embodiment, the PB overhead information includes a service identifier and a rate adaptation indication as an example. Among them, there is a special bit in the service identifier to indicate whether the corresponding PB is occupied or the service identifier indicates that the PB is occupied by a special value, and indicates the service that actually occupies the PB by other values instructions for the . Alternatively, a special value of the service identifier (for example, 0xFFF) indicates that the PB is not occupied. When an OSU frame is mapped to a PB, a stuffing block may be inserted for rate matching (the stuffing block does not contain service data, and is usually a preset value). In order to identify these PBs carrying stuffing blocks, the service identifier can carry the service information of the corresponding service, and the rate adaptation indication is 0 or 1 to distinguish whether the PB where the indication is located is a stuffing block or an OSU frame for rate adaptation. Doing so can better realize service isolation (that is, the PB position belonging to a certain OSU signal can be clearly identified).
接着,设备A将处理完毕的光传送网帧发送给设备F。如图1所示,设备A和设备F并非直接相连。因此,设备A需要通过其他设备来发送光传送网帧给设备F。例如,光传送网帧经过的路径为:设备A-设备H-设备G-设备F。Next, device A sends the processed OTN frame to device F. As shown in Figure 1, device A and device F are not directly connected. Therefore, device A needs to send OTN frames to device F through other devices. For example, the path that the optical transport network frame passes is: device A-device H-device G-device F.
S409:根据接收到的所述光传送网帧中的所述第一净荷块包含的第一业务标识和所述业务配置信息包含的针对所述第一净荷块的第二业务标识,确定所述第一业务标识的比特位和第二业务标识的对应比特位的数值相同的数量信息;S409: Determine according to the first service identifier included in the first payload block in the received optical transport network frame and the second service identifier for the first payload block included in the service configuration information Quantity information that the bits of the first service identifier and the corresponding bits of the second service identifier have the same value;
S411:根据所述数量信息和预设的阈值,确定所述第一业务标识和所述第二业务标识是否匹配。S411: Determine whether the first service identifier matches the second service identifier according to the quantity information and a preset threshold.
S409和S411为接收设备,即设备F,执行的操作。具体地,设备F利用从网络管理系统接收到的业务配置信息(后续配置信息)和从接收到的光传送网帧中接收到的业务标识(后续简称接收信息)来进行校验,以判断业务配置信息是否准确。S409 and S411 are operations performed by the receiving device, that is, device F. Specifically, device F uses the service configuration information received from the network management system (subsequent configuration information) and the service identifier received from the received optical transport network frame (hereinafter referred to as received information) to perform verification to determine the service Whether the configuration information is accurate.
具体地,采用容错的方式比较配置信息和接收信息,即可以比较配置信息和接收信息中的部分比特信息,该所述部分比特信息可以为配置信息和接收信息中对应的任意部分信息,该所述任意部分信息在配置信息和接收信息中位于相同的比特位置。对应地,在第一种情况中,预设的阈值可以是一个跟业务标识占用的比特位数相差为例如1或者2等较小数值的取值。例如,当业务标识占用的比特位数为12比特时,那么预设的阈值假如为11,则比较12比特中的任意11个比特,只要任意11个比特值相同,则认为两个业务标识匹配,即校验成功。又如,业务标识占用的比特位数为20比特时,那么预设的阈值假如为18,则只要20比特的任意18个比特值相同,则认为两个业务标识匹配,即校验成功。确定业务配置信息校验成功后,设备F可以从光传送网帧中对应的PB中提取业务数据。在第二种情况中,前述预 设的阈值为一个较小的数值,用于指示系统可以容忍的传输错误的比特数量。比较不同的比特位的个数信息和此阈值,当该个数信息小于或等于此阈值时,即校验成功。否则,则校验失败,对应的PB会按照本地配置信息进行解析或者产生配置信息错误告警。例如,当业务标识占用的比特位数为12比特时,那么预设的阈值假如为1,则比较12比特中存在不相同的比特数量,只要该比特数量小于等于1,则认为两个业务标识匹配,即校验成功。Specifically, the configuration information and the received information are compared in an error-tolerant manner, that is, part of the bit information in the configuration information and the received information can be compared, and the part of the bit information can be any corresponding part of the configuration information and the received information. Any part of the above information is located at the same bit position in the configuration information and the received information. Correspondingly, in the first case, the preset threshold may be a value that differs from the number of bits occupied by the service identifier by a small value such as 1 or 2. For example, when the number of bits occupied by the business identifier is 12 bits, if the preset threshold is 11, compare any 11 bits in the 12 bits, and as long as any 11 bits have the same value, the two service identifiers are considered to match , that is, the verification is successful. For another example, when the number of bits occupied by the service identifier is 20 bits, if the preset threshold is 18, as long as any 18 of the 20 bits have the same value, the two service identifiers are considered to match, that is, the verification is successful. After determining that the verification of the service configuration information is successful, the device F can extract service data from the corresponding PB in the optical transport network frame. In the second case, the aforementioned The threshold is set to a small value, which is used to indicate the number of transmission error bits that the system can tolerate. The number information of different bits is compared with the threshold, and when the number information is less than or equal to the threshold, the verification is successful. Otherwise, the verification fails, and the corresponding PB will analyze according to the local configuration information or generate a configuration information error alarm. For example, when the number of bits occupied by the business identifier is 12 bits, if the preset threshold is 1, then compare the number of different bits among the 12 bits. As long as the number of bits is less than or equal to 1, two business identifiers are considered match, that is, the verification is successful.
光传送网帧在传输的过程(即线路上)中可能发生误码,因此设备F可能会发生业务配置信息正确但是校验失败的情况,从而导致业务数据丢失。为此,S411步骤中引入了容错机制,以保证设备F可以在光传送网帧在线路上传输发生误码的情况下,仍然保证业务配置信息的正确校验。Bit errors may occur during transmission of OTN frames (that is, on the line), so device F may have correct service configuration information but fail to verify, resulting in loss of service data. For this reason, a fault-tolerant mechanism is introduced in step S411 to ensure that the device F can still ensure the correct verification of the service configuration information even when the optical transport network frame is transmitted on the line with a bit error.
下面给出两个不同的预设的阈值举例。在下面的例子中,以PB带的业务标识的长度为12b为例。Two examples of different preset thresholds are given below. In the following example, it is taken that the length of the service identifier of the PB band is 12b as an example.
在一种可能的实现中,所述预设的阈值为1。也就是说,设备F获得配置信息和接收信息最多只有一个比特位的取值不同,则认为针对该PB的业务配置校验成功。In a possible implementation, the preset threshold is 1. That is to say, if the value of at most one bit differs between the obtained configuration information and the received information, the device F considers that the verification of the service configuration for this PB is successful.
以业务配置信息为光传送网帧的编号为A的PB(简称PB#A)配置的业务的业务标识的二进制取值为1 1 1 0 1 0 1 1 0 0 1 1为例,表5给出了设备F接收到的光传送网帧的编号为A的PB的业务标识取值满足阈值为1的条件,设备F的接收信息为表5所示的任意一种情况,可以认定PB#A的业务配置校验成功,该PB可以用于后续的业务解映射中。Taking the service configuration information as an example, the binary value of the service identifier of the service configured by the PB (abbreviated as PB#A) of the optical transport network frame numbered as A is 1 1 1 0 1 0 1 1 0 0 1 1, as shown in Table 5. The value of the service identifier of the PB whose number is A in the OTN frame received by device F satisfies the condition that the threshold value is 1, and the received information of device F is any of the situations shown in Table 5, and PB#A can be identified If the verification of the service configuration is successful, the PB can be used for subsequent service demapping.
表5配置信息和接收信息校验成功的示意
Table 5 shows the successful verification of configuration information and received information
在另一种可能的实现中,所述预设的阈值为2。也就是说,设备F获得配置信息和接收信息最多只有两个比特位的取值不同,则认为针对该PB的业务配置校验成功。应理解,这两个比特位可以是连续的或者不连续的。可以根据具体需要来设定,对此本申请不做限定。In another possible implementation, the preset threshold is 2. That is to say, if the value of at most two bits differs between the obtained configuration information and the received information, the device F considers that the verification of the service configuration for this PB is successful. It should be understood that the two bits may be continuous or discontinuous. It can be set according to specific needs, which is not limited in this application.
本申请通过能够容忍线路误码的业务配置校验方式,在解决了只用业务标识来导致的业务丢失的同时,提高了配置校验的健壮性,即降低了光传送网帧在传输中可能存在的误码对接收端进行业务校验的影响。This application uses a service configuration verification method that can tolerate line errors, while solving the problem of service loss caused by only using service identifiers, it improves the robustness of configuration verification, that is, reduces the possibility of OTN frames being transmitted during transmission. The impact of existing bit errors on service verification at the receiving end.
图6为本申请实施例提供的第二种光传送网帧的处理方法的流程示意图。在本实施例中, 以发送设备为设备F,以接收设备为设备A为例,如图6所示,该处理方法包括如下多个步骤。FIG. 6 is a schematic flowchart of a second OTN frame processing method provided by an embodiment of the present application. In this example, Taking the sending device as device F and the receiving device as device A as an example, as shown in FIG. 6 , the processing method includes the following steps.
S501:接收业务配置信息;S501: Receive service configuration information;
S403:接收业务数据;S403: receiving service data;
S405:根据所述业务配置信息,将所述业务数据映射到光传送网帧的净荷块中,并将净荷块承载的业务的业务标识写入净荷块的开销区;S405: According to the service configuration information, map the service data into the payload block of the optical transport network frame, and write the service identifier of the service carried by the payload block into the overhead area of the payload block;
S407:发送所述光传送光网络帧;S407: Send the optical transmission optical network frame;
如上四个步骤的执行主体是设备F。步骤S501跟图5所示的步骤S401类似,S403,S405和S407与图5所示的相同,参见图5的具体描述,在此不再赘述。The execution subject of the above four steps is the equipment F. Step S501 is similar to step S401 shown in FIG. 5 , and S403 , S405 and S407 are the same as those shown in FIG. 5 . Please refer to the detailed description in FIG. 5 , which will not be repeated here.
S502:接收业务配置信息;S502: Receive service configuration information;
S506:确定接收到的所述光传送帧的多个净荷块的配置信息是否正确,所述多个净荷块为连续分布的或按照预定间隔依次排列的;S506: Determine whether the received configuration information of multiple payload blocks of the optical transmission frame is correct, and the multiple payload blocks are continuously distributed or arranged sequentially according to predetermined intervals;
S508:当确定所述多个净荷块的配置信息的至少一个不正确时,产生业务标识不匹配缺陷指示;和/或,当确定所述连续多个净荷块的配置信息均正确且存在业务标识不匹配缺陷指示时,消除所述业务标识不匹配缺陷指示。S508: When it is determined that at least one of the configuration information of the plurality of payload blocks is incorrect, generate a service identifier mismatch defect indication; and/or, when it is determined that the configuration information of the plurality of consecutive payload blocks is correct and exists When the service identifier does not match the defect indication, the service identifier does not match the defect indication.
如上3个步骤的执行主体是设备A。其中,S502根图5所示的步骤401类似,在此不再赘述。在接收到业务配置信息和光传送网帧中携带的业务标识后,设备A用这两个信息来进行对业务配置信息的校验。在一种可能的实现方式中,设备A在确定针对某一PB的业务配置信息和接收到的业务标识相等时,确定业务配置信息校验正确。在另一种可能的实现方式中,设备A可以按照图5所示的接收设备的具备容错机制的校验方式,来确定业务配置信息是否正确。The execution subject of the above three steps is device A. Wherein, S502 is similar to step 401 shown in FIG. 5 , and will not be repeated here. After receiving the service configuration information and the service identifier carried in the optical transport network frame, device A uses these two pieces of information to verify the service configuration information. In a possible implementation manner, when device A determines that the service configuration information for a certain PB is equal to the received service identifier, it determines that the verification of the service configuration information is correct. In another possible implementation manner, device A may determine whether the service configuration information is correct according to the verification method with the error tolerance mechanism of the receiving device shown in FIG. 5 .
具体地,设备A需要对多个PB进行上述的业务配置信息校验操作,根据校验的结果判断是否需要产生业务标识不匹配缺陷指示,以对相关业务进行后续的管理和维护处理。具体地,图7为图6所示实施例的连续净荷块的示意图。如图7所示,一个复用帧(亦称为P帧)包括N*476个PB,包括了6N个OPU帧的净荷区。在该P帧中的每一个PB的编号如图7所示。在图7所示的示例中,设备A通过对该P帧的从编号为1的PB开始的连续的16个PB进行业务配置信息校验操作。当确定这16个PB的每一个业务配置信息都校验成功时,认为无业务标识不匹配缺陷。当确定这16个PB中至少有一个业务配置信息校验不成功时,认为存在业务标识不匹配缺陷,产生对应的指示信号。应理解,如上描述的连续16个PB的缺陷检测可以是一个持续不断的检测过程。那么当前16个PB的缺陷检测触发了产生对应的指示信号,如果接着的某一个16个PB缺陷检测发现全部业务配置信息校验都成功,则需要消除之前产生的指示信号。Specifically, device A needs to perform the above-mentioned service configuration information verification operation on multiple PBs, and judge whether to generate a service identifier mismatch defect indication according to the verification result, so as to perform subsequent management and maintenance processing on related services. Specifically, FIG. 7 is a schematic diagram of continuous payload blocks in the embodiment shown in FIG. 6 . As shown in FIG. 7 , a multiplexing frame (also called a P frame) includes N*476 PBs, including payload areas of 6N OPU frames. The numbering of each PB in the P frame is as shown in FIG. 7 . In the example shown in FIG. 7 , device A checks the service configuration information on the 16 consecutive PBs starting from PB numbered 1 of the P frame. When it is determined that each service configuration information of the 16 PBs is successfully verified, it is considered that there is no service identifier mismatch defect. When it is determined that the verification of at least one service configuration information in the 16 PBs fails, it is considered that there is a service identifier mismatch defect, and a corresponding indication signal is generated. It should be understood that the continuous defect detection of 16 PBs as described above may be a continuous detection process. Then, the defect detection of the current 16 PBs triggers the generation of corresponding indication signals. If the next 16 PB defect detections find that all service configuration information is successfully verified, the previously generated indication signals need to be eliminated.
应理解,上述对多个连续的PB进行缺陷检测是一个具体的示例。在另一个示例中,可以针对不连续的PB来进行缺陷检测。例如,可以对具有固定间隔的多个PB来进行缺陷检测。又如,可以按照其他数学分布的多个PB来进行缺陷检测。It should be understood that the foregoing defect detection for multiple consecutive PBs is a specific example. In another example, defect detection may be performed for non-contiguous PBs. For example, defect detection may be performed on a plurality of PBs with a fixed interval. As another example, defect detection can be performed according to multiple PBs of other mathematical distributions.
或者,还可以替换为用PB组来进行缺陷检测。具体地,设备A确定N个净荷块组的配置信息是否正确来确定是否要产生业务标识不匹配缺陷指示信号。其中,N个净荷块组的每一个包括连续分布或按照固定间隔排列的多个净荷块。一个组中的多个净荷块的至少一个的配置信息不正确表示所述多个净荷块所属的净荷块组的配置信息不正确;反之,一个组中的多个净荷块的所有的配置信息都正确表示该组的配置信息正确。具体地,当设备A确定N个净荷块组的配置信息的至少两个不正确时,产生业务标识不匹配缺陷指示。如果设备A确定 N个净荷块组的配置信息的所有都正确时,则不产生业务标识不匹配缺陷指示。类似第一种示例,如果该缺陷检测是一个持续的过程,那么在已经产生了业务表示不匹配缺陷指示信号的前提下,设备A确定在后续的N个净荷块组的缺陷检测中,其所有的配置信息都正确,则需要消除已经产生的业务标识不匹配缺陷指示。N为大于等于2的的正整数。通过分组以及提高产生业务标识不匹配缺陷指示的前提条件,该实施方式可以降低突发误码对缺陷检测的影响,提高了缺陷检测的有效性,从而降低了后续触发错误保护倒换的概率。Alternatively, the PB group may be used instead to perform defect detection. Specifically, device A determines whether the configuration information of the N payload block groups is correct to determine whether to generate a service identifier mismatch defect indication signal. Wherein, each of the N payload block groups includes multiple payload blocks that are distributed continuously or arranged at fixed intervals. If the configuration information of at least one of the multiple payload blocks in a group is incorrect, it means that the configuration information of the payload block group to which the multiple payload blocks belong is incorrect; otherwise, all of the multiple payload blocks in a group The configuration information of the group is correct, indicating that the configuration information of the group is correct. Specifically, when device A determines that at least two of the configuration information of the N payload block groups are incorrect, a service identifier mismatch defect indication is generated. If device A determines When all the configuration information of the N payload block groups is correct, no service identifier mismatch defect indication will be generated. Similar to the first example, if the defect detection is a continuous process, then on the premise that the service indication mismatch defect indication signal has been generated, device A determines that in the subsequent defect detection of N payload block groups, its If all configuration information is correct, it is necessary to eliminate the generated service identifier mismatch defect indication. N is a positive integer greater than or equal to 2. By grouping and improving the preconditions for generating service identifier mismatch defect indications, this embodiment can reduce the impact of burst errors on defect detection, improve the effectiveness of defect detection, and thereby reduce the probability of subsequent triggering of false protection switching.
应理解,上述针对PB的数量的介绍仅是示例。根据对保护倒换时间等的具体需要,可以选择其他数量的PB来进行缺陷检测。It should be understood that the above introduction on the number of PBs is just an example. Other numbers of PBs can be selected for defect detection according to specific requirements on protection switching time and the like.
应理解,多个PB的业务标识也可以称为复用结构指示(Multiplexing Structure Identifier,MSI)。所以,业务标识不匹配缺陷也可以称为MSI不匹配缺陷(MSI Mismatch defect,dMSIM)。类似地,给发送设备配置的业务配置信息可以称为发送MSI(Transmit MSI,TxMSI);给接收设备配置的业务配置信息可以称为期望MSI(Expected MSI,ExMSI)。如果业务标识通过TPN标识,那么接收设备接收到的数据帧携带的TPN可以称为接收的TPN(Accepted TPN,AcTPN)。例如,如上描述的产生标识不匹配缺陷指示可以理解为产生dMSIM信号.It should be understood that the service identifiers of multiple PBs may also be called multiplexing structure indicators (Multiplexing Structure Identifier, MSI). Therefore, the service identifier mismatch defect may also be called an MSI mismatch defect (MSI Mismatch defect, dMSIM). Similarly, the service configuration information configured for the sending device may be called Transmit MSI (Transmit MSI, TxMSI); the service configuration information configured for the receiving device may be called expected MSI (Expected MSI, ExMSI). If the service identifier is identified by the TPN, the TPN carried in the data frame received by the receiving device may be called a received TPN (Accepted TPN, AcTPN). For example, generating the identification mismatch defect indication as described above can be understood as generating a dMSIM signal.
相比于现有技术基于ODU帧级别来进行缺陷检测,本实施例提供的方法基于多个PB来进行缺陷检测,检测速度较快,能够及时地感知线路(即传输光传送网帧的路径)发生的误码,可以用于快速的保护倒换应用等依赖于快速检测机制来保证时效性的管理和运维操作。Compared with the prior art that detects defects based on the ODU frame level, the method provided in this embodiment performs defect detection based on multiple PBs, which has a faster detection speed and can sense the line (that is, the path for transmitting OTN frames) in a timely manner. The bit errors that occur can be used for fast protection switching applications and other management and O&M operations that rely on fast detection mechanisms to ensure timeliness.
下面的两个实施例为利用PB携带的带宽调整指示进行业务带宽增加或业务带宽减少场景的方法、装置和系统。The following two embodiments are methods, devices and systems for using the bandwidth adjustment instruction carried in the PB to implement service bandwidth increase or service bandwidth decrease scenarios.
在介绍相关实施例之前,表6给出了一些相关字段组合和其功能的说明。在表6所示的实施例中,业务标识采用TPN来表示,业务带宽调整指示用ADJ表示。需要说明的是,表5中的数值取值仅是示例。本申请对具体数值的选择不做限定。Before introducing the relevant embodiments, Table 6 provides descriptions of some relevant field combinations and their functions. In the embodiment shown in Table 6, the service identifier is represented by TPN, and the service bandwidth adjustment indication is represented by ADJ. It should be noted that the numerical values in Table 5 are only examples. The present application does not limit the selection of specific numerical values.
表6用于带宽调整的字段说明

Table 6 Field Descriptions for Bandwidth Adjustment

图8为本申请实施例提供的第三种光传送网帧的处理方法的流程示意图。如图8所示,该方法包括如下多个步骤。在本实施例中,以发送设备为图1所示的设备A,接收设备为图1所示的设备H为例。具体地,设备A可以直接通过光纤将光传送网帧发送给设备H。或者,设备A也可以通过其他中间设备发送给设备H,例如:设备B、设备C和设备G。对此,本实施例不做限定。FIG. 8 is a schematic flowchart of a third OTN frame processing method provided by an embodiment of the present application. As shown in Fig. 8, the method includes the following steps. In this embodiment, it is assumed that the sending device is device A shown in FIG. 1 and the receiving device is device H shown in FIG. 1 as an example. Specifically, device A may directly send the OTN frame to device H through an optical fiber. Or, device A can also send to device H through other intermediate devices, for example: device B, device C and device G. In this regard, this embodiment does not make a limitation.
S601:利用光传送网复用帧的一组PB来传输业务A的数据,所述一组PB的每一个净荷块的业务标识为所述业务A的标识,所述一组PB的每一个的带宽调整指示为111;S601: Use a group of PBs of multiplexing frames of the optical transport network to transmit the data of service A, the service identifier of each payload block in the group of PBs is the identifier of the service A, and each of the group of PBs The bandwidth adjustment indication of the is 111;
具体地,在该步骤中,设备A和设备H可以利用如图5所示的步骤S501,S401,S403和S407完成对业务A的发送。与图5不同的是,步骤S601是光传送网复用帧(即前面提及的P帧)为对象作为描述。应理解,P帧也是有光传送网帧构成的,因此,图5针对前述步骤的描述也是适用于本步骤的,因此不再赘述。需要说明的是,该步骤用来传输业务A的数据的一组PB是由网络管理系统提供的业务配置信息来确定的。对应地,在该组PB中的业务标识设置为传输业务A的业务标识,而带宽调整指示设置为111,用于表示对应的PB承载了业务。Specifically, in this step, device A and device H can use steps S501 , S401 , S403 and S407 shown in FIG. 5 to complete sending service A. The difference from FIG. 5 is that step S601 takes the optical transport network multiplexing frame (that is, the aforementioned P frame) as the object for description. It should be understood that the P frame is also composed of optical transport network frames, therefore, the description of the preceding steps in FIG. 5 is also applicable to this step, so details are not repeated here. It should be noted that the group of PBs used to transmit the data of service A in this step is determined by the service configuration information provided by the network management system. Correspondingly, the service identifier in the group of PBs is set to the service identifier of the transmission service A, and the bandwidth adjustment indication is set to 111, which is used to indicate that the corresponding PB bears the service.
S602:确定业务A的带宽需要增加时,将第一PB的业务标识设置为所述业务A的标识,所述第一PB的带宽调整指示为000,000用于表示所述第一PB未承载所述业务A;S602: When it is determined that the bandwidth of service A needs to be increased, set the service identifier of the first PB as the identifier of the service A, and the bandwidth adjustment indication of the first PB is 000,000 to indicate that the first PB is not carried said business A;
具体地,设备A在确定了业务A的带宽(或者说速率)需要增加时,这说明设备A应该分配一个或者多个新的PB来承载业务A。应理解,此时网络管理系统会发送新的业务配置信息给发送设备和接收设备,分别用于业务的映射和解映射。如表5所示,当确定了新的PB(即表5中的第一PB)后,为其开销设置对应的取值。Specifically, when device A determines that the bandwidth (or rate) of service A needs to be increased, it means that device A should allocate one or more new PBs to carry service A. It should be understood that at this time, the network management system will send new service configuration information to the sending device and the receiving device for service mapping and demapping respectively. As shown in Table 5, after a new PB (that is, the first PB in Table 5) is determined, a corresponding value is set for its overhead.
S603:将业务A的业务数据映射到第一光传送网复帧的第一组PB中,所述第一组PB中不包含所述第一PB;S603: Map the service data of service A to a first group of PBs in the multiframe of the first optical transport network, where the first group of PBs does not include the first PB;
S604:发送所述第一光传送网复用帧;S604: Send the first OTN multiplexing frame;
如表5和步骤S602所示,新增的PB暂未用于业务承载,因此发送设备在业务#A(或者说OSU#A信号)进行映射时,仍然使用之前分配的PB(即第一组PB)。将业务#A映射完毕后,设备A将P帧发送给设备H。As shown in Table 5 and step S602, the newly added PB has not been used for service bearing, so the sending device still uses the previously allocated PB (that is, the first group PB). After mapping service #A, device A sends the P frame to device H.
S605:从所述第一光传送复帧的第一组PB中,解映射出所述业务A的数据;S605: Demap the data of the service A from the first group of PBs of the first optical transmission multiframe;
对应地,设备H从收到的P帧中,根据收到的业务配置信息和PB中的带宽调整指示来获得第一组PB,并从中来解析出其中携带的业务#A的数据。也就是说,虽然设备H的业务配置信息包括了第一组PB和新增的PB,但是新增的PB的带宽调整指示的数值表明该新增的PB未用于业务承载,所以暂时无需将新增的PB中的净荷信息取出来用于业务恢复。Correspondingly, the device H obtains the first group of PBs from the received P frames according to the received service configuration information and the bandwidth adjustment indication in the PBs, and parses out the data of the service #A carried therein. That is to say, although the service configuration information of device H includes the first group of PBs and the newly added PBs, the value of the bandwidth adjustment indication of the newly added PBs indicates that the newly added PBs are not used for service bearing, so there is no need to set The payload information in the newly added PB is taken out for service recovery.
S606:将业务A的业务数据映射到第二光传送网复帧的第二组PB中,所述第二组PB包含所述第一PB,所述第一PB中的带宽调整指示设置为111,用于指示所述第一PB开始用于承载所述业务A的数据; S606: Map the service data of service A to the second group of PBs in the second optical transport network multiframe, the second group of PBs includes the first PB, and the bandwidth adjustment indication in the first PB is set to 111 , used to instruct the first PB to start carrying the data of the service A;
S607:发送所述第二光传送网复用帧;S607: Send the second OTN multiplexing frame;
S608:从所述第二光传送复帧的第二组PB中,解映射出所述业务A的数据。S608: Demap the data of the service A from the second group of PBs of the second optical transmission multiframe.
在如上三个步骤的过程中,设备A通过改变某一P帧的第一PB的带宽调整指示向设备H指示新增的PB用于承载业务的开始时刻,从而设备H可以从检测到该某一P帧的第一PB的带宽调整指示的取值发生改变的时刻开始,将该某一P帧的第一PB用于业务#A的提取。In the process of the above three steps, device A indicates to device H the start time for the newly added PB to carry services by changing the bandwidth adjustment indication of the first PB of a certain P frame, so that device H can detect the From the moment when the value of the bandwidth adjustment indication of the first PB of a P frame is changed, the first PB of the certain P frame is used for extracting the service #A.
图9为图8所示实施例的业务带宽增加处理步骤的示意图。图9按照时间顺序给出了一组P帧和P帧中的PB发生变化的时刻。如图9所示,带宽增加前,为OSU信号#a(图中简称为OSU#a)分配的PB的编号为1,5,i+2,P-3(P为一个复帧包含的净荷块的个数)。图9仅给出了一个P帧时刻(即第10个P帧),应理解在第10个P帧之前,如果业务配置信息未发生变化,则为OSU#a分配的PB跟第10个P帧相同。此时,#j+3为空闲的,也就是说如果PB携带占用指示,其占用指示可以为0,表示其未被任何业务占用。当收到网络管理系统针对OSU#a新的业务配置信息时,网络设备根据新的额业务配置信息确定新增的PB,来用于承载带宽(或者称为速率)增加的OSU#a。在图9所示的例子中,网络设备确定PB#j+3,即新的业务配置信息中相较于之前的业务配置信息中新增指定了PB#j+3为给OSU#a分配的PB。对应地,在第11个P帧中,设置了PB#j+3的业务标识取值,即设置为OSU#a的TPN,并且设置PB#j+3的带宽调整指示为000,指示未用于承载业务数据。在一定的时间间隔后(例如:多个P帧的传输时间),发送设备将PB#j+3的带宽调整指示设置为111,以完成业务带宽增加对应的路径带宽增加。在图9中,该一定的间隔为4个P帧时间,因此在第15个P帧时,将该P帧的#PB#j+3的带宽调整指示设置为111,从而通知收端可以用新的业务配置信息中分配的全部PB(即#1,¥5,#(i+2),#(j+3)和#(P-3)的PB)来进行业务解析。应理解,发端设备可以根据具体的需要来选择前述的间隔时间,本申请对此不做限定。FIG. 9 is a schematic diagram of processing steps of service bandwidth increase in the embodiment shown in FIG. 8 . Fig. 9 shows a group of P frames and the moments when PB in the P frames change in time order. As shown in Figure 9, before the bandwidth is increased, the numbers of PB allocated for OSU signal #a (abbreviated as OSU#a in the figure) are 1, 5, i+2, P-3 (P is the net number of loads). Figure 9 only shows one P frame moment (that is, the 10th P frame), it should be understood that before the 10th P frame, if the service configuration information does not change, the PB allocated for OSU#a is the same as the 10th P frame Frames are the same. At this time, #j+3 is idle, that is to say, if the PB carries an occupation indication, its occupation indication may be 0, indicating that it is not occupied by any service. When receiving new service configuration information for OSU#a from the network management system, the network device determines a newly added PB according to the new service configuration information to use for OSU#a with increased bandwidth (or called rate). In the example shown in FIG. 9, the network device determines PB#j+3, that is, the new service configuration information specifies that PB#j+3 is assigned to OSU#a compared with the previous service configuration information. PB. Correspondingly, in the 11th P frame, the service identifier value of PB#j+3 is set, that is, it is set as the TPN of OSU#a, and the bandwidth adjustment indication of PB#j+3 is set to 000, indicating that it is not used To carry business data. After a certain time interval (for example: the transmission time of multiple P frames), the sending device sets the bandwidth adjustment indication of PB#j+3 to 111, so as to complete the path bandwidth increase corresponding to the service bandwidth increase. In Fig. 9, the certain interval is 4 P frame times, so at the 15th P frame, the bandwidth adjustment indication of #PB#j+3 of the P frame is set to 111, thereby notifying the receiving end that it can use All PBs allocated in the new service configuration information (that is, PBs of #1, ¥5, #(i+2), #(j+3) and #(P-3)) are used for service analysis. It should be understood that the originating device may select the aforementioned interval time according to specific requirements, which is not limited in this application.
通过如上的步骤,本申请实施例可以实现业务带宽的无损增加,即无需拆除原有的业务路径,建立新的路径,而是通过为承载业务的OSU帧增加PB,并通过如上步骤有序地完成业务路径的带宽增加。此外,通过上述有序步骤还可以实现快速完成资源预留和在发送设备需要时使用新增的PB完成业务的传输。Through the above steps, the embodiment of the present application can realize the lossless increase of service bandwidth, that is, there is no need to tear down the original service path and establish a new path, but by adding PB to the OSU frame carrying the service, and orderly through the above steps The bandwidth to complete the service path is increased. In addition, through the above sequential steps, resource reservation can be completed quickly and service transmission can be completed by using the newly added PB when the sending device needs it.
图10为本申请实施例提供的第四种光传送网帧的处理方法的流程示意图。如图10所示,该方法包括如下多个步骤。在本实施例中,以发送设备为图1所示的设备A,接收设备为图1所示的设备H为例。FIG. 10 is a schematic flowchart of a fourth OTN frame processing method provided by an embodiment of the present application. As shown in Fig. 10, the method includes the following steps. In this embodiment, it is assumed that the sending device is device A shown in FIG. 1 and the receiving device is device H shown in FIG. 1 as an example.
S601:利用光传送网复用帧的一组PB来传输业务A的数据,所述一组PB的每一个净荷块的业务标识为所述业务A的标识,所述一组PB的每一个的带宽调整指示为111;S601: Use a group of PBs of multiplexing frames of the optical transport network to transmit the data of service A, the service identifier of each payload block in the group of PBs is the identifier of the service A, and each of the group of PBs The bandwidth adjustment indication of the is 111;
该步骤同图8所示的S601步骤,在此不再赘述。This step is the same as step S601 shown in FIG. 8 , and will not be repeated here.
S702:确定业务A的带宽需要减少时,将所述一组PB的第一PB的带宽调整指示设置为000,000用于表示所述第一PB停止承载所述业务A;S702: When it is determined that the bandwidth of service A needs to be reduced, set the bandwidth adjustment indication of the first PB of the group of PBs to 000,000 to indicate that the first PB stops carrying the service A;
S703:将业务A的业务数据映射到第一光传送网复帧的第三组PB中,所述第三组PB中不包含所述第一PB;S703: Map the service data of service A to a third group of PBs in the multiframe of the first optical transport network, where the first PB is not included in the third group of PBs;
S704:发送所述第一光传送网复用帧;S704: Send the first OTN multiplexing frame;
S705:从所述第一光传送复帧的第三组PB中,解映射出所述业务A的数据。S705: Demap the data of the service A from the third group of PBs of the first optical transmission multiframe.
结合表5所示可知,如上步骤是针对带宽减少的过程,确定了用于承载业务A的PB中需要删除的PB后,发送设备通过先修改待删除的PB(第一PB)的带宽调整指示信息来指示收端该PB块停止用于业务A的承载。此时,接收设备在进行业务解析时,不再将该第一PB纳入考虑。应理解,此时,第一PB还是分配给业务A的。在S705步骤之后,发送设备 可以在一定的时间间隔后,将第一PB的业务标识设置为某一数值以标识该PB空闲,或者通过设置其占用指示来表示该第一PB处于空闲状态。In combination with Table 5, it can be seen that the above steps are for the process of bandwidth reduction. After determining the PB that needs to be deleted among the PBs used to carry service A, the sending device first modifies the bandwidth adjustment instruction of the PB to be deleted (the first PB). information to instruct the receiving end to stop using the PB block for service A bearer. At this time, the receiving device does not take the first PB into consideration when performing service analysis. It should be understood that at this time, the first PB is still allocated to service A. After step S705, the sending device After a certain time interval, the service identifier of the first PB can be set to a certain value to indicate that the PB is idle, or the occupation indication can be set to indicate that the first PB is in an idle state.
通过如上的步骤,本申请实施例可以实现带宽的无损减少,即无需拆除原有的业务路径,建立新的路径,而是通过为承载业务的OSU帧减少分配的PB,并通过如上步骤有序地完成业务路径的带宽减少。Through the above steps, the embodiment of the present application can realize the lossless reduction of bandwidth, that is, there is no need to tear down the original service path and establish a new path, but by reducing the allocated PB for the OSU frame carrying the service, and orderly through the above steps The bandwidth reduction of the service path can be completed efficiently.
应理解,网络设备可以执行图8或者图10的任意一个,或者两个都执行。对此,本申请不做限定。It should be understood that the network device may execute either one of FIG. 8 or FIG. 10 , or both. In this regard, this application does not make a limitation.
图11为一种可能的网络设备的结构示意图。如图11所示,网络设备800包括处理器801、收发器802和存储器803。其中,存储器803是可选的。网络设备800既可以应用于发送设备,也应用于接收设备。Fig. 11 is a schematic structural diagram of a possible network device. As shown in FIG. 11 , a network device 800 includes a processor 801 , a transceiver 802 and a memory 803 . Wherein, the memory 803 is optional. The network device 800 can be applied to both the sending device and the receiving device.
在应用于发送设备时,处理器801用于实现图5、图6、图8或图10中所示的发送设备所执行的方法。在实现过程中,处理流程的各步骤可以通过处理器801中的硬件的集成逻辑电路或软件形式的指令完成上述附图的发送设备所执行的方法。收发器802用于接收处理发送的光传送网帧,以发送给对端设备(亦称为接收设备);和/或,接收从对端设备发过来的光传送网帧,以发送给处理器801进行处理。此外,收发器802还用于从网络管理系统接收业务配置信息,以发送给处理器801处理。When applied to a sending device, the processor 801 is configured to implement the method executed by the sending device shown in FIG. 5 , FIG. 6 , FIG. 8 or FIG. 10 . In the implementation process, each step of the processing flow can implement the method executed by the sending device in the above-mentioned figures through an integrated logic circuit of hardware in the processor 801 or an instruction in the form of software. The transceiver 802 is used to receive and process the optical transport network frame sent to send to the peer device (also called the receiving device); and/or receive the optical transport network frame sent from the peer device to send to the processor 801 for processing. In addition, the transceiver 802 is also configured to receive service configuration information from the network management system, and send it to the processor 801 for processing.
在应用于接收设备时,处理器801用于实现图5、图6、图8或图10中所示的接收设备所执行的方法。在实现过程中,处理流程的各步骤可以通过处理器801中的硬件的集成逻辑电路或者软件形式的指令完成前述附图中所述的接收侧设备所执行的方法。收发器802用于接收对端设备(亦称为发送设备)发送的光传送网帧,以发送给处理器801使其进行后续的处理;和/或,接收从对端设备发过来的光传送网帧,以发送给处理器801进行处理。此外,收发器802还用于从网络管理系统接收业务配置信息,以发送给处理器801处理。When applied to a receiving device, the processor 801 is configured to implement the method executed by the receiving device shown in FIG. 5 , FIG. 6 , FIG. 8 or FIG. 10 . In the implementation process, each step of the processing flow can complete the method executed by the receiving side device described in the preceding figures through an integrated logic circuit of hardware in the processor 801 or an instruction in the form of software. The transceiver 802 is used to receive the optical transmission network frame sent by the peer device (also referred to as the sending device), to send to the processor 801 for subsequent processing; and/or, to receive the optical transmission network frame sent from the peer device The network frame is sent to the processor 801 for processing. In addition, the transceiver 802 is also configured to receive service configuration information from the network management system, and send it to the processor 801 for processing.
存储器803可以用于存储指令,以使得处理801可以用于执行如上述图中提及的步骤。或者,存储803也可以用于存储其他指令,以配置处理器801的参数以实现对应的功能。存储器803还可以用于存储业务数据或光传送网帧,以使得处理器对业务数据和光传送网帧进行处理。The memory 803 may be used to store instructions such that the process 801 may be used to perform steps as mentioned in the above figures. Alternatively, the storage 803 may also be used to store other instructions to configure parameters of the processor 801 to implement corresponding functions. The memory 803 may also be used to store service data or OTN frames, so that the processor processes the service data and OTN frames.
需要说明的是,处理器801和存储器803在图2所述的网络设备硬件结构图中,可能位于支路板中;也可能位于支路和线路合一的单板中。或者,处理器801和存储器803都包括多个,分别位于支路板和线路板,两个板配合完成前述的方法步骤。It should be noted that, in the hardware structure diagram of the network device shown in FIG. 2 , the processor 801 and the memory 803 may be located in a tributary board; they may also be located in a single board that integrates a tributary and a line. Alternatively, both the processor 801 and the memory 803 include multiple ones, respectively located on the tributary board and the circuit board, and the two boards cooperate to complete the foregoing method steps.
需要说明的是,图11所述的装置也可以用于执行前述提及的附图所示的实施例变形或者可选方案中所提及的方法步骤,在此不再赘述。It should be noted that the device shown in FIG. 11 may also be used to execute the method steps mentioned in the modification of the embodiment shown in the above-mentioned drawings or the alternative solution, and details are not repeated here.
本申请实施例中处理器801可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件单元组合执行完成。处理器801用于实现上述方法所执行的程序代码可以存储在存储器803中。存储器803和处理器801耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。处理器801可能和存储器803协同操作。存储器803可以是非易失性存储器,比如硬盘(hard disk drive,HDD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器803是 能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。In the embodiment of the present application, the processor 801 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. Various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the methods disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or implemented by a combination of hardware and software units in the processor. The program codes executed by the processor 801 to implement the above methods may be stored in the memory 803 . The memory 803 is coupled to the processor 801 . The coupling in the embodiments of the present application is an indirect coupling or a communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. Processor 801 may cooperate with memory 803 . The memory 803 may be a non-volatile memory, such as a hard disk drive (HDD), or a volatile memory (volatile memory), such as a random-access memory (random-access memory, RAM). memory 803 is Any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.
基于以上实施例,本申请实施例还提供了一种计算机可读存储介质。该存储介质中存储软件程序,该软件程序在被一个或多个处理器读取并执行时可实现上述任意一个或多个实施例提供的方法。所述计算机可读存储介质可以包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。Based on the above embodiments, the embodiments of the present application further provide a computer-readable storage medium. A software program is stored in the storage medium, and when the software program is read and executed by one or more processors, the method provided by any one or more embodiments above can be implemented. The computer-readable storage medium may include: a U disk, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, and other media capable of storing program codes.
基于以上实施例,本申请实施例还提供了一种芯片。该芯片包括处理器,用于实现上述任意一个或多个实施例所涉及的功能,例如获取或处理上述方法中所涉及的数据帧。可选地,所述芯片还包括存储器,用于处理器所执行必要的程序指令和数据。该芯片,可以由芯片构成,也可以包含芯片和其他分立器件。Based on the above embodiments, the embodiment of the present application further provides a chip. The chip includes a processor configured to implement the functions involved in any one or more of the above embodiments, such as acquiring or processing the data frames involved in the above methods. Optionally, the chip further includes a memory for necessary program instructions and data executed by the processor. The chip may consist of chips, or may include chips and other discrete devices.
本申请是参照根据本申请实施例的方法、设备(系统)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施例的范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。 Apparently, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the scope of the embodiments of the present application. In this way, if the modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (12)

  1. 一种光传送网帧的处理方法,其特征在于,所述方法包括:A method for processing an optical transport network frame, characterized in that the method comprises:
    第一设备从第二设备接收光传送网帧,所述光传送网帧的净荷区包括多个净荷块,所述多个净荷块的每一个净荷块包含业务标识;The first device receives an optical transport network frame from the second device, the payload area of the optical transport network frame includes a plurality of payload blocks, and each payload block of the plurality of payload blocks contains a service identifier;
    所述第一设备获取业务配置信息,所述业务配置信息包括为所述光传送网帧的所述多个净荷块配置的业务标识;The first device acquires service configuration information, where the service configuration information includes service identifiers configured for the plurality of payload blocks of the optical transport network frame;
    针对所述多个净荷块的第一净荷块,所述第一设备根据接收到的所述光传送网帧中的所述第一净荷块包含的第一业务标识和所述业务配置信息包含的针对所述第一净荷块的第二业务标识,确定所述第一业务标识的比特位和第二业务标识的对应比特位的数值相同的数量信息;For the first payload block of the plurality of payload blocks, the first device, according to the first service identifier and the service configuration included in the first payload block in the received optical transport network frame For the second service identifier of the first payload block contained in the information, it is determined that the bits of the first service identifier have the same value as the corresponding bits of the second service identifier;
    根据所述数量信息和预设的阈值,所述第一设备确定所述第一业务标识和所述第二业务标识是否匹配。According to the quantity information and a preset threshold, the first device determines whether the first service identifier matches the second service identifier.
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    所述第一设备确定接收到的所述光传送帧的多个净荷块的配置信息是否正确,所述多个净荷块为连续分布的或按照预定间隔依次排列的;The first device determines whether the received configuration information of multiple payload blocks of the optical transmission frame is correct, and the multiple payload blocks are distributed continuously or arranged in sequence according to a predetermined interval;
    当确定所述多个净荷块的配置信息的至少一个不正确时,产生业务标识不匹配缺陷指示。When it is determined that at least one piece of configuration information of the plurality of payload blocks is incorrect, a service identifier mismatch defect indication is generated.
  3. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    所述第一设备确定接收到的所述光传送帧的多个净荷块的配置信息是否正确,所述多个净荷块为连续分布的或按照约定间隔依次排列的;The first device determines whether the received configuration information of multiple payload blocks of the optical transmission frame is correct, and the multiple payload blocks are distributed continuously or arranged in sequence according to agreed intervals;
    当确定所述连续多个净荷块的配置信息均正确且存在业务标识不匹配缺陷指示时,消除所述业务标识不匹配缺陷指示。When it is determined that the configuration information of the multiple consecutive payload blocks is correct and there is a service identifier mismatch defect indication, the service identifier mismatch defect indication is eliminated.
  4. 如权利要求2或3所述的方法,其特征在于,所述多个净荷块的数量为16。The method according to claim 2 or 3, characterized in that the number of the plurality of payload blocks is 16.
  5. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    所述第一个设备确定N个净荷块组的配置信息是否正确,所述N个净荷块组的每一个包括连续分布或按照固定间隔排列的多个净荷块,所述多个净荷块的至少一个的配置信息不正确表示所述多个净荷块所属的净荷块组的配置信息不正确;The first device determines whether the configuration information of the N payload block groups is correct, each of the N payload block groups includes multiple payload blocks that are continuously distributed or arranged at fixed intervals, and the multiple payload block groups The incorrect configuration information of at least one of the payload blocks indicates that the configuration information of the payload block group to which the multiple payload blocks belong is incorrect;
    当确定N个净荷块组的配置信息的至少两个不正确时,产生业务标识不匹配缺陷指示。When it is determined that at least two of the configuration information of the N payload block groups are incorrect, a service identifier mismatch defect indication is generated.
  6. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    所述第一个设备确定N个净荷块组的配置信息是否正确,所述N个净荷块组的每一个包括连续分布或按照固定间隔排列的多个净荷块,所述多个净荷块的每一个的配置信息正确表示所述多个净荷块所属的净荷块组的配置信息正确;The first device determines whether the configuration information of the N payload block groups is correct, each of the N payload block groups includes multiple payload blocks that are continuously distributed or arranged at fixed intervals, and the multiple payload block groups The correct configuration information of each of the payload blocks indicates that the configuration information of the payload block group to which the multiple payload blocks belong is correct;
    当确定所述N个净荷块组的配置信息均正确且存在业务标识不匹配缺陷指示时,消除所述业务标识不匹配缺陷。When it is determined that the configuration information of the N payload block groups is correct and there is a service identifier mismatch defect indication, the service identifier mismatch defect is eliminated.
  7. 如权利要求1-6任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-6, further comprising:
    所述第一设备从所述第二设备接收第一光传送网复帧,所述第一光传送网复帧的多个净荷块的每一个包括业务标识和带宽调整指示,所述带宽调整指示用于指示对应的净荷块承载的业务的带宽调整;The first device receives a first optical transport network multiframe from the second device, and each of the multiple payload blocks of the first optical transport network multiframe includes a service identifier and a bandwidth adjustment indication, and the bandwidth adjustment Indicates the bandwidth adjustment used to indicate the service carried by the corresponding payload block;
    所述第一设备确定所述第一光传送网复帧的第一净荷块的业务标识为第三业务标识,并确定所述第一净荷块的带宽调整指示为第一数值,所述第一数值用于指示所述第一光传送网复帧中的所述第一净荷块的净荷区未承载所述第三业务标识对应的业务; The first device determines that the service identifier of the first payload block of the first optical transport network multiframe is a third service identifier, and determines that the bandwidth adjustment indication of the first payload block is a first value, the The first value is used to indicate that the payload area of the first payload block in the first optical transport network multiframe does not carry the service corresponding to the third service identifier;
    所述第一设备从所述第一光传送网复帧中的第一组净荷块中解映射出所述第三业务标识对应的业务,所述第一组净荷块不包括所述第一净荷块;The first device demaps the service corresponding to the third service identifier from the first group of payload blocks in the first optical transport network multiframe, and the first group of payload blocks does not include the first group of payload blocks a payload block;
    所述第一设备从所述第二设备接收第二光传送网复帧,所述第二光传送网复帧为在所述第一设备接收到所述第一光传送网复帧后接收到的复帧;The first device receives a second optical transport network multiframe from the second device, and the second optical transport network multiframe is received after the first device receives the first optical transport network multiframe the multiframe;
    所述第一设备确定所述第二光传送网复帧的第一净荷块的业务标识为所述第三业务标识,且所述第一净荷块的带宽调整指示为第二数值,所述第二数值用于指示所述第二光传送网复帧中的所述第一净荷块承载所述第三业务标识对应的业务;The first device determines that the service identifier of the first payload block of the second optical transport network multiframe is the third service identifier, and the bandwidth adjustment indication of the first payload block is a second value, so The second value is used to indicate that the first payload block in the second optical transport network multiframe carries the service corresponding to the third service identifier;
    从所述第二光传送网复帧中的第二组净荷块中解映射出所述第三业务标识对应的业务,所述第二组净荷块包括所述第二光传送网复帧的所述第一净荷块。Demapping a service corresponding to the third service identifier from a second group of payload blocks in the second OTN multiframe, where the second group of payload blocks includes the second OTN multiframe of the first payload block.
  8. 如权利要求1-7任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-7, wherein the method further comprises:
    所述第一设备从所述第二设备接收第三光传送网复帧,所述第三光传送网复帧的多个净荷块的每一个包括业务标识和带宽调整指示,所述带宽调整指示用于指示对应的净荷块承载的业务的带宽调整;The first device receives a third optical transport network multiframe from the second device, each of the multiple payload blocks of the third optical transport network multiframe includes a service identifier and a bandwidth adjustment indication, and the bandwidth adjustment Indicates the bandwidth adjustment used to indicate the service carried by the corresponding payload block;
    所述第一设备确定所述第三光传送网复帧的第二净荷块的业务标识为第四业务标识,并确定所述第二净荷块的带宽调整指示为第三数值,所述第三数值用于指示所述第三光传送网复帧中的所述第一净荷块的净荷区用于承载所述第四业务标识对应的业务;The first device determines that the service identifier of the second payload block of the third optical transport network multiframe is the fourth service identifier, and determines that the bandwidth adjustment indication of the second payload block is a third value, the The third value is used to indicate that the payload area of the first payload block in the third optical transport network multiframe is used to carry the service corresponding to the fourth service identifier;
    所述第一设备从所述第三光传送网复帧中的第三组净荷块中解映射出所述第四业务标识对应的业务,所述第三组净荷块中包括所述第三光传送网复帧的所述第二净荷块;The first device demaps the service corresponding to the fourth service identifier from a third group of payload blocks in the third optical transport network multiframe, and the third group of payload blocks includes the first The second payload block of the triple optical transport network multiframe;
    所述第一设备从所述第二设备接收第四光传送网复帧,所述第四光传送网复帧为所述第一设备在接收到所述第三光传送网复帧后接收到的复帧;The first device receives a fourth optical transport network multiframe from the second device, and the fourth optical transport network multiframe is received by the first device after receiving the third optical transport network multiframe the multiframe;
    所述第一设备确定所述第四光传送网复帧的第二净荷块的业务标识为所述第四业务标识,且所述第二净荷块的带宽调整指示为第四数值,所述第四数值用于指示所述第四光传送网复帧中的所述第二净荷块未承载所述第四业务标识对应的业务;The first device determines that the service identifier of the second payload block of the fourth optical transport network multiframe is the fourth service identifier, and the bandwidth adjustment indication of the second payload block is a fourth value, so The fourth value is used to indicate that the second payload block in the fourth optical transport network multiframe does not carry the service corresponding to the fourth service identifier;
    从所述第四光传送网复帧中的第四组净荷块中解映射出所述第四业务标识对应的业务,所述第四组净荷块中不包括所述第四光传送网复帧中的所述第二净荷块。Demap the service corresponding to the fourth service identifier from the fourth group of payload blocks in the fourth optical transport network multiframe, and the fourth group of payload blocks does not include the fourth optical transport network said second payload block in a multiframe.
  9. 如权利要求1-8任意所述的处理方法,其特征在于,所述业务配置信息中针对所述光传送网帧的所述多个净荷块中承载同一业务的净荷块的位置满足:相邻的两个净荷块满足预设的净荷块数量的间隔约束。The processing method according to any of claims 1-8, wherein the positions of the payload blocks carrying the same service in the plurality of payload blocks of the optical transport network frame in the service configuration information satisfy: Two adjacent payload blocks satisfy the interval constraint of the preset number of payload blocks.
  10. 一种光传送网设备,其特征在于,所述设备包括处理器和收发器,所述收发器用于接收所述光传送网帧,所述处理器用于执行如权利要求1-9任一所述的方法;An optical transport network device, characterized in that the device includes a processor and a transceiver, the transceiver is used to receive the optical transport network frame, and the processor is used to perform the process described in any one of claims 1-9. Methods;
    所述接收光传送网帧,包括:所述处理器从所述收发器接收所述光传送网帧。The receiving the OTN frame includes: the processor receiving the OTN frame from the transceiver.
  11. 一种光通信系统,其特征在于,所述光通信通信系统包括发送设备和如权利要求10所述的光传送网设备,其中:所述发送设备发送所述光传送网帧给所述光传送网设备。An optical communication system, characterized in that the optical communication system includes a sending device and the optical transport network device according to claim 10, wherein: the sending device sends the optical transport network frame to the optical transport network network equipment.
  12. 如权利要求11所述的光通信系统,其特征在于,所述光通信系统还包括客户设备,所述客户设备用于发送业务给所述发送设备,所述发送设备还用于:The optical communication system according to claim 11, wherein the optical communication system further comprises a client device, the client device is used to send services to the sending device, and the sending device is also used to:
    将所述业务映射到所述光传送网帧的净荷块中;mapping the service into the payload block of the optical transport network frame;
    将承载了所述业务的光传送网帧发送给所述光传送网设备。 sending the optical transport network frame carrying the service to the optical transport network device.
PCT/CN2023/073722 2022-01-30 2023-01-29 Method, apparatus and system for processing data frame in optical transport network WO2023143577A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210114138.9 2022-01-30
CN202210114138.9A CN116582219A (en) 2022-01-30 2022-01-30 Method, device and system for processing data frames in optical transport network

Publications (1)

Publication Number Publication Date
WO2023143577A1 true WO2023143577A1 (en) 2023-08-03

Family

ID=87470733

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/073722 WO2023143577A1 (en) 2022-01-30 2023-01-29 Method, apparatus and system for processing data frame in optical transport network

Country Status (2)

Country Link
CN (1) CN116582219A (en)
WO (1) WO2023143577A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200366412A1 (en) * 2018-02-09 2020-11-19 Huawei Technologies Co., Ltd. Method and Apparatus for Processing Service Data in Optical Transport Network
CN112042138A (en) * 2018-05-10 2020-12-04 华为技术有限公司 Method, device and system for processing low-speed service data in optical transport network
US20210084383A1 (en) * 2018-06-01 2021-03-18 Huawei Technologies Co., Ltd. Service data processing method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200366412A1 (en) * 2018-02-09 2020-11-19 Huawei Technologies Co., Ltd. Method and Apparatus for Processing Service Data in Optical Transport Network
CN112042138A (en) * 2018-05-10 2020-12-04 华为技术有限公司 Method, device and system for processing low-speed service data in optical transport network
US20210084383A1 (en) * 2018-06-01 2021-03-18 Huawei Technologies Co., Ltd. Service data processing method and apparatus

Also Published As

Publication number Publication date
CN116582219A (en) 2023-08-11

Similar Documents

Publication Publication Date Title
US11764874B2 (en) Method for processing low-rate service data in optical transport network, apparatus, and system
WO2019228201A1 (en) Service data processing method and apparatus
US11967992B2 (en) Data transmission method and apparatus in optical transport network
US11082199B2 (en) Data transmission method in optical network and optical network device
US10608766B2 (en) Multi-service transport and receiving method and apparatus
WO2017088517A1 (en) Method and device for optical transport network to bear flex ethernet service
EP4027650A1 (en) Method and device for service processing in optical transport network, and system
US20190280797A1 (en) Flexible ethernet group establishment method and device
US20100046951A1 (en) Method, apparatus and system for transporting multi-lane ethernet signal
CN113395613B (en) Method, device and system for carrying service
WO2020192533A1 (en) Service data processing method and apparatus
WO2023134508A1 (en) Service processing method, apparatus and system in optical transport network
WO2023109424A1 (en) Data transmission method and related device
WO2023143577A1 (en) Method, apparatus and system for processing data frame in optical transport network
EP4160949A1 (en) Method for data frame transmission and related device
EP4221009A1 (en) Data frame check method, receiving device, and transmitting device
WO2023083254A1 (en) Optical signal transport method and apparatus
WO2024046465A1 (en) Data transmission method and apparatus
WO2023221966A1 (en) Data transmission method and apparatus
WO2024051586A1 (en) Method for processing data frame in optical transport network, apparatus and system
CN117135498A (en) Method and device for transmitting data

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: 23746454

Country of ref document: EP

Kind code of ref document: A1