Data transmission method, data transmission system, OLT, medium and program product

By forwarding downlink data from the first OLT to the second OLT in an optical network using the Ethernet port, the gateway switching problem in PON port or link abnormality is solved, the network's fault resistance is improved and the normal link is reduced The impact of

CN119402781APending Publication Date: 2025-02-07ZTE CORP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411539340.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

When the PON port or link is abnormal in the optical network, the prior art requires overall switching of the gateway, resulting in the impact of the traffic of the abnormal link, and the normal link will also suffer losses during the switching period.

Method used

When communication between the PON port of the first OLT and the target device is interrupted, the downlink data is sent to the second OLT through the Ethernet port and forwarded to the target device by the second OLT, thereby avoiding overall switching of the gateway.

Benefits of technology

It realizes that there is no need to switch the gateway as a whole when PON port or link is abnormal, maintains the normal operation of the network, improves the network's fault resistance, and reduces the impact of abnormal links on normal links.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402781A_ABST
    Figure CN119402781A_ABST
Patent Text Reader

Abstract

The invention provides a data transmission method, which is applied to a first optical line terminal OLT, the first OLT is connected with a second OLT through an Ethernet port, and the method comprises the following steps: receiving downlink data sent by a target network; and under the condition that communication between a first passive optical network (PON) port of the first OLT and target equipment is interrupted and at least one PON port of the first OLT is in an activated state, downlink data is sent to the second OLT through the Ethernet port, so that the second OLT forwards the downlink data to the target equipment. The invention also provides a data transmission method, a data transmission system, an OLT, a computer readable medium and a computer program product applied to the second OLT.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a data transmission method, a data transmission system, an OLT, a medium and a program product. Background Art

[0002] Optical network is a common networking method. With the rapid development of optical fiber communication technology, the data capacity transmitted in optical network is also increasing. Once the network fails, it will cause a lot of business losses. Therefore, the protection of optical network is an important research topic in the development of communication technology.

[0003] At present, a main gateway and a backup gateway are usually set up to ensure the operational reliability of the gateway in the optical network. However, when some PON (Passive Optical Network) ports or link status of the gateway are abnormal, it will trigger the switching between the main gateway and the backup gateway. Not only will the business on the abnormally interrupted link be affected, but the business on the normal link will also suffer certain losses during the switching period. Summary of the invention

[0004] The present disclosure provides a data transmission method, a data transmission system, an OLT, a medium and a program product.

[0005] In a first aspect, an embodiment of the present disclosure provides a data transmission method, which is applied to a first optical line terminal OLT, wherein the first OLT is connected to a second OLT via an Ethernet port, and includes:

[0006] Receive downlink data sent by the target network;

[0007] When the communication between the first passive optical network PON port of the first OLT and the target device is interrupted and at least one PON port of the first OLT is activated, the downlink data is sent to the second OLT through the Ethernet port, so that the second OLT forwards the downlink data to the target device.

[0008] In a second aspect, an embodiment of the present disclosure provides a data transmission method, which is applied to a second OLT, where the second OLT is connected to the first OLT via an Ethernet port, and includes:

[0009] In response to receiving downlink data sent by the first OLT through the Ethernet port, forwarding the downlink data to a target device; wherein the downlink data is sent by the first OLT when the communication between the first PON port and the target device is interrupted and at least one PON port of the first OLT is in an activated state, and the downlink data is sent by the target network to the first OLT.

[0010] In a third aspect, an embodiment of the present disclosure provides a data transmission system, comprising:

[0011] A first OLT, wherein the first OLT is used to implement the data transmission method according to any one of claims 1 to 4;

[0012] A second OLT, wherein the second OLT is used to implement the data transmission method according to any one of claims 5 to 9;

[0013] The first OLT and the second OLT are both connected to the target device, and the first OLT and the second OLT are connected via an Ethernet port.

[0014] In a fourth aspect, an embodiment of the present disclosure provides an OLT, which includes a memory and a processor; the memory stores a computer program that can be executed by the processor, and when the computer program is executed by the processor, the data transmission method described in the first aspect or the second aspect is implemented.

[0015] In a fifth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, and when the computer program is executed by a processor, the data transmission method described in the first aspect or the second aspect is implemented.

[0016] In a sixth aspect, an embodiment of the present disclosure provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the data transmission method described in the first aspect or the second aspect.

[0017] In the embodiment of the present disclosure, the first OLT is used as the main gateway, the second OLT is used as the backup gateway, the first OLT and the second OLT are connected through the Ethernet port, and when the communication between the first PON port in the first OLT and the target device is interrupted, the downlink data originally transmitted through the first OLT is first sent to the second OLT, and then the second OLT forwards the downlink data to the target device, so that the normal operation of the network can be effectively maintained without switching the first OLT and the second OLT as a whole, which not only improves the fault resistance of the network, but also avoids the impact of the switching of abnormal links on normal links. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In the accompanying drawings of the embodiments of the present disclosure:

[0019] Figure 1 A schematic diagram of the structure of a local area network in the related technology provided by the embodiment of the present disclosure;

[0020] Figure 2 A flowchart of a data transmission method provided by an embodiment of the present disclosure;

