Data transmission method and device, electronic equipment and FTTR network system

By setting up the main link and the backup link in the FTTR network system and switching to the backup link when the main link is abnormal, the service interruption problem caused by optical link exceptions is solved, and the effect of rapid switching and reducing the risk of service interruption is achieved.

CN119603586AActive Publication Date: 2025-03-11XINHUASAN INFORMATION TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510134404.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-06
Publication Date
2025-03-11
Estimated Expiration
2045-02-06

AI Technical Summary

Technical Problem

In the prior art In optical fiber communication scenarios, when the optical link is abnormal, it is impossible to quickly switch to the backup link, resulting in service interruption.

Method used

In the FTTR network system, there are master and backup links between the master and slave devices. When the main link is abnormal, communication is carried out through the backup link, and a device communication channel is established between the main main device and the backup main device, and the device status information and communication configuration information are synchronized.

Benefits of technology

It realizes rapid switching to the backup link when the main link is abnormal, reducing the delay of link handover and reducing the risk of service interruption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119603586A_ABST
    Figure CN119603586A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, and particularly provides a data transmission method and device, electronic equipment and an FTTR network system. The method is applied to an FTTR network system comprising a master device and a slave device, the master device is used for being connected with an uplink network based on an optical fiber, the slave device is used for providing access service for a terminal device, and a master link and a standby link which are used for optical fiber communication exist between the master device and the slave device. When the master link is normal, the master device communicates with the slave device through the master link; and when the master link is abnormal, the master device communicates with the slave device through the standby link. Therefore, when the main link is abnormal, the main link can be switched to the standby link in time, the time delay of link switching is reduced, and the problem of service interruption is further reduced.
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 method, device, electronic device and FTTR network system for data transmission. Background Art

[0002] In a fiber optic communication scenario, an optical link for signal transmission is usually established between a master device and a slave device of a fiber to the room (FTTR) network to communicate through the optical link to serve a single home or business.

[0003] For example, an optical line terminal (OLT) in a FTTR network may be used as a master device, and an optical network unit (ONU) in the FTTR network may be used as a slave device to create an optical link between the OLT and the ONU.

[0004] In the related art, if the optical link is detected to be abnormal, a wireless communication link is usually created between the master device and the slave device, and then the current communication link is switched to the wireless communication link.

[0005] However, in this way, link switching cannot usually be completed in a short time, which may cause service interruption. Summary of the invention

[0006] To solve the above technical problems, the embodiments of the present disclosure provide a data transmission method, device, electronic device and FTTR network system.

[0007] In a first aspect, an embodiment of the present disclosure provides a fiber-to-room FTTR network system, including: a master device and a slave device, wherein the master device is used to connect to an upstream network based on an optical fiber, and the slave device is used to provide access services to a terminal device, wherein: There are a main link and a backup link for optical fiber communication between the master device and the slave device; When the primary link is normal, the primary device communicates with the secondary device through the primary link; When the primary link is abnormal, the primary device communicates with the secondary device through the backup link.

[0008] In one implementation, a first downstream passive optical network PON interface is configured on the master device, and a first upstream PON interface is configured on the slave device; The primary link includes an optical link between the first downstream PON interface and the first upstream PON interface; The backup link includes a wireless communication link between the master device and the slave device.

[0009] In one implementation, the master device is configured with a first downstream PON interface and a second downstream PON interface; the primary link includes an optical link between the first downstream PON interface and the slave device; and the backup link includes an optical link between the second downstream PON interface and the slave device.

[0010] In one embodiment, the master device includes a primary master device and a backup master device, the primary master device is configured with a first downstream PON interface, the backup master device is configured with a second downstream PON interface, and the slave device is configured with a first upstream PON interface and a second upstream PON interface; The primary link includes an optical link between the first downstream PON interface and the first upstream PON interface; The backup link includes an optical link between the second downstream PON interface and the first upstream PON interface.

[0011] In one implementation, the slave device is used to send a link switching notification to the backup master device when an abnormality in the primary link is detected; and the backup master device is used to enable the backup link to communicate with the slave device when it determines that the link switching notification has been received.

[0012] In one implementation, a device communication channel is established between the active master device and the standby master device; The device communication channel is used to synchronize device status information of the slave device between the active master device and the standby master device; The device status information is applied to the service interaction between the active master device and the standby master device and the slave device respectively.

[0013] In one implementation, a device communication channel is established between the active master device and the standby master device; The active master device is used to: when it is determined that the configuration synchronization conditions are met, synchronize the communication configuration information to the standby master device through the device communication channel; The communication configuration information is applied to the service interaction between the active master device and the standby master device and the slave device respectively.

[0014] In one embodiment, the FTTR network system further includes an optical splitter; the optical splitter includes a first input interface, a second input interface and an output interface, the first input interface is connected to the first downstream PON interface, the second input interface is connected to the second downstream PON interface, and the output interface is connected to the slave device; The main link passes through the first input interface and the output interface of the optical splitter; The backup link passes through the second input interface and the output interface of the optical splitter.

[0015] In one embodiment, the FTTR network system further comprises a first optical splitter and a second optical splitter; the first optical splitter comprises a first input interface and a first output interface, and the second optical splitter comprises a second input interface and a second output interface; the slave device is configured with a first upstream PON interface and a second upstream PON interface; The first input interface is connected to the first downstream PON interface, and the first output interface is connected to the first upstream PON interface; the second input interface is connected to the second downstream PON interface, and the second output interface is connected to the second upstream PON interface; The main link passes through the first input interface, the first output interface and the first uplink PON interface; The standby link passes through the second input interface, the second output interface and the second upstream PON interface.

[0016] In a second aspect, an embodiment of the present disclosure provides a method for data transmission, which is applied to a master device of any FTTR network system in the first aspect, and the method includes: In the case where the master device is the primary master device, when the primary link is normal, the master device communicates with the slave device through the primary link; In the case where the master device is a backup master device, when the primary link is abnormal, communication with the slave device is performed through the backup link; The active master device and the standby master device are the same master device or different master devices in the FTTR network system.

