CN111683007A - Method and system for switching monitoring traffic forwarding path - Google Patents

Method and system for switching monitoring traffic forwarding path Download PDF

Info

Publication number
CN111683007A
CN111683007A CN202010430604.5A CN202010430604A CN111683007A CN 111683007 A CN111683007 A CN 111683007A CN 202010430604 A CN202010430604 A CN 202010430604A CN 111683007 A CN111683007 A CN 111683007A
Authority
CN
China
Prior art keywords
monitor
slave
virtual
master
priority
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.)
Withdrawn
Application number
CN202010430604.5A
Other languages
Chinese (zh)
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.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security Technologies 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 New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202010430604.5A priority Critical patent/CN111683007A/en
Publication of CN111683007A publication Critical patent/CN111683007A/en
Withdrawn legal-status Critical Current

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/28Routing or path finding of packets in data switching networks using route fault recovery
    • 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/0823Errors, e.g. transmission errors
    • H04L43/0847Transmission error
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2458Modification of priorities while in transit

Abstract

The application provides a method and a system for switching a monitoring flow forwarding path, wherein in the method, a main monitor of a virtual monitor counts the number of fault sessions; the main monitor reaches a preset increment value based on the newly increased failure conversation number of the failure conversation number; the main monitor modifies the priority of the equipment according to a preset decrement value; after modification, the equipment priority of the master monitor is lower than that of the slave monitor of the virtual monitor, the master monitor is switched to be a new slave monitor of the virtual monitor, and the slave monitor is switched to be a new master monitor of the virtual monitor; and the new main monitor informs each monitoring switch to switch the monitoring flow forwarding path. According to the method and the device, the virtual monitor can be enabled to automatically switch the uplink of the monitoring switch according to the increase of the number of abnormal sessions.

Description