[0021] Figure 3 A flowchart of another data transmission method provided by an embodiment of the present disclosure;

[0022] Figure 4 A schematic diagram of the structure of an OLT provided in an embodiment of the present disclosure;

[0023] Figure 5 A schematic diagram of the structure of a computer-readable medium provided in an embodiment of the present disclosure;

[0024] Figure 6 A schematic diagram of the structure of a local area network corresponding to an exemplary data transmission system provided in an embodiment of the present disclosure;

[0025] Figure 7 A schematic diagram of an exemplary connection structure between a primary gateway and a backup gateway provided in an embodiment of the present disclosure;

[0026] Figure 8 A schematic diagram of an exemplary transmission mode of uplink data in a corresponding local area network provided in an embodiment of the present disclosure;

[0027] Fig. 9 A flowchart of an exemplary data transmission method provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0029] The present disclosure will be described more fully below with reference to the accompanying drawings, but the embodiments shown may be embodied in different forms, and the present disclosure should not be construed as being limited to the embodiments set forth below. On the contrary, the purpose of providing these embodiments is to make the present disclosure thorough and complete, and will enable those skilled in the art to fully understand the scope of the present disclosure.

[0030] The accompanying drawings of the embodiments of the present disclosure are used to provide a further understanding of the embodiments of the present disclosure, and constitute a part of the specification, and are used together with the detailed embodiments to explain the present disclosure, and do not constitute a limitation of the present disclosure. By describing the detailed embodiments with reference to the accompanying drawings, the above and other features and advantages will become more apparent to those skilled in the art.

[0031] The present disclosure may be described with reference to plan views and / or cross-sectional views by means of ideal schematic views of the present disclosure. Therefore, the exemplary illustrations may be modified according to manufacturing techniques and / or tolerances.

[0032] In the absence of conflict, the various embodiments of the present disclosure and the various features therein may be combined with each other.

[0033] The terms used in the present disclosure are only used to describe specific embodiments and are not intended to limit the present disclosure. The term "and / or" as used in the present disclosure includes any and all combinations of one or more related enumerated items. The singular forms "one" and "the" as used in the present disclosure are also intended to include plural forms, unless the context clearly indicates otherwise. The terms "including", "made of..." as used in the present disclosure specify the presence of the features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof.

[0034] Unless otherwise defined, all terms (including technical and scientific terms) used in this disclosure have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this disclosure, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined in this disclosure.

[0035] The present disclosure is not limited to the embodiments shown in the drawings, but includes modifications of the configurations formed based on the manufacturing process. Therefore, the regions illustrated in the drawings have schematic properties, and the shapes of the regions shown in the drawings illustrate the specific shapes of the regions of the elements, but are not intended to be limiting.

[0036] In some related technologies, reference Figure 1 In a LAN networking environment, two OLTs (Optical Line Terminals) are set up. Both OLTs are gateway devices. OLT 1 ​​is used as the main gateway and OLT 2 is used as the backup gateway. Several PCs (Personal Computers) are connected to the two OLTs through several ONUs and optical splitters, and access the external network through a unique gateway, that is, each PC accesses the external network through an OLT. Each OLT includes a PON (Passive Optical Network) port. The optical splitter is connected to the PON port of OLT 1 ​​and the PON port of OLT 2 respectively. The PON port of OLT 1 ​​and the PON port of OLT 2 connected to the same optical splitter are configured with dual-home PON protection.

[0037] In the LAN networking environment, an example of using the dual-home PON protection configured by OLT 1 ​​and OLT 2 to ensure the operational reliability of the gateway in the optical network is as follows: splitter 1 is connected to the PON 1 port in OLT 1 ​​and the PON 1 port in OLT 2 respectively. When the PON 1 port in OLT 1 ​​is abnormal or the link corresponding to the PON 1 port in OLT 1 ​​is abnormal, the dual-home PON protection will be triggered, further triggering the switching of OLT 1 ​​and OLT 2, converting OLT 2 into the main gateway, converting OLT 1 ​​into the backup gateway, and using OLT 2 as the only gateway to access the external network and publish routing information to the outside.

[0038] However, when a PON port or a link corresponding to a PON port is abnormal, the overall switching of the gateway is triggered, which not only affects the services on the abnormal PON port or link, but also causes losses to the services on the normal PON port or link during the switching between the primary gateway and the backup gateway.

[0039] Therefore, there is an urgent need for a solution that can both improve the reliability of device operation and reduce the impact of abnormal ports or links on normal ports or links.

[0040] In a first aspect, an embodiment of the present disclosure provides a data transmission method, which is applied to a first optical line terminal OLT, wherein the first OLT is connected to a second OLT via an Ethernet port, such as Figure 2 As shown, it includes:

[0041] S11, receiving downlink data sent by the target network;

[0042] S12. When the communication between the first passive optical network PON port of the first OLT and the target device is interrupted and at least one PON port of the first OLT is in an activated state, the downlink data is sent to the second OLT through the Ethernet port, so that the second OLT forwards the downlink data to the target device.

