CN108429640B - Display method and device for nodes of network equipment - Google Patents

Display method and device for nodes of network equipment Download PDF

Info

Publication number
CN108429640B
CN108429640B CN201810164010.7A CN201810164010A CN108429640B CN 108429640 B CN108429640 B CN 108429640B CN 201810164010 A CN201810164010 A CN 201810164010A CN 108429640 B CN108429640 B CN 108429640B
Authority
CN
China
Prior art keywords
node
main
nodes
layer
links
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
CN201810164010.7A
Other languages
Chinese (zh)
Other versions
CN108429640A (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.)
Beijing Tianyuan Innovation Technology Co ltd
Original Assignee
Beijing Tianyuan Innovation 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 Beijing Tianyuan Innovation Technology Co ltd filed Critical Beijing Tianyuan Innovation Technology Co ltd
Priority to CN201810164010.7A priority Critical patent/CN108429640B/en
Publication of CN108429640A publication Critical patent/CN108429640A/en
Application granted granted Critical
Publication of CN108429640B publication Critical patent/CN108429640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]

Abstract

The embodiment of the invention provides a method and a device for displaying nodes of network equipment, wherein the method comprises the following steps: according to the type of the network equipment, layering nodes corresponding to the network equipment; traversing each node in all nodes of each layer and each node of the other layers to acquire a first association relation between the nodes; determining a main node according to the first incidence relation, and connecting the main node into a main link; acquiring a second association relation between each residual node in each layer except the main node and each main node on the corresponding layer; wherein, the number of the main nodes in each layer is at least two; determining a target main node connected with each residual node according to the second incidence relation, and connecting each residual node with the corresponding target main node to form a branch link; all main links and all branch links are displayed. The device performs the above method. The method and the device provided by the embodiment of the invention can avoid the problems of node crossing and the like.

Description

