Dual-homing voice service recovery method and device

By using the virtual routing redundant protocol VRRP and ARP table entry update method in the OLT dual-home protection scenario, the problem of long voice service recovery time during PON link switching is solved, and rapid recovery and resource conservation are achieved.

CN119211112AActive Publication Date: 2024-12-27FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411307971.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2024-12-27
Estimated Expiration
2044-09-19

AI Technical Summary

Technical Problem

In the OLT dual-home protection scenario, the user's voice service cannot be quickly restored during PON link switching, resulting in the downlink service being unable to be quickly restored.

Method used

By deploying the virtual routing redundant protocol VRRP on the passive optical network PON link in advance, and dynamically adjusting the VRRP protocol priority of the main device and the backup device during PON link switching, synchronously updating the ARP table entries to ensure that voice services are on the chain Quick recovery after road switching.

Benefits of technology

It realizes the rapid recovery of unicast services during PON link switching, avoids user service changes brought about by gateway device switching, improves the convenience of user-side service planning and saves resource consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211112A_ABST
    Figure CN119211112A_ABST
Patent Text Reader

Abstract

The invention discloses a dual-homing voice service recovery method and a dual-homing voice service recovery device. The dual-homing voice service recovery method comprises the following steps of: configuring a virtual routing redundancy protocol (VRRP) deployed on main equipment and standby equipment on a passive optical network (PON) link in advance, and planning a voice service; the method comprises the following steps: when a master device and a standby device on a PON link are triggered to be switched, dynamically switching the states of the master device and the standby device by dynamically adjusting the priority of a VRRP protocol on the master device and the standby device, and synchronously finishing updating of a user side voice service address resolution protocol (ARP) table item on the master device and the standby device so as to recover a voice service. According to the invention, when the PON link is switched, the unicast service can be quickly recovered, and meanwhile, user service transformation caused by switching of the gateway equipment after the link is switched is avoided, so that user side service planning is more convenient, and resource consumption is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of PON protection, and in particular to a dual-home voice service recovery method and device. Background Art

[0002] At present, OLT is increasingly showing its advantages in user networking due to its advantages such as high bandwidth, low latency and low power loss. With the development of network flattening, OLT is becoming more and more common in networking applications of major operators, industry networks, etc., especially in application scenarios such as industrial PON and POL government and enterprise. However, with the widespread application of OLT in fields such as industrial PON, the security and reliability of services have also attracted much attention from customers. Therefore, mainstream operators have proposed a series of standards to add optical link protection to the PON network to enhance the data reliability of the entire access part. PON protection is the main solution to ensure the security of the optical link inside the OLT. The G.984.1 standard specifies four types of dual PON protection model configurations. Type B and Type C are widely used in various PON protection networking scenarios.

[0003] In the mainstream application scenario of OLT access, a single OLT is connected to the user, and there is no business intersection between the OLTs. Therefore, OLT plays a Layer 2 role in most applications, and does not need to forward Layer 3 services except for management. However, in a few scenarios, for convenience or security reasons, OLT turns on DHCP relay or requires internal access without going through the upper-layer gateway. At this time, OLT must become the gateway of the CPE device connected to it; at the same time, based on the isolation characteristics within PON, even the ARP proxy function is turned on. OLT acts as a forwarding node for unicast services such as voice and participates in Layer 3 routing forwarding. With the opening of services that are sensitive to recovery time, single-home protection within PON is required to be deployed in the above applications. Because of the limitations of single-home, the network is then upgraded to dual-home, which causes the problem that the user-side service gateway appears on different OLTs.

[0004] On the other hand, in the TypeB PON protection application scenario, the OLT operates in a Layer 3 service scenario. After the active and standby OLTs complete the Layer 2 link recovery steps such as terminal configuration synchronization, NAT table pre-configuration, VRRP active and standby switching, PON port optical switching, and ONU re-registration through uplink communication, the user's voice service uplink can be normally transferred to the new OLT, and important messages such as voice signaling can be sent to the uplink server through the OLT. However, when the server return message reaches OLT-B, because the ARP table of OLT-B has not been updated and ARP learning has not been completed, this will cause the loss of downstream voice data. Often, the update time of this ARP is in the order of minutes. Therefore, when the OLT operates in a Layer 3 forwarding scenario, the downstream service cannot be quickly restored after this TypeB protection switching occurs.

[0005] Therefore, how to quickly restore user voice or broadband services when the PON link is switched in the OLT dual-home protection scenario is a technical problem that needs to be solved urgently. Summary of the invention

[0006] The main purpose of the present invention is to provide a dual-home voice service recovery method and device, which can quickly restore unicast services when the PON link is switched, and at the same time avoid user service changes caused by the switching of gateway equipment after the link is switched, making user-side service planning more convenient and saving resource consumption.

[0007] In a first aspect, the present application provides a dual-homing voice service recovery method, wherein the method comprises the steps of:

[0008] Pre-configure the virtual routing redundancy protocol VRRP deployed on the master and backup devices on the passive optical network PON link and plan the voice service;