[0043] The first OLT includes a plurality of PON ports, each of which is connected to a target device. The first OLT and the second OLT both include Ethernet ports, and the first OLT and the second OLT are connected via the Ethernet ports. The first OLT is used as a primary device and is connected to a target network, and the second OLT is used as a backup device for the first OLT.

[0044] In this embodiment, when the communication between the first PON port in the first OLT and the target device is interrupted, it means that the target device cannot transmit data to and from the target network through the first PON port. When the first OLT receives the downlink data sent by the target network, it forwards the downlink data to the second OLT through the Ethernet port, and the second OLT sends the downlink data to the target device, thereby ensuring the reliability of downlink data transmission. Among them, the connection between the Ethernet port of the first OLT and the second OLT and the connection between the second OLT and the target device together constitute a layer 2 forwarding channel, which refers to the channel between the first OLT and the target device. In the process of opening the layer 2 forwarding channel, the layer 3 routing function channel of the second OLT as a backup device is in a closed state, and the layer 3 routing function channel refers to the connection channel between the second OLT and the target network.

[0045] The communication interruption may refer to a port abnormality or a link abnormality corresponding to the port, but the present disclosure is not limited thereto.

[0046] The embodiment of the present disclosure does not impose any special restrictions on the cause of the abnormality of the first PON port, which may be a configuration error, a firmware problem, etc. Similarly, the embodiment of the present disclosure does not impose any special restrictions on the cause of the abnormality of the link corresponding to the first PON port, which may be an optical fiber break, improper maintenance operation, etc.

[0047] It is worth noting that the main device refers to the device that is configured to connect to the target network through the designated port, while the backup device refers to the device that is configured not to connect to the target network through the designated port. The backup device is a reliability guarantee device for the main device. When the main device cannot work normally due to failure, maintenance or other reasons, the backup device can take over the main device to maintain the continuous operation of the system. After the backup device takes over the main device, it will be configured as the new main device, and the new main device will also be configured to connect to the target network through the designated port, while the original main device will be configured as the new backup device, and the new backup device will also be configured not to connect to the target network through the designated port.

[0048] As one mode of the embodiment of the present disclosure, the first OLT serves as the main device, the second OLT serves as the backup device, a first uplink port is provided between the first OLT and the target network, and a second uplink port is provided between the second OLT and the target network, but the first uplink port of the first OLT is turned on, that is, the first OLT is configured as a device that can be connected to the target network through the first uplink port, and the second uplink port of the second OLT is turned off, that is, the second OLT is configured as a device that cannot be connected to the target network through the second uplink port. When the second OLT replaces the first OLT as the main device, the second uplink port of the second OLT is turned on, and the first uplink port of the first OLT is turned off. At this time, the first OLT cannot connect to the target network and transmit data, while the second OLT can connect to the target network and transmit data.

[0049] The present disclosure does not impose any special restrictions on the type of the target device, which may be an optical splitter or an ONU.

[0050] In some embodiments, the method further comprises:

[0051] In response to receiving uplink data sent by the second OLT through the Ethernet port, forwarding the uplink data to the target network; wherein the uplink data is sent to the second OLT by the target device when the communication between the first PON port of the first OLT and the target device is interrupted and at least one PON port of the first OLT is in an activated state.

[0052] In an embodiment of the present disclosure, when the first OLT receives the uplink data sent by the second OLT through the Ethernet port, it indicates that the communication between the first PON port that was originally to transmit the uplink data and the target device is interrupted. Since the first OLT is the main device and the second OLT is the backup device, the main device is connected to the target network, and the backup device cannot be connected to the target network. Therefore, the first OLT needs to forward the uplink data to the target network to ensure the data transmission reliability of the uplink data when the communication between the first PON port and the target device is interrupted.

[0053] In some embodiments, the method further comprises:

[0054] The port state of the first PON port is adjusted from an activated state to an inactivated state.

[0055] In an embodiment of the present disclosure, a port state is set for the first PON port in the first OLT, and the port state can be used to measure whether a switch is required between the current active device and the standby device. For the active device, each of its PON ports is activated in the initial state. When the communication between the first PON port in the first OLT and the target device is interrupted, the state of the abnormal first PON port is adjusted from the activated state to the inactivated state to indicate that the first PON port is abnormal and cannot be used for communication.

[0056] In some embodiments, after adjusting the port state of the first PON port from an activated state to an inactivated state, the method further includes:

[0057] Deleting registration information of each optical network unit ONU connected to the first PON port;

[0058] When all PON ports in the first OLT are in an inactive state, the port of the first OLT connected to the target network is closed.

[0059] In the embodiment of the present disclosure, when the status of all PON ports in the first OLT are adjusted to the inactive state, it indicates that the data transmission between the current target device and the target network needs to be forwarded by the backup device (the second OLT), and cannot be transmitted through any PON port corresponding to the main device (the first OLT). Therefore, the first OLT and the second OLT can be switched to make the first OLT operate as a backup device. When the first OLT is the main device, each ONU connected to it is registered in the first OLT and obtains registration information. At the same time, the three-layer routing function channel between the main device (the first OLT) and the target network is in the open state, that is, the port connected to the first OLT and the target network is open. When the port status of each PON port whose communication is interrupted is adjusted to the inactive state, the stored registration information needs to be deleted; when the main device and the backup device are switched, the three-layer routing function channel is closed, that is, the port connected to the first OLT and the target network is closed.

