CN111010288A - Switch networking management method and device - Google Patents
Switch networking management method and device Download PDFInfo
- Publication number
- CN111010288A CN111010288A CN201910969328.7A CN201910969328A CN111010288A CN 111010288 A CN111010288 A CN 111010288A CN 201910969328 A CN201910969328 A CN 201910969328A CN 111010288 A CN111010288 A CN 111010288A
- Authority
- CN
- China
- Prior art keywords
- networking
- network
- connecting line
- type
- mode
- 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
Links
- 230000006855 networking Effects 0.000 title claims abstract description 200
- 238000007726 management method Methods 0.000 title claims abstract description 15
- 238000000034 method Methods 0.000 claims abstract description 28
- 238000012360 testing method Methods 0.000 abstract description 18
- 230000008569 process Effects 0.000 abstract description 8
- 230000004044 response Effects 0.000 abstract description 6
- 238000004891 communication Methods 0.000 abstract description 4
- 101710176296 Switch 2 Proteins 0.000 description 6
- 238000004590 computer program Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a switch networking management method and equipment, wherein the method comprises the following steps: forming a networking name according to the type and the port number of the used equipment in the network and a networking mode of the network; forming networking links according to the connection relation of each link in the network; forming a networking graph by the device type and the connection symbol according to the connection mode of the network; the networking name, the networking link and the networking graph are associated to form networking information, and the networking information of different networks is gathered to form a networking library; and in response to receiving the networking instruction, determining the type of the used equipment and the number of the cables according to the networking information in the networking library and networking. By using the method provided by the invention, the test working efficiency can be effectively improved, the effective communication of different personnel to the networking mode can be ensured, and the accurate establishment of the networking mode in the test process of a test engineer is ensured.
Description
Technical Field
The field relates to the field of computers, and more particularly to a method and apparatus for switch networking management.
Background
The switch environment is built and a test process can use various network topological structures, each topology contains various different networking modes, testers need to connect the switch ports and the network tester ports and build a test environment according to the networking modes to ensure the test accuracy, and therefore the networking modes need to be clearly written in each test case. At present, no intuitive and clear networking management method exists.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a switch networking management method, which can effectively improve test work efficiency, ensure effective communication between different people in a networking manner, and ensure accurate establishment of a networking manner in a test process of a test engineer.
In view of the above object, an aspect of the embodiments of the present invention provides a switch networking management method, including the following steps:
forming a networking name according to the type and the port number of the used equipment in the network and a networking mode of the network;
forming networking links according to the connection relation of each link in the network;
forming a networking graph by the device type and the connection symbol according to the connection mode of the network;
the networking name, the networking link and the networking graph are associated to form networking information, and the networking information of different networks is gathered to form a networking library;
and in response to receiving the networking instruction, determining the type of the used equipment and the number of the cables according to the networking information in the networking library and networking.
According to one embodiment of the invention, the device types include a switch and a network tester.
According to one embodiment of the present invention, the networking modes include linear, star, tree, ring, and mesh.
According to one embodiment of the invention, the format of the networking name is: switch port number-switch-network tester port number-network tester-networking mode.
According to one embodiment of the invention, the connection symbol comprises: the connecting line comprises a transverse connecting line, a vertical connecting line, a lower right connecting line, an upper left connecting line and an upper right connecting line, a lower left connecting line.
In another aspect of the embodiments of the present invention, there is also provided a switch networking management device, where the device includes:
at least one processor; and
a memory storing program code executable by the processor, the program code when executed by the processor performing the steps of:
forming a networking name according to the type and the port number of the used equipment in the network and a networking mode of the network;
forming networking links according to the connection relation of each link in the network;
forming a networking graph by the device type and the connection symbol according to the connection mode of the network;
the networking name, the networking link and the networking graph are associated to form networking information, and the networking information of different networks is gathered to form a networking library;
and in response to receiving the networking instruction, determining the type of the used equipment and the number of the cables according to the networking information in the networking library and networking.
According to one embodiment of the invention, the device types include a switch and a network tester.
According to one embodiment of the present invention, the networking modes include a line type, a star type, a tree type, a ring type, and a net type.
According to one embodiment of the invention, the format of the networking name is: switch port number-switch-network tester port number-network tester-networking mode.
According to one embodiment of the invention, the connection symbol comprises: the connecting line comprises a transverse connecting line, a vertical connecting line, a lower right connecting line, an upper left connecting line and an upper right connecting line, a lower left connecting line.
The invention has the following beneficial technical effects: the switch networking management method provided by the embodiment of the invention forms a networking name according to the type and the port number of the used equipment in the network and the networking mode of the network; forming networking links according to the connection relation of each link in the network; forming a networking graph in a mode of device type and connection symbols according to the connection mode of the network; networking information is formed by associating networking names, networking links and networking graphs, and networking information of different networks is collected to form a networking library; the technical scheme that the number of the used equipment types and cables is determined and networking is carried out according to the information in the networking library in response to the received networking instruction can effectively improve the testing work efficiency, can ensure effective communication of networking modes of different personnel, and ensures accurate construction of the networking modes in the testing process of a testing engineer.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a switch networking management method according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
In view of the above object, a first aspect of the embodiments of the present invention provides an embodiment of a switch networking management method. Fig. 1 shows a schematic flow diagram of the method.
As shown in fig. 1, the method may include the steps of:
s1, forming a networking name according to the type of the equipment used in the network, the port number and the networking mode of the network;
s2, forming a networking link according to the connection relation of each link in the network;
s3 forming a networking diagram by the device type and the connection symbol according to the connection mode of the network;
s4, the networking name, the networking link and the networking map are associated to form networking information, and the networking information of different networks is collected to form a networking library;
s5, responding to the received command of networking, determining the type of the used equipment and the number of cables according to the networking information in the networking library and networking.
In some embodiments, the S1 forms a networking name according to a device type and a port number used in the network and a networking mode of the network, where the device type includes a switch and a network tester, the networking mode may include a linear mode, a star mode, a tree mode, a ring mode, and a network mode, and the format of the networking name is: switch port number-switch-network tester port number-network tester-networking mode.
Networking mode may be abbreviated as: the networking method comprises five networking modes, namely X-S-Y-T networking mode, wherein X represents the number of ports of a switch, S represents the switch, Y represents the number of ports of a NETWORK tester, T represents the ports of the NETWORK tester, and the networking mode comprises five modes, namely a linear mode (LINE), a STAR mode (STAR), a TREE mode (TREE), a ring mode (LOOP) and a NETWORK mode (NETWORK), for example, the networking name 2-S-2-T-LINE represents that two ports of the switch and two ports of the NETWORK tester are used together, and the networking mode is a linear networking mode.
According to some embodiments, the S2 forms a networking link according to a connection relationship of each link in the network, and explains all used links in the networking mode, for example, four links are shared in the 2-S-2-T-LINE networking mode, which are respectively:
link1:Switch1 to Tester1,Tester1 to Switch1;
link2:Switch1 to Switch2,Switch2 to Switch1;
link3:Switch1 to Switch2,Switch2 to Switch1;
link4:Switch2 to Tester2,Tester2 to Switch2。
link1 represents that a port 1 of the network tester has a link connection with switch a; link2 and link3 represent switch a and switch B as having two link connections, and link4 represents a network tester with one link connection at port 2 of switch B.
In some embodiments of the present invention, S3 forms a networking map with device types and connection symbols according to a connection mode of a network, and the connection symbols include: the connecting line comprises a transverse connecting line, a vertical connecting line, a lower right connecting line, an upper left connecting line and an upper right connecting line, a lower left connecting line.
The networking mode is explained by using an actual networking diagram, wherein the connection LINEs are represented by four modes of- (horizontal connection LINE), | (vertical connection LINE), \\ (lower right, upper left connection LINE),/(upper right, lower left connection LINE), the switch ports and the network tester ports are represented by using tester X and SwitchY (X, Y represent the port numbers of the network tester and the switch respectively and can be freely changed according to the actually used ports), for example, the networking diagram of 2-S-2-T-LINE is as follows:
Tester1----Switch1====Switch2----Tester2
in some embodiments of the present invention, S4 associates networking names, networking links, and networking graphs to form networking information, and aggregates networking information of different networks to form a networking library. One example of a networking database is shown in table 1 below:
table 1: networking database
According to some embodiments of the present invention, in response to receiving a networking instruction, S5 determines the type of devices and the number of cables to be used according to networking information in a networking library and performs networking, and during the process of building or testing a networking environment, an operation and maintenance worker or a tester may query the networking library for a corresponding networking mode, and then complete networking and link connection of the environment according to specific contents of each field, determine the number of ports and switches of a required network tester according to a networking name in a networking database, determine the number of cables required according to a networking link, and then perform networking according to a networking diagram.
When the networking library is formed, a unique number can be written before the networking information of each network, so that the networking information of different networks can be better distinguished and searched. Description of networking information of each network can be added, and the description can include an application scene, a topology type and the like of the networking mode.
The management method can specify that the networking mode in the switch test case is filled in by using a mode of combining the networking serial number and the networking name, and the specific format is' networking serial number: networking names ", e.g." 007:2-S-2-T-LINE ". The method has the advantages that if the same networking mode is used by a plurality of use cases, the use cases can correspond to one networking mode in the networking mode library only by filling the networking name and the networking serial number, and all the networking modes can be effectively and uniformly managed.
Through above technical scheme, can effectively promote test work efficiency, can guarantee the effective communication of different personnel to the network deployment mode, guarantee the accuracy of test engineer test in-process network deployment mode and build.
It should be noted that, as will be understood by those skilled in the art, all or part of the processes in the methods of the above embodiments may be implemented by instructing relevant hardware through a computer program, and the above programs may be stored in a computer-readable storage medium, and when executed, the programs may include the processes of the embodiments of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU, and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention.
In view of the above object, a second aspect of the embodiments of the present invention provides a switch networking management device, which includes:
at least one processor; and
a memory storing program code executable by the processor, the program code when executed by the processor performing the steps of:
forming a networking name according to the type and the port number of the used equipment in the network and a networking mode of the network;
forming networking links according to the connection relation of each link in the network;
forming a networking graph by the device type and the connection symbol according to the connection mode of the network;
the networking name, the networking link and the networking graph are associated to form networking information, and the networking information of different networks is gathered to form a networking library;
and in response to receiving the networking instruction, determining the type of the used equipment and the number of the cables according to the networking information in the networking library and networking.
In a preferred embodiment of the invention, the device types include switches and network testers.
In a preferred embodiment of the present invention, the networking modes include a line type, a star type, a tree type, a ring type, and a net type.
In a preferred embodiment of the present invention, the format of the networking name is: switch port number-switch-network tester port number-network tester-networking mode.
In a preferred embodiment of the present invention, the connection symbol includes: the connecting line comprises a transverse connecting line, a vertical connecting line, a lower right connecting line, an upper left connecting line and an upper right connecting line, a lower left connecting line.
It should be particularly noted that the embodiment of the system described above employs the embodiment of the method described above to specifically describe the working process of each module, and those skilled in the art can easily think that the modules are applied to other embodiments of the method described above.
Further, the above-described method steps and system elements or modules may also be implemented using a controller and a computer-readable storage medium for storing a computer program for causing the controller to implement the functions of the above-described steps or elements or modules.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The embodiments described above, particularly any "preferred" embodiments, are possible examples of implementations and are presented merely to clearly understand the principles of the invention. Many variations and modifications may be made to the above-described embodiments without departing from the spirit and principles of the technology described herein. All such modifications are intended to be included within the scope of this disclosure and protected by the following claims.
Claims (10)
1. A switch networking management method is characterized by comprising the following steps:
forming a networking name according to the type and the port number of the used equipment in the network and the networking mode of the network;
forming networking links according to the connection relation of each link in the network;
forming a networking graph by the device type and the connection symbol according to the connection mode of the network;
the networking name, the networking link and the networking graph are associated to form networking information, and the networking information of different networks is collected to form a networking library;
and responding to the received networking instruction, determining the type of the used equipment and the number of cables according to the networking information in the networking library, and networking.
2. The method of claim 1, wherein the device types include switches and network testers.
3. The method of claim 2, wherein the networking modes include linear, star, tree, ring, and mesh.
4. The method of claim 3, wherein the format of the networking name is: switch port number-switch-network tester port number-network tester-networking mode.
5. The method of claim 1, wherein concatenating symbols comprises: the connecting line comprises a transverse connecting line, a vertical connecting line, a lower right connecting line, an upper left connecting line and an upper right connecting line, a lower left connecting line.
6. A switch networking management device, the device comprising:
at least one processor; and
a memory storing program code executable by the processor, the program code, when executed by the processor, performing the steps of:
forming a networking name according to the type and the port number of the used equipment in the network and the networking mode of the network;
forming networking links according to the connection relation of each link in the network;
forming a networking graph by the device type and the connection symbol according to the connection mode of the network;
the networking name, the networking link and the networking graph are associated to form networking information, and the networking information of different networks is collected to form a networking library;
and responding to the received networking instruction, determining the type of the used equipment and the number of cables according to the networking information in the networking library, and networking.
7. The device of claim 6, wherein the device types include switches and network testers.
8. The apparatus of claim 7, wherein the networking modes comprise a line type, a star type, a tree type, a ring type, and a net type.
9. The apparatus of claim 8, wherein the format of the networking name is: switch port number-switch-network tester port number-network tester-networking mode.
10. The apparatus of claim 6, wherein the connection symbol comprises: the connecting line comprises a transverse connecting line, a vertical connecting line, a lower right connecting line, an upper left connecting line and an upper right connecting line, a lower left connecting line.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910969328.7A CN111010288A (en) | 2019-10-12 | 2019-10-12 | Switch networking management method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910969328.7A CN111010288A (en) | 2019-10-12 | 2019-10-12 | Switch networking management method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111010288A true CN111010288A (en) | 2020-04-14 |
Family
ID=70111131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910969328.7A Withdrawn CN111010288A (en) | 2019-10-12 | 2019-10-12 | Switch networking management method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111010288A (en) |
-
2019
- 2019-10-12 CN CN201910969328.7A patent/CN111010288A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109802852B (en) | Method and system for constructing network simulation topology applied to network target range | |
Rudie et al. | Minimal communication in a distributed discrete-event system | |
CN108712286A (en) | The determination method, apparatus and storage medium of network topology structure | |
CN109412955A (en) | IPRAN LA Management Room linking relationship determines method and device | |
CA2435068C (en) | Gateway apparatus and gateway setup tool | |
CN112491047A (en) | Fault positioning method, device and equipment for secondary equipment of transformer substation | |
US9588656B2 (en) | Method for automatic display of possible connections and automatic connection of model components of a model of a technical system | |
CN109165865B (en) | Main distribution integrated model checking method and system based on boundary switch connectivity analysis | |
CN113347060B (en) | Method, device and system for detecting power network fault based on process automation | |
CN110737660A (en) | data processing method, device and computer readable storage medium | |
CN111010288A (en) | Switch networking management method and device | |
US6223093B1 (en) | System and method for verifying process procedures in a manufacturing environment | |
CN111176992A (en) | Method and device for testing process engine, computer equipment and storage medium | |
CN116938953A (en) | Block chain-based data processing method and device, electronic equipment and storage medium | |
US8160843B2 (en) | Device and method for planning a production unit | |
CN106230720A (en) | Route recovery method after a kind of equipment fault and device | |
JP3277906B2 (en) | Hierarchical structure creation method and apparatus | |
CN116436791A (en) | Industrial Internet scene construction method, system, equipment and storage medium | |
CN107864069B (en) | Method for realizing automatic cloud testing of communication equipment | |
CN104615410A (en) | Multi-type hardware interface instruction processing method and system | |
CN110855480A (en) | Network fault cause analysis method and device | |
EP2575063B1 (en) | Process for automatically wiring and routing for networks of plants | |
JP7176434B2 (en) | Information processing system, information processing device and data storage program | |
CN106936737A (en) | Port Mirroring implementation method and device based on the network equipment | |
JP2789671B2 (en) | Hierarchical loop data transmission 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: 20200414 |
|
WW01 | Invention patent application withdrawn after publication |