Network configuration method, apparatus, device, storage medium, and product

By constructing a multi-mode probe sniffing device to perform multi-path hash traversal probing, the problem of low efficiency in network configuration, maintenance and management is solved, and efficient management and rapid adaptation of network resources are achieved, thereby improving the efficiency of network node detection and configuration.

CN118827379BActive Publication Date: 2025-12-30CHINA MOBILE FINANCIAL TECHNOLOGY CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410822174.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2025-12-30
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

Existing network configuration, maintenance, and management are inefficient, especially in complex cloud network environments where they struggle to meet the demands for efficient management and rapid changes, leading to resource waste and maintenance difficulties.

Method used

A multi-mode probe sniff is constructed, and the starting probe node is anchored by the number of multi-mode probe layers to perform multi-path hash traversal probes. The hash traversal probe results are obtained, and network product units are constructed based on these results. The network is configured according to user requirements.

Benefits of technology

It improves the efficiency of network node detection and resource allocation, enables efficient management and rapid adaptation of network resources, and reduces resource waste and maintenance difficulty.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118827379B_ABST
    Figure CN118827379B_ABST
Patent Text Reader

Abstract

The application discloses a network configuration method, device, equipment, storage medium and product, relates to the computer technical field, and the network configuration method comprises the steps of: constructing a multi-mode detection sniffer, and determining the number of multi-mode detection layers according to network resource pool information; anchoring a starting detection node according to the number of multi-mode detection layers, performing multi-path hash traversal detection based on the starting detection node and the multi-mode detection sniffer, and obtaining a hash traversal detection result; constructing a network product unit based on the hash traversal detection result; and performing network configuration according to the network product unit and user network demand. Since the application performs multi-path hash traversal detection on network resources, divides the network resources into network product units according to the detection result, and performs network configuration according to the network product units, the above-mentioned method of the application can improve network node detection efficiency and network resource configuration efficiency, compared with the existing point-to-point network configuration method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to network configuration methods, apparatus, devices, storage media, and products. Background Technology

[0002] The cloud service market in the internet industry is developing rapidly. Cloud services place extremely high demands on network stability. The industry often employs geographically dispersed multi-active disaster recovery systems, involving network communication between data centers spanning thousands of miles. This places extremely high demands on cloud network planning, management, transmission performance, network change detection, and health monitoring. Simultaneously, to achieve high availability and high performance within data centers, clustering and containerization are often used for deployment. Various business services will face complex mesh network call relationships. How to efficiently manage network access between numerous horizontal business functions and vertical cross-regional data center network communication is a common and systemic problem.

[0003] Currently, the industry adopts a "tenant" model, where network maintainers build and manage the physical network infrastructure and provide products on demand, while business service developers apply for network services using the "tenant" model. This leads to a disconnect between network configuration and business service management. Business service developers need to monitor and understand the network structure and implementation details throughout the process and maintain and manage the applied network themselves. For network builders, when numerous sources or targets change, some policies become ineffective, and a large number of useless policies are not cleaned up in time, resulting in wasted network resources and making maintenance and management difficult. Some enterprises have very broad and fixed network configuration solutions, providing very few network configuration policies. They basically use a "point-to-point" approach for network configuration maintenance, communication, and monitoring, which suffers from reliance on manual operation, difficulty in efficiently managing networks in complex environments, and challenges in unified management due to rapid network changes. Therefore, improving the efficiency of network configuration maintenance and management has become an urgent technical problem to be solved. Summary of the Invention

[0004] The main objective of this application is to provide a network configuration method, apparatus, device, storage medium, and product, which aims to solve the technical problem of low efficiency in existing network configuration maintenance and management.

[0005] To achieve the above objectives, this application proposes a network configuration method, which includes:

[0006] Construct a multi-mode detection sniffing probe and determine the number of multi-mode detection layers based on network resource pool information;

[0007] The starting detection node is anchored according to the number of multi-mode detection layers. Multi-path hash traversal detection is performed based on the starting detection node and the multi-mode detection sniffer to obtain the hash traversal detection result.

[0008] Network product units are constructed based on the hash traversal detection results;

[0009] Configure the network according to the network product unit and the user's network requirements.

[0010] Optionally, the step of constructing a multi-mode detection sniff and determining the number of multi-mode detection layers based on network resource pool information includes:

[0011] Determine the relationship between the number of basic resource node probes and the degree layer;

[0012] By enhancing the traversal coefficients to improve the relation representation, the target relation representation is obtained;

[0013] Construct a multi-mode detection sniffing probe and determine the basic resources of the resource pool based on the network resource pool information;

