System and method for realizing traffic maps of various load balancing devices

The system addresses the challenge of managing multiple load balancing devices by integrating configuration data into a unified traffic map, simplifying management through a collection and cognitive module, and displaying traffic paths using XYZ loop logic.

CN119071296AActive Publication Date: 2024-12-03E SURFING VIDEO MEDIA CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411199552.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-03
Estimated Expiration
2044-08-29

AI Technical Summary

Technical Problem

Current systems lack a centralized management and configuration system for multiple load balancing devices, leading to difficulties in managing and displaying unified traffic maps across different types and models, particularly in processing 4-layer and 7-layer rules, which complicates the management of load balancing configurations.

Method used

A system and method involving a collection module, an improved cognitive module, and a map module based on network traffic, which supports multiple load balancing devices by reading and processing configuration information, converting logic formats, and constructing a three-dimensional traffic map using XYZ loop logic.

Benefits of technology

Enables efficient management and display of traffic paths across multiple load balancing devices, simplifying configuration complexities and enhancing management efficiency by integrating L4 and L7 configurations into a unified format.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071296A_ABST
    Figure CN119071296A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of information display, and provides a system and method for realizing a traffic map of various load balancing devices, and the system comprises a collection module, an improved cognition module, an automatic matching module for different load balances, and a map module based on network traffic. The acquisition module reads configuration information of related load balancing equipment and supports various equipment types, such as F5 and A10; the acquisition module stores configuration information in an LOG mode and downloads related certificate files to the local, and the acquisition module can quickly acquire configuration data of various load balancing devices; the improved cognitive module adapts to various load balancing equipment environments, identifies and processes 4-layer and 7-layer configuration information, and the improved cognitive module is additionally provided with an LTM module and an SLB module to classify configuration fields. According to the invention, the management capability of multi-type load balancing configuration can be enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information display technology, and in particular to a system and method for realizing traffic maps of multiple load balancing devices. Background Art

[0002] At present, although each load balancing manufacturer has an independent interface for display technology, there is no centralized related system for unified management and configuration. Therefore, each configuration is highly independent and the logical nesting is different. It may happen that the configuration cannot be displayed or managed uniformly. When there are many devices, there is no global traffic map perspective of the devices that pass through multiple load balancing, which directly increases the difficulty of management.

[0003] According to the query of the existing relevant patent publication number CN114285719A name: "Strategy method and system for centralized identification of different types of network devices in multiple IDC environments", although it solves the configuration display problem of different types of network devices, its patent only solves the basic configuration identification of firewalls and a load balancing method.

[0004] However, there are still technical challenges in individually identifying and processing the configurations of multiple load balancing devices and drawing traffic maps. Current existing solutions are not oriented towards multiple types of load balancing, nor do they effectively solve the subdivision function of processing the 4-layer and 7-layer rules included in load balancing. There is also no policy method and system processing of network maps of load-balancing devices, which makes it very difficult for users to manage the configurations of multiple types of load balancing devices and manage the query of paths passing through multiple types of load balancing devices. Summary of the invention

[0005] In view of the above problems, the present invention provides a system and method for implementing traffic maps of multiple load balancing devices.

[0006] To solve the above problems, the technical solution adopted by the present invention is:

[0007] A system and method for realizing traffic maps of multiple load balancing devices, including a collection module, an improved cognitive module, an automatic matching module for different load balancing, and a map module based on network traffic;

[0008] The acquisition module reads the configuration information of the relevant load balancing device and supports multiple device types, such as F5 and A10; the acquisition module uses LOG mode to save the configuration information and downloads the relevant certificate files to the local computer. The acquisition module can quickly obtain the configuration data of multiple load balancing devices;

[0009] The improved cognitive module is adapted to a variety of load balancing device environments, identifies and processes 4-layer and 7-layer configuration information. The improved cognitive module adds LTM and SLB modules, classifies the configuration fields, and splits them into valid information of 7-layer and 4-layer loads; the improved cognitive module improves the ability to interpret load balancing configurations, supports multiple types of load balancing devices, and realizes refined management of configurations.

