Upgrading method and device of cloud platform, electronic equipment and storage medium
Through the evaluation and strategy determination of the private cloud environment, appropriate upgrade methods are used to upgrade the cloud resource pool, and monitoring and adjustment are performed to solve the long time and stability problems of cloud platform upgrade, and achieve efficient, flexible upgrade and stable cloud platform. run.
Patent Information
- Application Number
- CN202410787915.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-08-30
AI Technical Summary
Upgrading the cloud platform takes a long time, affecting the stable operation of the cloud platform, and existing technology fails to provide an effective solution.
By evaluating the private cloud environment of the target client, determine the resource allocation strategy and cloud platform upgrade strategy, use hot migration or in-place hot upgrade to upgrade the cloud resource pool, and make monitoring adjustments after the upgrade is completed to ensure the smooth operation of the cloud platform. .
It achieves efficient and flexible upgrade of the cloud platform, ensures the stable operation of the cloud platform, and solves the problem of long upgrade time and stability.
Smart Images

Figure CN118567688A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of big data, financial technology or other related fields, and specifically, to a cloud platform upgrade method and device, electronic equipment and storage medium. Background Art
[0002] With the development of information technology, cloud computing has become the main way for enterprises and individual users to store and process data. However, with the growth of business needs and the development of technology, private cloud platforms need to be regularly upgraded to maintain their performance, security and compatibility. In order to fix problems, security vulnerabilities or be compatible with more devices, the host operating system Host OS in the computing server often needs to be upgraded and updated, and the Host OS upgrade requires a restart to take effect. In order to ensure the stability and security of the private cloud environment and not affect the normal operation of the business, hot migration is often used for upgrades, which leads to the problem of long upgrade time and affecting the stability of the cloud platform operation.
[0003] In related technologies, in large-scale cloud scenarios, according to different business plans, network plans or regional plans, the same cloud management platform will usually mount several or even dozens of cloud resource pools (Regions). When the cloud platform is upgraded, although each Region can be upgraded on demand, in order to reduce operation and maintenance differences, implement more new functions or adapt to more new devices, each Region must eventually be pulled to a higher version. In order not to affect the normal operation of the business, the upgrade is often carried out in the form of hot migration. The time-consuming upgrade has become a concern for more and more private cloud users.
[0004] The current upgrade method based on hot upgrade of all regions means that a large-scale cloud platform upgrade often takes one year or more, which brings risks to the stable operation of the cloud platform and affects the construction and development of the cloud platform.
[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0006] The embodiments of the present invention provide a cloud platform upgrade method and device, electronic device and storage medium, so as to at least solve the technical problems in the related art that the cloud platform upgrade takes a long time and affects the cloud platform's inability to run stably.
[0007] According to one aspect of an embodiment of the present invention, a cloud platform upgrade method is provided, comprising: responding to a cloud platform upgrade request, evaluating a private cloud environment of a target client, and obtaining an evaluation result, wherein the cloud platform upgrade request refers to a request for upgrading a target cloud resource pool supporting a target financial business under a cloud management platform, the cloud management platform runs in the private cloud environment of the target client, and the evaluation result at least includes: the dependency of the target financial business on a host operating system Host OS; determining a resource allocation strategy and a cloud platform upgrade strategy based on the evaluation result; adjusting upgrade requirement resources of a target cloud resource pool associated with the target financial business according to the resource allocation strategy, and upgrading the target cloud resource pool according to the cloud platform upgrade strategy; after the upgrade is completed, monitoring the private cloud environment, and adjusting the target cloud resource pool according to the monitoring result.
[0008] Optionally, before responding to the cloud platform upgrade request and evaluating the private cloud environment of the target client, it also includes: receiving business support requirements and / or terminal compatibility requirements for the target cloud resource pool to be upgraded transmitted by the target client; and encapsulating the cloud platform upgrade request based on the business support requirements and / or compatibility requirements.
[0009] Optionally, in response to a cloud platform upgrade request, the step of evaluating the private cloud environment of the target client to obtain an evaluation result includes: analyzing the cloud platform upgrade request, evaluating various types of dependency scenarios in the private cloud environment of the target client, wherein the types of dependency scenarios include at least one of the following: computing network virtualization, operating system configuration modification, new functions, and problem repair; when confirming the existence of any of the dependency scenarios, confirming that the host operating system Host OS needs to be restarted, and determining that the target financial business has a dependency relationship with the host operating system Host OS, and obtaining the evaluation result; or, when confirming that the dependency scenario does not exist, confirming that the host operating system Host OS does not need to be restarted, and determining that the target financial business has no dependency relationship with the host operating system Host OS, and obtaining the evaluation result.
[0010] Optionally, the step of determining the cloud platform upgrade strategy based on the evaluation result includes: when the evaluation result indicates that there is a dependency, determining that the cloud platform upgrade strategy is a hot migration upgrade, wherein hot migration refers to copying the state of the host operating system Host OS on the entire host to an idle spare destination host; when the evaluation result indicates that there is no dependency, determining that the cloud platform upgrade strategy is an in-place hot upgrade.
[0011] Optionally, the step of upgrading the target cloud resource pool according to the cloud platform upgrade strategy includes: when the cloud platform upgrade strategy is a hot migration upgrade, using a preset upgrade tool to upgrade the service management components within the cloud control nodes, network nodes and computing nodes of the cloud management platform, and not upgrading the computing network virtualization and operating system content associated with the host operating system Host OS.
[0012] Optionally, the step of upgrading the target cloud resource pool according to the cloud platform upgrade strategy includes: when the cloud platform upgrade strategy is an in-situ hot upgrade, displaying the capability characteristic data of the cloud management platform based on the computing capability parameters, storage capability parameters and network capability parameters of the cloud base related to the target financial business that does not depend on the host operating system Host OS.
[0013] Optionally, after the upgrade is completed, the step of monitoring the private cloud environment includes: monitoring the status of all components of the cloud management platform to obtain component monitoring results; monitoring specified functions of the cloud management platform to obtain function monitoring results, wherein the specified functions are at least one of the following: virtual machine provisioning function, VPC virtual network communication function, cloud disk storage function; when the component monitoring results indicate that any component has a startup abnormality or the function monitoring results indicate that any specified function is unavailable, upgrading the current version of the host operating system Host OS of the target client to a target version, wherein the target version is compatible with all components of the cloud management platform and the operating environment of the host operating system Host OS of the target client.
[0014] According to another aspect of an embodiment of the present invention, there is also provided an upgrade device for a cloud platform, comprising: a request response unit, configured to respond to a cloud platform upgrade request, evaluate the private cloud environment of a target client, and obtain an evaluation result, wherein the cloud platform upgrade request refers to a request to upgrade a target cloud resource pool supporting a target financial business under a cloud management platform, the cloud management platform runs in the private cloud environment of the target client, and the evaluation result includes at least: the dependency of the target financial business on a host operating system Host OS; a policy determination unit, configured to determine a resource allocation strategy and a cloud platform upgrade strategy according to the evaluation result; an upgrade unit, configured to adjust the upgrade requirement resources of a target cloud resource pool associated with the target financial business according to the resource allocation strategy, and upgrade the target cloud resource pool according to the cloud platform upgrade strategy; an adjustment unit, configured to monitor the private cloud environment after the upgrade is completed, and adjust the target cloud resource pool according to the monitoring result.
[0015] Optionally, the upgrade device of the cloud platform also includes: a requirement receiving unit, used to receive the business support requirements and / or terminal compatibility requirements of the target cloud resource pool to be upgraded transmitted by the target client before responding to the cloud platform upgrade request and evaluating the private cloud environment of the target client; a request encapsulation unit, used to encapsulate the cloud platform upgrade request based on the business support requirements and / or compatibility requirements.
[0016] Optionally, the request response unit includes: a request analysis module, used to analyze the cloud platform upgrade request, and evaluate various types of dependency scenarios in the private cloud environment of the target client, wherein the types of dependency scenarios include at least one of the following: computing network virtualization, operating system configuration modification, new functions, and problem fixing; a first confirmation module, used to confirm that the host operating system Host OS needs to be restarted when it is confirmed that any of the dependency scenarios exists, and determine that the target financial business has a dependency relationship with the host operating system Host OS, and obtain the evaluation result; or, a second confirmation module, used to confirm that the host operating system Host OS does not need to be restarted when it is confirmed that the dependency scenario does not exist, and determine that the target financial business has no dependency relationship with the host operating system Host OS, and obtain the evaluation result.
[0017] Optionally, the policy determination unit includes: a first determination module, used to determine that the cloud platform upgrade strategy is a hot migration upgrade when the evaluation result indicates that there is a dependency relationship, wherein hot migration refers to copying the state of the host operating system Host OS on the entire host to an idle spare destination host; a second determination module, used to determine that the cloud platform upgrade strategy is an in-place hot upgrade when the evaluation result indicates that there is no dependency relationship.
[0018] Optionally, the upgrade unit includes: an upgrade module, which is used to use a preset upgrade tool to upgrade the service management components within the cloud control nodes, network nodes and computing nodes of the cloud management platform when the cloud platform upgrade strategy is hot migration upgrade, and does not upgrade the computing network virtualization and operating system content associated with the host operating system Host OS.
[0019] Optionally, the upgrade unit includes: a characteristic data display module, which is used to display the capability characteristic data of the cloud management platform according to the computing capacity parameters, storage capacity parameters and network surface capacity parameters of the cloud base related to the target financial business that does not depend on the host operating system Host OS when the cloud platform upgrade strategy is an in-place hot upgrade.
[0020] Optionally, the adjustment unit includes: a status monitoring module, which is used to monitor the status of all components of the cloud management platform and obtain component monitoring results; a function monitoring module, which is used to monitor designated functions of the cloud management platform and obtain function monitoring results, wherein the designated functions are at least one of the following: virtual machine provisioning function, VPC virtual network communication function, and cloud disk storage function; an upgrade module, which is used to upgrade the current version of the host operating system Host OS of the target client to a target version when the component monitoring results indicate that any component has a startup abnormality or the function monitoring results indicate that any designated function cannot be used, wherein the target version is compatible with the operating environment of all components of the cloud management platform and the host operating system Host OS of the target client.
[0021] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned cloud platform upgrade methods.
[0022] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned cloud platform upgrade methods.
[0023] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps of any one of the above-mentioned cloud platform upgrade methods are implemented.
[0024] In the present disclosure, in response to a cloud platform upgrade request, the private cloud environment of the target client is evaluated to obtain an evaluation result, wherein the cloud platform upgrade request refers to a request to upgrade a target cloud resource pool that supports a target financial business under a cloud management platform, and the cloud management platform runs in the private cloud environment of the target client. The evaluation result includes at least: the dependency of the target financial business on the host operating system Host OS, determining a resource allocation strategy and a cloud platform upgrade strategy based on the evaluation result, adjusting the upgrade requirement resources of the target cloud resource pool associated with the target financial business according to the resource allocation strategy, and upgrading the target cloud resource pool according to the cloud platform upgrade strategy. After the upgrade is completed, the private cloud environment is monitored, and the target cloud resource pool is adjusted according to the monitoring results.
[0025] In the present disclosure, the upgrade requirement resources of the target cloud resource pool associated with the target financial business can be adjusted according to the resource allocation strategy, and the cloud resource pool can be upgraded according to the cloud platform upgrade strategy, which can realize unified management of the cloud management platform, carry out private cloud upgrades efficiently and flexibly, and ensure the smooth operation of the cloud platform, thereby solving the technical problems in related technologies that the cloud platform upgrade takes a long time and affects the stable operation of the cloud platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0027] Figure 1 is a flow chart of an optional cloud platform upgrade method according to an embodiment of the present invention;
[0028] Figure 2 is an optional flow chart of monitoring a private cloud environment according to an embodiment of the present invention;
[0029] Figure 3 is a schematic diagram of an optional cloud platform upgrade device according to an embodiment of the present invention;
[0030] Figure 4 It is a hardware structure block diagram of an electronic device (or mobile device) for a cloud platform upgrade method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only 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 ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] To facilitate those skilled in the art to understand the present invention, some terms or nouns involved in the embodiments of the present invention are explained below:
[0034] Cloud platform refers to a service platform built on cloud computing technology, which provides various computing, storage, network and other resources and services through the Internet. Users can use the cloud platform to deploy applications, store data, and perform data analysis in the cloud without having to purchase and maintain hardware equipment locally.
[0035] Cloud resource pool, referred to as Region, refers to the data center clusters established by cloud computing service providers in different geographical locations around the world. Users can choose the most suitable cloud resource pool to deploy and manage their applications and data according to their needs.
[0036] Hot migration refers to the process of migrating a running virtual machine or application from one physical server to another without interrupting the ongoing service. It can maintain the system, load balance or recover from a fault without affecting the user experience, thus improving the reliability, flexibility and efficiency of the system.
[0037] Host OS refers to the host operating system, host operating system or host operating system, which runs directly on the physical hardware in the computer system and manages and controls the computer hardware resources. Host OS is responsible for managing the computer's resources, including processors, memory, storage, networks, etc., while providing a user interface and supporting the running of applications. HostOS is usually related to virtualization technology, which is used to manage and run virtual machines so that multiple operating systems and applications can run simultaneously on the same physical computer.
[0038] It should be noted that the cloud platform upgrade method and device disclosed in the present invention can be used in the field of big data technology when upgrading the cloud platform in a private cloud scenario based on big data, and can also be used in any field other than the field of big data technology when upgrading the cloud platform in a private cloud scenario. The present invention does not limit the application field of the cloud platform upgrade method and device disclosed in the present invention.
[0039] It should be noted that the information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) collected by this disclosure are information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data are in compliance with the relevant laws, regulations and standards of the relevant regions, necessary confidentiality measures are taken, and public order and good customs are not violated, and corresponding operation portals are provided for users to choose to authorize or refuse. For example, an interface is set up between this system and relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0040] It should be noted that in the present disclosure, when collecting and analyzing customer information, corresponding operation entrances are provided for users to choose to agree or reject the automated decision results; if the user chooses to reject, the expert decision-making process is entered.
[0041] In a cloud computing environment, a cloud resource pool (Region) instructs a group of physical servers to provide cloud services. Physical servers usually run a host operating system as the basis of the virtualization layer. This host operating system is responsible for managing the resources of the physical server and running virtualization software on it, such as Hypervisor (virtual machine monitor), to create and manage virtual machines, which can run on different physical servers in the cloud resource pool, thereby achieving flexible allocation and management of resources. Therefore, as the basic operating system of each physical server in the cloud resource pool, Host OS plays a key role in providing cloud services. Through virtualization technology to manage and allocate the resources of physical servers, virtual machines in the cloud resource pool can be independently operated and managed, achieving efficient utilization and flexible deployment of resources.
[0042] The following embodiments of the present invention can be applied to upgrade systems / applications / devices of various cloud platforms. The present invention provides an upgrade method that can select whether to upgrade the Host OS on demand, while achieving unified management of the cloud management platform and iteration of cloud platform functions, and can efficiently and flexibly carry out private cloud upgrades to ensure the smooth operation of the cloud platform.
[0043] The present invention is described in detail below in conjunction with various embodiments.
[0044] Embodiment 1
[0045] According to an embodiment of the present invention, an embodiment of a method for upgrading a cloud platform 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.
[0046] Figure 1 is a flow chart of an optional cloud platform upgrade method according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:
[0047] Step S101, respond to the cloud platform upgrade request, evaluate the private cloud environment of the target client, and obtain an evaluation result, wherein the cloud platform upgrade request refers to a request to upgrade the target cloud resource pool that supports the target financial business under the cloud management platform, and the cloud management platform runs in the private cloud environment of the target client. The evaluation result at least includes: the dependency of the target financial business on the host operating system Host OS.
[0048] Step S102, determining a resource allocation strategy and a cloud platform upgrade strategy according to the evaluation results.
[0049] Step S103: adjusting the upgrade requirement resources of the target cloud resource pool associated with the target financial business according to the resource allocation strategy, and upgrading the target cloud resource pool according to the cloud platform upgrade strategy.
[0050] Step S104, after the upgrade is completed, the private cloud environment is monitored, and the target cloud resource pool is adjusted according to the monitoring result.
[0051] Through the above steps, the cloud platform upgrade request can be responded to, the private cloud environment of the target client can be evaluated, and the evaluation result can be obtained, wherein the cloud platform upgrade request refers to a request to upgrade the target cloud resource pool supporting the target financial business under the cloud management platform, and the cloud management platform runs in the private cloud environment of the target client, and the evaluation result at least includes: the dependency of the target financial business on the host operating system Host OS, and the resource allocation strategy and the cloud platform upgrade strategy are determined according to the evaluation result, and the upgrade requirement resources of the target cloud resource pool associated with the target financial business are adjusted according to the resource allocation strategy, and the target cloud resource pool is upgraded according to the cloud platform upgrade strategy. After the upgrade is completed, the private cloud environment is monitored, and the target cloud resource pool is adjusted according to the monitoring result. In this embodiment, the upgrade requirement resources of the target cloud resource pool associated with the target financial business can be adjusted according to the resource allocation strategy, and the cloud resource pool can be upgraded according to the cloud platform upgrade strategy, which can realize the unified management of the cloud management platform, carry out the private cloud upgrade efficiently and flexibly, and ensure the stable operation of the cloud platform, thereby solving the technical problem that the cloud platform upgrade in the related technology takes a long time and affects the inability of the cloud platform to run stably.
[0052] The embodiments of the present invention can be applied to various cloud platform management scenarios. The method can be used to efficiently and flexibly carry out private cloud upgrades to ensure the smooth operation of the cloud platform.
[0053] When upgrading in a private cloud scenario, it mainly includes: 1. Environmental assessment and planning: Evaluate the current private cloud environment and confirm the upgrade strategy based on the dependency of the Host OS according to actual business requirements; 2. Upgrade implementation: Confirm resource allocation and upgrade strategy based on the assessment results; 3. Verification and monitoring: Test and verify the upgraded components and services, and continuously monitor the environment after the upgrade to ensure system stability, and make necessary adjustments and optimizations based on the monitoring results.
[0054] The embodiment of the present invention is described in detail below in combination with the above steps.
[0055] Optionally, before responding to the cloud platform upgrade request and evaluating the private cloud environment of the target client, it also includes: receiving business support requirements and / or terminal compatibility requirements for the target cloud resource pool to be upgraded transmitted by the target client; and encapsulating a cloud platform upgrade request based on the business support requirements and / or compatibility requirements.
[0056] In this embodiment, a cloud platform upgrade request may be generated after receiving a service or compatibility requirement from a client for upgrading a cloud resource pool.
[0057] Step S101, responding to a cloud platform upgrade request, evaluating the private cloud environment of the target client and obtaining an evaluation result.
[0058] Here, the cloud platform upgrade request refers to a request to upgrade the target cloud resource pool that supports the target financial business under the cloud management platform. The cloud management platform runs in the private cloud environment of the target client. The evaluation results at least include: the dependency of the target financial business on the host operating system Host OS.
[0059] Optionally, step S101 includes: analyzing the cloud platform upgrade request, and evaluating various types of dependency scenarios in the private cloud environment of the target client, wherein the types of dependency scenarios include at least one of the following: computing network virtualization, operating system configuration modification, new functions, and problem fixing; when it is confirmed that any dependency scenario exists, confirming that the host operating system Host OS needs to be restarted, and determining that the target financial business has a dependency on the host operating system Host OS, and obtaining an evaluation result; or, when it is confirmed that there is no dependency scenario, confirming that there is no need to restart the host operating system Host OS, and determining that the target financial business has no dependency on the host operating system Host OS, and obtaining an evaluation result.
[0060] Computing network virtualization refers to the use of virtualization technology in a cloud environment to divide physical network resources into multiple virtual networks, thereby improving the utilization and flexibility of network resources. Operating system configuration modification refers to the adjustment and configuration of the host operating system Host OS in a cloud environment to meet the needs of various applications or users.
[0061] After receiving the cloud resource pool upgrade request in the client's cloud platform, this embodiment completes the analysis of the Host OS dependency. If the host needs to be restarted for scenarios such as computing network virtualization, operating system configuration modification, new functions, and problem repair, it is considered that there is a dependency on the Host OS; conversely, if the upgrade effectiveness verification can be completed without restarting the Host OS, it is considered that there is no dependency on the Host OS.
[0062] Step S102, determining a resource allocation strategy and a cloud platform upgrade strategy according to the evaluation results.
[0063] Optionally, the step of determining the cloud platform upgrade strategy based on the evaluation results includes: when the evaluation results indicate that there is a dependency, determining the cloud platform upgrade strategy as a hot migration upgrade, wherein hot migration refers to copying the state of the host operating system Host OS on the entire host to an idle spare destination host; when the evaluation results indicate that there is no dependency, determining the cloud platform upgrade strategy as an in-place hot upgrade.
[0064] Determine whether to perform a hot migration upgrade based on whether the input Host OS is upgraded or not. If it is determined that it depends on the Host OS, a hot migration upgrade is required. If it does not depend on the Host OS, a direct in-place hot upgrade is performed.
[0065] Among them, the live migration upgrade mentioned in this embodiment refers to migrating the application or virtual machine in the system to another host or server when performing a system upgrade, and then performing a system upgrade on the new host or server to ensure that the application or virtual machine continues to run during the upgrade process without interrupting the service. In-place hot upgrade refers to performing the upgrade operation directly on the original host or server when performing a system upgrade, rather than migrating the application or virtual machine to another host or server. This method may cause the system to be interrupted during the upgrade process and affect the normal operation of the service. Live migration upgrade is suitable for scenarios with high requirements for service interruption time, and can ensure the continuity of system services during the upgrade process; while direct in-place hot upgrade is suitable for scenarios with low requirements for service interruption time and is simple to operate.
[0066] Step S103: adjusting the upgrade requirement resources of the target cloud resource pool associated with the target financial business according to the resource allocation strategy, and upgrading the target cloud resource pool according to the cloud platform upgrade strategy.
[0067] Optionally, the step of upgrading the target cloud resource pool according to the cloud platform upgrade strategy includes: when the cloud platform upgrade strategy is hot migration upgrade, using a preset upgrade tool to upgrade the service management components within the cloud control nodes, network nodes and computing nodes of the cloud management platform, and not upgrading the computing network virtualization and operating system content associated with the host operating system Host OS.
[0068] In this implementation, the Host OS can be upgraded on demand. Only the server management components in the control nodes, network nodes, and computing nodes in the cloud are upgraded through the upgrade tool. The computing network virtualization and operating system content related to the Host OS are not upgraded, so as to achieve the Host OS upgrade on demand. At the same time, in this embodiment, the control plane adapts and controls the capabilities of different versions of the data plane.
[0069] It should be noted that the control node in the cloud is the main management node in the cloud computing environment, responsible for managing and coordinating the resources and services of the entire cloud environment. Upgrading the server management components of the control node includes management software, monitoring software, scheduling software, etc. to ensure the stability and security of the cloud environment. The network node refers to the software components of network devices such as network protocol stacks, routers, switches, etc. that are responsible for processing network communications and data transmission in the cloud computing environment. Upgrading the server management components of the network node includes software components of network devices such as network protocol stacks, routers, switches, etc. to improve network performance and security. The computing node is the node that performs computing operations in the cloud computing environment, responsible for executing the operation of virtual machine instances and processing computing tasks. Upgrading the server management components of the computing node includes virtualization software, container management software, operating systems, etc. to improve the performance and reliability of the computing node.
[0070] Optionally, the step of upgrading the target cloud resource pool according to the cloud platform upgrade strategy includes: when the cloud platform upgrade strategy is an in-place hot upgrade, displaying the capability characteristic data of the cloud management platform based on the computing capability parameters, storage capability parameters and network capability parameters of the cloud base related to the target financial business that does not depend on the host operating system Host OS.
[0071] In this embodiment, the cloud management platform presents the computing, storage, and network capabilities of the cloud base that are not dependent on the services of the Host OS; if the Host OS is subsequently upgraded to a higher version, the Host OS-related features will be automatically enabled.
[0072] Step S104, after the upgrade is completed, the private cloud environment is monitored, and the target cloud resource pool is adjusted according to the monitoring result.
[0073] Optionally, after the upgrade is complete, the private cloud environment needs to be monitored. Figure 2 is an optional flow chart of monitoring a private cloud environment according to an embodiment of the present invention, such as Figure 2 As shown, the steps in monitoring include:
[0074] Step S201, monitor the status of all components of the cloud management platform to obtain component monitoring results.
[0075] Step S202, monitor the designated functions of the cloud management platform to obtain function monitoring results, wherein the designated function is at least one of the following: virtual machine provisioning function, VPC virtual network communication function, and cloud disk storage function.
[0076] Step S203: when the component monitoring result indicates that any component has a startup abnormality or the function monitoring result indicates that any specified function cannot be used, the current version of the host operating system Host OS of the target client is upgraded to the target version.
[0077] Among them, the target version is compatible with all components of the cloud management platform and the operating environment of the host operating system Host OS of the target client.
[0078] In this embodiment, after the upgrade is completed, the component services and key features in the cloud can be verified and tested, especially whether the interaction between the management plane components upgraded to a higher version and the Host OS of a lower version is normal, including checking the running status of all components, and whether the core functions such as virtual machine provisioning, VPC virtual network communication, and cloud disk storage are running normally. If it is found that the component startup is abnormal or the function is unavailable due to incompatibility with the lower version of Host OS, the host Host OS will be upgraded to a higher version in real time. Ensure that the management plane components and the host Host OS are compatible and normal after the upgrade to meet business and security requirements.
[0079] The following is a detailed description in conjunction with another embodiment.
[0080] Embodiment 2
[0081] A cloud platform upgrade device provided in this embodiment includes multiple implementation units, each implementation unit corresponds to each implementation step in the above-mentioned embodiment 1.
[0082] Figure 3 is a schematic diagram of an optional cloud platform upgrade device according to an embodiment of the present invention, such as Figure 2 As shown, the upgrade device of the cloud platform may include: a request response unit 31, a policy determination unit 32, an upgrade unit 33, and an adjustment unit 34.
[0083] Among them, the request response unit 31 is used to respond to the cloud platform upgrade request, evaluate the private cloud environment of the target client, and obtain the evaluation result, wherein the cloud platform upgrade request refers to a request to upgrade the target cloud resource pool that supports the target financial business under the cloud management platform, and the cloud management platform runs in the private cloud environment of the target client. The evaluation result at least includes: the dependency of the target financial business on the host operating system Host OS.
[0084] The strategy determination unit 32 is used to determine the resource allocation strategy and the cloud platform upgrade strategy according to the evaluation results.
[0085] The upgrading unit 33 is used to adjust the upgrading demand resources of the target cloud resource pool associated with the target financial business according to the resource allocation strategy, and upgrade the target cloud resource pool according to the cloud platform upgrading strategy.
[0086] The adjustment unit 34 is used to monitor the private cloud environment after the upgrade is completed, and adjust the target cloud resource pool according to the monitoring result.
[0087] The upgrade device of the above-mentioned cloud platform can respond to the cloud platform upgrade request through the request response unit 31, evaluate the private cloud environment of the target client, and obtain the evaluation result, wherein the cloud platform upgrade request refers to a request for upgrading the target cloud resource pool supporting the target financial business under the cloud management platform, and the cloud management platform runs in the private cloud environment of the target client. The evaluation result at least includes: the dependency of the target financial business on the host operating system Host OS, and the resource allocation strategy and the cloud platform upgrade strategy are determined according to the evaluation result by the policy determination unit 32, and the upgrade requirement resources of the target cloud resource pool associated with the target financial business are adjusted according to the resource allocation strategy by the upgrade unit 33, and the target cloud resource pool is upgraded according to the cloud platform upgrade strategy. After the upgrade is completed, the private cloud environment is monitored by the adjustment unit 34, and the target cloud resource pool is adjusted according to the monitoring result. In this embodiment, the upgrade requirement resources of the target cloud resource pool associated with the target financial business can be adjusted according to the resource allocation strategy, and the cloud resource pool can be upgraded according to the cloud platform upgrade strategy, which can realize unified management of the cloud management platform, carry out private cloud upgrades efficiently and flexibly, and ensure the smooth operation of the cloud platform, thereby solving the technical problems in related technologies that the cloud platform upgrade takes a long time and affects the stable operation of the cloud platform.
[0088] Optionally, the upgrade device of the cloud platform also includes: a requirement receiving unit, used to receive business support requirements and / or terminal compatibility requirements for the target cloud resource pool to be upgraded transmitted by the target client before responding to the cloud platform upgrade request and evaluating the private cloud environment of the target client; a request encapsulation unit, used to encapsulate the cloud platform upgrade request based on the business support requirements and / or compatibility requirements.
[0089] Optionally, the request response unit includes: a request analysis module, used to analyze the cloud platform upgrade request, and evaluate various types of dependency scenarios in the private cloud environment of the target client, wherein the types of dependency scenarios include at least one of the following: computing network virtualization, operating system configuration modification, new functions, and problem fixing; a first confirmation module, used to confirm that the host operating system Host OS needs to be restarted when it is confirmed that any dependency scenario exists, and determine that the target financial business has a dependency relationship with the host operating system Host OS, and obtain an evaluation result; or, a second confirmation module, used to confirm that the host operating system Host OS does not need to be restarted when it is confirmed that there is no dependency scenario, and determine that the target financial business has no dependency relationship with the host operating system Host OS, and obtain an evaluation result.
[0090] Optionally, the policy determination unit includes: a first determination module, used to determine that the cloud platform upgrade strategy is a hot migration upgrade when the evaluation result indicates that there is a dependency relationship, wherein hot migration refers to copying the state of the host operating system Host OS on the entire host to an idle spare destination host; a second determination module, used to determine that the cloud platform upgrade strategy is an in-place hot upgrade when the evaluation result indicates that there is no dependency relationship.
[0091] Optionally, the upgrade unit includes: an upgrade module, which is used to upgrade the service management components within the cloud control nodes, network nodes and computing nodes of the cloud management platform using a preset upgrade tool when the cloud platform upgrade strategy is hot migration upgrade, and does not upgrade the computing network virtualization and operating system content associated with the host operating system Host OS.
[0092] Optionally, the upgrade unit includes: a characteristic data display module, which is used to display the capability characteristic data of the cloud management platform according to the computing capacity parameters, storage capacity parameters and network surface capacity parameters of the cloud base related to the target financial business that does not depend on the host operating system Host OS when the cloud platform upgrade strategy is an in-place hot upgrade.
[0093] Optionally, the adjustment unit includes: a status monitoring module, which is used to monitor the status of all components of the cloud management platform and obtain component monitoring results; a function monitoring module, which is used to monitor designated functions of the cloud management platform and obtain function monitoring results, wherein the designated functions are at least one of the following: virtual machine provisioning function, VPC virtual network communication function, and cloud disk storage function; an upgrade module, which is used to upgrade the current version of the host operating system Host OS of the target client to a target version when the component monitoring results indicate that any component has a startup abnormality or the function monitoring results indicate that any designated function cannot be used, wherein the target version is compatible with the operating environment of all components of the cloud management platform and the host operating system Host OS of the target client.
[0094] The upgrade device of the above-mentioned cloud platform may also include a processor and a memory. The above-mentioned request response unit 31, policy determination unit 32, upgrade unit 33, adjustment unit 34, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0095] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the cloud resource pool and Host OS in the cloud platform can be upgraded on demand by adjusting kernel parameters.
[0096] The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (fl ash RAM), and the memory includes at least one storage chip.
[0097] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the cloud platform upgrade method of any one of the above-mentioned embodiments one.
[0098] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement the cloud platform upgrade method of any one of the above-mentioned embodiments one.
[0099] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the cloud platform upgrade method described in each embodiment of the present application, including: responding to a cloud platform upgrade request, evaluating the private cloud environment of the target client, and obtaining an evaluation result, wherein the cloud platform upgrade request refers to a request to upgrade a target cloud resource pool that supports a target financial business under a cloud management platform, and the cloud management platform runs in the private cloud environment of the target client. The evaluation result at least includes: the dependency of the target financial business on the host operating system Host OS, determining a resource allocation strategy and a cloud platform upgrade strategy based on the evaluation result, adjusting the upgrade requirement resources of the target cloud resource pool associated with the target financial business according to the resource allocation strategy, and upgrading the target cloud resource pool according to the cloud platform upgrade strategy. After the upgrade is completed, the private cloud environment is monitored, and the target cloud resource pool is adjusted according to the monitoring result.
[0100] The present application also provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the cloud platform upgrade method described in each embodiment of the present application are implemented.
[0101] Figure 4 1 is a hardware structure block diagram of an electronic device (or mobile device) for a cloud platform upgrade method according to an embodiment of the present invention. Figure 4 As shown, the electronic device may include one or more ( Figure 4402a, 402b, ..., 402n are used to illustrate) processor 402 (processor 402 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), memory 404 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a keyboard, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 4 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 4 More or fewer components as shown, or with Figure 4 Different configurations shown.
[0102] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0103] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0104] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0105] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0106] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0107] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0108] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A cloud platform upgrade method, characterized in that: include: In response to a cloud platform upgrade request, the private cloud environment of the target client is evaluated to obtain an evaluation result, wherein the cloud platform upgrade request refers to a request to upgrade a target cloud resource pool supporting a target financial service under a cloud management platform, the cloud management platform runs under the private cloud environment of the target client, and the evaluation result at least includes: a dependency relationship of the target financial service on a host operating system Host OS; Determine a resource allocation strategy and a cloud platform upgrade strategy based on the evaluation results; Adjusting the upgrade requirement resources of the target cloud resource pool associated with the target financial business according to the resource allocation strategy, and upgrading the target cloud resource pool according to the cloud platform upgrade strategy; After the upgrade is completed, the private cloud environment is monitored, and the target cloud resource pool is adjusted according to the monitoring results.
2. The cloud platform upgrade method according to claim 1, characterized in that: Before responding to a cloud platform upgrade request and evaluating the target client's private cloud environment, it also includes: Receiving business support requirements and / or terminal compatibility requirements of the target cloud resource pool to be upgraded, transmitted by the target client; Based on the business support requirements and / or compatibility requirements, the cloud platform upgrade request is encapsulated.
3. The cloud platform upgrade method according to claim 1, characterized in that: In response to the cloud platform upgrade request, the steps of evaluating the private cloud environment of the target client and obtaining the evaluation result include: Analyze the cloud platform upgrade request and evaluate various types of dependency scenarios in the private cloud environment of the target client, wherein the types of dependency scenarios include at least one of the following: computing network virtualization, operating system configuration modification, new functions, and problem repair; In the case of confirming the existence of any of the dependency scenarios, confirming that the host operating system HostOS needs to be restarted, and determining that the target financial service has a dependency relationship on the host operating system HostOS, and obtaining the evaluation result; or, When it is confirmed that the dependency scenario does not exist, it is confirmed that there is no need to restart the host operating system Host OS, and it is determined that the target financial business has no dependency on the host operating system Host OS, thereby obtaining the evaluation result.
4. The method for upgrading the cloud platform according to claim 1, characterized in that: The step of determining a cloud platform upgrade strategy according to the evaluation result includes: In the case where the evaluation result indicates that there is a dependency relationship, determining that the cloud platform upgrade strategy is a hot migration upgrade, wherein hot migration refers to copying the state of the host operating system Host OS on the entire host to an idle standby destination host; When the evaluation result indicates that there is no dependency, the cloud platform upgrade strategy is determined to be an in-place hot upgrade.
5. The cloud platform upgrade method according to claim 1, characterized in that: The step of upgrading the target cloud resource pool according to the cloud platform upgrade strategy includes: When the cloud platform upgrade strategy is hot migration upgrade, a preset upgrade tool is used to upgrade the service management components within the cloud control nodes, network nodes and computing nodes of the cloud management platform, and the computing network virtualization and operating system content associated with the host operating system Host OS are not upgraded.
6. The cloud platform upgrade method according to claim 1, characterized in that: The step of upgrading the target cloud resource pool according to the cloud platform upgrade strategy includes: When the cloud platform upgrade strategy is in-situ hot upgrade, the capability characteristic data of the cloud management platform is displayed according to the computing capability parameters, storage capability parameters and network capability parameters of the cloud base related to the target financial business that does not depend on the host operating system HostOS.
7. The cloud platform upgrade method according to claim 1, characterized in that: After the upgrade is completed, the step of monitoring the private cloud environment includes: Performing status monitoring on all components of the cloud management platform to obtain component monitoring results; Monitoring the designated functions of the cloud management platform to obtain function monitoring results, wherein the designated functions are at least one of the following: a virtual machine provisioning function, a VPC virtual network communication function, and a cloud disk storage function; When the component monitoring result indicates that any component has a startup abnormality or the function monitoring result indicates that any specified function is unavailable, the current version of the host operating system Host OS of the target client is upgraded to the target version, wherein the target version is compatible with all components of the cloud management platform and the operating environment of the host operating system Host OS of the target client.
8. A cloud platform upgrade device, characterized in that: include: a request response unit, configured to respond to a cloud platform upgrade request, evaluate the private cloud environment of a target client, and obtain an evaluation result, wherein the cloud platform upgrade request refers to a request to upgrade a target cloud resource pool supporting a target financial service under a cloud management platform, the cloud management platform runs under the private cloud environment of the target client, and the evaluation result at least includes: a dependency relationship of the target financial service on a host operating system Host OS; A strategy determination unit, configured to determine a resource allocation strategy and a cloud platform upgrade strategy according to the evaluation result; An upgrading unit, configured to adjust the upgrading demand resources of the target cloud resource pool associated with the target financial business according to the resource allocation strategy, and upgrade the target cloud resource pool according to the cloud platform upgrading strategy; The adjustment unit is used to monitor the private cloud environment after the upgrade is completed, and adjust the target cloud resource pool according to the monitoring result.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the cloud platform upgrade method described in any one of claims 1 to 7.
10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the cloud platform upgrade method described in any one of claims 1 to 7.