[0009] When the switchover between the master device and the backup device on the PON link is triggered, the priority of the VRRP protocol on the master device and the backup device is dynamically adjusted to dynamically switch the status of the master device and the backup device, and the user-side voice service address resolution protocol ARP table entry is synchronously updated on the master device and the backup device to restore the voice service.

[0010] In combination with the above-mentioned first aspect, as an optional implementation method, the priorities of the VRRP protocols of the master device and the backup device are initialized. When the VRRP protocol master device switches to the backup device, the priority of the VRRP protocol of the master device is adjusted to a first set priority, and the priority of the VRRP protocol of the backup device is adjusted to a second set priority, so as to switch the status of the master device and the backup device, wherein the value corresponding to the second priority is greater than the value corresponding to the first priority.

[0011] In combination with the first aspect, as an optional implementation, when the master device detects a PON link failure, based on the planned voice service, the sub-virtual local area network subvlan associated with the PON link is detected, and the relevant voice service ARP table entry is indexed through the subvlan;

[0012] Send a broadcast request of the status of the ARP table entries in the subvlan to the backup device through the uplink interface connected to the backup device;

[0013] When the standby device receives the ARP broadcast request message from the uplink port, it transparently transmits it to the user side based on the sub vlan, and after receiving the ARP request message, it uses the customer premises equipment CPE to reply the ARP reply message to the standby device;

[0014] The standby device completes the update of its own ARP table entry and sends the ARP response message back to the primary device;

[0015] When the master device receives the ARP message, it updates its own ARP and MAC address, updates the ARP entry mark, and stops sending broadcast ARP requests after confirming that the user has switched to the backup device.

[0016] In combination with the first aspect, as an optional implementation, after the VRRP protocol of the backup device is switched to the active VRRP protocol, a free ARP message is sent to the user side to inform the user side to update the ARP table entry.

[0017] In combination with the first aspect above, as an optional implementation method, VLAN aggregation is enabled on the primary device and the backup device and the corresponding sub vlan is configured as a voice service virtual LAN vlan;

[0018] Divide the network segments, add IP addresses, and configure VRRP protocol virtual IP addresses for the VLAN aggregation voice services of the primary and backup devices;

[0019] Add the VRRP protocol virtual router ID, protocol priority, and VRRP master and backup device priority during PON link protection switching for the master and backup devices.

[0020] In combination with the first aspect above, as an optional implementation method, VLAN aggregation is configured on the primary device and the backup device, and the VLAN aggregation and the subvlan are planned as a binding relationship;

[0021] Initialize the VRRP function and configure the VRRP protocol;

[0022] Establish a one-to-one binding relationship between the sub vlan and the VRRP protocol virtual IP.

[0023] In combination with the first aspect above, as an optional implementation method, the ARP proxy function is enabled on the primary device and the backup device respectively based on VLAN aggregation, and the ARP proxy in the same sub vlan is enabled on the primary device and the backup device.

[0024] In combination with the first aspect above, as an optional implementation method, the PON link and the subvlan are planned as a binding relationship, and the user voice service network segment is divided according to the subvlan area, so that the user voice IP address segment is consistent in the same subvlan.

[0025] In combination with the first aspect above, as an optional implementation method, respective NAT forwarding tables are configured on the primary device and the backup device respectively;

[0026] Through the NAT forwarding table, the user-side source IP is replaced with the respective interface IP addresses under the VLAN aggregation, and when the voice service is switched, the uplink and downlink voice services are forwarded.

[0027] In a second aspect, the present application provides a dual-homing voice service recovery device, the device comprising:

[0028] A configuration module, which is used to pre-configure the virtual routing redundancy protocol VRRP deployed on the main device and the backup device on the passive optical network PON link and plan the voice service;

[0029] The processing module is used to dynamically switch the status of the main device and the backup device by dynamically adjusting the priority of the VRRP protocol on the main device and the backup device when the switchover between the main device and the backup device on the PON link is triggered, and synchronously complete the update of the user-side voice service address resolution protocol ARP table item on the main device and the backup device to restore the voice service.

[0030] The present application provides a dual-homing voice service recovery method and device, wherein the method includes the steps of: pre-configuring the virtual routing redundancy protocol VRRP deployed on the main device and the backup device on the passive optical network PON link and planning the voice service; when the main device and the backup device on the PON link are switched, the priority of the VRRP protocol on the main device and the backup device is dynamically adjusted to dynamically switch the status of the main device and the backup device, and the user-side voice service address resolution protocol ARP table entry is synchronously updated on the main device and the backup device to restore the voice service. The present application can quickly restore the unicast service when the PON link is switched, and at the same time avoid the user service change caused by the switching of the gateway device after the link is switched, making the user-side service planning more convenient and saving resource consumption.

[0031] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0033] Figure 1 A flow chart of a dual-homing voice service recovery method provided in an embodiment of the present application;

[0034] Figure 2 A schematic diagram of a dual-homing voice service recovery device provided in an embodiment of the present application;

