Cloud system topology generation method based on window anchor points

By generating anchor points and building connections at the edge of the window of the cloud system, the problem that existing technology is difficult to clearly display the topological relationship of cloud system is solved, and the topological relationship of cloud system components is clearly demonstrated, which improves the troubleshooting efficiency.

CN119583352APending Publication Date: 2025-03-07BEIJING CHINA POWER INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411461235.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

The existing cloud system topology diagram generation method is difficult to clearly show the topological relationship between components of the same layer and between layers in the cloud system, resulting in difficulties encountered by cloud operation and maintenance personnel in troubleshooting.

Method used

Using a window anchor point-based method, by generating anchor points at the window edge of each layer component and corresponding anchor points at the window edge of adjacent layer components, the connection between components and anchor points is constructed to clearly show the topological relationship between components of different layer components.

Benefits of technology

It realizes a clear display of the topological relationship between the same layer components in the cloud system and the topological relationship between layers and layer components, and improves the efficiency of cloud operation and maintenance personnel in troubleshooting according to the hierarchical dimension.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119583352A_ABST
    Figure CN119583352A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a cloud system topology generation method based on window anchor points, and the method comprises the steps: enabling a plurality of windows to respectively correspond to all layers of components of a cloud system, and for each layer of components, displaying the layer of components and the topological relation thereof in the corresponding window; generating a first anchor point corresponding to a first component at the edge of a first window corresponding to the layer component if one layer component has the first component associated with the adjacent layer component; generating a corresponding second anchor point on the edge of a second window corresponding to the adjacent layer component for a second component having an association relationship with the first component; and constructing a connecting line among the first component, the first anchor point, the second anchor point and the second component to generate a topological relation between the first component and the second component. According to the embodiment of the invention, the topological relation between the components in the same layer can be clearly displayed, and the component topological relation between layers can also be clearly displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the computer field, and in particular to a cloud system topology generation method based on window anchor points, a computer device, and a computer-readable storage medium. Background Art

[0002] At present, cloud technology is developing rapidly. Whether it is public cloud, private cloud or hybrid cloud, the functional subdivision of cloud components at the IaaS layer, PaaS layer and SaaS layer that constitute the cloud architecture is becoming more and more complex, which brings great challenges to the operation and maintenance management of cloud systems. In order to solve the challenges brought by the operation and maintenance of cloud systems with complex relationships between cloud components, cloud platform manufacturers and many third-party monitoring system manufacturers have launched cloud platform monitoring systems with cloud system topology management. The cloud system topology diagrams of these monitoring systems can show the dependency (association) between cloud components in the cloud system to a certain extent, which brings convenience to cloud system operation and maintenance personnel in troubleshooting cloud components.

[0003] However, the current solutions mainly include two ways to generate cloud system topology maps: one is to interconnect multiple flat layer maps in a single window, and the other is to express the topology in multiple independent windows. Among them, the method of interconnecting multiple flat layer maps in a single window, because the components of a complex multi-layer cloud system are displayed in a topology map, has the following disadvantages: First, because the components in the flat layer maps of each layer are displayed flatly, that is, the components of the same layer are displayed in a flat manner, resulting in unclear component display, and then the topological relationship between the components of the same layer is also unclear; and further, it will lead to unclear interconnection between flat components between layers; second, in order to ensure the interconnection between display layers, the number of displayed components is limited; third, due to the hierarchical interconnection mode of the graph, it is impossible to drill down the composition of the single-layer components that the user is interested in. The display mode of multiple independent topology windows can display the topological relationship of the dependencies of each layer of the cloud system within the scope of the layer, but it cannot achieve a clear display of the dependencies between components of the layers, which is not conducive to cloud operation and maintenance personnel to troubleshoot according to the hierarchical dimension. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a cloud system topology generation method, computer device and computer-readable storage medium based on window anchor points, which can clearly display the topological relationship between components of the same layer in the cloud system, and can also clearly display the topological relationship between components between layers, thereby making it more convenient for cloud operation and maintenance personnel to troubleshoot according to the hierarchical dimension.

[0005] One aspect of an embodiment of the present application provides a method for generating a cloud system topology of a window anchor point, including:

[0006] Multiple windows are used to correspond to the components of each layer of the cloud system, and for each layer of components, the layer components and their topological relationships are displayed in the corresponding window;

[0007] If one of the components in one layer has a first component that has an association relationship with the component in the adjacent layer, then:

[0008] Generate a first anchor point corresponding to the first component at an edge of the first window corresponding to the layer component;

[0009] At an edge of a second window corresponding to the adjacent layer component, for a second component associated with the first component, generating a corresponding second anchor point;

[0010] Connection lines are constructed between the first component and the first anchor point, between the first anchor point and the second anchor point, and between the second anchor point and the second component, so as to generate and display a topological relationship between the first component and the second component at different layers.

[0011] Preferably, generating a first anchor point corresponding to the first component at the edge of the first window corresponding to the layer component; generating a corresponding second anchor point for the second component associated with the first component at the edge of the second window corresponding to the adjacent layer component, specifically includes:

[0012] For the first window, a first anchor point is generated near the edge of the second window;

[0013] For the second window, a second anchor point is generated near the edge of the first window.

[0014] Preferably, the plurality of windows are arranged from top to bottom, corresponding to the components of each layer from high to low in the cloud system; and,

[0015] The first anchor point is located at the bottom edge of the first window;

[0016] The second anchor point is located at the top edge of the second window.

[0017] Preferably, the plurality of windows are arranged from left to right, corresponding to the components of each layer from high to low in the cloud system; and,

[0018] The first anchor point is located at the right edge of the first window;

[0019] The second anchor point is located at the left edge of the second window.

[0020] Preferably, each window is provided with a canvas; and,

[0021] The components displayed in the window are placed on a canvas set for the window.

[0022] Furthermore, the method further comprises:

[0023] When the canvas in the window is scaled or dragged up, down, left, or right, the components in the window are scaled or moved in the same proportion; and

[0024] According to the components displayed in the window, the anchor points corresponding to the edges of the window are updated.

[0025] One aspect of an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the above-mentioned window anchor-based cloud system topology generation method are implemented.

[0026] One aspect of an embodiment of the present application provides a computer-readable storage medium, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the above-mentioned window anchor-based cloud system topology generation method are implemented.

[0027] The embodiment of the present application provides a cloud system topology generation method, device and computer-readable storage medium based on window anchors, with multiple windows corresponding to each layer component of the cloud system, and for each layer component, the layer component and its topological relationship are displayed in its corresponding window; if one of the layer components has a first component that has an association relationship with the adjacent layer component, then at the edge of the first window corresponding to the layer component, a first anchor corresponding to the first component is generated; at the edge of the second window corresponding to the adjacent layer component, for the second component that has an association relationship with the first component, a corresponding second anchor is generated; and the connection lines between the first component and the first anchor point, between the first anchor point and the second anchor point, and between the second anchor point and the second component are constructed to generate and display the topological relationship between the first component and the second component of different layers. In this way, on the one hand, for each layer component, the layer component and its topological relationship are displayed in its corresponding window, which can clearly show the topological relationship between the components of the same layer in the cloud system, and on the other hand, through the corresponding relationship between the component and the window anchor point, and the connection lines between the component and the corresponding anchor point, and between the anchor point and the anchor point, the topological relationship between the components between the layers can be clearly displayed, so that it is more conducive to cloud operation and maintenance personnel to troubleshoot according to the hierarchical dimension. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A flowchart of a method for generating a cloud system topology based on a window anchor point according to an embodiment of the present application is schematically shown;

[0029] Figure 2a , 2b 2c schematically shows a schematic diagram of a window anchor point in an embodiment of the present application;

[0030] Figure 3 The hardware architecture diagram of a computer device suitable for the cloud system topology generation method based on window anchor points according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0032] It should be noted that the descriptions involving "first", "second", etc. in the embodiments of the present application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0033] In the description of the present application, it should be understood that the numerical labels before the steps do not indicate the order in which the steps are executed, but are only used to facilitate the description of the present application and to distinguish each step, and therefore should not be understood as a limitation on the present application.