[0017] In a third aspect, an embodiment of the present disclosure provides a method for data transmission, which is applied to a slave device of any FTTR network system in the first aspect, and the method includes: When the primary link is normal, communicate with the primary master device through the primary link; When the main link is abnormal, communication is carried out with the backup main device through the backup link; The active master device and the standby master device are the same master device or different master devices in the FTTR network system.

[0018] In a fourth aspect, an embodiment of the present disclosure provides a device for data transmission, which is applied to a main device of any FTTR network system in the first aspect, and the device includes: The first communication unit is used to communicate with the slave device through the primary link when the master device is the primary master device and the primary link is normal; A second communication unit is used to communicate with the slave device through the backup link when the master device is a backup master device and the primary link is abnormal; The active master device and the standby master device are the same master device or different master devices in the FTTR network system.

[0019] In a fifth aspect, an embodiment of the present disclosure provides a device for data transmission, which is applied to a slave device of any FTTR network system in the first aspect, and the device includes: A first communication unit, configured to communicate with the primary master device through the primary link when the primary link is normal; The second communication unit is used to communicate with the backup master device through the backup link when the primary link is abnormal; The active master device and the standby master device are the same master device or different master devices in the FTTR network system.

[0020] In a sixth aspect, an electronic device is provided in an embodiment of the present disclosure, including: Processor; and A memory stores computer instructions, wherein the computer instructions are used to enable a processor to execute the steps of the method provided in any of the various optional implementations of data transmission described above.

[0021] In a seventh aspect, a computer-readable storage medium is provided in an embodiment of the present disclosure, storing computer instructions for causing a computer to execute the steps of a method provided in any of the various optional implementations of the above-mentioned data transmission.

[0022] In an eighth aspect, a computer program product is provided in an embodiment of the present disclosure, comprising a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the steps of the method provided in any of the various optional implementations of the above-mentioned data transmission.

[0023] The data transmission method in the embodiment of the present disclosure is applied to the FTTR network system, which includes a master device and a slave device, the master device is used to connect to the upstream network based on optical fiber, the slave device is used to provide access services to the terminal device, and there are a main link and a backup link for optical fiber communication between the master device and the slave device. The method includes: when the main link is normal, the master device and the slave device communicate through the main link; when the main link is abnormal, the master device and the slave device communicate through the backup link. In this way, when the main link is abnormal, it can be switched to the backup link in time, reducing the delay of link switching, thereby reducing the problem of service interruption. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 This is an example diagram of the architecture of an FTTR network in an embodiment of the present disclosure.

[0025] Figure 2 This is an example diagram of the architecture of an enterprise-level FTTR network in an embodiment of the present disclosure.

[0026] Figure 3 It is a flowchart of a data transmission method in an embodiment of the present disclosure.

[0027] Figure 4 This is an example diagram of a single-homed Type B protection mode network in an embodiment of the present disclosure.

[0028] Figure 5 This is an example diagram of a single-home Type C protection mode network in an embodiment of the present disclosure.

[0029] Figure 6 It is a structural diagram of a main device in an embodiment of the present disclosure.

[0030] Figure 7 It is a structural diagram of a slave device in an embodiment of the present disclosure.

[0031] Figure 8 This is an example diagram of a dual-homed Type B protection mode network in an embodiment of the present disclosure.

[0032] Fig. 9 This is an example diagram of a dual-homed Type C protection mode network in an embodiment of the present disclosure.

[0033] Fig.10 It is a structural block diagram of a data transmission device in an embodiment of the present disclosure.

[0034] Fig.11 It is a structural block diagram of another data transmission device in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0035] The technical solution of the present disclosure will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described implementation is a part of the implementation of the present disclosure, rather than all the implementations. Based on the implementation in the present disclosure, all other implementations obtained by ordinary technicians in the field without creative work are within the scope of protection of the present disclosure. In addition, the technical features involved in the different implementations of the present disclosure described below can be combined with each other as long as they do not conflict with each other.

[0036] In the optical fiber communication scenario, if the optical fiber communication link between the OLT and the ONU in the FTTR network is abnormal, a wireless communication link is usually created between the OLT and the ONU after the optical fiber communication link abnormality is detected, so as to communicate data through the wireless communication link. However, in this way, the link switching cannot be completed in a short time, which may cause service interruption.

[0037] Based on the defects of the above-mentioned related technologies, the embodiments of the present disclosure provide a method, device, electronic device and FTTR network system for data transmission, aiming to reduce link switching delay.

[0038] In an embodiment of the present disclosure, a method for data transmission is provided, which can be applied to an FTTR network system. The FTTR network system includes a master device and a slave device, wherein the master device is used to connect to an upstream network based on an optical fiber, and the slave device is used to provide access services to a terminal device. A primary link and a backup link for optical fiber communication exist between the master device and the slave device.

[0039] The FTTR network system is built on the basis of the FTTR network, which is created based on the Passive Optical Network (PON) technology. The FTTR network can also include an Optical Distribution Network (ODN), which includes a splitter and can be used as a transit for optical links.

[0040] Combine the following Figure 1 Describes the architecture of the FTTR network. Figure 1 The figure shows an example diagram of the architecture of an FTTR network. Figure 1 In the embodiment, the FTTR network includes a first network device, an optical splitter, and a plurality of second network devices. The devices are connected via optical fibers.

[0041] The first network device includes an upstream optical port and a downstream optical port. An optical splitter is a passive device, also known as an optical splitter. The upstream optical port of the first network device is connected to an upstream network device in an upstream network, and the downstream optical port of the first network device is connected to the upstream optical port of the second network device through the optical splitter. The first network device is the main entrance in the FTTR network. The second network device acts as an ONU in the FTTR network.