[0014] The number of multi-mode detection layers is determined based on the basic resources of the resource pool and the target relationship representation.

[0015] Optionally, the step of anchoring the starting probe node according to the number of multi-mode probe layers, performing multi-path hash traversal probing based on the starting probe node and the multi-mode probe sniffer, and obtaining the hash traversal probing result includes:

[0016] The network nodes at each layer are determined based on the multi-mode detection layer number and network resource pool information;

[0017] The starting probe node is anchored based on the network nodes at each layer;

[0018] The multi-mode probe is sent to the starting probe node, and the starting probe node is used as the target point for multi-path hash traversal probing to obtain the hash traversal probing result.

[0019] Optionally, the step of constructing network product units based on the hash traversal detection results includes:

[0020] The path detection result for each path is determined based on the hash traversal detection result;

[0021] The path detection results are input into a preset path planning model to obtain the balanced solution and weight values ​​of each node's module parameters output by the preset path planning model.

[0022] The optimal routing path from the source to the destination is determined based on the equilibrium solution and the weight values.

[0023] Construct network product units based on the optimal routing path.

[0024] Optionally, the step of configuring the network according to the network product unit and the user's network requirements includes:

[0025] Determine the source and destination of the demand based on the user's network requirements;

[0026] Select a target product from the network product unit based on the demand source and the demand destination;

[0027] Identify the target network node in the target product and obtain the configuration information of the target network node;

[0028] Configure the network based on the configuration information.

[0029] Optionally, after the step of configuring the network based on the configuration information, the method further includes:

[0030] Obtain the network element to be detected and determine the source node of the network element to be detected;

[0031] Based on the source node's movement along the routing link of the network unit to be detected, the health status of each network node in the network unit to be detected is detected one by one.

[0032] Furthermore, to achieve the above objectives, this application also proposes a network configuration apparatus, the network configuration apparatus comprising:

[0033] The determination module is used to construct a multi-mode detection sniff and determine the number of multi-mode detection layers based on network resource pool information;

[0034] The detection module is used to anchor the starting detection node according to the number of multi-mode detection layers, and perform multi-path hash traversal detection based on the starting detection node and the multi-mode detection sniffer to obtain the hash traversal detection result;

[0035] The construction module is used to construct network product units based on the hash traversal detection results;

[0036] The network configuration module is used to configure the network according to the network product unit and the user's network requirements.

[0037] In addition, to achieve the above objectives, this application also proposes a network configuration device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the network configuration method as described above.

[0038] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and which, when executed by a processor, implements the steps of the network configuration method described above.

[0039] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the network configuration method described above.

[0040] This application constructs a multi-mode probe sniff and determines the number of multi-mode probe layers based on network resource pool information; it anchors the starting probe node according to the number of multi-mode probe layers, performs multi-path hash traversal probing based on the starting probe node and the multi-mode probe sniff, and obtains the hash traversal probing results; it constructs network product units based on the hash traversal probing results; and it configures the network according to the network product units and user network requirements. Because this application performs multi-path hash traversal probing of network resources, divides network resources into network product units based on the probing results, and configures the network according to the network product units, compared to the existing point-to-point network configuration method, the above method of this application can improve the efficiency of network node probing and network resource configuration. Attached Figure Description

[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0042] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0043] Figure 1 This is a flowchart illustrating an embodiment of the network configuration method of this application.

[0044] Figure 2 This is a schematic diagram of traditional network path detection provided in Embodiment 1 of the network configuration method of this application;

[0045] Figure 3 This is a flowchart illustrating Embodiment 2 of the network configuration method of this application;

[0046] Figure 4 This is a schematic diagram of multipath synchronization detection provided in Embodiment 2 of the network configuration method of this application;

[0047] Figure 5 This is a schematic diagram of optimal network unitization provided in Embodiment 2 of the network configuration method of this application;

[0048] Figure 6 This is a schematic diagram of network configuration provided in Embodiment 2 of the network configuration method of this application;

[0049] Figure 7 This is a schematic diagram of the product model provided in Embodiment 2 of the network configuration method of this application;

[0050] Figure 8 This is a schematic diagram of the module structure of the network configuration device according to an embodiment of this application;

[0051] Figure 9 This is a schematic diagram of the device structure of the hardware operating environment involved in the network configuration method in this application embodiment.