Display method and device for nodes of network equipment
Technical Field
The embodiment of the invention relates to the field of node management of network equipment, in particular to a method and a device for displaying nodes of the network equipment.
Background
With the rapid development of information network technology, the number of network devices has increased significantly, and the connection relationship has become increasingly complex.
The network equipment is nodulated, and the association between the network equipment can be conveniently and intuitively represented by displaying the nodes through the topological relation, but the topological relation in the prior art easily causes a series of problems of node intersection, logic confusion and the like due to the complex relation between the nodes.
Therefore, how to avoid the above-mentioned drawbacks and optimize the display of the nodes of the network device becomes a problem that needs to be solved urgently.
Disclosure of Invention
To solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for displaying a node of a network device.
In a first aspect, an embodiment of the present invention provides a method for displaying a node of a network device, where the method includes:
according to the type of the network equipment, layering nodes corresponding to the network equipment;
traversing each node in all nodes of each layer and each node of the other layers to acquire a first association relation between the nodes;
determining a main node according to the first incidence relation, and connecting the main node into a main link;
acquiring a second association relation between each residual node in each layer except the main node and each main node on the corresponding layer; wherein, the number of the main nodes in each layer is at least two;
determining a target main node connected with each residual node according to the second incidence relation, and connecting each residual node with the corresponding target main node to form a branch link;
all main links and all branch links are displayed.
In a second aspect, an embodiment of the present invention provides a display apparatus for a node of a network device, where the apparatus includes:
the hierarchical unit is used for layering the nodes corresponding to the network equipment according to the type of the network equipment;
the traversing unit is used for traversing each node in all nodes of each layer and each node of the other layers to acquire a first association relation between the nodes;
the determining unit is used for determining the main nodes according to the first incidence relation and connecting the main nodes into a main link;
the acquisition unit is used for acquiring a second association relation between each residual node in each layer except the main node and each main node in the corresponding layer; wherein, the number of the main nodes in each layer is at least two;
a connection unit, configured to determine, according to the second association relationship, a target master node connected to each remaining node, and connect each remaining node with a corresponding target master node to form a branch link;
and the display unit is used for displaying all the main links and all the branch links.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a processor, a memory, and a bus, wherein,
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform a method comprising:
according to the type of the network equipment, layering nodes corresponding to the network equipment;
traversing each node in all nodes of each layer and each node of the other layers to acquire a first association relation between the nodes;
determining a main node according to the first incidence relation, and connecting the main node into a main link;
acquiring a second association relation between each residual node in each layer except the main node and each main node on the corresponding layer; wherein, the number of the main nodes in each layer is at least two;
determining a target main node connected with each residual node according to the second incidence relation, and connecting each residual node with the corresponding target main node to form a branch link;
all main links and all branch links are displayed.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, including:
the non-transitory computer readable storage medium stores computer instructions that cause the computer to perform a method comprising:
according to the type of the network equipment, layering nodes corresponding to the network equipment;
traversing each node in all nodes of each layer and each node of the other layers to acquire a first association relation between the nodes;
determining a main node according to the first incidence relation, and connecting the main node into a main link;
acquiring a second association relation between each residual node in each layer except the main node and each main node on the corresponding layer; wherein, the number of the main nodes in each layer is at least two;
determining a target main node connected with each residual node according to the second incidence relation, and connecting each residual node with the corresponding target main node to form a branch link;
all main links and all branch links are displayed.
The method and the device for displaying the nodes of the network equipment can avoid a series of problems of node intersection, logic confusion and the like, thereby optimizing the display of the nodes of the network equipment.
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 some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating a method for displaying nodes of a network device according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a display device of a node of a network device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart illustrating a method for displaying a node of a network device according to an embodiment of the present invention, and as shown in fig. 1, the method for displaying a node of a network device according to an embodiment of the present invention includes the following steps:
s1: and layering the nodes corresponding to the network equipment according to the type of the network equipment.
Specifically, the device performs layering on nodes corresponding to the network equipment according to the type of the network equipment. Nodes corresponding to the same or nearly the same type of network devices may be divided into the same layer, for example, as follows: a, B, C, D, E, F, G, H total eight nodes, if the types of A and B are the same or close, then A and B are divided into a layer; if the types of C and D are the same or close to each other, dividing C and D into b layers; if E, F, G, H types are the same or close, E, F, G, H is divided into c layers.
S2: and traversing each node in all nodes of each layer and each node of the rest layers to acquire a first association relation between the nodes.
Specifically, the device traverses each node in all nodes of each layer and each node of the rest layers to acquire a first association relationship between the nodes. Taking the node E of the c layer as an example: the obtained first incidence relation comprises incidence relation among the EAs, incidence relation among the EBs, incidence relation among the ECs and incidence relation among the EDs. Other nodes in the layer c and other layers may refer to the node E in the layer c, and are not described in detail.
S3: and determining the main nodes according to the first incidence relation, and connecting the main nodes into a main link.
Specifically, the device determines the main nodes according to the first incidence relation and connects the main nodes into a main link. The node in the first association relationship whose association degree is greater than a preset threshold may be determined as the master node. The preset threshold value can be set independently according to actual conditions. With reference to the above examples: and if the incidence relation between the EA and the incidence relation between the EC are larger than a preset threshold value, determining the A and the C as the main nodes. It should be noted that: there may be no master node in a certain layer, for example, if the association between ECs and the association between EDs in the layer b are not greater than a preset threshold, there may be no master node in the layer b. There may be multiple master nodes in a certain layer, for example, if the association between EAs in the layer a and the association between EBs are both greater than a preset threshold, there may be two master nodes a and B in the layer a.
For the above case, the primary links may be A-C-E, respectively; a to E; if the node relationship of other nodes of the layer where E is located also meets the above condition, the main link may also be: A-C-E-G, A-C-E-F-G-H, and the like.
S4: acquiring a second association relation between each residual node in each layer except the main node and each main node on the corresponding layer; wherein, the number of the main nodes in each layer is at least two.
Specifically, the device obtains a second association relationship between each remaining node in each layer except the master node and each master node in the corresponding layer; wherein, the number of the main nodes in each layer is at least two. Taking the main link a-C-E-G as an example: i.e. there are two master nodes E and G in level c, the remaining nodes are F, H. The second incidence relation comprises incidence relations among the EF; an association between EHs; including associations between GF; and (4) association relationship between GH.
S5: and determining a target main node connected with each residual node according to the second association relation, and connecting each residual node with the corresponding target main node to form a branch link.
Specifically, the device determines a target main node connected with each remaining node according to the second association relationship, and connects each remaining node with the corresponding target main node to form a branch link. The master node with the largest association degree value in the second association relationship may be determined as the target master node. With reference to the above examples: and if the association relationship between the EF is larger than that between the GF, determining the E as a target main node connected with the F. And connecting E and F to form a branch link. Other nodes are not described in detail. It should be noted that: if there is only one master node on a certain layer, the master node defaults to the target master node.
S6: all main links and all branch links are displayed.
Specifically, the device displays all main links and all branch links. Referring to the above example, assuming that layer a and layer b have only one master node, all master links may be a-C-E-G; all branch links may be E-F, G-H (assuming that the association between EHs is less than the association between GH). Furthermore, all the main links and all the branch links can be displayed on the same display interface of the display foreground, so that the management, analysis and other work of related personnel can be facilitated.
In order to further optimize and display all the branch links, the deviation angle between each branch link and the main link in all the branch links on the same layer and the node coordinates of the nodes on each branch link can be obtained; adjusting the deviation angle and the node coordinate of each branch link according to the deviation angle or the node coordinate; all main links and all adjusted branch links are displayed. The examples referred to above are as follows: taking the branch links E-F as an example: and acquiring the deviation angle between the branch link E-F and the main link A-C-E-G, the node coordinate of E and the node coordinate of F. And if the deviation angle is larger than a preset upper limit threshold value, reducing the deviation angle to a first preset angle, and correspondingly adjusting the node coordinate. The preset upper limit threshold and the first preset angle can be set independently according to actual conditions, can be respectively selected to be 80 degrees and 60 degrees, and the node coordinate of the F is automatically adjusted by adjusting the angle. And if the deviation angle is smaller than or equal to a preset lower limit threshold value, increasing the deviation angle to a second preset angle, and correspondingly adjusting the node coordinates. The preset lower limit threshold and the second preset angle can be set independently according to actual conditions and can be respectively selected to be 15 degrees and 30 degrees, and the node coordinate of the F is automatically adjusted by adjusting the angle. And if the distance between the node coordinate and the corresponding target main node is greater than a preset upper limit distance, keeping the deviation angle unchanged, and adjusting the node coordinate to shorten the distance between the node coordinate and the corresponding target main node to a first preset distance. The preset upper limit distance and the first preset distance can be set independently according to actual conditions and can be respectively selected to be 8 centimeters and 4 centimeters. And if the distance between the node coordinate and the corresponding target main node is smaller than or equal to a preset lower limit distance, keeping the deviation angle unchanged, and adjusting the node coordinate to lengthen the distance between the node coordinate and the corresponding target main node to a second preset distance. The preset lower limit distance and the second preset distance can be set independently according to actual conditions and can be respectively selected to be 1 cm and 3 cm.
The method for displaying the nodes of the network equipment provided by the embodiment of the invention can avoid a series of problems of node intersection, logic confusion and the like, thereby optimizing the display of the nodes of the network equipment.
On the basis of the above embodiment, the layering the nodes corresponding to the network devices according to the types of the network devices includes:
and dividing nodes corresponding to the network devices of the same or near type into the same layer.
Specifically, the apparatus divides nodes corresponding to the same or near type of network devices into the same layer. Reference may be made to the above embodiments, which are not described in detail.
According to the method for displaying the nodes of the network equipment, provided by the embodiment of the invention, the nodes corresponding to the same or nearly same type of network equipment are divided into the same layer, so that the normal operation of the method is ensured.
On the basis of the foregoing embodiment, the determining a master node according to the first association relationship includes:
and determining the node with the association degree greater than a preset threshold value in the first association relationship as the master node.
Specifically, the device determines the node with the association degree greater than a preset threshold in the first association relationship as the master node. Reference may be made to the above embodiments, which are not described in detail.
The method for displaying the nodes of the network equipment ensures the normal operation of the method by reasonably determining the main nodes.
On the basis of the foregoing embodiment, the determining a target master node connected to each remaining node according to the second association relationship includes:
and determining the main node with the maximum association degree value in the second association relationship as a target main node.
Specifically, the device determines the master node with the largest association degree value in the second association relationship as the target master node. Reference may be made to the above embodiments, which are not described in detail.
The method for displaying the nodes of the network equipment ensures the normal operation of the method by reasonably determining the target main node.
On the basis of the above embodiment, the displaying all main links and all branch links includes:
all main links and all branch links are displayed on the same display interface of the display foreground.
Specifically, the device displays all main links and all branch links on the same display interface of the display foreground. Reference may be made to the above embodiments, which are not described in detail.
According to the method for displaying the nodes of the network equipment, provided by the embodiment of the invention, the display of the nodes of the network equipment is further optimized by displaying all the main links and all the branch links on the same display interface of the display foreground.
On the basis of the above embodiment, the method further includes:
and acquiring a deviation angle between each branch link and the main link in all branch links on the same layer and node coordinates of nodes on each branch link.
Specifically, the device obtains a deviation angle between each of all the branch links on the same layer and the main link, and node coordinates of a node on each branch link. Reference may be made to the above embodiments, which are not described in detail.
And adjusting the deviation angle and the node coordinate of each branch link according to the deviation angle or the node coordinate.
Specifically, the device adjusts the deviation angle and the node coordinate of each branch link according to the deviation angle or the node coordinate. Reference may be made to the above embodiments, which are not described in detail.
All main links and all adjusted branch links are displayed.
Specifically, the device displays all main links and all adjusted branch links. Reference may be made to the above embodiments, which are not described in detail.
The method for displaying the nodes of the network equipment provided by the embodiment of the invention can further optimize the display of the branch link.
On the basis of the above embodiment, the adjusting the deviation angle and the node coordinate of each branch link according to the deviation angle or the node coordinate includes:
and if the deviation angle is larger than a preset upper limit threshold, reducing the deviation angle to a first preset angle, and correspondingly adjusting the node coordinate.
Specifically, if the device determines that the deviation angle is larger than a preset upper limit threshold, the device decreases the deviation angle to a first preset angle, and correspondingly adjusts the node coordinates. Reference may be made to the above embodiments, which are not described in detail.
And if the deviation angle is smaller than or equal to a preset lower limit threshold value, increasing the deviation angle to a second preset angle, and correspondingly adjusting the node coordinates.
Specifically, if the device judges that the deviation angle is smaller than or equal to a preset lower limit threshold, the device increases the deviation angle to a second preset angle, and correspondingly adjusts the node coordinates. Reference may be made to the above embodiments, which are not described in detail.
If the distance between the node coordinate and the corresponding target main node is larger than a preset upper limit distance, keeping the deviation angle unchanged, and adjusting the node coordinate to shorten the distance between the node coordinate and the corresponding target main node to a first preset distance.
Specifically, if the device judges that the distance between the node coordinate and the corresponding target main node is larger than a preset upper limit distance, the deviation angle is kept unchanged, and the node coordinate is adjusted to shorten the distance between the node coordinate and the corresponding target main node to a first preset distance. Reference may be made to the above embodiments, which are not described in detail.
And if the distance between the node coordinate and the corresponding target main node is smaller than or equal to a preset lower limit distance, keeping the deviation angle unchanged, and adjusting the node coordinate to lengthen the distance between the node coordinate and the corresponding target main node to a second preset distance.
Specifically, if the device judges that the distance between the node coordinate and the corresponding target main node is smaller than or equal to a preset lower limit distance, the deviation angle is kept unchanged, and the node coordinate is adjusted to lengthen the distance between the node coordinate and the corresponding target main node to a second preset distance. Reference may be made to the above embodiments, which are not described in detail.
The method for displaying the nodes of the network equipment provided by the embodiment of the invention can more reasonably optimize the display of the branch link.
Fig. 2 is a schematic structural diagram of a display device of a node of a network device according to an embodiment of the present invention, and as shown in fig. 2, an embodiment of the present invention provides a display device of a node of a network device, including a layering unit 1, a traversing unit 2, a determining unit 3, an obtaining unit 4, a connecting unit 5, and a display unit 6, where:
the layering unit 1 is used for layering the nodes corresponding to the network equipment according to the type of the network equipment; the traversing unit 2 is configured to traverse each node in all nodes of each layer and each node of the other layers to obtain a first association relationship between the nodes; the determining unit 3 is used for determining the main nodes according to the first incidence relation and connecting the main nodes into a main link; the obtaining unit 4 is configured to obtain a second association relationship between each remaining node in each layer except for the master node and each master node on the corresponding layer; wherein, the number of the main nodes in each layer is at least two; the connection unit 5 is configured to determine a target master node connected to each remaining node according to the second association relationship, and connect each remaining node with a corresponding target master node to form a branch link; the display unit 6 is used to display all main links and all branch links.
Specifically, the layering unit 1 is configured to layer nodes corresponding to network devices according to types of the network devices; the traversing unit 2 is configured to traverse each node in all nodes of each layer and each node of the other layers to obtain a first association relationship between the nodes; the determining unit 3 is used for determining the main nodes according to the first incidence relation and connecting the main nodes into a main link; the obtaining unit 4 is configured to obtain a second association relationship between each remaining node in each layer except for the master node and each master node on the corresponding layer; wherein, the number of the main nodes in each layer is at least two; the connection unit 5 is configured to determine a target master node connected to each remaining node according to the second association relationship, and connect each remaining node with a corresponding target master node to form a branch link; the display unit 6 is used to display all main links and all branch links.
The display device of the nodes of the network equipment provided by the embodiment of the invention can avoid a series of problems of node intersection, logic disorder and the like, thereby optimizing the display of the nodes of the network equipment.
The display device of the node of the network device provided in the embodiment of the present invention may be specifically configured to execute the processing flows of the above method embodiments, and its functions are not described herein again, and refer to the detailed description of the above method embodiments.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 3, the electronic device includes: a processor (processor)301, a memory (memory)302, and a bus 303;
the processor 301 and the memory 302 complete communication with each other through a bus 303;
the processor 301 is configured to call program instructions in the memory 302 to perform the methods provided by the above-mentioned method embodiments, including: according to the type of the network equipment, layering nodes corresponding to the network equipment; traversing each node in all nodes of each layer and each node of the other layers to acquire a first association relation between the nodes; determining a main node according to the first incidence relation, and connecting the main node into a main link; acquiring a second association relation between each residual node in each layer except the main node and each main node on the corresponding layer; wherein, the number of the main nodes in each layer is at least two; determining a target main node connected with each residual node according to the second incidence relation, and connecting each residual node with the corresponding target main node to form a branch link; all main links and all branch links are displayed.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: according to the type of the network equipment, layering nodes corresponding to the network equipment; traversing each node in all nodes of each layer and each node of the other layers to acquire a first association relation between the nodes; determining a main node according to the first incidence relation, and connecting the main node into a main link; acquiring a second association relation between each residual node in each layer except the main node and each main node on the corresponding layer; wherein, the number of the main nodes in each layer is at least two; determining a target main node connected with each residual node according to the second incidence relation, and connecting each residual node with the corresponding target main node to form a branch link; all main links and all branch links are displayed.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: according to the type of the network equipment, layering nodes corresponding to the network equipment; traversing each node in all nodes of each layer and each node of the other layers to acquire a first association relation between the nodes; determining a main node according to the first incidence relation, and connecting the main node into a main link; acquiring a second association relation between each residual node in each layer except the main node and each main node on the corresponding layer; wherein, the number of the main nodes in each layer is at least two; determining a target main node connected with each residual node according to the second incidence relation, and connecting each residual node with the corresponding target main node to form a branch link; all main links and all branch links are displayed.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the electronic device and the like are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may also be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the embodiments of the present invention, and are not limited thereto; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for displaying a node of a network device, comprising:
according to the type of the network equipment, layering nodes corresponding to the network equipment;
traversing each node in all nodes of each layer and each node of the other layers to acquire a first association relation between the nodes;
determining a main node according to the first incidence relation, and connecting the main node into a main link;
acquiring a second association relation between each residual node in each layer except the main node and each main node on the corresponding layer; wherein, the number of the main nodes in each layer is at least two;
determining a target main node connected with each residual node according to the second incidence relation, and connecting each residual node with the corresponding target main node to form a branch link;
displaying all main links and all branch links;
the determining the master node according to the first association relationship includes:
determining the node with the association degree greater than a preset threshold value in the first association relationship as a main node;
determining the target master node connected with each remaining node according to the second association relationship comprises:
and determining the main node with the maximum association degree value in the second association relationship as a target main node.
2. The method according to claim 1, wherein the layering the nodes corresponding to the network devices according to the types of the network devices comprises:
and dividing nodes corresponding to the network devices of the same or near type into the same layer.
3. The method of claim 1, wherein displaying all main links and all branch links comprises:
all main links and all branch links are displayed on the same display interface of the display foreground.
4. The method of claim 1, further comprising:
acquiring a deviation angle between each branch link and a main link in all branch links on the same layer and node coordinates of nodes on each branch link;
adjusting the deviation angle and the node coordinate of each branch link according to the deviation angle or the node coordinate;
all main links and all adjusted branch links are displayed.
5. The method of claim 4, wherein adjusting the deviation angle and the node coordinate for each branch link according to the deviation angle or the node coordinate comprises:
if the deviation angle is larger than a preset upper limit threshold, reducing the deviation angle to a first preset angle, and correspondingly adjusting the node coordinates;
if the deviation angle is smaller than or equal to a preset lower limit threshold, increasing the deviation angle to a second preset angle, and correspondingly adjusting the node coordinates;
if the distance between the node coordinate and the corresponding target main node is larger than a preset upper limit distance, keeping the deviation angle unchanged, and adjusting the node coordinate to shorten the distance between the node coordinate and the corresponding target main node to a first preset distance;
and if the distance between the node coordinate and the corresponding target main node is smaller than or equal to a preset lower limit distance, keeping the deviation angle unchanged, and adjusting the node coordinate to lengthen the distance between the node coordinate and the corresponding target main node to a second preset distance.
6. A display apparatus of a node of a network device, comprising:
the hierarchical unit is used for layering the nodes corresponding to the network equipment according to the type of the network equipment;
the traversing unit is used for traversing each node in all nodes of each layer and each node of the other layers to acquire a first association relation between the nodes;
the determining unit is used for determining the main nodes according to the first incidence relation and connecting the main nodes into a main link;
the acquisition unit is used for acquiring a second association relation between each residual node in each layer except the main node and each main node in the corresponding layer; wherein, the number of the main nodes in each layer is at least two;
a connection unit, configured to determine, according to the second association relationship, a target master node connected to each remaining node, and connect each remaining node with a corresponding target master node to form a branch link;
the display unit is used for displaying all the main links and all the branch links;
the determining unit is specifically configured to determine, as a master node, a node in the first association relationship whose association degree is greater than a preset threshold;
the connection unit is specifically configured to determine the master node with the largest association degree value in the second association relationship as the target master node.
7. An electronic device, comprising: a processor, a memory, and a bus, wherein,
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 5.
8. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1 to 5.
CN201810164010.7A 2018-02-27 2018-02-27 Display method and device for nodes of network equipment Active CN108429640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810164010.7A CN108429640B (en) 2018-02-27 2018-02-27 Display method and device for nodes of network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810164010.7A CN108429640B (en) 2018-02-27 2018-02-27 Display method and device for nodes of network equipment

