Traffic visualization method and device and electronic equipment

By dividing network nodes into service groups and displaying the target traffic visual interface, the problem that existing tools are difficult to display complex network topology and dynamic traffic is solved, and intuitive visualization and interaction functions are realized, improving the user experience.

CN119603176AInactive Publication Date: 2025-03-11CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411570016.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-05
Publication Date
2025-03-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing traffic visualization tools are difficult to effectively demonstrate complex east-west network topology and dynamic traffic conditions, especially when dealing with custom requirements, which cannot provide a good visualization.

Method used

By dividing network nodes in the network topology into multiple service groups, and obtaining traffic data between each network node, displaying the target traffic visual interface, using multiple types of directed edges to intuitively represent different traffic states between network nodes, and providing adaptive layout and interactive functions.

Benefits of technology

It realizes intuitive visualization of complex network topology and east-west traffic, improves the user's visual experience and interaction capabilities, and can clearly display the traffic between the service group and the traffic between each network node.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119603176A_ABST
    Figure CN119603176A_ABST
Patent Text Reader

Abstract

The invention discloses a traffic visualization method, a traffic visualization device and electronic equipment, which are used for improving the flexibility of a complex network structure and dynamic east-west traffic visualization, and the method comprises the following steps: firstly, dividing each network node in a network topology structure into a plurality of service groups, and obtaining traffic data among the network nodes; and then, displaying a target traffic visualization interface. Through the method, each network node in the network topology structure is divided into a plurality of service groups, and each service group comprises at least one network node, so that the connection relationship and the flow state between the service groups and between the network nodes can be clearly displayed, a user can view the whole situation, and the user experience is improved. And a network topology structure and a flow state can be quickly known.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a flow visualization method, device and electronic equipment. Background Art

[0002] With the development of big data technology, enterprise informatization continues to deepen, and digital technology is gradually applied to enterprise management in all walks of life. As the scale of data continues to expand, data with complex relationships cannot provide useful information intuitively. Therefore, based on the collected original data, the original data is usually processed again to provide more valuable information through data visualization.

[0003] Data visualization refers to the use of data visualization technology and tools to display and analyze various types of data in real time and intuitively. Data visualization helps technicians quickly understand the changing trends, abnormal situations and correlations of data, so as to find and solve problems in a timely manner.

[0004] East-West Traffic refers to the traffic between different devices or services in the same data center or network.

[0005] In the related technology, some traffic visualization tools are usually used to realize the visualization of east-west traffic (for example, Antv-G6, Echarts, D3.js, etc.). However, these visualization tools can only provide basic page layout and interactive functions, and cannot provide good visualization when dealing with complex custom requirements of nodes and edges. Summary of the invention

[0006] The embodiments of the present application provide a traffic visualization method, device, and electronic device for intuitively displaying complex east-west network topology and dynamic traffic conditions, and can achieve visualized adaptive layout and interaction.

[0007] In a first aspect, the present application provides a traffic visualization method, the method comprising:

[0008] Divide each network node in the network topology into multiple service groups, and obtain traffic data between each network node; wherein at least one network node in each service group is used to implement a target service function;

[0009] Display the target traffic visualization interface; wherein, the target traffic visualization interface is used to display traffic data between multiple business groups and various network nodes, and various types of directed edges are included between various network nodes, and different types of directed edges represent different traffic states between various network nodes.

[0010] Through the above method, it is possible to visualize complex network topology and complex east-west traffic, and can intuitively display the traffic between business groups and between various network nodes. The overall layout is clear, which improves the user's visualization experience.

[0011] In an optional implementation, displaying a target flow visualization interface includes:

[0012] A first traffic visualization interface is obtained according to the number of business groups, and a second traffic visualization interface is obtained according to the number of network nodes in each business group; wherein the first traffic visualization interface is used to display the arrangement position of each business group, and the second traffic visualization interface is used to display the arrangement position of the network node in the corresponding business group;

[0013] A target traffic visualization interface is generated based on the first traffic visualization interface, the second traffic visualization interface, and traffic data between various network nodes.

[0014] In an optional implementation, obtaining a first traffic visualization interface according to the number of network nodes in each of the service groups, and obtaining a second traffic visualization interface according to the number of service groups, includes:

[0015] Performing a square root operation on the number of service groups to obtain a first square root result, and performing a square root operation on the number of network nodes in the service group to obtain a second square root result; wherein, if the first square root result and / or the second square root result is not an integer, rounding the first square root result and / or the second square root result upwards to an integer;