[0052] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0053] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0054] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0055] The main solution of this application is as follows: Construct a multi-mode probe sniff and determine the number of multi-mode probe layers based on network resource pool information; anchor the starting probe node according to the number of multi-mode probe layers; perform multi-path hash traversal probing based on the starting probe node and the multi-mode probe sniff to obtain hash traversal probing results; construct network product units based on the hash traversal probing results; and configure the network according to the network product units and user network requirements. Since this application performs multi-path hash traversal probing on network resources, divides network resources into network product units based on the probing results, and configures the network according to the network product units, compared to the existing point-to-point network configuration method, the above method of this application can improve the efficiency of network node probing and network resource configuration.

[0056] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device or cloud management platform capable of performing the above functions. The following description uses a cloud management platform as an example to illustrate this embodiment and the subsequent embodiments.

[0057] Based on this, embodiments of this application provide a network configuration method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the network configuration method of this application.

[0058] In this embodiment, the network configuration method includes steps S10 to S40:

[0059] Step S10: Construct a multi-mode detection sniffing probe and determine the number of multi-mode detection layers based on the network resource pool information;

[0060] It should be understood that traditional network sniffing probing technology primarily uses traceroute for exhaustive path traversal. Its working principle involves the source host sending multiple sets of network probe packets to various target hosts. Each probe packet defines a Time-To-Live (TTL) attribute. The first probe packet initializes its TTL value to 1. Each time the probe packet passes through a network node, the router decrements the TTL value by 1. When the probe packet reaches 0, the router returns a timeout message. The time-to-live of the second network probe packet is incremented by 1, and the probe continues until the target host is reached. This series of probe messages can progressively display the network transmission path between the source and target hosts. (See reference...) Figure 2 , Figure 2 This is a schematic diagram of traditional network path detection provided in Embodiment 1 of the network configuration method of this application; Figure 2 The current method requires four probes, but as the network scales up, this method suffers from efficiency and performance issues, failing to meet the needs of efficient probes for large-scale networks with resource pools. Therefore, this embodiment proposes a new network probe method.

[0061] It should be noted that the multimode detection sniffer is a multimode detection packet designed in this embodiment, denoted as W. i (TTL, TO, TC, FR, ST, WF), where TTL is the time period, which can be represented as TTL(m), the value m represents the number of probes, TO is the timeout message (0 indicates a failure, 1 indicates there is a next node), TC is the link timeout (traceTimeConsuming, in ms), FR is the flow ratio (0 indicates no flow, 100 indicates full flow), ST is the status flag (0 indicates blocked, 1 indicates normal), WF is the node weight percentage (weight function, 0.1 indicates the reliability of this node is 10%, 1 indicates 100%), the subscript i indicates that the current probe is the i-th probe. If there are other forms, form parameter bits can be added. The initial state is W0 (0, 0, 0, 0, 0, ...).

[0062] It should be noted that determining the number of multi-mode detection layers based on network resource pool information can be achieved by determining the number of network nodes in the network resource pool based on the network resource pool information, obtaining a pre-set number of hierarchical network nodes, and then determining the number of multi-mode detection layers based on the number of hierarchical network nodes and the number of network nodes in the network resource pool. For example, if the number of network nodes in the network resource pool is 100 and the pre-set number of hierarchical network nodes is 10, meaning that there are 10 network nodes in one network detection layer, then the number of multi-mode detection layers is 100 / 10 = 10.

[0063] Step S20: Anchor the starting detection node according to the number of multi-mode detection layers, and perform multi-path hash traversal detection based on the starting detection node and the multi-mode detection sniffer to obtain the hash traversal detection result;

[0064] It should be noted that anchoring the starting probe node according to the number of multi-mode probe layers can mean selecting at least one network node as the starting probe node in each multi-mode probe layer. Performing multi-path hash traversal probing based on the starting probe node and the multi-mode probe sniff to obtain hash traversal probing results can mean sending the multi-mode probe sniff to the starting probe node, so that the starting probe node performs hash traversal based on the multi-mode probe sniff, obtaining the probing results of each traversed node, and thus obtaining the hash traversal probing results of the network resource pool.

[0065] Step S30: Construct a network product unit based on the hash traversal detection results;

[0066] It should be noted that the construction of network product units based on the hash traversal detection results can be achieved by determining the optimal path from the source end of each network node to the destination end of the network node according to the hash traversal detection results, and encapsulating each network node on the path to construct a network product unit.

[0067] Step S40: Configure the network according to the network product unit and the user's network requirements.

[0068] It should be noted that the network configuration based on the network product unit and user network requirements can be as follows: determine the source node and destination node based on the user network requirements; select a matching target network product unit from the network product units based on the source node and destination node; configure the network nodes in the target network product unit to be connected; specifically, determine the IP address, port, and other information of each network node in the target network product unit; generate a network configuration command script based on the IP address, port, and other information; and perform network configuration based on the network configuration command script.