[0010] Preferably, the automatic matching module uniformly processes the L4 and L7 configuration logics of two different load balancing devices. The automatic matching module converts the configuration logics of the two load balancing devices into a unified format through an automatic matching algorithm to facilitate subsequent processing. The automatic matching module simplifies the complexity of configuration management and improves management efficiency.

[0011] Preferably, the map module based on network traffic draws a map based on network traffic according to the processed configuration information to display the traffic path of the load balancing device. The map module based on network traffic adopts XYZ loop logic, takes L4 as the basic dimension and L7 as the enhanced dimension to construct a three-dimensional traffic map. The map module based on network traffic intuitively displays the traffic path of the load balancing device, which is convenient for managers to quickly locate problems and optimize the network structure.

[0012] A method for implementing a system for multiple load balancing device traffic maps, comprising the following steps:

[0013] S1: Collection load balancing configuration:

[0014] Use Python scripts to collect configurations of load balancing devices and adopt corresponding collection strategies according to the device model;

[0015] S2: Use cognitive modules to process the collected configuration data:

[0016] Read the configuration information in the local file and classify the configuration fields using the cognitive module;

[0017] S3: The automatic matching module logically integrates the processed load balancing configuration:

[0018] Use automatic matching algorithms to unify L4 and L7 configurations, eliminating configuration differences between different load balancing devices;

[0019] S4: Draw the actual network traffic map:

[0020] According to the processed configuration information, a drawing module is used to draw a map based on network traffic.

[0021] Preferably, in step S1, the collected configuration information is saved as a local file for subsequent processing.

[0022] Preferably, in step S2, the configuration information is split into two categories, L4 and L7, and stored in corresponding data structures respectively, and the L7 template and its related attributes are specially processed to support more complex configuration logic.

[0023] Preferably, in step S3, the processed configuration information is integrated into a unified logical format to facilitate subsequent drawing of a traffic map.

[0024] Preferably, in step S4, XYZ loop logic is adopted, with L4 as the basic dimension, L7 as the enhanced dimension, and the Y axis representing related information such as service groups.

[0025] Preferably, in step S4, the traffic path of the load balancing device is displayed on a map, including information such as the load policy name, service group, service member, and L7 template.

[0026] The beneficial effects of the present invention are:

[0027] 1. Adapt to multiple load balancing devices. The original load balancing configuration can only support multiple types of devices, and introduce L4 and L7 modules to strengthen the actual configuration, enhancing the management capabilities of multiple types of load balancing configurations.

[0028] 2. A network map of the network traffic processing path can be displayed according to the configuration, and multiple load balancing configurations are integrated, making it more efficient for maintainers to query the traffic processing of a certain device in related logic. The emergence of a centralized network map fundamentally solves the problem of difficulty in querying device traffic after multiple load balancing. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0031] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0032] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined. In addition, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0033] Reference Figure 1 , a system and method for realizing traffic maps of multiple load balancing devices, including a collection module, an improved cognitive module, an automatic matching module for different load balancing, and a map module based on network traffic;

[0034] The acquisition module reads the configuration information of the relevant load balancing device and supports multiple device types, such as F5 and A10. The acquisition module uses the LOG mode to save the configuration information and downloads the relevant certificate files to the local. The acquisition module can quickly obtain the configuration data of multiple load balancing devices. This module is used to read the device configuration of the relevant load balancing. Developers can use the simplest LOG mode to save it, and the relevant certificate files can be directly downloaded to the local.

