[go: up one dir, main page]

CN103475590A - Device and method for automatically switching network topology - Google Patents

Device and method for automatically switching network topology Download PDF

Info

Publication number
CN103475590A
CN103475590A CN2013104135287A CN201310413528A CN103475590A CN 103475590 A CN103475590 A CN 103475590A CN 2013104135287 A CN2013104135287 A CN 2013104135287A CN 201310413528 A CN201310413528 A CN 201310413528A CN 103475590 A CN103475590 A CN 103475590A
Authority
CN
China
Prior art keywords
switching
network topology
network
connectivity port
automatically switches
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.)
Pending
Application number
CN2013104135287A
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN2013104135287A priority Critical patent/CN103475590A/en
Publication of CN103475590A publication Critical patent/CN103475590A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the technical field of computer communication, in particular to the field of communication device management. A device for automatically switching a network topology is applied to switching of the network topology. The network topology comprises a plurality of nodes and links which are in linkage with the nodes. Each node comprises a network device. A controlled device is arranged at the position of at least one node. The controlled device is provided with a plurality of connecting ports. One connecting port is a control terminal which is connected with a control device used for managing the controlled device. At least one connecting port is connected with the network devices before the switching. At least one connecting port is connected with the network devices after the switching. The control device sends a switching command to the control terminal to achieve the aim of switching from one network topology into another network topology. Manual switching is not required, unified management is facilitated, the automatic switching is achieved, the communication situation is automatically verified, the human cost is reduced, and meanwhile the topology can be switched in a one-key mode when a test network fails.

Description

