Method, equipment and device for configuring topological graph of system

Obtaining system configuration information and generating topology diagrams through the graphical user interface solves the problem of increased difficulty in system monitoring, realizes visual monitoring and management of the system, and improves fault evaluation and maintenance efficiency.

CN120110899AActive Publication Date: 2025-06-06CHINA EASTERN AIRLINES CO LTD +2
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202411978348.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-06-06
Estimated Expiration
2044-12-30

AI Technical Summary

Technical Problem

With the increase in the number of servers in computer systems and the complexity of connection relationships, it is also difficult to monitor the system, especially when the server fails, it is difficult to quickly evaluate the impact of the failure on the entire system.

Method used

The system configuration information is obtained through a graphical user interface, including the basic information of the server, cluster and subsystem and its relationship information, and generate drawing data with a preset format, and generate and display the topology diagram of the system based on this data.

Benefits of technology

The system is visually monitored and managed, helping users quickly evaluate the impact of failures, and improving the system's monitoring efficiency and maintenance effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120110899A_ABST
    Figure CN120110899A_ABST
Patent Text Reader

Abstract

The invention provides a method, equipment and device for configuring a topological graph of a system. The method comprises the following steps: acquiring configuration information through a graphical user interface; generating drawing data with a preset format according to the configuration information; and generating and displaying a topological graph of the system according to the drawing data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and more specifically, to a method, device and apparatus for configuring a topology map of a system. Background Art

[0002] With the development of information technology, computer systems are increasingly used to manage various businesses. Generally, a system may include multiple servers that can be communicatively connected to perform corresponding functions. However, as the number of servers in the system increases and the connection relationship between servers becomes more complicated, the difficulty of monitoring the system also increases. For example, in the event of a failure of one or several servers, it may be difficult to quickly assess the impact of such a failure on the entire system. Therefore, it is necessary to draw a topology diagram of the system to help improve management. Summary of the invention

[0003] One of the objectives of the present disclosure is to provide a method, device and apparatus for configuring a topology map of a system.

[0004] According to a first aspect of the present disclosure, there is provided a method for configuring a topology map of a system, comprising:

[0005] Obtaining configuration information through a graphical user interface, wherein the system includes one or more subsystems, the subsystem includes one or more clusters, the cluster includes one or more servers, and the configuration information includes at least one of the following: server basic information associated with the server, cluster basic information associated with the cluster, subsystem basic information associated with the subsystem, server subordinate information indicating a subordinate relationship between the server and the cluster, cluster relationship information indicating a relationship between the clusters, and subsystem relationship information indicating a relationship between the subsystems;

[0006] generating drawing data having a preset format according to the configuration information; and

[0007] A topological map of the system is generated and displayed based on the drawing data.

[0008] In some embodiments, the server basic information includes at least one of the following: the name of the server, the number of the server, the network address of the server, the type of the server, the physical address of the server, the monitoring indicators of the server, the monitoring indicator threshold of the server and the manager information of the server, wherein the type of the server includes at least one of a database server, an application server, a load balancing server and a cache server, and the monitoring indicators of the server include at least one of the memory utilization rate of the server, the virtual machine memory utilization rate of the server, the disk space utilization rate of the server, the table space utilization rate of the server, the connection number utilization rate of the server and the heartbeat indicator of the server; or

[0009] The cluster basic information includes at least one of the following: cluster name, cluster number, cluster network address, cluster type and cluster manager information; or

[0010] The subsystem basic information includes at least one of the following: the name of the subsystem, the number of the subsystem, the network address of the subsystem, the type of the subsystem, and the administrator information of the subsystem; or

[0011] The cluster relationship information includes at least one of cluster calling information and cluster nesting information, wherein the cluster calling information is used to indicate the calling relationship between clusters, and the cluster nesting information is used to indicate the nesting relationship between clusters, and a cluster that can directly call other clusters or be directly called by other clusters cannot have other clusters nested inside it; or

[0012] The subsystem relationship information is used to indicate the communication relationship or interface protocol between the subsystem and other subsystems located upstream or downstream of the subsystem, or to indicate the network addresses of other subsystems located upstream or downstream of the subsystem.

[0013] In some embodiments, the topology diagram of the system is a vector diagram; or

[0014] In the system topology diagram:

[0015] Servers are configured as represented by node icons.

[0016] One or more node icons corresponding to one or more servers belonging to the same cluster are configured to be located in the same cluster area.

[0017] One or more cluster areas corresponding to one or more clusters belonging to the same subsystem are configured to be located in the same subsystem area,

[0018] The cluster call information in the cluster relationship information is configured to be represented by lines between cluster areas,

[0019] The cluster nesting information in the cluster relationship information is configured to be represented by nesting between cluster areas,

[0020] The subsystem relationship information is configured to be represented by lines between subsystem areas, or

[0021] The display effect of the node icon in the configuration state is different from the display effect of the node icon in the non-configuration state.

[0022] In some embodiments, obtaining configuration information through a graphical user interface includes:

[0023] Get configuration request;

[0024] Searching for existing configuration information corresponding to the configuration request in a configuration information database;

[0025] When existing configuration information is found, a graphical user interface preloaded with the existing configuration information is provided for adding or modifying the configuration information;

[0026] If no existing configuration information is found, an initial graphical user interface is provided for adding new configuration information.

[0027] In some embodiments, the configuration request indicates at least the name, number or network address of the subsystem, cluster or server to be configured.

[0028] Searching the configuration information database for existing configuration information corresponding to the configuration request includes:

[0029] The existing configuration information corresponding to the subsystem, cluster or server to be configured is searched in the configuration information database according to the name, number or network address of the subsystem, cluster or server to be configured.

[0030] In some embodiments, obtaining configuration information through a graphical user interface further includes:

[0031] The newly added or modified configuration information is stored or encrypted in the configuration information database.

[0032] In some embodiments, obtaining configuration information through a graphical user interface further includes:

[0033] In the case where existing configuration information is found, generating initial drawing data having a preset format according to the existing configuration information; and

[0034] An initial topology map of the system is generated and displayed according to the initial drawing data.

[0035] In some embodiments, obtaining configuration information through a graphical user interface includes:

[0036] Obtaining a configuration request, wherein the configuration request at least indicates a type of server to be configured;

[0037] Determining a set of monitoring indicators of the server according to the type of the server; and

[0038] A graphical user interface including the set of monitoring indicators is provided for selecting the monitoring indicators to be monitored of the server.

[0039] In some embodiments, in the graphical user interface, the configuration information is configured to be represented by one or more lists.

[0040] In some embodiments, generating drawing data having a preset format according to the configuration information includes:

[0041] Determining whether the configuration information contains a preset character;

[0042] In the case where the configuration information includes preset characters, filtering the preset characters, and generating drawing data having a preset format according to the filtered configuration information; and

[0043] In the case that the configuration information does not contain the preset characters, drawing data having the preset format is directly generated according to the configuration information.

[0044] In some embodiments, the drawing data is generated in real time according to the configuration information; or

[0045] The topological map of the system is generated and displayed in real time based on the drawing data.

[0046] In some embodiments, the preset format includes JSON format; or

[0047] The topology map of the system is generated based on the drawing data using the Mermaid plug-in.

[0048] In some embodiments, the topology map of the system includes a structure topology map for indicating the system structure and a state topology map for indicating the system operation state.

[0049] The method further comprises:

[0050] Get monitoring request;

[0051] Acquire configuration information associated with the monitoring request from a configuration information database, and generate and display a structural topology diagram of the system according to the configuration information;

[0052] Acquire a monitoring indicator value of a corresponding server according to the monitoring request, or acquire a monitoring indicator value and a monitoring indicator threshold of the corresponding server according to the monitoring request; and

[0053] The structural topology diagram of the system is rendered according to the acquired monitoring indicator value or according to the acquired monitoring indicator value and the monitoring indicator threshold value to generate and display the state topology diagram of the system.

[0054] In some embodiments, the operation of obtaining the configuration information corresponding to the monitoring request from the configuration information database and the operation of obtaining the monitoring indicator value of the corresponding server according to the monitoring request, or the operation of obtaining the monitoring indicator value and monitoring indicator threshold of the corresponding server according to the monitoring request are performed simultaneously.

[0055] In some embodiments, the method further comprises:

[0056] The acquired monitoring indicator value is stored or encrypted and stored in the configuration information database.

[0057] In some embodiments, the method further comprises:

[0058] Get object lookup request;

[0059] Traversing the topology map of the system to determine a portion of the topology map of the system that meets the object search request; and

[0060] The portion is rendered to indicate an object corresponding to the object search request.

[0061] In some embodiments, the method further comprises:

[0062] Get object lookup request;

[0063] Acquire configuration information associated with the object indicated by the object search request from a configuration information database; and

[0064] A topological map of the object is generated and displayed according to the configuration information.

[0065] In some embodiments, the method further comprises:

[0066] Obtaining an information display request, wherein the information display request at least indicates an object whose information is to be displayed;

[0067] Acquire configuration information associated with the object from a configuration information database or a topology map; and

[0068] The configuration information is displayed in the form of a details page or list superimposed on the topology map.

[0069] According to a second aspect of the present disclosure, there is provided a device for configuring a topology map of a system, comprising:

[0070] an information acquisition unit, the information acquisition unit being configured to acquire configuration information through a graphical user interface, wherein the system includes one or more subsystems, the subsystem includes one or more clusters, the cluster includes one or more servers, and the configuration information includes at least one of the following: server basic information associated with the server, cluster basic information associated with the cluster, subsystem basic information associated with the subsystem, server subordinate information indicating a subordinate relationship between the server and the cluster, cluster relationship information indicating a relationship between the clusters, and subsystem relationship information indicating a relationship between the subsystems;

[0071] a data conversion unit, wherein the data conversion unit is configured to generate drawing data having a preset format according to the configuration information;

[0072] a drawing unit configured to generate a topology map of the system according to the drawing data; and

[0073] A display unit is configured to display a topology diagram of the system.

[0074] According to a third aspect of the present disclosure, there is provided an apparatus for configuring a topology map of a system, comprising a memory and a processor, wherein instructions are stored on the memory, and when the instructions are executed by the processor, the operations of the method for configuring a topology map of a system as described above are implemented.

[0075] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, on which instructions are stored, and when the instructions are executed by a processor, the operations of the method for configuring a topology map of a system as described above are implemented.

[0076] According to a fifth aspect of the present disclosure, a computer program product is provided, the computer program product comprising instructions, which, when executed by a processor, implement the operations of the method for configuring a topology map of a system as described above.

[0077] Other features and advantages of the present disclosure will become more apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0079] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:

[0080] Figure 1A schematic flow chart of a method for configuring a topology map of a system according to an exemplary embodiment of the present disclosure is shown;

[0081] Figure 2 A topological diagram of a system according to a specific embodiment of the present disclosure is shown;

[0082] Figure 3 A partial flow chart of a method for configuring a topology map of a system according to a specific embodiment of the present disclosure is shown;

[0083] Figure 4 Shown based on Figure 3 The topology diagram of the system after the operation is rendered;

[0084] Figure 5 A partial flow chart of a method for configuring a topology map of a system according to another specific embodiment of the present disclosure is shown;

[0085] Figure 6 Shown based on Figure 5 The topology diagram of the system after the operation is rendered;

[0086] Figure 7 A partial flow chart of a method for configuring a topology map of a system according to another specific embodiment of the present disclosure is shown;

[0087] Figure 8 A partial flow chart of a method for configuring a topology map of a system according to another specific embodiment of the present disclosure is shown;

[0088] Fig. 9 Shown based on Figure 8 The operations in the system contain topological diagrams of configuration information;

[0089] Fig.10 A block diagram of a device for configuring a topology map of a system according to an exemplary embodiment of the present disclosure is shown;

[0090] Fig.11 A block diagram of an apparatus for configuring a topology map of a system according to an exemplary embodiment of the present disclosure is shown.

[0091] Note that in the embodiments described below, the same reference numerals are sometimes used in common between different drawings to represent the same parts or parts with the same functions, and their repeated descriptions are omitted. In this specification, similar reference numerals and letters are used to represent similar items, so once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.

[0092] For ease of understanding, the positions, sizes, and ranges of various structures shown in the drawings and the like sometimes do not represent actual positions, sizes, and ranges, etc. Therefore, the disclosed invention is not limited to the positions, sizes, and ranges, etc. disclosed in the drawings and the like. In addition, the drawings are not necessarily drawn to scale, and some features may be exaggerated to show details of specific components. DETAILED DESCRIPTION

[0093] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.

[0094] The following description of at least one exemplary embodiment is merely illustrative in nature and is not intended to limit the present disclosure and its application or use. It will be appreciated by those skilled in the art that they are merely exemplary, rather than exhaustive, ways in which the present disclosure may be implemented.

[0095] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0096] In order to facilitate the monitoring of the operation process of the system, for example, in the case of a failure of a server or other component or communication, the impact of the failure on the entire system can be quickly evaluated and effective fault handling measures can be taken, and a topology map of the system can be provided. At present, the management or development personnel of the application system usually collects information on all the servers and other components contained in the system and the relationship between them in advance, and then uses flowchart drawing tools such as Visio, PowerPoint, Word, etc. to manually draw the topology map of the system. However, this manual drawing method has a very large workload and is very prone to errors, especially when the system is large and contains a large number of servers or other components. Moreover, the manually drawn topology map is a static picture, which needs to be manually modified when the system changes, so it is difficult to adapt to the changes of the system in a timely manner, resulting in reduced monitoring efficiency and increased monitoring costs.

[0097] In order to solve the above problems, the present disclosure proposes a method for configuring a topology map of a system. Among them, the system may include one or more subsystems. Different subsystems can be used to implement different functions respectively. In addition, different subsystems can be connected in a communicative manner, for example, the upstream subsystem can transmit corresponding data to the downstream subsystem, or conversely, the downstream subsystem can also feed back corresponding data to the upstream subsystem to achieve collaboration between subsystems. The subsystem may include one or more clusters so as to distribute the operations required for implementing the corresponding subsystem functions in an organized manner. Among them, one or more other clusters may be nested inside a cluster, or a cluster may call other clusters or be called by other clusters, which is not limited here. The cluster may include one or more servers, and the server may be used to specifically perform various operations. How to allocate the server to the cluster can be determined based on a variety of methods, which is not limited here. In addition, as needed, the system may also include other components other than the server, such as sensing sensors, client devices, etc., which may exist independently or may be organized in corresponding clusters or subsystems, which is not limited here. In the process of drawing a topology map, corresponding icons or lines may be used to represent other components that may exist. In the following text, a method for drawing a topology map of a system including only a server will be taken as an example to explain in detail. However, those skilled in the art can derive a method for drawing a topology map of a system including other components based on the content of the present disclosure, and such a method also belongs to a part of the protection scope of the present disclosure.

[0098] In an exemplary embodiment of the present disclosure, Figure 1 As shown, the method for configuring a topology diagram of a system may include:

[0099] Step S110: acquiring configuration information through a graphical user interface (GUI).

[0100] Here, the configuration information can be selected or filled in by a user (e.g., an administrator or developer of the system) on a provided graphical user interface. By providing a graphical user interface, the user can input the configuration information in a visual manner, thereby facilitating the user's operation. In some embodiments, the graphical user interface may include one or more pages that can be switched, and information input components in the form of radio buttons, check boxes, option lists, input boxes, etc. may be provided on each page so that the user can select or input the configuration information at the corresponding location. In the subsequent operation of the method, a topology map can be drawn based on the configuration information obtained through the graphical user interface.

[0101] In some embodiments, the configuration information may include at least one of server basic information associated with the server, cluster basic information associated with the cluster, subsystem basic information associated with the subsystem, server subordinate information for indicating the subordinate relationship between the server and the cluster, cluster relationship information for indicating the relationship between clusters, and subsystem relationship information for indicating the relationship between subsystems. In addition, in the case where the system includes other components, the configuration information may also include information for indicating the component itself, and information for indicating the association relationship between the component and other parts of the system, etc., which are not limited here.

[0102] The basic information of a server may refer to information associated with a single server itself, for example, it may include at least one of the name of the server, the number of the server, the network address of the server (for example, an IP address, a URL address, etc.), the type of the server, the physical address of the server (for example, the address of the computer room to which the server belongs, the specific location of the server in the computer room, etc.), the monitoring index of the server, the monitoring index threshold of the server, and the manager information of the server (for example, the department to which the server belongs, the management department of the server, the management personnel of the server, etc.). Generally speaking, the corresponding server can be uniquely determined according to the name, number, network address or specific physical address of the server. In addition, the type of the server can be determined according to the operations, functions or services performed. In a specific example, the type of the server may include at least one of a database server (for providing database services, for example, a server based on an Oracle operating system), an application server (for executing an application, for example, a server based on a Windows operating system), a load balancing server (for providing load balancing services) and a cache server (for providing cache services). Depending on the type of the server, one or more monitoring indicators thereof may be monitored to understand the operating status of the server. For example, the monitoring index of the server may include at least one of the server's memory usage, the server's virtual machine memory usage, the server's disk space usage, the server's table space usage, the server's connection usage, and the server's heartbeat index. Furthermore, a server's monitoring index threshold may be provided or set, and by comparing the monitored server's monitoring index value with the corresponding monitoring index threshold, the user can more effectively evaluate the server's operating status, as will be described in detail later.

[0103] Cluster basic information may refer to information associated with a single cluster itself, such as at least one of the cluster name, cluster number, cluster network address (e.g., IP address, URL address, etc.), cluster type, and cluster manager information (e.g., the department to which the cluster belongs, the cluster management department, cluster management personnel, etc.). Generally speaking, the corresponding cluster can be uniquely identified based on the cluster name, number or network address. It should be noted that when a cluster contains multiple servers, these servers may be placed in different places, that is, they may have different physical addresses, so the cluster may not be located at a specific physical location, but distributed in a wide spatial range.

[0104] In an exemplary embodiment of the present disclosure, the calling relationship can be configured in clusters during the operation of the system. This type of cluster that can directly call other clusters or be directly called by other clusters can also be called a communication cluster. That is to say, if a server needs to be called to perform a corresponding operation, the cluster to which the server belongs can actually be called (for example, through the name, number or network address of the cluster, etc.), and the specific server to perform the operation can be decided within the cluster. In other words, the caller outside the cluster directly "manipulates" or "sees" the cluster, not the specific server, and the specific server is determined within the cluster and is "invisible" to the outside. Communication clusters can be organized in a variety of ways, which are not limited here. In a specific example, multiple servers with the same function can be set in the same communication cluster, for example, several servers under a load balancing can be included in the same communication cluster. It is understandable that if one or several servers in a communication cluster fail (for example, due to a power outage in the computer room where the one or more servers are located), then the failed server can be replaced by a server located at another physical address in the same communication cluster to complete the corresponding operation, thereby ensuring the reliability of the system operation.

[0105] In addition, a cluster may contain or be nested with one or more other clusters. This type of cluster with other clusters nested inside it can also be called a parent cluster. It should be noted that since other clusters are nested inside a parent cluster, it generally cannot directly call other clusters or be directly called by other clusters, because this may lead to unclear or confusing calling relationships. In other words, a cluster that can directly call other clusters or be directly called by other clusters cannot have other clusters nested inside it. The settings of various clusters and their relationships help to further clarify the relationships between multiple servers included in the system, and help users maintain the system more clearly and conveniently by reflecting these relationships in the subsequently generated topology diagram.

[0106] Accordingly, in some embodiments, the cluster relationship information in the configuration information used to represent the relationship between clusters may include at least one of cluster calling information and cluster nesting information, wherein the cluster calling information can be used to indicate the calling relationship between clusters, and the cluster nesting information can be used to indicate the nesting relationship between clusters, so as to subsequently generate a corresponding topology map based on the cluster relationship information.

[0107] In some embodiments, the subsystem basic information may include at least one of the name of the subsystem, the number of the subsystem, the network address of the subsystem (e.g., IP address, URL address, etc.), the type of the subsystem, and the manager information of the subsystem (e.g., the department to which the subsystem belongs, the management department of the subsystem, the management personnel of the subsystem, etc.). Generally speaking, the corresponding subsystem can be uniquely determined according to the name, number or network address of the subsystem. Similarly, a subsystem may contain multiple clusters, and a cluster may contain multiple servers, which may be placed in different places, that is, may have different physical addresses, so the subsystem may not be located at a specific physical location, but distributed in a wide range of space. The type of subsystem can be divided or determined according to the specific functions to be implemented by the subsystem, and there is no limitation here. For example, in the aviation field, the corresponding system may include a sales subsystem for selling air tickets, a check-in subsystem for providing check-in services to customers, a scheduling subsystem for scheduling flights, etc., and these subsystems can be managed by corresponding parts or personnel respectively. Furthermore, as described above, there may be a communication relationship between different subsystems, and the subsystem relationship information may be used to indicate the communication relationship or interface protocol between a subsystem and other subsystems located upstream or downstream of the subsystem, or to indicate the network address of other subsystems located upstream or downstream of the subsystem, etc., so as to generate a corresponding topology map based on the subsystem relationship information, so that the user can clearly and intuitively see the relationship between multiple subsystems in the topology map, thereby helping the user to judge the possible impact of the operating status of a subsystem on other subsystems.

[0108] In some embodiments, as described above, the graphical user interface may include one or more pages, and the user may directly select or fill in the configuration information in the corresponding page to generate a topology diagram of the system. The layout of each configuration information to be entered in one or more pages may be set as needed, without limitation here. For example, in a graphical user interface, the configuration information may be represented by one or more lists, and the user may select the desired configuration information through components such as radio buttons and check boxes, or may directly enter the configuration information in components such as input boxes of the graphical user interface, without limitation here.

[0109] In a specific example, the user can enter the name of the subsystem to be configured and the administrator information of the subsystem on the first page. After completing the entry, the user can click the "Save" button on the page to save the filled configuration information and enter the second page; on the second page, the user can enter the basic server information of the server to be configured, such as the name, number or network address of the server, and the monitoring indicators of the server. After completing the entry, the user can click the "Save" button on the page to save the filled configuration information and enter the third page; on the third page, the user can enter the cluster associated with the cluster to be configured. Group basic information and / or cluster relationship information, for example, you can edit the relevant cluster information in the list of queried and displayed clusters. After completing the entry, you can click the "Save" button on the page to save the filled configuration information and enter the fourth page; in the fourth page, the user can enter the subsystem relationship information to configure the communication relationship between the subsystem and other upstream and downstream subsystems (for example, the subsystem's interface address, protocol, port number, etc.). In addition, the user can also configure the cluster involved in the call relationship in the subsystem, and finally click the "Save" button on the page to save the filled configuration information.

[0110] In other embodiments, considering that in some cases, at least a part of the configuration information may have been stored in the pre-set configuration information database, and the user only needs to supplement some configuration information or make some modifications to the existing configuration information, in order to facilitate the user's configuration, obtaining the configuration information through the graphical user interface may include: obtaining a configuration request; searching for existing configuration information corresponding to the configuration request in the configuration information database; in the case of finding the existing configuration information, providing a graphical user interface preloaded with the existing configuration information for adding or modifying the configuration information; and in the case of not finding the existing configuration information, providing an initial graphical user interface for adding the configuration information. Among them, the configuration request may be from the user, and the configuration request may at least include relevant information for indicating the subsystem, cluster or server that the user wants to configure, for example, it may include the name, number or network address of the subsystem, cluster or server to be configured. In the configuration information database, the existing configuration information corresponding to the subsystem, cluster or server to be configured may be searched according to the name, number or network address of the subsystem, cluster or server to be configured, and the existing configuration information may be preloaded in the graphical user interface if there is existing configuration information, thereby greatly reducing the amount of configuration information that the user needs to enter, which helps to achieve fast and efficient configuration. Especially when there are only minor changes to the system, subsystem, cluster or server, users can quickly provide modified configuration information to generate a modified topology map, which greatly facilitates users to update the topology map in a timely manner according to system changes and ensures the effectiveness of maintaining the system according to the topology map.

[0111] In a specific example, a user can issue a configuration request through a relevant button on a graphical user interface. According to the configuration request from the user, a search can be conducted in a configuration information database to determine whether there is corresponding existing configuration information, and the existing configuration information found can be loaded into one or more corresponding pages included in the graphical user interface. The user can modify the configuration information on the page, or add a subsystem, cluster, or server, etc. through the relevant buttons on the page, and enter the corresponding configuration information to achieve efficient configuration of the system.

[0112] In addition, in order to facilitate subsequent operations such as modifying the configuration information and the topology map, in some embodiments, obtaining the configuration information through the graphical user interface may also include: storing or encrypting the newly added or modified configuration information in the configuration information database. Here, the configuration information may be encrypted in a variety of ways, which are not limited here. In addition, the security of the configuration information may also be ensured by setting the configuration information database locally, etc., which is not limited here.

[0113] In some embodiments, according to different types of servers, a set of monitoring indicators of corresponding servers can be provided respectively, so that users can select the monitoring indicators of servers that actually need to be monitored in such a set, for example, the set of monitoring indicators of servers can include all monitoring indicators that can be monitored for this type of server. Specifically, obtaining configuration information through a graphical user interface may include: obtaining a configuration request; determining a set of monitoring indicators of the server according to the type of server; and providing a graphical user interface containing the above set of monitoring indicators for selecting the monitoring indicators to be monitored for the server. Among them, the configuration request may at least indicate the type of server to be configured, so as to determine what set of monitoring indicators to provide according to the type of server. For example, a server can be configured with multiple ports, and a configuration table can configure configurable monitoring indicators of different types of servers. For example, the set of monitoring indicators of an application server (such as a server based on a Windows operating system) may include the server's memory usage, virtual machine memory usage, and disk space usage. The set of monitoring indicators of a database server (such as a server based on an Oracle operating system) may include table space usage, connection number usage, and heartbeat indicators. The set of monitoring indicators of a load balancing server may be an empty set, that is, no monitoring indicators are monitored for this type of server. In some embodiments, a set of monitoring indicators of the server can be determined immediately after obtaining a configuration request, and the determined set of monitoring indicators can be displayed in the configuration page of the server, so that the user can select the monitoring indicators of the server that he is interested in by checking, etc., so as to monitor these monitoring indicators. In addition, in some embodiments, the user can also enter the indicator threshold of the monitoring indicator of interest that he checked in the configuration page of the server or other configuration pages, so as to compare with the value of the detected monitoring indicator, so as to determine the operating status of the server.

[0114] In some embodiments, especially when there is existing configuration information, in order to facilitate the user to modify or add the configuration information, an initial topology map can also be drawn based on the existing configuration information, so that the user can more intuitively understand the relevant situation of the current system. Specifically, obtaining configuration information through a graphical user interface can also include: generating initial drawing data with a preset format according to the existing configuration information when the existing configuration information is found; and generating and displaying the initial topology map of the system according to the initial drawing data. Here, the method of generating the initial topology map can be similar to the method of generating the topology map of the configured system, which will be explained in detail below. In a specific example, the graphical user interface can be divided into two parts, such as left and right parts or upper and lower parts, and the configuration information can be displayed in one part of the graphical user interface, and the topology map corresponding to the current configuration information can be displayed in another part, so that the user can intuitively see the display effect of the topology map corresponding to the current configuration information.

[0115] return Figure 1 In an exemplary embodiment of the present disclosure, the method for configuring a topology map of a system may further include:

[0116] Step S120: generating drawing data in a preset format according to the configuration information.

[0117] It is understandable that the configuration information directly obtained through the graphical user interface may be in natural language form or in some other format. In order to facilitate drawing the topology map, it is necessary to convert it into drawing data in a preset format. For example, the format of drawing data into which the configuration information is converted can be determined according to the specific requirements of the application, plug-in or software used to draw the topology map. In a specific example, the preset format may include JSON format.

[0118] In some embodiments, especially in the configuration information in the form of natural language, some characters that cannot be automatically recognized by the corresponding application, plug-in or software may be included, and for this reason, some preprocessing of the configuration information is required. Specifically, generating drawing data with a preset format according to the configuration information may include: determining whether the configuration information contains preset characters; if the configuration information contains preset characters, filtering the preset characters, and generating drawing data with a preset format according to the filtered configuration information; and if the configuration information does not contain preset characters, directly generating drawing data with a preset format according to the configuration information.

[0119] For example, when some users enter configuration information in a graphical user interface, they may enter annotation information in brackets to the corresponding position, and these brackets and the content therein may interfere with subsequent data conversion. In this regard, it is possible to check whether the configuration information contains brackets (i.e., preset characters); if so, the brackets and the content therein may be filtered out to generate drawing data with a preset format based on the remaining configuration information; if not, the drawing data with a preset format may be directly generated based on the configuration information to facilitate subsequent topology drawing.

[0120] In some embodiments, the drawing data may be generated in real time according to the configuration information. For example, whenever the user completes the entry and saving of a configuration information on the graphical user interface, the corresponding drawing data may be generated immediately, and as described later, the corresponding topology map may be generated immediately according to the generated drawing data, so that the generated topology map can reflect the latest system structure in real time, that is, achieve the effect of what you see is what you get, and facilitate the user to configure. Alternatively, in other embodiments, in order to save configuration or computing resources, the corresponding drawing data may be generated and the corresponding topology map may be drawn after the user completes the entry of all configuration information, which is not limited here.

[0121] return Figure 1 In an exemplary embodiment of the present disclosure, the method for configuring a topology map of a system may further include:

[0122] Step S130, generating and displaying a topology map of the system according to the drawing data.

[0123] Various applications, plug-ins or software for drawing can be used to generate a topology map based on the drawing data, and the generated topology map can be displayed on a display. For example, when the preset format of the drawing data is JSON format, the topology map of the system can be generated based on the drawing data using an open source Mermaid plug-in.

[0124] Furthermore, in some embodiments, the topology map of the system can be generated and displayed in real time based on the drawing data. As mentioned above, whenever the user completes the entry and saving of a configuration information on the graphical user interface, the corresponding drawing data can be generated immediately, and the corresponding topology map can be generated immediately based on the generated drawing data, thereby achieving a WYSIWYG effect and facilitating the user to perform configuration.

[0125] In some embodiments, the topology map of the system may be a vector map, which will not be distorted after being enlarged, so that the user can scale the topology map of the system as needed to view or monitor the overall or local status of the system.

[0126] Various methods can be used to indicate the various components of the system and the connections or communication relationships between them in the topology diagram, which are not limited here. In a specific embodiment, Figure 2 As shown, in the topology diagram of system 200, server 210 can be configured to be represented by a node icon. Further, the node icon can be rendered using different shapes, colors, fill patterns or display effects to reflect the server basic information and / or current status of the corresponding server, as will be described in detail later.

[0127] Furthermore, in the topology diagram of the system 200, one or more node icons corresponding to one or more servers 210 belonging to the same cluster 220 may be configured to be located in the same cluster area (eg, Figure 2 ), thereby indicating that these servers 210 are grouped into the same cluster 220. A cluster may include a parent cluster in which other clusters can be nested, such as Figure 2 The cluster 3 shown in may also include a communication cluster that can be directly called by other clusters or directly call other clusters, such as Figure 2 Similarly, different shapes, colors, fill patterns or display effects can be used to render the cluster area to reflect the relevant configuration information of the corresponding cluster. Figure 2 In the topology diagram of , the cluster nesting information in the cluster relationship information can be configured to be represented by the nested relationship between cluster areas, for example Figure 2 Cluster 3 in the example has cluster 1 and cluster 2 nested inside. In addition, the cluster call information in the cluster relationship information can be configured to be represented by lines between cluster regions, for example, lines with arrows, where the arrows can point from the caller to the callee, for example Figure 2 Cluster 1 calls cluster 4, and cluster 4 calls cluster 2.

[0128] exist Figure 2 In the topology diagram of the system 200 shown, one or more cluster areas corresponding to one or more clusters 220 belonging to the same subsystem 230 may be configured to be located in the same subsystem area (eg, Figure 2 200, thereby indicating that these clusters 220 belong to the same subsystem 230. Similarly, different shapes, colors, fill patterns, or display effects can be used to render subsystem areas to reflect the relevant configuration information of the corresponding subsystems. In addition, the subsystem relationship information can be configured to be represented by the lines between the subsystem areas. For example, in Figure 2 In the topology diagram of the system 200 shown, the subsystem 2 and its upstream subsystem 1 and downstream subsystem 3 can be connected by lines respectively to indicate that there is a communication relationship between the connected subsystems.

[0129] It can be understood that in some embodiments, the system may also include other components in addition to servers, clusters and subsystems. In the system topology diagram, corresponding node icons or areas can be provided to represent these components, and corresponding forms of connections can be provided to represent various relationships between components, which are not limited here.

[0130] Furthermore, in some embodiments, especially when the topology map can reflect the configuration information entered by the user in real time, in order to facilitate the user to perform configuration, the display effect of the node icon in the configuration state can be made different from the display effect of the node icon in the non-configuration state, so that the user can see at a glance which components in the system are being configured or edited, avoiding confusion. For example, the fill color of the node icon in the configuration state can be yellow, while the fill color of the node icon in the non-configuration state can be white, thereby providing the user with necessary prompts.

[0131] In some embodiments, the topology map of the system may include a structural topology map for indicating the system structure and a state topology map for indicating the operating state of the system. In other words, the structural topology map is configured to reflect the components such as servers, clusters and subsystems contained in the system and the connection or communication relationship between them; and the state topology map can not only reflect the above components and the connection or communication relationship between them, but also reflect the operating state of the components such as servers, clusters and subsystems contained in the system, thereby realizing the monitoring of the system. It is understandable that the method for configuring the topology map of the system described above mainly focuses on the method for drawing the structural topology map of the system, and the state topology map of the system can continue to be drawn on the basis of the structural topology map, as described in detail below. It is understandable that the relevant drawing data used to further draw the state topology map can also be in a preset format, such as JSON format, etc., and a Merimaid plug-in, etc., can be used to generate a corresponding state topology map according to the drawing data in a preset format.

[0132] In some embodiments of the present disclosure, Figure 3 As shown, the method for configuring a topology diagram of a system may further include:

[0133] Step S310, obtaining a monitoring request;

[0134] Step S320, obtaining configuration information associated with the monitoring request from a configuration information database, and generating and displaying a structural topology diagram of the system according to the configuration information;

[0135] Step S330, obtaining a monitoring indicator value of a corresponding server according to the monitoring request, or obtaining a monitoring indicator value and a monitoring indicator threshold of a corresponding server according to the monitoring request; and

[0136] Step S340: Rendering the structural topology diagram of the system according to the acquired monitoring indicator value or according to the acquired monitoring indicator value and the monitoring indicator threshold value, so as to generate and display the state topology diagram of the system.

[0137] Among them, the monitoring request may indicate relevant information of the subsystem, cluster or server to be configured, so as to obtain the configuration information associated with the monitoring request from the configuration information database. In step S320, the structural topology map of the system can be generated and displayed according to the configuration information with reference to the specific operations described above regarding step S120 and step S130, which will not be repeated here. It should be noted that in order to improve the user experience and avoid the system's state topology map from loading too long, step S330 does not necessarily have to be performed after step S320. For example, step S320 and step S330 may be performed simultaneously or substantially simultaneously, or even before step S320, that is, at the same time or substantially simultaneously when obtaining the configuration information and drawing the structural topology map, or even before obtaining the configuration information and drawing the structural topology map, the monitoring index value of the corresponding server is obtained according to the monitoring request, or the monitoring index value and the monitoring index threshold of the corresponding server are obtained according to the monitoring request. Specifically, in the process of executing step S330, an instruction can be issued to the sensor for detecting the corresponding monitoring index of the server to instruct it to detect and return the corresponding monitoring index value, or an instruction can be issued to the memory or database for storing the corresponding monitoring index of the server to obtain the corresponding monitoring index value of the server. In addition, an instruction can also be issued to the corresponding memory or database to obtain the monitoring index threshold of the server corresponding to the monitoring request. After obtaining the monitoring index value, the structural topology diagram of the system can be rendered according to the acquired monitoring index value, or the structural topology diagram of the system can be rendered according to the acquired monitoring index value and the monitoring index threshold, so as to generate and display the state topology diagram of the system. In addition, if necessary, the relevant operating status information of the server, cluster or subsystem contained in the system can also be displayed in a list or other manner, which is not limited here. In addition, in some embodiments, if a certain monitoring index value or monitoring index threshold is not successfully obtained, it can be marked to be displayed in a graphical manner or in a list or other manner in the topology diagram to prompt the user.

[0138] For example, when monitoring the memory usage of the server, the structural topology diagram of the system can be generated and displayed based on step S310 and step S320, and the memory usage value of each server included in the system can be obtained based on step S330, and the structural topology diagram of the system can be rendered according to the obtained memory usage value to generate and display the status topology diagram of the system. Alternatively, the memory usage threshold of each server included in the system can be obtained, and the structural topology diagram of the system can be rendered according to the obtained memory usage value and the memory usage threshold to generate and display the status topology diagram of the system. Figure 4 In the state topology diagram of the system shown in FIG. 1 , the node icons used to represent the server 210 may be rendered with different fill patterns to represent different health states of the server. Figure 4 As shown in the figure, white filling indicates that the server's memory usage value is less than 50% (Server 2, Server 3 and Server 4), and its current operating status is healthy; sparser diagonal filling indicates that the server's memory usage value is between 50% and 80% (Server 6), and its current operating status is average; and denser diagonal filling indicates that the server's memory usage value is greater than 80% (Server 1 and Server 5), and its current operating status is unhealthy. It can be seen that users can understand the operating status of each server in the system at a glance based on the system status topology diagram, and can take corresponding measures to improve the operation of the system.

[0139] Further, in some embodiments, in order to facilitate the subsequent tracing back or calling of the monitoring indicator values ​​and / or monitoring indicator thresholds of the server, the method for configuring the topology map of the system may also include: storing or encrypting the acquired monitoring indicator values ​​in a configuration information database. Here, the monitoring indicator values ​​and / or monitoring indicator thresholds of the server may be encrypted in a variety of ways, which are not limited here. In addition, the security of the monitoring indicator values ​​and / or monitoring indicator thresholds of the server may be ensured by setting the configuration information database locally, etc., which is not limited here.

[0140] In some embodiments, the user may need to have an overview of the distribution of components that meet certain conditions in the topology diagram of the system. In this case, Figure 5 As shown, the method for configuring a topology diagram of a system may further include:

[0141] Step S510, obtaining an object search request;

[0142] Step S520, traversing the topology map of the system to determine a portion of the topology map of the system that meets the object search request; and

[0143] Step S530: Render the portion to indicate an object corresponding to the object search request.

[0144] In a specific example, a user may issue an object search request to search for all servers located in a certain computer room. To this end, the topology map of the system (e.g., a structural topology map) may be traversed according to the object search request to determine the servers located in the computer room, and node icons representing these servers may be rendered to indicate the servers corresponding to the object search request in the topology map, for example Figure 6 Server 1, Server 3 and Server 6 are marked in FIG.

[0145] In another specific example, a user may issue an object search request to search for all servers in each cluster that are located in the same computer room. To this end, each cluster area in a topology map (e.g., a structure topology map or a state topology map) of the system may be traversed according to the object search request, and for each cluster area, node icons corresponding to servers located in the same computer room may be rendered to indicate the server corresponding to the object search request in the topology map.

[0146] It is understandable that the user may also issue other types of object search requests, which are not limited here.

[0147] In some embodiments, the user may need to draw additional topology diagrams for components in the system that meet specific conditions based on other principles, so as to clearly understand information related to these components. In this case, Figure 7 As shown, the method for configuring a topology diagram of a system may further include:

[0148] Step S710, obtaining an object search request;

[0149] Step S720, acquiring configuration information associated with the object indicated by the object search request from a configuration information database; and

[0150] Step S730: Generate and display a topology map of the object according to the configuration information.

[0151] For example, a user can draw a topology map based on the physical address of the server instead of the network address. Specifically, all servers located in the same computer room can be drawn in the same area of ​​the topology map instead of drawing all servers in the same cluster in the same area of ​​the topology map as described above. In this regard, the user can issue a corresponding object search request to obtain the configuration information related to the computer room, and draw a topology map of the object based on the configuration information related to the computer room. It should be noted that the topology map here can be only a structural topology map containing the structural information of the system, or it can also be a state topology map containing the operating status of the components in the system.

[0152] It is understandable that the user may also draw a topology map based on other principles, which are not limited here.

[0153] In the exemplary embodiments of the present disclosure, in order to simplify the topology diagram of the system, the server, cluster or subsystem in the system may be represented in the form of node icons or area boxes, so that some of their specific information is not directly displayed in the topology diagram. However, in some cases, the user may want to know the specific information of a component in the system. In this regard, additional methods can be used to display this specific information. Specifically, in some embodiments, such as Figure 8 As shown, the method for configuring a topology map of a system may further include: step S810, obtaining an information display request, wherein the information display request may at least indicate an object whose information is to be displayed; step S820, obtaining configuration information associated with the object from a configuration information database or a topology map; and step S830, displaying the configuration information in the form of a details page or list superimposed on the topology map. For example, Fig. 9 FIG. 2 shows a details page 211 of server 1 superimposed on the topology map.

[0154] According to another aspect of the present disclosure, Fig.10 As shown, a device 1000 for configuring a topology map of a system is also provided, which can implement the method for configuring a topology map of a system as described above. In an exemplary embodiment of the present disclosure, the device 1000 may include an information acquisition unit 1001, a data conversion unit 1002, a drawing unit 1003 and a display unit 1004. Among them, the information acquisition unit 1001 can be configured to obtain configuration information through a graphical user interface. The data conversion unit 1002 can be configured to generate drawing data with a preset format according to the configuration information. The drawing unit 1003 can be configured to generate a topology map of the system according to the drawing data. The display unit 1004 can be configured to display the topology map of the system. The specific operations of various units in the device can refer to the detailed description of the method for configuring a topology map of a system above, and will not be repeated here.

[0155] According to another aspect of the present disclosure, Fig.11 As shown, a device 1100 for configuring a topology map of a system is also provided. The device 1100 may include a memory 1101 and a processor 1102. The memory 1101 may store instructions, and when the instructions are executed by the processor 1102, the operation of the method for configuring a topology map of a system as described above may be implemented.

[0156] Specifically, the processor 1102 can perform various actions and processes according to the instructions stored in the memory 1101. The processor 1102 can be an integrated circuit chip with signal processing capabilities. The above processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The various methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc., which can be an X86 architecture or an ARM architecture, etc.

[0157] The memory 1101 stores executable instructions that implement the method for configuring the topology diagram of the system described above when executed by the processor 1102. The memory 1101 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous connection dynamic random access memory (SLDRAM), and direct memory bus random access memory (DR RAM). It should be noted that the memory of the method described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0158] The present disclosure also proposes a non-transitory computer-readable storage medium having instructions stored thereon. When the instructions are executed by a processor, the operations of the method for configuring a topology map of a system as described above can be implemented.

[0159] Similarly, non-transitory computer-readable storage media in embodiments of the present disclosure are intended to include, but are not limited to, the above and any other suitable types of memory.

[0160] The present disclosure also proposes a computer program product, which may include instructions. When the instructions are executed by a processor, the operations of the method for configuring a topology map of a system as described above can be implemented.

[0161] Instructions may be any set of instructions to be executed directly by one or more processors, such as machine code, or any set of instructions to be executed indirectly, such as a script. The terms "instructions," "applications," "processes," "steps," and "programs" herein may be used interchangeably herein. Instructions may be stored in an object code format for direct processing by one or more processors, or in any other computer language, including scripts or collections of independent source code modules that are interpreted on demand or compiled in advance. Instructions may include instructions that cause one or more processors, such as to act as various neural networks that may exist. The functions, methods, and routines of instructions are explained in more detail elsewhere herein.

[0162] In the technical solution of the present disclosure, a general method for automatically drawing a topology map of a system according to configuration information is provided, which can save a lot of workload compared to manual drawing. In addition, in some embodiments, a corresponding topology map can be generated in real time and dynamically according to the modified configuration information, so that users can update and maintain system-related data in a timely manner. With reference to the generated topology map, users can easily collect, organize and store relevant information of various components in the system, which helps to save the workload of writing relevant documents, and efficiently maintain and monitor the system. For example, it can help users to timely discover faults that have occurred in the system or faults that may occur, and help users determine the maintenance measures that need to be taken. Moreover, in some embodiments, a visual user interface and a topology map that is updated in real time can be provided to achieve a WYSIWYG effect, so that users can configure the topology map simply and intuitively. In addition, in some embodiments, the relevant components and their information in the topology map can be queried and displayed according to the needs of the user, so as to help improve the scientific nature of system deployment, for example, server information can be queried according to the location of the computer room, so as to intuitively display the disaster recovery and recovery capabilities of the system.

[0163] The words "left", "right", "front", "back", "top", "bottom", "up", "down", "high", "low", etc., in the specification and claims, if present, are used for descriptive purposes and are not necessarily used to describe an unchanging relative position. It should be understood that the words so used are interchangeable under appropriate circumstances, so that the embodiments of the present disclosure described herein, for example, can operate in other orientations than those shown or otherwise described herein. For example, when the device in the drawings is turned over, features originally described as "above" other features may now be described as "below" the other features. The device may also be oriented in other ways (rotated 90 degrees or in other orientations), and the relative spatial relationships will be interpreted accordingly.

[0164] In the specification and claims, when an element is referred to as being "on", "attached", "connected", "coupled", or "contacting" another element, the element may be directly on, directly attached, directly connected, directly coupled, or directly contacting another element, or one or more intermediate elements may be present. In contrast, when an element is referred to as being "directly" "on", "directly attached", "directly connected", "directly coupled", or "directly contacting" another element, there will be no intermediate elements. In the specification and claims, a feature being arranged "adjacent" to another feature may refer to a feature having a portion that overlaps with an adjacent feature or a portion that is located above or below an adjacent feature.

[0165] As used herein, the word "exemplary" means "serving as an example, instance, or illustration" rather than as a "model" to be exactly copied. Any implementation described as an example herein is not necessarily to be construed as preferred or advantageous over other implementations. Furthermore, the present disclosure is not to be limited by any expressed or implied theory given in the technical field, background, summary, or detailed description.

[0166] As used herein, the term "substantially" is intended to include any minor variations due to design or manufacturing imperfections, device or component tolerances, environmental influences, and / or other factors. The term "substantially" also allows for deviations from a perfect or ideal situation due to parasitic effects, noise, and other practical considerations that may exist in actual implementations.

[0167] In addition, the terms "first", "second" and the like may also be used herein for reference purposes only and are not intended to be limiting. For example, the terms "first", "second" and other such numerical terms referring to structures or elements do not imply a sequence or order unless the context clearly indicates otherwise.

[0168] It should also be understood that when the term “include / comprises” is used in this document, it indicates the presence of the specified features, integers, steps, operations, units and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, units and / or components and / or their combinations.

[0169] In this disclosure, the term "provide" is used in a broad sense to cover all ways of obtaining an object, and thus "providing an object" includes but is not limited to "purchasing", "preparing / manufacturing", "arranging / setting up", "installing / assembling", and / or "ordering" an object, etc.

[0170] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items. The terms used herein are for the purpose of describing specific embodiments only and are not intended to limit the present disclosure. As used herein, the singular forms "a", "an", and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise.

[0171] Those skilled in the art will appreciate that the boundaries between the above operations are merely illustrative. Multiple operations can be combined into a single operation, a single operation can be distributed in additional operations, and operations can be performed at least partially overlapping in time. Moreover, alternative embodiments may include multiple instances of a specific operation, and the order of operations may be changed in various other embodiments. However, other modifications, variations, and replacements are equally possible. Aspects and elements of all embodiments disclosed above may be combined in any manner and / or in combination with aspects or elements of other embodiments to provide multiple additional embodiments. Therefore, this specification and accompanying drawings should be considered illustrative, not restrictive.

[0172] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. The various embodiments disclosed herein may be combined in any manner without departing from the spirit and scope of the present disclosure. It should also be understood by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims

1. A method for configuring a topology diagram of a system, characterized in that: The method comprises: Obtaining configuration information through a graphical user interface, wherein the system includes one or more subsystems, the subsystem includes one or more clusters, the cluster includes one or more servers, and the configuration information includes at least one of the following: server basic information associated with the server, cluster basic information associated with the cluster, subsystem basic information associated with the subsystem, server subordinate information indicating a subordinate relationship between the server and the cluster, cluster relationship information indicating a relationship between the clusters, and subsystem relationship information indicating a relationship between the subsystems; generating drawing data having a preset format according to the configuration information; and A topological map of the system is generated and displayed based on the drawing data.

2. The method according to claim 1, characterized in that The server basic information includes at least one of the following: the name of the server, the number of the server, the network address of the server, the type of the server, the physical address of the server, the monitoring indicators of the server, the monitoring indicator threshold of the server and the administrator information of the server, wherein the type of the server includes at least one of a database server, an application server, a load balancing server and a cache server, and the monitoring indicators of the server include at least one of the memory usage of the server, the virtual machine memory usage of the server, the disk space usage of the server, the table space usage of the server, the connection number usage of the server and the heartbeat indicator of the server; or The cluster basic information includes at least one of the following: cluster name, cluster number, cluster network address, cluster type and cluster manager information; or The subsystem basic information includes at least one of the following: the name of the subsystem, the number of the subsystem, the network address of the subsystem, the type of the subsystem, and the administrator information of the subsystem; or The cluster relationship information includes at least one of cluster calling information and cluster nesting information, wherein the cluster calling information is used to indicate the calling relationship between clusters, and the cluster nesting information is used to indicate the nesting relationship between clusters, and a cluster that can directly call other clusters or be directly called by other clusters cannot have other clusters nested inside it; or The subsystem relationship information is used to indicate the communication relationship or interface protocol between the subsystem and other subsystems located upstream or downstream of the subsystem, or to indicate the network addresses of other subsystems located upstream or downstream of the subsystem.

3. The method according to claim 1, characterized in that The topology of the system is a vector diagram; or In the system topology diagram: Servers are configured as represented by node icons. One or more node icons corresponding to one or more servers belonging to the same cluster are configured to be located in the same cluster area. One or more cluster areas corresponding to one or more clusters belonging to the same subsystem are configured to be located in the same subsystem area, The cluster call information in the cluster relationship information is configured to be represented by lines between cluster areas, The cluster nesting information in the cluster relationship information is configured to be represented by nesting between cluster areas, The subsystem relationship information is configured to be represented by lines between subsystem areas, or The display effect of the node icon in the configuration state is different from the display effect of the node icon in the non-configuration state.

4. The method according to claim 1, characterized in that Obtaining configuration information through the graphical user interface includes: Get configuration request; Searching for existing configuration information corresponding to the configuration request in a configuration information database; When existing configuration information is found, a graphical user interface preloaded with the existing configuration information is provided for adding or modifying the configuration information; If no existing configuration information is found, an initial graphical user interface is provided for adding new configuration information.

5. The method according to claim 4, characterized in that The configuration request indicates at least the name, number or network address of the subsystem, cluster or server to be configured, Searching the configuration information database for existing configuration information corresponding to the configuration request includes: The existing configuration information corresponding to the subsystem, cluster or server to be configured is searched in the configuration information database according to the name, number or network address of the subsystem, cluster or server to be configured.

6. The method according to claim 4, characterized in that Accessing configuration information through the graphical user interface also includes: The newly added or modified configuration information is stored or encrypted in the configuration information database.

7. The method according to claim 4, characterized in that Accessing configuration information through the graphical user interface also includes: In the case where existing configuration information is found, generating initial drawing data having a preset format according to the existing configuration information; and An initial topology map of the system is generated and displayed according to the initial drawing data.

8. The method according to claim 1, characterized in that Obtaining configuration information through the graphical user interface includes: Obtaining a configuration request, wherein the configuration request at least indicates a type of server to be configured; Determining a set of monitoring indicators of the server according to the type of the server; and A graphical user interface including the set of monitoring indicators is provided for selecting the monitoring indicators to be monitored of the server.

9. The method according to claim 1, characterized in that: In the graphical user interface, the configuration information is configured to be represented by one or more lists.

10. The method according to claim 1, characterized in that Generating drawing data with a preset format according to the configuration information includes: Determining whether the configuration information contains a preset character; In the case where the configuration information includes preset characters, filtering the preset characters, and generating drawing data having a preset format according to the filtered configuration information; and In the case that the configuration information does not contain the preset characters, drawing data having the preset format is directly generated according to the configuration information.

11. The method according to claim 1, characterized in that: The drawing data is generated in real time according to the configuration information; or The topological map of the system is generated and displayed in real time based on the drawing data.

12. The method according to claim 1, characterized in that The preset format includes JSON format; or The topology map of the system is generated based on the drawing data using the Mermaid plug-in.

13. The method according to claim 1, characterized in that The system topology diagram includes a structural topology diagram for indicating the system structure and a state topology diagram for indicating the system operation status. The method further comprises: Get monitoring request; Acquire configuration information associated with the monitoring request from a configuration information database, and generate and display a structural topology diagram of the system according to the configuration information; Acquire a monitoring indicator value of a corresponding server according to the monitoring request, or acquire a monitoring indicator value and a monitoring indicator threshold of the corresponding server according to the monitoring request; and The structural topology diagram of the system is rendered according to the acquired monitoring indicator value or according to the acquired monitoring indicator value and the monitoring indicator threshold value to generate and display the state topology diagram of the system.

14. The method according to claim 13, characterized in that The operation of obtaining the configuration information corresponding to the monitoring request from the configuration information database and the operation of obtaining the monitoring indicator value of the corresponding server according to the monitoring request, or obtaining the monitoring indicator value and monitoring indicator threshold of the corresponding server according to the monitoring request are performed simultaneously.

15. The method according to claim 13, characterized in that The method further comprises: The acquired monitoring indicator value is stored or encrypted and stored in the configuration information database.

16. The method according to claim 1, characterized in that The method further comprises: Get object lookup request; Traversing the topology map of the system to determine a portion of the topology map of the system that meets the object search request; and The portion is rendered to indicate an object corresponding to the object search request.

17. The method according to claim 1, characterized in that The method further comprises: Get object lookup request; Acquire configuration information associated with the object indicated by the object search request from a configuration information database; and A topological map of the object is generated and displayed according to the configuration information.

18. The method according to claim 1, characterized in that The method further comprises: Obtaining an information display request, wherein the information display request at least indicates an object whose information is to be displayed; Acquire configuration information associated with the object from a configuration information database or a topology map; and The configuration information is displayed in the form of a details page or list superimposed on the topology map.

19. A device for configuring a topology map of a system, characterized in that: The device comprises: an information acquisition unit, the information acquisition unit being configured to acquire configuration information through a graphical user interface, wherein the system includes one or more subsystems, the subsystem includes one or more clusters, the cluster includes one or more servers, and the configuration information includes at least one of the following: server basic information associated with the server, cluster basic information associated with the cluster, subsystem basic information associated with the subsystem, server subordinate information indicating a subordinate relationship between the server and the cluster, cluster relationship information indicating a relationship between the clusters, and subsystem relationship information indicating a relationship between the subsystems; a data conversion unit, wherein the data conversion unit is configured to generate drawing data having a preset format according to the configuration information; a drawing unit configured to generate a topology map of the system according to the drawing data; and A display unit is configured to display a topology diagram of the system.

20. A device for configuring a topology map of a system, characterized in that: The device includes a memory and a processor, wherein instructions are stored in the memory, and when the instructions are executed by the processor, operations of the method for configuring a topology map of a system according to any one of claims 1 to 18 are implemented.

21. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium has instructions stored thereon, and when the instructions are executed by a processor, the operations of the method for configuring a topology map of a system according to any one of claims 1 to 18 are implemented.

22. A computer program product, characterized in that The computer program product comprises instructions which, when executed by a processor, implement the operations of the method for configuring a topology map of a system according to any one of claims 1 to 18.

Citation Information

Patent Citations

  • Flow generator virtualization realization system and flow generator virtualization realization method based on SDN

    CN105915407A

  • Data display method and system based on service topology

    CN108234168A

  • Business system topology diagram display method of IT operation and maintenance system

    CN109189650A

  • An index monitoring method and system

    CN109254901A

  • A method and equipment for generating a network topological graph

    CN109936474A