EP-4742608-A1 - CLOUD SERVICE PROVIDING METHOD AND APPARATUS
Abstract
This application belongs to the field of cloud service technologies, and discloses a cloud service providing method and an apparatus. The method includes: A cloud platform provides a network configuration interface for a user, where the network configuration interface prompts the user to enter network feature information, and the network feature information indicates a cloud service network needed for implementing a target cloud service. The cloud platform provides a network association interface for the user, where the network association interface prompts the user to enter association information, the association information indicates a plurality of service nodes associated with the cloud service network, the service node is used to deploy an application of the user, the application is used to implement the target cloud service, and the plurality of service nodes are deployed based on a resource in one or more resource deployment regions. The cloud platform establishes an association relationship between the plurality of service nodes based on the network feature information and the association information, to obtain the cloud service network. In this application, performance of a cloud service provided by the cloud service network is enhanced.
Inventors
- FU, MENG
- YANG, Xuwei
- GAO, ZHONGHUA
- ZHAO, Haifei
- YANG, YONGQIANG
- ZHU, XIAOPING
- PAN, Chen
Assignees
- Huawei Cloud Computing Technologies Co., Ltd.
Dates
- Publication Date
- 20260513
- Application Date
- 20240724
Claims (20)
- A cloud service providing method, wherein the method is applied to a cloud platform, and the method comprises: providing, by the cloud platform, a network configuration interface for a user, wherein the network configuration interface prompts the user to enter network feature information, and the network feature information indicates a cloud service network needed for implementing a target cloud service; providing, by the cloud platform, a network association interface for the user, wherein the network association interface prompts the user to enter association information, the association information indicates a plurality of service nodes associated with the cloud service network, the service node is used to deploy an application of the user, the application is used to implement the target cloud service, and the plurality of service nodes are deployed based on a resource in one or more resource deployment regions; and establishing, by the cloud platform, an association relationship between the plurality of service nodes based on the network feature information and the association information, to obtain the cloud service network.
- The method according to claim 1, wherein the plurality of service nodes meet one or both of the following: the plurality of service nodes are deployed based on cloud resources in different cloud resource deployment regions on the cloud platform; and the plurality of service nodes are deployed based on at least two of a public network resource, a cloud resource in a cloud resource deployment region, and a self-owned resource of the user.
- The method according to claim 1 or 2, wherein the service node is deployed based on a resource in one or more resource deployment regions.
- The method according to claim 3, wherein the service node meets one or both of the following: the service node is deployed based on cloud resources in different cloud resource deployment regions on the cloud platform; and the service node is deployed based on at least two of a public network resource, a cloud resource in the cloud resource deployment region, and a self-owned resource of the user.
- The method according to any one of claims 1 to 4, wherein different listening protocols are used for the plurality of service nodes.
- The method according to any one of claims 1 to 5, wherein different network protocols are used for a plurality of first resource sets used to deploy the service node.
- The method according to any one of claims 1 to 6, wherein different network protocols are used for a plurality of first resource sets used to deploy the plurality of service nodes.
- The method according to any one of claims 1 to 7, wherein before establishing, by the cloud platform, the association relationship between the plurality of service nodes based on the network feature information and the association information, to obtain the cloud service network, the method further comprises: providing, by the cloud platform, a service configuration interface for the user, wherein the service configuration interface prompts the user to enter service feature information, the service feature information indicates all first resource sets needed for deploying the service node, and all resources in any first resource set are deployed in a same resource deployment region; and deploying, by the cloud platform, the service node by using all the first resource sets.
- The method according to any one of claims 1 to 8, wherein the service feature information or the network feature information further indicates that the service node is reused as a client, and the service feature information indicates all the first resource sets needed for deploying the service node; and the method further comprises: deploying, by the cloud platform, the client by using all the first resource sets, and associating the client with the cloud service network.
- The method according to claim 9, wherein different network protocols are used for a resource set used to deploy the client and a resource set used to deploy the service node.
- The method according to claim 9 or 10, wherein the client is associated with a plurality of cloud service networks, and the plurality of cloud service networks are used to implement different cloud services.
- The method according to any one of claims 1 to 11, wherein the plurality of service nodes are respectively deployed by a plurality of users.
- The method according to any one of claims 1 to 12, wherein the cloud service network and the plurality of service nodes are separately deployed by a plurality of users.
- The method according to claim 1 or 13, wherein the service node is associated with a plurality of cloud service networks, and the plurality of cloud service networks are used to implement different cloud services.
- The method according to any one of claims 1 to 14, wherein the cloud service network comprises a transit network, the transit network is used to associate different service nodes, and the transit network is used to translate addresses of the plurality of service nodes.
- A cloud service providing apparatus, wherein the apparatus is used in a cloud platform, and the apparatus comprises: an interaction module, configured to provide a network configuration interface for a user, wherein the network configuration interface prompts the user to enter network feature information, and the network feature information indicates a cloud service network needed for implementing a target cloud service, wherein the interaction module is further configured to provide a network association interface for the user, wherein the network association interface prompts the user to enter association information, the association information indicates a plurality of service nodes associated with the cloud service network, the service node is used to deploy an application of the user, the application is used to implement the target cloud service, and the plurality of service nodes are deployed based on a resource in one or more resource deployment regions; and a processing module, configured to establish an association relationship between the plurality of service nodes based on the network feature information and the association information, to obtain the cloud service network.
- The apparatus according to claim 16, wherein the interaction module is further configured to provide a service configuration interface for the user, wherein the service configuration interface prompts the user to enter service feature information, the service feature information indicates all first resource sets needed for deploying the service node, and all resources in any first resource set are deployed in a same resource deployment region; and deploy the service node by using all the first resource sets.
- The apparatus according to claim 16 or 17, wherein the service feature information or the network feature information further indicates that the service node is reused as a client, and the service feature information indicates all the first resource sets needed for deploying the service node; and the processing module is further configured to deploy the client by using all the first resource sets, and associate the client with the cloud service network.
- A compute device cluster, comprising a plurality of compute devices, wherein the plurality of compute devices comprise a plurality of processors and a plurality of memories, the plurality of memories store program instructions, and the plurality of processors run the program instructions, to cause the compute device cluster to perform the method according to any one of claims 1 to 15.
- A computer-readable storage medium, comprising program instructions, wherein when the program instructions are run on a compute device, the compute device is caused to perform the method according to any one of claims 1 to 15.
Description
This application claims priorities to Chinese Patent Application No. 202310919132.3, filed on July 25, 2023 and entitled "CLOUD SERVICE-BASED NETWORK SYSTEM", and to Chinese Patent Application No. 202311216928.9, filed on September 19, 2023 and entitled "CLOUD SERVICE PROVIDING METHOD AND APPARATUS", both of which are incorporated herein by reference in their entireties. TECHNICAL FIELD This application relates to the field of cloud service technologies, and in particular, to a cloud service providing method and an apparatus. BACKGROUND With the continuous development of information technologies, especially the progress of internet technologies, more and more users such as enterprises and organizations (also referred to as tenants or cloud tenants) use cloud services to implement services. Currently, before a user uses a cloud service, developers of the cloud service need to create various network objects based on a requirement of the user for the cloud service by using various resources provided by a cloud platform, and performs related configuration on the network objects, to establish, on the cloud platform, a cloud service network for implementing the cloud service needed by the user. However, currently, deployment of the cloud service network is subject to various restrictions, affecting performance of the cloud service provided by the cloud service network. SUMMARY This application provides a cloud service providing method and an apparatus. In this application, performance of a cloud service provided by a cloud service network is enhanced. The technical solutions provided in this application are as follows. According to a first aspect, this application provides a cloud service providing method. The method is applied to a cloud platform. The method includes: A cloud platform provides a network configuration interface for a user, where the network configuration interface prompts the user to enter network feature information, and the network feature information indicates a cloud service network needed for implementing a target cloud service. The cloud platform provides a network association interface for the user, where the network association interface prompts the user to enter association information, the association information indicates a plurality of service nodes associated with the cloud service network, the service node is used to deploy an application of the user, the application is used to implement the target cloud service, and the plurality of service nodes are deployed based on a resource in one or more resource deployment regions. The cloud platform establishes an association relationship between the plurality of service nodes based on the network feature information and the association information, to obtain the cloud service network. In the cloud service providing method provided in this application, because the plurality of service nodes in the cloud service network are deployed based on the resource in the one or more resource deployment regions, the cloud service network is not limited to being deployed based on a resource in a specific resource deployment region. The cloud service network may be considered as a global network, and can provide a service for the user by using resources deployed in the plurality of resource deployment regions. This expands a range for the cloud service network to provide a cloud service, and enhances performance of the cloud service provided by the cloud service network. In an implementation, the plurality of service nodes meet one or both of the following: The plurality of service nodes are deployed based on cloud resources in different cloud resource deployment regions on the cloud platform; and the plurality of service nodes are deployed based on at least two of a public network resource, a cloud resource in a cloud resource deployment region, and a self-owned resource of the user. Further, for any service node, the service node is optionally deployed based on a resource in one or more resource deployment regions. For example, the service node meets one or both of the following: The service node is deployed based on cloud resources in different cloud resource deployment regions on the cloud platform; and the service node is deployed based on at least two of a public network resource, a cloud resource in a cloud resource deployment region, and a self-owned resource of the user. In this case, because the service node is not limited to being deployed based on a resource in a specific resource deployment region, it can be learned that the service node can provide a service for the user by using the resources deployed in the plurality of resource deployment regions, and the service node may be considered as a global service node. Optionally, different listening protocols are used for the plurality of service nodes. When different listening protocols are used for the plurality of service nodes in the cloud service network, the cloud service network can supp