Terminal computing power network topology method, system and equipment based on G6 plug-in and medium

CN118740644AInactive Publication Date: 2024-10-01INSPUR COMM TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410963825.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

[0005]本发明的技术任务是提供一种基于G6插件的终端算力网络拓扑方法、系统、设备及介质,来解决如何通过终端算力网络实现高效的类似3D渲染效果,既能够拥有空间立体感,又能避免引入入webgl以及数据建模的臃肿和性能消耗及浏览器渲染压力,提高用户体验感的问题

Benefits of technology

[0034] (1) This invention creates an instance based on the G6 plug-in, sets the container and related size parameters, and simulates a parallel lens based on the parallel projection algorithm. By defining the position, angle, etc. of the parallel lens, a projection matrix is ​​defined by these parameters, and through Customize node shapes and graphics transformation algorithms to make nodes visually appear three-dimensional; geometrically process connections to give them a three-dimensional effect. Through the G6 plug-in and specific algorithms, a similar 3D effect is achieved, which not only retains the efficiency of 2D rendering, but also has a certain three-dimensional effect. Through 2D rendering technology, only the display effect of one lens angle is reflected, and the effects of viewpoint transformation and spatial rotation are not considered, so that complex topological scenes have a certain space and level, and the display is clearer;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740644A_ABST
    Figure CN118740644A_ABST
Patent Text Reader

Abstract

The invention discloses a terminal computing power network topology method, system and device based on a G6 plug-in, and a medium, belongs to the technical field of terminal algorithm visualization, and aims to solve the technical problem of how to realize an efficient similar 3D rendering effect through a terminal computing power network, so that the terminal computing power network not only can have a spatial stereoscopic impression, but also can have a three-dimensional rendering effect. The technical scheme adopted by the invention is as follows: creating an image instance on the basis of a G6 plug-in: setting a container and related size parameters, and configuring view angle and depth parameters similar to a 3D (Three-Dimensional) effect; defining node data; wherein the node data comprises a node identifier and node attribute information; determining a connection relationship between the nodes, and setting connection data; the interaction function of the nodes is realized through dragging and clicking operations, and dynamic updating is realized according to the real-time change of the network topology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of terminal algorithm visualization, and in particular to a terminal computing power network topology method, system, device and medium based on a G6 plug-in. Background Art

[0002] As the demand for computing power in mobile communication networks grows rapidly, terminal computing networks become increasingly complex, and the demand for visualization of network topology is also increasing. Traditional 2D network topology diagrams often have problems such as overlapping nodes and confusing connections when displaying large-scale networks, making it difficult to intuitively display the overall picture and details of the terminal computing network topology. Although 3D visualization can provide a more intuitive three-dimensional display effect, it has high computational complexity, slow rendering speed, and high requirements for hardware resources.

[0003] At present, if a complex terminal computing network relies on Web 3D for topological visualization development, its loading requires a large performance consumption. Web3D scenes usually contain many objects, and they have to deal with complex lighting, shadows and material effects of the model. If users frequently perform operations such as scaling and rotating, complex calculation logic and frequent graphics operations, this may cause the CPU and GPU usage to increase instantly. When a resource-constrained device is connected to an external monitor and the topological model is displayed on the external monitor, the high resource consumption characteristics of the 3D engine itself, and the external monitor usually increase the display resolution and number of pixels, requiring more graphics data to fill the larger screen space, and the demand for memory increases. Therefore, it may cause the topological model to load too long and the rendering efficiency to be low, which in turn causes the interface to freeze and affects the smoothness of the user experience.

[0004] Therefore, how to achieve efficient 3D rendering effects through the terminal computing power network, so as to have a three-dimensional sense of space while avoiding the bloatedness and performance consumption of webgl and data modeling and browser rendering pressure, and improve user experience is a technical problem that needs to be solved urgently. Summary of the invention

[0005] The technical task of the present invention is to provide a terminal computing network topology method, system, device and medium based on the G6 plug-in to solve the problem of how to achieve efficient 3D rendering effects through the terminal computing network, which can not only have a sense of spatial three-dimensionality, but also avoid the introduction of webgl and data modeling. The bloated and performance consumption and browser rendering pressure, and improve the user experience.

[0006] The technical task of the present invention is achieved in the following way: a terminal computing network topology method based on the G6 plug-in, the method is as follows:

[0007] Create an image instance based on the G6 plug-in: set the container and related size parameters, and configure the perspective and depth parameters similar to the 3D effect;

[0008] Define node data; wherein the node data includes node identification and node attribute information;

[0009] Determine the connection relationship between nodes and set the connection data;

[0010] The interactive functions of nodes are realized by dragging and clicking operations, and are dynamically updated according to the real-time changes of network topology.

