CN112532410B - Rapid response method for large-scale interconnection network Trap - Google Patents

Rapid response method for large-scale interconnection network Trap Download PDF

Info

Publication number
CN112532410B
CN112532410B CN201910879822.4A CN201910879822A CN112532410B CN 112532410 B CN112532410 B CN 112532410B CN 201910879822 A CN201910879822 A CN 201910879822A CN 112532410 B CN112532410 B CN 112532410B
Authority
CN
China
Prior art keywords
network
port
available
switch
changed
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
CN201910879822.4A
Other languages
Chinese (zh)
Other versions
CN112532410A (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.)
Wuxi Jiangnan Computing Technology Institute
Original Assignee
Wuxi Jiangnan Computing Technology Institute
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 Wuxi Jiangnan Computing Technology Institute filed Critical Wuxi Jiangnan Computing Technology Institute
Priority to CN201910879822.4A priority Critical patent/CN112532410B/en
Publication of CN112532410A publication Critical patent/CN112532410A/en
Application granted granted Critical
Publication of CN112532410B publication Critical patent/CN112532410B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/12Discovery or management of network topologies
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports

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 rapid response method of a large-scale interconnection network Trap, which comprises the following steps: the network management receives the Trap message, judges whether the node type connected with the port with changed state is a network card, if so, executes the next step, otherwise, re-probes the network; judging the port change condition, if the port is changed from available to unavailable, not responding to the Trap message, maintaining the current state unchanged, and if the port is changed from unavailable to available, continuing to execute the next step; judging whether available bit of port software is available, if yes, activating the network card to make it available, otherwise, probing network again. The invention optimizes the processing procedure of changing the state of the network card port, and starts the network probing only when the network card port is changed from unavailable to available and the available software bit of the switch port connected with the network card port is unavailable, thereby saving unnecessary network probing time and greatly improving the response speed of network management.

Description

