Cloud service system, resource management method, device, equipment, medium and product

By building a cloud service resource association model and dividing it into hardware resource layer, virtualized resource pool layer, cloud service layer and application layer, the problem of low system availability in the cloud computing environment is solved, and the high availability and stability of the cloud service system is achieved.

CN119892650AActive Publication Date: 2025-04-25CHINA TELECOM CLOUD TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411775282.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-04-25
Estimated Expiration
2044-12-04

AI Technical Summary

Technical Problem

In the cloud computing environment, system availability is severely challenged due to hardware failures, software vulnerabilities, network failures and other factors, especially under the master-slave architecture. If the fault-tolerant domain allocation is unreasonable, the master-slave node may be unavailable at the same time, affecting the overall availability.

Method used

By building a cloud service resource association model, setting up the hardware resource layer, virtualization resource pool layer, cloud service layer and application layer. The hardware resource layer and virtualization resource pool layer are used to manage and call hardware and virtualization resources. The virtualization resource pool layer is divided into several units, each unit contains at least two sets of resource nodes in different availability zones/fault-tolerant domains. The cloud service layer deploys cloud services on several units, including databases and containers, and sets master and slave nodes at the application layer.

Benefits of technology

The availability and stability of the cloud service system are improved, and through the reasonable allocation of resources and the selection of units, the system can be ensured to continue operating in the event of failure, reducing complexity and failure risk.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892650A_ABST
    Figure CN119892650A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of cloud computing, and discloses a cloud service system, a resource management method and device, equipment, a medium and a product, the cloud service system is provided with a cloud service resource association model, and the model comprises a hardware resource layer, a virtualization resource pool layer, a cloud service layer and an application layer; the hardware resource layer comprises callable hardware resources; the virtual resource pool layer comprises callable virtual resources; the virtualized resource pool layer comprises a plurality of units; each unit comprises at least two groups of resource nodes; at least two groups of resource nodes in each unit are located in different available areas / fault-tolerant domains; the cloud service layer is used for deploying corresponding cloud services on a plurality of units; the cloud service comprises at least one of a database and a container; and the application layer is used for running corresponding application programs according to the cloud services and setting master and slave nodes in units of the cloud services. According to the invention, the availability of cloud services can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud computing technology, and in particular to a cloud service system, a resource management method, an apparatus, equipment, a medium and a product. Background Art

[0002] With the rapid development and application of cloud computing technology, more and more enterprises and organizations are migrating their businesses to cloud environments. However, in cloud environments, due to hardware failures, software vulnerabilities, network failures and other factors, the availability of the system faces severe challenges. In a cloud computing environment, high-availability system design is a key task to ensure that the system can provide services continuously and stably, better meet user needs and improve service quality.

[0003] Cloud environment refers to a collection of virtualized computing resources and services built on cloud computing technology. It can provide computing power, storage capacity or virtual machine services on demand to users or various application systems from a dynamic virtualized resource pool, allowing users to access and manage storage, computing and network resources through the Internet without having to worry about the details of the underlying infrastructure.

[0004] Currently, the cloud resources that high-availability systems rely on in cloud environments may fail due to hardware failures, network delays, and other reasons. In addition, when using a master-slave architecture, if the fault-tolerance domains where the master and slave nodes are located are not allocated properly, the services on the master and slave nodes may become unavailable at the same time, affecting overall availability. Summary of the invention

[0005] In view of this, the present invention provides a cloud service system, resource management method, device, equipment, medium and product to improve the availability of cloud services.

[0006] In a first aspect, the present invention provides a cloud service system, which is provided with a cloud service resource association model, wherein the model includes a hardware resource layer, a virtualized resource pool layer, a cloud service layer and an application layer; the hardware resource layer includes callable hardware resources; the virtualized resource pool layer includes callable virtualized resources; the virtualized resource pool layer includes a number of units; each unit includes at least two groups of resource nodes; at least two groups of resource nodes in each unit are in different availability zones / fault-tolerance domains; the cloud service layer is used to deploy corresponding cloud services on a number of units; the cloud service includes at least one of a database and a container; the application layer is used to run corresponding applications according to each cloud service, and to set master-slave nodes in the units of the cloud service.

[0007] In an optional implementation, the virtualized resource pool layer further includes a resource creation interface; the resource creation interface is used to select a unit according to a specified resource pool, fault domain, or availability zone.

