WO2021027434A1 - Service transmission method, device and system - Google Patents

Service transmission method, device and system Download PDF

Info

Publication number
WO2021027434A1
WO2021027434A1 PCT/CN2020/100283 CN2020100283W WO2021027434A1 WO 2021027434 A1 WO2021027434 A1 WO 2021027434A1 CN 2020100283 W CN2020100283 W CN 2020100283W WO 2021027434 A1 WO2021027434 A1 WO 2021027434A1
Authority
WO
WIPO (PCT)
Prior art keywords
forwarding
field
label
service
network device
Prior art date
Application number
PCT/CN2020/100283
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 WO2021027434A1 publication Critical patent/WO2021027434A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • H04L45/502Frame based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J2203/00Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
    • H04J2203/0001Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
    • H04J2203/0051Network Node Interface, e.g. tandem connections, transit switching
    • H04J2203/0053Routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J2203/00Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
    • H04J2203/0001Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
    • H04J2203/0073Services, e.g. multimedia, GOS, QOS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J2203/00Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
    • H04J2203/0001Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
    • H04J2203/0089Multiplexing, e.g. coding, scrambling, SONET
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Definitions

  • This application relates to the field of communication technology, and in particular to a method, device and system for service transmission.
  • OTN optical transport network
  • time-division multiplexing technology is usually used for data transmission, and the granularity of the traditional tributary slot division method is relatively large, and there is a waste of bandwidth for bearer services.
  • ODUk optical data unit-k
  • the embodiment of the present invention provides a method, device, and system for service transmission, which dynamically classifies small-particle forwarding tags to reduce forwarding complexity and improve bandwidth utilization.
  • an embodiment of the present invention provides a service forwarding method, including: a network device receives a first data frame carrying a customer service, and demaps the first data frame to obtain a forwarding label of the customer service; The network device obtains the level information of the forwarding label, and determines the first field of the forwarding label according to the level information, where the forwarding label includes the first field and the second field, and the first field Indicates the forwarding direction of the customer service, the second field indicates the identifier of the customer service, and the hierarchical information is used to identify the first field; the network device treats the customer service according to the first field Forward it.
  • the network device can forward customer services only by identifying the first field part of the forwarding label, which can reduce the complexity of customer service forwarding and improve bandwidth utilization.
  • the forwarding label can be the incoming label of the local node or the outgoing label of the upstream node.
  • nodes and network devices have the same meaning, but different expressions are used in different scenarios.
  • the application scenario of the technical solution provided by the embodiment of the present application is to directly divide the ODU payload area into n continuous flexible service units (payload blocks), where n can be infinitely large.
  • the rate of a single payload block can be infinitely small, and the corresponding flexible tributary unit is formed by one or more payload blocks, which helps to make the rate and service rate of the formed flexible tributary unit as completely consistent as possible.
  • the payload block is located in the payload area of the ODU frame, and may include one byte or multiple consecutive bytes, or multiple consecutive bits.
  • the size of a payload block can be an integer multiple of bytes, or an integer multiple of 8 bytes, such as 64 bytes, 128 bytes, 192 bytes, or 256 bytes.
  • the sizes of different payload blocks are the same, and the following specific examples are all described as examples.
  • the payload block can also be called a code block, OSUk, OSUflex or other names, which is not limited in this application.
  • a payload block is the smallest unit (also referred to as the smallest branch unit) that bears customer services, and is also the smallest unit for the service receiving node to forward the data frame after demapping.
  • the rate of a payload block can be a variable rate or a fixed rate.
  • Multiple payload blocks can be combined as a flexible tributary unit for carrying client services of corresponding rates. Different small-particle services are mapped into corresponding payload blocks according to their respective rates, and tags are added to the overhead of the payload blocks to implement end-to-end OAM functions. Among them, multiple payload blocks carrying the same small particle service may be continuous or discontinuous.
  • the method further includes: the network device changes the length of the first field.
  • the change in the number of service forwarding directions on the network device includes an increase in the number of forwarding directions and a decrease in the number of forwarding directions.
  • the increase in the number of forwarding directions means that the network device receives new customer services to a new forwarding direction, or the original customer Services are diverted at the network device, and new forwarding directions are added;
  • a decrease in the number of forwarding directions means that the original customer service on the network device stops sending, or the original customer service stops forwarding in at least one direction on the network device.
  • the method further includes: the network device acquires new layer information, identifies the new first field of the forwarding label according to the new layer information, and the network device according to the new The first field of forwards the customer service.
  • the length of the first field of the forwarding label is variable.
  • a network device receives a new customer service and goes to a new forwarding direction, or when the original customer service is diverted at the network device, a new forwarding direction is added.
  • the length of the first field is increased.
  • the one-to-one correspondence between the value of the first field and the forwarding direction is ensured, and the dynamic division of forwarding labels is realized.
  • the extra bits can be released by reducing the length of the first field. In this way, the released bits can be used for customer service identification, which improves bandwidth utilization.
  • the network device when the network device obtains new layer information and recognizes the first field of the forwarding label according to the new layer information, the value of the forwarding label of the existing service or the surviving service may remain unchanged. Change, the corresponding forwarding direction is also unchanged. In this way, business damage can be effectively avoided, and the complexity of implementation can be reduced.
  • the method further includes: the network device updates the forwarding label.
  • updating the forwarding label by the network device refers to updating the forwarding label to the outgoing label of the outgoing port.
  • the method further includes: the network device maps the customer service to a second data frame, the second data frame carrying an updated forwarding label, and sending the second data frame .
  • the forwarding label of the customer service may be updated at the ingress port of the downstream forwarding node.
  • the first field is located in the overhead area of the first data frame.
  • the first field may be located in the tag field of the overhead area, may also be located in the tag extension field of the overhead area, and may also be partially located in the tag field and partially located in the tag extension field. It is understandable that when the first field of the forwarding label has at least two bits, one bit may be in the label field and one bit may be in the label extension field, and the two bits may not be adjacent.
  • the tag extension field refers to the bits located outside the tag field (for example, 14 bits) of the overhead area, and is used as a part of the first field of the tag to identify the forwarding direction after being extended, such as unused bits in the overhead or reserved bits. In this way, the bits in the overhead area can be effectively used, and bandwidth utilization is further improved.
  • the location information of the first field is pre-configured in the network device, or the location information of the first field is carried by the overhead of the first data frame. In this way, the network device can determine the specific location of the first field in the overhead by acquiring the location information of the first field.
  • the label hierarchy of the ingress port of the same network device remains consistent. In this way, the forwarding implementation can be further simplified.
  • the forwarded customer service can be at least one of time division multiplexing (TDM) customer service, fixed rate packet (PKT-CBR) customer service, and variable rate packet (PKT-VBR) customer service.
  • TDM time division multiplexing
  • PTT-CBR fixed rate packet
  • PTT-VBR variable rate packet
  • an embodiment of the present invention provides a service forwarding device, which can be used to execute any method provided by any possible design of the first aspect.
  • the device may be a communication device.
  • the device can be divided into functional modules according to the method provided by any one of the possible designs in the first aspect.
  • each functional module can be divided corresponding to each function, or two or Two or more functions are integrated in one processing module, such as the forwarding module in the embodiment of the present application.
  • the device may include: a receiving module, configured to receive data frames carrying customer services; and a demapping module, configured to demap the data frames to obtain the forwarding label of the customer services;
  • the forwarding module is configured to obtain the level information of the forwarding label, determine the first field of the forwarding label according to the level information, and forward the customer service according to the first field, where the forwarding
  • the label includes the first field and a second field, the first field indicates the forwarding direction of the customer service, the second field indicates the identifier of the customer service, and the level information indicates the first field of the forwarding label.
  • the forwarding module is further configured to change the length of the first field when the number of service forwarding directions on the network device changes.
  • the change in the number of service forwarding directions on the network device includes an increase in the number of forwarding directions and a decrease in the number of forwarding directions.
  • the increase in the number of forwarding directions means that the network device receives new customer services to a new forwarding direction, or the original customer Services are diverted at the network device, and new forwarding directions are added;
  • a decrease in the number of forwarding directions means that the original customer service on the network device stops sending, or the original customer service stops forwarding in at least one direction on the network device.
  • the forwarding module is further configured to obtain new level information, identify the new first field of the forwarding label according to the new level information, and the forwarding module according to the new first field One field forwards the customer service.
  • the length of the first field of the forwarding label is variable.
  • a network device receives a new customer service and goes to a new forwarding direction, or when the original customer service is diverted at the network device, a new forwarding direction is added.
  • the length of the first field is increased.
  • the one-to-one correspondence between the value of the first field and the forwarding direction is ensured, and the dynamic division of forwarding labels is realized.
  • the extra bits can be released by reducing the length of the first field, so that the released bits can be released Used for customer service identification to improve bandwidth utilization.
  • the network device when the network device obtains new layer information and recognizes the first field of the forwarding label according to the new layer information, the value of the forwarding label of the existing service or the surviving service may remain unchanged. Change, the corresponding forwarding direction is also unchanged. In this way, business damage can be effectively avoided, and the complexity of implementation can be reduced.
  • the forwarding module is further configured to update the forwarding label after forwarding the customer service. Updating the forwarding label refers to updating the forwarding label to the outgoing label of the outgoing port.
  • the forwarding module is further configured to map the customer service to a second data frame, and the second data frame carries an updated forwarding label.
  • the receiving module may also be used to send the second data frame.
  • the first field is located in the overhead area of the first data frame and the second data frame.
  • the location information of the first field is pre-configured in the network device, or the location information of the first field is carried by the overhead of the first data frame.
  • the forwarding module is further configured to obtain the location information of the first field.
  • the client services processed by the forwarding module can be time division multiplexing (TDM) client services, fixed rate packet (PKT-CBR) client services, and variable rate packet (PKT-VBR) client services At least one of.
  • TDM time division multiplexing
  • PTT-CBR fixed rate packet
  • PTT-VBR variable rate packet
  • the label hierarchy of the ingress port of the same network device remains consistent. In this way, the forwarding implementation can be further simplified.
  • an embodiment of the present invention provides a service transmission system, which includes a client service source network device, a service forwarding network device, and a sink network device.
  • the system further includes the above-mentioned customer service transmission device.
  • the embodiments of the present invention provide a computer-readable storage medium for storing instructions that will drive the device to execute the foregoing method when the instructions are executed, wherein the computer-readable storage or computer program product.
  • this application provides a computer program product containing instructions, which when running on a computer, causes the computer to execute the methods described in the above aspects
  • an embodiment of the present invention provides a service forwarding method, including: a network device receives client services from client devices, forwards the client services, and maps the client services to data frames, where the overhead of the data frame carries A forwarding label, the forwarding label includes a first field and a second field, the first field indicates the forwarding direction of the customer service, and the second field indicates the identifier of the customer service.
  • the network device is the source node of the customer service, and the forwarding label is the outgoing label of the outgoing port of the network device, and can also be used as the ingress label of the ingress port of the downstream forwarding node.
  • an embodiment of the present invention provides a network device that is configured to execute any method provided by any possible design in the fifth aspect.
  • the network device can be divided into functional modules according to the method provided by any of the possible designs of the fifth aspect.
  • each functional module can be divided corresponding to each function, or two Or two or more functions are integrated in one processing module.
  • the network equipment may include cross-connect boards, tributary boards, and circuit boards.
  • the tributary boards are used to receive/send client services
  • the cross-connect boards are used to forward client services
  • the circuit boards are used to implement line-side data. Frame multiplexing and demultiplexing, mapping and demapping processing.
  • an embodiment of the present invention provides a service forwarding method, including: a network device receives a first data frame carrying a customer service, and demaps the first data frame to obtain a forwarding label of the customer service; Wherein, the forwarding label includes the first field and the second field, the first field indicates the forwarding direction of the customer service, and the second field indicates the identifier of the customer service; the network equipment customer service Send to the client device.
  • the network device can forward customer services only by identifying the first field part of the forwarding label, which can reduce the complexity of customer service forwarding and improve bandwidth utilization.
  • the network device is a sink node of the client service, and the sink node may also be a forwarding node of other client services.
  • the method further includes: outputting the client service from the out port of the network device.
  • the method further includes: the network device changes the length of the first field.
  • the method further includes: the network device acquires new layer information, identifies the new first field of the forwarding label according to the new layer information, and the network device according to the new The first field of forwards the customer service.
  • the network device when the network device obtains new layer information and recognizes the first field of the forwarding label according to the new layer information, the value of the forwarding label of the existing service or the surviving service may remain unchanged. Change, the corresponding forwarding direction is also unchanged. In this way, business damage can be effectively avoided, and the complexity of implementation can be reduced.
  • the method further includes: the network device updates the forwarding label.
  • the method further includes: the network device maps the remaining customer services into a second data frame, the second data frame carrying the updated forwarding label of the remaining customer services, and sending the second Data Frame.
  • the first field is located in the overhead area of the first data frame.
  • the location information of the first field is pre-configured in the network device, or the location information of the first field is carried by the overhead of the first data frame.
  • the label hierarchy of the ingress port of the same network device remains consistent. In this way, the forwarding implementation can be further simplified.
  • the forwarded customer service can be at least one of time division multiplexing (TDM) customer service, fixed rate packet (PKT-CBR) customer service, and variable rate packet (PKT-VBR) customer service.
  • TDM time division multiplexing
  • PTT-CBR fixed rate packet
  • PTT-VBR variable rate packet
  • an embodiment of the present invention provides a network device, which is configured to execute any method provided by any possible design in the seventh aspect.
  • the network device can be divided into functional modules according to the method provided by any of the possible designs of the seventh aspect.
  • each functional module can be divided corresponding to each function, or two Or two or more functions are integrated in one processing module.
  • the network equipment may include cross-connect boards, tributary boards, and circuit boards.
  • the tributary boards are used to receive/send client services
  • the cross-connect boards are used to forward client services
  • the circuit boards are used to implement line-side data. Frame multiplexing and demultiplexing, mapping and demapping processing.
  • any of the service transmission devices or communication equipment or computer storage media or computer program products in the transmission network provided above can be applied to the corresponding methods provided above, and therefore, what it can achieve For the beneficial effects, please refer to the beneficial effects in the corresponding method, which will not be repeated here.
  • FIG. 1 is a schematic diagram of an OTN frame structure applicable to embodiments of the present application
  • FIG. 2 is a schematic diagram of a payload block with additional overhead applicable to an embodiment of the present application
  • FIG. 3 is a schematic diagram of the correspondence between an ODU frame and n consecutive payload blocks applicable to embodiments of the present application;
  • FIG. 4 is a schematic diagram of a service forwarding node flow diagram applicable to embodiments of the present application.
  • FIG. 5 is a schematic diagram of a hierarchical label processing space structure applicable to embodiments of the present application.
  • FIG. 6 is a schematic flowchart of a method for service transmission in a transport network according to an embodiment of this application.
  • FIG. 7 is a schematic flowchart of another method for service transmission in a transport network according to an embodiment of the application.
  • FIG. 8 is a schematic diagram of a payload block structure of a tag extension in an optical transport network provided by an embodiment of this application;
  • FIG. 9 is a schematic diagram of an MPLS label format in a packet transport network provided by an embodiment of the application.
  • FIG. 10 is a schematic diagram of a method for service transmission in a packet transmission network according to an embodiment of this application.
  • FIG. 11 is a schematic structural diagram of a service transmission apparatus provided by an embodiment of this application.
  • FIG. 12 is a schematic structural diagram of a service transmission device provided by an embodiment of this application.
  • FIG. 13 is a schematic diagram of a service transmission system provided by an embodiment of this application.
  • the technical solutions provided by the embodiments of the present application can be applied to a service transmission network, specifically, can be applied to an optical network, such as OTN, and can also be applied to a packet transmission network, such as PTN.
  • An OTN (or PTN) is usually formed by connecting multiple OTN (or PTN) devices through optical fibers, forming different topological types such as linear, ring, and mesh.
  • the OTN frame processed by the OTN device can adopt the frame format defined by the International Telecommunication Union-Telecommunication Standard Sector (ITU-T).
  • ITU-T International Telecommunication Union-Telecommunication Standard Sector
  • the existing standards have defined multiple rate OTN frames, such as OPUk frames, ODUk frames, and OTUk frames.
  • k 0, 1, 2, 3, 4, Cn and flex respectively indicate that the bit rate is 1.25Gbit/s, 2.5Gbit/s, 10Gbit/s, 40Gbit/s, 100Gbit/s, n*100Gbit/s and n*1.25Gbit/s (n ⁇ 2).
  • the bit rates mentioned above are approximate values.
  • the bit rate of the OPU4 frame is more accurately 104.35597533 Gbit/s. Other examples will not be listed one by one.
  • Figure 1 shows a schematic diagram of the frame structure of an OTUk frame.
  • an OTUk frame has 4 rows * 4080 columns.
  • An OPUk frame may include an OPUk payload area and an OPUk overhead area (i.e. OPUk OH)
  • an ODUk frame may include an OPUk frame and an ODUk overhead area (i.e. ODUk OH)
  • an OTUk frame may include an ODUk frame, an OTUk overhead area (i.e. OTUk OH), Frame alignment signal (frame alignment signal, FAS) and forward error correction (forward error correction, FEC) check area.
  • frame alignment signal frame alignment signal, FAS
  • FEC forward error correction
  • columns 1 to 7 in row 1 are FAS and multiframe alignment signal (MFAS)
  • columns 8 to 14 in row 1 are OTUk OH
  • columns 1 to 14 in rows 2 to 4 are ODUk OH
  • columns 15-16 in rows 1 to 4 are OPUk OH
  • columns 17 to 3824 in rows 1 to 4 are OPUk payload areas
  • columns 3825 to 4080 in rows 1 to 4 are FEC check areas.
  • the ODU payload area is directly divided into n consecutive payload blocks.
  • the value of n can be arbitrary.
  • the rate of a single payload block can be variable.
  • the corresponding flexible tributary unit is formed by one or more payload blocks, which helps make the constituted
  • the rate of the flexible tributary unit and the service rate are as consistent as possible.
  • n may take a fixed value.
  • the rate of a single payload block may also be a fixed value.
  • each payload block may include 192 bytes. In this way, it is helpful for each customer service to occupy the most suitable bandwidth, which helps to minimize bandwidth waste, thereby greatly improving bandwidth resource utilization.
  • Fig. 2 is a schematic diagram of a payload block structure provided by an embodiment of the present invention.
  • a payload block includes overhead and payload, and the overhead can include tags and other overheads.
  • the label field contains n bits, which can identify 2 n services.
  • the first field of the label can be used to indicate the forwarding direction of the service.
  • the forwarding direction can be the outgoing port of the customer service.
  • the payload block is located in the payload area of the ODU frame, and may include one byte or multiple consecutive bytes, or multiple consecutive bits.
  • the size of a payload block can be an integer multiple of bytes, or an integer multiple of 8 bytes, such as 64 bytes, 128 bytes, 192 bytes, or 256 bytes.
  • the sizes of different payload blocks are the same, and the following specific examples are all described as examples.
  • the payload block can be called OSUflex, or OSUk or other names, which is not limited in this application.
  • a payload block is the smallest unit (also referred to as the smallest tributary unit) that carries customer services, and is also the smallest unit for the service receiving node to forward the data frame after demapping.
  • the rate of a payload block can be a variable rate or a fixed rate.
  • Multiple payload blocks can be combined as a flexible tributary unit for carrying client services of corresponding rates. Different small-particle services are mapped into corresponding payload blocks according to their respective rates, and tags are added to the overhead of the payload blocks to implement end-to-end OAM functions. Among them, multiple payload blocks carrying the same customer service may be continuous or discontinuous.
  • Fig. 3 is a schematic diagram of a frame structure provided by an embodiment of the present invention.
  • Figure 3 is based on the ODUk frame contained in the OTUk frame shown in Figure 1.
  • Figure a is the frame structure of the ODUk frame contained in the OTUk frame
  • Figure b is the n consecutive payload blocks and the n consecutive
  • the overhead area in figure b corresponds to (that is, occupies) the ODUk OH and OPUk OH in figure a
  • the n consecutive payload blocks correspond to (that is, occupy) the payload area of the ODU frame in figure a.
  • the client services carried in each payload block are transmitted in the order of "from top to bottom, from left to right" where they are located in the payload area.
  • multiple payload blocks carrying the same small particle service can be continuous or discontinuous.
  • n consecutive payload blocks used to carry multiple small-particle services are referred to as a carrying period.
  • the bearer period can also be referred to as a transmission period, a mapping period, or a data intermediate frame. In this regard, the embodiment of the present application does not limit it.
  • the number of payload blocks included in each bearer period is the same
  • the label described in this application can be located in the overhead area of the payload block, occupies a fixed length and has local significance, and is used to indicate the forwarding direction of the service.
  • the forwarding direction can be indicated by the cross ID or the outgoing port ID of the line board.
  • the location of the tag and the length of the tag may be slightly different.
  • the tag described in this embodiment of the application may divide the payload area of the ODU frame into After n consecutive payload blocks, an identifier located in the overhead of each payload block and occupying a certain bit length.
  • the label refers to the data packet located between the layer 2 message and the layer 3 message, occupying 20 bits in length, and is used to indicate the direction of service forwarding of downstream receiving nodes.
  • the client services that add overhead and are mapped into frames and can directly enter the physical layer for transmission are collectively referred to as data frames.
  • the data frame may be an OTN frame in an optical transport network, or a packet in a packet transport network.
  • the data frame includes overhead and payload.
  • the overhead of the data frame can be used to monitor and manage customer services and carry mapping information.
  • the mapping information can be used to characterize the mapping rules used when mapping customer services to data frames.
  • the overhead of a data frame includes but is not limited to data frame header indication, trail trace identifier (TTI), X bit-interleaved parity (BIP-X), and backward error indication ( backward error indication (BEI), backward defect indication (BD), status indication (status, STAT), time stamp, sequence identification, mapping overhead, etc.
  • TTI trail trace identifier
  • BIP-X X bit-interleaved parity
  • BEI backward error indication
  • BD backward defect indication
  • status indication status indication
  • STAT time stamp
  • sequence identification sequence identification
  • mapping overhead etc.
  • the payload of the data frame is used to carry customer services. .
  • FIG. 4 is a schematic diagram of a flow of a service forwarding node in a transport network provided by an embodiment of the application. As shown in Figure 4, it is a structure of three nodes for service transmission and forwarding in the transport network, including a service source node NE1, a sink node NE3, and a forwarding node NE2. Among them, the source node and the sink node may include a tributary board, a cross board NE, and a line board, and the forwarding node may include a cross board and at least two line boards.
  • Figure 4 is a port-based node structure diagram. A, B1, C1, D1, etc. are all physical ports of the circuit board for receiving or sending customer services.
  • one circuit board of a node may include multiple physical ports.
  • the left and right circuit boards of the forwarding node each include three physical ports for receiving or sending services.
  • a node usually refers to a network device, and the two have the same meaning in the present invention.
  • the control module can obtain the forwarding path of the customer service by calculating the path.
  • the ingress port of the node determines the forwarding direction of the customer service through the first field of the identification label.
  • the forwarding direction can be indicated by the cross ID or the port of the circuit board. logo to indicate.
  • the customer service is accessed by the ingress port A of the source node N1, reaches the egress port B1 of the source node N1 through the indication of the cross ID, writes the outgoing label L1 of the source node and maps it into a frame along with the service, and sends it to Downstream forwarding node N2.
  • the ingress port C1 of the forwarding node N2 receives the data frame, demaps it after framing, and obtains the payload block carrying the client service to be forwarded.
  • the payload block includes overhead and data.
  • the overhead includes a forwarding label, such as the outgoing label L1 of the source node N1 in Table 2.
  • the ingress port C1 of the forwarding node N2 obtains the label L1 in the payload block and recognizes the label L1 as 00.X according to the hierarchical information (such as 2.12).
  • the label L1 may include two fields.
  • the first field 00 is used to indicate the forwarding direction of the customer service (for example, outgoing port), and the second field Y is used to indicate the identification of the customer service (for example, the service ID).
  • the hierarchical information may indicate the division of the first field and the second field, and is used to identify the first field (forwarding direction). For example, the hierarchical information indicates the length or position of the first field, or indicates the length or position of the second field, or the length or position of the first field and the second field at the same time.
  • layer information 2.12 “2" is used to indicate that the first field "00" of the label L1 is 2 bits, and “12” is used to indicate that the second field "X" of the label L1 is 12 bits.
  • the outgoing label L1 on the source node N1 has the same value as the incoming label 01.Y on the forwarding node N2, and both include 14 bits in this embodiment.
  • the outgoing label L1 may not distinguish between the first field and the second field, and the incoming label is identified as 00.X through the hierarchical information 2.12 at the incoming port C1 of the forwarding node NE2.
  • the forwarding node N2 assigns the ingress port C1 to the corresponding cross ID of the payload block as 2, so that it is forwarded to the outgoing port D2 after cross scheduling on the cross board.
  • the payload block updates the outgoing label to L5 at the outgoing port D2 and maps it into a frame and sends it to the incoming port E2 of the sink node.
  • E2 receives the data frame, demaps after framing, and obtains the payload block of the service forwarding unit.
  • the ingress port E2 of node N3 obtains the label in the payload block and divides the label D2 into 1.N according to the hierarchical division information 1.13, determines that the first field of the label is a bit, and then according to the first field 1 and the circuit board outgoing port.
  • the corresponding relationship of F1, the corresponding cross ID allocated to the payload block by the ingress port E2 is 2, and is forwarded to the egress port F1 after cross scheduling on the cross board of the node N3, and the egress port F1 is the end of the service.
  • the outgoing label L1 of the source node N1 and the outgoing label L4 of the forwarding node N2 can also be divided into a first field and a second field. It should be noted that when the client service is specifically transmitted, the forwarding path includes a source node, a sink node, and at least one forwarding node.
  • the relationship between the forwarding label (including one or two of the incoming label and the outgoing label), physical port (outgoing port) and cross ID configured on each node can be represented by the following table:
  • the update of the forwarding label occurs at the outgoing port of the network device, which facilitates the forwarding of client services by the downstream network device.
  • the forwarding label can also be updated at the ingress port of the network device.
  • the customer service is transmitted from the source node N1 to the forwarding node N2, and the label is not updated at the egress port B1 of N1, or a service label is randomly assigned. It is mapped into a data frame and sent to the forwarding node N2.
  • the ingress port C1 of N2 updates the label to L1, and divides it into 00.X according to the level information, and then according to the first field 00 of the forwarding label and the difference between the first field and the egress port The corresponding relationship between the two is assigned to the corresponding cross ID of the customer service and forwarded to the outgoing port.
  • the payload block as the forwarding unit can realize the logical convergence of customer services.
  • the network device can perform overall processing on multiple payload blocks carrying multiple customer services, for example, uniformly encode the payload block according to the first field of the label, and then enter the switching network for implementation Service exchange, this overall processing method can simplify the complexity of service processing while enhancing service reliability.
  • the aggregated customer service is mapped to the cross link for cell exchange (Asynchronous Transfer Mode, ATM)
  • the aggregated customer service rate increases, and the cell buffers the same customer service as the switching unit.
  • the time is shorter, which can reduce the time delay.
  • the length of the exchange cell in this embodiment is variable, which can be an integer multiple of the length of the payload block, or it can be equal to the length of the payload block, such as 192 bytes in this embodiment, which can reduce Cache delay.
  • FIG. 5 is a network architecture diagram of a service transmission method in a transport network provided by an embodiment of the application, which may include a control module and a network node.
  • the control module serves as the service control layer system, and the network to which each node belongs serves as the data bearer layer. With the help of the control layer system, it can not only realize the path calculation function, but also simplify the forwarding process of small-particle services through the hierarchically divided forwarding tags.
  • the control module may include a set of control elements that provide specific functions such as routing and signaling.
  • the control module can dynamically exchange optical network topology information, routing information, and other control signaling by using interfaces, protocols, and signaling systems. , To achieve the establishment and removal of optical channels, and the dynamic distribution of network data. It should be noted that the control module may also be called a controller, a control plane, and so on.
  • the control module can calculate the route according to the source node, sink node, network bandwidth, transmission delay, and traffic distribution of each service, and obtain the label information of each node (for example, incoming label, outgoing label, hierarchical information, etc.).
  • the label information is delivered to each node.
  • the ingress port of the node obtains hierarchical information, which is convenient for identifying the incoming label and forwarding services;
  • the outgoing port of the node obtains the outgoing label, which is used to update the label after cross scheduling/forwarding, and the updated label is used as the incoming label of the downstream node.
  • Port label refers to the correspondence between the first field of the payload block label and the physical port of the line board, where the cross ID may be the number of the outgoing service port of the cross board.
  • the service needs to be forwarded to two directions at node B, and the level that the node obtains from the control module is divided into 1.y, "1" means that there is 1 bit in the label field to indicate the direction of the service, where 0 corresponds to the cross ID 1, 1 corresponds to cross ID 2.
  • the control module assigns forwarding labels 0.0 to 0.49 corresponding to cross ID 1, and 1.0 to 1.49 corresponding to cross ID 2.
  • the binary system used in the first field and the decimal system used in the second field above are used for convenience only, and not a restriction on the expression mode of the first field and the second field of the tag.
  • FIG. 5 shows the hierarchical processing process of the forwarding label by the control module.
  • nodes A, C, and D are service sending ends
  • node B is the service receiving end
  • the customer services carried by the three service sending nodes have two forwarding directions in the receiving node B.
  • the control module sends label level information 1.13 to node B according to the number of directions, and delivers the corresponding forwarding label (outgoing label) to nodes A and D (node C has only a single business direction Therefore, there is no need to distinguish between directions by forwarding labels).
  • Figure 6 only shows the situation where the service pipes carried by the node go to two directions. When there are more service pipes, the analogy can be followed.
  • the label can also be issued by the node through a signaling protocol.
  • FIG. 6 is a schematic flowchart of a service transmission method in a transport network provided by an embodiment of this application. The method shown in FIG. 6 may include the following steps:
  • the source node sends the first data frame.
  • the customer service carried in the first data frame may be at least one of time division multiplexing (TDM) customer service, fixed rate packet (PKT-CBR) customer service, and variable rate packet (PKT-VBR) customer service .
  • TDM time division multiplexing
  • PTT-CBR fixed rate packet
  • PTT-VBR variable rate packet
  • the data frame can be an OTU frame in an optical transport network, or a packet in a packet transport network. This embodiment takes the OTU frame in the optical transport network as an example for introduction.
  • Figure 6 shows the process in which the source node sends the first data frame to the forwarding node, and the forwarding node processes it. It can be understood that the source node can also be the upstream forwarding node of the forwarding node, and the embodiment of this application is incorrect. It is restricted.
  • the outgoing port of the source node writes an outgoing label on the outgoing port before sending the data frame
  • the outgoing label is also the incoming label of the incoming port of the downstream forwarding node and the forwarding label of the forwarding node.
  • the forwarding node receives the first data frame and demaps to obtain the forwarding label of the customer service.
  • the payload block is the smallest unit (also referred to as the smallest branch unit) that carries customer services, and is also the smallest unit for the service receiving node to forward the data frame after demapping.
  • the rate of a payload block can be a variable rate or a fixed rate.
  • Multiple payload blocks can be combined as a flexible tributary unit for carrying client services of corresponding rates. Different customer services are mapped to corresponding payload blocks according to their respective rates, and tags are added to the overhead of the payload blocks. Among them, multiple payload blocks carrying the same small-particle service can be continuous or discontinuous .
  • Fig. 3 is a schematic diagram of dividing an ODU frame into n consecutive payload blocks.
  • each payload block has a fixed rate and is used to carry fixed-rate client services and serve as the smallest unit for network equipment to forward.
  • the payload block includes an overhead area and a payload area, and the forwarding label is located in the overhead area of the payload block.
  • the foregoing forwarding label may be the outgoing label of the source node, or the incoming label of the forwarding node.
  • the ingress port of the forwarding node obtains level information, and determines the first field of the forwarding label according to the level information.
  • the ingress port of the node reads the incoming tag in the overhead of the payload block and obtains the hierarchical information of the incoming tag, and divides the incoming tag into a first field and a second field according to the hierarchical information.
  • the first field corresponds to the forwarding direction identifier of the service, and the length is variable, as a basis for the receiving end to forward the service, and this part of the value is determined by the forwarding direction number of the downstream receiving end of the service
  • the second field corresponds to the service identifier of the label, It can contain mapping information, which is used to characterize the mapping rules used when mapping the customer service to the payload block, and is used to identify the service at the sink or destination node and perform other processing; it can also be a service ID to identify the customer business.
  • node A and node D respectively send two services to node B
  • the labels of the two services sent from node A are 0xxxxxxxxxxxxxxx and 1yyyyyyyyyyyyyy
  • the labels of the two services sent from node D are 0nnnnnnnnnnnnnnn And 1zzzzzzzzzzzzzzzzzzzzzzzz.
  • the "0" and "1" in the label prefix are the first field of the label, which is used to identify the forwarding direction of the service in Node B;
  • the label suffix is the service identifier, for example, it can be used to identify the client service in the payload.
  • the specific location of the district In this way, the receiving end only needs to identify the first field to forward the customer service, thereby simplifying the complexity of reading and forwarding.
  • the level information of Node B can be issued by the control module. Specifically, the control module calculates routes based on the service requests of nodes A, C, and D, network bandwidth, transmission delay, and traffic distribution, etc., to obtain each service forwarding path, and then determines that the number of service forwarding directions of node B is 2.
  • the layer information 1.13 of the forwarding label is also issued to node B, where "1" means that the first field of the forwarding label has 1 bit, and "13" means that the second field of the label has 13 bits.
  • the node B divides the label of the received service into two fields, where the first field occupies one bit, which is used to identify the forwarding direction of the service, and can correspond to the outgoing port of the cross board.
  • S104 The ingress port of the forwarding node forwards the customer service according to the first field of the forwarding label.
  • the ingress port (receiving port) of node B matches the egress direction according to the first field of the in-tag of the payload block. Specifically, a value of 0 in the first field corresponds to forwarding direction 1, which can also be egress port 1, and a value of 1 in the first field corresponds to forwarding direction 2, or egress port 2. In this way, the ingress port of the node B can forward the service to the corresponding direction only by identifying the first field of the label, which simplifies the forwarding process.
  • the first field of the tag may be located in the tag field of the overhead.
  • the first field may be located in the first few bits of the tag, or may be located in the last few bits of the tag.
  • the first field of the label may also be located in the label extension field.
  • the label extension field can be unused bits in the overhead or reserved bits.
  • the overhead format version can be unified, and the two bits used to indicate the format version in the overhead of the payload block are used as the label extension field, or , One byte can be reserved for indicating the overhead format version, and the other byte is used as the tag extension field, which works together with the bits in the original tag field.
  • the first field of the forwarding label can be all in the label field, or all in the label extension field, part of the label field, and part of the label extension field. Therefore, for the continuity of the first field of the forwarding label and each byte There is no restriction on whether they are adjacent to each other.
  • the label extension field refers to the bits located outside the original label field (for example, 14 bits) in the overhead, and after extension, the first field of the label identifies the forwarding direction, such as the unused bits in the overhead.
  • the extended bits of the label and the bits used to identify the direction in the original label may be adjacent or non-adjacent. In this way, the bits in the overhead can be effectively used.
  • location information can be inserted into the overhead of the data frame and transmitted with the service.
  • the location information can be used to indicate the location of the first field of the forwarding label in the overhead and the number of bits occupied. In this way, the receiving end can quickly read the first field of the tag and forward it accordingly.
  • the outgoing port updates the incoming label to the outgoing label assigned by the outgoing port to identify the forwarding direction of the downstream node.
  • the updated forwarding label also contains the first field and the second field.
  • the first field is used to identify the forwarding direction
  • the second field is used for service identification.
  • the value of the first field is determined by the number of forwarding directions of the downstream node and the corresponding relationship.
  • the corresponding relationship refers to the relationship between the first field of the forwarding label and the outgoing port of the line board.
  • S106 The sending end maps the client service to the second data frame, and sends the second data frame.
  • the customer service received first by the sending end is sent first, and the customer service received later is sent later.
  • the embodiments of this application do not limit the order in which the sender receives and the sender sends the client services. Based on this, the payload area in the data frame can be transmitted in the order of "from top to bottom, from left to right".
  • FIG. 7 is a schematic flowchart of a service transmission method in a transport network provided by an embodiment of this application. As shown in FIG. 7, the method shown in FIG. 7 may include the following steps:
  • S201 The source node sends a third data frame.
  • the third data frame carries the new customer service to a new forwarding direction, or an original service carried in the third data frame is split at the forwarding node, adding at least one forwarding direction.
  • the control module obtains the forwarding path of the customer service by calculating the path.
  • the new service is forwarded at least once to the B1 egress port according to the forwarding path, and the forwarding label is updated to the B1 egress port.
  • the new service is mapped into a frame along with the existing service and sent from the out port B1 to the in port C1 of the downstream forwarding node.
  • the ingress port of the forwarding node receives the third data frame, and demaps to obtain the forwarding label of the customer service.
  • the payload block is the smallest unit (also referred to as the smallest branch unit) that carries customer services, and is also the smallest unit for the service receiving node to forward the data frame after demapping.
  • the rate of a payload block can be a variable rate or a fixed rate.
  • Multiple payload blocks can be combined as a flexible tributary unit for carrying client services of corresponding rates. Different customer services are mapped to corresponding payload blocks according to their respective rates, and tags are added to the overhead of the payload blocks. Among them, multiple payload blocks carrying the same small-particle service can be continuous or discontinuous .
  • Fig. 3 is a schematic diagram of dividing an ODU frame into n consecutive payload blocks.
  • each payload block has a fixed rate and is used to carry fixed-rate client services and serve as the smallest unit for network equipment to forward.
  • the payload block includes an overhead area and a payload area, and the forwarding label is located in the overhead area of the payload block.
  • the aforementioned forwarding label may be the outgoing label of the source node, or the incoming label of the forwarding node.
  • the ingress port obtains the new level information of the forwarding label, and identifies the new first field of the forwarding label according to the new level information.
  • the ingress port of the node obtains the new level information of the forwarding label, and re-divides the label into the first field and the second field according to the new level information.
  • the length of the first field is variable, as the basis for service forwarding by the ingress port, and the value of this part is determined by the number of forwarding directions of the downstream nodes of the service and the corresponding relationship;
  • the second field corresponds to the service identifier of the label, and may contain mapping information , Used to characterize the mapping rules used when mapping client services to payload blocks, and used to identify the service at the sink node or destination node and perform other processing.
  • the second field may remain unchanged during the forwarding process.
  • the service convergence node B has two original forwarding directions, and the level information is 1.13.
  • the first field When the first field is 0, it corresponds to forwarding direction 1, and when the first field is 1, it corresponds to forwarding direction 2.
  • the upstream node adds n customer services to the forwarding direction 3, for example, the C node has n services to be forwarded to the direction 3. Since the three service directions require at least two bits for identification, the original layer information 1.13 cannot meet the current forwarding requirements.
  • the first field of the label needs to be expanded to re-divide the label into 2.12. Wherein 2 indicates that there are 2 bits in the label field for the first field.
  • 00 corresponds to forwarding direction 1
  • 10 corresponds to forwarding direction 2
  • 01 corresponds to forwarding direction 3
  • 11 is temporarily unused.
  • the first field of the label is expanded from 1 bit to 2 bits. This dynamic variability of the length of the first field can simplify the forwarding complexity while meeting new service forwarding requirements.
  • the new hierarchical information and corresponding relationship of node B and the new forwarding labels of the outbound ports of nodes A, C, and D can be issued by the control module.
  • a new service request from node C triggers the refresh, and the control module recalculates the path based on the service request of nodes A, C, and D, network bandwidth, transmission delay, and traffic distribution, etc., to obtain various information including the new service.
  • the service forwarding path is determined to increase the number of service forwarding directions of node B to 3, so the label hierarchy division 2.12 is issued to node B, where “2” means the first field of the label is 2 bits, and 12 means the second forwarding label The field is 12 bits.
  • the value of the surviving forwarding label can remain unchanged, which helps maintain the stability of the service and simplify implementation.
  • the original forwarding directions of the forwarding node are direction 1 and direction 2
  • the label is divided into 1.13, where the first field is 0 corresponding to direction 1, and the first field is 1 corresponds to direction 2.
  • the control module issues new level information 2.12, where 00 corresponds to the original direction 1, 10 corresponds to the original direction 2, 10 corresponds to the newly added direction 3, and 11 is temporarily unused.
  • the value of the relay forwarding label does not change, and the corresponding forwarding direction does not change, but only the label division changes.
  • the specific correspondence is shown in the table below.
  • the ingress port is assigned to the corresponding ID of the customer service, and it is forwarded to the egress port.
  • the first field of the tag may be located in the tag field of the overhead.
  • the first field may be located in the first few bits of the tag, or may be located in the last few bits of the tag.
  • the first field of the label may also be located in the label extension field.
  • the label extension field can be unused bits in the overhead or reserved bits.
  • the overhead format version can be unified, and the two bits used to indicate the format version in the overhead of the payload block are used as the label extension field, or , One byte can be reserved for indicating the overhead format version, and the other byte is used as the tag extension field, which works together with the bits in the original tag field.
  • the first field of the forwarding label can be all in the label field, or all in the label extension field, part of the label field, and part of the label extension field. Therefore, for the continuity of the first field of the forwarding label and each byte There is no restriction on whether they are adjacent to each other.
  • the label extension field refers to the bits located outside the original label field (for example, 14 bits) in the overhead, and after extension, the first field of the label identifies the forwarding direction, such as the unused bits in the overhead.
  • the extended bits of the label and the bits used to identify the direction in the original label may be adjacent or non-adjacent. In this way, the bits in the overhead can be effectively used.
  • location information can be inserted into the overhead of the data frame and transmitted with the service.
  • the location information can be carried in the OPU overhead included in the ODU frame or in the ODU overhead, as shown in OH in Figure 3b.
  • the location information may be used to indicate the location of the first field of the forwarding tag in the overhead and the number of bits occupied. In this way, the receiving end can quickly read the first field of the tag and forward it accordingly.
  • the network device may pre-configure location information to indicate the location of the first field of the forwarding label.
  • the location information does not need to occupy the overhead in the data frame, which helps to improve bandwidth utilization.
  • the egress port updates the forwarding label to the egress label assigned by the egress port to adapt to the forwarding direction of the downstream node.
  • the updated forwarding label also contains the first field and the second field.
  • the first field is used to identify the forwarding direction
  • the second field is used for service identification.
  • the value of the first field is determined by the number of forwarding directions of the downstream node and the corresponding relationship.
  • the corresponding relationship refers to the relationship between the first field of the forwarding label and the outgoing port of the line board.
  • the egress port maps the customer service to the fourth data frame, and sends the fourth data frame.
  • the customer service received first by the sending end is sent first, and the customer service received later is sent later.
  • the embodiments of this application do not limit the order in which the sender receives and the sender sends the client services. Based on this, the payload area in the data frame can be transmitted in the order of "from top to bottom, from left to right".
  • 1 indicates that 1 bit in the forwarding label is used for the first field, specifically, 0 corresponds to forwarding direction 1, and 1 corresponds to forwarding direction 2.
  • the first field of the label is reduced from 2bit to 1bit, and the released 1bit can be used for service identification and improve bandwidth utilization.
  • the dynamic variability of the length of the first field can simplify the forwarding complexity while meeting the constantly changing service forwarding requirements.
  • FIG. 8 is a schematic diagram of a label extension provided by an embodiment of the application.
  • the label described in this application refers to an identifier that is located in the overhead, occupies a certain length and has a local meaning, and is used to identify the forwarding direction. Since the technical solution of the present application can be applied to different transmission networks such as optical transmission network and packet transmission network, the length and position of the label may be slightly different.
  • the tag shown in Figure 8 is located in the overhead part of a payload block and occupies a 14-bit identifier. It should be understood that 14-bit is only a possible setting of the tag length of the payload block and does not constitute a restriction on the length of the tag. .
  • the label refers to a short identifier that is located between the layer 2 message and the layer 3 message and occupies a length of 20 bits, which is used to indicate the forwarding direction of downstream receiving nodes.
  • the types of tags are not limited to the above examples. Any identifier that can simplify the forwarding process through hierarchical division can be used as the label of this application.
  • Fig. 8 is illustrated with a tag field length of 14 bits. It should be understood that with the improvement of the device structure, the tag field length changes accordingly, and the technical solutions provided by the embodiments of the present application are also applicable to similar problems.
  • S801 is an internal structure diagram of a payload block, which mainly includes an overhead area and a payload area. It can be seen from S802 that, in addition to the 14-bit label field in the Label, there are also 2 bits reserved before the label to indicate the overhead format version. Specifically, in order to solve the problem that reserved bits may cause bits to be idle, the above-mentioned bits used to indicate the version of the overhead format may be used as the label extension field. Specifically, the format version can be unified, and these 2 bits can be used as the first field of the tag without affecting the original performance and causing application ambiguity.
  • the label hierarchy is still divided in the form of two fields, and the first field represents the first field, and the second field represents the service identifier, but in this embodiment, the first field is located in the extended part of the label, the original 14bit
  • the label field is all used for business identification.
  • the label allocated for a certain service is 00000000000101
  • the receiving end level of the sink node is divided into 2.12
  • its label is divided into 00.000000000101.
  • the level division is achieved by adding the remaining bits.
  • the expanded label is 0000000000000101
  • the hierarchical division is 2.14, where the 2 bits used for the first field come from the remaining reserved overhead fields.
  • the original 14bit label field may be entirely used as service identifier may identify a total of 214 lines of business.
  • the bits of the expanded first field may or may not be adjacent to each other.
  • the label extension field part can be used as the first field of the label alone, or can be used as the first field of the label together with the original label part bits to identify the forwarding direction.
  • the receiving end can determine that the first field of the label extension is in the overhead according to the same predefined algorithm (such as the sigma-delta algorithm, or the algorithm defined by the receiving end and the sending end, etc.) as used by the sending end. s position. In this way, the sender does not need to transmit location information to the receiver, which helps reduce the complexity of data processing.
  • the same predefined algorithm such as the sigma-delta algorithm, or the algorithm defined by the receiving end and the sending end, etc.
  • the foregoing mainly introduces the application of the solution provided in the embodiments of the present application in the OTN field.
  • the technical solution provided in the present application can also be applied in the field of packet transmission networks.
  • tags can also be hierarchically divided to achieve efficient forwarding of services.
  • the hierarchical division of labels can be applied to multi-protocol label switching (Multi-Protocol Label Switching, MPLS) technology.
  • MPLS Multi-Protocol Label Switching
  • Multi-protocol label switching is located between the link layer and the network layer in the TCP/IP protocol stack, and uses short and fixed-length labels to encapsulate IP packets to achieve fast label forwarding on the data plane.
  • the label in MPLS is an identifier with a fixed length, no topology information, and local meaning, which is used to uniquely identify the forwarding equivalence class (FEC) to which a packet belongs.
  • the forwarding equivalence class refers to the equivalence class generated by MPLS as a classified forwarding technology that classifies data streams with the same characteristic value (the same destination address or the same forwarding level) into one class, usually one device Above, the same label is assigned to a forwarding equivalence class.
  • the packets of the same forwarding equivalence class will get exactly the same treatment in the MPLS network.
  • the label is carried by the header of the message, does not contain topology information, and only has a local meaning.
  • the label length is 4 bytes, and the encapsulation structure is shown in Figure 9.
  • FIG. 9 it is a schematic diagram of an MPLS label format in a packet transport network provided by an embodiment of this application.
  • the tag has 4 fields, occupying 32 bits.
  • label is a label value field, which occupies 20 bits and is used to forward data. This part is the label field that can be hierarchically divided in the technical solution provided in the embodiment of this application.
  • Exp is a reserved field, used for experiment, you can add the priority information of the message;
  • S is the identifier of the bottom of the stack, which occupies 1 bit, MPLS supports the layered structure of labels (ie, multiple labels), when the S value is 1, it is the bottom layer Label;
  • TTL Time To Live
  • the ingress node receives the message and analyzes the content of the message header to determine the forwarding equivalence class to which it belongs, and the control module can assign it to a specific forwarding equivalence class Corresponding to the fixed-length label, establish a corresponding label switching path, encapsulate the label and the message, and forward it to the intermediate node.
  • the intermediate node forwards the message according to the label corresponding to the label forwarding table, and exchanges the label at this node to adapt to the downstream node without performing any layer 3 processing on the label.
  • the egress node removes the label in the message and continues forwarding.
  • the technical solution for hierarchically dividing labels provided in this application can be used.
  • the 20-bit label field in the message header is hierarchically divided into a first field and a second field, and each node can determine the forwarding direction of the message and forward it accordingly by identifying the first field.
  • the label of the service receiving end of the forwarding node is divided into 4.16, 16 service directions can be distinguished, and each service direction can accommodate 64K services.
  • the label value itself does not change, and it is divided into two parts when only forwarding processing is performed.
  • the message label is 00000000000000001100, which becomes 0000.0000000000001100 after being hierarchically divided according to the form of 4.16.
  • the first field 0000 indicates the forwarding direction, and the forwarding node only needs to identify this part to perform corresponding forwarding.
  • FIG. 10 is a schematic diagram of a service transmission method in an MPLS network according to an embodiment of the application.
  • the MPLS network contains multiple label switching routers (indicated by R in the figure) as service forwarding nodes.
  • R2 4 packets need to be forwarded to the service direction corresponding to the label switching path.
  • the first field of 0 corresponds to the direction of R2-R3
  • the first field of 1 corresponds to the direction of R21-R22-R23.
  • One direction. R2 can forward services to different directions by only identifying the first field of the label, without the need for traditional label nesting.
  • the specific forwarding process can refer to the flowchart shown in FIG. 6 and the description of the steps S101-S106 in the foregoing embodiment, which will not be repeated here.
  • the technical solution provided by the embodiments of the present application can not only achieve the same service forwarding result as using label nesting, but also avoid adding new labels to improve bandwidth utilization.
  • the embodiment of the present application may divide the node or the control side into functional modules according to the foregoing method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 11 a schematic structural diagram of a data transmission device 110 in a transport network provided by an embodiment of this application.
  • the apparatus 110 may be the source and sink node in the foregoing embodiment, or may be the forwarding node in the foregoing embodiment.
  • the device 110 can be used to execute the steps performed by each node in the methods shown in Figs. 6 and 7.
  • the device 110 is in the form of dividing nodes into functional modules, and may include a receiving module 1101, a demapping module 1102, and a forwarding module 1103.
  • the receiving module 1101 is configured to perform the following steps: receiving data frames carrying client services.
  • the de-mapping module 1102 is used to de-map the data frame to obtain the forwarding label of the customer service; the forwarding unit is used to obtain the level information of the forwarding label, determine the first field of the forwarding label according to the level information, and perform the analysis on the customer service according to the first field. Forward it.
  • FIG. 1102 is used to de-map the data frame to obtain the forwarding label of the customer service
  • the forwarding unit is used to obtain the level information of the forwarding label, determine the first field of the forwarding label according to the level information, and perform the analysis on the customer service according to the first field. Forward it.
  • FIG. 1102 is used to de-map the data frame to obtain the forwarding label of the customer service
  • the forwarding unit is used to obtain
  • the receiving module 1101 is specifically configured to perform the reception of the first data frame in S102; the demapping module 1102 is specifically configured to perform the demapping of the first data frame in S102 to obtain the forwarding label of the customer service; the forwarding module is configured to Perform S103 to S105.
  • the receiving module 1102 is specifically configured to perform the receiving of the third data frame in S202; the demapping module 1102 is specifically configured to perform the demapping of the third data frame in S202 to obtain the forwarding label of the customer service; the forwarding module is used to Perform S203 to S205.
  • the data transmission device usually has the characteristics of an integrated transceiver, so the receiving module 1101 can also be used to send data frames, and correspondingly, the demapping module can also be used to map client services to data frames.
  • the receiving module 1101 is further configured to: receive location information.
  • the location information is used to indicate the specific location of the first field part of the tag in the tag field.
  • the location information may be carried in the overhead of the data frame, such as in the OPU overhead or ODU overhead, or in the message overhead, and may also be pre-configured.
  • FIG. 12 it is a schematic diagram of the hardware structure of a data transmission device in a transport network provided by an embodiment of this application.
  • a network device may include line boards, cross-connect boards, tributary boards, power supplies, fans, auxiliary boards, and system control and communication boards.
  • a network device as an edge node may have multiple tributary boards. It should be noted that, according to specific needs, the specific types and numbers of boards included in each device may be different. For example, a network device as a core node may not have a tributary board.
  • this schematic diagram is a schematic diagram of the hardware structure of a core forwarding node.
  • the tributary board is not included, and only a crossover board and at least two circuit boards are included.
  • the circuit board can be divided into a line-side optical module and a signal processor.
  • the line-side optical module may be a line-side optical transceiver 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 circuit board 1201 may be replaced by a tributary board.
  • the tributary board is used to realize the reception and transmission of various customer services, such as synchronous digital hierarchy (SDH) services, packet services, Ethernet services, and fronthaul services.
  • the tributary board can be divided into a client-side optical module and a signal processor.
  • the client-side optical module may be an optical transceiver for receiving and/or sending client signals.
  • the signal processor is used to realize the mapping and demapping processing of the client signal to the data frame.
  • the device 120 is a physical structure corresponding to the device 110, and integrates a circuit board, a crossover board, and one or more ports that can be used to implement the foregoing service forwarding function.
  • the line board receiving port can implement the steps of service reception, demapping, receiving level information, determining the first field, and corresponding cross exit in the foregoing embodiment;
  • the line board sending end can implement the label update and mapping in the foregoing embodiment Data frame and the function of sending data frame.
  • the device 120 may include a circuit board 1201, a crossover board 1202, and a circuit board 1203.
  • the circuit boards 1201 and 1203 include multiple physical ports, which correspond to the receiving/sending unit 1102 in the logical device 110; the circuit boards 1201 and 1203 can realize the mapping of customer services and the demapping of data frames, corresponding to The processing unit 1101 in the logic device 110, in addition, the cross board 1202 can implement the service forwarding function of the processing unit 1101.
  • the circuit board 1201 is specifically used to perform S102 to S104; the circuit board 1203 is specifically used to perform S101, S105, and S106.
  • the circuit board 1201 is specifically used to perform S202 to S204; the circuit board 1203 is specifically used to perform S201, S205, and S206.
  • the circuit board 1201 is also used to receive location information, and the circuit board 1203 is also used to send location information.
  • the location information is used to indicate the specific location of the first field part of the tag in the tag field.
  • the location information may be written in the overhead of the data frame, such as in the OPU overhead or ODU overhead, or in the message overhead.
  • FIG. 13 it is a schematic diagram of a system for service transmission in a transport network provided by an embodiment of this application.
  • the system includes a certain number of network devices (represented by nodes in the figure), including at least a source node, a sink node, and a forwarding node.
  • each node may have one or more functions to implement the steps S101 to S106 in FIG. 6 and S201 to S206 in FIG. 7.
  • network equipment is divided into optical layer equipment, electrical layer equipment, and photoelectric hybrid equipment.
  • Optical layer equipment refers to equipment capable of processing optical layer signals, such as optical amplifier (optical amplifier, OA).
  • Electrical layer equipment refers to equipment capable of processing electrical layer signals, for example: equipment capable of processing ODU signals.
  • Optoelectronic hybrid equipment refers to equipment capable of processing optical layer signals and electrical layer signals. It should be noted that, according to specific integration needs, a network device can gather multiple different functions. The technical solutions provided in this application are applicable to network devices of different forms and integration levels.
  • the embodiment of the present application also provides a chip.
  • the chip integrates a circuit and one or more interfaces for realizing the above-mentioned service forwarding function.
  • the chip When the memory is integrated in the chip, the chip is connected to the optical module through the interface, so that the optical module is used to send data frames mentioned in the above method embodiments to other communication devices, or to receive data sent by other communication devices from the optical module. Data Frame.
  • the chip When the chip is not integrated with memory, it can be connected to an external memory through this interface, and the chip implements the internal execution of the communication device (transmitting end or receiving end) in the above-mentioned embodiment according to the program code stored in the external memory. Action, and send and receive data frames by connecting the optical module to it.
  • the functions supported by the chip may include processing actions of the sending end or the receiving end in the embodiments described in FIG. 4, FIG. 5, FIG. 6, FIG. 7 and FIG. 10, which will not be repeated here.
  • the program can be stored in a computer-readable storage medium.
  • the aforementioned storage medium may be a read-only memory, a random access memory, and the like.
  • the above-mentioned processing unit or processor may be a central processing unit, a general-purpose processor, an application specific integrated circuit (ASIC), a microprocessor (digital signal processor, DSP), a field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof.
  • the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware, which are collectively referred to herein as "modules” or “systems.”
  • this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • the computer program is stored/distributed in a suitable medium, provided with other hardware or as a part of the hardware, and can also be distributed in other forms, such as through the Internet or other wired or wireless telecommunication systems.

Abstract

Disclosed is a service transmission method. The method comprises: a network device receiving a first data frame carrying a customer service, and de-mapping the first data frame to obtain a forwarding label of the customer service; the network device acquiring hierarchy information of the forwarding label, and determining a first field of the forwarding label according to the hierarchy information, wherein the forwarding label comprises the first field and a second field, the first field indicates the forwarding direction of the customer service, the second field indicates the identifier of the customer service, and the hierarchy information is used to identify the first field; and the network device forwarding the customer service according to the first field. By means of the solution, the complexity in forwarding a small-particle customer service can be simplified, thereby improving bandwidth utilization.

Description

一种业务传输的方法、装置和***Method, device and system for service transmission
本申请要求于2019年8月14日提交中国专利局、申请号为201910749121.9,发明名称为“一种业务传输的方法、装置和***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on August 14, 2019 with the application number 201910749121.9 and the invention title "A method, device and system for business transmission", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种业务传输的方法、装置和***。This application relates to the field of communication technology, and in particular to a method, device and system for service transmission.
背景技术Background technique
在目前的通信网络中,存在大量小颗粒业务,对业务传送网的交叉容量和业务数量提出了很高的要求。为了提高小颗粒业务的承载能力,业界不断进行技术探索和改进。In the current communication network, there are a large number of small-grain services, which puts forward high requirements on the cross capacity and the number of services of the service transmission network. In order to improve the carrying capacity of small-particle services, the industry continues to explore and improve technology.
例如,在光传送网(optical transport network,OTN)中,通常可采用时分复用技术进行数据传输,传统的时隙(tributary slot)划分方式划分的粒度较大,承载业务存在带宽浪费。为了进一步提高带宽利用率,特别是对于低于1G速率的小颗粒业务,当前业界有一些讨论:将光数据单元k(optical data unit-k,ODUk)净荷区划分为多个更小的时隙,如将ODU0划分为600个速率为2M的时隙,或者采用混合时隙结构,划分为150M和10M两级时隙。业务根据自身的速率情况,映射到不同速率等级的一个或多个时隙中,这种更小时隙的方式,仍然延续了传统的时分复用技术,进行严格的时隙划分,相比1.25G和5G时隙粒度情况,虽然一定带宽利用率提高,但仍然存在带宽浪费问题,同时过多的时隙数量也带来较高的转发复杂度。For example, in an optical transport network (OTN), time-division multiplexing technology is usually used for data transmission, and the granularity of the traditional tributary slot division method is relatively large, and there is a waste of bandwidth for bearer services. In order to further improve bandwidth utilization, especially for small-particle services with a rate lower than 1G, there are currently some discussions in the industry: dividing the payload area of optical data unit k (optical data unit-k, ODUk) into multiple smaller ones. Slots, for example, ODU0 is divided into 600 time slots with a rate of 2M, or a mixed time slot structure is adopted, which is divided into 150M and 10M two-level time slots. Services are mapped to one or more time slots of different rate levels according to their own rate. This way of smaller time slots still continues the traditional time division multiplexing technology and performs strict time slot division, compared to 1.25G In the case of 5G time slot granularity, although certain bandwidth utilization is improved, there is still a problem of bandwidth waste. At the same time, too many time slots also bring higher forwarding complexity.
因此,对于这些小颗粒业务,如何降低由于业务数量过多所造成的过高的转发复杂度,并且提高带宽利用率是亟待解决的技术问题。Therefore, for these small-particle services, how to reduce the excessive forwarding complexity caused by the excessive number of services and improve the bandwidth utilization is a technical problem to be solved urgently.
发明内容Summary of the invention
本发明实施例提供一种业务传输的方法、装置和***,对小颗粒转发标签进行动态的层次划分,以降低转发复杂度,提高带宽利用率。The embodiment of the present invention provides a method, device, and system for service transmission, which dynamically classifies small-particle forwarding tags to reduce forwarding complexity and improve bandwidth utilization.
为达到上述目的,本发明实施例提供了如下技术方案。第一方面,本发明实施例提供一种业务转发的方法,包括:网络设备接收携带客户业务的第一数据帧,对所述第一数据帧进行解映射,得到所述客户业务的转发标签;所述网络设备获取所述转发标签的层次信息,根据所述层次信息确定所述转发标签的第一字段,其中,所述转发标签包括所述第一字段和第二字段,所述第一字段指示所述客户业务的转发方向,所述第二字段指示所述客户业务的标识,所述层次信息用于识别所述第一字段;所述网络设备根据所述第一字段对所述客户业务进行转发。通过上述方法,网络设备仅通过识别转发标签的第一字段部分,便可以实现对客户业务的转发,可以降低客户业务转发的复杂度,提高带宽的利用率。To achieve the foregoing objective, the embodiments of the present invention provide the following technical solutions. In a first aspect, an embodiment of the present invention provides a service forwarding method, including: a network device receives a first data frame carrying a customer service, and demaps the first data frame to obtain a forwarding label of the customer service; The network device obtains the level information of the forwarding label, and determines the first field of the forwarding label according to the level information, where the forwarding label includes the first field and the second field, and the first field Indicates the forwarding direction of the customer service, the second field indicates the identifier of the customer service, and the hierarchical information is used to identify the first field; the network device treats the customer service according to the first field Forward it. Through the above method, the network device can forward customer services only by identifying the first field part of the forwarding label, which can reduce the complexity of customer service forwarding and improve bandwidth utilization.
其中,转发标签可以是本节点的入标签,也可以是上游节点的出标签。本申请中节点与网络设备含义相同,只是在不同的场景下采用的表述不同。Among them, the forwarding label can be the incoming label of the local node or the outgoing label of the upstream node. In this application, nodes and network devices have the same meaning, but different expressions are used in different scenarios.
需要说明的是,本申请实施例提供的技术方案的应用场景为将ODU净荷区直接划分为n个连续的灵活业务单元(flexible optical service unit,净荷块),n可以无限大。相应地,单个净荷块的速率可以无限小,通过一个或多个净荷块构成相应的灵活支路单元,有助于使所构成的灵活支路单元的速率和业务速率尽量完全一致。所述净荷块位于ODU帧的净荷区,可以包括一个字节或连续的多个字节,或者连续的多个比特。具体地,一个净荷块的大小可 以是字节的整数倍,也可以是8字节的整数倍,如64字节、128字节、192字节或256字节等。可选地,不同净荷块的大小相等,下文中的具体示例均以此为例进行说明。净荷块也可以被称作码块、OSUk、OSUflex或其他名称,本申请对此不做限定。It should be noted that the application scenario of the technical solution provided by the embodiment of the present application is to directly divide the ODU payload area into n continuous flexible service units (payload blocks), where n can be infinitely large. Correspondingly, the rate of a single payload block can be infinitely small, and the corresponding flexible tributary unit is formed by one or more payload blocks, which helps to make the rate and service rate of the formed flexible tributary unit as completely consistent as possible. The payload block is located in the payload area of the ODU frame, and may include one byte or multiple consecutive bytes, or multiple consecutive bits. Specifically, the size of a payload block can be an integer multiple of bytes, or an integer multiple of 8 bytes, such as 64 bytes, 128 bytes, 192 bytes, or 256 bytes. Optionally, the sizes of different payload blocks are the same, and the following specific examples are all described as examples. The payload block can also be called a code block, OSUk, OSUflex or other names, which is not limited in this application.
具体实现时,一个净荷块为承载客户业务的最小单元(亦可以称为最小支路单元),也是业务接收节点对数据帧解映射之后进行转发的最小单元。一个净荷块的速率可以是可变速率,也可以是固定速率。多个净荷块可以组合作为一个灵活支路单元,用于承载对应速率的客户业务。不同的小颗粒业务依据各自速率映射到对应的净荷块中,并在净荷块的自带开销中添加标签实现端到端的OAM功能。其中,承载同一项小颗粒业务的多个净荷块可以连续,也可以不连续。In specific implementation, a payload block is the smallest unit (also referred to as the smallest branch unit) that bears customer services, and is also the smallest unit for the service receiving node to forward the data frame after demapping. The rate of a payload block can be a variable rate or a fixed rate. Multiple payload blocks can be combined as a flexible tributary unit for carrying client services of corresponding rates. Different small-particle services are mapped into corresponding payload blocks according to their respective rates, and tags are added to the overhead of the payload blocks to implement end-to-end OAM functions. Among them, multiple payload blocks carrying the same small particle service may be continuous or discontinuous.
在一种可能的设计中,当所述网络设备上的业务转发方向的数量发生变化时,该方法还包括:所述网络设备改变所述第一字段的长度。In a possible design, when the number of service forwarding directions on the network device changes, the method further includes: the network device changes the length of the first field.
其中,所述网络设备上的业务转发方向的数量发生变化包括转发方向数增加和转发方向数减少,转发方向数增加是指网络设备接收新的客户业务去往新的转发方向,或者原有客户业务在该网络设备处发生分流,增加新的转发方向;转发方向数减少是指网络设备上的原有客户业务停止发送,或者原有客户业务停止该网络设备上至少一个方向的转发。Wherein, the change in the number of service forwarding directions on the network device includes an increase in the number of forwarding directions and a decrease in the number of forwarding directions. The increase in the number of forwarding directions means that the network device receives new customer services to a new forwarding direction, or the original customer Services are diverted at the network device, and new forwarding directions are added; a decrease in the number of forwarding directions means that the original customer service on the network device stops sending, or the original customer service stops forwarding in at least one direction on the network device.
在一种可能的设计中,该方法还包括:所述网络设备获取新的层次信息,根据所述新的层次信息识别所述转发标签的新的第一字段,所述网络设备根据所述新的第一字段对所述客户业务进行转发。In a possible design, the method further includes: the network device acquires new layer information, identifies the new first field of the forwarding label according to the new layer information, and the network device according to the new The first field of forwards the customer service.
其中,转发标签的第一字段长度可变,在网络设备接收到新的客户业务去往新的转发方向,或者原有客户业务在该网络设备处发生分流,增加新的转发方向时,可以及时通过增加第一字段长度增加转发方向数,保证第一字段数值与转发方向的一一对应,实现转发标签的动态划分。在网络设备上的原有客户业务停止发送,或者原有客户业务停止该网络设备上至少一个方向的转发时,可以通过减少第一字段的长度释放多余比特位。这样,可以将释放的比特位用于客户业务标识,提高带宽利用率。Among them, the length of the first field of the forwarding label is variable. When a network device receives a new customer service and goes to a new forwarding direction, or when the original customer service is diverted at the network device, a new forwarding direction is added. By increasing the length of the first field to increase the number of forwarding directions, the one-to-one correspondence between the value of the first field and the forwarding direction is ensured, and the dynamic division of forwarding labels is realized. When the original customer service on the network device stops sending, or the original customer service stops forwarding on the network device in at least one direction, the extra bits can be released by reducing the length of the first field. In this way, the released bits can be used for customer service identification, which improves bandwidth utilization.
在一种可能的设计中,当网络设备获取新的层次信息,根据所述新的层次信息识别所述转发标签的第一字段时,已有业务或续存业务的转发标签的值可以保持不变,对应的转发方向也不变。这样,可以有效避免业务受损,减少实现的复杂度。In a possible design, when the network device obtains new layer information and recognizes the first field of the forwarding label according to the new layer information, the value of the forwarding label of the existing service or the surviving service may remain unchanged. Change, the corresponding forwarding direction is also unchanged. In this way, business damage can be effectively avoided, and the complexity of implementation can be reduced.
在一种可能的设计中,所述网络设备对所述客户业务进行转发之后,该方法还包括:所述网络设备对所述转发标签进行更新。In a possible design, after the network device forwards the customer service, the method further includes: the network device updates the forwarding label.
其中,所述网络设备对所述转发标签进行更新是指将转发标签更新为出端口的出标签。Wherein, updating the forwarding label by the network device refers to updating the forwarding label to the outgoing label of the outgoing port.
在一种可能的设计中,该方法还包括:所述网络设备将所述客户业务映射到第二数据帧,所述第二数据帧携带更新后的转发标签,并发送所述第二数据帧。In a possible design, the method further includes: the network device maps the customer service to a second data frame, the second data frame carrying an updated forwarding label, and sending the second data frame .
在另一种可能的设计中,所述客户业务的转发标签可以在下游转发节点的入端口更新。In another possible design, the forwarding label of the customer service may be updated at the ingress port of the downstream forwarding node.
在一种可能的设计中,所述第一字段位于所述第一数据帧的开销区。In a possible design, the first field is located in the overhead area of the first data frame.
具体地,所述第一字段可以位于开销区的标签域,也可以位于开销区的标签扩展域,还可以部分位于标签域,部分位于标签扩展域。可以理解的是,当转发标签的第一字段至少为两个比特位时,可以一个比特位位于标签域,一个比特位位于标签扩展域,两个比特位可以不相邻。标签扩展域是指位于开销区标签域(例如14bit)之外的比特位,经扩展后作为标签第一字段标识转发方向的部分,例如开销中未使用的比特位,或者保留的比特位。这样,可以有效利用开销区的比特位,进一步提高带宽利用率。Specifically, the first field may be located in the tag field of the overhead area, may also be located in the tag extension field of the overhead area, and may also be partially located in the tag field and partially located in the tag extension field. It is understandable that when the first field of the forwarding label has at least two bits, one bit may be in the label field and one bit may be in the label extension field, and the two bits may not be adjacent. The tag extension field refers to the bits located outside the tag field (for example, 14 bits) of the overhead area, and is used as a part of the first field of the tag to identify the forwarding direction after being extended, such as unused bits in the overhead or reserved bits. In this way, the bits in the overhead area can be effectively used, and bandwidth utilization is further improved.
在一种可能的设计中,所述第一字段的位置信息在所述网络设备预先配置,或者所述第一字段的位置信息通过所述第一数据帧的开销携带。这样,网络设备可以通过获取第一字段的位置信息确定第一字段在开销中的具***置。In a possible design, the location information of the first field is pre-configured in the network device, or the location information of the first field is carried by the overhead of the first data frame. In this way, the network device can determine the specific location of the first field in the overhead by acquiring the location information of the first field.
在一种可能的设计中,同一网络设备的入端口的标签层次划分保持一致。这样,可以进一步简化转发实现。In a possible design, the label hierarchy of the ingress port of the same network device remains consistent. In this way, the forwarding implementation can be further simplified.
在一种可能的设计中,转发的客户业务可以是时分复用(TDM)客户业务、固定速率的分组(PKT-CBR)客户业务和可变速率的分组(PKT-VBR)客户业务的至少一种。In a possible design, the forwarded customer service can be at least one of time division multiplexing (TDM) customer service, fixed rate packet (PKT-CBR) customer service, and variable rate packet (PKT-VBR) customer service. Kind.
第二方面,本发明实施例提供了一种业务转发装置,该装置可用于执行上述第一方面的任一种可能的设计提供的任一种方法。该装置可以是通信设备。In the second aspect, an embodiment of the present invention provides a service forwarding device, which can be used to execute any method provided by any possible design of the first aspect. The device may be a communication device.
在一种可能的设计中,可以根据上述第一方面的任一种可能的设计提供的方法对该装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中,例如本申请实施例中的转发模块。In a possible design, the device can be divided into functional modules according to the method provided by any one of the possible designs in the first aspect. For example, each functional module can be divided corresponding to each function, or two or Two or more functions are integrated in one processing module, such as the forwarding module in the embodiment of the present application.
在一种可能的设计中,该装置可以包括:接收模块,用于接收携带客户业务的数据帧;解映射模块,用于对所述数据帧进行解映射,得到所述客户业务的转发标签;转发模块,用于获取所述转发标签的层次信息,根据所述层次信息确定所述转发标签的第一字段,并用于根据所述第一字段对所述客户业务进行转发,其中,所述转发标签包括所述第一字段和第二字段,所述第一字段指示所述客户业务的转发方向,所述第二字段指示所述客户业务的标识,所述层次信息指示所述转发标签的第一字段。In a possible design, the device may include: a receiving module, configured to receive data frames carrying customer services; and a demapping module, configured to demap the data frames to obtain the forwarding label of the customer services; The forwarding module is configured to obtain the level information of the forwarding label, determine the first field of the forwarding label according to the level information, and forward the customer service according to the first field, where the forwarding The label includes the first field and a second field, the first field indicates the forwarding direction of the customer service, the second field indicates the identifier of the customer service, and the level information indicates the first field of the forwarding label. One field.
在一种可能的设计中,所述转发模块还用于:当所述网络设备上的业务转发方向的数量发生变化时,改变所述第一字段的长度。In a possible design, the forwarding module is further configured to change the length of the first field when the number of service forwarding directions on the network device changes.
其中,所述网络设备上的业务转发方向的数量发生变化包括转发方向数增加和转发方向数减少,转发方向数增加是指网络设备接收新的客户业务去往新的转发方向,或者原有客户业务在该网络设备处发生分流,增加新的转发方向;转发方向数减少是指网络设备上的原有客户业务停止发送,或者原有客户业务停止该网络设备上至少一个方向的转发。Wherein, the change in the number of service forwarding directions on the network device includes an increase in the number of forwarding directions and a decrease in the number of forwarding directions. The increase in the number of forwarding directions means that the network device receives new customer services to a new forwarding direction, or the original customer Services are diverted at the network device, and new forwarding directions are added; a decrease in the number of forwarding directions means that the original customer service on the network device stops sending, or the original customer service stops forwarding in at least one direction on the network device.
在一种可能的设计中,所述转发模块还用于获取新的层次信息,根据所述新的层次信息识别所述转发标签的新的第一字段,所述转发模块根据所述新的第一字段对所述客户业务进行转发。In a possible design, the forwarding module is further configured to obtain new level information, identify the new first field of the forwarding label according to the new level information, and the forwarding module according to the new first field One field forwards the customer service.
其中,转发标签的第一字段长度可变,在网络设备接收到新的客户业务去往新的转发方向,或者原有客户业务在该网络设备处发生分流,增加新的转发方向时,可以及时通过增加第一字段长度增加转发方向数,保证第一字段数值与转发方向的一一对应,实现转发标签的动态划分。在网络设备上的原有客户业务停止发送,或者原有客户业务停止该网络设备上至少一个方向的转发时,可以通过减少第一字段的长度释放多余比特位,这样,可以将释放的比特位用于客户业务标识,提高带宽利用率。Among them, the length of the first field of the forwarding label is variable. When a network device receives a new customer service and goes to a new forwarding direction, or when the original customer service is diverted at the network device, a new forwarding direction is added. By increasing the length of the first field to increase the number of forwarding directions, the one-to-one correspondence between the value of the first field and the forwarding direction is ensured, and the dynamic division of forwarding labels is realized. When the original customer service on the network device stops sending, or the original customer service stops forwarding in at least one direction on the network device, the extra bits can be released by reducing the length of the first field, so that the released bits can be released Used for customer service identification to improve bandwidth utilization.
在一种可能的设计中,当网络设备获取新的层次信息,根据所述新的层次信息识别所述转发标签的第一字段时,已有业务或续存业务的转发标签的值可以保持不变,对应的转发方向也不变。这样,可以有效避免业务受损,减少实现的复杂度。In a possible design, when the network device obtains new layer information and recognizes the first field of the forwarding label according to the new layer information, the value of the forwarding label of the existing service or the surviving service may remain unchanged. Change, the corresponding forwarding direction is also unchanged. In this way, business damage can be effectively avoided, and the complexity of implementation can be reduced.
在另一种可能的设计中,所述转发模块还用于对所述客户业务进行转发之后,对所述转发标签进行更新。对所述转发标签进行更新是指将转发标签更新为出端口的出标签。In another possible design, the forwarding module is further configured to update the forwarding label after forwarding the customer service. Updating the forwarding label refers to updating the forwarding label to the outgoing label of the outgoing port.
在一种可能的设计中,所述转发模块还用于将所述客户业务映射到第二数据帧,所述第二数据帧携带更新后的转发标签。In a possible design, the forwarding module is further configured to map the customer service to a second data frame, and the second data frame carries an updated forwarding label.
在一种可能的设计中,所述接收模块还可以用于发送所述第二数据帧。In a possible design, the receiving module may also be used to send the second data frame.
在一种可能的设计中,所述第一字段位于所述第一数据帧和所述第二数据帧的开销区。In a possible design, the first field is located in the overhead area of the first data frame and the second data frame.
在一种可能的设计中,所述第一字段的位置信息在所述网络设备预先配置,或者所述第一字段的位置信息通过所述第一数据帧的开销携带。In a possible design, the location information of the first field is pre-configured in the network device, or the location information of the first field is carried by the overhead of the first data frame.
在一种可能的设计中,所述转发模块还用于获取所述第一字段的位置信息。In a possible design, the forwarding module is further configured to obtain the location information of the first field.
在一种可能的设计中,转发模块处理的客户业务,可以是时分复用(TDM)客户业务、固定速率的分组(PKT-CBR)客户业务和可变速率的分组(PKT-VBR)客户业务的至少一种。In a possible design, the client services processed by the forwarding module can be time division multiplexing (TDM) client services, fixed rate packet (PKT-CBR) client services, and variable rate packet (PKT-VBR) client services At least one of.
在一种可能的设计中,同一网络设备的入端口的标签层次划分保持一致。这样,可以进一步简化转发实现。In a possible design, the label hierarchy of the ingress port of the same network device remains consistent. In this way, the forwarding implementation can be further simplified.
第三方面,本发明实施例提供了一种业务传输***,该***包括客户业务源端网络设备、业务转发网络设备和宿端网络设备。In a third aspect, an embodiment of the present invention provides a service transmission system, which includes a client service source network device, a service forwarding network device, and a sink network device.
在一种可能的设计中,所述***还包括上述客户业务传输装置。In a possible design, the system further includes the above-mentioned customer service transmission device.
第四方面,本发明的实施例提供了一种计算机可读存储介质,用于存储指令、所述指令被运行时会驱动装置执行前述方法,其中,计算机可读存储戒子也可以是计算机程序产品。In a fourth aspect, the embodiments of the present invention provide a computer-readable storage medium for storing instructions that will drive the device to execute the foregoing method when the instructions are executed, wherein the computer-readable storage or computer program product.
第五方面,本申请提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法In the fifth aspect, this application provides a computer program product containing instructions, which when running on a computer, causes the computer to execute the methods described in the above aspects
第六方面,本发明实施例提供一种业务转发的方法,包括:网络设备从客户设备接收客户业务,对客户业务进行转发,并将客户业务映射到数据帧中,其中,数据帧的开销携带转发标签,转发标签包括第一字段和第二字段,所述第一字段指示所述客户业务的转发方向,所述第二字段指示所述客户业务的标识。In a sixth aspect, an embodiment of the present invention provides a service forwarding method, including: a network device receives client services from client devices, forwards the client services, and maps the client services to data frames, where the overhead of the data frame carries A forwarding label, the forwarding label includes a first field and a second field, the first field indicates the forwarding direction of the customer service, and the second field indicates the identifier of the customer service.
其中,所述网络设备为所述客户业务的源节点,转发标签为所述网络设备出端口的出标签,也可以作为下游转发节点入端口的入标签。The network device is the source node of the customer service, and the forwarding label is the outgoing label of the outgoing port of the network device, and can also be used as the ingress label of the ingress port of the downstream forwarding node.
第七方面,本发明实施例提供一种网络设备,该网络设备用于执行上述第五方面中任一种可能的设计提供的任一种方法。In a seventh aspect, an embodiment of the present invention provides a network device that is configured to execute any method provided by any possible design in the fifth aspect.
在一种可能的设计中,可以根据上述第五方面的任一种可能的设计提供的方法对该网络设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。In a possible design, the network device can be divided into functional modules according to the method provided by any of the possible designs of the fifth aspect. For example, each functional module can be divided corresponding to each function, or two Or two or more functions are integrated in one processing module.
在一种可能的设计中,该网络设备可以包括交叉板、支路板、线路板,支路板用于接收/发送客户业务,交叉板用于转发客户业务,线路板用于实现线路侧数据帧的复用和解复用、映射和解映射处理。In a possible design, the network equipment may include cross-connect boards, tributary boards, and circuit boards. The tributary boards are used to receive/send client services, the cross-connect boards are used to forward client services, and the circuit boards are used to implement line-side data. Frame multiplexing and demultiplexing, mapping and demapping processing.
第八方面,本发明实施例提供一种业务转发的方法,包括:网络设备接收携带客户业务的第一数据帧,对所述第一数据帧进行解映射,得到所述客户业务的转发标签;其中,所述转发标签包括所述第一字段和第二字段,所述第一字段指示所述客户业务的转发方向,所述第二字段指示所述客户业务的标识;所述网络设备客户业务发送给客户侧设备。通过上述方法,网络设备仅通过识别转发标签的第一字段部分,便可以实现对客户业务的转发,可以降低客户业务转发的复杂度,提高带宽的利用率。In an eighth aspect, an embodiment of the present invention provides a service forwarding method, including: a network device receives a first data frame carrying a customer service, and demaps the first data frame to obtain a forwarding label of the customer service; Wherein, the forwarding label includes the first field and the second field, the first field indicates the forwarding direction of the customer service, and the second field indicates the identifier of the customer service; the network equipment customer service Send to the client device. Through the above method, the network device can forward customer services only by identifying the first field part of the forwarding label, which can reduce the complexity of customer service forwarding and improve bandwidth utilization.
其中,网络设备为所述客户业务的宿节点,该宿节点也可以是其他客户业务的转发节点。Wherein, the network device is a sink node of the client service, and the sink node may also be a forwarding node of other client services.
在一种可能的设计中,所述网络设备对所述客户业务进行转发之后,该方法还包括:所述客户业务从所述网络设备的出端口输出。In a possible design, after the network device forwards the client service, the method further includes: outputting the client service from the out port of the network device.
在一种可能的设计中,当所述网络设备上的业务转发方向的数量发生变化时,该方法还包括:所述网络设备改变所述第一字段的长度。In a possible design, when the number of service forwarding directions on the network device changes, the method further includes: the network device changes the length of the first field.
在一种可能的设计中,该方法还包括:所述网络设备获取新的层次信息,根据所述新的层次信息识别所述转发标签的新的第一字段,所述网络设备根据所述新的第一字段对所述客户业务进行转发。In a possible design, the method further includes: the network device acquires new layer information, identifies the new first field of the forwarding label according to the new layer information, and the network device according to the new The first field of forwards the customer service.
在一种可能的设计中,当网络设备获取新的层次信息,根据所述新的层次信息识别所述转发标签的第一字段时,已有业务或续存业务的转发标签的值可以保持不变,对应的转发方向也不变。这样,可以有效避免业务受损,减少实现的复杂度。In a possible design, when the network device obtains new layer information and recognizes the first field of the forwarding label according to the new layer information, the value of the forwarding label of the existing service or the surviving service may remain unchanged. Change, the corresponding forwarding direction is also unchanged. In this way, business damage can be effectively avoided, and the complexity of implementation can be reduced.
在一种可能的设计中,所述网络设备对所述客户业务进行转发之后,该方法还包括:所述网络设备对所述转发标签进行更新。In a possible design, after the network device forwards the customer service, the method further includes: the network device updates the forwarding label.
在一种可能的设计中,该方法还包括:所述网络设备将其余客户业务映射成第二数据帧,所述第二数据帧携带其余客户业务更新后的转发标签,并发送所述第二数据帧。In a possible design, the method further includes: the network device maps the remaining customer services into a second data frame, the second data frame carrying the updated forwarding label of the remaining customer services, and sending the second Data Frame.
在一种可能的设计中,所述第一字段位于所述第一数据帧的开销区。In a possible design, the first field is located in the overhead area of the first data frame.
在一种可能的设计中,所述第一字段的位置信息在所述网络设备预先配置,或者所述第一字段的位置信息通过所述第一数据帧的开销携带。In a possible design, the location information of the first field is pre-configured in the network device, or the location information of the first field is carried by the overhead of the first data frame.
在一种可能的设计中,同一网络设备的入端口的标签层次划分保持一致。这样,可以进一步简化转发实现。In a possible design, the label hierarchy of the ingress port of the same network device remains consistent. In this way, the forwarding implementation can be further simplified.
在一种可能的设计中,转发的客户业务可以是时分复用(TDM)客户业务、固定速率的分组(PKT-CBR)客户业务和可变速率的分组(PKT-VBR)客户业务的至少一种。In a possible design, the forwarded customer service can be at least one of time division multiplexing (TDM) customer service, fixed rate packet (PKT-CBR) customer service, and variable rate packet (PKT-VBR) customer service. Kind.
第九方面,本发明实施例提供一种网络设备,该网络设备用于执行上述第七方面中任一种可能的设计提供的任一种方法。In the ninth aspect, an embodiment of the present invention provides a network device, which is configured to execute any method provided by any possible design in the seventh aspect.
在一种可能的设计中,可以根据上述第七方面的任一种可能的设计提供的方法对该网络设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。In a possible design, the network device can be divided into functional modules according to the method provided by any of the possible designs of the seventh aspect. For example, each functional module can be divided corresponding to each function, or two Or two or more functions are integrated in one processing module.
在一种可能的设计中,该网络设备可以包括交叉板、支路板、线路板,支路板用于接收/发送客户业务,交叉板用于转发客户业务,线路板用于实现线路侧数据帧的复用和解复用、映射和解映射处理。In a possible design, the network equipment may include cross-connect boards, tributary boards, and circuit boards. The tributary boards are used to receive/send client services, the cross-connect boards are used to forward client services, and the circuit boards are used to implement line-side data. Frame multiplexing and demultiplexing, mapping and demapping processing.
可以理解的是,上述提供的任一种传送网中的业务传输装置或通信设备或计算机存储介质或计算机程序产品等均可以应用于上文所提供的对应的方法,因此,其所能达到的有益效果可参考对应的方法中的有益效果,此处不再赘述。It can be understood that any of the service transmission devices or communication equipment or computer storage media or computer program products in the transmission network provided above can be applied to the corresponding methods provided above, and therefore, what it can achieve For the beneficial effects, please refer to the beneficial effects in the corresponding method, which will not be repeated here.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。显而易见地,下面附图中反映的仅仅是本发明的一部分实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得本发明的其他实施方式。而所有这些实施例或实施方式都在本发明的保护范围之内。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the following drawings reflect only a part of the embodiments of the present invention. For those of ordinary skill in the art, without creative labor, other embodiments of the present invention can be obtained based on these drawings. . All these examples or implementations are within the protection scope of the present invention.
图1为可适用于本申请实施例的一种OTN帧结构示意图;FIG. 1 is a schematic diagram of an OTN frame structure applicable to embodiments of the present application;
图2为可适用于本申请实施例的一种添加开销的净荷块示意图;FIG. 2 is a schematic diagram of a payload block with additional overhead applicable to an embodiment of the present application;
图3为可适用于本申请实施例的一种ODU帧与n个连续的净荷块之间的对应关系示意图;FIG. 3 is a schematic diagram of the correspondence between an ODU frame and n consecutive payload blocks applicable to embodiments of the present application;
图4为可适用于本申请实施例的一种业务转发节点流程示意图;FIG. 4 is a schematic diagram of a service forwarding node flow diagram applicable to embodiments of the present application;
图5为可适用于本申请实施例的一种层次化标签处理空间结构示意图;FIG. 5 is a schematic diagram of a hierarchical label processing space structure applicable to embodiments of the present application;
图6为本申请实施例提供的一种传送网中业务传输的方法流程示意图;FIG. 6 is a schematic flowchart of a method for service transmission in a transport network according to an embodiment of this application;
图7为本申请实施例提供的另一种传送网中业务传输的方法流程示意图;FIG. 7 is a schematic flowchart of another method for service transmission in a transport network according to an embodiment of the application;
图8为本申请实施例提供的一种光传送网中标签扩展的净荷块结构示意图;FIG. 8 is a schematic diagram of a payload block structure of a tag extension in an optical transport network provided by an embodiment of this application;
图9为本申请实施例提供的一种分组传送网中的MPLS标签格式示意图;FIG. 9 is a schematic diagram of an MPLS label format in a packet transport network provided by an embodiment of the application;
图10为本申请实施例提供的一种分组传送网中业务传输的方法示意图;FIG. 10 is a schematic diagram of a method for service transmission in a packet transmission network according to an embodiment of this application;
图11为本申请实施例提供的一种业务传输装置的结构示意图;FIG. 11 is a schematic structural diagram of a service transmission apparatus provided by an embodiment of this application;
图12为本申请实施例提供的一种业务传输设备的结构示意图;FIG. 12 is a schematic structural diagram of a service transmission device provided by an embodiment of this application;
图13为本申请实施例提供的一种业务传输***示意图。FIG. 13 is a schematic diagram of a service transmission system provided by an embodiment of this application.
具体实施方式detailed description
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述。方法实施例中的具体操作方法也可以应用于装置实施例或***实施例中。In order to make the objectives, technical solutions, and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings. The specific operation method in the method embodiment can also be applied to the device embodiment or the system embodiment.
本申请实施例提供的技术方案可适用于业务传送网,具体地,可以应用于光网络,例如OTN,也可应用于分组传送网,如PTN。一个OTN(或PTN)通常由多个OTN(或PTN)设备通过光纤连接而成,组成如线型、环形和网状等不同的拓扑类型。The technical solutions provided by the embodiments of the present application can be applied to a service transmission network, specifically, can be applied to an optical network, such as OTN, and can also be applied to a packet transmission network, such as PTN. An OTN (or PTN) is usually formed by connecting multiple OTN (or PTN) devices through optical fibers, forming different topological types such as linear, ring, and mesh.
在电层上,OTN设备所处理的OTN帧可以采用国际电信联盟-电信标准分部(International Telecommunication Union-Telecommunication standard sector,ITU-T)定义的帧格式。例如,G.709标准和G.709.1标准等,以实现设备之间的互通。现有的标准中已经定义了多种速率的OTN帧,如OPUk帧、ODUk帧和OTUk帧。其中,k=0、1、2、3、4、Cn和flex分别表示比特速率为1.25Gbit/s、2.5Gbit/s、10Gbit/s、40Gbit/s、100Gbit/s、n*100Gbit/s和n*1.25Gbit/s(n≥2)。需要说明的是,上述提及的比特速率均为近似值。例如,OPU4帧的比特速率更准确的为104.35597533Gbit/s。其他示例不再一一列举。On the electrical layer, the OTN frame processed by the OTN device can adopt the frame format defined by the International Telecommunication Union-Telecommunication Standard Sector (ITU-T). For example, the G.709 standard and the G.709.1 standard, etc., to achieve intercommunication between devices. The existing standards have defined multiple rate OTN frames, such as OPUk frames, ODUk frames, and OTUk frames. Among them, k = 0, 1, 2, 3, 4, Cn and flex respectively indicate that the bit rate is 1.25Gbit/s, 2.5Gbit/s, 10Gbit/s, 40Gbit/s, 100Gbit/s, n*100Gbit/s and n*1.25Gbit/s (n≥2). It should be noted that the bit rates mentioned above are approximate values. For example, the bit rate of the OPU4 frame is more accurately 104.35597533 Gbit/s. Other examples will not be listed one by one.
图1示出了一种OTUk帧的帧结构示意图。如图1所示,一个OTUk帧有4行*4080列。OPUk帧可以包括OPUk净荷区和OPUk开销区(即OPUk OH),ODUk帧可以包括OPUk帧和ODUk开销区(即ODUk OH),OTUk帧可以包括ODUk帧、OTUk开销区(即OTUk OH)、帧对齐信号(frame alignment signal,FAS)和前向错误纠正(forward error correction,FEC)校验区。OTUk帧中的第1行的1~7列为FAS和复帧对齐信号(multiframe alignment signal,MFAS),第1行的8~14列为OTUk OH,第2~4行的1~14列为ODUk OH,第1~4行的15~16列为OPUk OH,第1~4行的17~3824列为OPUk净荷区,第1~4行的3825~4080列为FEC校验区。Figure 1 shows a schematic diagram of the frame structure of an OTUk frame. As shown in Figure 1, an OTUk frame has 4 rows * 4080 columns. An OPUk frame may include an OPUk payload area and an OPUk overhead area (i.e. OPUk OH), an ODUk frame may include an OPUk frame and an ODUk overhead area (i.e. ODUk OH), and an OTUk frame may include an ODUk frame, an OTUk overhead area (i.e. OTUk OH), Frame alignment signal (frame alignment signal, FAS) and forward error correction (forward error correction, FEC) check area. In the OTUk frame, columns 1 to 7 in row 1 are FAS and multiframe alignment signal (MFAS), columns 8 to 14 in row 1 are OTUk OH, and columns 1 to 14 in rows 2 to 4 are ODUk OH, columns 15-16 in rows 1 to 4 are OPUk OH, columns 17 to 3824 in rows 1 to 4 are OPUk payload areas, and columns 3825 to 4080 in rows 1 to 4 are FEC check areas.
需要说明的是,本申请实施例提供的技术方案中,将ODU净荷区直接划分为n个连续的净荷块。可选地,n的取值可以是任意的,相应地,单个净荷块的速率可以是可变的,通过一个或多个净荷块构成相应的灵活支路单元,有助于使所构成的灵活支路单元的速率和业务速率尽量一致。可选地,n可以取固定值,相应的,单个净荷块的速率也可以为定值,例如,每个净荷块可以包括192字节。这样,有助于每路客户业务都占用到最合适的带宽,有助于尽量减小带宽浪费,从而大大提高带宽资源利用率。It should be noted that, in the technical solution provided in the embodiment of the present application, the ODU payload area is directly divided into n consecutive payload blocks. Optionally, the value of n can be arbitrary. Correspondingly, the rate of a single payload block can be variable. The corresponding flexible tributary unit is formed by one or more payload blocks, which helps make the constituted The rate of the flexible tributary unit and the service rate are as consistent as possible. Optionally, n may take a fixed value. Correspondingly, the rate of a single payload block may also be a fixed value. For example, each payload block may include 192 bytes. In this way, it is helpful for each customer service to occupy the most suitable bandwidth, which helps to minimize bandwidth waste, thereby greatly improving bandwidth resource utilization.
图2为本发明实施例提供的一种净荷块结构示意图。如图2所示,一个净荷块中包括开销和净荷,开销中可以包含标签和其他开销。其中标签字段包含n个bit,可标识2 n条业务,标签的第一字段可以用于指示业务的转发方向,例如,该转发方向可以是客户业务的出端口。 Fig. 2 is a schematic diagram of a payload block structure provided by an embodiment of the present invention. As shown in Figure 2, a payload block includes overhead and payload, and the overhead can include tags and other overheads. The label field contains n bits, which can identify 2 n services. The first field of the label can be used to indicate the forwarding direction of the service. For example, the forwarding direction can be the outgoing port of the customer service.
如上所述,净荷块位于ODU帧的净荷区,可以包括一个字节或连续的多个字节,或者连续的多个比特。具体地,一个净荷块的大小可以是字节的整数倍,也可以是8字节的整数倍,如64字节、128字节、192字节或256字节等。可选地,不同净荷块的大小相等,下文中的具体示例均以此为例进行说明。净荷块可以被称作OSUflex,也可以被称作OSUk或其他名称,本申请对此不做限定。As described above, the payload block is located in the payload area of the ODU frame, and may include one byte or multiple consecutive bytes, or multiple consecutive bits. Specifically, the size of a payload block can be an integer multiple of bytes, or an integer multiple of 8 bytes, such as 64 bytes, 128 bytes, 192 bytes, or 256 bytes. Optionally, the sizes of different payload blocks are the same, and the following specific examples are all described as examples. The payload block can be called OSUflex, or OSUk or other names, which is not limited in this application.
需要说明的是,具体实现时,一个净荷块为承载客户业务的最小单元(亦可以称为最小支路单元),也是业务接收节点对数据帧解映射之后进行转发的最小单元。一个净荷块的速率可以是可变速率,也可以是固定速率。多个净荷块可以组合作为一个灵活支路单元,用于承载对应速率的客户业务。不同的小颗粒业务依据各自速率映射到对应的净荷块中,并在净荷块的自带开销中添加标签实现端到端的OAM功能。其中,承载同一项客户业务的多个净荷块可以连续,也可以不连续。It should be noted that in specific implementation, a payload block is the smallest unit (also referred to as the smallest tributary unit) that carries customer services, and is also the smallest unit for the service receiving node to forward the data frame after demapping. The rate of a payload block can be a variable rate or a fixed rate. Multiple payload blocks can be combined as a flexible tributary unit for carrying client services of corresponding rates. Different small-particle services are mapped into corresponding payload blocks according to their respective rates, and tags are added to the overhead of the payload blocks to implement end-to-end OAM functions. Among them, multiple payload blocks carrying the same customer service may be continuous or discontinuous.
图3为本发明实施例提供的一种帧结构示意图。图3以图1所示的OTUk帧中所包含的ODUk帧为基础,a图为OTUk帧中所包含的ODUk帧的帧结构,b图为n个连续的净荷块和该n个连续的净荷块对应的开销区(即OH)的示意图。其中,b图中的开销区对应于(即占用)a图中的ODUk OH和OPUk OH;n个连续的净荷块中对应于(即占用)a图中的ODU帧的净荷区。其中,每个净荷块中所承载的客户业务,是按照其在该净荷区中所处的位置“从上到下、从左到右”的顺序进行传输的。如上所述,承载同一项小颗粒业务的多个净荷块可以连续,也可以不连续。Fig. 3 is a schematic diagram of a frame structure provided by an embodiment of the present invention. Figure 3 is based on the ODUk frame contained in the OTUk frame shown in Figure 1. Figure a is the frame structure of the ODUk frame contained in the OTUk frame, and Figure b is the n consecutive payload blocks and the n consecutive A schematic diagram of the overhead area (ie, OH) corresponding to the payload block. Among them, the overhead area in figure b corresponds to (that is, occupies) the ODUk OH and OPUk OH in figure a; the n consecutive payload blocks correspond to (that is, occupy) the payload area of the ODU frame in figure a. Among them, the client services carried in each payload block are transmitted in the order of "from top to bottom, from left to right" where they are located in the payload area. As mentioned above, multiple payload blocks carrying the same small particle service can be continuous or discontinuous.
在本申请的一些实施例中,为了方便描述,将用于承载多项小颗粒业务的n个连续的净荷块称为一个承载周期。承载周期也可以被称作发送周期、映射周期或数据中间帧等。对此,本申请实施例不进行限定。In some embodiments of the present application, for the convenience of description, n consecutive payload blocks used to carry multiple small-particle services are referred to as a carrying period. The bearer period can also be referred to as a transmission period, a mapping period, or a data intermediate frame. In this regard, the embodiment of the present application does not limit it.
可选地,每个承载周期所包括的净荷块的数量相同Optionally, the number of payload blocks included in each bearer period is the same
此外,本申请实施例涉及到以下通用术语:In addition, the embodiments of this application involve the following general terms:
1)、小颗粒业务1) Small particle business
本申请实施例所述的小颗粒业务可以包含以下业务:The small particle business described in the embodiments of this application may include the following businesses:
表1Table 1
Figure PCTCN2020100283-appb-000001
Figure PCTCN2020100283-appb-000001
2)标签2) Label
本申请中所述的标签可以位于净荷块的开销区,占有固定长度且具有本地意义,用于指 示业务的转发方向。转发方向可以由交叉ID表示,也可以由线路板出端口标识表示。需要说明的是,在不同的传送网中,标签所处位置以及标签长度可以有些许差别,例如,在光传送网中,本申请实施例所述标签可以是将ODU帧的净荷区划分为n个连续的净荷块之后,位于每个净荷块自带开销中、占用一定比特长度的标识符。又例如,在以多协议标签交换为基础的分组传送网中,标签指位于数据包中二层报文与三层报文之间,占用20比特长度,用于表示下游接收节点业务转发方向的标识。The label described in this application can be located in the overhead area of the payload block, occupies a fixed length and has local significance, and is used to indicate the forwarding direction of the service. The forwarding direction can be indicated by the cross ID or the outgoing port ID of the line board. It should be noted that in different transport networks, the location of the tag and the length of the tag may be slightly different. For example, in an optical transport network, the tag described in this embodiment of the application may divide the payload area of the ODU frame into After n consecutive payload blocks, an identifier located in the overhead of each payload block and occupying a certain bit length. For another example, in a packet transport network based on multi-protocol label switching, the label refers to the data packet located between the layer 2 message and the layer 3 message, occupying 20 bits in length, and is used to indicate the direction of service forwarding of downstream receiving nodes. Logo.
3)、数据帧3), data frame
为了方便描述,在本申请的实施例中,将添加开销并映射成帧,可以直接进入物理层进行传送的客户业务统一称为数据帧。所述数据帧可以是光传送网中的OTN帧,也可以是分组传送网中的报文。数据帧包括开销和净荷。数据帧的开销可以用于对客户业务进行监控管理以及承载映射信息等。该映射信息可以用于表征将客户业务映射到数据帧时所采用的映射规则。例如,数据帧的开销包括但不限于数据帧头指示,路径踪迹指示(trail trace identifier,TTI)、X比特间插奇偶校验(X bit-interleaved parity,BIP-X)、后向错误指示(backward error indication,BEI)、后向缺陷指示(backward defect indication,BD)、状态指示(status,STAT)、时戳、顺序标识、映射开销等。数据帧的净荷用于承载客户业务。。For the convenience of description, in the embodiments of the present application, the client services that add overhead and are mapped into frames and can directly enter the physical layer for transmission are collectively referred to as data frames. The data frame may be an OTN frame in an optical transport network, or a packet in a packet transport network. The data frame includes overhead and payload. The overhead of the data frame can be used to monitor and manage customer services and carry mapping information. The mapping information can be used to characterize the mapping rules used when mapping customer services to data frames. For example, the overhead of a data frame includes but is not limited to data frame header indication, trail trace identifier (TTI), X bit-interleaved parity (BIP-X), and backward error indication ( backward error indication (BEI), backward defect indication (BD), status indication (status, STAT), time stamp, sequence identification, mapping overhead, etc. The payload of the data frame is used to carry customer services. .
以下,结合附图,对本申请实施例提供的业务传送网的业务传输方法进行说明。Hereinafter, with reference to the accompanying drawings, the service transmission method of the service transmission network provided by the embodiment of the present application will be described.
图4为本申请实施例提供的一种传送网中业务转发节点流程示意图。如图4所示,为传送网中进行业务传送和转发的三个节点的结构,包括业务源节点NE1、宿节点NE3和转发节点NE2。其中,源节点、宿节点可以包括支路板、交叉板NE和线路板,转发节点可以包括交叉板和至少两块线路板。图4为基于端口的节点结构图,A、B1、C1、D1等均为线路板的物理端口,用于接收或发送客户业务。可以理解的是,节点的一个线路板可以包括多个物理端口,如图所示,作为一个例子,转发节点的左右两块线路板各包括三个物理端口用于接收或者发送业务。需要说明的是,一个节点通常指一台网络设备,在本发明中二者的含义相同。FIG. 4 is a schematic diagram of a flow of a service forwarding node in a transport network provided by an embodiment of the application. As shown in Figure 4, it is a structure of three nodes for service transmission and forwarding in the transport network, including a service source node NE1, a sink node NE3, and a forwarding node NE2. Among them, the source node and the sink node may include a tributary board, a cross board NE, and a line board, and the forwarding node may include a cross board and at least two line boards. Figure 4 is a port-based node structure diagram. A, B1, C1, D1, etc. are all physical ports of the circuit board for receiving or sending customer services. It is understandable that one circuit board of a node may include multiple physical ports. As shown in the figure, as an example, the left and right circuit boards of the forwarding node each include three physical ports for receiving or sending services. It should be noted that a node usually refers to a network device, and the two have the same meaning in the present invention.
控制模块可以通过算路得到客户业务的转发路径,具体到各节点中,节点入端口通过识别标签第一字段确定客户业务的转发方向,转发方向可以由交叉ID表示,也可以由线路板的端口标识来表示。如图4所示,客户业务由源节点N1的入端口A接入,通过交叉ID的指示到达源节点N1的出端口B1,写入源节点的出标签L1并随业务映射成帧,发送到下游转发节点N2。转发节点N2的入端口C1接收数据帧,定帧之后进行解映射,得到承载待转发客户业务的净荷块。净荷块包括开销和数据,其中开销中包含转发标签,例如表2中源节点N1的出标签L1。转发节点N2的入端口C1获取净荷块中的标签L1并根据层次信息(如2.12)将标签L1识别为00.X。标签L1可以包括两个字段,第一字段00用于指示客户业务的转发方向(例如,出端口),第二字段Y用于指示客户业务的标识(例如业务ID)。层次信息可以指示第一字段和第二字段的划分情况,用于识别第一字段(转发方向)。例如,层次信息指示第一字段的长度或位置,或者指示第二字段的长度或位置,也可以同时指示第一字段和第二字段的长度或位置。上述层次信息2.12,“2”用于指示标签L1的第一字段“00”为2个比特,“12”用于指示标签L1的第二字段“X”为12个比特。需要说明的是,源节点N1上的出标签L1与转发节点N2上的入标签01.Y的值相同,在本实施例中均包含14个比特位。两者的区别之处在于:出标签L1可以不区分第一字段和第二字段,在转发节点NE2的入端口C1处通过层次信息2.12将入标签识别为00.X。转发节点N2根据第一字段00与 线路板出端口D2之间的对应关系,入端口C1分配给净荷块相应的交叉ID为2,使其在交叉板上交叉调度之后被转发至出端口D2。净荷块在出端口D2处将出标签更新为L5并映射成帧发送到宿节点的入端口E2。E2接收数据帧,定帧之后进行解映射,得到业务转发单元净荷块。节点N3的入端口E2获取净荷块中的标签并根据层次划分信息1.13将标签D2划分为1.N,确定标签的第一字段为一个比特位,然后根据第一字段1与线路板出端口F1的对应关系,入端口E2分配给净荷块相应的交叉ID为2,在节点N3的交叉板上交叉调度之后被转发至出端口F1,出端口F1为该业务的终点。在另一个例子中,源节点N1的出标签L1、转发节点N2的出标签也L4可以划分为第一字段和第二字段。需要说明的是,在具体传送客户业务时,转发路径中包括源节点、宿节点和至少一个转发节点。The control module can obtain the forwarding path of the customer service by calculating the path. In each node, the ingress port of the node determines the forwarding direction of the customer service through the first field of the identification label. The forwarding direction can be indicated by the cross ID or the port of the circuit board. Logo to indicate. As shown in Figure 4, the customer service is accessed by the ingress port A of the source node N1, reaches the egress port B1 of the source node N1 through the indication of the cross ID, writes the outgoing label L1 of the source node and maps it into a frame along with the service, and sends it to Downstream forwarding node N2. The ingress port C1 of the forwarding node N2 receives the data frame, demaps it after framing, and obtains the payload block carrying the client service to be forwarded. The payload block includes overhead and data. The overhead includes a forwarding label, such as the outgoing label L1 of the source node N1 in Table 2. The ingress port C1 of the forwarding node N2 obtains the label L1 in the payload block and recognizes the label L1 as 00.X according to the hierarchical information (such as 2.12). The label L1 may include two fields. The first field 00 is used to indicate the forwarding direction of the customer service (for example, outgoing port), and the second field Y is used to indicate the identification of the customer service (for example, the service ID). The hierarchical information may indicate the division of the first field and the second field, and is used to identify the first field (forwarding direction). For example, the hierarchical information indicates the length or position of the first field, or indicates the length or position of the second field, or the length or position of the first field and the second field at the same time. In the above-mentioned layer information 2.12, "2" is used to indicate that the first field "00" of the label L1 is 2 bits, and "12" is used to indicate that the second field "X" of the label L1 is 12 bits. It should be noted that the outgoing label L1 on the source node N1 has the same value as the incoming label 01.Y on the forwarding node N2, and both include 14 bits in this embodiment. The difference between the two is that the outgoing label L1 may not distinguish between the first field and the second field, and the incoming label is identified as 00.X through the hierarchical information 2.12 at the incoming port C1 of the forwarding node NE2. According to the corresponding relationship between the first field 00 and the outgoing port D2 of the line board, the forwarding node N2 assigns the ingress port C1 to the corresponding cross ID of the payload block as 2, so that it is forwarded to the outgoing port D2 after cross scheduling on the cross board. . The payload block updates the outgoing label to L5 at the outgoing port D2 and maps it into a frame and sends it to the incoming port E2 of the sink node. E2 receives the data frame, demaps after framing, and obtains the payload block of the service forwarding unit. The ingress port E2 of node N3 obtains the label in the payload block and divides the label D2 into 1.N according to the hierarchical division information 1.13, determines that the first field of the label is a bit, and then according to the first field 1 and the circuit board outgoing port The corresponding relationship of F1, the corresponding cross ID allocated to the payload block by the ingress port E2 is 2, and is forwarded to the egress port F1 after cross scheduling on the cross board of the node N3, and the egress port F1 is the end of the service. In another example, the outgoing label L1 of the source node N1 and the outgoing label L4 of the forwarding node N2 can also be divided into a first field and a second field. It should be noted that when the client service is specifically transmitted, the forwarding path includes a source node, a sink node, and at least one forwarding node.
上述例子中,各节点上配置的转发标签(包括入标签、出标签中的一个或两个)、物理端口(出端口)与交叉ID之间的关系,可以由下表表示:In the above example, the relationship between the forwarding label (including one or two of the incoming label and the outgoing label), physical port (outgoing port) and cross ID configured on each node can be represented by the following table:
表2Table 2
Figure PCTCN2020100283-appb-000002
Figure PCTCN2020100283-appb-000002
需要说明的是,在本实施例中,转发标签的更新发生在网络设备的出端口,便于下游网络设备对客户业务的转发。作为一个示例,转发标签也可以在网络设备的入端口更新,具体地,客户业务由源节点N1传送至转发节点N2,在N1的出端口B1处不更新标签,或者随意分配一个业务标签,之后映射成数据帧传送至转发节点N2,N2的入端口C1将标签更新为L1,并根据层次信息将其划分为00.X,之后根据转发标签的第一字段00以及第一字段与出端口之间的对应关系分配给客户业务相应的交叉ID,将其转发至出端口。It should be noted that, in this embodiment, the update of the forwarding label occurs at the outgoing port of the network device, which facilitates the forwarding of client services by the downstream network device. As an example, the forwarding label can also be updated at the ingress port of the network device. Specifically, the customer service is transmitted from the source node N1 to the forwarding node N2, and the label is not updated at the egress port B1 of N1, or a service label is randomly assigned. It is mapped into a data frame and sent to the forwarding node N2. The ingress port C1 of N2 updates the label to L1, and divides it into 00.X according to the level information, and then according to the first field 00 of the forwarding label and the difference between the first field and the egress port The corresponding relationship between the two is assigned to the corresponding cross ID of the customer service and forwarded to the outgoing port.
本实施例提供的技术方案中,通过标签层次划分,作为转发单元的净荷块可以实现客户业务的逻辑汇聚。具体而言,在客户业务的源节点,网络设备可以对承载多条客户业务的多个净荷块进行整体处理,例如根据标签的第一字段对净荷块进行统一编码,之后进入交换网络实现业务交换,这种整体处理方式可以在增强业务可靠性的同时简化业务处理的复杂性。同时,当汇聚后的客户业务整体被映射到交叉链路进行信元交换(Asynchronous Transfer Mode,ATM)时,由于汇聚后的客户业务整体速率提升了,作为交换单元的信元缓存同样的客户业务耗时更短,从而可以降低时延。需要说明的是,本实施例中交换信元的长度可变,可以是净荷块长度的整数倍,也可以等于净荷块的长度,例如本实施例中的192字节,这样可以减小缓存时延。In the technical solution provided in this embodiment, through label hierarchical division, the payload block as the forwarding unit can realize the logical convergence of customer services. Specifically, at the source node of the customer service, the network device can perform overall processing on multiple payload blocks carrying multiple customer services, for example, uniformly encode the payload block according to the first field of the label, and then enter the switching network for implementation Service exchange, this overall processing method can simplify the complexity of service processing while enhancing service reliability. At the same time, when the aggregated customer service is mapped to the cross link for cell exchange (Asynchronous Transfer Mode, ATM), the aggregated customer service rate increases, and the cell buffers the same customer service as the switching unit. The time is shorter, which can reduce the time delay. It should be noted that the length of the exchange cell in this embodiment is variable, which can be an integer multiple of the length of the payload block, or it can be equal to the length of the payload block, such as 192 bytes in this embodiment, which can reduce Cache delay.
图5为本申请实施例提供的一种传送网中的业务传输方法的网络架构图,其可以包括控制模块和网络节点。控制模块作为业务控制层***,各节点所属网络作为数据承载层,其借助控制层***不仅能够实现算路功能,还能够通过层次化划分的转发标签简化小颗粒业务的转发过程。所述控制模块可以包括提供路由和信令等特定功能的一组控制元件,控制模块通过使用接口、协议以及信令***,可以动态地交换光网络的拓扑信息、路由信息以及其他的控制信令,实现光通路的建立和拆除,以及网络数据的动态分配。需要说明的是,控制模块也可以称为控制器、控制平面等。FIG. 5 is a network architecture diagram of a service transmission method in a transport network provided by an embodiment of the application, which may include a control module and a network node. The control module serves as the service control layer system, and the network to which each node belongs serves as the data bearer layer. With the help of the control layer system, it can not only realize the path calculation function, but also simplify the forwarding process of small-particle services through the hierarchically divided forwarding tags. The control module may include a set of control elements that provide specific functions such as routing and signaling. The control module can dynamically exchange optical network topology information, routing information, and other control signaling by using interfaces, protocols, and signaling systems. , To achieve the establishment and removal of optical channels, and the dynamic distribution of network data. It should be noted that the control module may also be called a controller, a control plane, and so on.
控制模块可以根据各项业务的源节点、宿节点,网络带宽、传输时延以及流量分布情况等相关信息算路,得到各节点标签信息(例如,入标签、出标签、层次信息等),将标签信息下发给各节点。其中,节点的入端口获得层次信息,便于对入标签进行识别,对业务进行转发;节点的出端口获得出标签,用于更新交叉调度/转发之后的标签,更新后的标签作为下游节点的入端口标签。上述对应关系是指净荷块标签第一字段与线路板物理端口之间的对应关系,其中,交叉ID可以是交叉板出业务端口的编号。The control module can calculate the route according to the source node, sink node, network bandwidth, transmission delay, and traffic distribution of each service, and obtain the label information of each node (for example, incoming label, outgoing label, hierarchical information, etc.). The label information is delivered to each node. Among them, the ingress port of the node obtains hierarchical information, which is convenient for identifying the incoming label and forwarding services; the outgoing port of the node obtains the outgoing label, which is used to update the label after cross scheduling/forwarding, and the updated label is used as the incoming label of the downstream node. Port label. The foregoing correspondence refers to the correspondence between the first field of the payload block label and the physical port of the line board, where the cross ID may be the number of the outgoing service port of the cross board.
例如,业务在节点B需被转发至两个方向,节点获得控制模块下发的层次划分为1.y,“1”表示标签域中有1bit用于表示业务方向,其中0对应交叉ID 1,1对应交叉ID 2。假设该节点的上游节点去往两个方向各有50条业务,则控制模块分配转发标签0.0~0.49对应交叉ID 1,1.0~1.49对应交叉ID 2。以上第一字段用的二进制,第二字段用的十进制,该表示方式仅出于方便考虑而用,而不是对标签第一字段和第二字段表示方式的限制。For example, the service needs to be forwarded to two directions at node B, and the level that the node obtains from the control module is divided into 1.y, "1" means that there is 1 bit in the label field to indicate the direction of the service, where 0 corresponds to the cross ID 1, 1 corresponds to cross ID 2. Assuming that the upstream node of the node has 50 services in each of the two directions, the control module assigns forwarding labels 0.0 to 0.49 corresponding to cross ID 1, and 1.0 to 1.49 corresponding to cross ID 2. The binary system used in the first field and the decimal system used in the second field above are used for convenience only, and not a restriction on the expression mode of the first field and the second field of the tag.
具体地,图5示出了控制模块对转发标签的层次化处理过程。其中,节点A、C、D为业务发送端,节点B为业务接收端,三个业务发送节点承载的客户业务在接收节点B一共有两个转发方向。以标签域占用14个bit为例,控制模块根据方向数发送标签层次信息1.13给节点B,并将相应的转发标签(出标签)下发到节点A、D(节点C由于只有单一的业务方向因而无需通过转发标签进行方向区分)。图6仅示出了节点所承载的业务管道去往两个方向的情况,当业务管道数量更多时,可以依次类推。例如,节点承载的业务管道去往四个方向时,控制模块下发给业务接收节点的层次划分更改为2.12,其中,2表示标签中有2bit用于第一字段,即可区分四个逻辑管道,其余12bit用于区分不同的业务。这样,每个逻辑管道内最多可容纳2 12=4k条业务。作为一个例子,标签也可以由节点通过信令协议进行下发。 Specifically, FIG. 5 shows the hierarchical processing process of the forwarding label by the control module. Among them, nodes A, C, and D are service sending ends, node B is the service receiving end, and the customer services carried by the three service sending nodes have two forwarding directions in the receiving node B. Taking 14 bits in the label domain as an example, the control module sends label level information 1.13 to node B according to the number of directions, and delivers the corresponding forwarding label (outgoing label) to nodes A and D (node C has only a single business direction Therefore, there is no need to distinguish between directions by forwarding labels). Figure 6 only shows the situation where the service pipes carried by the node go to two directions. When there are more service pipes, the analogy can be followed. For example, when the service pipeline carried by a node goes to four directions, the level division issued by the control module to the service receiving node is changed to 2.12, where 2 means that 2 bits in the label are used in the first field, which can distinguish four logical pipelines , The remaining 12 bits are used to distinguish different services. In this way, each logical pipeline can hold up to 2 12 = 4k services. As an example, the label can also be issued by the node through a signaling protocol.
图6为本申请实施例提供的一种传送网中的业务传输方法的流程示意图。图6所示的方法可以包括如下步骤:FIG. 6 is a schematic flowchart of a service transmission method in a transport network provided by an embodiment of this application. The method shown in FIG. 6 may include the following steps:
S101:源节点发送第一数据帧。其中,第一数据帧内承载的客户业务可以是时分复用(TDM)客户业务、固定速率的分组(PKT-CBR)客户业务和可变速率的分组(PKT-VBR)客户业务的至少一种。例如,数据帧可以是光传送网中的OTU帧,也可以是分组传送网中的报文。本实施例以光传送网中的OTU帧为例进行介绍。S101: The source node sends the first data frame. The customer service carried in the first data frame may be at least one of time division multiplexing (TDM) customer service, fixed rate packet (PKT-CBR) customer service, and variable rate packet (PKT-VBR) customer service . For example, the data frame can be an OTU frame in an optical transport network, or a packet in a packet transport network. This embodiment takes the OTU frame in the optical transport network as an example for introduction.
作为一个示例,图6展示了源节点发送第一数据帧到转发节点,转发节点对其进行处理的过程,可以理解的是,源节点也可以是转发节点的上游转发节点,本申请实施例不对其进行限制。As an example, Figure 6 shows the process in which the source node sends the first data frame to the forwarding node, and the forwarding node processes it. It can be understood that the source node can also be the upstream forwarding node of the forwarding node, and the embodiment of this application is incorrect. It is restricted.
需要说明的是,源节点的出端口在发送数据帧之前,在出端口写入出标签,该出标签也是下游转发节点入端口的入标签,也是转发节点的转发标签。It should be noted that the outgoing port of the source node writes an outgoing label on the outgoing port before sending the data frame, and the outgoing label is also the incoming label of the incoming port of the downstream forwarding node and the forwarding label of the forwarding node.
S102:转发节点接收第一数据帧并解映射得到客户业务的转发标签。S102: The forwarding node receives the first data frame and demaps to obtain the forwarding label of the customer service.
净荷块为承载客户业务的最小单元(亦可以称为最小支路单元),也是业务接收节点对数据帧解映射之后进行转发的最小单元。一个净荷块的速率可以是可变速率,也可以是固定速率。多个净荷块可以组合作为一个灵活支路单元,用于承载对应速率的客户业务。不同的客户业务依据各自速率映射到对应的净荷块中,并在净荷块的自带开销中添加标签,其中,承载同一项小颗粒业务的多个净荷块可以连续,也可以不连续。图3为将ODU帧划分为n个连续的净荷块的示意图,作为一个示例,每个净荷块的速率固定,用于承载固定速率的客户业务并作为网络设备进行转发的最小单元。净荷块包括开销区和净荷区,转发标签位于净荷块的开销区。The payload block is the smallest unit (also referred to as the smallest branch unit) that carries customer services, and is also the smallest unit for the service receiving node to forward the data frame after demapping. The rate of a payload block can be a variable rate or a fixed rate. Multiple payload blocks can be combined as a flexible tributary unit for carrying client services of corresponding rates. Different customer services are mapped to corresponding payload blocks according to their respective rates, and tags are added to the overhead of the payload blocks. Among them, multiple payload blocks carrying the same small-particle service can be continuous or discontinuous . Fig. 3 is a schematic diagram of dividing an ODU frame into n consecutive payload blocks. As an example, each payload block has a fixed rate and is used to carry fixed-rate client services and serve as the smallest unit for network equipment to forward. The payload block includes an overhead area and a payload area, and the forwarding label is located in the overhead area of the payload block.
需要说明的是,上述转发标签可以是源节点的出标签,也可以是转发节点的入标签。It should be noted that the foregoing forwarding label may be the outgoing label of the source node, or the incoming label of the forwarding node.
S103:转发节点的入端口获取层次信息,根据层次信息确定转发标签的第一字段。S103: The ingress port of the forwarding node obtains level information, and determines the first field of the forwarding label according to the level information.
节点的入端口读取净荷块开销中的入标签,并获取入标签的层次信息,根据层次信息将入标签划分为第一字段和第二字段。其中,第一字段对应业务的转发方向标识,长度可变,作为接收端进行业务转发的依据,且该部分数值由该业务的下游接收端的转发方向数决定;第二字段对应标签的业务标识,可以包含映射信息,用于表征将客户业务映射到净荷块时所采用的映射规则,用于在宿节点或目的节点识别到该业务并进行其他处理;也可以是业务ID,用于识别客户业务。如图5所示,节点A和节点D分别向节点B发送两条业务,从节点A发送的两条业务的标签分别为0xxxxxxxxxxxxx和1yyyyyyyyyyyyy,从节点D发送的两条业务的标签为别为0nnnnnnnnnnnnn和1zzzzzzzzzzzzz。节点B接收数据帧并解映射之后获取四条客户业务的转发标签,并根据层次信息1.13分别将标签层次划分为0.xxxxxxxxxxxxx,1.yyyyyyyyyyyyy,0.nnnnnnnnnnnnn和1.zzzzzzzzzzzzz。其中,位于标签前缀的“0”、“1”即为标签的第一字段,用于标识业务在节点B的转发方向;标签后缀则为业务标识,例如可以用于标识该客户业务在净荷区的具***置。这样,接收端仅需要识别第一字段便可以对客户业务进行转发,从而简化读取和转发的复杂度。The ingress port of the node reads the incoming tag in the overhead of the payload block and obtains the hierarchical information of the incoming tag, and divides the incoming tag into a first field and a second field according to the hierarchical information. Among them, the first field corresponds to the forwarding direction identifier of the service, and the length is variable, as a basis for the receiving end to forward the service, and this part of the value is determined by the forwarding direction number of the downstream receiving end of the service; the second field corresponds to the service identifier of the label, It can contain mapping information, which is used to characterize the mapping rules used when mapping the customer service to the payload block, and is used to identify the service at the sink or destination node and perform other processing; it can also be a service ID to identify the customer business. As shown in Figure 5, node A and node D respectively send two services to node B, the labels of the two services sent from node A are 0xxxxxxxxxxxxx and 1yyyyyyyyyyyyyy, and the labels of the two services sent from node D are 0nnnnnnnnnnnnn And 1zzzzzzzzzzzzzz. After receiving the data frame and demapping, Node B obtains the forwarding labels of four customer services, and divides the label levels into 0.xxxxxxxxxxxxx, 1.yyyyyyyyyyyyyy, 0.nnnnnnnnnnnn and 1.zzzzzzzzzzzzz according to the level information 1.13. Among them, the "0" and "1" in the label prefix are the first field of the label, which is used to identify the forwarding direction of the service in Node B; the label suffix is the service identifier, for example, it can be used to identify the client service in the payload. The specific location of the district. In this way, the receiving end only needs to identify the first field to forward the customer service, thereby simplifying the complexity of reading and forwarding.
作为一个示例,节点B的层次信息可以由控制模块进行下发。具体地,控制模块通过节点A、C、D的业务请求、网络带宽、传输时延以及流量分布等相关信息算路,得到各条业务转发路径,进而确定节点B的业务转发方向数为2,并下发转发标签的层次信息1.13到节点B,其中“1”表示转发标签的第一字段有1个比特位,“13”表示标签的第二字段为13个比特位。之后,节点B对所接收业务的标签划分为两个字段,其中第一字段占用一个比特,用于标识业务转发方向,可以对应交叉板的出端口。As an example, the level information of Node B can be issued by the control module. Specifically, the control module calculates routes based on the service requests of nodes A, C, and D, network bandwidth, transmission delay, and traffic distribution, etc., to obtain each service forwarding path, and then determines that the number of service forwarding directions of node B is 2. The layer information 1.13 of the forwarding label is also issued to node B, where "1" means that the first field of the forwarding label has 1 bit, and "13" means that the second field of the label has 13 bits. After that, the node B divides the label of the received service into two fields, where the first field occupies one bit, which is used to identify the forwarding direction of the service, and can correspond to the outgoing port of the cross board.
S104:转发节点的入端口依据转发标签的第一字段对客户业务进行转发。S104: The ingress port of the forwarding node forwards the customer service according to the first field of the forwarding label.
如图5所示,节点B的入端口(接收端口)根据净荷块入标签的第一字段匹配出口方向。具体地,第一字段值为0对应转发方向1,也可以是出端口1,第一字段为1对应转发方向2,也可以是出端口2。按照这种方式,节点B的入端口仅识别标签的第一字段即可将业务转发到相应方向,简化了转发过程。As shown in Fig. 5, the ingress port (receiving port) of node B matches the egress direction according to the first field of the in-tag of the payload block. Specifically, a value of 0 in the first field corresponds to forwarding direction 1, which can also be egress port 1, and a value of 1 in the first field corresponds to forwarding direction 2, or egress port 2. In this way, the ingress port of the node B can forward the service to the corresponding direction only by identifying the first field of the label, which simplifies the forwarding process.
可选地,标签的第一字段可以位于开销的标签域中。具体的,第一字段可以位于标签的前几个比特位,也可以位于标签的后几个比特位。Optionally, the first field of the tag may be located in the tag field of the overhead. Specifically, the first field may be located in the first few bits of the tag, or may be located in the last few bits of the tag.
可选地,标签的第一字段也可以位于标签扩展域中。其中,标签扩展域可以是开销中未使用的比特位,或者保留的比特位,例如,可以统一开销格式版本,将净荷块的开销中用于指示格式版本的两比特作为标签扩展域,或者,可以预留一个字节用于指示开销格式版本,另一个字节作为标签扩展域,与原始标签域中的比特位共同发挥作用。换言之,转发标签的第一字段可以全部位于标签域,也可以全部位于标签扩展域,还可以部分位于标签域,部分位于标签扩展域,因此,对于转发标签第一字段的连续性与各字节之间是否相邻不做限制。这样,标签域中不必预留多余的比特位用于第一字段的扩展,有助于提高带宽利用率。标签扩展域是指位于开销中原始标签域(例如14bit)之外的比特位,经扩展后作为标签第一字段标识转发方向的部分,例如开销中未使用的比特位。Optionally, the first field of the label may also be located in the label extension field. Wherein, the label extension field can be unused bits in the overhead or reserved bits. For example, the overhead format version can be unified, and the two bits used to indicate the format version in the overhead of the payload block are used as the label extension field, or , One byte can be reserved for indicating the overhead format version, and the other byte is used as the tag extension field, which works together with the bits in the original tag field. In other words, the first field of the forwarding label can be all in the label field, or all in the label extension field, part of the label field, and part of the label extension field. Therefore, for the continuity of the first field of the forwarding label and each byte There is no restriction on whether they are adjacent to each other. In this way, there is no need to reserve extra bits in the tag field for the expansion of the first field, which helps to improve bandwidth utilization. The label extension field refers to the bits located outside the original label field (for example, 14 bits) in the overhead, and after extension, the first field of the label identifies the forwarding direction, such as the unused bits in the overhead.
可选地,标签扩展的比特位与原标签中用于标识方向的比特位可以相邻,也可以不相邻。这样,可以有效利用开销中的比特位。Optionally, the extended bits of the label and the bits used to identify the direction in the original label may be adjacent or non-adjacent. In this way, the bits in the overhead can be effectively used.
可选地,可以在数据帧的开销中***位置信息并随业务进行传输,位置信息可以用于指 示转发标签的第一字段在开销中的位置以及所占用的比特位数。这样,接收端可以快速读取标签的第一字段并进行相应的转发。Optionally, location information can be inserted into the overhead of the data frame and transmitted with the service. The location information can be used to indicate the location of the first field of the forwarding label in the overhead and the number of bits occupied. In this way, the receiving end can quickly read the first field of the tag and forward it accordingly.
可选地,网络设备可以预先配置位置信息用于指示转发标签的第一字段的位置,这样,位置信息不必占用数据帧中的开销,有助于提高带宽利用率。Optionally, the network device may pre-configure location information to indicate the location of the first field of the forwarding label. In this way, the location information does not need to occupy the overhead in the data frame, which helps to improve bandwidth utilization.
S105:在出端口更新转发标签。S105: Update the forwarding label at the outgoing port.
出端口(发送端)将入标签更新为出端口分配的出标签,以识别下游节点的转发方向。更新后的转发标签同样包含第一字段和第二字段,第一字段用于识别转发方向,第二字段用于进行业务标识,第一字段的数值由下游节点的转发方向数和对应关系决定,对应关系是指转发标签的第一字段与线路板出端口之间的关系。需要说明的是,标签层次化划分和识别可以发生在节点入端口,标签更新可以发生在节点出端口,这样可以简化业务转发过程。The outgoing port (sending end) updates the incoming label to the outgoing label assigned by the outgoing port to identify the forwarding direction of the downstream node. The updated forwarding label also contains the first field and the second field. The first field is used to identify the forwarding direction, and the second field is used for service identification. The value of the first field is determined by the number of forwarding directions of the downstream node and the corresponding relationship. The corresponding relationship refers to the relationship between the first field of the forwarding label and the outgoing port of the line board. It should be noted that the label hierarchical division and identification can occur at the ingress port of the node, and the label update can occur at the egress port of the node, which can simplify the service forwarding process.
S106:发送端将客户业务映射到第二数据帧,并发送第二数据帧。S106: The sending end maps the client service to the second data frame, and sends the second data frame.
可选地,对于同一路客户业务来说,发送端先接收到的客户业务先被发送,后接收到的客户业务后被发送。对于不同路客户业务来说,本申请实施例对发送端接收和发送端发送客户业务的顺序不进行限定。基于此,对于数据帧内的净荷区而言,可以按照“从上到下,从左到右”的顺序进行传输。Optionally, for the same customer service, the customer service received first by the sending end is sent first, and the customer service received later is sent later. For different customer services, the embodiments of this application do not limit the order in which the sender receives and the sender sends the client services. Based on this, the payload area in the data frame can be transmitted in the order of "from top to bottom, from left to right".
图7为为本申请实施例提供的一种传送网中的业务传输方法的流程示意图。如图7所示,图7所示的方法可以包括如下步骤:FIG. 7 is a schematic flowchart of a service transmission method in a transport network provided by an embodiment of this application. As shown in FIG. 7, the method shown in FIG. 7 may include the following steps:
S201:源节点发送第三数据帧。S201: The source node sends a third data frame.
第三数据帧携带新的客户业务去往新的转发方向,或者第三数据帧中携带的某个原有业务在转发节点进行分流,增加至少一个转发方向。The third data frame carries the new customer service to a new forwarding direction, or an original service carried in the third data frame is split at the forwarding node, adding at least one forwarding direction.
以图4为例,当出现新的业务需求时,控制模块通过算路得到该客户业务的转发路径,新业务按照转发路径经过至少一次转发到达B1出端口,并将转发标签更新为B1出端口所分配的出标签L1。新业务随已有业务映射成帧并由出端口B1发送到下游转发节点的入端口C1。Taking Figure 4 as an example, when a new service requirement arises, the control module obtains the forwarding path of the customer service by calculating the path. The new service is forwarded at least once to the B1 egress port according to the forwarding path, and the forwarding label is updated to the B1 egress port. The assigned out label L1. The new service is mapped into a frame along with the existing service and sent from the out port B1 to the in port C1 of the downstream forwarding node.
S202:转发节点的入端口接收第三数据帧,解映射得到客户业务的转发标签。S202: The ingress port of the forwarding node receives the third data frame, and demaps to obtain the forwarding label of the customer service.
净荷块为承载客户业务的最小单元(亦可以称为最小支路单元),也是业务接收节点对数据帧解映射之后进行转发的最小单元。一个净荷块的速率可以是可变速率,也可以是固定速率。多个净荷块可以组合作为一个灵活支路单元,用于承载对应速率的客户业务。不同的客户业务依据各自速率映射到对应的净荷块中,并在净荷块的自带开销中添加标签,其中,承载同一项小颗粒业务的多个净荷块可以连续,也可以不连续。图3为将ODU帧划分为n个连续的净荷块的示意图,作为一个示例,每个净荷块的速率固定,用于承载固定速率的客户业务并作为网络设备进行转发的最小单元。净荷块包括开销区和净荷区,转发标签位于净荷块的开销区。The payload block is the smallest unit (also referred to as the smallest branch unit) that carries customer services, and is also the smallest unit for the service receiving node to forward the data frame after demapping. The rate of a payload block can be a variable rate or a fixed rate. Multiple payload blocks can be combined as a flexible tributary unit for carrying client services of corresponding rates. Different customer services are mapped to corresponding payload blocks according to their respective rates, and tags are added to the overhead of the payload blocks. Among them, multiple payload blocks carrying the same small-particle service can be continuous or discontinuous . Fig. 3 is a schematic diagram of dividing an ODU frame into n consecutive payload blocks. As an example, each payload block has a fixed rate and is used to carry fixed-rate client services and serve as the smallest unit for network equipment to forward. The payload block includes an overhead area and a payload area, and the forwarding label is located in the overhead area of the payload block.
上述转发标签可以是源节点的出标签,也可以是转发节点的入标签。The aforementioned forwarding label may be the outgoing label of the source node, or the incoming label of the forwarding node.
需要说明的是,为了适配新的转发方向数,标签域中需要预留一定的比特位用于标识新的转发方向,预留部分默认值0。It should be noted that in order to adapt to the new number of forwarding directions, certain bits need to be reserved in the tag field for identifying the new forwarding direction, and some default values of 0 are reserved.
S203:入端口获取转发标签的新的层次信息,根据新的层次信息识别转发标签的新的第一字段。S203: The ingress port obtains the new level information of the forwarding label, and identifies the new first field of the forwarding label according to the new level information.
节点的入端口获取转发标签的新的层次信息,根据新的层次信息将标签重新层次划分为第一字段和第二字段。其中,第一字段长度可变,作为入端口进行业务转发的依据,且该部 分数值由该业务的下游节点的转发方向数和对应关系决定;第二字段对应标签的业务标识,可以包含映射信息,用于表征将客户业务映射到净荷块时所采用的映射规则,用于在宿节点或目的节点识别到该业务并进行其他处理。第二字段在转发过程中可以保持不变。The ingress port of the node obtains the new level information of the forwarding label, and re-divides the label into the first field and the second field according to the new level information. Among them, the length of the first field is variable, as the basis for service forwarding by the ingress port, and the value of this part is determined by the number of forwarding directions of the downstream nodes of the service and the corresponding relationship; the second field corresponds to the service identifier of the label, and may contain mapping information , Used to characterize the mapping rules used when mapping client services to payload blocks, and used to identify the service at the sink node or destination node and perform other processing. The second field may remain unchanged during the forwarding process.
具体地,以图5为例进行说明。业务汇聚节点B原有两个转发方向,层次信息为1.13,其中第一字段为0时对应转发方向1,第一字段为1时对应转发方向2。当该上游节点新增n条客户业务去往转发方向3,例如C节点有n条业务需转发至方向3。由于三个业务方向需要至少两个比特位进行标识,原来的层次信息1.13无法满足当前的转发需求,此时需要扩展标签的第一字段,将标签重新层次划分为2.12。其中2表示标签域中有2bit用于第一字段,具体地,00对应转发方向1,10对应转发方向2,01对应转发方向3,11暂时未用。此时,标签的第一字段由1bit扩展至2bit,这种第一字段长度的动态可变性可以在简化转发复杂度的同时满足新的业务转发需求。Specifically, take FIG. 5 as an example for description. The service convergence node B has two original forwarding directions, and the level information is 1.13. When the first field is 0, it corresponds to forwarding direction 1, and when the first field is 1, it corresponds to forwarding direction 2. When the upstream node adds n customer services to the forwarding direction 3, for example, the C node has n services to be forwarded to the direction 3. Since the three service directions require at least two bits for identification, the original layer information 1.13 cannot meet the current forwarding requirements. At this time, the first field of the label needs to be expanded to re-divide the label into 2.12. Wherein 2 indicates that there are 2 bits in the label field for the first field. Specifically, 00 corresponds to forwarding direction 1, 10 corresponds to forwarding direction 2, 01 corresponds to forwarding direction 3, and 11 is temporarily unused. At this time, the first field of the label is expanded from 1 bit to 2 bits. This dynamic variability of the length of the first field can simplify the forwarding complexity while meeting new service forwarding requirements.
作为一个示例,节点B新的层次信息和对应关系以及节点A、C、D出端口新的转发标签可以由控制模块进行下发。具体地,节点C新的业务请求触发刷新,控制模块通过节点A、C、D的业务请求、网络带宽、传输时延以及流量分布等相关信息重新算路,得到包括新业务在内的各条业务转发路径,进而确定节点B的业务转发方向数增加为3,于是下发标签层次划分2.12到节点B,其中“2”表示标签的第一字段为2个比特,12表示转发标签的第二字段为12比特。As an example, the new hierarchical information and corresponding relationship of node B and the new forwarding labels of the outbound ports of nodes A, C, and D can be issued by the control module. Specifically, a new service request from node C triggers the refresh, and the control module recalculates the path based on the service request of nodes A, C, and D, network bandwidth, transmission delay, and traffic distribution, etc., to obtain various information including the new service. The service forwarding path is determined to increase the number of service forwarding directions of node B to 3, so the label hierarchy division 2.12 is issued to node B, where “2” means the first field of the label is 2 bits, and 12 means the second forwarding label The field is 12 bits.
可选地,在节点出端口更新转发标签过程中,续存转发标签值可以保持不变,这有助于维持业务的稳定性,同时简化实现。具体地,如上述扩展方式,假设转发节点原有转发方向为方向1和方向2,两个方向各有50条业务,标签划分为1.13,其中第一字段为0对应方向1,第一字段为1对应方向2。当新增转发方向3上的业务时,控制模块下发新的层次信息2.12,其中00对应原方向1,10对应原方向2,10对应新增方向3,11暂时未用。通过这种对应方式,继存转发标签值并未发生改变,对应的转发方向也不发生改变,而仅是标签划分发生变化。具体的对应关系如下表所示。Optionally, in the process of updating the forwarding label on the node's outgoing port, the value of the surviving forwarding label can remain unchanged, which helps maintain the stability of the service and simplify implementation. Specifically, as in the above extension method, assuming that the original forwarding directions of the forwarding node are direction 1 and direction 2, there are 50 services in each direction, and the label is divided into 1.13, where the first field is 0 corresponding to direction 1, and the first field is 1 corresponds to direction 2. When a service in forwarding direction 3 is newly added, the control module issues new level information 2.12, where 00 corresponds to the original direction 1, 10 corresponds to the original direction 2, 10 corresponds to the newly added direction 3, and 11 is temporarily unused. Through this corresponding method, the value of the relay forwarding label does not change, and the corresponding forwarding direction does not change, but only the label division changes. The specific correspondence is shown in the table below.
表3table 3
 To 方向1 Direction 1 方向2 Direction 2 方向3 Direction 3 方向4 Direction 4
旧标签 Old label 0|001~0|0490|001~0|049 1|001~1|0491|001~1|049 无业务No business 无业务No business
新标签New label 00|01~00|4900|01~00|49 10|01~10|4910|01~10|49 01|01~01|4901|01~01|49 无业务No business
需要说明的是,为了简化标签的表述,标签的后12个比特位用编号01—49表示,而非代表转发标签仅为4个比特位长度。It should be noted that, in order to simplify the expression of the label, the last 12 bits of the label are represented by the numbers 01-49, and the non-representative forwarding label is only 4 bits long.
S204:入端口根据新的第一字段对客户业务进行转发。S204: The ingress port forwards the customer service according to the new first field.
入端口根据第一字段和出端口之间的对应关系,分配给客户业务相应的ID,将其转发至出端口。According to the corresponding relationship between the first field and the outgoing port, the ingress port is assigned to the corresponding ID of the customer service, and it is forwarded to the egress port.
可选地,标签的第一字段可以位于开销的标签域中。具体的,第一字段可以位于标签的前几个比特位,也可以位于标签的后几个比特位。Optionally, the first field of the tag may be located in the tag field of the overhead. Specifically, the first field may be located in the first few bits of the tag, or may be located in the last few bits of the tag.
可选地,标签的第一字段也可以位于标签扩展域中。其中,标签扩展域可以是开销中未使用的比特位,或者保留的比特位,例如,可以统一开销格式版本,将净荷块的开销中用于指示格式版本的两比特作为标签扩展域,或者,可以预留一个字节用于指示开销格式版本,另一个字节作为标签扩展域,与原始标签域中的比特位共同发挥作用。换言之,转发标签的第一字段可以全部位于标签域,也可以全部位于标签扩展域,还可以部分位于标签域,部分 位于标签扩展域,因此,对于转发标签第一字段的连续性与各字节之间是否相邻不做限制。这样,标签域中不必预留多余的比特位用于第一字段的扩展,有助于提高带宽利用率。标签扩展域是指位于开销中原始标签域(例如14bit)之外的比特位,经扩展后作为标签第一字段标识转发方向的部分,例如开销中未使用的比特位。Optionally, the first field of the label may also be located in the label extension field. Wherein, the label extension field can be unused bits in the overhead or reserved bits. For example, the overhead format version can be unified, and the two bits used to indicate the format version in the overhead of the payload block are used as the label extension field, or , One byte can be reserved for indicating the overhead format version, and the other byte is used as the tag extension field, which works together with the bits in the original tag field. In other words, the first field of the forwarding label can be all in the label field, or all in the label extension field, part of the label field, and part of the label extension field. Therefore, for the continuity of the first field of the forwarding label and each byte There is no restriction on whether they are adjacent to each other. In this way, there is no need to reserve extra bits in the tag field for the expansion of the first field, which helps to improve bandwidth utilization. The label extension field refers to the bits located outside the original label field (for example, 14 bits) in the overhead, and after extension, the first field of the label identifies the forwarding direction, such as the unused bits in the overhead.
可选地,标签扩展的比特位与原标签中用于标识方向的比特位可以相邻,也可以不相邻。这样,可以有效利用开销中的比特位。Optionally, the extended bits of the label and the bits used to identify the direction in the original label may be adjacent or non-adjacent. In this way, the bits in the overhead can be effectively used.
可选地,可以在数据帧的开销中***位置信息并随业务进行传输,例如位置信息可以携带在ODU帧所包括的OPU开销中或者ODU开销中,如图3b中的OH中。位置信息可以用于指示转发标签的第一字段在开销中的位置以及所占用的比特位数。这样,接收端可以快速读取标签的第一字段并进行相应的转发。Optionally, location information can be inserted into the overhead of the data frame and transmitted with the service. For example, the location information can be carried in the OPU overhead included in the ODU frame or in the ODU overhead, as shown in OH in Figure 3b. The location information may be used to indicate the location of the first field of the forwarding tag in the overhead and the number of bits occupied. In this way, the receiving end can quickly read the first field of the tag and forward it accordingly.
可选地,网络设备可以预先配置位置信息用于指示转发标签的第一字段的位置,这样,位置信息不必占用数据帧中的开销,有助于提高带宽利用率。Optionally, the network device may pre-configure location information to indicate the location of the first field of the forwarding label. In this way, the location information does not need to occupy the overhead in the data frame, which helps to improve bandwidth utilization.
S205:出端口更新转发标签。S205: The outgoing port updates the forwarding label.
出端口将转发标签更新为出端口分配的出标签,以适配下游节点的转发方向。更新后的转发标签同样包含第一字段和第二字段,第一字段用于识别转发方向,第二字段用于进行业务标识,第一字段的数值由下游节点的转发方向数和对应关系决定,对应关系是指转发标签的第一字段与线路板出端口之间的关系。需要说明的是,标签层次化划分和识别可以发生在节点入端口,标签更新可以发生在节点出端口,这样可以简化业务转发过程。The egress port updates the forwarding label to the egress label assigned by the egress port to adapt to the forwarding direction of the downstream node. The updated forwarding label also contains the first field and the second field. The first field is used to identify the forwarding direction, and the second field is used for service identification. The value of the first field is determined by the number of forwarding directions of the downstream node and the corresponding relationship. The corresponding relationship refers to the relationship between the first field of the forwarding label and the outgoing port of the line board. It should be noted that the label hierarchical division and identification can occur at the ingress port of the node, and the label update can occur at the egress port of the node, which can simplify the service forwarding process.
S206:出端口将客户业务映射到第四数据帧,并发送第四数据帧。S206: The egress port maps the customer service to the fourth data frame, and sends the fourth data frame.
可选地,对于同一路客户业务来说,发送端先接收到的客户业务先被发送,后接收到的客户业务后被发送。对于不同路客户业务来说,本申请实施例对发送端接收和发送端发送客户业务的顺序不进行限定。基于此,对于数据帧内的净荷区而言,可以按照“从上到下,从左到右”的顺序进行传输。Optionally, for the same customer service, the customer service received first by the sending end is sent first, and the customer service received later is sent later. For different customer services, the embodiments of this application do not limit the order in which the sender receives and the sender sends the client services. Based on this, the payload area in the data frame can be transmitted in the order of "from top to bottom, from left to right".
作为一个示例,当某项客户业务停止发送,或者其在至少一个转发方向停止转发,转发节点的转发方向数减少时,同样可以通过第一字段长度的动态调整实现。具体地,仍以图5为例,假设业务转发节点B原有三个业务方向,标签划分为2.12,其中第一字段数值00对应方向1,10对应方向2,01对应方向3,11暂时未用。当C节点停止去往方向3的业务发送,由于现存的两个转发方向只需一个比特位进行标识即可,此时可以释放标签第一字段的一个比特资源,将标签重新层次划分为1.13。其中1表示转发标签中有1bit用于第一字段,具体地,0对应转发方向1,1对应转发方向2。标签的第一字段由2bit减少至1bit,释放的1bit可以用于业务识别,提高带宽利用率。这种第一字段长度的动态可变性可以在简化转发复杂度的同时满足不断变化的业务转发需求。As an example, when a certain customer service stops sending, or it stops forwarding in at least one forwarding direction, and the number of forwarding directions of the forwarding node is reduced, it can also be realized by dynamic adjustment of the length of the first field. Specifically, still taking Figure 5 as an example, assuming that the service forwarding node B has three original service directions, the label is divided into 2.12, where the first field value 00 corresponds to direction 1, 10 corresponds to direction 2, 01 corresponds to direction 3, and 11 is temporarily unused . When the C node stops the service transmission to the direction 3, since the two existing forwarding directions only need one bit for identification, one bit resource in the first field of the label can be released at this time, and the label can be re-divided into 1.13. Where 1 indicates that 1 bit in the forwarding label is used for the first field, specifically, 0 corresponds to forwarding direction 1, and 1 corresponds to forwarding direction 2. The first field of the label is reduced from 2bit to 1bit, and the released 1bit can be used for service identification and improve bandwidth utilization. The dynamic variability of the length of the first field can simplify the forwarding complexity while meeting the constantly changing service forwarding requirements.
需要说明的是,当转发方向数增加时,上述实施例为了适配节点转发方向数需要预留一定的比特位用于新的第一字段。为了保证继存转发标签值不变,可以设置预留位默认值为0,因此在第一字段扩展之前可能造成个别比特位的闲置,具体可参照表3进行理解。为了解决这个问题,进一步提高带宽利用率,本申请提供了以下实施例。It should be noted that when the number of forwarding directions increases, in the foregoing embodiment, in order to adapt the number of forwarding directions of a node, certain bits need to be reserved for the new first field. In order to ensure that the value of the relay and forwarding label remains unchanged, the default value of the reserved bit can be set to 0. Therefore, individual bits may be idle before the first field is expanded. Refer to Table 3 for specific understanding. In order to solve this problem and further improve bandwidth utilization, this application provides the following embodiments.
图8为本申请实施例提供的一种标签扩展示意图。本申请中所述的标签指的是位于开销中、占有一定长度且具有本地意义,用于标识转发方向的标识符。由于本申请技术方案可以适用于光传送网、分组传送网等不同的传送网中,因此标签的长度及位置可能有些许差别。例如,图8所示标签为位于一个净荷块的开销部分,占用14bit长度的标识符,应理解,14bit 仅是净荷块标签长度的一种可能的设置,并不构成对标签长度的限制。此外,在以多协议标签交换为基础的分组传送网中,标签指位于二层报文与三层报文之间,占用20比特长度,用于表示下游接收节点业务转发方向的短标识,可参考图9。应理解,标签的种类并不限于上述举例。只要可以通过层次化划分简化转发过程的标识符均可作为本申请的标签。图8以标签域长度为14bit进行说明,应理解,随着器件结构的改进,标签域长度相应发生变化,本申请实施例提供的技术方案对于类似问题同样适用。FIG. 8 is a schematic diagram of a label extension provided by an embodiment of the application. The label described in this application refers to an identifier that is located in the overhead, occupies a certain length and has a local meaning, and is used to identify the forwarding direction. Since the technical solution of the present application can be applied to different transmission networks such as optical transmission network and packet transmission network, the length and position of the label may be slightly different. For example, the tag shown in Figure 8 is located in the overhead part of a payload block and occupies a 14-bit identifier. It should be understood that 14-bit is only a possible setting of the tag length of the payload block and does not constitute a restriction on the length of the tag. . In addition, in a packet transport network based on multi-protocol label switching, the label refers to a short identifier that is located between the layer 2 message and the layer 3 message and occupies a length of 20 bits, which is used to indicate the forwarding direction of downstream receiving nodes. Refer to Figure 9. It should be understood that the types of tags are not limited to the above examples. Any identifier that can simplify the forwarding process through hierarchical division can be used as the label of this application. Fig. 8 is illustrated with a tag field length of 14 bits. It should be understood that with the improvement of the device structure, the tag field length changes accordingly, and the technical solutions provided by the embodiments of the present application are also applicable to similar problems.
如图8所示,S801为一个净荷块的内部结构图,主要包括开销区和净荷区两部分。由S802可见,Label中除了14bit标签域,在标签之前还存有2bit保留的比特位,用于指示开销格式版本。具体地,为了解决预留比特位可能造成比特位闲置的问题,可以将上述用于指示开销格式版本的比特位作为标签扩展域。具体地,可以统一格式版本,在不影响原有性能、产生应用歧义的前提下,将这2bit作为标签的第一字段。如此,关于标签层次的划分,仍然采用两字段的形式,且第一字段代表第一字段,第二字段代表业务标识,只是在该实施例中第一字段位于标签扩展的部分,原有的14bit标签域全部用于业务标识。As shown in Figure 8, S801 is an internal structure diagram of a payload block, which mainly includes an overhead area and a payload area. It can be seen from S802 that, in addition to the 14-bit label field in the Label, there are also 2 bits reserved before the label to indicate the overhead format version. Specifically, in order to solve the problem that reserved bits may cause bits to be idle, the above-mentioned bits used to indicate the version of the overhead format may be used as the label extension field. Specifically, the format version can be unified, and these 2 bits can be used as the first field of the tag without affecting the original performance and causing application ambiguity. In this way, the label hierarchy is still divided in the form of two fields, and the first field represents the first field, and the second field represents the service identifier, but in this embodiment, the first field is located in the extended part of the label, the original 14bit The label field is all used for business identification.
例如,在上述实施例中,假设某业务分配的标签为00000000000101,汇聚节点的接收端层次划分为2.12,当接收到该业务时,则将其标签划分为00.000000000101。在本实施例中,层次划分是通过增加其余比特位来实现的。对前述同一业务而言,扩展之后的标签为0000000000000101,层次划分为2.14,其中用于进行第一字段的2bit来自其余保留的开销字段。这样,原标签域的14bit可以完全用作业务标识,共可标识2 14条业务。 For example, in the foregoing embodiment, it is assumed that the label allocated for a certain service is 00000000000101, the receiving end level of the sink node is divided into 2.12, and when the service is received, its label is divided into 00.000000000101. In this embodiment, the level division is achieved by adding the remaining bits. For the same service mentioned above, the expanded label is 0000000000000101, and the hierarchical division is 2.14, where the 2 bits used for the first field come from the remaining reserved overhead fields. Thus, the original 14bit label field may be entirely used as service identifier may identify a total of 214 lines of business.
可选地,扩展后的第一字段的各比特位之间可以相邻,也可以不相邻。具体地,标签扩展域部分可以单独作为标签的第一字段,也可以与原标签部分比特共同作为标签的第一字段,标识转发方向。Optionally, the bits of the expanded first field may or may not be adjacent to each other. Specifically, the label extension field part can be used as the first field of the label alone, or can be used as the first field of the label together with the original label part bits to identify the forwarding direction.
可选地,接收端可以根据与发送端所采用的同样的预定义算法(如sigma-delta算法、或者接收端和发送端自定义的算法等),确定标签扩展后的第一字段在开销中的位置。这样,发送端不需要向接收端传输位置信息,有助于降低数据处理的复杂度。Optionally, the receiving end can determine that the first field of the label extension is in the overhead according to the same predefined algorithm (such as the sigma-delta algorithm, or the algorithm defined by the receiving end and the sending end, etc.) as used by the sending end. s position. In this way, the sender does not need to transmit location information to the receiver, which helps reduce the complexity of data processing.
上述主要介绍了本申请实施例提供的方案在OTN领域的应用,此外,本申请提供的技术方案还可以应用在分组传送网领域。在PTN领域,标签同样可通过层次化划分实现业务的高效转发。The foregoing mainly introduces the application of the solution provided in the embodiments of the present application in the OTN field. In addition, the technical solution provided in the present application can also be applied in the field of packet transmission networks. In the PTN field, tags can also be hierarchically divided to achieve efficient forwarding of services.
可选地,标签的层次化划分可以应用于多协议标签交换(Multi-Protocol Label Switching,MPLS)技术中。Optionally, the hierarchical division of labels can be applied to multi-protocol label switching (Multi-Protocol Label Switching, MPLS) technology.
多协议标签交换位于TCP/IP协议栈中的链路层和网络层之间,使用短而定长的标签(label)封装IP分组,在数据平面实现快速标签转发。MPLS中的标签是一个长度固定、不包含拓扑信息、具有本地意义的标识符,用于唯一标识一个分组所属的转发等价类(Forwarding Equivalence Class,FEC)。所述转发等价类,是指MPLS作为一种分类转发技术,将具有相同特征值(目的地址相同或转发等级相同)的数据流归为一类所产生的等价类,通常在一台设备上,对于一个转发等价类分配相同的标签。相同转发等价类的分组在MPLS网络中将获得完全相同的处理。所述标签由报文的头部所携带,不包含拓扑信息,只具有局部意义。标签长度为4个字节,封装结构参见图9。Multi-protocol label switching is located between the link layer and the network layer in the TCP/IP protocol stack, and uses short and fixed-length labels to encapsulate IP packets to achieve fast label forwarding on the data plane. The label in MPLS is an identifier with a fixed length, no topology information, and local meaning, which is used to uniquely identify the forwarding equivalence class (FEC) to which a packet belongs. The forwarding equivalence class refers to the equivalence class generated by MPLS as a classified forwarding technology that classifies data streams with the same characteristic value (the same destination address or the same forwarding level) into one class, usually one device Above, the same label is assigned to a forwarding equivalence class. The packets of the same forwarding equivalence class will get exactly the same treatment in the MPLS network. The label is carried by the header of the message, does not contain topology information, and only has a local meaning. The label length is 4 bytes, and the encapsulation structure is shown in Figure 9.
如图9所示,为本申请实施例提供的分组传送网中MPLS标签格式示意图。标签共有4个域,占用32比特。其中,label为标签值字段,占用20比特,用于转发数据,该部分即为本申请实施例提供的技术方案中可进行层次化划分的标签域。Exp为保留字段,用于试验, 可以添加报文的优先级信息;S为栈底标识,占用1比特,MPLS支持标签的分层结构(即多重标签),S值为1时表明为最底层标签;TTL(Time To Live)为存活时间,和IP报文中的含义相同,占用8比特。具体地,当报文进入MPLS网络时,入节点(边缘路由器)接收报文并分析报文头内容,以此判定其所属的转发等价类,控制模块可以为其分配与特定转发等价类对应的固定长度的标签,建立相应的标签交换路径,并将标签与报文封装在一起,转发到中间节点。中间节点根据报文的标签对应标签转发表进行转发,并在该节点交换标签以适配下游节点,而不对标签进行任何第三层处理。出节点(边缘路由器)去掉报文中的标签,继续进行后面的转发。As shown in FIG. 9, it is a schematic diagram of an MPLS label format in a packet transport network provided by an embodiment of this application. The tag has 4 fields, occupying 32 bits. Wherein, label is a label value field, which occupies 20 bits and is used to forward data. This part is the label field that can be hierarchically divided in the technical solution provided in the embodiment of this application. Exp is a reserved field, used for experiment, you can add the priority information of the message; S is the identifier of the bottom of the stack, which occupies 1 bit, MPLS supports the layered structure of labels (ie, multiple labels), when the S value is 1, it is the bottom layer Label; TTL (Time To Live) is the time to live, which has the same meaning as in the IP message, occupying 8 bits. Specifically, when a message enters the MPLS network, the ingress node (edge router) receives the message and analyzes the content of the message header to determine the forwarding equivalence class to which it belongs, and the control module can assign it to a specific forwarding equivalence class Corresponding to the fixed-length label, establish a corresponding label switching path, encapsulate the label and the message, and forward it to the intermediate node. The intermediate node forwards the message according to the label corresponding to the label forwarding table, and exchanges the label at this node to adapt to the downstream node without performing any layer 3 processing on the label. The egress node (edge router) removes the label in the message and continues forwarding.
在此过程中,报文在MPLS网络中进行转发时可以采用本申请所提供的对标签进行层次化划分的技术方案。具体地,将报文头中20比特的标签域,层次化划分为第一字段和第二字段,每个节点通过识别第一字段即可确定报文的转发方向进行相应转发。例如,假设转发节点业务接收端的标签划分为4.16,则可以区分16个业务方向,每个业务方向可以容纳64K业务数量。需要说明的是,将标签进行层次化划分后,标签值本身无变化,仅进行转发处理时区分为两个部分,如报文标签为00000000000000001100,按照4.16的形式进行层次划分后成为0000.0000000000001100的形式。其中,第一字段0000表示转发方向,转发节点仅需识别该部分即可进行相应转发。In this process, when packets are forwarded in the MPLS network, the technical solution for hierarchically dividing labels provided in this application can be used. Specifically, the 20-bit label field in the message header is hierarchically divided into a first field and a second field, and each node can determine the forwarding direction of the message and forward it accordingly by identifying the first field. For example, assuming that the label of the service receiving end of the forwarding node is divided into 4.16, 16 service directions can be distinguished, and each service direction can accommodate 64K services. It should be noted that after the label is hierarchically divided, the label value itself does not change, and it is divided into two parts when only forwarding processing is performed. For example, the message label is 00000000000000001100, which becomes 0000.0000000000001100 after being hierarchically divided according to the form of 4.16. Among them, the first field 0000 indicates the forwarding direction, and the forwarding node only needs to identify this part to perform corresponding forwarding.
如图10所示,图10为本申请实施例提供的一种MPLS网络中业务传输方法示意图。MPLS网络中包含多个标签交换路由器(图中用R表示)作为业务转发节点。在R2这一转发节点,4个报文需要被转发到与其标签交换路径对应的业务方向,其中第一字段为0对应R2-R3这一方向,第一字段为1对应R21-R22-R23这一方向。R2仅识别标签的第一字段即可将业务分别转发至不同的方向,而无需通过传统标签嵌套的方式。由于具体方案在MPLS网络和OTN中的实现过程十分类似,具体转发过程可参照图6所示流程图及前述实施例对S101-S106步骤的描述,此处不再进行赘述。通过本申请实施例所提供的技术方案不但可以实现与采用标签嵌套相同的业务转发结果,还可以避免增加新的标签,以提高带宽利用率。As shown in FIG. 10, FIG. 10 is a schematic diagram of a service transmission method in an MPLS network according to an embodiment of the application. The MPLS network contains multiple label switching routers (indicated by R in the figure) as service forwarding nodes. At the forwarding node R2, 4 packets need to be forwarded to the service direction corresponding to the label switching path. The first field of 0 corresponds to the direction of R2-R3, and the first field of 1 corresponds to the direction of R21-R22-R23. One direction. R2 can forward services to different directions by only identifying the first field of the label, without the need for traditional label nesting. Since the implementation process of the specific solution in the MPLS network and the OTN is very similar, the specific forwarding process can refer to the flowchart shown in FIG. 6 and the description of the steps S101-S106 in the foregoing embodiment, which will not be repeated here. The technical solution provided by the embodiments of the present application can not only achieve the same service forwarding result as using label nesting, but also avoid adding new labels to improve bandwidth utilization.
本实施例提供的技术方案的技术效果可以参考上述图6、图7所示的实施例的有益效果。此处不再进行赘述。For the technical effects of the technical solutions provided in this embodiment, reference may be made to the beneficial effects of the embodiments shown in FIG. 6 and FIG. 7. I will not repeat them here.
上述主要从方法的角度对本申请实施例提供的方案进行了介绍。为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions provided in the embodiments of the present application from the perspective of methods. In order to realize the above-mentioned functions, it includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对节点或控制侧进行功能模块的划分,例如可以可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the node or the control side into functional modules according to the foregoing method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
如图11所示,为本申请实施例提供的一种传送网中的数据传输装置110的结构示意图。作为一个示例,该装置110可以是上述实施例中的源宿节点,也可以是上述实施例中的转发节点。作为一个示例,该装置110可以用于执行图6、图7所示的方法中各节点所执行的步 骤。As shown in FIG. 11, a schematic structural diagram of a data transmission device 110 in a transport network provided by an embodiment of this application. As an example, the apparatus 110 may be the source and sink node in the foregoing embodiment, or may be the forwarding node in the foregoing embodiment. As an example, the device 110 can be used to execute the steps performed by each node in the methods shown in Figs. 6 and 7.
装置110为将节点划分为功能模块的形式,可以包括接收模块1101、解映射模块1102和转发模块1103。其中,接收模块1101用于执行以下步骤:接收携带客户业务的数据帧。解映射模块1102用于对数据帧进行解映射,得到客户业务的转发标签;转发单元用于获取转发标签的层次信息,根据层次信息确定转发标签的第一字段,并根据第一字段对客户业务进行转发。例如,结合图6,接收模块1101具体用于执行S102中的接收第一数据帧;解映射模块1102具体用于执行S102中将第一数据帧解映射得到客户业务的转发标签;转发模块用于执行S103~S105。例如,结合图7,接收模块1102具体用于执行S202中的接收第三数据帧;解映射模块1102具体用于执行S202中将第三数据帧解映射得到客户业务的转发标签;转发模块用于执行S203~S205。可以理解的是,数据传输装置通常具有收发一体的特性,因此接收模块1101还可以用于发送数据帧,相应的,解映射模块还可以用于将客户业务映射到数据帧。The device 110 is in the form of dividing nodes into functional modules, and may include a receiving module 1101, a demapping module 1102, and a forwarding module 1103. Among them, the receiving module 1101 is configured to perform the following steps: receiving data frames carrying client services. The de-mapping module 1102 is used to de-map the data frame to obtain the forwarding label of the customer service; the forwarding unit is used to obtain the level information of the forwarding label, determine the first field of the forwarding label according to the level information, and perform the analysis on the customer service according to the first field. Forward it. For example, in conjunction with FIG. 6, the receiving module 1101 is specifically configured to perform the reception of the first data frame in S102; the demapping module 1102 is specifically configured to perform the demapping of the first data frame in S102 to obtain the forwarding label of the customer service; the forwarding module is configured to Perform S103 to S105. For example, in conjunction with FIG. 7, the receiving module 1102 is specifically configured to perform the receiving of the third data frame in S202; the demapping module 1102 is specifically configured to perform the demapping of the third data frame in S202 to obtain the forwarding label of the customer service; the forwarding module is used to Perform S203 to S205. It is understandable that the data transmission device usually has the characteristics of an integrated transceiver, so the receiving module 1101 can also be used to send data frames, and correspondingly, the demapping module can also be used to map client services to data frames.
可选地,接收模块1101还用于:接收位置信息。位置信息用于指示标签中的第一字段部分在标签域中的具***置。具体地,位置信息可以携带在数据帧的开销中,如OPU开销中或ODU开销中,或者报文开销中,还可以预先配置。Optionally, the receiving module 1101 is further configured to: receive location information. The location information is used to indicate the specific location of the first field part of the tag in the tag field. Specifically, the location information may be carried in the overhead of the data frame, such as in the OPU overhead or ODU overhead, or in the message overhead, and may also be pre-configured.
关于上述可选方式的具体描述参见前述的方法实施例,此处不再赘述。此外,上述提供的任一种装置110的解释以及有益效果的描述均可参考上述对应的方法实施例,不再赘述。For specific descriptions of the foregoing optional manners, refer to the foregoing method embodiments, which are not repeated here. In addition, the explanation and the description of the beneficial effects of any device 110 provided above can refer to the corresponding method embodiment described above, and will not be repeated.
如图12所示,为本申请实施例提供的一种传送网中的数据传输设备的硬件结构示意图。作为一个示例,一个网络设备可以包括线路板、交叉板、支路板,还可以包括电源、风扇、辅助类单板以及***控制和通信类单板。作为边缘节点的网络设备可能具有多个支路板。需要说明的是,根据具体的需要,每个设备具体包括的单板类型和数量可能不相同。例如,作为核心节点的网络设备可能没有支路板,如图12所示,该示意图为核心转发节点的硬件结构示意图,不包含支路板,仅包含交叉板和至少两个线路板。具体地,线路板可以划分为线路侧光模块和信号处理器。其中,线路侧光模块可以为线路侧光收发器,用于接收和/或发送数据帧。信号处理器用于实现对线路侧的数据帧的复用和解复用,或者映射和解映射处理。As shown in FIG. 12, it is a schematic diagram of the hardware structure of a data transmission device in a transport network provided by an embodiment of this application. As an example, a network device may include line boards, cross-connect boards, tributary boards, power supplies, fans, auxiliary boards, and system control and communication boards. A network device as an edge node may have multiple tributary boards. It should be noted that, according to specific needs, the specific types and numbers of boards included in each device may be different. For example, a network device as a core node may not have a tributary board. As shown in FIG. 12, this schematic diagram is a schematic diagram of the hardware structure of a core forwarding node. The tributary board is not included, and only a crossover board and at least two circuit boards are included. Specifically, the circuit board can be divided into a line-side optical module and a signal processor. Among them, the line-side optical module may be a line-side optical transceiver 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.
作为一个示例,当设备120表示源节点时,可以由支路板替换线路板1201。其中,支路板用于实现各种客户业务的接收和发送,例如同步数字体系(synchronous digital hierarchy,SDH)业务、分组业务、以太网业务和前传业务等。更进一步地,支路板可以划分为客户侧光模块和信号处理器。其中,客户侧光模块可以为光收发器,用于接收和/或发送客户信号。信号处理器用于实现对客户信号到数据帧的映射和解映射处理。As an example, when the device 120 represents a source node, the circuit board 1201 may be replaced by a tributary board. Among them, the tributary board is used to realize the reception and transmission of various customer services, such as synchronous digital hierarchy (SDH) services, packet services, Ethernet services, and fronthaul services. Furthermore, the tributary board can be divided into a client-side optical module and a signal processor. Among them, the client-side optical module may be an optical transceiver for receiving and/or sending client signals. The signal processor is used to realize the mapping and demapping processing of the client signal to the data frame.
设备120为与装置110所对应的实体结构,集成了可以用于实现上述业务转发功能的线路板、交叉板和一个或多个端口。其中,线路板接收端口可以实现上述实施例中的业务接收、解映射、接收层次信息、确定第一字段、对应交叉出口等步骤;线路板发送端可以实现上述实施例中的标签更新、映射成数据帧以及发送数据帧的功能。The device 120 is a physical structure corresponding to the device 110, and integrates a circuit board, a crossover board, and one or more ports that can be used to implement the foregoing service forwarding function. Among them, the line board receiving port can implement the steps of service reception, demapping, receiving level information, determining the first field, and corresponding cross exit in the foregoing embodiment; the line board sending end can implement the label update and mapping in the foregoing embodiment Data frame and the function of sending data frame.
装置120可以包括线路板1201、交叉板1202和线路板1203。其中,线路板1201和1203中包括多个物理端口,对应于逻辑装置110中的接收/发送单元1102;线路板1201和线路板1203可以实现对客户业务的映射和对数据帧的解映射,对应逻辑装置110中的处理单元1101,此外,交叉板1202可以实现处理单元1101的业务转发功能。具体地,结合图6,线路板1201具体用于执行S102至S104;线路板1203具体用于执行S101、S105、S106。结合图7,线路板1201具体用于执行S202至S204;线路板1203具体用于执行S201、S205、S206。The device 120 may include a circuit board 1201, a crossover board 1202, and a circuit board 1203. Among them, the circuit boards 1201 and 1203 include multiple physical ports, which correspond to the receiving/sending unit 1102 in the logical device 110; the circuit boards 1201 and 1203 can realize the mapping of customer services and the demapping of data frames, corresponding to The processing unit 1101 in the logic device 110, in addition, the cross board 1202 can implement the service forwarding function of the processing unit 1101. Specifically, with reference to FIG. 6, the circuit board 1201 is specifically used to perform S102 to S104; the circuit board 1203 is specifically used to perform S101, S105, and S106. With reference to FIG. 7, the circuit board 1201 is specifically used to perform S202 to S204; the circuit board 1203 is specifically used to perform S201, S205, and S206.
可选地,线路板1201还用于接收位置信息,线路板1203还用于发送位置信息。位置信息用于指示标签中的第一字段部分在标签域中的具***置。具体地,位置信息可以写在数据帧的开销中,如OPU开销中或ODU开销中,或者报文开销中。Optionally, the circuit board 1201 is also used to receive location information, and the circuit board 1203 is also used to send location information. The location information is used to indicate the specific location of the first field part of the tag in the tag field. Specifically, the location information may be written in the overhead of the data frame, such as in the OPU overhead or ODU overhead, or in the message overhead.
关于上述可选方式的具体描述参见前述的方法实施例,此处不再赘述。此外,上述提供的任一种装置120的解释以及有益效果的描述均可参考上述对应的方法实施例,不再赘述。For specific descriptions of the foregoing optional manners, refer to the foregoing method embodiments, which are not repeated here. In addition, the explanation and the description of the beneficial effects of any device 120 provided above can refer to the corresponding method embodiment described above, and will not be repeated.
如图13所示,为本申请实施例提供的一种传送网中的业务传输的***示意图。如图所示,该***包括一定数量的网络设备(图中用节点表示),至少包括源节点、宿节点和一个转发节点。根据实际需要,每个节点可能具有一种或多种功能,以实现上述图6中的S101至S106,图7中的S201至S206的步骤。一般来说,网络设备分为光层设备、电层设备以及光电混合设备。光层设备指的是能够处理光层信号的设备,例如:光放大器(optical amplifier,OA)。电层设备指的是能够处理电层信号的设备,例如:能够处理ODU信号的设备。光电混合设备指的是具备处理光层信号和电层信号能力的设备。需要说明的是,根据具体的集成需要,一台网络设备可以集合多种不同的功能。本申请提供的技术方案适用于不同形态和集成度的网络设备。As shown in FIG. 13, it is a schematic diagram of a system for service transmission in a transport network provided by an embodiment of this application. As shown in the figure, the system includes a certain number of network devices (represented by nodes in the figure), including at least a source node, a sink node, and a forwarding node. According to actual needs, each node may have one or more functions to implement the steps S101 to S106 in FIG. 6 and S201 to S206 in FIG. 7. Generally speaking, network equipment is divided into optical layer equipment, electrical layer equipment, and photoelectric hybrid equipment. Optical layer equipment refers to equipment capable of processing optical layer signals, such as optical amplifier (optical amplifier, OA). Electrical layer equipment refers to equipment capable of processing electrical layer signals, for example: equipment capable of processing ODU signals. Optoelectronic hybrid equipment refers to equipment capable of processing optical layer signals and electrical layer signals. It should be noted that, according to specific integration needs, a network device can gather multiple different functions. The technical solutions provided in this application are applicable to network devices of different forms and integration levels.
本申请实施例还提供了一种芯片。该芯片中集成了用于实现上述业务转发功能的电路和一个或者多个接口。当该芯片中集成了存储器时,该芯片通过该接口与光模块连接,从而利用光模块来发送上述方法实施例中提及数据帧的给其他通信装置,或者从光模块接收其他通信装置发送的数据帧。当该芯片中未集成存储器时,可以通过该接口与外置的存储器连接,该芯片根据外置的存储器中存储的程序代码来实现上述实施例中通信装置(发送端或接收端)内部执行的动作,并借助跟其连接光模块来发送和接收数据帧。可选地,芯片支持的功能可以包括基于图4、图5、图6、图7和图10所述的实施例中发送端或接收端的处理动作,此处不再赘述。The embodiment of the present application also provides a chip. The chip integrates a circuit and one or more interfaces for realizing the above-mentioned service forwarding function. When the memory is integrated in the chip, the chip is connected to the optical module through the interface, so that the optical module is used to send data frames mentioned in the above method embodiments to other communication devices, or to receive data sent by other communication devices from the optical module. Data Frame. When the chip is not integrated with memory, it can be connected to an external memory through this interface, and the chip implements the internal execution of the communication device (transmitting end or receiving end) in the above-mentioned embodiment according to the program code stored in the external memory. Action, and send and receive data frames by connecting the optical module to it. Optionally, the functions supported by the chip may include processing actions of the sending end or the receiving end in the embodiments described in FIG. 4, FIG. 5, FIG. 6, FIG. 7 and FIG. 10, which will not be repeated here.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可通过程序来指令相关的硬件完成。所述的程序可以存储于一种计算机可读存储介质中。上述提到的存储介质可以是只读存储器,随机接入存储器等。上述处理单元或处理器可以是中央处理器,通用处理器、特定集成电路(application specific integrated circuit,ASIC)、微处理器(digital signal processor,DSP),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above-mentioned embodiments can be completed by a program instructing related hardware. The program can be stored in a computer-readable storage medium. The aforementioned storage medium may be a read-only memory, a random access memory, and the like. The above-mentioned processing unit or processor may be a central processing unit, a general-purpose processor, an application specific integrated circuit (ASIC), a microprocessor (digital signal processor, DSP), a field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof.
本申请实施例的说明书和权利要求书及上述附图中的术语“首先”、“然后”,“最后”等并不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”或“具有”及其任何变形,意图在于覆盖不排他的方案,例如,包括了一系列步骤或单元的过程、方法、***、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "then", "last", etc. in the description and claims of the embodiments of the present application and the above-mentioned drawings are not used to describe a specific sequence or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so that the embodiments described herein can be implemented in an order other than the content illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive solutions. For example, a process, method, system, product or device including a series of steps or units is not necessarily limited to those clearly listed. Steps or units, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or equipment.
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。本领域技术人员应明白,本申请的实施例可提供为方法、装置(设备)、 或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式,这里将它们都统称为“模块”或“***”。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。计算机程序存储/分布在合适的介质中,与其它硬件一起提供或作为硬件的一部分,也可以采用其他分布形式,如通过Internet或其它有线或无线电信***。Although the present application is described with reference to various embodiments, in the process of implementing the claimed application, those skilled in the art can understand and understand by viewing the drawings, the disclosure, and the appended claims. Implement other changes of the disclosed embodiment. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "one" does not exclude multiple. A single processor or other unit may implement several functions listed in the claims. Certain measures are described in mutually different dependent claims, but this does not mean that these measures cannot be combined to produce good results. Those skilled in the art should understand that the embodiments of the present application may be provided as methods, devices (equipment), or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware, which are collectively referred to herein as "modules" or "systems." Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The computer program is stored/distributed in a suitable medium, provided with other hardware or as a part of the hardware, and can also be distributed in other forms, such as through the Internet or other wired or wireless telecommunication systems.
本申请是参照本发明实施例的方法、装置(设备)和方法流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。This application is described with reference to the method, device (equipment), and method flowchart and/or block diagram of the embodiment of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
尽管结合具体特征及其实施例对本发明进行了描述,显而易见的,在不脱离本发明的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本发明的示例性说明,且视为已覆盖本发明范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Although the present invention has been described with reference to specific features and embodiments thereof, it is obvious that various modifications and combinations can be made without departing from the spirit and scope of the present invention. Accordingly, this specification and drawings are merely exemplary descriptions of the present invention defined by the appended claims, and are deemed to have covered any and all modifications, changes, combinations or equivalents within the scope of the present invention. Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. In this way, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention is also intended to include these modifications and variations.

Claims (19)

  1. 一种业务转发的方法,其特征在于,所述方法包括:A method for service forwarding, characterized in that the method includes:
    网络设备接收携带客户业务的第一数据帧,对所述第一数据帧进行解映射,得到所述客户业务的转发标签;The network device receives the first data frame carrying the customer service, and demaps the first data frame to obtain the forwarding label of the customer service;
    所述网络设备获取所述转发标签的层次信息,根据所述层次信息确定所述转发标签的第一字段,其中,所述转发标签包括所述第一字段和第二字段,所述第一字段指示所述客户业务的转发方向,所述第二字段指示所述客户业务的标识,所述层次信息用于识别所述第一字段;The network device obtains the level information of the forwarding label, and determines the first field of the forwarding label according to the level information, where the forwarding label includes the first field and the second field, and the first field Indicating the forwarding direction of the customer service, the second field indicates the identifier of the customer service, and the hierarchical information is used to identify the first field;
    所述网络设备根据所述第一字段对所述客户业务进行转发。The network device forwards the customer service according to the first field.
  2. 根据权利要求1所述方法,其特征在于,当所述网络设备上的业务转发方向的数量发生变化时,所述方法还包括:所述网络设备改变所述第一字段的长度。The method according to claim 1, wherein when the number of service forwarding directions on the network device changes, the method further comprises: the network device changing the length of the first field.
  3. 根据权利要求2所述方法,其特征在于,所述方法还包括:The method according to claim 2, wherein the method further comprises:
    所述网络设备获取新的层次信息,根据所述新的层次信息识别所述转发标签的新的第一字段,所述网络设备根据所述新的第一字段对所述客户业务进行转发。The network device obtains new level information, identifies a new first field of the forwarding label according to the new level information, and the network device forwards the customer service according to the new first field.
  4. 根据权利要求1所述方法,其特征在于,所述网络设备对所述客户业务进行转发之后,所述方法还包括:The method according to claim 1, wherein after the network device forwards the customer service, the method further comprises:
    所述网络设备对所述转发标签进行更新。The network device updates the forwarding label.
  5. 根据权利要求4所述方法,其特征在于,所述方法还包括:The method according to claim 4, wherein the method further comprises:
    所述网络设备将所述客户业务映射到第二数据帧,所述第二数据帧携带更新后的转发标签,并发送所述第二数据帧。The network device maps the client service to a second data frame, the second data frame carries the updated forwarding label, and sends the second data frame.
  6. 根据权利要求1所述方法,其特征在于,所述第一字段位于所述第一数据帧的开销区。The method according to claim 1, wherein the first field is located in an overhead area of the first data frame.
  7. 根据权利要求6所述方法,其特征在于,所述第一字段的位置信息在所述网络设备预先配置,或者所述第一字段的位置信息通过所述第一数据帧的开销携带。The method according to claim 6, wherein the location information of the first field is pre-configured in the network device, or the location information of the first field is carried by the overhead of the first data frame.
  8. 一种业务转发装置,包括:A service forwarding device, including:
    接收模块,用于接收携带客户业务的数据帧;The receiving module is used to receive data frames carrying client services;
    解映射模块,用于对所述数据帧进行解映射,得到所述客户业务的转发标签;A demapping module, configured to demap the data frame to obtain the forwarding label of the customer service;
    转发模块,用于获取所述转发标签的层次信息,根据所述层次信息确定所述转发标签的第一字段,并用于根据所述第一字段对所述客户业务进行转发,其中,所述转发标签包括所述第一字段和第二字段,所述第一字段指示所述客户业务的转发方向,所述第二字段指示所述客户业务的标识,所述层次信息指示所述转发标签的第一字段。The forwarding module is configured to obtain the level information of the forwarding label, determine the first field of the forwarding label according to the level information, and forward the customer service according to the first field, where the forwarding The label includes the first field and a second field, the first field indicates the forwarding direction of the customer service, the second field indicates the identifier of the customer service, and the level information indicates the first field of the forwarding label. One field.
  9. 根据权利要求8所述装置,其特征在于,所述转发模块还用于:The device according to claim 8, wherein the forwarding module is further configured to:
    当所述网络设备上的业务转发方向的数量发生变化时,改变所述第一字段的长度。When the number of service forwarding directions on the network device changes, the length of the first field is changed.
  10. 根据权利要求9所述装置,其特征在于,所述转发模块还用于获取新的层次信息,根据所述新的层次信息识别所述转发标签的新的第一字段,所述转发模块根据所述新的第一字段对所述客户业务进行转发。The device according to claim 9, wherein the forwarding module is further configured to obtain new level information, identify the new first field of the forwarding label according to the new level information, and the forwarding module according to the The new first field forwards the customer service.
  11. 根据权利要求8所述装置,其特征在于,所述转发模块还用于对所述客户业务进行转发之后,对所述转发标签进行更新。The device according to claim 8, wherein the forwarding module is further configured to update the forwarding label after forwarding the customer service.
  12. 根据权利要求11所述装置,其特征在于,所述解映射模块还用于将所述客户业务映射到第二数据帧,所述第二数据帧携带更新后的转发标签。The apparatus according to claim 11, wherein the demapping module is further configured to map the customer service to a second data frame, and the second data frame carries an updated forwarding label.
  13. 根据权利要求12所述装置,其特征在于,所述接收模块还用于发送所述第二数据帧。The device according to claim 12, wherein the receiving module is further configured to send the second data frame.
  14. 根据权利要求8所述装置,其特征在于,所述第一字段位于所述第一数据帧的开销区。The apparatus according to claim 8, wherein the first field is located in an overhead area of the first data frame.
  15. 根据权利要求8所述装置,其特征在于,所述第一字段的位置信息在所述网络设备预先配置,或者所述第一字段的位置信息通过所述第一数据帧的开销携带。The apparatus according to claim 8, wherein the location information of the first field is pre-configured in the network device, or the location information of the first field is carried by the overhead of the first data frame.
  16. 根据权利要求15所述装置,其特征在于,所述转发模块还用于获取所述第一字段的位置信息。The device according to claim 15, wherein the forwarding module is further configured to obtain the location information of the first field.
  17. 一种业务传输***,其特征在于,所述***包括客户业务源端网络设备、如权利要求8-16任意一项所述业务转发网络设备和宿端网络设备。A service transmission system, characterized in that the system comprises a client service source network device, the service forwarding network device according to any one of claims 8-16, and a sink network device.
  18. 一种计算机可读存储介质,用于存储指令、所述指令被运行时会驱动装置执行如权利要求1至8任一所述的方法。A computer readable storage medium for storing instructions, which when executed, drive a device to execute the method according to any one of claims 1 to 8.
  19. 一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如权利要求1-8任意一项所述的方法。A computer program product containing instructions, when it runs on a computer, causes the computer to execute the method according to any one of claims 1-8.
PCT/CN2020/100283 2019-08-14 2020-07-03 Service transmission method, device and system WO2021027434A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910749121.9 2019-08-14
CN201910749121.9A CN112398734B (en) 2019-08-14 2019-08-14 Method, device and system for service transmission

Publications (1)

Publication Number Publication Date
WO2021027434A1 true WO2021027434A1 (en) 2021-02-18

Family

ID=74570487

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/100283 WO2021027434A1 (en) 2019-08-14 2020-07-03 Service transmission method, device and system

Country Status (2)

Country Link
CN (1) CN112398734B (en)
WO (1) WO2021027434A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115333614A (en) * 2022-07-26 2022-11-11 烽火通信科技股份有限公司 System and method for realizing ODUk protection by using equivalent protection class, and POTN device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116264587A (en) * 2021-12-13 2023-06-16 华为技术有限公司 Data transmission method and related device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860481A (en) * 2010-05-25 2010-10-13 北京邮电大学 Service transport method for distinguishing priority in MPLS-TP over OTN multi-layer network and device thereof
US20150381420A1 (en) * 2014-06-30 2015-12-31 Juniper Networks, Inc. Path protection for ring-based multi-protocol label switched paths

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101635867B (en) * 2008-07-21 2012-08-08 华为技术有限公司 Method, device and system for multiplexing mapping and demultiplexing mapping of optical signals
CN101945307B (en) * 2009-07-03 2013-04-24 华为技术有限公司 Distribution treatment method of labels in optical network, optical communication device and optical communication system
JP2014195179A (en) * 2013-03-28 2014-10-09 Fujitsu Ltd Device, method and program for packet communication
CN106330499A (en) * 2015-06-25 2017-01-11 中兴通讯股份有限公司 Time division multiplexing data transmission method and device, as well as network-side edge devices

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860481A (en) * 2010-05-25 2010-10-13 北京邮电大学 Service transport method for distinguishing priority in MPLS-TP over OTN multi-layer network and device thereof
US20150381420A1 (en) * 2014-06-30 2015-12-31 Juniper Networks, Inc. Path protection for ring-based multi-protocol label switched paths

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHANG ZHIHUI: "MPLS-TP Based Research on Key Problems of Technologies in Packet Transport Networks", CHINESE DOCTORAL DISSERTATIONS FULL-TEXT DATABASE, no. 12, 13 May 2011 (2011-05-13), pages 1 - 115, XP055781033 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115333614A (en) * 2022-07-26 2022-11-11 烽火通信科技股份有限公司 System and method for realizing ODUk protection by using equivalent protection class, and POTN device
CN115333614B (en) * 2022-07-26 2023-05-05 烽火通信科技股份有限公司 System, method and POTN device for realizing ODUk protection by using equivalent protection class

Also Published As

Publication number Publication date
CN112398734B (en) 2022-06-10
CN112398734A (en) 2021-02-23

Similar Documents

Publication Publication Date Title
WO2017156987A1 (en) Method and apparatus for establishing flexible ethernet (flexe) path
US8531969B2 (en) Path computation systems and methods for heterogeneous multi-domain networks
WO2017201953A1 (en) Method and device for processing customer service
US8456984B2 (en) Virtualized shared protection capacity
WO2020221141A1 (en) Method and device for transmitting data in optical transport network
US8666247B2 (en) Bandwidth defragmentation systems and methods in optical networks
US7787460B2 (en) System and method for switching packet traffic over an optical transport network
US8416770B2 (en) Universal service transport transitional encoding
US20110262128A1 (en) Mesh restoration in optical transport networks
US8929735B2 (en) Dynamic trail termination point creation for optical transport networks
EP2667552B1 (en) Method for service transmission over optical transport network, device and system for realizing same
CN107615721B (en) System and method for transmitting software defined network-logical link aggregation member signaling
US9538573B2 (en) Systems and methods for managing call connections from non-originating nodes in networks
WO2021027434A1 (en) Service transmission method, device and system
US20230254245A1 (en) Data Frame Sending Method and Network Device
US10044457B2 (en) Preventing invalid defect detection during OTN out-of-frame states
AU2010230712A1 (en) Method and Device for Sending Data and Receiving Service Data
EP2579520A1 (en) Bandwidth allocation method and device for realizing bandwidth allocation
JP2013141082A (en) Switching device
CN1881940A (en) Resources pre-reservation for connection paths in a communication network using address switching or label switching
WO2020051851A1 (en) Data transmission method and apparatus in optical transport network
WO2024001370A1 (en) Fine-grained capability based flooding method, fine-grained configuration method, node, and medium
WO2023083254A1 (en) Optical signal transport method and apparatus
WO2019196786A1 (en) Signal mapping method and apparatus, server, and computer-readable storage medium
WO2020107298A1 (en) Device and method for universal service transport transitional encoding

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20852696

Country of ref document: EP

Kind code of ref document: A1