[0042] The first network device is located in both the upstream network and the FTTR network, and its roles in the upstream network and the FTTR network are different. The first network device acts as an ONU in the upstream network, and the upstream network device acts as an OLT in the upstream network.

[0043] Among them, the OLT device is an important local-end device, which can be connected to the switches and other devices at the front end (aggregation layer) by optical fiber and other means, and interconnected with the splitter through a single optical fiber to achieve control and management of the ONU.

[0044] Optionally, the first network device and the second network device may also have radio frequency capabilities and may provide wireless network communication technology (WiFi) services to the user equipment through the radio frequency port.

[0045] Ordinary FTTR networks usually include a first network device and multiple second network devices. The number of second network devices usually ranges to 4, which is mainly suitable for network coverage of homes or small scenarios. To cover larger scenarios, enterprise-level FTTR networks can also be used. Enterprise-level FTTR networks include multiple sub-FTTR networks, and different sub-FTTR networks are used to cover different sub-areas.

[0046] See also Figure 2 The figure shows an example of the architecture of an enterprise-level FTTR network. Figure 2 In the example, three regions and three sub-FTTR networks are used for illustration. Each sub-FTTR network includes a first network device, a splitter, and multiple second network devices. Each sub-FTTR network is connected to the uplink network device in the uplink network through the splitter in the uplink network to achieve scene coverage. The number of second network devices in a sub-FTTR network in an enterprise-level FTTR network is usually in the range of 32.

[0047] It should be noted that the FTTR network may include at least one OLT, at least one ONU and at least one optical splitter.

[0048] The FTTR network system in the embodiment of the present disclosure is described in detail below in combination with the above FTTR network. The FTTR network system includes a master device and a slave device, and may also include one or more optical splitters.

[0049] It should be noted that in the embodiments of the present disclosure, only the OLT of the PON network within the FTTR network (i.e., the first network device mentioned above) is used as the master device, and the ONU of the PON network within the FTTR network (i.e., the second network device mentioned above) is used as the slave device for illustration. In actual applications, the master device and the slave device may also be other devices in the FTTR network, which is not limited here.

[0050] In one implementation, when the primary link is normal, the master device communicates with the slave device through the primary link; when the primary link is abnormal, the master device communicates with the slave device through the backup link.

[0051] In this way, when the primary link is abnormal, it can be switched to the backup link in time.

[0052] In the embodiment of the present disclosure, there are a main link and a backup link for optical fiber communication between the master device and the slave device.

[0053] In one implementation, before communication, a primary link and a backup link for optical fiber communication may be created between the master device and the slave device. The primary link and the backup link may be created in the following ways: Method 1: Create an optical link between the master device and the slave device as a primary link, and create a wireless communication link between the master device and the slave device as a backup link.

[0054] In one implementation, a first downstream PON interface is configured on the master device, and a first upstream PON interface is configured on the slave device; the primary link includes an optical link between the first downstream PON interface and the first upstream PON interface; and the backup link includes a wireless communication link between the master device and the slave device.

[0055] Furthermore, the FTTR network system may also include a first optical splitter, which includes a first input interface and a first output interface. The first input interface is connected to the first downstream PON interface, and the first output interface is connected to the first upstream PON interface; the main link passes through the first input interface, the first output interface and the first upstream PON interface.

[0056] Optionally, if there are multiple slave devices, the master device may establish a wireless communication link with each slave device respectively, or may establish a wireless communication link with some of the slave devices according to user configuration, which is not limited here.

[0057] Method 2: Use single-homing to create a primary link and a backup link between a master device and a slave device.

[0058] Among them, single-homing means that one end of the main link and the backup link are the same main device. The main device is configured with a first downstream PON interface and a second downstream PON interface; the main link includes an optical link between the first downstream PON interface and the slave device; the backup link includes an optical link between the second downstream PON interface and the slave device.

[0059] In the above-mentioned method 1 and method 2, one end of the main link and the backup link are both the same main device, and the other end are both the same slave device.

[0060] Method 3: Use dual-homing to create a primary link between a master device and a slave device, and a backup link between another master device and a slave device.

[0061] Wherein, the dual-homing means that the master device side of the active link and the standby link are different master devices. The master device includes an active master device and a standby master device, the active master device is configured with a first downstream PON interface, the standby master device is configured with a second downstream PON interface, and the slave device is configured with a first upstream PON interface and a second upstream PON interface; the active link includes an optical link between the first downstream PON interface and the first upstream PON interface; the standby link includes an optical link between the second downstream PON interface and the first upstream PON interface.

[0062] This is because in the single-home mode, only one master device is included. However, if the master device itself fails, it will still cause the FTTR network to go down. Therefore, in order to further improve the reliability of the FTTR network, the above-mentioned dual-home mode network can also be established.

[0063] Furthermore, in the second and third modes, the FTTR network system may further include one or more optical splitters, and the optical splitters are used as the transit between the main link and the backup link.

[0064] In one embodiment, the FTTR network system further includes a splitter; the splitter includes a first input interface, a second input interface and an output interface, the first input interface is connected to the first downstream PON interface, the second input interface is connected to the second downstream PON interface, and the output interface is connected to the slave device; the main link passes through the first input interface and output interface of the splitter; the backup link passes through the second input interface and output interface of the splitter.

[0065] In one embodiment, the FTTR network system further includes a first splitter and a second splitter; the first splitter includes a first input interface and a first output interface, and the second splitter includes a second input interface and a second output interface; the slave device is configured with a first upstream PON interface and a second upstream PON interface; the first input interface is connected to the first downstream PON interface, and the first output interface is connected to the first upstream PON interface; the second input interface is connected to the second downstream PON interface, and the second output interface is connected to the second upstream PON interface; the main link passes through the first input interface, the first output interface and the first upstream PON interface; the backup link passes through the second input interface, the second output interface and the second upstream PON interface.

[0066] In the second mode, the first downstream PON interface and the second downstream PON interface are located in the same master device. In the third mode, the first downstream PON interface is located in the active master device, and the second downstream PON interface is located in the standby master device.