Publications (2)

Publication Number Publication Date
CN108429640A CN108429640A (en) 2018-08-21
CN108429640B true CN108429640B (en) 2021-03-30

Family

ID=63157096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810164010.7A Active CN108429640B (en) 2018-02-27 2018-02-27 Display method and device for nodes of network equipment

Country Status (1)

Country Link
CN (1) CN108429640B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818087B (en) * 2020-07-27 2023-01-24 深圳壹账通智能科技有限公司 Block chain node access method, device, equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035023A (en) * 2007-03-07 2007-09-12 华为技术有限公司 Network structure topology layout method and network management device
CN103036692A (en) * 2011-09-29 2013-04-10 中国移动通信集团江苏有限公司 Method and device for generating network topologies aimed at IT supporting networks
CN105791014A (en) * 2016-03-09 2016-07-20 浪潮通信信息系统有限公司 Method for performing network relationship discovery and automatically realizing layered TOPO display by means of LLDP
CN107209880A (en) * 2015-02-09 2017-09-26 联邦快递服务公司 For the enhancing bearer manager methods, devices and systems for shipping object of the platform enabled using mobile node

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7409583B2 (en) * 2002-10-07 2008-08-05 Hitachi, Ltd. Volume and failure management method on a network having a storage device
CN107277121B (en) * 2017-06-05 2019-11-29 中国科学院信息工程研究所 A kind of network equipment localization method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035023A (en) * 2007-03-07 2007-09-12 华为技术有限公司 Network structure topology layout method and network management device
CN103036692A (en) * 2011-09-29 2013-04-10 中国移动通信集团江苏有限公司 Method and device for generating network topologies aimed at IT supporting networks
CN107209880A (en) * 2015-02-09 2017-09-26 联邦快递服务公司 For the enhancing bearer manager methods, devices and systems for shipping object of the platform enabled using mobile node
CN105791014A (en) * 2016-03-09 2016-07-20 浪潮通信信息系统有限公司 Method for performing network relationship discovery and automatically realizing layered TOPO display by means of LLDP

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于图形信息分层组织的配电网拓扑分析及其应用》;张伟;《中国优秀硕士学位论文全文数据库(工程科技Ⅱ辑)》;20060228;全文 *