[0016] Obtain the number of rows and columns of each service group arrangement according to the first square root result, and obtain the number of rows and columns of each network node arrangement in each service group according to the second square root result;

[0017] A first traffic visualization interface is obtained based on the number of rows and columns of each service group arrangement, and a second traffic visualization interface is obtained based on the number of rows and columns of each network node arrangement in each service group.

[0018] Through the above method, the service groups and network nodes can be reasonably arranged on the display interface, and the arrangement layout on the display interface can be made clear and intuitive through adaptive adjustment.

[0019] In an optional implementation, after displaying the target flow visualization interface, the method further includes:

[0020] In response to a target user clicking on a first directed edge in a first business group on a target traffic visualization interface, a first traffic state information set between a first network node and a second network node in the first business group is displayed; wherein the first directed edge is a directed edge connecting the first network node and the second network node in the first business group;

[0021] In response to the target user's double-click operation on the second directed edge on the target traffic visualization interface, a second traffic status information set between the first business group and the second business group, and a third traffic status information set between the second business group and the third business group are displayed; wherein the second directed edge is a directed edge connecting the third network node in the first business group and the fourth network node in the second business group.

[0022] Through the above method, an interactive function is provided on the target traffic visualization interface, so that users can intuitively view the traffic conditions between network nodes and between business groups according to their needs.

[0023] In an optional implementation, after displaying the target flow visualization interface, the method further includes:

[0024] In response to a user operation of selecting a first switch on the target traffic visualization interface, a first display interface is displayed; wherein the first display interface is used to display the relationships between various business groups; or in response to a user operation of selecting a second switch button on the target traffic visualization interface, a second display interface is displayed; wherein the second display interface is used to display the relationship between various network nodes within each business group or to display the relationship between various network nodes in different business groups; or in response to a user operation of selecting a third switch button on the target traffic visualization interface, a third display interface is displayed; wherein the third display interface is used to display the relationship within each network node bracket in the target business group.

[0025] Through the above method, a variety of display views are provided, which can display different types of interfaces.

[0026] In an optional implementation, after generating the target traffic visualization interface based on the traffic data between each service group and each network node, the method further includes:

[0027] A search box is displayed in the target traffic visualization interface, and the target business group interface is displayed according to the query content entered by the target user in the search box.

[0028] Through the above method, providing a search box can meet the user's query needs and quickly locate the area they want to view.

[0029] In a second aspect, the present application provides a flow visualization device, the device comprising:

[0030] A processing module, used to divide each network node in the network topology into multiple service groups and obtain traffic data between each network node; wherein at least one network node in each service group is used to implement a target service function;

[0031] A display module is used to display a target traffic visualization interface; wherein the target traffic visualization interface is used to display traffic data between multiple business groups and various network nodes, and various types of directed edges are included between various network nodes, and different types of directed edges represent different traffic states between various network nodes.

[0032] In an optional implementation, when displaying the target flow visualization interface, the display module is specifically used to:

[0033] A first traffic visualization interface is obtained according to the number of business groups, and a second traffic visualization interface is obtained according to the number of network nodes in each business group; wherein the first traffic visualization interface is used to display the arrangement position of each business group, and the second traffic visualization interface is used to display the arrangement position of the network node in the corresponding business group;

[0034] A target traffic visualization interface is generated based on the first traffic visualization interface, the second traffic visualization interface, and traffic data between various network nodes.

[0035] In an optional implementation, when obtaining the first traffic visualization interface according to the number of network nodes in each service group, and obtaining the second traffic visualization interface according to the number of service groups, the display module is specifically used to:

[0036] Performing a square root operation on the number of service groups to obtain a first square root result, and performing a square root operation on the number of network nodes in the service group to obtain a second square root result; wherein, if the first square root result and / or the second square root result is not an integer, rounding the first square root result and / or the second square root result upwards to an integer;

[0037] Obtain the number of rows and columns of each service group arrangement according to the first square root result, and obtain the number of rows and columns of each network node arrangement in each service group according to the second square root result;

[0038] A first traffic visualization interface is obtained based on the number of rows and columns of each service group arrangement, and a second traffic visualization interface is obtained based on the number of rows and columns of each network node arrangement in each service group.

[0039] In an optional implementation, after displaying the target flow visualization interface, the display module is further used to:

[0040] In response to a target user clicking on a first directed edge in a first business group on a target traffic visualization interface, a first traffic state information set between a first network node and a second network node in the first business group is displayed; wherein the first directed edge is a directed edge connecting the first network node and the second network node in the first business group;