[0069] This embodiment constructs a multi-mode probe sniff and determines the number of multi-mode probe layers based on network resource pool information. It anchors the starting probe node according to the number of multi-mode probe layers, performs multi-path hash traversal probing based on the starting probe node and the multi-mode probe sniff, and obtains the hash traversal probing results. Based on the hash traversal probing results, it constructs network product units. Finally, it configures the network according to the network product units and user network requirements. Because this embodiment performs multi-path hash traversal probing on network resources, divides network resources into network product units based on the probing results, and configures the network according to the network product units, compared to the existing point-to-point network configuration method, this embodiment can improve the efficiency of network node probing and network resource configuration.

[0070] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 2 Step S10 further includes steps S101 to S104:

[0071] Step S201: Determine the relationship between the number of basic resource node probes and the degree layer;

[0072] It should be noted that the relationship between the number of basic resource node probes and the degree layer can be represented by anchoring a time period TTL(m) and calculating the number of probe layers n by performing a tree-like inverse calculation based on the network probe scale. The calculation method is as follows: taking any network resource node as the root node, starting from this node, the minimum level is 1, at which point the degree value is 1, and the number of nodes is 1. The second level corresponds to 3 nodes, at which point the degree is 2... The nth level corresponds to 2... n With -1 node, the relationship between the number of basic resource node probes and the degree layer is as follows:

[0073]

[0074] Step S202: Improve the relation representation by strengthening the traversal coefficients to obtain the target relation representation;

[0075] It should be noted that since network nodes do not necessarily belong to a complete binary tree structure, but can be considered as a superposition of complete binary tree structures, we assign a strengthening traversal coefficient ∮(2) to the superposition state. n ), of which 2 n To correspond to the increase in the number of layers, the superposition state layers are increased exponentially. By strengthening the traversal coefficients to improve the relationship representation, the target relationship representation is obtained as follows:

[0076]

[0077] Step S203: Construct a multi-mode probe and determine the basic resources of the resource pool based on the network resource pool information;

[0078] It should be noted that determining the basic resources of the resource pool based on the network resource pool information can be done by determining the number of basic resource node probes M based on the number of network nodes in the network resource pool information.

[0079] Step S204: Determine the number of multi-mode detection layers based on the basic resources of the resource pool and the target relationship representation.

[0080] It should be noted that determining the number of multi-mode detection layers based on the basic resources of the resource pool and the target relationship representation can be achieved by constructing the following equation based on the basic resources of the resource pool and the target relationship representation:

[0081]

[0082] From this equation, we can derive the layer value n, which is the number of multimode detection layers.

[0083] Furthermore, step S20 may include: determining the network nodes at each layer based on the number of multi-mode detection layers and the network resource pool information;

[0084] The starting probe node is anchored based on the network nodes at each layer;

[0085] The multi-mode probe is sent to the starting probe node, and the starting probe node is used as the target point for multi-path hash traversal probing to obtain the hash traversal probing result.

[0086] It should be noted that one or more nodes can be selected as the starting probe node in each layer. Determining the network nodes at each layer based on the multi-mode probe layer number and network resource pool information can be done by determining the existing connection relationships of each network node in the network resource pool. For example, if the existing path is source node - network node 1 - network node 2, then the source node can be a first-layer network node, network node 1 can be a second-layer network node, network node 2 can be a third-layer network node, and the destination network node can be an nth-layer network node. Anchoring the starting probe node based on the network nodes at each layer can be done by selecting one or more nodes as the starting probe node in each layer. This can be done randomly or by other selection methods.

[0087] In specific implementation, it can be referred to Figure 4 , Figure 4 This is a schematic diagram of multi-path synchronous probing provided in Embodiment 2 of the network configuration method of this application; multiple nodes are selected simultaneously as traversal target points in each degree layer to initiate hash traversal, such as... Figure 4Taking three device resources (device 2, device n, and secondary network node n) as the starting point as an example, device 2 is used as the TTL (m), device n is used as the TTL (0) at the 0th degree layer, and secondary network node n is used as the TTL (2). Probe packets W2(0, 0, 0, 0, 0), ... m (0, 0, 0, 0, 0), ω 2-m If (2, 0, 0, 0, 0) indicates that "device n" is an isolated island, then the probe packet is marked as W. m (0-degree layer, 0 no next node, 0 time consumption, 0 traffic percentage, 0 blocking); Device 2 is detected to be active, TTL incremented by 2 to continue probing downwards to nodes "Level 1 Network Node 2" and "Level 1 Node...". At this time, the probe packet of Device 2 will mark the status information of this node W2 (0-degree layer, 1 next node, 1.5ms, 20%, 1 normal). "Level 1 Network Node 2" continues to probe to its next set of nodes, and so on until the src source node of the last layer is reached.