Also Published As

Publication number Publication date
CN108429640A (en) 2018-08-21

Similar Documents

Publication Publication Date Title
CN105072201A (en) Distributed storage system and storage quality control method and device thereof
CN105871581A (en) Method and device for processing of alarm information in cloud calculation
CN107819745B (en) Method and device for defending against abnormal traffic
CN108429640B (en) Display method and device for nodes of network equipment
CN112988727A (en) Data annotation method, device, equipment, storage medium and computer program product
US10459826B2 (en) Run time workload threshold alerts for customer profiling visualization
CN111767270A (en) Data migration method, device, server and storage medium
CN113704058B (en) Service model monitoring method and device and electronic equipment
CN111669282A (en) Method, device and computer storage medium for identifying suspected root cause alarm
US9923758B2 (en) Alert damage index
CN110843860B (en) Equipment parameter presenting method and device
US9826043B2 (en) Method to protect storage systems from discontinuity due to device misconfiguration
CN108846009B (en) Copy data storage method and device in ceph
CN107562650B (en) Method and system for mapping physical host to storage system
CN113590287B (en) Task processing method, device, equipment, storage medium and scheduling system
CN115550363A (en) Node hierarchical management method and device and electronic equipment
CN115049369A (en) Project management method and device, electronic equipment and storage medium
CN105743667B (en) A kind of access management-control method, apparatus and system
CN114090119A (en) Control flow checking method, device, equipment and storage medium
CN109547439B (en) Processing method and device for service node access network
CN113641688A (en) Node updating method, related device and computer program product
CN112099899B (en) Visual processing method and device for industrial data and electronic equipment
CN110941624A (en) Data processing method and device for personnel change
CN113641670B (en) Data storage and data retrieval method and device, electronic equipment and storage medium
CN116909757B (en) Cluster management control system, method, electronic 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