Cloud resource creation method, device, storage medium and electronic device

By obtaining and verifying the configuration information of the 5G core network element, determining the requirements of IaaS and cloud-native resource, the problem of complexity of 5G core network deployment is solved, and efficient creation of cloud resources and improvement of success rate is achieved.

CN115426411BActive Publication Date: 2024-12-27CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211085780.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-06
Publication Date
2024-12-27
Estimated Expiration
2042-09-06

AI Technical Summary

Technical Problem

The number of network elements and topological complexity of the 5G core network leads to increased network service deployment complexity and operation and maintenance costs, especially when deploying on the cloud, the differentiation of IaaS resources and cloud-native resource requirements leads to extremely complex deployment.

Method used

By obtaining the network element configuration information of the target network, verifying its integrity and rationality, and determining the IaaS resource requirements and cloud-native resource requirements based on the configuration information, creating corresponding cloud resources on the cloud platform respectively, decoupling resource requirements to improve Create success rate.

Benefits of technology

It reduces the complexity of business deployment, reduces the cost of resource demand analysis, increases the success rate of creation of IaaS and cloud-native resources, and simplifies the cloud resource construction process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115426411B_ABST
    Figure CN115426411B_ABST
Patent Text Reader

Abstract

The present disclosure provides a cloud resource creation method, device, storage medium and equipment, and relates to the field of cloud computing technology. The cloud resource creation method includes: obtaining configuration information of network elements of a target network; determining IaaS resource demand information and cloud native resource demand information of the target network according to the configuration information; and creating corresponding cloud resources on a cloud platform according to the IaaS resource demand information and cloud native resource demand information. The present disclosure can reduce the complexity of business deployment to a certain extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of cloud computing, and in particular to a cloud resource creation method, device, storage medium and electronic device. Background Art

[0002] With the development of communication networks, the number of network elements and the complexity of their structures are increasing. For example, compared with earlier networks, the 5G core network has more types of network elements and the topology between network elements is more complex. This leads to the complexity of network service deployment, and the increase of procurement and operation and maintenance costs. Summary of the invention

[0003] The present disclosure provides a cloud resource creation method, a cloud resource creation device, a computer-readable storage medium and an electronic device to reduce the complexity of business deployment to a certain extent.

[0004] According to the first aspect of the present disclosure, a cloud resource creation method is provided, including: obtaining configuration information of network elements of a target network; determining Infrastructure as a Service (IaaS) resource demand information and cloud native resource demand information of the target network based on the configuration information; and creating corresponding cloud resources on a cloud platform based on the IaaS resource demand information and cloud native resource demand information.

[0005] In one implementation, the obtaining of the configuration information of the network element of the target network includes: providing a user interaction interface; and obtaining the configuration information of the network element of the target network input in the user interaction interface.

[0006] In one embodiment, the obtaining of the configuration information of the network elements of the target network entered in the user interaction interface includes: displaying a target table in the user interaction interface in response to an operation instruction to modify a preset table; and obtaining the configuration information of the network elements of the target network entered in the target table.

[0007] In one embodiment, before determining the Infrastructure as a Service (IaaS) resource demand information and cloud native resource demand information of the target network according to the configuration information, the method further includes: verifying the integrity and rationality of the configuration information; verifying the connection rationality of the target network according to the configuration information; and determining the IaaS resource demand information and cloud native resource demand information of the target network according to the configuration information when the integrity and rationality of the configuration information of the network element are verified and the connection rationality of the target network is verified.

[0008] In one embodiment, the checking of the integrity and rationality of the configuration information includes: checking the fields corresponding to the configuration information, and when all the fields corresponding to the configuration information are not empty, determining that the integrity check of the configuration information has passed; otherwise, determining that the integrity check of the configuration information has failed; checking the values ​​corresponding to the configuration information, and when the values ​​corresponding to the configuration information are within a reference value range, determining that the rationality check of the configuration information has passed; otherwise, determining that the rationality check of the configuration information has failed.

[0009] In one embodiment, the configuration information of the network element includes network interface information and address information, and the connection rationality of the target network is verified based on the configuration information of the network element, including: querying the address information corresponding to different network elements with consistent network interface information; determining whether the address information corresponding to different network elements belongs to the same network segment based on the address information corresponding to different network elements; if they belong to the same network segment, determining that the connection rationality check of the target network has passed; otherwise, determining that the connection rationality check of the target network has failed.

[0010] In one embodiment, the configuration information of the network element also includes the network element type, the number of containers corresponding to the network element, CPU configuration information, storage resource information and bandwidth configuration information. The determining the IaaS resource demand information and cloud native resource demand information of the target network based on the configuration information includes: determining the number requirement of virtual machines based on the network element type and the number of containers corresponding to the network element; determining the configuration requirement of the virtual machine based on the CPU core number information and storage resource information; determining the network requirement of the virtual machine based on the bandwidth requirement information; determining the IaaS resource demand information based on the number requirement, configuration requirement and network requirement of the virtual machine.

