A method, system, storage medium and electronic device for multiplexing services
By encapsulating and converting OFP frames between the client board and the circuit board, the problem of limited interlaken logic channel resources of the line card is solved, and the effect of carrying more small-granular services is achieved with limited resources.
Patent Information
- Application Number
- CN202011631061.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-30
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2040-12-30
AI Technical Summary
In existing technologies, due to the limited interlaken logical channel resources of line cards, if each small-granularity service in a multi-channel small-granularity service occupies one interlaken logical channel, the small-granularity services that the current line card can support are greatly limited.
In the client board, multiple client services are encapsulated into OFP frames and loaded into a single chip-level general interface protocol Interlaken logical channel. The OFP frames are then forwarded to the line board via the cross-connect board, where they are converted into OTU frames.
By incorporating multiple small-granularity services as sub-channels into one or more large Interlaken logical channels, the goal of carrying more small-granularity services under limited Interlaken logical channels is achieved, thus solving the problem of line card resource limitations.
Smart Images

Figure CN114765566B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the field of communication technology, and in particular, to a multi-service transmission method and system, a storage medium and an electronic device. BACKGROUND
[0002] Currently, optical transport network (OTN) equipment is applied to core backbone transmission network, and the minimum set optical fiber distribution unit (ODU) container based on G.709 standard specification is ODU0. With the gradual sinking of OTN equipment, when 1G or less customer signals are carried by using a traditional OTN mode, each service needs to occupy a separate ODU0 container. At present, there is still a large demand for 2-100Mb / s private line services, and therefore there is a huge waste of bandwidth.
[0003] When small-particle services are carried by using a packet-enhanced OTN, an additional VC container or packet pipeline needs to be introduced, and essentially, two kinds of technologies are superimposed, which brings about implementation complexity and compatibility problems.
[0004] Figure 1 is a schematic diagram of an OSU frame structure in the related art, as shown in Figure 1 In the industry, optical service unit (OSU) is a new signal structure defined for efficient carrying of small-particle signals in the technology and standard project based on efficient transmission of small-particle services. OSU is an optimization and extension of the existing OTN frame structure, and the payload of the ODUk signal defined in the existing OTN system is divided into a plurality of fixed-length blocks (PB). The length of the PB block is short, and the purpose is to improve the carrying efficiency of small-particle services. The PB realizes the carrying of the OSU signal, and finally realizes the signal processing process of carrying the small-particle customer signal into the OSU signal, the OSU signal into the ODU signal, and the ODU signal into the OTU signal. OSU is intended to use a 10-bit tributary port number (TPN) to identify each OSU service, and the goal is to be able to carry up to 1024 small-particle services.
[0005] And the line card (customer board or line board) in the mainstream centralized packet switching OTN equipment is mainly connected with the cross board through the inter-chip high-speed interconnection chip-level general interface protocol Interlaken interface. The Interlaken protocol is an extensible chip-level general interface protocol formulated by some device manufacturers such as Cisco and chip manufacturers, and the feature is that the protocol itself is independent of the underlying physical link rate. Since the interlaken logical channel resources of the line card are limited (up to 256), if each small-granularity service occupies an interlaken logical channel, the current line card cannot achieve the above-mentioned target of 1024 small-granularity services.
[0006] In the related art, due to the limited interlaken logical channel resources of the line card, if each small-granularity service in the multiple small-granularity services occupies an interlaken logical channel, the current line card can carry small-granularity services is limited larger problem, has not yet proposed a solution. SUMMARY
[0007] Embodiments of the present application provide a multi-service transmission method, system, storage medium and electronic device to at least solve the problem in the related art that due to the limited interlaken logical channel resources of the line card, if each small-granularity service in the multiple small-granularity services occupies an interlaken logical channel, the current line card can carry small-granularity services is limited larger problem.
[0008] According to an embodiment of the present application, a multi-service transmission method is provided, comprising:
[0009] In the customer board, multiple customer services are encapsulated into OFP frames, and the OFP frames are loaded into an interlaken logical channel of a chip-level general interface protocol;
[0010] Through the cross board, the OFP frames carried by each interlaken logical channel are forwarded to the line board;
[0011] In the line board, the OFP frames are converted into OTU frames, and the OTU frames are output.
[0012] According to another embodiment of the present application, a multi-service transmission system is also provided, comprising a customer board, a cross board and a line board, wherein,
[0013] The customer board is configured to encapsulate multiple customer services into OFP frames, and load the OFP frames into an interlaken logical channel of a chip-level general interface protocol;
[0014] The crossboard is used for forwarding the OFP frame carried by each interlaken logical channel to the lineboard.
[0015] The lineboard is used for converting the OFP frame into an OTU frame and outputting the OTU frame.
[0016] According to still another embodiment of the present application, a computer readable storage medium is also provided, and the storage medium stores a computer program, wherein the computer program is arranged to execute the steps in any of the above method embodiments when running.
[0017] According to still another embodiment of the present application, an electronic device is also provided, and the electronic device comprises a memory and a processor, the memory stores a computer program, and the processor is arranged to run the computer program to execute the steps in any of the above method embodiments.
[0018] In the client board, multiple client services are packaged into OFP frames, and the OFP frames are loaded into one interlaken logical channel; through the crossboard, the OFP frame carried by each interlaken logical channel is forwarded to the lineboard; in the lineboard, the OFP frame is converted into an OTU frame, and the OTU frame is outputted, which can solve the problem that in the related art, due to the limited interlaken logical channel resources of the line card, if each small-granularity service in the multiple small-granularity services occupies one interlaken logical channel, the small-granularity services that can be carried by the current line card are limited, and the multiple small-granularity client services are loaded into one or more large channels as sub-channels, and the multiple client services are transmitted to the lineboard through one or more interlaken logical large channels, so that more small-granularity services can be carried in the limited large channel. BRIEF DESCRIPTION OF DRAWINGS
[0019] Figure 1 is a schematic diagram of an OSU frame structure in the related art;
[0020] Figure 2 is a hardware structure block diagram of a mobile terminal of the multi-service transmission method according to the embodiment of the present application;
[0021] Figure 3 is a flowchart of the multi-service transmission method according to the embodiment of the present application;
[0022] Figure 4 is a flowchart of the multi-service transmission method according to the optional embodiment;
[0023] Figure 5 is a schematic diagram of an OFP frame header structure according to the embodiment of the present application;
[0024] Figure 6 This is a schematic diagram of the interlaken large and small channels according to this embodiment;
[0025] Figure 7 This is a block diagram of the OTN device system according to this embodiment;
[0026] Figure 8 This is a flowchart of the client board CBR service processing according to this embodiment;
[0027] Figure 9 This is a flowchart of the client board grouping service processing according to this embodiment;
[0028] Figure 10 This is a flowchart of the circuit board processing according to this embodiment;
[0029] Figure 11 This is a block diagram of a multi-channel service transmission system according to this embodiment. Detailed Implementation
[0030] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and examples.
[0031] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0032] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 2 This is a hardware structure block diagram of a mobile terminal for a multi-channel service transmission method according to an embodiment of the present invention, such as... Figure 2 As shown, a mobile terminal may include one or more ( Figure 2 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 2 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 2 The more or fewer components shown, or having the same Figure 2 The different configurations shown.
[0033] The memory 104 can be configured to store computer programs, such as software programs of application software and modules, such as a computer program corresponding to the multi-service transmission method in the embodiments of the present application. The processor 102 can execute various functions and service chain address pool slicing processing by running the computer programs stored in the memory 104, that is, implement the method described above. The memory 104 can include a high-speed random access memory, and can further include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory 104 can further include a memory remotely arranged with respect to the processor 102, which can be connected to the mobile terminal through a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0034] The transmission device 106 is configured to receive or send data via a network. Specific examples of the network can include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is configured to communicate with the Internet in a wireless manner.
[0035] In the embodiments, a multi-service transmission method running on the mobile terminal or the network architecture is provided, Figure 3 which is a flowchart of the multi-service transmission method according to the embodiments of the present application, as shown in Figure 3 which includes the following steps:
[0036] In step S302, the multi-client services are encapsulated into OFP frames in the client board, and the OFP frames are loaded into an interlaken logical channel of a chip-level general interface protocol.
[0037] In the embodiments, the OFP frame is an abbreviation of OTN Over Packet Fabric Protocol, which means that the transmission of OTN services is implemented through packet switching.
[0038] In step S304, the OFP frames carried by each interlaken logical channel are forwarded to the line board through the cross board.
[0039] In step S306, the OFP frames are converted into OTU frames in the line board, and the OTU frames are output.
[0040] Through the steps S302 to S306, the problem that in the prior art, due to limited interlaken logical channel resources of a line card, if each of multiple small-granularity services occupies an interlaken logical channel, the small-granularity services that can be carried by the current line card are limited, can be solved, and the multiple small-granularity customer services are loaded into one or more interlaken logical large channels as sub-channels, the multiple customer services are transparently transmitted to the line card through the one or more interlaken logical large channels, so that more small-granularity services can be carried under limited interlaken logical channels.
[0041] In an exemplary embodiment, the step S304 can specifically include: if the customer service is a Constant Bit Rate (CBR) service, synthesizing multiple CBR services into one high-speed time division multiplexing data signal; mapping the high-speed time division multiplexing data signal into multiple OSU frames; and converting the multiple OSU frames into the OFP frame.
[0042] Optionally, after the multiple OSU frames are converted into the OFP frame, CBR service configuration information issued by a control plane is received; a small channel number of a CBR service carried in the CBR service configuration information is identified as a small channel number of the multiple CBR services, wherein the large channel number and the small channel number are included in the large channel number; the small channel number corresponding to the multiple CBR services is set in a frame header of the OFP frame, and the large channel number is set in an interlaken frame header outside the OFP frame.
[0043] In another exemplary embodiment, the step S204 can specifically further include: if the customer service is a packet service, converting multiple packet services into MAC frames, and storing the MAC frames in a shared buffer queue; extracting the MAC frames from the shared buffer queue, and mapping the MAC frames into multiple OSU frames; and converting the multiple OSU frames into the OFP frame.
[0044] In an optional embodiment, before the MAC frames are stored in the shared buffer queue, packet service configuration information issued by a control plane is received; a VLAN in the MAC frames is parsed according to a VLAN identifier carried in the packet service configuration information; the packet service is shunted according to the VLAN, and an association relationship among the VLAN, a large channel number, and an optical port index is recorded.
[0045] In another optional embodiment, after converting the plurality of OSU frames into the OFP frame, a size channel number carried in the packet service configuration information is used to identify a small channel number for the plurality of packet services, wherein the size channel number comprises a large channel number and the small channel number; the small channel number corresponding to the plurality of packet services is set in a frame header of the OFP frame, and the large channel number is set in an interlaken frame header outside the OFP frame.
[0046] In the embodiment, the step S206 can specifically include: parsing the OFP frame to obtain a large channel number and a small channel number of the plurality of customer services; demapping the OFP frame into a plurality of OSU frames with TPN numbers according to the large channel number and the small channel number; buffering the plurality of OSU frames in a linked list buffer queue; mapping the plurality of OSU frames in the linked list buffer queue into PB blocks corresponding to an ODU time division multiplex frame; and splitting the ODU time division multiplex frame into a plurality of ODU frames.
[0047] The OTU frame is generated according to the plurality of ODU frames.
[0048] In an exemplary embodiment, the demapping of the OFP frame into a plurality of OSU frames with TPN numbers according to the large channel number and the small channel number can further include: receiving configuration information issued by a control plane; obtaining a mapping relationship between a size channel number and a TPN number of a customer service according to the size channel number carried in the configuration information, wherein the size channel number comprises a large channel number and a small channel number; and demapping the OFP frame into a plurality of OSU frames with TPN numbers according to the mapping relationship between the size channel number and the TPN number.
[0049] In an exemplary embodiment, the mapping of the plurality of OSU frames in the linked list buffer queue into PB blocks corresponding to an ODU time division multiplex frame comprises: determining a mapping table of PB blocks and TPN numbers of the plurality of customer services according to a bandwidth of a customer service carried in the configuration message; and mapping the OSU frames in the linked list buffer queue into the PB blocks corresponding to the ODU time division multiplex frame according to the mapping table.
[0050] Figure 4 is a flowchart of a multi-service transmission method according to the optional embodiment, as shown in Figure 4 , which includes:
[0051] In step S402, the OTU frame is received in a line card, and the OTU frame is converted into the OFP frame.
[0052] In step S404, the OFP frame carried by each interlaken logical channel is forwarded to the customer card through the cross card.
[0053] Step S406, in the client board, the OFP frame is decapsulated into the multiple client services.
[0054] In an exemplary embodiment, the step S402 can specifically include: decapsulating the OTU frame into multiple ODU frames;
[0055] generating an ODU time division multiplex frame according to the multiple ODU frames; extracting a PB block of the ODU time division multiplex frame, demapping the ODU time division multiplex frame into multiple OSU frames according to the PB block; and converting the multiple OSU frames into the OFP frame.
[0056] In an exemplary embodiment, after the multiple OSU frames are converted into the OFP frame, the TPN number of the OFP frame is converted into a large channel number and a small channel number according to a size channel number of the client service carried in the configuration information, wherein the size channel number includes the large channel number and the small channel number; and the large channel number and the small channel number are respectively written into an interlaken frame header and an OFP frame header of the OFP frame.
[0057] In an optional embodiment, the step S406 can specifically include: if the multiple client services are multiple CBR services, a large channel number and a small channel number are parsed according to an OFP frame header of the OFP frame and an interlaken frame header outside the OFP frame; the OFP frame is converted into multiple OSU frames according to the large channel number and the small channel number; the multiple OSU frames are demultiplexed into high-speed time division multiplex data signals; and the multiple CBR services are extracted from the high-speed time division multiplex data signals.
[0058] In another optional embodiment, the step S406 can further include: if the multiple client services are multiple packet services, a large channel number and a small channel number are parsed according to an OFP frame header of the OFP frame and an interlaken frame header outside the OFP frame; the OFP frame is converted into multiple OSU frames according to the large channel number and the small channel number; the multiple OSU frames are converted into MAC frames, and the MAC frames are put into a shared buffer queue; and the multiple packet services corresponding to the VLAN are obtained from the shared buffer queue according to a pre-stored association relationship between the VLAN and the optical port index.
[0059] In the embodiment, a line card of a main OTN device is connected to a cross board through an Interlaken interface, the line card slices a payload, and adds an OFP frame header and an Interlaken frame header. The cross board schedules through the Interlaken frame header, and the minimum granularity is generally ODU0 or a similar rate.
[0060] OTN device carrying small granular customer service is generally placed in the edge access network, the number of small granular customer service is large, but the total bandwidth is not large. The number of interlaken logical channel of OTN line card is limited, but the characteristics of interlaken independent of the rate of underlying physical link can be used, and the multiple small granular customer service can be loaded into a interlaken logical channel as a sub-channel, so as to achieve the purpose of carrying more small granular service in limited interlaken logical channel.
[0061] Figure 5 is a schematic diagram of OFP frame header structure according to the embodiment, as Figure 5 shown, the unused PPSI field and RSV1 field of OFP frame header can be extended to identify the number of small granular service (small channel) that can be carried in a interlaken logical channel (large channel), that is, one large channel can carry 256 small channel services. Figure 6 is a schematic diagram of interlaken size channel according to the embodiment, as Figure 6 shown, the main stream OTN line card supports up to 256 interlaken logical channels, so theoretically it can support 65536 OSU services, which is enough to cover the target of 1024 small granular services.
[0062] Figure 7 is a block diagram of OTN device system composition according to the embodiment, as Figure 7 shown, the present application relates to a system composed of customer board and line board supporting OSU adaptation layer, and cross board.
[0063] The customer board completes the mapping and demapping of small granular service to OSU frame, and identifies the small channel number (fills the 8bit reserved field of OFP frame header described above) for each incoming small granular service. According to the configuration of control plane, multiple small channel services are loaded into one or more large channel numbers (interlaken frame header contains interlaken channel number mailbox).
[0064] The line board completes the mapping and demapping of OSU frame to OPU payload PB block position, and completes the multiplexing and demultiplexing of multiple OSU services through size channel number.
[0065] The cross board performs cross scheduling according to the cross configuration of control plane, and the cross board does not perceive OSU, and the scheduling granularity is the large channel described above, so multiple OSU services can be transparently transmitted in OTN network, and the corresponding line card supporting OSU service can be multiplexed and demultiplexed.
[0066] In this embodiment, the multiple small-particle services are mapped to the OSU frame format, and the multiplexing and demultiplexing of the multiple OSU services are implemented through the size channel method, and the detailed processing flow is as follows:
[0067] Figure 8 is a flow chart of the customer board CBR service processing according to the present embodiment, as shown in Figure 8 The processing flow of the fixed-rate CBR service includes:
[0068] Step 1, the management and control plane issues the CBR service configuration to the customer board, carrying information such as optical port index, CBR service type, size channel number of the CBR service, and other configuration information.
[0069] The CBR service configuration information issued by the management and control plane includes the following information:
[0070] CBR service type: such as GE / FE / STM1 / STM4, etc. The frame formats of these services are different, and the rates are also different. The optical port supports multiple customer services;
[0071] Optical port index: there are multiple optical ports, and each optical port can be configured with a service;
[0072] Small channel number: used to identify each customer service, the range is 1 to 1000. The user can specify it arbitrarily, for example, the GE service from optical port 1 is identified as 1, and the STM4 service from optical port 2 is identified as 10;
[0073] Large channel number: multiple customer services can share one large channel number. For example, 1 and 10 above can be loaded into large channel 1 together. The large channel is the unit capacity of the traditional OTN device cross forwarding, such as ODU0 / ODU2, etc. As long as the bandwidth of the multiple small channel customer services does not exceed the bandwidth of the large channel.
[0074] Step 2, according to the configuration of the management and control plane, first pass the CBR service from each optical port through the sampling and bit width processing module, and adjust the corresponding bit width and clock processing according to the specific CBR service type; similarly, restore the CBR service output to the corresponding optical port.
[0075] The sampling and bit width processing module is on the traditional OTN device and is not within the scope of protection. As mentioned earlier, the service from a physical optical port can be multiple, such as GE / STM, etc. The rate and bit width of each service are different. The device has a processing step, which is to uniformly sample and bit width process the customer service from the optical port, which can be understood as processing into a unified format for subsequent processing.
[0076] Step 3, all customer signals coming from optical ports are processed by the above-mentioned sampling and bit width processing module, and then combined into a high-speed time division multiplexing data signal by the space-time division multiplexing module. In reverse, the space-time division multiplexing module extracts signals from the high-speed time division multiplexing data signal to the corresponding optical port.
[0077] The space-time division multiplexing module has multiple optical ports on the customer board. At the same time, multiple services may come from different optical ports at the same time. At this time, there is a high-speed signal inside, which is faster than the speed of the service coming from the optical port. Therefore, the services coming from different optical ports can be loaded into the high-speed signal at different times. For example, customer service 1 is loaded into position 1 of the high-speed signal at t1 time, and customer service 2 is loaded into position 2 of the high-speed signal at t2 time. In this way, multiple customer services can be loaded into a high-speed signal, completing the conversion from time domain to space domain.
[0078] Step 4, the CBR / OSU conversion module maps the high-speed time division multiplexing data signal into the OSU frame format. In reverse, the OSU frame is mapped into the high-speed time division multiplexing data signal.
[0079] This place is the protection scope. Mapping customer services into the OSU frame format is to prepare for the processing of the line board. The OSU frame is a fixed-length frame format, and the customer services in the high-speed signal need to be mapped into the payload of the OSU frame by a certain mapping method. The synchronous mapping method is used.
[0080] The OSU frame is a proposed enterprise standard, which is convenient for intercommunication of different enterprises. There is no TPN number in the OSU frame in the customer board, and the TPN number is reset in the line board.
[0081] Step 5, the OFP adaptation module converts the OSU frame into the OFP frame, identifies the small channel number for each OSU service according to the size of the channel configuration of the management plane (writes into the 8-bit field of the OFP frame header described above), and multiplexes multiple OSU services into one or more large channels (the Interlaken frame header described above contains the interlaken channel number information), and finally sends to the cross board through the interlaken interface. In reverse, the 8-bit field of the OFP frame header and the interlaken frame header are extracted and analyzed to obtain the size of the channel number, and one large channel is demapped into multiple small channel OSU services.
[0082] This place is the protection scope. The OFP adaptation module is used to convert the OSU frame into the OFP frame. The OFP frame can be carried on the interlaken channel. The original OFP frame only contains the interlaken channel number information, and does not contain the information for identifying the customer service. Each customer service occupies an interlaken channel. The 2-bit reserved field is extended in the OFP, and is used to identify the customer service or the OSU service (small channel). According to the configuration of the control plane, each customer service is mapped into the respective OSU frame, and is allocated a unique small channel number (identifying each customer service)
[0083] Here, the large channel refers to the channel originally carrying the service, and the minimum granularity of the large channel is relatively large, such as the rate of ODU0 or ODU2. The OSU frames of multiple customer services can be loaded into one large channel.
[0084] Figure 9 The flow chart of the customer board packet service processing according to the embodiment is shown in FIG. 1. Figure 9 The packet service refers to the Multiple Access Channel (MAC) frame of Ethernet, such as Gigabit Ethernet (GE), Fast Ethernet (FE), etc. The specific processing flow includes the following steps.
[0085] Step 1: The control plane issues the packet service to the customer board, and carries the information such as the optical port index, the packet service type, the Virtual Local Area Network (VLAN) identification ID, the large channel number, etc.
[0086] The packet service generally refers to the Ethernet service. Multiple Ethernet services can enter one physical optical port, and the VLAN ID is used for distinguishing. The CBR service can only be one service in one optical port, which is the biggest difference between the two. For example, the control plane issues the following configuration: three Ethernet services VLAN1, VLAN2 and VLAN3 enter the optical port 1, and the user uses the small channels 1, 2 and 3 to identify them (this can be arbitrarily specified), and the services of the three small channels are carried by the large channel 1. Three services VLAN2, VLAN3 and VLAN4 enter the optical port 2, and the user uses the small channels 4, 5 and 6 to identify them, and the services are carried by the large channel 2. The large channel is the cross connection between the customer board and the line board, and can be understood as a virtual channel.
[0087] Step 2, the GE / MAC conversion module converts the GE signal into a MAC frame, and according to the configuration of the management plane, parses the VLAN in the MAC frame, and according to the VLAN, shunts the customer service, and stores the corresponding MAC frame into a shared buffer queue. The customer board software records the association relationship of VLAN, size channel number, and optical port index. In reverse, the service corresponding to the VLAN is sent to the corresponding optical port.
[0088] Different from CBR, the incoming flow of packet service is random. Therefore, all incoming Ethernet services are identified by VLAN ID, and after the Ethernet frame is converted into a MAC frame, it is put into a shared buffer queue. The single board software associates the Ethernet VLAN ID and the size channel through the configuration of the management plane, and sets the corresponding hardware, so that the customer service of a specific VLAN ID from the guide optical port is marked with a corresponding small channel number by the subsequent OFP adaptation module, and is loaded into the specified interlaken channel to be carried.
[0089] Step 3, the IMP / OSU conversion module extracts the MAC from the shared buffer queue and maps it into an OSU frame; in reverse, the OSU frame is demapped and converted into a MAC frame and put into a buffer queue.
[0090] Like the mapping of high-speed signals of CBR to OSU frames, here is also a general technology, which maps the MAC frame into an OSU frame through the mapping method of IMP (Idle Mapping Procedure).
[0091] Step 4, the OFP adaptation module is the same as the CBR in the above embodiment, and here it is not distinguished whether it is CBR service or packet service. The OFP adaptation module completes the mapping and demapping of OSU to OFP.
[0092] Figure 10 is a flow chart of the line board processing according to the present embodiment, as shown in Figure 10 the processing flow of the line board includes:
[0093] Step 1, the management plane issues configuration information to the line board, including OSU service size channel number, OSU service bandwidth, OSU service layer TPN number, and other information.
[0094] The function of the line board is to map the OSU frame forwarded by the customer board to the backboard into an ODUk frame structure, and then send it out of the optical port. The configuration issued by the management plane to the line board includes:
[0095] OSU service size channel number: in order to find the corresponding OSU frame according to the large and small channel numbers
[0096] OSU service bandwidth: This service bandwidth is the service rate of the OSU frame before being processed by the customer board service, and the line board needs to allocate sufficient space (PB block) according to the size of the rate to place the service
[0097] OSU service layer TPN number: The TPN number can be understood as the role of the intermediate identification in the line board. First, the line board binds the size channel number and the TPN number one by one. The ODUk frame is divided into a plurality of data blocks (PB blocks) of the same bit width, and then the line board binds the TPN number and the plurality of PB blocks according to the service bandwidth, so that the respective OSU frames can be placed in the position of the ODUk.
[0098] Step 2, the OFP disassembly module parses the OFP frame coming from the cross board, parses the size channel number, completes the demultiplexing of the multi-path small channel OSU service, and according to the configuration of the control plane, finds the mapping relationship between the size channel number and the TPN number, and unmasks the OFP frame into the OSU frame with the TPN number. In reverse, the OSU frame is mapped into the OFP frame, and according to the configuration of the control plane, the TPN number is converted into the size channel number, and is written into the OFP frame header and the interlaken frame header respectively, and the multiplexing of the multi-path small channel OSU service into one interlaken channel is completed.
[0099] The OFP frame is the frame format transmitted by the customer board to the backboard, and the data part of the OFP frame is the OSU frame, and the size channel number is included in the overhead. This step is to extract the size channel number in the overhead and the OSU frame data, and then cache them in a linked list structure.
[0100] Step 3, a plurality of OSU frames are cached and processed via the linked list cache queue. The ODU PB mapping module calculates the mapping relationship table of the PB position and the TPN number of each OSU service according to the bandwidth allocated by the control plane for each OSU service. Then, according to the allocated mapping table, the OSU frame in the cache queue is mapped to the corresponding PB position in the ODU time division multiplex frame. In reverse, the PB block in the ODU time division multiplex frame is extracted and unmapped into the OSU frame.
[0101] The line board first binds the PB block and the TPN number according to the configuration issued by the control plane, which is specifically that the service bandwidth / PB block bandwidth=N, and the N PB blocks are marked with the TPN number. Then, the field programming gate array (FPGA) scans the ODUk frame from the beginning, finds the OSU frame in the linked list according to the TPN number corresponding to the PB block at the current position, and then places the OSU frame at the current position, and scans to the end of the ODUk frame, to complete the processing of one frame of ODUk.
[0102] Step 4, the ODU time division multiplexing frame is split into multiple ODU frames by the space-time division multiplexing module, and OTU frames are generated after frame setting processing and insertion of overheads, and finally output from different optical ports.
[0103] There are multiple optical ports on the line board, and the space-time division multiplexing module is to split the ODUk frame into multiple ODUk frames by space division demultiplexing, and then output to different optical ports.
[0104] According to another aspect of the embodiment, a multi-service transmission system is also provided, Figure 11 is a block diagram of the multi-service transmission system according to the embodiment, as Figure 11 shown, comprising a customer board 112, a cross board 114 and a line board 116, wherein,
[0105] The customer board 112 is configured to encapsulate multiple customer services into OFP frames, and load the OFP frames into an interlaken logical channel.
[0106] The cross board 114 is configured to forward the OFP frames carried by each interlaken logical channel to the line board 116.
[0107] The line board 116 is configured to convert the OFP frames into OTU frames, and output the OTU frames.
[0108] In the customer board 112, multiple customer services are encapsulated into OFP frames, and the OFP frames are loaded into an interlaken logical channel.
[0109] Through the cross board 114, the OFP frames carried by each interlaken logical channel are forwarded to the line board 116.
[0110] In the line board 116, the OFP frames are converted into OTU frames, and the OTU frames are output.
[0111] In an exemplary embodiment, the customer board 112 is further configured to, if the customer service is a CBR service, synthesize multiple CBR services into a high-speed time division multiplexing data signal.
[0112] The high-speed time division multiplexing data signal is mapped into multiple OSU frames.
[0113] The multiple OSU frames are converted into the OFP frames.
[0114] In an exemplary embodiment, the customer board 112 is further configured to receive CBR service configuration information issued by a management plane.
[0115] According to a size channel number of the CBR service carried in the CBR service configuration information, the multiple CBR services are identified with small channel numbers, wherein the size channel number comprises a large channel number and the small channel numbers;
[0116] The small channel numbers corresponding to the multiple CBR services are set in a frame header of the OFP frame, and the large channel number is set in an interlaken frame header outside the OFP frame.
[0117] In an exemplary embodiment, the customer board 112 is further configured to, if the customer service is a packet service, convert the multiple packet services into MAC frames, and store the MAC frames in a shared buffer queue;
[0118] The MAC frames are extracted from the shared buffer queue, and the MAC frames are mapped into multiple OSU frames;
[0119] The multiple OSU frames are converted into the OFP frame.
[0120] In an exemplary embodiment, the customer board 112 is further configured to receive packet service configuration information issued by a control plane;
[0121] According to a VLAN identifier carried in the packet service configuration information, a VLAN in the MAC frame is parsed;
[0122] According to the VLAN, the packet service is shunted, and an association relationship among the VLAN, a size channel number and an optical port index is recorded.
[0123] In an exemplary embodiment, the customer board 112 is further configured to, according to a size channel number carried in the packet service configuration information, identify small channel numbers for the multiple packet services, wherein the size channel number comprises a large channel number and the small channel numbers;
[0124] The small channel numbers corresponding to the multiple packet services are set in a frame header of the OFP frame, and the large channel number is set in an interlaken frame header outside the OFP frame.
[0125] In an exemplary embodiment, the line board 116 is further configured to parse the OFP frame to obtain a large channel number and a small channel number of the multiple customer services;
[0126] According to the large channel number and the small channel number, the OFP frame is de-mapped into multiple OSU frames with TPN numbers;
[0127] The multiple OSU frames are buffered in a linked list buffer queue;
[0128] map the plurality of OSU frames in the linked list buffer queue into PB blocks corresponding to the ODU time division multiplexing frame;
[0129] split the ODU time division multiplexing frame into a plurality of ODU frames;
[0130] generate the OTU frame according to the plurality of ODU frames.
[0131] In an exemplary embodiment, the line board 116 is further configured to receive configuration information issued by a control plane;
[0132] obtain a mapping relationship between a size channel number and a TPN number according to the size channel number of customer service carried in the configuration information, wherein the size channel number comprises a large channel number and a small channel number;
[0133] demap the OFP frame into a plurality of OSU frames with TPN numbers according to the mapping relationship between the size channel number and the TPN number.
[0134] The line board 116 is further configured to determine a mapping table of PB blocks and TPN numbers of the plurality of customer services according to a customer service bandwidth carried in the configuration message;
[0135] map the OSU frames in the linked list buffer queue into PB blocks corresponding to the ODU time division multiplexing frame according to the mapping table.
[0136] In an exemplary embodiment, the line board 116 is further configured to receive the OTU frame and convert the OTU frame into the OFP frame;
[0137] The cross board 114 is further configured to send the OFP frame to the customer board 112 through one or more large channels;
[0138] The customer board 112 is further configured to unpack the OFP frame into the plurality of customer services.
[0139] In an exemplary embodiment, the line board 116 is further configured to unpack the OTU frame into a plurality of ODU frames;
[0140] generate an ODU time division multiplexing frame according to the plurality of ODU frames;
[0141] extract PB blocks of the ODU time division multiplexing frame, and demap the ODU time division multiplexing frame into a plurality of OSU frames according to the PB blocks;
[0142] convert the plurality of OSU frames into the OFP frame.
[0143] In an example embodiment, the line card 116 is further configured to convert the TPN number of the OFP frame into a large channel number and a small channel number according to a size channel number of customer service carried in the configuration information, wherein the size channel number comprises the large channel number and the small channel number.
[0144] The large channel number and the small channel number are written into an interlaken frame header and an OFP frame header of the OFP frame respectively.
[0145] In an example embodiment, the customer board 112 is further configured to
[0146] If the multi-path customer service is multi-path CBR service, a large channel number and a small channel number are parsed according to an OFP frame header of the OFP frame and an interlaken frame header outside the OFP frame.
[0147] The OFP frame is converted into a plurality of OSU frames according to the large channel number and the small channel number.
[0148] The plurality of OSU frames are demultiplexed into high-speed time division multiplexing data signals.
[0149] The multi-path CBR service is extracted from the high-speed time division multiplexing data signals.
[0150] In an example embodiment, the customer board 112 is further configured to
[0151] If the multi-path customer service is multi-path packet service, a large channel number and a small channel number are parsed according to an OFP frame header of the OFP frame and an interlaken frame header outside the OFP frame.
[0152] The OFP frame is converted into a plurality of OSU frames according to the large channel number and the small channel number.
[0153] The plurality of OSU frames are converted into MAC frames, and the MAC frames are put into a shared buffer queue.
[0154] According to a pre-stored association relationship between a VLAN and a fiber port index, the multi-path packet service corresponding to the VLAN is obtained from the shared buffer queue.
[0155] Embodiments of the present application also provide a computer readable storage medium, which stores a computer program, wherein the computer program is configured to execute steps in any of the above method embodiments when running.
[0156] In an example embodiment, the computer readable storage medium described above can include, but is not limited to, a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media capable of storing computer programs.
[0157] Embodiments of the present application also provide an electronic device including a memory and a processor, the memory storing a computer program, and the processor being configured to execute the computer program to perform the steps in any of the method embodiments described above.
[0158] In an example embodiment, the electronic device described above can further include a transmission device connected to the processor and an input and output device connected to the processor.
[0159] The specific examples in the embodiments can refer to the examples described in the above embodiments and example embodiments, and will not be described here again.
[0160] Obviously, those skilled in the art should understand that the modules or steps of the present application described above can be realized by general computing devices, which can be concentrated on a single computing device or distributed on a network composed of multiple computing devices, and can be realized by program codes executable by computing devices, so that they can be stored in storage devices and executed by computing devices, and in some cases, the steps shown or described can be executed in different order, or they can be manufactured into individual integrated circuit modules, or multiple modules or steps can be manufactured into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
[0161] The above only describes the preferred embodiments of the present application and is not intended to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method of multiplexing traffic transmission, characterized by, The method comprises the following steps: In the client board, multiple client services are encapsulated into OFP frames, and the OFP frames are loaded into an interlaken logical channel of a chip-level general interface protocol; Through the cross board, the OFP frames carried by each interlaken logical channel are forwarded to the line board; In the line board, the OFP frames are converted into OTU frames, and the OTU frames are outputted; The step of encapsulating multiple client services into OFP frames comprises the following steps:
2. The method of claim 1, wherein, If the client service is packet service, multiple packet services are converted into multiple MAC frames, and the MAC frames are stored in a shared buffer queue; the MAC frames are extracted from the shared buffer queue, and the MAC frames are mapped into multiple OSU frames; the multiple OSU frames are converted into the OFP frames. The step of encapsulating multiple client services into OFP frames comprises the following steps: If the client service is CBR service, multiple CBR services are synthesized into a high-speed time-division multiplexing data signal; The high-speed time-division multiplexing data signal is mapped into multiple OSU frames; 3. The method of claim 2, wherein, The multiple OSU frames are converted into the OFP frames. After the multiple OSU frames are converted into the OFP frames, the method further comprises the following steps: CBR service configuration information issued by the control plane is received; According to the size channel number of the CBR service carried in the CBR service configuration information, small channel numbers of the multiple CBR services are identified, wherein the size channel number comprises a large channel number and the small channel number; 4. The method of claim 1, wherein, The small channel numbers corresponding to the multiple CBR services are set in the frame header of the OFP frame, and the large channel number is set in the interlaken frame header outside the OFP frame. After the multiple OSU frames are converted into the OFP frames, the method further comprises the following steps: According to the size channel number carried in the packet service configuration information issued by the control plane, small channel numbers of the multiple packet services are identified, wherein the size channel number comprises a large channel number and the small channel number; 5. The method according to any one of claims 1 to 4, characterized in that, The small channel numbers corresponding to the multiple packet services are set in the frame header of the OFP frame, and the large channel number is set in the interlaken frame header outside the OFP frame. The step of converting the OFP frame into the OTU frame comprises the following steps: The OFP frame is parsed to obtain the large channel number and the small channel number of the multiple client services; According to the large channel number and the small channel number, the OFP frame is demapped into multiple OSU frames with TPN numbers; The multiple OSU frames are buffered in a linked list buffer queue; The multiple OSU frames in the linked list buffer queue are mapped into fixed-length PB blocks corresponding to ODU time-division multiplexing frames; The ODU time-division multiplexing frame is split into multiple ODU frames; 6. The method of claim 5, wherein, The OTU frame is generated according to the multiple ODU frames. The step of demapping the OFP frame into multiple OSU frames with TPN numbers according to the large channel number and the small channel number comprises the following steps: Configuration information issued by the control plane is received; According to the size channel number of the client service carried in the configuration information, a mapping relationship between the size channel number and a TPN number is obtained, wherein the size channel number comprises a large channel number and a small channel number; According to the mapping relationship between the size channel number and the TPN number, the OFP frame is demapped into a plurality of OSU frames with the TPN number.
7. The method of claim 6, wherein, Mapping the plurality of OSU frames in the linked list buffer queue into a PB block corresponding to an ODU time division multiplexing frame comprises: According to the bandwidth of the client service carried in the configuration information, a mapping table of the PB block and the TPN number of the plurality of client services is determined; According to the mapping table, the OSU frame in the linked list buffer queue is mapped into the PB block corresponding to the ODU time division multiplexing frame.
8. The method of claim 6, wherein, The method further comprises: In the line board, the OTU frame is received and converted into the OFP frame; Through the cross board, the OFP frame carried by each interlaken logical channel is forwarded to the client board; In the client board, the OFP frame is unpacked into the plurality of client services.
9. The method of claim 8, wherein, Converting the OTU frame into the OFP frame comprises: The OTU frame is unpacked into a plurality of ODU frames; An ODU time division multiplexing frame is generated according to the plurality of ODU frames; A PB block of the ODU time division multiplexing frame is extracted, and the ODU time division multiplexing frame is demapped into a plurality of OSU frames according to the PB block; The plurality of OSU frames are converted into the OFP frame.
10. The method of claim 9, wherein, After converting the plurality of OSU frames into the OFP frame, the method further comprises: According to the size channel number of the client service carried in the configuration information, the TPN number of the OFP frame is converted into a large channel number and a small channel number, wherein the size channel number comprises the large channel number and the small channel number; The large channel number and the small channel number are respectively written into an interlaken frame header and an OFP frame header of the OFP frame.
11. The method of claim 8, wherein, Unpacking the OFP frame into the plurality of client services comprises: If the plurality of client services are a plurality of CBR services, a large channel number and a small channel number are parsed according to an OFP frame header of the OFP frame and an interlaken frame header outside the OFP frame; The OFP frame is converted into a plurality of OSU frames according to the large channel number and the small channel number; The plurality of OSU frames are demultiplexed into high-speed time division multiplexing data signals; The plurality of CBR services are extracted from the high-speed time division multiplexing data signals.
12. The method of claim 8, wherein, Unpacking the OFP frame into the plurality of client services comprises: If the plurality of client services are a plurality of packet services, a large channel number and a small channel number are parsed according to an OFP frame header of the OFP frame and an interlaken frame header outside the OFP frame; The OFP frame is converted into a plurality of OSU frames according to the large channel number and the small channel number; The plurality of OSU frames are converted into MAC frames, and the MAC frames are put into a shared buffer queue; According to a pre-stored association relationship between a VLAN and an optical port index, the plurality of packet services corresponding to the VLAN are obtained from the shared buffer queue.
13. A multiplexed service transmission system, characterised in that, Comprise: A client board, a cross board and a line board, wherein, the client board is configured to encapsulate multiple client services into OFP frames and pack the OFP frames into one interlaken logical lane; the cross board is configured to forward the OFP frames carried by each interlaken logical lane to the line board; the line board is configured to convert the OFP frames into OTU frames and output the OTU frames; the client board is further configured to convert multiple packet services into MAC frames if the client services are packet services and store the MAC frames into a shared buffer queue, extract the MAC frames from the shared buffer queue and map the MAC frames into multiple OSU frames; convert the multiple OSU frames into the OFP frames.
14. A computer readable storage medium, characterized in that, The storage medium stores a computer program, wherein the computer program is configured to execute the method in any one of claims 1 to 12 when running. 15.An electronic device comprising a memory and a processor, the electronic device characterized by, The memory stores a computer program, and the processor is configured to execute the computer program to execute the method in any one of claims 1 to 12.
Citation Information
Patent Citations
Method, device and system for transmitting customer service
CN111490845A
Transmission apparatus and transmission method
US20190116115A1