[0011] Preferably, creating an image instance based on the G6 plug-in also includes simulating a parallel lens based on a parallel projection algorithm, defining a projection matrix by defining the position and angle of the parallel lens, and determining an initial arrangement of nodes.

[0012] Preferably, defining the node data includes making the node visually present a three-dimensional sense by customizing the node shape and image transformation algorithm; specifically:

[0013] Add multiple levels of circles or rectangles inside the node, and simulate the 3D effect by adjusting the transparency, size, and position of the circles or rectangles.

[0014] Preferably, setting the connection data includes geometric processing of the connection, focusing on the parallel relationship between the starting point and the end point, and performing a turning transformation process based on the size relationship when it is inconsistent with the lens angle.

[0015] Preferably, the interactive functions of the node include displaying detailed information when the node is selected, automatically adjusting the connection relationship when the node is dragged to change its position, and manually performing connection operations, and the line body is displayed in three-dimensional continuity during the connection process.

[0016] Preferably, the method further comprises scaling and panning the graph to facilitate viewing of the overall or local network topology structure and monitoring the state changes of the network topology in real time;

[0017] Among them, the state changes of the network topology include the addition, deletion, attribute modification and connection relationship change of nodes.

[0018] A terminal computing network topology system based on a G6 plug-in, the system comprising:

[0019] The creation module is used to create an image instance based on the G6 plug-in, specifically: setting the container and related size parameters, and configuring the perspective and depth parameters similar to the 3D effect;

[0020] A definition module is used to define node data; wherein the node data includes node identification and node attribute information;

[0021] A setting module is used to determine the connection relationship between nodes and set the connection data;

[0022] The interactive module is used to realize the interactive functions of nodes through dragging and clicking operations, and dynamically update according to the real-time changes of the network topology.

[0023] Preferably, the creation module further comprises simulating a parallel lens based on a parallel projection algorithm, defining a projection matrix by defining the position and angle of the parallel lens, and determining an initial arrangement of the nodes;

[0024] The definition module includes customizing the node shape and image transformation algorithm to make the node visually present a three-dimensional sense; specifically:

[0025] Add multiple levels of circles or rectangles inside the node, and simulate 3D effects by adjusting the transparency, size, and position of the circles or rectangles;

[0026] The connection data in the setting module includes geometric processing of the connection, focusing on the parallel relationship between the starting point and the end point. When it is inconsistent with the lens angle, the turning transformation is performed according to the size relationship;

[0027] The interactive functions of the nodes in the interactive module include displaying detailed information when a node is selected, automatically adjusting the connection relationship when dragging the node to change its position, and manually performing connection operations. During the connection process, the lines are displayed in three-dimensional continuity.

[0028] Among them, the G6 plug-in, as a graph visualization engine, has high customization capabilities and rich graph visualization solutions. It does not directly support 3D visualization, but through plug-ins and specific algorithms, it can achieve similar 3D effects, which not only retains the efficiency of 2D rendering, but also has a certain sense of three-dimensionality. Through 2D drawing technology, only the display effect of one lens angle is reflected, and the viewpoint transformation and space rotation effects are not considered. This makes the complex topological scene have a certain space and level, and the display is clearer.

[0029] An electronic device comprising: a memory and at least one processor;

[0030] Wherein, the memory stores a computer program;

[0031] The at least one processor executes the computer program stored in the memory, so that the at least one processor executes the terminal computing power network topology method based on the G6 plug-in as described above.

[0032] A computer-readable storage medium having a computer program stored therein, wherein the computer program can be executed by a processor to implement the terminal computing power network topology method based on the G6 plug-in as described above.

[0033] The terminal computing power network topology method, system, device and medium based on the G6 plug-in of the present invention have the following advantages:

[0034] (1) The present invention creates an instance based on the G6 plug-in, sets the container and related size parameters, and simulates a parallel lens based on the parallel projection algorithm. By defining the position and angle of the parallel lens, a projection matrix is ​​defined by these parameters, and the nodes are visually presented with a three-dimensional sense through custom node shapes and graphic transformation algorithms; geometric processing of connecting lines gives the connecting lines a three-dimensional effect. Through the G6 plug-in and a specific algorithm, a similar 3D effect is achieved, which not only retains the efficiency of 2D rendering, but also has a certain sense of three-dimensionality. Through 2D drawing technology, only the display effect of one lens angle is reflected, and the viewpoint transformation and space rotation effects are not considered, so that complex topological scenes have a certain space and level, and the display is clearer;

[0035] (ii) The present invention combines the parallel projection algorithm of nodes and lines, and at the same time gives the topological nodes rich interactive functions such as drag positioning and line operation. By displaying the visual effect of a fixed lens angle, without considering the viewpoint transformation and spatial rotation, an efficient 3D rendering effect is achieved, which has a certain spatial stereoscopic sense and avoids the bloatedness and performance consumption of webgl and data modeling, as well as the browser rendering pressure; it is simple and easy to use, flexible, and highly versatile; the angle and the turning length of the broken line can be arbitrarily configured, and it is easy to adjust and expand in different scenes;