[0035] Figure 3 A schematic diagram of automatic switching of voice service links provided in an embodiment of the present application;

[0036] Figure 4 A schematic diagram of a dual-homing scenario configuration provided in an embodiment of the present application;

[0037] Figure 5 This is an OLT collaboration timing diagram provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0039] Furthermore, the drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. Some of the blocks shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities.

[0040] The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.

[0041] Reference Figure 1 , Figure 1 FIG. 1 is a flow chart of a dual-homing voice service recovery method provided by the present invention. Figure 1 As shown, the method comprises the steps of:

[0042] Step S101: Pre-configure the virtual routing redundancy protocol VRRP deployed on the master device and the backup device on the passive optical network PON link and plan the voice service.

[0043] Specifically, the virtual routing redundancy protocol VRRP deployed on the master and backup devices on the passive optical network PON link is configured in advance and before the voice service is planned, including: enabling VLAN aggregation on the master and backup devices and configuring the corresponding sub vlan as the voice service virtual LAN vlan; dividing the network segments of the VLAN aggregation voice services of the master and backup devices, adding IP addresses and configuring the VRRP protocol virtual IP address; adding the VRRP protocol virtual router ID, protocol priority and VRRP master and backup device priority during PON link protection switching.

[0044] Specifically, when the Type B service protection physical link is deployed, the physical connectivity of the uplink between the active and standby OLTs is ensured, and the unicast and broadcast channels are normal (that is, the Type B protection link needs to be deployed: the uplink link layer 2 between OLT-A (active device) and OLT-B (standby device) is unobstructed and reliable, ensuring that the switching information and VRRP protocol messages between the two OLTs are reachable, and the continuity of the Type B protection link: the physical links of users with the same service are planned to be neat and not scattered, ensuring the efficiency of the overall service migration), the super vlan is enabled on the active and standby OLTs and the corresponding sub vlan is configured as the voice service vlan, the uplink port association binding is completed, and then the active and standby OLT super vlan voice service network segment division, IP address addition, and VRRP protocol virtual IP address configuration are completed, and the active and standby OLTs respectively complete the VRRP protocol virtual router ID, protocol priority, and VRRP active and standby priority addition dedicated to Type B link protection switching. It should be explained that Type B is dual-attribution, link switching is Link Switching, Virtual Router Redundancy Protocol (VRRP) is Virtual Router Redundancy Protocol, and OLT is Optical Line Terminal.

[0045] Among them, the virtual routing redundancy protocol VRRP deployed on the main device and the backup device on the passive optical network PON link is configured in advance, specifically: VLAN aggregation is configured on the main device and the backup device, and the VLAN aggregation and subvlan are planned as a binding relationship; the VRRP function is initialized and the VRRP protocol is configured; a one-to-one binding relationship between the sub vlan and the VRRP protocol virtual IP is established.

[0046] In one embodiment, it is necessary to enable VRRP and ARP proxy functions on two OLTs that deploy Type B protection switching application scenarios at the same time: ① Configure super vlan on OLT-A and OLT-B, and configure super vlan to be in the same network segment; ② Initialize the VRRP function, complete the basic configuration of the VRRP protocol and reach consensus; ③ Form a one-to-one binding relationship based on the sub vlan and the VRRP protocol virtual IP to ensure that only one group of VRRP master and standby routers is formed in each sub vlan; ④ Enable the ARP proxy function on the two OLTs based on the super vlan, and enable the ARP proxy in the same sub vlan on the master and standby OLTs; ⑤ Configure the VRRP switching priority, which is specifically applied to PON link switching, and the master OLT completes the notification when the link is switched.

[0047] Optionally, configure super vlan on OLT-A and OLT-B, enable ARP proxy and VRRP functions, plan the super vlan network segment and sub vlan as a binding relationship, and enable ARP proxy in the same sub vlan on the active and standby OLTs. At the same time, form a one-to-one binding relationship based on the sub vlan and the VRRP protocol virtual IP to ensure that there is only one set of VRRP active and standby routers in each sub vlan.

[0048] Configure super vlan on OLT-A and OLT-B, and enable ARP proxy and VRRP functions, plan the super vlan network segment and sub vlan as a binding relationship, and enable ARP proxy in the same sub vlan on the active and standby OLTs. At the same time, a one-to-one binding relationship is formed based on the sub vlan and the VRRP protocol virtual IP to ensure that there is only one set of VRRP active and standby routers in each sub vlan. It needs to be explained that the ARP proxy function is enabled: OLT-A and OLT-B both need to enable the ARP proxy function globally, and for Type B voice service scenarios, the proxy needs to be enabled in the sub vlan; at the same time, the broadcast suppression is released to an appropriate value on the uplink port between the two OLTs to ensure that the instantaneous ARP broadcast can pass smoothly when the PON link is switched. It is understandable that the benefit of enabling the ARP proxy and VRRP functions is that after the internal users of the OLT enable voice services, the ARP proxy is usually enabled on the OLT to solve the problem of voice communication among users within the same OLT. When making calls within the same OLT, data interaction can be completed with the help of the OLT, without the need to send data packets to a higher-level gateway, resulting in low latency and no need to waste bandwidth resources of the OLT upstream or even higher layers.