[0060] In some embodiments, when the communication between the first PON port of the first OLT and the target device is interrupted, an abnormal alarm may also be triggered to investigate the cause of the abnormality.

[0061] In some embodiments, when the first OLT switches to a backup device, if all PON ports in the first OLT resume communication (for example, all PON ports resume normal operation and the links corresponding to all PON ports resume normal operation), the first OLT can serve as a backup device to provide reliability support for the main device.

[0062] In the above-mentioned embodiment of the present disclosure, the first OLT is used as the main gateway, the second OLT is used as the backup gateway, and the first OLT and the second OLT are connected through an Ethernet port. When the communication between the first PON port in the first OLT and the target device is interrupted, the downlink data originally transmitted through the first OLT is first sent to the second OLT, and then the second OLT forwards the downlink data to the target device; similarly, the uplink data originally to be transmitted through the first OLT is first sent to the second OLT, and then the uplink data is forwarded back to the first OLT using the direct Ethernet port between the second OLT and the first OLT, so that the normal operation of the network can be effectively maintained without switching the first OLT and the second OLT as a whole, which not only improves the fault resistance of the network, but also avoids the impact of the switching of abnormal links on normal links.

[0063] In a second aspect, an embodiment of the present disclosure provides a data transmission method, which is applied to a second OLT, wherein the second OLT is connected to the first OLT via an Ethernet port, such as Figure 3 As shown, it includes:

[0064] S21. In response to receiving downlink data sent by the first OLT through the Ethernet port, forwarding the downlink data to a target device; wherein the downlink data is sent by the first OLT when communication between the first PON port and the target device is interrupted and at least one PON port of the first OLT is in an activated state, and the downlink data is sent from the target network to the first OLT.

[0065] The second OLT includes a plurality of PON ports, each of which is connected to the target device. The first OLT and the second OLT both include Ethernet ports, and the first OLT and the second OLT can be connected via the Ethernet ports. The second OLT is connected to the target network as a backup device to provide reliability support for the main device (the first device).

[0066] It is worth noting that a PON port in the backup device corresponds to a PON port in the primary device, and they are dual-belonging ports to each other. Dual-belonging ports to each other means that the two PON ports are connected to the target device through two independent links. The two links are logically regarded as a whole. When one of the links cannot transmit data, it switches to the other link for transmission.

[0067] In the embodiment of the present disclosure, the second OLT receives the downlink data from the main device (the first OLT) as a backup device, indicating that the first PON port in the first OLT that was originally used to transmit the downlink data is disconnected from the target device, resulting in the first OLT being unable to transmit the downlink data to the target device through the abnormal first PON port. Therefore, the second OLT forwards the downlink data to the target device, so that the target device can normally receive the downlink data when the main device is abnormal, effectively maintaining the normal transmission of the downlink data in the network and improving the fault resistance of the network.

[0068] In some embodiments, the method further comprises:

[0069] Receiving uplink data sent by the target device;

[0070] The uplink data is sent to the first OLT through the Ethernet port, so that the first OLT forwards the uplink data to the target network; wherein the uplink data is sent to the second OLT by the target device when the communication between the first PON port and the target device is interrupted and at least one PON port of the first OLT is in an activated state.

[0071] In this embodiment, when the second OLT receives the uplink data sent by the target device through the second PON port, it indicates that the communication between the first PON port (located in the first OLT) which is a dual-belonging port of the second PON port and the target device is interrupted, resulting in the target device being unable to transmit the uplink data normally through the first PON port of the first OLT. Since the first OLT is the main device and the second OLT is the backup device, the main device is connected to the target network, and the backup device cannot be connected to the target network. Therefore, it is necessary to forward the data to the first OLT through the second OLT, and then the first OLT forwards the uplink data to the target network to ensure the data transmission reliability of the uplink data when the communication between the first PON port and the target device is interrupted.

[0072] It should be noted that, since the second OLT is a backup device for the first OLT, the connection between the Ethernet port of the first OLT and the second OLT and the connection between the second OLT and the target device together constitute a Layer 2 forwarding channel, and the Layer 3 routing function channel of the second OLT is always in a closed state during its use as a backup device.

[0073] In some embodiments, the method further comprises:

[0074] In the case where the communication between the first PON port and the target device is interrupted, the port state of the second PON port of the second OLT is adjusted from an inactive state to an active state, wherein the second PON port and the first PON port are dual-home ports to each other.

[0075] In an embodiment of the present disclosure, a port state is set for the PON port in the second OLT, and the port state can be used to measure whether each PON port of the current backup device can provide reliability support for the PON port of the corresponding main device. For the backup device, each of its PON ports is in an inactive state in the initial state. When the communication between the first PON port in the first OLT and the target device is interrupted, the state of the abnormal first PON port in the first OLT is adjusted from an active state to an inactive state, and at the same time, the port state of the second PON port corresponding to the first PON port is adjusted from an inactive state to an active state, and the second PON port and the first PON port are dual-belonging ports to each other. In other words, the second PON port in the second OLT is in an active state, which can indicate that the corresponding dual-belonging port (i.e., the first PON port) is abnormal.