[0041] In response to the target user's double-click operation on the second directed edge on the target traffic visualization interface, a second traffic status information set between the first business group and the second business group, and a third traffic status information set between the second business group and the third business group are displayed; wherein the second directed edge is a directed edge connecting the third network node in the first business group and the fourth network node in the second business group.

[0042] In an optional implementation, after displaying the target flow visualization interface, the display module is further used to:

[0043] In response to a user operation of selecting a first switch on a target traffic visualization interface, a first display interface is displayed; wherein the first display interface is used to display the relationships between various business groups; or in response to a user operation of selecting a second switch button on a target traffic visualization interface, a second display interface is displayed; wherein the second display interface is used to display the relationship between various network nodes within each business group or the relationship between various network nodes in different business groups; or in response to a user operation of selecting a third switch button on a target traffic visualization interface, a third display interface is displayed; wherein the third display interface is used to display the relationship between various network nodes in the target business group.

[0044] In an optional implementation, after displaying the target flow visualization interface, the display module is further used to:

[0045] A search box is displayed in the target traffic visualization interface, and the target business group interface is displayed according to the query content entered by the target user in the search box.

[0046] In a third aspect, the present application provides an electronic device comprising a processor and a memory, wherein the memory stores program code, and when the program code is executed by the processor, the processor executes the steps of the traffic visualization method described in the first aspect above.

[0047] In a fourth aspect, the present application provides a computer-readable storage medium, which includes a program code. When the program code is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the traffic visualization method described in the first aspect above.

[0048] In a fifth aspect, the present application provides a computer program product, which, when called by a computer, enables the computer to execute the steps of the traffic visualization method as described in the first aspect.

[0049] In addition, other features and advantages of the present application will be described in the subsequent description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:

[0051] Figure 1 A schematic diagram of an implementation flow of a traffic visualization method provided in an embodiment of the present application;

[0052] Figure 2 A schematic diagram of a first flow visualization interface provided in an embodiment of the present application;

[0053] Figure 3 A schematic diagram of a second flow visualization interface provided in an embodiment of the present application;

[0054] Figure 4 A schematic diagram of a target flow visualization interface provided in an embodiment of the present application;

[0055] Figure 5 A schematic diagram of a focusing view provided in an embodiment of the present application;

[0056] Figure 6 A schematic diagram of a first display interface provided in an embodiment of the present application;

[0057] Figure 7 A schematic diagram of a second display interface provided in an embodiment of the present application;

[0058] Figure 8 A schematic diagram of a third display interface provided in an embodiment of the present application;

[0059] Fig. 9 A schematic diagram of a search interface provided in an embodiment of the present application;

[0060] Fig.10 A schematic diagram of a refresh interface provided in an embodiment of the present application;

[0061] Fig.11 A schematic diagram of the structure of a flow visualization device provided in an embodiment of the present application;

[0062] Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the technical solution of the present application, rather than all of the embodiments. Based on the embodiments recorded in the application documents, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the technical solution of the present application.

[0064] It should be noted that in the description of this application, "multiple" is understood as "at least two". "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. A and B are connected, which can represent two situations: A and B are directly connected and A and B are connected through C. In addition, in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.

[0065] In addition, the collection, dissemination, and use of data in the technical solution of this application comply with the requirements of relevant national laws and regulations.

[0066] The following is a brief introduction to the design concept of the embodiment of the present application:

[0067] With the development of big data technology, enterprise informatization continues to deepen, and digital technology is gradually applied to enterprise management in all walks of life. As the scale of data expands, data with complex relationships cannot provide useful information intuitively. Therefore, based on the collected original data, the original data is usually processed twice to obtain more valuable information through data visualization.

[0068] Data visualization refers to the use of data visualization technology and tools to display and analyze various types of data in real time and intuitively. Data visualization helps technicians quickly understand the changing trends, abnormal situations and correlations of data, so as to find and solve problems in a timely manner.

[0069] East-west traffic refers to the traffic between different devices or services in the same data center or network.

[0070] In related technologies, some traffic visualization tools are usually used to realize the visualization of east-west traffic (for example, Antv-G6, Echarts, D3.js, etc.), but these traffic visualization tools can only provide basic page layout and interactive functions, and cannot provide good visualization when dealing with complex customized requirements of nodes and edges.