[0067] In one embodiment, when the master device includes a primary master device and a backup master device, the slave device notifies the backup master device of the link switch. The slave device is used to: send a link switch notification to the backup master device when detecting an abnormality in the primary link; and the backup master device is used to: enable the backup link to communicate with the slave device when determining that the link switch notification has been received.

[0068] Optionally, a device communication channel may be established between the active master device and the standby master device for data synchronization. The synchronization data may include device status information and communication configuration information.

[0069] In one implementation, the device communication channel is used to synchronize device status information of the slave device between the active master device and the standby master device.

[0070] The device status information is applied to the service interaction between the active master device and the standby master device and the slave device respectively. Optionally, the device status information may include at least one of the following items: the online and offline status of the slave device, the status change information of the slave device, the online and offline status of the terminal connected to the slave device, the status change information of the terminal connected to the slave device, and the specified alarm information.

[0071] In actual applications, the status change information may be a relatively important status change, the designated alarm information may be a level 1 alarm or above, and the device status information may be set according to the actual application scenario, and is not limited here.

[0072] In one implementation, a device communication channel is established between the active master device and the standby master device; the active master device is used to: when determining that the configuration synchronization condition is met, synchronize communication configuration information to the standby master device through the device communication channel.

[0073] The communication configuration information is applied to the service interaction between the active master device and the standby master device and the slave device respectively. Optionally, the configuration synchronization condition may be that the current communication link is switched to the active link of the active master device, or the communication configuration information is updated.

[0074] For example, when the active master device determines that the communication configuration information is updated, it obtains the updated communication configuration information; and synchronizes the updated communication configuration information to the standby master device through the device communication channel.

[0075] Combine the following Figure 3 The data transmission method applied to the above FTTR network system is described. Figure 3 The figure is a flow chart of a data transmission method, and the specific implementation process of the method is as follows: Step 301: When the primary link is normal, the master device communicates with the slave device via the primary link.

[0076] Step 302: When the primary link is abnormal, the primary device communicates with the secondary device via the backup link.

[0077] The active master device and the standby master device are the same master device or different master devices in the FTTR network system.

[0078] That is to say, when the master device is the active master device, when the active link is normal, it communicates with the slave device through the active link; when the master device is the standby master device, when the active link is abnormal, it communicates with the slave device through the standby link. That is to say, when the active link is normal, the slave device communicates with the active master device through the active link; when the active link is abnormal, the slave device communicates with the standby master device through the standby link.

[0079] It should be noted that when the active master device and the backup master device are the same master device, one end of the active link and the backup link are the same master device, and the other end are the same slave device. Then, both the active device and the slave device can monitor the communication of the active link. When either party detects that the active link is abnormal, the current communication link is switched from the active link to the backup link.

[0080] In one implementation, the master device detects the primary link, and when it is determined that the primary link is abnormal based on the detection result, the current communication link is switched from the primary link to the backup link. The slave device also detects the primary link, and when it is determined that the primary link is abnormal based on the detection result, the current communication link is switched from the primary link to the backup link.

[0081] Furthermore, when either the master device or the slave device determines that the primary link has recovered to normal, the current communication link may be switched from the backup link to the primary link.

[0082] Optionally, the main link recovery can be determined based on the received main link recovery notification, or can be determined based on the status field corresponding to the main link recovery, that is, after the main link is restored to normal, the status field is updated to normal, and the main device determines that the main link is restored when it detects that the status field is updated to normal. In actual applications, the method for determining whether the main link is restored to normal can be set according to the actual application scenario, and is not limited here.

[0083] In one implementation, when the master device detects that the primary link has recovered, the current communication link is switched from the backup link to the primary link. When the slave device detects that the primary link has recovered, the current communication link is switched from the backup link to the primary link.

[0084] Furthermore, in the case where the master device includes an active master device and a backup master device, the slave device may notify the backup master device of link switching.

[0085] In one implementation, the slave device detects the primary link, and when it is determined that the primary link is abnormal based on the detection result, the current communication link is switched from the primary link to the backup link, and a link switching notification is sent to the backup master device. When the master device determines that it has received the link switching notification sent by the slave device, it enables the backup link to communicate with the slave device.

[0086] In this way, it is possible to detect that the primary link is abnormal and perform link switching when the backup link is normal.

[0087] Further, when the slave device determines that the active link has returned to normal, the current communication link is switched from the standby link to the active link, and a link switching notification may be sent to the standby master device again. Based on the link switching notification, the standby master device disables the standby link for communication with the slave device. When the active master device detects that the active link has returned to normal, it enables the active link.

[0088] In actual applications, any link detection technology can be selected according to the actual application scenario to detect the communication link (i.e., the primary link and / or the backup link) to detect whether the communication link is abnormal. For example, it can be used to detect whether the link message is reachable, whether the opposite end device is in place normally, and whether the optical signal strength is normal, etc., without limitation here.

[0089] Furthermore, in the case of current communication through the primary link, the primary link may be switched to the backup link when any one of the following items is met: The first item: determining that a preset link switching time for switching a current communication link to a backup link is reached.

[0090] The second item: receiving a link switching instruction from a user for a primary link; the link switching instruction is used to switch a current communication link to a backup link.

[0091] Item 3: receiving a link switching notification sent by other devices for switching a current communication link to a standby link.

[0092] In actual applications, the link switching conditions can be set according to the actual application scenario and are not limited here.

[0093] Furthermore, a device communication channel is established between the active master device and the standby master device.

[0094] In one implementation, when the active master device determines that it has received the device status information of the slave device, it can also synchronize the device status information to the standby master device through the device communication channel. Similarly, when the standby master device determines that it has received the device status information of the slave device, it can also synchronize the device status information to the active master device through the device communication channel.

[0095] In one implementation, when the active master device determines that the configuration synchronization condition is met, it may also synchronize communication configuration information to the standby master device through the device communication channel.

