[go: up one dir, main page]

CN108337162B - System and method for supporting dual-homing protection - Google Patents

System and method for supporting dual-homing protection Download PDF

Info

Publication number
CN108337162B
CN108337162B CN201810131299.2A CN201810131299A CN108337162B CN 108337162 B CN108337162 B CN 108337162B CN 201810131299 A CN201810131299 A CN 201810131299A CN 108337162 B CN108337162 B CN 108337162B
Authority
CN
China
Prior art keywords
access device
access
standby
communication connection
dual
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.)
Active
Application number
CN201810131299.2A
Other languages
Chinese (zh)
Other versions
CN108337162A (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.)
Beijing Telixin Electronics Technology Co ltd
Original Assignee
Beijing Telixin Electronics Technology 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 Beijing Telixin Electronics Technology Co ltd filed Critical Beijing Telixin Electronics Technology Co ltd
Priority to CN201810131299.2A priority Critical patent/CN108337162B/en
Publication of CN108337162A publication Critical patent/CN108337162A/en
Application granted granted Critical
Publication of CN108337162B publication Critical patent/CN108337162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Landscapes

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

Abstract

The invention discloses a system and a method for supporting dual homing protection. The system comprises a dual-homing device, a main access device and at least one standby access device, wherein the main access device and the standby access device are respectively in direct communication connection with the dual-homing device, and the access devices are in direct communication connection and are used for sharing state information of access ports between the dual-homing device and each access device; the communication between the dual-homing device and the remote device is realized through the main access device, and when the at least one standby access device learns that the access port between the dual-homing device and the main access device is changed from an UP state to a DOWN state, one standby access device in the at least one standby access device is automatically converted into the main access device. The system is realized without adopting a special standard protocol in the industry, and has low development difficulty and low cost; the basic requirement of finishing protection switching within 50ms can be met, and the service quality is not influenced.

Description