[0034] A cloud component is a cloud management server system that constitutes a cloud SaaS layer, cloud PaaS layer, or cloud IaaS layer in a cloud system (public cloud, private cloud, or hybrid cloud), or a cloud system monitoring system, or virtualized resources in a cloud system, or a cloud infrastructure system including network devices, server devices, or storage devices, or an on-cloud application server system, or a subsystem or unit of the cloud management server system, the cloud system monitoring system, the virtualized resources, or the cloud infrastructure system. The cloud management server system is a cloud management-related system such as a console system for user cloud resource application management, a cloud service system for processing user cloud resource applications, and a virtualized resource control system for processing virtualized resource distribution.

[0035] Some types of cloud components are shown in Table 1 below:

[0036] Table 1

[0037]

[0038] The technical solution of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0039] Figure 1 A flowchart of a method for generating a cloud system topology based on a window anchor point according to an embodiment of the present application is schematically shown, comprising the following steps S101 to S103, wherein:

[0040] Step S101: multiple windows are used to correspond to the components of each layer of the cloud system, and for each layer of components, the layer components and their topological relationships are displayed in the corresponding window.

[0041] Specifically, in the display interface of the screen of an electronic device (such as a computer, a mobile phone, a tablet, etc.), multiple windows are displayed corresponding to the cloud components of each layer of the cloud system; in this article, the cloud components are referred to as components for short.

[0042] For each layer of components, the topological relationship of the components of the layer is generated according to the association relationship between the components of the layer; then, the components of the layer and the topological relationship of the components of the layer are displayed in the window corresponding to the components of the layer.

[0043] In a specific implementation, the multiple windows in the display interface are arranged from top to bottom, corresponding to the components of the cloud system from high to low layers.

[0044] In another specific implementation, the multiple windows in the display interface are arranged from left to right, corresponding to the components of the cloud system from high to low layers.

[0045] Step S102: For a component that has an association relationship with a component in an adjacent layer, an anchor point corresponding to the component is generated at the edge of the window where the component is located.

[0046] Specifically, if one layer of components (for the convenience of subsequent description, this layer of components will be referred to as the first component layer) has a component (for the convenience of subsequent description, this component will be referred to as the first component) that has an association relationship with an adjacent layer of components (for the convenience of subsequent description, this layer of components will be referred to as the second component layer), then a point corresponding to the first component is generated on the edge of the window corresponding to the layer of components (for the convenience of subsequent description, this window will be referred to as the first window); in this article, the point corresponding to the component on the edge of the window is referred to as the anchor point of the component; that is, an anchor point corresponding to the first component is generated on the edge of the first window (for the convenience of subsequent description, this anchor point is referred to as the first anchor point); and a corresponding anchor point is generated for the component that has an association relationship with the first component (for the convenience of subsequent description, this component will be referred to as the second component) on the edge of the window corresponding to the adjacent layer of components (for the convenience of subsequent description, this window will be referred to as the second window).

[0047] In a specific implementation, the multiple windows in the display interface are arranged from top to bottom, corresponding to the components of the cloud system from high to low levels; if the level of the first component layer is higher than the second component layer, the first window is arranged above the second window;

[0048] Preferably, the first anchor point is located at the bottom edge of the first window, and the second anchor point is located at the top edge of the second window;

[0049] A specific method for determining the position of the anchor point may be that the X coordinate (abscissa) of the first anchor point may be the same as the X coordinate of the first component, and the Y coordinate (ordinate) of the first anchor point may be the same as the Y coordinate of the bottom edge of the first window, such as Figure 2a As shown; the X coordinate of the second anchor point may also be the same as the X coordinate of the first anchor point, and the Y coordinate of the second anchor point may be the same as the Y coordinate of the top edge of the second window, such as Figure 2b shown.

[0050] Another specific method for determining the position of the anchor point may be: the distance from the first anchor point to the left vertex of the bottom edge of the first window is calculated based on the product obtained by dividing the width of the first window by the number of components currently presented in the first window and then multiplying by the sequence number of the first component; wherein the sequence number of the first component is the sequence number of the first component obtained by sorting the components presented in the first window in the order of left, right, top and bottom;