[0011] According to the second aspect of the present disclosure, a cloud resource creation device is provided, which includes: an information acquisition module, configured to acquire configuration information of network elements of a target network; a resource determination module, configured to determine Infrastructure as a Service IaaS resource demand information and cloud native resource demand information of the target network based on the configuration information; and a resource creation module, configured to create corresponding cloud resources on a cloud platform based on the IaaS resource demand information and cloud native resource demand information.

[0012] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the cloud resource creation method of the first aspect and possible implementation methods thereof are implemented.

[0013] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the cloud resource creation method of the above-mentioned first aspect and its possible implementation methods by executing the executable instructions.

[0014] The technical solution disclosed in this disclosure has the following beneficial effects:

[0015] In this solution, first, the configuration information of the network elements of the target network is obtained; second, the IaaS resource demand information and cloud native resource demand information of the target network are determined based on the configuration information; finally, the corresponding cloud resources are created on the cloud platform based on the IaaS resource demand information and cloud native resource demand information. In this way, 1) since the configuration information of the network elements of the target network is user-defined input, the corresponding cloud resources can be directly created on the cloud platform based on the user-defined configuration information of the network elements of the target network, which reduces the cost of resource demand analysis and the complexity of business deployment; 2) since the IaaS resource demand information and cloud native resource demand information are decoupled, the IaaS resource demand information and cloud native resource demand information are separately orchestrated and created, which improves the success rate of the creation of the two. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic diagram of a system architecture provided for an embodiment of the present disclosure;

[0017] Figure 2 A schematic diagram of an implementation flow of a cloud resource creation method provided in an embodiment of the present disclosure;

[0018] Figure 3 A schematic diagram of an implementation flow of obtaining configuration information in a cloud resource creation method provided in an embodiment of the present disclosure;

[0019] Figure 4 A schematic diagram of an implementation flow of obtaining configuration information in a cloud resource creation method provided in an embodiment of the present disclosure;

[0020] Figure 5 A schematic diagram of the implementation process of verification in a cloud resource creation method provided in an embodiment of the present disclosure;

[0021] Figure 6 A schematic diagram of an implementation flow of verifying configuration information in a cloud resource creation method provided in an embodiment of the present disclosure;

[0022] Figure 7 A schematic diagram of an implementation process of verifying a target network in a cloud resource creation method provided in an embodiment of the present disclosure;

[0023] Figure 8A schematic diagram of an implementation flow of determining IaaS resource demand information in a cloud resource creation method provided in an embodiment of the present disclosure;

[0024] Fig. 9 A schematic diagram of the structure of a cloud resource creation device provided in an embodiment of the present disclosure;

[0025] Fig.10 A schematic diagram of the structure of a cloud resource creation platform provided in an embodiment of the present disclosure;

[0026] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0027] Exemplary embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings.

[0028] The accompanying drawings are schematic diagrams of the present disclosure and are not necessarily drawn to scale. Some of the block diagrams shown in the accompanying drawings may be functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in hardware modules or integrated circuits, or in networks, processors or microcontrollers. The embodiments can be implemented in various forms and should not be construed as being limited to the examples set forth herein. The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the description below, many specific details are provided to provide a full description of the embodiments of the present disclosure. However, those skilled in the art should appreciate that one or more specific details may be omitted when implementing the technical solution of the present disclosure, or one or more specific details may be replaced by other methods, components, devices, steps, etc.

[0029] With the popularity of cloud-native technologies, more and more applications have been containerized. Kubernetes, as the most popular container orchestrator in the industry, provides complete lifecycle management for containerized applications.

[0030] With the development of communication networks, the number of network elements and the complexity of their structures are increasing. For example, compared with earlier networks, the 5G core network has more types of network elements and the topology between network elements is more complex. This leads to the complexity of network service deployment, and the increase of procurement and operation and maintenance costs.

[0031] At present, deploying network services on the cloud may reduce the complexity of network service deployment, procurement and operation and maintenance costs to a certain extent. However, if the 5G core network is deployed on the cloud, generally, there are the following problems: Different 5GC network elements have differentiated requirements for IaaS resources and cloud native resources represented by Kubernetes; for example: AMF (Access and Mobility Management Function) network elements and SMF (Management Function) network elements not only have SBI interfaces (Service-Based Interfaces), but AMF network elements also involve N1 and N2 interfaces, SMF network elements also involve N4 interfaces, and UPF (User Plane Function) network elements are more complex, involving N3, N4, and N6 interfaces, and different interfaces have different requirements for network bandwidth; in addition, different network elements require different virtual machine acceleration features (large page memory, DPDK acceleration) and container features (network multi-plane, host mapping), which makes cloud resource construction extremely complex when deploying 5GC services.

[0032] In view of the above problems, an exemplary embodiment of the present disclosure first provides a cloud resource creation method, which can reduce the complexity of service deployment to a certain extent.

[0033] Combine the following Figure 1 The system architecture and application scenarios of an operating environment of the above-mentioned cloud resource creation method are exemplified.