[0035] The improved cognitive module is adapted to various load balancing device environments, identifies and processes 4-layer and 7-layer configuration information. The improved cognitive module adds LTM and SLB modules to classify and process configuration fields, and splits them into valid information of 7-layer and 4-layer loads; the improved cognitive module improves the ability to interpret load balancing configuration, supports various types of load balancing devices, and realizes refined management of configuration. The methods in the current solutions are based on network devices, cannot identify non-LTM load balancers, and do not integrate L7 related functions. This solution is oriented to load balancers alone, and the logical processing of configuration is more complicated. It integrates LTM load balancing, which is the traditional F5 device, and adds SLB series load balancing, which is the A10 series. At the same time, it identifies valid information related to 7 layers and 4 layers, further improving the configuration interpretation ability of load balancing. We need to perform related operations on the newly added ltm and SLB modules in the cognitive module. The main attributes are classified into two types:

[0036] The first type is the LTM module. The main fields are: template type, name, Switching Type, MatchString, Match String, Service Group, Action. The main key fields are: virtual, ip-protocol, destination, pool, ltm pool, members, ratio, priority-group, policies.

[0037] The second type is the SLB module, the main fields are: slb template, host-switching, equals, service-group. The main key fields are: virtual-server, port, service-group, method, member, priority.

[0038] Through field processing, the recognition module in the cognitive module is synchronously split into 7-layer and 4-layer payloads of valid information.

[0039] Furthermore, the automatic matching module uniformly processes the L4 and L7 configuration logics of two different load balancing devices. The automatic matching module converts the configuration logics of the two load balancing devices into a unified format through an automatic matching algorithm, which is convenient for subsequent processing. The automatic matching module simplifies the complexity of configuration management and improves management efficiency. Through the matching module, the two different load balancing L4 configuration logics are uniformly processed into the same logic, and the two different load balancing L7 configuration logics are uniformly processed into the same logic. The processed two L4 and L7 logics are spliced ​​into the same logic.

[0040] Example: Processing based on the configuration snippet of the LTM load balancer

[0041] When processing layer 4 load information, the following logic is used for processing

[0042]

[0043] When processing layer 7 load information, the following logic is used:

[0044]

[0045] Process according to the configuration snippet of the SLB load balancer

[0046]

[0047]

[0048] Furthermore, the map module based on network traffic draws a map based on network traffic according to the processed configuration information to display the traffic path of the load balancing device. The map module based on network traffic adopts XYZ loop logic, takes L4 as the basic dimension and L7 as the enhanced dimension to construct a three-dimensional traffic map. The map module based on network traffic intuitively displays the traffic path of the load balancing device, which is convenient for managers to quickly locate problems and optimize the network structure. In order to more efficiently manage the load balancing configuration, ordinary modules can only roughly display relevant information based on the XY point part of the data cross-display, which does not conform to the actual load balancing environment. In order to be able to efficiently only target the load balancing configuration and realize tracking capabilities, it is necessary to process based on the network map. After combining the previous two modules to classify multiple types of load balancing data, the data based on the network map is displayed. First, the grid distribution is arranged based on the load policy name according to the 4-layer dimension, including the main name, IP, service group, service member information, and other parameters are associated and displayed. At the same time, the second layer uses L7 data to further associate the L4 data of the first layer, and adds the Z-axis dimension based on L7 from L4's X and Y. The Z-axis will take precedence over the Y-axis data in the configuration and needs to be sorted by priority. In addition, because Z has many rules and can handle more complex scenarios, Z has the development of Z-layer loops. After the actual configuration path tracking is reflected, the XYZ loop logic is explained as follows: X is the load name, Yn is the service group, and the data request X enters Y. However, after Z is added, some data requests X will flow into Z first, and Z will be superimposed on Zn. Z can also return for processing without flowing into Y. Zn may also point to X. In addition, the 7-layer data logic processing can only process the data of the current request fragment. When the other half is not hit, the remaining irregular data will flow into Y. It is similar to a bottom line policy, so logically all paths need to be tracked. Therefore, based on this feature, XYZ is used to track and generate a unified network map.

[0049] Example: XY Map