Rapid response method for large-scale interconnection network Trap
Technical Field
The invention belongs to the technical field of high-speed interconnection networks, and particularly relates to a rapid response method for a large-scale interconnection network Trap.
Background
When the link state of the network card port changes, the switch connected with the network card port sends a Trap packet to the network management, and reports the port state change condition. After the network management receives the Trap packet, if the connection relation is changed due to the change of the port state, the topology probing is triggered to re-probe the topology structure of the network.
The number of network cards of the ultra-large scale network is huge, and can reach tens of thousands or even more than hundreds of thousands, and the number of ports of the network cards reaches hundreds of thousands. When the network card is restarted and the state of the port of the network card is changed, the connected switches send Trap packets to the network management, and a large number of Trap packets may exist in the system.
Disclosure of Invention
The invention aims to provide a rapid response method for a large-scale interconnection network Trap, which optimizes the processing process of changing the state of a network card port, so that the response speed of network management is greatly improved.
In order to achieve the above purpose, the invention adopts the following technical scheme: a rapid response method of large-scale interconnection network Trap based on judging the port state of network card and the port state of exchanger connected with network card, which makes rapid response to Trap message of network card of the node type connected with port, includes the following steps:
s1, configuring a network management module, wherein the network management module is used for exploring and finding out and recording a topological connection relation in a network, and the topological connection relation comprises a connection relation among nodes, node types and port information;
s2, when the topological connection relation in the network is changed, the switch actively transmits port information after the switch is changed to the network management module;
s3, the network management module receives the Trap message containing the port information after the switch is changed from the switch, judges whether the node type connected with the switch port with changed state is a network card or not by comparing the port information in the Trap message with the port information of the switch recorded before the network management module, if so, executes the next step, otherwise, re-probes the network;
s4, the network management module judges the change condition of the port according to the received Trap message, if the port is changed from available to unavailable, the current state is not maintained unchanged without responding to the Trap message, the port state recorded before the network management module is set to be unavailable, and if the port is changed from unavailable to available, the next step is continuously executed;
s5, the network management module judges whether the software available bit of the port is available according to the received Trap message, if so, the network management module sends a management packet enabling the port to the network card, the software available bit register of the network card is set to be 1, the network card is activated to be available, and otherwise, the network is explored again.
The technical scheme further improved in the technical scheme is as follows:
1. in the above scheme, the network probing mode includes heavy scanning, half-heavy scanning and light scanning.
2. In the above scheme, the Trap message includes a switch ID number, a number of times of transmission, and port information of the switch that transmits the Trap message.
Due to the application of the technical scheme, compared with the prior art, the invention has the following advantages:
the method optimizes the processing procedure of changing the port state of the network card, improves the method that the port state is changed to trigger topology exploration to re-explore the topology structure of the network in the traditional method, only when the network card port is changed from unavailable to available and the available software bit of the switch port connected with the network card port is unavailable, the network exploration is started, and when the available software bit of the switch port is available, the port is made available by directly activating the operation of the network card, thereby omitting the operations of re-exploration of the network, calculation of a routing table and the like, avoiding unnecessary network exploration time and greatly improving the response speed of network management.
Drawings
FIG. 1 is a schematic flow chart of a rapid response method of a large-scale interconnection network Trap of the invention;
fig. 2 is a flow chart of a rapid response method for a large-scale interconnection network Trap of the present invention.
Detailed Description
The invention is further described below with reference to examples:
examples: a rapid response method of large-scale interconnection network Trap based on judging the port state of network card and the port state of exchanger connected with network card, which makes rapid response to Trap message of network card of the node type connected with port, includes the following steps:
s1, configuring a network management module, wherein the network management module is used for exploring and finding out and recording a topological connection relation in a network, and the topological connection relation comprises a connection relation among nodes, node types and port information;
s2, when the topological connection relation in the network is changed, the switch actively transmits port information after the switch is changed to the network management module;
s3, the network management module receives the Trap message containing the port information after the switch is changed from the switch, judges whether the node type connected with the switch port with changed state is a network card or not by comparing the port information in the Trap message with the port information of the switch recorded before the network management module, if so, executes the next step, otherwise, re-probes the network;
s4, the network management module judges the change condition of the port according to the received Trap message, if the port is changed from available to unavailable, the current state is not maintained unchanged without responding to the Trap message, the port state recorded before the network management module is set to be unavailable, and if the port is changed from unavailable to available, the next step is continuously executed;
s5, the network management module judges whether the software available bit of the port is available according to the received Trap message, if so, the network management module sends a management packet enabling the port to the network card, the software available bit register of the network card is set to be 1, the network card is activated to be available, and otherwise, the network is explored again.
The above-described ways of probing the network include heavy scanning, half heavy scanning, and light scanning.
The Trap message includes the switch ID number, the number of transmissions, and the port information of the switch that transmitted the Trap message.
Examples are further explained as follows:
the invention provides a rapid response method for a large-scale interconnection network Trap,
when the network card port is changed from available to unavailable, the Trap packet does not need to be processed in real time; when the network card port is changed from unavailable to available, as long as the software available bit of the switch port connected with the network card port is 1, the routing table of the port is still available, namely the network card port is directly activated to be immediately available, and the routing table does not need to be explored and written again, so that the response speed of network management is greatly improved.
The node type connected with the port in the Trap message can use the Trap quick response method if the node type is a network card; the node type connected with the port is a network card, and when the port state is changed from non-down to down, the response to the Trap message is not required; when the node type connected with the port is a network card, the port state is changed from down to non-down, and the available bit of port software is 1, the network card is directly activated.
The complete Trap quick response implementation method of the invention is shown in figure 1.
Step 1: the network management receives the Trap message and judges the node type connected with the port with changed state.
Step 2: if the port is not connected with the network card, the severe scanning is triggered.
Step 3: if the port is connected with the network card, the change condition of the port is judged.
Step 4: if the port changes from non-down to down then the response Trap message is not required.
Step 5: if the port changes from down to non-down, the port's software available bit is determined.
Step 6: if the software available bit is not available, a severe scan is triggered.
Step 7: if the software availability bit is available, the network card is directly activated to be available.
The method optimizes the processing procedure of changing the port state of the network card, improves the method that the port state is changed to trigger topology exploration to re-explore the topology structure of the network in the traditional method, only when the network card port is changed from unavailable to available and the available software bit of the switch port connected with the network card port is unavailable, the network exploration is started, and when the available software bit of the switch port is available, the port is made available by directly activating the operation of the network card, thereby omitting the operations of re-exploration of the network, calculation of a routing table and the like, avoiding unnecessary network exploration time and greatly improving the response speed of network management.
In order to facilitate a better understanding of the present invention, the terms used herein will be briefly explained below:
trap message: when the port state of the switch is changed, the switch actively sends a notification message to the network management, wherein the notification message comprises the port number and the port state change condition.
Switch port software available bit: the available bit is 1, which indicates that the switch has configured the routing table and can be used; otherwise, the switch is not available.
Activating a network card port: activating a network card port indicates that the network card enters a software usable state.
The above embodiments are provided to illustrate the technical concept and features of the present invention and are intended to enable those skilled in the art to understand the content of the present invention and implement the same, and are not intended to limit the scope of the present invention. All equivalent changes or modifications made in accordance with the spirit of the present invention should be construed to be included in the scope of the present invention.