[0034] Figure 1 A schematic diagram of a system architecture is shown, and the system architecture 100 may include a cloud resource creation system 110 and a cloud platform 120; wherein the cloud resource creation system 110 may generally refer to a background system that provides cloud resource creation related services, and may be a server or a cluster formed by multiple servers; the cloud platform 110 generally refers to a platform that provides cloud resource related services, and may be a server or a cluster formed by multiple servers, and the cloud platform 120 can be used by the cloud resource creation system 110 to call the cloud resources thereon. The cloud resource creation system 110 and the cloud platform 120 may be connected via a wired or wireless communication link to perform data exchange.

[0035] In one embodiment, a user inputs configuration information of a target network's network elements into the cloud resource creation system 110. The cloud resource creation system 110 analyzes the target network's IaaS resource demand information and cloud native resource demand information based on the network element configuration information input by the user, and calls the cloud resources of the cloud platform 120 to create cloud resources corresponding to the target network based on the analyzed IaaS resource demand information and cloud native resource demand information.

[0036] Figure 2 A schematic diagram of an implementation flow of a cloud resource creation method provided in an embodiment of the present disclosure, which can be executed by the above-mentioned cloud resource creation system 110, such as Figure 2 As shown, the method includes the following steps S201 to S203:

[0037] Step S210: Obtain configuration information of a network element of a target network;

[0038] Step S220: Determine the infrastructure as a service IaaS resource demand information and cloud native resource demand information of the target network according to the configuration information;

[0039] Step S230: Create corresponding cloud resources on the cloud platform according to the IaaS resource demand information and the cloud native resource demand information.

[0040] In the above cloud resource creation method, first, the configuration information of the network elements of the target network is obtained; secondly, the infrastructure as a service IaaS resource demand information and cloud native resource demand information of the target network are determined according to the configuration information; finally, the corresponding cloud resources are created on the cloud platform according to the IaaS resource demand information and the cloud native resource demand information. In this way, 1) since the configuration information of the network elements of the target network is user-defined input, the corresponding cloud resources can be directly created on the cloud platform according to the user-defined configuration information of the network elements of the target network, which reduces the cost of resource demand analysis and reduces the complexity of business deployment; 2) since the IaaS resource demand information and the cloud native resource demand information are decoupled, the IaaS resource demand information and the cloud native resource demand information are separately orchestrated and created, which improves the success rate of the creation of the two.

[0041] Below Figure 2 Each step in the procedure is described in detail.

[0042] refer to Figure 2 In step S210, configuration information of network elements of the target network is obtained.

[0043] Among them, the target network refers to the network that the user needs to deploy services on the cloud platform; here, the target network can be any network, such as: 4G network, 5G network, 5G core network (5GC), etc., without limitation here.

[0044] The configuration information of the network element refers to the configuration required for the network element to implement the corresponding function. The configuration information is generally provided by the manufacturer. Generally, different network elements have different configurations. For example, the AMF network element is responsible for registration, connection, reachability, mobility, security and access management, and service authorization. The SMF network element is responsible for tunnel maintenance, IP address allocation and management, UP function selection, policy implementation, and QoS control, billing data collection, roaming, etc. Due to their different functions, their configurations (container quantity information, CPU configuration information, storage resource information, and bandwidth configuration information, etc.) are different. As shown in Table 1, the configuration information of different 5GC network elements is as follows:

[0045]

[0046] Table 1

[0047] Continue to refer Figure 2 In step S220, the infrastructure as a service IaaS resource demand information and cloud native resource demand information of the target network are determined according to the configuration information.

[0048] Among them, IaaS (Infrastructure as a Service) refers to a service model that provides IT infrastructure as a service through the Internet and charges users based on their actual usage or occupation of resources. In this service model, ordinary users do not need to build a data center or other hardware facilities by themselves, but instead obtain computer infrastructure services, including servers, storage, and network services, from IaaS service providers through leasing through the Internet.

[0049] Cloud native is a distributed cloud based on distributed deployment and unified operation and management, and a set of cloud technology product systems built on technologies such as containers, microservices, and DevOps. For example, cloud native applications are applications designed for the "cloud". After using cloud native technology, developers do not need to consider the underlying technical implementation and can give full play to the elasticity and distributed advantages of the cloud platform to achieve rapid deployment, on-demand scaling, and non-stop delivery.

[0050] Step S220 can be understood as determining the "software requirements" and "hardware requirements" required for business deployment on the cloud platform based on the configuration information of the network elements of the target network; here, the IaaS resource requirements can be regarded as software requirements, and the cloud native resource requirements can be regarded as hardware requirements. Note that the software requirements and hardware requirements here are just analogies. The hardware requirements provided by the cloud platform are actually virtual machines, and the software requirements are actually the configuration of the virtual machines. In one embodiment, step S220 can be implemented through the following process: first, determine the IaaS resource requirement information based on the configuration information of the network elements of the target network; second, determine the cloud native resource requirement information based on the IaaS resource requirement information; further, some resources can be added on top of the total resource requirements to be used for other overheads such as the management plane.

[0051] Continue to refer Figure 2 In step S230, corresponding cloud resources are created on the cloud platform according to the IaaS resource demand information and the cloud native resource demand information.