[0076] In some embodiments, after adjusting the port state of the second PON port from the inactive state to the active state, the method further includes:

[0077] Instruct each ONU connected to the second PON port to register on the second OLT.

[0078] In the embodiment of the present disclosure, when the main device is only configured with one backup device, the status of all PON ports in the second OLT are in the activated state, which can indicate that the data transmission between the current target device and the target network needs to be forwarded by the backup device (the second OLT), and cannot be transmitted through the PON port corresponding to the main device (the first OLT), that is, all PON ports in the main device are abnormal, so the identity of the first OLT and the second OLT can be switched so that the second OLT operates as the main device. After the port state of the PON port of the second OLT is adjusted from the inactive state to the active state, each ONU connected to the second OLT is re-registered in the second OLT to obtain registration information.

[0079] In some embodiments, after instructing each ONU connected to the second PON port to register on the second OLT, the method further includes:

[0080] When the port status of all the PON ports in the second OLT are in the activated state, the port of the second OLT connected to the target network is enabled.

[0081] In an embodiment of the present disclosure, when identity switching is performed between the primary device and the backup device, a three-layer routing function channel is opened between the second OLT and the target network, so that the uplink data sent by the target device can be transmitted to the target network through the three-layer routing function channel, and the downlink data sent by the target network can be sent to the primary device through the three-layer routing function channel.

[0082] In the above-mentioned embodiment of the present disclosure, the first OLT is used as the main gateway, the second OLT is used as the backup gateway, and the first OLT and the second OLT are connected through an Ethernet port. When the communication between the first PON port in the first OLT and the target device is interrupted, the downlink data originally transmitted through the first OLT is first sent to the second OLT, and then the second OLT forwards the downlink data to the target device; similarly, the uplink data originally to be transmitted through the first OLT is first sent to the second OLT, and then the uplink data is forwarded back to the first OLT using the direct Ethernet port between the second OLT and the first OLT, so that the normal operation of the network can be effectively maintained without switching the first OLT and the second OLT as a whole, which not only improves the fault resistance of the network, but also avoids the impact of the switching of abnormal links on normal links.

[0083] Compared with some related technologies, when the PON port of the first OLT is abnormal, the switching of the main gateway and the backup gateway is executed. In the above embodiment of the present disclosure, when the PON ports of some first OLTs are abnormal or the links corresponding to the PON ports of some first OLTs are abnormal, the two-layer forwarding function can be implemented through the Ethernet port, and the two-layer forwarding channel data is used to achieve smooth data transmission. The abnormal conditions of the PON ports of some first OLTs will not affect the services of other normal PON ports of the first OLT, which reduces the impact and influence on the normal PON ports of the first OLT and improves the robustness of the system.

[0084] In a third aspect, an embodiment of the present disclosure provides a data transmission system, comprising:

[0085] A first OLT, wherein the first OLT is used to implement the data transmission method according to the first aspect;

[0086] A second OLT, wherein the second OLT is used to implement the data transmission method according to the second aspect;

[0087] The first OLT and the second OLT are both connected to the target device, and the first OLT and the second OLT are connected via an Ethernet port.

[0088] In this embodiment, the first OLT and the second OLT are both provided with Ethernet ports, so that a direct connection between the first OLT and the second OLT can be realized. When an abnormality occurs in some PON ports of the primary device, there is no need to switch the gateway, but the uplink data or downlink data is forwarded through the directly connected Ethernet port, thereby ensuring that the uplink data or downlink data can be transmitted smoothly.

[0089] In addition, the PON port of the first OLT and the PON port of the second OLT are both provided with port states. For the PON port of the main device (i.e., the first OLT), the initial port states are all activated, and for the PON port of the backup device (i.e., the second OLT), the initial port states are all inactive. During network operation, by determining whether the port states of the PON ports of the main device (i.e., the first OLT) are all inactive, the timing of switching the main device and the backup device can be determined, thereby reducing the number of switching times between the main device and the backup device and improving the robustness of the system.

[0090] In some embodiments, each PON port corresponding to the first OLT, each PON port corresponding to the second OLT, and the Ethernet port are deployed in the same virtual local area network VLAN (Virtua l Local Area Network, virtual local area network).

[0091] In the embodiments of the present disclosure, each PON port of the first OLT, each PON port of the second OLT, the Ethernet port of the first OLT and the Ethernet port of the second OLT are deployed in the same virtual local area network VLAN to ensure that the uplink data is forwarded from the PON port of the backup OLT to the Ethernet port at the second layer, or the downlink data is forwarded from the directly connected Ethernet port to the PON port of the backup OLT, and the uplink port (the port connected to the target network) is in other VLANs, indicating that the first OLT and the second OLT can communicate through a second layer switch.

[0092] In some embodiments, when the PON ports of the first OLT, the PON ports of the second OLT, and the Ethernet ports are not deployed in different VLANs, when uplink data or downlink data is transmitted to the backup device (the second OLT), the virtual local area network tag VLAN tag of the active device (the first OLT) is added to the uplink data or the downlink data, so that the second OLT can forward it to the active device (the first OLT) through Layer 2 switching, and the VLAN tag is stripped from the data at the data outlet of the backup device (the second OLT).