[0088] In this case, if during the W2 detection process, a certain node (e.g., W) is reached... 30 If the state is blocked, it means that the node is not accessible. Traversal of this node should be terminated, and the probe packet for this node should be marked as W. 30 (30, 0, 0, 0, 0); If this node is detected by the probe packet W during the detection process. 2n Once a node has been marked for detection, probing of that node and subsequent nodes is stopped. Simultaneously initiating multi-path hash traversal probing yields a complete network link information graph, improving probing efficiency compared to traditional single-source origin probing methods and ensuring the efficiency and completeness of network path collection. Furthermore, the multi-mode design of the probe packets records the corresponding attribute values ​​of each path node during path probing, completing the collection of link node status information (status, next node information, link duration, traffic share, etc.), providing parameter sources for further data processing. Additionally, probing of each link node can be initiated periodically to ensure the continuous updating of the network link information graph in the network resource pool.

[0089] Furthermore, after obtaining the current element information of each network link and node in the resource pool through the intelligent multi-path multi-mode network sniffing detection above, the next problem to be solved is how to select the optimal network path among many network paths. Therefore, step S30 includes: determining the path detection result of each path based on the hash traversal detection result.

[0090] The path detection results are input into a preset path planning model to obtain the balanced solution and weight values ​​of each node's module parameters output by the preset path planning model.

[0091] The optimal routing path from the source to the destination is determined based on the equilibrium solution and the weight values.

[0092] Construct network product units based on the optimal routing path.

[0093] It should be noted that the path detection results for each path can include information such as the status of each network node, next node information, link latency, and traffic share obtained after detection. The preset path planning model can be a model pre-trained using sample data, capable of predicting the balance solution and weight values ​​between each network link. The preset path planning model is trained based on a multilayer feed-forward neural network (MLN) algorithm. Determining the optimal route from the source to the destination based on the balance solution and the weight values ​​can be achieved by multiplying the balance solution and the weight values ​​to obtain the link score between each pair of nodes, and then selecting the path with the highest score from the source to the destination node as the optimal route. Figure 4 The complex mesh network graph, through the aforementioned optimal network routing techniques, forms the following optimal communication path from the source node to the destination node: Figure 5 The network product units shown are arranged in rows. Figure 5 This is a schematic diagram of optimal network unitization provided in Embodiment 2 of the network configuration method of this application. Users can directly order network product units according to their business needs without having to pay attention to the network node links and configuration information inside the network product unit.

[0094] In practical implementation, node B (source) in data center A needs to establish network access to cluster D (destination) in data center C. This involves numerous device resource nodes such as gateways, ng, firewalls, routers, and network interface cards (NICs), with multiple routers available. Based on the element information obtained from network sniffing (i.e., multi-path hash traversal probing) (i.e., hash traversal probing results), a preset path planning model is used to derive the optimal resource path, forming the optimal network product unit from node B to cluster D. The business network requester only needs to apply to the network management platform to order this unit. Simultaneously, a cloud-based network application operation page can be set up for one-click drag-and-drop or selection of network product units. Network requesters, i.e., the aforementioned users, can easily drag and drop or select the required network product units on the cloud operation page to complete the network policy editing and sorting according to their network needs.

[0095] Furthermore, in order to achieve automatic configuration of network policies at the consumer end, step S40 may include: determining the demand source end and the demand destination end according to the user's network requirements;

[0096] Select a target product from the network product unit based on the demand source and the demand destination;

[0097] Identify the target network node in the target product and obtain the configuration information of the target network node;

[0098] Configure the network based on the configuration information.

[0099] It should be noted that, for example, if a user's network requirement is that node B in data center A needs to connect to cluster D in data center C, then the source of the requirement is node B, and the destination is cluster D. Selecting a target product from the network product units based on the source and destination can be done by selecting a network product unit that matches the source and destination. Alternatively, it can involve performing a multi-path hash traversal probe based on the source and destination, and then replanning the corresponding network product unit using a preset path planning model based on the hash traversal probe results. This method is applicable to scenarios where there are no network product units in the existing set that match the source and destination. The target network node can be a network node included in the target product, and the configuration information can be the IP address, port information, etc., of the target network node. Network configuration based on the configuration information can be done by configuring each target network node in the target product according to the configuration information, enabling normal communication between the target network nodes.