[0052] Among them, a container orchestrator (container orchestration engine) such as Kubernetes in the cloud platform can be used to create cloud resources; in one embodiment, Kubernetes can use the container network API interface (Container Network Interface, CNI) to call different plug-ins to achieve different configurations, and the implementation of this interface is the CNI plug-in.

[0053] In one embodiment, the network element configuration information of the target network is input by a user. Figure 3 A schematic diagram of an implementation flow of obtaining configuration information in a cloud resource creation method provided in an embodiment of the present disclosure, such as Figure 3 As shown, the above step S210 also includes the following steps S310 and S320:

[0054] Step S310: providing a user interaction interface.

[0055] Among them, the user interaction interface is used to interact with users. Users can enter the configuration information of the network elements of the target network in the user interaction interface according to the configuration information of the network elements provided by the manufacturer. For example: when the target network is a 5G core network, the configuration information of the network element can be entered according to the above Table 1.

[0056] The user interaction interface may provide a voice input method, a text input method, or both input methods. Of course, the configuration information of the network element may also be identified and displayed by scanning, which is not limited here.

[0057] Step S320: Acquire the configuration information of the network element of the target network input in the user interaction interface.

[0058] Among them, when the configuration information of the network element of the target network input in the user interaction interface is detected, the configuration information of the network element of the input target network is obtained; in one embodiment, the configuration information of the network element of the input target network can be obtained in real time, or the configuration information of the network element of the input target network can be obtained after a preset time period of stopping the input, which is not limited here.

[0059] In one embodiment, the user interaction interface presets a table, and the user enters the configuration information of the network element of the target network in the preset table. Figure 4 A schematic diagram of an implementation flow of obtaining configuration information in a cloud resource creation method provided in an embodiment of the present disclosure, such as Figure 4 As shown, the above step S220 also includes the following steps S410 and S420:

[0060] Step S410: In response to an operation instruction to modify a preset table, a target table is displayed in the user interaction interface.

[0061] Among them, the header of the preset table is fixed, including title columns such as network element type, container quantity information corresponding to the network element, CPU configuration information, storage resource information and bandwidth configuration information, such as: the header of the above Table 1; in one embodiment, the user interaction interface can provide a preset table, or provide multiple preset tables for users to choose from, which is not limited here.

[0062] Furthermore, when a preset table is provided, the configuration categories involved in the network elements of a specified network can be reflected in the preset table; when multiple tables are provided, different preset tables can be provided according to different networks, and one preset table reflects the configuration categories involved in the network elements of the network, which is not limited here.

[0063] Since the number of network elements in different networks is different, the preset table provided by the user interaction interface provides a modification function; in one implementation, since the table header is fixed, a row modification function can be provided, and the modified preset table is the target table.

[0064] Step S420: Acquire the configuration information of the network element of the target network entered in the target table.

[0065] Among them, when it is detected that the configuration information of the network elements of the target network is input into the target table in the user interaction interface, the configuration information of the network elements of the target network input into the target table is obtained; in one embodiment, the configuration information of the network elements of the target network input into the target table can be obtained in real time, or the configuration information of the network elements of the target network input into the target table can be obtained after a preset time period of stopping the input, and the configuration information of the network elements of the target network input into the target table can also be obtained after it is detected that all spaces in the target table are filled, which is not limited here.

[0066] In one implementation, after the configuration information of the network element of the target network is input into the target table, the input configuration information of the network element of the target network can be verified to ensure that the input configuration information of the network element of the target network is correct; thus, resources can be saved; Figure 5 A schematic diagram of the implementation process of verification in a cloud resource creation method provided in an embodiment of the present disclosure, such as Figure 5 As shown, before the above step S220, the following steps S510 to S530 are also included:

[0067] Step S510: Verify the integrity and rationality of the configuration information.

[0068] The integrity of the configuration information refers to whether all the configuration information in the target table is filled in. For example, if all the configuration information in the target table is filled in, it is determined that the configuration information is complete; otherwise, it is determined that the configuration information is incomplete.

[0069] The rationality of the configuration information refers to whether the configuration information is filled in correctly. For example, if the configuration information is filled in correctly, the configuration information is determined to be reasonable; otherwise, the configuration information is determined to be unreasonable.

[0070] Step S520: Verify the rationality of the connection to the target network according to the configuration information.

[0071] The connection rationality of the target network refers to whether the connection between network elements of the target network is reasonable. For example, if the same interface accesses the same network, it is determined that the connection between the network elements is reasonable; otherwise, it is determined that the connection between the network elements is unreasonable.

[0072] Step S530: When the integrity and rationality check of the configuration information of the network element and the connection rationality check of the target network are passed, determine the IaaS resource demand information and cloud native resource demand information of the target network according to the configuration information.

[0073] Among them, in order to save resources, after the integrity and rationality of the network element configuration information and the connection rationality of the target network are checked, the IaaS resource demand information and cloud native resource demand information of the target network can be determined according to the configuration information.

