Resource configuration method and apparatus for cloud network environment, and electronic device

By working together with SDNC and Laplace, the resource configuration of the cloud network environment is dynamically adjusted, which solves the problem of uneven utilization of POD resources and realizes automated management and efficient utilization of resources.

WO2026036452A1PCT designated stage Publication Date: 2026-02-19SHANGHAI YOVOLE COMP NETWORK CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/116799
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-15
Filing Date
2024-09-04
Publication Date
2026-02-19

AI Technical Summary

Technical Problem

In cloud deployment architectures, the resource utilization of PODs is uneven after creation, resulting in wasted computing resources and difficulty in dynamically switching server network environments to improve overall resource utilization.

Method used

The software-defined network controller (SDNC) receives target instructions from the network mode controller (Laplace), obtains task information, and triggers corresponding tasks, including querying and switching network ports. It also generates switching instructions using the NETCONF protocol and dynamically adjusts resource configurations.

Benefits of technology

It enables automated resource allocation in the cloud network environment, improves resource utilization, dynamically matches idle resources to meet resource demands, and enhances overall resource utilization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024116799_19022026_PF_FP_ABST
    Figure CN2024116799_19022026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a resource configuration method and apparatus for a cloud network environment, and an electronic device. The method comprises: a Laplace, on the basis of a service scenario requirement and a resource utilization rate in a cloud network environment, generates a target instruction; after receiving the target instruction issued by the Laplace, an SDNC acquires target task information to be executed from the target instruction, and triggers a corresponding target task in the cloud network environment on the basis of the target task information, so as to implement overall resource configuration in the cloud network environment, the target task comprising a query task or a network port switching task. In said method, a network task is automatically delivered by means of resource utilization in a cloud network environment, achieving automatic resource configuration for the cloud network environment, and idle resources in the cloud network environment are dynamically matched for services having resource requirements, improving the resource utilization rate of the cloud network environment.
Need to check novelty before this filing date? Find Prior Art

Description

Resource configuration method and device in cloud network environment and electronic equipment TECHNICAL FIELD

[0001] Embodiments of the present application relate to the field of cloud computing, and more particularly to a resource configuration method and device in cloud network environment and electronic equipment. BACKGROUND

[0002] In a cloud deployment architecture, a point of delivery (POD) only belongs to one functional cluster. The POD is a modular construction unit of a data center, and has the characteristics of modularity, reusability, supporting facilities, and standardized network.

[0003] In the related art, after the POD is created, the POD is allocated a corresponding cloud node. In the case that the usage rate of the POD resources in the cloud node is low and the demand for other types of resources is high, because the utilization rates of different types of resources in the cloud node are different, the overall resource utilization rate in the cloud node may be low and the computing resources may be wasted. In addition, it is also necessary to solve how to switch the network environment of the server at any time in the cloud network environment, so as to change the service type of the server and improve the overall resource utilization rate.

[0004] Therefore, it is necessary to design a new solution to solve the above technical problems SUMMARY

[0005] Embodiments of the present application provide an improved resource configuration method, device and electronic equipment in cloud network environment, to realize automatic resource configuration in cloud network environment and improve resource utilization rate of cloud network environment.

[0006] Embodiments of the present application aim to provide a resource configuration method, device and electronic equipment in cloud network environment.

[0007] In a first aspect of the present application, a resource configuration method in cloud network environment is provided, comprising:

[0008] A software-defined network controller (SDNC) receives a target instruction issued by a network mode controller (Laplace); the target instruction is determined by the Laplace based on the service scenario demand and the resource utilization rate in the cloud network environment; the Laplace is used to maintain node information in the cloud network environment;

[0009] Obtain target task information to be executed from the target instruction;

[0010] Trigger a corresponding target task in the cloud network environment based on the target task information, to realize overall resource configuration in the cloud network environment; the target task includes a query task or a network port switching task.

[0011] As an optional embodiment, triggering a corresponding target task in a cloud network environment based on the target task information comprises:

[0012] Obtaining a target task type to be executed from the target task information;

[0013] If the target task type is a network port switching task, determining a target service required to be switched and a target network port to be switched based on the target task information;

[0014] Generating a switching instruction corresponding to the network port switching task through a network configuration protocol (NETCONF) protocol based on the target network port and the target service; the switching instruction is used to switch the configuration of the target network port; the configuration required to be switched by the target network port is related to the service attribute of the target service;

[0015] Issuing the switching instruction to the target network port to change the service attribute of the target network port.

[0016] As an optional embodiment, before obtaining the target task type to be executed from the target task information, the method further comprises:

[0017] Verifying whether the configuration information carried in the target task information is consistent with the configuration information in the current cloud network environment;

[0018] The obtaining of the target task type to be executed from the target task information comprises:

[0019] If the target task information passes the verification, parsing the target task information to obtain the target task type to be executed;

[0020] If the target task information fails the verification, executing an error reporting program and returning.

[0021] As an optional embodiment, the determining of the target service required to be switched and the target network port to be switched based on the target task information comprises:

[0022] Obtaining the target service required to be switched from the target task information; the target service has a resource quantity greater than a required resource quantity in the cloud network environment;

[0023] Selecting a target switch port matched with the target service from candidate switch ports whose resource utilization rates meet preset candidate conditions;

[0024] The generating of the switching instruction corresponding to the network port switching task through the network configuration protocol (NETCONF) protocol based on the target network port and the target service comprises:

[0025] obtaining a service type of the target service;

[0026] generating a port configuration instruction for the target switch port based on the service type, the port configuration instruction being used to modify a configuration of the target switch port to change the service type of the target switch.

[0027] As an optional embodiment, after triggering the corresponding target task in the cloud network environment based on the target task information, the method further comprises:

[0028] receiving node running information from the target switch port; the node running information comprising a current configuration of the target switch and / or a current service type of the target switch;

[0029] sending the node running information to the Laplace to update node information in the cloud network environment maintained by the Laplace.

[0030] As an optional embodiment, triggering the corresponding target task in the cloud network environment based on the target task information comprises:

[0031] obtaining a target task type to be executed from the target task information;

[0032] if the target task type is a query task, determining node running information to be queried and a target network port based on the target task information; the node running information comprising service running conditions and / or node running conditions;

[0033] generating a corresponding query instruction through a NETCONF protocol based on the service running conditions and / or the node running conditions to be queried;

[0034] if the query instruction is successfully executed, issuing the query instruction to the target network port to change a service attribute of the target network port;

[0035] if the query instruction is not successfully executed, executing an error reporting program and returning;

[0036] after triggering the corresponding target task in the cloud network environment based on the target task information, the method further comprises:

[0037] receiving node running information from the target network port and sending the node running information to the Laplace to update node information in the cloud network environment maintained by the Laplace.

[0038] In a second aspect of the present application, a resource configuration method of a cloud network environment is provided, comprising:

[0039] Laplace obtains resource utilization in the cloud network environment; the resource utilization is determined according to node information in the cloud network environment;

[0040] target instructions are generated based on the resource utilization; the target instructions carry target task information to be executed;

[0041] The target instructions are sent to an SDNC, so that the SDNC triggers corresponding target tasks in the cloud network environment based on the target task information, and overall resource configuration in the cloud network environment is realized; the target tasks include query tasks or network port switching tasks.

[0042] As an optional embodiment, after the target instructions are sent to the SDNC, the method further includes:

[0043] Node running information from the target network port is received from the SDNC; the node running information includes service running conditions and / or node running conditions;

[0044] Node information in the cloud network environment maintained by the Laplace is updated based on the node running information.

[0045] In a third aspect of the present application, a resource configuration device for a cloud network environment is provided, and the device includes:

[0046] A transceiver module is configured to receive target instructions issued by a Laplace; the target instructions are determined by the Laplace based on business scenario requirements and resource utilization in a cloud network environment; the Laplace is configured to maintain node information in the cloud network environment;

[0047] A processing module is configured to obtain target task information to be executed from the target instructions; corresponding target tasks are triggered in the cloud network environment based on the target task information, so that overall resource configuration in the cloud network environment is realized; the target tasks include query tasks or network port switching tasks.

[0048] In a fourth aspect of the present application, a resource configuration device for a cloud network environment is provided, and the device includes:

[0049] A processing module is configured to obtain resource utilization in the cloud network environment by a Laplace; the resource utilization is determined according to node information in the cloud network environment; target instructions are generated based on the resource utilization; the target instructions carry target task information to be executed;

[0050] The transceiving module is configured to send the target instruction to the SDNC, so that the SDNC triggers a corresponding target task in the cloud network environment based on the target task information, and realizes overall resource configuration in the cloud network environment; the target task includes a query task or a network port switching task.

[0051] In a fifth aspect of the present application, a computer readable storage medium is provided, which includes instructions that, when executed on a computer, cause the computer to perform the resource configuration method of the cloud network environment in the first aspect or the second aspect.

[0052] In a sixth aspect of the present application, a computing device is provided, which is configured to include a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the resource configuration method of the cloud network environment in the first aspect or the second aspect when executing the computer program.

[0053] In the technical scheme provided by the embodiments of the present application, the SDNC receives the target instruction issued by the Laplace; the target instruction is determined by the Laplace based on the service scenario demand and the resource utilization in the cloud network environment; the Laplace is used to maintain the node information in the cloud network environment; the target task information to be executed is obtained from the target instruction; a corresponding target task is triggered in the cloud network environment based on the target task information, so as to realize overall resource configuration in the cloud network environment; the target task includes a query task or a network port switching task. The embodiments of the present application can automatically issue a network configuration task according to the resource utilization in the cloud network environment, realize automatic resource configuration of the cloud network environment, dynamically match the idle resources in the cloud network environment for the services with resource demand, and improve the resource utilization of the cloud network environment. BRIEF DESCRIPTION OF DRAWINGS

[0054] The above and other objects, features and advantages of the example embodiments of the present application will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:

[0055] FIG. 1 schematically shows a flow diagram of a resource configuration method of a cloud network environment according to the present application;

[0056] FIG. 2 schematically shows a principle diagram of a resource configuration method of a cloud network environment according to the present application;

[0057] FIG. 3 schematically shows another principle diagram of a resource configuration method of a cloud network environment according to the present application;

[0058] FIG. 4 schematically shows a structure diagram of a resource configuration apparatus of a cloud network environment according to the present application;

[0059] Fig. 5 schematically shows another structural schematic diagram of a resource configuration apparatus according to the cloud network environment in the present application;

[0060] Fig. 6 schematically shows a structural schematic diagram of a computing device according to the present application;

[0061] Fig. 7 schematically shows a structural schematic diagram of a server according to the present application.

[0062] In the drawings, identical or corresponding reference signs indicate identical or corresponding parts. DETAILED DESCRIPTION

[0063] The principles and spirits of the present application will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are given only to enable those skilled in the art to better understand and implement the present application, and do not limit the scope of the present application in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0064] Those skilled in the art know that the embodiments of the present application can be implemented as a system, apparatus, device, system or computer program product. Therefore, the present disclosure can be embodied in the form of a complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0065] Currently, in the cloud deployment architecture, a POD only belongs to one function cluster. The POD is a modular construction unit of a data center, which has the characteristics of modularity, reusability, supporting facilities, and standardized network.

[0066] In the related art, after the POD is created, the POD is allocated with a corresponding cloud node. In the case that the usage rate of the POD resources in the cloud node is low, and the demand for other types of resources is high, due to the different utilization rates of different types of resources in the cloud node, the overall resource utilization rate in the cloud node may be low, and the computing resources are wasted.

[0067] In summary, a new solution needs to be designed to solve the above technical problems.

[0068] In order to overcome the above technical problems, according to the embodiments of the present application, a resource configuration method and apparatus of a cloud network environment and an electronic device are provided.

[0069] Compared with the related art, the technical scheme of the embodiment of the application, the SDNC receives a target instruction issued by the Laplace, the target instruction is determined by the Laplace based on a service scenario requirement and a resource utilization rate in a cloud network environment, and the Laplace is used to maintain node information in the cloud network environment. Then, the SDNC obtains target task information to be executed from the target instruction, and triggers a corresponding target task in the cloud network environment based on the target task information, so as to realize overall resource configuration in the cloud network environment. The target task includes a query task or a network port switching task.

[0070] The technical scheme of the embodiment of the application can automatically issue a network configuration task according to a resource utilization condition in a cloud network environment, realize automatic resource configuration of the cloud network environment, dynamically match idle resources in the cloud network environment for a service that has a resource requirement, and improve a resource utilization rate of the cloud network environment.

[0071] As an optional implementation, the number of the resource configuration apparatus of the cloud network environment can be one or multiple. The resource configuration apparatus of the cloud network environment can be implemented as being deployed in a cloud network architecture, or can be deployed in the cloud network architecture in other forms, which is not limited in the application. For example, the resource configuration apparatus of the cloud network environment can be arranged in a processing device of various devices (such as a terminal device and a server).

[0072] In this document, the number of any elements in the drawings is used for example and is not a limitation, and any naming is only used for distinction and does not have any limiting meaning.

[0073] The method for resource configuration of a cloud network environment according to an exemplary embodiment of the application is described below in combination with a specific application scenario and with reference to FIG. 1. It should be noted that the above application scenario is only shown for the purpose of facilitating understanding of the spirit and principles of the application, and the embodiments of the application are not limited in this respect. On the contrary, the embodiments of the application can be applied to any applicable scenario.

[0074] The execution process of the resource configuration method of the cloud network environment is described below in combination with the following embodiments. FIG. 1 is a flowchart of a resource configuration method of a cloud network environment according to an embodiment of the application. As shown in FIG. 1, the method includes the following steps:

[0075] In step 101, the Laplace obtains a resource utilization rate in a cloud network environment.

[0076] In step 102, the Laplace generates a target instruction based on a service scenario requirement and the resource utilization rate in the cloud network environment; the target instruction carries target task information to be executed.

[0077] In step 103, the Laplace sends the target instruction to the SDNC.

[0078] Step 104, the SDNC receives the target instruction issued by the Laplace;

[0079] Step 105, the SDNC obtains target task information to be executed from the target instruction;

[0080] Step 106, the SDNC triggers a corresponding target task in the cloud network environment based on the target task information, to realize overall resource configuration in the cloud network environment.

[0081] In the embodiment of the application, the software defined network controller (SDNC) can not only provide different levels of programmable capabilities for upper-layer network applications, but also uniformly configure, manage and control the SDN data plane. The SDNC is the core component of the control plane and is also the logical center in the entire SDN architecture. In the related art, as the scale of the SDN network expands, the processing capability of the single-controller structure of the SDN network is limited and performance bottlenecks are encountered, so the SDNC needs to be expanded. In the embodiment of the application, the SDNC is further combined with the Laplace, the node information in the cloud network environment is maintained by the Laplace, and then the Laplace issues a query task or a network port switching task to the SDNC, to realize real-time resource configuration of the cloud network environment and improve the resource utilization rate in the cloud network environment.

