A network management method, apparatus, electronic device and storage medium

By obtaining the creation instructions of the scheduling unit and configuring network parameters in a distributed system of multi-cloud clusters, the packet or multi-layer routing forwarding problems during packet transmission are solved, and network performance losses are reduced.

CN116233025BActive Publication Date: 2025-06-24CHINA TELECOM CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211640357.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-20
Publication Date
2025-06-24
Estimated Expiration
2042-12-20

AI Technical Summary

Technical Problem

In multi-cloud cluster application scenarios, data packets need to be packetized or multi-layer routing forwarded, resulting in network performance loss.

Method used

By obtaining the creation instructions of the scheduling unit in the target work node of the distributed system, creating the scheduling unit, and querying local network resources. The scheduling unit is configured according to the local network resources, updated the local network resources, and transmitted to other work nodes for business access.

Benefits of technology

It avoids packets or multi-layer routing forwarding when data packets are transmitted between networks, reducing network performance losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116233025B_ABST
    Figure CN116233025B_ABST
Patent Text Reader

Abstract

The present invention discloses a network communication management method, device, electronic device and storage medium, relating to the technical field of network communication. The method is applied to a working node in a distributed system composed of multiple cloud platforms. The distributed system includes multiple working nodes. The method includes first obtaining a creation instruction of a scheduling unit, then creating the scheduling unit according to the creation execution instruction, and querying native network resources locally. The native network resources are obtained by partitioning the native network resources in the distributed system. Then, according to the native network resources, network parameters of the scheduling unit are configured. Through the network parameter information, the local network resources are updated and transmitted to other working nodes except the working node, so that other working nodes can access any scheduling unit according to the updated configured network resources. When transmitting between networks, packet encapsulation or multi-layer routing forwarding of the data packet is avoided, reducing network performance loss.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network communication technologies, and in particular, to a network management method, apparatus, electronic device, and storage medium. Background Art

[0002] In the prior art, with the increasing application scope of the cloud, there are more and more application scenarios of forming a multi-cloud cluster by using multiple heterogeneous cloud platforms. Among them, different architecture cloud platforms usually communicate through multiple layers of networks, such as calico network, etc. However, during the data transmission process, it is often necessary to perform packet encapsulation on the data packet again, or the data packet passes through multiple layers of routing and forwarding, which increases the network performance loss. Summary of the Invention

[0003] In view of the above problems, the present invention is proposed to provide a network management method, apparatus, electronic device, and storage medium that overcome the above problems or at least partially solve the above problems.

[0004] Based on the first aspect of the present invention, a network management method is provided, which is applied to a target working node in a distributed system composed of multiple cloud platforms. The distributed system includes multiple working nodes, and the method includes:

[0005] Obtain a creation instruction of a scheduling unit;

[0006] Create a scheduling unit according to the creation instruction, and query local network resources, where the local network resources are obtained by splitting the native network resources in the distributed system, and the network parameter information in the native network resources is different from each other;

[0007] Configure network parameters of the scheduling unit according to the local network resources;

[0008] Update the local network resources through the network parameter information of the scheduling unit, and transmit them to other working nodes except the target working node, so that other working nodes can perform service access to any scheduling unit in the target working node according to the obtained local network resources.

[0009] Based on the second aspect of the present invention, a network management apparatus is further provided, which is applied to a target working node in a distributed system composed of multiple cloud platforms. The distributed system includes multiple working nodes, and the apparatus includes:

[0010] An instruction acquisition module, configured to obtain a creation instruction of a scheduling unit;

[0011] A unit creation module, configured to create a scheduling unit according to the creation instruction and query local network resources, where the local network resources are obtained by splitting the native network resources in the distributed system, and the network parameter information in the native network resources is different from each other;

[0012] A network parameter configuration module, configured to configure network parameters for the scheduling unit according to the local network resources;

[0013] A network resource update module, configured to update the local network resources through the network parameter information of the scheduling unit and transmit the updated local network resources to other worker nodes except the worker node, so that other worker nodes can perform service access to any scheduling unit in the target worker node according to the obtained local network resources.

[0014] Based on the third aspect of the present invention, there is also provided an electronic device, including:

[0015] One or more processors;

[0016] A memory;

[0017] One or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute any of the methods described above.

[0018] Based on the fourth aspect of the present invention, there is also provided a computer-readable storage medium storing a computer program for use in combination with an electronic device, where the computer program can be executed by a processor to complete any of the methods described above.