[0071] In view of this, the present application provides a traffic visualization method, which includes: first, dividing each network node in the network topology into multiple business groups, and obtaining the traffic data between each network node; wherein at least one network node in each business group is used to implement the target business function; then, displaying the target traffic visualization interface; wherein the target traffic visualization interface is used to display the traffic data between multiple business groups and each network node, and each network node includes multiple types of directed edges, and different types of directed edges represent different traffic states between each network node. Through the above method, the complex network topology and east-west traffic data can be visualized, making the overall topology clearer and intuitively reflecting the information of the east-west traffic.

[0072] The following describes a traffic visualization method provided by an exemplary embodiment of the present application with reference to the accompanying drawings.

[0073] See also Figure 1 As shown, it is a schematic diagram of an implementation process of a traffic visualization method provided in an embodiment of the present application. The specific implementation process of the method is as follows:

[0074] S1: Divide each network node in the network topology into multiple service groups, and obtain traffic data between each network node.

[0075] Among them, at least one network node in each service group is used to implement the target service function.

[0076] For example, business group 1 is a business group for processing orders in an e-commerce website, and network node 1, network node 2, etc. in business group 1 are network nodes for processing orders.

[0077] In the embodiment of the present application, first, a network topology is obtained, which describes the connection mode and layout of each network node (such as a server, router, switch, etc.) in the network architecture. The association relationship between each network node in the network architecture can be obtained through the network topology.

[0078] Furthermore, after the network topology is acquired, each network node therein is divided into service groups.

[0079] For example, after the service group division is performed, service group 1, service group 2, and service group 3 are obtained. Service group 1 includes network nodes 1-9, service group 2 includes network nodes 10-15, and service group 3 includes network nodes 16-23.

[0080] Specifically, when dividing the service groups, the service groups can be divided according to the functional roles of the network nodes, for example, server nodes can be divided into the same service group, router nodes can be divided into the same service group, or switch nodes can be divided into the same service group.

[0081] Of course, the business groups can also be divided according to the business types processed by the network nodes. For example, the front-end server nodes in the e-commerce website can be divided into the same business group, and the order processing servers can be divided into the same business group.

[0082] In a specific application scenario, the user may select a method for dividing the service groups according to actual conditions, and the embodiment of the present application does not impose any specific limitation thereto.

[0083] Furthermore, after the service groups are divided, the flow data between the network nodes is obtained. In the embodiment of the present application, the flow data between the various network nodes can be obtained through the network monitoring system.

[0084] Exemplarily, in an embodiment of the present application, the flow data between each network node can be obtained through the zabbix distributed monitoring system, and zabbix can collect the flow data between network nodes at regular intervals and store the obtained data in the database. For example, zabbix can obtain the flow size between any two network nodes and the flow direction in any two network nodes.

[0085] S2: Display the target traffic visualization interface.

[0086] In an embodiment of the present application, the target traffic visualization interface is used to display traffic data between multiple service groups and various network nodes.

[0087] In view of the complexity of the network topology, in an embodiment of the present application, in order to better configure the temporary network topology and make the entire network topology clearer and more intuitive, an adaptive layout algorithm is adopted in the embodiment of the present application, which can enable the business group and the network nodes in the business group to adaptively adjust their positions according to the number, ensuring that all business groups and network nodes can be displayed in the target traffic visualization interface.

[0088] Specifically, in an optional implementation, first, a first traffic visualization interface is obtained according to the number of service groups, and a second traffic visualization interface is obtained according to the number of network nodes in each service. In an embodiment of the present application, the first traffic visualization interface is used to display the arrangement position of each service group in the display interface, and the second traffic visualization interface is used to display the arrangement position of the network node in the service group.

[0089] In an embodiment of the present application, when the number of grouped service groups is obtained, a square root operation can be performed on the number of service groups to obtain a first square root result; and a square root operation can be performed on the number of network nodes in each service group to obtain a second square root result.

[0090] It should be noted that, in the embodiment of the present application, if the first square root result and / or the second square root result is not an integer, the first square root result and / or the second square root result is rounded up to an integer.

[0091] For example, the number of business groups after division is 9, and the first square root result of the square root operation on 9 is 3, and 3 is taken as the final first square root result; for another example, the number of business groups after division is 8, and the first square root result of the square root operation on 8 is 2.8284, and 2.8284 is rounded up to an integer. At this time, the result of rounding 2.8284 up to an integer is 3, and 3 is taken as the final first square root result.

[0092] Similarly, the square root operation is performed on the number of network nodes in each service group to obtain the second square root result. For example, if there are 16 network nodes in service group 1, the second square root result obtained by performing the square root operation on 16 is 4. If there are 17 network nodes in service group 1, the second square root result obtained by performing the square root operation on 10 is 4.1231, and the result obtained by rounding up is 5.