[0096] Optionally, there may be one main link and one or more backup links. Since there may be multiple backup links, when there are multiple backup links, the priority of each backup link may be set, and the backup link may be selected and switched according to the priority of each backup link.

[0097] In one implementation, if there are multiple backup links, the priority of each backup link is determined; the backup link with the highest priority is selected from the backup links; and the current communication link is switched to the backup link with the highest priority.

[0098] Optionally, the priority of each backup link can be a pre-set fixed level, or can be dynamically set according to the link quality of each current communication link, or can be set according to user instructions, or can be set according to the scenario requirements of the current scenario, without limitation here.

[0099] The link creation and link switching in the above method 1 are further described in detail below in conjunction with the FTTR network system.

[0100] In the above method 1, for a slave device and a master device, an optical link as a main link is first established between the slave device and the master device. Then, the master device sends a link creation notification for establishing a wireless communication link to the slave device. The link creation notification includes relevant parameters for establishing a wireless communication link, such as base station subsystem information (BSS Information, BSS) information and an authentication code for establishing a wireless communication link. If the slave device supports the wireless communication link function, after receiving the link creation notification from the master device, it establishes a wireless communication link as a backup link with the master device based on the above parameters.

[0101] Optionally, the easymesh protocol can be used to create a wireless communication link. Furthermore, when the wireless communication link is created, the following method can be used: the slave device can also wirelessly access the BSS provided by the master device in client mode, and then establish a control and adaptation wireless access point (Control And Provisioning of Wireless Access Points, CAPWAP) tunnel on the wireless link. In actual applications, the protocol for creating a wireless communication link can be selected according to the actual application scenario, and there is no restriction here.

[0102] When communicating through the main link, the wireless communication link is only used to maintain the link. When either the slave device or the master device detects that the main link is abnormal, the wireless communication link is used to send a link switching notification to the other party and switch the main link to the wireless communication link, that is, switch the data traffic and control tunnel to the wireless communication link. When the other party receives the link switching notification, it also switches the main link to the wireless communication link.

[0103] Furthermore, when either the slave device or the master device detects that the primary link is restored, it can switch back to the primary link and send a link switching notification to the other device. When the other device receives the link switching notification, it also switches back to the primary link and returns a switching confirmation.

[0104] The optical splitter is used as a transfer between the main link and the backup link. The main link and the backup link are transferred through two different input interfaces (i.e., the first input interface and the second input interface) and are respectively connected to two different downstream PON interfaces (i.e., the first downstream PON interface and the second downstream PON interface). The two different downstream PON interfaces are located in the same main device or different main devices; the two different input interfaces are located in the same optical splitter or different optical splitters.

[0105] In the case where two different input interfaces are located on the same optical splitter, the primary link and the backup link are connected to the same upstream PON interface (ie, the first upstream PON interface) of the slave device after being transferred through the same optical splitter.

[0106] When two different input interfaces are located at different optical splitters, the main link and the backup link are respectively transferred through different optical splitters and connected to two different upstream PON interfaces (ie, the first upstream PON interface and the second upstream PON interface) of the slave device.

[0107] That is, one end of the main link and the backup link is connected to the same slave device, and the other end of the connection can be the same master device or different master devices, and can be transferred through the same splitter or different splitters.

[0108] Optionally, different communication links can be created based on the Type B protection mode or the Type C protection mode. The Type B protection mode is: the FTTR network system has a splitter with multiple input interfaces, and the main link and the backup link are connected to the main device through different input interfaces. The Type C protection mode is: there are multiple splitters in the FTTR network system, and the main link and the backup link are connected to the main device through different splitters.

[0109] In conjunction with the FTTR network system, the link creation and link switching based on the Type B protection mode and the Type C protection mode in the above-mentioned method 2 are further described in detail below.

[0110] Combine the following Figure 4 , which provides an example of link creation in the Type B protection mode in the above method 2. Figure 4 The figure shows an example diagram of a single-homed Type B protection mode network. Figure 4 In the example, a primary link is created based on the first downstream PON interface of the master device 1 (i.e., the aforementioned downstream optical port), the first input interface of the optical splitter 1, and the first upstream PON interface of the slave device. A backup link is created based on the second downstream PON interface of the master device 1, the second input interface of the optical splitter 1, and the first upstream PON interface of the slave device (i.e., the aforementioned upstream optical port).

[0111] Combine the following Figure 5 , which provides an example of link creation in the Type C protection mode in the above method 2. Figure 5 The figure shows an example diagram of a single-homed Type C protection mode network. Figure 5 In the embodiment, a main link is created based on the first downstream PON interface of the master device 1, the first input interface of the splitter 1, and the first upstream PON interface of the slave device, and a backup link can be created based on the second downstream PON interface, the second input interface of the splitter 2, and the second upstream PON interface.

[0112] In the embodiment of the present disclosure, in order to support the single-homing mode, the master device adds a downstream PON interface for redundancy backup, that is, two downstream PON interfaces are provided.

[0113] Combine the following Figure 6 This section describes an example of the structure of a master device. Figure 6 The figure shows a structural diagram of a main device. Figure 6 In the example, the main device includes an upstream PON interface, an upstream ONU, wired services, wireless services, an intranet OLT, and two downstream PON interfaces.

[0114] Among them, the upstream PON interface is used to connect to the upstream network device, and transmit the signal to the wired service or wireless service through the upstream slave device. The OLT chip can perform service control and management, and is used to transmit the service processing data of the wired service or wireless service to other devices through the downstream PON interface. The two downstream PON interfaces include a first downstream PON interface and a second PON interface. One of the first downstream PON interface and the second PON interface is a downstream main PON interface, and the other interface is a downstream standby PON interface. The master device can be connected to the downstream slave device through the downstream main PON interface and the downstream standby PON interface respectively.