[0082] In the embodiment of the application, the Laplace is used to maintain the node information in the cloud network environment. The Laplace is a server resource that implements cloud computing nodes, bare-metal nodes, intelligent computing nodes and auto identification and data collection (AIDC) nodes, and can switch the system in the network mode of the business scenario switching. The attribute of the Laplace belongs to the software controller of the network device. The Laplace has the function of obtaining the resource utilization rate. In fact, the target instruction is generated and automatically issued based on the actual business scenario demand and configuration.

[0083] Optionally, the node running information is stored in the Laplace, including but not limited to the bound network device (including virtual devices and physical devices, etc.) and its attributes, available computing resource information and bound service information. For example, the Laplace can receive the node running information fed back by the network port, including service running conditions and / or node running conditions. For example, the Laplace can receive the node running information fed back by the network port, including but not limited to the current configuration of the target switch and / or the current service type of the target switch.

[0084] In the embodiments of the present application, the resource utilization rate in the cloud network environment is determined according to the node information in the cloud network environment. Further optionally, the resource utilization rate in the cloud network environment can be calculated in real time by Laplace based on the node information in the cloud network environment maintained by itself. For example, Laplace can determine the resource usage of each service and the usage rate of computing resources (such as PODs, etc.) in each cloud node by statistics. Through the resource utilization rate in the cloud network environment, not only the demand of each service in the cloud network environment for computing resources, including the demand of new services and running services for computing resources, but also the usage of each computing resource in the cloud network environment, including whether it is idle, the occupancy rate and other attribute information, can be reflected. Thus, by monitoring the resource utilization rate in the cloud network environment, the computing resources in the cloud network environment are scheduled in real time, so that the idle resources bound to the running services can be released to the new services, thereby improving the utilization rate of idle resources.

[0085] In the embodiments of the present application, the target task includes a query task or a network port switching task. The query task is mainly for the node information in the cloud network environment, such as querying the attribute information and running status of the network device in the cloud node. Through the query result, the node running status can be monitored in real time, thereby further monitoring the overall running status of the cloud network environment, providing a data basis for realizing the resource scheduling in the cloud network environment. The network port switching task is used to change the service type bound to the computing resource, so that the idle computing resource is re-allocated to the service with usage demand, thereby improving the utilization rate of computing resources.

[0086] As an optional embodiment, the step 106 of triggering the corresponding target task in the cloud network environment based on the target task information can be implemented as follows, referring to FIG. 2.

[0087] In step 201, the SDNC obtains the target task type to be executed from the target task information.

[0088] Specifically, before step 201, the SDNC also verifies whether the configuration information carried in the target task information is consistent with the configuration information in the current cloud network environment. If the target task information passes the verification, in step 201, the SDNC parses the target task information to obtain the target task type to be executed. If the target task information does not pass the verification, an error program is executed and the process is returned.

[0089] In step 202, if the target task type is a network port switching task, the SDNC determines the target service to be switched and the target network port to be switched based on the target task information.

[0090] Specifically, in step 202, the SDNC obtains a target service required to be switched from the target task information. The target service can be deployed in a cloud network environment with a number of resources greater than a required number of resources. Then, the SDNC selects a target switch port matching the target service from candidate switch ports with resource utilization rates meeting preset candidate conditions.

[0091] Further optionally, the preset candidate condition can be that the resource utilization rate is lower than a set threshold. For example, a resource requester (such as a service provider of a newly created service) is preferentially allocated a cloud node with a computing resource utilization rate lower than a set proportion, so as to reduce the idle phenomenon of computing resources of the cloud node. Alternatively, the resource utilization rate can be ranked at a preset position. For example, based on the ordering of computing resource utilization rates of cloud nodes from low to high, a resource requester (such as a service provider of a newly created service) is preferentially allocated computing resources of a cloud node ranked in the front, so as to reduce the idle phenomenon of computing resources of the cloud node.

[0092] In step 203, based on the target network port and the target service, the SDNC generates a switching instruction corresponding to the network port switching task through a network configuration protocol (NETCONF) protocol.

[0093] The NETCONF is an XML-based network management protocol, mainly used for configuring and managing network devices. Specifically, the NETCONF provides a mechanism for managing network devices, using which the configuration of the network devices can be added, modified, or deleted, so as to obtain the configuration and status information of the network devices. Through the NETCONF protocol, the network devices can provide a standardized application programming interface (API), and an application program can directly use the API to send and obtain the configuration to the network devices.

[0094] In the embodiment of the application, the switching instruction corresponding to the network port switching task is used to switch the configuration of the target network port. It should be noted that the configuration required to be switched by the target network port is related to the service attribute of the target service. By switching the port configuration, the network device can be switched from the currently bound service to another service, so as to release the idle resources bound by the existing service and improve the resource utilization rate.