Method and system for switching monitoring traffic forwarding path
Technical Field
The present application relates to communication technologies, and in particular, to a method and a system for switching a monitoring traffic forwarding path.
Background
The server, the computer and the wireless equipment in the network transmit audio and video data streams to the monitoring switch, the monitoring switch reports the accessed audio and video flow to the controller based on a source IP (Internet protocol) monitoring (snooping) protocol, and the controller analyzes and checks network faults by detecting conversation and flow information.
As shown in fig. 1, audio and video traffic is accessed through the monitoring switch. The monitor 1 and the monitor 2 hierarchically monitor audio and video traffic from network terminals, such as servers, computers, and mobile terminals, accessed by the switch 3 and the switch 4 through a Virtual Router Redundancy Protocol (VRRP) as a Virtual monitor. Normally, the monitoring switches 3 and 4 send the accessed traffic to the monitor 1 as the main monitor of the virtual monitor, as shown by the solid arrows; when the monitor 1 monitors the abnormal session drop number monitored according to the delay and the packet loss rate of the audio and video flows accessed by the monitoring switch 3 or 4, the total quality is poor. The administrator manually switches the traffic to the monitor 2 through the network management device as indicated by the dashed arrow.
However, the existing traffic monitoring and switching method has the problems that the uplink of the monitoring switch cannot be automatically switched between the member devices of the virtual monitor according to the actual network conditions, the packet loss of audio and video traffic is increased due to the increase of the abnormal number of sessions, and the user experience is deteriorated due to the dropped audio or video.
Disclosure of Invention
The present application aims to provide a method and a system for switching a monitoring traffic forwarding path, which can enable a virtual monitor to automatically switch an uplink of a monitoring switch according to an increase in the number of abnormal sessions.
In order to achieve the above object, the present application provides a method for switching a monitoring traffic forwarding path, where the method includes: counting the number of fault sessions by a main monitor of the virtual monitor; the main monitor reaches a preset increment value based on the newly increased failure conversation number of the failure conversation number; the main monitor modifies the priority of the equipment according to a preset decrement value; after modification, the equipment priority of the master monitor is lower than that of the slave monitor of the virtual monitor, the master monitor is switched to be a new slave monitor of the virtual monitor, and the slave monitor is switched to be a new master monitor of the virtual monitor; and the new main monitor informs each monitoring switch to switch the monitoring flow forwarding path.
In order to achieve the above object, the present application also provides a system for switching a monitoring traffic forwarding path, where the system is a virtual monitor including a master monitor and a slave monitor; the main monitor counts the number of fault sessions; the main monitor determines that the number of newly increased fault sessions of the number of fault sessions reaches a preset incremental value; the main monitor modifies the priority of the equipment according to a preset decrement value; after the modification of the main monitor, the equipment priority is lower than that of the slave monitor, the main monitor is switched to a new slave monitor, and the slave monitor is switched to a new main monitor; and the new main monitor informs each monitoring switch to switch the monitoring flow forwarding path.
The method and the system have the advantages that the virtual monitor can automatically switch and monitor the uplink of the switch according to the increase of the number of abnormal sessions.
Drawings
FIG. 1 is a schematic diagram of a network architecture for the present application;
fig. 2 is a flowchart of a method for switching a monitoring traffic forwarding path according to the present application;
fig. 3 is a schematic diagram of an embodiment of switching a monitoring traffic forwarding path by a virtual monitor provided in the present application;
fig. 4 is a schematic diagram of another embodiment of switching a monitoring traffic forwarding path by a virtual monitor according to the present application;
fig. 5 is a schematic diagram of another embodiment of switching a monitoring traffic forwarding path by a virtual monitor according to the present application.
Detailed Description
A detailed description will be given of a number of examples shown in a number of figures. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present application. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the examples.
The term "including" as that term is used is meant to include, but is not limited to; the term "comprising" means including but not limited to; the terms "above," "within," and "below" include the instant numbers; the terms "greater than" and "less than" mean that the number is not included. The term "based on" means based on at least a portion thereof.
Fig. 2 is a flowchart illustrating a method for switching a monitoring traffic forwarding path according to the present application; as shown in fig. 2, the method includes:
step 201, a main monitor of a virtual monitor counts the number of fault sessions;
step 202, the number of newly added fault sessions of the main monitor based on the number of the fault sessions reaches a preset increment value;
step 203, the main monitor modifies the priority of the equipment according to the preset decrement value;
step 204, the modified equipment priority of the main monitor is lower than that of the auxiliary monitor of the virtual monitor, the main monitor is switched to be a new auxiliary monitor of the virtual monitor, and the auxiliary monitor is switched to be a new main monitor of the virtual monitor;
in step 205, the new primary monitor notifies each monitoring switch to switch the monitoring traffic forwarding path.
Fig. 3 is a schematic diagram of an embodiment of switching a monitoring traffic forwarding path by a virtual supervisor provided in the present application, so as to automatically switch an uplink of the network monitoring switch shown in fig. 1.
In fig. 3, monitor 1 and monitor 2 interact their initial device priorities through VRRP protocol, monitor 1 receives the initial device priority of monitor 2, determines the device priority lower than that of the device, and sets the role of the device as the master monitor role, monitor 2 receives the initial device priority of monitor 1, determines the device priority higher than that of the device, and sets the role of the device as the slave monitor role.
The monitor 1 sends a protocol message, such as a gratuitous arp (address resolution protocol) message, to the monitoring switches 3 and 4, and notifies that the MAC address of the IP address of the virtual monitor is the MAC address of the monitor 1. The monitoring switches 3 and 4 receive the protocol message, learn the MAC address of the virtual monitor to the port connected to the monitor 1, and send the uplink audio and video traffic to the virtual monitor to the monitor 1 through the port connected to the monitor 1.
The monitor 1 calculates delay and packet loss rate monitoring according to the received uplink audio and video traffic, and determines whether the session is abnormally failed. The monitor 1 monitors the failed sessions and counts the number of failed sessions. When the number of newly added fault sessions counted by the monitor 1 reaches a predetermined increment value, for example, 20 newly added fault sessions (the predetermined increment value is not limited in the present application, and the predetermined increment value may be increased or decreased according to the network and service sensitivity requirements); and modifying the device priority according to a predetermined decrement value (which is not limited in the application), and reducing the device priority of the device.
And when the monitor 1 and the monitor 2 interact with the VRRP protocol message, sending the modified equipment priority. The monitor 2 transmits the initial device priority of the present device.
The monitor 1 receives the initial device priority of the monitor 2, determines the modified device priority lower than the device, and then keeps the device role as the master monitor role, and the monitor 2 receives the modified device priority of the monitor 1, determines the device priority higher than the device, and then keeps the device role as the slave monitor role.
Fig. 4 is a schematic diagram of another embodiment of switching a monitoring traffic forwarding path by a virtual monitor according to the present application;
the monitor 1 continues to receive upstream audio and video traffic, monitor for failed sessions, and count the number of failed sessions. When the number of newly added failure sessions counted by the monitor 1 by the number of failure sessions reaches the predetermined incremental value 20 again, the monitor 1 modifies the device priority according to the predetermined incremental value, and lowers the device priority of the present device.
And when the monitor 1 and the monitor 2 interact with the VRRP protocol message, sending the modified equipment priority. The monitor 2 transmits the initial device priority of the present device.
The monitor 1 receives the initial device priority of the monitor 2, determines that the modified device priority of the device is equal to the device priority of the opposite side, and then keeps the device role as the role of the master monitor, and the monitor 2 receives the modified device priority of the monitor 1, determines that the modified device priority is equal to the device priority of the device, and then keeps the device role as the role of the slave monitor.
Fig. 5 is a schematic diagram of another embodiment of switching a monitoring traffic forwarding path by a virtual monitor according to the present application. The monitor 1 continues to receive upstream audio and video traffic, monitor for failed sessions, and count the number of failed sessions. When the number of newly added failure sessions counted by the monitor 1 by the number of failure sessions reaches the predetermined incremental value 20 again, the monitor 1 modifies the device priority according to the predetermined incremental value, and lowers the device priority of the present device.
And when the monitor 1 and the monitor 2 interact with the VRRP protocol message, sending the modified equipment priority. The monitor 2 sends the initial device priority.
The monitor 1 receives the initial device priority of the monitor 2, determines the modified device priority higher than the device, and switches the device role of the device to be the slave monitor role, and the monitor 2 receives the modified device priority of the monitor 1, determines the device priority lower than the device, and switches the device role of the device to be the slave monitor role.
The monitor 2 sends gratuitous ARP messages to the monitoring switches 3 and 4, informing the MAC address of the IP address of the virtual monitor to be the MAC address of the monitor 2. The monitoring switches 3 and 4 receive the protocol message, learn the MAC address of the virtual monitor to the port connected with the monitor 2, and switch to the forwarding path connected with the monitor 2 through the uplink audio and video flow sent to the virtual monitor.
The monitor 2 is used as a main monitor of the virtual monitor, and automatically modifies the priority of the device according to the embodiments of fig. 3 to 5, and the uplink forwarding path switching for automatically switching the monitoring traffic can be realized after the number of fault sessions is increased. It should be noted that, if the priority of the two devices of the virtual monitor is alternately lowered due to too many fault sessions, so that after the master monitor and the slave monitor are switched many times, when the priorities of the two devices are both at a sufficiently low value (zero or a predetermined minimum value), it indicates that there is a fault that needs to be eliminated in the network, and the network administrator only needs to perform troubleshooting, and then the switching is not performed according to the above embodiment.
The method and the device have the advantages that the automatic adjustment of the priority of the equipment of the VRRP protocol message is triggered after the monitoring of the increase of the fault session is finished, so that the automatic switching of the master monitor and the slave monitor of the virtual monitor is carried out, the monitoring switch automatically switches the uplink forwarding paths of the uplink audio and video flows, and the problem of manual switching is avoided.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A method for switching a monitoring traffic forwarding path, the method comprising:
counting the number of fault sessions by a main monitor of the virtual monitor;
the main monitor reaches a preset increment value based on the newly increased failure conversation number of the failure conversation number;
the main monitor modifies the priority of the equipment according to a preset decrement value;
the modified equipment priority of the master monitor is lower than that of the slave monitor of the virtual monitor, the master monitor is switched to be a new slave monitor of the virtual monitor, and the slave monitor is switched to be a new master monitor of the virtual monitor;
and the new main monitor informs each monitoring switch to switch the monitoring flow forwarding path.
2. The method of claim 1, further comprising:
the new slave monitor resets the counted number of the fault sessions as an initial value;
and the new main monitor counts the number of the fault sessions again.
3. The method of claim 1, wherein before the modified device priority of the master monitor is lower than the device priority of the slave monitor of the virtual monitor, the method further comprises:
the master monitor and the slave monitor determining that the modified device priority is greater than the device priority of the slave monitor, the master monitor and the slave monitor not switching device roles; or
The master monitor and the slave monitor determining that the modified device priority is equal to the device priority of the slave monitor, the master monitor and the slave monitor not switching device roles.
4. The method of claim 1, wherein before the modified device priority of the master monitor is lower than the device priority of the slave monitor of the virtual monitor, the method further comprises:
and the master monitor sends a virtual routing redundancy protocol message carrying the modified equipment priority, and receives a virtual routing redundancy protocol message of the slave monitor priority sent by the slave monitor.
5. The method of claim 1, wherein the new master monitor notifying each monitoring switch to switch the monitoring traffic forwarding path comprises:
the new host monitor notifies the monitoring switch that the virtual network address of the virtual monitor corresponds to the hardware address of the new host monitor.
6. A system for switching and monitoring a traffic forwarding path is characterized by comprising a main monitor and a slave monitor;
the main monitor counts the number of fault sessions;
the main monitor determines that the number of newly increased fault sessions of the number of fault sessions reaches a preset increment value;
the main monitor modifies the priority of the equipment according to a preset decrement value;
the modified equipment priority of the master monitor is lower than that of the slave monitor, the master monitor is switched to the new slave monitor, and the slave monitor is switched to the new master monitor;
and the new main monitor informs each monitoring switch to switch the monitoring flow forwarding path.
7. The system of claim 6,
the new slave monitor resets the counted number of the fault sessions as an initial value;
and the new main monitor counts the number of the fault sessions again.
8. The system of claim 6, wherein before the modified device priority of the master monitor is lower than the device priority of the slave monitor of the virtual monitor, the method further comprises:
the master monitor and the slave monitor determining that the modified device priority is greater than the device priority of the slave monitor, the master monitor and the slave monitor not switching device roles; or
The master monitor and the slave monitor determining that the modified device priority is equal to the device priority of the slave monitor, the master monitor and the slave monitor not switching device roles.
9. The system of claim 6, wherein before the modified device priority of the master monitor is lower than the device priority of the slave monitor of the virtual monitor, the method further comprises:
the main monitor sends a virtual route redundancy protocol message carrying the modified equipment priority;
the slave monitor sends a virtual routing redundancy protocol message carrying the slave monitor equipment priority;
the master monitor receives a virtual routing redundancy protocol message sent by the slave monitor;
and the slave monitor receives the virtual route redundancy protocol message sent by the master monitor.
10. The system of claim 6, wherein the new master monitor notifies the monitoring switches that the virtual network address of the virtual monitor corresponds to the hardware address of the new master monitor to notify the respective monitoring switches to switch monitoring traffic forwarding paths.
CN202010430604.5A 2020-05-20 2020-05-20 Method and system for switching monitoring traffic forwarding path Withdrawn CN111683007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010430604.5A CN111683007A (en) 2020-05-20 2020-05-20 Method and system for switching monitoring traffic forwarding path

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010430604.5A CN111683007A (en) 2020-05-20 2020-05-20 Method and system for switching monitoring traffic forwarding path