[0008] In an optional implementation, the virtualized resource pool layer is further configured to synchronize the change information to the cloud service layer when detecting a change in the state of a resource node in a unit, so that the cloud service layer reselects the unit.

[0009] In the second aspect, the present invention provides a cloud service resource management method, which is applied to a cloud service system, and the method includes: constructing a hardware resource layer in a cloud service resource association model, and setting hardware resource tags; the hardware resource tags are used to indicate the availability zones and hardware information corresponding to the hardware resources; constructing a virtualized resource pool layer in the cloud service resource association model, and setting virtual resource tags; the virtual resource tags are used to indicate the actual running physical machines and fault domains of the resource nodes; dividing at least two groups of resource nodes distributed in different availability zones in the virtualized resource pool layer into one unit, and selecting at least one unit to deploy the cloud service of the cloud service layer.

[0010] In an optional implementation, the method further includes: when the cloud service is expanded or an underlying failure occurs, selecting at least one available unit in the virtualized resource pool layer to perform node expansion or node replacement.

[0011] In an optional implementation, selecting at least one unit to deploy cloud services of the cloud service layer includes: obtaining a disaster recovery level of the cloud services of the cloud service layer; and selecting at least one unit from each unit to deploy the cloud services of the cloud service layer according to the disaster recovery level.

[0012] In the third aspect, the present invention provides a cloud service resource management device, which includes: a hardware setting module, which is used to construct a hardware resource layer in a cloud service resource association model and set hardware resource tags; the hardware resource tags are used to indicate the availability zones and hardware information corresponding to the hardware resources; a virtual setting module, which is used to construct a virtualized resource pool layer in a cloud service resource association model and set virtual resource tags; the virtual resource tags are used to indicate the actual running physical machines and fault domains of resource nodes; a node division module, which is used to divide at least two groups of resource nodes distributed in different availability zones in the virtualized resource pool layer into one unit, and select at least one unit to deploy the cloud service of the cloud service layer.

[0013] In a fourth aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to thereby execute a cloud service resource management method according to the first aspect or any corresponding embodiment thereof.

[0014] In a fifth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute a cloud service resource management method according to the first aspect or any corresponding embodiment thereof.

[0015] In a sixth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute a cloud service resource management method according to the first aspect or any corresponding embodiment thereof.

[0016] The technical solution provided by the present invention may include the following beneficial effects:

[0017] The cloud service system of the present invention divides the model into a hardware resource layer, a virtualized resource pool layer, a cloud service layer and an application layer by setting a cloud service resource association model. The setting of the hardware resource layer and the virtualized resource pool layer enables the system to call and manage various types of hardware and virtualized resources, thereby improving the utilization rate of resources. Several units are set in the virtualized resource pool layer, each unit includes at least two groups of resource nodes in different availability zones / fault tolerance domains, thereby enhancing the fault tolerance of the system. The cloud service layer can deploy corresponding cloud services on several units, including databases and containers, thereby simplifying the configuration and management process of cloud services. The application layer runs corresponding applications according to each cloud service, and sets master-slave nodes in the units of the cloud service, thereby improving the reliability of application operation. A cloud service resource management method provided by the present invention realizes effective management and utilization of cloud service resources by constructing a hardware resource layer and a virtualized resource pool layer in a cloud service resource association model, and setting corresponding hardware resource tags and virtual resource tags. At least two groups of resource nodes distributed in different availability zones are divided into one unit, thereby making resource allocation more reasonable. Selecting at least one unit to deploy cloud services of the cloud service layer simplifies the deployment process of the cloud services and reduces complexity.

[0018] The above scheme improves the availability of cloud services by constructing a cloud service resource association model, setting a hardware resource layer and a virtualized resource pool layer, setting units in the virtualized resource pool layer, deploying and managing cloud services in the cloud service layer, setting master-slave nodes in the application layer, and applying cloud service resource management methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 is a schematic diagram of a cloud service system according to an embodiment of the present invention;

[0021] Figure 2is a schematic diagram of the structural relationship of the PaaS service after adding units according to an embodiment of the present invention;

[0022] Figure 3 A flow chart of a cloud service resource management method according to an embodiment of the present invention;

[0023] Figure 4 is a structural block diagram of a cloud service resource management device according to an embodiment of the present invention;

[0024] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0026] In the description of the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between two items, or an association relationship between the two items, or a relationship between indication and being indicated, configuration and being configured, and the like.