[0100] Furthermore, in order to detect anomalies in a timely manner, after the step of configuring the network based on the configuration, the method further includes:

[0101] Obtain the network element to be detected and determine the source node of the network element to be detected;

[0102] Based on the source node's movement along the routing link of the network unit to be detected, the health status of each network node in the network unit to be detected is detected one by one.

[0103] It should be noted that the network unit to be probed can be a network product unit or a network node that requires anomaly detection. When the network unit to be probed is a network product unit, the source node of the network unit to be probed is determined, and network detection is performed along the link starting from the source node of the network unit to be probed to obtain the network detection status of each network node.

[0104] In specific implementation, it can be referred to Figure 6 , Figure 6 This is a schematic diagram of network configuration provided in Embodiment 2 of the network configuration method of this application; the specific method of network configuration is as follows:

[0105] Step 1: Obtain the source and destination node numbers of the network request submitted by the network requester (user). Retrieve the corresponding network policy list from the cloud resource pool based on the node numbers, and then obtain the IP access control list based on the network policy list. Figure 6 The list of network IP configurations.

[0106] Step 2: Traverse the list information and execute script conversion based on different network configuration types: Generate network configuration command scripts from the IP and port information of network nodes. For example, the PIX firewall configuration command is: `interface`. The `Interface` configuration can handle functions such as enabling or disabling the interface, configuring the interface speed, and naming the interface. Syntax examples are as follows:

[0107] -interface ethernet0 auto

[0108] / / Set the e0 interface to automatically set the connection speed

[0109] -interface ethernet2 100ful

[0110] / / Manually specify the connection speed for interface 2 as 100M

[0111] Step 3: Configure security group / firewall interface connections: Execute the configuration command script to send request packets to the corresponding security group, firewall, router, etc. to complete the configuration.

[0112] For reference Figure 7 , Figure 7 This is a schematic diagram of the product model provided in Embodiment 2 of the network configuration method of this application;

[0113] This embodiment may include five parts: network resource pool management, intelligent network sniffing probe detection and model building computational network unitization engine, customer network demand process coding model engine, network policy dynamic distribution and automated verification engine, and network dynamic monitoring and alarm device. For example... Figure 7As shown, the "Network Resource Pool" primarily involves basic maintenance and inventory management of the underlying network resource list by network administrators. The "Network Policy Model Construction Calculation Engine" mainly employs intelligent network sniffing engine technology and optimal network routing technology based on deep neural network algorithms, namely the multi-path hash traversal probing mentioned above and path planning through a preset path planning model. This includes: ① intelligent network sniffing engine technology and ② constructing optimal network routes based on neural network algorithms to achieve network product unitization technology. This engine performs concurrent multi-path probing of the connection information in the network resource pool, obtaining data parameters such as the status and performance of each network resource. It integrates the basic network resources of the network resource pool and the network status collected by the intelligent network sniffing engine through neural network algorithms to provide optimal network routing units, generating a unitized network product for business users to independently order the required network products.

[0114] The "Network Dynamic Monitoring and Alarm Module" scores the network monitoring status based on configured alarm policies, alarm thresholds, traffic ratios, and priorities, and notifies network administrators of the evaluation results. The highly efficient intelligent multichannel multimode path detection (MMPD) technology mentioned above effectively collects and organizes the health status of network resources. The network monitoring and alarm mechanism scheme is as follows:

[0115] ① Taking network product units as the unit, starting from the source node of the network product unit, proceed along the link to obtain the network detection status of each sub-node.

[0116] ② For probing a single node, simply send the probe packet to the corresponding node using the normal path.

[0117] ③ During the probing and traversal process, if an abnormal network node status is encountered, an abnormal message is sent to the notification queue, which can be sent to network administrators via SMS interface. Simultaneously, the multi-mode W of this node is also recorded. m The value is updated, and the associated network unit is set to "suspicious status".

[0118] ④ The intelligent routing calculation engine re-builds routes for network units in "suspicious states." If a new optimal network path can be generated, the optimal value of the network unit product is updated, allowing the network of the abnormal node to automatically return to normal. If an optimal path cannot be generated, an exception message is sent to the network administrator for intervention, and the business requester is notified: "A network unit requested by one of your services has an exception, and network personnel are handling it. Please pay attention to the service operation."