Publications (1)

Publication Number Publication Date
CN111683007A true CN111683007A (en) 2020-09-18

Family

ID=72452114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010430604.5A Withdrawn CN111683007A (en) 2020-05-20 2020-05-20 Method and system for switching monitoring traffic forwarding path

Country Status (1)

Country Link
CN (1) CN111683007A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003273930A (en) * 2002-03-19 2003-09-26 Yamatake Corp Network failure monitoring method, communication system and line switching device
CN1581821A (en) * 2003-08-15 2005-02-16 华为技术有限公司 Key route information monitoring method based on virtual router redundant protocol
CN1933442A (en) * 2005-09-15 2007-03-21 华为技术有限公司 Method and system for realizing virtual router redundant protocol master and standby equipment switching
CN1968260A (en) * 2005-11-17 2007-05-23 华为技术有限公司 Method for implementing virtual router redundancy protocol switching between primary/standby devices
CN103259678A (en) * 2013-04-28 2013-08-21 华为技术有限公司 Main-auxiliary switching method, device, equipment and system
CN109358991A (en) * 2018-11-02 2019-02-19 郑州云海信息技术有限公司 A kind of data transmission method, system, switching device and readable storage medium storing program for executing
CN110661705A (en) * 2019-09-29 2020-01-07 北京物芯科技有限责任公司 Hardware network switching engine and network fault processing system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003273930A (en) * 2002-03-19 2003-09-26 Yamatake Corp Network failure monitoring method, communication system and line switching device
CN1581821A (en) * 2003-08-15 2005-02-16 华为技术有限公司 Key route information monitoring method based on virtual router redundant protocol
CN1933442A (en) * 2005-09-15 2007-03-21 华为技术有限公司 Method and system for realizing virtual router redundant protocol master and standby equipment switching
CN1968260A (en) * 2005-11-17 2007-05-23 华为技术有限公司 Method for implementing virtual router redundancy protocol switching between primary/standby devices
CN103259678A (en) * 2013-04-28 2013-08-21 华为技术有限公司 Main-auxiliary switching method, device, equipment and system
CN109358991A (en) * 2018-11-02 2019-02-19 郑州云海信息技术有限公司 A kind of data transmission method, system, switching device and readable storage medium storing program for executing
CN110661705A (en) * 2019-09-29 2020-01-07 北京物芯科技有限责任公司 Hardware network switching engine and network fault processing system and method