[0019] Compared with the prior art, the present invention is applied to worker nodes in a distributed system composed of multiple cloud platforms. The distributed system includes multiple worker nodes. The method includes first obtaining a creation instruction for a scheduling unit, then creating the scheduling unit according to the creation execution instruction, and querying native network resources locally. The native network resources are obtained by splitting the native network resources in the distributed system. Then, network parameters of the scheduling unit are configured according to the native network resources. The local network resources are updated through the network parameter information and transmitted to other worker nodes except the worker node, so that other worker nodes can access any scheduling unit in the target worker node according to the updated configured network resources. Thus, when transmitting between networks, packet encapsulation or multi-layer routing forwarding of the data packet is avoided, and network performance loss is reduced.

[0020] The above description is only an overview of the technical solution of the present invention. In order to understand the technical means of the present invention more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable, the specific embodiments of the present invention are specifically exemplified below. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] By reading the following detailed description of the preferred embodiments, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present invention. Moreover, throughout the drawings, the same reference numerals are used to represent the same components.

[0022] In the drawings:

[0023] Figure 1 is a schematic diagram of an exemplary structure of a distributed system provided by an embodiment of the present invention;

[0024] Figure 2 is a schematic diagram of the step flow of a network management method provided by an embodiment of the present invention;

[0025] Figure 3 is a schematic diagram of the step flow of another network management method provided by an embodiment of the present invention;

[0026] Figure 4 is a schematic diagram of the structure of a network management device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0027] The exemplary embodiments of the present invention will be described in more detail below with reference to the drawings. Although the exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided so that the present invention can be more thoroughly understood and the scope of the present invention can be completely conveyed to those skilled in the art.

[0028] Referring to Figure 1 , a schematic diagram of the structure of a distributed system involved in the embodiments of the present invention is shown. The distributed system may be a K8S (also known as Kubernetes) system, which is built on multiple cloud platforms. Among them, the multiple cloud platforms may be a private cloud platform and a public cloud platform corresponding to the same cloud service provider, or cloud platforms provided by different cloud service providers.

[0029] The distributed system includes at least one management node and multiple worker nodes. Among them, the following method embodiments are applied to any one of the worker nodes.

[0030] Referring to Figure 2, which shows a network management method provided by an embodiment of the present invention. The method may include:

[0031] S201. Obtain a creation instruction for a scheduling unit.

[0032] S202. Create a scheduling unit according to the creation instruction and query local network resources.

[0033] S203. Configure network parameters for the scheduling unit according to the local network resources.

[0034] S204. Update the local network resources through the network parameter information of the scheduling unit and transmit them to other working nodes except the target working node.

[0035] In an embodiment of the present invention, the scheduling unit can be understood as the smallest scheduling unit in the K8S system, which can be called a Pod. After the user terminal submits a creation request for the scheduling unit, the management node generates a creation instruction according to the creation request sent by the user terminal and sends it to the target working node, and the target working node can be arbitrarily selected from multiple working nodes in the distributed system.

[0036] After obtaining the creation instruction for the scheduling unit, the target working node can create a scheduling unit according to the creation instruction and query local network resources when the scheduling unit is created. Among them, the local network resources are obtained by splitting the native network resources in the distributed system, and the network parameter information in the native network resources is different from each other. When determining the target working node for creating the scheduling unit, the system will pre-evaluate the resources of each target working node and finally determine the target working node. Considering the characteristic of the K8S system to balance resources, the native network resources can be split in advance.

[0037] Configure network parameters for the scheduling unit according to the local network resources to determine the corresponding network parameter information, where the network parameter information may at least include a network address. The network parameter information may include a network address, so that the corresponding scheduling unit can be identified by different network addresses. Finally, update the local network resources through the network parameter information of the scheduling unit and transmit them to other working nodes except the target working node. Thus, other working nodes can perform service access to any scheduling unit in the target working node according to the updated local network resources of the target working node. Thus, when transmitting between networks, packet encapsulation or multi-layer routing forwarding of the data packet is avoided, and the network performance loss is reduced.

[0038] In one embodiment, the working node may be a virtual host. When each additional working node is added, the native network resources corresponding to the distributed system will also increase. Therefore, for the convenience of identification and unification, when the system detects the creation of a new working node, the native network resources in the distributed system are updated.

[0039] Referring to Figure 3 , there is shown a network management method provided by an embodiment of the present invention. The method may include:

[0040] S301. Obtain a creation instruction of a scheduling unit.

