CN108599984B - Method for sharing port state, access equipment and system for supporting dual-homing protection - Google Patents

Method for sharing port state, access equipment and system for supporting dual-homing protection Download PDF

Info

Publication number
CN108599984B
CN108599984B CN201810214388.3A CN201810214388A CN108599984B CN 108599984 B CN108599984 B CN 108599984B CN 201810214388 A CN201810214388 A CN 201810214388A CN 108599984 B CN108599984 B CN 108599984B
Authority
CN
China
Prior art keywords
access device
side port
homing
state
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
CN201810214388.3A
Other languages
Chinese (zh)
Other versions
CN108599984A (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 CN201810214388.3A priority Critical patent/CN108599984B/en
Publication of CN108599984A publication Critical patent/CN108599984A/en
Application granted granted Critical
Publication of CN108599984B publication Critical patent/CN108599984B/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
    • 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/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

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

Abstract

The invention discloses a method for sharing port state, access equipment and a system for supporting dual-homing protection. The disclosed method comprises: determining status information of a user-side port of a first access device; status information of a user-side port of a first access device is sent over a network to a second access device via a network-side port of the first access device. The disclosed method can share port state information among different access devices, and reduces the number of messages lost due to switching, thereby reducing the number of messages required to be retransmitted.

Description

Method for sharing port state, access equipment and system for supporting dual-homing protection
Technical Field
The present invention relates to the field of network communications, and in particular, to a method for sharing a port state, an access device, and a system for supporting dual homing protection.
Background
In the prior art, a transmission network element (e.g., various access devices, core network routing devices, or switching devices) can know the state of each port of the transmission network element by, for example, detecting a transmission signal on each physical connection line to which each port of the transmission network element is respectively connected. Because direct detection cannot be realized, the transmission network element usually cannot acquire the states of the ports of other transmission network elements in time.
However, in some cases, a transport network element may need to timely acquire the status of the relevant ports of other transport network elements. For example, in a system supporting dual-homing protection, the standby access device may need to acquire the status of the user-side port between the dual-homing device and the primary access device in time to ensure that the protection switch can be completed more quickly (the switch delay is less than 50 ms).
At least in order to solve the above problems, a new technical solution needs to be proposed.
Disclosure of Invention
The method for sharing the port state comprises the following steps:
determining status information of a user-side port of a first access device;
the status information of the user-side port of the first access device is sent over the network to the second access device via the network-side port of the first access device.
According to the method of the present invention, a CCM message is used to periodically send status information of a user-side port of a first access device to a second access device over a network.
According to the method of the present invention, the period is 1/300 second.
According to the method of the invention, a first access device is a main access device in a system supporting dual-homing protection, a second access device is a standby access device in the system supporting dual-homing protection, wherein the system supporting dual-homing protection comprises the dual-homing device, the main access device and at least one standby access device, and when the at least one standby access device learns that a user side 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.
The access equipment for sharing port state comprises:
a user side port state information determining module, configured to determine state information of a user side port of an access device sharing a port state;
and the user side port state information sending module is used for sending the state information of the user side port of the access equipment sharing the port state to the second access equipment through the network by the network side port.
According to the device of the present invention, the status information of the user-side port of the access device sharing the port status is periodically transmitted to the second access device over the network using a CCM message.
The cycle of the apparatus according to the invention is 1/300 second.
The device according to the present invention is a primary access device in a system supporting dual-homing protection, and the second access device is a standby access device in the system supporting dual-homing protection, wherein the system supporting dual-homing protection comprises the dual-homing device, the primary access device, and at least one standby access device, and when the at least one standby access device learns that a user-side port between the dual-homing device and the primary 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 primary access device.
A system supporting dual-homing protection according to the present invention comprises a dual-homing device, an access device as described above as a primary access device and at least one backup access device, one of the at least one backup access device automatically transitions to the primary access device when the at least one backup access device learns that a user-side port between the dual-homing device and the primary access device transitions from an UP state to a DOWN state.
According to the technical scheme of the invention, the port state information can be shared among different access devices, and the number of messages lost due to switching is reduced, so that the number of messages needing to be retransmitted is reduced.
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 illustrative of 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 flow chart of a method of sharing port status according to the invention.
Fig. 2 schematically shows a block schematic diagram of an access device sharing port states according to the present invention.
Fig. 3 schematically shows a schematic diagram of a system 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 flow chart of a method of sharing port states according to the present invention.
As shown in fig. 1, the method for sharing port status includes:
step S102: determining status information of a user-side port of a first access device;
step S104: status information of a user-side port of a first access device is sent over a network to a second access device via a network-side port of the first access device.
According to the method of the invention, the port state information can be shared among different access devices.
Optionally, the status information of the user-side port of the first access device is periodically sent to the second access device over the network using a CCM (Continuity Check Message) Message.
For example, the status information (e.g., device identification, port status) of the above-described user-side port may be contained in an ETH-CC message encapsulated in a CCM message (an ethernet frame in which the value of the "length/type" field in the header is set to 0x 8902) defined in the IEEE 802.1ag standard.
Under the default condition, the transmission priority of the CCM message with the ETH-CC message is the highest and is better than the priority of the data message. Therefore, the minimum transmission delay can be ensured, and the second access device can acquire the state information of the user-side port of the first access device as soon as possible.
Alternatively, the period is 1/300 second.
For example, when the second access device does not receive the CCM message for a duration of 10ms (i.e., does not receive the interrupt message for 3 times), it is determined that the user-side port of the first access device is changed from the UP state to the DOWN state (i.e., a failure state). This approach allows for fault condition detection delays on the order of 10 ms.
1/300 second is the sending period of the CCM message for protection switching operation defined in the IEEE 802.1ag standard. The transmission cycle 1s of the CCM messages for the fault management operation and the transmission cycle 100ms of the CCM messages for the performance monitoring operation may also be used as needed.
Optionally, the first access device is a primary access device in a system supporting dual-homing protection, and the second access device is a standby access device in the system supporting dual-homing protection, where the system supporting dual-homing protection includes a dual-homing device, a primary access device, and at least one standby access device, and when the at least one standby access device learns that a user-side port between the dual-homing device and the primary access device is changed from an UP state to a DOWN state, one of the at least one standby access device automatically changes to the primary access device.
According to the method of the invention, the port state information can be shared between the main access equipment and the standby access equipment in the system supporting dual-homing protection.
In section 5 "network target" of the "ethernet linear protection switching" standard in the communications industry of our country, it is specified that the time for protection switching should be less than 50ms (there is also a similar specification in section 7 of ITU-t g.8031/y.1342). The method is used in a system supporting dual-homing protection, so that the standby access equipment can obtain the information that the user side port of the main access equipment has a fault in time, thereby sending a query message to the dual-homing equipment in time, updating a forwarding information table (and a routing information table) of the standby access equipment according to a response message of the dual-homing equipment, and further performing flooding on all ports of the standby access equipment, thereby quickly establishing a new main link (namely, meeting the requirement that the protection switching time is less than 50 ms).
Fig. 2 schematically shows a block schematic diagram of an access device 200 sharing port states according to the present invention.
As shown in fig. 2, the access device 200 sharing a port state includes:
a user-side port status information determining module 201, configured to determine status information of a user-side port of the access device 200 that shares a port status;
a user-side port status information sending module 203, configured to send, via the network-side port, status information of a user-side port of the access device 200 sharing the port status to the second access device through the network.
Optionally, the CCM messages are used to periodically send status information of the user-side port of the access device 200 sharing the port status to the second access device over the network.
Alternatively, the period is 1/300 second.
Optionally, the access device 200 in the shared port state is a primary access device in a system supporting dual-homing protection, and the second access device is a standby access device in the system supporting dual-homing protection, where the system supporting dual-homing protection includes the dual-homing device, the primary access device, and at least one standby access device, and when the at least one standby access device learns that a user-side port between the dual-homing device and the primary access device is changed from an UP state to a DOWN state, one of the at least one standby access device automatically changes to the primary access device.
Fig. 3 schematically shows a schematic diagram of a system 300 for supporting dual-homing protection according to the present invention.
As shown in fig. 3, a system 300 supporting dual-homing protection includes a dual-homing device (or system), an access device 200 as described above as a primary access device and at least one backup access device (only one backup access device is shown in fig. 3 as an example for clarity), one of which automatically transitions to a primary access device when the at least one backup access device learns that a user-side port between the dual-homing device and the primary access device transitions from an UP state to a DOWN state.
More specifically, the dual-homing device may be a personal computer, an important terminal device of a special industry, a CE network device, or the like. The primary access device may be a CE network device, a PE network device, or the like. The standby access device may be a CE network device, a PE network device, etc., different from the primary access device described above.
In fig. 3, the link identified by the solid line is a primary link, the link identified by the dotted line is a backup link, and all traffic is carried on the primary link (i.e., the packet is transmitted through the link where the user-side port a of the primary access device is located). When the main link fails, the standby link is enabled (for example, when at least one standby access device learns that the user-side 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 in the at least one standby access device is automatically changed into the main access device), and at this time, roles of the main access device and the standby access device are exchanged (that is, a message is transmitted through the link where the user-side port B of the standby access device is located).
That is, the first network element (in this case, the primary access device) includes the status information of the external access port to be monitored (i.e., the user-side port a in fig. 3) between the first network element and the external device (i.e., the dual-homing device) in a message (e.g., the CCM message described above), and sends the message to the second network element (in this case, the standby access device) through the network-side ports C and D in sequence, so as to ensure that the second network element can obtain the status of the external access port to be monitored in time. Similarly, after the role exchange between the primary access device and the backup access device is completed, the external access port to be monitored is changed to the user-side port B in fig. 3, and the second network element (the primary access device in this case) includes the status information of the external access port to be monitored (i.e., the user-side port B in fig. 3) between the second network element and the external device (i.e., the dual-homing device) in a message (e.g., the CCM message described above) and sequentially sends the status information to the first network element (the backup access device in this case) through the network-side ports D and C. This is equivalent to binding an internal interrupt protocol (e.g., a CCM message as described above) between port a of the first network element and port B of the second network element, which interrupt protocol (i.e., message) is redirected (i.e., sent) from port a to port B via network-side port C, D or from port B to port a via network-side port D, C.
Take the example that the dual-homing device initially receives the message from the remote device through the user-side port a of the primary access device and then suddenly fails. Through the technical scheme, the standby access equipment can timely acquire the information that the user side port A of the main access equipment has a fault (namely, the user side port A is changed from an UP state to a DOWN state, which indicates that the user side port A has the fault), so that a query message is timely sent to the dual-homing equipment (through the user side port B of the standby access equipment), a forwarding information table (and a routing information table) of the dual-homing equipment is updated according to a response message of the dual-homing equipment, and then flooding is performed 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 user side port B of the standby access equipment, and the role exchange between the original main access equipment and the standby access equipment is completed (namely, the requirement of protection switching time is met). The number of messages lost due to handover is reduced, thereby reducing the number of messages that need to be retransmitted.
More specifically, as described above, when the transmission cycle of the CCM message is 1/300 second. For example, when the standby access device (i.e., the second access device described above) does not receive the above-mentioned CCM message (i.e., does not receive the interrupt message 3 times) for a duration of 10ms continuously, it is determined that the user-side port of the primary access device (i.e., the first access device described above) is changed from the UP state to the DOWN state. This approach enables a delay of the detection of the state (failure of port a or port B) in the order of 10 ms. Thereby more effectively ensuring that the time delay of the whole protection switching is less than 50ms.
According to the technical scheme of the invention, the detection equipment can acquire the port states of other equipment in time (namely, the rapid detection of the port states to be detected of other equipment can be realized without actual physical wiring between the port to be detected of other equipment and the detection equipment). The time delay of port state detection can reach within 10 ms.
According to the technical scheme of the invention, when a system supporting dual-homing protection is combined, protection switching can be completed more quickly (switching delay is less than 50 ms).
The above-described aspects may be implemented individually or in various combinations, and such variations are within the scope of the present invention.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, and not to limit it. 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 (3)

1. A method of sharing port state, the method comprising:
determining status information of a user-side port of a first access device;
sending, via the network-side port of the first access device, status information of the user-side port of the first access device to a second access device through a core network; periodically transmitting the state information of the user side port of the first access device to the second access device through a core network by using a CCM message with an ETH-CC message, wherein the period is 1/300 second; the first access device is a main access device in a system supporting dual-homing protection, and the second access device is a standby access device in the system supporting dual-homing protection, wherein the system supporting dual-homing protection comprises the dual-homing device, the main access device and at least one standby access device, and when the at least one standby access device learns that a user side 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.
2. An access device in a shared port state, the access device in the shared port state comprising:
a user side port state information determining module, configured to determine state information of a user side port of the access device in the shared port state;
a user side port state information sending module, configured to send, via a network side port, state information of a user side port of the access device in the shared port state to a second access device through a core network; periodically sending the state information of the user side port of the access equipment in the shared port state to the second access equipment through a core network by using a CCM message with an ETH-CC message, wherein the period is 1/300 second; the access device in the shared port state is a main access device in a system supporting dual-homing protection, and the second access device is a standby access device in the system supporting dual-homing protection, wherein the system supporting dual-homing protection comprises the dual-homing device, the main access device and at least one standby access device, and when the at least one standby access device learns that a user-side 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.
3. A system supporting dual-homing protection, comprising a dual-homing device, the access device of claim 2 as a primary access device and at least one backup access device, one of the at least one backup access device automatically transitioning to a primary access device when the at least one backup access device learns of a transition of a user-side port between the dual-homing device and the primary access device from an UP state to a DOWN state.
CN201810214388.3A 2018-03-15 2018-03-15 Method for sharing port state, access equipment and system for supporting dual-homing protection Active CN108599984B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810214388.3A CN108599984B (en) 2018-03-15 2018-03-15 Method for sharing port state, access equipment and system for supporting dual-homing protection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810214388.3A CN108599984B (en) 2018-03-15 2018-03-15 Method for sharing port state, access equipment and system for supporting dual-homing protection

Publications (2)

Publication Number Publication Date
CN108599984A CN108599984A (en) 2018-09-28
CN108599984B true CN108599984B (en) 2023-04-07

Family

ID=63626253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810214388.3A Active CN108599984B (en) 2018-03-15 2018-03-15 Method for sharing port state, access equipment and system for supporting dual-homing protection

Country Status (1)

Country Link
CN (1) CN108599984B (en)

Families Citing this family (2)

* 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
CN115118629B (en) * 2022-07-05 2023-08-25 杭州云合智网技术有限公司 Method for identifying service connectivity of VPWS multi-activity multi-homing

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219086A (en) * 2014-08-07 2014-12-17 深圳市邦彦信息技术有限公司 Two-layer link dual-homing implementation method, device and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834687A (en) * 2009-03-11 2010-09-15 华为技术有限公司 Method, system and device for switching main and spare light access networks
CN101674240B (en) * 2009-09-24 2012-05-09 中兴通讯股份有限公司 Method and device for realizing single-node dual home for distributed system
US9769058B2 (en) * 2013-05-17 2017-09-19 Ciena Corporation Resilient dual-homed data network hand-off

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219086A (en) * 2014-08-07 2014-12-17 深圳市邦彦信息技术有限公司 Two-layer link dual-homing implementation method, device and system

Also Published As

Publication number Publication date
CN108599984A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN115460067B (en) Method and system for high availability enhancement to computer networks
CN110912815B (en) Network element ring formation preventing method, device, equipment and readable storage medium
CN112214441A (en) Communication switching method, equipment and system based on serial bus polling protocol
US11323178B1 (en) Transport control based on layer 1 channel characteristics
CN103490921A (en) Method and device for protecting network, copying node and system
CN108599984B (en) Method for sharing port state, access equipment and system for supporting dual-homing protection
EP2677702A2 (en) A method and apparatus for load balance
CN112822102A (en) Link switching method, device, equipment, system and storage medium
EP3244587A1 (en) Method, device and system for precision time protocol time synchronization in aggregation network
CN113938405A (en) Data processing method and device
WO2022217786A1 (en) Cross-network communicaton method, apparatus, and system for multi-bus network, and storage medium
EP4084406A1 (en) Method and equipment for sending interface message
JP6383232B2 (en) Relay system and switch device
CN110890933B (en) Service protection method, device, system, equipment and medium
CN108337162B (en) System and method for supporting dual-homing protection
EP3068082B1 (en) Fault processing method and apparatus for edge route bridge in trill network
CN116346605A (en) Cluster service system control method and device, intelligent terminal and storage medium
CN103248508A (en) Port protecting method, device and system
CN107819684B (en) Synchronous processing method and device
CN101252525B (en) Method and apparatus for backing up link in PON network
CN105681187A (en) VRRP (Virtual Router Redundancy Protocol) backup set management method and related device
EP2953299A1 (en) Protection switching method, system and node
US20160315839A1 (en) Transmission method, transmission system, and transmission device
CN114158072A (en) Method and device for data transmission in private network
US9621416B2 (en) Method for setting network information in communication device, communication system, and communication device

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