[0074] In one implementation, the integrity and rationality check of the configuration information may be to check the fields corresponding to the configuration information. Figure 6 A schematic diagram of an implementation flow of verifying configuration information in a cloud resource creation method provided in an embodiment of the present disclosure, such as Figure 6 As shown, the above step S510 also includes the following steps S610 and S620:

[0075] Step S610: Check the fields corresponding to the configuration information. If all the fields corresponding to the configuration information are not empty, determine that the integrity check of the configuration information has passed; otherwise, determine that the integrity check of the configuration information has failed.

[0076] Among them, different configuration information corresponds to different fields; in one implementation, the field can be numbers, letters, or text, which is not limited here; for example: for the CPU configuration information in the configuration information, the corresponding field is a number; for the network interface information in the configuration information, the corresponding field is a letter; for the network element type in the configuration information, the field can be a letter or text (for example: AMF or network interface information).

[0077] Step S620, verify the value corresponding to the configuration information. If the value corresponding to the configuration information is within the reference value range, determine that the rationality check of the configuration information has passed; otherwise, determine that the rationality check of the configuration information has failed.

[0078] Among them, for the configuration information whose above fields are numbers, verify the rationality of the values ​​of the configuration information. For example, if the fields corresponding to the container quantity information, CPU configuration information, storage resource information and bandwidth configuration information corresponding to the network element in the configuration information are all numbers, then verify the rationality of the fields corresponding to the configuration information.

[0079] The reference value range can be stored in a database; in one embodiment, the reference value range can be stored in the form of a table or in the form of text, which is not limited here; further, when the reference value range is stored in the form of a table, the corresponding reference table can be stored according to the preset table to verify the values ​​corresponding to the configuration information in the target table according to the reference value range in the reference table.

[0080] In one implementation, the configuration information of the network element includes network interface information and address information. Figure 7 A schematic diagram of the implementation process of verifying the target network in a cloud resource creation method provided in an embodiment of the present disclosure, such as Figure 7 As shown, the above step S520 also includes the following steps S710 and S720:

[0081] Step S710: query address information corresponding to different network elements with consistent network interface information.

[0082] Among them, the network interface information refers to the interfaces supported by the network element, for example: AMF network element supports N2 interface, SBI interface and SSH interface; SMF network element supports N4 interface, SBI interface and SSH interface.

[0083] The address information refers to the IP address; different network elements communicate through the same interface; in one embodiment, step S710 can be implemented through the following process: first, query the same interface information according to the network interface information; second, determine the different network elements corresponding to the same interface information; finally, determine the address information corresponding to the different network elements; for example: the AMF network element and the SMF network element both support the SBI interface, then, according to the network interface information, determine that the same interface information is the SBI interface, and then determine that the corresponding different network elements are the AMF network element and the SMF network element according to the SBI interface, and finally, determine that the address information of the AMF network element is the first address information (for example: 192.168.1.1), and determine that the address information of the SMF network element is the second address information (for example: 192.168.1.2).

[0084] Step S720: determine whether the address information corresponding to different network elements belongs to the same network segment according to the address information corresponding to different network elements; if they belong to the same network segment, determine that the connection rationality check for the target network passes; otherwise, determine that the connection rationality check for the target network fails.

[0085] Among them, the network segment is from one IP end to another IP end; for example: from 192.168.0.1 to 192.168.255.255 is a network segment. Generally, if you want to set some computers in the same network segment, as long as the first three segments of the IP address are consistent. For example: for the address information of the above-mentioned AMF network element is the first address information 192.168.1.1, the address information of the SMF network element is the second address information 192.168.1.2, and the first three segments of the first address information and the second address information are the same, then it is determined that the connection between the SMF network element and the AMF network element is reasonable; check all network elements according to the above method, and when all network elements are reasonably connected, it is determined that the connection of the target network is reasonable, that is, it is determined that the connection rationality check of the target network has passed; otherwise, it is determined that the connection rationality check of the target network has failed.

[0086] In one implementation, the configuration information of the network element also includes the network element type, the number of containers corresponding to the network element, CPU configuration information, storage resource information, and bandwidth configuration information. Figure 8 A schematic diagram of an implementation process of determining IaaS resource demand information in a cloud resource creation method provided in an embodiment of the present disclosure, such as Figure 8 As shown, the above step S220 also includes the following steps S810 to S840:

[0087] Step S810: Determine the quantity requirement of virtual machines according to the network element type and the container quantity information corresponding to the network element.

[0088] Among them, the container quantity information can be understood as the number of copies of the network element; in one implementation, in order not to affect the operation between network elements and facilitate network element maintenance, one network element corresponds to one virtual machine; further, one virtual machine runs one network element or a copy of the network element; the number requirement of virtual machines can be determined according to the above method.

[0089] Step S820: Determine the configuration requirements of the virtual machine according to the CPU core number information and the storage resource information.