[0049] Among them, the voice services on the main equipment and backup equipment on the passive optical network PON link are planned in advance, including: planning the PON link and subvlan as a binding relationship, and dividing the user voice service network segment according to the subvlan area, so that the user voice IP address network segment is consistent in the same sub vlan.

[0050] Specifically, it is necessary to plan voice services from the overall perspective of the OLT: plan the PON protection link and sub-vlan as a binding relationship to facilitate voice service protection switching within the entire sub-vlan as much as possible, and divide the user voice service network segment according to the sub-vlan area to ensure that the user voice IP address network segment is consistent in the same sub-vlan so that the same VRRP virtual gateway can be planned in its upstream direction to avoid the CPU load and physical link and slot bandwidth consumption caused by ARP broadcasts in each sub-vlan in the super vlan when the PON link switching occurs inside the OLT.

[0051] In one embodiment, NAT pre-configuration information needs to be planned on OLT-A and OLT-B. Different NAT hardware forwarding tables are initialized on the two OLT-A and OLT-B for the user-side voice service IP address, and the NAT forwarding source address is the same as the VRRP interface address of OLT-A and OLT-B, that is, the IP address of each super vlan. When the voice service is forwarded upward through the OLT, NAT address conversion is required to ensure that when the voice service is sent to the gateway through different OLTs, the server can correctly forward the downlink message to the specified OLT on the return trip, so as to avoid the downlink being unable to return to the user correctly after being routed to the original OLT.

[0052] For ease of understanding, an example is given. Separate NAT forwarding tables are configured on the two OLTs. After the upstream service reaches the OLT, the source IP of the upstream voice data message is replaced with the IP address of each OLT's own supervlan. After the downstream data reaches the OLT's upstream switch, the destination IP is actually the source IP address of the two OLTs. After reaching the OLT, the destination IP is restored to the user-side IP address of the original data message through the NAT forwarding table configured by each OLT, thus completing the upstream and downstream forwarding logic of the data message.

[0053] Step S102: When the switchover between the master device and the backup device on the PON link is triggered, the priority of the VRRP protocol on the master device and the backup device is dynamically adjusted to dynamically switch the status of the master device and the backup device, and the user-side voice service address resolution protocol ARP table entry is synchronously updated on the master device and the backup device to restore the voice service.

[0054] Specifically, the priorities of the VRRP protocols of the master device and the backup device are initialized. When the VRRP protocol master device switches to the backup device, the priority of the VRRP protocol of the master device is adjusted to a first set priority, and the priority of the VRRP protocol of the backup device is adjusted to a second set priority, so as to switch the status of the master device and the backup device, wherein the value corresponding to the second priority is greater than the value corresponding to the first priority.

[0055] For easy understanding, an example is given. OLT-A needs to notify the VRRP protocol of the PON link switching notification. After receiving the PON link switching notification, OLT-B also completes the synchronization notification to the VRRP protocol. The VRRP protocol specifically reserves the priority processing method for the Type B protection scenario: the default priority of the VRRP protocol is 200 during initialization, and the master-slave status is obtained from the PON protection switching (when confirming the master link, the VRRP priority + 20, that is, 220). When the Type B protection switching occurs, when the VRRP protocol switches from the master to the backup, the VRRP master priority is reduced by 20, that is, it is restored to 200; and when the backup OLT-B receives the switching notification, it triggers the VRRP protocol priority to increase by 20 to 220. When the VRRP protocol priorities of the master and backup OLTs are automatically changed, the VRRP master and backup routers will then complete the Master and Slave status negotiation, and then complete the virtual gateway notification.

[0056] For example, the active and standby OLT-A and OLT-B have their own default priorities based on the corresponding VLAN services. By default, the active OLT-A has a higher priority. When OLT-A needs to perform PON protection switching to OLT-B, the internal system tasks of OLT-A notify the VRRP protocol module through messages to adjust a low priority. At this time, OLT-B finds that its priority is higher than the priority of the original OLT-A, and completes the transition from the Slave state to the Master state. At the same time, it notifies the ONU user virtual network manager that the ARP has been switched, and the user-side upstream voice data is automatically switched to the new gateway OLT-B.

[0057] It is understandable that the VRRP protocol priority will automatically adjust its respective protocol priority when the PON link protection is switched, so as to realize the dynamic switching of the VRRP protocol active and standby states of OLT-A and OLT-B and complete the refresh of the user-side voice service gateway.