[0119] This embodiment breaks with conventional design, proposing a bottom-up approach to building a one-stop management system for intelligent cloud-based business service networks. Through a "network strategy model construction calculation engine," the network resource pool is modularized into network products. Users only need to select the required network product units, and the cloud management platform handles the "network product orchestration." The "network strategy dynamic distribution engine" completes the physical network configuration. An "automatic network status verification engine" automatically verifies the distributed network configurations and delivers the results to the users. Simultaneously, a "network dynamic monitoring and alarm device" monitors initiated network requests in real time, issuing real-time alarms to network administrators if any anomalies are detected. The "new intelligent network sniffing engine" in this embodiment probes the existing network, promptly reporting stability issues such as network additions and changes, interruptions, network jitter, network connection counts, and line traffic to the "network strategy model construction calculation engine (preset path planning model)" for re-optimization calculation of the network resource pool, adjusting the product unitization model. Throughout this process, the business side can adjust the optimal network path almost imperceptibly.

[0120] This embodiment proposes a more efficient multichannel multimode path detection (MMPD) technique than traditional traceroute. The specific detection method is as follows: A multichannel sniffing probe is constructed to simultaneously collect multichannel states in a single detection; the total number of detection layers (n) is calculated in reverse tree structure based on the network node size; the starting detection node is simultaneously anchored on multiple paths in each detection layer, forming a network graph through flood detection links. By simultaneously anchoring the starting detection node on multiple paths in the multichannel detection layer, the entire network path can be detected in just two rounds.

[0121] This embodiment determines the relationship between the number of basic resource node probes and the degree layer; it improves the relationship representation by strengthening the traversal coefficients to obtain the target relationship representation; it constructs a multi-mode probe sniff and determines the basic resources of the resource pool based on the network resource pool information; and it determines the number of multi-mode probe layers based on the basic resources of the resource pool and the target relationship representation. This embodiment designs a multi-mode sniff layered anchor point path probing system to intelligently perform multi-modal, layered anchor point probing to discover network additions and changes, intelligently grasp network change information, and thus perform optimal network path adjustments to improve network configuration efficiency.

[0122] This application also provides a network configuration device, please refer to... Figure 8 The network configuration device includes:

[0123] Module 10 is used to construct a multi-mode detection sniff and determine the number of multi-mode detection layers based on network resource pool information;

[0124] The detection module 20 is used to anchor the starting detection node according to the number of multi-mode detection layers, and perform multi-path hash traversal detection based on the starting detection node and the multi-mode detection sniff to obtain the hash traversal detection result.

[0125] Construction module 30 is used to construct network product units based on the hash traversal detection results;

[0126] The network configuration module 40 is used to configure the network according to the network product unit and the user's network requirements.

[0127] This embodiment constructs a multi-mode probe sniff and determines the number of multi-mode probe layers based on network resource pool information. It anchors the starting probe node according to the number of multi-mode probe layers, performs multi-path hash traversal probing based on the starting probe node and the multi-mode probe sniff, and obtains the hash traversal probing results. Based on the hash traversal probing results, it constructs network product units. Finally, it configures the network according to the network product units and user network requirements. Because this embodiment performs multi-path hash traversal probing on network resources, divides network resources into network product units based on the probing results, and configures the network according to the network product units, compared to the existing point-to-point network configuration method, this embodiment can improve the efficiency of network node probing and network resource configuration.

[0128] The network configuration device provided in this application, employing the network configuration method described in the above embodiments, can solve the technical problem of low efficiency in existing network configuration maintenance and management. Compared with the prior art, the beneficial effects of the network configuration device provided in this application are the same as those of the network configuration method provided in the above embodiments, and other technical features in the network configuration device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0129] This application provides a network configuration device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the network configuration method in Embodiment 1 above.

[0130] The following is for reference. Figure 9This document illustrates a structural diagram of a network configuration device suitable for implementing embodiments of this application. The network configuration device in these embodiments may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 9 The network configuration device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0131] like Figure 9 As shown, the network configuration device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1002 or a program loaded from storage device 1003 into random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the network configuration device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the network configuration device to communicate wirelessly or wiredly with other devices to exchange data. Although network configuration devices with various systems are shown in the figures, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems may be implemented alternatively.

[0132] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0133] The network configuration device provided in this application, employing the network configuration method described in the above embodiments, can solve the technical problem of low efficiency in existing network configuration maintenance and management. Compared with the prior art, the beneficial effects of the network configuration device provided in this application are the same as those of the network configuration method provided in the above embodiments, and other technical features in this network configuration device are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0134] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0135] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0136] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the network configuration method described in the above embodiments.

[0137] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0138] The aforementioned computer-readable storage medium may be included in the network configuration device; or it may exist independently and not be assembled into the network configuration device.