[0093] Furthermore, after obtaining the first square root result, the number of rows and columns of each service group is obtained according to the first square root result, and after obtaining the second square root result, the number of rows and columns of the network nodes in the service group is obtained according to the second square root result.

[0094] For example, if the number of business groups is 16 and the first square root result is 4, then the first square root result is determined as the number of business groups in each row displayed in the display interface. Further, the number of columns displayed in the display interface can be determined to be 4. For another example, if the number of business groups is 15 and the first square root result is 4, then the number of business groups arranged in each row is 4. When the last row of business groups is arranged, only 3 business groups are left. Similarly, the network nodes in each business group are arranged based on the same method.

[0095] For further information, see Figure 2 As shown, after obtaining the number of rows and columns of the business groups arranged on the display interface, the first traffic visualization interface can be obtained. On the first traffic visualization interface, the business groups can be evenly arranged and displayed according to the number of rows and columns arranged. Figure 3 As shown, after obtaining the number of rows and columns of each network node arrangement in each business group, the second traffic visualization interface can be obtained. The network nodes in each business group can be evenly arranged in the business group according to the number of rows and columns. In addition, since the number of network nodes included in different business groups is different, the number of rows and columns when arranging network nodes in different business groups may also be different. For example, in business group 1, the network nodes therein are arranged according to a layout of 3 rows and 3 columns, and in business group 2, the network nodes therein are arranged according to a layout of 4 rows and 4 columns. Therefore, when the view size of the network nodes in the business group remains unchanged, the height and width of the business group can be automatically adjusted so that the view size of the business group in the display interface is in an appropriate proportion.

[0096] See also Figure 4 As shown, after obtaining the first traffic visualization interface and the second traffic visualization interface, the target traffic visualization interface can be displayed based on the first traffic visualization interface, the second traffic visualization interface and the traffic data between each network node.

[0097] In an embodiment of the present application, each network node in the same business group and each network node across business groups are connected by directed edges. Different types of directed edges represent different traffic states between network nodes. For example, the first type of directed edge is displayed as green in the target traffic visualization interface, indicating that the traffic state between the two network nodes is normal, and the second type of directed edge is displayed as red in the target traffic visualization interface, indicating that the traffic state between the two network nodes is abnormal. Directed edges can be used to visualize the traffic data between nodes.

[0098] In the embodiment of the present application, a variety of interactive functions are designed for the directed edges in the target traffic visualization interface, so that users can operate on the directed edges and realize traffic visualization.

[0099] In an optional implementation, in response to a target user clicking on a first directed edge in a first service group on a target traffic visualization interface, a first traffic state information set between a first network node and a second network node in the first service group is displayed.

[0100] Specifically, the first directed edge is a directed edge connecting any two network nodes in the same service group, and the target user can display the first flow status information set between the first network node and the second network node on the target flow visualization interface by clicking the first directed edge. For example, the flow status information such as the service group where the first network node and the second network node are located, the IP addresses of the first network node and the second network node, the flow direction between the first network node and the second network node, and whether the flow is abnormal is displayed.

[0101] Furthermore, in response to the target user's double-clicking operation on the second directed edge on the target traffic visualization interface, a second traffic status information set between the first business group and the second business group and a second traffic status information set between the second businesses, as well as a third traffic status information set between the second business group and the third business group are displayed.

[0102] In the embodiment of the present application, the second directed edge is a directed edge connecting the third network node in the first service group and the fourth network node in the second service group. For example, the first service group includes network node A, and the second service group includes network node B, and network node A and network node B are connected through the second directed edge.

[0103] See also Figure 5 As shown, when the target user double-clicks the second directed edge, a focused view is displayed on the target traffic visualization interface, and a second traffic status information set between the first business group and the second business group, and a third traffic status information set between the second business group and the third business group are displayed. For example, the second traffic status information set includes the number of directed edge connections between the first business group and the second business group, the corresponding traffic direction, and whether the traffic status is normal. Similarly, the third traffic status information set includes the number of directed edge connections between the second business group and the third business group, the corresponding traffic direction, and whether the traffic status is normal.

[0104] It should be noted that the second business group can communicate with multiple third business groups to generate traffic data. This application is illustrated by taking a first business group communicating with a second business group, and a second business group communicating with a third business group as an example, and the first business group interacts with the second business group as a visitor, and the third business group interacts with the second business group as a respondent.