[0058] Among them, the user-side voice service address resolution protocol ARP table entry update is synchronously completed on the main device and the backup device, specifically: when the main device detects a PON link failure, based on the planned voice service, the sub-virtual local area network subvlan associated with the PON link is detected, and the relevant voice service ARP table entry is indexed through the subvlan; the status of the ARP table entry in the subvlan is sent to the backup device through the uplink interface connected to the backup device. A broadcast request is sent to the backup device through the uplink interface connected to the backup device; when the backup device receives the ARP broadcast request message from the uplink port, it is transparently transmitted to the user side based on the sub vlan, and after receiving the ARP request message, the customer premises equipment CPE is used to reply the ARP reply message to the backup device; the backup device completes the update of its own ARP table entry, and sends the ARP response message back to the main device; when the main device receives the ARP message, it updates its own ARP and MAC address, updates the ARP table entry tag, and stops sending broadcast ARP requests after confirming that the user has switched to the backup device.

[0059] For ease of understanding, an example is given. When OLT-A notifies OLT-B of a specific PON link switching notification, OLT-A needs to check the sub vlan associated with the PON link according to the service plan, and index the relevant ARP information through the sub vlan; then OLT-A sends a broadcast request for the ARP table (reachable state) in the sub vlan to the OLT-B device through the uplink port connected to OLT-A and OLT-B. After the OLT-B device receives the ARP broadcast request message from the uplink port, it is transparently transmitted to the user side based on the sub vlan. After receiving the ARP request message, the user-side CPE device replies with an ARP Reply message is sent to OLT-B, OLT-B completes the update of its own ARP table entry, and sends the ARP response message back to the uplink port of OLT-A. When the uplink port of OLT-A receives this ARP message, it will complete the update of its own ARP and MAC address, and complete the ARP table entry marking, confirming that the user has switched to the new OLT-B device, and will no longer occupy the OLT-A uplink broadcast channel to send the user's ARP request to OLT-B.

[0060] It should be noted that when switching links (i.e., primary to backup), the dynamic ARP table entries are updated. Otherwise, the service cannot be restored and a single-channel situation occurs. Therefore, it is understandable that when switching, the ARP table entries need to be updated synchronously to avoid a single-channel situation and quickly restore the service.

[0061] In one embodiment, OLT-A, as the broadcast decision-maker, stops broadcasting ARP request messages to OLT-B after ensuring that the ARP information on the user side is updated to the uplink port (connected to OLT-B), so as to avoid OLT-B not updating ARP in time and reduce the consumption of internal communication of OLT. For users who are offline for a long time and have no response, OLT-A requests 3 times by default and uses the aging mechanism to quickly complete ARP aging and avoid sending broadcast requests repeatedly.

[0062] In summary, the present application plans the user-side voice service as follows: when Type B protection switching occurs, in order to ensure that the upstream voice service configuration is not reconfigured, the voice service configuration in the Type B protection scenario must be standardized, and the same virtual gateway can be configured for the single disk and PON port protected by the PON; another point is that the voice service can be divided based on the sub-vlan, and the ARP proxy can be configured in the VLAN to ensure that the internal communication of the OLT is normal while ensuring that the voice services in the same sub-vlan share a gateway, that is, the virtual gateway negotiated by the VRRP of the two active and standby OLTs associated with this super vlan. After completing this step, after the Type B protection switching occurs, the user-side voice service can be unaware of the changes in the PON link, avoiding the increase in operation and maintenance costs caused by service reconfiguration and the repeated data interaction within the PON caused by complex service configuration changes.

[0063] Fast switching of the active and standby states of the VRRP protocol on the TypeB active and standby OLTs: After the active OLT-A and standby OLT-B sense the internal PON link switching, they complete the VRRP Master and Slave state negotiation based on the protocol priority of the local VRRP associated TypeB protection, and complete the VRRP free ARP announcement in the sub vlan. At this point, after the TYPEBPON link switching inside the OLT is completed, the gateway switching of the voice service is automatically completed.

[0064] Complete NAT table pre-configuration on Type B active and standby OLTs: After planning the voice service, complete hardware NAT forwarding table configuration on OLT-A and OLT-B respectively, mainly replacing the user-side source IP with the IP address of each interface under the super vlan, so that after voice service switching occurs, different OLTs forward upstream voice services to their respective gateways (the same gateway in most cases).

[0065] Dynamic update of ARP for voice users on active and standby OLT-A and OLT-B: When the PON link of OLT-A is switched, the ARP "last words" broadcast notification request is sent on the uplink port associated with OLT-B according to the sub vlan associated with the PON link path. After the sending is completed, the ARP table of all users in this sub vlan is deleted (based on the judgment of the logical port number of the ARP table). OLT-B receives the ARP request message from the user side and completes the transparent transmission in the sub vlan. After receiving the ARP request message, the user side responds in time and notifies it upward. OLT-B completes the learning and update of the ARP table items, and informs OLT-A of the responded ARP message through the uplink port connected to OLT-A, completing the update of the ARP table on OLT-A. In actual applications, if there are many ARPs in the sub-vlan, the "last words" battle line can be extended. When receiving the ARP switch to the uplink port associated with the sub-vlan, the ARP table of OLT-A can be deleted and the ARP broadcast request can be stopped. In addition, OLT-A can actually choose the fast notification and advance period notification methods to achieve the purpose of fast learning of ARP on OLT-B.