[0041] S302. Create a scheduling unit according to the creation instruction and query the local network resources.

[0042] In an embodiment of the present invention, a scheduling creation control is provided on the display interface of the user terminal. Based on the triggering operation of the scheduling creation control, a creation request for the scheduling unit is generated and uploaded to the management node. The management node generates a creation instruction according to the creation request sent by the user terminal and sends it to the target working node, which may be arbitrarily selected from multiple working nodes in the distributed system.

[0043] After obtaining the creation instruction of the scheduling unit, the target working node may create a scheduling unit according to the creation instruction and query the local network resources when the scheduling unit is created. Among them, the local network resources are obtained by splitting the native network resources in the distributed system, and the network parameter information in the native network resources is different from each other. When determining the target working node for creating the scheduling unit, the system will pre-evaluate the resources of each target working node and finally determine the target working node. Considering the resource balancing characteristics of the K8S system, the native network resources may be split in advance.

[0044] S303. Determine the available resource quantity corresponding to the local network resources.

[0045] S304. Determine whether the available resource quantity meets the resource configuration condition.

[0046] In an embodiment of the present invention, it is determined whether the available resource quantity meets the resource configuration condition. If so, step S305 is executed; if not, step S306 is executed.

[0047] The number of available resources can be understood as the number of network addresses that can be used for allocation in the local network resources, and the resource configuration condition is determined according to the creation situation of the scheduling unit within the target period. Among them, the target time period refers to the first time interval from a certain past moment to the current moment. Those skilled in the art can determine the first time interval according to the actual application scenario, and no excessive limitation is made here. In one embodiment, the resource configuration condition may be that the number of available resources is greater than or equal to the number of created scheduling units within the target time period. For example, the resource configuration condition may be that the number of available resources is greater than or equal to the number of creations within the target node in the past 30 minutes.

[0048] S305. Configure network parameters for the scheduling unit.

[0049] S306. Output a network configuration request.

[0050] S307. Receive the allocable native network resources in response to the network parameter configuration request.

[0051] S308. Configure network parameters for the scheduling unit based on the local network resources and the allocable native network resources.

[0052] In the embodiment of the present invention, when the number of available resources meets the resource configuration condition, it indicates that at the current moment, there are allocable local network resources to configure the network parameters of the currently created scheduling unit. Therefore, configure the network parameters for the scheduling unit based on the local network resources to obtain the network parameter information of the scheduling unit.

[0053] In another example, when the number of available resources does not meet the resource configuration condition, it indicates that at the current moment, there may be no allocable local network resources to configure the network parameters of the currently created scheduling unit. Therefore, a configuration request for network parameter information can be generated and sent to the management node. The management node performs a splitting operation based on the undivided native network resources to determine the allocable native network resources, and returns them to the target working node corresponding to the sent configuration request. Thus, the network parameters of the scheduling unit can be configured based on the local network resources and the allocable native network resources to determine the corresponding network parameter information.

[0054] During the configuration process of network parameters, the local network resources can be preferentially used to configure the parameters of the scheduling unit. In case of configuration failure, the allocable native network resources are then used to perform the second configuration of the network parameters of the scheduling unit to determine the corresponding network parameter information. Among them, the network parameter information can at least include network addresses, so that the corresponding scheduling units can be identified by different network addresses.

[0055] In an alternative embodiment of the invention, when the quantity of available resources meets the conditions for resource configuration, it can further be determined whether the quantity of available resources meets the resource release conditions. Among them, the resource release conditions are determined according to the creation situation of the scheduling unit within the target time period.

[0056] The target time period refers to the first time interval from a certain past moment to the current moment. Those skilled in the art can determine the first time interval according to the actual application scenario and will not be elaborated here. In one embodiment, the resource release condition can be that the quantity of available resources is greater than or equal to N times the creation quantity of the scheduling unit within the target time period. Among them, N refers to a positive integer greater than or equal to 2.

[0057] When the quantity of available resources meets the resource release conditions, it is determined that there is a large redundancy of allocable network addresses in the local network resources, so the native network resources are released. And the released network resources are output to the system, so that the management node can update the allocable native network resources based on the released network resources, so as to schedule more allocable native network resources in the later stage, thereby further optimizing the network performance of the system.

[0058] In an alternative embodiment of the invention, the configuration of the network parameters of the scheduling unit based on the local network resources includes:

[0059] Select one of the multiple allocable network addresses in the local network resources as the target network address.