[0095] Specifically, as an optional embodiment, in step 203, the SDNC obtains a service type of the target service. Then, the SDNC generates a port configuration instruction for the target switch port based on the service type, and the port configuration instruction is used to modify the configuration of the target switch port to change the service type of the target switch.

[0096] Step 204, the SDNC issues the switching instruction to the target network port to change the service attribute of the target network port.

[0097] Through steps 201 to 204, the SDNC can switch the idle resources from the current service to the more busy service, so as to realize the automatic dynamic scheduling of the idle resources and improve the overall resource utilization in the cloud network environment.

[0098] Further optionally, in order to monitor the resource configuration in the cloud network environment in real time, after triggering the corresponding target task in the cloud network environment based on the target task information in step 106, the SDNC further receives the node running information from the target switch port. The node running information includes the current configuration of the target switch and / or the current service type of the target switch. Then, the SDNC sends the node running information to the Laplace to update the node information in the cloud network environment maintained by the Laplace.

[0099] In another optional embodiment, the SDNC triggers the corresponding target task in the cloud network environment based on the target task information in step 106, as shown in FIG. 3, which can also be implemented as the following steps:

[0100] Step 301, the SDNC obtains the target task type to be executed from the target task information.

[0101] Step 302, if the target task type is a query task, the SDNC determines the node running information to be queried and the target network port based on the target task information.

[0102] In the embodiment of the application, the node running information includes service running condition and / or node running condition.

[0103] Step 303, the SDNC generates the corresponding query instruction based on the service running condition and / or node running condition to be queried through the NETCONF protocol.

[0104] Step 304, the SDNC issues the query instruction to the target network port to change the service attribute of the target network port.

[0105] The query task is mainly for the node information in the cloud network environment, such as querying the attribute information and running condition of the network equipment in the cloud node. The node running condition can be monitored in real time through the query result, so as to further monitor the overall running condition of the cloud network environment, and provide a data basis for realizing the resource scheduling in the cloud network environment. For example, the switch information deployed in the cloud network environment is queried, or the attribute information of other service equipment is queried.

[0106] Step 305, receiving node running information from the target network port, and sending the node running information to the Laplace to update the node information in the cloud network environment maintained by the Laplace.

[0107] Step 306, the Laplace receives node running information from the target network port from the SDNC. The node running information includes but is not limited to service running status and / or node running status.

[0108] Step 307, the Laplace updates the node information in the cloud network environment maintained by the Laplace based on the node running information update.

[0109] Through the above embodiment, the SDNC can be used to provide the Laplace with automatic feedback of node information in the cloud network environment, so that the Laplace can obtain the resource status in the cloud network environment in real time, and thus the instructions issued by the Laplace can trigger dynamic scheduling of idle resources in time, further improving the overall resource utilization in the cloud network environment.

[0110] In the embodiment of the application, the SDNC receives a target instruction issued by the Laplace; the target instruction is determined by the Laplace based on the business scenario demand and the resource utilization in the cloud network environment; the Laplace is used to maintain node information in the cloud network environment; target task information to be executed is obtained from the target instruction; a corresponding target task is triggered in the cloud network environment based on the target task information, so as to realize overall resource configuration in the cloud network environment; the target task includes a query task or a network port switching task. The network configuration task is automatically issued based on the resource utilization in the cloud network environment, automatic resource configuration of the cloud network environment is realized, idle resources in the cloud network environment are dynamically matched for services with resource demand, and the resource utilization of the cloud network environment is improved.

[0111] After introducing the method of the embodiment of the application, next, the resource configuration device of the cloud network environment of the embodiment of the application is introduced with reference to FIG. 4.

[0112] The resource configuration device 40 of the cloud network environment in the embodiment of the application can realize the steps corresponding to the resource configuration method of the cloud network environment in the embodiment corresponding to FIG. 1 on the SDNC side. The functions realized by the resource configuration device 40 of the cloud network environment can be realized by hardware, or can be realized by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions, and the modules can be software and / or hardware. The resource configuration device 40 of the cloud network environment is applied to a server device or a terminal device. The function implementation of each module in the resource configuration device 40 of the cloud network environment can refer to the operations performed by the SDNC side in the embodiment corresponding to FIG. 1, which is not described here.

[0113] In some embodiments, the transceiver module 401 is configured to receive a target instruction issued by the Laplace; the target instruction is determined by the Laplace based on a service scenario requirement and resource utilization in a cloud network environment; and the Laplace is configured to maintain node information in the cloud network environment.

[0114] The processing module 402 is configured to obtain target task information to be executed from the target instruction, and trigger a corresponding target task in the cloud network environment based on the target task information, so as to implement overall resource configuration in the cloud network environment; the target task includes a query task or a network port switching task.

[0115] In some embodiments, when the processing module 402 triggers the corresponding target task in the cloud network environment based on the target task information, it is configured to:

[0116] obtain a target task type to be executed from the target task information;

[0117] if the target task type is a network port switching task, determine a target service required to be switched and a target network port to be switched based on the target task information;