[0036] (III) The present invention applies the terminal computing power network topology based on the G6 plug-in to the visual management and control system or platform to realize the visual management and analysis of the terminal computing power network. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The present invention is further described below in conjunction with the accompanying drawings.

[0038] Attached Figure 1 This is a flowchart of the terminal computing network topology method based on the G6 plug-in. DETAILED DESCRIPTION

[0039] The terminal computing network topology method, system, device and medium based on the G6 plug-in of the present invention are described in detail below with reference to the drawings and specific embodiments of the specification.

[0040] Embodiment 1:

[0041] As attached Figure 1 As shown, this embodiment provides a terminal computing network topology method based on the G6 plug-in, and the method is specifically as follows:

[0042] S1. Create an image instance based on the G6 plug-in: set the container and related size parameters, and configure the perspective and depth parameters similar to the 3D effect;

[0043] S2. Define node data; wherein the node data includes node identification and node attribute information;

[0044] S3, determine the connection relationship between nodes and set connection data;

[0045] S4. The interactive functions of nodes are realized through dragging and clicking operations, and are dynamically updated according to the real-time changes of the network topology.

[0046] The creation of an image instance based on the G6 plug-in in step S1 of this embodiment also includes simulating a parallel lens based on a parallel projection algorithm, defining a projection matrix by defining the position and angle of the parallel lens, and determining the initial arrangement of the nodes.

[0047] The definition of node data in step S2 of this embodiment includes making the node visually present a three-dimensional sense by customizing the node shape and image transformation algorithm; specifically:

[0048] Add multiple levels of circles or rectangles inside the node, and simulate the 3D effect by adjusting the transparency, size, and position of the circles or rectangles.

[0049] The setting of connection data in step S3 of this embodiment includes geometric processing of the connection, focusing on the parallel relationship between the starting point and the end point. When it is inconsistent with the lens angle, turning transformation processing is performed according to the size relationship.

[0050] The interactive functions of the nodes in step S4 of this embodiment include displaying detailed information when a node is selected, automatically adjusting the connection relationship when the node is dragged to change its position, and manually performing a line connection operation. During the line connection process, the line is displayed in three-dimensional continuity.

[0051] The method also includes zooming and panning the graph to facilitate viewing of the overall or local network topology structure and real-time monitoring of changes in the state of the network topology;

[0052] Among them, the state changes of the network topology include the addition, deletion, attribute modification and connection relationship change of nodes.

[0053] Embodiment 2:

[0054] This embodiment provides a terminal computing power network topology system based on a G6 plug-in, the system comprising:

[0055] The creation module is used to create an image instance based on the G6 plug-in, specifically: setting the container and related size parameters, and configuring the perspective and depth parameters similar to the 3D effect;

[0056] A definition module is used to define node data; wherein the node data includes node identification and node attribute information;

[0057] A setting module is used to determine the connection relationship between nodes and set the connection data;

[0058] The interactive module is used to realize the interactive functions of nodes through dragging and clicking operations, and dynamically update according to the real-time changes of the network topology.

[0059] The creation module in this embodiment also includes simulating a parallel lens based on a parallel projection algorithm, defining a projection matrix by defining the position and angle of the parallel lens, and determining the initial arrangement of the nodes.

[0060] The definition module in this embodiment includes making the nodes visually present a three-dimensional sense through customizing the node shape and image transformation algorithm; specifically:

[0061] Add multiple levels of circles or rectangles inside the node, and simulate the 3D effect by adjusting the transparency, size, and position of the circles or rectangles.

[0062] The setting module in this embodiment sets the connection data including geometric processing of the connection, pays attention to the parallel relationship between the starting point and the end point, and performs turning transformation processing according to the size relationship when it is inconsistent with the lens angle.

[0063] The interactive functions of the nodes of the interactive module in this embodiment include displaying detailed information when a node is selected, automatically adjusting the connection relationship when dragging a node to change its position, and manually performing a line connection operation. During the line connection process, the line body is displayed in three-dimensional continuity.

[0064] Embodiment 3:

[0065] This embodiment also provides an electronic device, including: a memory and a processor;

[0066] Wherein, the memory stores computer-executable instructions;

[0067] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the terminal computing power network topology method based on the G6 plug-in in any embodiment of the present invention.

[0068] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor may be a microprocessor or any conventional processor, etc.

[0069] The memory can be used to store computer programs and / or modules. The processor realizes various functions of the electronic device by running or executing the computer programs and / or modules stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the terminal, etc. In addition, the memory can also include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SMC), a secure digital (SD) card, a flash memory card, at least one disk storage period, a flash memory device, or other volatile solid-state storage devices.