[0093] In some embodiments, each PON port corresponding to the first OLT and each PON port corresponding to the second OLT have the same IP (Internet Protocol) address and / or the same MAC (Media Access Control) address.

[0094] In the embodiment of the present disclosure, when the first OLT and the second OLT are gateways, the IP address and the MAC address are used as gateway addresses, and the same IP address and MAC address are set for each port of the first OLT and the second OLT, which can ensure that data, whether transmitted through the port of the first OLT or the second OLT, is transmitted through the same gateway address. Such a setting can ensure consistency between the active gateway and the standby gateway.

[0095] In the above-mentioned embodiments of the present disclosure, a main device (first OLT) and a backup device (second OLT) are respectively arranged in the network, and the first OLT and the second OLT are directly connected via an Ethernet port. When the communication between the first PON port in the first OLT and the target device is interrupted, the first OLT and the second OLT do not need to be switched as a whole, and the normal operation of the first OLT in the network can be maintained, which not only improves the fault resistance of the network, but also avoids other normal PON ports and their links in the first OLT from being affected.

[0096] In a fourth aspect, an embodiment of the present disclosure provides an OLT, referring to Figure 4 , which includes a memory 402 and a processor 401; the memory 402 stores a computer program that can be executed by the processor 401, and when the computer program is executed by the processor 401, the data transmission method described in the first aspect or the second aspect is implemented.

[0097] The processor 401 and the memory 402 are connected via one or more I / O interfaces 403 , and the interface 403 is configured to implement information interaction between the processor 401 and the memory 402 .

[0098] Among them, the processor 401 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 402 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) 403 is connected between the processor 401 and the memory 402, and can realize information interaction between the processor 401 and the memory 402, including but not limited to a data bus (Bus), etc.

[0099] In a fifth aspect, the present disclosure provides a computer-readable medium, referring to Figure 5 , on which a computer program is stored, and when the computer program is executed by a processor, the data transmission method described in the first aspect or the second aspect is implemented.

[0100] In a sixth aspect, an embodiment of the present disclosure provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the data transmission method described in the first aspect or the second aspect.

[0101] In order to enable those skilled in the art to more clearly understand the technical solutions provided by the embodiments of the present disclosure, the technical solutions provided by the embodiments of the present disclosure are described in detail below through specific embodiments:

[0102] Example 1:

[0103] As a specific form of the embodiment of the present disclosure, refer to Figure 6 , the local area network corresponding to the data transmission system includes:

[0104] Target network;

[0105] OLT 1 ​​and OLT 2, where OLT 1 ​​is configured as the main gateway and OLT 2 is configured as the standby gateway. OLT 1 ​​and OLT 2 can be connected to the target network through the uplink port respectively, and OLT 1 ​​and OLT 2 are connected through the Ethernet port. When OLT 1 ​​is the main gateway, the uplink port of OLT 1 ​​is in the open state, and the uplink port of OLT 2 is in the closed state, that is, OLT 1 ​​can transmit data to the target network through the uplink port, while OLT 2 cannot exchange data with the target network through the uplink port. Among them, OLT 1 ​​and OLT 2 are respectively provided with 8 PON ports, namely PON 1, PON 2, ..., PON 7, PON 8, and the PON ports of OLT 1 ​​and OLT 2 correspond to each other one by one. The PON ports with the same number are dual-belonging ports to each other. The PON ports that are dual-belonging ports to each other are configured with a PON Type B protection mechanism, which can be triggered when the communication between the PON port of the main gateway and the target device is interrupted, and the data is transmitted to the PON port of the backup gateway.

[0106] 8 optical splitters and several ONUs (the figure does not show the multiple PCs connected to the ONUs). The ONUs are connected to the PON ports in OLT 1 ​​and OLT 2 through the optical splitters, and each optical splitter is connected to a PON port in OLT 1 ​​and OLT 2.

[0107] When OLT 1 ​​is the main gateway, all ONUs are registered on OLT 1. When the PON port in OLT 1 ​​is abnormal or the trunk optical fiber link corresponding to the PON port is interrupted, the PON type B protection mechanism will be triggered to switch the PON port, and the data to be transmitted on the link of the abnormal PON port in OLT 1 ​​will be adjusted to be transmitted to the corresponding PON port with the same number in OLT 2.

[0108] Reference Figure 7 , since both OLT 1 ​​and OLT 2 have a PON management module and an interface management module, wherein the PON management module is used to implement the PON port switching of the PON Type B protection mechanism and monitor the port status (activated or inactivated state) of the PON port, and the interface management module is used to process the interface configuration and control the forwarding function. Therefore, in the case where the main gateway and the backup gateway are directly connected through the Ethernet port, the data to be transmitted between the downlink user and the uplink network can be triggered by the PON Type B protection mechanism by the PON management module when the PON port and its link of the main gateway are abnormal, and the switching between the PON ports with the same number is performed, and the data is forwarded in the backup gateway using the Ethernet port, and the uplink data sent by the downlink user can be forwarded to the Ethernet port of the main gateway, or the downlink data sent by the uplink network can be forwarded to the downlink user. At the same time, the PON management module also monitors the port status (activated or inactivated state) of the PON port, and when the port status of all the PON ports of the main gateway are inactivated, the main gateway and the backup gateway are switched.