[0066] Reference Figure 2 , Figure 2 FIG. 1 is a schematic diagram of a dual-homing voice service recovery device provided by the present invention. Figure 2 As shown, the device comprises:

[0067] Configuration module 201: It is used to pre-configure the virtual routing redundancy protocol VRRP deployed on the main device and the backup device on the passive optical network PON link and plan the voice service.

[0068] Processing module 202: It is used to dynamically switch the status of the main device and the backup device by dynamically adjusting the priority of the VRRP protocol on the main device and the backup device when the switchover between the main device and the backup device on the PON link is triggered, and synchronously complete the user-side voice service address resolution protocol ARP table entry update on the main device and the backup device to restore the voice service.

[0069] Furthermore, in a possible implementation manner, the processing module is also used to initialize the priorities of the VRRP protocols of the master device and the backup device. When the VRRP protocol master device switches to the backup device, the priority of the VRRP protocol of the master device is adjusted to a first set priority, and the priority of the VRRP protocol of the backup device is adjusted to a second set priority, so as to switch the status of the master device and the backup device, wherein the value corresponding to the second priority is greater than the value corresponding to the first priority.

[0070] Further, in a possible implementation manner, the processing module is further configured to detect a sub-virtual local area network subvlan associated with the PON link based on a planned voice service when the master device detects a PON link failure, and index a related voice service ARP table entry through the subvlan;

[0071] Send a broadcast request of the status of the ARP table entries in the subvlan to the backup device through the uplink interface connected to the backup device;

[0072] When the standby device receives the ARP broadcast request message from the uplink port, it transparently transmits it to the user side based on the sub vlan, and after receiving the ARP request message, it uses the customer premises equipment CPE to reply the ARP reply message to the standby device;

[0073] The standby device completes the update of its own ARP table entry and sends the ARP response message back to the primary device;

[0074] When the master device receives the ARP message, it updates its own ARP and MAC address, updates the ARP entry mark, and stops sending broadcast ARP requests after confirming that the user has switched to the backup device.

[0075] Furthermore, in a possible implementation manner, the processing module is further configured to send free ARP information to the user side to notify the user side to update the ARP table entry after the VRRP protocol of the backup device is switched to the active VRRP protocol.

[0076] Furthermore, in a possible implementation manner, the configuration module is further used to enable VLAN aggregation on the primary device and the backup device and configure the corresponding sub vlan as a voice service virtual local area network vlan;

[0077] Divide the network segments, add IP addresses, and configure VRRP protocol virtual IP addresses for the VLAN aggregation voice services of the primary and backup devices;

[0078] Add the VRRP protocol virtual router ID, protocol priority, and VRRP master and backup device priority during PON link protection switching for the master and backup devices.

[0079] Furthermore, in a possible implementation manner, the configuration module is further used to configure VLAN aggregation on the primary device and the backup device, and plan the VLAN aggregation and the subvlan as a binding relationship;

[0080] Initialize the VRRP function and configure the VRRP protocol;

[0081] Establish a one-to-one binding relationship between the sub vlan and the VRRP protocol virtual IP.

[0082] Furthermore, in a possible implementation manner, the configuration module is also used to enable the ARP proxy function on the primary device and the backup device respectively based on VLAN aggregation, and enable the ARP proxy in the same sub vlan on the primary device and the backup device.

[0083] Furthermore, in a possible implementation manner, the configuration module is also used to plan the PON link and the subvlan as a binding relationship, and divide the user voice service network segment according to the subvlan area, so that the user voice IP address network segment is consistent in the same sub vlan.

[0084] Further, in a possible implementation manner, the configuration module is further used to configure respective NAT forwarding tables on the primary device and the backup device respectively;

[0085] Through the NAT forwarding table, the user-side source IP is replaced with the respective interface IP addresses under the VLAN aggregation, and when the voice service is switched, the uplink and downlink voice services are forwarded.

[0086] Reference Figure 3 , Figure 3 FIG. 1 is a schematic diagram of automatic switching of voice service links provided by the present invention. Figure 3 As shown:

[0087] After Type B protection is deployed on OLT, after the optical path of OLT-A is switched to OLT-B, when the PON link switch is completed, the voice service link is automatically switched, and the service is quickly restored. Specifically:

[0088] After OLT-A finds that the optical path is abnormal (PON line card abnormality, PON port abnormality, etc.), it actively performs link switching and completes the physical link switching operation. After OLT-B receives the specific link switching information, it opens the corresponding optical path and completes the physical link establishment. VRRP on OLT-A synchronously completes the local priority minus 20 configuration. After OLT-B receives the corresponding PON link switching information, it retrieves the corresponding sub vlan and notifies the VRRP protocol to complete the local priority increase 20 configuration. By dynamically adjusting the VRRP priority, the Master state of OLT-A is changed to the Slave state, and OLT-B assumes the role of virtual gateway to complete the link switching. Subsequently, OLT-A adds the uplink port to the subvlan and notifies the ARP request to OLT-B. After receiving the ARP request, the user under OLT-B sends an ARP response to OLT-B. OLT-B completes ARP table learning and updating. After OLT-A receives the ARP table update (OLT-A and OLT-B are in a large Layer 2 network, the uplink is in the same subvlan, and the ARP message responded by the user side will be sent to OLT-A through OLT-B), it completes the tag update and stops broadcasting requests to OLT-B. OLT-A controls the broadcast strategy based on the actual situation, which can be fast or slow, or can be stopped periodically to save OLT internal communication resources. After the VRRP protocol completes the renegotiation of the master and backup routers, OLT-B becomes the new master VRRP-M and sends a free ARP to the user side to inform the user side to update the ARP table entry; the upstream voice traffic will be sent back to OLT-B, and then sent to the OLT gateway by OLT-B. When the downstream voice service reaches OLT-B, it finds that the ARP table has been learned, so the data is sent to the new link (the new link can be understood as after the Type B switchover, the optical splitter connected to OLT-A below will turn off the light, and the port of the service board corresponding to OLT-B will turn on the light, the ONU will complete the registration on OLT-B, and the physical link will be switched to OLT-B), so as to achieve the purpose of rapid data recovery.

[0089] Reference Figure 4 , Figure 4 FIG. 4 is a schematic diagram of a dual-homing scenario configuration provided by the present invention. Figure 4 As shown:

[0090] Figure 4 This section describes the prerequisite preparations that OLT-A and OLT-B need to complete before optical path switching in the OLT Type B protection scenario, including:

[0091] OLT-A and OLT-B enable the Type B PON link protection function, and OLT-A and OLT-B are physically connected to facilitate VRRP communication needs.

[0092] The active and standby OLTs complete the voice service configuration on the OLT, complete the service segment planning of each PON port, and synchronize the configuration data of supervlan and subvlan services.

[0093] Complete the user-side voice service configuration: including user-side IP address planning and gateway configuration.

[0094] Enable the ARP proxy function globally on the active and standby OLTs, and enable the sub-VLAN-based proxy function.

[0095] Complete the VRRP master and backup initialization configuration of OLT-A and OLT-B: complete the VRRP master and backup IP address configuration, virtual routing ID, protocol priority, etc.

[0096] Complete the NAT forwarding table configuration on the active and standby OLTs, and complete the hardware forwarding table planning for upstream and downstream service conversion.

[0097] Complete the VRRP priority adjustment policy setting when the PON link switches and bind the sub vlan to the VRRP uplink port.

[0098] After completing the above operations, the service configuration before switching from OLT-A to OLT-B is basically planned, and the prerequisite preparations for link switching service forwarding are also completed.

[0099] Reference Figure 5 , Figure 5 The OLT coordination timing diagram provided by the present invention is shown as follows: Figure 5 As shown:

[0100] After the PON link detection tasks of the two OLTs receive faults such as the uplink port and PON link, they complete the corresponding processing of the link path fault and notify the local VRRP task of PON_SWITCH_MSG. At the same time, they send a message to notify OLT-B to prepare for link switching and open the corresponding optical port of the PON service board to complete the preparation of the second-layer physical link.

[0101] After receiving PON_SWITCH_MSG, the VRRP task of OLT-A immediately switches the VRRP protocol state and sends a VRRP notification message to OLT-B; the VRRP task of OLT-B also receives the PON_SWITCH_MSG message and also switches the state.

[0102] OLT-A and OLT-B re-negotiate the master / slave status of the VRRP protocol. At this time, the internal PON links of OLT-A and OLT-B have been switched. After the VRRP re-negotiation is completed, OLT-B notifies the user side of the new virtual gateway.

[0103] After VRRP completes the negotiation, OLT-A will use the ARP task to respond to the ARP request in the corresponding subvlan, and the request message will be broadcast in the VLAN. At this time, because OLT-A and OLT-B are in the same Layer 2 network, after the user of OLT-B receives the request message, it will respond, and OLT-B will complete the learning of the ARP message. At the same time, after OLT-A receives the response, it will stop broadcasting the request.

[0104] To sum up, this application takes advantage of the three-layer forwarding characteristics of the OLT, moves the gateway downward, flattens the access network, and enables the ARP proxy to complete the exchange of three-layer unicast data such as voice and data between users within the OLT, saving network resources while avoiding the consumption of software and hardware resources on the aggregation layer equipment and links after the gateway is moved upward.

[0105] Applied to the scenario where OLT enables Type B link protection, it avoids user service changes caused by the switching of gateway devices after link switching, making user-side service planning more convenient. Unicast services such as user voice do not need to perceive changes in the PON link, and the gateway will not change as the OLT switches between A and B, which greatly facilitates operation and maintenance.

[0106] Inside the two OLTs of TYPE B protection switching, as the active / standby OLT switching action is triggered, OLT-A triggers the rapid update of ARP table entries inside the OLT according to its own user table, helping OLT B to quickly resume learning of ARP table entries, thereby achieving the effect of rapid recovery of unicast services such as voice.

[0107] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.

Claims