[0090] Among them, the CPU core number information and storage resource information can be used as the lower limit of the virtual machine's configuration requirements to configure the virtual machine so that the virtual machine meets the configuration requirements of the network element; for example: the CPU core number information of the AMF network element is 8, and the storage resource information is 20G memory and 20G storage, which means that the AMF network element requires an 8-core CPU, 20G memory and 20G storage. Then, for the virtual machine corresponding to the AMF network element, at least an 8-core CPU, 20G memory and 20G storage are configured.

[0091] Step S830: Determine the network requirement of the virtual machine according to the bandwidth requirement information.

[0092] Among them, the bandwidth requirements of different interfaces are different. For example, the bandwidth requirement information of the N2 interface of the AMF network element is 10G, and the bandwidth requirement information of the N3 interface of the UPF network element is 25G, which means that the N2 interface of the AMF network element requires 10G bandwidth and the N3 interface of the UPF network element requires 25G bandwidth. Therefore, at least 10G bandwidth is configured for the N2 interface of the AMF network element; at least 25G bandwidth is configured for the N3 interface of the UPF network element.

[0093] Step S840: Determine IaaS resource requirement information based on the quantity requirement, configuration requirement, and network requirement of the virtual machines.

[0094] The quantity requirement, configuration requirement and network requirement of the virtual machines may be determined as the IaaS resource requirement information.

[0095] In one implementation, the above step S220 further includes the following steps:

[0096] Step A: Determine the container cluster information that meets the IaaS resource demand information.

[0097] Among them, the virtual machines in the above steps S810 to S840 can be used as working nodes of the container cluster; in one embodiment, in order to improve availability, three more virtual machines can be created as management nodes to deploy control plane components corresponding to the virtual machines of the working nodes. The configuration of the virtual machines of the three management nodes can be determined according to the number of virtual machines of the working nodes. For example: if the number of virtual machines of the working nodes is less than 50, the management node uses 8c 16g virtual machines; if the number of virtual machines of the working nodes is 50 to 100, the management node uses 12c 24g virtual machines; in this way, the container cluster information is determined.

[0098] Step B: Determine cloud native resource demand information based on container cluster information.

[0099] Among them, the container cluster information determined above can be used as cloud native resource demand information.

[0100] In addition, the above step S230 creates corresponding cloud resources on the cloud platform according to the IaaS resource demand information and the cloud native resource demand information, which can be achieved through the following process: first, generate a template (such as a TOSCA template) according to the above IaaS resource demand information and the cloud native resource demand information; secondly, import the above template into the container orchestrator (such as Kubernetes) provided by the cloud platform, and the container orchestrator calls the API interface provided by the cloud platform to create resources (first create IaaS resources, then create cloud native resources); in this way, cloud resources corresponding to the IaaS resource demand information and the cloud native resource demand information are created. In one embodiment, Kubernetes can use the API interface of the container network (i.e., CNI plug-in) to call different plug-ins to achieve different configurations.

[0101] The exemplary embodiment of the present disclosure also provides a cloud resource creation device 900. The cloud resource creation device 900 can be applied to the above-mentioned cloud resource creation system 110; Fig. 9 As shown, the cloud resource creation device 900 may include:

[0102] The information acquisition module 910 is configured to acquire configuration information of a network element of a target network;

[0103] A resource determination module 920 is configured to determine the infrastructure as a service IaaS resource demand information and the cloud native resource demand information of the target network according to the configuration information;

[0104] The resource creation module 930 is configured to create corresponding cloud resources on the cloud platform according to the IaaS resource demand information and the cloud native resource demand information.

[0105] In one implementation, the information acquisition module 910 is configured to: provide a user interaction interface; and acquire configuration information of a network element of the target network input in the user interaction interface.

[0106] In one implementation, the information acquisition module 910 is configured to: display a target table in the user interaction interface in response to an operation instruction to modify a preset table; and acquire configuration information of a network element of the target network entered in the target table.

[0107] In one embodiment, the cloud resource creation device 900 may also include: an information verification module 940, configured to verify the integrity and rationality of the configuration information; verify the rationality of the connection of the target network based on the configuration information; and when the integrity and rationality of the configuration information of the network element are verified and the rationality of the connection of the target network is verified, determine the IaaS resource demand information and cloud native resource demand information of the target network based on the configuration information.

[0108] In one embodiment, the information verification module 940 is configured to: verify the fields corresponding to the configuration information, and when the fields corresponding to the configuration information are not empty, determine that the integrity check of the configuration information has passed; otherwise, determine that the integrity check of the configuration information has failed; verify the values ​​corresponding to the configuration information, and when the values ​​corresponding to the configuration information are within the reference value range, determine that the rationality check of the configuration information has passed; otherwise, determine that the rationality check of the configuration information has failed.

[0109] In one embodiment, the information verification module 940 is configured to: query the address information corresponding to different network elements with consistent network interface information; determine whether the address information corresponding to different network elements belongs to the same network segment based on the address information corresponding to different network elements; if they belong to the same network segment, determine that the connection rationality check for the target network has passed; otherwise, determine that the connection rationality check for the target network has failed.

