CN113542932A - Main/standby switching method, system, equipment and storage medium of network - Google Patents

Main/standby switching method, system, equipment and storage medium of network Download PDF

Info

Publication number
CN113542932A
CN113542932A CN202010296404.5A CN202010296404A CN113542932A CN 113542932 A CN113542932 A CN 113542932A CN 202010296404 A CN202010296404 A CN 202010296404A CN 113542932 A CN113542932 A CN 113542932A
Authority
CN
China
Prior art keywords
standby
link
main
port
switching information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010296404.5A
Other languages
Chinese (zh)
Other versions
CN113542932B (en
Inventor
张龙江
王元杰
王蕾
张扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202010296404.5A priority Critical patent/CN113542932B/en
Publication of CN113542932A publication Critical patent/CN113542932A/en
Application granted granted Critical
Publication of CN113542932B publication Critical patent/CN113542932B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0081Fault tolerance; Redundancy; Recovery; Reconfigurability
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method, a system, equipment and a storage medium for switching between main and standby networks, wherein the system comprises the following components: the system comprises an optical line terminal OLT, a first aggregation switch, a second aggregation switch, a first broadband access server BAS or a first full-service router SR, a second BAS or a second SR, and a main and standby link protection group; the OLT is respectively connected with a first aggregation switch and a second aggregation switch through a main link protection group and a standby link protection group, and the first aggregation switch is connected with the second aggregation switch; the first aggregation switch is also connected with the first BAS or the first SR, and the second aggregation switch is also connected with the second BAS or the second SR; the main and standby link protection group is used for generating switching information when the main and standby link fails; the OLT is used for switching the main link and the standby link according to the switching information. The embodiment of the invention realizes the end-to-end protection between the BAS or SR and the OLT, and avoids the interruption of the whole service caused by single-point failure.

Description

Main/standby switching method, system, equipment and storage medium of network
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, a system, a device, and a storage medium for switching between a master and a slave in a network.
Background
With the development of communication technology, broadband IP metropolitan area networks have become multi-service integrated carrier networks for carrying broadband services, which can provide multiple services such as home broadband, Virtual Private Networks (VPN) for enterprises, internet protocol television IPTV on demand and live broadcast, IP multimedia subsystem IMS fixed Network voice, internet IP Private lines, and the like for customers.
In the related art, a main architecture of a metropolitan area Network is a three-level architecture formed by a core layer, a convergence layer and an Access layer, where the core layer includes a Broadband Access Server (BAS) and a full Service Router (SR), the convergence layer includes a convergence switch, and the Access layer includes an Optical Line Terminal (OLT) and an Optical Network Unit (ONU). The convergence switch V-shaped upper connection BAS and SR of the convergence layer, the OLT only depends on the single home access of the physical double-route link to the same convergence switch, and three links of the BAS/SR, the convergence switch and the access layer operate in a single point.
However, there is a security risk problem in single-point operation of three links, i.e., BAS/SR, aggregation switch, and access stratum, and once any one of the links has a problem, multiple services are interrupted, for example, when one link, i.e., BAS/SR, has a problem, service interruption of tens of thousands of broadband users, IMS phones, and hundreds of clients is directly caused.
Disclosure of Invention
Embodiments of the present invention provide a method, a system, a device, and a storage medium for switching between a master and a slave in a network, so as to solve a problem of security risk in single-point operation of three links, i.e., a BAS/SR, a convergence switch, and an access stratum, in the prior art, and a problem of multi-service interruption caused once any one of the three links has a problem.
A first aspect of an embodiment of the present invention provides a main/standby switching system of a network, including:
the system comprises an optical line terminal OLT, a first aggregation switch, a second aggregation switch, a first broadband access server BAS or a first full-service router SR, a second BAS or a second SR, and a main and standby link protection group; wherein the content of the first and second substances,
the OLT is respectively connected with the first aggregation switch and the second aggregation switch through the main link protection group and the standby link protection group, and the first aggregation switch is connected with the second aggregation switch through a first link;
the first aggregation switch is further connected with the first BAS or the first SR through a second link, and the second aggregation switch is further connected with the second BAS or the second SR through a third link;
the main and standby link protection group is used for generating switching information when the main and standby link fails;
the OLT is used for switching the main link and the standby link according to the switching information.
Optionally, the active/standby link protection group includes: the system comprises a main link, a main port, a standby link and a standby port;
the OLT is connected to the first aggregation switch and the second aggregation switch through the active/standby link protection group, and includes:
the OLT is connected with the first aggregation switch through the active port and the active link, and is connected with the second aggregation switch through the standby port and the standby link.
Optionally, the active/standby link protection group is specifically configured to:
detecting whether the main link, the main port, the standby link and the standby port fail;
if the main link or the main port fails, generating first switching information, wherein the first switching information comprises the physical addresses MAC and the address resolution protocol ARP of the standby link and the standby port;
and if the standby link or the standby port fails, generating second switching information, wherein the second switching information comprises the MAC and the ARP of the main link and the main port.
Optionally, the OLT is specifically configured to: switching the active link and the active port to the standby link and the standby port according to the first switching information; alternatively, the first and second electrodes may be,
and switching the standby link and the standby port to the active link and the active port according to the second switching information.
Optionally, the active/standby link protection group is further configured to: and monitoring the working states of the main link, the main port, the standby link and the standby port in real time, and controlling the links or ports to be in a blocking state when the failed links or ports are recovered to be normal.
Optionally, the system further comprises: a service protection unit; the service protection unit is connected with the first BAS or the first SR, and is connected with the second BAS or the second SR;
the service protection unit is used for: and when the single point of breakdown occurs in the first BAS or the first SR, switching to the second BAS or the second SR for corresponding service processing, and when the single point of breakdown occurs in the first aggregation switch, switching to the second aggregation switch for corresponding service processing.
Optionally, the service protection unit includes any one or more of the following units: PPPOE family broadband and enterprise VPN dialing service hot standby unit, IPTV live broadcast service hot standby unit, IPTV on-demand service protection unit, fixed network voice service hot standby unit, IP private line and enterprise VPN private line service protection unit.
A second aspect of the present invention provides a method for switching between a master and a slave in a network, including:
the method comprises the steps that a main link and standby link protection group detects whether a main link and standby link are in failure or not, and generates switching information to be sent to an OLT when the main link and standby link are in failure;
and the OLT receives the switching information and switches the main link and the standby link according to the switching information.
Optionally, the detecting, by the active/standby link protection group, whether the active/standby link fails, and generating switching information to send to the OLT when the active/standby link fails includes:
the method comprises the steps that a main link and a standby link protection group detect working states of a main link, a main port, a standby link and a standby port, first switching information is generated if the main link or the main port fails, the first switching information comprises MAC and ARP of the standby link and the standby port, and second switching information is generated if the standby link or the standby port fails, and the second switching information comprises MAC and ARP of the main link and the main port;
and sending the first switching information or the second switching information to an OLT.
Optionally, the receiving, by the OLT, the switching information, and performing active/standby link switching according to the switching information includes:
the OLT receives the first switching information or the first switching information, and switches the active link and the active port to the standby link and the standby port according to the first switching information, or switches the standby link and the standby port to the active link and the active port according to the second switching information.
A third aspect of an embodiment of the present invention provides a computer apparatus, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the method for switching between active and standby networks according to the second aspect of the embodiment of the present invention.
A fourth aspect of the present invention provides a computer-readable storage medium, where a computer execution instruction is stored in the computer-readable storage medium, and when a processor executes the computer execution instruction, the method for switching between a master and a slave in a network according to the second aspect of the present invention is implemented.
The embodiment of the invention provides a method, a system, equipment and a storage medium for switching between main and standby networks, wherein the system comprises an Optical Line Terminal (OLT), a first aggregation switch, a second aggregation switch, a first Broadband Access Server (BAS) or a first full-Service Router (SR), a second BAS or a second SR and a main and standby link protection group; the OLT is respectively connected with the first aggregation switch and the second aggregation switch through the main link and standby link protection groups, and the first aggregation switch is connected with the second aggregation switch through the first link; the OLT is dually accessed into two aggregation switches; meanwhile, the first aggregation switch is further connected with the first BAS or the first SR through a second link, the second aggregation switch is further connected with the second BAS or the second SR through a third link, and the active-standby link protection group generates switching information when the active-standby link fails; the hot standby damage mechanism for switching the main link and the standby link based on the OLT according to the switching information realizes the whole-course end-to-end hot standby protection from the BAS or SR to the OLT, and avoids the interruption of the whole service caused by single-point failure.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a three-level architectural diagram of a metropolitan area network according to an exemplary embodiment of the present invention;
fig. 2 is a schematic structural diagram of a main/standby switching system of a network according to an exemplary embodiment of the present invention;
fig. 3 is a schematic structural diagram of a main/standby switching system of a network according to another exemplary embodiment of the present invention;
fig. 4 is a schematic structural diagram of a main/standby switching system of a network according to another exemplary embodiment of the present invention;
fig. 5 is a schematic structural diagram of a main/standby switching system of a network according to another exemplary embodiment of the present invention;
fig. 6 is a schematic structural diagram of a main/standby switching system of a network according to another exemplary embodiment of the present invention;
fig. 7 is a schematic structural diagram of a main/standby switching system of a network according to another exemplary embodiment of the present invention;
fig. 8 is a schematic structural diagram of a main/standby switching system of a network according to another exemplary embodiment of the present invention;
fig. 9 is a flowchart illustrating a method for switching between master and slave networks according to an exemplary embodiment of the present invention;
fig. 10 is a schematic structural diagram of a computer device according to an exemplary embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
At present, with the development of communication technology, a broadband IP metropolitan area Network has become a multi-service integrated bearer Network for bearing broadband services, which can provide multiple services such as home broadband, Virtual Private Network (VPN) for enterprises, internet protocol television IPTV on demand and live broadcast, IP multimedia subsystem IMS fixed Network voice, and internet IP Private line for customers.
In the related art, the main architecture of the metropolitan area Network is a three-level architecture composed of a core layer, a convergence layer and an Access layer, where the three-level architecture diagram is shown in fig. 1, where the core layer includes a Broadband Access Server (BAS) and a full Service Router (SR), the convergence layer includes a convergence switch, and the Access layer includes an Optical Line Terminal (OLT) and an Optical Network Unit (ONU). The convergence switch V-shaped upper connection BAS and SR of the convergence layer, the OLT only depends on the single home access of the physical double-route link to the same convergence switch, and three links of the BAS/SR, the convergence switch and the access layer operate in a single point. However, there is a security risk problem in single-point operation of three links, i.e., BAS/SR, aggregation switch, and access stratum, and once any one of the links has a problem, a full service interruption may be caused, for example, when a problem occurs in the link, i.e., BAS/SR, service interruption of tens of thousands of broadband users, IMS phones, and hundreds of clients may be directly caused.
Aiming at the defect, the technical scheme of the invention mainly comprises the following steps: the OLT dual homing is connected to the two aggregation switches to form an inverted triangular network architecture, and the main-standby switching of a communication link in the network architecture formed by the OLT and the two aggregation switches is realized based on a hot standby damage mechanism of the OLT; meanwhile, a communication link is established between the two aggregation switches, and the two aggregation switches are linked to be respectively connected to the two BASs or SRs to form a square upper connection network architecture, so that the whole-process end-to-end hot standby protection from the BAS or SR to the OLT in the metropolitan area network is realized, and the problem of whole-network service interruption caused by single-point faults is avoided.
Fig. 2 is a schematic structural diagram of a main/standby switching system of a network according to an exemplary embodiment of the present invention.
As shown in fig. 2, the system provided by the present embodiment includes: an optical line terminal OLT 201, a first aggregation switch 202, a second aggregation switch 203, a first broadband access server BAS or a first full service router SR 204, a second BAS or a second SR 205, and a main/standby link protection group 206.
The OLT is respectively connected with the first aggregation switch and the second aggregation switch through the main and standby link protection groups, the first aggregation switch is connected with the second aggregation switch through a first link, the first aggregation switch is further connected with the first BAS or the first SR through a second link, and the second aggregation switch is further connected with the second BAS or the second SR through a third link; the main and standby link protection group is used for generating switching information when the main and standby link fails; the OLT is used for switching the main link and the standby link according to the switching information.
Specifically, referring to fig. 1, the OLT belongs to two aggregation switches, and an inverse triangle network architecture is formed among the OLT, the first aggregation switch and the second aggregation switch; meanwhile, the first aggregation switch and the second aggregation switch are connected to the BAS/SR respectively through the port-shaped uplink architecture to form a port-shaped network architecture. The main link protection group and the standby link protection group can detect whether communication links between the OLT and two aggregation switches are in fault or not, when one communication link is in fault, switching information is generated, the OLT switches the current communication link to the other communication link according to the switching information, and the other communication link continues to perform service processing, so that the interruption of the whole network service caused by the fault of the communication link is prevented. Meanwhile, based on the network architecture and the active/standby switching mechanism of the OLT, when any one of the BAS or SR and the aggregation switch fails, the communication link can be switched to the link where the other BAS or SR or aggregation switch is located, so that the other BAS or SR or aggregation switch can continue to undertake service processing, and the interruption of the entire network service caused by a single-point device failure is avoided.
In this embodiment, an inverted triangle network architecture is formed by connecting dual homing of the OLT to two aggregation switches, and active-standby switching of a communication link in the network architecture formed by the OLT and the two aggregation switches is realized based on a hot standby destruction mechanism of the OLT; meanwhile, a communication link is established between the two aggregation switches, and the two aggregation switches are linked to be respectively connected to the two BASs or SRs to form a square upper connection network architecture, so that the whole-process end-to-end hot standby protection from the BAS or SR to the OLT in the metropolitan area network is realized, and the problem of whole-network service interruption caused by single-point faults is avoided.
Fig. 3 is a schematic structural diagram of a main/standby switching system of a network according to another exemplary embodiment of the present invention.
Further, as shown in fig. 3, the active/standby link protection group includes: an active link 2061, an active port 2062, a standby link 2063, and a standby port 2064; the OLT is connected to the first aggregation switch and the second aggregation switch through the active/standby link protection group, and includes: the OLT is connected with the first aggregation switch through the active port and the active link, and is connected with the second aggregation switch through the standby port and the standby link.
Further, the active/standby link protection group is specifically configured to: detecting whether the main link, the main port, the standby link and the standby port fail; if the main link or the main port fails, generating first switching information, wherein the first switching information comprises the physical addresses MAC and the address resolution protocol ARP of the standby link and the standby port; and if the standby link or the standby port fails, generating second switching information, wherein the second switching information comprises the MAC and the ARP of the main link and the main port.
Further, when receiving first switching information, the OLT switches the active link and the active port to the standby link and the standby port according to the first switching information; and when second switching information is received, switching the standby link and the standby port to the active link and the active port according to the second switching information.
Specifically, physical addresses of available links and ports in the active link, the active port, the standby link and the standby port are all stored in an address table, when the link and the port are detected to be in failure, the MAC and the ARP are automatically refreshed by sending flow in the active and standby link protection group, so that the addresses in the address table are updated by the two dually-homed aggregation switches, the OLT acquires the MAC of the available links and the port according to the ARP, the active and standby switching is performed, and the communication link is switched into the available link to continue to process services.
In one embodiment, the active/standby link protection group is further configured to: and monitoring the working states of the main link, the main port, the standby link and the standby port in real time, and controlling the links or ports to be in a blocking state when the failed links or ports are recovered to be normal.
Specifically, there are two working states of the main/standby link and the main/standby port, which are a forwarding state and a blocking state, respectively, where in the forwarding state, the link and the port forward the message normally, and in the blocking state, the link and the port do not forward the message. When a link or a port has a fault, the working state of the link or the port is in a blocking state, for example, when the main link has a fault, the working state of the main link is in the blocking state, the communication link is switched to the standby link and the standby port to continue to process services, when the main link is recovered to be normal, the main link is controlled to continue to be maintained in the blocking state, the link switching is not performed temporarily, the main link is prevented from recovering to seize the standby link to process services, the flow is kept stable, and the problem of repeated oscillation caused by frequent switching of the main link and the standby link is avoided.
Further, the system provided in this embodiment further includes: a service protection unit; the service protection unit is connected with the first BAS or the first SR, and is connected with the second BAS or the second SR; the service protection unit is used for: and switching to the second BAS or the second SR to perform corresponding service processing when the first BAS or the first AR is in single-point breakdown, and switching to the second aggregation switch to perform corresponding service processing when the first aggregation switch is in single-point breakdown.
Wherein the service protection unit comprises any one or more of the following units: PPPOE family broadband and enterprise VPN dialing service hot standby unit, IPTV live broadcast service hot standby unit, IPTV on-demand service protection unit, fixed network voice service hot standby unit, IP private line and enterprise VPN private line service protection unit.
In this embodiment, the protection units are respectively deployed in an internet VPN, an IPTV platform, and an IMS fixed network voice platform, as shown in fig. 3, the internet VPN and the IPTV platform are both connected to a first BAS and a second BAS, and the IMS fixed network voice platform is connected to the first SR and the second SR.
Further, referring to fig. 3, the OLT accesses various services, such as a telephone service, a broadband service, and an IPTV, through the ONU.
In this embodiment, after the dual-homing of the OLT is connected to different aggregation switches, a local inverted-triangle network architecture is formed, various service VLANs accessed by the OLT are transparently transmitted in three links in the inverted-triangle architecture, and the two aggregation switches are linked to a square upper connection network structure of BAS/SR. The method not only can realize the main-standby switching in the inverted-triangle local network architecture between the OLT and the dual-homing aggregation switch, but also can realize that when one BAS or aggregation switch or SR goes down at a single point, the other BAS or aggregation switch or SR takes over the service backup, thereby greatly improving the protection efficiency of the service backup from the BAS to the OLT in the whole end-to-end process, and simultaneously, the problem of repeated oscillation can not exist in the link switching process.
For better understanding of the present application, the following description will be made by taking an example of switching between the main and standby modes when the metropolitan area network carries various services.
Fig. 4 is a schematic structural diagram of a main/standby switching system of a network according to another exemplary embodiment of the present invention, and this embodiment takes processing of PPPOE home broadband service and hot standby of enterprise VPN dialing service as an example for description.
For the home broadband and enterprise VPN dialing service, through a trial environment, a PPPOE odd-even MAC delay response load sharing strategy is adopted to carry out double-homing protection on users such as an IPv4 public network, an IPv4 CGN, an IPv6 and the like, thereby realizing BAS load sharing and active-standby protection.
As shown in fig. 4, the upper left relay of the OLT is a main port, and the upper right relay is a standby port. In this area, a plurality of broadband services are connected through optical splitters. The PPPOE of odd MAC address users in the home user VLAN and the enterprise VPN service VLAN is dialed to a first BAS, the PPPOE of even MAC address users is dialed to a second BAS, and all link devices respectively process the service data. When the single point of the first BAS is down, the other second BAS takes over the home broadband and VPN service of the first BAS to complete hot standby switching; and when the single point of the first aggregation switch is down, the second aggregation switch takes over the home broadband and the VPN service of the first aggregation switch to complete hot standby switching.
Fig. 5 is a schematic structural diagram of an active/standby switching system of a network according to another exemplary embodiment of the present invention, and this embodiment takes processing an IPTV live broadcast service as an example for description.
For IPTV live broadcast service, through the coordination protection of two convergence switches and two BASs, PIM multicast routing protocol is adopted to control redundant multicast flow, and main and standby DR is automatically elected. When any one of the aggregation switch or the BAS fails, the standby equipment completes the forwarding of the live broadcast service, the whole active-standby switching time is short, and the implementation mode of each technical link is shown in the following table 1-IPTV live broadcast user service implementation parameter table.
TABLE 1-IPTV live broadcast user service implementation parameter Table
Figure BDA0002452356870000101
In one embodiment, as shown in fig. 5(a), in a case that the IPTV live broadcast service is normal, a main communication channel 51, a first BAS, and a first aggregation switch are used for performing service processing; when the active communication link fails, as shown in fig. 5(b), the active communication link is switched to the first standby channel 52 for service processing; when the single point of downtime occurs in the first BAS or the first aggregation switch, as shown in fig. 5(c), the second standby channel 53 and the second BAS or the second aggregation switch are switched to continue processing the IPTV live broadcast service.
Fig. 6 is a schematic structural diagram of a main/standby switching system of a network according to another exemplary embodiment of the present invention, and this embodiment takes processing an IPTV on-demand service as an example for description.
For IPTV on-demand service, the user set-top box acquires an IP address from the first BAS or the second BAS through DHCP, and realizes service protection by adopting a service load sharing mode. The access layer OLT uses Smart Link technology for two-layer VLAN ring-proof, so when a fault occurs, IPTV on-demand service can be automatically switched no matter in a convergence layer device Link or an access layer Link. The implementation mode of each technical link is shown in the following table 2-IPTV on-demand user service implementation parameter table.
TABLE 2-IPTV VOD user service implementation parameter TABLE
Figure BDA0002452356870000111
In one embodiment, as shown in fig. 6(a), in the case that the IPTV on-demand service is normal, for an odd MAC, the channel 61 and the first BAS and the first aggregation switch are used for service processing, and for an even MAC, the channel 62 and the second BAS and the second aggregation switch are used for service processing. When the active link of the OLT fails, as shown in fig. 6(b), the OLT switches to the standby channel 63 to perform service processing; when a single point of downtime occurs in the first BAS or the first aggregation switch, as shown in fig. 6(c), the standby channel 64 and the second BAS or the second aggregation switch are switched to continue processing the IPTV on-demand service.
Fig. 7 is a schematic structural diagram of an active/standby switching system of a network according to another exemplary embodiment of the present invention, and this embodiment takes processing of fixed network voice service as an example for description.
For a fixed network voice user, the ONU/AG is respectively connected to the first SR and the second SR through the access channel of the convergence switch, and the automatic hot standby protection of voice service is realized through the VRRP automatic protection and the heartbeat detection mechanism.
Specifically, as shown in fig. 7(a), in the case that the voice service is normal, the main channel 71, the second SR, and the second aggregation switch are used to perform service processing; when a failure occurs in the active port 72 or the active link 73 in the active/standby link protection group, as shown in fig. 7(b), a standby channel 74 and a corresponding SR and aggregation switch on the standby channel 74 are used to perform service processing; when a single point of downtime occurs on the second SR or the second aggregation switch, the standby channel 75 and the corresponding SR and aggregation switch on the standby channel 75 are used to continue processing services.
Fig. 8 is a schematic structural diagram of an active/standby switching system of a network according to another exemplary embodiment of the present invention, and this embodiment is described by taking an example of processing an IP dedicated line or an enterprise VPN dedicated line service.
For IP private line users and enterprise VPN private line users, there are two ways, i.e., cold standby and hot standby, as shown in fig. 8, an OLT connects multiple private line users, and a communication link between a second BAS, a second aggregation switch, and the OLT normally forms a main channel 81 for service processing; when a single point of downtime occurs on the second BAR or the second aggregation switch, for the cold standby mode, the standby channel 82 needs to be manually switched to continue to perform service processing; for the hot standby mode, the standby channel 82 is automatically switched to continue the service processing.
In another embodiment, the OLT device is identified by using a loopback address, and in a dual aggregation switch and dual BAS networking architecture, the OLT disconnection caused by a single node fault can be avoided through full-range end-to-end fault detection and automatic switching. When the main channel fails, the standby channel can be continuously communicated with the OLT equipment, so that the service rate of the OLT is effectively improved.
It should be noted that, in many OLT devices in the current network, there is a case where the devices are identified only by using the interconnection address, and thus, the Loopback addressing of the device identification needs to be performed, including device configuration, a resource management system, a 97 system, an integrated network management system, a PON electronic work order system, and the like.
In this embodiment, on the basis of the OLT hot standby destruction mechanism, an inverted triangle local network architecture in which the OLT is dually affiliated to different aggregation switches is deployed, and a square network architecture networking is implemented between the dual BAS/SR and the dual aggregation switches, so that the whole-process service hot standby protection of the metropolitan area network is implemented. The blocking influence of large-scale customer service caused by single-point faults (such as aggregation switch, BAS and SR faults) is avoided. Meanwhile, flow optimization can be further realized according to the service VLAN, so that the service sharing of the uplink main and standby links of the OLT is realized.
Fig. 9 is a flowchart illustrating a method for switching between master and slave networks according to an exemplary embodiment of the present invention.
As shown in fig. 9, the method provided by the present embodiment may include the following steps.
S901, the main/standby link protection group detects whether the main/standby link fails, and generates switching information to send to an OLT when the main/standby link fails.
Specifically, the method for detecting whether the main link and the standby link fail and generating switching information to send to the OLT when the main link and the standby link fail includes: the method comprises the steps that a main link and a standby link protection group detect working states of a main link, a main port, a standby link and a standby port, first switching information is generated if the main link or the main port fails, the first switching information comprises MAC and ARP of the standby link and the standby port, and second switching information is generated if the standby link or the standby port fails, and the second switching information comprises MAC and ARP of the main link and the main port; and sending the first switching information or the second switching information to an OLT.
And S902, the OLT receives the switching information and switches the main link and the standby link according to the switching information.
Specifically, the OLT receives the first switching information or the first switching information, and switches the active link and the active port to the standby link and the standby port according to the first switching information, or switches the standby link and the standby port to the active link and the active port according to the second switching information.
It should be noted that, for a specific implementation of the method for switching between main and standby networks, reference may be made to the above detailed description of the related system.
Fig. 10 is a schematic hardware structure diagram of a computer device according to an embodiment of the present invention. As shown in fig. 10, the present embodiment provides a computer apparatus 100 including: at least one processor 101 and a memory 102. The processor 101 and the memory 102 are connected by a bus 103.
In a specific implementation process, at least one processor 101 executes the computer execution instruction stored in the memory 102, so that at least one processor 101 executes the active/standby switching method of the network in the foregoing method embodiment.
For a specific implementation process of the processor 101, reference may be made to the above method embodiments, which implement the principle and the technical effect similarly, and this embodiment is not described herein again.
In the embodiment shown in fig. 10, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise high speed RAM memory and may also include non-volatile storage NVM, such as at least one disk memory.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
Another embodiment of the present application provides a computer-readable storage medium, where a computer execution instruction is stored in the computer-readable storage medium, and when a processor executes the computer execution instruction, the method for switching between active and standby networks in the foregoing method embodiments is implemented.
The computer-readable storage medium may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the apparatus.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (12)

1. A master/slave switching system of a network, comprising: the system comprises an optical line terminal OLT, a first aggregation switch, a second aggregation switch, a first broadband access server BAS or a first full-service router SR, a second BAS or a second SR, and a main and standby link protection group; wherein the content of the first and second substances,
the OLT is respectively connected with the first aggregation switch and the second aggregation switch through the main link protection group and the standby link protection group, and the first aggregation switch is connected with the second aggregation switch through a first link;
the first aggregation switch is further connected with the first BAS or the first SR through a second link, and the second aggregation switch is further connected with the second BAS or the second SR through a third link;
the main and standby link protection group is used for generating switching information when the main and standby link fails;
the OLT is used for switching the main link and the standby link according to the switching information.
2. The system of claim 1, wherein the active/standby link protection group comprises: the system comprises a main link, a main port, a standby link and a standby port;
the OLT is connected to the first aggregation switch and the second aggregation switch through the active/standby link protection group, and includes:
the OLT is connected with the first aggregation switch through the active port and the active link, and is connected with the second aggregation switch through the standby port and the standby link.
3. The system of claim 2, wherein the active/standby link protection group is specifically configured to:
detecting whether the main link, the main port, the standby link and the standby port fail;
if the main link or the main port fails, generating first switching information, wherein the first switching information comprises the physical addresses MAC and the address resolution protocol ARP of the standby link and the standby port;
and if the standby link or the standby port fails, generating second switching information, wherein the second switching information comprises the MAC and the ARP of the main link and the main port.
4. The system of claim 3, wherein the OLT is specifically configured to:
switching the active link and the active port to the standby link and the standby port according to the first switching information; alternatively, the first and second electrodes may be,
and switching the standby link and the standby port to the active link and the active port according to the second switching information.
5. The system of claim 2, wherein the active/standby link protection group is further configured to:
and monitoring the working states of the main link, the main port, the standby link and the standby port in real time, and controlling the links or ports to be in a blocking state when the failed links or ports are recovered to be normal.
6. The system of any one of claims 1-5, further comprising: a service protection unit;
the service protection unit is connected with the first BAS or the first SR, and is connected with the second BAS or the second SR;
the service protection unit is used for: and switching to the second BAS or the second SR to perform corresponding service processing when the first BAS or the first AR is in single-point breakdown, and switching to the second aggregation switch to perform corresponding service processing when the first aggregation switch is in single-point breakdown.
7. The system according to claim 6, wherein the traffic protection unit comprises any one or more of the following: PPPOE family broadband and enterprise VPN dialing service hot standby unit, IPTV live broadcast service hot standby unit, IPTV on-demand service protection unit, fixed network voice service hot standby unit, IP private line and enterprise VPN private line service protection unit.
8. A method for switching between main and standby networks is characterized by comprising the following steps:
the method comprises the steps that a main link and standby link protection group detects whether a main link and standby link are in failure or not, and generates switching information to be sent to an OLT when the main link and standby link are in failure;
and the OLT receives the switching information and switches the main link and the standby link according to the switching information.
9. The method of claim 8, wherein the active/standby link protection group detects whether an active/standby link fails, and generates switching information to send to the OLT when the active/standby link fails, including:
the method comprises the steps that a main link and a standby link protection group detect working states of a main link, a main port, a standby link and a standby port, first switching information is generated if the main link or the main port fails, the first switching information comprises MAC and ARP of the standby link and the standby port, and second switching information is generated if the standby link or the standby port fails, and the second switching information comprises MAC and ARP of the main link and the main port;
and sending the first switching information or the second switching information to an OLT.
10. The method according to claim 9, wherein the OLT receives the switching information and performs active/standby link switching according to the switching information, comprising:
the OLT receives the first switching information or the first switching information, and switches the active link and the active port to the standby link and the standby port according to the first switching information, or switches the standby link and the standby port to the active link and the active port according to the second switching information.
11. A computer device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
execution of the computer-executable instructions stored by the memory by the at least one processor causes the at least one processor to perform a method of active-standby switching of a network according to any one of claims 8 to 10.
12. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, which when executed by a processor, implement the method for switching between master and slave networks according to any one of claims 8 to 10.
CN202010296404.5A 2020-04-15 2020-04-15 Main/standby switching method, system, equipment and storage medium of network Active CN113542932B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010296404.5A CN113542932B (en) 2020-04-15 2020-04-15 Main/standby switching method, system, equipment and storage medium of network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010296404.5A CN113542932B (en) 2020-04-15 2020-04-15 Main/standby switching method, system, equipment and storage medium of network

Publications (2)

Publication Number Publication Date
CN113542932A true CN113542932A (en) 2021-10-22
CN113542932B CN113542932B (en) 2023-03-21

Family

ID=78120131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010296404.5A Active CN113542932B (en) 2020-04-15 2020-04-15 Main/standby switching method, system, equipment and storage medium of network

Country Status (1)

Country Link
CN (1) CN113542932B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114696890A (en) * 2022-03-30 2022-07-01 中国联合网络通信集团有限公司 Carrier network and interrupt processing method, equipment and storage medium thereof
CN114786075A (en) * 2022-06-20 2022-07-22 广州培生智能科技有限公司 Reliable network structure and redundancy processing method
CN116094990A (en) * 2023-01-19 2023-05-09 重庆长安汽车股份有限公司 Software optimization method and device based on MAC address forwarding table and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601980A (en) * 2003-09-25 2005-03-30 华为技术有限公司 Method of realizing sign delivery of user's position
WO2007082448A1 (en) * 2006-01-20 2007-07-26 Huawei Technologies Co., Ltd. A guaranteed quality of service (qos) method, resource management device and accessing system for multi-services
CN101998191A (en) * 2009-08-27 2011-03-30 华为技术有限公司 Sink node linkage switching method, sink node and system
CN102437919A (en) * 2010-09-29 2012-05-02 中国电信股份有限公司 Access router and link reliability protection method
CN104080095A (en) * 2014-07-22 2014-10-01 湖北邮电规划设计有限公司 Method for networking wireless 3G/LTE base station carrying network in subway stations
CN104320353A (en) * 2014-11-19 2015-01-28 中国联合网络通信集团有限公司 User address managing method and device
CN105024836A (en) * 2014-04-15 2015-11-04 中国移动通信集团广东有限公司 Switching method of main use service router SR and standby SR, apparatus and the SR
CN105306330A (en) * 2014-06-24 2016-02-03 中兴通讯股份有限公司 Network protection method and device, and primary convergence network element in network
WO2018188313A1 (en) * 2017-04-12 2018-10-18 中兴通讯股份有限公司 Method and apparatus for switching services in backup network

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601980A (en) * 2003-09-25 2005-03-30 华为技术有限公司 Method of realizing sign delivery of user's position
WO2007082448A1 (en) * 2006-01-20 2007-07-26 Huawei Technologies Co., Ltd. A guaranteed quality of service (qos) method, resource management device and accessing system for multi-services
CN101998191A (en) * 2009-08-27 2011-03-30 华为技术有限公司 Sink node linkage switching method, sink node and system
CN102437919A (en) * 2010-09-29 2012-05-02 中国电信股份有限公司 Access router and link reliability protection method
CN105024836A (en) * 2014-04-15 2015-11-04 中国移动通信集团广东有限公司 Switching method of main use service router SR and standby SR, apparatus and the SR
CN105306330A (en) * 2014-06-24 2016-02-03 中兴通讯股份有限公司 Network protection method and device, and primary convergence network element in network
CN104080095A (en) * 2014-07-22 2014-10-01 湖北邮电规划设计有限公司 Method for networking wireless 3G/LTE base station carrying network in subway stations
CN104320353A (en) * 2014-11-19 2015-01-28 中国联合网络通信集团有限公司 User address managing method and device
WO2018188313A1 (en) * 2017-04-12 2018-10-18 中兴通讯股份有限公司 Method and apparatus for switching services in backup network
CN108696417A (en) * 2017-04-12 2018-10-23 中兴通讯股份有限公司 Business switch method in backup network and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114696890A (en) * 2022-03-30 2022-07-01 中国联合网络通信集团有限公司 Carrier network and interrupt processing method, equipment and storage medium thereof
CN114696890B (en) * 2022-03-30 2023-06-20 中国联合网络通信集团有限公司 Bearer network, and interrupt processing method, device and storage medium thereof
CN114786075A (en) * 2022-06-20 2022-07-22 广州培生智能科技有限公司 Reliable network structure and redundancy processing method
CN114786075B (en) * 2022-06-20 2022-09-30 广州培生智能科技有限公司 Reliable network structure and redundancy processing method
CN116094990A (en) * 2023-01-19 2023-05-09 重庆长安汽车股份有限公司 Software optimization method and device based on MAC address forwarding table and electronic equipment

Also Published As

Publication number Publication date
CN113542932B (en) 2023-03-21

Similar Documents

Publication Publication Date Title
EP3525405B1 (en) Packet sending method and network device
US11303515B2 (en) IP MPLS PoP virtualization and fault tolerant virtual router
US10623307B2 (en) Method and system for asymmetric redundancy mechanisms in multi-homed network access topologies
CN113542932B (en) Main/standby switching method, system, equipment and storage medium of network
CN107547366B (en) Message forwarding method and device
US8953590B1 (en) Layer two virtual private network having control plane address learning supporting multi-homed customer networks
US8694664B2 (en) Active-active multi-homing support for overlay transport protocol
US9049106B2 (en) Multipath virtual router redundancy
RU2530338C2 (en) Prepared connection based on state of communication lines of providers (plsb) with routed redundancy
US7941837B1 (en) Layer two firewall with active-active high availability support
CN103297353B (en) Access method and system of user terminal equipment and broadband network gateway
US20190182202A1 (en) System and method for route optimization in a multichasiss link aggregation configuration
CN102035676B (en) ARP (Address Resolution Protocol) interaction based method and equipment for detecting and recovering link fault
US7808887B2 (en) Bridge/router and method for avoiding packet replication during a failure in a network
US20060291378A1 (en) Communication path redundancy protection systems and methods
CN112422307B (en) Method, equipment and system for EVPN and VPLS coexistence dual-activity
US20130272114A1 (en) Pseudo wire switching method and device
CN104255002A (en) Redundant network connections
CN101330424A (en) Method, system and apparatus for processing service fault of virtual special network
US20180006876A1 (en) Network relay apparatus, gateway redundancy system, program, and redundancy method
US11546267B2 (en) Method for determining designated forwarder (DF) of multicast flow, device, and system
US20120204058A1 (en) Method and Device for Backing up User Information
CN102238092B (en) Method for performing load sharing on encoder and encoder
US9548887B2 (en) Proactive creation of multicast state in an overlay transport network to achieve fast convergence on failover
CN111371535B (en) Disaster backup system and switching method for different-place main and standby data centers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant