CN113114491B - Method, device and equipment for constructing network topology - Google Patents

Method, device and equipment for constructing network topology Download PDF

Info

Publication number
CN113114491B
CN113114491B CN202110355184.3A CN202110355184A CN113114491B CN 113114491 B CN113114491 B CN 113114491B CN 202110355184 A CN202110355184 A CN 202110355184A CN 113114491 B CN113114491 B CN 113114491B
Authority
CN
China
Prior art keywords
target
network
network topology
network nodes
topology model
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
CN202110355184.3A
Other languages
Chinese (zh)
Other versions
CN113114491A (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.)
Yinqing Technology Co ltd
Original Assignee
Yinqing 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 Yinqing Technology Co ltd filed Critical Yinqing Technology Co ltd
Priority to CN202110355184.3A priority Critical patent/CN113114491B/en
Publication of CN113114491A publication Critical patent/CN113114491A/en
Application granted granted Critical
Publication of CN113114491B publication Critical patent/CN113114491B/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/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • 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/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the specification provides a method, a device and equipment for constructing a network topology, wherein the method comprises the following steps: determining parameter information sets of a plurality of network nodes in a target system; acquiring a target operation parameter set of the target system at a target moment; establishing a target three-dimensional network topology model of the target system at the target moment according to the target operation parameter set and the parameter information sets of the plurality of network nodes; the network nodes of the production center and the disaster recovery center in the target three-dimensional network topology model are respectively positioned on the same plane, and the target three-dimensional network topology model is used for displaying the running state and the network topology relation of the target system at the target moment in a three-dimensional space. In the embodiment of the specification, the running state and the network topology relationship of the target system at the target time can be visually and clearly displayed, and the important information can be effectively identified in a complex relationship network.

Description

Method, device and equipment for constructing network topology
Technical Field
The embodiment of the specification relates to the technical field of internet, in particular to a method, a device and equipment for constructing a network topology.
Background
With the continuous expansion of industrial services, the requirements on the performance, stability and safety of IT equipment supporting the normal operation of a service system are higher and higher. While improving the software performance, the hardware scale is continuously enlarged, so that the network topology structure is more and more complex. For example, for a data center of a large enterprise, a production center and two disaster recovery centers (two places and three centers or three places and three centers) are usually provided to support a more perfect disaster tolerance system.
In the prior art, a two-dimensional presentation mode is usually adopted for a network topology structure, and with the continuous increase of equipment nodes in a network, the connection relationship of equipment in the network is more disordered and difficult to distinguish by using a design mode of the two-dimensional network topology structure, so that the important information is not favorably and efficiently identified in a complex relationship network.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the specification provides a method, a device and equipment for constructing a network topology, so as to solve the problem that important information cannot be efficiently identified in a complex relation network in the prior art.
An embodiment of the present specification provides a method for constructing a network topology, including: determining parameter information sets of a plurality of network nodes in a target system; the target system comprises a production center and a disaster recovery center; acquiring a target operation parameter set of the target system at a target moment; the target operation parameter set comprises a plurality of parameters for representing the operation state of each network node; establishing a target three-dimensional network topology model of the target system at the target moment according to the target operation parameter set and the parameter information sets of the plurality of network nodes; network nodes of the production center and the disaster recovery center in the target three-dimensional network topology model are respectively located on the same plane, and the target three-dimensional network topology model is used for displaying the running state and the network topology relation of the target system at the target moment in a three-dimensional space.
An embodiment of the present specification further provides a device for constructing a network topology, including: the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining parameter information sets of a plurality of network nodes in a target system; the target system comprises a production center and a disaster recovery center; the acquisition module is used for acquiring a target operation parameter set of the target system at a target moment; the target operation parameter set comprises a plurality of parameters for representing the operation state of each network node; the model establishing module is used for establishing a target three-dimensional network topology model of the target system at the target moment according to the target operation parameter set and the parameter information sets of the plurality of network nodes; network nodes of the production center and the disaster recovery center in the target three-dimensional network topology model are respectively located on the same plane, and the target three-dimensional network topology model is used for displaying the running state and the network topology relation of the target system at the target moment in a three-dimensional space.
The embodiment of the present specification further provides a device for constructing a network topology, which includes a processor and a memory for storing processor-executable instructions, where the processor executes the instructions to implement the steps of the method for constructing the network topology.
The embodiments of the present specification also provide a computer readable storage medium, on which computer instructions are stored, and when executed, the instructions implement the steps of the method for constructing the network topology.
The embodiment of the specification provides a method for constructing a network topology, which can determine parameter information sets of a plurality of network nodes in a target system and acquire a target operation parameter set of the target system at a target moment. Further, the operation state and the network topology relationship of the target system at the target time can be determined by combining the target operation parameter set and the parameter information sets of the plurality of network nodes, so that a target three-dimensional network topology model of the target system at the target time can be established. Network nodes of the production center and the disaster recovery center in the target three-dimensional network topology model are respectively located on the same plane, so that the production center and the disaster recovery center can be distinguished, and the data transmission condition between the production center and the disaster recovery center can be visually displayed. Through the established target three-dimensional network topology model, the running state and the network topology relation of the target system at the target moment can be visually and clearly displayed, and the important information can be effectively identified in a complex relation network.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the disclosure, are incorporated in and constitute a part of this specification, and are not intended to limit the embodiments of the disclosure. In the drawings:
FIG. 1 is a schematic diagram of a two-dimensional network topology provided in accordance with an embodiment of the present description;
fig. 2 is a schematic diagram illustrating steps of a method for constructing a network topology according to an embodiment of the present disclosure;
FIG. 3 (a) is a schematic diagram of an initial three-dimensional network topology model provided in accordance with an embodiment of the present description;
FIG. 3 (b) is a schematic diagram of an initial three-dimensional network topology model provided according to an embodiment of the present description;
FIG. 3 (c) is a schematic diagram of an initial three-dimensional network topology model provided in accordance with an embodiment of the present description;
FIG. 4 is a schematic diagram of a target three-dimensional network topology model provided in accordance with an embodiment of the present description;
fig. 5 is a schematic structural diagram of a device for constructing a network topology according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a building device of a network topology provided according to an embodiment of the present specification.
Detailed Description
The principles and spirit of the embodiments of the present specification will be described with reference to a number of exemplary embodiments. It should be understood that these embodiments are presented merely to enable those skilled in the art to better understand and to implement the embodiments of the present description, and are not intended to limit the scope of the embodiments of the present description in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, implementations of the embodiments of the present description may be embodied as a system, an apparatus, a method, or a computer program product. Therefore, the disclosure of the embodiments of the present specification can be embodied in the following forms: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
Although the flow described below includes a number of operations occurring in a particular order, it should be clear that the processes may include more or less operations that are performed sequentially or in parallel (e.g., using parallel processors or a multi-threaded environment).
As shown in fig. 1, with the increasing number of device nodes in a network, the two-dimensional network topology structure shown in fig. 1 may make the connection relationship of devices in the network more chaotic and difficult to distinguish, and the device in the network may be classified in different zones, lack of the direction relationship of data streams, and be unable to dynamically display the influence range of alarm, interruption, and fault information. Wherein, a, B, C in fig. 1 may represent network nodes.
Based on this, please refer to fig. 2, the present embodiment can provide a method for constructing a network topology. The method for constructing the network topology can be used for constructing the network topology model in the three-dimensional space in real time by combining the target operation parameter set of the target system at the target moment, and intuitively and clearly reflecting the current network topology relation and the operation state of the target system. The method for constructing the network topology can comprise the following steps.
S201: determining parameter information sets of a plurality of network nodes in a target system; the target system comprises a production center and a disaster recovery center.
In this embodiment, since the target system may include a production center and a backup center, a plurality of network nodes may exist between the production center and the backup center, and between the production center and the backup center. Therefore, a plurality of network nodes in the target system can be abstracted, and parameter information sets of the network nodes can be determined.
In this embodiment, the network node may represent a router, a core switch, a data center, an NPC (national processing center), and the like. Of course, the network node is not limited to the above examples, and other modifications may be made by those skilled in the art within the spirit of the embodiments of the present disclosure, and all that is needed is to cover the scope of the embodiments of the present disclosure as long as the functions and effects achieved by the network node are the same as or similar to the embodiments of the present disclosure.
In this embodiment, the target system may be a complete data center, the data center may generally include a production center and a disaster recovery center, the production center mainly generates data and provides external services, and the disaster recovery center backs up data and ensures service continuity. Of course, the target system is not limited to the above examples, and other modifications may be made by those skilled in the art in light of the technical spirit of the embodiments of the present disclosure, and all the functions and effects of the embodiments of the present disclosure should be covered by the scope of the present disclosure.
In this embodiment, the parameter information set of the network node may include a plurality of parameter information for characterizing the network node, and a unique network node may be determined by using a set of parameter information in the parameter information set. In some embodiments, the parameter information set may include: name, type, location information of each network node. The name of the network node can be a Beijing NPC or a data center and the like; the type of the network node can be used for representing the type of equipment corresponding to the network node and determining a display icon of the network node, so that the type of the network node can be visually and clearly determined from the three-dimensional model; the location information of the network node may be a network node region, for example: the IP address (internet protocol address) of the network node may be used, and the specific information may be determined according to actual situations, which is not limited in the embodiments of the present specification.
S202: acquiring a target operation parameter set of a target system at a target moment; the target operation parameter set comprises a plurality of parameters for representing the operation state of each network node.
In this embodiment, in order to display a three-dimensional network topology model of a target system in real time, a target operation parameter set of the target system at a target time may be obtained, where the target operation parameter set may include a plurality of parameters for representing operation states of each network node.
In this embodiment, the target time may be the current time, or may be any time when the operation state of the target system and the network topology relationship need to be determined. The specific situation can be determined according to actual situations, and the embodiment of the present specification does not limit the specific situation.
In this embodiment, the target operation parameter set may be data generated by the target system operating at the target time, and may be used to characterize an operation state of the target system at the target time. In some embodiments, the set of target operating parameters may include: state parameters of network nodes, traffic trends among network nodes, network speed, connection state, data state, and the like. Wherein the values of the state parameters of the network nodes may include: failure, normal operation, etc.; the connection state may include: on, off, etc. Of course, the target operation parameter set is not limited to the above examples, and other modifications are possible for those skilled in the art in light of the technical spirit of the embodiments of the present disclosure, and all the functions and effects that are achieved by the embodiments of the present disclosure should be covered by the scope of the embodiments of the present disclosure.
In this embodiment, the manner of acquiring the target operation parameter set of the target system at the target time may include: and pulling the target running meal data from the preset database, or receiving the target running meal data transmitted by the preset database in real time. The preset database may be a database used for storing real-time data generated by operation in the target system. It is understood that, the above target operation parameter set may also be obtained in other possible manners, for example, obtained by searching from the intermediate database according to a certain search condition, which may be determined according to actual situations, and this is not limited in this embodiment of the present specification.
S203: establishing a target three-dimensional network topology model of a target system at a target moment according to the target operation parameter set and the parameter information sets of the plurality of network nodes; the network nodes of the production center and the disaster recovery center in the target three-dimensional network topology model are respectively positioned on the same plane, and the target three-dimensional network topology model is used for displaying the running state and the network topology relation of a target system at a target moment in a three-dimensional space.
In this embodiment, a target three-dimensional network topology model of the target system at the target time may be established according to the target operation parameter set and the parameter information sets of the plurality of network nodes, and the target three-dimensional network topology model may be used to display an operation state and a network topology relationship of the target system at the target time in a three-dimensional space. The network nodes of the production center and the disaster recovery center in the target three-dimensional network topology model are respectively positioned on the same plane, so that the main network node and the standby network node can be distinguished, and the data transmission condition between the production center and the disaster recovery center can be visually displayed.
In this embodiment, the operation state of the target system may represent a traffic trend between network nodes, a network speed, disconnection/connection of the network nodes, whether a fault occurs, and the like. It will of course be appreciated that the operating state of the target system described above may also be indicative of other conditions, for example: data transmission conditions, whether potential risks exist or not and the like can be determined according to actual conditions, and the embodiment of the specification does not limit the conditions.
In this embodiment, the network topology relationship of the target system may be used to characterize arrangement and configuration of the network in the target system and the relationship between the network nodes. The network topology relation has the function of visually and clearly seeing the link mode among all devices in the network, and is convenient for identifying the scale and the basic structure of a computer network, evaluating the performance and the economy of network structure design, expanding and adjusting network devices, troubleshooting, root cause analysis, influence range prediction and the like.
In this embodiment, the network nodes of the production center may be on the same plane, the network nodes of the disaster recovery center may be on the same plane, and there may be no overlap between the plane to which the production center belongs and the plane to which the disaster recovery center belongs, so as to distinguish the production center from the disaster recovery center. In some embodiments, the plane to which the production center belongs and the plane to which the disaster recovery center belongs may be arranged in parallel, and the network nodes of the production center may be displayed in one-to-one correspondence with the network nodes of the disaster recovery center. The specific configuration may be set according to practical situations, and the embodiment of the present specification does not limit this.
From the above description, it can be seen that the embodiments of the present specification achieve the following technical effects: the parameter information sets of the network nodes in the target system can be determined, and the target operation parameter set of the target system at the target time can be obtained. Furthermore, the operation state and the network topology relation of the target system at the target moment can be determined by combining the target operation parameter set and the parameter information sets of the plurality of network nodes, so that a target three-dimensional network topology model of the target system at the target moment can be established. Network nodes of a production center and a disaster recovery center in the target three-dimensional network topology model are respectively positioned on the same plane, so that the production center and the disaster recovery center can be distinguished, and the data transmission condition between the production center and the disaster recovery center can be visually displayed. The operation state and the network topology relation of the target system at the target moment can be visually and clearly displayed through the established target three-dimensional network topology model, and the important information can be effectively identified in a complex relation network.
In one embodiment, establishing a target three-dimensional network topology model of a target system at a target time according to a target operation parameter set and parameter information sets of a plurality of network nodes may include: and constructing an initial three-dimensional network topology model of the target system according to the parameter information sets of the plurality of network nodes. And connecting each network node in the initial three-dimensional network topology model through a vector link according to the flow trend among the network nodes to obtain a first three-dimensional network topology model. The network speeds between the network nodes can be marked on the corresponding vector links of the first three-dimensional network topology model to obtain a second three-dimensional network topology model. The display colors of each network node and each vector link in the second three-dimensional network topology model can be determined according to the state parameters of the network nodes and the connection state between the network nodes, and a third three-dimensional network topology model is obtained. Furthermore, animation attributes of each network node and each vector link in the third three-dimensional network topology model can be determined according to the data state among the network nodes, and the target three-dimensional network topology model is obtained.
In this embodiment, since the network nodes included in the target system and the interrelations between the nodes are generally fixed, an initial three-dimensional network topology model of the target system may be constructed in advance according to parameter information sets of a plurality of network nodes, and the initial three-dimensional network topology model may be used to represent the structure of the target system.
In this embodiment, the target time may be an initial time of the operation of the target system, that is, the initial three-dimensional network topology model may be established at the initial time of the operation of the target system, and is not required to be established at each time, and the time after the target time may be directly adjusted based on the target three-dimensional network topology model, so as to improve the efficiency of displaying the three-dimensional network topology model of the target system in real time. In some embodiments, when the network node of the target system is monitored to be changed, the initial three-dimensional network topology model may be adjusted or re-established to ensure the accuracy of the established three-dimensional network topology model. The specific situation can be determined according to actual situations, and the embodiment of the present specification does not limit the specific situation.
In this embodiment, the initial three-dimensional network topology model may be as shown in fig. 3 (a), fig. 3 (b), and fig. 3 (c), and fig. 3 (a), fig. 3 (b), and fig. 3 (c) exemplarily show three different display structures of the initial three-dimensional network topology model, and in practical applications, the initial three-dimensional network topology model may be set to other possible structures through transformation in a three-dimensional space.
In this embodiment, the network layer main core network plane ABC in fig. 3 (a), fig. 3 (B), and fig. 3 (C) may be a plane where network nodes of the production center are located, and the network layer standby core network plane a ' B ' C ' may be a plane where network nodes of the disaster recovery center are located. The core systems and the auxiliary systems in the target system perform network connection operation of two planes differently according to the importance of the actual service, for example, a production system of a certain center preferentially connects the core network node a of the data center corresponding to the main core network plane ABC of the network layer in the whole network construction, when the core network node a of the local data center has a fault, the core network node B of the same plane can be preferentially connected, and when the core network node B also has a fault, the core network node C is connected again, so that uninterrupted operation of the system is effectively ensured in the same core network.
In this embodiment, after the overall failure of the main core network plane occurs in an extreme case, in order to ensure the normal operation of each core production system and each auxiliary operation system, redundancy design may be performed on the overall network layer plane. If the network layer main core network plane ABC has a fault on the whole, the production system can be switched to the network layer backup core network plane A ' B ' C ', and the uninterrupted operation of the system is ensured in the network environment. Data in the same network plane can be synchronously copied in real time so as to realize data transmission of production data between network nodes and between network layers. The connection lines among the network nodes in fig. 3 (a), fig. 3 (B) and fig. 3 (C) may represent network links, and a plurality of network nodes (routers) may exist between the network nodes a and a ', B and B ', and C ', and these network nodes may be arranged in the same plane, so as to intuitively embody the network topology of the target system.
In this embodiment, after the initial three-dimensional network topology model is determined, the initial three-dimensional network topology model may be associated with a set of running parameters generated in real time to adjust the initial three-dimensional network topology model to obtain a three-dimensional network topology model at each time, thereby implementing dynamic display of the three-dimensional network topology model of the target system.
In this embodiment, each network node in the initial three-dimensional network topology model may be connected by a vector link according to the traffic direction between the network nodes, so as to obtain the first three-dimensional network topology model. The vector link may be a unidirectional link or a bidirectional link, and a directional arrow may be marked on the vector link. The vector links are connected with each network node, so that the data transmission condition of the target system and the mutual relation between the network nodes can be visually embodied.
In this embodiment, the network speed between the network nodes may be marked on the corresponding vector link of the first three-dimensional network topology model to obtain the second three-dimensional network topology model. Wherein, the network speed may be: specific values such as 200Mbps (megabits per second) and 1Gbps, gbps is also called switching bandwidth, which is a unit for measuring the total data switching capacity of the switch, and the transmission speed is 1000 megabits per second. By marking the network speed on the vector link, the network condition and the data transmission condition of the target system can be intuitively reflected.
In one embodiment, determining the display color of each network node and each vector link in the second three-dimensional network topology model according to the state parameter of the network node and the connection state between the network nodes may include: determining color attributes corresponding to the network nodes according to the state parameters of the network nodes; wherein the values of the state parameters may include: malfunction and normal operation. Further, the color attribute of each vector link can be determined according to the connection state between the network nodes, and the color attribute corresponding to each network node and the color attribute of each vector link are used as the display color of each network node and each vector link in the second three-dimensional network topology model.
In this embodiment, in order to intuitively embody the network connection state of the target system, network nodes and vector links in different states may be displayed separately by using color data. The association relationship between the state parameters and the color attributes can be pre-established, and the color attributes corresponding to different state parameters are different. For example: and if the fault of a certain network node is determined, displaying the node as red for distinguishing. It is to be understood that, the association relationship between the state parameter and the color attribute is only an example, and may be determined according to actual situations, and this is not limited in this embodiment of the specification.
In this embodiment, the association relationship between the connection state and the color attribute between the network nodes may be established in advance, and the color attributes corresponding to different connection states are different. For example: the color attribute corresponding to the connection state is green, the color attribute corresponding to the disconnection state is red, and if the certain vector link is determined to be disconnected, the vector link can be displayed in red for distinguishing. It is to be understood that, the association relationship between the connection state and the color attribute is only an example, and may be determined according to actual situations, and this is not limited in this embodiment of the specification.
In one embodiment, determining animation attributes of each network node and vector link in the third three-dimensional network topology model according to the data state between the network nodes may include: and determining whether the third three-dimensional network topology model has the network nodes or the attribute data of the vector link within a preset range according to the data state among the network nodes. And under the condition that the attribute data exist, setting the animation attribute of the network node or the vector link with the attribute data in the preset range to be in flashing display, and setting the animation attribute of the network node or the vector link with the attribute data not in the preset range to be in static display.
In this embodiment, in order to reflect a potential risk that the target system may have, it may be determined whether the third three-dimensional network topology model has the network node or the attribute data of the vector link within a preset range according to the data state between the network nodes. The data state may be a load, a data storage amount, and the like of a network node, and the corresponding attribute data may be a load, a data storage amount, and the like. A corresponding preset range may be established in advance for each attribute data, where the preset range may represent a condition that the attribute data is close to the maximum limit but not exceeding the maximum limit, and a specific numerical value of the preset range may be determined according to an actual condition, which is not limited in the embodiments of the present specification.
In this embodiment, the animation attribute of the network node or the vector link with the attribute data in the preset range may be set to flash display, so that the abstract data meaning may be displayed in an image, and an early warning effect may be achieved.
In one embodiment, the parameter information sets of the plurality of network nodes may include: the name, type, and location information of each network node, correspondingly, constructing an initial three-dimensional network topology model of the target system according to the parameter information sets of the plurality of network nodes, may include: and determining the display icon of each network node according to the type of each network node. And determining the identification characters and the display positions of the network nodes according to the names and the position information of the network nodes. Further, an initial three-dimensional network topology model of the target system can be constructed based on the display icons, the identification characters and the display positions of the network nodes.
In this embodiment, in order to distinguish different network nodes, the display icon of each network node may be determined according to the type of each network node, for example: the display icon of the network node corresponding to the router may be a picture obtained by reducing the picture of the router by a preset ratio, and the display icon of the network node corresponding to the core switch may be a picture obtained by reducing the picture of the core switch by a preset ratio; or the network nodes corresponding to the routers may have a hexagonal display icon and the network nodes corresponding to the core switches may have a cylindrical display icon. Of course, the display form of the display icon of the network node is not limited to the above example, and other modifications may be made by those skilled in the art within the spirit of the embodiments of the present disclosure, but the functions and effects achieved by the icons are all within the scope of the embodiments of the present disclosure.
In this embodiment, the identifier and the display position of each network node may be determined according to the name and the position information of each network node. For example, when the target system is a structure of three places and three centers (beijing one center, shanghai one center, and tin-free one center), in order to distinguish different network nodes, the identification characters of the network nodes may be respectively determined as: beijing DataZhou, shanghai data center, wuxi data center, or simply geographic location. The display positions may be used to represent positions of network nodes in a three-dimensional network topology model, so as to set network nodes of a production center in the same plane or set network nodes belonging to the same geographical location in the same plane, which may be determined specifically according to actual situations, and this is not limited in this specification.
In this embodiment, as shown in fig. 4, the target three-dimensional network topology model constructed by using the initial three-dimensional network topology model may be a model that identifies a production center (a) and a disaster recovery center (B) by using characters, where network nodes of the production center and the disaster recovery center are respectively located on the same plane, and the network nodes are connected by vector links, and the vector links are marked with network speeds.
In the present embodiment, the dimension network topology model can be built using the Unity3D technology, which is a comprehensive development tool of multiple platforms that can easily create types of interactive contents such as three-dimensional video games, building visualizations, real-time three-dimensional animations, etc. It is understood that other possible software or technologies may be used to build the dimensional network topology model, which may be determined according to actual situations, and the embodiments of the present disclosure are not limited thereto.
In an embodiment, after the target three-dimensional network topology model of the target system at the target time is built according to the target operation parameter set and the parameter information sets of the plurality of network nodes, the method may further include: and acquiring an operation parameter set of the target system at the next moment of the target moment, and adjusting the target three-dimensional network topology model according to the operation parameter set at the next moment of the target moment to obtain the three-dimensional network topology model at the next moment of the target moment.
In this embodiment, since the operating state of the target system and the change of the network topology relationship within the continuous time are slight, in order to improve the efficiency of dynamically displaying the three-dimensional network topology model and reduce the data processing amount, the three-dimensional network topology model at the current time can be directly determined based on the three-dimensional network topology model at the previous time. Specifically, the running parameter set of the target system at the next moment of the target moment may be obtained, and the vector link connection mode, the display colors of the network nodes and the vector links, the animation effect, and the like in the target three-dimensional network topology model may be adjusted according to the running parameter set at the next moment of the target moment, so as to obtain the three-dimensional network topology model at the next moment of the target moment.
In an embodiment, after the target three-dimensional network topology model of the target system at the target time is built according to the target operation parameter set and the parameter information sets of the plurality of network nodes, the method may further include: and under the condition that the target system fails at the target moment, deforming and/or rotating the target three-dimensional network topology model by using the three-dimensional control, and highlighting the failed network node and/or vector link.
In the embodiment, since the target three-dimensional network topology model can rotate 360 degrees in the three-dimensional space range and the network nodes can move in the space positions, in the case that the target system is determined to have a fault at the target moment, the target three-dimensional network topology model can be deformed and/or rotated by using the three-dimensional control to highlight the fault network nodes and/or vector links for positioning and comparison. Wherein the highlighting may include: different colors are adopted for display, flashing display, magnifying display, thickening display, or the combination of any two of the colors. Of course, the highlighting manner is not limited to the above examples, and other modifications are possible for those skilled in the art in light of the technical spirit of the embodiments of the present disclosure, and all such modifications are intended to be included within the scope of the embodiments of the present disclosure as long as the functions and effects achieved by the present disclosure are the same as or similar to the embodiments of the present disclosure.
In the embodiment of the specification, the three-dimensional network topology model is used for displaying the network topology structure relationship, so that the cognitive habit is met, and the cognitive cost is reduced. And the identification degree of the network node relation can be improved, and the data transmission and backup relation between the production center and the disaster recovery center is determined.
In the embodiment of the present specification, the three-dimensional network topology models of the target system at multiple consecutive times can be respectively determined, so that dynamic display of the three-dimensional network topology models is achieved, changes in the operating state of the target system and whether a fault occurs can be visually and clearly monitored, the switching process of the data transmission link during disaster backup switching can be monitored, and further, the target system can be timely and conveniently controlled.
Based on the same inventive concept, the embodiment of the present specification further provides a device for constructing a network topology, such as the following embodiments. Because the principle of solving the problems of the network topology construction device is similar to that of the network topology construction method, the implementation of the network topology construction device can refer to the implementation of the network topology construction method, and repeated parts are not described again. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated. Fig. 5 is a block diagram of a structure of a network topology constructing apparatus according to an embodiment of the present disclosure, and as shown in fig. 5, the apparatus may include: a determining module 501, an obtaining module 502, and a model establishing module 503, which are described below.
A determining module 501, configured to determine a parameter information set of a plurality of network nodes in a target system; the target system comprises a production center and a disaster recovery center;
an obtaining module 502, configured to obtain a target operation parameter set of a target system at a target time; the target operation parameter set comprises a plurality of parameters for representing the operation state of each network node;
the model establishing module 503 may be configured to establish a target three-dimensional network topology model of the target system at the target time according to the target operation parameter set and the parameter information sets of the plurality of network nodes; the network nodes of the production center and the disaster recovery center in the target three-dimensional network topology model are respectively positioned on the same plane, and the target three-dimensional network topology model is used for displaying the running state and the network topology relation of a target system at a target moment in a three-dimensional space.
The embodiment of the present specification further provides an electronic device, which may specifically refer to a schematic structural diagram of the electronic device shown in fig. 6 based on the method for constructing the network topology provided by the embodiment of the present specification, and the electronic device may specifically include an input device 61, a processor 62, and a memory 63. The input device 61 may be specifically configured to input parameter information sets of a plurality of network nodes in the target system; the target system comprises a production center and a disaster recovery center. The processor 62 may be specifically configured to obtain a target operation parameter set of the target system at the target time; the target operation parameter set comprises a plurality of parameters for representing the operation state of each network node; establishing a target three-dimensional network topology model of a target system at a target moment according to the target operation parameter set and the parameter information sets of the plurality of network nodes; the network nodes of the production center and the disaster recovery center in the target three-dimensional network topology model are respectively positioned on the same plane, and the target three-dimensional network topology model is used for displaying the running state and the network topology relation of a target system at a target moment in a three-dimensional space. The memory 63 may be specifically configured to store data such as a target three-dimensional network topology model.
In this embodiment, the input device may be one of the main apparatuses for information exchange between a user and a computer system. The input devices may include a keyboard, mouse, camera, scanner, light pen, handwriting input panel, voice input device, etc.; the input device is used to input raw data and a program for processing these numbers into the computer. The input device can also acquire and receive data transmitted by other modules, units and devices. The processor may be implemented in any suitable way. For example, the processor may take the form of, for example, a microprocessor or processor and a computer-readable medium that stores computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller and embedded microcontroller, and so forth. The memory may in particular be a memory device used in modern information technology for storing information. The memory may include multiple levels, and in a digital system, memory may be used as long as binary data can be stored; in an integrated circuit, a circuit without a physical form and with a storage function is also called a memory, such as a RAM, a FIFO and the like; in the system, the storage device in physical form is also called a memory, such as a memory bank, a TF card and the like.
In this embodiment, the functions and effects specifically realized by the electronic device can be explained by comparing with other embodiments, and are not described herein again.
Embodiments of the present specification further provide a computer storage medium of a network topology-based construction method, where the computer storage medium stores computer program instructions, and when the computer program instructions are executed, the computer storage medium may implement: determining parameter information sets of a plurality of network nodes in a target system; the target system comprises a production center and a disaster recovery center; acquiring a target operation parameter set of a target system at a target moment; the target operation parameter set comprises a plurality of parameters for representing the operation state of each network node; establishing a target three-dimensional network topology model of a target system at a target moment according to the target operation parameter set and the parameter information sets of the plurality of network nodes; the network nodes of the production center and the disaster recovery center in the target three-dimensional network topology model are respectively positioned on the same plane, and the target three-dimensional network topology model is used for displaying the running state and the network topology relation of a target system at a target moment in a three-dimensional space.
In this embodiment, the storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card). The memory may be used to store computer program instructions. The network communication unit may be an interface for performing network connection communication, which is set in accordance with a standard prescribed by a communication protocol.
In this embodiment, the functions and effects specifically realized by the program instructions stored in the computer storage medium can be explained by comparing with other embodiments, and are not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the embodiments of the present specification described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed over a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different from that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, embodiments of the present description are not limited to any specific combination of hardware and software.
Although the embodiments herein provide the method steps as described in the above embodiments or flowcharts, more or fewer steps may be included in the method based on conventional or non-inventive efforts. In the case of steps where no causal relationship is logically necessary, the order of execution of the steps is not limited to that provided by the embodiments of the present description. When the method is executed in an actual device or end product, the method can be executed sequentially or in parallel according to the embodiment or the method shown in the figure (for example, in the environment of a parallel processor or a multi-thread processing).
It is to be understood that the above description is intended to be illustrative, and not restrictive. Many embodiments and many applications other than the examples provided will be apparent to those of skill in the art upon reading the above description. The scope of embodiments of the present specification should, therefore, be determined not with reference to the above description, but should instead be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
The above description is only a preferred embodiment of the embodiments of the present disclosure, and is not intended to limit the embodiments of the present disclosure, and it will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the embodiments of the present disclosure should be included in the protection scope of the embodiments of the present disclosure.

Claims (11)

1. A method for constructing a network topology, comprising:
determining parameter information sets of a plurality of network nodes in a target system; the target system comprises production centers and disaster backup centers, wherein the production centers and the disaster backup centers are deployed in various places, the production centers are used for generating data and providing external services, and the disaster backup centers are used for backing up the data and guaranteeing the continuity of the services;
acquiring a target operation parameter set of the target system at a target moment; the target operation parameter set comprises a plurality of parameters for representing the operation state of each network node;
establishing a target three-dimensional network topology model of the target system at the target moment according to the target operation parameter set and the parameter information sets of the plurality of network nodes; in the target three-dimensional network topology model, network nodes of the production centers deployed in various places are located on a first plane, network nodes of disaster recovery centers deployed in various places are located on a second plane different from the first plane, each network node in the same plane has a connection relation, network nodes corresponding to the same deployment place on different planes have a connection relation, and the target three-dimensional network topology model is used for displaying the running state and the network topology relation of the target system at the target time in a three-dimensional space.
2. The method of claim 1, wherein the set of target operating parameters comprises: state parameters of the network nodes, and flow trend, network speed, connection state and data state among the network nodes; wherein the connection state comprises: and (4) connection and disconnection.
3. The method of claim 2, wherein building a target three-dimensional network topology model of the target system at the target time based on the set of target operating parameters and the set of parameter information for the plurality of network nodes comprises:
constructing an initial three-dimensional network topology model of the target system according to the parameter information sets of the plurality of network nodes;
according to the flow trend among the network nodes, connecting all the network nodes in the initial three-dimensional network topology model through vector links to obtain a first three-dimensional network topology model;
marking the network speed among the network nodes on a corresponding vector link of the first three-dimensional network topology model to obtain a second three-dimensional network topology model;
determining the display color of each network node and a vector link in the second three-dimensional network topology model according to the state parameters of the network nodes and the connection state among the network nodes to obtain a third three-dimensional network topology model;
and determining animation attributes of each network node and vector link in the third three-dimensional network topology model according to the data state among the network nodes to obtain the target three-dimensional network topology model.
4. The method according to claim 3, wherein determining the display color of each network node and vector link in the second three-dimensional network topology model according to the state parameter of the network node and the connection state between the network nodes comprises:
determining color attributes corresponding to the network nodes according to the state parameters of the network nodes; wherein the values of the state parameters include: failure and normal operation;
determining the color attribute of each vector link according to the connection state between the network nodes;
and taking the color attribute corresponding to each network node and the color attribute of each vector link as the display color of each network node and vector link in the second three-dimensional network topology model.
5. The method of claim 3, wherein determining animation properties of each network node and vector link in the third three-dimensional network topology model based on the data states between the network nodes comprises:
determining whether the third three-dimensional network topology model has network nodes or the attribute data of the vector link within a preset range according to the data state among the network nodes;
under the condition that the attribute data exist, setting the animation attribute of the network node or the vector link with the attribute data in the preset range to be in flashing display;
and setting the animation attribute of the network node or the vector link with the attribute data not in the preset range to be static display.
6. The method of claim 3, wherein the parameter information sets of the plurality of network nodes comprise: the method comprises the following steps that the name, the type and the position information of each network node are used for constructing an initial three-dimensional network topology model of the target system according to the parameter information sets of the network nodes, and the method comprises the following steps:
determining a display icon of each network node according to the type of each network node;
determining the identification characters and the display positions of the network nodes according to the names and the position information of the network nodes;
and constructing an initial three-dimensional network topology model of the target system based on the display icons, the identification characters and the display positions of the network nodes.
7. The method of claim 1, further comprising, after establishing a target three-dimensional network topology model of the target system at the target time based on the target operating parameter set and the parameter information sets of the plurality of network nodes:
acquiring an operation parameter set of the target system at the next moment of the target moment;
and adjusting the target three-dimensional network topology model according to the running parameter set at the next moment of the target moment to obtain the three-dimensional network topology model at the next moment of the target moment.
8. The method of claim 1, further comprising, after establishing a target three-dimensional network topology model of the target system at the target time based on the target operating parameter set and the parameter information sets of the plurality of network nodes:
and under the condition that the target system is determined to have a fault at the target moment, deforming and/or rotating the target three-dimensional network topology model by using the three-dimensional control, and highlighting the network node and/or the vector link with the fault.
9. An apparatus for constructing a network topology, comprising:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining parameter information sets of a plurality of network nodes in a target system; the target system comprises production centers and disaster backup centers, wherein the production centers and the disaster backup centers are deployed in various places, the production centers are used for generating data and providing external services, and the disaster backup centers are used for backing up data and guaranteeing service continuity;
the acquisition module is used for acquiring a target operation parameter set of the target system at a target moment; the target operation parameter set comprises a plurality of parameters for representing the operation state of each network node;
the model establishing module is used for establishing a target three-dimensional network topology model of the target system at the target moment according to the target operation parameter set and the parameter information sets of the plurality of network nodes; in the target three-dimensional network topology model, network nodes of the production centers deployed in various places are located on a first plane, network nodes of disaster recovery centers deployed in various places are located on a second plane different from the first plane, each network node in the same plane has a connection relation, network nodes corresponding to the same deployment place on different planes have a connection relation, and the target three-dimensional network topology model is used for displaying the running state and the network topology relation of the target system at the target time in a three-dimensional space.
10. A device for constructing a network topology, comprising a processor and a memory for storing processor-executable instructions, the processor implementing the steps of the method according to any one of claims 1 to 8 when executing the instructions.
11. A computer-readable storage medium having stored thereon computer instructions which, when executed, implement the steps of the method of any one of claims 1 to 8.
CN202110355184.3A 2021-04-01 2021-04-01 Method, device and equipment for constructing network topology Active CN113114491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110355184.3A CN113114491B (en) 2021-04-01 2021-04-01 Method, device and equipment for constructing network topology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110355184.3A CN113114491B (en) 2021-04-01 2021-04-01 Method, device and equipment for constructing network topology

Publications (2)

Publication Number Publication Date
CN113114491A CN113114491A (en) 2021-07-13
CN113114491B true CN113114491B (en) 2022-12-23

Family

ID=76713309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110355184.3A Active CN113114491B (en) 2021-04-01 2021-04-01 Method, device and equipment for constructing network topology

Country Status (1)

Country Link
CN (1) CN113114491B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363211A (en) * 2022-01-04 2022-04-15 中国建设银行股份有限公司 Network connectivity verification method of disaster recovery backup system network and related equipment
WO2024036628A1 (en) * 2022-08-19 2024-02-22 西门子股份公司 Topology modeling method and apparatus for energy system
CN115484191A (en) * 2022-09-16 2022-12-16 中国农业银行股份有限公司 Network connectivity verification method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103810753A (en) * 2014-02-19 2014-05-21 国家电网公司 Method for visually showing power grid dispatching businesses
CN103916262A (en) * 2013-12-17 2014-07-09 哈尔滨安天科技股份有限公司 Network topology layout method and system on basis of three-dimensional space
WO2016106590A1 (en) * 2014-12-30 2016-07-07 华为技术有限公司 Method and apparatus for presenting device load state in cloud computing network
CN109167689A (en) * 2018-09-18 2019-01-08 深圳市风云实业有限公司 network device monitoring method, device and server
CN111198860A (en) * 2019-08-23 2020-05-26 腾讯科技(深圳)有限公司 Network security monitoring method, system, device, storage medium and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916262A (en) * 2013-12-17 2014-07-09 哈尔滨安天科技股份有限公司 Network topology layout method and system on basis of three-dimensional space
CN103810753A (en) * 2014-02-19 2014-05-21 国家电网公司 Method for visually showing power grid dispatching businesses
WO2016106590A1 (en) * 2014-12-30 2016-07-07 华为技术有限公司 Method and apparatus for presenting device load state in cloud computing network
CN109167689A (en) * 2018-09-18 2019-01-08 深圳市风云实业有限公司 network device monitoring method, device and server
CN111198860A (en) * 2019-08-23 2020-05-26 腾讯科技(深圳)有限公司 Network security monitoring method, system, device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN113114491A (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN113114491B (en) Method, device and equipment for constructing network topology
US11616703B2 (en) Scalable visualization of health data for network devices
US9258195B1 (en) Logical topology visualization
WO2018036148A1 (en) Server cluster system
CN111193605B (en) Fault positioning method and device and storage medium
US9781008B1 (en) Visualization of dynamic fabric automation network topology
CN107666493B (en) Database configuration method and equipment thereof
CN104243196A (en) Virtual network mapping protection method and system under SDN architecture
CN110661641B (en) Virtual network function VNF deployment method and device
CN102437933A (en) Fault tolerance system and method of server
WO2013153567A1 (en) Visualization device, visualization system, and visualization method
CN107682411A (en) A kind of extensive SDN controllers cluster and network system
CN111418187A (en) Scalable statistics and analysis mechanism in cloud networks
CN106789286B (en) Method and device for displaying network topological graph
US20220247811A1 (en) Balance of load
CN104518995B (en) Interchanger virtualization system based on distributed structure/architecture
CN111464450A (en) Method and device for generating network topology structure
CN1988477A (en) Network managing system with high usability property
CN107302849A (en) The distribution method and device of a kind of light path
CN110851186B (en) Network equipment restarting method and device, electronic equipment and readable storage medium
CN114124803B (en) Device management method and device, electronic device and storage medium
CN104503871A (en) Implementation method based on full-redundancy model of small computer system
US11372887B2 (en) Method, device and computer program product for providing visual representation
CN107590032A (en) The method and storage cluster system of storage cluster failure transfer
KR20210091075A (en) Traffic adjustment method and apparatus

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