[0110] In one embodiment, the configuration information of the network element also includes the network element type, the number of containers corresponding to the network element, CPU configuration information, storage resource information and bandwidth configuration information. The resource determination module 920 is configured to: determine the number requirements of virtual machines based on the network element type and the number of containers corresponding to the network element; determine the configuration requirements of the virtual machines based on the CPU core number information and the storage resource information; determine the network requirements of the virtual machines based on the bandwidth requirement information; determine the IaaS resource requirement information based on the number requirements, configuration requirements and network requirements of the virtual machines.

[0111] In one implementation, the resource determination module 920 is configured to: determine container cluster information that meets IaaS resource demand information; and determine cloud native resource demand information based on the container cluster information.

[0112] The exemplary embodiment of the present disclosure also provides a cloud resource creation platform 1000. The cloud resource creation platform 1000 may be the cloud resource creation system 110 described above; Fig.10 As shown, the cloud resource creation platform 1000 may include: a network topology definition module 1010, a network topology verification module 1020, a network topology analysis module 1030, a resource demand analysis module 1040, a resource orchestration and creation module 1050, and an environment confirmation module 1060; wherein,

[0113] The resource demand analysis module 1040 includes an IaaS resource demand analysis module 1041 and a cloud native resource analysis module 1042; the resource orchestration and creation module 1050 includes an IaaS resource orchestration module 1051, a cloud native resource orchestration module 1052, an IaaS resource creation module 1053, and a cloud native resource creation module 1054; specifically,

[0114] The network topology definition module 1010 may be configured to obtain configuration information of network elements of the target network;

[0115] The network topology verification module 1020 may be configured to verify the integrity and rationality of the configuration information;

[0116] The network topology analysis module 1030 may be configured to verify the rationality of the connection of the target network according to the configuration information;

[0117] The resource requirement analysis module 1040 may be configured to determine the IaaS resource requirement information and the cloud native resource requirement information of the target network according to the configuration information when the integrity and rationality check of the configuration information of the network element and the connection rationality check of the target network are passed;

[0118] Further, the IaaS resource requirement analysis module 1041 may be configured to determine the IaaS resource requirement information of the target network according to the configuration information;

[0119] The cloud native resource analysis module 1042 may be configured to determine the cloud native resource demand information of the target network according to the configuration information;

[0120] The resource orchestration and creation module 1050 may be configured to create corresponding cloud resources on the cloud platform according to the IaaS resource demand information and the cloud native resource demand information.

[0121] Further, the IaaS resource orchestration module 1051 may be configured to generate an IaaS resource demand information template according to the IaaS resource demand information;

[0122] The cloud native resource orchestration module 1052 may be configured to generate a cloud native resource demand information template according to the cloud native resource demand information;

[0123] The IaaS resource creation module 1053 may be configured to create cloud resources corresponding to the IaaS resource demand information on the cloud platform according to the IaaS resource demand information template;

[0124] The cloud native resource creation module 1054 may be configured to create cloud resources corresponding to the cloud native resource demand information on the cloud platform according to the cloud native resource demand information template;

[0125] The environment confirmation module 1060 may be configured to verify the created cloud resources according to the topology requirements to ensure that the cloud resources are successfully created and meet the topology requirements.

[0126] The exemplary embodiments of the present disclosure also provide a computer-readable storage medium, which can be implemented in the form of a program product, which includes a program code, and when the program product is run on an electronic device, the program code is used to cause the electronic device to perform the steps described in the above "Exemplary Method" section of this specification according to various exemplary embodiments of the present disclosure. In an optional embodiment, the program product can be implemented as a portable compact disk read-only memory (CD-ROM) and includes program code, and can be run on an electronic device, such as a personal computer. However, the program product of the present disclosure is not limited to this, and in this document, the readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, device or device.

[0127] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0128] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0129] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0130] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0131] The exemplary embodiment of the present disclosure also provides an electronic device, which may be, for example, the cloud resource creation system 110 described above. The electronic device may include a processor and a memory. The memory stores executable instructions of the processor, such as program code. The processor executes the cloud resource creation method in the exemplary embodiment by executing the executable instructions, such as program code. Figure 2 method steps.

[0132] Reference below Fig.11 , the electronic device is exemplarily described in the form of a general-purpose computing device. It should be understood that Fig.11 The electronic device 1100 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0133] like Fig.11 As shown, the electronic device 1100 may include: a processor 1110 , a memory 1120 , a bus 1130 , an I / O (input / output) interface 1140 , and a network adapter 1150 .

[0134] The memory 1120 may include a volatile memory, such as a RAM 1121, a cache unit 1122, and may also include a non-volatile memory, such as a ROM 1123. The memory 1120 may also include one or more program modules 1124, such program modules 1124 include but are not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or a combination thereof may include the implementation of a network environment. For example, the program module 1124 may include the modules in the above-mentioned cloud resource creation device 900.

[0135] The bus 1130 is used to realize the connection between different components of the electronic device 1100, and may include a data bus, an address bus, and a control bus.

[0136] The electronic device 1100 can communicate with one or more external devices 2000 (eg, a keyboard, a mouse, an external controller, etc.) through the I / O interface 1140 .