Claims (3)

1. A rapid response method for a large-scale interconnection network Trap is characterized in that: based on the judgment of the port state of the network card and the port state of the switch connected with the network card, the fast response is made for the trap message of which the node type of the port connection is the network card, and the method comprises the following steps:
s1, configuring a network management module, wherein the network management module is used for exploring and finding out and recording a topological connection relation in a network, and the topological connection relation comprises a connection relation among nodes, node types and port information;
s2, when the topological connection relation in the network is changed, the switch actively transmits port information after the switch is changed to the network management module;
s3, the network management module receives the Trap message containing the port information after the switch is changed from the switch, judges whether the node type connected with the switch port with changed state is a network card or not by comparing the port information in the Trap message with the port information of the switch recorded before the network management module, if so, executes the next step, otherwise, re-probes the network;
s4, the network management module judges the change condition of the port according to the received Trap message, if the port is changed from available to unavailable, the current state is not maintained unchanged without responding to the Trap message, the port state recorded before the network management module is set to be unavailable, and if the port is changed from unavailable to available, the next step is continuously executed;
s5, the network management module judges whether the software available bit of the port is available according to the received Trap message, if so, the network management module sends a management packet enabling the port to the network card, the software available bit register of the network card is set to be 1, the network card is activated to be available, and otherwise, the network is explored again.
2. The rapid response method for large-scale interconnection network Trap according to claim 1, wherein: the ways of probing the network include heavy scan, half heavy scan and light scan.
3. The rapid response method for large-scale interconnection network Trap according to claim 1, wherein: the Trap message includes the switch ID number, the number of times of transmission and the port information of the switch for transmitting the Trap message.
CN201910879822.4A 2019-09-18 2019-09-18 Rapid response method for large-scale interconnection network Trap Active CN112532410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910879822.4A CN112532410B (en) 2019-09-18 2019-09-18 Rapid response method for large-scale interconnection network Trap

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910879822.4A CN112532410B (en) 2019-09-18 2019-09-18 Rapid response method for large-scale interconnection network Trap

Publications (2)

Publication Number Publication Date
CN112532410A CN112532410A (en) 2021-03-19
CN112532410B true CN112532410B (en) 2023-10-31

Family

ID=74974980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910879822.4A Active CN112532410B (en) 2019-09-18 2019-09-18 Rapid response method for large-scale interconnection network Trap

Country Status (1)