[0118] generate a switching instruction corresponding to the network port switching task by a network configuration protocol (NETCONF) protocol based on the target network port and the target service; the switching instruction is used to switch the configuration of the target network port; the configuration required to be switched by the target network port is related to a service attribute of the target service;

[0119] issue the switching instruction to the target network port to change the service attribute of the target network port.

[0120] In some embodiments, the processing module 402 is further configured to:

[0121] before obtaining the target task type to be executed from the target task information, verify whether configuration information carried in the target task information is consistent with configuration information in the current cloud network environment.

[0122] Further, when the processing module 402 obtains the target task type to be executed from the target task information, it is configured to:

[0123] if the target task information passes the verification, parse the target task information to obtain the target task type to be executed;

[0124] if the target task information fails the verification, execute an error program and return.

[0125] In some embodiments, the processing module 402 is configured to, based on the target task information, determine a target service required for switching and a target network port to be switched, and:

[0126] obtain, from the target task information, a target service required for switching; the target service has a number of deployable resources in the cloud network environment greater than a number of required resources;

[0127] select, from candidate switch ports whose resource utilization meets a preset candidate condition, a target switch port matched with the target service.

[0128] The processing module 402 is configured to, based on the target network port and the target service, generate, by using a network configuration protocol (NETCONF) protocol, a switching instruction corresponding to a network port switching task.

[0129] obtain a service type of the target service;

[0130] generate, based on the service type, a port configuration instruction for the target switch port, the port configuration instruction being used to modify a configuration of the target switch port to change the service type of the target switch.

[0131] In some embodiments, the transceiver module 401 is further configured to:

[0132] after the processing module 402 triggers a corresponding target task in the cloud network environment based on the target task information, receive node running information from the target switch port; the node running information includes a current configuration of the target switch and / or a current service type of the target switch;

[0133] send the node running information to the Laplace to update node information in the cloud network environment maintained by the Laplace.

[0134] In some embodiments, the processing module 402 is configured to, based on the target task information, trigger a corresponding target task in the cloud network environment, and:

[0135] obtain, from the target task information, a target task type to be executed;

[0136] if the target task type is a query task, determine, based on the target task information, node running information to be queried and a target network port; the node running information includes service running information and / or node running information;

[0137] generate, based on the service running information and / or the node running information to be queried, a corresponding query instruction by using the NETCONF protocol.

[0138] The transceiver module 401 is further configured to:

[0139] issuing the query instruction to the target network port to change service attributes of the target network port;

[0140] receiving node running information from the target network port and sending the node running information to the Laplace to update node information in the cloud network environment maintained by the Laplace.

[0141] In the embodiments of the present application, through the resource configuration device of the cloud network environment, network configuration tasks can be automatically issued according to resource utilization in the cloud network environment, automatic resource configuration of the cloud network environment is realized, idle resources in the cloud network environment are dynamically matched for services with resource requirements, and resource utilization of the cloud network environment is improved.

[0142] The present application also provides another resource configuration device 50 of a cloud network environment, as shown in FIG. 5, which comprises:

[0143] The transceiver module 501 is configured to obtain resource utilization in the cloud network environment; the resource utilization is determined according to node information in the cloud network environment;

[0144] The processing module 502 is configured to generate a target instruction based on the resource utilization; the target instruction carries target task information to be executed;

[0145] The transceiver module 501 is further configured to send the target instruction to the SDNC, so that the SDNC triggers a corresponding target task in the cloud network environment based on the target task information, and realizes overall resource configuration in the cloud network environment; the target task includes a query task or a network port switching task.

[0146] In some embodiments, the transceiver module 501 is further configured to receive node running information from the target network port from the SDNC after sending the target instruction to the SDNC; the node running information includes service running conditions and / or node running conditions.

[0147] The processing module 502 is further configured to update node information in the cloud network environment maintained by the Laplace based on the node running information.

[0148] In the embodiments of the present application, through the resource configuration device of the cloud network environment, network configuration tasks can be automatically issued according to resource utilization in the cloud network environment, automatic resource configuration of the cloud network environment is realized, idle resources in the cloud network environment are dynamically matched for services with resource requirements, and resource utilization of the cloud network environment is improved.

[0149] After the method and the device of the embodiments of the present application are introduced, next, the computer readable storage medium of the embodiments of the present application is described. The computer readable storage medium can be an optical disc, and a computer program (i.e., a program product) is stored on the optical disc. When the computer program is run by a processor, each step recorded in the above method embodiment is implemented, for example, a target instruction issued by Laplace is received; the target instruction is determined by the Laplace based on a service scenario requirement and a resource utilization rate in a cloud network environment; the Laplace is used to maintain node information in the cloud network environment; target task information to be executed is acquired from the target instruction; a corresponding target task in the cloud network environment is triggered based on the target task information, so as to implement overall resource configuration in the cloud network environment; and the target task includes a query task or a network port switching task. The specific implementation of each step is not repeated here.