[0027] Figure 1 A cloud service system according to an embodiment of the present invention. Figure 1 As shown, the cloud service system is provided with a cloud service resource association model, which includes a hardware resource layer, a virtualized resource pool layer, a cloud service layer, and an application layer;

[0028] The hardware resource layer includes callable hardware resources; the virtualized resource pool layer includes callable virtualized resources; the virtualized resource pool layer includes several units; each unit includes at least two groups of resource nodes; at least two groups of resource nodes in each unit are in different availability zones / fault tolerance domains;

[0029] The cloud service layer is used to deploy corresponding cloud services on several units; the cloud service includes at least one between a database and a container; the application layer is used to run corresponding applications according to each cloud service and set master and slave nodes in the units of the cloud service.

[0030] The hardware resource layer is the first layer of the cloud service system, including available hardware resources, such as physical machines, switches, etc. Hardware resources are the physical basis for the operation of the cloud service system.

[0031] The virtualized resource pool layer is the second layer of the cloud service system, including callable virtualized resources, such as virtual machines, virtual networks, VPNs and other IaaS resources. The virtualized resource pool layer uses virtualization technology and other means to create and manage resources, corresponding to the physical resources of the first layer. This layer is further divided into several units, each of which contains at least two groups of resource nodes, which are resource application or resource scheduling units. These two groups of resource nodes are distributed in different availability zones or fault tolerance domains to improve the fault tolerance and availability of the system.

[0032] The cloud service layer is the third layer of the cloud service system, which is used to deploy corresponding cloud services on several units. Cloud services include PaaS cloud services such as databases (such as MySQL), containers (such as Docker), and message queues (such as Redis). It runs on the IaaS resources provided by the virtualized resource pool layer. When deploying cloud services, the unit is not the unit of individual resource nodes, but the minimum resource scheduling unit. Optionally, based on the unit setting, when the cloud service layer is expanded or an underlying failure occurs, it is necessary to add or replace resource nodes, which can ensure that high availability requirements are still met after expansion or replacement of nodes. The cloud service layer does not need to care about the specific deployment of resource nodes in the unit. It only needs to know the disaster recovery level of the unit to build cloud services of the corresponding disaster recovery level, which simplifies the design of disaster recovery for underlying resources for various services.

[0033] The application layer is the fourth layer of the cloud service system, which is used to run actual business applications based on various cloud services to generate business value. The key factors affecting system availability, such as databases and message queues, are deployed using a master-slave architecture. The system will set up master and slave nodes according to the units of the cloud service to improve the availability of the system.

[0034] The system provided by the present invention builds a high-availability system in a cloud environment through a four-level resource association model. The model improves the availability of the system through virtualization technology, unit division, and master-slave architecture.

[0035] In an optional implementation, the virtualized resource pool layer further includes a resource creation interface; the resource creation interface is used to select a unit according to a specified resource pool, fault domain, or availability zone.

[0036] In the virtualized resource pool layer, a resource creation interface is also provided to provide a mechanism that allows units to be selected based on a specified resource pool, fault domain, or availability zone.

[0037] The resource creation interface provides the ability to specify parameters such as resource pools, fault domains, and availability zones. Alternatively, it provides availability sets to ensure that the created resources are evenly distributed in different fault domains, so as to maximize the selection of units and improve creation efficiency. At the same time, it ensures the correctness of resource tags and synchronizes them to the cloud service layer in a timely manner after changes occur, so as to facilitate unit replacement or data migration.

[0038] In an optional implementation, the virtualized resource pool layer is further configured to synchronize the change information to the cloud service layer when detecting a change in the state of a resource node in a unit, so that the cloud service layer reselects the unit.

[0039] In the cloud service system, the status of resource nodes may change due to various reasons, such as hardware failure, network problems, maintenance and upgrades, etc. The virtualized resource pool layer can detect these status changes in real time through the built-in monitoring mechanism or integration with the external monitoring system. Upon detecting the status change of the resource node, the virtualized resource pool layer synchronizes the relevant change information to the cloud service layer. The change information may include the current status of the resource node, the type of failure, the estimated recovery time, etc. Synchronizing the change information to the cloud service layer enables the cloud service layer to understand the latest status of the resource node in a timely manner, adjust the service deployment strategy as needed, and reselect the unit.