The device and method that a kind of network topology automatically switches
Technical field
The present invention relates to the computer communication technology field, be specifically related to the communication equipment management domain.
Background technology
Along with the develop rapidly of the communication technology, the communication equipment in backbone network, local area network (LAN) all makes rapid progress, and corresponding network configuration is also going from strength to strength and changing.Same, the network operation cost is also improving constantly, and for the stability of maintaining network, the construction of most of network has all adopted the mode of backup, so that can provide the fastest emergency processing to network.Present catenet generally all adopts large-scale webmaster unified management various network device up to ten thousand, in management process, the most frequently used view mode is exactly the network topology view, the network topology view can be checked the structure and composition of network more convenient and intuitively, administrative staff and real network positional distance can be far, facilitate telemanagement; But, when network goes wrong, but be difficult to teleprocessing.
Network topology (Topology) structure refers to the physical layout with transmission medium interconnection various device.Refer to form specific physics between the member of network i.e. real or logic be virtual arrangement mode, typically refer to the network topology structure be formed by connecting of various communication equipments in network.No matter be at dealing with network breakdown, or the mininet test, the switching topology is all something of more often doing.So-called switching topology, switch to another kind of topology from a kind of topology, switching may be topological structure, may be also the equipment in topology.Existing topological switching mode is manual switching, and concrete steps are: will need the new equipment of access or replacement to receive in legacy network; Whether the checking new equipment can proper communication in network; The second line of a couplet equipment of original topology is received in the new equipment network.Whether checking second line of a couplet devices communicating is normal.
The shortcoming that existing method exists is 1) need manual switching equipment, be unfavorable for unified management; 2) need constantly to verify signal intelligence in handoff procedure, holding time is longer simultaneously, and the more complicated holding time of network is longer; 3) processing time in the time of need to switching topology when network goes wrong is longer.
Summary of the invention
The object of the invention is to, the device that provides a kind of network topology to automatically switch, solve above technical problem;
The present invention also aims to, a kind of method that provides network topology to automatically switch, solve above technical problem.
Technical problem solved by the invention can realize by the following technical solutions:
The device that a kind of network topology automatically switches, be applied to the switching of network topology, and described network topology comprises a plurality of nodes and link the link of described node, and described node comprises the network equipment;
Wherein, at least one described node place arranges controlled plant, and described controlled plant is provided with a plurality of connectivity ports, and a described connectivity port is control end, the control appliance of described control end connection one for controlled plant is managed; At least one described connectivity port connects the network equipment before switching, at least one described connectivity port connects the to be switched network equipment, described control appliance, by described control end, sending switching command, is realized switching to another kind of network topology from a kind of network topology.
Preferably, described control appliance connects a memory module, and described memory module stores handoff list, and described handoff list comprises the connectivity port information that is connected to the front network equipment of switching; Described handoff list also comprises the connectivity port information that is connected to the to be switched network equipment, and described control appliance sends switching command according to the information of described handoff list to described control end.
Preferably, described handoff list also comprises the station location marker information of described controlled plant.
Preferably, described handoff list also comprises the authority information of managing use.
Preferably, described station location marker information comprises the IP address information.
Preferably, the node place that the upstream ends of described link connects arranges uplink network equipment, and the node place that the downstream end of described link connects arranges downlink network equipment.
Preferably, described controlled plant is provided with four connectivity ports, and a described connectivity port connects the uplink network equipment before switching, and a described connectivity port connects to be switched uplink network equipment, also has a described connectivity port to connect to be switched downstream plant.
Preferably, described connectivity port adopts the connectivity port of 10M or 100M or 1000M.
A kind of method that network topology automatically switches, wherein, be applied to the device that above-mentioned a kind of network topology automatically switches, and specifically comprises:
Step s1, the step of management handoff list: the connectivity port information from described controlled plant to described handoff list, station location marker information, the authority information that add or delete;
Step s2, the step of operation switching: trigger described handoff list while manually selecting described handoff list or satisfied to impose a condition, described control appliance sends switching command to described controlled plant, and described controlled plant action, realize switching to another kind of network topology from a kind of network topology.
Preferably, before step s2, also comprise the step that switching condition is set: by being set as switching condition the setting-up time cycle.
Beneficial effect: owing to adopting above technical scheme, the present invention does not need manual switching, facilitates unified management; Automatically switch, the automatic Verification signal intelligence, reduce human cost; Can a key switching topology when test network goes wrong simultaneously.
The accompanying drawing explanation
Fig. 1 is the schematic diagram that a node place of the present invention arranges controlled plant;
Fig. 2 is method flow schematic diagram of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work, belong to the scope of protection of the invention.
It should be noted that, in the situation that do not conflict, embodiment and the feature in embodiment in the present invention can combine mutually.
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
The device that technical scheme of the present invention provides a kind of network topology to automatically switch, be applied to the switching of network topology, and network topology comprises the link of a plurality of nodes and chain binding place, and node comprises the network equipment;
With reference to Fig. 1, wherein, at least one node 2 place arranges controlled plant 1, and controlled plant 1 is provided with a plurality of connectivity ports, and a connectivity port is control end 11, the control appliance 21 of control end 11 connections one for controlled plant 1 is managed; At least one connectivity port 12 connects the network equipment 22 before switching, and at least one connectivity port 13 connects the to be switched network equipment, and control appliance 21, by control end 11, sending switching command, is realized switching to another kind of network topology from a kind of network topology.
The present invention arranges controlled plant 1 by node 2 places in the needs switching, but the management equipment that this controlled plant 1 is a plurality of connectivity ports adopts the connectivity port state of 21 pairs of controlled plants 1 of control appliance to carry out unified management, realizes topological automatic switchover.
Preferably, control appliance 21 connects a memory module, and memory module stores handoff list, and handoff list comprises the connectivity port information that is connected to the front network equipment of switching; Handoff list also comprises the connectivity port information that is connected to the to be switched network equipment, and control appliance 21 sends switching command according to the information of handoff list to control end 11.While needing switching, select the handoff list of appointment to click switching, or set the automatic switchover condition, automatically switch when condition triggers.
Further, handoff list also comprises the station location marker information of controlled plant 1.Station location marker information preferably includes the IP address information.Handoff list also comprises the authority information of managing use, as user name, password etc.
Preferably, the node place that the upstream ends of link connects arranges uplink network equipment, and the node place that the downstream end of link connects arranges downlink network equipment.
As a kind of specific embodiment, controlled plant is provided with four connectivity ports, and a connectivity port connects the uplink network equipment before switching, also claims former upstream plant; One connectivity port connects to be switched uplink network equipment, also claims new upstream plant, also has a connectivity port to connect downstream plant, can or be called new downstream plant for to be switched downstream plant, also can also claim former downstream plant for the downstream plant before switching.
Connectivity port adopts the connectivity port of 10M or 100M or 1000M, to adapt to port and the speed needs in network commonly used.All connectivity ports can configured port isolation, for avoiding the impact between link, between the connectivity port that connects the uplink network equipment before switching and connectivity port for being connected to be switched uplink network equipment, should isolate by default port.
Above-mentioned controlled plant 1 can manage by remote modes such as telnet.
As a kind of specific embodiment, control appliance 21 is provided with operation interface, and control appliance 21 mainly comprises controlled plant control module, handover trigger module, switching executing module;
The Main Function of controlled plant control module is controlled plant some the call parameter settings while being controlled to the switching node, sign in to equipment and manage configuration and the time can use these parameters carrying out telnet, parameter comprises: the management ip address of controlled plant, port after port before switching and switching, account and the login password of management use, it is level password, in addition, if be provided with the enable password, also need to input the secondary password, generally can configure the enable password in actual use for the webmaster type network equipment with aaa functionality, this password is being used when user model enters into configuration mode.Above-mentioned parameter leaves in memory module with the handoff list form.
The Main Function of handover trigger module is that switching condition is set, and can take the time to carry out time set as condition, also can be switched according to network state, as a regular detection link, once general rule is not switched immediately.After handoff list comes into effect, when meeting trigger condition, carry out immediately handover operation.
The Main Function of switching executing module is whether switching is opened, stopped, and shows the last switching result, and carries out log recording, needs the information of record to comprise: time, handoff list numbering, the condition triggered, the result of handover operation etc.
Above-mentioned function can realize as script by TCL, and TCL (Tool Command Language) is a kind of explanation execution script language (Scripting Language).It provides general program capability: support variable, process and control structure; TCL also has a powerful intrinsic core commands collection simultaneously.Login controlled plant by the telnet mode, and switch the port of controlled plant by issuing fixing order.
It is pointed out that the above-mentioned execution mode of realizing with program is only preferably embodiment of one in the execution mode that the present invention was comprised, the present invention does not get rid of with hardware mode and realizes.
A kind of method that technical scheme of the present invention also provides network topology to automatically switch, wherein, be applied to the device that above-mentioned a kind of network topology automatically switches, and specifically comprises:
Step s1, the step of management handoff list: the connectivity port information from controlled plant to the controlled plant control module, station location marker information, the authority information that add or delete;
Step s2, the step of operation switching: the handover trigger module is set, while manually selecting handoff list or satisfied to impose a condition, triggers handoff list, control appliance sends switching command to controlled plant, the controlled plant action, realize switching to another kind of network topology from a kind of network topology.
Preferably, before step s2, also comprise the step that switching condition is set: by being set as switching condition the setting-up time cycle.
As a kind of embodiment, concrete switching flow as shown in Figure 2,1) bringing into operation first judges whether to meet switching condition afterwards, if started regularly waited for that timing arrives, if not regularly directly arrive next step; 2) first enable up connectivity port, and allow in now new and connect port and can not communicate by letter with the lower port that connects, then verify that this stylish upper company port whether can proper communication; 3) if connect port communication normally on new cancel its remaining communication isolating that connects port, then forbid the former upper port that connects, finishing switching now, show that in switching executing module latest result is pass, and in daily record the information such as writing time, handoff list, switching times, switching result; 4) undesired if connect port communication on new, forbidding connects port newly, shows that in switching executing module latest result is pass, and log.
A kind of specific embodiment , building machine room access topology 2, used topology 1 daytime, uses topology 2 evening.
In topology 1 and topology 2, the crossbar contact in second line of a couplet topology adds controlled plant, and the connectivity port that connects topology 1 is f0/1, and the connectivity port that connects topology 2 is f0/2, and the connectivity port that connects second line of a couplet equipment is f0/3; Start control appliance, configuration controlled plant control module, handover trigger module are inserted the management parameters of controlled setting and are formulated switching front port f0/1, switching rear port f0/2 in handoff list; , the configuration handover triggering condition is regularly, every day is 8:00 early; Configuring before the switching of another handoff list is f0/2 again, after switching, be f0/1, and switching condition is timing, every nights 8 point.When needs operation switching, bring into operation and get final product in switching executing module, can in switching executing module, see up-to-date switching result and log recording after finishing switching.
Switching condition can be set in switching condition module of the present invention and disconnect for certain link, therefore the present invention is particularly useful for the network that exists backup topological.When switching condition is link while disconnecting, the connectedness that can detect this link by periodicity realizes, is exactly that certain fixing address of ping is judged specifically.
In the present invention, also can be applied in other similar multi-object tests, especially in automatic test.First a controlled device of access under each object can be tested appointed object at every turn while making to test, and can be by the controlled device transmitting order to lower levels is realized switching between each object after test completes.The present invention also is applicable to other to have in the webmastering software of automatically fixing a breakdown.
The foregoing is only preferred embodiment of the present invention; not thereby limit embodiments of the present invention and protection range; to those skilled in the art; should recognize that being equal to that all utilizations specification of the present invention and diagramatic content done replace and the resulting scheme of apparent variation, all should be included in protection scope of the present invention.