[0115] At the hardware level, the main device is equipped with an OLT chip, which can be an independent chip or a field-programmable gate array (FPGA). The OLT chip can support multiple downstream PON interfaces.

[0116] At the software level, in the intranet OLT, a link management module can be added to monitor the link status of the downstream PON interface. If the downstream main PON link (e.g., the main link) is normal, the downstream main PON interface is controlled to communicate with the slave device. If the downstream main PON link is abnormal and the downstream backup PON link (e.g., the backup link) is normal, the downstream backup PON interface is switched to communicate with the slave device. If the downstream backup PON link is currently used to communicate with the slave device, and the downstream main PON link is restored, the downstream main PON link is also switched back to communicate with the slave device.

[0117] In actual applications, the structure of the main device may not be limited to hardware boards and structural parts, and can be set according to actual application scenarios.

[0118] Thus, when the main device includes two downstream PON interfaces, it can be matched with a splitter including multiple input interfaces (e.g., a 2:N splitter) to form an FTTR network system supporting a single-home Type B protection mode, where 2 is the number of input interfaces and N is a positive integer, which is the number of output interfaces.

[0119] In the embodiment of the present disclosure, in order to support the Type C protection mode, the slave device adds an upstream PON interface for redundant backup. That is, two upstream PON interfaces are provided. Figure 7 The structure of a slave device is described as an example.

[0120] See also Figure 7 The figure shows a structural diagram of a slave device. Figure 7 In the example, the slave devices include multiple upstream PON interfaces, intranet ONUs, wired services, and wireless services.

[0121] At the hardware level, the slave device integrates two ONU chips to support two upstream PON interfaces, namely the first upstream PON interface and the second upstream PON interface, one of which is the upstream main PON and the other is the upstream backup PON. Each upstream PON interface can be connected to the ONU chip through a switching chip or other means to speed up traffic switching. The intranet ONU is a control module that manages the signals received by each upstream PON interface to allocate the signals to wired services or wireless services for service processing.

[0122] At the software level, a link management module can also be added to the intranet ONU of the slave device to monitor the link status of the upstream PON interface. If the upstream main PON link (i.e., the main link) is normal, the upstream main PON is controlled to communicate with the master device. If the upstream main PON link is abnormal and the upstream backup PON link is normal, the upstream backup PON link (i.e., the backup link) is switched to communicate with the master device. If the upstream backup PON link is currently used to communicate with the master device, and the upstream main PON link is restored, it can also switch back to the upstream main PON link to communicate with the master device.

[0123] In this way, if the master device includes two downstream PON interfaces and the slave device includes two upstream PON interfaces, a FTTR network system that supports the single-home Type C protection mode can be formed with multiple splitters (e.g., 1:N splitters). 1 is the number of input interfaces. For enterprise-level FTTR network systems, for areas covered by sub-FTTR network systems that require high-reliability coverage, the single-home Type B mode or single-home Type C mode can be used to create links and communicate, thereby improving the reliability of network links without sacrificing wireless performance.

[0124] Before establishing a communication link, one master device can be used as the primary device and the other master device as the backup master device. Optionally, the primary master device and the backup master device can be distinguished by user configuration or by self-negotiation between the two. When the two negotiate by themselves, the master device with a high priority, a master device with a short operating time, or a master device with a small physical address (Media Access Control Address, MAC) can be used as the primary master device.

[0125] In conjunction with the FTTR network system, the link creation and link switching based on the Type B protection mode and the Type C protection mode in the above-mentioned method three are further described in detail below.

[0126] Combine the following Figure 8 , which provides an example of link creation in the Type B protection mode in the above method 3. Figure 8The figure shows an example diagram of a dual-homed Type B protection mode network. Figure 8 In the embodiment, two master devices, a 2:N optical splitter, and slave devices are included. Each master device may be provided with only one downstream PON interface (ie, the first downstream PON interface). Figure 8 In the embodiment, a main link is created based on the first downstream PON interface of master device 1 (i.e., the active master device), the first input interface of splitter 1, and the first upstream PON interface of the slave device, and a backup link is created based on the second downstream PON interface of master device 2 (i.e., the backup master device), the second input interface of splitter 1, and the first upstream PON interface of the slave device.

[0127] Combine the following Fig. 9 , which provides an example of link creation in Type C protection mode in the above method 3. Fig. 9 The figure shows an example diagram of a dual-homed Type C protection mode network. Fig. 9 In the embodiment, a primary link is created based on the first downstream PON interface of master device 1 (i.e., the primary master device), the first input interface of splitter 1, and the first upstream PON interface of the slave device, and a backup link is created based on the second downstream PON interface, the second input interface of splitter 2, and the second upstream PON interface.

[0128] The link creation and link switching in the above method 3 are further described in detail below.

[0129] First, after the slave device is powered on and connected to the network, it sends a device discovery request for discovering the master device. When the two master devices receive the device discovery request, they will return a device discovery response to the slave device. Based on the received device discovery response, the slave device determines whether the master device is the primary device or the backup master device.

[0130] Then, the slave device establishes a master link with the master device, and uses it for normal inter-device protocol communication and data communication. At this time, the master device is the control point of the slave device. In addition, the slave device also establishes a backup link with the backup master device. The backup link can only be used for active operation to maintain the link unobstructed.

[0131] When the slave device detects that there is a problem with the main link itself, or the physical optical link carrying the main link fails, that is, when the main link is abnormal, the slave device upgrades the backup link to the temporary main link, takes over the function of the main link, and sends a link switching notification to the backup master device. When the backup master device receives the link switching notification and determines that the link switching conditions are met, it enables the backup link to communicate with the slave device and temporarily controls its own business. At this time, the backup master device is the control point of the slave device.