[0105] In order to meet different visualization needs of users, in the embodiment of the present application, multiple modes of view are also provided. Different modes of view can provide users with different types of viewing experience.

[0106] In an optional embodiment, see Figure 6 As shown, in response to a user operation of selecting a first switch button on the target traffic visualization interface, a first display interface is displayed. In an embodiment of the present application, the first display page may also be referred to as an overview mode interface. The first display interface may display the association relationship between each service group. When switching to the first display interface, the connection between each service group and the main traffic path can be displayed. In the first display interface, only the number of network nodes contained in each service group and the main directed edge connection relationship are displayed. Figure 7 As shown, in response to a user operation of selecting a second switch button on the target traffic visualization interface, a second display interface is displayed. In an embodiment of the present application, the second display interface may also be referred to as a global mode interface. The second display interface may display all network nodes specifically included in each service group, as well as directed edge connections between network nodes in the same service group or directed edge connections between network nodes in different service groups. Figure 8 As shown, in response to the user operation of selecting the third switch button on the target traffic visualization interface, the third display interface is displayed. In an embodiment of the present application, the third display interface may also be referred to as a focus display interface. The third display interface may display the association relationship between each network node in a specific business group. For example, currently including business group 1, business group 2, and business group 3, where business group 1 is an order processing business group. By displaying the third display interface, the traffic situation between each order processing server in business group 1 can be seen, which can help users quickly locate the key business group.

[0107] Since there are many service groups and network nodes on the target traffic visualization interface when performing traffic visualization, in order to enable the user to quickly locate the target service group. Fig. 9 As shown, a search box is also provided on the target traffic visualization interface. When the user enters the query content in the search box, the target business group can be displayed in a highlighted form.

[0108] For example, if a user enters "business group 1" in the search box, the view where business group 1 is located can be enlarged and displayed in a highlighted form, so that the user can quickly locate the position of business group 1 in the target traffic visualization view.

[0109] In an optional embodiment, see Fig.10As shown, in the target traffic visualization interface in the embodiment of the present application, a refresh button is also provided. When the user clicks the refresh button, the target traffic visualization interface will dynamically update each service group, each network node in the service group, and the traffic relationship between each node. This is convenient for users to pay attention to current traffic changes in a timely manner and discover traffic anomalies in a timely manner.

[0110] Of course, in the embodiment of the present application, a timer refresh time can also be set, for example, if the timer refresh time is set to 5 minutes, the target flow visualization interface will be automatically refreshed every five minutes. The user can set the timer refresh time according to actual needs to meet the dynamic change visualization needs of the flow.

[0111] Further, based on the same technical concept, the embodiment of the present application provides a flow visualization device, which is used to implement the above method flow of the embodiment of the present application. Fig.11 As shown, the device includes: a processing module 1101 and a display module 1102, wherein:

[0112] The processing module 1101 is used to divide each network node in the network topology structure into multiple service groups and obtain the flow data between each network node; wherein at least one network node in each service group is used to implement the target service function;

[0113] Display module 1102 is used to display a target traffic visualization interface; wherein, the target traffic visualization interface is used to display traffic data between multiple service groups and each network node, and each network node includes multiple types of directed edges, and different types of directed edges represent different traffic states between each network node.

[0114] In an optional implementation, when displaying the target flow visualization interface, the display module 1102 is specifically used to:

[0115] A first traffic visualization interface is obtained according to the number of service groups, and a second traffic visualization interface is obtained according to the number of network nodes in each service group; wherein the first traffic visualization interface includes the arrangement positions of each service group, and the second traffic visualization interface includes the arrangement positions of each network node;

[0116] Based on the first traffic visualization interface, the second traffic visualization interface, and the traffic data between each network node, a target traffic visualization interface is displayed.

[0117] In an optional implementation, when obtaining a first traffic visualization interface according to the number of the network nodes in each of the service groups, and obtaining a second traffic visualization interface according to the number of the service groups, the display module 1102 is specifically used to:

[0118] Performing a square root operation on the number of service groups to obtain a first square root result, and performing a square root operation on the number of network nodes in the service group to obtain a second square root result; wherein, if the first square root result and / or the second square root result is not an integer, rounding the first square root result and / or the second square root result upwards to an integer;

[0119] Obtain the number of rows and columns of each service group arrangement according to the first square root result, and obtain the number of rows and columns of each network node arrangement in each service group according to the second square root result;

[0120] A first traffic visualization interface is obtained based on the number of rows and columns of each service group arrangement, and a second traffic visualization interface is obtained based on the number of rows and columns of each network node arrangement in each service group.