[0051] The distance from the second anchor point to the left vertex of the top edge of the second window is calculated based on the quotient of the width of the second window divided by the number of components currently presented in the second window, and then multiplied by the sequence number of the second component; wherein the sequence number of the second component is the sorting number of the second component obtained by sorting the components presented in the second window in the order of left, right, top and bottom (that is, each row of components is sorted from top to bottom, and components in the same row are sorted from left to right).

[0052] In another specific embodiment, multiple windows in the display interface are arranged from left to right, corresponding to the components of each layer from high to low in the cloud system; if the level of the first component layer is higher than that of the second component layer, then the first window is arranged on the left of the second window.

[0053] Preferably, the first anchor point is located at the right edge of the first window, and the second anchor point is located at the left edge of the second window;

[0054] A specific method for determining the anchor point position may be that the Y coordinate of the first anchor point may be the same as the Y coordinate of the first component, and the X coordinate of the first anchor point may be the same as the X coordinate of the right edge of the first window; the Y coordinate of the second anchor point may also be the same as the Y coordinate of the first anchor point, and the X coordinate of the second anchor point may be the same as the X coordinate of the left edge of the second window.

[0055] Another specific method for determining the position of the anchor point may be: the distance from the first anchor point to the vertex of the right edge of the first window is calculated by multiplying the quotient of the height of the first window by the number of components currently presented in the first window by the sequence number of the first component; wherein the sequence number of the first component is the sequence number of the first component obtained by sorting the components presented in the first window in the order of top, bottom, left and right (i.e., the components in each column are sorted from left to right, and the components in the same column are sorted from top to bottom);

[0056] The distance from the second anchor point to the vertex of the left edge of the second window is calculated based on the quotient of the height of the second window divided by the number of components currently presented in the second window, and then multiplied by the sequence number of the second component; wherein, the sequence number of the second component is the sorting number of the second component obtained by sorting the components presented in the second window in the order of up, down, left and right.

[0057] Step S103: constructing lines between components and anchor points, and generating topological relationships between components at different layers.

[0058] Specifically, the connection between the first component and the first anchor point, the connection between the first anchor point and the second anchor point, and the connection between the second anchor point and the second component are constructed, thereby generating a topological relationship between the first component and the second component at different layers in the cloud system topology diagram, such as Figure 2c As shown; that is, in the display interface, the topological relationship between the first component and the second component of different layers is displayed through the anchor points at the edge of the window and the lines between the anchor points.

[0059] In a more preferred embodiment, a canvas is set in each window, and the components displayed in the window are placed on the canvas set for the window; the canvas in the window can be enlarged or reduced.

[0060] When the canvas in the window is scaled or dragged up, down, left, or right, the components in the window are scaled or moved in the same proportion; and the anchor points corresponding to the edges of the window are updated according to the components displayed in the window.

[0061] Specifically, when the canvas is reduced, each component is also reduced, and more components can be displayed in the window, so that the component layer in the window can be viewed globally; because more components are displayed in the window, the position of the component in the window will also change accordingly, and the position of the anchor point corresponding to the component in the window will also change accordingly; therefore, it is necessary to update the position of the anchor point at the edge of the window, and update the connection between the anchor point after the change and the anchor point of other windows accordingly. Moreover, if a component with an association relationship with a component of an adjacent layer is added to the window, the anchor point of the component is added to the edge of the window, as well as the topological relationship between the component and the component of the adjacent layer.

[0062] When the canvas is enlarged, each component is also enlarged accordingly, and fewer components will be displayed in the window, so that the local part of the layer component can be viewed in more detail. As the number of components displayed in the window decreases, the position of the component in the window will also change accordingly, and the position of the anchor point corresponding to the component in the window will also change accordingly; therefore, it is necessary to update the position of the anchor point at the edge of the window, and update the connection between the anchor point after the change and the anchor point of other windows accordingly. Moreover, if some components that have an association relationship with adjacent layer components disappear in the window, the anchor point of the component and the topological relationship between the component and the adjacent layer components will not be displayed at the edge of the window.