[0040] The cloud service layer can determine the logic of selecting units according to its own characteristics, which has a certain degree of flexibility. After the cloud service layer completes the selection of units and deployment, the selection results should be synchronized back to the virtualized resource pool layer. This can avoid migrating resources under the same unit to the same fault-tolerance domain during daily migration and maintenance, which will destroy the highly available master-slave architecture. Some IaaS bases have the ability to automatically drift due to faults. In order to avoid the impact of drift, a daily inspection mechanism needs to be formed to check whether there are nodes that no longer meet the requirements after drift. Establish a communication and maintenance mechanism for the unit, provide migration target constraints when performing resource migration at the virtualized resource pool layer, and perceive the cloud service layer's requirements for resource distribution. The inspection mechanism ensures that the resources under the unit can be distributed as expected.

[0041] Figure 2It is a schematic diagram of the structural relationship of the PaaS service after adding units according to an embodiment of the present invention. As an infrastructure, the PaaS service layer (i.e., the cloud service layer) provides a stable and reliable operating environment for application A and application B, and supports the deployment, management, and expansion of applications. Application A and application B are deployed in unit1 and unit2, respectively, and each application contains multiple virtual machine instances to achieve load balancing and high availability. Application A and application B each have independent fault tolerance domains, and each fault tolerance domain consists of virtual machines located in different physical locations. Application A and application B are deployed in different availability zones, respectively. If multiple virtual machines in a certain availability zone fail at the same time, the virtual machines in another availability zone can still run, which improves the fault tolerance of the system. Through cross-fault-tolerance domain and cross-availability zone disaster recovery, the continuous operation of the system in various failure scenarios is ensured.

[0042] According to an embodiment of the present invention, an embodiment of a cloud service resource management method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0043] In this embodiment, a cloud service resource management method is provided. Figure 3 is a flow chart of a cloud service resource management method according to an embodiment of the present invention. Figure 3 As shown, the method is applied to a cloud service system, and the process includes the following steps:

[0044] Step S101, constructing a hardware resource layer in a cloud service resource association model, and setting a hardware resource tag; the hardware resource tag is used to indicate the availability zone and hardware information corresponding to the hardware resource.

[0045] To build a cloud service resource association model, first, you need to establish a hardware resource layer, which contains the underlying hardware resources that the cloud service system relies on, such as physical machines, switches, etc. Set corresponding tags for hardware resources to indicate the key attributes of hardware resources. Resource tags include resource pool guarantee level, availability zone, hardware information, specifications, etc. By setting tags for hardware resources, you can easily manage and schedule these resources.

[0046] Step S102, constructing a virtualized resource pool layer in a cloud service resource association model, and setting virtual resource tags; the virtual resource tags are used to indicate the actual running physical machine and fault tolerance domain of the resource node.

[0047] Similar to the hardware resource layer, tags are set for virtualized resources to indicate the key attributes of virtualized resources. Virtual resource tags include actual running physical machines, fault tolerance domains, and security levels. Build resource pools with different security levels, establish the capacity and practicality of each resource pool, provide recommendations when creating resources for the virtualized resource pool layer, promptly disable new resources in resource pools with high loads, and reserve some redundancy for emergency resource creation and resource replacement in case of failures. By setting tags for virtualized resources, you can more accurately control the deployment and migration of resources to meet different business needs.

[0048] Step S103: divide at least two groups of resource nodes distributed in different availability zones in the virtualized resource pool layer into one unit, and select at least one unit to deploy cloud services of the cloud service layer.

[0049] The resource nodes distributed in different availability zones in the virtualized resource pool layer are divided and combined into units. Each unit contains at least two groups of resource nodes distributed in different availability zones to ensure that the service can still run normally when a single availability zone fails. Select at least one of these units to deploy the cloud service of the cloud service layer. By dividing the resource nodes into units and selecting units to deploy cloud services, the availability and stability of the cloud service system can be improved.

[0050] In summary, the cloud service resource management method provided in this embodiment improves the high availability of the cloud service system by constructing a cloud service resource association model and adopting a unitized resource deployment strategy.

[0051] In an optional embodiment, the method further includes:

[0052] When the cloud service is expanded or an underlying failure occurs, at least one available unit is selected in the virtualized resource pool layer to perform node expansion or node replacement.

[0053] As the business develops, the cloud service system may need to bear more loads and expand its nodes to increase the system's processing capacity. At the same time, due to underlying failures, some nodes in the cloud service system may fail and need to be replaced to restore the normal operation of the system.