[0109] Compared with some related technologies that switch the main gateway and the backup gateway as a whole, in this example, except for the services on the abnormal PON port and its link, the services on other normal PON ports and their links will not be affected, and the impact range is smaller, which effectively reduces the impact of the abnormal PON port and its link on the network.

[0110] Example 2:

[0111] As a specific form of the embodiment of the present disclosure, refer to Figure 8 The local area network corresponding to the data transmission system includes: the target network, OLT 1, OLT 2, 8 optical splitters and several ONUs, and each ONU is also connected to several PCs corresponding to downstream users (not shown in the figure). OLT 1 ​​and OLT 2 are both equipped with a switching chip, which includes a PON management module for implementing the PON port switching of the PON Type B protection mechanism and monitoring the port status of the PON port, and an interface management module for processing interface configuration and controlling forwarding functions.

[0112] For uplink data transmitted in the uplink direction, the transmission process of uplink data corresponding to optical splitter 1 is the transmission when PON 1 or its link is abnormal, and the transmission process of uplink data corresponding to optical splitter 8 is the transmission when PON 8 or its link is normal.

[0113] Reference Fig. 9 , the data transmission process of uplink data in the local area network is:

[0114] Step 901, configure the 8 PON ports, Ethernet port of OLT 1, 8 PON ports and Ethernet port of OLT 2 as ports in the same VLAN; and configure the same IP address and MAC address for the 8 PON ports, Ethernet port of OLT 1, 8 PON ports and Ethernet port of OLT 2, so that data transmission between OLT 1 ​​and OLT 2 appears to be transmitted through the same gateway address.

[0115] Step 902: register all ONUs on OLT 1, and configure dual-homed PON Type B protection for the PON ports with the same numbers among the 8 PON ports of OLT 1 ​​and the 8 PON ports of OLT 2 according to the numbers of the PON ports.

[0116] Step 903, after all ONUs are registered in OLT 1, the PON management module in the switching chip of OLT 1 ​​can detect that the port status of the 8 PON ports are all in the activated state, so OLT 1 ​​is configured as the main gateway. Since no ONU is registered in OLT 2, the PON management module in the switching chip of OLT 2 can detect that the port status of the 8 PON ports in OLT 2 are all in the inactive state, so OLT 2 is configured as the standby gateway. At the same time, the PON management module in the switching chip of OLT 2 notifies the interface management module of OLT 2 to turn off the three-layer routing function, which is equivalent to establishing a two-layer forwarding channel from the PON port of OLT 2 to the Ethernet port of OLT 2.

[0117] Step 904: If a PON 1 port abnormality or a link abnormality occurs between splitter 1 and the PON 1 port of OLT 1, a protection switching between the PON 1 port of OLT 1 ​​and the PON 1 port of OLT 2 is triggered, and the ONU of splitter 1 is re-registered in OLT 2.

[0118] Step 905, the uplink data passing through the optical splitter 1 will be sent to the PON 1 port of OLT 2. The destination MAC address of the uplink data is the gateway address. The uplink data will return to OLT 1 ​​through the Layer 2 forwarding channel, and then forwarded to the uplink network through the uplink port of OLT 1. The transmission process of the downlink data is the opposite of the transmission process of the uplink data, that is, the downlink data is forwarded to OLT 2 through the Ethernet port of OLT 1, and then forwarded to the downlink user through the PON 1 port of OLT 2 at Layer 2.

[0119] Step 906, if the eight PON ports or their links in OLT 1 ​​are abnormal, that is, all ports are switched to OLT 2, then all ONUs will re-register with OLT 2, and the PON management module in the switching chip of OLT 2 detects that the port status of the eight PON ports are all activated, sets OLT 2 as the main gateway, and notifies the interface management module to enable the three-layer routing function of OLT 2 (enable the uplink port connecting OLT 2 to the uplink network), and OLT 2 is used as the main gateway, which is equivalent to dismantling the two-layer forwarding channel; and for OLT 1, the eight PON ports of OLT 1 ​​are converted to inactive states, OLT 1 ​​is set as a standby gateway, the three-layer routing function of OLT 1 ​​is disabled (the uplink port connecting OLT 1 ​​to the uplink network is disabled), and a two-layer forwarding channel from the PON port of OLT 1 ​​to the Ethernet port of OLT 2 is established.

[0120] In step 907, both the uplink data and the downlink data will be forwarded to the network through the uplink port of OLT2, using OLT2 as the main gateway.