Similar Documents

Publication Publication Date Title
EP3082309B1 (en) Sdn controller, data centre system and router connection method
US7921224B2 (en) Method of maintaining traffic services through congestion caused by network failovers
EP2458768B1 (en) Method for switching node main-standby controllers based on content delivery network (cdn) and cdn thereof
CN101640644B (en) Method and equipment for flow equilibrium based on flexible link group
JP4609125B2 (en) Data transfer system and method
CN108306777B (en) SDN controller-based virtual gateway active/standby switching method and device
US20020105949A1 (en) Band control device
CN100417141C (en) Group broadcasting business realizing method
WO2007028315A1 (en) A multicast realizing method in access device based on main and backup board switching
WO2013065477A1 (en) Communication system
MXPA05013971A (en) Trunk network system for multipoint-to-multipoint relay.
JP2011004298A (en) Packet transfer system, network management device, and edge node
JP2009303090A (en) Load distribution server, network load distribution method and congestion avoidance method
WO2011157149A2 (en) Method, communication device and system, and service request device for main/standby switch between communication devices
US8477655B2 (en) Method, device, and system for establishing label switching path in fast rerouting switching
EP3413514A1 (en) Method and device for managing network apparatus
CN110768848B (en) Method and device for switching main server and standby server
CN104601488A (en) Flow control method and device in SDN (software defined network)
CN111683007A (en) Method and system for switching monitoring traffic forwarding path
JP5558436B2 (en) Network system and network failure avoidance method
CN112073270B (en) Link fault detection method and device
WO2012071933A1 (en) Method and system for service processing
CN103684831A (en) Method, device and system for protecting L2TP network
KR20140050460A (en) Method and apparatus for controling traffic using open flow switches and controller
CN109039728B (en) BFD-based flow congestion detection method and system

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200918

WW01 Invention patent application withdrawn after publication