1. A dual-homing voice service recovery method, characterized in that: include: Pre-configure the virtual routing redundancy protocol VRRP deployed on the master and backup devices on the passive optical network PON link and plan the voice service; When the switchover between the master device and the backup device on the PON link is triggered, the priority of the VRRP protocol on the master device and the backup device is dynamically adjusted to dynamically switch the status of the master device and the backup device, and the user-side voice service address resolution protocol ARP table entry is synchronously updated on the master device and the backup device to restore the voice service.

2. The method according to claim 1, characterized in that When the switching between the master device and the backup device on the PON link is triggered, the priority of the VRRP protocol on the master device and the backup device is dynamically adjusted to dynamically switch the status of the master device and the backup device, including: Initialize the priorities of the VRRP protocol of the master device and the backup device. When the VRRP protocol master device switches to the backup device, adjust the priority of the VRRP protocol of the master device to a first set priority, and adjust the priority of the VRRP protocol of the backup device to a second set priority, so as to switch the status of the master device and the backup device, wherein the value corresponding to the second priority is greater than the value corresponding to the first priority.

3. The method according to claim 1, characterized in that include: The synchronously completing the updating of the user-side voice service address resolution protocol ARP table entry on the main device and the backup device includes: When the master device detects a PON link failure, based on the planned voice service, it detects the sub-virtual local area network subvlan associated with the PON link, and indexes the relevant voice service ARP table entry through the subvlan; Send a broadcast request of the status of the ARP table entries in the subvlan to the backup device through the uplink interface connected to the backup device; When the standby device receives the ARP broadcast request message from the uplink port, it transparently transmits it to the user side based on the sub vlan, and after receiving the ARP request message, it uses the customer premises equipment CPE to reply the ARP reply message to the standby device; The standby device completes the update of its own ARP table entry and sends the ARP response message back to the primary device; When the master device receives the ARP message, it updates its own ARP and MAC address, updates the ARP entry mark, and stops sending broadcast ARP requests after confirming that the user has switched to the backup device.

4. The method according to claim 3, characterized in that: Also includes: When the VRRP protocol of the backup device is switched to the active VRRP protocol, it sends free ARP information to the user side to inform the user side to update the ARP table entry.

5. The method according to claim 1, characterized in that Before the virtual routing redundancy protocol VRRP deployed on the master device and the backup device on the passive optical network PON link is configured in advance and the voice service is planned, it includes: Enable VLAN aggregation on the primary and backup devices and configure the corresponding sub-VLAN as the voice service virtual LAN VLAN; Divide the network segments, add IP addresses, and configure VRRP protocol virtual IP addresses for the VLAN aggregation voice services of the primary and backup devices; Add the VRRP protocol virtual router ID, protocol priority, and VRRP master and backup device priority during PON link protection switching for the master and backup devices.

6. The method according to claim 1, characterized in that The pre-configuration of the virtual routing redundancy protocol VRRP deployed on the master device and the backup device on the passive optical network PON link includes: Configure VLAN aggregation on the primary and backup devices, and plan the VLAN aggregation and subvlan as a binding relationship; Initialize the VRRP function and configure the VRRP protocol; Establish a one-to-one binding relationship between the sub vlan and the VRRP protocol virtual IP.

7. The method according to claim 6, characterized in that Also includes: The ARP proxy function is enabled on the primary and backup devices based on VLAN aggregation, and the ARP proxy in the same sub-VLAN is enabled on the primary and backup devices.

8. The method according to claim 1, characterized in that The pre-planning of the voice services on the main device and the backup device on the passive optical network PON link includes: Plan the PON link and subvlan as a binding relationship, and divide the user voice service network segment according to the subvlan area so that the user voice IP address network segment is consistent in the same sub vlan.

9. The method according to claim 8, characterized in that Also includes: Configure the NAT forwarding table on the primary and backup devices respectively; Through the NAT forwarding table, the user-side source IP is replaced with the respective interface IP addresses under the VLAN aggregation, and when the voice service is switched, the uplink and downlink voice services are forwarded.

10. A dual-homing voice service recovery device for implementing the dual-homing voice service recovery method according to any one of claims 1 to 9, characterized in that: include: A configuration module, which is used to pre-configure the virtual routing redundancy protocol VRRP deployed on the main device and the backup device on the passive optical network PON link and plan the voice service; The processing module is used to dynamically switch the status of the main device and the backup device by dynamically adjusting the priority of the VRRP protocol on the main device and the backup device when the switchover between the main device and the backup device on the PON link is triggered, and synchronously complete the update of the user-side voice service address resolution protocol ARP table item on the main device and the backup device to restore the voice service.

Citation Information

Patent Citations

  • Switch method of main-standby routers connecting with main-standby interfaces of medium gateways

    CN101252427A

  • Service protection method, optical line terminal and system in passive optical network

    CN104025511A

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

    CN117834393A

  • Method for implementing virtual router redundancy protocol switching between primary / standby devices

    CN1968260A

  • Method, system and optical network terminal for ethernet performance detection

    EP2961101A1