[0121] Based on the above steps 901 to 907, if the PON 1 port or its link of OLT 1 ​​subsequently returns to normal, and the PON 1 port or its link of OLT 2 is abnormal and switched, then each ONU 1 to ONU K corresponding to the optical splitter 1 will be re-registered with OLT 1. At this time, the uplink data passing through the optical splitter 1 can be returned to OLT 2 through the second-layer forwarding channel of OLT 1, and then forwarded to the uplink network through the uplink port of OLT 2. The downlink data is the opposite, which will not be repeated here. Until all the PON ports or their links of OLT 1 ​​are restored to normal, and all the PON ports or their links of OLT 2 are abnormal and switched, the switching between the main gateway and the backup gateway will be triggered again.

[0122] The above example can reduce the number of switching times between the primary gateway and the backup gateway, improve the network's fault resistance, and avoid the impact of abnormal link switching on normal links.

[0123] Among them, the processor is a device with data processing capabilities, including but not limited to the central processing unit (CPU); the memory is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) is connected between the processor and the memory, and can realize information exchange between the memory and the processor, including but not limited to the data bus (Bus), etc.

[0124] Those skilled in the art will appreciate that all or some of the steps, systems, and functional modules / units in the apparatus disclosed above may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0125] In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation.

[0126] Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit (CPU), a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-temporary medium) and a communication medium (or temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH) or other disk storage; read-only compact disk (CD-ROM), digital versatile disk (DVD) or other optical disk storage; magnetic cassettes, magnetic tapes, disk storage or other magnetic storage; any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0127] The present disclosure has disclosed example embodiments, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for limiting purposes. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly stated, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, those skilled in the art will appreciate that various changes in form and detail may be made without departing from the scope of the present disclosure as set forth in the appended claims.

Claims

1. A data transmission method, applied to a first optical line terminal OLT, wherein the first OLT is connected to a second OLT via an Ethernet port, comprising: Receive downlink data sent by the target network; When the communication between the first passive optical network PON port of the first OLT and the target device is interrupted and at least one PON port of the first OLT is activated, the downlink data is sent to the second OLT through the Ethernet port, so that the second OLT forwards the downlink data to the target device.

2. The method according to claim 1, wherein: The method further comprises: In response to receiving uplink data sent by the second OLT through the Ethernet port, forwarding the uplink data to the target network; wherein the uplink data is sent to the second OLT by the target device when the communication between the first PON port of the first OLT and the target device is interrupted and at least one PON port of the first OLT is in an activated state.

3. The method according to claim 1, wherein: The method further comprises: The port state of the first PON port is adjusted from an activated state to an inactivated state.

4. The method according to claim 3, wherein: After adjusting the port state of the first PON port from an activated state to an inactivated state, the method further includes: Deleting registration information of each optical network unit ONU connected to the first PON port; When all PON ports in the first OLT are in an inactive state, the port of the first OLT connected to the target network is closed.

5. A data transmission method, applied to a second OLT, wherein the second OLT is connected to the first OLT via an Ethernet port, comprising: In response to receiving downlink data sent by the first OLT through the Ethernet port, forwarding the downlink data to a target device; wherein the downlink data is sent by the first OLT when the communication between the first PON port and the target device is interrupted and at least one PON port of the first OLT is in an activated state, and the downlink data is sent by the target network to the first OLT.

6. The method according to claim 5, wherein: The method further comprises: Receiving uplink data sent by the target device; The uplink data is sent to the first OLT through the Ethernet port, so that the first OLT forwards the uplink data to the target network; wherein the uplink data is sent to the second OLT by the target device when the communication between the first PON port and the target device is interrupted and at least one PON port of the first OLT is in an activated state.

7. The method according to claim 5 or 6, wherein: The method further comprises: In the case where the communication between the first PON port and the target device is interrupted, the port state of the second PON port of the second OLT is adjusted from an inactive state to an active state, wherein the second PON port and the first PON port are dual-home ports to each other.

8. The method according to claim 7, wherein: After adjusting the port state of the second PON port from the inactive state to the active state, the method further includes: Instruct each ONU connected to the second PON port to register on the second OLT.

9. The method according to claim 8, wherein: After instructing each ONU connected to the second PON port to register on the second OLT, the method further includes: When the port status of all the PON ports in the second OLT are in the activated state, the port of the second OLT connected to the target network is enabled.

10. A data transmission system, comprising: A first OLT, wherein the first OLT is used to implement the data transmission method according to any one of claims 1 to 4; A second OLT, wherein the second OLT is used to implement the data transmission method according to any one of claims 5 to 9; The first OLT and the second OLT are both connected to the target device, and the first OLT and the second OLT are connected via an Ethernet port.

11. The system according to claim 10, wherein: The PON ports corresponding to the first OLT, the PON ports corresponding to the second OLT, and the Ethernet port are deployed in the same virtual local area network VLAN.

12. The system according to claim 10, wherein: Each PON port corresponding to the first OLT and each PON port corresponding to the second OLT have the same Internet Protocol IP address and / or the same Media Access Control MAC address.

13. An OLT, comprising a memory and a processor; the memory stores a computer program executable by the processor, and when the computer program is executed by the processor, the data transmission method according to any one of claims 1 to 9 is implemented.

14. A computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the data transmission method according to any one of claims 1 to 9.

15. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the data transmission method according to any one of claims 1 to 9 is implemented.

Citation Information

Cited By

  • An OLT cascade-based data transmission control method, device and system

    CN120786209B