[0139] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the network configuration device, cause the network configuration device to perform the aforementioned network configuration method.

[0140] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0141] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0142] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0143] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described network configuration method, thereby solving the technical problem of low efficiency in existing network configuration maintenance and management. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the network configuration method provided in the above embodiments, and will not be repeated here.

[0144] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the network configuration method described above.

[0145] The computer program product provided in this application can solve the technical problem of low efficiency in existing network configuration, maintenance and management. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the network configuration method provided in the above embodiments, and will not be repeated here.

[0146] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A network configuration method characterized by, The network configuration method comprises the following steps: constructing a multi-mode detection sniffing needle and determining a multi-mode detection layer number according to network resource pool information; anchoring a starting detection node according to the multi-mode detection layer number, performing multi-path hash traversal detection based on the starting detection node and the multi-mode detection sniffing needle, and obtaining a hash traversal detection result; constructing a network product unit based on the hash traversal detection result; performing network configuration according to the network product unit and user network demand; wherein the multi-mode detection sniffing needle is a multi-mode detection packet, comprising a time period, a timeout message, a link time consumption, a traffic ratio, a state flag, and a node weight percentage.

2. The network configuration method of claim 1, wherein, The step of constructing a multi-mode detection sniffing needle and determining a multi-mode detection layer number according to network resource pool information comprises: determining a relationship representation of a basic resource node detection number and a degree layer; perfecting the relationship representation by a traversal coefficient to obtain a target relationship representation; constructing a multi-mode detection sniffing needle and determining a resource pool basic resource according to network resource pool information; determining a multi-mode detection layer number based on the resource pool basic resource and the target relationship representation.

3. The network configuration method of claim 1, wherein, The step of anchoring a starting detection node according to the multi-mode detection layer number, performing multi-path hash traversal detection based on the starting detection node and the multi-mode detection sniffing needle, and obtaining a hash traversal detection result comprises: determining each layer network node according to the multi-mode detection layer number and network resource pool information; anchoring a starting detection node based on the each layer network node; sending the multi-mode detection sniffing needle to the starting detection node, and performing multi-path hash traversal detection taking the starting detection node as a target point to obtain a hash traversal detection result.

4. The network configuration method of claim 1, wherein, The step of constructing a network product unit based on the hash traversal detection result comprises: determining a path detection result of each path according to the hash traversal detection result; inputting the path detection result into a preset path planning model to obtain a balanced solution and a weight value of each mode parameter of a node output by the preset path planning model; determining an optimal routing path from a source end to a destination end based on the balanced solution and the weight value; constructing a network product unit according to the optimal routing path.

5. The network configuration method according to any one of claims 1 to 4, characterized by, The step of performing network configuration according to the network product unit and user network demand comprises: determining a demand source end and a demand destination end according to user network demand; selecting a target product from the network product unit based on the demand source end and the demand destination end; determining a target network node in the target product and obtaining configuration information of the target network node; performing network configuration based on the configuration information.

6. The network configuration method of claim 5, wherein, After the step of performing network configuration based on the configuration information, the method further comprises: obtaining a to-be-detected network unit, and determining a source end node of the to-be-detected network unit; based on the source end node, advancing along a routing link of the to-be-detected network unit, and detecting a health state of each network node in the to-be-detected network unit one by one.

7. A network configuration apparatus characterized by comprising: The network configuration device comprises: a determination module configured to construct a multi-mode detection sniffing needle and determine a multi-mode detection layer number according to network resource pool information; The detection module is configured to anchor a starting detection node in each detection layer simultaneously according to the multi-mode detection layers, and perform multi-path hash traversal detection based on the starting detection node and the multi-mode detection sniffers to obtain a hash traversal detection result. The construction module is configured to construct a network product unit based on the hash traversal detection result. The network configuration module is configured to perform network configuration according to the network product unit and a user network demand. The multi-mode detection sniffer is a multi-mode detection packet, and includes a time period, a timeout message, a link time consumption, a traffic proportion, a state flag, and a node weight percentage.

8. A network configuration device, characterized by The device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the network configuration method according to any one of claims 1 to 6.

9. A storage medium, characterized by The storage medium is a computer-readable storage medium, and the storage medium stores a computer program, and the computer program is executed by the processor to implement the steps of the network configuration method according to any one of claims 1 to 6.

10. A computer program product, characterised in that, The computer program product includes a computer program, and the computer program is executed by the processor to implement the steps of the network configuration method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Physical path determination for virtual network packet flows

    CN105262615A

  • Intelligent adaptive transport layer to enhance performance using multiple channels

    CN109565471A