[0060] Configure the network parameters of the scheduling unit based on the target network address and network bandwidth.

[0061] In an embodiment of the present invention, the local network resources may include network parameter information, and the network parameter information may include a network address and a network bandwidth. The network address refers to an IP (Internet Protocol) address. The network bandwidth refers to the amount of data that can be transmitted per unit time. Among them, the scheduling unit can be determined according to the processing requirements of the data volume corresponding to the processed service. For example, a bandwidth input control can be provided in the display interface of the user terminal, so that the user can combine the service requirements and the local network resources corresponding to the working node to edit the corresponding network bandwidth. Based on the trigger of the bandwidth input control, the network bandwidth of the scheduling unit is obtained and sent to the target working node. And randomly determine one from multiple assignable network addresses in the local network resources and use it as the target network address. Subsequently, according to the target network address and the network bandwidth, the network parameters of the scheduling unit are configured to obtain the network parameter information of the scheduling unit.

[0062] In an alternative embodiment of the present invention, the method may further include:

[0063] Detect the current load level of the node, and the current load level is associated with the resource utilization rate of the node.

[0064] Adjust the network bandwidth of the scheduling unit according to the current load level.

[0065] In an embodiment of the present invention, the current load condition of the target working node can also be evaluated, and at least two load levels can be preset according to the resource utilization rate of the target working node. For example, in one embodiment, two load levels can be preset. When the resource utilization rate is less than or equal to the usage threshold, the current load level is determined to be the first load level; when the resource utilization rate is greater than the usage threshold, the current load level is determined to be the second load level, and the second load level is higher than the first load level. In another embodiment, three load levels can be preset. When the resource utilization rate is less than or equal to the first threshold, the current load level is determined to be the first load level; when the resource utilization rate is greater than the first threshold and less than or equal to the second threshold, the current load level is determined to be the second load level; when the resource utilization rate is greater than the second threshold, the current load level is determined to be the third load level, and the load levels corresponding to the first load level, the second load level, and the third load level gradually increase.

[0066] Therefore, after detecting the current load level, the current resource usage of the node can be correspondingly evaluated. When the load level is higher, it indicates that the current amount of processed data of the node is larger. Thus, according to the current load level, the corresponding network bandwidth can be matched, and the network parameters of the scheduling unit can be reconfigured. For example, when setting a preset load level, the network bandwidth of the scheduling unit can be correspondingly matched. Among them, the higher the load level, the lower the network bandwidth of the corresponding scheduling unit, thereby avoiding the situation that the node occupies too many resources per unit time, resulting in problems such as freezing or an increase in the data packet loss rate.

[0067] S309. Update the local network resources through the network parameter information of the scheduling unit and transmit them to other working nodes except the target working node.

[0068] In the embodiment of the present invention, the local network resources are updated through the network parameter information of the scheduling unit and transmitted to other working nodes except the target working node. Thus, other working nodes can access any scheduling unit in the target working node according to the updated local network resources of the target working node. Thus, when transmitting between networks, packet encapsulation or multi-layer routing forwarding of the data packet is avoided, and the network performance loss is reduced.

[0069] In summary, the embodiment of the present invention discloses a network management method, which is applied to a working node in a distributed system composed of multiple cloud platforms. The distributed system includes multiple working nodes, and it first obtains a creation instruction of a scheduling unit, then creates the scheduling unit according to the creation execution instruction, and queries the native network resources locally. The native network resources are obtained by splitting the native network resources in the distributed system. Then, according to the native network resources, the network parameters of the scheduling unit are configured. The local network resources are updated through the network parameter information and transmitted to other working nodes except the working node, so that other working nodes can access any scheduling unit in the target working node according to the updated configured network resources. Thus, when transmitting between networks, packet encapsulation or multi-layer routing forwarding of the data packet is avoided, and the network performance loss is reduced.

[0070] It should be noted that for the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the embodiments of the present application are not limited by the described action sequence, because according to the embodiments of the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily essential for the embodiments of the present application.

[0071] Refer toFigure 4 , which shows a network management device provided by an embodiment of the present invention and is applied to a target working node in a distributed system composed of multiple cloud platforms. The distributed system includes multiple working nodes, and the device includes:

[0072] An instruction acquisition module 401, configured to acquire a creation instruction of a scheduling unit.

[0073] A unit creation module 402, configured to create a scheduling unit according to the creation instruction and query local network resources, where the local network resources are obtained by splitting the native network resources in the distributed system, and the network parameter information in the native network resources is different from each other.