Claims (10)

1. the device that a network topology automatically switches, be applied to the switching of network topology, and described network topology comprises a plurality of nodes and link the link of described node, and described node comprises the network equipment;
It is characterized in that, at least one described node place arranges controlled plant, and described controlled plant is provided with a plurality of connectivity ports, and a described connectivity port is control end, the control appliance of described control end connection one for controlled plant is managed; At least one described connectivity port connects the network equipment before switching, at least one described connectivity port connects the to be switched network equipment, described control appliance, by described control end, sending switching command, is realized switching to another kind of network topology from a kind of network topology.
2. the device that a kind of network topology according to claim 1 automatically switches, it is characterized in that, described control appliance connects a memory module, and described memory module stores handoff list, and described handoff list comprises the connectivity port information that is connected to the front network equipment of switching; Described handoff list also comprises the connectivity port information that is connected to the to be switched network equipment, and described control appliance sends switching command according to the information of described handoff list to described control end.
3. the device that a kind of network topology according to claim 2 automatically switches is characterized in that described handoff list also comprises the station location marker information of described controlled plant.
4. the device that a kind of network topology according to claim 2 automatically switches is characterized in that described handoff list also comprises the authority information of managing use.
5. the device that a kind of network topology according to claim 1 automatically switches is characterized in that described station location marker information comprises the IP address information.
6. the device that a kind of network topology according to claim 1 automatically switches is characterized in that the node place that the upstream ends of described link connects arranges uplink network equipment, and the node place that the downstream end of described link connects arranges downlink network equipment.
7. the device that a kind of network topology according to claim 6 automatically switches, it is characterized in that, described controlled plant is provided with four connectivity ports, one described connectivity port connects the uplink network equipment before switching, one described connectivity port connects to be switched uplink network equipment, also has a described connectivity port to connect to be switched downstream plant.
8. the device that a kind of network topology according to claim 1 automatically switches is characterized in that described connectivity port adopts the connectivity port of 10M or 100M or 1000M.
9. the method that network topology automatically switches, is characterized in that, is applied to the device that a kind of network topology claimed in claim 2 automatically switches, and specifically comprises:
Step s1, the step of management handoff list: the connectivity port information from described controlled plant to described handoff list, station location marker information, the authority information that add or delete;
Step s2, the step of operation switching: trigger described handoff list while manually selecting described handoff list or satisfied to impose a condition, described control appliance sends switching command to described controlled plant, and described controlled plant action, realize switching to another kind of network topology from a kind of network topology.
10. the method that a kind of network topology according to claim 9 automatically switches, is characterized in that, before step s2, also comprises the step that switching condition is set: by being set as switching condition the setting-up time cycle.
CN2013104135287A 2013-09-11 2013-09-11 Device and method for automatically switching network topology Pending CN103475590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013104135287A CN103475590A (en) 2013-09-11 2013-09-11 Device and method for automatically switching network topology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013104135287A CN103475590A (en) 2013-09-11 2013-09-11 Device and method for automatically switching network topology