[0054] In the virtualized resource pool layer, resource nodes distributed in different availability zones are divided into multiple units. When you need to expand or replace a node, select an available unit in the virtualized resource pool layer. When selecting a unit, consider the unit's disaster tolerance level. When expanding or replacing a node, give priority to units with higher disaster tolerance levels.

[0055] This implementation ensures the continuous and stable operation of the cloud service system in the event of expansion or failure by expanding or replacing nodes.

[0056] In an optional implementation, the above step S103 includes the following steps:

[0057] Step a11, obtaining the disaster recovery level of the cloud service of the cloud service layer.

[0058] First, determine the disaster tolerance level of each cloud service in the cloud service layer. The disaster tolerance level is determined based on the distribution of resource nodes in the unit and the fault tolerance capability. By querying the configuration information or metadata of the cloud service layer, the disaster tolerance level of each cloud service can be obtained.

[0059] Step a12: selecting at least one unit from each unit to deploy cloud services of the cloud service layer according to the disaster recovery level.

[0060] After obtaining the disaster recovery level of the cloud service, a suitable unit is selected from each unit in the virtualized resource pool layer to deploy the cloud service. The selection process is based on the disaster recovery level of the cloud service and the disaster recovery capability of each unit.

[0061] The disaster recovery capability of each unit is evaluated based on factors such as the distribution of resource nodes in the unit, the number of fault tolerance domains, the number of availability zones, and the interconnectivity between units. The more disaster-tolerant a unit is, the more extensive its internal resource nodes are, and the more fault-tolerant it is, which can better meet the deployment requirements of cloud services with high disaster recovery levels.

[0062] Based on the disaster recovery level of the cloud service and the disaster recovery capabilities of each unit, the system selects at least one suitable unit to deploy the cloud service. Units whose disaster recovery capabilities meet or exceed the disaster recovery level of the cloud service are given priority to ensure that the cloud service can obtain sufficient disaster recovery protection after deployment.

[0063] This implementation manner deploys cloud services by selecting units based on the disaster recovery level, thereby ensuring that the cloud services can obtain disaster recovery guarantees that match their disaster recovery levels after deployment.

[0064] The following is an optional embodiment of the present invention:

[0065] Taking the construction of a cross-availability zone application system as an example, we build the architecture model of resources at each level. The following steps are followed when building services at the cloud service layer:

[0066] Two groups of resource nodes distributed in different availability zones are pre-defined as the same unit. Each group of units is labeled with the number of availability zones. When the PaaS service is actually deployed, several groups of units are selected for deployment to provide services.

[0067] When the PaaS service is expanded or an underlying failure occurs, it is necessary to add or replace nodes. At this time, the unit is still used as the minimum resource scheduling unit, and the unit group with the number of available zones in the label greater than 1 is selected to ensure that the high availability requirements are still met after expansion or replacement of nodes.

[0068] The virtualized resource pool layer provides availability set capabilities when creating resources, ensuring that the created resources are evenly distributed in different fault tolerance domains, so as to maximize the selection of units and improve creation efficiency. At the same time, the correctness of resource tags is guaranteed, and they are synchronized to the cloud service layer in a timely manner after changes occur, so as to facilitate unit replacement or data migration.

[0069] PaaS services can determine the logic of selecting units based on their own characteristics, which has a certain degree of flexibility. After the cloud service layer completes the selection of units and deployment, the selection results should be synchronized back to the virtualized resource pool layer. This can avoid migrating resources under the same unit to the same fault-tolerant domain during daily migration and maintenance, thereby destroying the highly available master-slave architecture. Some IaaS bases have the ability to automatically drift faults. In order to avoid the impact of drift, a daily inspection mechanism needs to be formed to check whether there are nodes that no longer meet the requirements after drift.

[0070] In this embodiment, a cloud service resource management device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0071] This embodiment provides a cloud service resource management device, such as Figure 4 As shown, including:

[0072] The hardware setting module 401 is used to construct the hardware resource layer in the cloud service resource association model and set the hardware resource label; the hardware resource label is used to indicate the available area and hardware information corresponding to the hardware resource;

[0073] The virtual setting module 402 is used to construct a virtualized resource pool layer in the cloud service resource association model and set virtual resource tags; the virtual resource tags are used to indicate the actual running physical machine and fault tolerance domain of the resource node;

[0074] The node division module 403 is used to divide at least two groups of resource nodes distributed in different availability zones in the virtualized resource pool layer into one unit, and select at least one unit to deploy cloud services of the cloud service layer.

[0075] In an optional embodiment, the device further comprises:

