Device for realizing fgOTN transmission and crossing
By utilizing existing switch units and branch units, combined with the use of static MAC tables, the encapsulation, sharding and cross-forwarding of fgOTN data is achieved, which solves the problems of complex operation and high equipment cost in the existing technology, and realizes direct and compatible fgOTN cross-transmission.
Patent Information
- Application Number
- CN202411569174.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-02-28
AI Technical Summary
In the prior art, specialized equipment is needed to implement fgOTN crossover, which is complex in operation and lacks a method to directly use existing equipment to realize fgOTN crossover.
By utilizing the existing switch unit, combining the first branch unit and at least one second branch unit, the encapsulation, sharding and cross-forwarding of fgOTN data is realized, and the target transmission port is determined using a static MAC table to complete cross-transmission.
It realizes the direct completion of fgOTN cross-transmission through existing equipment, reduces equipment costs, simplifies equipment structure, and is compatible with existing switching networks.
Smart Images

Figure CN119544065A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and in particular to a device for realizing fgOTN transmission and crossover. Background Art
[0002] Optical Transport Network (OTN) has technical advantages such as large bandwidth, hard pipe, multi-service carrying capacity, and carrier-grade operation, management and maintenance (OAM) mechanism. It is a widely used bearer technology in the industry and is deployed on a large scale in backbone networks and metropolitan area networks to provide high-quality pipes for customer services with a rate of more than 1Gbps. Fine grain Optical Transport Network (fgOTN) provides finer time slot granularity and simpler bandwidth lossless adjustment mechanism while retaining the advantages of traditional OTN hard pipe and rich OAM, supporting efficient carrying of customer services at a rate of 2M~1Gbps, enabling OTN to sink from the backbone core to the access terminal.
[0003] However, the current fgOTN cross-connection requires the design of special equipment to be implemented, and the operation is complicated. Therefore, how to use existing equipment to directly implement fgOTN cross-connection is an urgent problem to be solved. Summary of the invention
[0004] The present invention provides a device for realizing fgOTN transmission and crossover, so as to solve the defects in the prior art that special equipment needs to be designed and the operation is complicated, and the fgOTN crossover transmission can be directly realized by utilizing the existing switch, which is compatible with the characteristics of the existing switching network and reduces the cost of the fgOTN crossover equipment.
[0005] The present invention provides a device for implementing fgOTN transmission and crossover, comprising: a first branch unit, a switch unit and at least one second branch unit, wherein: The first branch unit is connected to the switch unit, and the switch unit is respectively connected to each of the second branch units; The first branch unit is used to receive customer service data, encapsulate the customer service data in fgOTN frame format, and obtain an Ethernet packet corresponding to the customer service data; The switch unit is used to receive the Ethernet packet transmitted by the first branch unit, and determine the target transmission port required to transmit the Ethernet packet to each of the second branch units based on the static MAC table and the media access control MAC address of each of the second branch units; cross-forward the Ethernet packet to each of the second branch units through the target transmission port; the static MAC table is used to characterize the correspondence between the MAC address and the transmission port.
[0006] According to a device for implementing fgOTN transmission and cross-connection provided by the present invention, the first branch unit includes: a fgOTN framer and an Ethernet processing subunit, wherein: the fgOTN framer is connected to the Ethernet processing subunit, and the Ethernet processing subunit is connected to the switch unit; the fgOTN framer is used to encapsulate the customer service data in the fgOTN frame format to obtain fgOTN data frames; the Ethernet processing subunit is used to fragment the fgOTN data frame based on the data packet length adapted by the customer service data to obtain the Ethernet packet.
[0007] According to a device for implementing fgOTN transmission and crossover provided by the present invention, the Ethernet processing subunit includes a fgOTN frame to Ethernet frame packetizer and a first Ethernet MAC, wherein: the fgOTN frame to Ethernet frame packetizer is connected to the fgOTN frame maker and the first Ethernet MAC respectively; the fgOTN frame to Ethernet frame packetizer is used to perform fragmentation processing on the fgOTN data frame based on the data packet length adapted by the switch unit to obtain at least one fgOTN data subframe; based on the source address of each fgOTN data subframe and the destination address of each fgOTN data subframe, each fgOTN data subframe is encapsulated to obtain an Ethernet subframe encapsulation packet corresponding to each fgOTN data subframe; the Ethernet packet includes all Ethernet subframe encapsulation packets; the first Ethernet MAC is used to receive each Ethernet subframe encapsulation packet and transmit each Ethernet subframe encapsulation packet to the switch unit.
[0008] According to a device for implementing fgOTN transmission and cross-connection provided by the present invention, the switch unit includes an Ethernet switch and a processing unit, wherein: the Ethernet switch is respectively connected to the first branch unit, each of the second branch units and the processing unit; the processing unit is used to determine the target transmission port corresponding to each of the second branch units based on a static MAC table and the MAC address of each of the second branch units; the Ethernet switch is used to cross-forward the Ethernet packet to each of the second branch units through the target transmission port.
[0009] According to a device for implementing fgOTN transmission and cross-connection provided by the present invention, the processing unit is also used to determine the MAC address of the first branch unit as the source address of the fgOTN data subframe; and determine the MAC address of the first branch unit and / or the MAC address of each of the second branch units as the destination address group of the fgOTN data subframe.
[0010] According to a device for implementing fgOTN transmission and cross-connection provided by the present invention, the second branch unit includes a second Ethernet MAC and an Ethernet frame to fgOTN frame depacketizer, wherein: the second Ethernet MAC is connected to the Ethernet switch and the Ethernet frame to fgOTN frame depacketizer respectively; the second Ethernet MAC is used to receive the Ethernet packet; the Ethernet frame to fgOTN frame depacketizer is used to decapsulate the Ethernet packet to obtain the fgOTN data frame; based on the identifier carried by the fgOTN data frame, the target fgOTN deframer corresponding to the customer service data is determined.
[0011] According to a device for implementing fgOTN transmission and cross-connection provided by the present invention, the Ethernet frame to fgOTN frame depacketizer is further used to decapsulate each of the Ethernet subframe encapsulation packets to obtain the fgOTN data subframes corresponding to each of the Ethernet subframe encapsulation packets; and merge each of the fgOTN data subframes to obtain the fgOTN data frame.
[0012] According to a device for implementing fgOTN transmission and cross-connection provided by the present invention, the second branch unit also includes the target fgOTN deframer, wherein: the target fgOTN deframer connects the Ethernet frame to the fgOTN frame depacketizer; the target fgOTN deframer is used to decapsulate the fgOTN data frame to obtain the customer service data.
[0013] According to a device for implementing fgOTN transmission and crossover provided by the present invention, when each of the second branch units transmits the Ethernet packet to the first branch unit respectively; the first branch unit is also used to select a branch unit from each of the second branch units as a target branch unit to receive the Ethernet packet.
[0014] According to a device for implementing fgOTN transmission and crossover provided by the present invention, the first branch unit is also used to switch to receiving Ethernet packets from other second branch units when an abnormality occurs in the target branch unit.
[0015] The device for realizing fgOTN transmission and crossover provided by the present invention receives customer service data through a first branch unit, performs fgOTN frame format encapsulation on the customer service data, and obtains an Ethernet packet adapted to a switch unit; after the switch unit receives the Ethernet packet, it determines the target transmission port required for the Ethernet packet to be transmitted to the second branch unit according to a static media access control (MAC) address table and the target transmission port required by the second branch unit, and cross-transfers the Ethernet packet to the second branch unit through the target transmission port. In this way, the customer service data is encapsulated in fgOTN frame format through the first branch unit to obtain an Ethernet packet, and then the Ethernet packet is transmitted to the second branch unit by using the switch unit 120 to realize data transmission, and the existing switch unit is used to directly realize fgOTN crossover transmission, simplifying the device structure, being compatible with the characteristics of the existing switching network, and reducing the cost of fgOTN crossover equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 This is one of the structural schematic diagrams of the device for implementing fgOTN transmission and cross-connection provided by the present invention.
[0018] Figure 2 This is the second structural schematic diagram of the device for implementing fgOTN transmission and cross-connection provided by the present invention.
[0019] Figure 3 It is a structural schematic diagram of the fgOTN data frame provided by the present invention.
[0020] Figure 4 This is the third structural schematic diagram of the device for implementing fgOTN transmission and cross-connection provided by the present invention.
[0021] Figure 5 It is a schematic diagram of the fgOTN frame to Ethernet frame packet structure provided by the present invention.
[0022] Figure 6 It is a structural schematic diagram of fgOTN data frame fragmentation processing provided by the present invention.
[0023] Figure 7 This is the fourth structural schematic diagram of the device for implementing fgOTN transmission and cross-connection provided by the present invention.
[0024] Figure 8This is the fifth structural schematic diagram of the device for implementing fgOTN transmission and cross-connection provided by the present invention.
[0025] Fig. 9 This is the sixth structural schematic diagram of the device for implementing fgOTN transmission and cross-connection provided by the present invention.
[0026] Fig.10 This is the seventh structural schematic diagram of the device for implementing fgOTN transmission and cross-connection provided by the present invention.
[0027] Fig.11 This is the eighth structural schematic diagram of the device for implementing fgOTN transmission and cross-connection provided by the present invention.
[0028] Fig.12 This is the ninth structural schematic diagram of the device for implementing fgOTN transmission and cross-connection provided by the present invention.
[0029] Reference numerals: 100: device for implementing fgOTN transmission and cross-connection; 110: first branch unit; 120: switch unit; 130: at least one second branch unit; 111: fgOTN frame maker; 112: Ethernet processing subunit; 1121: fgOTN frame to Ethernet frame encapsulator; MAC1122: first Ethernet; 121: Ethernet switch; 122: processing unit; 131: second Ethernet MAC; 132: Ethernet frame to fgOTN frame decapsulator; 133: target fgOTN deframer. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0031] Combine the following Figure 1-Figure 12 The device for implementing fgOTN transmission and cross-connection of the present invention is described. The device for implementing fgOTN transmission and cross-connection provided by the present invention is applicable to the transmission of any customer service data.
[0032] Figure 1 FIG. 1 is one of the structural diagrams of the device for implementing fgOTN transmission and cross-connection provided by the present invention, such as Figure 1 As shown, the device 100 for implementing fgOTN transmission and cross-connection includes: A first branch unit 110, a switch unit 120 and at least one second branch unit 130, wherein: The first branch unit 110 is connected to the switch unit 120, and the switch unit 120 is respectively connected to each of the second branch units 130; The first branch unit 110 is used to receive customer service data, encapsulate the customer service data in fgOTN frame format, and obtain an Ethernet packet corresponding to the customer service data; The switch unit 120 is used to receive the Ethernet packet transmitted by the first branch unit 110, and determine the target transmission port required to transmit the Ethernet packet to each of the second branch units 130 based on the static MAC table and the media access control MAC address of each of the second branch units 130; cross-forward the Ethernet packet to each of the second branch units 130 through the target transmission port; the static MAC table is used to characterize the correspondence between the MAC address and the transmission port.
[0033] It should be noted that the first branch unit 110 and the second branch unit 130 can be different branches in the same device, the same branch in the same device, or branches in different devices. In other words, the fgOTN transmission device provided by the present invention can realize its own fgOTN transmission, and can also realize fgOTN transmission between different branch units.
[0034] Here, the customer service data may be any customer service data set in the fgOTN standard, such as Ethernet, telephone, optical fiber, etc. The first branch unit 110 may be connected to the customer equipment to obtain the customer service data.
[0035] The fgOTN frame format is a standard based on the hard pipe technology under the OTN framework.
[0036] Ethernet packet refers to Ethernet data packet or Ethernet frame. When transmitting data in a computer network, the data is divided into several small pieces as transmission units for transmission. These small pieces are called packets or data packets. Ethernet packet refers specifically to the data packet transmitted in Ethernet.
[0037] An Ethernet packet mainly consists of a header and a data part. The header contains control information such as destination address, source address, length / type, etc., and the data includes the actual content to be sent.
[0038] It should be noted that different customer service data has different corresponding packet lengths when segmented, and the number of frames required for transmission is also different.
[0039] Static MAC table is usually used to fix the binding relationship between certain specific MAC addresses and ports, that is, pre-configure the port corresponding to a specific MAC address so that the corresponding port can be used to transmit data after receiving the specific MAC address. The static MAC address table is manually configured by the network administrator, and the static MAC table can be updated during the data transmission process.
[0040] It should be noted that the embodiment of the present invention is described by taking the first branch unit 110 as a sending branch unit and the second branch unit 130 as a receiving branch unit as an example, and the transmission between the first branch unit 110 and the second branch unit is bidirectional.
[0041] In the embodiment of the present invention, the first branch unit 110 receives the customer service data, encapsulates the customer service data in the fgOTN frame format, and obtains an Ethernet packet adapted to the switch unit 120; after receiving the Ethernet packet, the switch unit 120 determines the target transmission port required for the second branch unit 130 to transmit the Ethernet packet according to the static MAC table and the target transmission port required by the second branch unit 130, and cross-transfers the Ethernet packet to the second branch unit 130 through the target transmission port. In this way, the customer service data is encapsulated in the fgOTN frame format by the first branch unit 110 to obtain an Ethernet packet, and then the Ethernet packet is transmitted to the second branch unit 130 by the switch unit 120 to realize data transmission, and the existing switch unit 120 is used to directly realize fgOTN cross transmission, simplify the equipment structure, be compatible with the characteristics of the existing switching network, and reduce the cost of fgOTN cross equipment.
[0042] Figure 2 FIG. 2 is a schematic diagram of a structure of a device for implementing fgOTN transmission and cross-connection provided by the present invention. Figure 2 As shown, the first tributary unit 110 includes: a fgOTN framer 111 and an Ethernet processing subunit 112, wherein: The fgOTN framer 111 is connected to the Ethernet processing subunit 112, and the Ethernet processing subunit 112 is connected to the switch unit 120; The fgOTN framer 111 is used to encapsulate the customer service data in the fgOTN frame format to obtain an fgOTN data frame; The Ethernet processing subunit 112 is used to perform fragmentation processing on the fgOTN data frame based on the data packet length adapted by the customer service data to obtain the Ethernet packet.
[0043] For example, Figure 3 is a schematic diagram of the structure of the fgOTN data frame provided by the present invention, such as Figure 3As shown in the figure, the fgOTN data frame is a data vector with 4 rows and 3824 columns, and each column represents a specific digital segment. The fgOTN data frame includes: Frame Alignment Signal (FAS), Regenerator Section Overhead Byte (RES), Transparent Connection Monitoring Data Monitoring (TCM DM), Transparent Connection Monitoring Automatic Protection Switching (TCM2 APS), Mapping and Adjustment Segment, Performance Monitoring (PM), Status (STAT), Payload Area, etc.
[0044] Here, the fragmentation process refers to segmenting the fgOTN data frame into multiple fgOTN data subframes.
[0045] The fgOTN framer 111 may be a standard fgOTN framer 111 set according to the communication protocol.
[0046] It should be noted that the byte length contained in the fgOTN data frame is not suitable for the data structure of Ethernet transmission. Therefore, the fgOTN data frame needs to be fragmented. The packet length of the fragments can be determined according to the customer service data. The packet length corresponding to each type of customer service data is different.
[0047] For example, the payload of the fgOTN data frame is 15168 bytes, the bytes corresponding to customer A's service data are 48, the bytes corresponding to customer B's service data are 64, the bytes corresponding to customer C's service data are 96, and the bytes corresponding to customer C's service data are 192. Customer A needs 316 frames to transmit fgOTN data frames, customer B needs 237 frames to transmit fgOTN data frames, customer C needs 158 frames to transmit fgOTN data frames, and customer D needs 79 frames to transmit fgOTN data frames.
[0048] Specifically, after receiving the customer service data, the first branch unit 110 uses the fgOTN framer 111 to encapsulate the customer service data into the fgOTN frame format to obtain the fgOTN data frame; then the Ethernet processing unit 122 is used to fragment the fgOTN data frame according to the data packet length adapted for the customer service data to obtain an Ethernet packet.
[0049] In an embodiment of the present invention, by encapsulating customer service data in fgOTN format, fgOTN data frames are obtained, providing finer time slot granularity and a simpler bandwidth lossless adjustment mechanism for data transmission, and the fgOTN data frames are fragmented and converted into Ethernet packets adapted to Ethernet, thereby improving the reliability and efficiency of data transmission.
[0050] Figure 4 FIG. 3 is a schematic diagram of a structure of a device for implementing fgOTN transmission and cross-connection provided by the present invention. Figure 4 As shown, the Ethernet processing subunit 112 includes a fgOTN frame to Ethernet frame packetizer 1121 and a first Ethernet MAC 1122, wherein: The fgOTN frame to Ethernet frame packetizer 1121 is connected to the fgOTN framer 111 and the first Ethernet MAC 1122 respectively; The fgOTN frame to Ethernet frame packetizer 1121 is used to perform fragmentation processing on the fgOTN data frame based on the data packet length adapted by the switch unit 120 to obtain at least one fgOTN data subframe; based on the source address of each fgOTN data subframe and the destination address of each fgOTN data subframe, encapsulate each fgOTN data subframe to obtain an Ethernet subframe encapsulation packet corresponding to each fgOTN data subframe; the Ethernet packet includes all Ethernet subframe encapsulation packets; The first Ethernet MAC 1122 is used to receive each of the Ethernet sub-frame encapsulation packets and transmit each of the Ethernet sub-frame encapsulation packets to the switch unit 120 .
[0051] It should be noted that when encapsulating the fgOTN data subframe, it is necessary to add a source address and a destination address in front of each fgOTN data subframe to obtain an Ethernet subframe encapsulation packet.
[0052] The source address refers to the identification address of the data source, and the target address refers to the identification address of the destination to which the data is transmitted, wherein the identification address may be a MAC address.
[0053] The first Ethernet MAC 1122 can be understood as determining the interface for transmitting the Ethernet packet, receiving the Ethernet packet, and forwarding the Ethernet packet through the correct line.
[0054] For example, Figure 5 FIG. 1 is a schematic diagram of the fgOTN frame to Ethernet frame packet structure provided by the present invention, such as Figure 5As shown in FIG. 1 , the packet structure from fgOTN to Ethernet includes the destination address (DMAC), source address (SMAC), type, fgOTN data frame, cyclic redundancy check 32-bit (CRC32), etc.
[0055] For example, Figure 6 FIG. 1 is a schematic diagram of the structure of the fgOTN data frame fragmentation processing provided by the present invention. Figure 6 As shown, the total payload of the fgOTN data frame is 4*118*16B plus 4*119*16B. The fgOTN data frame is fragmented with a packet length of 192 bytes to obtain 79 Ethernet frames.
[0056] Specifically, after the first branch unit 110 receives the customer service data, it first uses the fgOTN frame maker 111 to encapsulate the customer service data into fgOTN data frames; then uses the fgOTN frame to Ethernet frame packetizer 1121 to segment the fgOTN data frames to obtain fgOTN data subframes, and adds the source address and the destination address in front of each fgOTN data subframe for encapsulation to obtain an Ethernet subframe encapsulation packet. Then, the first Ethernet MAC 1122 transmits the Ethernet subframe encapsulation packet to the switch unit 120. The switch unit 120 determines the target transmission port required to transmit the Ethernet packet to each second branch unit 130 based on the static MAC table and the media access control MAC address of each second branch unit 130, and forwards the Ethernet packet to each second branch unit 130 through the target transmission port.
[0057] In the embodiment of the present invention, the fgOTN data frame is divided into a plurality of fgOTN data subframes, and the fgOTN data subframes are encapsulated to obtain Ethernet packets, thereby improving the speed and efficiency of data transmission.
[0058] Figure 7 FIG. 4 is a schematic diagram of the structure of the device for implementing fgOTN transmission and cross-connection provided by the present invention, as shown in FIG. Figure 7 As shown, the switch unit 120 includes an Ethernet switch 121 and a processing unit 122, wherein: The Ethernet switch 121 is respectively connected to the first branch unit 110, each of the second branch units 130 and the processing unit 122; The processing unit 122 is configured to determine a target transmission port corresponding to each of the second branch units 130 based on a static MAC table and a MAC address of each of the second branch units 130; The Ethernet switch 121 is used for cross-forwarding the Ethernet packet to each of the second branch units 130 through the target transmission port.
[0059] Here, the first branch unit 110 and the second branch unit 130 may exchange data with the Ethernet switch 121 respectively using the Ethernet bus, and the Ethernet switch 121 and the processing unit 122 may exchange data via the management bus.
[0060] In another embodiment, the processing unit 122 and the first tributary unit 110 may be connected via an overhead bus and a management bus to process data in the first tributary unit 110 that is not in a frame structure.
[0061] It should be noted that the processing unit 122 may also be connected to the second tributary unit 130 via an overhead bus and a management bus to process data in the second tributary unit 130 that is not in a frame structure.
[0062] The processing unit 122 sets the destination address of the first tributary unit 110 when encapsulating a packet to be the MAC address of the second tributary unit 130 , and configures the static MAC table of the Ethernet switch 121 from the first tributary unit 110 to the second tributary unit 130 .
[0063] The target transmission port corresponding to the second branch unit 130 refers to the port used by the Ethernet switch 121 to transmit the Ethernet packet to the second branch unit 130, that is, the port corresponding to each MAC address.
[0064] Specifically, after receiving the Ethernet packet, the Ethernet switch 121 uses the processing unit 122 to find the corresponding target transmission port in the static MAC table according to the MAC address of the second branch unit 130, and the Ethernet switch 121 transmits the Ethernet packet to each second branch through the target transmission port.
[0065] In the embodiment of the present invention, the processing unit 122 is used to determine the target transmission port for Ethernet packet transmission, thereby improving the accuracy and efficiency of Ethernet packet transmission.
[0066] Further, the processing unit 122 is also used to determine the MAC address of the first branch unit 110 as the source address of the fgOTN data subframe; and determine the MAC address of the first branch unit 110 and / or the MAC address of each of the second branch units 130 as the destination address group of the fgOTN data subframe.
[0067] Before encapsulating the fgOTN data subframe according to the source address and destination address of the source address of the fgOTN data subframe, the fgOTN frame to Ethernet frame packetizer 1121, the processing unit 122 sets the first branch unit 110 as the source address, and sets the MAC address of the first branch unit 110 and / or the MAC address of the second branch unit 130 as the destination address group. It should be noted that the MAC address in the destination address group can be one or more. If only the customer service data needs to be transmitted from the first branch unit 110 to one second branch unit 130 or from the first branch unit 110 to itself, there is only one MAC address in the destination address group; if the customer service data needs to be transmitted from the first branch unit 110 to multiple second branch units 130 and the first branch unit 110, there are multiple MAC addresses of the second branch unit 130 and the MAC address of the first branch unit 110 in the destination address group.
[0068] In the embodiment of the present invention, the processing unit 122 is used to set the source address and the destination address during encapsulation to improve the reliability of transmission. In addition, there can be multiple destination addresses to achieve protection of cross-services.
[0069] Figure 8 FIG. 5 is a schematic diagram of a structure of a device for implementing fgOTN transmission and cross-connection provided by the present invention, as shown in FIG. Figure 8 As shown, the second tributary unit 130 includes a second Ethernet MAC 131 and an Ethernet frame to fgOTN frame depacketizer 132, wherein: The second Ethernet MAC 131 connects the Ethernet switch 121 and the Ethernet frame to the fgOTN frame depacketizer 132 respectively; The second Ethernet MAC 131 is used to receive the Ethernet packet; The Ethernet frame to fgOTN frame depacketizer 132 is used to depacketize the Ethernet packet to obtain the fgOTN data frame; based on the identifier carried by the fgOTN data frame, determine the target fgOTN deframer corresponding to the customer service data.
[0070] It should be noted that the Ethernet packets received by the second branch unit 130 are all encapsulated data. In order to obtain the data, the second branch unit 130 also needs to decapsulate the Ethernet packets. Here, the decapsulation operation is the reverse process of the encapsulation of the first branch unit 110.
[0071] It should be noted that different customer service data corresponds to different deframers.
[0072] First, the second branch unit 130 needs an Ethernet MAC to receive the Ethernet packet, transmit the Ethernet packet to the Ethernet frame to fgOTN frame depacketizer 132, and use the Ethernet frame to fgOTN frame depacketizer 132 to depacketize the Ethernet packet to obtain the fgOTN data frame; then, according to the identifier carried by the fgOTN data frame, determine the target fgOTN depacketizer corresponding to the customer service data.
[0073] In the embodiment of the present invention, after receiving the Ethernet packet, the second tributary unit 130 decapsulates the Ethernet packet to obtain real data.
[0074] Furthermore, the Ethernet frame to fgOTN frame depacketizer 132 is further used to depacketize each of the Ethernet subframe encapsulation packets to obtain the fgOTN data subframes corresponding to each of the Ethernet subframe encapsulation packets; and to merge each of the fgOTN data subframes to obtain the fgOTN data frame.
[0075] It should be noted that when the fgOTN data frame is packetized in the first tributary unit 110, the fgOTN data frame is divided into multiple fgOTN data subframes. Therefore, what is obtained after unpacking here is the fgOTN data subframe. The fgOTN data subframes are merged to obtain the fgOTN data frame.
[0076] In the embodiment of the present invention, after the Ethernet subframe encapsulation packet is decapsulated by the Ethernet frame to fgOTN frame decapsulator 132, the fgOTN data subframe is merged to obtain the real customer service data.
[0077] Fig. 9 FIG. 6 is a schematic diagram of a structure of a device for implementing fgOTN transmission and cross-connection provided by the present invention, as shown in FIG. Fig. 9 As shown, the second tributary unit 130 also includes the target fgOTN deframer 133, wherein: The target fgOTN deframer 133 connects the Ethernet frame to the fgOTN frame depacketizer 132; The target fgOTN deframer 133 is used to decapsulate the fgOTN data frame to obtain the customer service data.
[0078] It should be noted that after receiving the customer service data, the first branch unit 110 encapsulates the customer service data in the fgOTN frame format to obtain the fgOTN data frame. Therefore, here, it is necessary to use the target fgOTN deframer 133 to decapsulate the fgOTN data frame to obtain the customer service data.
[0079] In the embodiment of the present invention, the target fgOTN deframer 133 is used to decapsulate the corresponding fgOTN data frame, thereby improving the success rate of decapsulation and ensuring the integrity and accuracy of customer service data.
[0080] Further, when each of the second branch units 130 transmits the Ethernet packet to the first branch unit 110 respectively; The first branch unit 110 is further configured to select one branch unit from each of the second branch units 130 as a target branch unit to receive the Ethernet packet.
[0081] It should be noted that when encapsulating fgOTN data frames, multiple source addresses and destination addresses can be added. If the source address has multiple MAC addresses, one of the tributary units can be selected to receive the Ethernet packet.
[0082] In the embodiment of the present invention, a target branch unit is selected from a plurality of transmission branch units to receive an Ethernet packet, thereby avoiding confusion during transmission of multiple branch units, which may lead to inaccurate customer service data.
[0083] Furthermore, the first branch unit 110 is also used to switch to receiving Ethernet packets from other second branch units 130 when an abnormality occurs in the target branch unit.
[0084] It should be noted that if multiple second branch units 130 send Ethernet packets to the first branch unit 110 at the same time, the first branch unit 110 can select one of the second branch units 130 to receive the Ethernet packet. If the selected second branch unit 130 has an abnormality, the first branch unit 110 can switch to other second branch units 130 to continue receiving the Ethernet packet.
[0085] It should be noted that the first branch unit 110 can be used as a receiving branch unit or a sending branch unit, and the second branch unit 130 can be used as a receiving branch unit or a sending branch unit, that is, when the first branch unit 110 is used as a branch unit for sending Ethernet packets, the second branch unit 130 is used as a branch unit for receiving Ethernet packets; similarly, when the second branch unit 130 is used as a branch unit for sending Ethernet packets, the first branch unit 110 is used as a branch unit for receiving Ethernet packets. Therefore, each branch unit includes a fgOTN framer 111, a fgOTN deframer, a fgOTN frame to Ethernet frame encapsulator 1121, an Ethernet frame to fgOTN frame receiver, and an Ethernet MAC. When the branch unit is used as a sending unit, the fgOTN framer 111 and the fgOTN frame to Ethernet frame encapsulator 1121 are used. When the branch unit is used as a receiving unit, the fgOTN deframer and the Ethernet frame to fgOTN frame receiver are used.
[0086] Fig.10FIG. 7 is a schematic diagram of a structure of a device for implementing fgOTN transmission and cross-connection provided by the present invention, as shown in FIG. Fig.10 As shown, the first branch unit 110 sends customer service data. For example, the first branch unit 110 receives customer service data. The fgOTN framer 111 encapsulates the customer service data according to the fgOTN frame format to obtain an fgOTN data frame; the processing unit 122 sets the MAC address of the first branch unit 110 as the source address, the MAC address of the second branch unit 130 and the MAC address of the second branch unit 130C as the destination address group, and the fgOTN frame to Ethernet frame encapsulator 1121 encapsulates the fgOTN data frame according to the source address and the destination address group. The OTN data frame is encapsulated to obtain an Ethernet packet. The processing unit 122 determines the target transmission port for transmission to the first branch unit 110 according to the static MAC table. The Ethernet switch 121 transmits the Ethernet packet to the Ethernet MAC 1122 (131) in the first branch unit 110. Here, the first branch unit and the second branch unit share the Ethernet MAC. The Ethernet MAC 1122 (131) transmits the Ethernet packet to the Ethernet frame to the fgOTN frame depacketizer 132 to obtain the fgOTN data frame. Then, the fgOTN depacketizer 133 is used to depacketize the fgOTN data frame to obtain the customer service data. Among them, the overhead bus and the management bus are used to process other data.
[0087] The following is an application scenario of the device for implementing fgOTN transmission and cross-connection provided by the present invention.
[0088] Application scenario 1: Fig.11 FIG. 8 is a schematic diagram of a structure of a device for implementing fgOTN transmission and cross-connection provided by the present invention. Fig.11 As shown, the first branch unit 110 receives customer service data and transmits it to the second branch unit B 130 and the second branch unit C 130 respectively through the Ethernet switch 121, thereby realizing data transmission and cross-connection.
[0089] Application scenario 2: Fig.12 FIG. 9 is a schematic diagram of a structure of a device for implementing fgOTN transmission and cross-connection provided by the present invention, as shown in FIG. Fig.12 As shown, the second branch unit B130 and the second branch unit C130 respectively send customer service data to the first branch unit 110 through the Ethernet switch 121, and the first branch unit 110 selects one of the channels to receive. If the Ethernet packet of the second branch unit B130 is currently selected, and the second branch unit B130 becomes abnormal at a certain moment, the first branch unit 110 can switch to receive the Ethernet packet of the second branch unit C130, thereby realizing 1+1 protection of the service.
[0090] In an embodiment of the present invention, multiple branch units are set up to transmit data to a destination branch unit to avoid the loss of customer business data and transmission failure caused by abnormality in a single branch unit, thereby achieving business protection and ensuring the integrity and accuracy of customer business data.
[0091] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0092] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0093] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A device for implementing fgOTN transmission and cross-connection, characterized in that: include: A first branch unit, a switch unit and at least one second branch unit, wherein: The first branch unit is connected to the switch unit, and the switch unit is respectively connected to each of the second branch units; The first branch unit is used to receive customer service data, encapsulate the customer service data in fgOTN frame format, and obtain an Ethernet packet corresponding to the customer service data; The switch unit is used to receive the Ethernet packet transmitted by the first branch unit, and determine the target transmission port required to transmit the Ethernet packet to each of the second branch units based on the static MAC table and the media access control MAC address of each of the second branch units; cross-forward the Ethernet packet to each of the second branch units through the target transmission port; the static MAC table is used to characterize the correspondence between the MAC address and the transmission port.
2. The device for implementing fgOTN transmission and cross-connection according to claim 1, characterized in that: The first tributary unit includes: a fgOTN framer and an Ethernet processing subunit, wherein: The fgOTN framer is connected to the Ethernet processing subunit, and the Ethernet processing subunit is connected to the switch unit; The fgOTN framer is used to encapsulate the customer service data in the fgOTN frame format to obtain an fgOTN data frame; The Ethernet processing subunit is used to perform fragmentation processing on the fgOTN data frame based on the data packet length adapted by the customer service data to obtain the Ethernet packet.
3. The device for implementing fgOTN transmission and cross-connection according to claim 2, characterized in that: The Ethernet processing subunit includes a fgOTN frame to Ethernet frame packetizer and a first Ethernet MAC, wherein: The fgOTN frame to Ethernet frame encapsulator is connected to the fgOTN framer and the first Ethernet MAC respectively; The fgOTN frame to Ethernet frame encapsulator is used to perform fragmentation processing on the fgOTN data frame based on the data packet length adapted by the switch unit to obtain at least one fgOTN data subframe; based on the source address of each fgOTN data subframe and the destination address of each fgOTN data subframe, encapsulate each fgOTN data subframe to obtain an Ethernet subframe encapsulation packet corresponding to each fgOTN data subframe; the Ethernet packet includes all Ethernet subframe encapsulation packets; The first Ethernet MAC is used to receive each of the Ethernet sub-frame encapsulation packets and transmit each of the Ethernet sub-frame encapsulation packets to the switch unit.
4. The device for implementing fgOTN transmission and cross-connection according to claim 3, characterized in that: The switch unit comprises an Ethernet switch and a processing unit, wherein: The Ethernet switch is respectively connected to the first branch unit, each of the second branch units and the processing unit; The processing unit is configured to determine a target transmission port corresponding to each of the second tributary units based on a static MAC table and a MAC address of each of the second tributary units; The Ethernet switch is used for cross-forwarding the Ethernet packet to each of the second branch units through the target transmission port.
5. The device for implementing fgOTN transmission and cross-connection according to claim 4, characterized in that: The processing unit is further used to determine the MAC address of the first branch unit as the source address of the fgOTN data subframe; and determine the MAC address of the first branch unit and / or the MAC addresses of each of the second branch units as the destination address group of the fgOTN data subframe.
6. The device for implementing fgOTN transmission and cross-connection according to claim 4, characterized in that: The second tributary unit includes a second Ethernet MAC and an Ethernet frame to fgOTN frame depacketizer, wherein: The second Ethernet MAC connects the Ethernet switch and the Ethernet frame to the fgOTN frame depacketizer respectively; The second Ethernet MAC is used to receive the Ethernet packet; The Ethernet frame to fgOTN frame depacketizer is used to depacketize the Ethernet packet to obtain the fgOTN data frame; based on the identifier carried by the fgOTN data frame, determine the target fgOTN depacketizer corresponding to the customer service data.
7. The device for implementing fgOTN transmission and cross-connection according to claim 6, characterized in that: The Ethernet frame to fgOTN frame depacketizer is further used to depacketize each of the Ethernet subframe encapsulation packets to obtain the fgOTN data subframes corresponding to each of the Ethernet subframe encapsulation packets; and to merge each of the fgOTN data subframes to obtain the fgOTN data frame.
8. The device for implementing fgOTN transmission and cross-connection according to claim 6, characterized in that: The second tributary unit further includes the target fgOTN deframer, wherein: The target fgOTN deframer connects the Ethernet frame to the fgOTN frame depacketizer; The target fgOTN deframer is used to decapsulate the fgOTN data frame to obtain the customer service data.
9. The device for implementing fgOTN transmission and cross-connection according to claim 8, characterized in that: When each of the second branch units transmits the Ethernet packet to the first branch unit respectively; The first branch unit is further used to select a branch unit from each of the second branch units as a target branch unit to receive the Ethernet packet.
10. The device for implementing fgOTN transmission and cross-connection according to claim 9, characterized in that: The first branch unit is further configured to switch to receiving Ethernet packets from other second branch units when an abnormality occurs in the target branch unit.
Citation Information
Cited By
Method for realizing fgOTN data transmission, protection method, equipment and medium
CN120111398A