[0050] Display 1:

[0051]

[0052] Mode

[0053] 172.18.250.10:http / / Service member / / Mask display weight

[0054] 172.18.250.11:http / / service member

[0055] http_gw_vms / / L7 template name

[0056] i.vms.tv189.com / / L7 service group / / The mask layer infers rules and patterns based on actions

[0057] 172.18.250.20: http / / Service member, belongs to the i.vms.tv189.com service group

[0058] i2.vms.tv189.com

[0059] 172.18.250.20: http / / Service member, belongs to the i2.vms.tv189.com service group

[0060] i2.vms.tv189.com / / L7 service group / / The mask layer is based on the action inversion rules and patterns. When there is no service member at the lower level in the case, the code side processing logic is displayed, which can loop other Z or Z itself, or may loop to other X.

[0061] A method for implementing a system for multiple load balancing device traffic maps, comprising the following steps:

[0062] S1: Collection load balancing configuration:

[0063] Use Python scripts to collect configurations of load balancing devices, and adopt corresponding collection strategies according to the device model; developers use py scripts to collect configurations of load balancing, mainly based on the device model. A10's collection recognition uses the carriage return character slb to start the field and end it. Each new field read under the field is marked as a new row of fields, and then each row of fields is read and separated until the end. F5's template starts with the ltm policy field and ends with}. Each new field in {} is read under the field and marked as a new row of fields. Then each row of fields is read and separated until the end. The required resources are saved and a local file is generated. The subsequent user recognition module processes the configuration data.

[0064] S2: Use cognitive modules to process the collected configuration data:

[0065] Read the configuration information in the local file and use the cognitive module to classify the configuration fields; developers use the cognitive module to classify the 4-layer information and 7-layer information of the two load balancing configurations, which includes the following operation methods: read the collected configuration to generate 16 types of categorizable configuration information, which are the 4-layer configuration set of the two load balancing, including 6 categories, mainly load policy name, service group, member and its associated attributes; 7-layer configuration set, including 2 categories, mainly L7 template and its associated attributes;

[0066] S3: The automatic matching module logically integrates the processed load balancing configuration:

[0067] Use the automatic matching algorithm to unify the L4 and L7 configurations to eliminate the configuration differences between different load balancing devices; developers use the automatic matching module to unify the configurations of the two types of load balancing in S2 into eight categories of L4 and L7 data integration and processing, which includes the following operations:

[0068] Unify two different load balancing L4 configurations into one logic.

[0069] Unify two different load balancing L7 configurations into one logic.

[0070] Unify the two unified L4 and L7 configurations into one logic;

[0071] S4: Draw the actual network traffic map:

[0072] According to the processed configuration information, the drawing module is used to draw a map based on network traffic. Developers use the drawing module to draw a network map, which includes the following operation methods

[0073] XY is drawn based on L4 basic data. X is the load strategy name, and Y is the L4 related subject. Each XY is a square to display all XY information.

[0074] Insert Z based on the XY information, with Z as the main body of L7, and arrange the traffic paths in the order of Z1 to ZN to Y. When Z points to other Y or Z, it will be tracked and processed. Z will also point to X, and actually trace the logical closed loop to form an actual network map.

[0075] Furthermore, in step S1, the collected configuration information is saved as a local file for subsequent processing.

[0076] Furthermore, in step S2, the configuration information is split into two categories, L4 and L7, and stored in corresponding data structures respectively, and the L7 template and its related attributes are specially processed to support more complex configuration logic.

[0077] Furthermore, in step S3, the processed configuration information is integrated into a unified logical format to facilitate subsequent drawing of a traffic map.

[0078] Furthermore, in step S4, XYZ loop logic is adopted, with L4 as the basic dimension, L7 as the enhanced dimension, and the Y axis representing related information such as service groups.

[0079] Furthermore, in step S4, the traffic path of the load balancing device is displayed on the map, including information such as the load policy name, service group, service member, and L7 template.