[0070] Embodiment 4:

[0071] This embodiment also provides a computer-readable storage medium, which stores a plurality of instructions, which are loaded by a processor to enable the processor to execute the terminal computing network topology method based on the G6 plug-in in any embodiment of the present invention. Specifically, a system or device equipped with a storage medium can be provided, on which a software program code that implements the functions of any of the above embodiments is stored, and a computer (or CPU or MPU) of the system or device reads and executes the program code stored in the storage medium.

[0072] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0073] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RYM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer via a communication network.

[0074] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.

[0075] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or written to a memory provided in an expansion unit connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or the expansion unit is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0076] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A terminal computing network topology method based on G6 plug-in, characterized in that: The method is as follows: Create an image instance based on the G6 plug-in: set the container and related size parameters, and configure the perspective and depth parameters similar to the 3D effect; Define node data; wherein the node data includes node identification and node attribute information; Determine the connection relationship between nodes and set the connection data; The interactive functions of nodes are realized by dragging and clicking operations, and are dynamically updated according to the real-time changes of network topology.

2. According to the G6 plug-in-based terminal computing network topology method of claim 1, it is characterized in that: The G6 plug-in-based image creation example also includes simulating a parallel lens based on the parallel projection algorithm, defining a projection matrix by defining the position and angle of the parallel lens, and determining the initial arrangement of the nodes.

3. According to the G6 plug-in-based terminal computing network topology method of claim 1, it is characterized in that: Defining node data includes customizing node shapes and image transformation algorithms to make nodes visually three-dimensional; specifically: Add multiple levels of circles or rectangles inside the node, and simulate the 3D effect by adjusting the transparency, size, and position of the circles or rectangles.

4. The terminal computing network topology method based on the G6 plug-in according to claim 1 is characterized in that: Setting connection data includes geometric processing of the connection, focusing on the parallel relationship between the starting point and the end point. When it is inconsistent with the camera angle, turning transformation processing is performed based on the size relationship.

5. The terminal computing power network topology method based on the G6 plug-in according to claim 1 is characterized in that: The interactive functions of the nodes include displaying detailed information when the node is selected, automatically adjusting the connection relationship when dragging the node to change its position, and manual connection operations. The lines are displayed in three-dimensional continuity during the connection process.

6. The terminal computing network topology method based on the G6 plug-in according to any one of claims 1 to 5, characterized in that: The method also includes zooming and panning the graph to facilitate viewing of the overall or local network topology structure and real-time monitoring of changes in the state of the network topology; Among them, the state changes of the network topology include the addition, deletion, attribute modification and connection relationship change of nodes.

7. A terminal computing network topology system based on G6 plug-in, characterized in that: The system includes: The creation module is used to create an image instance based on the G6 plug-in, specifically: setting the container and related size parameters, and configuring the perspective and depth parameters similar to the 3D effect; A definition module is used to define node data; wherein the node data includes node identification and node attribute information; A setting module is used to determine the connection relationship between nodes and set the connection data; The interactive module is used to realize the interactive functions of nodes through dragging and clicking operations, and dynamically update according to the real-time changes of the network topology.

8. The terminal computing power network topology system based on the G6 plug-in according to claim 7 is characterized in that: The creation module also includes simulating a parallel lens based on a parallel projection algorithm, defining a projection matrix by defining the position and angle of the parallel lens, and determining the initial arrangement of the nodes; The definition module includes customizing the node shape and image transformation algorithm to make the node visually present a three-dimensional sense; specifically: Add multiple levels of circles or rectangles inside the node, and simulate 3D effects by adjusting the transparency, size, and position of the circles or rectangles; The connection data in the setting module includes geometric processing of the connection, focusing on the parallel relationship between the starting point and the end point. When it is inconsistent with the lens angle, the turning transformation is performed according to the size relationship; The interactive functions of the nodes in the interactive module include displaying detailed information when a node is selected, automatically adjusting the connection relationship when dragging the node to change its position, and manually performing connection operations. During the connection process, the lines are displayed in three-dimensional continuity.

9. An electronic device, characterized in that: include: memory and at least one processor; Wherein, the memory stores a computer program; The at least one processor executes the computer program stored in the memory, so that the at least one processor executes the terminal computing power network topology method based on the G6 plug-in as described in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which can be executed by a processor to implement the terminal computing power network topology method based on the G6 plug-in as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method for acquiring depth information on basis of array images

    CN106355621A

  • Complex network topology editing and visualizing system based on Web

    CN110929201A

  • Front-end implementation method of visual monitoring resources

    CN111580817A

  • Hybrid aggregation graphic display device for optimizing topological performance structure

    CN112383430A

  • Implementation method of self-defined visual topological graph based on Antv

    CN114048110A