[0121] In an optional implementation, after displaying the target flow visualization interface, the display module 1102 is further used to:

[0122] In response to a target user clicking on a first directed edge in a first business group on a target traffic visualization interface, a first traffic state information set between a first network node and a second network node in the first business group is displayed; wherein the first directed edge is a directed edge connecting the first network node and the second network node in the first business group;

[0123] In response to the target user's double-click operation on the second directed edge on the target traffic visualization interface, a second traffic status information set between the first business group and the second business group, and a third traffic status information set between the second business group and the third business group are displayed; wherein the second directed edge is a directed edge connecting the third network node in the first business group and the fourth network node in the second business group.

[0124] In an optional implementation, after displaying the target flow visualization interface, the display module 1102 is further used to:

[0125] In response to a user operation of selecting a first switch on a target traffic visualization interface, a first display interface is displayed; wherein the first display interface is used to display the relationships between various business groups; or in response to a user operation of selecting a second switch button on a target traffic visualization interface, a second display interface is displayed; wherein the second display interface is used to display the relationship between various network nodes within each business group or the relationship between various network nodes in different business groups; or in response to a user operation of selecting a third switch button on a target traffic visualization interface, a third display interface is displayed; wherein the third display interface is used to display the relationship between various network nodes in the target business group.

[0126] In an optional implementation, after displaying the target flow visualization interface, the display module 1102 is further used to:

[0127] A search box is displayed in the target traffic visualization interface, and the target business group interface is displayed according to the query content entered by the target user in the search box.

[0128] Based on the same technical concept, the embodiment of the present application also provides an electronic device, which can implement the flow visualization method process provided in the above embodiment of the present application. In one embodiment, the electronic device can be a server, or a terminal device or other electronic device. Fig.12 As shown, the electronic device may include:

[0129] At least one processor 1201, and a memory 1202 connected to the at least one processor 1201. The specific connection medium between the processor 1201 and the memory 1202 is not limited in the embodiment of the present application. Fig.12 In the example, the processor 1201 and the memory 1202 are connected via the bus 1200. The bus 1200 is Figure 4 The connections between other components are shown in bold lines, and are not intended to be limiting. The bus 1200 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.12 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 1201 can also be called a controller, and there is no limitation on the name.

[0130] In the embodiment of the present application, the memory 1202 stores instructions that can be executed by at least one processor 1201. The at least one processor 1201 can execute a traffic visualization method discussed above by executing the instructions stored in the memory 1202. The processor 1201 can implement Fig.11 The functions of each module in the device shown.

[0131] Among them, the processor 1201 is the control center of the device, which can use various interfaces and lines to connect the various parts of the entire control device, and monitor the device as a whole by running or executing instructions stored in the memory 1202 and calling the data stored in the memory 1202, the various functions of the device and processing data.

[0132] In one possible design, the processor 1201 may include one or more processing units, and the processor 1201 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1201. In some embodiments, the processor 1201 and the memory 1202 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on separate chips.

[0133] Processor 1201 may be a general-purpose processor, such as a CPU, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of a traffic visualization method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0134] Memory 1202, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules. Memory 1202 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (Random Access Memory, RAM), static random access memory (Static Random Access Memory, SRAM), programmable read-only memory (Programmable Read Only Memory, PROM), read-only memory (Read Only Memory, ROM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic memory, disk, optical disk, etc. Memory 1202 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 1202 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0135] By designing and programming the processor 1201, the code corresponding to the frequency offset estimation method described in the above embodiment can be fixed into the chip, so that the chip can execute the code when running. Figure 1The steps of a traffic visualization method in the embodiment shown are as follows: How to design and program the processor 1201 is a technology well known to those skilled in the art and will not be described in detail here.

[0136] Based on the same inventive concept, an embodiment of the present application further provides a storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes a traffic visualization method discussed above.

[0137] In some possible implementations, the present application also provides various aspects of a traffic visualization method that can also be implemented in the form of a program product, which includes a program code. When the program product is run on an apparatus, the program code is used to enable the control device to execute the steps of a traffic visualization method according to various exemplary implementations of the present application described above in this specification.

[0138] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.

[0139] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0140] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0141] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a server, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0142] Program code for performing the operations of the present application may be written using any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0143] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0144] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A traffic visualization method, characterized in that: The method comprises: Divide each network node in the network topology structure into a plurality of service groups, and obtain traffic data between the network nodes; wherein at least one network node in each service group is used to implement a target service function; Display a target traffic visualization interface; wherein the target traffic visualization interface is used to display the traffic data between the multiple service groups and the various network nodes, and the various network nodes include multiple types of directed edges, and the different types of directed edges represent different traffic states between the various network nodes.

