CN112448853A - Network topological graph optimization method, terminal device and storage medium - Google Patents
Network topological graph optimization method, terminal device and storage medium Download PDFInfo
- Publication number
- CN112448853A CN112448853A CN202011351377.3A CN202011351377A CN112448853A CN 112448853 A CN112448853 A CN 112448853A CN 202011351377 A CN202011351377 A CN 202011351377A CN 112448853 A CN112448853 A CN 112448853A
- Authority
- CN
- China
- Prior art keywords
- roles
- access
- network topology
- groups
- working
- 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.)
- Granted
Links
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a network topological graph optimization method, a terminal device and a storage medium, wherein the method comprises the following steps: dividing all nodes contained in the network topology graph into a plurality of working groups, setting the nodes with the same function in each working group as the same role, and expressing the network topology graph through the working groups containing a plurality of roles; the working groups are expanded or merged by clicking the working groups, and when the working groups are expanded, the access relation among all the roles in the working groups is displayed; when the working groups are combined, the access relation among the roles in the working groups is not displayed; and expanding or combining roles by clicking roles, displaying the access relation among nodes contained in the roles when the roles are expanded, and displaying the access relation among the roles when the roles are combined. The invention greatly reduces the complexity of the network topological graph, can lead the network topological graph to be easier to comb and manage, leads the use of the user to be more convenient and is more friendly in sense.
Description
Technical Field
The present invention relates to the field of network topology diagrams, and in particular, to a network topology diagram optimization method, a terminal device, and a storage medium.
Background
The topology configuration diagram refers to a network configuration diagram constituted by network node devices and a communication medium. The network topology defines the manner in which various computers, printers, network devices, and other devices are connected. In other words, the network topology describes the layout of cables and network devices and the paths taken in data transmission.
The relationship degree of each node in the current topological structure is not large, which is equivalent to scattered distribution, and no correlation exists among the nodes, so that the perception and the use of a user are influenced to a certain extent; when the quantity of nodes and links in the topological graph is very large, all nodes are blocked or a specific node cannot be found; when a node has multiple links to access, the nodes are crowded together, so that specific access relations cannot be distinguished, and great difficulty is caused to the whole sense and use.
Disclosure of Invention
In order to solve the above problems, the present invention provides a network topology optimization method, a terminal device, and a storage medium.
The specific scheme is as follows:
a network topology optimization method comprises the following steps:
dividing all nodes contained in the network topology graph into a plurality of working groups, setting the nodes with the same function in each working group as the same role, and expressing the network topology graph through the working groups containing a plurality of roles;
the working groups are expanded or merged by clicking the working groups, and when the working groups are expanded, the access relation among all the roles in the working groups is displayed; when the working groups are combined, the access relation among the roles in the working groups is not displayed;
and expanding or combining roles by clicking roles, displaying the access relation among nodes contained in the roles when the roles are expanded, and displaying the access relation among the roles when the roles are combined.
Further, the division method of the working group is to set the nodes with the positions, the applications and the environments as the same working group.
Furthermore, each role is named according to the function type of the role and the number of nodes corresponding to the role.
Further, when the work groups are merged, the access relations between the roles corresponding to the different work groups are merged into the access relations between the work groups. And if the work groups of the visitor and the interviewee corresponding to the access relation between more than two roles are the same, combining the access relation between the more than two roles into the access relation between one work group.
Further, when the working groups are expanded, the access relation between the merged working groups is restored to the access relation between the roles included in the working groups.
Further, when merging roles, the access relationships between the nodes included in the roles are merged into the access relationship between the roles corresponding to the nodes. If the roles of the visitor and the interviewee corresponding to the more than two access relations are the same, the more than two access relations are combined into one access relation.
Further, when the role is expanded, the merged access relation is restored to the access relation between the nodes contained in the role.
A network topology optimization terminal device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the processor implements the steps of the method described above according to the embodiment of the present invention.
A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the method as described above for an embodiment of the invention.
The invention adopts the technical scheme and has the beneficial effects that:
(1) all nodes are divided into a plurality of working groups, and the positions of the nodes and the whole arrangement mode are specified to a certain extent.
(2) The nodes with the same link are merged, namely the same role in the same working group accesses another role link relationship for merging, so that the number of links is reduced; and combining the different working groups into 1 to 2 link relations according to the dimension of the groups.
(3) When a specific link relation or a specific node needs to be checked, only a specific role or access relation needs to be expanded, and all the roles or the access relations do not need to be expanded, so that the display intensity is reduced to a certain extent.
Drawings
Fig. 1 is a schematic diagram of a merged working group according to a first embodiment of the present invention.
Fig. 2 is a schematic diagram of the expanded working group according to the first embodiment of the present invention.
Fig. 3 is a schematic diagram illustrating an access relationship when working groups are merged according to an embodiment of the present invention.
Fig. 4 is a schematic diagram illustrating an access relationship when a workgroup is expanded according to an embodiment of the present invention.
Fig. 5 is a schematic diagram illustrating a role being expanded according to an embodiment of the present invention.
Detailed Description
To further illustrate the various embodiments, the invention provides the accompanying drawings. The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the embodiments. Those skilled in the art will appreciate still other possible embodiments and advantages of the present invention with reference to these figures.
The invention will now be further described with reference to the accompanying drawings and detailed description.
The first embodiment is as follows:
the embodiment of the invention provides a network topological graph optimization method, which specifically comprises the following steps:
(1) all nodes contained in the network topology graph are divided into a plurality of working groups, nodes with the same function in each working group are set to be in the same role, and the network topology graph is represented by the working groups containing a plurality of roles.
In other embodiments, a person skilled in the art may divide the work groups according to other division methods according to actual requirements, which is not limited herein.
(2) The working groups are expanded or merged by clicking the working groups, and when the working groups are expanded, the access relation among all the roles in the working groups is displayed; when the work groups are merged, the access relationship between the roles in the work groups is not displayed.
Fig. 1 shows a merged working group 1, which includes two roles, a role web and a role ftp, which are represented by two hexagons in the figure, and the access relationship between the roles is not shown.
As shown in fig. 2, the expanded work group 1 displays access relationships between roles when expanded, and in this embodiment, the access relationships are represented by directional arrows.
In order to better view the number of nodes included in each role, in this embodiment, each role is named according to the function type of the role and the number of nodes corresponding to the role, for example, the role web3 in fig. 2 includes 3 nodes.
Further, when the work groups are merged, the access relations between the roles corresponding to the different work groups are merged into the access relations between the work groups. And if the work groups of the visitor and the interviewee corresponding to the access relation between more than two roles are the same, combining the access relation between the more than two roles into the access relation between one work group.
When the working groups are expanded, the access relation between the combined working groups is restored to the access relation between the roles contained in the working groups.
As shown in fig. 3 and fig. 4, which are schematic diagrams of corresponding access relationships when working groups are merged and expanded, only one access relationship between working group 1 and working group 2 is displayed during merging, and the access relationship between roles included in working group 1 and working group 2, that is, the access relationships from role web3 in working group 1 to role sshd in working group 2 and from role sshd in working group 2 to role ftp in working group 1, are displayed during expanding.
(3) The roles are expanded or merged by clicking the roles, when the roles are expanded, the access relation among the nodes contained in the roles is displayed, and when the roles are merged, the access relation among the roles is displayed, which is the same as the case when the work group is expanded.
Fig. 5 is a schematic diagram illustrating role expansion, in which 3 roles included in the role web3 are expanded to display access relationships between nodes.
Further, when merging roles, the access relationships between the nodes included in the roles are merged into the access relationship between the roles corresponding to the nodes. If the roles of the visitor and the interviewee corresponding to the more than two access relations are the same, the more than two access relations are combined into one access relation. If the role ftp (node 4) has 3 access relations to the role web (node 1), the role web (node 2) and the role web (node 3), the role ftp (node 4) is directly merged into 1 access relation of the role web and the merged role web.
When the role is expanded, the combined access relation is restored to the access relation among the nodes contained in the role.
Through the embodiment, the idea of merging is adopted, the overall display of the network topological graph is divided according to the working groups, the network topological graph is arranged in a certain rule instead of in a scattered way, and the dense access relations are finally abstracted into 1-2 access relations, so that the combing and the use of a user are facilitated, the complexity of the network topological graph is greatly reduced, the network topological graph can be more easily combed and managed, the user can use the network topological graph more conveniently, and the network topological graph is more friendly to sense.
Example two:
the invention further provides a network topology optimization terminal device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the steps in the above method embodiment of the first embodiment of the invention are implemented.
Further, as an executable scheme, the network topology optimization terminal device may be a desktop computer, a notebook, a palm computer, a cloud server, and other computing devices. The network topology optimization terminal device can include, but is not limited to, a processor and a memory. It is understood by those skilled in the art that the above-mentioned structure of the network topology optimization terminal device is only an example of the network topology optimization terminal device, and does not constitute a limitation of the network topology optimization terminal device, and may include more or less components than the above, or combine some components, or different components, for example, the network topology optimization terminal device may further include an input-output device, a network access device, a bus, and the like, which is not limited by the embodiment of the present invention.
Further, as an executable solution, the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, and the like. The general processor may be a microprocessor or the processor may be any conventional processor, etc., and the processor is a control center of the network topology optimization terminal device, and various interfaces and lines are used to connect various parts of the whole network topology optimization terminal device.
The memory may be used for storing the computer program and/or the module, and the processor may implement various functions of the network topology optimization terminal device by running or executing the computer program and/or the module stored in the memory and calling the data stored in the memory. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to the use of the mobile phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The invention also provides a computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the above-mentioned method of an embodiment of the invention.
The network topology optimization terminal device integrated module/unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, can be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), software distribution medium, and the like.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (9)
1. A method for optimizing a network topology map is characterized by comprising the following steps:
dividing all nodes contained in the network topology graph into a plurality of working groups, setting the nodes with the same function in each working group as the same role, and expressing the network topology graph through the working groups containing a plurality of roles;
the working groups are expanded or merged by clicking the working groups, and when the working groups are expanded, the access relation among all the roles in the working groups is displayed; when the working groups are combined, the access relation among the roles in the working groups is not displayed;
and expanding or combining roles by clicking roles, displaying the access relation among nodes contained in the roles when the roles are expanded, and displaying the access relation among the roles when the roles are combined.
2. The method of optimizing a network topology according to claim 1, characterized in that: the division method of the working group is to set the nodes with the positions, the applications and the environments as the same working group.
3. The method of optimizing a network topology according to claim 1, characterized in that: and naming each role according to the function type of the role and the number of nodes corresponding to the role.
4. The method of optimizing a network topology according to claim 1, characterized in that: when the work groups are merged, the access relations between the roles corresponding to the different work groups are merged into the access relations between the work groups. And if the work groups of the visitor and the interviewee corresponding to the access relation between more than two roles are the same, combining the access relation between the more than two roles into the access relation between one work group.
5. The method of optimizing a network topology according to claim 4, characterized in that: when the working groups are expanded, the access relation between the combined working groups is restored to the access relation between the roles contained in the working groups.
6. The method of optimizing a network topology according to claim 1, characterized in that: when the roles are combined, the access relations among the nodes contained in the roles are combined into the access relations among the roles corresponding to the nodes. If the roles of the visitor and the interviewee corresponding to the more than two access relations are the same, the more than two access relations are combined into one access relation.
7. The method of optimizing a network topology according to claim 1, characterized in that: when the role is expanded, the combined access relation is restored to the access relation among the nodes contained in the role.
8. A network topology optimization terminal device is characterized in that: comprising a processor, a memory and a computer program stored in said memory and running on said processor, said processor implementing the steps of the method according to any one of claims 1 to 7 when executing said computer program.
9. A computer-readable storage medium storing a computer program, characterized in that: the computer program when executed by a processor implementing the steps of the method as claimed in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011351377.3A CN112448853B (en) | 2020-11-27 | 2020-11-27 | Network topology optimization method, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011351377.3A CN112448853B (en) | 2020-11-27 | 2020-11-27 | Network topology optimization method, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112448853A true CN112448853A (en) | 2021-03-05 |
CN112448853B CN112448853B (en) | 2023-06-06 |
Family
ID=74738504
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011351377.3A Active CN112448853B (en) | 2020-11-27 | 2020-11-27 | Network topology optimization method, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112448853B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113923028A (en) * | 2021-10-11 | 2022-01-11 | 厦门服云信息科技有限公司 | Network micro-isolation strategy self-generation method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101729353A (en) * | 2008-11-03 | 2010-06-09 | 华为技术有限公司 | Method, device and system of network topology layout |
US20160191532A1 (en) * | 2014-12-29 | 2016-06-30 | Palantir Technologies Inc. | Systems for network risk assessment including processing of user access rights associated with a network of devices |
CN108964964A (en) * | 2017-11-01 | 2018-12-07 | 新华三技术有限公司 | A kind of network topology display methods and device |
CN109783568A (en) * | 2018-12-29 | 2019-05-21 | 咪咕文化科技有限公司 | Method and device for generating network topological graph and storage medium |
-
2020
- 2020-11-27 CN CN202011351377.3A patent/CN112448853B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101729353A (en) * | 2008-11-03 | 2010-06-09 | 华为技术有限公司 | Method, device and system of network topology layout |
US20160191532A1 (en) * | 2014-12-29 | 2016-06-30 | Palantir Technologies Inc. | Systems for network risk assessment including processing of user access rights associated with a network of devices |
CN108964964A (en) * | 2017-11-01 | 2018-12-07 | 新华三技术有限公司 | A kind of network topology display methods and device |
CN109783568A (en) * | 2018-12-29 | 2019-05-21 | 咪咕文化科技有限公司 | Method and device for generating network topological graph and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113923028A (en) * | 2021-10-11 | 2022-01-11 | 厦门服云信息科技有限公司 | Network micro-isolation strategy self-generation method and system |
CN113923028B (en) * | 2021-10-11 | 2023-05-26 | 厦门服云信息科技有限公司 | Network micro-isolation strategy self-generation method and system |
Also Published As
Publication number | Publication date |
---|---|
CN112448853B (en) | 2023-06-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109783757B (en) | Method, device and system for rendering webpage, storage medium and electronic device | |
CN112527848B (en) | Report data query method, device and system based on multiple data sources and storage medium | |
CN109299190B (en) | Method and device for processing metadata of object in distributed storage system | |
CN111031011B (en) | Interaction method and device of TCP/IP accelerator | |
CN109840142A (en) | Thread control method, device, electronic equipment and storage medium based on cloud monitoring | |
CN112269830A (en) | Big data analysis method, system, computer equipment and storage medium thereof | |
CN111984557A (en) | Data processing method, device and system | |
CN113312283A (en) | Heterogeneous image learning system based on FPGA acceleration | |
WO2022228224A1 (en) | Quantum computing task execution method and apparatus, and quantum computer operating system | |
CN112448853A (en) | Network topological graph optimization method, terminal device and storage medium | |
CN111176582A (en) | Matrix storage method, matrix access device and electronic equipment | |
KR20160037737A (en) | Scheduler computing device, data node of distributed computing system having the same, and method thereof | |
CN109783155A (en) | Service Component management method, device, electronic equipment and storage medium | |
EP4012573A1 (en) | Graph reconstruction method and apparatus | |
CN113407254A (en) | Form generation method and device, electronic equipment and storage medium | |
CN113132134A (en) | Topology display method and device | |
CN115879543A (en) | Model training method, device, equipment, medium and system | |
CN109783170A (en) | Business scenario assembling method, device, electronic equipment and storage medium | |
CN113792170B (en) | Graph data dividing method and device and computer equipment | |
CN113031947B (en) | Configuration data management method and device used in interface design tool | |
US20170141976A1 (en) | Graph node with automatically adjusting input ports | |
CN106294143A (en) | The adjustment method of the depositor of chip and device | |
CN111523000A (en) | Method, device, equipment and storage medium for importing data | |
CN115374188B (en) | Resource state query method and device, electronic equipment and storage medium | |
CN110647574B (en) | Social network data display method, terminal device and storage medium |
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 |