Country Link
CN (1) CN112532410B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937524A (en) * 2006-08-25 2007-03-28 华为技术有限公司 Method and system for webmaster to processing TRAP message
CN101060498A (en) * 2007-06-22 2007-10-24 杭州华三通信技术有限公司 A method for realizing the gateway Mac binding, assembly, gateway and layer 2 switch
JP2008141564A (en) * 2006-12-04 2008-06-19 Oki Electric Ind Co Ltd Communication system including network monitoring device
CN101595678A (en) * 2006-12-20 2009-12-02 艾利森电话股份有限公司 Be used to find the method for the physical topology of communication network
US7675869B1 (en) * 2004-07-06 2010-03-09 Marvell International Limited Apparatus and method for master election and topology discovery in an Ethernet network
CN101785283A (en) * 2007-06-28 2010-07-21 空中客车运营公司 Methods and devices for communicating diagnosis data in a real time communication network
CN101821990A (en) * 2007-10-09 2010-09-01 Lm爱立信电话有限公司 Arrangement and method for handling failures in network
CN102143007A (en) * 2011-05-03 2011-08-03 中国南方电网有限责任公司 Distribution-based hierarchical network topology discovery method
CN102195857A (en) * 2010-03-18 2011-09-21 武汉迈威光电技术有限公司 Network topology structure and node information gathering method
CN108696436A (en) * 2018-08-15 2018-10-23 无锡江南计算技术研究所 A kind of distributed network topology is detected and route distribution system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003006068A (en) * 2001-06-26 2003-01-10 Canon Inc Network device managing device, managing method and management program
US20030208572A1 (en) * 2001-08-31 2003-11-06 Shah Rajesh R. Mechanism for reporting topology changes to clients in a cluster
NO318311B1 (en) * 2003-02-04 2005-02-28 Ontime Networks As Method and apparatus for rapidly reconfiguring a network topology

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7675869B1 (en) * 2004-07-06 2010-03-09 Marvell International Limited Apparatus and method for master election and topology discovery in an Ethernet network
CN1937524A (en) * 2006-08-25 2007-03-28 华为技术有限公司 Method and system for webmaster to processing TRAP message
JP2008141564A (en) * 2006-12-04 2008-06-19 Oki Electric Ind Co Ltd Communication system including network monitoring device
CN101595678A (en) * 2006-12-20 2009-12-02 艾利森电话股份有限公司 Be used to find the method for the physical topology of communication network
CN101060498A (en) * 2007-06-22 2007-10-24 杭州华三通信技术有限公司 A method for realizing the gateway Mac binding, assembly, gateway and layer 2 switch
CN101785283A (en) * 2007-06-28 2010-07-21 空中客车运营公司 Methods and devices for communicating diagnosis data in a real time communication network
CN101821990A (en) * 2007-10-09 2010-09-01 Lm爱立信电话有限公司 Arrangement and method for handling failures in network
CN102195857A (en) * 2010-03-18 2011-09-21 武汉迈威光电技术有限公司 Network topology structure and node information gathering method
CN102143007A (en) * 2011-05-03 2011-08-03 中国南方电网有限责任公司 Distribution-based hierarchical network topology discovery method
CN108696436A (en) * 2018-08-15 2018-10-23 无锡江南计算技术研究所 A kind of distributed network topology is detected and route distribution system and method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Mohammad Samizadeh Nikoo等.On-Chip High-Voltage Sensors Based on Trap-Assisted 2DEG Channel Control.《 IEEE Electron Device Letters》.2019,第第40卷卷(第第4期期),全文. *
刘雪飞 ; 张光磊 ; 王申强 ; .网络设备接口工作状态监控的实现.电脑知识与技术.2012,(第14期),全文. *
网络拓扑多端扫描机制的研究;柴艳娜;李佳;;计算机技术与发展(第09期);全文 *
许刚 ; 王展 ; 臧大伟 ; 安学军 ; .基于链路状态数据库的数据中心网络异常检测算法.计算机研究与发展.2018,(第04期),全文. *

Also Published As

Publication number Publication date
CN112532410A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN101459534B (en) Network topology collecting method for tree shaped network and network equipment
EP1919138B1 (en) A method for implementing backup of the uplink
EP2161880B1 (en) A method for processing ethernet ring message and an ethernet ring protection system using the method
CN101459618A (en) Data packet forwarding method and device for virtual machine network
CN101577722A (en) Method for realizing MAC forced forwarding function and device
CN100407704C (en) Method of dynamically learning address on MAC layer
WO2021056793A1 (en) Power transmission line distributed fault diagnosis system and method
CN102857377B (en) The online topological automatic generation method of a kind of train network
CN107317707B (en) SDN network topology management method based on point coverage set
CN108055156B (en) AP management method and device
CN110601919A (en) Loopback detection method and system
EP2472793A1 (en) Method, device and system for transmitting e1 bidirectional looped network data
CN111565117A (en) Topology discovery method and system based on SNMP
EP2472785B1 (en) Service linkage control system and method
CN111585791B (en) Data synchronization configuration method, system and storage medium
CN112532410B (en) Rapid response method for large-scale interconnection network Trap
CN101102231B (en) An automatic discovery method and device of PPP link routing device
CN101360050A (en) Method and apparatus setting flow control mode
CN113595828B (en) Software defined network topology detection method and system
CN115915098A (en) Method for realizing BMCA in 5G and TSN cross-domain PTP
WO2011047581A1 (en) Method and system for discovering ring network protection information
CN115152192B (en) PCE controlled network reliability
CN112543142B (en) Method and device for realizing RSTP ring network protocol based on FPGA
CN112769650A (en) Multi-VLAN loop detection method and system
CN102820991A (en) Realization method and system of ring network-management topological network

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