2. The method according to claim 1, characterized in that The target flow visualization interface includes: According to the number of the business groups, a first traffic visualization interface is obtained, and according to the number of the network nodes in each of the business groups, a second traffic visualization interface is obtained; wherein the first traffic visualization interface is used to display the arrangement position of each of the business groups, and the second traffic visualization interface is used to display the arrangement position of the network nodes in the corresponding business group; The target traffic visualization interface is displayed based on the first traffic visualization interface, the second traffic visualization interface, and the traffic data between the various network nodes.

3. The method according to claim 2, characterized in that The obtaining of a first traffic visualization interface according to the number of the network nodes in each of the service groups, and the obtaining of a second traffic visualization interface according to the number of the service groups, comprises: Performing a square root operation on the number of the service groups to obtain a first square root result, and performing a square root operation on the number of the network nodes in the service group to obtain a second square root result; wherein, if the first square root result and / or the second square root result is not an integer, rounding the first square root result and / or the second square root result upward to an integer; Obtaining the number of rows and columns in which each of the service groups is arranged according to the first square root result, and obtaining the number of rows and columns in which each of the network nodes in each of the service groups is arranged according to the second square root result; The first traffic visualization interface is obtained based on the number of rows and columns in which each of the service groups is arranged, and the second traffic visualization interface is obtained based on the number of rows and columns in which each of the network nodes in each of the service groups is arranged.

4. The method according to claim 1, characterized in that After displaying the target traffic visualization interface, it also includes: In response to a target user clicking on a first directed edge in a first business group on the target traffic visualization interface, a first traffic state information set between a first network node and a second network node in the first business group is displayed; wherein the first directed edge is a directed edge connecting the first network node and the second network node in the first business group; In response to the target user's double-click operation on the second directed edge on the target traffic visualization interface, a second traffic status information set between the first business group and the second business group, and a third traffic status information set between the second business group and the third business group are displayed; wherein the second directed edge is a directed edge connecting the third network node in the first business group and the fourth network node in the second business group.

5. The method according to claim 1, characterized in that After displaying the target traffic visualization interface, it also includes: In response to a user operation of selecting a first switch button on the target traffic visualization interface, a first display interface is displayed; wherein the first display interface is used to display the association relationship between each of the business groups; or in response to a user operation of selecting a second switch button on the target traffic visualization interface, a second display interface is displayed; wherein the second display interface is used to display the association relationship between each of the network nodes in each of the business groups or to display the association relationship between each of the network nodes in different business groups; or in response to a user operation of selecting a third switch button on the target traffic visualization interface, a third display interface is displayed; wherein the third display interface is used to display the association relationship between each of the network nodes in the target business group.

6. The method according to claim 1, characterized in that After displaying the target traffic visualization interface, it also includes: A search box is displayed in the target traffic visualization interface, and a target service group interface is displayed according to the query content input by the target user in the search box.

7. A flow visualization device, characterized in that: The device comprises: A processing module, used to divide each network node in the topological structure to be visualized into multiple service groups, and obtain traffic data between the network nodes; wherein each network node in each service group is used to jointly realize a target service function; A display module displays a traffic visualization interface; wherein the target traffic visualization interface is used to display the traffic data between the multiple service groups and the various network nodes, and the various network nodes include multiple types of directed edges, and the different types of directed edges represent different traffic states between the links of the various network nodes.

8. The device according to claim 7, characterized in that When displaying the target flow visualization interface, the display module is specifically used to: According to the number of the service groups, a first traffic visualization interface is obtained, and according to the number of the network nodes in each of the service groups, a second traffic visualization interface is obtained; wherein the first traffic visualization interface includes the arrangement position of each of the service groups, and the second traffic visualization interface includes the arrangement position of each of the network nodes; The target traffic visualization interface is generated based on the first traffic visualization interface, the second traffic visualization interface, and the traffic data between the various network nodes.

9. An electronic 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, the method according to any one of claims 1 to 6 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Network topological graph optimization method, terminal equipment and storage medium

    CN112448853A

  • Network topology information visualization method, device and medium

    CN113872805A

  • Host container network topological graph generation method, terminal equipment and storage medium

    CN116232904A

  • Network topology visualization method based on host network connection

    CN116996391A

  • Visualization of dynamic fabric automation network topology

    US9781008B1