[0137] The electronic device 1100 can communicate with one or more networks through the network adapter 1150. For example, the network adapter 1150 can provide mobile communication solutions such as 3G / 4G / 5G, or provide wireless communication solutions such as wireless LAN, Bluetooth, near field communication, etc. The network adapter 1150 can communicate with other modules of the electronic device 1100 through the bus 1130.

[0138] although Fig.11 Not shown, other hardware and / or software modules may also be provided in the electronic device 1100, including but not limited to: a display, a microcode, a device driver, a redundant processor, an external disk drive array, a RAID system, a tape drive, and a data backup storage system.

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

[0140] It will be appreciated by those skilled in the art that various aspects of the present disclosure may be implemented as a system, method or program product. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which may be collectively referred to herein as a "circuit", "module" or "system". Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any variations, uses or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and implementation are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0141] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A cloud resource creation method, characterized in that: include: Obtaining configuration information of a network element of a target network; the configuration information of the network element includes network element type, number of containers corresponding to the network element, CPU configuration information, storage resource information, and bandwidth configuration information; different network elements correspond to different configuration information; Determine the infrastructure as a service (IaaS) resource demand information and cloud native resource demand information of the target network according to the configuration information; The determining, according to the configuration information, the infrastructure as a service IaaS resource demand information and the cloud native resource demand information of the target network comprises: determining the IaaS resource demand information according to the configuration information of the network element of the target network; determining the cloud native resource demand information according to the IaaS resource demand information; Creating corresponding cloud resources on the cloud platform according to the IaaS resource demand information and the cloud native resource demand information; The determining, according to the configuration information, the IaaS resource requirement information and the cloud native resource requirement information of the target network includes: Determine the number of virtual machines required according to the network element type and the container quantity information corresponding to the network element; Determining the configuration requirements of the virtual machine according to the CPU core number information and the storage resource information; Determining the network requirement of the virtual machine according to the bandwidth requirement information; The IaaS resource requirement information is determined based on the quantity requirement, configuration requirement and network requirement of the virtual machines.

2. The cloud resource creation method according to claim 1, characterized in that: The obtaining of configuration information of a network element of the target network includes: Provide a user interaction interface; Acquire the configuration information of the network element of the target network input in the user interaction interface.

3. The cloud resource creation method according to claim 2, characterized in that: The acquiring the configuration information of the network element of the target network input in the user interaction interface includes: In response to an operation instruction to modify a preset table, displaying a target table in the user interaction interface; The configuration information of the network element of the target network entered in the target table is obtained.

4. The cloud resource creation method according to claim 1, characterized in that: Before determining the infrastructure as a service (IaaS) resource requirement information and cloud native resource requirement information of the target network according to the configuration information, the method further includes: Verifying the integrity and rationality of the configuration information; Verifying the rationality of the connection of the target network according to the configuration information; When the integrity and rationality check of the configuration information of the network element and the connection rationality check of the target network are passed, the IaaS resource demand information and cloud native resource demand information of the target network are determined according to the configuration information.

5. The cloud resource creation method according to claim 4, characterized in that: The checking of the integrity and rationality of the configuration information includes: Verify the fields corresponding to the configuration information, and if all the fields corresponding to the configuration information are not empty, determine that the integrity check of the configuration information passes; otherwise, determine that the integrity check of the configuration information fails; The value corresponding to the configuration information is checked. If the value corresponding to the configuration information is within a reference value range, it is determined that the rationality check of the configuration information has passed; otherwise, it is determined that the rationality check of the configuration information has failed.

6. The cloud resource creation method according to claim 4, characterized in that: The configuration information of the network element includes network interface information and address information, and the checking of the rationality of the connection of the target network according to the configuration information of the network element includes: Query the address information corresponding to different network elements with consistent network interface information; According to the address information corresponding to different network elements, determine whether the address information corresponding to different network elements belongs to the same network segment; if they belong to the same network segment, determine that the connection rationality check of the target network passes; otherwise, determine that the connection rationality check of the target network fails.

7. A cloud resource creation device, characterized in that: The device comprises: An information acquisition module is configured to acquire configuration information of a network element of a target network; the configuration information of the network element includes network element type, container quantity information corresponding to the network element, CPU configuration information, storage resource information, and bandwidth configuration information; different network elements correspond to different configuration information; A resource determination module is configured to determine the IaaS resource demand information and the cloud native resource demand information of the target network according to the configuration information; the resource determination module is configured to: determine the IaaS resource demand information according to the configuration information of the network element of the target network; determine the cloud native resource demand information according to the IaaS resource demand information; A resource creation module is configured to create corresponding cloud resources on the cloud platform according to the IaaS resource demand information and the cloud native resource demand information; The resource determination module is configured to: Determine the number of virtual machines required according to the network element type and the container quantity information corresponding to the network element; Determining the configuration requirements of the virtual machine according to the CPU core number information and the storage resource information; Determining the network requirement of the virtual machine according to the bandwidth requirement information; The IaaS resource requirement information is determined based on the quantity requirement, configuration requirement and network requirement of the virtual machines.

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

9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 6 by executing the executable instructions.