[0076] The bottom layer failure unit is used to select at least one available unit in the virtualized resource pool layer to perform node expansion or node replacement when the cloud service is expanded or a bottom layer failure occurs.

[0077] In an optional implementation, the node division module 403 includes:

[0078] A first disaster recovery level unit, used to obtain the disaster recovery level of the cloud service of the cloud service layer;

[0079] The first disaster recovery level unit is used to select at least one unit from each unit to deploy the cloud service of the cloud service layer according to the disaster recovery level.

[0080] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0081] A cloud service resource management device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0082] The embodiment of the present invention also provides a computer device having the above Figure 4 A cloud service resource management device is shown.

[0083] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.

[0084] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0085] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0086] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0087] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0088] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.

[0089] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0090] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0091] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0092] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A cloud service system, characterized in that: The cloud service system is provided with a cloud service resource association model, the model comprising a hardware resource layer, a virtualized resource pool layer, a cloud service layer and an application layer; The hardware resource layer includes callable hardware resources; the virtualized resource pool layer includes callable virtualized resources; the virtualized resource pool layer includes a plurality of units; each unit includes at least two groups of resource nodes; at least two groups of resource nodes in each unit are in different availability zones / fault tolerance domains; The cloud service layer is used to deploy corresponding cloud services on the several units; the cloud service includes at least one between a database and a container; the application layer is used to run corresponding application programs according to each of the cloud services and set master and slave nodes in the units of the cloud service.

2. The cloud service system according to claim 1, characterized in that: The virtualized resource pool layer also has a resource creation interface; the resource creation interface is used to select a unit according to a specified resource pool, fault tolerance domain or availability zone.

3. The cloud service system according to claim 1, characterized in that: The virtualized resource pool layer is also used to synchronize the change information to the cloud service layer when detecting a change in the state of a resource node in a unit, so that the cloud service layer reselects the unit.

4. A cloud service resource management method, characterized in that: The method is applied to the cloud service system according to any one of claims 1 to 3, characterized in that the method comprises: Constructing a hardware resource layer in a cloud service resource association model and setting a hardware resource tag; the hardware resource tag is used to indicate the availability zone and hardware information corresponding to the hardware resource; Construct a virtualized resource pool layer in the cloud service resource association model and set virtual resource tags; the virtual resource tags are used to indicate the actual running physical machine and fault tolerance domain of the resource node; In the virtualized resource pool layer, at least two groups of resource nodes distributed in different availability zones are divided into one unit, and at least one unit is selected to deploy the cloud service of the cloud service layer.

5. The method according to claim 4, characterized in that The method further comprises: When the cloud service is expanded or an underlying failure occurs, at least one available unit is selected in the virtualized resource pool layer to perform node expansion or node replacement.

6. The method according to claim 5, characterized in that The selecting at least one unit to deploy a cloud service of the cloud service layer includes: Obtaining the disaster recovery level of the cloud service of the cloud service layer; At least one unit is selected from each unit according to the disaster recovery level to deploy the cloud service of the cloud service layer.

7. A cloud service resource management device, characterized in that: The device comprises: A hardware setting module is used to construct a hardware resource layer in a cloud service resource association model and set hardware resource tags; the hardware resource tags are used to indicate the availability zone and hardware information corresponding to the hardware resources; A virtual setting module is used to construct a virtualized resource pool layer in a cloud service resource association model and set virtual resource tags; the virtual resource tags are used to indicate the actual running physical machine and fault tolerance domain of the resource node; The node division module is used to divide at least two groups of resource nodes distributed in different availability zones in the virtualized resource pool layer into one unit, and select at least one unit to deploy cloud services of the cloud service layer.

8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes a cloud service resource management method according to any one of claims 4 to 6 by executing the computer instructions.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute a cloud service resource management method according to any one of claims 4 to 6.

10. A computer program product, characterized in that It includes computer instructions, and the computer instructions are used to enable a computer to execute a cloud service resource management method according to any one of claims 4 to 6.

Citation Information

Patent Citations

  • Operation cloud platform cloud resource management system based on virtualization and strategy automation

    CN112596864A

  • Method for issuing VPC intercommunication configuration in multi-available-area environment

    CN115604098A

  • Cross-AZ equipment switching system and method, storage medium and program product

    CN116346713A

  • Multi-AZ arbitration system and method

    CN117851300A

  • Management method and system for multi-resource pool network

    CN117997734A