[0132] When the slave device communicates with the backup master device through the temporary master link, if the slave device determines that the main link is restored, the backup link is switched to the main link, and a link switching notification is sent to the main master device. When the main master device determines that it has received the link switching notification, it enables the main link to communicate with the slave device to switch back to the main link, the control device is switched from the backup master device to the main device, the temporary main link is downgraded to the backup link, and the backup master device is notified to end the temporary control. At this time, the master device is the control point of the slave device. It should be noted that the main master device and the backup master device are connected to the upstream network device through different uplinks. Therefore, when the main master device is abnormal, the slave device switches the current communication link to the backup link. After the backup master device enables the backup link, the slave device will send the message to the backup master device through the backup link, and then the backup master device can forward the message to the upstream network device through the corresponding uplink. The backup master device can also forward the message sent by the upstream network device through the uplink to the slave device.

[0133] In actual applications, the communication protocol between the slave device and the master device can be set according to the actual application scenario, such as easymesh or CAPWAP.

[0134] The following describes the information synchronization between the active master device and the standby master device.

[0135] The slave device and the master device interact with each other through the main link or the backup link. If the main master device and the backup master device switch, the business-related information between the main master device and the backup master device needs to be synchronized, so that the normal interaction of the business will not be affected when the link is switched, and seamless switching of the business is achieved.

[0136] First, the master device and the slave device can discover each other through a specified protocol and establish a two-way device communication channel, and can synchronously receive the device status information of the slave device through the device communication channel. The specified protocol can be set according to the actual application scenario and is not limited here.

[0137] The master device currently communicating with the slave device is the control point of the slave device. When the control point of the slave device determines that it has received the device status information of the slave device, it synchronizes the device status information to another master device. In one embodiment, the control point receives the device status information of the slave device in real time and synchronizes the device status information to another master device in real time.

[0138] In one implementation, if the two downstream PON interfaces are located in different master devices, the active master device establishes a device communication channel with the standby master device; when one master device determines that it has received device status information from a slave device, it can synchronize the device status information to another master device through the device communication channel.

[0139] Furthermore, if the device communication channel between the active master device and the backup master device is disconnected, a master device (e.g., the active master device) continues to provide management and control for the connected slave devices and stores the received device status information. When it is determined that the device communication channel is restored, the stored device status information is synchronized in batches to the master device (e.g., the backup master device).

[0140] Optionally, it may be preset that the communication configuration information of the active master device is used as a reference. Therefore, only when the communication configuration information of the active master device is updated, it may be synchronized to the standby master device.

[0141] Furthermore, if the device communication channel between the active master device and the standby master device is disconnected and the communication configuration information of the active master device changes, when it is determined that the device communication channel is restored, it is synchronized to the standby master device. When the standby master device enables the connected communication link, the service can be seamlessly switched.

[0142] Furthermore, there may be multiple backup links, and when one backup link is abnormal, it is possible to switch to other backup links.

[0143] In the disclosed embodiment, a main link and a backup link for connecting a master device and a slave device in a FTTR network system can be created through a downlink PON interface of a master device, an input interface in an optical splitter, and an uplink PON interface of a slave device. The main link and the backup link can be connected to the same master device (i.e., a single-belonging mode), or can be connected to different master devices (i.e., a dual-belonging mode), and can be transferred through two input interfaces of a single optical splitter to achieve Type B mode protection, and can also be transferred through two optical splitters and respectively connected to two uplink PON interfaces of a slave device to achieve Type C mode protection, so that when an abnormality occurs in the main link, the backup link can be quickly switched to the backup link, the optical link has high communication quality, and the switching delay is small, which reduces the problem of service interruption, and can meet the network requirements of high reliability without sacrificing wireless performance.

[0144] Furthermore, by pre-creating a wireless communication link and directly switching to the wireless communication link when link switching is required, the switching speed of switching to the wireless communication link is improved, and the service interruption problem can be reduced without adding additional costs.

[0145] Furthermore, when the dual-home mode is adopted, the risk caused by the failure of a main device can be reduced, and information synchronization can be performed between the main device and the backup device, so that when the link is switched, service interaction can be carried out through synchronization information to achieve seamless switching of services.

[0146] Based on the same inventive concept, a device for data transmission is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the above-mentioned device and equipment is similar to a method for data transmission, the implementation of the above-mentioned device can refer to the implementation of the method, and the repeated parts will not be repeated. The device can be applied to electronic devices. The present disclosure does not limit the type of electronic devices. It can be any type of device suitable for implementation, such as terminal devices and servers, etc. The present disclosure will not repeat this. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by the processor of the electronic device in which it is located reading the corresponding computer program instructions in the non-volatile memory into the internal memory for execution.

[0147] See also Fig.10 FIG. 1 is a block diagram of a data transmission device according to an embodiment of the present disclosure. In some implementations, the data transmission device according to the present disclosure includes: The first communication unit 1001 is used to communicate with the slave device through the primary link when the master device is the primary master device and the primary link is normal; The second communication unit 1002 is used to communicate with the slave device through the backup link when the master device is a backup master device and the primary link is abnormal; The active master device and the standby master device are the same master device or different master devices in the FTTR network system.

[0148] See also Fig.11 FIG. 1 is a block diagram of another data transmission device in an embodiment of the present disclosure. In some implementations, the data transmission device in the example of the present disclosure includes: The first communication unit 1101 is used to communicate with the primary master device through the primary link when the primary link is normal; The second communication unit 1102 is used to communicate with the backup master device through the backup link when the primary link is abnormal; The active master device and the standby master device are the same master device or different master devices in the FTTR network system.

[0149] The data transmission method in the embodiment of the present disclosure is applied to the FTTR network system, which includes a master device and a slave device, the master device is used to connect to the upstream network based on optical fiber, the slave device is used to provide access services to the terminal device, and there are a main link and a backup link for optical fiber communication between the master device and the slave device. The method includes: when the main link is normal, the master device and the slave device communicate through the main link; when the main link is abnormal, the master device and the slave device communicate through the backup link. In this way, when the main link is abnormal, it can be switched to the backup link in time, reducing the delay of link switching, thereby reducing the problem of service interruption.

