CN115001981B - Layout method, device, equipment, medium and product of master-slave cluster topological graph - Google Patents
Layout method, device, equipment, medium and product of master-slave cluster topological graph Download PDFInfo
- Publication number
- CN115001981B CN115001981B CN202210602468.2A CN202210602468A CN115001981B CN 115001981 B CN115001981 B CN 115001981B CN 202210602468 A CN202210602468 A CN 202210602468A CN 115001981 B CN115001981 B CN 115001981B
- Authority
- CN
- China
- Prior art keywords
- nodes
- topological
- node
- preset
- coordinates
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 238000010586 diagram Methods 0.000 claims abstract description 87
- 238000004590 computer program Methods 0.000 claims description 20
- 238000004364 calculation method Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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
-
- 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/22—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Design And Manufacture Of Integrated Circuits (AREA)
Abstract
The invention discloses a layout method, a device, equipment, a medium and a product of a master-slave cluster topological graph. The method comprises the following steps: determining a main and standby cluster structure diagram, wherein the main and standby cluster structure diagram reflects father-son relations of various topological nodes in the main and standby clusters; determining theoretical coordinates of various types of topological nodes based on the main and standby cluster structure diagram and a preset node position layout diagram; and laying out the topological nodes of each type according to the theoretical coordinates of the topological nodes of each type to obtain a master-slave cluster topological graph. By using the method, all types of nodes in the main and standby clusters can be completely displayed.
Description
Technical Field
The embodiment of the invention relates to the technical field of network topology, in particular to a layout method, a device, equipment, a medium and a product of a master-slave cluster topology map.
Background
The topology map of the active and standby clusters can show the overall structure of the active and standby clusters to a user, monitor the state information of each node in the active and standby clusters in real time and monitor the network communication flow information among the nodes in real time.
The existing master-slave cluster topological graph only comprises a master node and a slave node; the master node in the master-slave cluster topological graph is exclusive of one row, and the slave node is another row; the connection lines among all nodes in the main and standby cluster topological graph are oblique lines.
The existing master-slave cluster topology has the following disadvantages: all types of nodes in the primary and backup clusters cannot be completely displayed.
Disclosure of Invention
The invention provides a layout method, a device, equipment, a medium and a product of a main and standby cluster topological graph, which are used for solving the defect that all types of nodes in the main and standby clusters cannot be completely displayed in the prior art.
According to an aspect of the present invention, there is provided a method for laying out a master/slave cluster topology map, including:
Determining a main and standby cluster structure diagram, wherein the main and standby cluster structure diagram reflects father-son relations of various topological nodes in the main and standby clusters;
determining theoretical coordinates of various types of topological nodes based on the main and standby cluster structure diagram and a preset node position layout diagram;
And laying out the topological nodes of each type according to the theoretical coordinates of the topological nodes of each type to obtain a master-slave cluster topological graph.
According to another aspect of the present invention, there is provided a topology map layout apparatus for a primary and backup cluster, including:
The first determining module is used for determining a main and standby cluster structure diagram, and the main and standby cluster structure diagram reflects father-son relations of various topological nodes in the main and standby clusters;
the second determining module is used for determining theoretical coordinates of various types of topological nodes based on the main and standby cluster structure diagram and a preset node position layout diagram;
And the layout module is used for carrying out layout on the topological nodes of each type according to the theoretical coordinates of the topological nodes of each type to obtain a master-backup cluster topological graph.
According to another aspect of the present invention, there is provided an electronic apparatus including:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the method for laying out the master/slave cluster topology map according to any embodiment of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement a method for layout of a master/slave cluster topology map according to any embodiment of the present invention when executed.
According to the technical scheme provided by the embodiment of the invention, the theoretical coordinates of various types of topological nodes are determined through the main-standby cluster structure diagram and the preset node position layout diagram, so that the problem that all types of nodes in the main-standby clusters cannot be completely displayed in the prior art is solved, and the beneficial effect that all types of nodes in the main-standby clusters can be completely displayed is achieved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a layout method of a master/slave cluster topology according to an embodiment of the present invention;
Fig. 2 is a schematic diagram of a master-slave cluster structure in a topology layout method of a master-slave cluster according to a first embodiment of the present invention;
Fig. 3 is a schematic diagram of a layout diagram of a preset node position in a layout method of a master-slave cluster topology according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a target topology according to a first embodiment of the present invention;
fig. 5 is a flow chart of a layout method of a master-slave cluster topology according to a second embodiment of the present invention;
Fig. 6 is a schematic structural diagram of a topology device of a master/slave cluster topology according to a third embodiment of the present invention;
Fig. 7 is a schematic structural diagram of an electronic device according to a layout method of a master-slave cluster topology according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention. It should be understood that the various steps recited in the method embodiments of the present invention may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the invention is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those skilled in the art will appreciate that "one or more" is intended to be construed as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the devices in the embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Example 1
Fig. 1 is a flow chart of a method for layout of a master-slave cluster topology according to an embodiment of the present invention, where the method may be applicable to a case of showing an overall structure of a master-slave cluster to a user, and the method may be performed by a layout device of the master-slave cluster topology, where the device may be implemented by software and/or hardware and is generally integrated on an electronic device, and in this embodiment, the electronic device includes but is not limited to: a computer device.
As shown in fig. 1, a method for laying out a master-slave cluster topology map according to an embodiment of the present invention includes the following steps:
s110, determining a main and standby cluster structure diagram, wherein the main and standby cluster structure diagram reflects father-son relations of various topological nodes in the main and standby clusters.
In this embodiment, a plurality of different types of topology nodes may be included in the Primary-Standby cluster, and an exemplary may include one Primary node, i.e., primary node, one or more Standby nodes, i.e., standby node, one or more daemon nodes, i.e., watcher nodes, and one or more Monitor nodes, i.e., monitor node. The Primary node is unique, and the host database node can be used as the Primary node; the Standby database node can be used as a Standby node; the datadaemon node may be referred to as Watcher node; the Monitor node may be referred to as a Monitor node.
The main and standby cluster structure diagram can show parent-child relations and connection relations of various types of topological nodes.
In one embodiment, the manner of determining the primary and backup cluster structure diagrams may be: and determining the structure diagram of the main and standby clusters according to the relationship principle among various types of topological nodes in the main and standby clusters and the father-son relationship of the various types of topological nodes.
The corresponding relationship principle can be understood as a corresponding connection relationship between different types of topological nodes, and father-son relationships of the various types of topological nodes can be determined according to the corresponding connection relationship.
Specifically, the relationship principle may include: there is a one-to-many relationship between Primary nodes and Standby nodes, i.e., one Primary node may have multiple links connecting different Standby nodes; there is a one-to-one relationship between Primary nodes and Watcher nodes, i.e., a Primary node has only one link connecting unique Watcher nodes; there is a 1-to-1 relationship between the Standby nodes and the Primary nodes, i.e., a Standby node has only one link connecting a unique Primary node; there is a 1-to-1 relationship between the Standby nodes and Watcher nodes, i.e., a Standby node has only one link connecting only Watcher nodes; there is a one-to-many relationship between Watcher nodes and Monitor nodes, i.e., one Watcher node may have multiple links connecting different Monitor nodes; there is a one-to-many relationship between Monitor nodes and Watcher nodes, i.e., a Monitor node may have multiple links connecting different Watcher nodes.
Specifically, the specific determination mode of the parent-child relationship may include: if the Primary node is connected with the Standby node, the Primary node can be used as a father node, and the Standby node can be used as a child node; if the Primary node is connected with the Watcher node, the Primary node can be used as a father node, and the Watcher node can be used as a child node; if the Standby node is connected with the Watcher node, the Standby node can be used as a father node, and the Watcher node can be used as a child node; if Watcher node is connected to Monitor node, watcher node can be used as parent node and Monitor node can be used as child node.
It should be noted that one parent node may correspond to a plurality of child nodes, and one child node may also correspond to a plurality of parent nodes.
Fig. 2 is a schematic diagram of a Primary-backup cluster structure diagram in a layout method of a Primary-backup cluster topology according to an embodiment of the present invention, and as shown in fig. 2, a root node of the Primary-backup cluster topology is a Primary node.
The above manner of determining the schematic diagram of the active-standby cluster is a viable manner and does not constitute a limitation on the schematic diagram of the active-standby cluster. The active-standby schematic can also be determined in other possible ways.
And S120, determining theoretical coordinates of various topological nodes based on the main and standby cluster structure sketch and a preset node position layout.
In this embodiment, a preset node position layout diagram may be obtained, and then theoretical coordinates of each type of topology node may be determined based on a root node, parent-child relationships of each type of topology node, an ordering order of each type of topology node, and the preset node position layout diagram in the active/standby cluster structure diagram.
The relative positions of the parent node and each child node can be displayed in a preset node position layout diagram, and each node has a corresponding position in the preset node position layout diagram.
Further, the determining the theoretical coordinates of each type of topological node based on the primary and backup cluster structure diagram and the preset node position layout diagram includes: acquiring a preset node position layout diagram; acquiring preset theoretical coordinates of the father node; according to the theoretical coordinates of the father nodes and preset intervals, determining the theoretical coordinates of all the child nodes in sequence according to a preset strategy and the numbering sequence of the positions of all the child nodes in the preset node position layout; the preset distance is the distance between two adjacent nodes, and the preset strategy is determined based on the main and standby cluster structure diagram.
The preset policy may be understood as a preset layout policy, and the preset policy may include a child node ordering policy and a node position determining policy. The preset pitch may include a preset pitch in the x-axis direction and a preset pitch in the y-axis direction.
Specifically, the preset strategies include a first preset strategy and a second preset strategy; the first preset strategy comprises the following steps: the determining sequence of the positions of various topological nodes is according to the ordering sequence of the nodes of each layer in the main and standby cluster structure diagram; the second preset strategy comprises the following steps: and determining the positions of all the child nodes according to the parent-child relations of all the types of topological nodes and the positions of the parent nodes, wherein the parent-child relations are obtained from the primary and standby cluster structure diagrams.
The first preset policy may be a child node ordering policy, and the second preset policy may be a location determining policy.
The ordering sequence of the nodes of each layer in the main-standby cluster structure diagram can be as follows: and the Primary node, the Standby node, the Watcher node and the Monitor node are in the sequence.
The positions of all the sub-nodes in the preset node position layout diagram are provided with corresponding numbers, and the theoretical coordinates of all the sub-nodes can be determined according to the strategy and the corresponding number sequence of the positions of all the sub-nodes in the preset node position layout diagram.
Fig. 3 is a schematic diagram of a layout diagram of a preset node position in a layout method of a master-slave cluster topology diagram according to an embodiment of the present invention, where, as shown in fig. 3, a parent node is located at a central position, each child node position has a corresponding number, and the greater the corresponding number, the farther the child node position is from the parent node position.
In this embodiment, the theoretical coordinate of the parent node set in advance may be any one of the theoretical coordinates (x, y), and preferably, (0, 0) may be used as the theoretical coordinate of the parent node set in advance.
In the coordinate system, the direction is defined as the positive y-axis direction, the direction is defined as the negative y-axis direction, the direction is defined as the positive x-axis direction to the right, and the direction is defined as the negative x-axis direction to the left.
Specifically, theoretical coordinates of the parent nodes are preset to be (x, y), the distance between the nodes in the x-axis direction is xGap, and the distance between the nodes in the y-axis direction is yGap.
The theoretical coordinates of the child nodes with the position numbers 1-9 are calculated as follows:
Calculating the coordinate of the sub-position 1 as (x, y-yGap), if the coordinate is unoccupied, determining the theoretical coordinate of the current node as (x, y-yGap), and marking that the current node is occupied; if the coordinates are occupied, calculating the coordinates of the sub-position 2, and taking the calculation result as the current node coordinates;
Calculating the coordinate of the sub-position 2 as (x, y+ yGap), if the coordinate is not occupied, determining the theoretical coordinate of the current node as (x, y+ yGap), and marking that the current node is occupied; if the coordinates are occupied, calculating the coordinates of the sub-position 3, and taking the calculation result as the current node coordinates;
Calculating the coordinate of the sub-position 3 as (x+ xGap, y), if the coordinate is unoccupied, determining the theoretical coordinate of the current node as (x+ xGap, y), and marking that the current node is occupied; if the coordinates are occupied, calculating the coordinates of the sub-position 4, and taking the calculation result as the current node coordinates;
calculating the coordinate of the sub-position 4 as (x-xGap, y), if the coordinate is unoccupied, determining the theoretical coordinate of the current node as (x-xGap, y), and marking that the current node is occupied; if the coordinates are occupied, calculating the coordinates of the sub-position 5, and taking the calculation result as the current node coordinates.
The coordinates of the sub-position 5 can be determined based on the coordinates of the adjacent sub-position 1 or 3, the coordinates of the sub-position 5 are calculated to be (x+ xGap, y-yGap), if the coordinates are not occupied, the theoretical coordinates of the current node are determined to be (x+ xGap, y-yGap), and the occupied node is marked; if the coordinates are occupied, calculating the coordinates of the sub-position 6, and taking the calculation result as the current node coordinates;
the theoretical coordinate of the sub-position 6 can be determined based on the coordinates of the adjacent sub-position 1 or sub-position 4, the coordinate of the sub-position 6 is calculated to be (x-xGap, y-yGap), if the coordinate is unoccupied, the theoretical coordinate of the current node is determined to be (x-xGap, y-yGap), and the occupied node is marked; if the coordinates are occupied, calculating the coordinates of the sub-position 7, and taking the calculation result as the current node coordinates;
the coordinates of the sub-position 7 can be determined based on the coordinates of the adjacent sub-position 2 or 3, the coordinates of the sub-position 7 are calculated to be (x+ xGap, y+ yGap), if the coordinates are not occupied, the theoretical coordinates of the current node are determined to be (x+ xGap, y+ yGap), and the occupied node is marked; if the coordinates are occupied, calculating the coordinates of the sub-position 8, and taking the calculation result as the current node coordinates;
The coordinates of the sub-position 8 can be determined based on the coordinates of the adjacent sub-position 2 or sub-position 4, the coordinates of the sub-position 8 are calculated to be (x-xGap, y+ yGap), if the coordinates are not occupied, the theoretical coordinates of the current node are determined to be (x-xGap, y+ yGap), and the occupied node is marked; if the coordinates are occupied, calculating the coordinates of the sub-position 9, and taking the calculation result as the current node coordinates;
the theoretical coordinates of the nodes with the corresponding position numbers n being greater than or equal to 9 can be calculated by the following modes: and determining according to the coordinates of the sub-position n-6.
Specifically, the theoretical coordinate of the sub-position 9 may be determined according to the theoretical coordinate of the sub-position 3, where the theoretical coordinate of the sub-position 3 is (x+ xGap, y), and the calculated coordinate of the sub-position 9 is (x+ xGap ×2, y), and if the coordinate is unoccupied, the theoretical coordinate of the current node is (x+ xGap ×2, y); the theoretical coordinate of the sub-position 10 may be determined according to the theoretical coordinate of the sub-position 4, where the theoretical coordinate of the sub-position 4 is (x-xGap, y), and the coordinate of the sub-position 10 may be calculated to be (x-xGap x2, y), and if the coordinate is unoccupied, the theoretical coordinate of the current node is (x-xGap x2, y).
Further, when one child node in the primary and standby cluster structure diagram is provided with a plurality of father nodes, determining a topological graph corresponding to each target father node in the father nodes based on theoretical coordinates of the target father node, wherein the topological graph is a topological graph of a current child node comprising the target father node and the target father node; and determining a topological graph containing the child nodes based on the theoretical coordinates of each father node, selecting the topological graph with the least space from the topological graphs as a target topological graph, and taking the coordinates of the child nodes in the target topological graph as the theoretical coordinates of the child nodes.
Illustratively, the process of calculating the theoretical coordinates of each node in FIG. 2 is as follows:
Assuming theoretical coordinates (0, 0) of Primary nodes, wherein the node distance in the x direction of the coordinate axis is 1, the node distance in the y direction of the coordinate axis is 1, the theoretical coordinates of the Standby nodes are calculated firstly, parent nodes of four Standby nodes in the figure are Primary nodes, so that the theoretical coordinates of the Standby1 can be calculated according to the theoretical coordinates of the Primary nodes to be (0, -1), the theoretical coordinates of the Standby2 are (0, 1), the theoretical coordinates of the Standby3 are (1, 0), and the theoretical coordinates of the Standby4 are (-1, 0); the theoretical coordinates of five Watcher nodes are calculated: the parent node of the Watcher node is a Primary node, so that the theoretical coordinate of the Watcher node can be calculated to be (1, -1) according to the theoretical coordinate of the Primary node; the father node of Watcher node is a Standby1 node, so that the theoretical coordinate of Watcher node can be calculated to be (0, -2) according to the theoretical coordinate of the Standby1 node; the father node of Watcher node is a Standby2 node, so that the theoretical coordinate of Watcher node can be calculated to be (0, 2) according to the theoretical coordinate of the Standby2 node; the father node of Watcher node is a Standby3 node, so that the theoretical coordinate of Watcher node can be calculated to be (1, 1) according to the theoretical coordinate of the Standby3 node; the father node of Watcher nodes is a Standby4 node, so that theoretical coordinates (-1, -1) of Watcher nodes are calculated according to the theoretical coordinates of the Standby4 node; according to the method, theoretical coordinates of Monitor nodes are calculated sequentially, because the Monitor nodes have five father nodes, namely five Watcher nodes, five topological graphs can be obtained according to each Watcher node respectively, one topological graph with the minimum space is selected as a target topological graph, the coordinates of the Monitor nodes in the target topological graph are used as the theoretical coordinates of the Monitor nodes, and the theoretical coordinates of the Monitor nodes can be calculated to be (1, -2).
Fig. 4 is a schematic diagram of a target topology according to a first embodiment of the present invention, where the number of slots in the target topology is four as shown in fig. 4.
S130, laying out the topological nodes of each type according to the theoretical coordinates of the topological nodes of each type to obtain a master-slave cluster topological graph.
The layout structure of each type of topological nodes in the main and standby cluster topological graph is a grid structure.
The first embodiment of the invention provides a layout method of a topology graph of a main and standby cluster, which comprises the steps of firstly determining a structure diagram of the main and standby cluster, wherein the structure diagram of the main and standby cluster reflects father-son relations of various topology nodes in the main and standby cluster; determining theoretical coordinates of various topology nodes based on the main and standby cluster structure diagram and a preset node position layout diagram; and finally, laying out the topological nodes of each type according to the theoretical coordinates of the topological nodes of each type to obtain a master-slave cluster topological graph. The method can completely display all types of nodes in the main and standby clusters; the method adopts the grid layout, has clear structure, high space utilization rate and good aesthetic property, can be arbitrarily expanded among nodes, and does not reduce the aesthetic property when the number of the nodes is very large.
Example two
Fig. 5 is a flow chart of a layout method of a master-slave cluster topology map according to a second embodiment of the present invention, where the second embodiment optimizes the topology map based on the above embodiments. In this embodiment, further comprising: and converting the theoretical coordinates of the topological nodes of the various types into an actual display page to obtain the actual coordinates in the actual display page. For details not yet described in detail in this embodiment, refer to embodiment one.
As shown in fig. 5, a layout method of a master-slave cluster topology map provided in a second embodiment of the present invention includes the following steps:
s210, determining a main and standby cluster structure diagram, wherein the main and standby cluster structure diagram reflects father-son relations of various topological nodes in the main and standby clusters.
S220, determining theoretical coordinates of various topological nodes based on the main and standby cluster structure sketch and a preset node position layout.
S230, laying out the topological nodes of each type according to the theoretical coordinates of the topological nodes of each type to obtain a master-slave cluster topological graph.
S240, converting the theoretical coordinates of the topological nodes of the various types into an actual display page to obtain page coordinates in the actual display page.
In this embodiment, since the theoretical coordinates of the topology nodes of each type are calculated under the preset condition, the size of the preset display page needs to be determined, and then the distance between two adjacent nodes can be adjusted according to the size of the preset display page and the size of the actual display page, and the theoretical coordinates of the topology nodes of each type are converted into the page coordinates in the actual display page according to the distance between two adjacent nodes obtained by adjustment and the width and height of the preset topology nodes. The preset condition includes that the distance between two adjacent topological nodes along the x-axis direction and the y-axis direction is 1 respectively, and the graph size of the topological nodes is ignored.
Specifically, the converting the theoretical coordinates of the topological nodes of the various types into the actual display page to obtain the actual coordinates in the actual display page includes: determining the size of a preset display page; according to the page proportion, adjusting the distance between two adjacent topological nodes along the x-axis direction and the distance between two adjacent topological nodes along the y-axis direction to respectively obtain a first target distance and a second target distance; obtaining page coordinates of the theoretical coordinates of the topological nodes of each type in an actual display page according to boundaries of a coordinate system, preset topological node widths, preset topological node heights, the theoretical coordinates of the topological nodes of each type and the first target distance and the second target distance; the page proportion is the proportion of the preset display page size to the actual display page size.
Wherein, determining the size of the preset display page comprises: and obtaining the size of the preset display page according to the width and the height of the coordinate system, the preset width and the preset height of the topological nodes and the distance between two adjacent topological nodes in the x-axis direction and the y-axis direction.
Further, the determining mode of the preset display page size is as follows: determining the number of topological nodes in the x-axis direction and the number of topological nodes in the y-axis direction according to the width of the coordinate system, the height of the coordinate system, the distance between two adjacent topological nodes in the x-axis direction and the distance between two adjacent topological nodes in the y-axis direction; and determining the size of a preset display page according to the preset topological node width, the preset topological node height, the distance between the two adjacent topological nodes in the x-axis direction, the distance between the two adjacent topological nodes in the y-axis direction, the number of topological nodes in the x-axis direction and the number of topological nodes in the y-axis direction.
The coordinate system can be understood as a coordinate system for calculating theoretical coordinates of various types of topological nodes. The calculation modes of the width and the height of the coordinate system are not particularly limited herein, and by way of example, 2 times of the maximum value of the absolute value of the x coordinate in the theoretical coordinates of the various types of topological nodes can be used as the width of the coordinate system, and 2 times of the maximum value of the absolute value of the y coordinate in the theoretical coordinates of the various types of topological nodes can be used as the height of the coordinate system.
Exemplary is a width calcW of the coordinate system, a height calcH of the coordinate system, a left boundary calcLeft = -calcW/2 of the coordinate system, an upper boundary calcTop = -calcH/2 of the coordinate system, theoretical coordinates of topological nodes (calcX, calcY), a preset topological node width nodeW, a preset topological node height nodeH, a spacing xGap between two adjacent topological nodes along the x-axis direction, and a spacing yGap between two adjacent topological nodes along the y-axis direction. The process of converting the theoretical coordinates of various types of topological nodes into page coordinates in an actual display page is as follows:
step 1, assuming that the distance between two adjacent topological nodes along the x-axis direction is 0, calculating the width of a coordinate system: nodeW (calcW +1);
step 2, assuming that the distance between two adjacent topological nodes along the y-axis direction is 0, calculating a coordinate system to be high: nodeH (calcH +1);
Step 3, calculating the width of a preset display page: nodeW (calcW +1) + xGap (calcW +2);
step 4, calculating the height of a preset display page: nodeH (calcH +1) + yGap (calcH +2);
and 5, comparing the sizes of the preset display page and the actual display page, and taking a larger value.
Step 6, determining a first target pitch xMGap and a second target pitch yMGap.
Step 7, sequentially converting theoretical coordinates (calcX, calcY) of the topological nodes into page coordinates (pageX, pageY) in the actual display page:
pageX=(calcX–calcLeft)*nodeW+(calcX–calcLeft+1)*xMGap
pageY=(calcY-calcTop)*nodeH+(calcY–calcTop+1)*yMGap。
According to the steps, the page coordinates of the topological nodes of each type in the actual display page can be calculated. And displaying the master and slave cluster topological graphs in an actual display page.
The layout method of the master-slave cluster topological graph provided by the second embodiment of the invention embodies the process of converting the theoretical coordinates of the topological nodes of various types into the actual display page to obtain the page coordinates in the actual display page. By using the method, the theoretical coordinates of each topological node can be converted into page coordinates to be displayed in an actual display page, so as to meet the requirements of users.
Example III
Fig. 6 is a schematic structural diagram of a topology layout apparatus of a master-slave cluster according to a third embodiment of the present invention, where the apparatus is applicable to a case of showing the overall structure of the master-slave cluster to a user, and the apparatus may be implemented by software and/or hardware and is generally integrated on an electronic device.
As shown in fig. 6, the apparatus includes: the first determination module 110, the second determination module 120, and the layout module 130.
A first determining module 110, configured to, based on the primary-backup cluster structure diagram, embody a parent-child relationship of each type of topology node in the primary-backup cluster;
the second determining module 120 is configured to determine theoretical coordinates of each type of topology node based on the active-standby cluster structure diagram and a preset node position layout diagram;
And the layout module 130 is configured to layout the topology nodes of each type according to the theoretical coordinates of the topology nodes of each type to obtain a master-backup cluster topology map.
In this embodiment, the device first uses the first determining module 110 to base on the primary-backup cluster structure diagram, where the primary-backup cluster structure diagram reflects the parent-child relationships of various topology nodes in the primary-backup cluster; then determining theoretical coordinates of various types of topological nodes based on the primary and standby cluster structure diagrams and a preset node position layout diagram through a second determining module 120; finally, the topology nodes of each type are laid out according to the theoretical coordinates of the topology nodes of each type through a layout module 130 to obtain a master-slave cluster topology map.
The embodiment provides a layout device of a master-slave cluster topological graph, which can completely display all types of nodes in the master-slave cluster.
Further, the layout structure of each type of topological node in the main and standby cluster topological graph is a grid structure.
Furthermore, the structure diagram of the main and standby clusters is determined according to the relationship principle among various types of topological nodes in the main and standby clusters and the father-son relationship of the various types of topological nodes.
Based on the above technical solution, the second determining module 120 is specifically configured to: acquiring a preset node position layout diagram; acquiring preset theoretical coordinates of the father node; according to the theoretical coordinates of the father nodes and preset intervals, determining the theoretical coordinates of all the child nodes in sequence according to a preset strategy and the numbering sequence of the positions of all the child nodes in the preset node position layout; the preset distance is the distance between two adjacent nodes, and the preset strategy is determined based on the main and standby cluster structure diagram.
The preset strategies further comprise a first preset strategy and a second preset strategy; the first preset strategy comprises the following steps: the determining sequence of the positions of various topological nodes is according to the ordering sequence of the nodes of each layer in the main and standby cluster structure diagram; the second preset strategy comprises the following steps: and determining the positions of all the child nodes according to the parent-child relations of all the types of topological nodes and the positions of the parent nodes, wherein the parent-child relations are obtained from the primary and standby cluster structure diagrams.
Further, when one child node in the primary and standby cluster structure diagram is provided with a plurality of father nodes, determining a topological graph corresponding to each target father node in the father nodes based on theoretical coordinates of the target father node, wherein the topological graph is a topological graph of a current child node comprising the target father node and the target father node; and determining a topological graph containing the child nodes based on the theoretical coordinates of each father node, selecting the topological graph with the least space from the topological graphs as a target topological graph, and taking the coordinates of the child nodes in the target topological graph as the theoretical coordinates of the child nodes.
Further, the device also comprises a conversion module for: and converting the theoretical coordinates of the topological nodes of the various types into an actual display page to obtain page coordinates in the actual display page.
Further, the conversion module is specifically configured to: determining the size of a preset display page; according to the page proportion, adjusting the distance between two adjacent topological nodes along the x-axis direction and the distance between two adjacent topological nodes along the y-axis direction to respectively obtain a first target distance and a second target distance; obtaining page coordinates of the theoretical coordinates of the topological nodes of each type in an actual display page according to boundaries of a coordinate system, preset topological node widths, preset topological node heights, the theoretical coordinates of the topological nodes of each type and the first target distance and the second target distance; the page proportion is the proportion of the preset display page size to the actual display page size.
Further, the determining the size of the preset display page includes: determining the number of topological nodes in the x-axis direction and the number of topological nodes in the y-axis direction according to the width of the coordinate system, the height of the coordinate system, the distance between two adjacent topological nodes in the x-axis direction and the distance between two adjacent topological nodes in the y-axis direction; and determining the size of a preset display page according to the preset topological node width, the preset topological node height, the distance between the two adjacent topological nodes in the x-axis direction, the distance between the two adjacent topological nodes in the y-axis direction, the number of topological nodes in the x-axis direction and the number of topological nodes in the y-axis direction.
The layout device of the master-slave cluster topological graph can execute the layout method of the master-slave cluster topological graph provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 7 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 7, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the topology of the active-standby cluster topology map.
In some embodiments, the method of layout of the master-slave cluster topology map may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the above-described method of layout of a master-slave cluster topology map may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the topology of the active-standby cluster topology map in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.
Claims (12)
1. A method for laying out a master-slave cluster topology map, the method comprising:
Determining a main and standby cluster structure diagram, wherein the main and standby cluster structure diagram reflects father-son relations of various topological nodes in the main and standby clusters;
determining theoretical coordinates of various types of topological nodes based on the main and standby cluster structure diagram and a preset node position layout diagram;
laying out the topological nodes of each type according to the theoretical coordinates of the topological nodes of each type to obtain a master-slave cluster topological graph;
the topological nodes of various types comprise father nodes and child nodes, and correspondingly, the determining of the theoretical coordinates of the topological nodes of various types based on the main and standby cluster structure sketch and the preset node position layout diagram comprises the following steps:
Acquiring a preset node position layout diagram which reflects the relative positions of a father node and each child node in a main and standby cluster, wherein the father node is at a central position, each child node position is provided with a corresponding number, and the child node position with the larger corresponding number is far from the father node position;
Acquiring preset theoretical coordinates of the father node;
According to the theoretical coordinates of the father nodes and preset intervals, determining the theoretical coordinates of all the child nodes in sequence according to a preset strategy and the numbering sequence of the positions of all the child nodes in the preset node position layout;
the preset distance is the distance between two adjacent nodes, and the preset strategy is determined based on the main and standby cluster structure diagram.
2. The method of claim 1, wherein the layout structure of each type of topology node in the master-slave cluster topology graph is a grid structure.
3. The method of claim 1, wherein the master-slave cluster structure diagram is determined according to a relationship principle among topology nodes of each type in the master-slave cluster and a parent-child relationship of the topology nodes of each type.
4. The method of claim 1, wherein the preset policies include a first preset policy and a second preset policy;
The first preset strategy comprises the following steps: the determining sequence of the positions of various topological nodes is according to the ordering sequence of the nodes of each layer in the main and standby cluster structure diagram;
The second preset strategy comprises the following steps: and determining the positions of all the child nodes according to the parent-child relations of all the types of topological nodes and the positions of the parent nodes, wherein the parent-child relations are obtained from the primary and standby cluster structure diagrams.
5. The method according to claim 1, wherein when one child node in the primary-backup cluster structure diagram is provided with a plurality of parent nodes, for each target parent node in the parent nodes, determining a topology map corresponding to the target parent node based on theoretical coordinates of the target parent node, the topology map being a topology map of a current child node including the target parent node and the target parent node;
And determining a topological graph containing the child nodes based on the theoretical coordinates of each father node, selecting the topological graph with the least space from the topological graphs as a target topological graph, and taking the coordinates of the child nodes in the target topological graph as the theoretical coordinates of the child nodes.
6. The method as recited in claim 1, further comprising:
And converting the theoretical coordinates of the topological nodes of the various types into an actual display page to obtain page coordinates in the actual display page.
7. The method of claim 6, wherein converting the theoretical coordinates of the topology nodes of each type into the actual display page to obtain the page coordinates in the actual display page comprises:
determining the size of a preset display page;
According to the page proportion, adjusting the distance between two adjacent topological nodes along the x-axis direction and the distance between two adjacent topological nodes along the y-axis direction to respectively obtain a first target distance and a second target distance;
Obtaining page coordinates of the theoretical coordinates of the topological nodes of each type in an actual display page according to boundaries of a coordinate system, preset topological node widths, preset topological node heights, the theoretical coordinates of the topological nodes of each type and the first target distance and the second target distance;
the page proportion is the proportion of the preset display page size to the actual display page size.
8. The method of claim 7, wherein the determining the size of the preset display page comprises:
Determining the number of topological nodes in the x-axis direction and the number of topological nodes in the y-axis direction according to the width of the coordinate system, the height of the coordinate system, the distance between two adjacent topological nodes in the x-axis direction and the distance between two adjacent topological nodes in the y-axis direction;
And determining the size of a preset display page according to the preset topological node width, the preset topological node height, the distance between the two adjacent topological nodes in the x-axis direction, the distance between the two adjacent topological nodes in the y-axis direction, the number of topological nodes in the x-axis direction and the number of topological nodes in the y-axis direction.
9. A topology device for a master-slave cluster topology, the device comprising:
The first determining module is used for determining a main and standby cluster structure diagram, and the main and standby cluster structure diagram reflects father-son relations of various topological nodes in the main and standby clusters;
the second determining module is used for determining theoretical coordinates of various types of topological nodes based on the main and standby cluster structure diagram and a preset node position layout diagram;
The layout module is used for carrying out layout on the topological nodes of each type according to the theoretical coordinates of the topological nodes of each type to obtain a master-backup cluster topological graph;
the topology nodes of various types comprise father nodes and child nodes, and correspondingly, the second determining module is specifically configured to:
Acquiring a preset node position layout diagram which reflects the relative positions of a father node and each child node in a main and standby cluster, wherein the father node is at a central position, each child node position is provided with a corresponding number, and the child node position with the larger corresponding number is far from the father node position;
Acquiring preset theoretical coordinates of the father node;
According to the theoretical coordinates of the father nodes and preset intervals, determining the theoretical coordinates of all the child nodes in sequence according to a preset strategy and the numbering sequence of the positions of all the child nodes in the preset node position layout;
the preset distance is the distance between two adjacent nodes, and the preset strategy is determined based on the main and standby cluster structure diagram.
10. An electronic device, the electronic device comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the master-slave cluster topology map layout method of any of claims 1-8.
11. A computer readable storage medium storing computer instructions for causing a processor to implement the master-slave cluster topology map layout method of any of claims 1-8 when executed.
12. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements a method of layout of a master-slave cluster topology according to any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210602468.2A CN115001981B (en) | 2022-05-30 | 2022-05-30 | Layout method, device, equipment, medium and product of master-slave cluster topological graph |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210602468.2A CN115001981B (en) | 2022-05-30 | 2022-05-30 | Layout method, device, equipment, medium and product of master-slave cluster topological graph |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115001981A CN115001981A (en) | 2022-09-02 |
CN115001981B true CN115001981B (en) | 2024-05-31 |
Family
ID=83031350
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210602468.2A Active CN115001981B (en) | 2022-05-30 | 2022-05-30 | Layout method, device, equipment, medium and product of master-slave cluster topological graph |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115001981B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101582793A (en) * | 2009-06-05 | 2009-11-18 | 东软集团股份有限公司 | Method and device for graphical display of network topology |
CN103762591A (en) * | 2014-01-16 | 2014-04-30 | 国家电网公司 | Power distribution network topology layout method |
CN104616207A (en) * | 2015-01-27 | 2015-05-13 | 中国科学院计算机网络信息中心 | Power grid topological visualization system and power grid topological visualization method |
CN105302965A (en) * | 2015-10-31 | 2016-02-03 | 南京南瑞继保电气有限公司 | Method for automatically generating multi-device power path schematic diagram |
CN110442641A (en) * | 2019-08-06 | 2019-11-12 | 中国工商银行股份有限公司 | A kind of link topology figure methods of exhibiting, device, storage medium and equipment |
CN110868319A (en) * | 2019-11-08 | 2020-03-06 | 北京浪潮数据技术有限公司 | Network topology drawing method, device, equipment and readable storage medium |
CN110929201A (en) * | 2018-09-20 | 2020-03-27 | 中国科学院信息工程研究所 | Complex network topology editing and visualization system based on Web |
CN111934915A (en) * | 2020-07-17 | 2020-11-13 | 合肥本源量子计算科技有限责任公司 | Network node sequencing display method and device |
CN112003729A (en) * | 2020-07-25 | 2020-11-27 | 苏州浪潮智能科技有限公司 | Heterogeneous cloud platform resource topology display method, system, terminal and storage medium |
CN113726879A (en) * | 2021-08-30 | 2021-11-30 | 河南大学 | Hybrid data center network structure VHCN based on VLC link |
CN113904941A (en) * | 2021-09-24 | 2022-01-07 | 绿盟科技集团股份有限公司 | Method and system for generating topological graph and electronic equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2538987B (en) * | 2015-06-02 | 2021-04-28 | Polewardsky Ltd | Displaying a network of related entities |
-
2022
- 2022-05-30 CN CN202210602468.2A patent/CN115001981B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101582793A (en) * | 2009-06-05 | 2009-11-18 | 东软集团股份有限公司 | Method and device for graphical display of network topology |
CN103762591A (en) * | 2014-01-16 | 2014-04-30 | 国家电网公司 | Power distribution network topology layout method |
CN104616207A (en) * | 2015-01-27 | 2015-05-13 | 中国科学院计算机网络信息中心 | Power grid topological visualization system and power grid topological visualization method |
CN105302965A (en) * | 2015-10-31 | 2016-02-03 | 南京南瑞继保电气有限公司 | Method for automatically generating multi-device power path schematic diagram |
CN110929201A (en) * | 2018-09-20 | 2020-03-27 | 中国科学院信息工程研究所 | Complex network topology editing and visualization system based on Web |
CN110442641A (en) * | 2019-08-06 | 2019-11-12 | 中国工商银行股份有限公司 | A kind of link topology figure methods of exhibiting, device, storage medium and equipment |
CN110868319A (en) * | 2019-11-08 | 2020-03-06 | 北京浪潮数据技术有限公司 | Network topology drawing method, device, equipment and readable storage medium |
CN111934915A (en) * | 2020-07-17 | 2020-11-13 | 合肥本源量子计算科技有限责任公司 | Network node sequencing display method and device |
CN112003729A (en) * | 2020-07-25 | 2020-11-27 | 苏州浪潮智能科技有限公司 | Heterogeneous cloud platform resource topology display method, system, terminal and storage medium |
CN113726879A (en) * | 2021-08-30 | 2021-11-30 | 河南大学 | Hybrid data center network structure VHCN based on VLC link |
CN113904941A (en) * | 2021-09-24 | 2022-01-07 | 绿盟科技集团股份有限公司 | Method and system for generating topological graph and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN115001981A (en) | 2022-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110958134B (en) | Method and device for realizing network topology | |
CN114202027B (en) | Method for generating execution configuration information, method and device for model training | |
CN113193947B (en) | Method, apparatus, medium, and program product for implementing distributed global ordering | |
WO2021248937A1 (en) | Geographically distributed graph computing method and system based on differential privacy | |
CN112003729B (en) | Heterogeneous cloud platform resource topology display method, system, terminal and storage medium | |
CN111127612A (en) | Game scene node updating method and device, storage medium and electronic equipment | |
CN116108094A (en) | Data integration method and device, electronic equipment and storage medium | |
CN115001981B (en) | Layout method, device, equipment, medium and product of master-slave cluster topological graph | |
CN113791891A (en) | Continuous integration task construction method, device, equipment and computer readable medium | |
CN116938953A (en) | Block chain-based data processing method and device, electronic equipment and storage medium | |
CN113691403B (en) | Topology node configuration method, related device and computer program product | |
CN115905322A (en) | Service processing method and device, electronic equipment and storage medium | |
CN114596196A (en) | Method and device for filtering point cloud data, equipment and storage medium | |
CN111885614B (en) | CORS base station networking method, device and storage medium | |
CN114662777A (en) | Photovoltaic module serial line arrangement determining method and device, electronic equipment and storage medium | |
CN114650222B (en) | Parameter configuration method, device, electronic equipment and storage medium | |
EP4036861A2 (en) | Method and apparatus for processing point cloud data, electronic device, storage medium, computer program product | |
CN110889902B (en) | Three-dimensional modeling method and device | |
CN118333144A (en) | Method, device, equipment and medium for building product modularized structure tree | |
CN115757452A (en) | Blocking method, device, equipment and storage medium | |
CN114286208A (en) | Site-based optical transmission network topology layout and display method | |
CN117688117A (en) | GIS platform, GIS multi-cluster service scheduling method and medium | |
CN117076185A (en) | Server inspection method, device, equipment and medium | |
CN115510838A (en) | Template generation method and device, electronic equipment and storage medium | |
CN116739883A (en) | Rendering method, device, equipment and 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 |