[0074] A network parameter configuration module 403, configured to configure network parameters of the scheduling unit according to the local network resources.

[0075] A network resource update module 404, configured to update the local network resources through the network parameter information of the scheduling unit and transmit them to other working nodes except the working node, so that other working nodes can perform service access to any scheduling unit in the target working node according to the obtained local network resources.

[0076] In an optional embodiment of the invention, the network parameter configuration module 403 may include:

[0077] A quantity determination sub-module, configured to determine the available resource quantity corresponding to the local network resources.

[0078] A network parameter configuration sub-module, configured to configure network parameters of the scheduling unit when the available resource quantity meets the resource configuration condition, where the resource configuration condition is determined according to the creation situation of the scheduling unit within a target time period.

[0079] In an optional embodiment of the invention, the device may include:

[0080] A configuration request output module, configured to output a network configuration request when the available resource quantity does not meet the resource configuration condition.

[0081] A resource reception module, configured to receive the allocable native network resources in response to the network parameter configuration request.

[0082] The network parameter configuration module is further configured to configure network parameters of the scheduling unit according to the local network resources and the allocable native network resources.

[0083] In an optional embodiment of the invention, the device may include:

[0084] A resource release module, configured to release the native network resources when the quantity of the available resources meets the resource release condition.

[0085] A resource output module, configured to output the released network resources, so that the system updates the allocable native network resources according to the released network resources.

[0086] In an optional embodiment of the invention, the network parameter information includes a network address and a network bandwidth, and the network parameter configuration module 403 may further include:

[0087] A target area determination sub-module, configured to select one of the multiple allocable network addresses in the local network resources as the target network address.

[0088] A network parameter configuration sub-module, configured to configure network parameters of the scheduling unit according to the target network address and the network bandwidth.

[0089] In an optional embodiment of the invention, the device may further include:

[0090] A load level determination module, configured to detect the current load level of a node, where the current load level is associated with the resource utilization rate of the node.

[0091] A bandwidth adjustment module, configured to adjust the network bandwidth of the scheduling unit according to the current load level.

[0092] Each embodiment in this specification is described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The same or similar parts among the embodiments may be referred to each other.

[0093] It is easy for those skilled in the art to think that any combination application of the above embodiments is feasible. Therefore, any combination of the above embodiments is an implementation solution of the present invention. However, due to space limitations, this specification does not elaborate on each of them here.

[0094] In the specification provided herein, a large number of specific details are set forth. However, it can be understood that the embodiments of the present invention may be practiced without these specific details. In some instances, well-known methods, structures, and technologies have not been shown in detail so as not to obscure the understanding of this specification.

[0095] Similarly, it should be understood that, in order to streamline the present invention and assist in understanding one or more of the various inventive aspects, in the foregoing description of the exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected by the claims, the inventive aspects lie in less than all of the features of the single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into the detailed description, with each claim standing on its own as a separate embodiment of the present invention.

[0096] Those skilled in the art will appreciate that the modules in the devices in the embodiments can be adaptively changed and disposed in one or more devices different from the embodiments. The modules or units or components in the embodiments can be combined into one module or unit or component, and in addition, they can be divided into multiple sub-modules or sub-units or sub-components. Except that at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all the features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all the processes or units of any method or device so disclosed. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) can be replaced by an alternative feature that provides the same, equivalent, or similar purpose.

[0097] An electronic device, comprising:

[0098] One or more processors;

[0099] A memory;

[0100] One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method described in the foregoing embodiments.

[0101] A computer-readable storage medium storing a computer program for use in conjunction with an electronic device, the computer program being executable by a processor to complete the method described in the foregoing embodiments.

[0102] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, an apparatus, or a computer program product. Therefore, the embodiments of the present invention can take the form of an all-hardware embodiment, an all-software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) that contain computer-usable program code.

[0103] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing terminal devices generate a device for implementing the functions specified in Figure 1 one or more of the processes Figure 1 or multiple processes and / or blocks

[0104] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device that implements the functions specified in Figure 1 one or more of the processes Figure 1 or multiple processes and / or blocks

[0105] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, such that a series of operation steps are executed on the computer or other programmable terminal device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide steps for implementing the functions specified in Figure 1 one or more of the processes Figure 1 or multiple processes and / or blocks

[0106] Although the preferred embodiments of the embodiments of the present invention have been described, those skilled in the art can make additional changes and modifications once they learn the basic creative concepts. Therefore, the appended claims are intended to be construed to include the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0107] Finally, it should also be noted that in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or terminal device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or terminal device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising the said element.