[0150] In an embodiment of the present disclosure, an electronic device is also provided, including: Processor; and The memory stores computer instructions, where the computer instructions are used to enable the processor to execute the method of any of the above embodiments.

[0151] In an embodiment of the present disclosure, a computer-readable storage medium is provided, which stores computer instructions, and the computer instructions are used to enable a computer to execute a method in any of the above-mentioned embodiments.

[0152] The embodiments of the present disclosure also provide a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device is used to execute the method of any of the above-mentioned embodiments.

[0153] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of protection of the present application.

Claims

1. A fiber-to-room FTTR network system, characterized in that: include: A master device and a slave device, wherein the master device is used to connect to an upstream network based on optical fiber, and the slave device is used to provide access services to a terminal device, wherein: There are a main link and a backup link for optical fiber communication between the master device and the slave device; When the primary link is normal, the primary device communicates with the slave device through the primary link; When the primary link is abnormal, the primary device communicates with the secondary device through the backup link.

2. The system according to claim 1, characterized in that The master device is configured with a first downstream passive optical network PON interface, and the slave device is configured with a first upstream PON interface; The primary link comprises an optical link between the first downstream PON interface and the first upstream PON interface; The backup link includes a wireless communication link between the master device and the slave device.

3. The system according to claim 1, characterized in that The master device is configured with a first downstream PON interface and a second downstream PON interface; The primary link comprises an optical link between the first downstream PON interface and the slave device; The backup link includes an optical link between the second downstream PON interface and the slave device.

4. The system according to claim 1, characterized in that The master device includes a primary master device and a backup master device, the primary master device is configured with a first downstream PON interface, the backup master device is configured with a second downstream PON interface, and the slave device is configured with a first upstream PON interface and a second upstream PON interface; The primary link comprises an optical link between the first downstream PON interface and the first upstream PON interface; The backup link includes an optical link between the second downstream PON interface and the first upstream PON interface.

5. The system according to claim 4, characterized in that The slave device is used to: when detecting that the primary link is abnormal, send a link switching notification to the backup master device; The backup master device is used to: upon receiving the link switching notification, enable the backup link to communicate with the slave device.

6. The system according to claim 4 or 5, characterized in that: A device communication channel is established between the active master device and the standby master device; The device communication channel is used to synchronize device status information of the slave device between the active master device and the standby master device; The device status information is applied to the service interaction between the active master device and the standby master device and the slave device respectively.

7. The system according to claim 4 or 5, characterized in that: A device communication channel is established between the active master device and the standby master device; The active master device is used to: when determining that the configuration synchronization condition is met, synchronize communication configuration information to the standby master device through the device communication channel; The communication configuration information is applied to the service interaction between the active master device and the standby master device and the slave device respectively.

8. The system according to claim 3 or 4, characterized in that: The FTTR network system further comprises an optical splitter; the optical splitter comprises a first input interface, a second input interface and an output interface, the first input interface is connected to the first downstream PON interface, the second input interface is connected to the second downstream PON interface, and the output interface is connected to the slave device; The primary link passes through the first input interface and the output interface of the optical splitter; The backup link passes through the second input interface and the output interface of the optical splitter.

9. The system according to claim 3 or 4, characterized in that: The FTTR network system further comprises a first optical splitter and a second optical splitter; the first optical splitter comprises a first input interface and a first output interface, and the second optical splitter comprises a second input interface and a second output interface; the slave device is configured with a first upstream PON interface and a second upstream PON interface; The first input interface is connected to the first downstream PON interface, and the first output interface is connected to the first upstream PON interface; the second input interface is connected to the second downstream PON interface, and the second output interface is connected to the second upstream PON interface; The primary link passes through the first input interface, the first output interface and the first uplink PON interface; The backup link passes through the second input interface, the second output interface and the second upstream PON interface.

10. A method for data transmission, characterized in that: Applied to a master device of an FTTR network system according to any one of claims 1 to 9, the method comprising: In the case where the master device is a master master device, when the master link is normal, communicating with the slave device through the master link; In the case where the master device is a backup master device, when the primary link is abnormal, communicating with the slave device through the backup link; The active master device and the standby master device are the same master device or different master devices in the FTTR network system.

11. A method for data transmission, characterized in that: Applied to a slave device of an FTTR network system according to any one of claims 1 to 9, the method comprising: When the primary link is normal, communicating with the primary master device through the primary link; When the main link is abnormal, communicating with the backup main device through the backup link; The active master device and the standby master device are the same master device or different master devices in the FTTR network system.

12. A data transmission device, characterized in that: A main device applied to the FTTR network system according to any one of claims 1 to 9, the device comprising: a first communication unit, configured to communicate with the slave device through the primary link when the master device is a primary master device and the primary link is normal; A second communication unit is used for communicating with the slave device through the backup link when the master device is a backup master device and the primary link is abnormal; The active master device and the standby master device are the same master device or different master devices in the FTTR network system.

13. A data transmission device, characterized in that: A slave device applied to the FTTR network system according to any one of claims 1 to 9, the device comprising: A first communication unit, configured to communicate with the primary master device through the primary link when the primary link is normal; A second communication unit, configured to communicate with the backup master device through the backup link when the primary link is abnormal; The active master device and the standby master device are the same master device or different master devices in the FTTR network system.

14. An electronic device, characterized in that: include: processor; as well as A memory storing computer instructions, wherein the computer instructions are used to enable the processor to execute the method according to any one of claims 10 or 11.

Citation Information

Patent Citations

  • Method for synchronizing information between master equipment and standby equipment and server

    CN101902360A

  • Uplink channel fault detection system of passive optical network

    CN113660555A

  • Method, device and system for measuring link state and storage medium

    CN115243122A

  • OLT (Optical Line Terminal) state switching method and system for dual-homing PON (Passive Optical Network) protection system and OLT

    CN115250388A

  • OLT (Optical Line Terminal) dual-homing service rapid recovery method and device

    CN117834393A