[0081] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A system for implementing traffic maps of multiple load balancing devices, characterized in that: It includes a collection module, an improved cognitive module, an automatic matching module for different load balancing, and a map module based on network traffic; The acquisition module reads the configuration information of the relevant load balancing device and supports multiple device types, such as F5 and A10; the acquisition module uses LOG mode to save the configuration information and downloads the relevant certificate files to the local computer. The acquisition module can quickly obtain the configuration data of multiple load balancing devices; The improved cognitive module is adapted to a variety of load balancing device environments, identifies and processes 4-layer and 7-layer configuration information. The improved cognitive module adds LTM and SLB modules, classifies the configuration fields, and splits them into valid information of 7-layer and 4-layer loads; the improved cognitive module improves the ability to interpret load balancing configurations, supports multiple types of load balancing devices, and realizes refined management of configurations.

2. A system for implementing traffic maps of multiple load balancing devices according to claim 1, characterized in that: The automatic matching module uniformly processes the L4 and L7 configuration logics of two different load balancing devices. The automatic matching module converts the configuration logics of the two load balancing devices into a unified format through an automatic matching algorithm to facilitate subsequent processing. The automatic matching module simplifies the complexity of configuration management and improves management efficiency.

3. A system for implementing traffic maps of multiple load balancing devices according to claim 1, characterized in that: The network traffic-based map module draws a network traffic-based map according to the processed configuration information to display the traffic path of the load balancing device. The network traffic-based map module adopts XYZ loop logic, takes L4 as the basic dimension and L7 as the enhanced dimension, and constructs a three-dimensional traffic map. The network traffic-based map module intuitively displays the traffic path of the load balancing device, which is convenient for managers to quickly locate problems and optimize the network structure.

4. A method for implementing a system for multiple load balancing device traffic maps according to any one of claims 1 to 3, characterized in that: The following steps are involved: S1: Collection load balancing configuration: Use Python scripts to collect configurations of load balancing devices and adopt corresponding collection strategies according to the device model; S2: Use cognitive modules to process the collected configuration data: Read the configuration information in the local file and classify the configuration fields using the cognitive module; S3: The automatic matching module logically integrates the processed load balancing configuration: Use automatic matching algorithms to unify L4 and L7 configurations, eliminating configuration differences between different load balancing devices; S4: Draw the actual network traffic map: According to the processed configuration information, a drawing module is used to draw a map based on network traffic.

5. A system and method for implementing traffic maps of multiple load balancing devices according to claim 4, characterized in that: In step S1, the collected configuration information is saved as a local file for subsequent processing.

6. A system and method for implementing traffic maps of multiple load balancing devices according to claim 4, characterized in that: In step S2, the configuration information is split into two categories, L4 and L7, and stored in corresponding data structures respectively. The L7 template and its related attributes are specially processed to support more complex configuration logic.

7. A system and method for implementing traffic maps of multiple load balancing devices according to claim 4, characterized in that: In step S3, the processed configuration information is integrated into a unified logical format to facilitate subsequent drawing of a traffic map.

8. A system and method for implementing traffic maps of multiple load balancing devices according to claim 4, characterized in that: In step S4, XYZ loop logic is adopted, with L4 as the basic dimension, L7 as the enhanced dimension, and the Y axis representing related information such as service groups.

9. A system and method for implementing traffic maps of multiple load balancing devices according to claim 4, characterized in that: In step S4, the traffic path of the load balancing device is displayed on the map, including information such as the load policy name, service group, service member, and L7 template.

Citation Information

Patent Citations

  • Traffic topology generation method and device, storage medium and electronic equipment

    CN112491601A

  • Traffic recording method, computer device, storage medium and computer program product

    CN116248320A

  • Network link visualization method and device

    CN117857323A

  • Topology-aware load balancing method and apparatus, and computer device

    US20230412674A1