[0108] The above has introduced in detail a network management method and a network management device provided by the present invention. Specific examples are used in this text to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present invention.

Claims

1. A network management method, characterized in that, In a target working node in a distributed system composed of multiple cloud platforms, the distributed system includes multiple working nodes, and the method includes: Obtain a creation instruction of a scheduling unit; Create a scheduling unit according to the creation instruction, and query local network resources, where the local network resources are obtained by splitting the native network resources in the distributed system, and the network parameter information in the native network resources is different from each other; Configure network parameters for the scheduling unit according to the local network resources; Update the local network resources through the network parameter information of the scheduling unit, and transmit them to other working nodes except the target working node, so that other working nodes can perform service access to any scheduling unit in the target working node according to the obtained local network resources; The configuring network parameters for the scheduling unit according to the local network resources includes: Determine the available resource quantity corresponding to the local network resources; When the available resource quantity meets the resource configuration condition, configure network parameters for the scheduling unit, where the resource configuration condition is determined according to the creation situation of the scheduling unit within a target period, and the resource configuration condition is that the available resource quantity is greater than or equal to the creation quantity of the scheduling unit within a target time period; The method further includes: Output a network configuration request when the available resource quantity does not meet the resource configuration condition; Receive the allocable native network resources in response to the network parameter configuration request; Configure network parameters for the scheduling unit according to the local network resources and the allocable native network resources; The method further includes: Release the resources of the native network resources when the available resource quantity meets the resource release condition; the resource release condition is that the available resource quantity is greater than or equal to N times the creation quantity of the scheduling unit within a target time period; Output the released network resources, so that the system updates the allocable native network resources according to the released network resources.

2. The network management method according to claim 1, wherein The network parameter information includes a network address and a network bandwidth, and the configuring network parameters for the scheduling unit according to the local network resources includes: Select one from multiple allocable network addresses in the local network resources as the target network address; Configure network parameters for the scheduling unit according to the target network address and the network bandwidth.

3. The network management method according to claim 2, wherein The method further includes: Detect the current load level of the node, where the current load level is associated with the resource utilization rate of the node; Adjust the network bandwidth of the scheduling unit according to the current load level.

4. A network management device, characterized in that, In a target working node in a distributed system composed of multiple cloud platforms, the distributed system includes multiple working nodes, and the device includes: An instruction acquisition module, configured to obtain a creation instruction of a scheduling unit; A unit creation module, configured to create a scheduling unit according to the creation instruction and query local network resources, where the local network resources are obtained by partitioning the native network resources in the distributed system, and the network parameter information in the native network resources is different from each other; A network parameter configuration module, configured to configure network parameters for the scheduling unit according to the local network resources; A network resource update module, configured to update the local network resources through the network parameter information of the scheduling unit and transmit them to other working nodes except the working node, so that other working nodes can perform service access to any scheduling unit in the target working node according to the obtained local network resources; The network parameter configuration module includes: A quantity determination sub-module, configured to determine the available resource quantity corresponding to the local network resources; A network parameter configuration sub-module, configured to configure network parameters for the scheduling unit when the available resource quantity meets the resource configuration condition, where the resource configuration condition is determined according to the creation situation of the scheduling unit within the target period; the resource configuration condition is that the available resource quantity is greater than or equal to the creation quantity of the scheduling unit within the target time period; The device further includes: A configuration request output module, configured to output a network configuration request when the available resource quantity does not meet the resource configuration condition; A resource receiving module, configured to receive the allocable native network resources in response to the network parameter configuration request; The network parameter configuration module is further configured to configure network parameters for the scheduling unit according to the local network resources and the allocable native network resources; A resource release module, configured to release the native network resources when the available resource quantity meets the resource release condition; the resource release condition is that the available resource quantity is greater than or equal to N times the creation quantity of the scheduling unit within the target time period; A resource output module, configured to output the released network resources, so that the system updates the allocable native network resources according to the released network resources.

5. An electronic device, including: One or more processors; A memory; One or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the network management method according to any one of claims 1-3.

6. A computer-readable storage medium, storing a computer program for use in conjunction with an electronic device, where the computer program can be executed by a processor to complete the network management method according to any one of claims 1-3.

Citation Information

Patent Citations

  • Pod management method and device based on SR-IOV and medium

    CN114640678A

  • Scheduling system and method for distributed network resources

    CN115174695A