[0063] In addition, if the canvas moves left, right, up, or down in the window, or if the canvas is scaled, some components will not be displayed in the window, which will cause the anchor points of the corresponding components to disappear. At this time, the line connecting the anchor points will disappear, but it will not affect the connection lines between the components in the adjacent windows that are associated with the disappeared components and the anchor points corresponding to the components.

[0064] In a cloud system topology generation method based on window anchors provided by an embodiment of the present application, multiple windows are used to correspond to each layer component of the cloud system, and for each layer component, the layer component and its topological relationship are displayed in its corresponding window; if one of the layer components has a first component that has an association relationship with the adjacent layer component, a first anchor corresponding to the first component is generated at the edge of the first window corresponding to the layer component; at the edge of the second window corresponding to the adjacent layer component, a corresponding second anchor is generated for the second component that has an association relationship with the first component; a connection line between the first component and the first anchor point, between the first anchor point and the second anchor point, and between the second anchor point and the second component is constructed to generate and display the topological relationship between the first component and the second component of different layers in the cloud system topology map. In this way, in the generated cloud system topology map, on the one hand, for each layer component, the layer component and its topological relationship are displayed in its corresponding window, which can clearly show the topological relationship between the components of the same layer in the cloud system; on the other hand, through the corresponding relationship between the component and the window anchor point, and the connection between the component and the corresponding anchor point, and the anchor point and the anchor point, the topological relationship between the components between the layers can be clearly displayed, so that it is more conducive to cloud operation and maintenance personnel to troubleshoot according to the hierarchical dimension.

[0065] In addition, a canvas is set in each window, and the components displayed in the window are placed on the canvas set for the window; the canvas in the window can be enlarged or reduced; when the canvas is reduced, the number of components displayed in this layer of the cloud system topology in the window can be expanded; when the canvas is enlarged, it is convenient to drill down the composition details of the components in this layer of the cloud system topology in the window; and, scaling and dragging the canvas of a window will not affect the display of the component topology in other layers of windows.

[0066] Figure 3 The schematic diagram of the hardware architecture of a computer device 1300 suitable for implementing the cloud system topology generation method based on window anchor points according to the third embodiment of the present application is shown schematically. In this embodiment, the computer device 1300 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions. For example, it can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a rack server, a blade server, a tower server or a cabinet server (including an independent server, or a server cluster composed of multiple servers), etc. Figure 3 As shown, the computer device 1300 includes at least but is not limited to: a memory 1310, a processor 1320, and a network interface 1330 which can communicate with each other via a system bus. Among them:

[0067] The memory 1310 includes at least one type of computer-readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 1310 may be an internal storage module of the computer device 1300, such as a hard disk or a memory of the computer device 1300. In other embodiments, the memory 1310 may also be an external storage device of the computer device 1300, such as a plug-in hard disk equipped on the computer device 1300, a smart memory card (Smart Media Card, referred to as SMC), a secure digital (Secure Digital, referred to as SD) card, a flash card, etc. Of course, the memory 1310 may also include both the internal storage module of the computer device 1300 and its external storage device. In this embodiment, the memory 1310 is generally used to store the operating system and various application software installed on the computer device 1300, such as the program code of the cloud system topology generation method based on the window anchor point, etc. In addition, the memory 1310 can also be used to temporarily store various data that have been output or will be output.

[0068] In some embodiments, the processor 1320 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. The processor 1320 is generally used to control the overall operation of the computer device 1300, such as performing control and processing related to data interaction or communication with the computer device 1300. In this embodiment, the processor 1320 is used to run the program code stored in the memory 1310 or process data.

[0069] The network interface 1330 may include a wireless network interface or a wired network interface, and the network interface 1330 is generally used to establish a communication link between the computer device 1300 and other computer devices. For example, the network interface 1330 is used to connect the computer device 1300 to an external terminal through a network, and to establish a data transmission channel and a communication link between the computer device 1300 and the external terminal. The network may be a wireless or wired network such as an intranet, the Internet, the Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi, etc.

[0070] It should be pointed out that Figure 3 Only a computer device having components 1310 - 1330 is shown, but it should be understood that implementing all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.