Publications (1)

Publication Number Publication Date
CN103475590A true CN103475590A (en) 2013-12-25

Family

ID=49800295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013104135287A Pending CN103475590A (en) 2013-09-11 2013-09-11 Device and method for automatically switching network topology

Country Status (1)

Country Link
CN (1) CN103475590A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375224A (en) * 2015-07-22 2017-02-01 国基电子(上海)有限公司 Router and method for network connection using the router
CN106452913A (en) * 2016-11-22 2017-02-22 卡斯柯信号有限公司 Fast switching method of terminal network device reuse
CN108683567A (en) * 2018-05-30 2018-10-19 郑州云海信息技术有限公司 A switch port fault testing method and system based on MCS and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447915A (en) * 2008-12-30 2009-06-03 吉林中软吉大信息技术有限公司 Method for realizing automatic and smooth switch among different network topology structures and network device thereof
CN201323593Y (en) * 2008-12-30 2009-10-07 吉林中软吉大信息技术有限公司 Network device for automatic smooth switching between various network topology structures
CN102136914A (en) * 2011-04-19 2011-07-27 珠海经济特区伟思有限公司 Network switching device
US20120236727A1 (en) * 2011-03-15 2012-09-20 Askey Computer Corp. Network interface test device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447915A (en) * 2008-12-30 2009-06-03 吉林中软吉大信息技术有限公司 Method for realizing automatic and smooth switch among different network topology structures and network device thereof
CN201323593Y (en) * 2008-12-30 2009-10-07 吉林中软吉大信息技术有限公司 Network device for automatic smooth switching between various network topology structures
US20120236727A1 (en) * 2011-03-15 2012-09-20 Askey Computer Corp. Network interface test device
CN102136914A (en) * 2011-04-19 2011-07-27 珠海经济特区伟思有限公司 Network switching device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375224A (en) * 2015-07-22 2017-02-01 国基电子(上海)有限公司 Router and method for network connection using the router
CN106452913A (en) * 2016-11-22 2017-02-22 卡斯柯信号有限公司 Fast switching method of terminal network device reuse
CN108683567A (en) * 2018-05-30 2018-10-19 郑州云海信息技术有限公司 A switch port fault testing method and system based on MCS and server