[0150] It should be noted that examples of the computer readable storage medium can also include, but are not limited to, a phase change memory (PRAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), other types of random access memory (RAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, or other optical, magnetic storage medium, which are not repeated here.

[0151] The resource configuration device 40 of the cloud network environment in the embodiments of the present application is described above from the perspective of modular functional entities. Next, the server and the terminal device for executing the resource configuration method of the cloud network environment in the embodiments of the present application are described from the perspective of hardware processing.

[0152] It should be noted that the entity device corresponding to the acquisition module 401 shown in FIG. 4 of the resource configuration device of the cloud network environment in the embodiments of the present application can be an input / output unit, a transceiver, a radio frequency circuit, a communication module, and an input / output (I / O) interface, etc. The entity device corresponding to other modules can be a processor. The resource configuration device 40 of the cloud network environment shown in FIG. 4 can have a structure as shown in FIG. 6. When the resource configuration device 40 of the cloud network environment shown in FIG. 4 has a structure as shown in FIG. 6, the processor and the transceiver in FIG. 6 can implement the same or similar functions in each module of the device embodiments corresponding to the device. The memory in FIG. 7 stores a computer program required by the processor to execute the above resource configuration method of the cloud network environment.

[0153] Figure 7 is a schematic diagram of a server structure according to an embodiment of the present application. The server 1100 can vary greatly in configuration or performance, and can include one or more central processing units (CPU) 1122 (e.g., one or more processors) and memory 1132, one or more storage media 1130 (e.g., one or more mass storage devices) storing applications 1142 or data 1144. The memory 1132 and the storage media 1130 can be of the temporary or persistent type. The programs stored in the storage media 1130 can include one or more modules (not shown in the figure), each of which can include a series of instructions for operating on the server. Furthermore, the central processing unit 1122 can be configured to communicate with the storage media 1130 and execute the series of instructions stored in the storage media 1130 on the server 1100.

[0154] The server 1100 can also include one or more power supplies 1126, one or more wired or wireless network interfaces 1150, one or more input / output interfaces 1158, and / or one or more operating systems 1141, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc.

[0155] The steps performed by the server in the above embodiments can be based on the structure of the server 1100 shown in Figure 7. For example, the steps performed by the resource configuration device 40 of the cloud network environment shown in Figure 4 in the above embodiments can be based on the server structure shown in Figure 7. For example, the central processing unit 1122 can execute the following operations by invoking the instructions in the memory 1132:

[0156] Receiving a target instruction issued by Laplace through the input / output interface 1158; the target instruction is determined by Laplace based on the service scenario requirements and the resource utilization in the cloud network environment; Laplace is used to maintain the node information in the cloud network environment; obtaining target task information to be executed from the target instruction; triggering a corresponding target task in the cloud network environment based on the target task information to achieve overall resource configuration in the cloud network environment; the target task includes a query task or a network port switching task.

[0157] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.

[0158] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and module described above can refer to the corresponding process in the foregoing method embodiment, and will not be repeated here.

[0159] In several embodiments provided in the embodiments of the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are merely schematic, for example, the division of the modules is only a logical function division, and actual implementation can have another division manner, for example, a plurality of modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed modules can be indirect coupling or communication connection through some interfaces, devices or modules, and can be electrical, mechanical or other forms.

[0160] The modules described as separate components can or can not be physically separated, and the components displayed as modules can or can not be physical modules, that is, can be located in one place, or can be distributed to a plurality of network modules. Part or all of the modules can be selected according to actual needs to achieve the purpose of the embodiments of the present application.

[0161] In addition, each functional module in each embodiment of the present application can be integrated in one processing module, or each module can exist physically, or two or more modules can be integrated in one module. The integrated module can be realized in the form of hardware or in the form of a software functional module. When the integrated module is realized in the form of a software functional module and sold or used as an independent product, it can be stored in a computer readable storage medium.

[0162] In the above embodiments, all or part can be realized by software, hardware, firmware or any combination thereof. When realized by software, it can be realized in the form of a computer program product in whole or in part.

[0163] The computer program product includes one or more computer instructions. When the computer program is loaded and executed on the computer, the flow or function described in the embodiments of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that the computer can store or be integrated into a data storage device such as a server, data center, etc. containing one or more available media sets. The available media can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), etc.

[0164] The above describes the technical solutions provided by the embodiments of the present application in detail. The principles and implementation manners of the embodiments of the present application are described by applying specific examples. The above examples are only used to help understand the method and core idea of the embodiments of the present application; at the same time, for those skilled in the art, according to the idea of the embodiments of the present application, the specific implementation manner and application range will be changed, and the above description should not be understood as a limitation of the embodiments of the present application.

Claims