System and method for supporting dual-homing protection
Technical Field
The present invention relates to the field of network communications, and in particular, to a system and method for supporting dual homing protection.
Background
With the rapid development of network communication technology, new types of network devices are continuously added, and communication networks become more and more complex. For important core network devices, dual-homing protection measures are usually introduced for disaster tolerance or for ensuring continuity of important services.
In the prior art, dual-homed devices (or systems), such as CE routers, are typically connected to a core network (as shown in fig. 1) via a primary access device and a backup access device (e.g., two different PE routers) respectively, all at the same time over two (or more) communication links. With one link being the primary link (i.e., the current communication link, identified by solid lines in fig. 1) and the other link being the backup link (identified by dashed lines in fig. 1), all traffic is carried on the primary link. When the main link fails, the standby link is switched to the main link, so that dual-homing protection is realized.
Since these core network devices are usually expensive and important, the industry has specifically established many standard protocols (e.g., ICCP protocol) to implement their dual-homing protection scheme to ensure that the switching latency between the primary and backup links is less than the basic 50ms requirement. However, in order for the ICCP protocol to be adaptable to a variety of different client applications (e.g., multi-frame LACP, pseudowire redundancy, SONET APS), the ICCP protocol needs to rely on protocols with multiple protocol layers such as LDP, TCP, etc., which requires that the dual-homed device (in this case the CE router) itself be concerned with both the application layer traffic and the link layer, network layer, and transport layer traffic.
However, for devices such as personal computers, important terminal devices in special industries, and network devices that do not support the above-mentioned industry-specific standard protocols, it may be necessary to protect the devices with dual-homing in order to ensure that the devices can reliably and stably access to the network. At this time, if the above-mentioned industry-specific standard protocol is directly adopted for implementation, the development difficulty is large, and the cost is high. Therefore, new solutions are needed to implement dual-homing protection for these devices.
Disclosure of Invention
The invention provides a system supporting dual-homing protection, which comprises dual-homing equipment, main access equipment and at least one standby access equipment, wherein the main access equipment and the standby access equipment are respectively in direct communication connection with the dual-homing equipment; the communication between the dual-homing device and the remote device is realized through the main access device, and when the at least one standby access device learns that the access port between the dual-homing device and the main access device is changed from an UP state to a DOWN state, one standby access device in the at least one standby access device is automatically converted into the main access device.
According to the system of the invention, when only one standby access device exists in the system, the standby access device is directly and automatically converted into the main access device; when at least two standby access devices exist in the system, after the at least two standby access devices negotiate through a direct communication connection between the at least two standby access devices, one of the at least two standby access devices is automatically converted into a main access device.
According to the above system of the invention, the direct communication connection is one of the following direct communication connections: serial port communication connection, parallel port communication connection, wired Ethernet communication connection, optical fiber communication connection and wireless communication connection.
According to the system of the invention, the detection and report period of the state information of the access port is at least less than 10ms, and the state information comprises port identification and port state.
The present invention also proposes a method of supporting dual-homing protection for a system as described above, comprising:
step 1: establishing direct communication connection between the access devices, and sharing the state information of the access ports between the dual-homing device and each access device between the access devices;
step 2: enabling communication between the dual-homed device and the remote device via the primary access device;
and step 3: when the at least one standby access device learns that the access port between the dual-homing device and the main access device is changed from an UP state to a DOWN state, one standby access device in the at least one standby access device is automatically changed into the main access device.
According to the above method of the present invention, in step 3:
when only one standby access device exists in the system, the standby access device is directly and automatically converted into a main access device; when at least two standby access devices exist in the system, after the at least two standby access devices negotiate through a direct communication connection between the at least two standby access devices, one of the at least two standby access devices is automatically converted into a main access device.
According to the above method of the invention, the direct communication connection is one of the following direct communication connections: serial port communication connection, parallel port communication connection, wired Ethernet communication connection, optical fiber communication connection and wireless communication connection.
According to the method of the invention, the detection and report period of the state information of the access port is at least less than 10ms, and the state information comprises port identification and port state.
According to the technical scheme of the invention, the method is realized without adopting a special standard protocol in the industry, and has low development difficulty and low cost; the basic requirement of finishing protection switching within 50ms can be met, and the service quality is not influenced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention. In the drawings, like reference numerals are used to indicate like elements. The drawings in the following description are directed to some, but not all embodiments of the invention. For a person skilled in the art, other figures can be derived from these figures without inventive effort.
Fig. 1 schematically shows a prior art system supporting dual-homing protection.
Fig. 2 schematically shows a schematic diagram of a system supporting dual-homing protection according to the present invention.
Fig. 3 shows schematically a flow chart of a method of supporting dual-homing protection according to 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 some, but not all, embodiments of the present invention. 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. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Fig. 1 schematically shows a prior art system supporting dual-homing protection.
As shown in fig. 1, dual-homed CE routers are connected to a core network via primary and backup PE routers, respectively. With one link being the primary link (i.e., the current communication link, identified by solid lines in fig. 1) and the other link being the backup link (identified by dashed lines in fig. 1), all traffic is carried on the primary link. When the main link fails, the standby link is started, and at the moment, the roles of the original main PE router and the standby PE router are exchanged.
Although two links are shown in fig. 1 each connected to a dual-homed CE router. However, a dual-homed CE router may also connect more than two links to implement a more reliable handover protection scheme than using two links.
As described in the background section, the prior art implements the dual-homing protection scheme by implementing the industry-specific standard protocols described above (i.e., the protocols of all relevant layers that must be supported simultaneously in connection with the dual-homing function) simultaneously on the dual-homed CE router, the primary PE router, and the backup PE router shown in fig. 1. In order to ensure that the switching delay between the main link and the standby link can meet the basic requirement of less than 50ms, the above-mentioned industry-specific standard protocol is designed to be complicated, difficult to implement and costly.
Therefore, the present invention proposes the following different technical solutions to implement dual-homing protection for devices such as personal computers, important terminal devices in special industries, and network devices that do not support the above industry-specific standard protocols.
Fig. 2 schematically shows a schematic view of a system 200 supporting dual-homing protection according to the present invention.
As shown in fig. 2, the system 200 supporting dual-homing protection includes a dual-homing device (e.g., a personal computer, an important terminal device in a special industry, a CE network device that does not support the above-mentioned industry-specific standard protocol, etc.), a primary access device (e.g., a first PE network device that does not support the above-mentioned industry-specific standard protocol), and at least one backup access device (e.g., other PE network devices that do not support the above-mentioned industry-specific standard protocol), where the primary access device and the backup access device are respectively in direct communication connection with the dual-homing device, and a direct communication connection (link C in fig. 2) exists between the access devices, and is used for sharing status information of access ports between the dual-homing device and each access device between the access devices (corresponding to using an internal private protocol between the primary access device and the backup access; the communication between the dual-homing device and the remote device is realized via the main access device (i.e. the message is transmitted through the link where the port a of the main access device is located), and when at least one standby access device learns that the access port between the dual-homing device and the main access device is changed from the UP state to the DOWN state, one standby access device of the at least one standby access device is automatically changed into the main access device (i.e. the message is transmitted through the link where the port B of the standby access device is located).
Take the example that the dual-homing device initially receives the message from the remote device through the port a of the main access device and then suddenly fails. Through the technical scheme, the standby access equipment can timely acquire the information that the port A of the main access equipment has a fault (namely, the port A is changed from the UP state to the DOWN state, which is equivalent to the abnormal state of the internal private protocol and proves that the working port A has the fault), so that a query message is timely sent to the dual-homing equipment (through the port B of the standby access equipment), the forwarding information table (and the routing information table) of the dual-homing equipment is updated according to the response message of the dual-homing equipment, and then flooding is carried out on all ports of the dual-homing equipment, so that a new main link is quickly established, the dual-homing equipment finally receives the message from the remote equipment through the port B of the standby access equipment, and the role exchange between the original main access equipment and the standby access equipment is completed. The number of messages lost due to handover is reduced, thereby reducing the number of messages that need to be retransmitted.
Alternatively, when only one standby access device exists in the system 200, the standby access device is directly and automatically converted into the main access device; when there are at least two backup access devices in the system 200, one of the at least two backup access devices automatically transitions to the primary access device after the at least two backup access devices negotiate via a direct communication connection between the at least two backup access devices.
For example, using at least two backup access devices may enable a more reliable handover protection scheme than using one backup access device.
Optionally, the direct communication connection is one of the following direct communication connections: serial port communication connection, parallel port communication connection, wired Ethernet communication connection, optical fiber communication connection and wireless communication connection.
Since only a small amount of data (port state information, negotiation information) needs to be transmitted, a serial communication connection can be used for data transmission.
In addition, the direct communication connection (link) is a dedicated link, so that a small transmission delay (no influence of other data transmission) can be ensured.
Optionally, a detection and reporting period of the status information of the access port is at least less than 10ms, and the status information includes port identification and port status.
In order to meet the basic requirement that the switching delay between the main link and the standby link can meet less than 50ms, the detection and reporting period of the status information of the access port can also be set smaller (less than 10ms) according to the needs of the actual implementation scheme.
The state information, including port identification (including device ID, port number, etc.), port status (including UP, DOWN, administrator DOWN, test, etc.) is equivalent to the specific information in the internal proprietary protocol (i.e., user-defined protocol) message.
For example, the sending and receiving of status information (e.g., in the form of proprietary protocol detection messages) may be implemented in hardware such as a DSP, ASIC, etc. The technical scheme can further achieve the purposes of finishing protection switching within 50ms and not influencing the service quality of the dual-homing equipment (or system).
Fig. 3 shows schematically a flow chart of a method of supporting dual-homing protection according to the present invention.
As shown in fig. 3, a method of supporting dual-homing protection (e.g., as may be used in conjunction with system 200 shown in fig. 2) includes the steps of:
step S302: establishing direct communication connection between the access devices, and sharing the state information of the access ports between the dual-homing device and each access device between the access devices;
step S304: enabling communication between the dual-homed device and the remote device via the primary access device;
step S306: when at least one standby access device learns that the access port between the dual-homing device and the main access device is changed from an UP state to a DOWN state, one standby access device in the at least one standby access device is automatically changed into the main access device.
Optionally, in step S306:
when only one standby access device exists in the system, the standby access device is directly and automatically converted into a main access device; when at least two standby access devices exist in the system, one of the at least two standby access devices is automatically converted into a main access device after the at least two standby access devices negotiate through a direct communication connection between the at least two standby access devices.
Optionally, the direct communication connection is one of the following direct communication connections: serial port communication connection, parallel port communication connection, wired Ethernet communication connection, optical fiber communication connection and wireless communication connection.
Optionally, a detection and reporting period of the status information of the access port is at least less than 10ms, and the status information includes port identification and port status.
According to the technical scheme of the invention, the standard protocol (namely, the external protocol) special for the industry is not required to be adopted for realization, so that the development difficulty is low and the cost is low.
According to the technical scheme of the invention, the dual-homing protection function of various dual-homing devices (or systems) can be realized, and the dual-homing devices (or systems) and the main/standby (network) access equipment have no requirements on protocols and functions (the special standards in the industry). The separation of the application layer service and the network layer service of the dual-homing (access) equipment (or system) is ensured to the maximum extent. The stability of the dual-homing (access) device (or system) is guaranteed.
According to the technical scheme of the invention, because the dedicated link of direct communication connection is adopted, the network layer service does not need to be concerned, and no special protocol or function requirement exists.
According to the technical scheme of the invention, the basic requirement of finishing protection switching within 50ms can be met, and the service quality is not influenced.
The above-described aspects may be implemented individually or in various combinations, and such variations are within the scope of the present invention.
Finally, it should be noted that: the above examples are only for illustrating the technical solutions of the present invention, and are not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. A system supporting dual homing protection comprises dual homing equipment, main access equipment and at least one standby access equipment, wherein the main access equipment and the standby access equipment are respectively in direct communication connection with the dual homing equipment; the communication between the dual-homing device and the remote device is realized through the main access device, and when the at least one standby access device learns that the access port between the dual-homing device and the main access device is changed from an UP state to a DOWN state, one standby access device in the at least one standby access device is automatically converted into the main access device;
when only one standby access device exists in the system, the standby access device is directly and automatically converted into a main access device; when at least two standby access devices exist in the system, after the at least two standby access devices negotiate through a direct communication connection between the at least two standby access devices, one of the at least two standby access devices is automatically converted into a main access device.
2. The system of claim 1, wherein the direct communication connection is one of the following direct communication connections: serial port communication connection, parallel port communication connection, wired Ethernet communication connection, optical fiber communication connection and wireless communication connection.
3. The system of claim 2, wherein a detection and reporting period of status information of the access port is at least less than 10ms, the status information including port identification, port status.
4. A method for supporting dual-homing protection, the method being for the system of claim 1, comprising:
step 1: establishing direct communication connection between the access devices, and sharing the state information of the access ports between the dual-homing device and each access device between the access devices;
step 2: enabling communication between the dual-homed device and a remote device via the primary access device;
and step 3: when the at least one standby access device learns that the access port between the dual homing device and the main access device is changed from an UP state to a DOWN state, one standby access device in the at least one standby access device is automatically changed into a main access device;
in the step 3:
when only one standby access device exists in the system, the standby access device is directly and automatically converted into a main access device; when at least two standby access devices exist in the system, after the at least two standby access devices negotiate through a direct communication connection between the at least two standby access devices, one of the at least two standby access devices is automatically converted into a main access device.
5. The method of claim 4, wherein the direct communication connection is one of the following direct communication connections: serial port communication connection, parallel port communication connection, wired Ethernet communication connection, optical fiber communication connection and wireless communication connection.
6. The method of claim 5, wherein a detection and reporting period of status information of the access port is at least less than 10ms, the status information including port identification, port status.
CN201810131299.2A 2018-02-09 2018-02-09 System and method for supporting dual-homing protection Active CN108337162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810131299.2A CN108337162B (en) 2018-02-09 2018-02-09 System and method for supporting dual-homing protection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810131299.2A CN108337162B (en) 2018-02-09 2018-02-09 System and method for supporting dual-homing protection

Publications (2)

Publication Number Publication Date
CN108337162A CN108337162A (en) 2018-07-27
CN108337162B true CN108337162B (en) 2020-11-10

Family

ID=62927310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810131299.2A Active CN108337162B (en) 2018-02-09 2018-02-09 System and method for supporting dual-homing protection

Country Status (1)

Country Link
CN (1) CN108337162B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112751754B (en) 2019-10-29 2022-05-13 华为技术有限公司 Method and equipment for selecting port switched to working state during dual-homing access
CN113595895B (en) * 2020-04-30 2022-12-06 华为技术有限公司 Message control method, first PE (provider edge) equipment, first CE (customer edge) equipment and storage medium
CN116545920A (en) * 2023-04-06 2023-08-04 苏州浪潮智能科技有限公司 Link maintenance method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068139A (en) * 2007-06-28 2007-11-07 中兴通讯股份有限公司 Media gateway upper connection link main spare protecting method
CN101159757A (en) * 2007-10-25 2008-04-09 中兴通讯股份有限公司 Dual Homing Synchronous Data Transmission Method
CN102437919A (en) * 2010-09-29 2012-05-02 中国电信股份有限公司 Access router and link reliability protection method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102448095A (en) * 2012-01-20 2012-05-09 杭州华三通信技术有限公司 Double-homing protection method and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068139A (en) * 2007-06-28 2007-11-07 中兴通讯股份有限公司 Media gateway upper connection link main spare protecting method
CN101159757A (en) * 2007-10-25 2008-04-09 中兴通讯股份有限公司 Dual Homing Synchronous Data Transmission Method
CN102437919A (en) * 2010-09-29 2012-05-02 中国电信股份有限公司 Access router and link reliability protection method

Also Published As

Publication number Publication date
CN108337162A (en) 2018-07-27

Similar Documents

Publication Publication Date Title
CN102007729B (en) Connectivity Fault Management Service Indication Extension
CN112769587B (en) Forwarding method, equipment and storage medium for access traffic of dual homing device
CN102006189B (en) Primary access server determination method and device for dual-machine redundancy backup
EP4016932A1 (en) Evpn and vpls coexistence method, apparatus, and system
CN103944828A (en) Method and equipment for transmitting protocol messages
US8098575B2 (en) Packet relay method and device
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
CN108055163A (en) A kind of dual-homed equipment and its protection switching method
CN108337162B (en) System and method for supporting dual-homing protection
CN102916843B (en) PTN network is utilized to carry the link protection implementation method of point-to-point private line service
WO2016124117A1 (en) Method, switching device and network controller for protecting links in software-defined network (sdn)
CN102239670A (en) A load sharing method and device
CN109194592B (en) Method and system for solving island problem in multi-link network
CN101330404A (en) Method, system and device for managing network device port status
CN108270593A (en) A kind of two-node cluster hot backup method and system
JP6383232B2 (en) Relay system and switch device
US9596129B2 (en) Communication system, control apparatus, communication apparatus, information-relaying method, and program
US10756813B1 (en) Broadband subscriber switchover in a ring network
CN101291258B (en) Ethernet loop processing method for multi-frame interconnection of communication platforms
US20170289014A1 (en) Redundany system of routing paths and method thereof
CN108599984B (en) Method for sharing port state, access equipment and system for supporting dual-homing protection
CN116599840B (en) Method, device and storage medium for dual uplink management configuration of network equipment
CN102611567B (en) A kind of group network system of dual-host backup and message transmitting method
CN106533771A (en) Network device and control information transmission method
KR101442567B1 (en) Seamless network communication method using frame based routing on the ring topology

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
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 100000 room 1501, 15th floor, building 5, lianhuayuan, Haidian District, Beijing

Patentee after: BEIJING TELIXIN ELECTRONICS TECHNOLOGY Co.,Ltd.

Address before: 100176 Building 1, jianxiangyuan, 209 North Fourth Ring Road, Haidian District, Beijing

Patentee before: BEIJING TELIXIN ELECTRONICS TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Building 7, 1st to 3rd floors, No. 2 Jingyuan North Street, Beijing Economic and Technological Development Zone, Daxing District, Beijing 100176

Patentee after: BEIJING TELIXIN ELECTRONICS TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: 100000 room 1501, 15th floor, building 5, lianhuayuan, Haidian District, Beijing

Patentee before: BEIJING TELIXIN ELECTRONICS TECHNOLOGY Co.,Ltd.

Country or region before: China