[0071] In this embodiment, the method for identifying transition drawing stored in the memory 1310 can also be divided into one or more program modules and executed by one or more processors (processor 1320 in this embodiment) to complete the embodiment of the present application.

[0072] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the cloud system topology generation method based on window anchor points in the above embodiment are implemented.

[0073] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the computer-readable storage medium can be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium can also be an external storage device of a computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (Smart Media Card, referred to as SMC), a secure digital (Secure Digital, referred to as SD) card, a flash card, etc. Of course, the computer-readable storage medium can also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the computer-readable storage medium is generally used to store an operating system and various application software installed on the computer device, such as the program code of the method for identifying transition drawing in the embodiment. In addition, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or are to be output.

[0074] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0075] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A cloud system topology generation method based on window anchor points, characterized in that: include: Multiple windows are used to correspond to the components of each layer of the cloud system, and for each layer of components, the layer components and their topological relationships are displayed in the corresponding window; If one of the components in one layer has a first component that has an association relationship with the component in the adjacent layer, then: Generate a first anchor point corresponding to the first component at an edge of the first window corresponding to the layer component; At an edge of a second window corresponding to the adjacent layer component, for a second component associated with the first component, generating a corresponding second anchor point; Connection lines are constructed between the first component and the first anchor point, between the first anchor point and the second anchor point, and between the second anchor point and the second component, so as to generate and display a topological relationship between the first component and the second component at different layers.

2. The method according to claim 1, characterized in that The step of generating a first anchor point corresponding to the first component at an edge of the first window corresponding to the component of the layer; and generating a corresponding second anchor point for a second component associated with the first component at an edge of the second window corresponding to the component of the adjacent layer, specifically includes: For the first window, a first anchor point is generated near the edge of the second window; For the second window, a second anchor point is generated near the edge of the first window.

3. The method according to claim 2, characterized in that The plurality of windows are arranged from top to bottom, corresponding to the components of each layer in the cloud system from high to low levels; and, The first anchor point is located at the bottom edge of the first window; The second anchor point is located at the top edge of the second window.

4. The method according to claim 3, characterized in that The distance from the first anchor point to the left vertex of the bottom edge of the first window is calculated by multiplying the quotient of the width of the first window by the number of components currently presented in the first window by the sequence number of the first component; wherein the sequence number of the first component is the sequence number of the first component obtained by sorting the components presented in the first window in the order of left, right, top and bottom; The distance from the second anchor point to the left vertex of the top edge of the second window is calculated based on the quotient of the width of the second window divided by the number of components currently presented in the second window, and then multiplied by the sequence number of the second component; wherein the sequence number of the second component is the sorting number of the second component obtained by sorting the components presented in the second window in the order of left, right, top and bottom.

5. The method according to claim 2, characterized in that: The multiple windows are arranged from left to right, corresponding to the components of each layer from high to low in the cloud system; and, The first anchor point is located at the right edge of the first window; The second anchor point is located at the left edge of the second window.

6. The method according to claim 5, characterized in that The distance from the first anchor point to the vertex of the right edge of the first window is calculated by multiplying the quotient of the height of the first window by the number of components currently presented in the first window by the sequence number of the first component; wherein the sequence number of the first component is the sequence number of the first component obtained by sorting the components presented in the first window in the order of top, bottom, left and right; The distance from the second anchor point to the vertex of the left edge of the second window is calculated based on the quotient of the height of the second window divided by the number of components currently presented in the second window, and then multiplied by the sequence number of the second component; wherein, the sequence number of the second component is the sorting number of the second component obtained by sorting the components presented in the second window in the order of up, down, left and right.

7. The method according to any one of claims 1 to 6, characterized in that: Each window has a canvas; and The components displayed in the window are placed on a canvas set for the window.

8. The method according to claim 7, characterized in that Also includes: When the canvas in the window is scaled or dragged up, down, left, or right, the components in the window are scaled or moved in the same proportion; and According to the components displayed in the window, the anchor points corresponding to the edges of the window are updated.

9. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it is used to implement the steps of the cloud system topology generation method based on window anchor points described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which can be executed by at least one processor so that the at least one processor executes the steps of the window anchor point-based cloud system topology generation method described in any one of claims 1 to 7.