Similar Documents

Publication Publication Date Title
CN103139017B (en) The test system and method for a kind of network equipment
WO2010083397A1 (en) Intelligent fast switch-over network tap system and methods
CN106850616B (en) Using SDN technology to solve the method of consistent update of distributed firewall network
CN101702663A (en) Method, device and system for updating ring network topology information
CN106059793A (en) Router information processing method and apparatus based on graceful restart
CN106789630B (en) A kind of network protection method and system, controller, equipment
WO2013189381A2 (en) Link detection method and device for passive optical network
CN108429625A (en) A method and device for implementing fault diagnosis
US9843495B2 (en) Seamless migration from rapid spanning tree protocol to ethernet ring protection switching protocol
CN100596080C (en) Method, device and system for configuring identification of test access equipment
CN103475590A (en) Device and method for automatically switching network topology
CN112671604A (en) Test system and method of network equipment
CN104639358B (en) batch network port switching method and switching system
CN102484603B (en) Create the method and apparatus of redundancy logic connection and store automated system equipment
CN104639360B (en) The method and network element device of network is added in a kind of control network element device
CN106941424A (en) A kind of redundancy switching method and equipment based on TTDP agreements
CN103312765A (en) Reachability validation of nodes of a network of an industrial automation and control system
CN112217680A (en) Controller capability benchmark test method and device based on software-defined wide area network
CN105743782A (en) Routing control method when networks of multi-network-card equipment are switched
CN108881070A (en) Method and apparatus for the selection port in Smart Link group
Ramadona et al. The simulation of SDN network using POX controller: Case in Politeknik Caltex Riau
CN105871524B (en) A kind of method and system based on TIPC protocol realization two-node cluster hot backup
CN113747459B (en) Network device connection method and related products
CN103457766B (en) The method and device of equipment is managed during a kind of stacking splitting
CN103516554B (en) Method and equipment for VM (Virtual Machine) migration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20131225