WO2023134508A1 - Service processing method, apparatus and system in optical transport network - Google Patents

Service processing method, apparatus and system in optical transport network Download PDF

Info

Publication number
WO2023134508A1
WO2023134508A1 PCT/CN2023/070332 CN2023070332W WO2023134508A1 WO 2023134508 A1 WO2023134508 A1 WO 2023134508A1 CN 2023070332 W CN2023070332 W CN 2023070332W WO 2023134508 A1 WO2023134508 A1 WO 2023134508A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
otn
osu
payload
payload blocks
Prior art date
Application number
PCT/CN2023/070332
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 WO2023134508A1 publication Critical patent/WO2023134508A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Definitions

  • the present application relates to the technical field of optical communication, in particular to the service processing technology in the 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 supports 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 cannot determine the service data carried by the OSU frame, resulting in partial loss of the corresponding service data, which reduces the reliability 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 service processing method in an optical transport network (OTN).
  • the method includes several steps. First, the first OTN device acquires service data. Then, the first OTN device maps the service data into an optical service unit (OSU) frame, the OSU frame includes an overhead part and a payload part, the overhead part is used to carry overhead information, and the payload part uses to bear the business data. Next, the first OTN device maps the OSU frame into a plurality of payload blocks of the OTN frame, and the interval between two adjacent payload blocks of the plurality of payload blocks satisfies a preset interval constraint; finally, The first OTN device sends the OTN frame to the second OTN device.
  • OSU optical service unit
  • the service processing solution disclosed in this application reduces the risk of service loss.
  • the method simplifies the processing and management of the frame map and reduces the complexity of the device.
  • the OSU frame is mapped to multiple payload blocks of the OTN frame, and the interval between two adjacent payload blocks of the multiple payload blocks satisfies a preset Interval constraints, consisting of two steps. First, determine the location information of the plurality of payload blocks carrying the OSU frame according to the pre-set interval constraint; second, map the OSU frame to the OTN frame corresponding to the location information in the plurality of payload blocks.
  • the method further includes the first OTN device sending the location information to the second OTN device.
  • the location information may be sent in any of the following ways: placing the location information in the payload block of the OTN frame to send to the OTN device; placing the location information in the OTN The overhead area of the frame is sent to the OTN device; or, the location information is sent to a network management system, so that the network management system transmits the location information to the OTN device.
  • interval constraints can be implemented in various manners.
  • the spacing constraint is a fixed number of payload blocks.
  • the fixed number is an integer value of P/C, where P is the number of payload blocks included in one multiplexing period of the OTN frame, and C is the number of payload blocks occupied by the OSU frame.
  • the interval constraint is a payload block containing a range of values.
  • the numerical range is (rounded value of (P/C)*(1-50%), rounded value of (P/C)*(1+50%)), or ((P/C )*(1-520%) rounded value, (P/C)*(1+20%) rounded value).
  • the interval constraint includes an average data block interval value A and a maximum data block interval deviation value T, wherein the interval between two adjacent payload blocks among the plurality of payload blocks falls within Within (A-T, A+T).
  • the method further includes: the first device determines that the payload block corresponding to the service data is changed from the multiple payload blocks to multiple other payload blocks; then, the first device Mapping a plurality of other OSU frames to which the service data is mapped into the plurality of other payload blocks, where the position of each payload block in the plurality of other payload blocks is relative to the plurality of other payload blocks The change of the position of the corresponding payload block of the payload blocks satisfies a predetermined constraint.
  • the predetermined constraint is the number of payload blocks with the largest deviation in position change.
  • the method further includes: placing the service identifier of the OSU frame into the plurality of payload blocks, and the service identifier is used for service verification.
  • the reliability of service transmission can be further improved by carrying the service identifier to check the position information of the payload block mapped to the OSU frame.
  • the embodiment of the present application provides an Optical Transport Network (OTN) device.
  • the apparatus includes a processor and an optical transceiver.
  • the processor is configured to execute the first aspect or any specific implementation method of the first aspect.
  • the sending the OTN frame to the OTN device includes: the processor sending the OTN frame to the optical transceiver; and the optical transceiver sending the OTN frame to the OTN device.
  • the embodiment of the present application provides a chip.
  • the chip includes a processor and a communication interface.
  • the processing is used to execute the first aspect or any specific implementation method of the first aspect.
  • the communication interface is used to interact with the processor to complete sending or receiving frames.
  • the embodiment of the present application provides an optical communication system.
  • the optical communication communication system includes client equipment and the OTN device described in the second aspect. Wherein, the client equipment sends the service data to the OTN device.
  • the optical communication system further includes another OTN device and another client equipment.
  • the client equipment sends service data to the other client equipment through the OTN device and another OTN device.
  • 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 flowchart of the first business processing method provided by the embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a second business processing method provided by the embodiment of the present application.
  • Fig. 6 is a schematic diagram of the payload block distribution method of the embodiment shown in Fig. 5;
  • FIG. 7 is a schematic flowchart of a third business processing method provided by the embodiment of the present application.
  • FIG. 8 is a schematic flowchart of a fourth business processing method provided by the embodiment of the present application.
  • FIG. 9 is a schematic flowchart of a fifth business processing method provided by the embodiment of the present application.
  • Fig. 10 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.
  • mapping an OSU frame into an OTN frame refers to encapsulating an OSU frame or an OSU signal into an OTN frame.
  • the embodiments of the present application are applicable to optical networks, such as OTN.
  • 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 OTN device in the embodiment of the present application is 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 OTN 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 a Flexible Ethernet (Flexible Ethernet, FlexE) frame.
  • FlexE Flexible Ethernet
  • FIG. 2 is a schematic diagram of a possible hardware structure of a network device.
  • the OTN device 200 includes a tributary board 201 , a cross-connect board 202 , a line board 203 , an optical layer processing board (not shown in the 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-connect board 202 and the circuit board 203 are used to process electrical layer signals of the OTN.
  • 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 the exchange of one or more types of data frames.
  • 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.
  • 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 OTN frame, which 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.
  • Optical Service Unit (Optical Service Unit) 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 preceding 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.
  • PBs in an OTN frame are defined as a transmission period.
  • 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:
  • R opu_pld represents the rate of the payload area of the OPU frame
  • Topu represents the frequency offset of the OPU (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, for example, formula (1-2) can also be used to calculate the P value.
  • the transmission period may be called a P frame, a time slot multiplexing frame, a time slot multiplexing group, a multiplexing frame, a multiplexing period or a transmission frame.
  • this application does not make a limitation.
  • Table 2 gives some examples of P corresponding to some OTN frames. It should be noted that Table 2 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 the identification code is wrong).
  • 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.
  • this application provides a new business processing method.
  • the method simplifies the mapping from the OSU frame to the PB, and can reduce the probability of service loss caused by service identification errors.
  • the method introduces this interval constraint, the allocated PB is evenly distributed, the size of the cache is reduced, and the complexity of the device is reduced.
  • Fig. 4 is a schematic flowchart of the first service processing method provided by the embodiment of the present application. As shown in Figure 4, the method includes the following steps. These steps will be described by taking the apparatus H shown in FIG. 1 as an example for executing the method. It should be understood that this embodiment may also be applicable to other OTN devices connected with client devices in FIG. 1 .
  • the device H receives the service data sent by the client device from the client device 2 through the client service interface.
  • the service data of client device 2 needs to be sent to client device 3 .
  • S402 Map the service data into an optical service unit (OSU) frame, the OSU frame includes an overhead part and a payload part, the overhead part is used to carry overhead information, and the payload part is used to carry the business data;
  • OSU optical service unit
  • mapping data services into OSU frames in this step refers to mapping acquired service data into one or more OSU frames within any unit time (for example, in one transmission cycle). Then, in the next unit time, the service data will be loaded into the next or more OSU frames.
  • 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
  • the OSU frame has the frame structure shown in FIG. 3 .
  • the overhead part is the overhead area
  • the payload part is the payload area.
  • an OSU frame is 192 bytes, wherein the overhead area is 7 bytes, and the payload area is 185 bytes.
  • an OSU frame includes overhead subframes and payload subframes; each subframe has a certain frame structure (for example, each subframe is 190 bytes).
  • the foregoing two subframes are respectively used to carry overhead and carry service data. That is to say, the overhead part is an overhead subframe, and the payload part is a data subframe.
  • an OSU frame includes 80 subframes, 4 are overhead subframes, 76 are data subframes, and each subframe is 192 bytes.
  • S403 Map the OSU frame to multiple payload blocks of the OTN frame, and the interval between two adjacent payload blocks of the multiple payload blocks satisfies a preset interval constraint;
  • the device H maps the OSU frame carrying the service data (that is, the OSU signal) into multiple PBs of the OTN frame.
  • the OSU frame may be directly mapped to the OTN frame, or may be mapped to the OTN frame through other intermediate frames.
  • the intermediate frame is an optical service tributary unit (Optical Service Tributary Unit, OSTU), which is composed of corresponding multiple PBs.
  • OSTU Optical Service Tributary Unit
  • the OSU frame is mapped to multiple payload blocks of the OTN frame. It may be that the OSU frame is first mapped into the payload block of the OPU frame or the ODU frame, and then mapped into the OTU frame after time slot multiplexing. Alternatively, the mapping process may be that the OSU frame is re-mapped into the OTN frame through one or more intermediate frames. Alternatively, the OSU signal is directly mapped into the OTU frame. This application does not limit the level of mapping in the OSU frame.
  • the interval is constrained to a fixed number of PBs.
  • the fixed number is the rounded value of P/C.
  • P is the number of payload blocks included in the OTN frame
  • the interval constraint is PB whose value is a numerical range.
  • the value range is (rounded value of (P/C)*(1-R), rounded value of (P/C)*(1+R)), where P is OTN
  • the basic interval may also be referred to as an average data block interval, which may be a rounded value of (P/C).
  • the maximum interval deviation value may also be referred to as the maximum data block interval deviation, and may be a rounded value of (P/C)*R.
  • P, C and R refer to the previous implementation manner, which will not be repeated here.
  • the interval constraint may be called an interval rule, an interval distance, a distance constraint, or a distance rule.
  • this application does not make a limitation.
  • the interval is an interval that can be calculated from the data block at the start position or the data that does not include the start position. In this regard, this application does not make a limitation.
  • the OTN frame mentioned in the foregoing multiple possible implementation manners may be an OTN frame as shown in FIG. 3 ; or may also be replaced with a transmission period. To simplify the description, unless otherwise specified, the OTN frame also includes a transmission period.
  • S404 Send the OTN frame to the OTN device.
  • device H sends an OTN frame carrying an OSU frame to device F.
  • the device F is an OTN device connected to the destination client device 3 .
  • the foregoing sending may be directly sent to the device F, that is, there is a direct physical connection between the device H and the device F.
  • the foregoing sending may also be sent by the device H to a downstream intermediate device (such as the device G in FIG. 1 ), and the intermediate device is sending to the device F.
  • the method disclosed in the embodiment of the present application solves the potential bit error risk caused by dynamic allocation, and the sending device and the receiving device can use this position interval to resolve the PB position corresponding to the OSU frame, So as to correctly restore the business data.
  • An embodiment of the present application provides a method, device and system for business processing.
  • the sending end device is F and the receiving end device is A in this embodiment.
  • the path used by device F and device A to transmit services may be, for example, device F-device G-device H-device A, wherein device F is a source device, device A is a destination device, and device G and device H are intermediate devices.
  • FIG. 5 is a schematic flowchart of a second service processing method provided by the embodiment of the present application. Each step is described in detail below. In the following steps, steps S401, S502-S504 are executed by the sending end device F, and steps S601-S602 are executed by the receiving end device A. It should be noted that, in order to avoid redundancy, the OTN frame received by the receiving device A and sent by the device F is not shown repeatedly in FIG. 5 .
  • step S401 is similar to step S401 in FIG. 4 , and the description for step S401 is also applicable to this step, and will not be repeated here.
  • device F receives service data through a customer service interface.
  • S502 Map the service data into an optical service unit (OSU) frame, the OSU frame includes an overhead area and a payload area, the overhead area is used to carry overhead information, and the payload area is used to carry the business data;
  • OSU optical service unit
  • this embodiment takes the OSU frame shown in FIG. 3 as an example, which includes an overhead area and a payload area.
  • the benchmark rate of the OSU frame is 10.4Mbps. It should be noted that rate and bandwidth are interchangeable concepts in this application.
  • This step is similar to step S402 in FIG. 4 , and other descriptions for step S402 are also applicable to this step, which will not be repeated here. For example, for the length of the OSU frame, the number of required OSU frames, etc.
  • S503 Map the OSU frame to multiple payload blocks of the OTN multiplexing frame, and the interval between two adjacent payload blocks of the multiple payload blocks satisfies a preset interval value;
  • an OTN multiplexed frame (or multiplexed frame for short) is constructed by taking the OTN frame as ODU0 as an example.
  • the number of payload blocks contained in the multiplexing frame is calculated according to the following formula:
  • 10.4M is the basic rate of the OSU frame.
  • X ppm is the frequency offset, it can be 0, 20 or 100, and 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.
  • 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 constructed in this way and the ODU frame are kept aligned, which simplifies the design and implementation, and facilitates the management of the data frame.
  • PBs can be assigned sequentially to OSU frames that need to be assigned PBs, according to the number of PBs from small to large and according to the value of interval constraints.
  • PB allocation may be performed according to the method steps shown in FIG. 6 .
  • FIG. 6 is a schematic diagram of the payload block allocation method of the embodiment shown in FIG. 5 .
  • each OSU signal includes one or more OSU frames, and the n OSU signals need to be allocated with PBs.
  • the PB allocation process of each OSU signal executes the method 700 .
  • PB location information specifically refers to the number of the PB in an OTN multiplex frame or OTN frame, or location identification information (for example: rank and column information of the PB in the OTN, etc.).
  • different OSU signals can obtain PB allocation opportunities according to the above method 700.
  • PB allocation for n OSU signals In order to avoid PB allocation conflicts between different OSU signals, as shown in Figure 6, after obtaining the PB location indication, you can follow Predetermined interval constraints, PB allocation for n OSU signals. That is to say, centralized PB allocation is performed on n OSU signals, which can prevent the PB location allocation conflict problem that exists when each OSU signal is allocated PB independently.
  • the multiple OSU signals may be sorted according to a pre-agreed allocation rule. For example, the highest Sum i value corresponding to the OSU signal is given priority to PB allocation.
  • the Sum i value is the same, it is sorted according to the OSU frame number (for example, the number is larger first); or, it can be sorted according to the Ci value of the OSU signal. Larger values are preferred.
  • the associated information of P PBs and n OSU signals can be finally obtained, that is, OSU frames respectively carried by P PBs can be obtained.
  • Table 2 gives an example of PB allocation. Among them, only the distribution situation of the service identification information of 20 is given completely; assuming that the interval value is 10, and the value of C is 7. 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.
  • the receiving end can calculate the OSU frame used to carry the same service data in the PB of the OTN frame according to the configured rule information, so that after receiving the OTN frame, it can parse the corresponding OSU frame. And finally get business data.
  • mapping the OSU frame to the plurality of payload blocks corresponding to the location information may also be implemented in other manners. For example, determining the OSU frame and mapping the OSU frame to the PB block may be performed alternately until the mapping position of the OSU frame stream to the PB block is completed. In contrast, this application does not make a limitation.
  • device F sends the OTN multiplex frame carrying the OSU frame to device A.
  • S504 can also be described as device F sending the OTN frame to device A, because the frame structure of the multiplexing frame is based on the OTN frame structure. For example, if the payload area of the OTN frame has a frame structure of 4 rows and 3808 columns of bytes. Then, in this embodiment, the OTN multiplexing frame is 1.5 times the OTN frame, that is, a frame structure with 6 rows and 3808 columns of bytes.
  • 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.
  • Table 3 gives examples of other P values calculated by the above formula.
  • the OTN multiplex frame mapped to the OSU frame is based on OPU2 (or ODU2)
  • the OTN multiplex 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 initial OTN frame corresponding to the OTN multiplexing frame and the number of included OTN frames can be determined by obtaining the value of the multiframe overhead indication.
  • S601 Demap the OSU frame from the OTN multiplexing frame according to the preset interval value
  • the above two steps are the actions performed by the receiving device, that is, device A.
  • the device A parses or demaps the OSU frame. It is understood that the received OTN multiplex frame may also include OSU frames carrying other service data. Therefore, device A needs to obtain the PB location information corresponding to the service data according to the preset interval value. Then, according to the PB position information, the OSU frame taken out from the corresponding PB position is processed as a whole to obtain the corresponding service data.
  • the method of the embodiment of the present application can solve the existing possible bit error risk, determine the PB position through the interval value to restore the service data, and improve the reliability of the network.
  • the PB position occupied by the OSU frame is relatively deterministic, this makes the management of the frame relatively simple and deterministic, which is conducive to ensuring the transmission performance of the device.
  • An embodiment of the present application provides a method, device and system for business processing.
  • the sending end device is A and the receiving end device is H in this embodiment. It should be understood that this embodiment may also be replaced with other devices and service transmission paths.
  • FIG. 7 is a schematic flowchart of a third service processing method provided by the embodiment of the present application. It should be noted that, in order to avoid redundancy, the OTN frame sent by the device H received by the receiving device A is not shown repeatedly in FIG. 7 . It should also be noted that steps S401 , S403 and S404 are the same as those shown in FIG. 4 , and will not be repeated here. The following mainly introduces steps S802-S803, and steps S901-902.
  • S802 Map the service data into an optical service unit (OSU) frame, the OSU frame includes an overhead subframe and a payload subframe, the overhead subframe is used to carry overhead information, and the payload subframe is used for to bear the business data;
  • OSU optical service unit
  • S403 Map the OSU frame to multiple payload blocks of the OTN frame, and the interval between two adjacent payload blocks of the multiple payload blocks satisfies a preset interval constraint;
  • S404 Send the OTN multiplexing frame to the device H;
  • S802 provides a frame structure different from the OSU frame in the embodiment shown in FIG. 5 , that is, an OSU frame is composed of multiple subframes, and different types of subframes have different functions. It should be understood that this embodiment may also be replaced by the frame structure of the OSU frame as shown in FIG. 5 .
  • the device A in addition to sending the OSU frames carrying the service data to the device H through the OTN frame, the device A also sends the location information of the PBs carrying the OSU frames to the device H through the OTN frame (that is, step S803).
  • Table 3 gives an example of a device A recording multiple PB location information corresponding to an OSU frame.
  • P represents the number of PBs contained in an OTN frame (or multiplexed frame as shown in FIG. 5 )
  • n indicates the total number of services carried by the OTN frame (or multiplexed frame).
  • the receiving device can correctly retrieve the service data.
  • PB numbers belonging to the same service identifier can be directly grouped into one group, and the PB location information can be transmitted in a manner of sending n PB number groups. This application is not limited to this.
  • the interval constraint can be realized in many ways. If the interval constraint is a fixed number of PBs, then in the embodiment shown in FIG. 5 , no location information is sent. Alternatively, device A may also send location information for verification. If the interval constraint is an interval range or other similar forms of PB, then device A can send location information so that device H can correctly parse out the OSU frame carrying the same service data. Specifically, in a possible implementation manner, device A may use one or more PBs or a part of one or more PBs of the OTN frame to transmit this information. In another possible implementation manner, device A may use OTN frame overhead, for example: OPU frame overhead or ODU frame overhead, to transmit this information. In addition, optionally, in order to improve the reliability of the information transmission, device A may encode or transmit multiple copies of the same location information. Alternatively, transmission reliability can be improved through the embodiment shown in FIG. 8 .
  • the above method of transmitting PB location information by using the OTN frame can be understood as a path-associated method, that is, service data and corresponding management information are transmitted through the same path.
  • the device A may send the PB location information to the network management system or the network controller, and then the network management system or the controller transmits it to the device H.
  • this application does not make a limitation.
  • S901 Demap the OSU frame from the OTN frame according to the position information of the payload block
  • the above two steps are steps performed by the receiving device H. Specifically, device H parses out the PB location information from the received OTN frame, and then parses the OSU frame contained in the OTN frame according to the location information, and demaps the OSU frames carrying the same service data together to finally obtain the service The data is sent to the connected client device to complete the end-to-end business transmission.
  • the method of the embodiment of the present application can solve the existing possible bit error Risk, the location of PB is determined through interval constraints to restore business data, which improves the reliability of the network.
  • FIG. 8 is a schematic flowchart of a fourth service processing method provided by the embodiment of the present application. It should be noted that, in order to avoid redundancy, the OTN frame sent by the device H received by the receiving device A is not shown repeatedly in FIG. 8 . It should also be noted that for steps with the same numbers as those in FIG. 7 , reference may be made to the relevant description in FIG. 7 , and details are not repeated here. The following mainly introduces steps S1003, S1101 and S1102.
  • S802 Map the service data into an optical service unit (OSU) frame, the OSU frame includes an overhead subframe and a payload subframe, the overhead subframe is used to carry overhead information, and the payload subframe is used for to bear the business data;
  • OSU optical service unit
  • S403 Map the OSU frame to multiple payload blocks of the OTN frame, and the interval between two adjacent payload blocks of the multiple payload blocks satisfies a preset interval constraint;
  • S404 Send the OTN multiplexing frame to the device H.
  • S901 Demap the OSU frame from the OTN frame according to the position information of the payload block
  • S1101 According to the service identification information carried by the plurality of payload blocks, check whether the obtained OSU frame matches the location information;
  • step S401, S802, S403, S1003, S803 and S404 are performed by the sending end device A.
  • device A in addition to carrying OSU frames in the PB, device A also carries service identifiers. Specifically, it may carry a tributary port (Tributary Port Number, TPN) or other identifiers that can uniquely identify a service data.
  • TPN Tributary Port Number
  • This business identifier is used for business verification.
  • this service identifier can be used by the receiving end device H to cross-check the received PB and OSU frame related information (that is, which service is carried by the current PB, which can be called the PB position information corresponding to the OSU frame), so as to Further improve the reliability of equipment service transmission.
  • a stuffing block may be inserted for rate matching (the stuffing block does not contain service data, and is usually a preset value). An identical filler identifier can be entered for this filler. Or, for stuffing blocks belonging to different OSU frames, the TPN number of the OSU frame can be filled in to better realize service isolation (that is, the PB position belonging to a certain OSU signal can be clearly identified). In the latter case, in order to identify the OSU frame and the stuffing block, a new bit can be added to distinguish them.
  • S901, S1101 and S1102 are performed by the receiving device H.
  • the device H checks whether the OSU frame determined by the service identification information matches the obtained location information. If it is determined to be consistent (that is, match), the device H continues to execute S1102, that is, acquires service data. If there is a mismatch, for example, device H is required to verify whether the transmission of PB location information is wrong, so as to ensure the correctness of business data analysis and transmission.
  • S803 is an optional step. That is to say, device A and device H do not exchange location information, but obtain location information through configuration information respectively. Through step S1003, the device H can verify whether the location information acquired through configuration parameters is correct, which improves the reliability of data transmission.
  • FIG. 9 is a schematic flowchart of a fifth business processing method provided by the embodiment of the present application.
  • This embodiment is mainly aimed at the change in the number of OSU frames caused by the increase in the number of services, so that the corresponding relationship between OSU frames and PBs changes; or the change in the number of corresponding OSU frames caused by changes in the rate of service data, Thus, the scene of the corresponding relationship between the OSU frame and the PB is made.
  • the method includes the following steps.
  • the service data is mapped into the OSU frame and passed to the peer device through a set of PB positions.
  • S1202 Map the service data into another optical service unit (OSU) frame;
  • OSU optical service unit
  • the service data of this certain period is mapped into another OSU frame. It should be understood that there may be one or more other OSU frames. In this regard, this embodiment does not make a limitation.
  • the number of current OSU frames (that is, another OSU frame) is different from the number of OSU frames used in the previous cycle. Or, if it is because other new services need to be mapped into OSU frames, then the number of current OSU frames is the same as the number of OSU frames used in the previous cycle.
  • S1203 Map the other OSU frame into multiple other payload blocks of another OTN frame, where the position of each payload block in the multiple other payload blocks is relative to the multiple payload blocks The change of the position of the corresponding payload block of the charge block satisfies a predetermined constraint;
  • the relative change between the PB position allocated in the current cycle and the position allocated in the previous cycle needs to be relatively small. For example, if 3 PB blocks with positions 1, 11 and 21 were previously allocated. If this position needs to be adjusted, then the adjustable range of each position can be set with a maximum PB deviation value. For example, it may be a rounded value of 0.5*(P/C). (If the maximum deviation value is 2, it means that the deviation between the current cycle PB position and the corresponding previous week's PB position is within the range of (-2,+2) PB.
  • the maximum PB deviation value is 2
  • the positions allocated in the current cycle can be 2, 12 and 20. It should be understood that in this embodiment, the PB position allocated in the current cycle needs to meet two constraints, one is the interval constraint, and the other is to constrain the change of different cycles range constraints.
  • another OTN frame carrying the other OSU frame is sent to a downstream OTN device.
  • this embodiment is similar to that shown in FIG. 4 .
  • this embodiment of the present application avoids large changes in OSU frame mapping positions and reduces the complexity of frame management.
  • Fig. 10 is a schematic structural diagram of a possible network device.
  • a network device 1300 includes a processor 1301 , an optical transceiver 1302 and a memory 1303 . Wherein, the memory 1303 is optional.
  • the network device 1300 can be applied to both the sending side device and the receiving side device.
  • the processor 1301 When applied to a sending-side device, the processor 1301 is configured to implement the method executed by the sending device shown in FIG. 4 or FIG. 9 or shown in FIGS. 5, 7-8. 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 1301 or an instruction in the form of software.
  • the optical transceiver 1302 is used to receive and process the sent OTN frame, which has been sent to the peer device (also called the receiving device).
  • the processor 1301 When applied to a receiving-side device, the processor 1301 is configured to implement the method executed by the receiving device shown in any one of FIG. 5 or 7-8. In the implementation process, each step of the processing flow can implement the method executed by the receiving-side device described in the preceding figures through an integrated logic circuit of hardware in the processor 1201 or an instruction in the form of software.
  • the optical transceiver 1302 is used to receive the OTN frame sent by the peer device (also referred to as the sending device), and send it to the processor 1301 for subsequent processing.
  • the memory 1303 may be used to store instructions such that the process 1301 may be used to perform steps as mentioned in the above figures. Alternatively, the storage 1303 may also be used to store other instructions to configure parameters of the processor 1301 to implement corresponding functions.
  • processor 1301 and the memory 1303 may be located in a tributary board in the hardware structure diagram of the network device shown in FIG. 2 , or may be located in a single board that integrates a tributary and a line.
  • both the processor 1301 and the memory 1303 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. 10 may also be used to execute the method steps involved in the modification of the embodiment shown in the above-mentioned drawings, and details are not repeated here.
  • the processor 1301 in the embodiment of the present application 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, and may realize or execute 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 1301 to implement the above methods may be stored in the memory 1303 .
  • the memory 1303 is coupled to the processor 1301 .
  • 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 1301 may cooperate with memory 1303 .
  • the memory 1303 may be a non-volatile memory, such as a hard disk (hard disk drive, HDD), and may also be a volatile memory (volatile memory), such as a random-access memory (random-access memory, RAM).
  • the memory 1303 is any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and 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 service processing method, apparatus and system in an optical transport network (OTN). The service processing method disclosed in the present application comprises a plurality of steps. First, an OTN device obtains service data, and then the OTN device maps the service data into an optical service unit (OSU) frame, wherein the OSU frame comprises an overhead part and a payload part, the overhead part is used for bearing overhead information, and the payload part is used for bearing the service data. Second, the OTN device maps the OSU frame into a plurality of payload blocks of an OTN frame, an interval between two adjacent payload blocks of the plurality of payload blocks satisfying a preset interval constraint. Finally, the OTN device sends the OTN frame to a target OTN device. By defining the position of an OSU frame mapped to payload blocks, the service processing solution disclosed in the present application reduces the risk of service loss. In addition, the method also simplifies processing and management of frame mapping, and reduces the complexity of the device.

Description

一种光传送网中的业务处理的方法、装置和系统Method, device and system for service processing in optical transport network
本申请要求于2022年1月14日提交中国国家知识产权局、申请号202210041213.3、申请名称为“一种光传送网中的业务处理的方法、装置和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with application number 202210041213.3 and application title "A Method, Device and System for Service Processing in Optical Transport Network" submitted to the State Intellectual Property Office of China on January 14, 2022. The entire contents are incorporated by reference in this application.
技术领域technical field
本申请涉及光通信技术领域,尤其涉及光传送网中业务处理技术。The present application relates to the technical field of optical communication, in particular to the service processing technology in the 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 supports 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帧的设备无法判断OSU帧携带的业务数据,从而造成对应的业务数据的部分丢失,这降低了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 code error occurs in the indication information, the device receiving the OTN frame cannot determine the service data carried by the OSU frame, resulting in partial loss of the corresponding service data, which reduces the reliability 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.
第一方面,本申请实施例提供了一种光传送网(OTN)中业务处理的方法。该方法包括多个步骤。首先,第一OTN设备获取业务数据。然后,第一OTN设备将所述业务数据映射到光业务单元(OSU)帧中,所述OSU帧包括开销部分和净荷部分,所述开销部分用于承载开销信息,所述净荷部分用于承载所述业务数据。接着,第一OTN设备将所述OSU帧映射到OTN帧的多个净荷块中,所述多个净荷块的相邻的两个净荷块的间隔满足预设的间隔约束;最后,第一OTN设备将所述OTN帧发送给第二OTN设备。In a first aspect, the embodiment of the present application provides a service processing method in an optical transport network (OTN). The method includes several steps. First, the first OTN device acquires service data. Then, the first OTN device maps the service data into an optical service unit (OSU) frame, the OSU frame includes an overhead part and a payload part, the overhead part is used to carry overhead information, and the payload part uses to bear the business data. Next, the first OTN device maps the OSU frame into a plurality of payload blocks of the OTN frame, and the interval between two adjacent payload blocks of the plurality of payload blocks satisfies a preset interval constraint; finally, The first OTN device sends the OTN frame to the second OTN device.
通过限定OSU帧映射到净荷块的位置,本申请揭示的业务处理方案降低业务丢失的风险。此外,该方法还简化了帧映射的处理和管理,降低了设备的复杂度。By limiting the position where the OSU frame is mapped to the payload block, the service processing solution disclosed in this application reduces the risk of service loss. In addition, the method simplifies the processing and management of the frame map and reduces the complexity of the device.
在一种具体的实现方式中,将所述OSU帧映射到所述OTN帧的多个净荷块中,所述多个净荷块的相邻的两个净荷块的间隔满足预设的间隔约束,包括两个步骤。第一,按照所述预先的间隔约束,确定承载所述OSU帧的所述多个净荷块的位置信息;第二,将所述OSU帧映射到所述位置信息对应的所述OTN帧的所述多个净荷块中。In a specific implementation manner, the OSU frame is mapped to multiple payload blocks of the OTN frame, and the interval between two adjacent payload blocks of the multiple payload blocks satisfies a preset Interval constraints, consisting of two steps. First, determine the location information of the plurality of payload blocks carrying the OSU frame according to the pre-set interval constraint; second, map the OSU frame to the OTN frame corresponding to the location information in the plurality of payload blocks.
在一种具体的实现方式中,所述方法还包括第一OTN设备发送所述位置信息给第二OTN设备。具体地,可以通过如下任意一种方式来发送该位置信息:将所述位置信息放置在所述OTN帧的净荷块中以发送给所述OTN设备;将所述位置信息放置在所述OTN帧的开销区以发送给所述OTN设备;或者,发送所述位置信息给网络管理系统,以使得所述网络管理系统传递所述位置信息给所述OTN设备。In a specific implementation manner, the method further includes the first OTN device sending the location information to the second OTN device. Specifically, the location information may be sent in any of the following ways: placing the location information in the payload block of the OTN frame to send to the OTN device; placing the location information in the OTN The overhead area of the frame is sent to the OTN device; or, the location information is sent to a network management system, so that the network management system transmits the location information to the OTN device.
具体地,间隔约束可以有多种实现方式。在一种具体的实现方式中,间隔约束为固定数量的净荷块。例如,所述固定数量为P/C的取整值,其中,P为所述OTN帧的一个复用周期包含的净荷块的数量,C为所述OSU帧占用的净荷块的数量。在另一种具体的实现方式中,间隔约束为包含一个数值范围的净荷块。例如,所述数值范围为((P/C)*(1-50%)的取整值,(P/C)*(1+50%)的取整值),,或者((P/C)*(1-520%)的取整值,(P/C)*(1+20%)的取整值)。其中,P为所述OTN帧的一个复用周期包含的净荷块的数量,C为所述OSU帧占用的净荷块的数量。在又一种具体的实现方式中,间隔约束包括平均数据块间隔值A和最大数据块间隔偏差值T,其中,所述多个净荷块中相邻的两个净荷块的间隔落在(A-T,A+T)内。Specifically, interval constraints can be implemented in various manners. In a specific implementation, the spacing constraint is a fixed number of payload blocks. For example, the fixed number is an integer value of P/C, where P is the number of payload blocks included in one multiplexing period of the OTN frame, and C is the number of payload blocks occupied by the OSU frame. In another specific implementation manner, the interval constraint is a payload block containing a range of values. For example, the numerical range is (rounded value of (P/C)*(1-50%), rounded value of (P/C)*(1+50%)), or ((P/C )*(1-520%) rounded value, (P/C)*(1+20%) rounded value). Wherein, P is the number of payload blocks included in one multiplexing cycle of the OTN frame, and C is the number of payload blocks occupied by the OSU frame. In yet another specific implementation, the interval constraint includes an average data block interval value A and a maximum data block interval deviation value T, wherein the interval between two adjacent payload blocks among the plurality of payload blocks falls within Within (A-T, A+T).
在一种具体的实现中,所述方法还包括:第一设备确定所述业务数据对应的净荷块从所述多个净荷块改变为多个另一净荷块;然后,第一设备将所述业务数据映射到的多个另一OSU帧映射到所述多个另一净荷块中,所述多个另一净荷块中的每一个净荷块的位置相对于所述多个净荷块的对应的净荷块的位置的变化满足预定的约束。通过约束OSU帧映射到的净荷块发生变化的范围,可以简化设计,降低帧管理的复杂度。In a specific implementation, the method further includes: the first device determines that the payload block corresponding to the service data is changed from the multiple payload blocks to multiple other payload blocks; then, the first device Mapping a plurality of other OSU frames to which the service data is mapped into the plurality of other payload blocks, where the position of each payload block in the plurality of other payload blocks is relative to the plurality of other payload blocks The change of the position of the corresponding payload block of the payload blocks satisfies a predetermined constraint. By constraining the changing range of the payload block to which the OSU frame is mapped, the design can be simplified and the complexity of frame management can be reduced.
具体地,预定的约束为位置变化的最大偏离的净荷块的数量。Specifically, the predetermined constraint is the number of payload blocks with the largest deviation in position change.
在一种具体的实现中,所述方法还包括:将所述OSU帧的业务标识放置到所述多个净荷块中,所述业务标识用于业务校验。通过携带业务标识来和OSU帧映射的净荷块位置信息进行校验,可以进一步提高业务传输的可靠性。In a specific implementation, the method further includes: placing the service identifier of the OSU frame into the plurality of payload blocks, and the service identifier is used for service verification. The reliability of service transmission can be further improved by carrying the service identifier to check the position information of the payload block mapped to the OSU frame.
第二方面,本申请实施例提供了一种光传送网(OTN)装置。所述装置包括处理器和光收发器。其中,所述处理器用于执行第一方面或者第一方面的任一具体实现所述的方法。所述发送所述OTN帧给OTN设备,包括:所述处理器发送所述OTN帧给所述光收发器;所述光收发器发送所述OTN帧给所述OTN设备。In a second aspect, the embodiment of the present application provides an Optical Transport Network (OTN) device. The apparatus includes a processor and an optical transceiver. Wherein, the processor is configured to execute the first aspect or any specific implementation method of the first aspect. The sending the OTN frame to the OTN device includes: the processor sending the OTN frame to the optical transceiver; and the optical transceiver sending the OTN frame to the OTN device.
第三方面,本申请实施例提供一种芯片。所述芯片包括处理器和通信接口。所述处理用于执行第一方面或者第一方面的任一具体实现所述的方法。所述通信接口用于和处理器交互完成帧的发送或接收。In a third 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 the first aspect or any specific implementation method of the first aspect. The communication interface is used to interact with the processor to complete sending or receiving frames.
第四方面,本申请实施例提供一种光通信系统。所述光通信通信系统包括客户设备和第二方面所述的OTN装置。其中,所述客户设备发送所述业务数据给所述OTN装置。In a fourth aspect, the embodiment of the present application provides an optical communication system. The optical communication communication system includes client equipment and the OTN device described in the second aspect. Wherein, the client equipment sends the service data to the OTN device.
可选地,光通信系统还包括另一OTN装置和另一客户设备。所述客户设备通过所述OTN装置和另一OTN装置发送业务数据给所述另一客户设备。Optionally, the optical communication system further includes another OTN device and another client equipment. The client equipment sends service data to the other client equipment through the OTN device and another OTN device.
附图说明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 flowchart of the first business processing method provided by the embodiment of the present application;
图5为本申请实施例提供的第二种业务处理方法的流程示意图;FIG. 5 is a schematic flowchart of a second business processing method provided by the embodiment of the present application;
图6为图5所示的实施例的净荷块分配方法的示意图;Fig. 6 is a schematic diagram of the payload block distribution method of the embodiment shown in Fig. 5;
图7为本申请实施例提供的第三种业务处理方法的流程示意图;FIG. 7 is a schematic flowchart of a third business processing method provided by the embodiment of the present application;
图8为本申请实施例提供的第四种业务处理方法的流程示意图;FIG. 8 is a schematic flowchart of a fourth business processing method provided by the embodiment of the present application;
图9为本申请实施例提供的第五种业务处理方法的流程示意图;FIG. 9 is a schematic flowchart of a fifth business processing method provided by the embodiment of the present application;
图10为一种可能的网络设备的结构示意图。Fig. 10 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中。例如,将OSU帧映射到OTN帧中指的是将OSU帧或者OSU信号封装到OTN帧中。6). The mapping of A to B mentioned in this application refers to encapsulating A into B. For example, mapping an OSU frame into an OTN frame refers to encapsulating an OSU frame or an OSU signal into an OTN frame.
7)、除非特殊说明,一个实施例中针对一些技术特征的具体描述也可以应用于解释其他实施例提及对应的技术特征。例如,一个实施例中针对间隔约束的具体实现方式或替换名称的描述也可以应用于说明其他实施例中提到的间隔约束。又如,针对OTN帧的具体举例和说明等。此外,为了更加明显地体现不同实施例中的组件的关系,本申请采用相同或相似的附图编号来表示不同实施例中功能相同或相似的组件。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 description of a specific implementation manner or alternate name of an interval constraint in one embodiment may also be applied to explain the interval constraint mentioned in other embodiments. As another example, specific examples and descriptions of OTN frames are provided. 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 with the same or similar functions in different embodiments.
本申请实施例适用于光网络,例如:OTN。一个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 networks, such as OTN. 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帧,用于承载各种业务数据,并提供丰富的管理和监控功能。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技术发展,可能定义出新的类型的OTN帧,也适用于本申请。此外,本申请揭示的方法也可以适用于灵活以太网(Flexible Ethernet,FlexE)帧。It should be noted that the data frame structure used by the OTN device in the embodiment of the present application is 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 OTN 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 a Flexible Ethernet (Flexible Ethernet, FlexE) frame.
图2为一种可能的网络设备硬件结构示意图。例如,图1中的设备A。具体地,OTN设备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 OTN device 200 includes a tributary board 201 , a cross-connect board 202 , a line board 203 , an optical layer processing board (not shown in the 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用于处理OTN的电层信号。其中,支路板201用于实现各种客户业务的接收和发送,例如SDH业务、分组业务、以太网业务和/或前传业务等。更进一步地,支路板201可以划分为客户侧光收发模块和信号处理器。其中,客户侧光收发模块也可以称为光收发器,用于接收和/或发送业务数据。信号处理器用于实现对业务数据到数据帧的映射和解映射处理。交叉板202用于实现数据帧的交换,完成一种或多种类型的数据帧的交换。线路板203主要实现线路侧数据帧的处理。具体地,线路板203可以划分为线路侧光模块和信号处理器。其中,线路侧光模块可以称为光收发器,用于接收和/或发送数据帧。信号处理器用于实现对线路侧的数据帧的复用和解复用,或者映射和解映射处理。系统控制和通信类单板204用于实现系统控制。具体地,可以从不同的单板收集信息,或将控制指令发送到对应的单板上去。需要说明的是,除非特殊说明,具体的组件(例如信号处理器)可以是一个或多个,本申请不做限制。还需要说明的是,对设备包含的单板类型以及单板的功能设计和数量,本申请不做任何限制。需要说明的是,在具体的实现中,上述两个单板也可能设计为一个单板。此外,网络设备还可能包括备用电源、用于散热的风扇等。The tributary board 201 , the cross-connect board 202 and the circuit board 203 are used to process electrical layer signals of the OTN. 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 the exchange of one or more types of data frames. 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为一种OTN帧的示意,其为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 OTN frame, which 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.
光业务单元(Optical Service Unit)帧301,如图3所示,包括开销区和净荷区。其中,OSU帧301的开销区用于承载开销信息。例如,开销信息可以包括表1所示的一种或多种信息。OSU帧301的净荷区用于承载业务数据。一个OSU帧的速率定义为基准速率的整数倍。其中,基准速率可以为2.6Mbps、5.2Mbps或10.4Mbps或前面这些数值的倍数等。Optical Service Unit (Optical Service Unit) frame 301, as shown in Figure 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 preceding values.
表1开销子帧可能携带的开销举例Table 1 Examples of overheads that may be carried by overhead subframes
Figure PCTCN2023070332-appb-000001
Figure PCTCN2023070332-appb-000001
如图3所示,OSU帧映射到OTN帧的净荷区。具体地,OSU帧映射到OTN帧的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.
为了简化和高效承载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 period. 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)可以定义为: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:
Figure PCTCN2023070332-appb-000002
Figure PCTCN2023070332-appb-000002
其中,
Figure PCTCN2023070332-appb-000003
表示向下取整;R opu_pld表示OPU帧的净荷区的速率;T opu表示OPU的频偏(例如:可以是20ppm);R ref表示OSU帧的基准速率。1000ppm是基准速率的频偏,该数值可以替换为100ppm或者其他数值。应理解,上述定义只是示例,例如也可以采用公式(1-2)来计算P值。
in,
Figure PCTCN2023070332-appb-000003
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 (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, for example, formula (1-2) can also be used to calculate the P value.
需要说明的是,传送周期可以称为P帧,时隙复用帧、时隙复用组、复用帧,复用周期或传送帧。对此,本申请不做限定。表2给出了一些OTN帧对应的P的一些示例。需要说明的是,表2是以OSU帧的基准速率为2.6Mbit/s为例,来计算对应的P值的。It should be noted that the transmission period may be called a P frame, a time slot multiplexing frame, a time slot multiplexing group, a multiplexing frame, a multiplexing period or a transmission frame. In this regard, this application does not make a limitation. Table 2 gives some examples of P corresponding to some OTN frames. It should be noted that Table 2 calculates the corresponding P value by taking the reference rate of the OSU frame as 2.6 Mbit/s as an example.
表2一些OTN帧的P值示例Table 2 Examples of P values for some OTN frames
Figure PCTCN2023070332-appb-000004
Figure PCTCN2023070332-appb-000004
一种可能的映射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 the identification code is wrong). 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.
为此,本申请提供了一种新的业务处理的方法。通过约束OSU帧占用的多个PB之间的间隔,该方法简化了OSU帧到PB的映射,可以降低因业务标识误码导致的业务丢失的概率。此外,该方法因为引入了这个间隔约束,使得分配的PB分布均匀,降低了缓存的大小,降低了设备的复杂度。For this reason, this application provides a new business processing method. By constraining the interval between multiple PBs occupied by the OSU frame, the method simplifies the mapping from the OSU frame to the PB, and can reduce the probability of service loss caused by service identification errors. In addition, because the method introduces this interval constraint, the allocated PB is evenly distributed, the size of the cache is reduced, and the complexity of the device is reduced.
图4为本申请实施例提供的第一种业务处理方法的流程示意图。如图4所示,该方法包括如下多个步骤。以该方法的执行主体为图1所示的设备H为例,来说明这些步骤。应理解,本实施例也可以适用于图1中的其他连接了客户设备的OTN设备。Fig. 4 is a schematic flowchart of the first service processing method provided by the embodiment of the present application. As shown in Figure 4, the method includes the following steps. These steps will be described by taking the apparatus H shown in FIG. 1 as an example for executing the method. It should be understood that this embodiment may also be applicable to other OTN devices connected with client devices in FIG. 1 .
S401:获取业务数据;S401: Obtain business data;
具体地,设备H通过客户业务接口从客户设备2接收客户设备发送的业务数据。客户设备2的业务数据需要发送给客户设备3。Specifically, the device H receives the service data sent by the client device from the client device 2 through the client service interface. The service data of client device 2 needs to be sent to client device 3 .
S402:将所述业务数据映射到光业务单元(OSU)帧中,所述OSU帧包括开销部分和净荷部分,所述开销部分用于承载开销信息,所述净荷部分用于承载所述业务数据;S402: Map the service data into an optical service unit (OSU) frame, the OSU frame includes an overhead part and a payload part, the overhead part is used to carry overhead information, and the payload part is used to carry the business data;
具体地,设备H将获取到的业务数据装入OSU帧中。通常情况下,业务数据在一段时间内持续不断地产生。因此,本步骤的将数据业务映射到OSU帧中,指的是在任一单位时间(例如在一个传送周期)内,将获取的业务数据映射到一个或多个OSU帧中。那么,在下一个单位时间内,业务数据会装载入下一个或者多个OSU帧中。在前述两个单位时间内,OSU帧占用的PB净荷块的位置可能相同,也可能不同。对此本申请不做限定。Specifically, device H loads the acquired service data into OSU frames. Typically, business data is continuously generated over a period of time. Therefore, mapping data services into OSU frames in this step refers to mapping acquired service data into one or more OSU frames within any unit time (for example, in one transmission cycle). 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.
在一种可能的实现方式中,OSU帧为图3所示的帧结构。那么开销部分则为开销区,而净荷部分为净荷区。例如,OSU帧为192字节,其中,开销区为7字节,净荷区为185字节。在另外一种可能的实现方式中,一个OSU帧包括开销子帧和净荷子帧;每个子帧有一定的帧结构(例如,每个子帧为190字节)。前述两种子帧分别用于携带开销和承载业务数据。也就是说,开销部分为开销子帧,净荷部分为数据子帧。例如,一个OSU帧包含80个子帧,4个为开销子帧,76个为数据子帧,每个子帧为192字节。In a possible implementation manner, the OSU frame has the frame structure shown in FIG. 3 . Then the overhead part is the overhead area, and the payload part is the payload area. For example, an OSU frame is 192 bytes, wherein the overhead area is 7 bytes, and the payload area is 185 bytes. In another possible implementation manner, an OSU frame includes overhead subframes and payload subframes; each subframe has a certain frame structure (for example, each subframe is 190 bytes). The foregoing two subframes are respectively used to carry overhead and carry service data. That is to say, the overhead part is an overhead subframe, and the payload part is a data subframe. For example, an OSU frame includes 80 subframes, 4 are overhead subframes, 76 are data subframes, and each subframe is 192 bytes.
S403:将所述OSU帧映射到OTN帧的多个净荷块中,所述多个净荷块的相邻的两个净荷块的间隔满足预设的间隔约束;S403: Map the OSU frame to multiple payload blocks of the OTN frame, and the interval between two adjacent payload blocks of the multiple payload blocks satisfies a preset interval constraint;
具体地,设备H将承载了业务数据的OSU帧(即OSU信号)映射到OTN帧的多个PB中。应理解,前述的映射步骤可能是OSU帧直接映射到OTN帧,也可能是通过其他中间帧映射到OTN帧中。例如该中间帧为光业务支路单元(Optical Service Tributary Unit,OSTU),由对应的多个PB组成。具体地,OSU信号先映射到OSTU中,然后,OSTU再映射OTN帧中。Specifically, the device H maps the OSU frame carrying the service data (that is, the OSU signal) into multiple PBs of the OTN frame. It should be understood that in the foregoing mapping step, the OSU frame may be directly mapped to the OTN frame, or may be mapped to the OTN frame through other intermediate frames. For example, the intermediate frame is an optical service tributary unit (Optical Service Tributary Unit, OSTU), which is composed of corresponding multiple PBs. Specifically, the OSU signal is first mapped into the OSTU, and then the OSTU is mapped into the OTN frame.
应理解,OSU帧映射到OTN帧的多个净荷块中,可以是OSU帧先映射到OPU帧或ODU帧的净荷块中,然后经过时隙复用后再映射到OTU帧中。或者,该映射过程可以是OSU帧通过一个或者多个中间帧再映射到OTN帧中。又或者,OSU信号直接映射到OTU帧中。本 申请对OSU帧中的映射的层次不做限定。It should be understood that the OSU frame is mapped to multiple payload blocks of the OTN frame. It may be that the OSU frame is first mapped into the payload block of the OPU frame or the ODU frame, and then mapped into the OTU frame after time slot multiplexing. Alternatively, the mapping process may be that the OSU frame is re-mapped into the OTN frame through one or more intermediate frames. Alternatively, the OSU signal is directly mapped into the OTU frame. This application does not limit the level of mapping in the OSU frame.
在一种可能的实现中,间隔约束为固定数量的PB。在一种典型的设计中,该固定数量为P/C的取整值。其中,P为OTN帧包含的净荷块的数量,C为所述OSU帧占用的净荷块的数量。应理解,例如,如果P=30,C=3,那么预设的间隔约束为10。那么,该OSU信号可以分配一个传送周期中编号为1,11和21的PB。In one possible implementation, the interval is constrained to a fixed number of PBs. In a typical design, the fixed number is the rounded value of P/C. Wherein, P is the number of payload blocks included in the OTN frame, and C is the number of payload blocks occupied by the OSU frame. It should be understood that, for example, if P=30, C=3, then the preset interval constraint is 10. Then, the OSU signal can be assigned PBs numbered 1, 11 and 21 in a transmission cycle.
在另一种可能的实现中,间隔约束为取值为数值范围的PB。在一种典型的设计中,数值范围为((P/C)*(1-R)的取整值,(P/C)*(1+R)的取整值),其中,P为OTN帧包含的净荷块的数量,C为所述OSU帧占用的净荷块的数量。R是一个取值范围在(0,1]的数。例如,R可以等于1,或者等于0.2,或者等于0.5。在一种典型的设计中,R的取值范围为(0,0.5]。例如,如果P=30,C=3,R=0.2,那么间隔约束的取值范围为(8,12)。那么,该路OSU信号可以分配一个传送周期中编号为7,16,27的PB。In another possible implementation, the interval constraint is PB whose value is a numerical range. In a typical design, the value range is (rounded value of (P/C)*(1-R), rounded value of (P/C)*(1+R)), where P is OTN The number of payload blocks included in the frame, and C is the number of payload blocks occupied by the OSU frame. R is a number whose value ranges from (0,1]. For example, R can be equal to 1, or equal to 0.2, or equal to 0.5. In a typical design, the value range of R is (0,0.5]. For example, if P=30, C=3, R=0.2, then the value range of the interval constraint is (8, 12).So, this way OSU signal can be assigned the PB numbered as 7,16,27 in a transmission cycle .
在又一种可能的实现中,间隔约束包括基础间隔值A和最大间隔偏差值T,其中,所述多个净荷块中相邻的两个净荷块的间隔落在(A-T,A+T)内。例如,A=7,T=3。那么,两个相邻的OSU帧的间隔取值范围为(4,10)。其中,基础间隔也可以称为平均数据块间隔,可以为(P/C)的取整值。最大间隔偏差值也可以称为最大数据块间隔偏差,可以为(P/C)*R的取整值。关于P,C和R的含义参见前一种实现方式,在此不再赘述。In yet another possible implementation, the interval constraint includes a basic interval value A and a maximum interval deviation value T, wherein the interval between two adjacent payload blocks among the plurality of payload blocks falls within (A-T, A+ T). For example, A=7, T=3. Then, the value range of the interval between two adjacent OSU frames is (4, 10). Wherein, the basic interval may also be referred to as an average data block interval, which may be a rounded value of (P/C). The maximum interval deviation value may also be referred to as the maximum data block interval deviation, and may be a rounded value of (P/C)*R. For the meanings of P, C and R, refer to the previous implementation manner, which will not be repeated here.
需要说明的是,间隔约束可以称为间隔规则、间隔距离、距离约束或距离规则等。对此,本申请不做限定。此外,间隔是可以从起始位置的数据块开始计算或者是不包括起始位置的数据为开始计算的间隔。对此,本申请不做限定。It should be noted that the interval constraint may be called an interval rule, an interval distance, a distance constraint, or a distance rule. In this regard, this application does not make a limitation. In addition, the interval is an interval that can be calculated from the data block at the start position or the data that does not include the start position. In this regard, this application does not make a limitation.
应理解,上述多种可能的实现方式中提及的OTN帧可以是一个如图3所示的OTN帧;或者也可以替换为一个传送周期。为简化说明,后续除非特殊说明,OTN帧也包括传送周期。It should be understood that the OTN frame mentioned in the foregoing multiple possible implementation manners may be an OTN frame as shown in FIG. 3 ; or may also be replaced with a transmission period. To simplify the description, unless otherwise specified, the OTN frame also includes a transmission period.
S404:发送所述OTN帧给OTN设备。S404: Send the OTN frame to the OTN device.
具体地,设备H发送承载了OSU帧的OTN帧给设备F。应理解,设备F是连接目的客户设备3的OTN设备。前述的发送可以是直接的发送给设备F,即设备H和设备F存在直接的物理连接。或者,前述的发送也可以是设备H发送给下游的中间设备(例如图1中的设备G),中间设备在发送给设备F。Specifically, device H sends an OTN frame carrying an OSU frame to device F. It should be understood that the device F is an OTN device connected to the destination client device 3 . The foregoing sending may be directly sent to the device F, that is, there is a direct physical connection between the device H and the device F. Alternatively, the foregoing sending may also be sent by the device H to a downstream intermediate device (such as the device G in FIG. 1 ), and the intermediate device is sending to the device F.
通过约束OSU帧映射到的PB位置间隔,本申请实施例揭示的方法解决因为动态分配带来的潜在误码风险,发送设备和接收设备可以利用这个位置间隔来解析出OSU帧对应的PB位置,从而正确地还原出业务数据。By constraining the PB position interval to which the OSU frame is mapped, the method disclosed in the embodiment of the present application solves the potential bit error risk caused by dynamic allocation, and the sending device and the receiving device can use this position interval to resolve the PB position corresponding to the OSU frame, So as to correctly restore the business data.
下面将基于上面描述的本申请的一些共性方面,对本申请技术方案进一步说明。The technical solutions of the present application will be further described below based on some common aspects of the present application described above.
本申请的一个实施例提供了一种业务处理的方法、装置和系统。在本实施例中,以图1的网络场景为例,假设本实施例的发送端设备为F,接收端设备为A。设备F和设备A用于传输业务的路径示例地可以为设备F-设备G-设备H-设备A,其中,设备F为源设备,设备A为目的设备,设备G和设备H为中间设备。An embodiment of the present application provides a method, device and system for business processing. In this embodiment, taking the network scenario in FIG. 1 as an example, it is assumed that the sending end device is F and the receiving end device is A in this embodiment. The path used by device F and device A to transmit services may be, for example, device F-device G-device H-device A, wherein device F is a source device, device A is a destination device, and device G and device H are intermediate devices.
图5为本申请实施例提供的第二种业务处理方法的流程示意图。下面对每个步骤进行详细的介绍。在如下步骤中,步骤S401,S502-S504是发送端设备F执行的,步骤S601-S602是接收端设备A执行的。需要说明的是,为了避免冗余,接收设备A收到设备F发送的OTN帧在图5上未重复给出。FIG. 5 is a schematic flowchart of a second service processing method provided by the embodiment of the present application. Each step is described in detail below. In the following steps, steps S401, S502-S504 are executed by the sending end device F, and steps S601-S602 are executed by the receiving end device A. It should be noted that, in order to avoid redundancy, the OTN frame received by the receiving device A and sent by the device F is not shown repeatedly in FIG. 5 .
S401:获取业务数据;S401: Obtain business data;
本步骤跟图4的步骤S401类似,针对步骤S401的说明也适用于本步骤,此处不再赘述。例如,设备F通过客户业务接口接收业务数据。This step is similar to step S401 in FIG. 4 , and the description for step S401 is also applicable to this step, and will not be repeated here. For example, device F receives service data through a customer service interface.
S502:将所述业务数据映射到光业务单元(OSU)帧中,所述OSU帧包括开销区和净荷区,所述开销区用于承载开销信息,所述净荷区用于承载所述业务数据;S502: Map the service data into an optical service unit (OSU) frame, the OSU frame includes an overhead area and a payload area, the overhead area is used to carry overhead information, and the payload area is used to carry the business data;
具体地,本实施例以如图3所示的OSU帧为例,即包括开销区和净荷区。其中OSU帧的基准速率为10.4Mbps。需要说明的是,速率和带宽在本申请中是可以互换的概念。本步骤跟图4的步骤S402类似,针对步骤S402的其他说明也适用于本步骤,此处不再赘述。例如,针对OSU帧的长度,需要的OSU帧的数量等。Specifically, this embodiment takes the OSU frame shown in FIG. 3 as an example, which includes an overhead area and a payload area. Among them, the benchmark rate of the OSU frame is 10.4Mbps. It should be noted that rate and bandwidth are interchangeable concepts in this application. This step is similar to step S402 in FIG. 4 , and other descriptions for step S402 are also applicable to this step, which will not be repeated here. For example, for the length of the OSU frame, the number of required OSU frames, etc.
S503:将所述OSU帧映射到OTN复用帧的多个净荷块中,所述多个净荷块的相邻的两个净荷块的间隔满足预设的间隔数值;S503: Map the OSU frame to multiple payload blocks of the OTN multiplexing frame, and the interval between two adjacent payload blocks of the multiple payload blocks satisfies a preset interval value;
具体地,本实施例以OTN帧为ODU0为例,来构造OTN复用帧(或者简称复用帧)。其中,复用帧包含的净荷块数按照如下公式计算:Specifically, in this embodiment, an OTN multiplexed frame (or multiplexed frame for short) is constructed by taking the OTN frame as ODU0 as an example. Among them, the number of payload blocks contained in the multiplexing frame is calculated according to the following formula:
Figure PCTCN2023070332-appb-000005
Figure PCTCN2023070332-appb-000005
其中,10.4M为OSU帧的基础速率。X ppm为频偏,可以为0,20或100,ppm为百万分之一。R odu_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帧的边界保持对齐,简化设计实现,同时便于进行数据帧的管理。 Among them, 10.4M is the basic rate of the OSU frame. X ppm is the frequency offset, it can be 0, 20 or 100, and 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 constructed in this way and the ODU frame are kept aligned, which simplifies the design and implementation, and facilitates the management of the data frame.
步骤S504中计算满足间隔约束的PB有多种实现方式。例如,可以对PB的编号从小到大以及按照间隔约束的数值,依次分配PB给需要分配PB的OSU帧。又如,可以按照如图6所示的方法步骤来进行PB分配。There are many ways to realize the calculation of the PB satisfying the interval constraint in step S504. For example, PBs can be assigned sequentially to OSU frames that need to be assigned PBs, according to the number of PBs from small to large and according to the value of interval constraints. As another example, PB allocation may be performed according to the method steps shown in FIG. 6 .
图6为图5所示的实施例的净荷块分配方法的示意图。具体地,如图6所示的示例以在某个时间段内同时存在n个OSU信号为例,每一个OSU信号包括一个或者多个OSU帧,这n个OSU信号需要进行PB分配。如图6所示,每一个OSU信号的PB分配流程都执行方法700。需要说明的是,方法700给出是OSU信号获取到一次PB分配的过程。以OSU i信号为例,首先为该信号分配一个初始值Δi(即步骤Sum i=Δ i),该数值可以随机分配或者预先设置。然后,每次累加C i(C i为OSUi帧流中需要占用的PB块的个数)(即Sum i=Sum ii),获得一个累加值。当累加值大于等于P时(即Sum i>=P),生成一个PB位置指示(即获得一次分配PB的机会)。应理解,针对OSU i信号,图6所示的Sum i值累加、判断和获取PB位置指示的步骤(简称为获取PB分配机会循环)需要执行C i次,以获得C i个PB位置信息来承载OSU信号包含的所有OSU帧。需要说明的是,每次完成了下面描述的集中分配后,会对当前运行的Sum i进行减P的操作(即,执行Sum i=Sum i-P)),再继续进行前述的获取PB分配机会循环。 FIG. 6 is a schematic diagram of the payload block allocation method of the embodiment shown in FIG. 5 . Specifically, in the example shown in FIG. 6 , it is taken that n OSU signals exist simultaneously within a certain period of time, each OSU signal includes one or more OSU frames, and the n OSU signals need to be allocated with PBs. As shown in FIG. 6 , the PB allocation process of each OSU signal executes the method 700 . It should be noted that the method 700 presents a process in which the OSU signal is acquired to a PB allocation. Taking the OSU i signal as an example, first assign an initial value Δi to the signal (ie step Sum ii ), and this value can be randomly assigned or preset. Then, each time C i is accumulated (C i is the number of PB blocks that need to be occupied in the OSUi frame stream) (ie Sum i =Sum ii ), an accumulated value is obtained. When the accumulated value is greater than or equal to P (that is, Sum i >=P), a PB position indication is generated (that is, an opportunity to allocate PB is obtained). It should be understood that, for the OSU i signal, the steps of accumulating Sum i values, judging and obtaining the PB position indication shown in FIG. Carries all OSU frames contained in the OSU signal. It should be noted that each time the centralized allocation described below is completed, the currently running Sum i will be decremented by P (that is, execute Sum i = Sum i -P)), and then continue the aforementioned acquisition of PB allocation Opportunity loops.
应理解,上述的PB位置信息具体指的是PB在一个OTN复用帧或OTN帧中的编号,或者位置标识信息(例如:该PB在OTN中的行列信息等)。It should be understood that the above PB location information specifically refers to the number of the PB in an OTN multiplex frame or OTN frame, or location identification information (for example: rank and column information of the PB in the OTN, etc.).
需要说明的是,不同的OSU信号都可以按照上述方法700来获取PB分配机会,为了避免不同的OSU信号之间发生PB分配冲突,如图6所示,在获取了PB位置指示之后,可以按照预定的间隔约束,对n个OSU信号进行PB分配。也就是说,对n个OSU信号进行集中的PB分配,这么做可以防止为每个OSU信号独立分配PB存在的PB位置分配冲突问题。此外,如果多个OSU信号同时需要进行PB分配,可以按照预先约定的分配规则来对这多个OSU信号进行排序。例如,OSU信号对应的Sum i值最大的优先进行PB分配,如果Sum i值相同,则按照OSU帧编号排序(例如编号大的优先);或者,可以按照OSU信号的C i值排序,C i值大的优先。通过以上分配规则,确保每路OSU帧流分配的PB间隔在约束范围。 It should be noted that different OSU signals can obtain PB allocation opportunities according to the above method 700. In order to avoid PB allocation conflicts between different OSU signals, as shown in Figure 6, after obtaining the PB location indication, you can follow Predetermined interval constraints, PB allocation for n OSU signals. That is to say, centralized PB allocation is performed on n OSU signals, which can prevent the PB location allocation conflict problem that exists when each OSU signal is allocated PB independently. In addition, if multiple OSU signals need to be allocated PBs at the same time, the multiple OSU signals may be sorted according to a pre-agreed allocation rule. For example, the highest Sum i value corresponding to the OSU signal is given priority to PB allocation. If the Sum i value is the same, it is sorted according to the OSU frame number (for example, the number is larger first); or, it can be sorted according to the Ci value of the OSU signal. Larger values are preferred. Through the above allocation rules, ensure that the PB interval allocated for each OSU frame flow is within the constraint range.
通过如上的PB位置指示和集中分配,最终可以获得P个PB和n个OSU信号的关联信息,也就是获得P个PB分别对应承载的OSU帧。表2给出了一个PB分配示例。其中仅完整给出了业务标识信息为20的分配情况;假设其间隔数值为10,C值为7。应理解,业务标识信息也可以称为业务标识号、业务识别号、业务指示信息、业务占用指示信息或业务占用PB指示信息等。Through the above PB position indication and centralized allocation, the associated information of P PBs and n OSU signals can be finally obtained, that is, OSU frames respectively carried by P PBs can be obtained. Table 2 gives an example of PB allocation. Among them, only the distribution situation of the service identification information of 20 is given completely; assuming that the interval value is 10, and the value of C is 7. 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.
表2Table 2
PB编号PB number 业务标识信息business identification information
11 33
22 77
33 2020
1313 2020
23twenty three 2020
3333 2020
4343 2020
5353 2020
6363 2020
119119 1919
在映射OSU帧到PB块时,由于OSU速率低于分配的C个PB的总速率,需要进行速率适配,即插入填充块(也叫填充帧)来实现速率匹配。When mapping OSU frames to PB blocks, since the OSU rate is lower than the total rate of the allocated C PBs, rate adaptation is required, that is, stuffing blocks (also called stuffing frames) are inserted to implement rate matching.
应理解,因为采用固定的间隔数值和确定的PB分配解决冲突方法,这些规则信息可以提前配置到设备上。因此,设备之间无需交互该信息。接收端在接收到OTN帧后,可以按照这些配置的规则信息,计算出OTN帧的PB中用于承载同一业务数据的OSU帧,从而在收到OTN帧后,将对应的OSU帧解析出来,并最终获得业务数据。It should be understood that since a fixed interval value and a determined PB allocation conflict resolution method are adopted, these rule information can be configured on the device in advance. Therefore, there is no need for this information to be exchanged between devices. After receiving the OTN frame, the receiving end can calculate the OSU frame used to carry the same service data in the PB of the OTN frame according to the configured rule information, so that after receiving the OTN frame, it can parse the corresponding OSU frame. And finally get business data.
应理解,在具体实现时,当前步骤除了按照上述的多个子步骤,即:按照所述预先的间隔约束,确定承载所述OSU帧的所述多个净荷块的位置信息;然后,再将所述OSU帧映射到所述位置信息对应的所述多个净荷块中,还可以按照其他方式来实现。例如,可以将确定OSU帧和映射OSU帧到PB块上交替进行,直到完成OSU帧流到PB块的映射位置。对比,本申请不做限定。It should be understood that during specific implementation, in addition to following the above-mentioned multiple sub-steps in the current step, that is: determining the position information of the multiple payload blocks carrying the OSU frame according to the predetermined interval constraint; and then, The mapping of the OSU frame to the plurality of payload blocks corresponding to the location information may also be implemented in other manners. For example, determining the OSU frame and mapping the OSU frame to the PB block may be performed alternately until the mapping position of the OSU frame stream to the PB block is completed. In contrast, this application does not make a limitation.
S504:发送所述OTN复用帧给设备AS504: Send the OTN multiplexing frame to device A
具体地,设备F将承载了OSU帧的OTN复用帧发送设备A。应理解,S504也可以描述为设备F发送OTN帧给设备A,因为复用帧的帧结构是以OTN帧结构为基础的。例如,如果OTN帧的净荷区是4行3808列个字节的帧结构。那么,本实施例中,OTN复用帧是1.5倍的OTN帧,即6行3808列个字节的帧结构。Specifically, device F sends the OTN multiplex frame carrying the OSU frame to device A. It should be understood that S504 can also be described as device F sending the OTN frame to device A, because the frame structure of the multiplexing frame is based on the OTN frame structure. For example, if the payload area of the OTN frame has a frame structure of 4 rows and 3808 columns of bytes. Then, in this embodiment, the OTN multiplexing frame is 1.5 times the OTN frame, that is, a frame structure with 6 rows and 3808 columns of bytes.
应理解,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.
Figure PCTCN2023070332-appb-000006
Figure PCTCN2023070332-appb-000006
应理解,上面公式是以OSU速率为10.4M为例,119是以ODU0包含的P值为例。各个字段的含义可以参见前述其他公式的说明,在此不予赘述。如果以其他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 contained in ODU0 as an example. 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.
表3给出了上述公式计算出来的其他的P值的示例。例如,如果OSU帧映射的OTN复用帧为基于OPU2(或ODU2)的,那么该OTN复用帧包括12个OPU2帧(或ODU2)。为了从一组连续的OPU2帧(或ODU2)识别出一个OTN复用帧所包含的OPU2帧(或ODU2),可以采用OTN帧的复帧开销指示。例如,通过复帧指示开销的取值进行0-11循环的方式,可以通过获取复帧开销指示的值的方式来确定OTN复用帧对应的开始的OTN帧和包含的OTN帧的数量。Table 3 gives examples of other P values calculated by the above formula. For example, if the OTN multiplex frame mapped to the OSU frame is based on OPU2 (or ODU2), then the OTN multiplex frame includes 12 OPU2 frames (or ODU2). In order to identify the OPU2 frame (or ODU2) included in an OTN multiplexing 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 initial OTN frame corresponding to the OTN multiplexing frame and the number of included OTN frames can be determined by obtaining the value of the multiframe overhead indication.
表3基于ODU0帧计算出来的其他OTN帧的P值等信息Table 3 P value and other information of other OTN frames calculated based on ODU0 frame
Figure PCTCN2023070332-appb-000007
Figure PCTCN2023070332-appb-000007
Figure PCTCN2023070332-appb-000008
Figure PCTCN2023070332-appb-000008
S601:根据所述预设的间隔数值,从所述OTN复用帧解映射出所述OSU帧;S601: Demap the OSU frame from the OTN multiplexing frame according to the preset interval value;
S602:从所述OSU帧获取所述业务数据。S602: Obtain the service data from the OSU frame.
如上两个步骤是接收设备,即设备A,执行的动作。具体地,设备A收到了设备F发送的OTN复用帧(或OTN帧)后,解析或者解映射出所述OSU帧。因理解,收到的OTN复用帧可能还包括了承载着其他业务数据的OSU帧。因此,设备A需要根据预设的间隔数值,获取所述业务数据对应的PB位置信息。然后,根据这些PB位置信息,将从对应的PB位置取出的OSU帧作为一个整体来进行处理,以获得对应的业务数据。The above two steps are the actions performed by the receiving device, that is, device A. Specifically, after receiving the OTN multiplexing frame (or OTN frame) sent by the device F, the device A parses or demaps the OSU frame. It is understood that the received OTN multiplex frame may also include OSU frames carrying other service data. Therefore, device A needs to obtain the PB location information corresponding to the service data according to the preset interval value. Then, according to the PB position information, the OSU frame taken out from the corresponding PB position is processed as a whole to obtain the corresponding service data.
通过限定PB的间隔数值,本申请实施例的方法可以解决现有可能存在的误码风险,通过间隔数值来确定PB位置从而还原出业务数据,提高了网络的可靠性。此外,因为OSU帧占用的PB位置具有相对的确定性,这使得帧的管理相对较为简单,具有确定性,有利于保证设备的传输性能。By limiting the interval value of the PB, the method of the embodiment of the present application can solve the existing possible bit error risk, determine the PB position through the interval value to restore the service data, and improve the reliability of the network. In addition, because the PB position occupied by the OSU frame is relatively deterministic, this makes the management of the frame relatively simple and deterministic, which is conducive to ensuring the transmission performance of the device.
本申请的一个实施例提供了一种业务处理的方法、装置和系统。在本实施例中,以图1的网络场景为例,假设本实施例的发送端设备为A,接收端设备为H。应理解,本实施例也可以换成其他设备和业务传输路径。An embodiment of the present application provides a method, device and system for business processing. In this embodiment, taking the network scenario in FIG. 1 as an example, it is assumed that the sending end device is A and the receiving end device is H in this embodiment. It should be understood that this embodiment may also be replaced with other devices and service transmission paths.
图7为本申请实施例提供的第三种业务处理方法的流程示意图。需要说明的是,为了避免冗余,接收端设备A收到设备H发送的OTN帧在图7上未重复给出。还需要说明的是,步骤S401,S403和S404和图4中所示步骤相同,在此不再赘述。下面主要介绍步骤S802-S803,以及步骤S901-902。FIG. 7 is a schematic flowchart of a third service processing method provided by the embodiment of the present application. It should be noted that, in order to avoid redundancy, the OTN frame sent by the device H received by the receiving device A is not shown repeatedly in FIG. 7 . It should also be noted that steps S401 , S403 and S404 are the same as those shown in FIG. 4 , and will not be repeated here. The following mainly introduces steps S802-S803, and steps S901-902.
S401:获取业务数据;S401: Obtain business data;
S802:将所述业务数据映射到光业务单元(OSU)帧中,所述OSU帧包括开销子帧和净荷子帧,所述开销子帧用于承载开销信息,所述净荷子帧用于承载所述业务数据;S802: Map the service data into an optical service unit (OSU) frame, the OSU frame includes an overhead subframe and a payload subframe, the overhead subframe is used to carry overhead information, and the payload subframe is used for to bear the business data;
S403:将所述OSU帧映射到OTN帧的多个净荷块中,所述多个净荷块的相邻的两个净荷块的间隔满足预设的间隔约束;S403: Map the OSU frame to multiple payload blocks of the OTN frame, and the interval between two adjacent payload blocks of the multiple payload blocks satisfies a preset interval constraint;
S803:将所述多个净荷块的位置信息放置到所述OTN帧中;S803: Put the location information of the plurality of payload blocks into the OTN frame;
S404:发送所述OTN复用帧给设备H;S404: Send the OTN multiplexing frame to the device H;
如上多个步骤是发送设备A执行的动作。其中,S802给出了一种不同于图5所示实施例里的OSU帧的帧结构,即一个OSU帧由多个子帧组成,不同类型的子帧的功能不同。应理解,本实施例也可以替换为如图5所示的OSU帧的帧结构。The above multiple steps are the actions performed by the sending device A. Wherein, S802 provides a frame structure different from the OSU frame in the embodiment shown in FIG. 5 , that is, an OSU frame is composed of multiple subframes, and different types of subframes have different functions. It should be understood that this embodiment may also be replaced by the frame structure of the OSU frame as shown in FIG. 5 .
另外,设备A除了将承载了业务数据的OSU帧通过OTN帧发送给设备H,还将具体装载了这些OSU帧的PB的位置信息也通过OTN帧发送给设备H(即步骤S803)。表3给了一个设备A记录OSU帧对应的多个PB位置信息的示例。其中P表示的一个OTN帧(或者如图5所示的复用帧)包含的PB的数量,n标识的是这个OTN帧(或者复用帧)携带的业务总数。In addition, in addition to sending the OSU frames carrying the service data to the device H through the OTN frame, the device A also sends the location information of the PBs carrying the OSU frames to the device H through the OTN frame (that is, step S803). Table 3 gives an example of a device A recording multiple PB location information corresponding to an OSU frame. Where P represents the number of PBs contained in an OTN frame (or multiplexed frame as shown in FIG. 5 ), and n indicates the total number of services carried by the OTN frame (or multiplexed frame).
表3OSU帧对应的PB位置信息的示例Table 3 Example of PB location information corresponding to OSU frame
PB编号PB number 业务标识信息business identification information
11 55
22 21twenty one
33 2020
PP nno
通过发送如表3所示的PB和业务(即OSU帧)的关系信息给收端设备,收端设备可以正确取出业务数据。应理解,可以直接将属于同一业务标识的PB编号归为一组,发送n个PB编号组的方式来传递PB位置信息。对此本申请不做限定。By sending the relationship information between the PB and the service (that is, the OSU frame) shown in Table 3 to the receiving device, the receiving device can correctly retrieve the service data. It should be understood that PB numbers belonging to the same service identifier can be directly grouped into one group, and the PB location information can be transmitted in a manner of sending n PB number groups. This application is not limited to this.
如图4所示,间隔约束可以有多种实现方式。如果间隔约束是固定数量的PB,那么可以如图5所示实施例,不发送位置信息。或者,设备A也可以发送位置信息,用于校验。如果间隔约束为间隔范围或者其他类似的形式的PB,那么设备A可以发送位置信息以使得设备H可以正确解析出承载了同一个业务数据的OSU帧。具体地,在一种可能的实现方式中,设备A可以用OTN帧的一个或多个PB或者一个或多个PB的一部分来传递这个信息。在另一种可能的实现方式中,设备A可以利用OTN帧的开销,例如:OPU帧开销或者ODU帧开销来传递这个信息。此外,可选地,为提高该信息传递的可靠性,设备A可以通过编码或者传递多份同样的位置信息。或者,可以通过如图8所示的实施例来提高传输可靠性。As shown in Figure 4, the interval constraint can be realized in many ways. If the interval constraint is a fixed number of PBs, then in the embodiment shown in FIG. 5 , no location information is sent. Alternatively, device A may also send location information for verification. If the interval constraint is an interval range or other similar forms of PB, then device A can send location information so that device H can correctly parse out the OSU frame carrying the same service data. Specifically, in a possible implementation manner, device A may use one or more PBs or a part of one or more PBs of the OTN frame to transmit this information. In another possible implementation manner, device A may use OTN frame overhead, for example: OPU frame overhead or ODU frame overhead, to transmit this information. In addition, optionally, in order to improve the reliability of the information transmission, device A may encode or transmit multiple copies of the same location information. Alternatively, transmission reliability can be improved through the embodiment shown in FIG. 8 .
需要说明的是,上述利用OTN帧传递PB位置信息的方式可以理解为随路方式,也就是业务数据和对应的管理信息经过相同的路径来传递。替代地,设备A可以将PB位置信息发送网络管理系统或者网络控制器,然后由网络管理系统或者控制器来传递给设备H。对此,本申请不做限定。It should be noted that the above method of transmitting PB location information by using the OTN frame can be understood as a path-associated method, that is, service data and corresponding management information are transmitted through the same path. Alternatively, the device A may send the PB location information to the network management system or the network controller, and then the network management system or the controller transmits it to the device H. In this regard, this application does not make a limitation.
S901:根据所述净荷块的位置信息,从所述OTN帧解映射出所述OSU帧;S901: Demap the OSU frame from the OTN frame according to the position information of the payload block;
S602:从所述OSU帧获取所述业务数据。S602: Obtain the service data from the OSU frame.
如上两个步骤是接收设备H所执行的步骤。具体地,设备H从接收到的OTN帧中解析出PB位置信息,然后根据这个位置信息来解析OTN帧包含的OSU帧,即将承载了同一业务数据的OSU帧进行一起解映射,以最终获取业务数据,并发送给连接的客户设备,从而完成端到端的业务传输。The above two steps are steps performed by the receiving device H. Specifically, device H parses out the PB location information from the received OTN frame, and then parses the OSU frame contained in the OTN frame according to the location information, and demaps the OSU frames carrying the same service data together to finally obtain the service The data is sent to the connected client device to complete the end-to-end business transmission.
通过限定PB的间隔约束并传递OSU帧占用的PB位置信息,而不是利用每个PB携带业务标识的方法(误码风险较高),本申请实施例的方法可以解决现有可能存在的误码风险,通过间隔约束来确定PB位置从而还原出业务数据,提高了网络的可靠性。By limiting the interval constraint of PB and transmitting the PB position information occupied by the OSU frame, instead of using the method of each PB carrying the service identifier (the risk of bit error is high), the method of the embodiment of the present application can solve the existing possible bit error Risk, the location of PB is determined through interval constraints to restore business data, which improves the reliability of the network.
图8为本申请实施例提供的第四种业务处理方法的流程示意图。需要说明的是,为了避免冗余,接收端设备A收到设备H发送的OTN帧在图8上未重复给出。还需要说明的是,与图7相同编号的步骤可参见图7的相关描述,在此不再赘述。下面主要介绍步骤S1003,S1101和S1102。FIG. 8 is a schematic flowchart of a fourth service processing method provided by the embodiment of the present application. It should be noted that, in order to avoid redundancy, the OTN frame sent by the device H received by the receiving device A is not shown repeatedly in FIG. 8 . It should also be noted that for steps with the same numbers as those in FIG. 7 , reference may be made to the relevant description in FIG. 7 , and details are not repeated here. The following mainly introduces steps S1003, S1101 and S1102.
S401:获取业务数据;S401: Obtain business data;
S802:将所述业务数据映射到光业务单元(OSU)帧中,所述OSU帧包括开销子帧和净荷子帧,所述开销子帧用于承载开销信息,所述净荷子帧用于承载所述业务数据;S802: Map the service data into an optical service unit (OSU) frame, the OSU frame includes an overhead subframe and a payload subframe, the overhead subframe is used to carry overhead information, and the payload subframe is used for to bear the business data;
S403:将所述OSU帧映射到OTN帧的多个净荷块中,所述多个净荷块的相邻的两个净荷块的间隔满足预设的间隔约束;S403: Map the OSU frame to multiple payload blocks of the OTN frame, and the interval between two adjacent payload blocks of the multiple payload blocks satisfies a preset interval constraint;
S803:将所述多个净荷块的位置信息放置到所述OTN帧中;S803: Put the location information of the plurality of payload blocks into the OTN frame;
S1003:将所述OSU帧的业务标识放置到所述多个净荷块中;S1003: Put the service identifier of the OSU frame into the plurality of payload blocks;
S404:发送所述OTN复用帧给设备H。S404: Send the OTN multiplexing frame to the device H.
S901:根据所述净荷块的位置信息,从所述OTN帧解映射出所述OSU帧;S901: Demap the OSU frame from the OTN frame according to the position information of the payload block;
S1101:根据所述多个净荷块携带的业务标识信息,校验获取的所述OSU帧是否和所述位置信息匹配;S1101: According to the service identification information carried by the plurality of payload blocks, check whether the obtained OSU frame matches the location information;
S1102:确定匹配后,从所述OSU帧获取所述业务数据。S1102: After matching is determined, acquire the service data from the OSU frame.
如上步骤S401,S802,S403,S1003,S803和S404是发送端设备A执行的。其中,在S1003中,设备A在PB中除了会承载OSU帧,还会携带业务标识。具体地,可以通过携带支路端口(Tributary Port Number,TPN)或者其他能够唯一标识一个业务数据的标识。这个业务标识用于业务校验。具体地,这个业务标识可以用于收端设备H对收到的PB和OSU帧关联信息(即当前PB承载了哪个业务亦,可以称为OSU帧对应的PB位置信息)进行交叉校验,以进一步提高设备业务传输的可靠性。The above steps S401, S802, S403, S1003, S803 and S404 are performed by the sending end device A. Wherein, in S1003, in addition to carrying OSU frames in the PB, device A also carries service identifiers. Specifically, it may carry a tributary port (Tributary Port Number, TPN) or other identifiers that can uniquely identify a service data. This business identifier is used for business verification. Specifically, this service identifier can be used by the receiving end device H to cross-check the received PB and OSU frame related information (that is, which service is carried by the current PB, which can be called the PB position information corresponding to the OSU frame), so as to Further improve the reliability of equipment service transmission.
需要说明的是,OSU帧映射到PB中时,为了进行速率匹配,可能会插入填充块(该填充块不包含业务数据,通常为预先设定的数值)。对于这种填充块可以填入一个同一的填充块标识。或者,对于属于不同的OSU帧的填充块,可以填写OSU帧的TPN号,以更好地实现业务隔离(即可以明确地识别出属于某一路OSU信号的PB位置)。在后一种情况中,为了识别出OSU帧和填充块,可以通过新增一个比特位来区分。对应地,S901,S1101和S1102是接收设备H执行的。其中,S1101中,设备H会检验通过业务标识信息确定的OSU帧和获取到的位置信息是否匹配。如果确定一致(即匹配),设备H继续执行S1102,即获取业务数据。如果存在不匹配的情况,例如需要设备H来验证是否是PB位置信息传递错误,以确保业务数据解析传输的正确性。It should be noted that 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). An identical filler identifier can be entered for this filler. Or, for stuffing blocks belonging to different OSU frames, the TPN number of the OSU frame can be filled in to better realize service isolation (that is, the PB position belonging to a certain OSU signal can be clearly identified). In the latter case, in order to identify the OSU frame and the stuffing block, a new bit can be added to distinguish them. Correspondingly, S901, S1101 and S1102 are performed by the receiving device H. Wherein, in S1101, the device H checks whether the OSU frame determined by the service identification information matches the obtained location information. If it is determined to be consistent (that is, match), the device H continues to execute S1102, that is, acquires service data. If there is a mismatch, for example, device H is required to verify whether the transmission of PB location information is wrong, so as to ensure the correctness of business data analysis and transmission.
应理解,在本实施例中,S803是一个可选的步骤。也就是说,设备A和设备H不交互位置信息,分别通过配置信息去获取位置信息。通过步骤S1003,设备H可以验证其通过配置参数获取的位置信息是否正确,提高了数据传输的可靠性。It should be understood that in this embodiment, S803 is an optional step. That is to say, device A and device H do not exchange location information, but obtain location information through configuration information respectively. Through step S1003, the device H can verify whether the location information acquired through configuration parameters is correct, which improves the reliability of data transmission.
本实施例的有益效果类似图7,在此不再赘述。此外,通过进一步地传递业务标识信息,本实施例揭示的方法提高了位置信息传递的可靠性。The beneficial effects of this embodiment are similar to those shown in FIG. 7 , and will not be repeated here. In addition, by further transmitting the service identification information, the method disclosed in this embodiment improves the reliability of location information transmission.
图9为本申请实施例提供的第五种业务处理方法的流程示意图。本实施例主要是针对业务数量增加导致的OSU帧的数量发生改变,从而使得OSU帧和PB对应关系发生变化;或者是因为业务数据的速率发生变化导致的其对应的OSU帧的数量发生变化,从而使得OSU帧和PB的对应关系的场景。具体地,该方法包括如下步骤。FIG. 9 is a schematic flowchart of a fifth business processing method provided by the embodiment of the present application. This embodiment is mainly aimed at the change in the number of OSU frames caused by the increase in the number of services, so that the corresponding relationship between OSU frames and PBs changes; or the change in the number of corresponding OSU frames caused by changes in the rate of service data, Thus, the scene of the corresponding relationship between the OSU frame and the PB is made. Specifically, the method includes the following steps.
S1201:业务映射方法400S1201: Business mapping method 400
具体地,参见图4所示的说明,在此不再赘述。这个步骤将业务数据映射到OSU帧中,并通过一组PB位置来传递给对端设备。Specifically, refer to the description shown in FIG. 4 , which will not be repeated here. In this step, the service data is mapped into the OSU frame and passed to the peer device through a set of PB positions.
S1202:将所述业务数据映射到另一光业务单元(OSU)帧中;S1202: Map the service data into another optical service unit (OSU) frame;
具体地,业务数据在接下来某一个周期中,将这某一个周期的业务数据映射到另一OSU帧中。应理解,另一个OSU帧可能为一个或者多个。对此,本实施例不做限定。Specifically, in the next certain period of service data, the service data of this certain period is mapped into another OSU frame. It should be understood that there may be one or more other OSU frames. In this regard, this embodiment does not make a limitation.
需要说明的是,如果是业务数据的速率发生变化,那么当前OSU帧(即另一OSU帧)的数量和之前周期中使用的OSU帧数量不相同。或者,如果是因为其他新的业务需要映射到OSU帧中,那么当前的OSU帧的数量和之前周期中使用的OSU帧数量相同。It should be noted that if the rate of service data changes, the number of current OSU frames (that is, another OSU frame) is different from the number of OSU frames used in the previous cycle. Or, if it is because other new services need to be mapped into OSU frames, then the number of current OSU frames is the same as the number of OSU frames used in the previous cycle.
S1203:将所述另一OSU帧映射到另一OTN帧的多个另一净荷块中,所述多个另一净荷块中的每一个净荷块的位置相对于所述多个净荷块的对应的净荷块的位置的变化满足预定的约束;S1203: Map the other OSU frame into multiple other payload blocks of another OTN frame, where the position of each payload block in the multiple other payload blocks is relative to the multiple payload blocks The change of the position of the corresponding payload block of the charge block satisfies a predetermined constraint;
为了降低上述提及的变化的场景对业务分配的影响,在当前周期为OSU帧分配PB位置时,需要满足一定的约束。具体地,需要当前周期分配的PB位置和之前周期中分配的位置的相对变化比较小。例如,如果之前分配的是位置为1,11和21的3个PB块。如果需要对这个位置作调整的话,那么每个位置可以调整的范围可以设置一个最大PB偏差值。例如,可以为0.5*(P/C)的取整值。(如果该最大偏差值取值为2,表示的是当前周期PB的位置跟对应的前一周的PB位置的偏差在(-2,+2)个PB这个范围内。以最大PB偏差值为2为例,那么,当前周期分配的位置可以是2,12和20。应理解,本实施例中,当前周期分配的PB位置需要满足两个约束,一个是间隔约束,另外一个就是约束不同周期变化的范围的约束。In order to reduce the impact of the above-mentioned changing scenarios on service allocation, certain constraints need to be met when allocating PB positions for OSU frames in the current period. Specifically, the relative change between the PB position allocated in the current cycle and the position allocated in the previous cycle needs to be relatively small. For example, if 3 PB blocks with positions 1, 11 and 21 were previously allocated. If this position needs to be adjusted, then the adjustable range of each position can be set with a maximum PB deviation value. For example, it may be a rounded value of 0.5*(P/C). (If the maximum deviation value is 2, it means that the deviation between the current cycle PB position and the corresponding previous week's PB position is within the range of (-2,+2) PB. The maximum PB deviation value is 2 For example, then, the positions allocated in the current cycle can be 2, 12 and 20. It should be understood that in this embodiment, the PB position allocated in the current cycle needs to meet two constraints, one is the interval constraint, and the other is to constrain the change of different cycles range constraints.
S1204:发送所述另一OTN帧给OTN设备S1204: Send the other OTN frame to the OTN device
具体地,将承载了所述另一OSU帧的另一OTN帧发送给下游的OTN设备。Specifically, another OTN frame carrying the other OSU frame is sent to a downstream OTN device.
需要说明的是,针对该约定的约束的具体实现方式,以及收端设备的相关操作,以及一些可选的实现步骤可参见前述针对间隔约束的描述,在此不予赘述。It should be noted that for the specific implementation of the agreed constraint, the related operations of the receiving device, and some optional implementation steps, please refer to the foregoing description for the interval constraint, which will not be repeated here.
本实施例的有效果类似图4所示的效果。此外,通过约束变化时重新分配PB位置可以变化的范围,本申请实施例避免OSU帧映射位置发生较大变化,降低了帧的管理复杂度。The effect of this embodiment is similar to that shown in FIG. 4 . In addition, by constraining the changeable range of PB positions when reallocating changes, this embodiment of the present application avoids large changes in OSU frame mapping positions and reduces the complexity of frame management.
图10为一种可能的网络设备的结构示意图。如图10所示,网络设备1300包括处理器1301、光收发器1302和存储器1303。其中,存储器1303是可选的。网络设备1300既可以应用于发送侧设备,也应用于接收侧设备。Fig. 10 is a schematic structural diagram of a possible network device. As shown in FIG. 10 , a network device 1300 includes a processor 1301 , an optical transceiver 1302 and a memory 1303 . Wherein, the memory 1303 is optional. The network device 1300 can be applied to both the sending side device and the receiving side device.
在应用于发送侧设备时,处理器1301用于实现图4或图9所示或者图5,7-8中所示的发送设备所执行的方法。在实现过程中,处理流程的各步骤可以通过处理器1301中的硬件的集成逻辑电路或软件形式的指令完成上述附图的发送设备所执行的方法。光收发器1302用于接收处理发送的OTN帧,已发送给对端设备(亦称为接收设备)。When applied to a sending-side device, the processor 1301 is configured to implement the method executed by the sending device shown in FIG. 4 or FIG. 9 or shown in FIGS. 5, 7-8. 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 1301 or an instruction in the form of software. The optical transceiver 1302 is used to receive and process the sent OTN frame, which has been sent to the peer device (also called the receiving device).
在应用于接收侧设备时,处理器1301用于实现图5或7-8任一所示的接收设备所执行的方法。在实现过程中,处理流程的各步骤可以通过处理器1201中的硬件的集成逻辑电路或者软件形式的指令完成前述附图中所述的接收侧设备所执行的方法。光收发器1302用于接收对端设备(亦称为发送设备)发送的OTN帧,以发送给处理器1301使其进行后续的处理。When applied to a receiving-side device, the processor 1301 is configured to implement the method executed by the receiving device shown in any one of FIG. 5 or 7-8. In the implementation process, each step of the processing flow can implement the method executed by the receiving-side device described in the preceding figures through an integrated logic circuit of hardware in the processor 1201 or an instruction in the form of software. The optical transceiver 1302 is used to receive the OTN frame sent by the peer device (also referred to as the sending device), and send it to the processor 1301 for subsequent processing.
存储器1303可以用于存储指令,以使得处理1301可以用于执行如上述图中提及的步骤。或者,存储1303也可以用于存储其他指令,以配置处理器1301的参数以实现对应的功能。The memory 1303 may be used to store instructions such that the process 1301 may be used to perform steps as mentioned in the above figures. Alternatively, the storage 1303 may also be used to store other instructions to configure parameters of the processor 1301 to implement corresponding functions.
需要说明的是,处理器1301和存储器1303在图2所述的网络设备硬件结构图中,可能位于支路板中;也可能位于支路和线路合一的单板中。或者,处理器1301和存储器1303都包括多个,分别位于支路板和线路板,两个板配合完成前述的方法步骤。It should be noted that the processor 1301 and the memory 1303 may be located in a tributary board in the hardware structure diagram of the network device shown in FIG. 2 , or may be located in a single board that integrates a tributary and a line. Alternatively, both the processor 1301 and the memory 1303 include multiple ones, respectively located on the tributary board and the circuit board, and the two boards cooperate to complete the foregoing method steps.
需要说明的是,图10所述的装置也可以用于执行前述提及的附图所示的实施例变形所涉及的方法步骤,在此不再赘述。It should be noted that the device shown in FIG. 10 may also be used to execute the method steps involved in the modification of the embodiment shown in the above-mentioned drawings, and details are not repeated here.
本申请实施例中处理器1301可以是通用处理器、数字信号处理器、专用集成电路、现场 可编程门阵列或者其他可编程逻辑器件、分立门或晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件单元组合执行完成。处理器1301用于实现上述方法所执行的程序代码可以存储在存储器1303中。存储器1303和处理器1301耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。处理器1301可能和存储器1303协同操作。存储器1303可以是非易失性存储器,比如硬盘(hard disk drive,HDD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器1303是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。The processor 1301 in the embodiment of the present application 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, and may realize or execute 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 1301 to implement the above methods may be stored in the memory 1303 . The memory 1303 is coupled to the processor 1301 . 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 1301 may cooperate with memory 1303 . The memory 1303 may be a non-volatile memory, such as a hard disk (hard disk drive, HDD), and may also be a volatile memory (volatile memory), such as a random-access memory (random-access memory, RAM). The memory 1303 is any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and 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 (14)

  1. 一种光传送网(OTN)中业务处理的方法,其特征在于,所述方法包括:A method for service processing in an optical transport network (OTN), characterized in that the method comprises:
    获取业务数据;Obtain business data;
    将所述业务数据映射到光业务单元(OSU)帧中,所述OSU帧包括开销部分和净荷部分,所述开销部分用于承载开销信息,所述净荷部分用于承载所述业务数据;Mapping the service data into an optical service unit (OSU) frame, the OSU frame includes an overhead part and a payload part, the overhead part is used to carry overhead information, and the payload part is used to carry the service data ;
    将所述OSU帧映射到OTN帧的多个净荷块中,所述多个净荷块的相邻的两个净荷块的间隔满足预设的间隔约束;Mapping the OSU frame into a plurality of payload blocks of the OTN frame, where the interval between two adjacent payload blocks of the plurality of payload blocks satisfies a preset interval constraint;
    发送所述OTN帧给OTN设备。Send the OTN frame to the OTN device.
  2. 如权利要求1所述的方法,其特征在于,将所述OSU帧映射到所述OTN帧的多个净荷块中,所述多个净荷块的相邻的两个净荷块的间隔满足预设的间隔约束,包括:The method according to claim 1, wherein the OSU frame is mapped into multiple payload blocks of the OTN frame, and the interval between two adjacent payload blocks of the multiple payload blocks Satisfy preset spacing constraints, including:
    按照所述预先的间隔约束,确定承载所述OSU帧的所述多个净荷块的位置信息;determining the location information of the plurality of payload blocks carrying the OSU frame according to the pre-interval constraint;
    将所述OSU帧映射到所述位置信息对应的所述OTN帧的所述多个净荷块中。mapping the OSU frame to the plurality of payload blocks of the OTN frame corresponding to the location information.
  3. 如权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, further comprising:
    发送所述位置信息给所述OTN设备。Send the location information to the OTN device.
  4. 如权利要求3所述的方法,其特征在于,所述发送所述位置信息给所述OTN设备包括如下的任一种:The method according to claim 3, wherein the sending the location information to the OTN device comprises any of the following:
    将所述位置信息放置在所述OTN帧的净荷块中以发送给所述OTN设备;placing the location information in the payload block of the OTN frame to send to the OTN device;
    将所述位置信息放置在所述OTN帧的开销区以发送给所述OTN设备;placing the location information in an overhead area of the OTN frame to send to the OTN device;
    或者,发送所述位置信息给网络管理系统,以使得所述网络管理系统传递所述位置信息给所述OTN设备。Or, sending the location information to a network management system, so that the network management system transfers the location information to the OTN device.
  5. 如权利要求1-4任一所述的方法,其特征在于,所述间隔约束为固定数量的净荷块。The method according to any one of claims 1-4, wherein the interval constraint is a fixed number of payload blocks.
  6. 如权利要求5所述的方法,其特征在于,所述固定数量为P/C的取整值,其中,P为所述OTN帧的一个复用周期包含的净荷块的数量,C为所述OSU帧占用的净荷块的数量。The method according to claim 5, wherein the fixed number is an integer value of P/C, wherein P is the number of payload blocks included in one multiplexing cycle of the OTN frame, and C is the The number of payload blocks occupied by the OSU frame.
  7. 如权利要求1-4任一所述的方法,其特征在于,所述间隔约束为包含一个数值范围的净荷块。The method according to any one of claims 1-4, wherein the interval constraint is a payload block containing a range of values.
  8. 如权利要求7所述的方法,其特征在于,所述数值范围为((P/C)*(1-50%)的取整值,(P/C)*(1+50%)的取整值),其中,P为所述OTN帧的一个复用周期包含的净荷块的数量,C为所述OSU帧占用的净荷块的数量。The method according to claim 7, characterized in that, the numerical range is the rounded value of ((P/C)*(1-50%), the rounded value of (P/C)*(1+50%) Integer value), wherein, P is the number of payload blocks included in one multiplexing period of the OTN frame, and C is the number of payload blocks occupied by the OSU frame.
  9. 如权利要求1-4任一所述的方法,其特征在于,所述间隔约束包括平均数据块间隔值A和最大数据块间隔偏差值T,其中,所述多个净荷块中相邻的两个净荷块的间隔落在(A-T,A+T)内。The method according to any one of claims 1-4, wherein the interval constraint includes an average data block interval value A and a maximum data block interval deviation value T, wherein, among the plurality of payload blocks adjacent The interval between two payload blocks falls within (A-T, A+T).
  10. 如权利要求1-9任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-9, wherein the method further comprises:
    确定所述业务数据对应的净荷块从所述多个净荷块改变为多个另一净荷块;determining that the payload block corresponding to the service data is changed from the multiple payload blocks to multiple other payload blocks;
    将所述业务数据映射到的多个另一OSU帧映射到所述多个另一净荷块中,所述多个另一净荷块中的每一个净荷块的位置相对于所述多个净荷块的对应的净荷块的位置的变化满足预定的约束。Mapping a plurality of other OSU frames to which the service data is mapped into the plurality of other payload blocks, where the position of each payload block in the plurality of other payload blocks is relative to the plurality of other payload blocks The change of the position of the corresponding payload block of the payload blocks satisfies a predetermined constraint.
  11. 如权利要求10所述的方法,其特征在于,所述预定的约束为位置变化的最大偏离的净荷块的数量。The method according to claim 10, characterized in that the predetermined constraint is the number of payload blocks with a maximum deviation of the position change.
  12. 如权利要求1-11所述的方法,其特征在于,所述方法还包括:The method according to claims 1-11, further comprising:
    将所述OSU帧的业务标识放置到所述多个净荷块中,所述业务标识用于业务校验。Putting the service identifier of the OSU frame into the plurality of payload blocks, where the service identifier is used for service verification.
  13. 一种光传送网(OTN)装置,其特征在于,所述装置包括处理器和光收发器,其中:An optical transport network (OTN) device, characterized in that the device includes a processor and an optical transceiver, wherein:
    所述处理器用于执行如权利要求1-12任一所述的方法;The processor is configured to execute the method according to any one of claims 1-12;
    所述发送所述OTN帧给OTN设备,具体包括:The sending the OTN frame to the OTN device specifically includes:
    所述处理器发送所述OTN帧给所述光收发器;The processor sends the OTN frame to the optical transceiver;
    所述光收发器发送所述OTN帧给所述OTN设备。The optical transceiver sends the OTN frame to the OTN device.
  14. 一种光通信通信系统,其特征在于,所述光通信通信系统包括客户设备和如权利要求13所述的OTN装置,其中:An optical communication communication system, characterized in that the optical communication communication system comprises client equipment and the OTN device according to claim 13, wherein:
    所述客户设备发送所述业务数据给所述OTN装置。The client equipment sends the service data to the OTN device.
PCT/CN2023/070332 2022-01-14 2023-01-04 Service processing method, apparatus and system in optical transport network WO2023134508A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210041213.3 2022-01-14
CN202210041213.3A CN116489537A (en) 2022-01-14 2022-01-14 Method, device and system for processing service in optical transport network

Publications (1)

Publication Number Publication Date
WO2023134508A1 true WO2023134508A1 (en) 2023-07-20

Family

ID=87223729

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/070332 WO2023134508A1 (en) 2022-01-14 2023-01-04 Service processing method, apparatus and system in optical transport network

Country Status (2)

Country Link
CN (1) CN116489537A (en)
WO (1) WO2023134508A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117278891A (en) * 2023-11-21 2023-12-22 北京智芯微电子科技有限公司 Data transmission system, data transmission method and chip

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800614A (en) * 2009-02-05 2010-08-11 华为技术有限公司 Universal mapping and demapping method and device in optical transport network
WO2016058316A1 (en) * 2014-10-17 2016-04-21 中兴通讯股份有限公司 Method and apparatus for sending and receiving signals through optical channel transmission unit
CN111865887A (en) * 2019-04-30 2020-10-30 华为技术有限公司 Data transmission method and device in optical transport network
CN112511917A (en) * 2020-02-28 2021-03-16 中兴通讯股份有限公司 Service processing method and device in optical transport network and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800614A (en) * 2009-02-05 2010-08-11 华为技术有限公司 Universal mapping and demapping method and device in optical transport network
WO2016058316A1 (en) * 2014-10-17 2016-04-21 中兴通讯股份有限公司 Method and apparatus for sending and receiving signals through optical channel transmission unit
CN111865887A (en) * 2019-04-30 2020-10-30 华为技术有限公司 Data transmission method and device in optical transport network
CN112511917A (en) * 2020-02-28 2021-03-16 中兴通讯股份有限公司 Service processing method and device in optical transport network and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117278891A (en) * 2023-11-21 2023-12-22 北京智芯微电子科技有限公司 Data transmission system, data transmission method and chip
CN117278891B (en) * 2023-11-21 2024-04-12 北京智芯微电子科技有限公司 Data transmission system, data transmission method and chip

Also Published As

Publication number Publication date
CN116489537A (en) 2023-07-25

Similar Documents

Publication Publication Date Title
US11764874B2 (en) Method for processing low-rate service data in optical transport network, apparatus, and system
US10374738B2 (en) Method and apparatus for transporting client signals in an optical transport network
US11234055B2 (en) Service data processing method and apparatus
US10608766B2 (en) Multi-service transport and receiving method and apparatus
WO2020221141A1 (en) Method and device for transmitting data in optical transport network
WO2016026348A1 (en) Signal processing method, device and system
EP4027650A1 (en) Method and device for service processing in optical transport network, and system
CN113395613B (en) Method, device and system for carrying service
US11750314B2 (en) Service data processing method and apparatus
WO2023134508A1 (en) Service processing method, apparatus and system in optical transport network
CN102098595B (en) Customer signal transmitting method in optical transport network and related equipment
WO2023143577A1 (en) Method, apparatus and system for processing data frame in optical transport network
WO2024051586A1 (en) Method for processing data frame in optical transport network, apparatus and system
WO2023151483A1 (en) Data frame processing method and device
WO2023083254A1 (en) Optical signal transport method and apparatus
US11967992B2 (en) Data transmission method and apparatus in optical transport network

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

Country of ref document: EP

Kind code of ref document: A1