Intelligent routing and alarm linkage method and device for disaster recovery system isometric topology diagram
Patent Information
- Application Number
- CN202611101728.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-23
- Publication Date
- 2026-10-13
AI Technical Summary
[0006]有鉴于此,本发明的目的在于提出灾备系统等轴测拓扑图的智能路由与告警联动方法及装置,以解决现有技术中连线端点不准确、平行链路重叠以及告警联动不直观的问题
针对性解决等轴测灾备拓扑场景下的专属技术难题,通过多策略智能端点确定方法,有效解决了图标贴图场景下的连线绘制错误、重叠问题,大幅提升拓扑图的显示准确性。
Smart Images

Figure CN122905631A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of disaster recovery system visualization and computer graphics technology, and in particular to an intelligent routing and alarm linkage method and device for isometric topology maps of disaster recovery systems. Background Technology
[0002] In existing disaster recovery monitoring systems, topology diagrams are typically used to display the relationships between data centers, asset nodes, and disaster recovery links. Isometric projection topology diagrams are widely used due to their three-dimensionality and spatial representation. However, traditional topology diagram drawing methods have the following core drawbacks when applied to isometric disaster recovery scenarios: First, under isometric projection, nodes are displayed using icon maps. Existing methods for determining the endpoints of connections fail to consider the spatial geometric characteristics of icon maps, which makes it easy for the starting point of the connection to enter or exit from the wrong side or visually overlap with the icon body, affecting display accuracy.
[0003] Second, there are a large number of parallel or nearly parallel data links in the disaster recovery system. The traditional straight-line drawing method causes multiple links to overlap and become unclear, making it difficult for operation and maintenance personnel to intuitively distinguish the relationship between different links.
[0004] Third, when the system alarms, the existing topology map lacks a linkage visualization mechanism between the alarm node and its associated links, which cannot intuitively show the scope of the fault impact, making it difficult for maintenance personnel to quickly locate the source of the fault.
[0005] Therefore, developing an isometric topology drawing technology that can intelligently handle edge routing, effectively separate parallel links, and support alarm linkage visualization is of great practical significance. Summary of the Invention
[0006] In view of this, the purpose of this invention is to propose an intelligent routing and alarm linkage method and device for isometric topology maps of disaster recovery systems, so as to solve the problems of inaccurate connection endpoints, overlapping parallel links, and unintuitive alarm linkage in the prior art.
[0007] To achieve the above objectives, this invention provides an intelligent routing and alarm linkage method for isometric topology maps of disaster recovery systems, comprising: Step 1: Determine the multi-strategy intelligent endpoints of the connection under isometric projection: Based on the logical coordinate difference between two nodes in the disaster recovery system, dynamically determine the logical main direction, and intelligently switch between the traditional chord direction endpoint strategy and the icon visual center plane fitting strategy to determine the connection endpoints and ensure that the endpoints accurately avoid the node icon body. Step 2: Quantize and group parallel edges and generate curved paths: Based on Step 1, quantize and group multiple parallel disaster recovery links in the same row, column, or with an angle less than a preset threshold. Assign an offset number to each link in the group, and after offsetting along a unified normal at the midpoint of the chord, use a quadratic Bézier curve to generate a path to achieve non-overlapping visual separation of multiple parallel links. Step 3: Visualize the disaster recovery link linkage when an alarm is triggered: Based on the link drawing completed in Step 2, when an alarm node is detected to be triggered, all disaster recovery links associated with the alarm node are automatically highlighted, and the visual salience of unassociated nodes and links is reduced. At the same time, a dynamic animation effect is displayed for associated links.
[0008] Optionally, step one further includes: supporting the adjustment of the fitting degree of the icon visual center face fitting strategy through external parameters.
[0009] Optionally, in step three, the animation effect supports two configurable animation variations: light spot flow and laser highlight segment; the method further includes: displaying key business indicators at the midpoint of the connection, and automatically changing the display color or style of the key business indicators in alarm status.
[0010] Optionally, step four, establishing a unified logical-screen coordinate transformation system, is also included: establishing and applying a unified coordinate transformation module to maintain consistency in coordinate transformation during node layout, link path calculation, and interactive highlight positioning, providing a unified coordinate reference for all steps.
[0011] Optionally, step five, performing canvas adaptive adaptation based on a unified coordinate system, is also included: according to the dynamic changes in the terminal screen resolution or canvas container size, the interface of the coordinate transformation module is called to dynamically adjust the scaling ratio and viewport range of the isometric projection to ensure that the topological visual effect is distortion-free under different display sizes.
[0012] Optionally, step six, is also included: implementing viewport linkage through a pluggable minimap: based on the unified logic-screen coordinate transformation system, a thumbnail minimap synchronized with the main canvas topology is generated; the minimap supports real-time viewport frame mapping, quick jump with click, and drag-and-drop adjustment of the main canvas viewport position; the minimap adopts a pluggable encapsulation design as an independent pluggable component.
[0013] Optionally, it also includes step seven: expanding the full-screen interactive function through a plug-in approach: supporting one-click switching to full-screen mode, automatically adapting to the full-screen display resolution based on the unified coordinate transformation system during the switching process, adjusting the topology scaling ratio and viewport range in real time to maintain the topology visual effect without distortion; the full-screen function is encapsulated as an independent plug-in.
[0014] This invention also provides an intelligent routing and alarm linkage system for isometric topology maps of disaster recovery systems, comprising: An edge routing processing module, wherein the edge routing processing module is used to execute steps one and two as described in claim 1; An interactive highlighting calculation module is used to identify the disaster recovery relationship and calculate the set of elements that need to be highlighted when an alarm node or user interaction is detected, and to perform highlighting and transparency decay rendering. A streaming animation rendering module is used to work in conjunction with the interactive highlighting calculation module to dynamically apply streaming animation effects to the target disaster recovery link. The coordinate transformation module provides a unified function for converting logical coordinates to screen coordinates, and provides a coordinate reference for other modules.
[0015] Optionally, it also includes a pluggable adaptive extension module, which is an independently pluggable module, specifically including: A canvas adaptive unit is used to monitor changes in the size of the canvas container and dynamically adjust the isometric projection parameters. A pluggable minimap unit, which is used to generate a thumbnail minimap that is linked to the main canvas and supports viewport interaction; A full-screen interaction unit is used to encapsulate the browser's full-screen API and provide full-screen mode switching and adaptive functions.
[0016] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described above, or implements the functions of the system described above.
[0017] The beneficial effects of this invention are: It specifically addresses the unique technical challenges in isometric disaster recovery topology scenarios. Through a multi-strategy intelligent endpoint determination method, it effectively solves the problems of line drawing errors and overlaps in icon mapping scenarios, significantly improving the display accuracy of topology maps.
[0018] By using parallel edge quantization grouping and curved path generation algorithms, clear visual separation of multiple parallel disaster recovery links is achieved, ensuring high readability of link relationships even in large-scale disaster recovery topology scenarios.
[0019] By combining node status judgment and streaming animation modules, intelligent linkage highlighting is achieved when an alarm occurs, which can help operation and maintenance personnel quickly locate the alarm link, narrow down the scope of fault investigation, and significantly improve the overall operation and maintenance efficiency of the disaster recovery system.
[0020] In a preferred embodiment of the present invention, a unified logic-screen coordinate transformation system is used to further realize canvas adaptation, plug-in minimap linkage, full-screen interaction and full-architecture plug-in extension, which can be flexibly integrated into disaster recovery monitoring platforms with different architectures, greatly improving the engineering compatibility and scenario adaptability of the solution. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only for this invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a flowchart of an intelligent routing and alarm linkage method for an isometric topology diagram of a disaster recovery system according to an embodiment of the present invention; Figure 2 This is a flowchart illustrating the determination of multi-strategy intelligent endpoints for connections under isometric projection in an embodiment of the present invention. Figure 3 This is a schematic diagram illustrating the effect of the parallel edge quantization grouping and curved path generation algorithm in an embodiment of the present invention; Figure 4 This is a schematic diagram illustrating the alarm linkage visualization effect in an embodiment of the present invention; Figure 5 This is a structural block diagram of the intelligent routing and alarm linkage system of the isometric topology map of the disaster recovery system according to an embodiment of the present invention. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to specific embodiments.
[0024] It should be noted that, unless otherwise defined, the technical or scientific terms used in this invention should have the ordinary meaning understood by one of ordinary skill in the art to which this invention pertains. The terms "first," "second," and similar terms used in this invention do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0025] As shown in Figure 1, a specific embodiment of the present invention provides an intelligent routing and alarm linkage method for isometric topology maps of disaster recovery systems, including the following steps: Step 1: Determine the multi-strategy smart endpoints of the connections under isometric projection, such as... Figure 2 As shown, it includes: First, obtain the logical coordinates of the two nodes in the disaster recovery system, calculate the coordinate difference, and determine the logical main direction.
[0026] Secondly, based on the node icon size and logical main direction, the system automatically and intelligently switches between a traditional chord-direction endpoint strategy and an icon visual center plane alignment strategy. The chord-direction endpoint strategy positions the connection endpoints directly at the positions corresponding to the node's logical coordinates. The icon visual center plane alignment strategy positions the connection endpoints at the edge of the node icon's visible surface, maintaining a preset distance from the icon body. Simultaneously, maintenance personnel can adjust the alignment degree via external parameters to ensure that the connection endpoints always fall on the edge of the icon's visible surface, accurately avoiding the icon body.
[0027] Step 2: Quantize and group the parallel edges and generate curved paths, including: Based on step one, all parallel links in the same row, column, or with an angle less than a preset threshold in the topology are quantized and grouped. A unique offset number is assigned to each link in each group. The offset of the uniform normal is calculated based on the number. After offsetting with the midpoint of the chord as the reference, a smooth path is generated by a quadratic Bézier curve to complete the separation and drawing of parallel links.
[0028] Step 3: Visualize the disaster recovery link linkage when an alarm is triggered, including: Based on the link drawing completed in step two, when an alarm node is detected and triggered, all disaster recovery links associated with the alarm node are automatically highlighted, while the visual salience of unassociated nodes and links is reduced. Simultaneously, a dynamic animation effect is displayed for associated links. The animation effect supports two configurable variations: light spot flow and laser highlighting, and the animation speed, color, and loop mode can be customized.
[0029] In addition, this method also includes: displaying key business indicators at the midpoint of the connection, and automatically changing the display color or style of the key business indicators in the alarm state.
[0030] Step 4: Establish a unified logical-screen coordinate transformation system, including: A unified coordinate transformation module is established and applied to maintain consistency in coordinate transformations throughout node layout, link path calculation, and interactive highlighting and positioning, providing a unified coordinate reference for all steps. This module incorporates a standard isometric projection transformation formula to ensure consistency in coordinate transformations across the entire process, including node layout, link path calculation, viewport adaptation, minimap linkage, interactive positioning, and background layered rendering.
[0031] Step 5: Canvas adaptive adaptation based on a unified coordinate system, including: Based on the dynamic changes in terminal screen resolution or canvas container size, the interface of the coordinate transformation module is invoked to dynamically adjust the scaling ratio and viewport range of the isometric projection, ensuring that the topological visual effect is distortion-free under different display sizes.
[0032] Step Six: Implement viewport linkage through a plug-in minimap, including: Based on the unified logic-screen coordinate transformation system, a thumbnail map synchronized with the main canvas topology is generated. This thumbnail supports real-time viewport mapping, quick navigation with clicks, and drag-and-drop adjustment of the main canvas viewport position. The thumbnail employs a pluggable encapsulation design, functioning as an independent, pluggable component that can be enabled or disabled with a single click via configuration file, without requiring modification of the core module code.
[0033] Step 7: Expand full-screen interactive functionality through a plug-in approach, including: It supports one-click switching to full-screen mode. During the switching process, it automatically adapts to the full-screen display resolution based on the unified coordinate transformation system, and adjusts the topology scaling ratio and viewport range in real time to maintain a distortion-free topology visual effect. The full-screen function is encapsulated as an independent plug-in, and its activation permissions and interaction logic can be configured separately to adapt to the operational needs of different operation and maintenance scenarios.
[0034] A specific embodiment of the present invention also provides an intelligent routing and alarm linkage system for isometric topology maps of disaster recovery systems, comprising: The edge routing processing module is used to execute steps one and two above.
[0035] The interactive highlighting calculation module is used to immediately identify the disaster recovery relationship to which the node or link belongs when an alarm node is detected or when a user hovers or clicks on the node and edge. Based on preset association rules, it calculates the set of elements that need to be highlighted, performs highlighting style rendering on the target elements, and at the same time performs transparency attenuation processing on non-target elements to enhance the visual prominence of the core association relationship.
[0036] The streaming animation rendering module is used to work in real time with the interactive highlighting calculation module. Based on the alarm status and user interaction results, it dynamically applies configurable streaming animation effects to the target disaster recovery link, supporting two animation variations: light spot flow and laser highlighting segment. The animation speed, color, and loop mode can also be customized. At the same time, the streaming animation rendering module is also used to make the animation effect linked with the element transparency status in real time. When the link is marked as unrelated, its streaming animation is automatically paused to reduce rendering performance consumption.
[0037] The coordinate transformation module provides basic support for all components, offering a unified function for converting logical coordinates to screen coordinates. It incorporates a standard isometric projection conversion formula to ensure consistency in coordinate transformation throughout the entire process, including node layout, link path calculation, viewport adaptation, minimap linkage, interactive positioning, and background layered rendering. All other modules call the unified interface of the coordinate transformation module to complete coordinate calculations, avoiding display deviations caused by multiple coordinate systems.
[0038] A pluggable adaptive extension module, wherein the pluggable adaptive extension module is an independently pluggable module, developed based on the unified interface of the coordinate transformation module, specifically including: The canvas adaptive unit is used to monitor the changes in canvas container size and terminal resolution in real time. When triggered, it calls the interface of the coordinate transformation module to dynamically adjust the scaling factor of the isometric projection and the viewport origin to ensure that the entire topology is always within the visible area of the canvas and that the relative positions and isometric angles of nodes and links are distorted.
[0039] A plug-in minimap unit is used to generate a thumbnail view of the main canvas topology based on the homologous transformation formula of the coordinate transformation module, draw a visible range box corresponding to the viewport of the main canvas in the minimap, and support users to click or drag the visible range box in the minimap to adjust the viewport origin of the main canvas in real time and achieve fast positioning.
[0040] The full-screen interaction unit encapsulates the browser's full-screen API, providing an entry point for one-click switching to full-screen mode. When switching, it calls the adaptive interface of the coordinate transformation module to automatically adapt to the resolution of the full-screen display, recalculate the scaling ratio and viewport range, and ensure that the topology content is not stretched or truncated. In full-screen mode, the core interactive capabilities and alarm linkage functions are retained.
[0041] Specific embodiments of the present invention also include a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements any step in the above method embodiments or implements the function of any module in the above system embodiments.
[0042] The technical solution of this invention can be flexibly integrated into existing disaster recovery monitoring platforms, is transparent to upper-layer business systems, and the core modules and extension modules can be combined as needed. It can either deploy only the core functions to achieve lightweight integration, or deploy all modules to achieve complete visualization capabilities, and has good engineering practical value and prospects for promotion and application.
[0043] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of the invention (including the claims) is limited to these examples; within the framework of the invention, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in the details for the sake of brevity.
[0044] This invention is intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for intelligent routing and alarm linkage of isometric topology maps in a disaster recovery system, characterized in that, include: Step 1: Determine the multi-strategy intelligent endpoints of the connection under isometric projection: Based on the logical coordinate difference between two nodes in the disaster recovery system, dynamically determine the logical main direction, and intelligently switch between the traditional chord direction endpoint strategy and the icon visual center plane fitting strategy to determine the connection endpoints and ensure that the endpoints accurately avoid the node icon body. Step 2: Quantize and group parallel edges and generate curved paths: Based on Step 1, quantize and group multiple parallel disaster recovery links in the same row, column, or with an angle less than a preset threshold. Assign an offset number to each link in the group, and after offsetting along a unified normal at the midpoint of the chord, use a quadratic Bézier curve to generate a path to achieve non-overlapping visual separation of multiple parallel links. Step 3: Visualize the disaster recovery link linkage when an alarm is triggered: Based on the link drawing completed in Step 2, when an alarm node is detected to be triggered, all disaster recovery links associated with the alarm node are automatically highlighted, and the visual salience of unassociated nodes and links is reduced. At the same time, a dynamic animation effect is displayed for associated links.
2. The method according to claim 1, characterized in that, Step one also includes: supporting the adjustment of the fitting degree of the icon visual center face fitting strategy through external parameters.
3. The method according to claim 1, characterized in that, In step three, the animation effect supports two configurable animation variations: light spot flow and laser highlight segment; the method also includes: displaying key business indicators at the midpoint of the connection, and automatically changing the display color or style of the key business indicators in alarm status.
4. The method according to claim 1, characterized in that, It also includes step four, establishing a unified logical-screen coordinate transformation system: establishing and applying a unified coordinate transformation module to maintain consistency in coordinate transformation in node layout, link path calculation, and interactive highlight positioning, providing a unified coordinate benchmark for all steps.
5. The method according to claim 4, characterized in that, It also includes step five, performing canvas adaptive adaptation based on a unified coordinate system: according to the dynamic changes in the terminal screen resolution or canvas container size, the interface of the coordinate transformation module is called to dynamically adjust the scaling ratio and viewport range of the isometric projection to ensure that the topological visual effect is distorted under different display sizes.
6. The method according to claim 4, characterized in that, It also includes step six, achieving viewport linkage through plug-in minimap: based on the unified logic-screen coordinate transformation system, a thumbnail minimap synchronized with the main canvas topology content is generated; The minimap supports real-time viewport mapping, quick navigation with clicks, and drag-and-drop adjustment of the main canvas viewport position; the minimap adopts a plug-in encapsulation design and is an independent, pluggable component.
7. The method according to claim 4, characterized in that, It also includes step seven, expanding the full-screen interactive function through a plug-in approach: supporting one-click switching of full-screen mode, automatically adapting to the full-screen display resolution based on the unified coordinate transformation system during the switching process, adjusting the topology scaling ratio and viewport range in real time, and maintaining the topology visual effect without distortion; The full-screen function is encapsulated as an independent plug-in.
8. An intelligent routing and alarm linkage system for isometric topology maps of a disaster recovery system, characterized in that, include: An edge routing processing module, wherein the edge routing processing module is used to execute steps one and two as described in claim 1; An interactive highlighting calculation module is used to identify the disaster recovery relationship and calculate the set of elements that need to be highlighted when an alarm node or user interaction is detected, and to perform highlighting and transparency decay rendering. A streaming animation rendering module is used to work in conjunction with the interactive highlighting calculation module to dynamically apply streaming animation effects to the target disaster recovery link. The coordinate transformation module provides a unified function for converting logical coordinates to screen coordinates, and provides a coordinate reference for other modules.
9. The system according to claim 8, characterized in that, It also includes a pluggable adaptive extension module, which is an independently pluggable module, specifically including: A canvas adaptive unit is used to monitor changes in the size of the canvas container and dynamically adjust the isometric projection parameters. A pluggable minimap unit, which is used to generate a thumbnail minimap that is linked to the main canvas and supports viewport interaction; A full-screen interaction unit is used to encapsulate the browser's full-screen API and provide full-screen mode switching and adaptive functions.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the steps of the method as described in any one of claims 1-7, or the functions of the system as described in any one of claims 8-9.