1. A resource configuration method of a cloud network environment, characterized by, The method comprises the following steps: a network mode controller Laplace acquires resource utilization in a cloud network environment, wherein the Laplace is used to maintain node information in the cloud network environment; the Laplace generates a target instruction based on a service scenario requirement and the resource utilization in the cloud network environment, wherein the target instruction carries target task information to be executed; the Laplace sends the target instruction to a software-defined network controller SDNC; the SDNC receives the target instruction sent by the Laplace; the SDNC acquires the target task information to be executed from the target instruction; the SDNC triggers a corresponding target task in the cloud network environment based on the target task information, so as to realize overall resource configuration in the cloud network environment; the target task comprises a query task or a network port switching task.

2. The method of claim 1, wherein, The SDNC triggers a corresponding target task in the cloud network environment based on the target task information, comprising the following steps: acquiring a target task type to be executed from the target task information; if the target task type is a network port switching task, determining a target service to be switched and a target network port to be switched based on the target task information; generating a switching instruction corresponding to the network port switching task based on the target network port and the target service through a network configuration protocol NETCONF protocol; wherein the switching instruction is used to switch the configuration of the target network port; the configuration to be switched of the target network port is related to a service attribute of the target service; issuing the switching instruction to the target network port, so as to change the service attribute of the target network port.

3. The method of claim 2, wherein, Before the SDNC acquires the target task type to be executed from the target task information, the method further comprises the following steps: checking whether configuration information carried in the target task information is consistent with configuration information in the current cloud network environment; the step of acquiring the target task type to be executed from the target task information comprises the following steps: if the target task information passes the check, analyzing the target task information to obtain the target task type to be executed; if the target task information fails the check, executing an error program and returning.

4. The method of claim 2, wherein, The step of determining the target service to be switched and the target network port to be switched based on the target task information by the SDNC comprises the following steps: acquiring the target service to be switched from the target task information; the target service has a resource quantity to be allocated in the cloud network environment greater than a required resource quantity; selecting a target switch port matched with the target service from candidate switch ports with resource utilization meeting preset candidate conditions; the step of generating the switching instruction corresponding to the network port switching task based on the target network port and the target service through the network configuration protocol NETCONF protocol comprises the following steps: acquiring a service type of the target service; generating a port configuration instruction for the target switch port based on the service type, wherein the port configuration instruction is used to modify the configuration of the target switch port, so as to change the service type of the target switch.

5. The method of claim 2, wherein, The SDNC further comprises, after triggering the corresponding target task in the cloud network environment based on the target task information: receiving node running information from the target switch port; the node running information comprises current configuration of the target switch and / or current service type of the target switch; sending the node running information to the Laplace to update node information in the cloud network environment maintained by the Laplace.

6. The method of claim 1, wherein, The SDNC triggers the corresponding target task in the cloud network environment based on the target task information, which comprises: obtaining a target task type to be executed from the target task information; if the target task type is a query task, determining node running information to be queried and a target network port based on the target task information; the node running information comprises service running condition and / or node running condition; generating a corresponding query instruction through a NETCONF protocol based on the service running condition and / or the node running condition to be queried; if the query instruction is successfully executed, issuing the query instruction to the target network port to change service attributes of the target network port; if the query instruction is not successfully executed, executing an error reporting program and returning; The SDNC further comprises, after triggering the corresponding target task in the cloud network environment based on the target task information: receiving node running information from the target network port and sending the node running information to the Laplace to update node information in the cloud network environment maintained by the Laplace.

7. The method of claim 1, wherein, The Laplace obtains resource utilization in the cloud network environment, which comprises real-time calculation based on node information in the cloud network environment maintained by the Laplace, wherein the resource utilization is obtained through real-time calculation of resource usage of each service and usage rate of computing resources in each cloud node.

8. The method according to any one of claims 1 to 7, characterized in that, The resources of the cloud network environment comprise at least one of server resources of a cloud computing node, a bare metal node, an intelligent computing node and an automatic identification and data acquisition node.

9. A resource configuration apparatus of a cloud network environment, characterized by comprising: The apparatus comprises a network mode controller Laplace and a software defined network controller SDNC. The Laplace is configured to: obtain resource utilization in the cloud network environment, wherein the Laplace is used to maintain node information in the cloud network environment; generate a target instruction based on business scenario demand and resource utilization in the cloud network environment; the target instruction carries target task information to be executed; and send the target instruction to the software defined network controller SDNC. The SDNC is configured to: receive the target instruction issued by the Laplace; obtain target task information to be executed from the target instruction; and trigger a corresponding target task in the cloud network environment based on the target task information to realize overall resource configuration in the cloud network environment; the target task comprises a query task or a network port switching task.

10. An electronic device, comprising: The electronic device comprises a memory and one or more processors; wherein the memory is configured to store computer program codes, the computer program codes comprising computer instructions; when the computer instructions are executed by the processor, the electronic device is caused to perform the resource configuration method of the cloud network environment as claimed in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Resource allocation method and device

    CN110928679A

  • Cloud resource scheduling method and device based on competition mechanism, equipment and medium

    CN116107689A

  • Deterministic network computing container design and implementation method for information physical production system

    CN116795546A

  • Resource management method and device, equipment and storage medium

    CN117608823A

  • Resource configuration method and device for cloud network environment and electronic equipment

    CN118764444A